groundfloor-react-ui 1.2.107 → 1.3.0

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 +325 -409
  2. package/dist/index.js +324 -408
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -151,174 +151,7 @@
151
151
  cursor: pointer;
152
152
  padding-bottom: 9px;
153
153
  ${({iconDivCustomStyle:e})=>e}
154
- `,le=({content:e,alertWrapperStyle:t,iconDivCustomStyle:a,alertIsOpen:o,closeAlert:r,iconProps:i})=>{const n=l.useTheme()||H;return g.default.createElement(ee,{theme:n,alertIsOpen:o,alertWrapperStyle:t},g.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"16px 24px"}},g.default.createElement("div",null,e),g.default.createElement(te,{onClick:r,iconDivCustomStyle:a},g.default.createElement(Q,E({icon:"close-icon",color:"#000000",size:13},i)))))};le.propTypes={content:b.default.any,alertWrapperStyle:b.default.object,alertIsOpen:b.default.bool,iconDivCustomStyle:b.default.object,closeAlert:b.default.func,iconProps:b.default.object},le.defaultProps={alertWrapperStyle:{},content:"",alertIsOpen:!0};const ae=h.default.div`
155
- ${({scroll:e})=>e?l.css`
156
- display: flex;
157
- overflow-x: auto;
158
- `:l.css`
159
- display: grid;
160
- grid-template-columns: ${({arrowNumber:e})=>`repeat(${e}, 1fr)`};
161
- `}
162
- `,oe=h.default.div`
163
- min-height: 40px;
164
- max-height: 40px;
165
- background-color: ${({backgroundColor:e})=>e};
166
- color: ${({color:e})=>e||"white"};
167
-
168
- align-items: center;
169
- display: flex;
170
- cursor: ${({clickable:e})=>e?"pointer":"default"};
171
-
172
- ${({index:e,dataLength:t})=>0===e?l.css`
173
- clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%);
174
- border-top-left-radius: 20px;
175
- border-bottom-left-radius: 20px;
176
- `:e===t-1?l.css`
177
- clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, calc(0% + 9px) 50%);
178
- margin-left: -5px;
179
- border-top-right-radius: 20px;
180
- border-bottom-right-radius: 20px;
181
- `:l.css`
182
- clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%, calc(0% + 9px) 50%);
183
- margin-left: -5px;
184
- `}
185
-
186
- ${({scroll:e})=>e?l.css`
187
- width:100%;
188
- `:l.css`
189
- flex-shrink: 1;
190
- min-width: 15px;
191
- flex-grow: 1;
192
- flex-basis: auto;
193
-
194
- &:hover {
195
- width: -webkit-fill-available;
196
- }
197
- `}
198
- `,re=h.default.div`
199
- padding: 0 15px;
200
- display: flex;
201
- align-items: center;
202
- justify-content: space-around;
203
- width: 100%;
204
- white-space: nowrap;
205
- overflow: hidden;
206
- text-overflow: ellipsis;
207
-
208
- & span{
209
- font-size: 22px;
210
- font-weight: 400;
211
- padding-right: 5px;
212
-
213
- ${({scroll:e})=>{if(!e)return l.css`
214
- display: ${({styleArrowContentSpan:e})=>e.display};
215
- white-space: nowrap;
216
- overflow: hidden;
217
- text-overflow: ellipsis;
218
- `}}
219
- }
220
-
221
- & p{
222
- margin: 0;
223
- font-weight: 600;
224
-
225
- ${({scroll:e})=>e?l.css`
226
- font-size: 14px;
227
- `:l.css`
228
- font-size: ${({styleArrowContentP:e})=>e.fontSize};
229
- display: ${({styleArrowContentP:e})=>e.display};
230
- white-space: nowrap;
231
- overflow: hidden;
232
- text-overflow: ellipsis;
233
- `}
234
- }
235
-
236
- ${({scroll:e})=>{if(!e)return l.css`
237
- ${oe}:hover & {
238
- ${({styleArrowContentSpan:e,styleArrowContentP:t})=>"none"===t?.display&&"none"===e?.display?l.css`
239
- span {
240
- display: block;
241
- }
242
- p {
243
- display: block;
244
- }
245
- `:"none"===t?.display?l.css`
246
- p {
247
- display: block;
248
- }
249
- `:void 0}
250
- };
251
- `}}
252
- `,ie=({data:e,scroll:a,onClick:o,clickable:r,...i})=>{const n=l.useTheme()||H,c=t.useRef(null),d=t.useRef(null),[s,u]=t.useState(void 0),[p,f]=t.useState(void 0);let m={fontSize:"",display:""},b={fontSize:"",display:""};const h=()=>{c&&f(c?.current?.offsetWidth)};t.useEffect((()=>{h()}),[e,p]),t.useEffect((()=>{if(!a)return window.addEventListener("resize",h),()=>window.removeEventListener("resize",h)}),[]),t.useEffect((()=>{a||u(d?.current.offsetWidth)}),[e,p,s]);const y=e.reduce((function(e,t){return 9*e.label.length+13*e.value.toString().length>9*t.label.length+13*t.value.toString().length?e:t}));if(!a){const e=function(e){return{step1:15+13*e.value.toString().length+5+9*e.label.length+15,step2:15+13*e.value.toString().length+5+7*e.label.length+15,step3:15+13*e.value.toString().length+5+15}}(y);s<e.step3?(b.display="none",m.display="none"):s<e.step2?m.display="none":s<e.step1?m.fontSize="12px":m.fontSize="14px"}return g.default.createElement(ae,{theme:n,ref:a?null:c,arrowNumber:e.length,scroll:a},e.map(((t,l)=>{return g.default.createElement(oe,{id:t.id,theme:n,onClick:r?e=>o(e,t):null,clickable:r,scroll:a,ref:a?null:t.label===y.label?d:null,key:"fa"+l+"-"+t.label,index:l,dataLength:e.length,backgroundColor:t.backgroundColor,color:t.color},(i=t.value,c=t.label,g.default.createElement(re,{styleArrowContentP:m,styleArrowContentSpan:b,scroll:a},g.default.createElement("span",null,i),g.default.createElement("p",null,c))));var i,c})))};ie.propTypes={data:b.default.array,scroll:b.default.bool,onClick:b.default.func,clickable:b.default.bool},ie.defaultProps={data:[],scroll:!0,onClick:void 0,clickable:!1};const ne=h.default.img`
253
- //Set the styles from the default styles object
254
- ${({inBuiltCss:e,type:t,size:l,customStyles:a})=>{if(e){let o={};if(e[t]){for(const t in e.common)o[t]=e.common[t];for(const l in e[t])o[l]=e[t][l],delete e.common[l];for(const a in e[`${t}${l}`])o[a]=e[`${t}${l}`][a],delete e.common[a]}return{...o,...a}}}}
255
- `,ce=({customStyles:e,type:l,size:a,alt:o,src:r,handleImageStatus:i,...n})=>{const[c,d]=t.useState("loading"),s=t.useRef(null),u=()=>{d("loaded"),i&&i("loaded")},p=()=>{d("failed"),i&&i("failed")};return t.useEffect((()=>{const e=s.current;if(e)return e.addEventListener("load",u),e.addEventListener("error",p),()=>{e.removeEventListener("load",u),e.removeEventListener("error",p)}}),[c]),g.default.createElement(ne,E({},n,{inBuiltCss:R,customStyles:e,type:l,alt:o,src:r,ref:s,size:a}))};ce.propTypes={customStyles:b.default.object,type:b.default.string,size:b.default.oneOf(["SM","MD","LG"]),alt:b.default.string,src:b.default.string,handleImageStatus:b.default.func},ce.defaultProps={customStyles:{},type:"image",alt:"image alternative",src:null,handleImageStatus:null};const de=h.default.span`
256
- ${({inBuiltCss:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.common)a[t]=e.common[t];for(const l in e[t])a[l]=e[t][l],delete e.common[l]}return{...a,...l}}}}
257
- `,se=h.default.div`
258
-
259
- background-color:${({theme:e})=>e.primary["primary-1"]};
260
- color: ${({theme:e})=>e.additional.white};
261
- ${({inBuiltCss:e,type:t,size:l,customStyles:a})=>{if(e){let o={};if(e[t]){for(const t in e.common)o[t]=e.common[t];for(const l in e[t])o[l]=e[t][l],delete e.common[l];for(const a in e[`${t}${l}`])o[a]=e[`${t}${l}`][a],delete e.common[a]}return{...o,...a}}}}
262
- `,ue=h.default.span`
263
-
264
- color:${({theme:e})=>e.additional["text-color"]};
265
-
266
- ${({inBuiltCss:e,type:t,size:l,customStyles:a})=>{if(e){let o={};if(e[t]){for(const t in e.common)o[t]=e.common[t];for(const l in e[t])delete e.common[l],o[l]=e[t][l];for(const a in e[`${t}${l}`])o[a]=e[`${t}${l}`][a],delete e.common[a]}return{...o,...a}}}}
267
- `,pe=({customStylesContainer:e,customStylesImage:t,customStylesCircle:a,customStylesName:o,size:r,toggleName:i,user:n,...c})=>{const d=l.useTheme()||H;return g.default.createElement(de,E({inBuiltCss:R,theme:d,customStyles:e,type:"avatarContainer"},c),n?.url&&g.default.createElement(ce,E({},c,{customStyles:t,type:"imageAvatar",size:r,alt:"user-picture",src:n.url})),g.default.createElement(se,E({},c,{theme:d,inBuiltCss:R,type:"avatarCircle",customStyles:a,size:r,style:{visibility:n?.url?"hidden":"visible"}}),n?.userName&&n?.userName.split(" ").length>=2?n?.userName.split(" ")[0].charAt(0).toUpperCase()+n?.userName.split(" ")[1].charAt(0).toUpperCase():n?.userName&&1===n?.userName.split(" ").length&&n?.userName.split(" ")[0].charAt(0).toUpperCase()),i&&g.default.createElement(ue,E({inBuiltCss:R},c,{theme:d,type:"avatarName",customStyles:o,size:r}),n.userName," "))};pe.propTypes={customStylesCircle:b.default.object,customStylesName:b.default.object,customStylesContainer:b.default.object,customStylesImage:b.default.object,toggleName:b.default.bool,size:b.default.oneOf(["SM","MD","LG"]),user:b.default.object},pe.defaultProps={block:!1,size:"MD",toggleName:!1,user:null,customStylesContainer:null,customStylesImage:null,customStylesCircle:null,customStylesName:null};const fe=h.default.span`
268
- ${({inBuiltCss:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.common)a[t]=e.common[t];for(const l in e[t])a[l]=e[t][l],delete e.common[l]}return{...a,...l}}}}
269
- width: auto;
270
- `,me=h.default.div`
271
- background-color: ${({theme:e})=>e.primary["primary-1"]};
272
- color: ${({theme:e})=>e.additional.white};
273
- ${({inBuiltCss:e,type:t,size:l,customStyles:a})=>{if(e){let o={};if(e[t]){for(const t in e.common)o[t]=e.common[t];for(const l in e[t])o[l]=e[t][l],delete e.common[l];for(const a in e[`${t}${l}`])o[a]=e[`${t}${l}`][a],delete e.common[a]}return{...o,...a}}}}
274
- ${({isSelected:e,selectedStyle:t,notSelectedStyle:a})=>e?l.css`
275
- ${t}
276
- `:l.css`
277
- ${a}
278
- `}
279
- font-weight: 600;
280
- `,be=h.default.span`
281
- color: ${({theme:e,underMaintenance:t})=>t?e.neutral["neutral-3"]:e.additional["text-color"]}; };
282
-
283
- ${({inBuiltCss:e,type:t,size:l,customStyles:a})=>{if(e){let o={};if(e[t]){for(const t in e.common)o[t]=e.common[t];for(const l in e[t])delete e.common[l],o[l]=e[t][l];for(const a in e[`${t}${l}`])o[a]=e[`${t}${l}`][a],delete e.common[a]}return{...o,...a}}}}
284
-
285
- &:hover {
286
- ${({customStylesHover:e})=>e}
287
-
288
- }
289
- `,ge=h.default.span`
290
- background-color: red;
291
- color: white;
292
- height: 19px;
293
- width: 19px;
294
- border-radius: 50%;
295
- font-size: 12px;
296
- position: absolute;
297
- top: -8px;
298
- left: 18px;
299
- display: flex;
300
- justify-content: center;
301
- align-items: center;
302
-
303
- // custom styles
304
- ${({notificationCircleStyles:e})=>e}
305
- `,he=({customStylesContainer:e,customStylesImage:a,customStylesCircle:o,customStylesName:r,customStylesNameHover:i,size:n,toggleName:c,user:d,border:s,isSelected:u,selectedStyle:p,notSelectedStyle:f,notificationCount:m,notificationCircleStyles:b,icon:h,underMaintenance:y})=>{const x=l.useTheme()||H,[C,v]=t.useState("loading");return g.default.createElement(fe,{border:s,inBuiltCss:R,customStyles:e,type:"avatarContainer"},g.default.createElement(me,{theme:x,selectedStyle:p,notSelectedStyle:f,inBuiltCss:R,type:"avatarCircle",customStyles:o,size:n,style:{visibility:"loaded"!==C?"visible":"hidden"},isSelected:u},h||(d?.url?g.default.createElement(ce,{inBuiltCss:R,customStyles:{minWidth:"36px",minHeight:"36px",...a},type:"imageAvatar",size:n,alt:"service-layer",src:d.url,handleImageStatus:e=>{v(e)},style:{visibility:"loaded"!==C?"hidden":"visible"}}):d?.userName&&d?.userName.split(" ").length>=2?d?.userName.split(" ")[0].charAt(0).toUpperCase()+d?.userName.split(" ")[1].charAt(0).toUpperCase():d?.userName&&1===d?.userName.split(" ").length&&d?.userName.split(" ")[0].charAt(0).toUpperCase())),m>0&&g.default.createElement(ge,{notificationCircleStyles:b},m>9?"9+":m)," ",c&&g.default.createElement(be,{theme:x,inBuiltCss:R,type:"avatarName",customStyles:r,customStylesHover:i,size:n,underMaintenance:y},d.userName," "))};he.propTypes={customStylesCircle:b.default.object,customStylesName:b.default.object,customStylesContainer:b.default.object,customStylesImage:b.default.object,toggleName:b.default.bool,size:b.default.oneOf(["SM","MD","LG"]),user:b.default.object,customStylesNameHover:b.default.object,notificationCircleStyles:b.default.object,notificationCount:b.default.number,underMaintenance:b.default.bool},he.defaultProps={block:!1,size:"MD",toggleName:!1,user:null,customStylesContainer:null,customStylesImage:null,customStylesCircle:null,customStylesName:null,notificationCircleStyles:{},notificationCount:0,underMaintenance:!1};const ye=h.default.div`
306
- color: ${({theme:e})=>e.additional["text-color"]};
307
- display: flex;
308
- background-color: ${({backgroundColor:e,theme:t})=>e||t.variant["insight-purple"]};
309
- border-left: 5px solid
310
- ${({borderColor:e,theme:t})=>e||t.variant["graph-3"]};
311
- padding-left: 28px;
312
- padding-top: 22px;
313
- padding-bottom: 22px;
314
- width: inherit;
315
- `,xe=h.default.div`
316
- color: ${({theme:e})=>e.additional["text-color"]};
317
- display: flex;
318
- font-size: 16px;
319
- text-align: left;
320
- word-wrap: break-word;
321
- `,Ce=({backgroundColor:e,borderColor:t,variant:a,children:o,...r})=>{const i=l.useTheme()||H;return g.default.createElement(g.default.Fragment,null,g.default.createElement(ye,E({theme:i,backgroundColor:e,borderColor:t},r),g.default.createElement(xe,E({theme:i},r),o)))};function ve(){const[e,l]=t.useState({width:void 0,height:void 0});return t.useEffect((()=>{function e(){l({width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[1]),e}Ce.propTypes={backgroundColor:b.default.string,borderColor:b.default.string,children:b.default.any},Ce.defaultProps={children:""};const Ae=h.default.div`
154
+ `,le=({content:e,alertWrapperStyle:t,iconDivCustomStyle:a,alertIsOpen:o,closeAlert:r,iconProps:i})=>{const n=l.useTheme()||H;return g.default.createElement(ee,{theme:n,alertIsOpen:o,alertWrapperStyle:t},g.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"16px 24px"}},g.default.createElement("div",null,e),g.default.createElement(te,{onClick:r,iconDivCustomStyle:a},g.default.createElement(Q,E({icon:"close-icon",color:"#000000",size:13},i)))))};function ae(){const[e,l]=t.useState({width:void 0,height:void 0});return t.useEffect((()=>{function e(){l({width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[1]),e}le.propTypes={content:b.default.any,alertWrapperStyle:b.default.object,alertIsOpen:b.default.bool,iconDivCustomStyle:b.default.object,closeAlert:b.default.func,iconProps:b.default.object},le.defaultProps={alertWrapperStyle:{},content:"",alertIsOpen:!0};const oe=h.default.div`
322
155
  .dot-pulse {
323
156
  position: relative;
324
157
  left: -9999px;
@@ -412,14 +245,14 @@ ${({inBuiltCss:e,type:t,size:l,customStyles:a})=>{if(e){let o={};if(e[t]){for(co
412
245
  box-shadow: 10014px 0 0 -5px ${({activeTheme:e})=>e.variant["primary-1"]};
413
246
  }
414
247
  }
415
- `,we=l.keyframes`
248
+ `,re=l.keyframes`
416
249
  0% {
417
250
  opacity: 1;
418
251
  }
419
252
  100% {
420
253
  opacity: 0;
421
254
  }
422
- `,Se=h.default.div`
255
+ `,ie=h.default.div`
423
256
  ${({size:e,thickness:t,propellerHeight:a})=>l.css`
424
257
  display: inline-block;
425
258
  position: relative;
@@ -428,7 +261,7 @@ ${({inBuiltCss:e,type:t,size:l,customStyles:a})=>{if(e){let o={};if(e[t]){for(co
428
261
 
429
262
  div {
430
263
  transform-origin: 0px ${e/2}px;
431
- animation: ${we} 1s linear infinite;
264
+ animation: ${re} 1s linear infinite;
432
265
  width: fit-content;
433
266
 
434
267
  ::after {
@@ -515,10 +348,10 @@ ${({inBuiltCss:e,type:t,size:l,customStyles:a})=>{if(e){let o={};if(e[t]){for(co
515
348
  }
516
349
  }
517
350
  `}
518
- `,ke=({size:e,thickness:t,propellerHeight:l,customStyles:a})=>g.default.createElement(Se,{inBuiltCss:R,size:e,thickness:t,propellerHeight:l,customStyles:a,type:"spinner"},g.default.createElement("div",null),g.default.createElement("div",null),g.default.createElement("div",null),g.default.createElement("div",null),g.default.createElement("div",null),g.default.createElement("div",null),g.default.createElement("div",null),g.default.createElement("div",null),g.default.createElement("div",null));ke.propTypes={size:b.default.number,thickness:b.default.number,propellerHeight:b.default.number,customStyles:b.default.object},ke.defaultProps={size:20,thickness:2,propellerHeight:25,customStyles:null};const Ee=l.keyframes`
351
+ `,ne=({size:e,thickness:t,propellerHeight:l,customStyles:a})=>g.default.createElement(ie,{inBuiltCss:R,size:e,thickness:t,propellerHeight:l,customStyles:a,type:"spinner"},g.default.createElement("div",null),g.default.createElement("div",null),g.default.createElement("div",null),g.default.createElement("div",null),g.default.createElement("div",null),g.default.createElement("div",null),g.default.createElement("div",null),g.default.createElement("div",null),g.default.createElement("div",null));ne.propTypes={size:b.default.number,thickness:b.default.number,propellerHeight:b.default.number,customStyles:b.default.object},ne.defaultProps={size:20,thickness:2,propellerHeight:25,customStyles:null};const ce=l.keyframes`
519
352
  0% { transform: rotate(0deg); }
520
353
  100% { transform: rotate(360deg); }
521
- `,Ve=h.default.div`
354
+ `,de=h.default.div`
522
355
  display: inline-block;
523
356
  border:
524
357
  ${({theme:e,thickness:t})=>t+"px solid "+P(e.variant["primary-1"],.5)};
@@ -528,16 +361,16 @@ border-top:
528
361
  border-radius: 50%;
529
362
  height: ${({size:e})=>e+"px"};
530
363
  width: ${({size:e})=>e+"px"};
531
- animation: ${Ee} 1s linear infinite;
364
+ animation: ${ce} 1s linear infinite;
532
365
 
533
366
  ${({customStyles:e})=>e}
534
- `,Me=({size:e,thickness:t,customStyles:a})=>{const o=l.useTheme()||H;return g.default.createElement(Ve,{theme:o,size:e,thickness:t,customStyles:a})};Me.propTypes={size:b.default.number,thickness:b.default.number,customStyles:b.default.object},Me.defaultProps={size:20,thickness:3,customStyles:null};const ze={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},Be=h.default.button`
367
+ `,se=({size:e,thickness:t,customStyles:a})=>{const o=l.useTheme()||H;return g.default.createElement(de,{theme:o,size:e,thickness:t,customStyles:a})};se.propTypes={size:b.default.number,thickness:b.default.number,customStyles:b.default.object},se.defaultProps={size:20,thickness:3,customStyles:null};const ue={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},pe=h.default.button`
535
368
  background: transparent;
536
369
  color: ${({theme:e})=>e.variant["primary-1"]};
537
- padding: ${({size:e})=>ze[e].padding};
370
+ padding: ${({size:e})=>ue[e].padding};
538
371
  border: none;
539
372
  border-radius: 5px;
540
- font-size: ${({size:e})=>ze[e].fontSize};
373
+ font-size: ${({size:e})=>ue[e].fontSize};
541
374
  display: flex;
542
375
  align-items: center;
543
376
  width: ${({block:e})=>e?"100%":"auto"};
@@ -557,13 +390,13 @@ ${({customStyles:e})=>e}
557
390
 
558
391
  // custom styles
559
392
  ${({btnStyle:e})=>e}
560
- `,Le=({btnStyle:e,block:t,size:a,style:o,disabled:r,isLoading:i,type:n,id:c,...d})=>{const s=l.useTheme()||H;return g.default.createElement(Be,E({id:c,block:t,defaultStyle:"button",type:n,style:o,size:a,theme:s,disabled:r,btnStyle:e},d),i&&g.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},g.default.createElement(ke,{customStyles:{"background-color":s.additional.white},size:16})),d.children)};Le.propTypes={disabled:b.default.bool,size:b.default.oneOf(["sm","md","lg"]),block:b.default.bool,isLoading:b.default.bool,onClick:b.default.func,type:b.default.string,btnStyle:b.default.object,id:b.default.string},Le.defaultProps={block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Ie={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},He=h.default.button`
393
+ `,fe=({btnStyle:e,block:t,size:a,style:o,disabled:r,isLoading:i,type:n,id:c,...d})=>{const s=l.useTheme()||H;return g.default.createElement(pe,E({id:c,block:t,defaultStyle:"button",type:n,style:o,size:a,theme:s,disabled:r,btnStyle:e},d),i&&g.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},g.default.createElement(ne,{customStyles:{"background-color":s.additional.white},size:16})),d.children)};fe.propTypes={disabled:b.default.bool,size:b.default.oneOf(["sm","md","lg"]),block:b.default.bool,isLoading:b.default.bool,onClick:b.default.func,type:b.default.string,btnStyle:b.default.object,id:b.default.string},fe.defaultProps={block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const me={sm:{fontSize:"14px",padding:"5px 15px"},md:{fontSize:"16px",padding:"5.5px 15px"},lg:{fontSize:"18px",padding:"8px 20px"}},be=h.default.button`
561
394
  background-color: ${({theme:e})=>e.primary["primary-1"]};
562
395
  color: ${({theme:e})=>e.additional.white};
563
- padding: ${({size:e})=>Ie[e].padding};
396
+ padding: ${({size:e})=>me[e].padding};
564
397
  border: 1px solid ${({theme:e})=>e.primary["primary-1"]};
565
398
  border-radius: 5px;
566
- font-size: ${({size:e})=>Ie[e].fontSize};
399
+ font-size: ${({size:e})=>me[e].fontSize};
567
400
  display: flex;
568
401
  align-items: center;
569
402
  width: ${({block:e})=>e?"100%":"auto"};
@@ -587,12 +420,12 @@ ${({customStyles:e})=>e}
587
420
 
588
421
  // custom styles
589
422
  ${({btnStyle:e})=>e}
590
- `,Re=({btnStyle:e,block:t,size:a,style:o,disabled:r,isLoading:i,type:n,id:c,...d})=>{const s=l.useTheme()||H;return g.default.createElement(He,E({id:c,block:t,type:n,style:o,size:a,theme:s,disabled:r,btnStyle:e},d),i&&g.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},g.default.createElement(ke,{customStyles:{"background-color":s.additional.white},size:16})),d.children)};Re.propTypes={disabled:b.default.bool,size:b.default.oneOf(["sm","md","lg"]),block:b.default.bool,isLoading:b.default.bool,onClick:b.default.func,type:b.default.string,btnStyle:b.default.object,id:b.default.string},Re.defaultProps={block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const We={sm:{fontSize:"14",padding:"5px 15px"},md:{fontSize:"16",padding:"5.5px 15px"},lg:{fontSize:"18",padding:"8px 20px"}},Pe=h.default.button`
423
+ `,ge=({btnStyle:e,block:t,size:a,style:o,disabled:r,isLoading:i,type:n,id:c,...d})=>{const s=l.useTheme()||H;return g.default.createElement(be,E({id:c,block:t,type:n,style:o,size:a,theme:s,disabled:r,btnStyle:e},d),i&&g.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},g.default.createElement(ne,{customStyles:{"background-color":s.additional.white},size:16})),d.children)};ge.propTypes={disabled:b.default.bool,size:b.default.oneOf(["sm","md","lg"]),block:b.default.bool,isLoading:b.default.bool,onClick:b.default.func,type:b.default.string,btnStyle:b.default.object,id:b.default.string},ge.defaultProps={block:!1,isLoading:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const he={sm:{fontSize:"14",padding:"5px 15px"},md:{fontSize:"16",padding:"5.5px 15px"},lg:{fontSize:"18",padding:"8px 20px"}},ye=h.default.button`
591
424
  color: ${({theme:e})=>e.variant["primary-1"]};
592
425
  background: ${({theme:e})=>e.additional.white};
593
- padding: ${({size:e})=>We[e].padding};
426
+ padding: ${({size:e})=>he[e].padding};
594
427
  border: 1px solid ${({theme:e})=>e.variant["primary-1"]};
595
- font-size: ${({size:e})=>We[e].fontSize};
428
+ font-size: ${({size:e})=>he[e].fontSize};
596
429
  border-radius: 5px;
597
430
  display: flex;
598
431
  align-items: center;
@@ -624,7 +457,7 @@ ${({customStyles:e})=>e}
624
457
 
625
458
  // custom styles
626
459
  ${({btnStyle:e})=>e}
627
- `,Te=({btnStyle:e,isLoading:a,block:o,size:r,style:i,disabled:n,type:c,theme:d,id:s,...u})=>{const p=l.useTheme()||H,[f,m]=t.useState(e.color?e.color:p.variant["primary-1"]);return g.default.createElement(Pe,E({id:s,block:o,defaultStyle:"button",style:i,size:r,disabled:n,type:c,btnStyle:e,isLoading:a,theme:d,onMouseEnter:()=>!n&&m(e.backgroundColor?e.backgroundColor:p.variant.white),onMouseLeave:()=>!n&&m(e.color?e.color:p.variant["primary-1"])},u),a&&g.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},g.default.createElement(ke,{theme:d,customStyles:{"background-color":f},size:16})," "),u.children," ")};Te.propTypes={disabled:b.default.bool,size:b.default.oneOf(["sm","md","lg"]),block:b.default.bool,onClick:b.default.func,theme:b.default.object,type:b.default.string,btnStyle:b.default.object,id:b.default.string},Pe.defaultProps={theme:H},Te.defaultProps={theme:H,block:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Fe=h.default.button`
460
+ `,xe=({btnStyle:e,isLoading:a,block:o,size:r,style:i,disabled:n,type:c,theme:d,id:s,...u})=>{const p=l.useTheme()||H,[f,m]=t.useState(e.color?e.color:p.variant["primary-1"]);return g.default.createElement(ye,E({id:s,block:o,defaultStyle:"button",style:i,size:r,disabled:n,type:c,btnStyle:e,isLoading:a,theme:d,onMouseEnter:()=>!n&&m(e.backgroundColor?e.backgroundColor:p.variant.white),onMouseLeave:()=>!n&&m(e.color?e.color:p.variant["primary-1"])},u),a&&g.default.createElement("div",{style:{paddingRight:"10px",display:"flex",justifyContent:"center",alignItems:"center"}},g.default.createElement(ne,{theme:d,customStyles:{"background-color":f},size:16})," "),u.children," ")};xe.propTypes={disabled:b.default.bool,size:b.default.oneOf(["sm","md","lg"]),block:b.default.bool,onClick:b.default.func,theme:b.default.object,type:b.default.string,btnStyle:b.default.object,id:b.default.string},ye.defaultProps={theme:H},xe.defaultProps={theme:H,block:!1,disabled:!1,size:"md",onClick:void 0,btnStyle:{},id:""};const Ce=h.default.button`
628
461
  background-color: ${({theme:e})=>e.primary["primary-1"]};
629
462
  color: ${({theme:e})=>e.additional.white};
630
463
  padding: 3px 14px;
@@ -654,7 +487,90 @@ ${({customStyles:e})=>e}
654
487
 
655
488
  // custom styles
656
489
  ${({btnStyle:e})=>e}
657
- `,je=({block:e,style:t,disabled:a,type:o,btnStyle:r,id:i,...n})=>{const c=l.useTheme()||H;return g.default.createElement(Fe,E({id:i,block:e,type:o,style:t,disabled:a,btnStyle:r,theme:c},n),n.children)};je.propTypes={disabled:b.default.bool,block:b.default.bool,type:b.default.string,btnStyle:b.default.object,id:b.default.string},je.defaultProps={block:!1,disabled:!1,onClick:void 0,btnStyle:{},id:""};const qe=h.default.div`
490
+ `,ve=({block:e,style:t,disabled:a,type:o,btnStyle:r,id:i,...n})=>{const c=l.useTheme()||H;return g.default.createElement(Ce,E({id:i,block:e,type:o,style:t,disabled:a,btnStyle:r,theme:c},n),n.children)};ve.propTypes={disabled:b.default.bool,block:b.default.bool,type:b.default.string,btnStyle:b.default.object,id:b.default.string},ve.defaultProps={block:!1,disabled:!1,onClick:void 0,btnStyle:{},id:""};const Ae=h.default.div`
491
+ width: auto;
492
+ height: 40px;
493
+ background-color: ${({backgroundColor:e,theme:t})=>e||t.variant["primary-1"]};
494
+ padding: 0 24px;
495
+ cursor: ${({clickable:e})=>e?"pointer":"default"};
496
+ clip-path: ${({identity:e})=>"first-arrow"===e?"polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%)":"last-arrow"===e?"polygon(0 0, 100% 0, 100% 100%, 0 100%, calc(0% + 16px) 50%)":"polygon(0 0,calc(100% - 16px) 0,100% 50%,calc(100% - 16px) 99%,0 100%,calc(0% + 16px) 50%)"};
497
+
498
+ border-top-left-radius: ${({identity:e})=>"first-arrow"===e?"20px":0};
499
+ border-bottom-left-radius: ${({identity:e})=>"first-arrow"===e?"20px":0};
500
+ border-top-right-radius: ${({identity:e})=>"last-arrow"===e?"20px":0};
501
+ border-bottom-right-radius: ${({identity:e})=>"last-arrow"===e?"20px":0};
502
+
503
+ margin-left: ${({identity:e})=>"last-arrow"===e?"-5px":0};
504
+ `,we=({data:e,onClick:a,clickable:o})=>{const r=l.useTheme()||H,[i,n]=t.useState(0),[c,d]=t.useState({next:!0,prev:!1}),[s,u]=t.useState(100),p=e.length,f=()=>{d(i-1==0?{next:!0,prev:!1}:{next:!0,prev:!0}),n((e=>e-1))},m=()=>{n((e=>e+1));let e=Math.ceil(100/s);d(p-e===i?{next:!1,prev:!0}:{next:!0,prev:!0})},{width:b}=ae();t.useEffect((()=>{h()}),[b]);const h=()=>{let e=0;switch(!0){case 1===p:e=100;break;case b<=576:e=85;break;case b<=768:e=50;break;case p<=4:e=100/p;break;case p>4&&b>768&&b<=900:e=Math.ceil(b/22);break;case p>4&&b>900&&b<=1020:e=Math.ceil(b/24);break;case p>4&&b>1020&&b<=1200:e=Math.ceil(b/27);break;case p>4&&b>1200&&b<=1440:e=Math.ceil(b/40);break;case p>4&&b>1440:e=Math.ceil(b/85);break;default:e=100}u(e)};return g.default.createElement(t.Fragment,null," ",p>0&&g.default.createElement(t.Fragment,null," ",g.default.createElement("div",{style:{display:p<=4||b<=768?"block":"flex",width:"100%",alignItems:"center",gap:"4px"}}," ",p>4&&b>768&&g.default.createElement(ge,{btnStyle:{backgroundColor:"transparent",padding:0,border:"none"},disabled:!c.prev,onClick:f},g.default.createElement(Q,{icon:"chevron-left",color:r.variant[c.prev?"primary-2":"neutral-3"],size:22,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}})),g.default.createElement("div",{style:{display:"flex",alignItems:"center",overflow:"hidden",width:"100%",justifyContent:"space-between"}},e.map(((t,l)=>g.default.createElement("div",{key:l,style:{scrollSnapAlign:"center",minWidth:`${s}%`,transform:`translateX(-${100*i}%)`,transition:"transform 0.5s ease-in-out"}},g.default.createElement("div",{style:{width:"100%",height:"100%"}},g.default.createElement(Ae,{identity:0===l?"first-arrow":e.length-1-l==0?"last-arrow":"others",backgroundColor:t?.backgroundColor,theme:r,clickable:o,onClick:()=>o?a(t):null},g.default.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"16px",minWidth:"100%",height:"100%"},title:`value: ${t.value}, status: ${t.label}`},g.default.createElement("span",{style:{fontSize:"22px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",color:t?.color?t.color:r.variant.white}},t.value),g.default.createElement("span",{style:{fontSize:"14px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",color:t?.color?t.color:r.variant.white}},t.label))))," ")))," ")," ",p>4&&b>768&&g.default.createElement(ge,{btnStyle:{backgroundColor:"transparent",padding:0,border:"none"},disabled:!c.next,onClick:m},g.default.createElement(Q,{icon:"chevron-right",color:r.variant[c.next?"primary-2":"neutral-3"],size:22,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}}))),b<=768&&e.length>1&&g.default.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",margin:"8px 0",gap:"16px"}}," ",g.default.createElement(ge,{btnStyle:{backgroundColor:"transparent",padding:"6px",border:".5px solid "+r.variant["neutral-4"],boxShadow:"-20px 5px 37px rgba(56, 66, 100, 0.0880136)"},disabled:!c.prev,onClick:f},g.default.createElement(Q,{icon:"chevron-left",color:r.variant[c.prev?"primary-2":"neutral-3"],size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}})),g.default.createElement(ge,{btnStyle:{backgroundColor:"transparent",padding:"6px",border:".5px solid "+r.variant["neutral-4"],boxShadow:"-20px 5px 37px rgba(56, 66, 100, 0.0880136)"},disabled:!c.next,onClick:m},g.default.createElement(Q,{icon:"chevron-right",color:r.variant[c.next?"primary-2":"neutral-3"],size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}})))))};we.propTypes={data:b.default.array,onClick:b.default.func,clickable:b.default.bool},we.defaultProps={data:[],onClick:()=>null,clickable:!1};const Se=h.default.img`
505
+ //Set the styles from the default styles object
506
+ ${({inBuiltCss:e,type:t,size:l,customStyles:a})=>{if(e){let o={};if(e[t]){for(const t in e.common)o[t]=e.common[t];for(const l in e[t])o[l]=e[t][l],delete e.common[l];for(const a in e[`${t}${l}`])o[a]=e[`${t}${l}`][a],delete e.common[a]}return{...o,...a}}}}
507
+ `,ke=({customStyles:e,type:l,size:a,alt:o,src:r,handleImageStatus:i,...n})=>{const[c,d]=t.useState("loading"),s=t.useRef(null),u=()=>{d("loaded"),i&&i("loaded")},p=()=>{d("failed"),i&&i("failed")};return t.useEffect((()=>{const e=s.current;if(e)return e.addEventListener("load",u),e.addEventListener("error",p),()=>{e.removeEventListener("load",u),e.removeEventListener("error",p)}}),[c]),g.default.createElement(Se,E({},n,{inBuiltCss:R,customStyles:e,type:l,alt:o,src:r,ref:s,size:a}))};ke.propTypes={customStyles:b.default.object,type:b.default.string,size:b.default.oneOf(["SM","MD","LG"]),alt:b.default.string,src:b.default.string,handleImageStatus:b.default.func},ke.defaultProps={customStyles:{},type:"image",alt:"image alternative",src:null,handleImageStatus:null};const Ee=h.default.span`
508
+ ${({inBuiltCss:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.common)a[t]=e.common[t];for(const l in e[t])a[l]=e[t][l],delete e.common[l]}return{...a,...l}}}}
509
+ `,Ve=h.default.div`
510
+
511
+ background-color:${({theme:e})=>e.primary["primary-1"]};
512
+ color: ${({theme:e})=>e.additional.white};
513
+ ${({inBuiltCss:e,type:t,size:l,customStyles:a})=>{if(e){let o={};if(e[t]){for(const t in e.common)o[t]=e.common[t];for(const l in e[t])o[l]=e[t][l],delete e.common[l];for(const a in e[`${t}${l}`])o[a]=e[`${t}${l}`][a],delete e.common[a]}return{...o,...a}}}}
514
+ `,Me=h.default.span`
515
+
516
+ color:${({theme:e})=>e.additional["text-color"]};
517
+
518
+ ${({inBuiltCss:e,type:t,size:l,customStyles:a})=>{if(e){let o={};if(e[t]){for(const t in e.common)o[t]=e.common[t];for(const l in e[t])delete e.common[l],o[l]=e[t][l];for(const a in e[`${t}${l}`])o[a]=e[`${t}${l}`][a],delete e.common[a]}return{...o,...a}}}}
519
+ `,ze=({customStylesContainer:e,customStylesImage:t,customStylesCircle:a,customStylesName:o,size:r,toggleName:i,user:n,...c})=>{const d=l.useTheme()||H;return g.default.createElement(Ee,E({inBuiltCss:R,theme:d,customStyles:e,type:"avatarContainer"},c),n?.url&&g.default.createElement(ke,E({},c,{customStyles:t,type:"imageAvatar",size:r,alt:"user-picture",src:n.url})),g.default.createElement(Ve,E({},c,{theme:d,inBuiltCss:R,type:"avatarCircle",customStyles:a,size:r,style:{visibility:n?.url?"hidden":"visible"}}),n?.userName&&n?.userName.split(" ").length>=2?n?.userName.split(" ")[0].charAt(0).toUpperCase()+n?.userName.split(" ")[1].charAt(0).toUpperCase():n?.userName&&1===n?.userName.split(" ").length&&n?.userName.split(" ")[0].charAt(0).toUpperCase()),i&&g.default.createElement(Me,E({inBuiltCss:R},c,{theme:d,type:"avatarName",customStyles:o,size:r}),n.userName," "))};ze.propTypes={customStylesCircle:b.default.object,customStylesName:b.default.object,customStylesContainer:b.default.object,customStylesImage:b.default.object,toggleName:b.default.bool,size:b.default.oneOf(["SM","MD","LG"]),user:b.default.object},ze.defaultProps={block:!1,size:"MD",toggleName:!1,user:null,customStylesContainer:null,customStylesImage:null,customStylesCircle:null,customStylesName:null};const Be=h.default.span`
520
+ ${({inBuiltCss:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.common)a[t]=e.common[t];for(const l in e[t])a[l]=e[t][l],delete e.common[l]}return{...a,...l}}}}
521
+ width: auto;
522
+ `,Le=h.default.div`
523
+ background-color: ${({theme:e})=>e.primary["primary-1"]};
524
+ color: ${({theme:e})=>e.additional.white};
525
+ ${({inBuiltCss:e,type:t,size:l,customStyles:a})=>{if(e){let o={};if(e[t]){for(const t in e.common)o[t]=e.common[t];for(const l in e[t])o[l]=e[t][l],delete e.common[l];for(const a in e[`${t}${l}`])o[a]=e[`${t}${l}`][a],delete e.common[a]}return{...o,...a}}}}
526
+ ${({isSelected:e,selectedStyle:t,notSelectedStyle:a})=>e?l.css`
527
+ ${t}
528
+ `:l.css`
529
+ ${a}
530
+ `}
531
+ font-weight: 600;
532
+ `,Ie=h.default.span`
533
+ color: ${({theme:e,underMaintenance:t})=>t?e.neutral["neutral-3"]:e.additional["text-color"]}; };
534
+
535
+ ${({inBuiltCss:e,type:t,size:l,customStyles:a})=>{if(e){let o={};if(e[t]){for(const t in e.common)o[t]=e.common[t];for(const l in e[t])delete e.common[l],o[l]=e[t][l];for(const a in e[`${t}${l}`])o[a]=e[`${t}${l}`][a],delete e.common[a]}return{...o,...a}}}}
536
+
537
+ &:hover {
538
+ ${({customStylesHover:e})=>e}
539
+
540
+ }
541
+ `,He=h.default.span`
542
+ background-color: red;
543
+ color: white;
544
+ height: 19px;
545
+ width: 19px;
546
+ border-radius: 50%;
547
+ font-size: 12px;
548
+ position: absolute;
549
+ top: -8px;
550
+ left: 18px;
551
+ display: flex;
552
+ justify-content: center;
553
+ align-items: center;
554
+
555
+ // custom styles
556
+ ${({notificationCircleStyles:e})=>e}
557
+ `,Re=({customStylesContainer:e,customStylesImage:a,customStylesCircle:o,customStylesName:r,customStylesNameHover:i,size:n,toggleName:c,user:d,border:s,isSelected:u,selectedStyle:p,notSelectedStyle:f,notificationCount:m,notificationCircleStyles:b,icon:h,underMaintenance:y})=>{const x=l.useTheme()||H,[C,v]=t.useState("loading");return g.default.createElement(Be,{border:s,inBuiltCss:R,customStyles:e,type:"avatarContainer"},g.default.createElement(Le,{theme:x,selectedStyle:p,notSelectedStyle:f,inBuiltCss:R,type:"avatarCircle",customStyles:o,size:n,style:{visibility:"loaded"!==C?"visible":"hidden"},isSelected:u},h||(d?.url?g.default.createElement(ke,{inBuiltCss:R,customStyles:{minWidth:"36px",minHeight:"36px",...a},type:"imageAvatar",size:n,alt:"service-layer",src:d.url,handleImageStatus:e=>{v(e)},style:{visibility:"loaded"!==C?"hidden":"visible"}}):d?.userName&&d?.userName.split(" ").length>=2?d?.userName.split(" ")[0].charAt(0).toUpperCase()+d?.userName.split(" ")[1].charAt(0).toUpperCase():d?.userName&&1===d?.userName.split(" ").length&&d?.userName.split(" ")[0].charAt(0).toUpperCase())),m>0&&g.default.createElement(He,{notificationCircleStyles:b},m>9?"9+":m)," ",c&&g.default.createElement(Ie,{theme:x,inBuiltCss:R,type:"avatarName",customStyles:r,customStylesHover:i,size:n,underMaintenance:y},d.userName," "))};Re.propTypes={customStylesCircle:b.default.object,customStylesName:b.default.object,customStylesContainer:b.default.object,customStylesImage:b.default.object,toggleName:b.default.bool,size:b.default.oneOf(["SM","MD","LG"]),user:b.default.object,customStylesNameHover:b.default.object,notificationCircleStyles:b.default.object,notificationCount:b.default.number,underMaintenance:b.default.bool},Re.defaultProps={block:!1,size:"MD",toggleName:!1,user:null,customStylesContainer:null,customStylesImage:null,customStylesCircle:null,customStylesName:null,notificationCircleStyles:{},notificationCount:0,underMaintenance:!1};const We=h.default.div`
558
+ color: ${({theme:e})=>e.additional["text-color"]};
559
+ display: flex;
560
+ background-color: ${({backgroundColor:e,theme:t})=>e||t.variant["insight-purple"]};
561
+ border-left: 5px solid
562
+ ${({borderColor:e,theme:t})=>e||t.variant["graph-3"]};
563
+ padding-left: 28px;
564
+ padding-top: 22px;
565
+ padding-bottom: 22px;
566
+ width: inherit;
567
+ `,Pe=h.default.div`
568
+ color: ${({theme:e})=>e.additional["text-color"]};
569
+ display: flex;
570
+ font-size: 16px;
571
+ text-align: left;
572
+ word-wrap: break-word;
573
+ `,Te=({backgroundColor:e,borderColor:t,variant:a,children:o,...r})=>{const i=l.useTheme()||H;return g.default.createElement(g.default.Fragment,null,g.default.createElement(We,E({theme:i,backgroundColor:e,borderColor:t},r),g.default.createElement(Pe,E({theme:i},r),o)))};Te.propTypes={backgroundColor:b.default.string,borderColor:b.default.string,children:b.default.any},Te.defaultProps={children:""};const Fe=h.default.div`
658
574
  background-color: ${({theme:e})=>e.additional.white};
659
575
  border: 1px solid ${({theme:e})=>e.additional.white};
660
576
  color: ${({theme:e})=>e.additional.black},
@@ -698,7 +614,7 @@ ${({inBuiltCss:e,type:t,customStylesTPContainer:l})=>{if(e){let t={};if(e["toolt
698
614
  &[data-popper-placement*='left'] .tooltip-arrow::after {
699
615
  ${({inBuiltCss:e,type:t,customStylesTPAleftAfter:l,theme:a})=>{if(e){let t={};if(e["tp-cont-left-arrow-before"]){for(const l in e.common)t[l]=e.common[l];for(const l in e["tp-cont-left-arrow-after"])t[l]=e["tp-cont-left-arrow-after"][l],delete e.common[l]}let o=l||{borderColor:`transparent transparent transparent ${a.primary["primary-1"]} `};return{...t,...o}}}}
700
616
  }
701
- `,Ze=h.default.div`
617
+ `,je=h.default.div`
702
618
 
703
619
  ${({inBuiltCss:e,type:t,customStylesTPArrow:l})=>{if(e){let t={};if(e["tooltip-arrow"]){for(const l in e.common)t[l]=e.common[l];for(const l in e["tooltip-arrow"])t[l]=e["tooltip-arrow"][l],delete e.common[l]}return{...t,...l}}}}
704
620
 
@@ -710,26 +626,26 @@ ${({inBuiltCss:e,type:t,customStylesTPArrow:l})=>{if(e){let t={};if(e["tooltip-a
710
626
  &::after{
711
627
  ${({inBuiltCss:e,type:t,customStylesTPAafter:l})=>{if(e){let t={};if(e["tooltip-arrow-after"]){for(const l in e.common)t[l]=e.common[l];for(const l in e["tooltip-arrow-after"])t[l]=e["tooltip-arrow-after"][l],delete e.common[l]}return{...t,...l}}}}
712
628
  }
713
- `,De=h.default.div`
629
+ `,qe=h.default.div`
714
630
 
715
631
  background-color: ${({theme:e})=>e.primary["primary-1"]};
716
632
  ${({inBuiltCss:e,defaultTooltipContentStyle:t})=>W(e,t)}
717
633
  // custom styles
718
634
  ${({customContentStyle:e})=>e}
719
- `,Oe=h.default.div`
635
+ `,Ze=h.default.div`
720
636
  ${({inBuiltCss:e,defaultTooltipHeaderStyle:t})=>W(e,t)}
721
637
  // custom styles
722
638
  ${({customHeaderStyle:e})=>e}
723
- `,Ge=h.default.div`
639
+ `,De=h.default.div`
724
640
  ${({inBuiltCss:e,defaultTooltipBodyStyle:t})=>W(e,t)}
725
641
  // custom styles
726
642
  ${({customBodyStyle:e})=>e}
727
- `,Xe=h.default.div`
728
- `,Je=h.default.div`
643
+ `,Oe=h.default.div`
644
+ `,Ge=h.default.div`
729
645
  ${({inBuiltCss:e,defaultTooltipTriggerStyle:t})=>W(e,t)}
730
646
  // custom styles
731
647
  ${({customTriggerStyle:e})=>e}
732
- `,Ue=({inBuiltCss:e,contentTrigger:t,contentTooltip:a,popperOptionsP:r,settings:i,customStylesTPContainer:n,customStylesTPAbottom:c,customStylesTPAbottomBefore:d,customStylesTPAbottomAfter:s,customStylesTPAtop:u,customStylesTPAtopBefore:p,customStylesTPAtopAfter:f,customStylesTPAright:m,customStylesTPArightBefore:b,customStylesTPArightAfter:h,customStylesTPAleft:y,customStylesTPAleftBefore:x,customStylesTPAleftAfter:C,customStylesTPArrow:v,customStylesTPAbefore:A,customStylesTPAafter:w,customTooltipContentStyle:S,customContentStyle:k,customHeaderStyle:V,customBodyStyle:M,customTriggerStyle:z,headerTooltip:B,footerTooltip:L,...I})=>{const W=l.useTheme()||H,P={modifiers:[{name:"offset",options:{offset:[0,23]}}],strategy:"absolute",...r},{getArrowProps:T,getTooltipProps:F,setTooltipRef:j,setTriggerRef:q,visible:Z}=o.usePopperTooltip({interactive:!0,...i},P);return g.default.createElement(g.default.Fragment,null,g.default.createElement(Je,{ref:q,inBuiltCss:R,customTriggerStyle:z,style:{width:"fit-content",height:"fit-content",display:"inline-block"}},t),Z&&g.default.createElement(qe,E({inBuiltCss:R,theme:W,ref:j},F({className:"tooltip-container"}),{customStylesTPContainer:n,customStylesTPAbottom:c,customStylesTPAbottomBefore:d,customStylesTPAbottomAfter:s,customStylesTPAtop:u,customStylesTPAtopBefore:p,customStylesTPAtopAfter:f,customStylesTPAright:m,customStylesTPArightBefore:b,customStylesTPArightAfter:h,customStylesTPAleft:y,customStylesTPAleftBefore:x,customStylesTPAleftAfter:C}),g.default.createElement(Ze,E({inBuiltCss:R},T({className:"tooltip-arrow"}),{customStylesTPArrow:v,customStylesTPAbefore:A,customStylesTPAafter:w})),g.default.createElement(De,E({defaultTooltipContentStyle:"popOver-Content",theme:W,inBuiltCss:R},I,{customContentStyle:k}),g.default.createElement(Oe,E({defaultTooltipHeaderStyle:"popOver-header",theme:W,inBuiltCss:R},I,{customHeaderStyle:V}),B),g.default.createElement(Ge,E({defaultTooltipBodyStyle:"popOver-body",theme:W,inBuiltCss:R},I,{customBodyStyle:M}),a),g.default.createElement(Xe,null,L))))};Ue.propTypes={contentTrigger:b.default.any,headerTooltip:b.default.any,contentTooltip:b.default.any,footerTooltip:b.default.any,popperOptionsP:b.default.object,settings:b.default.object,customContentStyle:b.default.object,customHeaderStyle:b.default.object,customBodyStyle:b.default.object,customStylesTPContainer:b.default.object,customStylesTPAbottom:b.default.object,customStylesTPAbottomBefore:b.default.object,customStylesTPAbottomAfter:b.default.object,customStylesTPAtop:b.default.object,customStylesTPAtopBefore:b.default.object,customStylesTPAtopAfter:b.default.object,customStylesTPAright:b.default.object,customStylesTPArightBefore:b.default.object,customStylesTPArightAfter:b.default.object,customStylesTPAleft:b.default.object,customStylesTPAleftBefore:b.default.object,customStylesTPAleftAfter:b.default.object,customStylesTPArrow:b.default.object,customStylesTPAbefore:b.default.object,customStylesTPAafter:b.default.object,customTriggerStyle:b.default.object},Ue.defaultProps={contentTrigger:g.default.createElement("div",null,"Trigger"),headerTooltip:"",contentTooltip:"",footerTooltip:g.default.createElement(Te,{size:"sm"},"Next"),customStylesTPContainer:{border:"none"},customTriggerStyle:{}};const Ye=h.default.div`
648
+ `,Xe=({inBuiltCss:e,contentTrigger:t,contentTooltip:a,popperOptionsP:r,settings:i,customStylesTPContainer:n,customStylesTPAbottom:c,customStylesTPAbottomBefore:d,customStylesTPAbottomAfter:s,customStylesTPAtop:u,customStylesTPAtopBefore:p,customStylesTPAtopAfter:f,customStylesTPAright:m,customStylesTPArightBefore:b,customStylesTPArightAfter:h,customStylesTPAleft:y,customStylesTPAleftBefore:x,customStylesTPAleftAfter:C,customStylesTPArrow:v,customStylesTPAbefore:A,customStylesTPAafter:w,customTooltipContentStyle:S,customContentStyle:k,customHeaderStyle:V,customBodyStyle:M,customTriggerStyle:z,headerTooltip:B,footerTooltip:L,...I})=>{const W=l.useTheme()||H,P={modifiers:[{name:"offset",options:{offset:[0,23]}}],strategy:"absolute",...r},{getArrowProps:T,getTooltipProps:F,setTooltipRef:j,setTriggerRef:q,visible:Z}=o.usePopperTooltip({interactive:!0,...i},P);return g.default.createElement(g.default.Fragment,null,g.default.createElement(Ge,{ref:q,inBuiltCss:R,customTriggerStyle:z,style:{width:"fit-content",height:"fit-content",display:"inline-block"}},t),Z&&g.default.createElement(Fe,E({inBuiltCss:R,theme:W,ref:j},F({className:"tooltip-container"}),{customStylesTPContainer:n,customStylesTPAbottom:c,customStylesTPAbottomBefore:d,customStylesTPAbottomAfter:s,customStylesTPAtop:u,customStylesTPAtopBefore:p,customStylesTPAtopAfter:f,customStylesTPAright:m,customStylesTPArightBefore:b,customStylesTPArightAfter:h,customStylesTPAleft:y,customStylesTPAleftBefore:x,customStylesTPAleftAfter:C}),g.default.createElement(je,E({inBuiltCss:R},T({className:"tooltip-arrow"}),{customStylesTPArrow:v,customStylesTPAbefore:A,customStylesTPAafter:w})),g.default.createElement(qe,E({defaultTooltipContentStyle:"popOver-Content",theme:W,inBuiltCss:R},I,{customContentStyle:k}),g.default.createElement(Ze,E({defaultTooltipHeaderStyle:"popOver-header",theme:W,inBuiltCss:R},I,{customHeaderStyle:V}),B),g.default.createElement(De,E({defaultTooltipBodyStyle:"popOver-body",theme:W,inBuiltCss:R},I,{customBodyStyle:M}),a),g.default.createElement(Oe,null,L))))};Xe.propTypes={contentTrigger:b.default.any,headerTooltip:b.default.any,contentTooltip:b.default.any,footerTooltip:b.default.any,popperOptionsP:b.default.object,settings:b.default.object,customContentStyle:b.default.object,customHeaderStyle:b.default.object,customBodyStyle:b.default.object,customStylesTPContainer:b.default.object,customStylesTPAbottom:b.default.object,customStylesTPAbottomBefore:b.default.object,customStylesTPAbottomAfter:b.default.object,customStylesTPAtop:b.default.object,customStylesTPAtopBefore:b.default.object,customStylesTPAtopAfter:b.default.object,customStylesTPAright:b.default.object,customStylesTPArightBefore:b.default.object,customStylesTPArightAfter:b.default.object,customStylesTPAleft:b.default.object,customStylesTPAleftBefore:b.default.object,customStylesTPAleftAfter:b.default.object,customStylesTPArrow:b.default.object,customStylesTPAbefore:b.default.object,customStylesTPAafter:b.default.object,customTriggerStyle:b.default.object},Xe.defaultProps={contentTrigger:g.default.createElement("div",null,"Trigger"),headerTooltip:"",contentTooltip:"",footerTooltip:g.default.createElement(xe,{size:"sm"},"Next"),customStylesTPContainer:{border:"none"},customTriggerStyle:{}};const Je=h.default.div`
733
649
  background: transparent;
734
650
  color: ${({theme:e,variant:t})=>e.variant[t]};
735
651
  font-size: ${({isPrimary:e})=>e?"16px":"14px"};
@@ -765,10 +681,10 @@ ${({customTriggerStyle:e})=>e}
765
681
  .breadcrumb-icon-separator {
766
682
  margin: ${({isPrimary:e,iconMargin:t})=>t||(e?"0 12px":"0 7px")};
767
683
  }
768
- `,Ne=h.default.div`
684
+ `,Ue=h.default.div`
769
685
  display: flex;
770
686
  flex-wrap: nowrap;
771
- `,Qe=h.default.div`
687
+ `,Ye=h.default.div`
772
688
  cursor: ${({href:e})=>e?"pointer":"default"};
773
689
  list-style: none;
774
690
  color: ${({theme:e,variant:t})=>e.variant[t]};
@@ -799,21 +715,21 @@ ${({customTriggerStyle:e})=>e}
799
715
  z-index: 1;
800
716
  overflow: hidden;
801
717
  }
802
- `,Ke=h.default.div`
718
+ `,Ne=h.default.div`
803
719
  display: flex;
804
720
  margin-bottom: 15px;
805
721
  position: relative;
806
- `,$e=({wrap:e,block:a,style:o,variant:r,variantSeparator:i,appLogo:n,separator:c,items:d,onClick:s,isPrimary:u,collapse:p,folderIcon:f,folderIconProps:m,iconMargin:b,...h})=>{const y=l.useTheme()||H,x=t.useRef(null),[C,v]=t.useState(void 0),A=()=>{v(x?.current?.scrollWidth<x?.current?.offsetWidth)};t.useEffect((()=>{A()}),[d]),t.useEffect((()=>{if(!e)return window.addEventListener("resize",A),()=>window.removeEventListener("resize",A)}),[]);const w=d.map(((e,t)=>g.default.createElement(Ne,{key:t},0!==t||n?g.default.createElement("div",{className:"breadcrumb-icon-separator"},c):null,g.default.createElement(Qe,{id:e.id,theme:y,onClick:()=>{e.href&&s(e.href)},variant:r,href:e.href,"data-title":e.label},e.label))));let S,k;ve().width<500?(S=2,k=d.slice(-1)):(S=4,k=d.slice(-3));const V=k.map(((e,t)=>g.default.createElement(Ne,{key:d.length-3},g.default.createElement("div",{className:"breadcrumb-icon-separator"},c),g.default.createElement(Qe,{id:e.id,theme:y,onClick:()=>{e.href&&s(e.href)},variant:r,href:e.href,"data-title":e.label},e.label)))),M=d.slice(1,d.length-(S-1)).map(((e,t)=>g.default.createElement(Ke,{key:t},f?g.default.createElement("div",{style:{marginRight:"10px",marginTop:"2.3px"}},g.default.createElement(Q,E({icon:"folder-icon",size:17,transform:"translate(0px,-0.5px)"},m))):null,g.default.createElement(Qe,{id:e.id,theme:y,onClick:()=>{e.href&&s(e.href)},variant:r,href:e.href,"data-title":e.label},e.label)))),z=d?1==p?d.length<=S?w:g.default.createElement(g.default.Fragment,null,g.default.createElement(Ne,{key:0},g.default.createElement("div",{className:"breadcrumb-icon-separator"},c),g.default.createElement(Qe,{id:d[0].id,theme:y,onClick:()=>{d[0].href&&s(d[0].href)},variant:r,href:d[0].href,"data-title":d[0].label},d[0].label)),g.default.createElement(Ne,null,g.default.createElement("div",{className:"breadcrumb-icon-separator",style:{marginTop:"-3px"}},c),g.default.createElement(Ue,{contentTrigger:g.default.createElement(Q,{icon:"ellipses-horizontal",size:12,color:"#6B747F",style:{padding:"0 4px",paddingBottom:"6px",marginTop:"-5.5px"}}),customTriggerStyle:{cursor:"pointer",background:"#E2E6F5",borderRadius:"3px"},headerTooltip:"",customHeaderStyle:{marginBottom:"0px"},contentTooltip:g.default.createElement(g.default.Fragment,null,M),footerTooltip:"",popperOptionsP:{placement:"bottom"},customContentStyle:{width:"210px",backgroundColor:"white",color:"#6B747F",boxShadow:"0px 6px 40px rgba(56, 66, 100, 0.482627)",display:"flex",flexDirection:"column",alignItems:"flex-start",padding:"16px",gap:"8px",position:"absolute",borderRadius:"3.6px",paddingBottom:"0px",marginTop:"-8.8px",marginLeft:"-6px"},customBodyStyle:{marginBottom:"0px"},customStylesTPArrow:{display:"none"},settings:{closeOnOutsideClick:!0,trigger:"click"}})),V):w:null;return g.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},g.default.createElement("div",{style:{display:"flex",position:"absolute"}},g.default.createElement(Ye,E({theme:y,isWrap:e,ref:e?null:x,isBreadcrumbVisible:C,block:a,variant:r,variantSeparator:i,style:o,isPrimary:u,iconMargin:b},h),n&&g.default.createElement("div",{className:"breadcrumb-icon"},n),z)))};$e.propTypes={variant:b.default.string,variantSeparator:b.default.string,onClick:b.default.func,appLogo:b.default.any,separator:b.default.any,items:b.default.array,block:b.default.bool,wrap:b.default.bool,isPrimary:b.default.bool,collapse:b.default.bool,folderIcon:b.default.bool,iconMargin:b.default.string},$e.defaultProps={variant:"neutral-2",variantSeparator:"neutral-3",block:!1,onClick:void 0,wrap:!1,isPrimary:!0,collapse:!0,folderIcon:!0};const _e=h.default.label`
722
+ `,Qe=({wrap:e,block:a,style:o,variant:r,variantSeparator:i,appLogo:n,separator:c,items:d,onClick:s,isPrimary:u,collapse:p,folderIcon:f,folderIconProps:m,iconMargin:b,...h})=>{const y=l.useTheme()||H,x=t.useRef(null),[C,v]=t.useState(void 0),A=()=>{v(x?.current?.scrollWidth<x?.current?.offsetWidth)};t.useEffect((()=>{A()}),[d]),t.useEffect((()=>{if(!e)return window.addEventListener("resize",A),()=>window.removeEventListener("resize",A)}),[]);const w=d.map(((e,t)=>g.default.createElement(Ue,{key:t},0!==t||n?g.default.createElement("div",{className:"breadcrumb-icon-separator"},c):null,g.default.createElement(Ye,{id:e.id,theme:y,onClick:()=>{e.href&&s(e.href)},variant:r,href:e.href,"data-title":e.label},e.label))));let S,k;ae().width<500?(S=2,k=d.slice(-1)):(S=4,k=d.slice(-3));const V=k.map(((e,t)=>g.default.createElement(Ue,{key:d.length-3},g.default.createElement("div",{className:"breadcrumb-icon-separator"},c),g.default.createElement(Ye,{id:e.id,theme:y,onClick:()=>{e.href&&s(e.href)},variant:r,href:e.href,"data-title":e.label},e.label)))),M=d.slice(1,d.length-(S-1)).map(((e,t)=>g.default.createElement(Ne,{key:t},f?g.default.createElement("div",{style:{marginRight:"10px",marginTop:"2.3px"}},g.default.createElement(Q,E({icon:"folder-icon",size:17,transform:"translate(0px,-0.5px)"},m))):null,g.default.createElement(Ye,{id:e.id,theme:y,onClick:()=>{e.href&&s(e.href)},variant:r,href:e.href,"data-title":e.label},e.label)))),z=d?1==p?d.length<=S?w:g.default.createElement(g.default.Fragment,null,g.default.createElement(Ue,{key:0},g.default.createElement("div",{className:"breadcrumb-icon-separator"},c),g.default.createElement(Ye,{id:d[0].id,theme:y,onClick:()=>{d[0].href&&s(d[0].href)},variant:r,href:d[0].href,"data-title":d[0].label},d[0].label)),g.default.createElement(Ue,null,g.default.createElement("div",{className:"breadcrumb-icon-separator",style:{marginTop:"-3px"}},c),g.default.createElement(Xe,{contentTrigger:g.default.createElement(Q,{icon:"ellipses-horizontal",size:12,color:"#6B747F",style:{padding:"0 4px",paddingBottom:"6px",marginTop:"-5.5px"}}),customTriggerStyle:{cursor:"pointer",background:"#E2E6F5",borderRadius:"3px"},headerTooltip:"",customHeaderStyle:{marginBottom:"0px"},contentTooltip:g.default.createElement(g.default.Fragment,null,M),footerTooltip:"",popperOptionsP:{placement:"bottom"},customContentStyle:{width:"210px",backgroundColor:"white",color:"#6B747F",boxShadow:"0px 6px 40px rgba(56, 66, 100, 0.482627)",display:"flex",flexDirection:"column",alignItems:"flex-start",padding:"16px",gap:"8px",position:"absolute",borderRadius:"3.6px",paddingBottom:"0px",marginTop:"-8.8px",marginLeft:"-6px"},customBodyStyle:{marginBottom:"0px"},customStylesTPArrow:{display:"none"},settings:{closeOnOutsideClick:!0,trigger:"click"}})),V):w:null;return g.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},g.default.createElement("div",{style:{display:"flex",position:"absolute"}},g.default.createElement(Je,E({theme:y,isWrap:e,ref:e?null:x,isBreadcrumbVisible:C,block:a,variant:r,variantSeparator:i,style:o,isPrimary:u,iconMargin:b},h),n&&g.default.createElement("div",{className:"breadcrumb-icon"},n),z)))};Qe.propTypes={variant:b.default.string,variantSeparator:b.default.string,onClick:b.default.func,appLogo:b.default.any,separator:b.default.any,items:b.default.array,block:b.default.bool,wrap:b.default.bool,isPrimary:b.default.bool,collapse:b.default.bool,folderIcon:b.default.bool,iconMargin:b.default.string},Qe.defaultProps={variant:"neutral-2",variantSeparator:"neutral-3",block:!1,onClick:void 0,wrap:!1,isPrimary:!0,collapse:!0,folderIcon:!0};const Ke=h.default.label`
807
723
  //Set the styles from the default styles object
808
724
  ${({inBuiltCss:e,type:t})=>W(e,t)}
809
725
 
810
726
  // custom styles
811
727
  ${({customStyles:e})=>e}
812
- `,et=({customStyles:e,text:t,className:a,required:o,...r})=>{const i=l.useTheme()||H;return g.default.createElement(_e,E({required:o,inBuiltCss:R,customStyles:e,type:"label"},r),t,o&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${i.variant.error}`}},"*"))};et.propTypes={customStyles:b.default.object,text:b.default.string},et.defaultProps={text:""};const tt=h.default.div`
728
+ `,$e=({customStyles:e,text:t,className:a,required:o,...r})=>{const i=l.useTheme()||H;return g.default.createElement(Ke,E({required:o,inBuiltCss:R,customStyles:e,type:"label"},r),t,o&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${i.variant.error}`}},"*"))};$e.propTypes={customStyles:b.default.object,text:b.default.string},$e.defaultProps={text:""};const _e=h.default.div`
813
729
  display: flex;
814
730
  flex-direction: column;
815
731
  ${({containerStyle:e})=>e};
816
- `,lt=h.default.div`
732
+ `,et=h.default.div`
817
733
  display: flex;
818
734
  flex-wrap: wrap;
819
735
  align-items: baseline;
@@ -822,7 +738,7 @@ ${({customTriggerStyle:e})=>e}
822
738
  border: none;
823
739
  outline: none;
824
740
  ${({inputContainerStyle:e})=>e};
825
- `,at=h.default.div`
741
+ `,tt=h.default.div`
826
742
  background-color: ${({theme:e})=>e.variant["selection-bg"]};
827
743
  color: ${({theme:e})=>e.variant["neutral-1"]} ;
828
744
  border-radius: 4px;
@@ -835,10 +751,10 @@ ${({customTriggerStyle:e})=>e}
835
751
  &:hover {
836
752
  cursor: pointer;
837
753
  }
838
- `,ot=h.default.span`
754
+ `,lt=h.default.span`
839
755
  margin-right: 8px;
840
756
  word-break: break-all;
841
- `,rt=h.default.input`
757
+ `,at=h.default.input`
842
758
  flex-grow: 1;
843
759
  padding: 0;
844
760
  border: none;
@@ -855,10 +771,10 @@ ${({customTriggerStyle:e})=>e}
855
771
  &::placeholder {
856
772
  color: ${({theme:e})=>e.variant["neutral-3"]};
857
773
  }
858
- `,it=h.default.span`
774
+ `,ot=h.default.span`
859
775
  color: ${({theme:e})=>e.variant.error};
860
776
  ${({errorTextStyle:e})=>e};
861
- `,nt=({listChips:e,setListChips:a,currentChip:o,setCurrentChip:r,chipListString:i,placeholder:n,validationCheck:c,errorMsg:d,handleBlurProps:s,label:u,labelCusTomStyles:p,containerStyle:f,inputContainerStyle:m,errorTextStyle:b,multipleItemsValidator:h,disabled:y,...x})=>{let C=i?i.split(","):e||[];const[v,A]=t.useState(C),[w,S]=t.useState(o),[k,E]=t.useState(""),V=l.useTheme()||H;t.useEffect((()=>{A(C)}),[]);return g.default.createElement(tt,{theme:V,containerStyle:f},g.default.createElement(lt,{inputContainerStyle:m},g.default.createElement(et,{text:u,customStyles:p}),v.map(((e,t)=>g.default.createElement(at,{theme:V,key:e+`${t}`,onClick:()=>(e=>{const t=[...v];t.splice(e,1),A(t),E("")})(t)},g.default.createElement(ot,null,e)))),g.default.createElement(rt,{type:"text",placeholder:n,value:w,onKeyDown:e=>{let t=c(w,v);"Enter"===e.key||","===e.key?(e.preventDefault(),t?w.trim()&&(A([...v,w.trim()]),S(""),E("")):E(d)):"Backspace"!==e.key||w||A(v.slice(0,-1))},onChange:e=>{S(e.target.value),E("")},theme:V,onBlur:()=>{const e=c(w,v);if(e&&w.trim()){const e=[...v,w.trim()];s(e.join(",")),A(e),S("")}else e||E(d)},onPaste:e=>{e.preventDefault();const t=e.clipboardData.getData("text/plain"),l=h(t,v);if(l&&l.length>0){const e=[...v,...l];A(e)}S("")},disabled:y})),k&&g.default.createElement(it,{errorTextStyle:b,theme:V},k))};nt.propTypes={listChips:b.default.arrayOf(b.default.string),setListChips:b.default.func,chipListString:b.default.string,currentChip:b.default.string,setCurrentChip:b.default.func,placeholder:b.default.string,validationCheck:b.default.func.isRequired,errorMsg:b.default.string,label:b.default.string,labelCusTomStyles:b.default.object,containerStyle:b.default.object,inputContainerStyle:b.default.object,errorTextStyle:b.default.object,disabled:b.default.bool},nt.defaultProps={listChips:[],setListChips:()=>{},currentChip:"",setCurrentChip:()=>{},placeholder:"",errorMsg:"Please enter a valid email address",label:"From:",labelCusTomStyles:{},containerStyle:{},inputContainerStyle:{},errorTextStyle:{},disabled:!1};const ct=h.default.div`
777
+ `,rt=({listChips:e,setListChips:a,currentChip:o,setCurrentChip:r,chipListString:i,placeholder:n,validationCheck:c,errorMsg:d,handleBlurProps:s,label:u,labelCusTomStyles:p,containerStyle:f,inputContainerStyle:m,errorTextStyle:b,multipleItemsValidator:h,disabled:y,...x})=>{let C=i?i.split(","):e||[];const[v,A]=t.useState(C),[w,S]=t.useState(o),[k,E]=t.useState(""),V=l.useTheme()||H;t.useEffect((()=>{A(C)}),[]);return g.default.createElement(_e,{theme:V,containerStyle:f},g.default.createElement(et,{inputContainerStyle:m},g.default.createElement($e,{text:u,customStyles:p}),v.map(((e,t)=>g.default.createElement(tt,{theme:V,key:e+`${t}`,onClick:()=>(e=>{const t=[...v];t.splice(e,1),A(t),E("")})(t)},g.default.createElement(lt,null,e)))),g.default.createElement(at,{type:"text",placeholder:n,value:w,onKeyDown:e=>{let t=c(w,v);"Enter"===e.key||","===e.key?(e.preventDefault(),t?w.trim()&&(A([...v,w.trim()]),S(""),E("")):E(d)):"Backspace"!==e.key||w||A(v.slice(0,-1))},onChange:e=>{S(e.target.value),E("")},theme:V,onBlur:()=>{const e=c(w,v);if(e&&w.trim()){const e=[...v,w.trim()];s(e.join(",")),A(e),S("")}else e||E(d)},onPaste:e=>{e.preventDefault();const t=e.clipboardData.getData("text/plain"),l=h(t,v);if(l&&l.length>0){const e=[...v,...l];A(e)}S("")},disabled:y})),k&&g.default.createElement(ot,{errorTextStyle:b,theme:V},k))};rt.propTypes={listChips:b.default.arrayOf(b.default.string),setListChips:b.default.func,chipListString:b.default.string,currentChip:b.default.string,setCurrentChip:b.default.func,placeholder:b.default.string,validationCheck:b.default.func.isRequired,errorMsg:b.default.string,label:b.default.string,labelCusTomStyles:b.default.object,containerStyle:b.default.object,inputContainerStyle:b.default.object,errorTextStyle:b.default.object,disabled:b.default.bool},rt.defaultProps={listChips:[],setListChips:()=>{},currentChip:"",setCurrentChip:()=>{},placeholder:"",errorMsg:"Please enter a valid email address",label:"From:",labelCusTomStyles:{},containerStyle:{},inputContainerStyle:{},errorTextStyle:{},disabled:!1};const it=h.default.div`
862
778
  box-sizing: initial;
863
779
 
864
780
  //Set the styles from the default styles object
@@ -870,7 +786,7 @@ opacity: ${({disabled:e,disabledOpacity:t})=>e?t:"1"};
870
786
 
871
787
  // custom styles
872
788
  ${({checkBoxOuterStyle:e})=>e}
873
- `;ct.defaultProps={theme:H};const dt=h.default.div`
789
+ `;it.defaultProps={theme:H};const nt=h.default.div`
874
790
  box-sizing: initial;
875
791
 
876
792
  //Set the styles from the default styles object
@@ -887,7 +803,7 @@ opacity: ${({disabled:e,disabledOpacity:t})=>e?t:"1"};
887
803
 
888
804
  // custom styles
889
805
  ${({checkBoxInnerStyle:e})=>e}
890
- `;dt.defaultProps={theme:H};const st=h.default.span`
806
+ `;nt.defaultProps={theme:H};const ct=h.default.span`
891
807
  word-break: break-word;
892
808
 
893
809
  //Set the styles from the default styles object
@@ -900,7 +816,7 @@ opacity: ${({disabled:e,disabledOpacity:t})=>e?t:"1"};
900
816
 
901
817
  // custom styles
902
818
  ${({optionTextStyle:e})=>e}
903
- `;st.defaultProps={theme:H};const ut=h.default.label`
819
+ `;ct.defaultProps={theme:H};const dt=h.default.label`
904
820
  width: fit-content;
905
821
  margin-bottom: ${({inline:e})=>e?"":"18px !important"};
906
822
  cursor: pointer;
@@ -910,10 +826,10 @@ opacity: ${({disabled:e,disabledOpacity:t})=>e?t:"1"};
910
826
 
911
827
  // custom styles
912
828
  ${({wrapperStyles:e})=>e}
913
- `,pt=h.default.div`
829
+ `,st=h.default.div`
914
830
  flex-direction: ${({inline:e})=>e?"row":"column"};
915
831
  width: ${({inline:e})=>e?"initial":"auto"};
916
- `,ft=({getCheckedArr:e,checkBoxOuterStyle:a,checkBoxInnerStyle:o,optionTextStyle:r,defaultBorderColor:i,defaultTextColor:n,checkedTextColor:c,checkedCheckBoxColor:d,labelStyle:s,label:u,options:p,setOptions:f,wrapperStyles:m,inline:b,wrapperStyle:h,isRequired:y,iconProps:x,disabledOpacity:C,disableAllCheckbox:v,...A})=>{const w=l.useTheme()||H;t.useEffect((()=>{if(v){let e=[...p];e.map((e=>{e.disabled=!0})),f(e)}S(p)}),[]);const S=t=>{let l=t.filter((e=>!1!==e.checked));e(l)},k=Object.assign({display:"flex",flexDirection:"column",flexWrap:"wrap"},h);return g.default.createElement("div",E({style:k},A),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(et,E({customStyles:s,type:"check-label",text:u},A)),y&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${w.variant.error}`}},"*")),g.default.createElement(pt,E({style:{display:"flex",flexWrap:"wrap"},inline:b},A),p?.map(((e,t)=>g.default.createElement(ut,E({inline:b,id:e.id,key:`${e.name}-${t}`,onClick:()=>{!e.disabled&&((e,t)=>{let l=[...p];l[t].checked=!e.checked,f(l),S(l)})(e,t)},wrapperStyles:m},A),e.checked?g.default.createElement(dt,E({theme:w,inBuiltCss:R,defaultCheckBoxInnerStyle:"checkBox-inner",checkBoxInnerStyle:{...o,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabled&&e?.disabledColor},defaultBorderColor:i,checkedCheckBoxColor:d,checked:e.checked,disabled:e.disabled,disabledOpacity:C},A),g.default.createElement(Q,E({icon:"check-icon",size:18,color:"white"},x))):g.default.createElement(ct,E({inBuiltCss:R,defaultCheckBoxOuterStyle:"checkBox-outer",checkBoxOuterStyle:{...a,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabledColor},defaultBorderColor:i,theme:w,disabled:e.disabled,disabledOpacity:C},A)),g.default.createElement(st,{theme:w,inline:b,optionTextStyle:{...r,cursor:e?.disabled?"not-allowed ":" pointer",color:e?.disabledColor},checked:e.checked,defaultTextColor:n,checkedTextColor:c,disabled:e.disabled,disabledOpacity:C},e.label))))))};ft.propTypes={wrapperStyle:b.default.object,label:b.default.string,labelStyle:b.default.object,checkBoxOuterStyle:b.default.object,checkBoxInnerStyle:b.default.object,optionTextStyle:b.default.object,defaultTextColor:b.default.string,checkedTextColor:b.default.string,defaultBorderColor:b.default.string,checkedCheckBoxColor:b.default.string,inline:b.default.bool,options:b.default.array,setOptions:b.default.func,getCheckedArr:b.default.func,isRequired:b.default.bool,wrapperStyles:b.default.object,iconProps:b.default.object,disabledOpacity:b.default.number,disableAllCheckbox:b.default.bool},ft.defaultProps={label:"",inline:!1,options:[],setOptions:()=>{},getCheckedArr:()=>{},labelStyle:{},checkBoxOuterStyle:{},checkBoxInnerStyle:{},isRequired:!0,wrapperStyles:{},iconProps:{},disabledOpacity:.5,disableAllCheckbox:!1};const mt=h.default.div`
832
+ `,ut=({getCheckedArr:e,checkBoxOuterStyle:a,checkBoxInnerStyle:o,optionTextStyle:r,defaultBorderColor:i,defaultTextColor:n,checkedTextColor:c,checkedCheckBoxColor:d,labelStyle:s,label:u,options:p,setOptions:f,wrapperStyles:m,inline:b,wrapperStyle:h,isRequired:y,iconProps:x,disabledOpacity:C,disableAllCheckbox:v,...A})=>{const w=l.useTheme()||H;t.useEffect((()=>{if(v){let e=[...p];e.map((e=>{e.disabled=!0})),f(e)}S(p)}),[]);const S=t=>{let l=t.filter((e=>!1!==e.checked));e(l)},k=Object.assign({display:"flex",flexDirection:"column",flexWrap:"wrap"},h);return g.default.createElement("div",E({style:k},A),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement($e,E({customStyles:s,type:"check-label",text:u},A)),y&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${w.variant.error}`}},"*")),g.default.createElement(st,E({style:{display:"flex",flexWrap:"wrap"},inline:b},A),p?.map(((e,t)=>g.default.createElement(dt,E({inline:b,id:e.id,key:`${e.name}-${t}`,onClick:()=>{!e.disabled&&((e,t)=>{let l=[...p];l[t].checked=!e.checked,f(l),S(l)})(e,t)},wrapperStyles:m},A),e.checked?g.default.createElement(nt,E({theme:w,inBuiltCss:R,defaultCheckBoxInnerStyle:"checkBox-inner",checkBoxInnerStyle:{...o,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabled&&e?.disabledColor},defaultBorderColor:i,checkedCheckBoxColor:d,checked:e.checked,disabled:e.disabled,disabledOpacity:C},A),g.default.createElement(Q,E({icon:"check-icon",size:18,color:"white"},x))):g.default.createElement(it,E({inBuiltCss:R,defaultCheckBoxOuterStyle:"checkBox-outer",checkBoxOuterStyle:{...a,cursor:e?.disabled?"not-allowed ":" pointer",borderColor:e?.disabledColor},defaultBorderColor:i,theme:w,disabled:e.disabled,disabledOpacity:C},A)),g.default.createElement(ct,{theme:w,inline:b,optionTextStyle:{...r,cursor:e?.disabled?"not-allowed ":" pointer",color:e?.disabledColor},checked:e.checked,defaultTextColor:n,checkedTextColor:c,disabled:e.disabled,disabledOpacity:C},e.label))))))};ut.propTypes={wrapperStyle:b.default.object,label:b.default.string,labelStyle:b.default.object,checkBoxOuterStyle:b.default.object,checkBoxInnerStyle:b.default.object,optionTextStyle:b.default.object,defaultTextColor:b.default.string,checkedTextColor:b.default.string,defaultBorderColor:b.default.string,checkedCheckBoxColor:b.default.string,inline:b.default.bool,options:b.default.array,setOptions:b.default.func,getCheckedArr:b.default.func,isRequired:b.default.bool,wrapperStyles:b.default.object,iconProps:b.default.object,disabledOpacity:b.default.number,disableAllCheckbox:b.default.bool},ut.defaultProps={label:"",inline:!1,options:[],setOptions:()=>{},getCheckedArr:()=>{},labelStyle:{},checkBoxOuterStyle:{},checkBoxInnerStyle:{},isRequired:!0,wrapperStyles:{},iconProps:{},disabledOpacity:.5,disableAllCheckbox:!1};const pt=h.default.div`
917
833
  border: 1px solid ${({theme:e})=>e.additional.border};
918
834
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.additional.white};
919
835
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
@@ -926,7 +842,7 @@ ${({inBuiltCss:e,defaultColorWrapperStyle:t})=>W(e,t)}
926
842
  // custom styles
927
843
  ${({customColorWrapperStyle:e})=>e}
928
844
 
929
- `,bt=h.default.input`
845
+ `,ft=h.default.input`
930
846
 
931
847
  border: 0.5px solid ${({theme:e})=>e.additional.border} !important;
932
848
  box-shadow: 0px 5px 37px rgba(56, 66, 100, 0.0880136);
@@ -950,11 +866,11 @@ ${({customInputColorStyle:e})=>e}
950
866
 
951
867
  background-color: ${({isDisabled:e,value:t,theme:l})=>e?l.variant["neutral-5"]:t}};
952
868
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
953
- `,gt=({label:e,labelStyle:t,value:a,setValue:o,customInputColorStyle:r,customColorWrapperStyle:i,id:n,isDisabled:c,required:d,...s})=>{const u=l.useTheme()||H;return g.default.createElement(mt,E({customColorWrapperStyle:i,defaultColorWrapperStyle:"ColorWrapper",isDisabled:c,theme:u,inBuiltCss:R,required:d},s),g.default.createElement(bt,E({id:n,isDisabled:c,disabled:c,customInputColorStyle:r,defaultInputColorStyle:"input-color",inBuiltCss:R,theme:u},s,{type:"color",value:a,onChange:e=>{o(e.target.value)}})),g.default.createElement(et,E({themeColor:H,customStyles:t,type:"label-text",text:e,style:{display:"flex",paddingBottom:"0px",paddingLeft:"10px",cursor:c?"not-allowed":"pointer"}},s)))};gt.propTypes={label:b.default.string,labelStyle:b.default.object,value:b.default.string,setValue:b.default.func,customInputColorStyle:b.default.object,customColorWrapperStyle:b.default.object,id:b.default.string,isDisabled:b.default.bool,required:b.default.bool},gt.defaultProps={label:"choose color",labelStyle:{},customInputColorStyle:{},customColorWrapperStyle:{},value:"#FFFFFF",setValue:()=>{},id:"",isDisabled:!1,required:!1};const ht=l.css`
869
+ `,mt=({label:e,labelStyle:t,value:a,setValue:o,customInputColorStyle:r,customColorWrapperStyle:i,id:n,isDisabled:c,required:d,...s})=>{const u=l.useTheme()||H;return g.default.createElement(pt,E({customColorWrapperStyle:i,defaultColorWrapperStyle:"ColorWrapper",isDisabled:c,theme:u,inBuiltCss:R,required:d},s),g.default.createElement(ft,E({id:n,isDisabled:c,disabled:c,customInputColorStyle:r,defaultInputColorStyle:"input-color",inBuiltCss:R,theme:u},s,{type:"color",value:a,onChange:e=>{o(e.target.value)}})),g.default.createElement($e,E({themeColor:H,customStyles:t,type:"label-text",text:e,style:{display:"flex",paddingBottom:"0px",paddingLeft:"10px",cursor:c?"not-allowed":"pointer"}},s)))};mt.propTypes={label:b.default.string,labelStyle:b.default.object,value:b.default.string,setValue:b.default.func,customInputColorStyle:b.default.object,customColorWrapperStyle:b.default.object,id:b.default.string,isDisabled:b.default.bool,required:b.default.bool},mt.defaultProps={label:"choose color",labelStyle:{},customInputColorStyle:{},customColorWrapperStyle:{},value:"#FFFFFF",setValue:()=>{},id:"",isDisabled:!1,required:!1};const bt=l.css`
954
870
  display: flex;
955
871
  gap: 7px;
956
872
  align-items: center;
957
- `,yt=h.default.div`
873
+ `,gt=h.default.div`
958
874
  .react-tel-input {
959
875
  border: 1px solid ${({theme:e})=>e.additional.border};
960
876
  cursor: default;
@@ -1000,11 +916,11 @@ cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1000
916
  input:placeholder-shown {
1001
917
  text-overflow: ellipsis;
1002
918
  }
1003
- ${({labelInline:e})=>e?ht:null}
919
+ ${({labelInline:e})=>e?bt:null}
1004
920
 
1005
921
  // custom styles
1006
922
  ${({wrapperStyle:e})=>e}
1007
- `,xt=({labelProps:e,formProps:a,country:o,regions:r,countryCodeEditable:i,isDisabled:n})=>{const c=t.useRef(null),d=l.useTheme()||H,[s,u]=t.useState(""),[p,f]=t.useState(""),m={label:"",required:!1,labelStyle:{},...e};return g.default.createElement(yt,E({theme:d},a),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(et,E({style:{display:"flex",marginBottom:`${a?.labelInline?0:"8px"}`,paddingBottom:"0px",justifyContent:"start"},required:m.required},m))),g.default.createElement(y.default,{required:m.required,theme:d,disabled:n,disableCountryGuess:!0,ref:c,country:o||null,countryCodeEditable:i,regions:r,value:s,alwaysDefaultMask:!1,placeholder:p,onChange:(e,t,l,a)=>{let o="";if(0!==Object.keys(t).length){let e,l;t.format.split(" ").map(((a,r)=>{0===r?(e=`+${t.dialCode}`,o=e):(l=a.replace(/\./g,"X"),o=`${o} ${l}`)}))}u(e),f(o)}}))};xt.propTypes={regions:b.default.array,labelProps:b.default.object,formProps:b.default.object,countryCodeEditable:b.default.bool,country:b.default.string,isDisabled:b.default.bool},xt.defaultProps={labelProps:{},country:"ca",regions:["america"],countryCodeEditable:!1,isDisabled:!1};const Ct=h.default.div`
923
+ `,ht=({labelProps:e,formProps:a,country:o,regions:r,countryCodeEditable:i,isDisabled:n})=>{const c=t.useRef(null),d=l.useTheme()||H,[s,u]=t.useState(""),[p,f]=t.useState(""),m={label:"",required:!1,labelStyle:{},...e};return g.default.createElement(gt,E({theme:d},a),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement($e,E({style:{display:"flex",marginBottom:`${a?.labelInline?0:"8px"}`,paddingBottom:"0px",justifyContent:"start"},required:m.required},m))),g.default.createElement(y.default,{required:m.required,theme:d,disabled:n,disableCountryGuess:!0,ref:c,country:o||null,countryCodeEditable:i,regions:r,value:s,alwaysDefaultMask:!1,placeholder:p,onChange:(e,t,l,a)=>{let o="";if(0!==Object.keys(t).length){let e,l;t.format.split(" ").map(((a,r)=>{0===r?(e=`+${t.dialCode}`,o=e):(l=a.replace(/\./g,"X"),o=`${o} ${l}`)}))}u(e),f(o)}}))};ht.propTypes={regions:b.default.array,labelProps:b.default.object,formProps:b.default.object,countryCodeEditable:b.default.bool,country:b.default.string,isDisabled:b.default.bool},ht.defaultProps={labelProps:{},country:"ca",regions:["america"],countryCodeEditable:!1,isDisabled:!1};const yt=h.default.div`
1008
924
  cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1009
925
  .react-datepicker__tab-loop {
1010
926
  position: absolute;
@@ -1160,24 +1076,24 @@ cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1160
1076
 
1161
1077
  // custom styles
1162
1078
  ${({wrapperStyle:e})=>e};
1163
- `,vt=h.default.div`
1079
+ `,xt=h.default.div`
1164
1080
  display: flex;
1165
1081
  align-items: flex-start;
1166
1082
  justify-content: center;
1167
1083
  font-size: 16px;
1168
1084
  padding-top: 12px;
1169
1085
  padding-bottom: 15px;
1170
- `,At=h.default.div`
1086
+ `,Ct=h.default.div`
1171
1087
  display: flex;
1172
1088
  justify-content: center;
1173
1089
  margin-left: 6px;
1174
- `,wt=h.default("div")`
1090
+ `,vt=h.default("div")`
1175
1091
  width: inherit;
1176
- `,St=h.default("div")`
1092
+ `,At=h.default("div")`
1177
1093
  display: flex;
1178
1094
  flex-direction: row;
1179
1095
  cursor: pointer;
1180
- `,kt=h.default("div")`
1096
+ `,wt=h.default("div")`
1181
1097
  margin-top: 8px;
1182
1098
  position: absolute;
1183
1099
  z-index: 100;
@@ -1188,7 +1104,7 @@ cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1188
1104
  background: white;
1189
1105
  box-shadow: 0px 6px 20px rgb(56 66 100 / 15%);
1190
1106
  border-radius: 4px;
1191
- `,Et=h.default("ul")`
1107
+ `,St=h.default("ul")`
1192
1108
  list-style: none;
1193
1109
  padding: 0;
1194
1110
  margin: 12px;
@@ -1214,7 +1130,7 @@ cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1214
1130
  background-color: ${({theme:e})=>e.variant["neutral-4"]};
1215
1131
  border-radius: 10px;
1216
1132
  }
1217
- `,Vt=h.default("li")`
1133
+ `,kt=h.default("li")`
1218
1134
  text-align: left;
1219
1135
  font-style: normal;
1220
1136
  font-weight: normal;
@@ -1223,9 +1139,9 @@ cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1223
1139
  padding-left: 12px;
1224
1140
  padding-bottom: 12px;
1225
1141
  cursor: pointer;
1226
- `,Mt=h.default.div`
1142
+ `,Et=h.default.div`
1227
1143
  width: 100%;
1228
- `,zt=h.default.button`
1144
+ `,Vt=h.default.button`
1229
1145
  background-color: ${({theme:e,disabled:t})=>t?e.variant["secondary-5"]:e.additional.white};
1230
1146
  padding: 5.5px 12px;
1231
1147
  padding-right: 7px;
@@ -1245,14 +1161,14 @@ cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1245
1161
 
1246
1162
  // custom styles
1247
1163
  ${({timeBtnStyle:e})=>e};
1248
- `,Bt=h.default.span`
1164
+ `,Mt=h.default.span`
1249
1165
  margin-top: -1px;
1250
1166
  margin-left: 7px;
1251
1167
  float: right;
1252
1168
 
1253
1169
  // custom styles
1254
1170
  ${({customIconContainerStyle:e})=>e};
1255
- `,Lt=["January","February","March","April","May","June","July","August","September","October","November","December"],It=({selectedDate:e,setSelectedDate:a,disabled:o,startYear:r,endYearRange:i,format:n,customIconContainerStyle:c,placeHolder:d,value:s,timeBtnStyle:u,onClick:p,onChange:f,wrapperStyle:m,iconProps:b,labelProps:h,...y})=>{const v=l.useTheme()||H;let A=[],w=i||10;for(let e=r||(new Date).getFullYear();e<=(new Date).getFullYear()+w;e++)A.push(e);const S=t.useRef(null),k=t.useRef(null),[V,M]=t.useState(!1),[z,B]=t.useState(!1),[L,I]=t.useState(!1),[R,W]=t.useState(!1),[P,T]=t.useState(e.getFullYear()),[F,j]=t.useState(Lt[e.getMonth()]);t.useEffect((()=>{j(Lt[e.getMonth()]),T(e.getFullYear())}),[e]),t.useEffect((()=>(q(document,"click","add",Z(S,(()=>M(!1)))),q(document,"click","add",Z(k,(()=>B(!1)))),()=>{q(document,"click","remove",Z(S,(()=>M(!1)))),q(document,"click","remove",Z(k,(()=>B(!1))))})),[]);const q=(e,t,l,a,o)=>{"add"===l?e.addEventListener(t,a,o||!1):e.removeEventListener(t,a,o||!1)},Z=(e,t)=>l=>{e.current&&!e.current.contains(l.target)&&t()},D={icon:"calender",color:"black",size:"16",...b};return g.default.createElement(Ct,E({disabled:o,theme:v},y,{wrapperStyle:m}),g.default.createElement(et,E({customStyles:{marginBottom:"7px",padding:0}},h)),g.default.createElement(C.default,E({selected:s===e?e:s,useWeekdaysShort:!0,onChange:e=>{a(e),f(e)},adjustDateOnChange:!0,disabled:o,dropdownMode:"select",customInput:g.default.createElement(Mt,{value:s,onClick:p,placeholder:d,theme:v},g.default.createElement(zt,E({theme:v,value:s,onClick:p,timeBtnStyle:u},y),g.default.createElement("div",null,s?x.default(s).format(n||"DD/MM/YYYY"):d||"select a date"),g.default.createElement(Bt,E({theme:v},y,{customIconContainerStyle:c,className:"input-icon"}),D.icon?g.default.createElement(Q,D):null))),renderCustomHeader:({date:e,changeYear:t,changeMonth:l})=>g.default.createElement(vt,null,g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(wt,{ref:S},g.default.createElement(St,{onClick:()=>{M(!V),B(!1)}},g.default.createElement("span",{onMouseEnter:()=>I(!0),onMouseLeave:()=>I(!1),style:{color:`${L?v.variant["primary-1"]:v.additional["text-color"]}`}},Lt[e.getMonth()]),g.default.createElement(At,null,g.default.createElement(Q,{icon:"triangle-down",color:L?v.variant["primary-1"]:v.additional["text-color"],size:7}))),V&&g.default.createElement(kt,null,g.default.createElement(Et,{theme:v,onMouseEnter:()=>I(!0)},Lt.map(((e,t)=>g.default.createElement(Vt,{selectedMonth:F,onClick:()=>{I(!1),l(t),M(!1),j(Lt[t])},key:Math.random()},g.default.createElement("span",{style:{color:`${F===e?v.variant["primary-1"]:v.additional["text-color"]}`}},e))))))),g.default.createElement(wt,{ref:k},g.default.createElement(St,{style:{marginLeft:"28px"},onClick:()=>{B(!z),M(!1)}},g.default.createElement("span",{onMouseEnter:()=>W(!0),onMouseLeave:()=>W(!1),style:{color:`${R?v.variant["primary-1"]:v.additional["text-color"]}`}},e.getFullYear()),g.default.createElement(At,null,g.default.createElement(Q,{icon:"triangle-down",color:R?v.variant["primary-1"]:v.additional["text-color"],size:7}))),z&&g.default.createElement(kt,null,g.default.createElement(Et,{onMouseEnter:()=>W(!0),theme:v},A.map(((e,l)=>g.default.createElement(Vt,{onClick:()=>{W(!1),t(e),T(e),B(!1)},key:Math.random()+l},g.default.createElement("span",{style:{color:`${P===e?v.variant["primary-1"]:v.additional["text-color"]}`}},e)))))))))},y)))};It.propTypes={selectedDate:b.default.any,setSelectedDate:b.default.func,disabled:b.default.bool,startYear:b.default.number,endYearRange:b.default.number,format:b.default.string,placeHolder:b.default.string,onChange:b.default.func,timeBtnStyle:b.default.object,wrapperStyle:b.default.object,customIconContainerStyle:b.default.object,iconProps:b.default.object,value:b.default.any,onClick:b.default.func,labelProps:b.default.object},It.defaultProps={selectedDate:new Date,setSelectedDate:()=>{},disabled:!1,onChange:()=>{},value:"",onClick:()=>{}};const Ht=h.default.div`
1171
+ `,zt=["January","February","March","April","May","June","July","August","September","October","November","December"],Bt=({selectedDate:e,setSelectedDate:a,disabled:o,startYear:r,endYearRange:i,format:n,customIconContainerStyle:c,placeHolder:d,value:s,timeBtnStyle:u,onClick:p,onChange:f,wrapperStyle:m,iconProps:b,labelProps:h,...y})=>{const v=l.useTheme()||H;let A=[],w=i||10;for(let e=r||(new Date).getFullYear();e<=(new Date).getFullYear()+w;e++)A.push(e);const S=t.useRef(null),k=t.useRef(null),[V,M]=t.useState(!1),[z,B]=t.useState(!1),[L,I]=t.useState(!1),[R,W]=t.useState(!1),[P,T]=t.useState(e.getFullYear()),[F,j]=t.useState(zt[e.getMonth()]);t.useEffect((()=>{j(zt[e.getMonth()]),T(e.getFullYear())}),[e]),t.useEffect((()=>(q(document,"click","add",Z(S,(()=>M(!1)))),q(document,"click","add",Z(k,(()=>B(!1)))),()=>{q(document,"click","remove",Z(S,(()=>M(!1)))),q(document,"click","remove",Z(k,(()=>B(!1))))})),[]);const q=(e,t,l,a,o)=>{"add"===l?e.addEventListener(t,a,o||!1):e.removeEventListener(t,a,o||!1)},Z=(e,t)=>l=>{e.current&&!e.current.contains(l.target)&&t()},D={icon:"calender",color:"black",size:"16",...b};return g.default.createElement(yt,E({disabled:o,theme:v},y,{wrapperStyle:m}),g.default.createElement($e,E({customStyles:{marginBottom:"7px",padding:0}},h)),g.default.createElement(C.default,E({selected:s===e?e:s,useWeekdaysShort:!0,onChange:e=>{a(e),f(e)},adjustDateOnChange:!0,disabled:o,dropdownMode:"select",customInput:g.default.createElement(Et,{value:s,onClick:p,placeholder:d,theme:v},g.default.createElement(Vt,E({theme:v,value:s,onClick:p,timeBtnStyle:u},y),g.default.createElement("div",null,s?x.default(s).format(n||"DD/MM/YYYY"):d||"select a date"),g.default.createElement(Mt,E({theme:v},y,{customIconContainerStyle:c,className:"input-icon"}),D.icon?g.default.createElement(Q,D):null))),renderCustomHeader:({date:e,changeYear:t,changeMonth:l})=>g.default.createElement(xt,null,g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(vt,{ref:S},g.default.createElement(At,{onClick:()=>{M(!V),B(!1)}},g.default.createElement("span",{onMouseEnter:()=>I(!0),onMouseLeave:()=>I(!1),style:{color:`${L?v.variant["primary-1"]:v.additional["text-color"]}`}},zt[e.getMonth()]),g.default.createElement(Ct,null,g.default.createElement(Q,{icon:"triangle-down",color:L?v.variant["primary-1"]:v.additional["text-color"],size:7}))),V&&g.default.createElement(wt,null,g.default.createElement(St,{theme:v,onMouseEnter:()=>I(!0)},zt.map(((e,t)=>g.default.createElement(kt,{selectedMonth:F,onClick:()=>{I(!1),l(t),M(!1),j(zt[t])},key:Math.random()},g.default.createElement("span",{style:{color:`${F===e?v.variant["primary-1"]:v.additional["text-color"]}`}},e))))))),g.default.createElement(vt,{ref:k},g.default.createElement(At,{style:{marginLeft:"28px"},onClick:()=>{B(!z),M(!1)}},g.default.createElement("span",{onMouseEnter:()=>W(!0),onMouseLeave:()=>W(!1),style:{color:`${R?v.variant["primary-1"]:v.additional["text-color"]}`}},e.getFullYear()),g.default.createElement(Ct,null,g.default.createElement(Q,{icon:"triangle-down",color:R?v.variant["primary-1"]:v.additional["text-color"],size:7}))),z&&g.default.createElement(wt,null,g.default.createElement(St,{onMouseEnter:()=>W(!0),theme:v},A.map(((e,l)=>g.default.createElement(kt,{onClick:()=>{W(!1),t(e),T(e),B(!1)},key:Math.random()+l},g.default.createElement("span",{style:{color:`${P===e?v.variant["primary-1"]:v.additional["text-color"]}`}},e)))))))))},y)))};Bt.propTypes={selectedDate:b.default.any,setSelectedDate:b.default.func,disabled:b.default.bool,startYear:b.default.number,endYearRange:b.default.number,format:b.default.string,placeHolder:b.default.string,onChange:b.default.func,timeBtnStyle:b.default.object,wrapperStyle:b.default.object,customIconContainerStyle:b.default.object,iconProps:b.default.object,value:b.default.any,onClick:b.default.func,labelProps:b.default.object},Bt.defaultProps={selectedDate:new Date,setSelectedDate:()=>{},disabled:!1,onChange:()=>{},value:"",onClick:()=>{}};const Lt=h.default.div`
1256
1172
  cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1257
1173
  .react-datepicker__tab-loop{
1258
1174
  position: absolute;
@@ -1327,7 +1243,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1327
1243
 
1328
1244
  // custom styles
1329
1245
  ${({wrapperStyle:e})=>e};
1330
- `,Rt=h.default.div``,Wt=h.default.button`
1246
+ `,It=h.default.div``,Ht=h.default.button`
1331
1247
  cursor: ${({disabled:e})=>e?"not-allowed":"pointer"};
1332
1248
  background-color: ${({theme:e,disabled:t})=>t?e.variant["neutral-5"]:e.additional.white};
1333
1249
  padding: 5.5px 12px;
@@ -1347,7 +1263,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1347
1263
 
1348
1264
  // custom styles
1349
1265
  ${({timeBtnStyle:e})=>e};
1350
- `,Pt=h.default.div`
1266
+ `,Rt=h.default.div`
1351
1267
  display: flex;
1352
1268
  align-items: center;
1353
1269
  justify-content: ${({inputType:e})=>"year"!==e?"space-between":"center"};
@@ -1355,7 +1271,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1355
1271
  color: ${({theme:e})=>e.additional.white};
1356
1272
  // custom styles
1357
1273
  ${({customHeaderStyle:e})=>e};
1358
- `,Tt=h.default.span`
1274
+ `,Wt=h.default.span`
1359
1275
  margin-top: -1px;
1360
1276
  margin-left: 7px;
1361
1277
  float: right;
@@ -1363,19 +1279,19 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1363
1279
  // custom styles
1364
1280
  ${({customIconContainerStyle:e})=>e};
1365
1281
 
1366
- `,Ft=l.css`
1282
+ `,Pt=l.css`
1367
1283
  display: flex;
1368
1284
  gap: 7px;
1369
1285
  align-items: center;
1370
- `,jt=h.default.div`
1371
- ${({labelInline:e})=>e?Ft:null}
1372
- ${({labelInline:e})=>e?Ft:null}
1286
+ `,Tt=h.default.div`
1287
+ ${({labelInline:e})=>e?Pt:null}
1288
+ ${({labelInline:e})=>e?Pt:null}
1373
1289
  .err-text {
1374
1290
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1375
1291
  margin-top: 5px;
1376
1292
  font-size: 10px;
1377
1293
  }
1378
- `,qt=({defaultValue:e,onChange:a,inputType:o,onClick:r,placeHolder:i,value:n,disabled:c,startYear:d,endYearRange:s,iconProps:u,customHeaderStyle:p,timeBtnStyle:f,wrapperStyle:m,customIconContainerStyle:b,label:h,labelInline:y,labelStyle:v,required:A,errMsg:w,errMsgColor:S,isValid:k,...V})=>{const[M,z]=t.useState(e);let B=M?new Date(M):null;for(var L=[],I=s||10,R=d||(new Date).getFullYear();R<=(new Date).getFullYear()+I;R++)L.push(R);let W={};switch(o){case"date":default:W.dateFormat="dd MMM, yyyy";break;case"month":W.dateFormat="MMMM yyyy",W.showMonthYearPicker=!0;break;case"year":W.dateFormat="yyyy",W.showYearPicker=!0;break;case"datetime-local":W.dateFormat="dd MMM yyyy, hh:mm a",W.showTimeSelect=!0,W.timeFormat="hh:mm a",W.timeIntervals=15,W.timeCaption="Time";break;case"time":W.showTimeSelect=!0,W.showTimeSelectOnly=!0,W.dateFormat="hh:mm a"}const P=l.useTheme()||H,T={icon:"calender",color:P.variant["primary-1"],size:"16",...u};return g.default.createElement(jt,E({labelInline:y,errMsgColor:S,theme:P},V),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(et,E({customStyles:v,type:"label-text",labelInline:y,errMsg:w,text:h,style:{display:"flex",marginBottom:""+(y?"":"7px"),paddingBottom:"0px"}},V)),A&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${P.variant.error}`}},"*")),g.default.createElement(Ht,E({theme:P},V,{wrapperStyle:m,isValid:k,disabled:c}),g.default.createElement(C.default,E({selected:B,disabled:c,customInput:g.default.createElement(Rt,{value:n,onClick:r,placeholder:i,theme:P},g.default.createElement(Wt,E({theme:P,value:n,onClick:r,timeBtnStyle:f,disabled:c},V),g.default.createElement("div",null,n||(i||"-- : -- --")),g.default.createElement(Tt,E({theme:P},V,{customIconContainerStyle:b,className:"input-icon"}),T.icon?g.default.createElement(Q,T):null))),onChange:e=>{z(e);var t=null;t="datetime-local"==o?x.default(e).format("DD MMM YYYY, hh:mm A"):"date"==o?x.default(e).format("DD MMM, YYYY"):"year"==o?x.default(e).format("YYYY"):"month"==o?x.default(e).format("MMMM YYYY"):"time"==o?x.default(e).format("hh:mm A"):x.default(e).format("DD MMM, YYYY"),a(t)},showYearDropdown:!0,yearDropdownItemNumber:5,dropdownMode:"select",placeholderText:i},W,{renderCustomHeader:({date:e,changeYear:t,decreaseMonth:l,increaseMonth:a})=>{let r=x.default(e).format("MMMM");return g.default.createElement(Pt,E({theme:P},V,{inputType:o,customHeaderStyle:p}),"year"!==o?g.default.createElement("span",{style:{paddingLeft:"10px"},onClick:l},g.default.createElement(Q,{icon:"chevron-left",color:"white",size:16})):null,g.default.createElement("b",null,"year"!==o?g.default.createElement("span",{style:{paddingRight:"5px"}},r):null," ",g.default.createElement("span",{className:"calender-year"},g.default.createElement("select",{value:e.getFullYear(),onChange:({target:{value:e}})=>t(e)},L.map((e=>g.default.createElement("option",{key:e,value:e},e)))))),"year"!==o?g.default.createElement("span",{style:{paddingRight:"10px"},onClick:a},g.default.createElement(Q,{icon:"chevron-right",color:"white",size:16})):null)}}))),w.length>0&&g.default.createElement("div",{className:"err-text"},w))};qt.propTypes={defaultValue:b.default.string,onChange:b.default.func,inputType:b.default.string,onClick:b.default.func,placeHolder:b.default.string,value:b.default.string,disabled:b.default.bool,startYear:b.default.number,endYearRange:b.default.number,iconProps:b.default.object,customHeaderStyle:b.default.object,timeBtnStyle:b.default.object,wrapperStyle:b.default.object,customIconContainerStyle:b.default.object,label:b.default.string,labelStyle:b.default.object,labelInline:b.default.bool,errMsg:b.default.string,errMsgColor:b.default.string,isValid:b.default.bool},qt.defaultProps={disabled:!1,startYear:new Date,endYearRange:10,value:"",defaultValue:"",onChange:()=>{},label:"",required:!1,labelInline:!1,errMsg:"",isValid:!0};const Zt=h.default.div`
1294
+ `,Ft=({defaultValue:e,onChange:a,inputType:o,onClick:r,placeHolder:i,value:n,disabled:c,startYear:d,endYearRange:s,iconProps:u,customHeaderStyle:p,timeBtnStyle:f,wrapperStyle:m,customIconContainerStyle:b,label:h,labelInline:y,labelStyle:v,required:A,errMsg:w,errMsgColor:S,isValid:k,...V})=>{const[M,z]=t.useState(e);let B=M?new Date(M):null;for(var L=[],I=s||10,R=d||(new Date).getFullYear();R<=(new Date).getFullYear()+I;R++)L.push(R);let W={};switch(o){case"date":default:W.dateFormat="dd MMM, yyyy";break;case"month":W.dateFormat="MMMM yyyy",W.showMonthYearPicker=!0;break;case"year":W.dateFormat="yyyy",W.showYearPicker=!0;break;case"datetime-local":W.dateFormat="dd MMM yyyy, hh:mm a",W.showTimeSelect=!0,W.timeFormat="hh:mm a",W.timeIntervals=15,W.timeCaption="Time";break;case"time":W.showTimeSelect=!0,W.showTimeSelectOnly=!0,W.dateFormat="hh:mm a"}const P=l.useTheme()||H,T={icon:"calender",color:P.variant["primary-1"],size:"16",...u};return g.default.createElement(Tt,E({labelInline:y,errMsgColor:S,theme:P},V),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement($e,E({customStyles:v,type:"label-text",labelInline:y,errMsg:w,text:h,style:{display:"flex",marginBottom:""+(y?"":"7px"),paddingBottom:"0px"}},V)),A&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${P.variant.error}`}},"*")),g.default.createElement(Lt,E({theme:P},V,{wrapperStyle:m,isValid:k,disabled:c}),g.default.createElement(C.default,E({selected:B,disabled:c,customInput:g.default.createElement(It,{value:n,onClick:r,placeholder:i,theme:P},g.default.createElement(Ht,E({theme:P,value:n,onClick:r,timeBtnStyle:f,disabled:c},V),g.default.createElement("div",null,n||(i||"-- : -- --")),g.default.createElement(Wt,E({theme:P},V,{customIconContainerStyle:b,className:"input-icon"}),T.icon?g.default.createElement(Q,T):null))),onChange:e=>{z(e);var t=null;t="datetime-local"==o?x.default(e).format("DD MMM YYYY, hh:mm A"):"date"==o?x.default(e).format("DD MMM, YYYY"):"year"==o?x.default(e).format("YYYY"):"month"==o?x.default(e).format("MMMM YYYY"):"time"==o?x.default(e).format("hh:mm A"):x.default(e).format("DD MMM, YYYY"),a(t)},showYearDropdown:!0,yearDropdownItemNumber:5,dropdownMode:"select",placeholderText:i},W,{renderCustomHeader:({date:e,changeYear:t,decreaseMonth:l,increaseMonth:a})=>{let r=x.default(e).format("MMMM");return g.default.createElement(Rt,E({theme:P},V,{inputType:o,customHeaderStyle:p}),"year"!==o?g.default.createElement("span",{style:{paddingLeft:"10px"},onClick:l},g.default.createElement(Q,{icon:"chevron-left",color:"white",size:16})):null,g.default.createElement("b",null,"year"!==o?g.default.createElement("span",{style:{paddingRight:"5px"}},r):null," ",g.default.createElement("span",{className:"calender-year"},g.default.createElement("select",{value:e.getFullYear(),onChange:({target:{value:e}})=>t(e)},L.map((e=>g.default.createElement("option",{key:e,value:e},e)))))),"year"!==o?g.default.createElement("span",{style:{paddingRight:"10px"},onClick:a},g.default.createElement(Q,{icon:"chevron-right",color:"white",size:16})):null)}}))),w.length>0&&g.default.createElement("div",{className:"err-text"},w))};Ft.propTypes={defaultValue:b.default.string,onChange:b.default.func,inputType:b.default.string,onClick:b.default.func,placeHolder:b.default.string,value:b.default.string,disabled:b.default.bool,startYear:b.default.number,endYearRange:b.default.number,iconProps:b.default.object,customHeaderStyle:b.default.object,timeBtnStyle:b.default.object,wrapperStyle:b.default.object,customIconContainerStyle:b.default.object,label:b.default.string,labelStyle:b.default.object,labelInline:b.default.bool,errMsg:b.default.string,errMsgColor:b.default.string,isValid:b.default.bool},Ft.defaultProps={disabled:!1,startYear:new Date,endYearRange:10,value:"",defaultValue:"",onChange:()=>{},label:"",required:!1,labelInline:!1,errMsg:"",isValid:!0};const jt=h.default.div`
1379
1295
  cursor: ${({isDisabled:e})=>e?"not-allowed":"initial"} !important;
1380
1296
 
1381
1297
  .text-main-alt {
@@ -1402,7 +1318,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1402
1318
  .text-main-alt-value {
1403
1319
  display: none !important;
1404
1320
  }
1405
- `,Dt=h.default.div`
1321
+ `,qt=h.default.div`
1406
1322
  // Default style
1407
1323
  display: flex;
1408
1324
 
@@ -1410,12 +1326,12 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1410
1326
  ${({inBuiltCss:e,labelWrapperStyle:t})=>W(e,t)}
1411
1327
  // custom styles
1412
1328
  ${({customLabelStyles:e})=>e}
1413
- `,Ot=h.default.div`
1329
+ `,Zt=h.default.div`
1414
1330
  margin-left: 6px;
1415
1331
  margin-top: -15.5px;
1416
1332
  cursor: pointer;
1417
1333
  line-height: normal !important;
1418
- `,Gt=({getValue:e,children:t,...l})=>{const a=e().length;return g.default.createElement(c.components.ValueContainer,E({"data-accordion":"contentClickFalse"},l),g.default.createElement("span",{"data-accordion":"contentClickFalse"}),t,a>1&&g.default.createElement("span",{className:"text-more-alt"},"& ",a-1," more"))},Xt=({label:e,labelStyle:t,optionArr:a,selectedValue:o,setSelectedValue:r,placeHolder:i,isClearable:n,isValid:d,height:s,fontSize:u,loadOptions:p,onInputChange:f,clearSelected:m,customWrapperStyles:b,customLabelStyles:h,isRequired:y,dropdownType:x,isDisabled:C,isLoading:v,id:A,iconName:w,iconStyles:S,iconColor:k,iconSize:V,showIndicator:M,leftIcon:z,leftIconColor:B,leftIconSize:L,backgroundColor:I,placeHolderColor:W,indicatorBackgroundColor:P,inputColor:T,menuListFooter:F,customSelectStyles:j,errorMessage:q,...Z})=>{const D=l.useTheme()||H,O=e=>{const t={width:"15px",height:"15px",borderRadius:"2px",padding:"4px",fontSize:"8px",lineHeight:"10px",minWidth:"15px",minHeight:"15px",boxSizing:"content-box"},l=g.default.createElement("div",{style:{...t,backgroundColor:e?.data?.color??D.primary["primary-1"]}},g.default.createElement(Q,{icon:"check-icon",color:"white"})),a=g.default.createElement("div",{style:{...t,backgroundColor:"#e0e7ff"}});return console.log(e),g.default.createElement(c.components.Option,e,g.default.createElement("div",{"data-accordion":"contentClickFalse",style:{display:"flex",justifyContent:"flex-start",alignItems:"center",width:"100%"}},"further-details"!==e.value&&(e.isSelected?l:a),g.default.createElement("div",{className:"text-main-alt","data-accordion":"contentClickFalse",style:{marginLeft:"10px"}},e.label)))},G=({index:e,...t})=>{const l=t?.data?.label||"Select";return!e&&g.default.createElement("span",{className:"text-main-alt-value"},l)},X={control:(e,t)=>({...e,border:d?I&&d?"1px solid "+I:"1px solid "+D.border:"1px solid "+D.ui.error,minWidth:"singleSelect"===x||"asyncSingleSelect"===x?"120px":"185px",height:`${s}px`,minHeight:`${s}px`,boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:t.isDisabled?D.variant["neutral-5"]:I||D.additional.white}),placeholder:e=>({...e,fontSize:u+"px",marginLeft:"0px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"auto",maxWidth:"89%",marginRight:"0px",color:W||"hsl(0, 0%, 50%)"}),dropdownIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"2px",backgroundColor:P||"transparent",borderBottomLeftRadius:"0",borderBottomRightRadius:"4.32px",borderTopLeftRadius:0,borderTopRightRadius:"4.32px",position:"relative",top:"-1px",right:"-1px"}),clearIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"0px"}),valueContainer:e=>({...e,fontSize:u+"px",marginTop:"-4px"}),indicatorsContainer:e=>({...e,padding:0}),menu:e=>({...e,border:"none",marginTop:"1px",borderTopRightRadius:"0px",borderTopLeftRadius:"0px",outline:"none",boxShadow:"0px 6px 20px rgba(56, 66, 100, 0.15)",borderRadius:"4.32px",fontSize:u+"px",width:"100%",minWidth:"singleSelect"===x||"asyncSingleSelect"===x?"120px":"185px"}),singleValue:e=>({...e,fontSize:u+"px",marginLeft:"0px",width:"auto",marginRight:0,display:"grid"}),multiValue:e=>({...e,marginLeft:"0px",width:"auto",display:"grid"}),input:e=>({...e,fontSize:u+"px",color:T||"hsl(0, 0%, 20%)",padding:0,margin:0}),option:(e,t)=>({...e,backgroundColor:t.isSelected||t.isFocused?D.neutral["neutral-5"]:D.additional.white,padding:"10px",cursor:t.isDisabled?"not-allowed":"pointer",color:"#081348",opacity:t.isDisabled?.6:1,width:"inherit",boxSizing:"initial"}),menuPortal:e=>({...e,zIndex:99999999}),...j},J={DropdownIndicator:e=>{const t=g.default.createElement(c.components.DropdownIndicator,e,g.default.createElement(Ot,{"data-accordion":"contentClickFalse"},g.default.createElement(Q,{icon:w,color:k,size:V,customstyles:S,"data-accordion":"contentClickFalse"})));return!0===M?t:null},ValueContainer:Gt,IndicatorSeparator:()=>null,ClearIndicator:e=>g.default.createElement(c.components.ClearIndicator,e,n?g.default.createElement(Ot,{onClick:()=>{m(),e.clearValue()},"data-accordion":"contentClickFalse"},g.default.createElement(Q,{icon:"cross-icon",color:"black",size:8,"data-accordion":"contentClickFalse"})):null),MenuList:e=>{const{MenuListHeader:t=null,MenuListFooter:l=null}=e.selectProps.components;return g.default.createElement(c.components.MenuList,E({},e,{"data-accordion":"contentClickFalse"}),e.children.length&&t,e.children,e.children.length&&l)},MenuListFooter:F};let U=null;switch(x){case"multiSelect":U=g.default.createElement(Jt,E({type:"multiSelect",MultiValue:G,Option:O,value:o,CommonRenderedComponent:J,optionArr:a,placeHolder:i,isDisabled:C,stylesComp:X,setSelectedValue:r,isLoading:v,id:A,isClearable:n},Z));break;case"asyncSingleSelect":U=g.default.createElement(Ut,E({CommonRenderedComponent:J,loadOptions:p,onInputChange:f,styles:X,placeholder:i,onChange:r,isLoading:v,isDisabled:C,id:A,value:o,isClearable:n},Z));break;case"asyncMultiSelect":U=g.default.createElement(Ut,E({type:"asyncMultiSelect",CommonRenderedComponent:J,MultiValue:G,Option:O,onChange:r,placeholder:i,styles:X,isDisabled:C,isLoading:v,loadOptions:p,onInputChange:f,id:A,isClearable:n,value:o},Z));break;default:U=g.default.createElement(Jt,E({type:"singleSelect",value:{value:o?o.value:"",label:o?o.label:""},CommonRenderedComponent:J,optionArr:a,placeHolder:i,isDisabled:C,stylesComp:X,setSelectedValue:r,isLoading:v,id:A,isClearable:n},Z))}return g.default.createElement(Zt,{style:b,backgroundColor:I,isValid:d,fontSize:u,theme:D,isDisabled:C},e&&g.default.createElement(Dt,{inBuiltCss:R,labelWrapperStyle:"selectComp-label-wrapper",style:h},g.default.createElement(et,{customStyles:t,type:"label-text",text:e,style:{marginBottom:"8px",paddingBottom:"0px"}}),y&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${D.ui.error}`}},"*")),U,!d&&q)},Jt=({type:e,Option:t,value:l,CommonRenderedComponent:a,MultiValue:o,optionArr:r,placeHolder:i,isDisabled:n,stylesComp:c,setSelectedValue:d,isLoading:s,id:u,isClearable:p,...f})=>{let m={...a};return"multiSelect"===e&&(m.MultiValue=o,m.Option=t),g.default.createElement(v.default,E({className:"select-manage-page contentClickFalse",classNamePrefix:"new-select",name:"select-dropdown",components:m,options:r,placeholder:i,isDisabled:n,value:l,styles:c,onChange:d,isLoading:s,id:u,isClearable:p,isMulti:"multiSelect"===e,hideSelectedOptions:!1,closeMenuOnSelect:"multiSelect"!==e,menuShouldScrollIntoView:!1,"data-accordion":"contentClickFalse"},f))},Ut=({CommonRenderedComponent:e,MultiValue:t,Option:l,type:a,id:o,styles:r,...i})=>{let n={...e};return"asyncMultiSelect"===a&&(n.MultiValue=t,n.Option=l),g.default.createElement(A.default,E({className:"select-manage-page contentClickFalse ",classNamePrefix:"new-select",name:"select-dropdown",components:n,isMulti:"asyncMultiSelect"===a,defaultOptions:!0,hideSelectedOptions:!1,closeMenuOnSelect:"asyncMultiSelect"!==a,isSearchable:!0,styles:r,menuShouldScrollIntoView:!1,"data-accordion":"contentClickFalse",id:o},i))};Xt.propTypes={label:b.default.string,labelStyle:b.default.object,optionArr:b.default.array,selectedValue:b.default.object,setSelectedValue:b.default.func,placeHolder:b.default.string,fontSize:b.default.number,clearSelected:b.default.func,loadOptions:b.default.func,onInputChange:b.default.func,customWrapperStyles:b.default.object,customLabelStyles:b.default.object,isRequired:b.default.bool,dropdownType:b.default.string,isDisabled:b.default.bool,isLoading:b.default.bool,isValid:b.default.bool,height:b.default.number,isClearable:b.default.bool,id:b.default.string,iconName:b.default.string,iconColor:b.default.string,iconSize:b.default.number,leftIcon:b.default.string,leftIconColor:b.default.string,leftIconSize:b.default.number,showIndicator:b.default.bool,backgroundColor:b.default.string,placeHolderColor:b.default.string,inputColor:b.default.string,menuListFooter:b.default.any,customSelectStyles:b.default.object},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,customSelectStyles:{}};const Yt=h.default.div`
1334
+ `,Dt=({getValue:e,children:t,...l})=>{const a=e().length;return g.default.createElement(c.components.ValueContainer,E({"data-accordion":"contentClickFalse"},l),g.default.createElement("span",{"data-accordion":"contentClickFalse"}),t,a>1&&g.default.createElement("span",{className:"text-more-alt"},"& ",a-1," more"))},Ot=({label:e,labelStyle:t,optionArr:a,selectedValue:o,setSelectedValue:r,placeHolder:i,isClearable:n,isValid:d,height:s,fontSize:u,loadOptions:p,onInputChange:f,clearSelected:m,customWrapperStyles:b,customLabelStyles:h,isRequired:y,dropdownType:x,isDisabled:C,isLoading:v,id:A,iconName:w,iconStyles:S,iconColor:k,iconSize:V,showIndicator:M,leftIcon:z,leftIconColor:B,leftIconSize:L,backgroundColor:I,placeHolderColor:W,indicatorBackgroundColor:P,inputColor:T,menuListFooter:F,customSelectStyles:j,errorMessage:q,...Z})=>{const D=l.useTheme()||H,O=e=>{const t={width:"15px",height:"15px",borderRadius:"2px",padding:"4px",fontSize:"8px",lineHeight:"10px",minWidth:"15px",minHeight:"15px",boxSizing:"content-box"},l=g.default.createElement("div",{style:{...t,backgroundColor:e?.data?.color??D.primary["primary-1"]}},g.default.createElement(Q,{icon:"check-icon",color:"white"})),a=g.default.createElement("div",{style:{...t,backgroundColor:"#e0e7ff"}});return console.log(e),g.default.createElement(c.components.Option,e,g.default.createElement("div",{"data-accordion":"contentClickFalse",style:{display:"flex",justifyContent:"flex-start",alignItems:"center",width:"100%"}},"further-details"!==e.value&&(e.isSelected?l:a),g.default.createElement("div",{className:"text-main-alt","data-accordion":"contentClickFalse",style:{marginLeft:"10px"}},e.label)))},G=({index:e,...t})=>{const l=t?.data?.label||"Select";return!e&&g.default.createElement("span",{className:"text-main-alt-value"},l)},X={control:(e,t)=>({...e,border:d?I&&d?"1px solid "+I:"1px solid "+D.border:"1px solid "+D.ui.error,minWidth:"singleSelect"===x||"asyncSingleSelect"===x?"120px":"185px",height:`${s}px`,minHeight:`${s}px`,boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:t.isDisabled?D.variant["neutral-5"]:I||D.additional.white}),placeholder:e=>({...e,fontSize:u+"px",marginLeft:"0px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"auto",maxWidth:"89%",marginRight:"0px",color:W||"hsl(0, 0%, 50%)"}),dropdownIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"2px",backgroundColor:P||"transparent",borderBottomLeftRadius:"0",borderBottomRightRadius:"4.32px",borderTopLeftRadius:0,borderTopRightRadius:"4.32px",position:"relative",top:"-1px",right:"-1px"}),clearIndicator:e=>({...e,height:`${s}px`,display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"0px"}),valueContainer:e=>({...e,fontSize:u+"px",marginTop:"-4px"}),indicatorsContainer:e=>({...e,padding:0}),menu:e=>({...e,border:"none",marginTop:"1px",borderTopRightRadius:"0px",borderTopLeftRadius:"0px",outline:"none",boxShadow:"0px 6px 20px rgba(56, 66, 100, 0.15)",borderRadius:"4.32px",fontSize:u+"px",width:"100%",minWidth:"singleSelect"===x||"asyncSingleSelect"===x?"120px":"185px"}),singleValue:e=>({...e,fontSize:u+"px",marginLeft:"0px",width:"auto",marginRight:0,display:"grid"}),multiValue:e=>({...e,marginLeft:"0px",width:"auto",display:"grid"}),input:e=>({...e,fontSize:u+"px",color:T||"hsl(0, 0%, 20%)",padding:0,margin:0}),option:(e,t)=>({...e,backgroundColor:t.isSelected||t.isFocused?D.neutral["neutral-5"]:D.additional.white,padding:"10px",cursor:t.isDisabled?"not-allowed":"pointer",color:"#081348",opacity:t.isDisabled?.6:1,width:"inherit",boxSizing:"initial"}),menuPortal:e=>({...e,zIndex:99999999}),...j},J={DropdownIndicator:e=>{const t=g.default.createElement(c.components.DropdownIndicator,e,g.default.createElement(Zt,{"data-accordion":"contentClickFalse"},g.default.createElement(Q,{icon:w,color:k,size:V,customstyles:S,"data-accordion":"contentClickFalse"})));return!0===M?t:null},ValueContainer:Dt,IndicatorSeparator:()=>null,ClearIndicator:e=>g.default.createElement(c.components.ClearIndicator,e,n?g.default.createElement(Zt,{onClick:()=>{m(),e.clearValue()},"data-accordion":"contentClickFalse"},g.default.createElement(Q,{icon:"cross-icon",color:"black",size:8,"data-accordion":"contentClickFalse"})):null),MenuList:e=>{const{MenuListHeader:t=null,MenuListFooter:l=null}=e.selectProps.components;return g.default.createElement(c.components.MenuList,E({},e,{"data-accordion":"contentClickFalse"}),e.children.length&&t,e.children,e.children.length&&l)},MenuListFooter:F};let U=null;switch(x){case"multiSelect":U=g.default.createElement(Gt,E({type:"multiSelect",MultiValue:G,Option:O,value:o,CommonRenderedComponent:J,optionArr:a,placeHolder:i,isDisabled:C,stylesComp:X,setSelectedValue:r,isLoading:v,id:A,isClearable:n},Z));break;case"asyncSingleSelect":U=g.default.createElement(Xt,E({CommonRenderedComponent:J,loadOptions:p,onInputChange:f,styles:X,placeholder:i,onChange:r,isLoading:v,isDisabled:C,id:A,value:o,isClearable:n},Z));break;case"asyncMultiSelect":U=g.default.createElement(Xt,E({type:"asyncMultiSelect",CommonRenderedComponent:J,MultiValue:G,Option:O,onChange:r,placeholder:i,styles:X,isDisabled:C,isLoading:v,loadOptions:p,onInputChange:f,id:A,isClearable:n,value:o},Z));break;default:U=g.default.createElement(Gt,E({type:"singleSelect",value:{value:o?o.value:"",label:o?o.label:""},CommonRenderedComponent:J,optionArr:a,placeHolder:i,isDisabled:C,stylesComp:X,setSelectedValue:r,isLoading:v,id:A,isClearable:n},Z))}return g.default.createElement(jt,{style:b,backgroundColor:I,isValid:d,fontSize:u,theme:D,isDisabled:C},e&&g.default.createElement(qt,{inBuiltCss:R,labelWrapperStyle:"selectComp-label-wrapper",style:h},g.default.createElement($e,{customStyles:t,type:"label-text",text:e,style:{marginBottom:"8px",paddingBottom:"0px"}}),y&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${D.ui.error}`}},"*")),U,!d&&q)},Gt=({type:e,Option:t,value:l,CommonRenderedComponent:a,MultiValue:o,optionArr:r,placeHolder:i,isDisabled:n,stylesComp:c,setSelectedValue:d,isLoading:s,id:u,isClearable:p,...f})=>{let m={...a};return"multiSelect"===e&&(m.MultiValue=o,m.Option=t),g.default.createElement(v.default,E({className:"select-manage-page contentClickFalse",classNamePrefix:"new-select",name:"select-dropdown",components:m,options:r,placeholder:i,isDisabled:n,value:l,styles:c,onChange:d,isLoading:s,id:u,isClearable:p,isMulti:"multiSelect"===e,hideSelectedOptions:!1,closeMenuOnSelect:"multiSelect"!==e,menuShouldScrollIntoView:!1,"data-accordion":"contentClickFalse"},f))},Xt=({CommonRenderedComponent:e,MultiValue:t,Option:l,type:a,id:o,styles:r,...i})=>{let n={...e};return"asyncMultiSelect"===a&&(n.MultiValue=t,n.Option=l),g.default.createElement(A.default,E({className:"select-manage-page contentClickFalse ",classNamePrefix:"new-select",name:"select-dropdown",components:n,isMulti:"asyncMultiSelect"===a,defaultOptions:!0,hideSelectedOptions:!1,closeMenuOnSelect:"asyncMultiSelect"!==a,isSearchable:!0,styles:r,menuShouldScrollIntoView:!1,"data-accordion":"contentClickFalse",id:o},i))};Ot.propTypes={label:b.default.string,labelStyle:b.default.object,optionArr:b.default.array,selectedValue:b.default.object,setSelectedValue:b.default.func,placeHolder:b.default.string,fontSize:b.default.number,clearSelected:b.default.func,loadOptions:b.default.func,onInputChange:b.default.func,customWrapperStyles:b.default.object,customLabelStyles:b.default.object,isRequired:b.default.bool,dropdownType:b.default.string,isDisabled:b.default.bool,isLoading:b.default.bool,isValid:b.default.bool,height:b.default.number,isClearable:b.default.bool,id:b.default.string,iconName:b.default.string,iconColor:b.default.string,iconSize:b.default.number,leftIcon:b.default.string,leftIconColor:b.default.string,leftIconSize:b.default.number,showIndicator:b.default.bool,backgroundColor:b.default.string,placeHolderColor:b.default.string,inputColor:b.default.string,menuListFooter:b.default.any,customSelectStyles:b.default.object},Ot.defaultProps={label:"",labelStyle:{},optionArr:[],selectedValue:{},setSelectedValue:void 0,placeHolder:"Select an option",isValid:!0,isClearable:!1,height:31,fontSize:14,loadOptions:()=>{},onInputChange:()=>{},clearSelected:()=>{},customWrapperStyles:{},customLabelStyles:{},isRequired:!1,dropdownType:"singleSelect",isDisabled:!1,isLoading:!1,id:"",iconName:"triangle-down",iconColor:"black",iconSize:8,leftIcon:"",leftIconColor:"black",leftIconSize:10,showIndicator:!0,customSelectStyles:{}};const Jt=h.default.div`
1419
1335
  //Set the styles from the default styles object
1420
1336
  ${({inBuiltCss:e,defaultStyles:t})=>W(e,t)}
1421
1337
 
@@ -1432,15 +1348,15 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1432
1348
 
1433
1349
  // custom styles
1434
1350
  ${({customDropzoneStyles:e})=>e}
1435
- `,Nt=h.default.div`
1351
+ `,Ut=h.default.div`
1436
1352
  //Set the styles from the default styles object
1437
1353
  ${({inBuiltCss:e,defaultStyles:t})=>W(e,t)}
1438
1354
 
1439
1355
  // custom styles
1440
1356
  ${({customFileStyles:e})=>e}
1441
- `,Qt=h.default.input`
1357
+ `,Yt=h.default.input`
1442
1358
  display: none;
1443
- `,Kt=h.default.div`
1359
+ `,Nt=h.default.div`
1444
1360
  //Set the styles from the default styles object
1445
1361
  ${({inBuiltCss:e,defaultStyles:t})=>W(e,t)}
1446
1362
 
@@ -1452,18 +1368,18 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1452
1368
 
1453
1369
  // custom styles
1454
1370
  ${({customFileNameStyles:e})=>e}
1455
- `;const $t=h.default.div`
1371
+ `;const Qt=h.default.div`
1456
1372
  padding-left: 1px;
1457
1373
  margin-left: auto;
1458
1374
  margin-right: 10px;
1459
1375
  display: flex;
1460
1376
  justify-content: center;
1461
- `,_t=h.default.div`
1377
+ `,Kt=h.default.div`
1462
1378
  margin-left: 11px;
1463
1379
  padding-left: 2px;
1464
1380
  display: flex;
1465
1381
  justify-content: center;
1466
- `,el=h.default.div`
1382
+ `,$t=h.default.div`
1467
1383
  color: #494949;
1468
1384
  margin-left: 11px;
1469
1385
  padding-left: 2px;
@@ -1474,9 +1390,9 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1474
1390
  align-items: center;
1475
1391
  margin: 20px 0px;
1476
1392
  font-size: 14px;
1477
- `;const tl=({label:e,labelStyle:a,labelInline:o,required:r,message:i,fileArr:n,setFileArr:c,deleteFile:d,customDropzoneStyles:s,customFileStyles:u,customTextStyles:p,customFileNameStyles:f,backgroundColor:m,singleFile:b,messageSize:h,showSupportedFormats:y,file_extensions:x,maxFilesAmount:C,minFilesAmount:v,fileSizeLimit:A,fileSizeNamingConvention:w,errorMessages:S,suggesionMessage:k,MessagelabelStyle:V,dropValid:M,setDropValid:z,errorDetails:B,setErrorDetails:L,dropzoneContent:I,dropIcon:W,iconColor:P,id:T,customTooltipContentStyle:F,customStylesTPArightBefore:j,customStylesTPArightAfter:q,...Z})=>{const D=l.useTheme()||H,[O,G]=t.useState(!1),X=t.createRef(),[J,U]=t.useState(M),[Y,N]=t.useState("");let K;var $=x;let _=new Map($.map((e=>[e.toLowerCase(),e])));_=Array.from(_.values()).join(", ");var ee=!1,te=y?"All file formats cannot be used with the files you provided.":"",le="";1==b&&(v=1,C=1);var ae="Please upload (min."+v+" to max."+C+")files",oe=e=>{le="";let t=[],l=[];var a=n.length;if(a+e.length<v||a+e.length>C){var o=`Please upload (minimum ${v} to maximum ${C} files)`;le=S?.amount,le=void 0!==le?le:o}if(""==le)for(const[a,n]of Object.entries(e)){ee=!0,n.name;let e=n.size,a=n.name.split(".");a=a[a.length-1],ee=$.includes(a.toLowerCase());var r=1024;("MB"===w||"GB"===w||"TB"===w)&&(r*=1024);var i=e/r;if(!1===ee&&(le=S?.format,le=le||te),i>A&&ee){ee=!1;o="Each file must be under "+A+" "+w;le=S?.size,le=void 0!==le?le:o}ee?(K=URL.createObjectURL(n),n.path=K,t.push(n)):l.push(n)}return le.length>0?(z(!1),L({valid:!1,errorMessage:le,errorFiles:l}),U(M),N(le)):(z(!0),U(M),N(""),L({valid:!0,errorMessage:"",errorFiles:[]})),t};function re(e){e.preventDefault(),e.stopPropagation()}function ie(e,t){let l=[...n,...e];return t||(l=l.filter(((e,t,l)=>t===l.findIndex((t=>t.place===e.place&&t.name===e.name))))),c(l),G(!1),l}function ne(e,t){if(e instanceof File){const t=n.findIndex((t=>t.name===e.name));let l=n[t].path;URL.revokeObjectURL(l);const a=n.filter((t=>t.name!==e.name));c(a)}else!function(e,t){const l=n.filter((t=>t.name!==e.name));c(l),d(e)}(e)}const ce=g.default.createElement("div",null,_);return g.default.createElement("div",null,g.default.createElement("div",{style:{display:"flex",width:"inherit"}},g.default.createElement(et,E({customStyles:a,type:"label-text",labelInline:o,text:e,style:{display:"flex",marginBottom:`${o?0:"8px"}`,paddingBottom:"0px"}},Z)),r&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${D.variant.error}`}},"*")),g.default.createElement(Yt,{theme:D,inBuiltCss:R,defaultStyles:"dropzone-parent",backgroundColor:m,customDropzoneStyles:M?s:{},onDragLeave:function(e){re(e),G(!1)},onDragOver:function(e){re(e),G(!0)},onDrop:function(e){re(e);const{files:t}=e.dataTransfer;var l=oe(t);G(!0),Z.onFilesAdded(ie(l,b))},onClick:function(){X.current.click()},hover:O,dropValid:M,fileArr:n},g.default.createElement(Qt,E({ref:X,valid:J,dropValid:M,type:"file",id:T,multiple:!b,onChange:function(e){let{files:t}=e.target;G(!1);var l=oe(t);l&&Z.onFilesAdded(ie(l,b))},onClick:e=>e.target.value=null},Z)),M?g.default.createElement(g.default.Fragment,null,W?g.default.createElement(Q,{icon:W,color:O?D.additional.white:P,size:24}):g.default.createElement(Q,{icon:"file-upload",color:O?D.additional.white:D.primary["primary-1"],size:24})):null,g.default.createElement(Kt,{dropValid:M,valid:J,hover:O,backgroundColor:m,customTextStyles:p,inBuiltCss:R,defaultStyles:"dropzone-text-div"},M?g.default.createElement(g.default.Fragment,null,I?g.default.createElement("div",{style:{color:O?D.additional.white:null}},I):g.default.createElement("div",null,g.default.createElement("span",{style:{color:O?D.additional.white:D.primary["primary-1"]}},"Choose a file"," "),g.default.createElement("span",{style:{color:O?D.additional.white:D.neutral["neutral-2"]}},"or"," "),g.default.createElement("span",{style:{color:O?D.additional.white:D.additional["text-color"]}},"drag ",b?"it":"them"," here"))):g.default.createElement("div",null,g.default.createElement("span",{style:{color:D.variant.error}},"Try again!!"," "),g.default.createElement("span",{style:{color:D.additional["text-color"]}},Y||i)))),Y===te||S.format?g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(et,E({themeColor:H,customStyles:V,type:"label-text",labelInline:o,style:{display:"flex",paddingTop:"10px",paddingBottom:`${o?0:"16.64px"}`}},Z)),g.default.createElement(Ue,{contentTrigger:g.default.createElement("span",{style:{cursor:"pointer"}},"Click here to view the supported file types"),headerTooltip:"",contentTooltip:ce,footerTooltip:"",popperOptionsP:{placement:"bottom"},settings:{closeOnOutsideClick:!0,trigger:"click"},customTriggerStyle:{marginTop:"8px",marginLeft:"4px",textDecoration:"underline",color:D.variant["primary-1"]},customBodyStyle:{wordWrap:"break-word"},customContentStyle:F,customStylesTPArightBefore:j,customStylesTPArightAfter:q})):"The file size is not uploaded"===Y?g.default.createElement(et,E({themeColor:H,customStyles:V,type:"label-text",labelInline:o,text:ae,style:{display:"flex",paddingTop:"10px",paddingBottom:`${o?0:"16.64px"}`}},Z)):"",n?.map(((e,t)=>g.default.createElement(Nt,{inBuiltCss:R,defaultStyles:"dropzone-file-div",key:`${e}-${t}`,customFileStyles:u},g.default.createElement(_t,null,g.default.createElement(Q,{icon:"file-icon",color:D.primary["primary-1"]})),(File,g.default.createElement("a",{style:{color:D.variant["primary-1"],marginLeft:"5px"},href:e?.path,target:"_blank",rel:"noreferrer",download:e.name}," ",e.name)),g.default.createElement(el,null,e?.otherInfo),g.default.createElement($t,{key:101*Math.random()|0},g.default.createElement("div",{style:{marginRight:"7px"}},g.default.createElement(Q,{icon:`${!(e instanceof File)&&"cloud-icon"}`,color:D.primary["primary-1"]})),g.default.createElement(Q,{icon:"cross-icon",color:D.neutral["neutral-2"],size:13,onClick:()=>ne(e),customstyles:{cursor:"pointer"}}))))))};tl.propTypes={onFilesAdded:b.default.func,dropValid:b.default.bool,setDropValid:b.default.func,message:b.default.string,fileArr:b.default.array,setFileArr:b.default.func,customDropzoneStyles:b.default.object,customFileStyles:b.default.object,customTextStyles:b.default.object,customFileNameStyles:b.default.object,backgroundColor:b.default.string,messageSize:b.default.number,maxFilesAmount:b.default.number,minFilesAmount:b.default.number,fileSizeLimit:b.default.number,fileSizeNamingConvention:b.default.string,showSupportedFormats:b.default.bool,file_extensions:b.default.array,errorMessages:b.default.object,suggesionMessage:b.default.any,MessagelabelStyle:b.default.object,id:b.default.string,dropzoneContent:b.default.any,dropIcon:b.default.string,iconColor:b.default.string,singleFile:b.default.bool,customTooltipContentStyle:b.default.object,customStylesTPArightBefore:b.default.object,customStylesTPArightAfter:b.default.object},tl.defaultProps={onFilesAdded:()=>null,dropValid:!0,message:"",fileArr:[],setFileArr:()=>{},customDropzoneStyles:{},errorDetails:{},setErrorDetails:()=>{},customFileStyles:{},customTextStyles:{},customFileNameStyles:{},messageSize:100,additionalText:"",maxFilesAmount:5,minFilesAmount:1,fileSizeLimit:10,fileSizeNamingConvention:"MB",showSupportedFormats:!0,file_extensions:["doc","docx","jpg","JPG","pdf","png","xlsx","xlsr","xls"],errorMessages:{},MessagelabelStyle:{},suggesionMessage:"doc, docx, jpg, pdf, png, xlsx, xlsr, xls (Max 10MB)",id:"",iconColor:"black"};const ll=l.css`
1393
+ `;const _t=({label:e,labelStyle:a,labelInline:o,required:r,message:i,fileArr:n,setFileArr:c,deleteFile:d,customDropzoneStyles:s,customFileStyles:u,customTextStyles:p,customFileNameStyles:f,backgroundColor:m,singleFile:b,messageSize:h,showSupportedFormats:y,file_extensions:x,maxFilesAmount:C,minFilesAmount:v,fileSizeLimit:A,fileSizeNamingConvention:w,errorMessages:S,suggesionMessage:k,MessagelabelStyle:V,dropValid:M,setDropValid:z,errorDetails:B,setErrorDetails:L,dropzoneContent:I,dropIcon:W,iconColor:P,id:T,customTooltipContentStyle:F,customStylesTPArightBefore:j,customStylesTPArightAfter:q,...Z})=>{const D=l.useTheme()||H,[O,G]=t.useState(!1),X=t.createRef(),[J,U]=t.useState(M),[Y,N]=t.useState("");let K;var $=x;let _=new Map($.map((e=>[e.toLowerCase(),e])));_=Array.from(_.values()).join(", ");var ee=!1,te=y?"All file formats cannot be used with the files you provided.":"",le="";1==b&&(v=1,C=1);var ae="Please upload (min."+v+" to max."+C+")files",oe=e=>{le="";let t=[],l=[];var a=n.length;if(a+e.length<v||a+e.length>C){var o=`Please upload (minimum ${v} to maximum ${C} files)`;le=S?.amount,le=void 0!==le?le:o}if(""==le)for(const[a,n]of Object.entries(e)){ee=!0,n.name;let e=n.size,a=n.name.split(".");a=a[a.length-1],ee=$.includes(a.toLowerCase());var r=1024;("MB"===w||"GB"===w||"TB"===w)&&(r*=1024);var i=e/r;if(!1===ee&&(le=S?.format,le=le||te),i>A&&ee){ee=!1;o="Each file must be under "+A+" "+w;le=S?.size,le=void 0!==le?le:o}ee?(K=URL.createObjectURL(n),n.path=K,t.push(n)):l.push(n)}return le.length>0?(z(!1),L({valid:!1,errorMessage:le,errorFiles:l}),U(M),N(le)):(z(!0),U(M),N(""),L({valid:!0,errorMessage:"",errorFiles:[]})),t};function re(e){e.preventDefault(),e.stopPropagation()}function ie(e,t){let l=[...n,...e];return t||(l=l.filter(((e,t,l)=>t===l.findIndex((t=>t.place===e.place&&t.name===e.name))))),c(l),G(!1),l}function ne(e,t){if(e instanceof File){const t=n.findIndex((t=>t.name===e.name));let l=n[t].path;URL.revokeObjectURL(l);const a=n.filter((t=>t.name!==e.name));c(a)}else!function(e,t){const l=n.filter((t=>t.name!==e.name));c(l),d(e)}(e)}const ce=g.default.createElement("div",null,_);return g.default.createElement("div",null,g.default.createElement("div",{style:{display:"flex",width:"inherit"}},g.default.createElement($e,E({customStyles:a,type:"label-text",labelInline:o,text:e,style:{display:"flex",marginBottom:`${o?0:"8px"}`,paddingBottom:"0px"}},Z)),r&&g.default.createElement("div",{style:{marginLeft:"4px",color:`${D.variant.error}`}},"*")),g.default.createElement(Jt,{theme:D,inBuiltCss:R,defaultStyles:"dropzone-parent",backgroundColor:m,customDropzoneStyles:M?s:{},onDragLeave:function(e){re(e),G(!1)},onDragOver:function(e){re(e),G(!0)},onDrop:function(e){re(e);const{files:t}=e.dataTransfer;var l=oe(t);G(!0),Z.onFilesAdded(ie(l,b))},onClick:function(){X.current.click()},hover:O,dropValid:M,fileArr:n},g.default.createElement(Yt,E({ref:X,valid:J,dropValid:M,type:"file",id:T,multiple:!b,onChange:function(e){let{files:t}=e.target;G(!1);var l=oe(t);l&&Z.onFilesAdded(ie(l,b))},onClick:e=>e.target.value=null},Z)),M?g.default.createElement(g.default.Fragment,null,W?g.default.createElement(Q,{icon:W,color:O?D.additional.white:P,size:24}):g.default.createElement(Q,{icon:"file-upload",color:O?D.additional.white:D.primary["primary-1"],size:24})):null,g.default.createElement(Nt,{dropValid:M,valid:J,hover:O,backgroundColor:m,customTextStyles:p,inBuiltCss:R,defaultStyles:"dropzone-text-div"},M?g.default.createElement(g.default.Fragment,null,I?g.default.createElement("div",{style:{color:O?D.additional.white:null}},I):g.default.createElement("div",null,g.default.createElement("span",{style:{color:O?D.additional.white:D.primary["primary-1"]}},"Choose a file"," "),g.default.createElement("span",{style:{color:O?D.additional.white:D.neutral["neutral-2"]}},"or"," "),g.default.createElement("span",{style:{color:O?D.additional.white:D.additional["text-color"]}},"drag ",b?"it":"them"," here"))):g.default.createElement("div",null,g.default.createElement("span",{style:{color:D.variant.error}},"Try again!!"," "),g.default.createElement("span",{style:{color:D.additional["text-color"]}},Y||i)))),Y===te||S.format?g.default.createElement("div",{style:{display:"flex"}},g.default.createElement($e,E({themeColor:H,customStyles:V,type:"label-text",labelInline:o,style:{display:"flex",paddingTop:"10px",paddingBottom:`${o?0:"16.64px"}`}},Z)),g.default.createElement(Xe,{contentTrigger:g.default.createElement("span",{style:{cursor:"pointer"}},"Click here to view the supported file types"),headerTooltip:"",contentTooltip:ce,footerTooltip:"",popperOptionsP:{placement:"bottom"},settings:{closeOnOutsideClick:!0,trigger:"click"},customTriggerStyle:{marginTop:"8px",marginLeft:"4px",textDecoration:"underline",color:D.variant["primary-1"]},customBodyStyle:{wordWrap:"break-word"},customContentStyle:F,customStylesTPArightBefore:j,customStylesTPArightAfter:q})):"The file size is not uploaded"===Y?g.default.createElement($e,E({themeColor:H,customStyles:V,type:"label-text",labelInline:o,text:ae,style:{display:"flex",paddingTop:"10px",paddingBottom:`${o?0:"16.64px"}`}},Z)):"",n?.map(((e,t)=>g.default.createElement(Ut,{inBuiltCss:R,defaultStyles:"dropzone-file-div",key:`${e}-${t}`,customFileStyles:u},g.default.createElement(Kt,null,g.default.createElement(Q,{icon:"file-icon",color:D.primary["primary-1"]})),(File,g.default.createElement("a",{style:{color:D.variant["primary-1"],marginLeft:"5px"},href:e?.path,target:"_blank",rel:"noreferrer",download:e.name}," ",e.name)),g.default.createElement($t,null,e?.otherInfo),g.default.createElement(Qt,{key:101*Math.random()|0},g.default.createElement("div",{style:{marginRight:"7px"}},g.default.createElement(Q,{icon:`${!(e instanceof File)&&"cloud-icon"}`,color:D.primary["primary-1"]})),g.default.createElement(Q,{icon:"cross-icon",color:D.neutral["neutral-2"],size:13,onClick:()=>ne(e),customstyles:{cursor:"pointer"}}))))))};_t.propTypes={onFilesAdded:b.default.func,dropValid:b.default.bool,setDropValid:b.default.func,message:b.default.string,fileArr:b.default.array,setFileArr:b.default.func,customDropzoneStyles:b.default.object,customFileStyles:b.default.object,customTextStyles:b.default.object,customFileNameStyles:b.default.object,backgroundColor:b.default.string,messageSize:b.default.number,maxFilesAmount:b.default.number,minFilesAmount:b.default.number,fileSizeLimit:b.default.number,fileSizeNamingConvention:b.default.string,showSupportedFormats:b.default.bool,file_extensions:b.default.array,errorMessages:b.default.object,suggesionMessage:b.default.any,MessagelabelStyle:b.default.object,id:b.default.string,dropzoneContent:b.default.any,dropIcon:b.default.string,iconColor:b.default.string,singleFile:b.default.bool,customTooltipContentStyle:b.default.object,customStylesTPArightBefore:b.default.object,customStylesTPArightAfter:b.default.object},_t.defaultProps={onFilesAdded:()=>null,dropValid:!0,message:"",fileArr:[],setFileArr:()=>{},customDropzoneStyles:{},errorDetails:{},setErrorDetails:()=>{},customFileStyles:{},customTextStyles:{},customFileNameStyles:{},messageSize:100,additionalText:"",maxFilesAmount:5,minFilesAmount:1,fileSizeLimit:10,fileSizeNamingConvention:"MB",showSupportedFormats:!0,file_extensions:["doc","docx","jpg","JPG","pdf","png","xlsx","xlsr","xls"],errorMessages:{},MessagelabelStyle:{},suggesionMessage:"doc, docx, jpg, pdf, png, xlsx, xlsr, xls (Max 10MB)",id:"",iconColor:"black"};const el=l.css`
1478
1394
  pointer-events: none;
1479
- `,al=h.default.input`
1395
+ `,tl=h.default.input`
1480
1396
  background-color: transparent;
1481
1397
  width: 100%;
1482
1398
  white-space: nowrap;
@@ -1484,7 +1400,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1484
1400
  text-overflow: ellipsis;
1485
1401
  border-color: transparent;
1486
1402
  cursor: ${({isDisabled:e})=>e?"not-allowed":"default"};
1487
- ${({readOnly:e})=>e?ll:null}
1403
+ ${({readOnly:e})=>e?el:null}
1488
1404
 
1489
1405
  &:focus-visible {
1490
1406
  outline: none;
@@ -1492,29 +1408,29 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1492
1408
 
1493
1409
  // custom styles
1494
1410
  ${({inputStyle:e})=>e}
1495
- `,ol=h.default.div`
1411
+ `,ll=h.default.div`
1496
1412
  display: flex;
1497
1413
  width: 100%;
1498
1414
 
1499
1415
  // custom styles
1500
1416
  ${({inputContainerStyle:e})=>e}
1501
- `,rl=l.css`
1417
+ `,al=l.css`
1502
1418
  display: flex;
1503
1419
  align-items: end;
1504
- `,il=h.default.div`
1420
+ `,ol=h.default.div`
1505
1421
  width: 100%;
1506
- ${({labelInline:e})=>e?rl:null}
1507
- `,nl=({labelProps:e,formProps:a,value:o,setValue:r,inputStyle:i,inputContainerStyle:n,isDisabled:c,required:d,...s})=>{const u=l.useTheme()||H,[p,f]=g.default.useState(!0),m=t.useRef(),b={label:"",labelStyle:{},...e},h={labelInline:!0,...a};return g.default.createElement(il,E({theme:u},h),g.default.createElement("div",{style:{display:"flex",marginRight:"16px"}},g.default.createElement(et,E({style:{display:"flex",marginBottom:`${h?.labelInline?0:"8px"}`,paddingBottom:"0px",justifyContent:"start"},required:d},b))),g.default.createElement(ol,E({theme:u,style:{borderBottom:""+(p?"none":"1px solid #BBC4CF")},inputContainerStyle:n,isDisabled:c,required:d},s),g.default.createElement(al,E({type:"text",value:o,readOnly:p,onChange:e=>{r(e.target.value)},ref:m,onBlur:()=>{f(!0)},theme:u},s,{inputStyle:i,isDisabled:c,disabled:c,onClick:e=>{}})),g.default.createElement(Q,{icon:"edit-box",color:p||c?u.variant["neutral-2"]:u.variant["primary-1"],size:16,style:{display:"flex",alignItems:"center",justifyContent:"center",cursor:c?"not-allowed":"pointer"},onClick:()=>{c||(f(!1),m.current.focus())}})))};nl.propTypes={value:b.default.any,setValue:b.default.func,isDisabled:b.default.bool,formProps:b.default.object,labelProps:b.default.object,required:b.default.bool},nl.defaultProps={value:"",isDisabled:!1,required:!1,setValue:()=>{}};const cl=h.default.div`
1422
+ ${({labelInline:e})=>e?al:null}
1423
+ `,rl=({labelProps:e,formProps:a,value:o,setValue:r,inputStyle:i,inputContainerStyle:n,isDisabled:c,required:d,...s})=>{const u=l.useTheme()||H,[p,f]=g.default.useState(!0),m=t.useRef(),b={label:"",labelStyle:{},...e},h={labelInline:!0,...a};return g.default.createElement(ol,E({theme:u},h),g.default.createElement("div",{style:{display:"flex",marginRight:"16px"}},g.default.createElement($e,E({style:{display:"flex",marginBottom:`${h?.labelInline?0:"8px"}`,paddingBottom:"0px",justifyContent:"start"},required:d},b))),g.default.createElement(ll,E({theme:u,style:{borderBottom:""+(p?"none":"1px solid #BBC4CF")},inputContainerStyle:n,isDisabled:c,required:d},s),g.default.createElement(tl,E({type:"text",value:o,readOnly:p,onChange:e=>{r(e.target.value)},ref:m,onBlur:()=>{f(!0)},theme:u},s,{inputStyle:i,isDisabled:c,disabled:c,onClick:e=>{}})),g.default.createElement(Q,{icon:"edit-box",color:p||c?u.variant["neutral-2"]:u.variant["primary-1"],size:16,style:{display:"flex",alignItems:"center",justifyContent:"center",cursor:c?"not-allowed":"pointer"},onClick:()=>{c||(f(!1),m.current.focus())}})))};rl.propTypes={value:b.default.any,setValue:b.default.func,isDisabled:b.default.bool,formProps:b.default.object,labelProps:b.default.object,required:b.default.bool},rl.defaultProps={value:"",isDisabled:!1,required:!1,setValue:()=>{}};const il=h.default.div`
1508
1424
  display: contents;
1509
1425
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1510
1426
 
1511
1427
  ${({WrapperDivStyle:e})=>e}
1512
- `,dl=h.default.input`
1428
+ `,nl=h.default.input`
1513
1429
  display: none;
1514
1430
  min-height: 100vh;
1515
1431
  padding: 0 0.5rem;
1516
1432
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1517
- `,sl=h.default.div`
1433
+ `,cl=h.default.div`
1518
1434
  height: 49px;
1519
1435
  width: 49px;
1520
1436
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.additional.white};
@@ -1526,7 +1442,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1526
1442
  cursor: ${({isDisabled:e})=>e?"not-allowed":"pointer"};
1527
1443
 
1528
1444
  ${({IconWrapperStyle:e})=>e}
1529
- `,ul=h.default.div`
1445
+ `,dl=h.default.div`
1530
1446
  // background-color: ${({theme:e})=>e.additional.white};
1531
1447
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.additional.white};
1532
1448
  width: 134px;
@@ -1564,7 +1480,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1564
1480
  }
1565
1481
  }
1566
1482
  ${({MainDivStyle:e})=>e};
1567
- `,pl=({image:e,setImage:a,WrapperDivStyle:o,MainDivStyle:r,IconWrapperStyle:i,iconSize:n,iconColor:c,isDisabled:d,id:s})=>{const[u,p]=t.useState(),f=t.useRef(),m=l.useTheme()||H,[b,h]=t.useState(),[y,x]=t.useState(!1);function C(e){e.preventDefault(),e.stopPropagation()}t.useEffect((()=>{if(e&&y){const t=new FileReader;t.onloadend=()=>{p(t.result)},t.readAsDataURL(e)}else p(e)}),[e]);const v=e=>{e&&"image"===e.type.substr(0,5)?(x(!0),a(e)):x(!1)};return g.default.createElement(cl,{onDragLeave:function(e){C(e),h(!1)},onDragOver:function(e){C(e),h(!0)},onDrop:function(e){C(e);const{files:t}=e.dataTransfer;v(t[0])},WrapperDivStyle:o,isDisabled:d},g.default.createElement(ul,{isDisabled:d,theme:m,MainDivStyle:r,style:{backgroundImage:`url(${u})`},onClick:e=>{e.preventDefault(),f.current.click()}},!u&&g.default.createElement("div",{className:"icon-on-not-preview"},g.default.createElement(sl,{IconWrapperStyle:i,theme:m,isDisabled:d},g.default.createElement("img",{src:U,alt:"",height:"40px",width:"48px"}))),g.default.createElement("div",{className:"icon-on-preview"},g.default.createElement(sl,{IconWrapperStyle:i,isDisabled:d,theme:m},g.default.createElement(Q,{icon:"camera-icon",size:n,color:c||m.variant["primary-1"]})))),g.default.createElement(dl,{id:s,type:"file",ref:f,accept:"image/jpg, image/jpeg, image/png,image/webp",onChange:e=>{x(!0),a(e.target.files[0])},disabled:d,isDisabled:d}))};pl.propTypes={image:b.default.any,setImage:b.default.func,WrapperDivStyle:b.default.object,MainDivStyle:b.default.object,IconWrapperStyle:b.default.object,iconSize:b.default.number},pl.defaultProps={image:null,setImage:()=>{},WrapperDivStyle:{},MainDivStyle:{},IconWrapperStyle:{},iconSize:28,id:"",isDisabled:!1};const fl=h.default.div`
1483
+ `,sl=({image:e,setImage:a,WrapperDivStyle:o,MainDivStyle:r,IconWrapperStyle:i,iconSize:n,iconColor:c,isDisabled:d,id:s})=>{const[u,p]=t.useState(),f=t.useRef(),m=l.useTheme()||H,[b,h]=t.useState(),[y,x]=t.useState(!1);function C(e){e.preventDefault(),e.stopPropagation()}t.useEffect((()=>{if(e&&y){const t=new FileReader;t.onloadend=()=>{p(t.result)},t.readAsDataURL(e)}else p(e)}),[e]);const v=e=>{e&&"image"===e.type.substr(0,5)?(x(!0),a(e)):x(!1)};return g.default.createElement(il,{onDragLeave:function(e){C(e),h(!1)},onDragOver:function(e){C(e),h(!0)},onDrop:function(e){C(e);const{files:t}=e.dataTransfer;v(t[0])},WrapperDivStyle:o,isDisabled:d},g.default.createElement(dl,{isDisabled:d,theme:m,MainDivStyle:r,style:{backgroundImage:`url(${u})`},onClick:e=>{e.preventDefault(),f.current.click()}},!u&&g.default.createElement("div",{className:"icon-on-not-preview"},g.default.createElement(cl,{IconWrapperStyle:i,theme:m,isDisabled:d},g.default.createElement("img",{src:U,alt:"",height:"40px",width:"48px"}))),g.default.createElement("div",{className:"icon-on-preview"},g.default.createElement(cl,{IconWrapperStyle:i,isDisabled:d,theme:m},g.default.createElement(Q,{icon:"camera-icon",size:n,color:c||m.variant["primary-1"]})))),g.default.createElement(nl,{id:s,type:"file",ref:f,accept:"image/jpg, image/jpeg, image/png,image/webp",onChange:e=>{x(!0),a(e.target.files[0])},disabled:d,isDisabled:d}))};sl.propTypes={image:b.default.any,setImage:b.default.func,WrapperDivStyle:b.default.object,MainDivStyle:b.default.object,IconWrapperStyle:b.default.object,iconSize:b.default.number},sl.defaultProps={image:null,setImage:()=>{},WrapperDivStyle:{},MainDivStyle:{},IconWrapperStyle:{},iconSize:28,id:"",isDisabled:!1};const ul=h.default.div`
1568
1484
  border: 1px solid ${({theme:e})=>e.additional.border};
1569
1485
  border-radius: 4px;
1570
1486
  padding: 5.5px 12px;
@@ -1604,7 +1520,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1604
1520
  input[type='number'] {
1605
1521
  -moz-appearance: textfield;
1606
1522
  }
1607
- `,ml=h.default.input`
1523
+ `,pl=h.default.input`
1608
1524
  width: 85%;
1609
1525
  border: 0;
1610
1526
  outline: 0;
@@ -1617,16 +1533,16 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1617
1533
 
1618
1534
  // custom styles
1619
1535
  ${({inputStyle:e})=>e}
1620
- `,bl=l.css`
1536
+ `,fl=l.css`
1621
1537
  display: flex;
1622
1538
  align-items: center;
1623
- `,gl=h.default.div`
1624
- ${({labelInline:e})=>e?bl:null}
1539
+ `,ml=h.default.div`
1540
+ ${({labelInline:e})=>e?fl:null}
1625
1541
 
1626
1542
  > div {
1627
1543
  flex: 1 0 auto;
1628
1544
  }
1629
- `,hl=({inputValue:e,inputStyle:t,onChange:a,id:o,labelProps:r})=>{const i=l.useTheme()||H;return g.default.createElement(gl,{labelInline:r?.labelInline},g.default.createElement(et,E({style:{display:"flex",marginBottom:`${r?.labelInline?0:"8px"}`,marginRight:`${r?.labelInline?"8px":0}`,paddingBottom:"0px"}},r)),g.default.createElement("div",null,g.default.createElement(fl,{theme:i},g.default.createElement(ml,{theme:i,inputStyle:t,value:e,onChange:e=>{const{value:t}=e.currentTarget;(""===t||/^[0-9\b.-]+$/.test(t))&&a(t)},type:"number",id:o}))))};hl.propTypes={inputValue:b.default.any,inputStyle:b.default.object,id:b.default.string,labelProps:b.default.object,onChange:b.default.func},hl.defaultProps={inputStyle:{},inputValue:"",id:"",onChange:()=>{}};const yl=h.default.div`
1545
+ `,bl=({inputValue:e,inputStyle:t,onChange:a,id:o,labelProps:r})=>{const i=l.useTheme()||H;return g.default.createElement(ml,{labelInline:r?.labelInline},g.default.createElement($e,E({style:{display:"flex",marginBottom:`${r?.labelInline?0:"8px"}`,marginRight:`${r?.labelInline?"8px":0}`,paddingBottom:"0px"}},r)),g.default.createElement("div",null,g.default.createElement(ul,{theme:i},g.default.createElement(pl,{theme:i,inputStyle:t,value:e,onChange:e=>{const{value:t}=e.currentTarget;(""===t||/^[0-9\b.-]+$/.test(t))&&a(t)},type:"number",id:o}))))};bl.propTypes={inputValue:b.default.any,inputStyle:b.default.object,id:b.default.string,labelProps:b.default.object,onChange:b.default.func},bl.defaultProps={inputStyle:{},inputValue:"",id:"",onChange:()=>{}};const gl=h.default.div`
1630
1546
  background-color: ${({theme:e})=>e.additional.white};
1631
1547
 
1632
1548
  //Set the styles from the default styles object
@@ -1652,7 +1568,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1652
1568
 
1653
1569
  // custom styles
1654
1570
  ${({textBoxStyle:e})=>e}
1655
- `;yl.defaultProps={theme:H};const xl=h.default.input`
1571
+ `;gl.defaultProps={theme:H};const hl=h.default.input`
1656
1572
  width: 85%;
1657
1573
 
1658
1574
  //Set the styles from the default styles object
@@ -1664,18 +1580,18 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1664
1580
  .sc-furwcr bxRAoq {
1665
1581
  color: ${({theme:e})=>e.variant["neutral-3"]};
1666
1582
  }
1667
- `,Cl=l.css`
1583
+ `,yl=l.css`
1668
1584
  display: flex;
1669
1585
  gap: 7px;
1670
1586
  align-items: flex-start;
1671
- `,vl=h.default.div`
1672
- ${({labelInline:e})=>e?Cl:null}
1587
+ `,xl=h.default.div`
1588
+ ${({labelInline:e})=>e?yl:null}
1673
1589
  .err-text {
1674
1590
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1675
1591
  margin-top: 5px;
1676
1592
  font-size: 10px;
1677
1593
  }
1678
- `,Al=({passwordRules:e,textBoxStyle:a,labelStyle:o,inputStyle:r,errMsg:i,required:n,label:c,labelInline:d,isValid:s,rulesStyle:u,id:p,showHideIcon:f,errMsgColor:m,...b})=>{const[h,y]=t.useState("password"),x=l.useTheme()||H;return g.default.createElement(vl,E({labelInline:d,inBuiltCss:R,errMsgColor:m,theme:x},b),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement(et,E({customStyles:o,type:"label-text",text:c,errMsg:i,style:{display:"flex",marginBottom:`${d?0:"8px"}`,paddingBottom:"0px"}},b)),n&&g.default.createElement("div",{style:{marginLeft:"4px",marginRight:"5px",color:`${x.variant.error}`}},"*")),g.default.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"flex-start"}},g.default.createElement("div",{style:{width:"100%"}},g.default.createElement(yl,E({required:n,theme:x,textBoxStyle:a,isValid:s,defaultWrapperStyle:"textbox-wrapper",inBuiltCss:R},b),g.default.createElement(xl,E({},b,{inputStyle:r,type:h,id:p,theme:x,defaultInputStyle:"input-wrapper",inBuiltCss:R})),!0===f?g.default.createElement("div",{className:"input-icon",onClick:()=>y("password"===h?"text":"password"),style:{position:"absolute",right:"7px"}},g.default.createElement(Q,{icon:"text"===h?"eye-show":"eye-hide"})):""),i.length>0&&g.default.createElement("div",{className:"err-text"},i)),e?g.default.createElement("div",{style:{...u,marginLeft:"5px"}},e):""))};Al.propTypes={inBuiltCss:b.default.object,theme:b.default.object,label:b.default.string,required:b.default.bool,labelInline:b.default.bool,errMsg:b.default.string,textBoxStyle:b.default.object,labelStyle:b.default.object,inputStyle:b.default.object,rulesStyle:b.default.object,id:b.default.string,showHideIcon:b.default.bool},Al.defaultProps={inBuiltCss:R,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",textBoxStyle:{},labelStyle:{},inputStyle:{},passwordRules:"",rulesStyle:{},id:"",showHideIcon:!0};const wl=h.default.div`
1594
+ `,Cl=({passwordRules:e,textBoxStyle:a,labelStyle:o,inputStyle:r,errMsg:i,required:n,label:c,labelInline:d,isValid:s,rulesStyle:u,id:p,showHideIcon:f,errMsgColor:m,...b})=>{const[h,y]=t.useState("password"),x=l.useTheme()||H;return g.default.createElement(xl,E({labelInline:d,inBuiltCss:R,errMsgColor:m,theme:x},b),g.default.createElement("div",{style:{display:"flex"}},g.default.createElement($e,E({customStyles:o,type:"label-text",text:c,errMsg:i,style:{display:"flex",marginBottom:`${d?0:"8px"}`,paddingBottom:"0px"}},b)),n&&g.default.createElement("div",{style:{marginLeft:"4px",marginRight:"5px",color:`${x.variant.error}`}},"*")),g.default.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"flex-start"}},g.default.createElement("div",{style:{width:"100%"}},g.default.createElement(gl,E({required:n,theme:x,textBoxStyle:a,isValid:s,defaultWrapperStyle:"textbox-wrapper",inBuiltCss:R},b),g.default.createElement(hl,E({},b,{inputStyle:r,type:h,id:p,theme:x,defaultInputStyle:"input-wrapper",inBuiltCss:R})),!0===f?g.default.createElement("div",{className:"input-icon",onClick:()=>y("password"===h?"text":"password"),style:{position:"absolute",right:"7px"}},g.default.createElement(Q,{icon:"text"===h?"eye-show":"eye-hide"})):""),i.length>0&&g.default.createElement("div",{className:"err-text"},i)),e?g.default.createElement("div",{style:{...u,marginLeft:"5px"}},e):""))};Cl.propTypes={inBuiltCss:b.default.object,theme:b.default.object,label:b.default.string,required:b.default.bool,labelInline:b.default.bool,errMsg:b.default.string,textBoxStyle:b.default.object,labelStyle:b.default.object,inputStyle:b.default.object,rulesStyle:b.default.object,id:b.default.string,showHideIcon:b.default.bool},Cl.defaultProps={inBuiltCss:R,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",textBoxStyle:{},labelStyle:{},inputStyle:{},passwordRules:"",rulesStyle:{},id:"",showHideIcon:!0};const vl=h.default.div`
1679
1595
  box-sizing: initial;
1680
1596
 
1681
1597
  //Set the styles from the default styles object
@@ -1685,7 +1601,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1685
1601
 
1686
1602
  // custom styles
1687
1603
  ${({radioOuterCircleStyle:e})=>e}
1688
- `;wl.defaultProps={theme:H};const Sl=h.default.div`
1604
+ `;vl.defaultProps={theme:H};const Al=h.default.div`
1689
1605
  box-sizing: initial;
1690
1606
 
1691
1607
  //Set the styles from the default styles object
@@ -1697,7 +1613,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1697
1613
 
1698
1614
  // custom styles
1699
1615
  ${({radioInnerCircleStyle:e})=>e}
1700
- `;Sl.defaultProps={theme:H};const kl=h.default.div`
1616
+ `;Al.defaultProps={theme:H};const wl=h.default.div`
1701
1617
  //Set the styles from the default styles object
1702
1618
  ${({inBuiltCss:e,defaultOptionStyle:t})=>W(e,t)}
1703
1619
  margin-right: ${({inline:e})=>e?"":"30px"};
@@ -1705,7 +1621,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1705
1621
 
1706
1622
  // custom styles
1707
1623
  ${({optionStyle:e})=>e}
1708
- `;kl.defaultProps={theme:H};const El=h.default.div`
1624
+ `;wl.defaultProps={theme:H};const Sl=h.default.div`
1709
1625
  margin-bottom: ${({inline:e})=>e?"":"14px"};
1710
1626
  cursor: pointer;
1711
1627
  align-items: center;
@@ -1714,11 +1630,11 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1714
1630
 
1715
1631
  // custom styles
1716
1632
  ${({WrapperDivStyle:e})=>e}
1717
- `,Vl=h.default.div`
1633
+ `,kl=h.default.div`
1718
1634
  display: ${({inline:e})=>e?"flex":"inline-block"};
1719
1635
  width: max-content;
1720
1636
  margin: 0;
1721
- `,Ml=({radioOuterCircleStyle:e,radioInnerCircleStyle:t,labelStyle:a,label:o,optionStyle:r,options:i,selectedCircleColor:n,selectedOptionTextColor:c,onChange:d,selected:s,width:u,height:p,inline:f,defaultBorderColor:m,defaultOptionColor:b,WrapperDivStyle:h,required:y,onFocus:x,...C})=>{const v=l.useTheme()||H;return g.default.createElement("div",null,g.default.createElement(et,{customStyles:a,type:"label-text",text:o,required:y,style:{display:"flex",marginBottom:"'8px",paddingBottom:"0px"}}),g.default.createElement(Vl,{inline:f},i.map(((l,a)=>g.default.createElement(El,{WrapperDivStyle:h,key:a+101*Math.random(),id:l.id,inline:f,onClick:()=>{!l?.disabled&&d(l.value)},onFocus:()=>{!l?.disabled&&x(l.value)}},g.default.createElement(wl,{theme:v,inBuiltCss:R,defaultBorderColor:m,selectedCircleColor:n,radioOuterCircleStyle:{...e,cursor:l?.disabled?"not-allowed ":" pointer",borderColor:l?.disabled&&l?.disabledColor},defaultRadioOuterCircleStyle:"radio-outer-circle",value:l.value,selected:s},g.default.createElement(Sl,{inBuiltCss:R,theme:v,width:u,height:p,selectedCircleColor:n,radioInnerCircleStyle:{...t,cursor:l?.disabled?"not-allowed ":" pointer",backgroundColor:l?.disabled&&l?.disabledColor?l?.disabledColor:l?.value===s?t?.backgroundColor:"transparent"},defaultRadioInnerCircleStyle:"radio-inner-circle",value:l.value,selected:s})),g.default.createElement(kl,{defaultOptionColor:b,optionStyle:{...r,cursor:l?.disabled?"not-allowed ":" pointer",color:l?.disabled&&l?.disabledColor},inBuiltCss:R,defaultOptionStyle:"option-text",selectedOptionTextColor:c,theme:v,selected:!l?.disabled&&l.value===s},l.label))))))};Ml.propTypes={label:b.default.string,labelStyle:b.default.object,inline:b.default.bool,options:b.default.array,optionStyle:b.default.object,WrapperDivStyle:b.default.object,selected:b.default.string,onChange:b.default.func,defaultOptionColor:b.default.string,defaultBorderColor:b.default.string,radioOuterCircleStyle:b.default.object,radioInnerCircleStyle:b.default.object,width:b.default.string,height:b.default.string,selectedCircleColor:b.default.string,selectedOptionTextColor:b.default.string},Ml.defaultProps={label:"",labelStyle:{},inline:!1,options:[],optionStyle:{},selected:"one",onChange:()=>{},radioOuterCircleStyle:{},radioInnerCircleStyle:{},width:"14px",height:"14px",WrapperDivStyle:{}};const zl=h.default.div`
1637
+ `,El=({radioOuterCircleStyle:e,radioInnerCircleStyle:t,labelStyle:a,label:o,optionStyle:r,options:i,selectedCircleColor:n,selectedOptionTextColor:c,onChange:d,selected:s,width:u,height:p,inline:f,defaultBorderColor:m,defaultOptionColor:b,WrapperDivStyle:h,required:y,onFocus:x,...C})=>{const v=l.useTheme()||H;return g.default.createElement("div",null,g.default.createElement($e,{customStyles:a,type:"label-text",text:o,required:y,style:{display:"flex",marginBottom:"'8px",paddingBottom:"0px"}}),g.default.createElement(kl,{inline:f},i.map(((l,a)=>g.default.createElement(Sl,{WrapperDivStyle:h,key:a+101*Math.random(),id:l.id,inline:f,onClick:()=>{!l?.disabled&&d(l.value)},onFocus:()=>{!l?.disabled&&x(l.value)}},g.default.createElement(vl,{theme:v,inBuiltCss:R,defaultBorderColor:m,selectedCircleColor:n,radioOuterCircleStyle:{...e,cursor:l?.disabled?"not-allowed ":" pointer",borderColor:l?.disabled&&l?.disabledColor},defaultRadioOuterCircleStyle:"radio-outer-circle",value:l.value,selected:s},g.default.createElement(Al,{inBuiltCss:R,theme:v,width:u,height:p,selectedCircleColor:n,radioInnerCircleStyle:{...t,cursor:l?.disabled?"not-allowed ":" pointer",backgroundColor:l?.disabled&&l?.disabledColor?l?.disabledColor:l?.value===s?t?.backgroundColor:"transparent"},defaultRadioInnerCircleStyle:"radio-inner-circle",value:l.value,selected:s})),g.default.createElement(wl,{defaultOptionColor:b,optionStyle:{...r,cursor:l?.disabled?"not-allowed ":" pointer",color:l?.disabled&&l?.disabledColor},inBuiltCss:R,defaultOptionStyle:"option-text",selectedOptionTextColor:c,theme:v,selected:!l?.disabled&&l.value===s},l.label))))))};El.propTypes={label:b.default.string,labelStyle:b.default.object,inline:b.default.bool,options:b.default.array,optionStyle:b.default.object,WrapperDivStyle:b.default.object,selected:b.default.string,onChange:b.default.func,defaultOptionColor:b.default.string,defaultBorderColor:b.default.string,radioOuterCircleStyle:b.default.object,radioInnerCircleStyle:b.default.object,width:b.default.string,height:b.default.string,selectedCircleColor:b.default.string,selectedOptionTextColor:b.default.string},El.defaultProps={label:"",labelStyle:{},inline:!1,options:[],optionStyle:{},selected:"one",onChange:()=>{},radioOuterCircleStyle:{},radioInnerCircleStyle:{},width:"14px",height:"14px",WrapperDivStyle:{}};const Vl=h.default.div`
1722
1638
  background-color: ${({theme:e})=>e.additional.white};
1723
1639
 
1724
1640
  //Set the styles from the default styles object
@@ -1739,7 +1655,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1739
1655
  ${({textBoxStyle:e})=>e}
1740
1656
 
1741
1657
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.additional.white}
1742
- `,Bl=h.default.input`
1658
+ `,Ml=h.default.input`
1743
1659
  color: ${({theme:e})=>e.additional.black};
1744
1660
  width: 85%;
1745
1661
  white-space: nowrap;
@@ -1757,18 +1673,18 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1757
1673
  background-color: ${({isDisabled:e,theme:t})=>e?t.variant["neutral-5"]:t.additional.white}};
1758
1674
  cursor: ${({isDisabled:e})=>e?"not-allowed":"text"};
1759
1675
 
1760
- `,Ll=l.css`
1676
+ `,zl=l.css`
1761
1677
  display: flex;
1762
1678
  gap: 7px;
1763
1679
  align-items: center;
1764
- `,Il=h.default.div`
1765
- ${({labelInline:e})=>e?Ll:null}
1680
+ `,Bl=h.default.div`
1681
+ ${({labelInline:e})=>e?zl:null}
1766
1682
  .err-text {
1767
1683
  color: ${({errMsgColor:e,theme:t})=>e||t.variant.error};
1768
1684
  margin-top: 5px;
1769
1685
  font-size: 10px;
1770
1686
  }
1771
- `,Hl=({textBoxStyle:e,labelStyle:t,inputStyle:a,errMsg:o,required:r,label:i,labelInline:n,iconBefore:c,iconAfter:d,isValid:s,type:u,isDisabled:p,id:f,errMsgColor:m,iconAfterStyle:b,iconBeforeStyle:h,ref:y,pattern:x,iconColorOnFocus:C,...v})=>{const A=l.useTheme()||H;return g.default.createElement(Il,E({labelInline:n,theme:A,errMsgColor:m},v),g.default.createElement(et,E({customStyles:t,type:"label-text",labelInline:n,text:i,errMsg:o,style:{display:"flex",marginBottom:`${n?0:"8px"}`,paddingBottom:"0px"},required:r},v)),g.default.createElement(zl,E({required:r,isDisabled:p,theme:A,textBoxStyle:e,isValid:s,inBuiltCss:R,defaultWrapperStyle:"textbox-wrapper",iconColorOnFocus:C},v),g.default.createElement("div",{className:"input-icon",style:{...h}},c),g.default.createElement(Bl,E({inputStyle:a,type:u,theme:A,id:f,defaultInputStyle:"input-wrapper",isDisabled:p,disabled:p,ref:y,pattern:x},v)),g.default.createElement("div",{className:"input-icon",style:{...b}},d)),o.length>0&&g.default.createElement("div",{className:"err-text"},o))};Hl.propTypes={inBuiltCss:b.default.object,label:b.default.string,required:b.default.bool,labelInline:b.default.bool,errMsg:b.default.string,iconBefore:b.default.any,iconAfter:b.default.any,textBoxStyle:b.default.object,labelStyle:b.default.object,inputStyle:b.default.object,type:b.default.string,isDisabled:b.default.bool,id:b.default.string,errMsgColor:b.default.string,iconAfterStyle:b.default.object,iconBeforeStyle:b.default.object,iconColorOnFocus:b.default.string},Hl.defaultProps={inBuiltCss:R,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textBoxStyle:{},labelStyle:{},inputStyle:{},type:"text",isDisabled:!1,id:"",iconAfterStyle:{},iconBeforeStyle:{},iconColorOnFocus:""};const Rl=({label:e,placeholder:t,handleSearch:l,searchInput:a,customStylesForm:o,customStyleObject:r,textBoxStyle:i,id:n,...c})=>g.default.createElement(Hl,E({iconAfter:g.default.createElement(Q,{icon:"magnifier-icon"}),label:e,textBoxStyle:i,placeholder:t,ref:a,onChange:l,id:n},c)),Wl=h.default.div`
1687
+ `,Ll=({textBoxStyle:e,labelStyle:t,inputStyle:a,errMsg:o,required:r,label:i,labelInline:n,iconBefore:c,iconAfter:d,isValid:s,type:u,isDisabled:p,id:f,errMsgColor:m,iconAfterStyle:b,iconBeforeStyle:h,ref:y,pattern:x,iconColorOnFocus:C,...v})=>{const A=l.useTheme()||H;return g.default.createElement(Bl,E({labelInline:n,theme:A,errMsgColor:m},v),g.default.createElement($e,E({customStyles:t,type:"label-text",labelInline:n,text:i,errMsg:o,style:{display:"flex",marginBottom:`${n?0:"8px"}`,paddingBottom:"0px"},required:r},v)),g.default.createElement(Vl,E({required:r,isDisabled:p,theme:A,textBoxStyle:e,isValid:s,inBuiltCss:R,defaultWrapperStyle:"textbox-wrapper",iconColorOnFocus:C},v),g.default.createElement("div",{className:"input-icon",style:{...h}},c),g.default.createElement(Ml,E({inputStyle:a,type:u,theme:A,id:f,defaultInputStyle:"input-wrapper",isDisabled:p,disabled:p,ref:y,pattern:x},v)),g.default.createElement("div",{className:"input-icon",style:{...b}},d)),o.length>0&&g.default.createElement("div",{className:"err-text"},o))};Ll.propTypes={inBuiltCss:b.default.object,label:b.default.string,required:b.default.bool,labelInline:b.default.bool,errMsg:b.default.string,iconBefore:b.default.any,iconAfter:b.default.any,textBoxStyle:b.default.object,labelStyle:b.default.object,inputStyle:b.default.object,type:b.default.string,isDisabled:b.default.bool,id:b.default.string,errMsgColor:b.default.string,iconAfterStyle:b.default.object,iconBeforeStyle:b.default.object,iconColorOnFocus:b.default.string},Ll.defaultProps={inBuiltCss:R,label:"",required:!1,isValid:!0,labelInline:!1,errMsg:"",iconBefore:null,iconAfter:null,textBoxStyle:{},labelStyle:{},inputStyle:{},type:"text",isDisabled:!1,id:"",iconAfterStyle:{},iconBeforeStyle:{},iconColorOnFocus:""};const Il=({label:e,placeholder:t,handleSearch:l,searchInput:a,customStylesForm:o,customStyleObject:r,textBoxStyle:i,id:n,...c})=>g.default.createElement(Ll,E({iconAfter:g.default.createElement(Q,{icon:"magnifier-icon"}),label:e,textBoxStyle:i,placeholder:t,ref:a,onChange:l,id:n},c)),Hl=h.default.div`
1772
1688
  //Set the styles from the default styles object
1773
1689
  ${({inBuiltCss:e,defaultParentDivStyle:t})=>W(e,t)}
1774
1690
 
@@ -1777,7 +1693,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1777
1693
  &:focus-within {
1778
1694
  border-color: ${({activeColor:e,theme:t})=>e||t.primary["primary-1"]};
1779
1695
  }
1780
- `,Pl=h.default.div`
1696
+ `,Rl=h.default.div`
1781
1697
  //Set the styles from the default styles object
1782
1698
  ${({inBuiltCss:e,defaultWrapperDivStyle:t})=>W(e,t)}
1783
1699
 
@@ -1789,7 +1705,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1789
1705
  border-left: ${({signIcon:e})=>e?"":"none"};
1790
1706
  margin-left: ${({signIcon:e})=>e?"":"42px"};
1791
1707
  position: ${({signIcon:e})=>e?"absolute":""};
1792
- `,Tl=h.default.div`
1708
+ `,Wl=h.default.div`
1793
1709
  width: 39px;
1794
1710
  height: 44px;
1795
1711
  display: flex;
@@ -1799,7 +1715,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1799
1715
  border-bottom: ${({penIcon:e,isMyInputFocused:t,activeColor:l,defaultColor:a,theme:o})=>e?t?`1px solid ${l||o.primary["primary-1"]}`:`1px solid ${a||o.neutral["neutral-3"]}`:""};
1800
1716
  background-color: rgba(255, 255, 255, 0.05);
1801
1717
  cursor: pointer;
1802
- `,Fl=h.default.input`
1718
+ `,Pl=h.default.input`
1803
1719
  ${({inBuiltCss:e,defaultInputStyle:t})=>W(e,t)}
1804
1720
 
1805
1721
  border-bottom: ${({value:e,defaultColor:t,theme:l})=>e.length>0?"none":t};
@@ -1823,17 +1739,17 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1823
1739
 
1824
1740
  // custom styles
1825
1741
  ${({customInputStyle:e})=>e}
1826
- `,jl=h.default.div`
1742
+ `,Tl=h.default.div`
1827
1743
  position: relative;
1828
1744
  width: inherit;
1829
1745
  display: flex;
1830
1746
  margin: 4px;
1831
- `,ql=h.default.div`
1747
+ `,Fl=h.default.div`
1832
1748
  padding-left: 2px;
1833
1749
  display: flex;
1834
1750
  justify-content: center;
1835
1751
  cursor: pointer;
1836
- `,Zl=({onChange:e,activeColor:a,defaultColor:o,placeholderColor:r,placeholderText:i,customInputStyle:n,pointsArray:c,setPointsArray:d,value:s,setValue:u,valueForSignatureDrawing:p,setValueForSignatureDrawing:f,imageURL:m,setImageURL:b,id:h,...y})=>{const x=l.useTheme()||H,[C,v]=t.useState("default"),[A,S]=t.useState(!1),[k,E]=t.useState(!1),V=t.useRef(null);t.useEffect((()=>{k&&(z(),f(V.current))}),[!0===k]);const M=()=>{u(""),f(V.current),V.current&&V.current.clear(),S(!1),E(!1)},z=()=>(d(V.current.toData()),b(V.current.toDataURL("image/png")),[m,c]);return g.default.createElement(Wl,{inBuiltCss:R,defaultParentDivStyle:"signature-parent-div",isMyInputFocused:A,selected:C,activeColor:a,defaultColor:o,theme:x},g.default.createElement(Pl,{inBuiltCss:R,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:a,defaultColor:o,selected:C,isMyInputFocused:A,signIcon:!0,theme:x},g.default.createElement(Tl,{activeColor:a,defaultColor:o,isMyInputFocused:A,theme:x,penIcon:!0,onClick:()=>{v("default"),M()}},g.default.createElement(Q,{icon:"pen-icon",color:"default"===C?a||x.primary["primary-1"]:x.additional.black})),g.default.createElement(Tl,{activeColor:a,defaultColor:o,theme:x,isMyInputFocused:A,penIcon:!1,onClick:()=>{v("sign"),M()}},g.default.createElement(Q,{icon:"sign-icon",color:"default"!==C?a||x.primary["primary-1"]:x.additional.black}))),g.default.createElement(Pl,{inBuiltCss:R,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:a,defaultColor:o,theme:x,selected:C,isMyInputFocused:A,signIcon:!1,onTouchStart:()=>{}},"default"===C?g.default.createElement(Fl,{inBuiltCss:R,defaultInputStyle:"signature-input-text",placeholder:i,placeholderColor:r,customInputStyle:n,onBlur:()=>S(!1),onFocus:()=>S(!0),id:h,value:s,defaultColor:o,theme:x,onChange:e=>u(e.target.value)}):g.default.createElement(jl,{onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),onClick:()=>{E(!0),z()}},g.default.createElement(w.default,{ref:V,id:h,redrawOnResize:!0,height:75,options:{minWidth:1,maxWidth:1,penColor:"#444444"}})),(s||k)&&g.default.createElement(ql,{selected:C,onClick:()=>M()},g.default.createElement(Q,{icon:"cross-icon",color:o||x.neutral["neutral-3"]}))))};Zl.propTypes={activeColor:b.default.string,defaultColor:b.default.string,placeholderColor:b.default.string,placeholderText:b.default.string,customInputStyle:b.default.object,pointsArray:b.default.any,setPointsArray:b.default.func,value:b.default.string,setValue:b.default.func,imageURL:b.default.string,setImageURL:b.default.func,id:b.default.string},Zl.defaultProps={customInputStyle:{},placeholderText:"Type your signature here",pointsArray:null,setPointsArray:()=>{},value:"",setValue:()=>{},imageURL:"",setImageURL:()=>{},setValueForSignatureDrawing:()=>{},id:""};const Dl=h.default.div`
1752
+ `,jl=({onChange:e,activeColor:a,defaultColor:o,placeholderColor:r,placeholderText:i,customInputStyle:n,pointsArray:c,setPointsArray:d,value:s,setValue:u,valueForSignatureDrawing:p,setValueForSignatureDrawing:f,imageURL:m,setImageURL:b,id:h,...y})=>{const x=l.useTheme()||H,[C,v]=t.useState("default"),[A,S]=t.useState(!1),[k,E]=t.useState(!1),V=t.useRef(null);t.useEffect((()=>{k&&(z(),f(V.current))}),[!0===k]);const M=()=>{u(""),f(V.current),V.current&&V.current.clear(),S(!1),E(!1)},z=()=>(d(V.current.toData()),b(V.current.toDataURL("image/png")),[m,c]);return g.default.createElement(Hl,{inBuiltCss:R,defaultParentDivStyle:"signature-parent-div",isMyInputFocused:A,selected:C,activeColor:a,defaultColor:o,theme:x},g.default.createElement(Rl,{inBuiltCss:R,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:a,defaultColor:o,selected:C,isMyInputFocused:A,signIcon:!0,theme:x},g.default.createElement(Wl,{activeColor:a,defaultColor:o,isMyInputFocused:A,theme:x,penIcon:!0,onClick:()=>{v("default"),M()}},g.default.createElement(Q,{icon:"pen-icon",color:"default"===C?a||x.primary["primary-1"]:x.additional.black})),g.default.createElement(Wl,{activeColor:a,defaultColor:o,theme:x,isMyInputFocused:A,penIcon:!1,onClick:()=>{v("sign"),M()}},g.default.createElement(Q,{icon:"sign-icon",color:"default"!==C?a||x.primary["primary-1"]:x.additional.black}))),g.default.createElement(Rl,{inBuiltCss:R,defaultWrapperDivStyle:"signature-wrapper-div",activeColor:a,defaultColor:o,theme:x,selected:C,isMyInputFocused:A,signIcon:!1,onTouchStart:()=>{}},"default"===C?g.default.createElement(Pl,{inBuiltCss:R,defaultInputStyle:"signature-input-text",placeholder:i,placeholderColor:r,customInputStyle:n,onBlur:()=>S(!1),onFocus:()=>S(!0),id:h,value:s,defaultColor:o,theme:x,onChange:e=>u(e.target.value)}):g.default.createElement(Tl,{onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),onClick:()=>{E(!0),z()}},g.default.createElement(w.default,{ref:V,id:h,redrawOnResize:!0,height:75,options:{minWidth:1,maxWidth:1,penColor:"#444444"}})),(s||k)&&g.default.createElement(Fl,{selected:C,onClick:()=>M()},g.default.createElement(Q,{icon:"cross-icon",color:o||x.neutral["neutral-3"]}))))};jl.propTypes={activeColor:b.default.string,defaultColor:b.default.string,placeholderColor:b.default.string,placeholderText:b.default.string,customInputStyle:b.default.object,pointsArray:b.default.any,setPointsArray:b.default.func,value:b.default.string,setValue:b.default.func,imageURL:b.default.string,setImageURL:b.default.func,id:b.default.string},jl.defaultProps={customInputStyle:{},placeholderText:"Type your signature here",pointsArray:null,setPointsArray:()=>{},value:"",setValue:()=>{},imageURL:"",setImageURL:()=>{},setValueForSignatureDrawing:()=>{},id:""};const ql=h.default.div`
1837
1753
  background-color: ${({theme:e})=>e.additional.white};
1838
1754
  //Set the styles from the default styles object
1839
1755
  ${({inBuiltCss:e,defaultWrapperStyle:t})=>W(e,t)}
@@ -1855,7 +1771,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1855
1771
 
1856
1772
  // custom styles
1857
1773
  ${({textAreaStyle:e})=>e}
1858
- `,Ol=h.default.textarea`
1774
+ `,Zl=h.default.textarea`
1859
1775
  //Set the styles from the default styles object
1860
1776
  ${({inBuiltCss:e,defaultInputStyle:t})=>W(e,t)}
1861
1777
  margin: 0;
@@ -1863,12 +1779,12 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1863
1779
  cursor: auto;
1864
1780
  resize: vertical // custom styles
1865
1781
  ${({inputStyle:e})=>e};
1866
- `,Gl=l.css`
1782
+ `,Dl=l.css`
1867
1783
  display: flex;
1868
1784
  gap: 7px;
1869
1785
  align-items: center;
1870
- `,Xl=h.default.div`
1871
- ${({labelInline:e})=>e?Gl:null}
1786
+ `,Ol=h.default.div`
1787
+ ${({labelInline:e})=>e?Dl:null}
1872
1788
  ${({customStylesForm:e})=>{if(e)return{...e}}}
1873
1789
  position: relative;
1874
1790
  .err-text {
@@ -1876,7 +1792,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1876
1792
  margin-top: 5px;
1877
1793
  font-size: 10px;
1878
1794
  }
1879
- `,Jl=g.default.forwardRef((({customStylesForm:e,textAreaStyle:t,inputStyle:a,errMsg:o,iconBefore:r,iconAfter:i,isValid:n,rows:c,cols:d,id:s,labelProps:u,...p},f)=>{const m=l.useTheme()||H,{labelInline:b}=u;return g.default.createElement(Xl,E({labelInline:b,customStylesForm:e,theme:m},p),g.default.createElement(et,E({type:"label-text",style:{display:"flex",marginBottom:`${b?0:"8px"}`,paddingBottom:"0px"}},u)),g.default.createElement(Dl,E({theme:m,textAreaStyle:t,isValid:n,inBuiltCss:R,defaultWrapperStyle:"textbox-wrapper"},p),g.default.createElement("div",{className:"input-icon"},r),g.default.createElement(Ol,E({ref:f,inputStyle:a,defaultInputStyle:"textarea-wrapper",cols:d,rows:c,inBuiltCss:R,id:s},p,{size:"1"})),g.default.createElement("div",{className:"input-icon"},i)),g.default.createElement("div",{className:"err-text"},o))}));Jl.propTypes={rows:b.default.number,errMsg:b.default.string,iconBefore:b.default.any,iconAfter:b.default.any,textAreaStyle:b.default.object,inputStyle:b.default.object,id:b.default.string,labelProps:b.default.object},Jl.defaultProps={isValid:!0,errMsg:"",iconBefore:null,iconAfter:null,textAreaStyle:{},inputStyle:{},rows:3,id:"",labelProps:{labelInline:!1}};const Ul=h.default.div`
1795
+ `,Gl=g.default.forwardRef((({customStylesForm:e,textAreaStyle:t,inputStyle:a,errMsg:o,iconBefore:r,iconAfter:i,isValid:n,rows:c,cols:d,id:s,labelProps:u,...p},f)=>{const m=l.useTheme()||H,{labelInline:b}=u;return g.default.createElement(Ol,E({labelInline:b,customStylesForm:e,theme:m},p),g.default.createElement($e,E({type:"label-text",style:{display:"flex",marginBottom:`${b?0:"8px"}`,paddingBottom:"0px"}},u)),g.default.createElement(ql,E({theme:m,textAreaStyle:t,isValid:n,inBuiltCss:R,defaultWrapperStyle:"textbox-wrapper"},p),g.default.createElement("div",{className:"input-icon"},r),g.default.createElement(Zl,E({ref:f,inputStyle:a,defaultInputStyle:"textarea-wrapper",cols:d,rows:c,inBuiltCss:R,id:s},p,{size:"1"})),g.default.createElement("div",{className:"input-icon"},i)),g.default.createElement("div",{className:"err-text"},o))}));Gl.propTypes={rows:b.default.number,errMsg:b.default.string,iconBefore:b.default.any,iconAfter:b.default.any,textAreaStyle:b.default.object,inputStyle:b.default.object,id:b.default.string,labelProps:b.default.object},Gl.defaultProps={isValid:!0,errMsg:"",iconBefore:null,iconAfter:null,textAreaStyle:{},inputStyle:{},rows:3,id:"",labelProps:{labelInline:!1}};const Xl=h.default.div`
1880
1796
  color: #a9b1b8;
1881
1797
  font-size: 21px;
1882
1798
  border: 1px solid
@@ -1890,7 +1806,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1890
1806
  border: 1px solid ${({theme:e})=>e.variant["primary-1"]};
1891
1807
  outline: none;
1892
1808
  }
1893
- `,Yl=h.default.input`
1809
+ `,Jl=h.default.input`
1894
1810
  border: 0;
1895
1811
  outline: 0;
1896
1812
  color: ${({theme:e})=>e.variant["primary-2"]};
@@ -1900,23 +1816,23 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1900
1816
  width: 24px;
1901
1817
  text-align:center;
1902
1818
  background-color: ${({theme:e})=>e.additional.white};
1903
- `,Nl=l.css`
1819
+ `,Ul=l.css`
1904
1820
  &:after {
1905
1821
  content: ' *';
1906
1822
  color: ${({theme:e})=>e.variant.error};
1907
1823
  }
1908
- `,Ql=h.default.label`
1824
+ `,Yl=h.default.label`
1909
1825
  display: block;
1910
1826
  margin-bottom: ${({labelInline:e,errMsg:t})=>e&&t?"18px":"8px"};
1911
1827
  margin-right: ${({labelInline:e})=>e?"8px":""};
1912
1828
  color: ${({theme:e})=>e.variant["neutral-2"]};
1913
- ${({required:e})=>e?Nl:null}
1829
+ ${({required:e})=>e?Ul:null}
1914
1830
  padding-bottom: 0px;
1915
- `,Kl=l.css`
1831
+ `,Nl=l.css`
1916
1832
  display: flex;
1917
1833
  align-items: center;
1918
- `,$l=h.default.div`
1919
- ${({labelInline:e})=>e?Kl:null}
1834
+ `,Ql=h.default.div`
1835
+ ${({labelInline:e})=>e?Nl:null}
1920
1836
  .err-text {
1921
1837
  color: ${({theme:e})=>e.variant.error};
1922
1838
  margin-top: 5px;
@@ -1926,7 +1842,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1926
1842
  > div {
1927
1843
  flex: 1 0 auto;
1928
1844
  }
1929
- `,_l=h.default.button`
1845
+ `,Kl=h.default.button`
1930
1846
  border: none;
1931
1847
  outline: none;
1932
1848
  border-radius: 4px;
@@ -1935,9 +1851,9 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1935
1851
  padding: 5px 6px;
1936
1852
  font-size: 18px;
1937
1853
  cursor: pointer;
1938
- `,ea=({label:e,errMsg:t,hour:a,minute:o,period:r,onChange:i,id:n,...c})=>{const d=l.useTheme()||H;return g.default.createElement($l,E({theme:d},c),g.default.createElement(Ql,E({theme:d},c,{errMsg:t}),e),g.default.createElement("div",null,g.default.createElement(Ul,E({theme:d,id:n},c),g.default.createElement(Yl,{theme:d,value:a,onChange:function(e){const t=e.currentTarget.value>12?12:parseFloat(e.currentTarget.value)||0;i({hour:t,minute:o,period:r})}}),":",g.default.createElement(Yl,{theme:d,value:o,onChange:function(e){const t=e.currentTarget.value>59?59:parseFloat(e.currentTarget.value)||0;i({hour:a,minute:t,period:r})}}),g.default.createElement(_l,{theme:d,onClick:function(e){i({hour:a,minute:o,period:"AM"===r?"PM":"AM"})}},r)),g.default.createElement("div",{className:"err-text"},t)))};ea.propTypes={label:b.default.string,hour:b.default.number.isRequired,minute:b.default.number.isRequired,period:b.default.string.isRequired,required:b.default.bool,labelInline:b.default.bool,isValid:b.default.bool,errMsg:b.default.string,id:b.default.string},ea.defaultProps={label:"",hour:0,minute:0,period:"AM",required:!1,labelInline:!1,isValid:!0,errMsg:"",id:""};const ta=h.default.div`
1854
+ `,$l=({label:e,errMsg:t,hour:a,minute:o,period:r,onChange:i,id:n,...c})=>{const d=l.useTheme()||H;return g.default.createElement(Ql,E({theme:d},c),g.default.createElement(Yl,E({theme:d},c,{errMsg:t}),e),g.default.createElement("div",null,g.default.createElement(Xl,E({theme:d,id:n},c),g.default.createElement(Jl,{theme:d,value:a,onChange:function(e){const t=e.currentTarget.value>12?12:parseFloat(e.currentTarget.value)||0;i({hour:t,minute:o,period:r})}}),":",g.default.createElement(Jl,{theme:d,value:o,onChange:function(e){const t=e.currentTarget.value>59?59:parseFloat(e.currentTarget.value)||0;i({hour:a,minute:t,period:r})}}),g.default.createElement(Kl,{theme:d,onClick:function(e){i({hour:a,minute:o,period:"AM"===r?"PM":"AM"})}},r)),g.default.createElement("div",{className:"err-text"},t)))};$l.propTypes={label:b.default.string,hour:b.default.number.isRequired,minute:b.default.number.isRequired,period:b.default.string.isRequired,required:b.default.bool,labelInline:b.default.bool,isValid:b.default.bool,errMsg:b.default.string,id:b.default.string},$l.defaultProps={label:"",hour:0,minute:0,period:"AM",required:!1,labelInline:!1,isValid:!0,errMsg:"",id:""};const _l=h.default.div`
1939
1855
  ${({inBuiltCss:e,defaultCheckBoxWrapperStyle:t})=>W(e,t)}
1940
- `,la=h.default.label`
1856
+ `,ea=h.default.label`
1941
1857
  position: absolute;
1942
1858
  width: ${({labelPosition:e})=>"inside"===e?"51.52px":"45px"};
1943
1859
  height: ${({labelPosition:e})=>"inside"===e?"20.11px":"22px"};
@@ -1963,7 +1879,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1963
1879
  // custom styles
1964
1880
  ${({customSwitchStyle:e})=>e}
1965
1881
  }
1966
- `,aa=h.default.input.attrs({type:"checkbox"})`
1882
+ `,ta=h.default.input.attrs({type:"checkbox"})`
1967
1883
  opacity: 0;
1968
1884
  z-index: 1;
1969
1885
  border-radius: 11.04px;
@@ -1975,7 +1891,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1975
1891
  // custom styles
1976
1892
 
1977
1893
 
1978
- `,oa=h.default.span`
1894
+ `,la=h.default.span`
1979
1895
  color: ${({theme:e,labelPosition:t})=>"inside"===t?e.neutral["neutral-5"]:e.additional["text-color"]};
1980
1896
  font-size: ${({labelPosition:e})=>"inside"===e?"10px":"16px"};
1981
1897
  position: ${({labelPosition:e})=>"inside"===e?"absolute":"initial"};
@@ -1983,7 +1899,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1983
1899
  margin-right:${({labelPosition:e})=>"inside"===e?0:"8px"};
1984
1900
  // custom styles
1985
1901
  ${({optionStyle:e})=>e};
1986
- `,ra=({checked:e,customSwitchStyle:t,customToggleBoxStyle:a,onClick:o,optionStyle:r,id:i,isDisabled:n,trueLabel:c,falseLabel:d,labelPosition:s,...u})=>{const p=l.useTheme()||H;return g.default.createElement(ta,E({inBuiltCss:R,defaultCheckBoxWrapperStyle:"toggle-switch-wrapper"},u),"left"===s&&g.default.createElement(oa,{optionStyle:r,inBuiltCss:R,theme:p,checked:e,labelPosition:s},e?c:d),g.default.createElement(aa,E({},u,{id:i,inBuiltCss:R,onClick:()=>{o(!e)},isChecked:e,disabled:n,isDisabled:n,customToggleBoxStyle:a,labelPosition:s})),g.default.createElement(la,E({},u,{htmlFor:i,customToggleBoxStyle:a,customSwitchStyle:t,inBuiltCss:R,checked:e,theme:p,isDisabled:n,labelPosition:s})),("right"===s||"inside"===s)&&g.default.createElement(oa,{optionStyle:r,inBuiltCss:R,theme:p,checked:e,labelPosition:s},e?c:d))};ra.propTypes={customToggleBoxStyle:b.default.object,customSwitchStyle:b.default.object,checked:b.default.bool,id:b.default.string,isDisabled:b.default.bool,trueLabel:b.default.string,falseLabel:b.default.string,labelPosition:b.default.oneOf(["left","right","inside"])},ra.defaultProps={checked:!1,customSwitchStyle:{},customToggleBoxStyle:{},id:"",isDisabled:!1,trueLabel:"Yes",falseLabel:"NO",labelPosition:"right"};const ia=h.default.div`
1902
+ `,aa=({checked:e,customSwitchStyle:t,customToggleBoxStyle:a,onClick:o,optionStyle:r,id:i,isDisabled:n,trueLabel:c,falseLabel:d,labelPosition:s,...u})=>{const p=l.useTheme()||H;return g.default.createElement(_l,E({inBuiltCss:R,defaultCheckBoxWrapperStyle:"toggle-switch-wrapper"},u),"left"===s&&g.default.createElement(la,{optionStyle:r,inBuiltCss:R,theme:p,checked:e,labelPosition:s},e?c:d),g.default.createElement(ta,E({},u,{id:i,inBuiltCss:R,onClick:()=>{o(!e)},isChecked:e,disabled:n,isDisabled:n,customToggleBoxStyle:a,labelPosition:s})),g.default.createElement(ea,E({},u,{htmlFor:i,customToggleBoxStyle:a,customSwitchStyle:t,inBuiltCss:R,checked:e,theme:p,isDisabled:n,labelPosition:s})),("right"===s||"inside"===s)&&g.default.createElement(la,{optionStyle:r,inBuiltCss:R,theme:p,checked:e,labelPosition:s},e?c:d))};aa.propTypes={customToggleBoxStyle:b.default.object,customSwitchStyle:b.default.object,checked:b.default.bool,id:b.default.string,isDisabled:b.default.bool,trueLabel:b.default.string,falseLabel:b.default.string,labelPosition:b.default.oneOf(["left","right","inside"])},aa.defaultProps={checked:!1,customSwitchStyle:{},customToggleBoxStyle:{},id:"",isDisabled:!1,trueLabel:"Yes",falseLabel:"NO",labelPosition:"right"};const oa=h.default.div`
1987
1903
  background-color: ${({theme:e})=>e.additional.white};
1988
1904
  padding: 24px 8px;
1989
1905
  ${({commentWrapperStyle:e})=>e};
@@ -1999,10 +1915,10 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
1999
1915
  }
2000
1916
  }
2001
1917
  }
2002
- `,na=h.default.div`
1918
+ `,ra=h.default.div`
2003
1919
  margin-bottom: 24px;
2004
1920
  ${({commentBodyStyle:e})=>e};
2005
- `,ca=h.default.div`
1921
+ `,ia=h.default.div`
2006
1922
  display: flex;
2007
1923
  flex-direction: row;
2008
1924
  width: 100%;
@@ -2013,7 +1929,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2013
1929
  flex-direction: column;
2014
1930
  align-items: flex-start;
2015
1931
  }
2016
- `,da=h.default.span`
1932
+ `,na=h.default.span`
2017
1933
  margin-left: 24px;
2018
1934
  font-size: 14px;
2019
1935
  color: ${({theme:e})=>e.variant["neutral-2"]};
@@ -2022,13 +1938,13 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2022
1938
  @media (max-width: 576px) {
2023
1939
  margin-left: 56px;
2024
1940
  }
2025
- `,sa=h.default.div`
1941
+ `,ca=h.default.div`
2026
1942
  margin: 12px 0 0 56px;
2027
1943
  font-size: 16px;
2028
1944
  word-break: break-word;
2029
1945
  color: ${H.variant["graph-6"]};
2030
1946
  ${({commentDivStyle:e})=>e};
2031
- `,ua=h.default.div`
1947
+ `,da=h.default.div`
2032
1948
  display: flex;
2033
1949
  justify-content: flex-start;
2034
1950
  align-items: flex-start;
@@ -2037,13 +1953,13 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2037
1953
  padding: 16px 24px;
2038
1954
  border-radius: 0px 0px 4px 4px;
2039
1955
  ${({inputWrapperStyle:e})=>e};
2040
- `,pa=h.default.div`
1956
+ `,sa=h.default.div`
2041
1957
  display: inline-flex;
2042
1958
  margin-top: 16px;
2043
- `,fa=h.default.div`
1959
+ `,ua=h.default.div`
2044
1960
  width: 100%;
2045
1961
  margin-left: 16px;
2046
- `,ma=({commentsArray:e,customStyles:a,myInfoAvatarProps:o,loading:r,viewOnly:i,textInputProps:n,saveBtnProps:c,cancelBtnProps:d,loadMore:s,avatarProps:u,message:p})=>{const f=l.useTheme()||H,[m,b]=t.useState(!1),[h,y]=t.useState(e||[]),x=async e=>{let t;t="post"===e?await c.callback():await s.callback(),y((e=>[...e,...t]))};return g.default.createElement(ia,{commentWrapperStyle:a?.commentWrapperStyle,theme:f},h.map(((e,t)=>{const{name:l,date:o,comment:r,image:i}=e;return g.default.createElement(na,{key:t,commentBodyStyle:a?.commentBodyStyle,theme:f},g.default.createElement(ca,{commentHeadStyle:a?.commentHeadStyle},g.default.createElement(pe,E({user:{fullName:l,userName:l,url:i},toggleName:!0,size:"LG",customStylesName:{color:f.additional["text-color"]}},u)),g.default.createElement(da,{dateTimeStyle:a?.dateTimeStyle,theme:f},o)),g.default.createElement(sa,{commentDivStyle:a?.commentDivStyle},r))})),!r&&0===h.length&&p,r&&g.default.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",marginBottom:"24px"}},g.default.createElement(Me,{size:25})),!r&&s.showLoadMore&&g.default.createElement("div",{className:"load-more"},g.default.createElement(Le,{onClick:()=>x("load")},"Load more")),!i&&g.default.createElement(ua,{theme:f,inputWrapperStyle:a?.inputWrapperStyle},g.default.createElement(pe,E({toggleName:!1,customStylesImage:{height:"36px",width:"36px"},customStylesContainer:{marginTop:"7px"}},o)),g.default.createElement(fa,null,g.default.createElement(Hl,E({inputStyle:{height:"23px"},isValid:!0,onFocus:e=>b(!0)},n,{onChange:e=>{n.setInputValue(e.target.value)}})),m&&g.default.createElement(pa,null,g.default.createElement(Re,E({onClick:e=>{x("post"),n.setInputValue(e.target.value)}},c),c.text),g.default.createElement(Le,E({disabled:!(!d?.isLoading&&!c?.isLoading),onClick:()=>{b(!1),n.setInputValue(""),n.setValidValue({isValid:!0,errMsg:""})},btnStyle:{color:f.variant["neutral-1"]}},d),d.text)))))};ma.propTypes={commentsArray:b.default.array,customStyles:b.default.object,myInfoAvatarProps:b.default.object,viewOnly:b.default.bool,textInputProps:b.default.object,saveBtnProps:b.default.object,cancelBtnProps:b.default.object,loadMore:b.default.object,avatarProps:b.default.object,message:b.default.element},ma.defaultProps={commentsArray:[],customStyles:{commentBodyStyle:{},commentWrapperStyle:{},commentHeadStyle:{},dateTimeStyle:{},commentDivStyle:{},inputWrapperStyle:{}},myInfoAvatarProps:{},loading:!1,viewOnly:!1,textInputProps:{},saveBtnProps:{size:"sm",text:"Save"},cancelBtnProps:{size:"sm",text:"Cancel"},loadMore:{showLoadMore:!1,callback:()=>{}},avatarProps:{},message:g.default.createElement("span",{style:{textAlign:"center",display:"block",marginBottom:"16px"}},"No comments yet")};const ba=h.default.div`
1962
+ `,pa=({commentsArray:e,customStyles:a,myInfoAvatarProps:o,loading:r,viewOnly:i,textInputProps:n,saveBtnProps:c,cancelBtnProps:d,loadMore:s,avatarProps:u,message:p})=>{const f=l.useTheme()||H,[m,b]=t.useState(!1),[h,y]=t.useState(e||[]),x=async e=>{let t;t="post"===e?await c.callback():await s.callback(),y((e=>[...e,...t]))};return g.default.createElement(oa,{commentWrapperStyle:a?.commentWrapperStyle,theme:f},h.map(((e,t)=>{const{name:l,date:o,comment:r,image:i}=e;return g.default.createElement(ra,{key:t,commentBodyStyle:a?.commentBodyStyle,theme:f},g.default.createElement(ia,{commentHeadStyle:a?.commentHeadStyle},g.default.createElement(ze,E({user:{fullName:l,userName:l,url:i},toggleName:!0,size:"LG",customStylesName:{color:f.additional["text-color"]}},u)),g.default.createElement(na,{dateTimeStyle:a?.dateTimeStyle,theme:f},o)),g.default.createElement(ca,{commentDivStyle:a?.commentDivStyle},r))})),!r&&0===h.length&&p,r&&g.default.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",marginBottom:"24px"}},g.default.createElement(se,{size:25})),!r&&s.showLoadMore&&g.default.createElement("div",{className:"load-more"},g.default.createElement(fe,{onClick:()=>x("load")},"Load more")),!i&&g.default.createElement(da,{theme:f,inputWrapperStyle:a?.inputWrapperStyle},g.default.createElement(ze,E({toggleName:!1,customStylesImage:{height:"36px",width:"36px"},customStylesContainer:{marginTop:"7px"}},o)),g.default.createElement(ua,null,g.default.createElement(Ll,E({inputStyle:{height:"23px"},isValid:!0,onFocus:e=>b(!0)},n,{onChange:e=>{n.setInputValue(e.target.value)}})),m&&g.default.createElement(sa,null,g.default.createElement(ge,E({onClick:e=>{x("post"),n.setInputValue(e.target.value)}},c),c.text),g.default.createElement(fe,E({disabled:!(!d?.isLoading&&!c?.isLoading),onClick:()=>{b(!1),n.setInputValue(""),n.setValidValue({isValid:!0,errMsg:""})},btnStyle:{color:f.variant["neutral-1"]}},d),d.text)))))};pa.propTypes={commentsArray:b.default.array,customStyles:b.default.object,myInfoAvatarProps:b.default.object,viewOnly:b.default.bool,textInputProps:b.default.object,saveBtnProps:b.default.object,cancelBtnProps:b.default.object,loadMore:b.default.object,avatarProps:b.default.object,message:b.default.element},pa.defaultProps={commentsArray:[],customStyles:{commentBodyStyle:{},commentWrapperStyle:{},commentHeadStyle:{},dateTimeStyle:{},commentDivStyle:{},inputWrapperStyle:{}},myInfoAvatarProps:{},loading:!1,viewOnly:!1,textInputProps:{},saveBtnProps:{size:"sm",text:"Save"},cancelBtnProps:{size:"sm",text:"Cancel"},loadMore:{showLoadMore:!1,callback:()=>{}},avatarProps:{},message:g.default.createElement("span",{style:{textAlign:"center",display:"block",marginBottom:"16px"}},"No comments yet")};const fa=h.default.div`
2047
1963
  //Set the styles from the default styles object
2048
1964
  ${({theme:e,type:t})=>W(e,t)}
2049
1965
  @media (max-width: 980px) {
@@ -2051,7 +1967,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2051
1967
  }
2052
1968
  // custom styles
2053
1969
  ${({customStyles:e})=>e}
2054
- `,ga=({theme:e,type:t,customStyles:l,...a})=>g.default.createElement(ba,E({theme:e,customStyles:l,type:t},a),a.children);ga.propTypes={theme:b.default.object,customStyles:b.default.object,type:b.default.string},ga.defaultProps={theme:R,customStyles:null,type:"content"};const ha=h.default.div`
1970
+ `,ma=({theme:e,type:t,customStyles:l,...a})=>g.default.createElement(fa,E({theme:e,customStyles:l,type:t},a),a.children);ma.propTypes={theme:b.default.object,customStyles:b.default.object,type:b.default.string},ma.defaultProps={theme:R,customStyles:null,type:"content"};const ba=h.default.div`
2055
1971
  width: 100%;
2056
1972
  display: flex;
2057
1973
  flex-direction: column;
@@ -2063,7 +1979,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2063
1979
  button:focus {
2064
1980
  outline: none;
2065
1981
  }
2066
- `,ya=h.default.div`
1982
+ `,ga=h.default.div`
2067
1983
  position: relative;
2068
1984
  display: flex;
2069
1985
  width: 100%;
@@ -2147,7 +2063,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2147
2063
  margin-top: 0;
2148
2064
  }
2149
2065
  }
2150
- `,xa=h.default.span`
2066
+ `,ha=h.default.span`
2151
2067
  color: #2e56f4;
2152
2068
  font-style: normal;
2153
2069
  font-weight: normal;
@@ -2157,14 +2073,14 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2157
2073
  margin-top: 37px;
2158
2074
  margin-right: 65px;
2159
2075
  white-space: nowrap;
2160
- `,Ca=h.default.div`
2076
+ `,ya=h.default.div`
2161
2077
  display: flex;
2162
2078
  flex-direction: column;
2163
2079
  ${""}
2164
2080
  max-width: 1340px;
2165
2081
  width: 100%;
2166
2082
  align-items: center;
2167
- `,va=h.default.div`
2083
+ `,xa=h.default.div`
2168
2084
  position: absolute;
2169
2085
  font-size: 12px;
2170
2086
  border-radius: 50%;
@@ -2181,23 +2097,23 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2181
2097
  transform: translate(30%, -30%);
2182
2098
  color: white;
2183
2099
  font-weight: 600;
2184
- `,Aa=h.default.div`
2100
+ `,Ca=h.default.div`
2185
2101
  width: 90%;
2186
- `,wa=h.default.div`
2102
+ `,va=h.default.div`
2187
2103
  background: linear-gradient(
2188
2104
  0deg,
2189
2105
  hsla(0, 0%, 100%, 1) 20%,
2190
2106
  hsla(0, 0%, 100%, 0.5) 100%
2191
2107
  );
2192
2108
  width: 90%;
2193
- `,Sa=h.default.div`
2109
+ `,Aa=h.default.div`
2194
2110
  width: 90%;
2195
- `,ka=h.default.div`
2111
+ `,wa=h.default.div`
2196
2112
  display: flex;
2197
2113
  margin-left: auto !important;
2198
2114
  margin-right: auto !important;
2199
2115
  cursor: pointer;
2200
- `,Ea=h.default.div`
2116
+ `,Sa=h.default.div`
2201
2117
  display: flex;
2202
2118
  flex-direction: column;
2203
2119
  width: 180px;
@@ -2206,10 +2122,10 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2206
2122
  border-radius: 6px;
2207
2123
  margin-right: 0.5rem;
2208
2124
  z-index: 999;
2209
- `,Va=h.default.div`
2125
+ `,ka=h.default.div`
2210
2126
  margin: 10.5px 13px;
2211
2127
  padding: 0;
2212
- `,Ma=h.default.div`
2128
+ `,Ea=h.default.div`
2213
2129
  color: #081348;
2214
2130
  padding: 7.7px 6.5px 7.7px 24px;
2215
2131
  margin: 2.5px 13px;
@@ -2227,7 +2143,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2227
2143
  background: #eaeefe;
2228
2144
  border-radius: 5px;
2229
2145
  }
2230
- `,za=h.default.div`
2146
+ `,Va=h.default.div`
2231
2147
  position: relative;
2232
2148
  display: flex;
2233
2149
  width: 100%;
@@ -2311,41 +2227,41 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2311
2227
  margin-top: 0;
2312
2228
  }
2313
2229
  }
2314
- `,Ba=h.default.div`
2230
+ `,Ma=h.default.div`
2315
2231
  display: flex;
2316
2232
  justify-content: flex-end;
2317
- `,La=h.default.div`
2233
+ `,za=h.default.div`
2318
2234
  display: flex;
2319
2235
  justify-content: center;
2320
2236
  flex-direction: row;
2321
2237
  align-items: flex-start;
2322
2238
  gap: 20px;
2323
- `,Ia=h.default.div`
2239
+ `,Ba=h.default.div`
2324
2240
  width: 48;
2325
2241
  max-width: 48%;
2326
2242
  min-width: 48%;
2327
2243
 
2328
- `,Ha=h.default.form`
2244
+ `,La=h.default.form`
2329
2245
  width: 40vw;
2330
2246
  display: flex;
2331
2247
  justify-content: center;
2332
2248
  flex-direction: column;
2333
2249
  gap: 20px;
2334
2250
  ${({customStyles:e})=>e}
2335
- `,Ra=({customStyles:e,children:t})=>g.default.createElement(Ha,{customStyles:e},t),Wa=h.default.div`
2251
+ `,Ia=({customStyles:e,children:t})=>g.default.createElement(La,{customStyles:e},t),Ha=h.default.div`
2336
2252
  display: ${({vertical:e})=>e?"inline-block":"block"};
2337
2253
  background: ${({theme:e,borderColor:t})=>t||e.neutral["neutral-5"]};
2338
2254
  content: '';
2339
2255
  height: ${({vertical:e,thickness:t,height:l})=>e?l:t};
2340
2256
  width: ${({vertical:e,thickness:t})=>e?t:null};
2341
- `,Pa=({vertical:e,borderColor:t,thickness:a,height:o,...r})=>{const i=l.useTheme()||H;return g.default.createElement(Wa,E({theme:i,borderColor:t,thickness:a,vertical:e,height:o},r))};Pa.propTypes={thickness:b.default.string,borderColor:b.default.string,vertical:b.default.bool,height:b.default.string},Pa.defaultProps={thickness:"2px",vertical:!1,height:"10px"};const Ta=h.default.div`
2257
+ `,Ra=({vertical:e,borderColor:t,thickness:a,height:o,...r})=>{const i=l.useTheme()||H;return g.default.createElement(Ha,E({theme:i,borderColor:t,thickness:a,vertical:e,height:o},r))};Ra.propTypes={thickness:b.default.string,borderColor:b.default.string,vertical:b.default.bool,height:b.default.string},Ra.defaultProps={thickness:"2px",vertical:!1,height:"10px"};const Wa=h.default.div`
2342
2258
  //Set the styles from the default styles object
2343
2259
  ${({inBuiltCss:e,type:t,drawerOpen:l,customStyles:a})=>{if(e){let o={};if(e[t]){for(const t in e.common)o[t]=e.common[t];for(const l in e[t])delete e.common[l],o[l]=e[t][l];o=l?{...o,...e["drawer-open"]}:{...o,...e["drawer-close"]}}return{...o,...a}}}}
2344
- `,Fa=({customStyles:e,drawerOpen:t,setDrawerOpen:l,children:a,...o})=>g.default.createElement(Ta,E({inBuiltCss:R,customStyles:e,type:"drawer",drawerOpen:t},o),a);Fa.propTypes={customStyles:b.default.object,drawerOpen:b.default.bool,setDrawerOpen:b.default.func},Fa.defaultProps={setDrawerOpen:()=>null};class ja extends t.Component{constructor(e){super(e),this.state={hasError:!1},this.refreshPage=this.refreshPage.bind(this)}componentDidCatch(e,t){this.setState({hasError:!0})}refreshPage(){window.location.reload()}render(){const{hasError:e}=this.state;var l=g.default.createElement(t.Fragment,null,g.default.createElement("h3",null,g.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.12em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 1856 1664"},g.default.createElement("path",{d:"M1056 1375v-190q0-14-9.5-23.5t-22.5-9.5H832q-13 0-22.5 9.5T800 1185v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19q-13-11-24-11H818q-11 0-24 11q-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126q-17 29-46.5 46t-63.5 17H160q-34 0-63.5-17T50 1601q-37-63-2-126L816 67q17-31 47-49t65-18t65 18t47 49z",fill:"currentColor"})),"We have experienced an issue. We generated a support ticket on our end to investigate this issue We are sorry about the inconvenience."),g.default.createElement(Re,{onClick:()=>this.refreshPage()},"Click to refresh"));return e?l:this.props.children}}ja.propTypes={children:b.default.any};const qa=l.css`
2260
+ `,Pa=({customStyles:e,drawerOpen:t,setDrawerOpen:l,children:a,...o})=>g.default.createElement(Wa,E({inBuiltCss:R,customStyles:e,type:"drawer",drawerOpen:t},o),a);Pa.propTypes={customStyles:b.default.object,drawerOpen:b.default.bool,setDrawerOpen:b.default.func},Pa.defaultProps={setDrawerOpen:()=>null};class Ta extends t.Component{constructor(e){super(e),this.state={hasError:!1},this.refreshPage=this.refreshPage.bind(this)}componentDidCatch(e,t){this.setState({hasError:!0})}refreshPage(){window.location.reload()}render(){const{hasError:e}=this.state;var l=g.default.createElement(t.Fragment,null,g.default.createElement("h3",null,g.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.12em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 1856 1664"},g.default.createElement("path",{d:"M1056 1375v-190q0-14-9.5-23.5t-22.5-9.5H832q-13 0-22.5 9.5T800 1185v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19q-13-11-24-11H818q-11 0-24 11q-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126q-17 29-46.5 46t-63.5 17H160q-34 0-63.5-17T50 1601q-37-63-2-126L816 67q17-31 47-49t65-18t65 18t47 49z",fill:"currentColor"})),"We have experienced an issue. We generated a support ticket on our end to investigate this issue We are sorry about the inconvenience."),g.default.createElement(ge,{onClick:()=>this.refreshPage()},"Click to refresh"));return e?l:this.props.children}}Ta.propTypes={children:b.default.any};const Fa=l.css`
2345
2261
  color: ${({theme:e})=>e.variant["primary-1"]};
2346
2262
  border: 1px solid ${({theme:e})=>e.variant["primary-1"]};
2347
2263
  background: ${({theme:e})=>P(e.primary["primary-1"],.04)};
2348
- `,Za=h.default.button`
2264
+ `,ja=h.default.button`
2349
2265
  font-size: 14px;
2350
2266
  color: ${({theme:e})=>e.variant["primary-2"]};
2351
2267
  background: ${({theme:e})=>P(e.variant["neutral-5"],.7)};
@@ -2355,19 +2271,19 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2355
2271
  outline: none;
2356
2272
  cursor: ${({disabled:e})=>e?"default":"pointer"};
2357
2273
 
2358
- ${({selected:e})=>e?qa:null}
2274
+ ${({selected:e})=>e?Fa:null}
2359
2275
  ${({customStyles:e})=>e}
2360
2276
 
2361
2277
 
2362
2278
  &:not(:first-child) {
2363
2279
  margin-left: 8px;
2364
2280
  }
2365
- `,Da=({options:e,selected:t,onClick:a,customStyles:o,disabled:r,...i})=>{const n=l.useTheme()||H,c=e.map(((e,l)=>g.default.createElement(Za,{theme:n,key:`${e.label}_${l}_${e.value}`,selected:t===e.value,onClick:()=>{a(e.value)},customStyles:o,disabled:r},e.label)));return g.default.createElement(g.default.Fragment,null,c)};Da.propTypes={options:b.default.array,selected:b.default.string,onClick:b.default.func,customStyles:b.default.object,disabled:b.default.bool},Da.defaultProps={options:[],selected:"",customStyles:{},disabled:!1};const Oa=h.default.footer`
2281
+ `,qa=({options:e,selected:t,onClick:a,customStyles:o,disabled:r,...i})=>{const n=l.useTheme()||H,c=e.map(((e,l)=>g.default.createElement(ja,{theme:n,key:`${e.label}_${l}_${e.value}`,selected:t===e.value,onClick:()=>{a(e.value)},customStyles:o,disabled:r},e.label)));return g.default.createElement(g.default.Fragment,null,c)};qa.propTypes={options:b.default.array,selected:b.default.string,onClick:b.default.func,customStyles:b.default.object,disabled:b.default.bool},qa.defaultProps={options:[],selected:"",customStyles:{},disabled:!1};const Za=h.default.footer`
2366
2282
  //Set the styles from the default styles object
2367
2283
  ${({theme:e,type:t})=>W(e,t)}
2368
2284
  // custom styles
2369
2285
  ${({customStyles:e})=>e}
2370
- `,Ga=t.forwardRef((({theme:e,customStyles:t,...l},a)=>g.default.createElement(Oa,E({ref:a,theme:e,type:"footer",customStyles:t},l),l.children)));Ga.propTypes={theme:b.default.object,customStyles:b.default.object,type:b.default.string},Oa.defaultProps={theme:b.default.object},Ga.defaultProps={theme:R,customStyles:null};const Xa=h.default.div`
2286
+ `,Da=t.forwardRef((({theme:e,customStyles:t,...l},a)=>g.default.createElement(Za,E({ref:a,theme:e,type:"footer",customStyles:t},l),l.children)));Da.propTypes={theme:b.default.object,customStyles:b.default.object,type:b.default.string},Za.defaultProps={theme:b.default.object},Da.defaultProps={theme:R,customStyles:null};const Oa=h.default.div`
2371
2287
  font-size: 14px;
2372
2288
  background-color: transparent;
2373
2289
  display: flex;
@@ -2384,7 +2300,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2384
2300
  ${({footerWidth:e})=>{if(e<650)return l.css`
2385
2301
  flex-direction: column;
2386
2302
  `}}
2387
- `,Ja=h.default.div`
2303
+ `,Ga=h.default.div`
2388
2304
  display: flex;
2389
2305
  ${({footerWidth:e})=>{if(e<650)return l.css`
2390
2306
  margin-bottom: 5px;
@@ -2394,18 +2310,18 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2394
2310
  align-items: center;
2395
2311
  margin-bottom: 0;
2396
2312
  `}}
2397
- `,Ua=h.default.div`
2313
+ `,Xa=h.default.div`
2398
2314
  margin-top: inherit;
2399
2315
  margin-bottom: inherit;
2400
2316
  ${({footerWidth:e})=>{if(e<350)return l.css`
2401
2317
  margin-bottom: 5px;
2402
2318
  `}}
2403
- `,Ya=h.default.div`
2319
+ `,Ja=h.default.div`
2404
2320
  margin: 0 10px;
2405
2321
  ${({footerWidth:e})=>{if(e<350)return l.css`
2406
2322
  display: none;
2407
2323
  `}}
2408
- `,Na=h.default.header`
2324
+ `,Ua=h.default.header`
2409
2325
 
2410
2326
  background-color: ${({theme:e})=>e.additional.white};
2411
2327
  border-bottom: 0.5px solid ${({theme:e})=>e.variant["neutral-3"]};
@@ -2413,7 +2329,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2413
2329
  ${({inBuiltCss:e,type:t})=>W(e,t)}
2414
2330
  // custom styles
2415
2331
  ${({customStyles:e})=>e}
2416
- `,Qa=({type:e,customStyles:t,...a})=>{const o=l.useTheme()||H;return g.default.createElement(Na,E({theme:o,type:"header",customStyles:t,inBuiltCss:R},a),a.children)};Qa.propTypes={customStyles:b.default.object,type:b.default.string},Qa.defaultProps={type:"header",customStyles:null};const Ka=h.default.div`
2332
+ `,Ya=({type:e,customStyles:t,...a})=>{const o=l.useTheme()||H;return g.default.createElement(Ua,E({theme:o,type:"header",customStyles:t,inBuiltCss:R},a),a.children)};Ya.propTypes={customStyles:b.default.object,type:b.default.string},Ya.defaultProps={type:"header",customStyles:null};const Na=h.default.div`
2417
2333
  display: flex;
2418
2334
  justify-content: ${({showRowsPerPage:e})=>e?"space-between":"center"};
2419
2335
  align-items: center;
@@ -2422,7 +2338,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2422
2338
  @media (max-width: 992px) {
2423
2339
  justify-content: center;
2424
2340
  }
2425
- `,$a=h.default.div`
2341
+ `,Qa=h.default.div`
2426
2342
  display: flex;
2427
2343
  justify-content: center;
2428
2344
  align-items: center;
@@ -2448,7 +2364,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2448
2364
  }
2449
2365
 
2450
2366
  ${({customIconWrapperStyles:e})=>e}
2451
- `,_a=h.default.ul`
2367
+ `,Ka=h.default.ul`
2452
2368
 
2453
2369
  display: flex;
2454
2370
  justify-content: space-between;
@@ -2505,15 +2421,15 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2505
2421
  }
2506
2422
  .icon {
2507
2423
  display: none;
2508
- }`,eo=h.default.div`
2424
+ }`,$a=h.default.div`
2509
2425
  display: flex;
2510
2426
  justify-content: center;
2511
2427
  align-items: center;
2512
- `,to=(e,t,l=1)=>{let a=e;const o=[];for(;a<=t;)o.push(a),a+=l;return o},lo=({totalRecords:e,pageNeighbours:a,onPageChanged:o,currentPageNumber:r,propsDropdownSelect:i,showRowsPerPage:n})=>{let c=i?.selectedValue?.value||10;0==c?c=1:c>e&&(c=e);const[d,s]=t.useState(r),[u,p]=t.useState(Math.ceil(e/c)),[f,m]=t.useState({from:1+(d-1)*c,to:d*c>e?e:d*c}),b=l.useTheme()||H,{width:h}=ve();a=h<512?0:h<768?1:a,t.useEffect((()=>{p(Math.ceil(e/c)),y(1)}),[c]),t.useEffect((()=>{m({from:1+(d-1)*c,to:d*c>e?e:d*c})}),[d]);const y=t=>{const l=Math.max(0,Math.min(t,u));s(l);o({currentPage:l,totalPages:u,totalRecords:e})},x=e=>t=>{t.preventDefault(),y(e)},C=e=>{e.preventDefault(),y(d-2*(a||1)-1)},v=e=>{e.preventDefault(),y(d+2*(a||1)+1)};if(!e||1===u||0===c)return null;const A=(()=>{const e=2*a+3;if(u>e+3){const t=Math.max(2,d-a),l=Math.min(u-1,d+a);let o=to(t,l);const r=t>2,i=u-l>1,n=e-(o.length+1);switch(!0){case r&&!i:o=["LEFT",...to(t-n,t-1),...o];break;case!r&&i:{const e=to(l+1,l+n);o=[...o,...e,"RIGHT"];break}default:o=["LEFT",...o,"RIGHT"]}return[1,...o,u]}return to(1,u)})();return g.default.createElement(Ka,{theme:b,showRowsPerPage:n},g.default.createElement(_a,{theme:b},g.default.createElement($a,{onClick:1!==d?x(d-1):null,disabled:1===d,theme:b},g.default.createElement(Q,{icon:"triangle-down",transform:"rotate(90deg)",color:"#BBC4CF",customstyles:{cursor:1===d?"not-allowed":"pointer"}}),g.default.createElement("span",{className:"prev-text"}," PREVIOUS")),A.map(((e,t)=>"LEFT"===e?g.default.createElement("li",{key:t,className:"page-item"},g.default.createElement("div",{className:"page-link",onClick:C},g.default.createElement("span",{className:"text"},g.default.createElement(Q,{icon:"load-more",color:"#081348",transform:"rotate(90deg)"})),g.default.createElement("span",{className:"icon"},g.default.createElement(Q,{icon:"ellipses-horizontal",color:"#081348"}))," ")):"RIGHT"===e?g.default.createElement("li",{key:t,className:"page-item"},g.default.createElement("div",{className:"page-link",onClick:v},g.default.createElement("span",{className:"text"},g.default.createElement(Q,{icon:"load-more",color:b.primary["primary-2"],transform:"rotate(-90deg)"})),g.default.createElement("span",{className:"icon"},g.default.createElement(Q,{icon:"ellipses-horizontal",color:b.primary["primary-2"]})))):g.default.createElement("li",{key:t,className:"page-item"+(d===e?" active":"")},g.default.createElement("div",{className:"page-link",onClick:x(e)},e)))),g.default.createElement($a,{onClick:d!==u?x(d+1):null,disabled:d===u,theme:b},g.default.createElement("span",{className:"next-text"}," NEXT"),g.default.createElement(Q,{icon:"triangle-down",transform:"rotate(-90deg)",color:"#BBC4CF",customstyles:{cursor:d===u?"not-allowed":"pointer"}}))),n&&g.default.createElement(eo,null,g.default.createElement("span",{style:{margin:"0 16px",color:b.variant["neutral-3"],fontSize:"12px"}},"Rows Per Page"),g.default.createElement(Xt,E({customSelectStyles:{menu:e=>({...e,border:"none",marginTop:"1px",borderTopRightRadius:"0px",borderTopLeftRadius:"0px",outline:"none",boxShadow:"0px 6px 20px rgba(56, 66, 100, 0.15)",borderRadius:"4.32px",fontSize:"14px",width:"100%",maxWidth:"100px"}),control:(e,t)=>({...e,border:"1px solid transparent",borderRadius:"6.25391px",height:"31px",minHeight:"31px",boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:"#F2F4FE",maxWidth:"100px",minWidth:"50px"}),singleValue:e=>({...e,fontSize:"12px",marginLeft:"0px",width:"100",marginRight:0})},customWrapperStyles:{marginRight:"16px"},isSearchable:!1,optionArr:[{value:10,label:10},{value:20,label:20},{value:30,label:30}]},i)),g.default.createElement("span",{style:{color:b.variant["neutral-3"],fontSize:"12px"}},f?.from,"-",f?.to," of"," ",g.default.createElement("span",{style:{color:b.variant["neutral-1"]}},e)," ","Results")))};lo.propTypes={totalRecords:b.default.number.isRequired,pageNeighbours:b.default.number,onPageChanged:b.default.func,showRowsPerPage:b.default.bool,currentPageNumber:b.default.number},lo.defaultProps={totalRecords:0,pageNeighbours:1,onPageChanged:()=>null,showRowsPerPage:!1,currentPageNumber:1};const ao=h.default.div`
2428
+ `,_a=(e,t,l=1)=>{let a=e;const o=[];for(;a<=t;)o.push(a),a+=l;return o},eo=({totalRecords:e,pageNeighbours:a,onPageChanged:o,currentPageNumber:r,propsDropdownSelect:i,showRowsPerPage:n})=>{let c=i?.selectedValue?.value||10;0==c?c=1:c>e&&(c=e);const[d,s]=t.useState(r),[u,p]=t.useState(r),[f,m]=t.useState(Math.ceil(e/c)),[b,h]=t.useState({from:0,to:0}),y=l.useTheme()||H,{width:x}=ae();a=x<512?0:x<768?1:a,t.useEffect((()=>{m(Math.ceil(e/c)),d?(C(d>f?1:d),s(0)):C(1)}),[c]),t.useEffect((()=>{h({from:1+(u-1)*c,to:u*c>e?e:u*c})}),[u]);const C=t=>{const l=Math.max(0,Math.min(t,f));p(l);o({currentPage:l,totalPages:f,totalRecords:e})},v=e=>t=>{t.preventDefault(),C(e)},A=e=>{e.preventDefault();let t=u-2*(a||1)-1;C(0===t?1:t)},w=e=>{e.preventDefault(),C(u+2*(a||1)+1)};if(!e||0===c)return null;const S=(()=>{const e=2*a+3;if(f>e+3){const t=Math.max(2,u-a),l=Math.min(f-1,u+a);let o=_a(t,l);const r=t>2,i=f-l>1,n=e-(o.length+1);switch(!0){case r&&!i:o=["LEFT",..._a(t-n,t-1),...o];break;case!r&&i:{const e=_a(l+1,l+n);o=[...o,...e,"RIGHT"];break}default:o=["LEFT",...o,"RIGHT"]}return[1,...o,f]}return _a(1,f)})();return g.default.createElement(Na,{theme:y,showRowsPerPage:n},g.default.createElement(Ka,{theme:y},g.default.createElement(Qa,{onClick:1!==u?v(u-1):null,disabled:1===u,theme:y},g.default.createElement(Q,{icon:"triangle-down",transform:"rotate(90deg)",color:"#BBC4CF",customstyles:{cursor:1===u?"not-allowed":"pointer"}}),g.default.createElement("span",{className:"prev-text"}," PREVIOUS")),S.map(((e,t)=>"LEFT"===e?g.default.createElement("li",{key:t,className:"page-item"},g.default.createElement("div",{className:"page-link",onClick:A},g.default.createElement("span",{className:"text"},g.default.createElement(Q,{icon:"load-more",color:"#081348",transform:"rotate(90deg)"})),g.default.createElement("span",{className:"icon"},g.default.createElement(Q,{icon:"ellipses-horizontal",color:"#081348"}))," ")):"RIGHT"===e?g.default.createElement("li",{key:t,className:"page-item"},g.default.createElement("div",{className:"page-link",onClick:w},g.default.createElement("span",{className:"text"},g.default.createElement(Q,{icon:"load-more",color:y.primary["primary-2"],transform:"rotate(-90deg)"})),g.default.createElement("span",{className:"icon"},g.default.createElement(Q,{icon:"ellipses-horizontal",color:y.primary["primary-2"]})))):g.default.createElement("li",{key:t,className:"page-item"+(u===e?" active":"")},g.default.createElement("div",{className:"page-link",onClick:v(e)},e)))),g.default.createElement(Qa,{onClick:u!==f?v(u+1):null,disabled:u===f,theme:y},g.default.createElement("span",{className:"next-text"}," NEXT"),g.default.createElement(Q,{icon:"triangle-down",transform:"rotate(-90deg)",color:"#BBC4CF",customstyles:{cursor:u===f?"not-allowed":"pointer"}}))),n&&g.default.createElement($a,null,g.default.createElement("span",{style:{margin:"0 16px",color:y.variant["neutral-3"],fontSize:"12px"}},"Rows Per Page"),g.default.createElement(Ot,E({customSelectStyles:{menu:e=>({...e,border:"none",marginTop:"1px",borderTopRightRadius:"0px",borderTopLeftRadius:"0px",outline:"none",boxShadow:"0px 6px 20px rgba(56, 66, 100, 0.15)",borderRadius:"4.32px",fontSize:"14px",width:"100%",maxWidth:"100px"}),control:(e,t)=>({...e,border:"1px solid transparent",borderRadius:"6.25391px",height:"31px",minHeight:"31px",boxShadow:(t.isSelected||t.isFocused)&&"none",backgroundColor:"#F2F4FE",maxWidth:"100px",minWidth:"50px"}),singleValue:e=>({...e,fontSize:"12px",marginLeft:"0px",width:"100",marginRight:0})},customWrapperStyles:{marginRight:"16px"},isSearchable:!1,optionArr:[{value:10,label:10},{value:20,label:20},{value:30,label:30}]},i)),g.default.createElement("span",{style:{color:y.variant["neutral-3"],fontSize:"12px"}},b?.from,"-",b?.to," of"," ",g.default.createElement("span",{style:{color:y.variant["neutral-1"]}},e)," ","Results")))};eo.propTypes={totalRecords:b.default.number.isRequired,pageNeighbours:b.default.number,onPageChanged:b.default.func,showRowsPerPage:b.default.bool,currentPageNumber:b.default.number},eo.defaultProps={totalRecords:0,pageNeighbours:1,onPageChanged:()=>null,showRowsPerPage:!1};const to=h.default.div`
2513
2429
  display: flex;
2514
2430
  align-items: center;
2515
2431
  color: ${({theme:e})=>e.variant["neutral-2"]};
2516
- `,oo=({...e})=>{const t=l.useTheme()||H;return g.default.createElement(ao,{theme:t},e.children)},ro=h.default.div`
2432
+ `,lo=({...e})=>{const t=l.useTheme()||H;return g.default.createElement(to,{theme:t},e.children)},ao=h.default.div`
2517
2433
  font-size: 14px;
2518
2434
  color: ${({selected:e,theme:t})=>e?t.variant["primary-1"]:null};
2519
2435
 
@@ -2529,12 +2445,12 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2529
2445
  &:not(:first-child):not(:last-child) {
2530
2446
  margin: 0 22px;
2531
2447
  }
2532
- `;(oo.PageItem=function({selected:e,...t}){const a=l.useTheme()||H;return g.default.createElement(ro,E({selected:e,theme:a},t),t.children)}).propTypes={selected:b.default.bool},oo.PageItem.defaultProps={selected:!1};const io=h.default.div`
2448
+ `;(lo.PageItem=function({selected:e,...t}){const a=l.useTheme()||H;return g.default.createElement(ao,E({selected:e,theme:a},t),t.children)}).propTypes={selected:b.default.bool},lo.PageItem.defaultProps={selected:!1};const oo=h.default.div`
2533
2449
  display: flex;
2534
2450
  justify-content: center;
2535
2451
  align-items: center;
2536
2452
  ${({customParentStyles:e})=>e}
2537
- `,no=h.default.span`
2453
+ `,ro=h.default.span`
2538
2454
  background-color: ${({selected:e,theme:t})=>e?t.variant["neutral-5"]:"transparent"};
2539
2455
  color: ${({selected:e,theme:t})=>e?t.variant["primary-2"]:t.variant["neutral-3"]};
2540
2456
  padding: 8px 14px;
@@ -2546,7 +2462,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2546
2462
  font-size: 14px;
2547
2463
 
2548
2464
  ${({customItemStyles:e})=>e}
2549
- `,co=h.default.div`
2465
+ `,io=h.default.div`
2550
2466
  display: flex;
2551
2467
  justify-content: center;
2552
2468
  align-items: center;
@@ -2569,16 +2485,16 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2569
2485
  }
2570
2486
 
2571
2487
  ${({customIconWrapperStyles:e})=>e}
2572
- `,so=h.default.div`
2488
+ `,no=h.default.div`
2573
2489
  padding: 0 15px;
2574
- `,uo=h.default.div`
2490
+ `,co=h.default.div`
2575
2491
  display: flex;
2576
2492
  align-items: center;
2577
2493
  justify-content: center;
2578
2494
  color: ${({theme:e})=>e.variant["neutral-2"]};
2579
2495
 
2580
2496
  ${({customLeftWrapperStyles:e})=>e}
2581
- `,po=h.default.div`
2497
+ `,so=h.default.div`
2582
2498
  display: flex;
2583
2499
  margin: 0;
2584
2500
  align-items: center;
@@ -2591,7 +2507,7 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2591
2507
  margin: 0 10px;
2592
2508
  color: ${({theme:e})=>e.variant["neutral-2"]};
2593
2509
  }
2594
- `,fo=({selectedPage:e,setSelectedPage:a,totalPage:o,customItemStyles:r,customLeftWrapperStyles:i,customIconWrapperStyles:n,previousText:c,nextText:d,pageToShow:s,totalResults:u,showResultPerPage:p,customParentStyles:f,customRightWrapperStyles:m,...b})=>{const h=l.useTheme()||H,[y,x]=t.useState([]);let C=s>o?o:s;t.useEffect((()=>{x(Array.from({length:C},((e,t)=>t+1)))}),[o,s,C]);const v=t=>{let l=[];"increase"===t&&y[C-1]<=o&&e!==y[C-1]?a(e+1):"increase"===t&&y[C-1]<o?(l=Array.from({length:C},((e,t)=>t+y[0]+1)),x(l),a(e+1)):"decrease"===t&&y[0]<=e-1?a(e-1):"decrease"===t&&e>1&&(x(Array.from({length:C},((e,t)=>t+y[0]-1))),a(e-1))};return g.default.createElement(io,{customParentStyles:f}," ",g.default.createElement(uo,E({theme:h,customLeftWrapperStyles:i},b),g.default.createElement(co,E({onClick:()=>v("decrease"),disabled:1===e,theme:h,customIconWrapperStyles:n},b),g.default.createElement(Q,{icon:"triangle-down",transform:"rotate(90deg)",color:h.variant["neutral-3"]}),g.default.createElement("span",{className:"prev-text"}," ",c)),g.default.createElement(so,b,y.map(((t,l)=>g.default.createElement(no,{key:l,theme:h,selected:e===t,onClick:()=>a(t),customItemStyles:r},t)))),g.default.createElement(co,{onClick:()=>v("increase"),disabled:e===o,theme:h,customIconWrapperStyles:n},g.default.createElement("span",{className:"next-text"}," ",d),g.default.createElement(Q,{icon:"triangle-down",transform:"rotate(-90deg)",color:h.variant["neutral-3"]}))),p&&g.default.createElement(po,{theme:h,customRightWrapperStyles:m},g.default.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:h.variant["neutral-3"]}),g.default.createElement("p",{style:{marginBottom:0}},g.default.createElement("span",null,"OF")," ",u," ",g.default.createElement("span",null,"RESULTS"))))};fo.propTypes={customItemStyles:b.default.object,selectedPage:b.default.number,customLeftWrapperStyles:b.default.object,customIconWrapperStyles:b.default.object,previousText:b.default.string,nextText:b.default.string,pageToShow:b.default.number,totalResults:b.default.number,showResultPerPage:b.default.bool,customParentStyles:b.default.object,customRightWrapperStyles:b.default.object},fo.defaultProps={selectedPage:1,customItemStyles:{},customLeftWrapperStyles:{},customIconWrapperStyles:{},previousText:"PREVIOUS",nextText:"NEXT",pageToShow:5,totalResults:0,showResultPerPage:!1,customParentStyles:{},customRightWrapperStyles:{}};const mo=h.default.div`
2510
+ `,uo=({selectedPage:e,setSelectedPage:a,totalPage:o,customItemStyles:r,customLeftWrapperStyles:i,customIconWrapperStyles:n,previousText:c,nextText:d,pageToShow:s,totalResults:u,showResultPerPage:p,customParentStyles:f,customRightWrapperStyles:m,...b})=>{const h=l.useTheme()||H,[y,x]=t.useState([]);let C=s>o?o:s;t.useEffect((()=>{x(Array.from({length:C},((e,t)=>t+1)))}),[o,s,C]);const v=t=>{let l=[];"increase"===t&&y[C-1]<=o&&e!==y[C-1]?a(e+1):"increase"===t&&y[C-1]<o?(l=Array.from({length:C},((e,t)=>t+y[0]+1)),x(l),a(e+1)):"decrease"===t&&y[0]<=e-1?a(e-1):"decrease"===t&&e>1&&(x(Array.from({length:C},((e,t)=>t+y[0]-1))),a(e-1))};return g.default.createElement(oo,{customParentStyles:f}," ",g.default.createElement(co,E({theme:h,customLeftWrapperStyles:i},b),g.default.createElement(io,E({onClick:()=>v("decrease"),disabled:1===e,theme:h,customIconWrapperStyles:n},b),g.default.createElement(Q,{icon:"triangle-down",transform:"rotate(90deg)",color:h.variant["neutral-3"]}),g.default.createElement("span",{className:"prev-text"}," ",c)),g.default.createElement(no,b,y.map(((t,l)=>g.default.createElement(ro,{key:l,theme:h,selected:e===t,onClick:()=>a(t),customItemStyles:r},t)))),g.default.createElement(io,{onClick:()=>v("increase"),disabled:e===o,theme:h,customIconWrapperStyles:n},g.default.createElement("span",{className:"next-text"}," ",d),g.default.createElement(Q,{icon:"triangle-down",transform:"rotate(-90deg)",color:h.variant["neutral-3"]}))),p&&g.default.createElement(so,{theme:h,customRightWrapperStyles:m},g.default.createElement(Ot,{optionArr:[{value:"10",label:"10"},{value:"20",label:"20"},{value:"30",label:"30"}],value:{value:"10",label:"10"},customWrapperStyles:{width:"fit-content"},isDisabled:!0,iconColor:h.variant["neutral-3"]}),g.default.createElement("p",{style:{marginBottom:0}},g.default.createElement("span",null,"OF")," ",u," ",g.default.createElement("span",null,"RESULTS"))))};uo.propTypes={customItemStyles:b.default.object,selectedPage:b.default.number,customLeftWrapperStyles:b.default.object,customIconWrapperStyles:b.default.object,previousText:b.default.string,nextText:b.default.string,pageToShow:b.default.number,totalResults:b.default.number,showResultPerPage:b.default.bool,customParentStyles:b.default.object,customRightWrapperStyles:b.default.object},uo.defaultProps={selectedPage:1,customItemStyles:{},customLeftWrapperStyles:{},customIconWrapperStyles:{},previousText:"PREVIOUS",nextText:"NEXT",pageToShow:5,totalResults:0,showResultPerPage:!1,customParentStyles:{},customRightWrapperStyles:{}};const po=h.default.div`
2595
2511
  box-sizing: border-box;
2596
2512
  display: flex;
2597
2513
  justify-content: center;
@@ -2599,8 +2515,8 @@ cursor: ${({disabled:e})=>e?"not-allowed":"text"};
2599
2515
  width: auto;
2600
2516
 
2601
2517
  ${({size:e})=>l.css`height: ${e}px;`}
2602
- `,bo=h.default.div`
2603
- `,go=h.default.div`
2518
+ `,fo=h.default.div`
2519
+ `,mo=h.default.div`
2604
2520
  box-sizing: border-box;
2605
2521
  display: flex;
2606
2522
  justify-content: center;
@@ -2629,11 +2545,11 @@ svg {
2629
2545
  `}
2630
2546
  }
2631
2547
  }
2632
- `,ho=({theme:e,toggleSet:t,slide:l,color:a,size:o,transform:r,ratingValue:i,starVal:n,hover:c,...d})=>g.default.createElement(go,E({theme:e,ratingValue:i,starVal:n,hover:c,toggleSet:t,color:a,size:o,transform:r},d),g.default.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",id:"star_filled","data-name":"star filled",xmlns:"http://www.w3.org/2000/svg"},g.default.createElement("defs",null,g.default.createElement("clipPath",{id:"starFilled"},g.default.createElement("path",{id:"Star",d:"M10,15,4.122,18.09l1.123-6.545L.489,6.91l6.572-.955L10,0l2.939,5.955,6.572.955-4.755,4.635,1.123,6.545Z",transform:"translate(2 3)",stroke:"#000",strokeMiterlimit:"10",strokeWidth:"1.5"}))),g.default.createElement("rect",{x:"0",y:"0",fill:"rgb(217,217,217)",width:"100%",height:"100%",clipPath:"url(#starFilled)"}),g.default.createElement("rect",{x:l,y:"0",fill:a,width:"100%",height:"100%",clipPath:"url(#starFilled)"})));function yo(e,t){let l=5*e/t;const a=[],o=l;for(let e=0;e<5;e++){if(l-1>=0)a.push("0");else if(l-1<0&&l-1>-1){const e=(24*l-24).toString();a.push(e)}else a.push("-24");l-=1}return{array:a,value:o}}function xo(e,t){return 100*e/t}const Co=({type:e,customStylesContainer:a,customStylesStar:o,customStylesPercentage:r,color:i,size:n,handleClick:c,transform:d,maxRange:s,value:u,toggleStar:p,toggleSet:f,identifier:m,...b})=>{l.useTheme();const[h,y]=t.useState(void 0),[x,C]=t.useState(void 0),[v,A]=t.useState(void 0),[w,S]=t.useState(void 0);t.useEffect((()=>{y(yo(u,s).array),C(yo(u,s).value),A(xo(u,s))}),[u,s]),t.useEffect((()=>{w?y(yo(w,s).array):(y(yo(u,s).array),C(yo(u,s).value),A(xo(u,s)))}),[w]);const k=g.default.createElement(g.default.Fragment,null,h?.map(((e,t)=>{const l=20*(t+1);return g.default.createElement(ho,{ratingValue:l,starVal:x,hover:w,toggleSet:f,onClick:f?()=>c(l):null,onMouseEnter:f?()=>{S(l)}:null,onMouseLeave:f?()=>{S(null)}:null,slide:e,color:i,className:"star",size:n,transform:d,key:m?.concat(t),customStyles:o})})));return g.default.createElement(mo,E({customStyles:a,type:e,size:n},b,{className:"container"}),p?k:g.default.createElement(bo,{type:e,customStyles:r},v,"%"))};Co.propTypes={customStylesContainer:b.default.object,customStylesStar:b.default.object,customStylesPercentage:b.default.object,type:b.default.string,color:b.default.string,size:b.default.number,transform:b.default.object,handleClick:b.default.func,maxRange:b.default.number,value:b.default.number,toggleStar:b.default.bool,toggleSet:b.default.bool,identifier:b.default.string},Co.defaultProps={customStylesContainer:null,customStylesStar:null,customStylesPercentage:null,type:"star",maxRange:100,value:0,identifier:"ratingKey",toggleStar:!0,toggleSet:!1,color:"#F7B001"};const vo=h.default.div`
2548
+ `,bo=({theme:e,toggleSet:t,slide:l,color:a,size:o,transform:r,ratingValue:i,starVal:n,hover:c,...d})=>g.default.createElement(mo,E({theme:e,ratingValue:i,starVal:n,hover:c,toggleSet:t,color:a,size:o,transform:r},d),g.default.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",id:"star_filled","data-name":"star filled",xmlns:"http://www.w3.org/2000/svg"},g.default.createElement("defs",null,g.default.createElement("clipPath",{id:"starFilled"},g.default.createElement("path",{id:"Star",d:"M10,15,4.122,18.09l1.123-6.545L.489,6.91l6.572-.955L10,0l2.939,5.955,6.572.955-4.755,4.635,1.123,6.545Z",transform:"translate(2 3)",stroke:"#000",strokeMiterlimit:"10",strokeWidth:"1.5"}))),g.default.createElement("rect",{x:"0",y:"0",fill:"rgb(217,217,217)",width:"100%",height:"100%",clipPath:"url(#starFilled)"}),g.default.createElement("rect",{x:l,y:"0",fill:a,width:"100%",height:"100%",clipPath:"url(#starFilled)"})));function go(e,t){let l=5*e/t;const a=[],o=l;for(let e=0;e<5;e++){if(l-1>=0)a.push("0");else if(l-1<0&&l-1>-1){const e=(24*l-24).toString();a.push(e)}else a.push("-24");l-=1}return{array:a,value:o}}function ho(e,t){return 100*e/t}const yo=({type:e,customStylesContainer:a,customStylesStar:o,customStylesPercentage:r,color:i,size:n,handleClick:c,transform:d,maxRange:s,value:u,toggleStar:p,toggleSet:f,identifier:m,...b})=>{l.useTheme();const[h,y]=t.useState(void 0),[x,C]=t.useState(void 0),[v,A]=t.useState(void 0),[w,S]=t.useState(void 0);t.useEffect((()=>{y(go(u,s).array),C(go(u,s).value),A(ho(u,s))}),[u,s]),t.useEffect((()=>{w?y(go(w,s).array):(y(go(u,s).array),C(go(u,s).value),A(ho(u,s)))}),[w]);const k=g.default.createElement(g.default.Fragment,null,h?.map(((e,t)=>{const l=20*(t+1);return g.default.createElement(bo,{ratingValue:l,starVal:x,hover:w,toggleSet:f,onClick:f?()=>c(l):null,onMouseEnter:f?()=>{S(l)}:null,onMouseLeave:f?()=>{S(null)}:null,slide:e,color:i,className:"star",size:n,transform:d,key:m?.concat(t),customStyles:o})})));return g.default.createElement(po,E({customStyles:a,type:e,size:n},b,{className:"container"}),p?k:g.default.createElement(fo,{type:e,customStyles:r},v,"%"))};yo.propTypes={customStylesContainer:b.default.object,customStylesStar:b.default.object,customStylesPercentage:b.default.object,type:b.default.string,color:b.default.string,size:b.default.number,transform:b.default.object,handleClick:b.default.func,maxRange:b.default.number,value:b.default.number,toggleStar:b.default.bool,toggleSet:b.default.bool,identifier:b.default.string},yo.defaultProps={customStylesContainer:null,customStylesStar:null,customStylesPercentage:null,type:"star",maxRange:100,value:0,identifier:"ratingKey",toggleStar:!0,toggleSet:!1,color:"#F7B001"};const xo=h.default.div`
2633
2549
  .form-check-input {
2634
2550
  accent-color: ${({theme:e})=>e.primary["primary-1"]};
2635
2551
  }
2636
- `,Ao=({customStyles:e,inBuiltCss:t,type:a="table",sortIcon:o,data:r,tableColumns:i,progressPending:n,defaultSortFieldId:c,handleOnSort:d,sortServer:s,progressComponent:u,responsive:p,conditionalRowStyles:f,fixedHeader:m,fixedHeaderScrollHeight:b,checkboxColor:h,...y})=>{let x={};if(t&&t[a]&&(x=t[a]),e)for(const t in e)x[t]=e[t];const C=l.useTheme()||H,v=g.default.forwardRef((({onClick:e,...t},l)=>g.default.createElement(vo,{theme:C},g.default.createElement("input",E({type:"checkbox",className:"form-check-input",ref:l,onClick:e},t)))));return g.default.createElement(S.default,E({responsive:p,data:r,columns:i,noHeader:!0,highlightOnHover:!0,sortIcon:o,progressPending:n,customStyles:x,defaultSortFieldId:c,progressComponent:u||void 0,sortServer:s,onSort:(e,t,l)=>{d(e,t,l)},conditionalRowStyles:f,fixedHeader:m,fixedHeaderScrollHeight:b,selectableRowsComponent:v},y))};Ao.propTypes={inBuiltCss:b.default.object,sortIcon:b.default.any,data:b.default.array,tableColumns:b.default.array,progressPending:b.default.bool,progressComponent:b.default.any,defaultSortFieldId:b.default.number,sortServer:b.default.bool,handleOnSort:b.default.any,responsive:b.default.bool,conditionalRowStyles:b.default.array,fixedHeader:b.default.bool,fixedHeaderScrollHeight:b.default.string,customStyle:b.default.object},Ao.defaultProps={inBuiltCss:R,sortIcon:g.default.createElement(Q,{icon:"arrow-down",size:11,color:"#333333",style:{transform:"scaleX(0.7) scaleY(0.7) translate(5px, -3px)"}}),data:[],tableColumns:[],progressPending:!1,defaultSortFieldId:null,handleOnSort:(e,t,l)=>{},sortServer:null,progressComponent:void 0,responsive:!0,fixedHeader:!0,fixedHeaderScrollHeight:"100%"};const wo=({title:e,subtitle:t,wrapperStyle:a,imgLink:o,imgStyle:r,iconSize:i})=>{const n=l.useTheme()||H,c={fontSize:"26px",fontWeight:"bold",color:`${n.additional["text-color"]}`,lineHeight:"36px",display:"flex",gap:"14px",alignItems:"flex-start",paddingLeft:"25px"},d={fontSize:"13px",color:`${n.neutral["neutral-2"]}`,lineHeight:"24px",paddingLeft:"25px"};return g.default.createElement("div",{style:a},g.default.createElement("div",{style:c},o?g.default.createElement("img",{src:o,alt:"userIcon",style:r}):g.default.createElement(Q,{icon:"user-icon",size:i,color:n.primary["primary-1"]})," ",g.default.createElement("h4",null,e)),g.default.createElement("div",{style:d},g.default.createElement("p",null,t)))};wo.propTypes={size:b.default.number},wo.defaultProps={iconSize:23};const So=l.createGlobalStyle`
2552
+ `,Co=({customStyles:e,inBuiltCss:t,type:a="table",sortIcon:o,data:r,tableColumns:i,progressPending:n,defaultSortFieldId:c,handleOnSort:d,sortServer:s,progressComponent:u,responsive:p,conditionalRowStyles:f,fixedHeader:m,fixedHeaderScrollHeight:b,checkboxColor:h,...y})=>{let x={};if(t&&t[a]&&(x=t[a]),e)for(const t in e)x[t]=e[t];const C=l.useTheme()||H,v=g.default.forwardRef((({onClick:e,...t},l)=>g.default.createElement(xo,{theme:C},g.default.createElement("input",E({type:"checkbox",className:"form-check-input",ref:l,onClick:e},t)))));return g.default.createElement(S.default,E({responsive:p,data:r,columns:i,noHeader:!0,highlightOnHover:!0,sortIcon:o,progressPending:n,customStyles:x,defaultSortFieldId:c,progressComponent:u||void 0,sortServer:s,onSort:(e,t,l)=>{d(e,t,l)},conditionalRowStyles:f,fixedHeader:m,fixedHeaderScrollHeight:b,selectableRowsComponent:v},y))};Co.propTypes={inBuiltCss:b.default.object,sortIcon:b.default.any,data:b.default.array,tableColumns:b.default.array,progressPending:b.default.bool,progressComponent:b.default.any,defaultSortFieldId:b.default.number,sortServer:b.default.bool,handleOnSort:b.default.any,responsive:b.default.bool,conditionalRowStyles:b.default.array,fixedHeader:b.default.bool,fixedHeaderScrollHeight:b.default.string,customStyle:b.default.object},Co.defaultProps={inBuiltCss:R,sortIcon:g.default.createElement(Q,{icon:"arrow-down",size:11,color:"#333333",style:{transform:"scaleX(0.7) scaleY(0.7) translate(5px, -3px)"}}),data:[],tableColumns:[],progressPending:!1,defaultSortFieldId:null,handleOnSort:(e,t,l)=>{},sortServer:null,progressComponent:void 0,responsive:!0,fixedHeader:!0,fixedHeaderScrollHeight:"100%"};const vo=({title:e,subtitle:t,wrapperStyle:a,imgLink:o,imgStyle:r,iconSize:i})=>{const n=l.useTheme()||H,c={fontSize:"26px",fontWeight:"bold",color:`${n.additional["text-color"]}`,lineHeight:"36px",display:"flex",gap:"14px",alignItems:"flex-start",paddingLeft:"25px"},d={fontSize:"13px",color:`${n.neutral["neutral-2"]}`,lineHeight:"24px",paddingLeft:"25px"};return g.default.createElement("div",{style:a},g.default.createElement("div",{style:c},o?g.default.createElement("img",{src:o,alt:"userIcon",style:r}):g.default.createElement(Q,{icon:"user-icon",size:i,color:n.primary["primary-1"]})," ",g.default.createElement("h4",null,e)),g.default.createElement("div",{style:d},g.default.createElement("p",null,t)))};vo.propTypes={size:b.default.number},vo.defaultProps={iconSize:23};const Ao=l.createGlobalStyle`
2637
2553
  @font-face {
2638
2554
  font-family: "Averta";
2639
2555
  font-weight: 100;
@@ -2741,7 +2657,7 @@ svg {
2741
2657
  * {
2742
2658
  font-family: "Averta";
2743
2659
  }
2744
- `,ko=h.default.span`
2660
+ `,wo=h.default.span`
2745
2661
  background: transparent;
2746
2662
  position: relative;
2747
2663
  display: flex;
@@ -2750,12 +2666,12 @@ svg {
2750
2666
  &>span:not(:first-of-type){
2751
2667
  margin-left: -13px;
2752
2668
  }
2753
- `,Eo=h.default.p`
2669
+ `,So=h.default.p`
2754
2670
  color: ${({theme:e,variantQty:t})=>e.variant[t]};
2755
2671
  margin: 0;
2756
2672
  margin-left: 7px;
2757
2673
  font-size: 16px;
2758
- `,Vo=({items:e,size:t,variantCircle:a,variantName:o,variantQty:r,user:i,colorCircle:n,colorBorderCircle:c,...d})=>{const s=l.useTheme()||H;return g.default.createElement(ko,d,e?.map(((l,r)=>{let i={},d={};return i.backgroundColor=n?`${s.variant[n]}`:`${s.variant[a]}`,0!==r&&(i.border=c?`2px solid ${c}`:`2px solid ${s.variant[a]}`,d.border=c?`2px solid ${c}`:`2px solid ${s.variant[a]}`),1===e.length?g.default.createElement(pe,{key:l.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${s.variant[{variantName:o}]}`},size:t,toggleName:!0,user:l,customStylesCircle:i,customStylesImage:d}):r<=3?g.default.createElement(pe,{key:l.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${s.variant[{variantName:o}]}`},size:t,toggleName:!1,user:l,customStylesCircle:i,customStylesImage:d}):null})),e.length-4>0?g.default.createElement(Eo,{theme:s,variantQty:r},"+",e.length-4):null)};Vo.propTypes={variantCircle:b.default.string,variantName:b.default.string,size:b.default.oneOf(["SM","MD","LG"]),user:b.default.object,theme:b.default.object,colorCircle:b.default.string,colorBorderCircle:b.default.string,variantQty:b.default.string},Vo.defaultProps={variantCircle:"primary-1",variantName:"primary-2",size:"MD",user:{userName:"1"},colorCircle:null,colorBorderCircle:"#FFFFFF",variantQty:"primary-1"};const Mo=h.default.div`
2674
+ `,ko=({items:e,size:t,variantCircle:a,variantName:o,variantQty:r,user:i,colorCircle:n,colorBorderCircle:c,...d})=>{const s=l.useTheme()||H;return g.default.createElement(wo,d,e?.map(((l,r)=>{let i={},d={};return i.backgroundColor=n?`${s.variant[n]}`:`${s.variant[a]}`,0!==r&&(i.border=c?`2px solid ${c}`:`2px solid ${s.variant[a]}`,d.border=c?`2px solid ${c}`:`2px solid ${s.variant[a]}`),1===e.length?g.default.createElement(ze,{key:l.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${s.variant[{variantName:o}]}`},size:t,toggleName:!0,user:l,customStylesCircle:i,customStylesImage:d}):r<=3?g.default.createElement(ze,{key:l.id,customStylesContainer:{width:"auto"},customStylesName:{color:`${s.variant[{variantName:o}]}`},size:t,toggleName:!1,user:l,customStylesCircle:i,customStylesImage:d}):null})),e.length-4>0?g.default.createElement(So,{theme:s,variantQty:r},"+",e.length-4):null)};ko.propTypes={variantCircle:b.default.string,variantName:b.default.string,size:b.default.oneOf(["SM","MD","LG"]),user:b.default.object,theme:b.default.object,colorCircle:b.default.string,colorBorderCircle:b.default.string,variantQty:b.default.string},ko.defaultProps={variantCircle:"primary-1",variantName:"primary-2",size:"MD",user:{userName:"1"},colorCircle:null,colorBorderCircle:"#FFFFFF",variantQty:"primary-1"};const Eo=h.default.div`
2759
2675
  max-width: inherit;
2760
2676
  width: inherit;
2761
2677
  font-size: 14px;
@@ -2781,7 +2697,7 @@ svg {
2781
2697
  &[data-popper-placement*='top'] .tooltip-arrow::after {
2782
2698
  border-color: ${({theme:e,variantTPbg:t})=>t?e.variant[t]:"#6b747f"} transparent transparent transparent;
2783
2699
  }
2784
- `,zo=h.default.div`
2700
+ `,Vo=h.default.div`
2785
2701
  display: flex;
2786
2702
  color: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2787
2703
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:a})=>t?e.variant[a]:e.variant[l]};
@@ -2796,24 +2712,24 @@ svg {
2796
2712
  svg path {
2797
2713
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2798
2714
  }
2799
- `,Bo=h.default.div`
2715
+ `,Mo=h.default.div`
2800
2716
  display: flex;
2801
2717
  justify-content: space-evenly;
2802
2718
  flex-grow: 1;
2803
2719
  align-items: stretch;
2804
- `,Lo=({label:e,index:t,style:a,items:r,variant:i,borderVariant:n,bgVariant:c,variantDisable:d,variantBgDisable:s,disabled:u,divider:p,indexPrefix:f,onClick:m,icon:b,variantTPtext:h,variantTPbg:y,...x})=>{l.useTheme();const{getArrowProps:C,getTooltipProps:v,setTooltipRef:A,setTriggerRef:w,visible:S}=o.usePopperTooltip();return g.default.createElement(g.default.Fragment,null,g.default.createElement(Bo,{ref:w},g.default.createElement(zo,{variant:i,borderVariant:n,bgVariant:c,variantDisable:d,variantBgDisable:s,disabled:u,onClick:u?null:()=>{m(m)}},b),p),S&&g.default.createElement(Mo,E({variantTPtext:h,variantTPbg:y,ref:A},v({className:"tooltip-container"})),e,g.default.createElement("div",C({className:"tooltip-arrow"}))))};Lo.propTypes={variant:b.default.string,borderVariant:b.default.string,bgVariant:b.default.string,variantDisable:b.default.string,variantBgDisable:b.default.string,indexPrefix:b.default.string,theme:b.default.object,items:b.default.array,allDisabled:b.default.bool,divider:b.default.any,onClick:b.default.func,variantTPtext:b.default.string,variantTPbg:b.default.string},Bo.defaultProps={theme:H},zo.defaultProps={theme:H},Mo.defaultProps={theme:H},Lo.defaultProps={theme:H,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white",variantTPtext:null,variantTPbg:null};const Io=h.default.div`
2720
+ `,zo=({label:e,index:t,style:a,items:r,variant:i,borderVariant:n,bgVariant:c,variantDisable:d,variantBgDisable:s,disabled:u,divider:p,indexPrefix:f,onClick:m,icon:b,variantTPtext:h,variantTPbg:y,...x})=>{l.useTheme();const{getArrowProps:C,getTooltipProps:v,setTooltipRef:A,setTriggerRef:w,visible:S}=o.usePopperTooltip();return g.default.createElement(g.default.Fragment,null,g.default.createElement(Mo,{ref:w},g.default.createElement(Vo,{variant:i,borderVariant:n,bgVariant:c,variantDisable:d,variantBgDisable:s,disabled:u,onClick:u?null:()=>{m(m)}},b),p),S&&g.default.createElement(Eo,E({variantTPtext:h,variantTPbg:y,ref:A},v({className:"tooltip-container"})),e,g.default.createElement("div",C({className:"tooltip-arrow"}))))};zo.propTypes={variant:b.default.string,borderVariant:b.default.string,bgVariant:b.default.string,variantDisable:b.default.string,variantBgDisable:b.default.string,indexPrefix:b.default.string,theme:b.default.object,items:b.default.array,allDisabled:b.default.bool,divider:b.default.any,onClick:b.default.func,variantTPtext:b.default.string,variantTPbg:b.default.string},Mo.defaultProps={theme:H},Vo.defaultProps={theme:H},Eo.defaultProps={theme:H},zo.defaultProps={theme:H,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white",variantTPtext:null,variantTPbg:null};const Bo=h.default.div`
2805
2721
  display: flex;
2806
2722
  justify-content: space-evenly;
2807
2723
  align-items: stretch;
2808
2724
  height: 42px;
2809
2725
  border: 1px solid ${({theme:e,borderVariant:t})=>e.variant[t]};
2810
2726
  border-radius: 3px;
2811
- `,Ho=h.default.div`
2727
+ `,Lo=h.default.div`
2812
2728
  display: flex;
2813
2729
  justify-content: space-evenly;
2814
2730
  flex-grow: 1;
2815
2731
  align-items: stretch;
2816
- `,Ro=h.default.div`
2732
+ `,Io=h.default.div`
2817
2733
  display: flex;
2818
2734
  color: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2819
2735
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:a})=>t?e.variant[a]:e.variant[l]};
@@ -2828,19 +2744,19 @@ svg {
2828
2744
  svg path {
2829
2745
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2830
2746
  }
2831
- `,Wo=({style:e,items:t,variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,allDisabled:c,divider:d,indexPrefix:s,onClick:u,...p})=>(l.useTheme(),g.default.createElement(Io,E({variant:a,borderVariant:o},p),t?.map(((e,l)=>g.default.createElement(Ho,{key:s.concat(l)},g.default.createElement(Ro,{variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,title:e.label,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>u(e.label)},e.icon),t?.length-1!==l&&d)))));Wo.propTypes={variant:b.default.string,borderVariant:b.default.string,bgVariant:b.default.string,variantDisable:b.default.string,variantBgDisable:b.default.string,indexPrefix:b.default.string,theme:b.default.object,items:b.default.array,allDisabled:b.default.bool,divider:b.default.any,onClick:b.default.func},Io.defaultProps={theme:H},Ho.defaultProps={theme:H},Ro.defaultProps={theme:H},Wo.defaultProps={theme:H,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white"};const Po=h.default.div`
2747
+ `,Ho=({style:e,items:t,variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,allDisabled:c,divider:d,indexPrefix:s,onClick:u,...p})=>(l.useTheme(),g.default.createElement(Bo,E({variant:a,borderVariant:o},p),t?.map(((e,l)=>g.default.createElement(Lo,{key:s.concat(l)},g.default.createElement(Io,{variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,title:e.label,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>u(e.label)},e.icon),t?.length-1!==l&&d)))));Ho.propTypes={variant:b.default.string,borderVariant:b.default.string,bgVariant:b.default.string,variantDisable:b.default.string,variantBgDisable:b.default.string,indexPrefix:b.default.string,theme:b.default.object,items:b.default.array,allDisabled:b.default.bool,divider:b.default.any,onClick:b.default.func},Bo.defaultProps={theme:H},Lo.defaultProps={theme:H},Io.defaultProps={theme:H},Ho.defaultProps={theme:H,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white"};const Ro=h.default.div`
2832
2748
  display: flex;
2833
2749
  justify-content: space-evenly;
2834
2750
  align-items: stretch;
2835
2751
  height: 42px;
2836
2752
  border: 1px solid ${({theme:e,borderVariant:t})=>e.variant[t]};
2837
2753
  border-radius: 3px;
2838
- `,To=h.default.div`
2754
+ `,Wo=h.default.div`
2839
2755
  display: flex;
2840
2756
  justify-content: space-evenly;
2841
2757
  flex-grow: 1;
2842
2758
  align-items: stretch;
2843
- `,Fo=h.default.div`
2759
+ `,Po=h.default.div`
2844
2760
  display: flex;
2845
2761
  color: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2846
2762
  background: ${({theme:e,disabled:t,bgVariant:l,variantBgDisable:a})=>t?e.variant[a]:e.variant[l]};
@@ -2855,28 +2771,28 @@ svg {
2855
2771
  svg path {
2856
2772
  fill: ${({theme:e,disabled:t,variant:l,variantDisable:a})=>t?e.variant[a]:e.variant[l]};
2857
2773
  }
2858
- `,jo=({style:e,items:t,variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,allDisabled:c,divider:d,indexPrefix:s,onClick:u,variantTPtext:p,variantTPbg:f,...m})=>(l.useTheme(),g.default.createElement(Po,E({variant:a,borderVariant:o},m),t?.map(((e,l)=>g.default.createElement(Lo,{key:s.concat(l),variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>{u(e.label)},divider:t?.length-1!==l&&d,icon:e.icon,index:l,label:e.label,variantTPtext:p,variantTPbg:f})))));jo.propTypes={variant:b.default.string,borderVariant:b.default.string,bgVariant:b.default.string,variantDisable:b.default.string,variantBgDisable:b.default.string,indexPrefix:b.default.string,theme:b.default.object,items:b.default.array,allDisabled:b.default.bool,divider:b.default.any,onClick:b.default.func,variantTPtext:b.default.string,variantTPbg:b.default.string},Po.defaultProps={theme:H},To.defaultProps={theme:H},Fo.defaultProps={theme:H},jo.defaultProps={theme:H,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white",variantTPtext:null,variantTPbg:null};const qo=h.default.div`
2774
+ `,To=({style:e,items:t,variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,allDisabled:c,divider:d,indexPrefix:s,onClick:u,variantTPtext:p,variantTPbg:f,...m})=>(l.useTheme(),g.default.createElement(Ro,E({variant:a,borderVariant:o},m),t?.map(((e,l)=>g.default.createElement(zo,{key:s.concat(l),variant:a,borderVariant:o,bgVariant:r,variantDisable:i,variantBgDisable:n,disabled:c||e.disabled,onClick:c||e.disabled?null:()=>{u(e.label)},divider:t?.length-1!==l&&d,icon:e.icon,index:l,label:e.label,variantTPtext:p,variantTPbg:f})))));To.propTypes={variant:b.default.string,borderVariant:b.default.string,bgVariant:b.default.string,variantDisable:b.default.string,variantBgDisable:b.default.string,indexPrefix:b.default.string,theme:b.default.object,items:b.default.array,allDisabled:b.default.bool,divider:b.default.any,onClick:b.default.func,variantTPtext:b.default.string,variantTPbg:b.default.string},Ro.defaultProps={theme:H},Wo.defaultProps={theme:H},Po.defaultProps={theme:H},To.defaultProps={theme:H,indexPrefix:"btn-group",borderVariant:"neutral-4",bgVariant:"white",variantDisable:"neutral-2",variantBgDisable:"white",variantTPtext:null,variantTPbg:null};const Fo=h.default.div`
2859
2775
  background: ${({theme:e,variant:t,bgColor:l})=>l||e.variant[t]};
2860
2776
  border: 1.3px solid ${({theme:e,variant:t,borderColor:l})=>l||e.variant[t]};
2861
2777
  border-radius: 50%;
2862
2778
  width: ${({size:e})=>e}px;
2863
2779
  height: ${({size:e})=>e}px;
2864
2780
  box-sizing: border-box;
2865
- `,Zo=({variant:e,bgColor:t,borderColor:a,...o})=>(l.useTheme(),g.default.createElement(qo,E({variant:e,borderColor:a,bgColor:t},o)));Zo.propTypes={variant:b.default.string,size:b.default.number,theme:b.default.object,borderColor:b.default.string,bgColor:b.default.string},qo.defaultProps={theme:H},Zo.defaultProps={theme:H,variant:"primary-1",size:11};const Do=h.default.div`
2781
+ `,jo=({variant:e,bgColor:t,borderColor:a,...o})=>(l.useTheme(),g.default.createElement(Fo,E({variant:e,borderColor:a,bgColor:t},o)));jo.propTypes={variant:b.default.string,size:b.default.number,theme:b.default.object,borderColor:b.default.string,bgColor:b.default.string},Fo.defaultProps={theme:H},jo.defaultProps={theme:H,variant:"primary-1",size:11};const qo=h.default.div`
2866
2782
  display: inline-flex;
2867
2783
  align-items: center;
2868
2784
  background-color: transparent;
2869
2785
  min-height: 24px;
2870
- `,Oo=h.default.div`
2786
+ `,Zo=h.default.div`
2871
2787
  display: flex;
2872
2788
  justify-content: space-evenly;
2873
2789
  width: 69px;
2874
- `,Go=h.default.p`
2790
+ `,Do=h.default.p`
2875
2791
  display: flex;
2876
2792
  color: ${({theme:e,variantText:t,colorText:l})=>l||e.variant[t]};
2877
2793
  font-size: 16px;
2878
2794
  margin: 0 5px;
2879
- `,Xo=({style:e,variantCircle:t,variantText:a,level:o,textArray:r,colorArray:i,indexPrefix:n,colorText:c,...d})=>(l.useTheme(),g.default.createElement(Do,d,g.default.createElement(Oo,null,[1,2,3,4].map(((e,l)=>{let a="#D4D7E3",r=null,c=null;return o<=0&&(o=0),o>=4&&(o=4),i?o>=e?(r=i[o],a=i[o]):r=i[0]:o>=e?(c=t,a=t):c="#FFFFFF",g.default.createElement(Zo,{key:n.concat(l),variant:c,borderColor:a,bgColor:r,size:11})}))),r&&g.default.createElement(Go,{variantText:a,colorText:c},r[o])));Xo.propTypes={variantCircle:b.default.string,variantText:b.default.string,level:b.default.number,indexPrefix:b.default.string,theme:b.default.object,block:b.default.bool,textArray:b.default.array,colorArray:b.default.array,colorText:b.default.string},Go.defaultProps={theme:H},Xo.defaultProps={theme:H,variantCircle:"primary-1",variantText:"primary-2",block:!1,level:0,indexPrefix:"circle-group"};const Jo={xsm:{fontSize:"12px"},sm:{fontSize:"14px"},md:{fontSize:"16px"},lg:{fontSize:"18px"}},Uo=h.default.button`
2795
+ `,Oo=({style:e,variantCircle:t,variantText:a,level:o,textArray:r,colorArray:i,indexPrefix:n,colorText:c,...d})=>(l.useTheme(),g.default.createElement(qo,d,g.default.createElement(Zo,null,[1,2,3,4].map(((e,l)=>{let a="#D4D7E3",r=null,c=null;return o<=0&&(o=0),o>=4&&(o=4),i?o>=e?(r=i[o],a=i[o]):r=i[0]:o>=e?(c=t,a=t):c="#FFFFFF",g.default.createElement(jo,{key:n.concat(l),variant:c,borderColor:a,bgColor:r,size:11})}))),r&&g.default.createElement(Do,{variantText:a,colorText:c},r[o])));Oo.propTypes={variantCircle:b.default.string,variantText:b.default.string,level:b.default.number,indexPrefix:b.default.string,theme:b.default.object,block:b.default.bool,textArray:b.default.array,colorArray:b.default.array,colorText:b.default.string},Do.defaultProps={theme:H},Oo.defaultProps={theme:H,variantCircle:"primary-1",variantText:"primary-2",block:!1,level:0,indexPrefix:"circle-group"};const Go={xsm:{fontSize:"12px"},sm:{fontSize:"14px"},md:{fontSize:"16px"},lg:{fontSize:"18px"}},Xo=h.default.button`
2880
2796
  ${({underlined:e})=>e?null:l.css`&:hover {text-decoration: underline}`};
2881
2797
  background: transparent;
2882
2798
  color: ${({theme:e,variant:t})=>e.variant[t]};
@@ -2887,7 +2803,7 @@ svg {
2887
2803
  justify-content: flex-start;
2888
2804
  border: none;
2889
2805
  cursor: pointer;
2890
- font-size: ${({size:e})=>Jo[e].fontSize};
2806
+ font-size: ${({size:e})=>Go[e].fontSize};
2891
2807
 
2892
2808
  &:disabled {
2893
2809
  color: ${({theme:e})=>e.variant["neutral-3"]};
@@ -2897,7 +2813,7 @@ svg {
2897
2813
  * {
2898
2814
  outline: none;
2899
2815
  }
2900
- `,Yo=({block:e,size:t,style:a,variant:o,disabled:r,underlined:i,...n})=>(l.useTheme(),g.default.createElement(Uo,E({block:e,variant:o,type:"button",style:a,size:t,disabled:r,underlined:i},n),n.children));Yo.propTypes={variant:b.default.string,disabled:b.default.bool,size:b.default.oneOf(["xsm","sm","md","lg"]),block:b.default.bool,onClick:b.default.func,theme:b.default.object,underlined:b.default.bool},Uo.defaultProps={theme:H},Yo.defaultProps={theme:H,variant:"primary-1",block:!1,disabled:!1,size:"sm",onClick:void 0,label:"Remove",underlined:!1};const No=l.createGlobalStyle`
2816
+ `,Jo=({block:e,size:t,style:a,variant:o,disabled:r,underlined:i,...n})=>(l.useTheme(),g.default.createElement(Xo,E({block:e,variant:o,type:"button",style:a,size:t,disabled:r,underlined:i},n),n.children));Jo.propTypes={variant:b.default.string,disabled:b.default.bool,size:b.default.oneOf(["xsm","sm","md","lg"]),block:b.default.bool,onClick:b.default.func,theme:b.default.object,underlined:b.default.bool},Xo.defaultProps={theme:H},Jo.defaultProps={theme:H,variant:"primary-1",block:!1,disabled:!1,size:"sm",onClick:void 0,label:"Remove",underlined:!1};const Uo=l.createGlobalStyle`
2901
2817
  @keyframes blowUpModal {
2902
2818
  0% {
2903
2819
  transform: translate(-50%,-50%) scale(0) ;
@@ -2926,7 +2842,7 @@ svg {
2926
2842
  animation: blowUpModalTwo 0.3s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
2927
2843
  }
2928
2844
 
2929
- `,Qo=h.default.div`
2845
+ `,Yo=h.default.div`
2930
2846
  display: flex;
2931
2847
  justify-content: space-between;
2932
2848
  align-items: flex-start;
@@ -2937,29 +2853,29 @@ svg {
2937
2853
  z-index: 100;
2938
2854
  // custom styles
2939
2855
  ${({customModalHeaderStyle:e})=>e}
2940
- `,Ko=h.default.div`
2856
+ `,No=h.default.div`
2941
2857
  //Set the styles from the default styles object
2942
2858
  ${({inBuiltCss:e,type:t})=>W(e,t)}
2943
2859
  // custom styles
2944
2860
  ${({customModalBodyStyle:e})=>e}
2945
- `,$o=h.default.div`
2861
+ `,Qo=h.default.div`
2946
2862
  max-height: 60vh;
2947
2863
  padding: 0 24px 24px 24px;
2948
2864
  overflow-y: auto;
2949
2865
  ${({contentWrapperStyle:e})=>e}
2950
- `,_o=h.default.div`
2866
+ `,Ko=h.default.div`
2951
2867
  padding-top: 16px;
2952
2868
 
2953
2869
  //Set the styles from the default styles object
2954
2870
  ${({inBuiltCss:e,type:t})=>W(e,t)}
2955
2871
  // custom styles
2956
2872
  ${({customModalFooterStyle:e})=>e}
2957
- `,er=h.default.div`
2873
+ `,$o=h.default.div`
2958
2874
  cursor: pointer;
2959
- `;try{k.default.setAppElement("#root")}catch(e){k.default.setAppElement("#__next")}const tr=({modalIsOpen:e,toggleModal:t,closeOnOutsideClick:a,headerContent:o,bodyContent:r,footerContent:i,customModalHeaderStyle:n,customModalBodyStyle:c,customModalFooterStyle:d,customWidth:s,customMinWidth:u,customMaxWidth:p,contentStyle:f,contentWrapperStyle:m,customZIndex:b,hideCrossIcon:h,...y})=>{const x={overlay:{zIndex:b,backgroundColor:"rgb(51 51 51 / 30%)"},content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",borderRadius:"8px",padding:"0px",minWidth:u,overflow:"hidden",border:`1px solid ${(l.useTheme()||H).border}`,boxShadow:"0px 15px 40px 11px rgba(26, 36, 107, 0.132867)",width:s&&s,maxWidth:p&&p,...f}};return g.default.createElement("div",null,g.default.createElement(k.default,E({closeTimeoutMS:500,isOpen:e,onRequestClose:a?t:void 0,style:x,contentLabel:"Modal"},y),o&&g.default.createElement(Qo,{style:n,"data-accordion":"contentClickFalse"},o,!h&&g.default.createElement(er,{onClick:t},g.default.createElement(Q,{icon:"close-icon",size:18}))),!o&&!h&&g.default.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginRight:"24px",paddingTop:"24px"}},g.default.createElement("div",null),g.default.createElement(er,{onClick:t},g.default.createElement(Q,{icon:"close-icon",size:18}))),g.default.createElement($o,{contentWrapperStyle:m,"data-accordion":"contentClickFalse"},g.default.createElement(Ko,{inBuiltCss:R,style:c,"data-accordion":"contentClickFalse"},r),i&&g.default.createElement(_o,{inBuiltCss:R,style:d,"data-accordion":"contentClickFalse"},i))),g.default.createElement(No,null))};tr.propTypes={modalIsOpen:b.default.bool,toggleModal:b.default.func,closeOnOutsideClick:b.default.bool,headerContent:b.default.any,hideCrossIcon:b.default.bool,bodyContent:b.default.any,footerContent:b.default.any,customModalHeaderStyle:b.default.object,customModalBodyStyle:b.default.object,customModalFooterStyle:b.default.object,customMinWidth:b.default.string,contentStyle:b.default.object,contentWrapperStyle:b.default.object,customZIndex:b.default.number},tr.defaultProps={modalIsOpen:!1,toggleModal:()=>{},closeOnOutsideClick:!1,headerContent:"",bodyContent:"",footerContent:"",customModalHeaderStyle:{},customModalBodyStyle:{},customModalFooterStyle:{},customMinWidth:"40vw",customWidth:"",customMaxWidth:"",contentStyle:{},contentWrapperStyle:{},customZIndex:9999999,hideCrossIcon:!1};const lr=h.default.div`
2875
+ `;try{k.default.setAppElement("#root")}catch(e){k.default.setAppElement("#__next")}const _o=({modalIsOpen:e,toggleModal:t,closeOnOutsideClick:a,headerContent:o,bodyContent:r,footerContent:i,customModalHeaderStyle:n,customModalBodyStyle:c,customModalFooterStyle:d,customWidth:s,customMinWidth:u,customMaxWidth:p,contentStyle:f,contentWrapperStyle:m,customZIndex:b,hideCrossIcon:h,...y})=>{const x={overlay:{zIndex:b,backgroundColor:"rgb(51 51 51 / 30%)"},content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",borderRadius:"8px",padding:"0px",minWidth:u,overflow:"hidden",border:`1px solid ${(l.useTheme()||H).border}`,boxShadow:"0px 15px 40px 11px rgba(26, 36, 107, 0.132867)",width:s&&s,maxWidth:p&&p,...f}};return g.default.createElement("div",null,g.default.createElement(k.default,E({closeTimeoutMS:500,isOpen:e,onRequestClose:a?t:void 0,style:x,contentLabel:"Modal"},y),o&&g.default.createElement(Yo,{style:n,"data-accordion":"contentClickFalse"},o,!h&&g.default.createElement($o,{onClick:t},g.default.createElement(Q,{icon:"close-icon",size:18}))),!o&&!h&&g.default.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginRight:"24px",paddingTop:"24px"}},g.default.createElement("div",null),g.default.createElement($o,{onClick:t},g.default.createElement(Q,{icon:"close-icon",size:18}))),g.default.createElement(Qo,{contentWrapperStyle:m,"data-accordion":"contentClickFalse"},g.default.createElement(No,{inBuiltCss:R,style:c,"data-accordion":"contentClickFalse"},r),i&&g.default.createElement(Ko,{inBuiltCss:R,style:d,"data-accordion":"contentClickFalse"},i))),g.default.createElement(Uo,null))};_o.propTypes={modalIsOpen:b.default.bool,toggleModal:b.default.func,closeOnOutsideClick:b.default.bool,headerContent:b.default.any,hideCrossIcon:b.default.bool,bodyContent:b.default.any,footerContent:b.default.any,customModalHeaderStyle:b.default.object,customModalBodyStyle:b.default.object,customModalFooterStyle:b.default.object,customMinWidth:b.default.string,contentStyle:b.default.object,contentWrapperStyle:b.default.object,customZIndex:b.default.number},_o.defaultProps={modalIsOpen:!1,toggleModal:()=>{},closeOnOutsideClick:!1,headerContent:"",bodyContent:"",footerContent:"",customModalHeaderStyle:{},customModalBodyStyle:{},customModalFooterStyle:{},customMinWidth:"40vw",customWidth:"",customMaxWidth:"",contentStyle:{},contentWrapperStyle:{},customZIndex:9999999,hideCrossIcon:!1};const er=h.default.div`
2960
2876
  ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.common)a[t]=e.common[t];for(const l in e[t])a[l]=e[t][l],delete e.common[l]}return{...a,...l}}}}
2961
2877
  }
2962
- `,ar=({theme:e,toggleSimple:t,contentTrigger:l,contentOverlay:a,popperOptionsP:r,settingsP:i,customStyles:n,...c})=>{let d={},s={};t?(d={...d,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},s={...s}):(d={...d,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},s={...s,trigger:"click",closeOnOutsideClick:!0,interactive:!0}),d={...d,...r},s={...s,...i};const{getArrowProps:u,getTooltipProps:p,setTooltipRef:f,setTriggerRef:m,visible:b}=o.usePopperTooltip({...s},d);return g.default.createElement(g.default.Fragment,null,g.default.createElement("div",{ref:m,style:{width:"fit-content",height:"fit-content"}},l),b&&g.default.createElement(lr,E({type:t?"simple-overlay":"overlay",theme:e,ref:f},p({className:"tooltip-container"}),{customStyles:n}),a))};ar.propTypes={theme:b.default.object,contentTrigger:b.default.any,contentOverlay:b.default.any,popperOptionsP:b.default.object,settingsP:b.default.object,customStyles:b.default.object,toggleSimple:b.default.bool},ar.defaultProps={theme:R,contentTrigger:g.default.createElement("div",null,"Trigger"),contentOverlay:g.default.createElement("div",null,"I am the Overlay")};const or=h.default.div`
2878
+ `,tr=({theme:e,toggleSimple:t,contentTrigger:l,contentOverlay:a,popperOptionsP:r,settingsP:i,customStyles:n,...c})=>{let d={},s={};t?(d={...d,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},s={...s}):(d={...d,modifiers:[{name:"offset",options:{offset:[0,5]}}],strategy:"absolute"},s={...s,trigger:"click",closeOnOutsideClick:!0,interactive:!0}),d={...d,...r},s={...s,...i};const{getArrowProps:u,getTooltipProps:p,setTooltipRef:f,setTriggerRef:m,visible:b}=o.usePopperTooltip({...s},d);return g.default.createElement(g.default.Fragment,null,g.default.createElement("div",{ref:m,style:{width:"fit-content",height:"fit-content"}},l),b&&g.default.createElement(er,E({type:t?"simple-overlay":"overlay",theme:e,ref:f},p({className:"tooltip-container"}),{customStyles:n}),a))};tr.propTypes={theme:b.default.object,contentTrigger:b.default.any,contentOverlay:b.default.any,popperOptionsP:b.default.object,settingsP:b.default.object,customStyles:b.default.object,toggleSimple:b.default.bool},tr.defaultProps={theme:R,contentTrigger:g.default.createElement("div",null,"Trigger"),contentOverlay:g.default.createElement("div",null,"I am the Overlay")};const lr=h.default.div`
2963
2879
  position: relative;
2964
2880
  height: 10px;
2965
2881
  border-radius: 10px;
@@ -2970,7 +2886,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
2970
2886
 
2971
2887
  // custom styles
2972
2888
  ${({progressWrapStyle:e})=>e}
2973
- `,rr=h.default.div`
2889
+ `,ar=h.default.div`
2974
2890
  height: inherit;
2975
2891
  /* border-radius: inherit; */
2976
2892
  text-align: right;
@@ -2981,12 +2897,12 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
2981
2897
  // custom styles
2982
2898
  ${({progressBarStyle:e})=>e}
2983
2899
 
2984
- `,ir=({labelStyle:e,progressBarStyle:a,progressWrapStyle:o,label:r,total:i,sections:n,innerContent:c,baseColor:d,baseTitle:s,labelProps:u,props:p})=>{const f=l.useTheme()||H,[m,b]=t.useState([[]]),[h,y]=t.useState(null);t.useEffect((()=>{n&&n.length>0&&b(n)}),[n]);const x=m?.length>0?m?.reduce(((e,t)=>e+t.count),0):0;x>i&&(i=x);const C=m?.length>0?m?.map((e=>e.count/i*100)):[],v=null!==h?m[h].label:s;return g.default.createElement("div",null,g.default.createElement(et,E({inBuiltCss:R,customStyles:e,type:"progressBar-label",text:r},u)),g.default.createElement(or,E({theme:f,progressWrapStyle:o,color:d,title:v},p),m?.map(((e,t)=>g.default.createElement(rr,E({key:t,onMouseEnter:()=>y(t),onMouseLeave:()=>y(null),progressBarStyle:a,theme:f,color:e.color,style:{width:C[t]+"%",left:0===t?0:C.slice(0,t).reduce(((e,t)=>e+t),0)+"%"}},p)))),g.default.createElement("div",{style:{position:"absolute",textAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",top:"50%",left:"50%",transform:"translate(-50%, -50%)",cursor:"default"},onMouseEnter:e=>((e,t)=>{e.stopPropagation(),y(t)})(e,h),onMouseLeave:e=>{e.stopPropagation(),y(null)}},c)))};ir.propTypes={labelStyle:b.default.object,progressBarStyle:b.default.object,progressWrapStyle:b.default.object,sections:b.default.arrayOf(b.default.shape({color:b.default.string.isRequired,percentage:b.default.number,count:b.default.number.isRequired})).isRequired},ir.defaultProps={labelStyle:{},progressBarStyle:{},progressWrapStyle:{},label:"",total:100,innerContent:"",baseColor:"",baseTitle:"Total Task",labelProps:{},props:{}};const nr=h.default.div`
2900
+ `,or=({labelStyle:e,progressBarStyle:a,progressWrapStyle:o,label:r,total:i,sections:n,innerContent:c,baseColor:d,baseTitle:s,labelProps:u,props:p})=>{const f=l.useTheme()||H,[m,b]=t.useState([[]]),[h,y]=t.useState(null);t.useEffect((()=>{n&&n.length>0&&b(n)}),[n]);const x=m?.length>0?m?.reduce(((e,t)=>e+t.count),0):0;x>i&&(i=x);const C=m?.length>0?m?.map((e=>e.count/i*100)):[],v=null!==h?m[h].label:s;return g.default.createElement("div",null,g.default.createElement($e,E({inBuiltCss:R,customStyles:e,type:"progressBar-label",text:r},u)),g.default.createElement(lr,E({theme:f,progressWrapStyle:o,color:d,title:v},p),m?.map(((e,t)=>g.default.createElement(ar,E({key:t,onMouseEnter:()=>y(t),onMouseLeave:()=>y(null),progressBarStyle:a,theme:f,color:e.color,style:{width:C[t]+"%",left:0===t?0:C.slice(0,t).reduce(((e,t)=>e+t),0)+"%"}},p)))),g.default.createElement("div",{style:{position:"absolute",textAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",top:"50%",left:"50%",transform:"translate(-50%, -50%)",cursor:"default"},onMouseEnter:e=>((e,t)=>{e.stopPropagation(),y(t)})(e,h),onMouseLeave:e=>{e.stopPropagation(),y(null)}},c)))};or.propTypes={labelStyle:b.default.object,progressBarStyle:b.default.object,progressWrapStyle:b.default.object,sections:b.default.arrayOf(b.default.shape({color:b.default.string.isRequired,percentage:b.default.number,count:b.default.number.isRequired})).isRequired},or.defaultProps={labelStyle:{},progressBarStyle:{},progressWrapStyle:{},label:"",total:100,innerContent:"",baseColor:"",baseTitle:"Total Task",labelProps:{},props:{}};const rr=h.default.div`
2985
2901
  background: transparent;
2986
2902
  display: flex;
2987
2903
  align-items: center;
2988
2904
  width: ${({block:e})=>e?"100%":"fit-content"};
2989
- `,cr=h.default.div`
2905
+ `,ir=h.default.div`
2990
2906
  margin: 0;
2991
2907
  color: ${({theme:e,variantOff:t})=>e.variant[t]};
2992
2908
  white-space: nowrap;
@@ -3004,18 +2920,18 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
3004
2920
  &>div:first-of-type{
3005
2921
  color: ${({theme:e,variantOn:t})=>e.variant[t]};
3006
2922
  }
3007
- `,dr=h.default.div`
2923
+ `,nr=h.default.div`
3008
2924
  display: flex;
3009
2925
  margin-left: 20px;
3010
2926
  ${({stepsStyle:e})=>e}
3011
2927
 
3012
- `,sr=h.default.div`
2928
+ `,cr=h.default.div`
3013
2929
  height: 6px;
3014
2930
  width: ${({widthStep:e})=>e}px;
3015
2931
  margin: 0 3px;
3016
2932
  background-color: ${({theme:e,isActive:t,variantOn:l,variantOff:a})=>t?e.variant[l]:e.variant[a]};
3017
2933
  border-radius: 19px;
3018
- `,ur=({block:e,variantOn:t,variantOff:a,currentStep:o,totalSteps:r,widthStep:i,style:n,progressText:c,stepsStyle:d,...s})=>(l.useTheme(),g.default.createElement(nr,E({block:e},s,{style:n}),g.default.createElement(cr,E({},s,{variantOn:t,variantOff:a}),c||"Page"," ",g.default.createElement("div",null,o)," of ",g.default.createElement("div",null,r)),g.default.createElement(dr,E({stepsStyle:d},s),Array.from(Array(r).keys()).map((e=>g.default.createElement(sr,{key:"formSteps".concat(e),isActive:o===e+1,variantOn:t,variantOff:a,widthStep:i}))))));ur.propTypes={variantOn:b.default.string,variantOff:b.default.string,block:b.default.bool,theme:b.default.object,currentStep:b.default.number,totalSteps:b.default.number,widthStep:b.default.number,progressText:b.default.string},nr.defaultProps={theme:H},cr.defaultProps={theme:H},dr.defaultProps={theme:H},sr.defaultProps={theme:H},ur.defaultProps={theme:H,variantOn:"primary-1",variantOff:"neutral-2",block:!1,currentStep:1,totalSteps:4,widthStep:43};const pr=h.default.button`
2934
+ `,dr=({block:e,variantOn:t,variantOff:a,currentStep:o,totalSteps:r,widthStep:i,style:n,progressText:c,stepsStyle:d,...s})=>(l.useTheme(),g.default.createElement(rr,E({block:e},s,{style:n}),g.default.createElement(ir,E({},s,{variantOn:t,variantOff:a}),c||"Page"," ",g.default.createElement("div",null,o)," of ",g.default.createElement("div",null,r)),g.default.createElement(nr,E({stepsStyle:d},s),Array.from(Array(r).keys()).map((e=>g.default.createElement(cr,{key:"formSteps".concat(e),isActive:o===e+1,variantOn:t,variantOff:a,widthStep:i}))))));dr.propTypes={variantOn:b.default.string,variantOff:b.default.string,block:b.default.bool,theme:b.default.object,currentStep:b.default.number,totalSteps:b.default.number,widthStep:b.default.number,progressText:b.default.string},rr.defaultProps={theme:H},ir.defaultProps={theme:H},nr.defaultProps={theme:H},cr.defaultProps={theme:H},dr.defaultProps={theme:H,variantOn:"primary-1",variantOff:"neutral-2",block:!1,currentStep:1,totalSteps:4,widthStep:43};const sr=h.default.button`
3019
2935
  background: ${({disabled:e,theme:t,bgVariant:l})=>e?"#BBC4CF":t.variant[l]};
3020
2936
  color: ${({theme:e,variant:t})=>e.variant[t]};
3021
2937
  padding: 6px 17px;
@@ -3042,7 +2958,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
3042
2958
  * {
3043
2959
  outline: none;
3044
2960
  }
3045
- `,fr=({block:e,style:t,variant:a,bgVariant:o,disabled:r,...i})=>(l.useTheme(),g.default.createElement(pr,E({block:e,variant:a,bgVariant:o,type:"button",style:t,disabled:r},i),i.children));fr.propTypes={variant:b.default.string,bgVariant:b.default.string,disabled:b.default.bool,block:b.default.bool,onClick:b.default.func,theme:b.default.object},pr.defaultProps={theme:H},fr.defaultProps={theme:H,variant:"primary-2",bgVariant:"neutral-4",block:!1,disabled:!1,onClick:void 0};const mr=h.default.button`
2961
+ `,ur=({block:e,style:t,variant:a,bgVariant:o,disabled:r,...i})=>(l.useTheme(),g.default.createElement(sr,E({block:e,variant:a,bgVariant:o,type:"button",style:t,disabled:r},i),i.children));ur.propTypes={variant:b.default.string,bgVariant:b.default.string,disabled:b.default.bool,block:b.default.bool,onClick:b.default.func,theme:b.default.object},sr.defaultProps={theme:H},ur.defaultProps={theme:H,variant:"primary-2",bgVariant:"neutral-4",block:!1,disabled:!1,onClick:void 0};const pr=h.default.button`
3046
2962
  background: ${({disabled:e,theme:t})=>e?"#BBC4CF":t.additional.white};
3047
2963
  color: ${({theme:e,variant:t})=>e.variant[t]};
3048
2964
  padding: 6px 17px;
@@ -3065,7 +2981,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
3065
2981
  fill: #929EAC;
3066
2982
  }
3067
2983
  }
3068
- `,br=({block:e,style:t,variant:a,borderVariant:o,disabled:r,...i})=>(l.useTheme(),g.default.createElement(mr,E({block:e,variant:a,borderVariant:o,type:"button",style:t,disabled:r},i),i.children));br.propTypes={variant:b.default.string,borderVariant:b.default.string,disabled:b.default.bool,block:b.default.bool,onClick:b.default.func,theme:b.default.object},mr.defaultProps={theme:H},br.defaultProps={theme:H,variant:"primary-2",borderVariant:"neutral-3",block:!1,disabled:!1,onClick:void 0};const gr={width:"auto",padding:0,boxShadow:"none",background:"transparent"},hr={background:"transparent",border:"none",color:"white",fontSize:"16px",boxShadow:"none",borderRadius:0,padding:"8px 0 8px"},yr={borderTop:"none",transition:"height ease 0.3s, transform ease 95ms",overflow:"hidden",padding:0,background:"transparent",borderRadius:0,boxShadow:"none"},xr={float:"right",marginRight:"8px",marginTop:"3px"},Cr={boxShadow:"none",borderRadius:0,backgroundColor:"transparent"},vr={padding:0,boxShadow:"none",borderRadius:0,backgroundColor:"transparent"},Ar={transition:"height ease 0.2s",overflow:"hidden",padding:"0",backgroundColor:"transparent",color:"white",position:"relative",boxShadow:"none"},wr={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingRight:"16px",fontWeight:"600"},Sr={padding:"0px 16px 0 0",marginLeft:"30px",height:"auto"},kr=h.default.div`
2984
+ `,fr=({block:e,style:t,variant:a,borderVariant:o,disabled:r,...i})=>(l.useTheme(),g.default.createElement(pr,E({block:e,variant:a,borderVariant:o,type:"button",style:t,disabled:r},i),i.children));fr.propTypes={variant:b.default.string,borderVariant:b.default.string,disabled:b.default.bool,block:b.default.bool,onClick:b.default.func,theme:b.default.object},pr.defaultProps={theme:H},fr.defaultProps={theme:H,variant:"primary-2",borderVariant:"neutral-3",block:!1,disabled:!1,onClick:void 0};const mr={width:"auto",padding:0,boxShadow:"none",background:"transparent"},br={background:"transparent",border:"none",color:"white",fontSize:"16px",boxShadow:"none",borderRadius:0,padding:"8px 0 8px"},gr={borderTop:"none",transition:"height ease 0.3s, transform ease 95ms",overflow:"hidden",padding:0,background:"transparent",borderRadius:0,boxShadow:"none"},hr={float:"right",marginRight:"8px",marginTop:"3px"},yr={boxShadow:"none",borderRadius:0,backgroundColor:"transparent"},xr={padding:0,boxShadow:"none",borderRadius:0,backgroundColor:"transparent"},Cr={transition:"height ease 0.2s",overflow:"hidden",padding:"0",backgroundColor:"transparent",color:"white",position:"relative",boxShadow:"none"},vr={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingRight:"16px",fontWeight:"600"},Ar={padding:"0px 16px 0 0",marginLeft:"30px",height:"auto"},wr=h.default.div`
3069
2985
  display: flex;
3070
2986
  flex-direction: column;
3071
2987
  height: ${({toggleSideBarOpen:e})=>"100vh"};
@@ -3073,7 +2989,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
3073
2989
  @media (max-width: 428px) {
3074
2990
  height: ${({toggleSideBarOpen:e})=>e?"100vh":"56px"};
3075
2991
  }
3076
- `,Er={fontWeight:"600",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",margin:"0 16px ",textDecoration:"none"},Vr=h.default.div`
2992
+ `,Sr={fontWeight:"600",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",margin:"0 16px ",textDecoration:"none"},kr=h.default.div`
3077
2993
  min-height: 56px;
3078
2994
  display: flex;
3079
2995
  align-items: center;
@@ -3096,7 +3012,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
3096
3012
  }
3097
3013
 
3098
3014
  ${({headerStyles:e})=>e}
3099
- `,Mr=h.default.div`
3015
+ `,Er=h.default.div`
3100
3016
  display: flex;
3101
3017
  flex-direction: column;
3102
3018
  background-color: transparent;
@@ -3124,7 +3040,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
3124
3040
  @media (max-width: 428px) {
3125
3041
  margin-top: 56px;
3126
3042
  }
3127
- `,zr=h.default.div`
3043
+ `,Vr=h.default.div`
3128
3044
  display: flex;
3129
3045
  justify-content: flex-start;
3130
3046
  align-items: center;
@@ -3153,7 +3069,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
3153
3069
  p {
3154
3070
  margin: 0;
3155
3071
  }
3156
- `,Br=h.default.div`
3072
+ `,Mr=h.default.div`
3157
3073
  background-color: ${({theme:e})=>e.variant["primary-1"]} !important;
3158
3074
  color: ${({theme:e})=>e.additional.white};
3159
3075
  overflow-y: hidden;
@@ -3172,7 +3088,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
3172
3088
  ${({customStylesContainer:e})=>e}
3173
3089
 
3174
3090
  ${({isOpen:e,forceOpen:t,inBuiltCss:l,customStylesContainerOpen:a,customStylesContainerClose:o})=>e||t?{...W(l,"sidebar-container-open"),...a}:{...W(l,"sidebar-container-close"),...o}}
3175
- `,Lr=h.default.div`
3091
+ `,zr=h.default.div`
3176
3092
  ${({inBuiltCss:e})=>W(e,"sidebar-pusher")}
3177
3093
  ${({customStylesPusher:e})=>e}
3178
3094
 
@@ -3181,33 +3097,33 @@ ${({forceOpen:e,inBuiltCss:t,customStylesPusherOpen:l,customStylesPusherClose:a}
3181
3097
  @media (max-width: 980px) {
3182
3098
  ${({inBuiltCss:e,type:t,customStylesPusherMobile:l})=>({...W(e,"sidebar-pusher-mobile"),...l})}
3183
3099
  }
3184
- `,Ir=({customStylesContainer:e,customStylesContainerOpen:t,customStylesContainerClose:a,customStylesContainerMobileOpen:o,customStylesContainerMobileClose:r,customStylesPusher:i,customStylesPusherOpen:n,customStylesPusherClose:c,customStylesPusherMobile:d,forceOpen:s,forceClose:u,handleSidebar:p,toggleSideBarOpen:f,pinner:m,...b})=>{function h(e){p(e)}const y=l.useTheme()||H;return g.default.createElement(Br,E({theme:y,inBuiltCss:R,customStyles:e,onMouseEnter:()=>{s||h(!0)},onClick:()=>!f&&h(!0),onMouseLeave:()=>{h(!1),u()},forceOpen:s,isOpen:f},b),g.default.createElement(Lr,null),b.children,m)};Ir.propTypes={customStylesContainer:b.default.object,customStylesContainerOpen:b.default.object,customStylesContainerClose:b.default.object,customStylesContainerMobileOpen:b.default.object,customStylesContainerMobileClose:b.default.object,customStylesPusher:b.default.object,customStylesPusherOpen:b.default.object,customStylesPusherClose:b.default.object,customStylesPusherMobile:b.default.object,forceOpen:b.default.bool,forceClose:b.default.func,handleSidebar:b.default.func,toggleSideBarOpen:b.default.bool,pinner:b.default.any},Ir.defaultProps={forceClose:()=>{},forceOpen:!1};const Hr={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Rr=h.default.div`
3100
+ `,Br=({customStylesContainer:e,customStylesContainerOpen:t,customStylesContainerClose:a,customStylesContainerMobileOpen:o,customStylesContainerMobileClose:r,customStylesPusher:i,customStylesPusherOpen:n,customStylesPusherClose:c,customStylesPusherMobile:d,forceOpen:s,forceClose:u,handleSidebar:p,toggleSideBarOpen:f,pinner:m,...b})=>{function h(e){p(e)}const y=l.useTheme()||H;return g.default.createElement(Mr,E({theme:y,inBuiltCss:R,customStyles:e,onMouseEnter:()=>{s||h(!0)},onClick:()=>!f&&h(!0),onMouseLeave:()=>{h(!1),u()},forceOpen:s,isOpen:f},b),g.default.createElement(zr,null),b.children,m)};Br.propTypes={customStylesContainer:b.default.object,customStylesContainerOpen:b.default.object,customStylesContainerClose:b.default.object,customStylesContainerMobileOpen:b.default.object,customStylesContainerMobileClose:b.default.object,customStylesPusher:b.default.object,customStylesPusherOpen:b.default.object,customStylesPusherClose:b.default.object,customStylesPusherMobile:b.default.object,forceOpen:b.default.bool,forceClose:b.default.func,handleSidebar:b.default.func,toggleSideBarOpen:b.default.bool,pinner:b.default.any},Br.defaultProps={forceClose:()=>{},forceOpen:!1};const Lr={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Ir=h.default.div`
3185
3101
  background: ${({theme:e,variant:t})=>e.variant[t]};
3186
3102
  color: ${({theme:e})=>e.additional.white};
3187
- padding: ${({size:e})=>Hr[e].padding};
3103
+ padding: ${({size:e})=>Lr[e].padding};
3188
3104
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
3189
3105
  border-radius: 42px;
3190
- font-size: ${({size:e})=>Hr[e].fontSize};
3106
+ font-size: ${({size:e})=>Lr[e].fontSize};
3191
3107
  font-weight: 600;
3192
3108
  display: flex;
3193
3109
  align-items: center;
3194
3110
  width: ${({block:e})=>e?"auto":"fit-content"};
3195
3111
  box-sizing: border-box;
3196
3112
 
3197
- `,Wr=({block:e,style:t,variant:a,...o})=>(l.useTheme(),g.default.createElement(Rr,E({block:e,variant:a,style:t},o),o.children));Wr.propTypes={size:b.default.oneOf(["sm","md","lg"]),variant:b.default.string,block:b.default.bool,theme:b.default.object},Rr.defaultProps={theme:H},Wr.defaultProps={theme:H,variant:"primary-1",block:!1,size:"sm"};const Pr={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Tr=h.default.div`
3113
+ `,Hr=({block:e,style:t,variant:a,...o})=>(l.useTheme(),g.default.createElement(Ir,E({block:e,variant:a,style:t},o),o.children));Hr.propTypes={size:b.default.oneOf(["sm","md","lg"]),variant:b.default.string,block:b.default.bool,theme:b.default.object},Ir.defaultProps={theme:H},Hr.defaultProps={theme:H,variant:"primary-1",block:!1,size:"sm"};const Rr={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Wr=h.default.div`
3198
3114
  color: ${({theme:e,variant:t})=>e.variant[t]};
3199
3115
  background: ${({theme:e})=>e.additional.white};
3200
- padding: ${({size:e})=>Pr[e].padding};
3116
+ padding: ${({size:e})=>Rr[e].padding};
3201
3117
  border: 1px solid ${({theme:e,variant:t})=>e.variant[t]};
3202
3118
  border-radius: 42px;
3203
- font-size: ${({size:e})=>Pr[e].fontSize};
3119
+ font-size: ${({size:e})=>Rr[e].fontSize};
3204
3120
  font-weight: 600;
3205
3121
  display: flex;
3206
3122
  align-items: center;
3207
3123
  width: ${({block:e})=>e?"auto":"fit-content"};
3208
3124
  box-sizing: border-box;
3209
3125
 
3210
- `,Fr=({block:e,style:t,variant:a,...o})=>(l.useTheme(),g.default.createElement(Tr,E({block:e,variant:a,style:t},o),o.children));Fr.propTypes={size:b.default.oneOf(["sm","md","lg"]),variant:b.default.string,block:b.default.bool,theme:b.default.object},Tr.defaultProps={theme:H},Fr.defaultProps={theme:H,variant:"primary-1",block:!1,size:"sm"};const jr={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},qr=h.default.div`
3126
+ `,Pr=({block:e,style:t,variant:a,...o})=>(l.useTheme(),g.default.createElement(Wr,E({block:e,variant:a,style:t},o),o.children));Pr.propTypes={size:b.default.oneOf(["sm","md","lg"]),variant:b.default.string,block:b.default.bool,theme:b.default.object},Wr.defaultProps={theme:H},Pr.defaultProps={theme:H,variant:"primary-1",block:!1,size:"sm"};const Tr={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},Fr=h.default.div`
3211
3127
  background: ${({theme:e,variant:t,bgColor:l})=>l||e.variant[t]};
3212
3128
  color: ${({theme:e,textColor:t})=>t||e.bgColor};
3213
3129
  border-radius: 13.5px;
@@ -3215,11 +3131,11 @@ font-size: 14px;
3215
3131
  display: inline-flex;
3216
3132
  align-items: center;
3217
3133
  justify-content: center;
3218
- min-width: ${({block:e,size:t})=>e?"auto":jr[t].width};
3134
+ min-width: ${({block:e,size:t})=>e?"auto":Tr[t].width};
3219
3135
  height: 28px;
3220
3136
  box-sizing: border-box;
3221
3137
  overflow: hidden;
3222
- `,Zr=({block:e,style:t,variant:a,textColor:o,bgColor:r,...i})=>(l.useTheme(),g.default.createElement(qr,E({block:e,variant:a,textColor:o,bgColor:r,style:t},i),i.children));Zr.propTypes={variant:b.default.string,size:b.default.oneOf(["xsm","sm","md","lg"]),block:b.default.bool,theme:b.default.object,textColor:b.default.string,bgColor:b.default.string},qr.defaultProps={theme:H},Zr.defaultProps={theme:H,variant:"primary-1",block:!1,size:"sm"};const Dr={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},Or=h.default.div`
3138
+ `,jr=({block:e,style:t,variant:a,textColor:o,bgColor:r,...i})=>(l.useTheme(),g.default.createElement(Fr,E({block:e,variant:a,textColor:o,bgColor:r,style:t},i),i.children));jr.propTypes={variant:b.default.string,size:b.default.oneOf(["xsm","sm","md","lg"]),block:b.default.bool,theme:b.default.object,textColor:b.default.string,bgColor:b.default.string},Fr.defaultProps={theme:H},jr.defaultProps={theme:H,variant:"primary-1",block:!1,size:"sm"};const qr={xsm:{width:"88px"},sm:{width:"93px"},md:{width:"111px"},lg:{width:"129px"}},Zr=h.default.div`
3223
3139
  background: ${({theme:e})=>e.additional.white};
3224
3140
  color: ${({theme:e,variant:t,textColor:l})=>l||e.variant[t]};
3225
3141
  border: 1px solid ${({theme:e,variant:t,borderColor:l})=>l||e.variant[t]};
@@ -3228,14 +3144,14 @@ font-size: 14px;
3228
3144
  display: inline-flex;
3229
3145
  align-items: center;
3230
3146
  justify-content: center;
3231
- min-width: ${({block:e,size:t})=>e?"auto":Dr[t].width};
3147
+ min-width: ${({block:e,size:t})=>e?"auto":qr[t].width};
3232
3148
  height: 28px;
3233
3149
  box-sizing: border-box;
3234
3150
  overflow: hidden;
3235
- `,Gr=({block:e,style:t,variant:a,textColor:o,borderColor:r,...i})=>(l.useTheme(),g.default.createElement(Or,E({block:e,variant:a,textColor:o,borderColor:r,style:t},i),i.children));Gr.propTypes={variant:b.default.string,size:b.default.oneOf(["xsm","sm","md","lg"]),block:b.default.bool,theme:b.default.object,textColor:b.default.string,borderColor:b.default.string},Or.defaultProps={theme:H},Gr.defaultProps={theme:H,variant:"primary-1",block:!1,size:"sm"};const Xr=h.default.div`
3151
+ `,Dr=({block:e,style:t,variant:a,textColor:o,borderColor:r,...i})=>(l.useTheme(),g.default.createElement(Zr,E({block:e,variant:a,textColor:o,borderColor:r,style:t},i),i.children));Dr.propTypes={variant:b.default.string,size:b.default.oneOf(["xsm","sm","md","lg"]),block:b.default.bool,theme:b.default.object,textColor:b.default.string,borderColor:b.default.string},Zr.defaultProps={theme:H},Dr.defaultProps={theme:H,variant:"primary-1",block:!1,size:"sm"};const Or=h.default.div`
3236
3152
  padding: 24px;
3237
3153
  ${({tabWrapperStyle:e})=>e}
3238
- `,Jr=h.default.div`
3154
+ `,Gr=h.default.div`
3239
3155
  color: ${({theme:e})=>e.variant["primary-1"]};
3240
3156
  display: flex;
3241
3157
  align-items: flex-start;
@@ -3243,16 +3159,16 @@ overflow: hidden;
3243
3159
  gap: 12px;
3244
3160
  padding-bottom: 24px;
3245
3161
  ${({headerWrapperStyle:e})=>e}
3246
- `,Ur=h.default.div`
3162
+ `,Xr=h.default.div`
3247
3163
  font-size: 16px;
3248
3164
  padding: 7px 20px;
3249
3165
  cursor: pointer;
3250
3166
  border-radius: 5px;
3251
3167
 
3252
3168
  ${({isActive:e,headerStyle:t,activeHeaderStyle:l})=>e?l:t}
3253
- `,Yr=h.default.div`
3169
+ `,Jr=h.default.div`
3254
3170
  ${({tabContentStyle:e})=>e}
3255
- `,Nr=({tabs:e,activeTab:t,setActiveTab:a,tabWrapperStyle:o,headerWrapperStyle:r,headerStyle:i,dividerProps:n,tabContentStyle:c,extraContent:d,activeHeaderStyle:s})=>{const u=l.useTheme()||H;return g.default.createElement(Xr,{tabWrapperStyle:o},g.default.createElement(Jr,{theme:u,headerWrapperStyle:r},e.map(((e,l)=>g.default.createElement(Ur,{theme:u,onClick:()=>a(l),active:l===t,key:e?.title+l,isActive:l===t,headerStyle:i,activeHeaderStyle:s},e.title))),d),g.default.createElement(Pa,n),e.map(((e,l)=>l===t&&g.default.createElement(Yr,{tabContentStyle:c,key:l},e.content))))};Nr.propTypes={tabs:b.default.array,tabWrapperStyle:b.default.object,headerWrapperStyle:b.default.object,headerStyle:b.default.object,dividerProps:b.default.object,tabContentStyle:b.default.object,activeTab:b.default.number,setActiveTab:b.default.func,activeHeaderStyle:b.default.object},Nr.defaultProps={tabs:[],activeTab:0,tabWrapperStyle:{},headerStyle:{backgroundColor:"transparent",color:H.variant["primary-2"],fontWeight:"normal"},tabContentStyle:{},headerWrapperStyle:{},dividerProps:{},activeHeaderStyle:{color:H.variant["primary-1"],backgroundColor:P("#2A50FD",.05),fontWeight:"bold"}};const Qr=h.default.div`
3171
+ `,Ur=({tabs:e,activeTab:t,setActiveTab:a,tabWrapperStyle:o,headerWrapperStyle:r,headerStyle:i,dividerProps:n,tabContentStyle:c,extraContent:d,activeHeaderStyle:s})=>{const u=l.useTheme()||H;return g.default.createElement(Or,{tabWrapperStyle:o},g.default.createElement(Gr,{theme:u,headerWrapperStyle:r},e.map(((e,l)=>g.default.createElement(Xr,{theme:u,onClick:()=>a(l),active:l===t,key:e?.title+l,isActive:l===t,headerStyle:i,activeHeaderStyle:s},e.title))),d),g.default.createElement(Ra,n),e.map(((e,l)=>l===t&&g.default.createElement(Jr,{tabContentStyle:c,key:l},e.content))))};Ur.propTypes={tabs:b.default.array,tabWrapperStyle:b.default.object,headerWrapperStyle:b.default.object,headerStyle:b.default.object,dividerProps:b.default.object,tabContentStyle:b.default.object,activeTab:b.default.number,setActiveTab:b.default.func,activeHeaderStyle:b.default.object},Ur.defaultProps={tabs:[],activeTab:0,tabWrapperStyle:{},headerStyle:{backgroundColor:"transparent",color:H.variant["primary-2"],fontWeight:"normal"},tabContentStyle:{},headerWrapperStyle:{},dividerProps:{},activeHeaderStyle:{color:H.variant["primary-1"],backgroundColor:P("#2A50FD",.05),fontWeight:"bold"}};const Yr=h.default.div`
3256
3172
  .notification {
3257
3173
  background: ${({theme:e})=>e.additional.white};
3258
3174
  transition: 0.3s ease;
@@ -3347,7 +3263,7 @@ overflow: hidden;
3347
3263
  .close-icon {
3348
3264
  cursor: pointer;
3349
3265
  }
3350
- `,Kr=({close:e,children:a,type:o,position:r,timeout:i,localTimeout:n})=>{((e,l)=>{const a=t.useRef(e);t.useEffect((()=>{a.current=e}),[e]),t.useEffect((()=>{if(null===l)return;const e=setTimeout((()=>a.current()),l);return()=>clearTimeout(e)}),[l])})(e,n||i||5e3);const c=l.useTheme()||H;let d=null;switch(o){case"success":d=g.default.createElement(Q,{icon:"check-icon",color:"white",size:12,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"warning":d=g.default.createElement(Q,{icon:"warning",color:"white",size:20,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"error":d=g.default.createElement(Q,{icon:"close-white",size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"info":d=g.default.createElement(Q,{icon:"info-icon",size:10,color:"white",customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"pending":d=g.default.createElement(Me,{size:14})}return g.default.createElement(Qr,{theme:c,type:o,timeout:n||i||5e3},g.default.createElement("div",{className:`notification toast ${r}`},g.default.createElement("div",{className:"leftSide"},g.default.createElement("div",{className:"notification-icon"},d),g.default.createElement("div",{className:"notification-message"},a)),g.default.createElement("div",{className:"close-icon",onClick:e},g.default.createElement(Q,{icon:"close-icon",color:c.variant["neutral-2"]}))),g.default.createElement("div",{className:`notification-progress ${r}-border`}))},$r=t.createContext(),_r=h.default.div`
3266
+ `,Nr=({close:e,children:a,type:o,position:r,timeout:i,localTimeout:n})=>{((e,l)=>{const a=t.useRef(e);t.useEffect((()=>{a.current=e}),[e]),t.useEffect((()=>{if(null===l)return;const e=setTimeout((()=>a.current()),l);return()=>clearTimeout(e)}),[l])})(e,n||i||5e3);const c=l.useTheme()||H;let d=null;switch(o){case"success":d=g.default.createElement(Q,{icon:"check-icon",color:"white",size:12,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"warning":d=g.default.createElement(Q,{icon:"warning",color:"white",size:20,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"error":d=g.default.createElement(Q,{icon:"close-white",size:10,customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"info":d=g.default.createElement(Q,{icon:"info-icon",size:10,color:"white",customstyles:{display:"flex",justifyContent:"center",alignItems:"center"}});break;case"pending":d=g.default.createElement(se,{size:14})}return g.default.createElement(Yr,{theme:c,type:o,timeout:n||i||5e3},g.default.createElement("div",{className:`notification toast ${r}`},g.default.createElement("div",{className:"leftSide"},g.default.createElement("div",{className:"notification-icon"},d),g.default.createElement("div",{className:"notification-message"},a)),g.default.createElement("div",{className:"close-icon",onClick:e},g.default.createElement(Q,{icon:"close-icon",color:c.variant["neutral-2"]}))),g.default.createElement("div",{className:`notification-progress ${r}-border`}))},Qr=t.createContext(),Kr=h.default.div`
3351
3267
  .notification-container {
3352
3268
  font-size: 14px;
3353
3269
  box-sizing: border-box;
@@ -3401,9 +3317,9 @@ overflow: hidden;
3401
3317
  transform: translateX(0);
3402
3318
  }
3403
3319
  }
3404
- `;function ei(){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 ti={xs:{fontSize:"12px",lineHeight:"120%"},sm:{fontSize:"14px",lineHeight:"120%"},md:{fontSize:"16px",lineHeight:"140%"},lg:{fontSize:"18px",lineHeight:"120%"}},li=h.default.div`
3320
+ `;function $r(){let e=46656*Math.random()|0,t=46656*Math.random()|0;return e=("000"+e.toString(36)).slice(-3),t=("000"+t.toString(36)).slice(-3),e+t}const _r={xs:{fontSize:"12px",lineHeight:"120%"},sm:{fontSize:"14px",lineHeight:"120%"},md:{fontSize:"16px",lineHeight:"140%"},lg:{fontSize:"18px",lineHeight:"120%"}},ei=h.default.div`
3405
3321
  color: ${({theme:e,text:t})=>t?e.variant[t]:e.additional["text-color"]};
3406
3322
  background: ${({theme:e,bg:t})=>t?e.variant[t]:e.additional.white};
3407
- font-size: ${({size:e})=>ti[e].fontSize};
3408
- line-height: ${({size:e})=>ti[e].lineHeight};
3409
- `,ai=({size:e,children:t,bg:a,text:o,...r})=>{const i=l.useTheme()||H;return g.default.createElement(li,E({theme:i,bg:a,text:o,size:e},r),g.default.createElement(So,{theme:i}),t)};ai.propTypes={size:b.default.oneOf(["xs","sm","md","lg"]),text:b.default.string,bg:b.default.string,children:b.default.any,theme:b.default.object},ai.defaultProps={size:"md"},exports.Accordion=$,exports.AccordionSB=_,exports.ActionContainer=ka,exports.ActionItem=Ma,exports.Alert=le,exports.ArrowBar=ie,exports.Avatar=pe,exports.AvatarSB=he,exports.Banner=Ce,exports.Breadcrumb=$e,exports.ButtonPopup=Lo,exports.Card=j,exports.CardRef=Z,exports.CheckBoxInput=ft,exports.ChipsInput=nt,exports.ColorInput=gt,exports.Comment=ma,exports.Content=ga,exports.CountryCodedPhoneInput=xt,exports.DarkSecondaryLink=fr,exports.DateSelect=It,exports.DateTime=qt,exports.Divider=Pa,exports.DocumentCard=J,exports.DotPulseLoader=()=>{const e=l.useTheme()||H;return g.default.createElement(Ae,{activeTheme:e},g.default.createElement("div",{className:"dot-pulse"}))},exports.Drawer=Fa,exports.DropdownSelect=Xt,exports.DropzoneInput=tl,exports.EditableInput=nl,exports.ErrorBoundary=ja,exports.FilterChip=Da,exports.Footer=Ga,exports.FooterContent=({variant:e,textColor:t,size:l,width:a,footerWidth:o,customStyles:r,...i})=>{const n=(new Date).getFullYear();return g.default.createElement(Xa,E({variant:e,textColor:t,footerWidth:o,customStyles:r},i),g.default.createElement(Ja,{footerWidth:o},g.default.createElement(Ua,{footerWidth:o},"Premise HQ"),g.default.createElement(Ya,{footerWidth:o},"|"),g.default.createElement(Ua,{footerWidth:o},"All Rights Restricted ",n," ©")),g.default.createElement(Ja,{footerWidth:o},g.default.createElement(Ua,{footerWidth:o},"Terms of use"),g.default.createElement(Ya,{footerWidth:o},"|"),g.default.createElement(Ua,{footerWidth:o},"Privacy Policy")))},exports.FormComponent=({formData:e,customStyles:l,...a})=>{const o=e=>{switch(e.type){case"header":return(e=>g.default.createElement(t.Fragment,null,g.default.createElement(Qa,E({},e,a),e.children),e))(e);case"label":return(e=>g.default.createElement(et,E({style:{marginBottom:"8px",paddingBottom:"0"}},e,a)))(e);case"text":return(e=>g.default.createElement(Hl,E({},e,a)))(e);case"textArea":return(e=>g.default.createElement(Jl,E({},e,a)))(e);case"number":return(e=>g.default.createElement(hl,E({},e,a)))(e);case"radio":return(e=>g.default.createElement(Ml,E({key:101*Math.random()|0},e,a)))(e);case"checkBox":return(e=>g.default.createElement(ft,E({},e,a)))(e);case"singleSelect":return(e=>g.default.createElement(Xt,E({dropdownType:"singleSelect"},e,a)))(e);case"multiSelect":return(e=>g.default.createElement(Xt,E({dropdownType:"multiSelect"},e,a)))(e);case"asyncSingleSelect":return(e=>g.default.createElement(Xt,E({dropdownType:"asyncSingleSelect"},e,a)))(e);case"asyncMultiSelect":return(e=>g.default.createElement(Xt,E({dropdownType:"asyncMultiSelect"},e,a)))(e);case"signature":return(e=>g.default.createElement(Zl,E({},e,a)))(e);case"fileUpload":return(e=>g.default.createElement(tl,E({},e,a)))(e);case"date":return(e=>g.default.createElement(It,E({},e,a)))(e);case"paginationTypeTwo":return(e=>g.default.createElement(fo,E({},e,a)))(e);case"toggle":return(e=>g.default.createElement(ra,E({},e,a)))(e);case"icon":return(e=>g.default.createElement(Q,E({},e,a)))(e);case"roundedLoader":return(e=>g.default.createElement(Me,E({},e,a)))(e);case"alert":return(e=>g.default.createElement(le,E({},e,a)))(e);case"banner":return(e=>g.default.createElement(Ce,E({},e,a)))(e);case"divider":return(e=>g.default.createElement(Pa,E({},e,a)))(e);case"headerComponent":case"headerComponent":return(e=>g.default.createElement(wo,E({},e,a)))(e);case"documentCard":return(e=>g.default.createElement(J,E({},e,a)))(e);case"imageUploader":return(e=>g.default.createElement(pl,E({},e,a)))(e);case"accordion":return(e=>g.default.createElement($,E({},e,a)))(e);case"content":return(e=>g.default.createElement(ga,E({},e,a)))(e);case"rating":return(e=>g.default.createElement(Co,E({},e,a)))(e);case"buttonPrimary":return(e=>g.default.createElement(Re,E({},e,a)))(e);case"buttonSecondary":return(e=>g.default.createElement(Te,E({},e,a)))(e);case"buttonTiny":return(e=>g.default.createElement(je,E({},e,a)))(e);case"buttonLink":return(e=>g.default.createElement(Le,E({},e,a)))(e);case"search":return(e=>g.default.createElement(Rl,E({},e,a)))(e);case"table":return(e=>g.default.createElement(Ao,E({},e,a)))(e);case"passwordInput":return(e=>g.default.createElement(Al,E({},e,a)))(e)}};return g.default.createElement(t.Fragment,null,g.default.createElement(za,{defaultThemeColor:H},g.default.createElement(Ra,{onSubmit:()=>{},customStyles:l},e.map(((e,t)=>e.length>1?g.default.createElement(La,null,e.map(((t,l)=>g.default.createElement(Ia,{cols:e.length},o(t))))):o(e[0]))))))},exports.FormContainer=za,exports.FormWrapper=Ra,exports.GroupAvatars=Vo,exports.GroupButtons=Wo,exports.GroupButtonsPopup=jo,exports.GroupStatusCircle=Xo,exports.Header=Qa,exports.HeaderComponent=wo,exports.HyperLink=Yo,exports.Icon=Q,exports.Image=ce,exports.ImageUploader=pl,exports.Label=et,exports.LightSecondaryLink=br,exports.LinkButton=Le,exports.Loader=ke,exports.ModalComp=tr,exports.MultiColumnDiv=Ia,exports.MultiColumnWrapper=La,exports.Navbar=({headerContent:e,bodyContent:a,toggleSideBarOpen:o,headerStyles:r,selectedStyle:i,notSelectedStyle:n,customStylesNameHover:c,listElementStyle:d,customSelectCardColor:s,selectedAppPath:u,setSelectedAppPath:p,setSelectedAppPageId:f,setParentId:m,setRouterObject:b,notificationCircleStyles:h})=>{const y=l.useTheme()||H,[x,C]=t.useState(null),[v,A]=t.useState(!1),[w,S]=t.useState([]);let k=a?.filter((e=>!0===e.visibleAsMenu&&"bottom"===e.type.split("-")[1])).length;t.useEffect((()=>{S(u?.split("/")||[]),b({});let e=u?.split("/")||[],t=a&&a.find((t=>e[1]===t.path?.split("/")[1]));E(t),m(t?.id||null)}),[u]),t.useEffect((()=>{!o&&A(!1),!o&&C(null)}),[o]);const E=e=>{e?.path===u?(f(e?.id||null),b(e||null)):e?.routes&&e?.routes.length>0&&e.routes.forEach((e=>E(e)))},V=(e,t,l)=>{let a=e?.path.split("/"),o=a.length;if(e.routes&&e.routes.length>0){let r=e.routes.filter((e=>!0===e.visibleAsMenu)).length>0;return g.default.createElement(_,{key:e?.id+t,showIcon:!!r,contentToggle:g.default.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"center",marginLeft:`${l}px`},onClick:()=>{!r&&p(e.path)}},g.default.createElement("span",{style:{visibility:3===o&&w[2]===a[2]?"visible":"hidden",marginRight:"16px",width:"7px",height:"7px",borderRadius:"50%",backgroundColor:y.additional.white,flexShrink:0}}),g.default.createElement("span",{style:{fontWeight:3===o&&w[2]===a[2]?"bold":"normal"}}," ",e?.link)),isAccordionOpen:u.includes(e.path),setContentIsOpen:()=>{},toggleIconAnimation:!0,content:g.default.createElement("div",null,e.routes.filter((e=>!0===e.visibleAsMenu)).map(((e,t)=>V(e,t,l+8)))),customStylesAccordionContainer:gr,customStylesAccordionToggle:{cursor:"pointer",...hr},customStylesAccordionContent:yr,showIconInfo:!1,customWrapperStyles:xr})}return g.default.createElement(zr,{listElementStyle:d,key:e?.id+t,onClick:()=>{p(e.path)},theme:y},g.default.createElement("span",{className:"selected-disk",style:{visibility:o<=3&&u===e?.path&&w[w.length-1]?.toLowerCase()===a[o-1]?.toLowerCase()?"visible":"hidden",marginRight:"16px"}}),g.default.createElement("span",{className:"link",style:{marginLeft:l-8+"px",padding:"4px 8px",borderRadius:"4px",backgroundColor:o>3&&u===e?.path?d?.selectedChildBG||y.additional.white:"transparent",fontWeight:o<=3&&u===e?.path&&w[w.length-1]?.toLowerCase()===a[o-1]?.toLowerCase()?"bold":"normal",color:y.variant.white}}," ",e?.link))};return g.default.createElement(kr,{onClick:()=>A(!0),onMouseEnter:()=>A(!0),onMouseLeave:()=>{C(null),A(!1)},toggleSideBarOpen:o},g.default.createElement(Vr,{theme:y,headerStyles:r,toggleSideBarOpen:o},e),g.default.createElement(Mr,{toggleSideBarOpen:o,staticLayerNo:k},a&&a?.filter((e=>!0===e.visibleAsMenu))?.map(((e,t)=>g.default.createElement("div",{className:"service-layer",key:e?.value+t,onClick:()=>{C(t)},style:{backgroundColor:e?.value?.toLowerCase()===w[1]?.toLowerCase()?s:"transparent"}},"static"!==e.type.split("-")[0]?g.default.createElement(_,{index:t,underMaintenance:e.maintenance,isAccordionOpen:t===x||v&&e?.value?.toLowerCase()===w[1]?.toLowerCase(),isSelected:e?.value?.toLowerCase()===w[1]?.toLowerCase(),customSelectCardColor:s,customStylesAccordionContainer:{...Cr,padding:"0px 0px 0px 0px"},customStylesAccordionToggle:{cursor:e.maintenance?"not-allowed":"pointer",...vr},customStylesAccordionContent:Ar,contentToggle:g.default.createElement(he,{selectedStyle:{minWidth:"36px",minHeight:"36px",...i},notSelectedStyle:{minWidth:"36px",minHeight:"36px",...n},toggleName:o,customStylesName:{...wr,color:e.maintenance?y.variant["neutral-3"]:y.variant.white},customStylesNameHover:c,size:"MD",user:{userName:e?.label,url:e?.logo},notificationCircleStyles:h,icon:e?.maintenance?g.default.createElement(Q,{icon:"maintenance",size:22,color:y.variant["neutral-3"]}):a.length-1===t?g.default.createElement(Q,{icon:"person",size:20,color:y.variant["primary-1"],customstyles:{backgroundColor:"white",borderRadius:"50%",padding:"8px",boxSizing:"content-box"}}):e?.icon?e?.icon:null,isSelected:e?.value?.toLowerCase()===w[1]?.toLowerCase(),notificationCount:e?.notificationCount,underMaintenance:e.maintenance}),content:g.default.createElement("div",{style:Sr},e.routes&&e?.routes.length>0&&e?.routes.filter((e=>!0===e.visibleAsMenu)).map(((e,t)=>V(e,t,0))))}):g.default.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"center"}},g.default.createElement(he,{selectedStyle:{minWidth:"36px",minHeight:"36px",...i},notSelectedStyle:{minWidth:"36px",minHeight:"36px",...n},toggleName:!1,customStylesName:wr,customStylesNameHover:c,size:"MD",user:{userName:e?.label,url:e?.logo},notificationCircleStyles:h,icon:e?.maintenance?g.default.createElement(Q,{icon:"maintenance",size:22,color:y.variant["neutral-3"]}):e?.icon?e?.icon:null,isSelected:e?.value?.toLowerCase()===w[1]?.toLowerCase(),notificationCount:e?.notificationCount,underMaintenance:e.maintenance}),e.element?e.element:g.default.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{color:e.maintenance?y.variant["neutral-3"]:y.variant.white,cursor:e.maintenance?"not-allowed":"pointer",...Er}},e.label)))))))},exports.NumericInput=hl,exports.Overlay=ar,exports.OverlayOptionContainer=Ea,exports.OverlayOptionItemLabel=Va,exports.PageContent=ha,exports.Pagination=lo,exports.PaginationDefault=oo,exports.PaginationTypeTwo=fo,exports.PasswordInput=Al,exports.PrimaryButton=Re,exports.PrimaryStatusChip=Wr,exports.ProgressBar=ir,exports.ProgressSteps=ur,exports.RadioInput=Ml,exports.Rating=Co,exports.RoundedLoader=Me,exports.SearchInput=Rl,exports.SecondaryButton=Te,exports.SecondaryStatusChip=Fr,exports.Sidebar=Ir,exports.SignatureInput=Zl,exports.SlimPrimaryStatusChip=Zr,exports.SlimSecondaryStatusChip=Gr,exports.StatusCircle=Zo,exports.StyledCentralBar=Ca,exports.StyledClearSearch=xa,exports.StyledCreateRow=Aa,exports.StyledRow=wa,exports.StyledRowSearch=ya,exports.StyledSearchRow=Sa,exports.StyledWarning=va,exports.SubmitButtonContainer=Ba,exports.SubmitComponent=({formData:e,onSubmit:l,onReset:a,style:o,...r})=>{const i=e=>{switch(e.type){case"submit":return(e=>g.default.createElement(Re,{block:e.block,style:e.style,disabled:e.disabled,type:"submit",children:e.children,onClick:()=>{e.onClick()}}))(e);case"reset":case"cancel":return(e=>g.default.createElement(Te,{block:e.block,disabled:r.disabled,children:e.children,onClick:()=>{e.onClick()}}))(e)}};return g.default.createElement(t.Fragment,null,g.default.createElement(Ba,{style:o},e&&e.map(((e,t)=>e.map(((e,t)=>i(e)))))))},exports.Table=Ao,exports.Tabs=Nr,exports.TextArea=Jl,exports.TextInput=Hl,exports.TimeInput=ea,exports.TinyButton=je,exports.ToastProvider=e=>{const[l,a]=t.useState([]),o=(e,t,l,o)=>{a((a=>[...a,{id:o||ei(),content:t,type:e,localTimeout:l}]))},r=e=>a((t=>t.filter((t=>t.id!==e)))),i=t.useMemo((()=>({open:o,close:r})),[]),[n,c]=t.useState(!1);return t.useEffect((()=>(c(!0),()=>c(!1))),[]),g.default.createElement($r.Provider,{value:i},e.children,n?f.createPortal(g.default.createElement(_r,null,g.default.createElement("div",{className:`notification-container ${e.position}`},l.map((t=>g.default.createElement(Kr,{key:t.id,type:t.type,position:e.position,timeout:e.timeout,localTimeout:t.localTimeout,close:()=>r(t.id)},t.content))))),document.body):null)},exports.ToggleSwitch=ra,exports.Tooltip=Ue,exports.Typography=ai,exports.additionalColors=I,exports.createDarker=T,exports.defaultStyles=R,exports.defaultThemeColor=H,exports.getDefaultStyles=W,exports.graphColor=L,exports.hexToRGB=P,exports.neutralColor=z,exports.primaryColor=V,exports.shadeColor=B,exports.uiColor=M,exports.useToast=()=>t.useContext($r);
3323
+ font-size: ${({size:e})=>_r[e].fontSize};
3324
+ line-height: ${({size:e})=>_r[e].lineHeight};
3325
+ `,ti=({size:e,children:t,bg:a,text:o,...r})=>{const i=l.useTheme()||H;return g.default.createElement(ei,E({theme:i,bg:a,text:o,size:e},r),g.default.createElement(Ao,{theme:i}),t)};ti.propTypes={size:b.default.oneOf(["xs","sm","md","lg"]),text:b.default.string,bg:b.default.string,children:b.default.any,theme:b.default.object},ti.defaultProps={size:"md"},exports.Accordion=$,exports.AccordionSB=_,exports.ActionContainer=wa,exports.ActionItem=Ea,exports.Alert=le,exports.ArrowBar=we,exports.Avatar=ze,exports.AvatarSB=Re,exports.Banner=Te,exports.Breadcrumb=Qe,exports.ButtonPopup=zo,exports.Card=j,exports.CardRef=Z,exports.CheckBoxInput=ut,exports.ChipsInput=rt,exports.ColorInput=mt,exports.Comment=pa,exports.Content=ma,exports.CountryCodedPhoneInput=ht,exports.DarkSecondaryLink=ur,exports.DateSelect=Bt,exports.DateTime=Ft,exports.Divider=Ra,exports.DocumentCard=J,exports.DotPulseLoader=()=>{const e=l.useTheme()||H;return g.default.createElement(oe,{activeTheme:e},g.default.createElement("div",{className:"dot-pulse"}))},exports.Drawer=Pa,exports.DropdownSelect=Ot,exports.DropzoneInput=_t,exports.EditableInput=rl,exports.ErrorBoundary=Ta,exports.FilterChip=qa,exports.Footer=Da,exports.FooterContent=({variant:e,textColor:t,size:l,width:a,footerWidth:o,customStyles:r,...i})=>{const n=(new Date).getFullYear();return g.default.createElement(Oa,E({variant:e,textColor:t,footerWidth:o,customStyles:r},i),g.default.createElement(Ga,{footerWidth:o},g.default.createElement(Xa,{footerWidth:o},"Premise HQ"),g.default.createElement(Ja,{footerWidth:o},"|"),g.default.createElement(Xa,{footerWidth:o},"All Rights Restricted ",n," ©")),g.default.createElement(Ga,{footerWidth:o},g.default.createElement(Xa,{footerWidth:o},"Terms of use"),g.default.createElement(Ja,{footerWidth:o},"|"),g.default.createElement(Xa,{footerWidth:o},"Privacy Policy")))},exports.FormComponent=({formData:e,customStyles:l,...a})=>{const o=e=>{switch(e.type){case"header":return(e=>g.default.createElement(t.Fragment,null,g.default.createElement(Ya,E({},e,a),e.children),e))(e);case"label":return(e=>g.default.createElement($e,E({style:{marginBottom:"8px",paddingBottom:"0"}},e,a)))(e);case"text":return(e=>g.default.createElement(Ll,E({},e,a)))(e);case"textArea":return(e=>g.default.createElement(Gl,E({},e,a)))(e);case"number":return(e=>g.default.createElement(bl,E({},e,a)))(e);case"radio":return(e=>g.default.createElement(El,E({key:101*Math.random()|0},e,a)))(e);case"checkBox":return(e=>g.default.createElement(ut,E({},e,a)))(e);case"singleSelect":return(e=>g.default.createElement(Ot,E({dropdownType:"singleSelect"},e,a)))(e);case"multiSelect":return(e=>g.default.createElement(Ot,E({dropdownType:"multiSelect"},e,a)))(e);case"asyncSingleSelect":return(e=>g.default.createElement(Ot,E({dropdownType:"asyncSingleSelect"},e,a)))(e);case"asyncMultiSelect":return(e=>g.default.createElement(Ot,E({dropdownType:"asyncMultiSelect"},e,a)))(e);case"signature":return(e=>g.default.createElement(jl,E({},e,a)))(e);case"fileUpload":return(e=>g.default.createElement(_t,E({},e,a)))(e);case"date":return(e=>g.default.createElement(Bt,E({},e,a)))(e);case"paginationTypeTwo":return(e=>g.default.createElement(uo,E({},e,a)))(e);case"toggle":return(e=>g.default.createElement(aa,E({},e,a)))(e);case"icon":return(e=>g.default.createElement(Q,E({},e,a)))(e);case"roundedLoader":return(e=>g.default.createElement(se,E({},e,a)))(e);case"alert":return(e=>g.default.createElement(le,E({},e,a)))(e);case"banner":return(e=>g.default.createElement(Te,E({},e,a)))(e);case"divider":return(e=>g.default.createElement(Ra,E({},e,a)))(e);case"headerComponent":case"headerComponent":return(e=>g.default.createElement(vo,E({},e,a)))(e);case"documentCard":return(e=>g.default.createElement(J,E({},e,a)))(e);case"imageUploader":return(e=>g.default.createElement(sl,E({},e,a)))(e);case"accordion":return(e=>g.default.createElement($,E({},e,a)))(e);case"content":return(e=>g.default.createElement(ma,E({},e,a)))(e);case"rating":return(e=>g.default.createElement(yo,E({},e,a)))(e);case"buttonPrimary":return(e=>g.default.createElement(ge,E({},e,a)))(e);case"buttonSecondary":return(e=>g.default.createElement(xe,E({},e,a)))(e);case"buttonTiny":return(e=>g.default.createElement(ve,E({},e,a)))(e);case"buttonLink":return(e=>g.default.createElement(fe,E({},e,a)))(e);case"search":return(e=>g.default.createElement(Il,E({},e,a)))(e);case"table":return(e=>g.default.createElement(Co,E({},e,a)))(e);case"passwordInput":return(e=>g.default.createElement(Cl,E({},e,a)))(e)}};return g.default.createElement(t.Fragment,null,g.default.createElement(Va,{defaultThemeColor:H},g.default.createElement(Ia,{onSubmit:()=>{},customStyles:l},e.map(((e,t)=>e.length>1?g.default.createElement(za,null,e.map(((t,l)=>g.default.createElement(Ba,{cols:e.length},o(t))))):o(e[0]))))))},exports.FormContainer=Va,exports.FormWrapper=Ia,exports.GroupAvatars=ko,exports.GroupButtons=Ho,exports.GroupButtonsPopup=To,exports.GroupStatusCircle=Oo,exports.Header=Ya,exports.HeaderComponent=vo,exports.HyperLink=Jo,exports.Icon=Q,exports.Image=ke,exports.ImageUploader=sl,exports.Label=$e,exports.LightSecondaryLink=fr,exports.LinkButton=fe,exports.Loader=ne,exports.ModalComp=_o,exports.MultiColumnDiv=Ba,exports.MultiColumnWrapper=za,exports.Navbar=({headerContent:e,bodyContent:a,toggleSideBarOpen:o,headerStyles:r,selectedStyle:i,notSelectedStyle:n,customStylesNameHover:c,listElementStyle:d,customSelectCardColor:s,selectedAppPath:u,setSelectedAppPath:p,setSelectedAppPageId:f,setParentId:m,setRouterObject:b,notificationCircleStyles:h})=>{const y=l.useTheme()||H,[x,C]=t.useState(null),[v,A]=t.useState(!1),[w,S]=t.useState([]);let k=a?.filter((e=>!0===e.visibleAsMenu&&"bottom"===e.type.split("-")[1])).length;t.useEffect((()=>{S(u?.split("/")||[]),b({});let e=u?.split("/")||[],t=a&&a.find((t=>e[1]===t.path?.split("/")[1]));E(t),m(t?.id||null)}),[u]),t.useEffect((()=>{!o&&A(!1),!o&&C(null)}),[o]);const E=e=>{e?.path===u?(f(e?.id||null),b(e||null)):e?.routes&&e?.routes.length>0&&e.routes.forEach((e=>E(e)))},V=(e,t,l)=>{let a=e?.path.split("/"),o=a.length;if(e.routes&&e.routes.length>0){let r=e.routes.filter((e=>!0===e.visibleAsMenu)).length>0;return g.default.createElement(_,{key:e?.id+t,showIcon:!!r,contentToggle:g.default.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"center",marginLeft:`${l}px`},onClick:()=>{!r&&p(e.path)}},g.default.createElement("span",{style:{visibility:3===o&&w[2]===a[2]?"visible":"hidden",marginRight:"16px",width:"7px",height:"7px",borderRadius:"50%",backgroundColor:y.additional.white,flexShrink:0}}),g.default.createElement("span",{style:{fontWeight:3===o&&w[2]===a[2]?"bold":"normal"}}," ",e?.link)),isAccordionOpen:u.includes(e.path),setContentIsOpen:()=>{},toggleIconAnimation:!0,content:g.default.createElement("div",null,e.routes.filter((e=>!0===e.visibleAsMenu)).map(((e,t)=>V(e,t,l+8)))),customStylesAccordionContainer:mr,customStylesAccordionToggle:{cursor:"pointer",...br},customStylesAccordionContent:gr,showIconInfo:!1,customWrapperStyles:hr})}return g.default.createElement(Vr,{listElementStyle:d,key:e?.id+t,onClick:()=>{p(e.path)},theme:y},g.default.createElement("span",{className:"selected-disk",style:{visibility:o<=3&&u===e?.path&&w[w.length-1]?.toLowerCase()===a[o-1]?.toLowerCase()?"visible":"hidden",marginRight:"16px"}}),g.default.createElement("span",{className:"link",style:{marginLeft:l-8+"px",padding:"4px 8px",borderRadius:"4px",backgroundColor:o>3&&u===e?.path?d?.selectedChildBG||y.additional.white:"transparent",fontWeight:o<=3&&u===e?.path&&w[w.length-1]?.toLowerCase()===a[o-1]?.toLowerCase()?"bold":"normal",color:y.variant.white}}," ",e?.link))};return g.default.createElement(wr,{onClick:()=>A(!0),onMouseEnter:()=>A(!0),onMouseLeave:()=>{C(null),A(!1)},toggleSideBarOpen:o},g.default.createElement(kr,{theme:y,headerStyles:r,toggleSideBarOpen:o},e),g.default.createElement(Er,{toggleSideBarOpen:o,staticLayerNo:k},a&&a?.filter((e=>!0===e.visibleAsMenu))?.map(((e,t)=>g.default.createElement("div",{className:"service-layer",key:e?.value+t,onClick:()=>{C(t)},style:{backgroundColor:e?.value?.toLowerCase()===w[1]?.toLowerCase()?s:"transparent"}},"static"!==e.type.split("-")[0]?g.default.createElement(_,{index:t,underMaintenance:e.maintenance,isAccordionOpen:t===x||v&&e?.value?.toLowerCase()===w[1]?.toLowerCase(),isSelected:e?.value?.toLowerCase()===w[1]?.toLowerCase(),customSelectCardColor:s,customStylesAccordionContainer:{...yr,padding:"0px 0px 0px 0px"},customStylesAccordionToggle:{cursor:e.maintenance?"not-allowed":"pointer",...xr},customStylesAccordionContent:Cr,contentToggle:g.default.createElement(Re,{selectedStyle:{minWidth:"36px",minHeight:"36px",...i},notSelectedStyle:{minWidth:"36px",minHeight:"36px",...n},toggleName:o,customStylesName:{...vr,color:e.maintenance?y.variant["neutral-3"]:y.variant.white},customStylesNameHover:c,size:"MD",user:{userName:e?.label,url:e?.logo},notificationCircleStyles:h,icon:e?.maintenance?g.default.createElement(Q,{icon:"maintenance",size:22,color:y.variant["neutral-3"]}):a.length-1===t?g.default.createElement(Q,{icon:"person",size:20,color:y.variant["primary-1"],customstyles:{backgroundColor:"white",borderRadius:"50%",padding:"8px",boxSizing:"content-box"}}):e?.icon?e?.icon:null,isSelected:e?.value?.toLowerCase()===w[1]?.toLowerCase(),notificationCount:e?.notificationCount,underMaintenance:e.maintenance}),content:g.default.createElement("div",{style:Ar},e.routes&&e?.routes.length>0&&e?.routes.filter((e=>!0===e.visibleAsMenu)).map(((e,t)=>V(e,t,0))))}):g.default.createElement("div",{style:{display:"flex",justifyContent:"start",alignItems:"center"}},g.default.createElement(Re,{selectedStyle:{minWidth:"36px",minHeight:"36px",...i},notSelectedStyle:{minWidth:"36px",minHeight:"36px",...n},toggleName:!1,customStylesName:vr,customStylesNameHover:c,size:"MD",user:{userName:e?.label,url:e?.logo},notificationCircleStyles:h,icon:e?.maintenance?g.default.createElement(Q,{icon:"maintenance",size:22,color:y.variant["neutral-3"]}):e?.icon?e?.icon:null,isSelected:e?.value?.toLowerCase()===w[1]?.toLowerCase(),notificationCount:e?.notificationCount,underMaintenance:e.maintenance}),e.element?e.element:g.default.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{color:e.maintenance?y.variant["neutral-3"]:y.variant.white,cursor:e.maintenance?"not-allowed":"pointer",...Sr}},e.label)))))))},exports.NumericInput=bl,exports.Overlay=tr,exports.OverlayOptionContainer=Sa,exports.OverlayOptionItemLabel=ka,exports.PageContent=ba,exports.Pagination=eo,exports.PaginationDefault=lo,exports.PaginationTypeTwo=uo,exports.PasswordInput=Cl,exports.PrimaryButton=ge,exports.PrimaryStatusChip=Hr,exports.ProgressBar=or,exports.ProgressSteps=dr,exports.RadioInput=El,exports.Rating=yo,exports.RoundedLoader=se,exports.SearchInput=Il,exports.SecondaryButton=xe,exports.SecondaryStatusChip=Pr,exports.Sidebar=Br,exports.SignatureInput=jl,exports.SlimPrimaryStatusChip=jr,exports.SlimSecondaryStatusChip=Dr,exports.StatusCircle=jo,exports.StyledCentralBar=ya,exports.StyledClearSearch=ha,exports.StyledCreateRow=Ca,exports.StyledRow=va,exports.StyledRowSearch=ga,exports.StyledSearchRow=Aa,exports.StyledWarning=xa,exports.SubmitButtonContainer=Ma,exports.SubmitComponent=({formData:e,onSubmit:l,onReset:a,style:o,...r})=>{const i=e=>{switch(e.type){case"submit":return(e=>g.default.createElement(ge,{block:e.block,style:e.style,disabled:e.disabled,type:"submit",children:e.children,onClick:()=>{e.onClick()}}))(e);case"reset":case"cancel":return(e=>g.default.createElement(xe,{block:e.block,disabled:r.disabled,children:e.children,onClick:()=>{e.onClick()}}))(e)}};return g.default.createElement(t.Fragment,null,g.default.createElement(Ma,{style:o},e&&e.map(((e,t)=>e.map(((e,t)=>i(e)))))))},exports.Table=Co,exports.Tabs=Ur,exports.TextArea=Gl,exports.TextInput=Ll,exports.TimeInput=$l,exports.TinyButton=ve,exports.ToastProvider=e=>{const[l,a]=t.useState([]),o=(e,t,l,o)=>{a((a=>[...a,{id:o||$r(),content:t,type:e,localTimeout:l}]))},r=e=>a((t=>t.filter((t=>t.id!==e)))),i=t.useMemo((()=>({open:o,close:r})),[]),[n,c]=t.useState(!1);return t.useEffect((()=>(c(!0),()=>c(!1))),[]),g.default.createElement(Qr.Provider,{value:i},e.children,n?f.createPortal(g.default.createElement(Kr,null,g.default.createElement("div",{className:`notification-container ${e.position}`},l.map((t=>g.default.createElement(Nr,{key:t.id,type:t.type,position:e.position,timeout:e.timeout,localTimeout:t.localTimeout,close:()=>r(t.id)},t.content))))),document.body):null)},exports.ToggleSwitch=aa,exports.Tooltip=Xe,exports.Typography=ti,exports.additionalColors=I,exports.createDarker=T,exports.defaultStyles=R,exports.defaultThemeColor=H,exports.getDefaultStyles=W,exports.graphColor=L,exports.hexToRGB=P,exports.neutralColor=z,exports.primaryColor=V,exports.shadeColor=B,exports.uiColor=M,exports.useToast=()=>t.useContext(Qr);