@tap-payments/os-micro-frontend-shared 0.3.312 → 0.3.314
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.
- package/build/_chunks/{chunk-YFL4D5VW.js → chunk-2NXWQKL2.js} +1 -1
- package/build/_chunks/{chunk-V4ZKOYOF.js → chunk-2QQBLC6G.js} +1 -1
- package/build/_chunks/{chunk-632OM3TB.js → chunk-3EWEV62B.js} +1 -1
- package/build/_chunks/{chunk-3ZUUAIFN.js → chunk-44TFMXB6.js} +1 -1
- package/build/_chunks/{chunk-B2OUV4UE.js → chunk-4OVITNFA.js} +1 -1
- package/build/_chunks/{chunk-UHP2ZQJO.js → chunk-5VPAWE3Z.js} +1 -1
- package/build/_chunks/{chunk-FXXY2XGL.js → chunk-6PVQ5MLI.js} +1 -1
- package/build/_chunks/chunk-735HO2L7.js +1 -0
- package/build/_chunks/{chunk-AO5BBZSP.js → chunk-7HIX5YFK.js} +1 -1
- package/build/_chunks/{chunk-ETLDR6XW.js → chunk-A7PVLX7Y.js} +1 -1
- package/build/_chunks/{chunk-FXTZ22TS.js → chunk-AJCSDJRM.js} +1 -1
- package/build/_chunks/{chunk-JBD7LBKC.js → chunk-BEUZZ5TZ.js} +1 -1
- package/build/_chunks/{chunk-PEQGKPA2.js → chunk-BH7A52ZR.js} +1 -1
- package/build/_chunks/{chunk-WE5WS7B2.js → chunk-C5HOVU2E.js} +1 -1
- package/build/_chunks/{chunk-VLOXMCB3.js → chunk-CDF5QBAR.js} +1 -1
- package/build/_chunks/{chunk-3YBLN7RZ.js → chunk-CR4VUKDZ.js} +1 -1
- package/build/_chunks/{chunk-7UR5RTMD.js → chunk-D3XPFXOK.js} +1 -1
- package/build/_chunks/{chunk-637LQKFX.js → chunk-DT5OXK73.js} +1 -1
- package/build/_chunks/{chunk-U6HZMYNW.js → chunk-DUZDYYXE.js} +1 -1
- package/build/_chunks/{chunk-R6E5X56S.js → chunk-E232MG7N.js} +1 -1
- package/build/_chunks/{chunk-AIKE5IVU.js → chunk-EMARPL4U.js} +1 -1
- package/build/_chunks/{chunk-2BU56HDE.js → chunk-EV2E5BGC.js} +1 -1
- package/build/_chunks/{chunk-Z7GYOTVN.js → chunk-EVKDUD7R.js} +1 -1
- package/build/_chunks/{chunk-XBJ4RS2B.js → chunk-FHV4S2B3.js} +1 -1
- package/build/_chunks/{chunk-YZF24X6P.js → chunk-G7KM5KZB.js} +1 -1
- package/build/_chunks/{chunk-L2SDX2MP.js → chunk-GHKKBQNX.js} +1 -1
- package/build/_chunks/{chunk-673TILTX.js → chunk-HPLZO5T5.js} +1 -1
- package/build/_chunks/{chunk-OL6JOGIF.js → chunk-HQ26P2JN.js} +1 -1
- package/build/_chunks/{chunk-HNVAFVUA.js → chunk-HWRSH3UP.js} +1 -1
- package/build/_chunks/{chunk-KLN3YM53.js → chunk-IA5ABHBS.js} +1 -1
- package/build/_chunks/{chunk-TJ3OEL7X.js → chunk-IAI4SX3W.js} +1 -1
- package/build/_chunks/{chunk-AM66KDGG.js → chunk-J5F6PRTA.js} +1 -1
- package/build/_chunks/{chunk-SMGH6EBP.js → chunk-JXR5GHFJ.js} +1 -1
- package/build/_chunks/{chunk-QIUS47UY.js → chunk-JZ5PJEJ3.js} +1 -1
- package/build/_chunks/{chunk-PI263RZJ.js → chunk-KPSBWLN2.js} +1 -1
- package/build/_chunks/{chunk-Z6D3LMCU.js → chunk-KRRCTTGN.js} +1 -1
- package/build/_chunks/{chunk-TKWUFXNT.js → chunk-L2OVTNK5.js} +1 -1
- package/build/_chunks/{chunk-U3ZJP2GE.js → chunk-LUX6XI5Q.js} +1 -1
- package/build/_chunks/{chunk-SKDHJYOO.js → chunk-M3HYB5CL.js} +1 -1
- package/build/_chunks/{chunk-W755BEL7.js → chunk-NUNYEGYR.js} +1 -1
- package/build/_chunks/{chunk-XJOPGP7Y.js → chunk-P4PBCAJO.js} +1 -1
- package/build/_chunks/{chunk-RF6JK6KJ.js → chunk-PAOZ6T3I.js} +1 -1
- package/build/_chunks/{chunk-JGXI5MLK.js → chunk-PTPGJAQY.js} +1 -1
- package/build/_chunks/{chunk-VLXDIIDL.js → chunk-PX5JVPLZ.js} +1 -1
- package/build/_chunks/{chunk-MXZD4IG6.js → chunk-PXEKSEVO.js} +1 -1
- package/build/_chunks/{chunk-Q6MQJAZI.js → chunk-Q7YAKV4E.js} +1 -1
- package/build/_chunks/{chunk-MUBZJUHH.js → chunk-QFTJ5ABI.js} +1 -1
- package/build/_chunks/{chunk-EGIKB732.js → chunk-QGS4PD2V.js} +1 -1
- package/build/_chunks/{chunk-A3T5KTSC.js → chunk-T3IFS7C5.js} +1 -1
- package/build/_chunks/{chunk-TRXHMROX.js → chunk-T5VU5QUN.js} +1 -1
- package/build/_chunks/{chunk-U2JLXSW5.js → chunk-TDHNYSIB.js} +1 -1
- package/build/_chunks/chunk-TF7BQNJV.js +2 -0
- package/build/_chunks/{chunk-3YZF4W2L.js → chunk-THQ7CZYC.js} +1 -1
- package/build/_chunks/{chunk-NFDDJIRN.js → chunk-TWCYN3JC.js} +1 -1
- package/build/_chunks/{chunk-GGX2FEQV.js → chunk-U2UE6E3A.js} +1 -1
- package/build/_chunks/{chunk-LQSTGJBJ.js → chunk-VKDF5MAO.js} +1 -1
- package/build/_chunks/{chunk-S7AZOXFD.js → chunk-W6KKPIHK.js} +1 -1
- package/build/_chunks/{chunk-4V64TJJW.js → chunk-WDYLJ45H.js} +1 -1
- package/build/_chunks/{chunk-G4W4TPFT.js → chunk-XE67FQI7.js} +1 -1
- package/build/_chunks/{chunk-565FQDLE.js → chunk-YCNRGXTF.js} +1 -1
- package/build/components/ActionMenu/index.js +1 -1
- package/build/components/Alert/index.js +1 -1
- package/build/components/AreaChart/index.js +1 -1
- package/build/components/Autocomplete/index.js +1 -1
- package/build/components/AvatarStack/index.js +1 -1
- package/build/components/Card/index.js +1 -1
- package/build/components/CardList/index.js +1 -1
- package/build/components/ColorPicker/index.js +1 -1
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/ConfirmDialog/index.js +1 -1
- package/build/components/CountryFlag/index.js +1 -1
- package/build/components/CurrencyAmount/index.js +1 -1
- package/build/components/CurrencyAmountInput/index.js +1 -1
- package/build/components/CurrencySymbol/index.js +1 -1
- package/build/components/DeviceIcon/index.js +1 -1
- package/build/components/EmptyState/index.js +1 -1
- package/build/components/ErrorToast/index.js +1 -1
- package/build/components/ExpandableChip/index.js +1 -1
- package/build/components/ExportReportButton/index.js +1 -1
- package/build/components/FileDropbox/index.js +1 -1
- package/build/components/FilePreview/index.js +1 -1
- package/build/components/FileUploader/index.js +1 -1
- package/build/components/FilterBar/index.js +1 -1
- package/build/components/FilterButton/index.js +1 -1
- package/build/components/FilterChip/index.js +1 -1
- package/build/components/FilterPopover/index.js +1 -1
- package/build/components/FlipCard/index.js +1 -1
- package/build/components/GroupedSelect/index.js +1 -1
- package/build/components/HeatMap/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/Loader/index.js +1 -1
- package/build/components/Logo/index.js +1 -1
- package/build/components/MaskedText/index.js +1 -1
- package/build/components/MultiLevelMenu/index.js +1 -1
- package/build/components/MultiLevelSelect/index.js +1 -1
- package/build/components/PhoneInput/index.js +1 -1
- package/build/components/ProgressRing/index.js +1 -1
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RatingCount/index.js +1 -1
- package/build/components/SearchButton/index.js +1 -1
- package/build/components/SearchInput/index.js +1 -1
- package/build/components/Select/index.js +1 -1
- package/build/components/SheetViewChip/index.js +1 -1
- package/build/components/Sidebar/index.js +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableViewToggleButton/index.js +1 -1
- package/build/components/TextInput/index.js +1 -1
- package/build/components/Timeline/index.js +1 -1
- package/build/components/VerificationIcon/index.js +1 -1
- package/build/components/VirtualTables/index.js +1 -1
- package/build/components/Window/constants.d.ts +1 -1
- package/build/components/Window/index.js +1 -1
- package/build/components/WindowServices/index.js +1 -1
- package/build/components/WindowToolbar/index.js +1 -1
- package/build/components/index.js +1 -1
- package/build/components/modules/JSONViewWindow/index.js +1 -1
- package/build/components/modules/VirtualTables/index.js +1 -1
- package/build/components/modules/WindowShell/index.js +1 -1
- package/build/components/modules/index.js +1 -1
- package/build/components/primitives/index.js +1 -1
- package/build/constants/apps.d.ts +3 -0
- package/build/constants/index.js +1 -1
- package/build/datetime/components/index.js +1 -1
- package/build/hooks/index.js +1 -1
- package/build/index.js +1 -1
- package/build/theme/palette.d.ts +2 -0
- package/build/theme/shadows.d.ts +1 -0
- package/build/theme/typography.d.ts +1 -0
- package/build/types/custom/material-ui.d.ts +24 -5
- package/build/utils/index.js +1 -1
- package/package.json +1 -1
- package/build/_chunks/chunk-EYLBXWXJ.js +0 -2
- package/build/_chunks/chunk-ISC5KT5E.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import {j}from'./chunk-
|
|
1
|
+
import {j}from'./chunk-KRRCTTGN.js';import {Eb}from'./chunk-FHV4S2B3.js';import {forwardRef,memo}from'react';import C from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var p="os-shared-Card",o={root:`${p}-root`,header:`${p}-header`,title:`${p}-title`},n=233,f=39;var c=styled(C)(({theme:r})=>{let{grey:e}=r.v2.palette;return {display:"flex",flexDirection:"column",height:n,border:`1px solid ${e[100]}`,borderRadius:r.v2.radius(8),backgroundColor:"#FBFBFB",fontSize:r.v2.typography.textVariants.body.small.regular.fontSize,transform:"scale(1)"}}),y=styled(C,{shouldForwardProp:r=>r!=="$hasStartAdornment"})(({theme:r,$hasStartAdornment:e})=>({display:"flex",alignItems:"center",...e&&{gap:r.v2.spacing(8)},height:f,flexShrink:0,overflow:"visible",padding:`${r.v2.spacing(8)} ${r.v2.spacing(12)}`,borderBottom:`1px solid ${r.v2.palette.grey[100]}`})),x=styled(j)(({theme:r})=>({flexGrow:1,minWidth:0,color:r.v2.palette.grey[900],textTransform:"capitalize"}));var H=forwardRef(({id:r,className:e,sx:d,children:s,...a},l)=>jsx(c,{ref:l,component:"article",id:r,"data-testid":r??"Card",...a,className:Eb(o.root,e),sx:d,children:s}));H.displayName="Card";var v=memo(H);var g=forwardRef(({id:r,className:e,sx:d,children:s,startAdornment:a,endAdornment:l,...S},N)=>jsxs(y,{ref:N,component:"header",id:r,"data-testid":r??"CardHeader",...S,$hasStartAdornment:a!=null,className:Eb(o.header,e),sx:d,children:[a,jsx(x,{component:"div",textVariant:"body.small.semibold",className:o.title,children:s}),l]}));g.displayName="CardHeader";var T=memo(g);export{o as a,v as b,T as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Db,Eb}from'./chunk-
|
|
1
|
+
import {Db,Eb}from'./chunk-FHV4S2B3.js';import {forwardRef,useCallback,memo}from'react';import {jsxs,jsx}from'react/jsx-runtime';import {styled,alpha}from'@mui/material/styles';var u="os-shared-FilterChip",a={root:`${u}-root`,label:`${u}-label`,dismissButton:`${u}-dismissButton`,dismissIcon:`${u}-dismissIcon`},C=",",g="Dismiss filter";function L({className:t}){return jsxs("svg",{className:t,width:"8",height:"8",viewBox:"0 0 8 8",fill:"none","aria-hidden":"true",children:[jsx("path",{d:"M1.79488 1.73941L6.31572 6.26024",stroke:"currentColor",strokeWidth:"0.875",strokeMiterlimit:"10",strokeLinecap:"round"}),jsx("path",{d:"M6.31572 1.73941L1.79488 6.26024",stroke:"currentColor",strokeWidth:"0.875",strokeMiterlimit:"10",strokeLinecap:"round"})]})}var k=styled("div",{shouldForwardProp:t=>!["$disabled","$isActive"].includes(t)})(({theme:t,$disabled:e,$isActive:r=true})=>{let{base:o,grey:s,foreground:n}=t.v2.palette,p=t.v2.spacing(1),i=t.palette.background.gradient.shadedBlue;return {display:"inline-flex",position:"relative",alignItems:"center",justifyContent:"center",gap:t.v2.spacing(8),height:t.v2.spacing(32),minWidth:"135.11px",maxWidth:"16rem",boxSizing:"border-box",borderStyle:"solid",borderRadius:t.v2.radius(48),...t.v2.typography.textVariants.body.small.regular,whiteSpace:"nowrap",overflow:"hidden",cursor:"default",opacity:e?.6:1,...r?{borderWidth:0,paddingInline:`calc(${t.v2.spacing(16)} + ${p})`,background:i,color:o.white}:{borderWidth:p,borderColor:s[100],paddingInline:t.v2.spacing(16),backgroundColor:o.white,color:n.primary}}}),E=styled("span")(({theme:t})=>({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,flex:"1 1 auto",textAlign:"center",fontWeight:t.v2.typography.fontWeightRegular})),_=styled("button",{shouldForwardProp:t=>t!=="$disabled"&&t!=="$isActive"})(({theme:t,$disabled:e,$isActive:r=true})=>{let{base:o,foreground:s}=t.v2.palette;return {display:"inline-flex",position:"relative",alignItems:"center",justifyContent:"center",flexShrink:0,width:"16px",height:"16px",padding:0,border:"none",borderRadius:"50%",backgroundColor:alpha(o.black,.1),color:r?o.white:s.secondary,cursor:e?"not-allowed":"pointer",opacity:e?.6:1,transition:"opacity 150ms ease, background-color 150ms ease","&:hover":e?void 0:{backgroundColor:alpha(o.black,.2)},"&:focus-visible":{outline:`2px solid ${r?o.white:s.secondary}`,outlineOffset:"1px"},"& svg":{display:"block"}}});var A=forwardRef(({label:t,value:e,separator:r=C,visible:o=true,dismissible:s=true,onDismiss:n,dismissLabel:p=g,disabled:i=false,isActive:x=true,children:F,id:S,sx:R,className:w,slotProps:P,"data-testid":T},$)=>{let{label:h,dismissButton:l}=P??{},B=useCallback(f=>{f.stopPropagation(),!i&&(l?.onClick?.(f),n?.(f));},[i,l,n]);if(!o)return null;let m=t??(typeof e=="string"?e:e&&e.length>0?e.join(r):void 0);if(!m&&!F)return null;let N=s&&n!=null;return jsxs(k,{ref:$,id:S,"data-testid":T??S??"FilterChip",className:Eb(a.root,w),sx:Db({},R),$disabled:i,$isActive:x,role:"status",children:[m?jsx(E,{...h,className:Eb(a.label,h?.className),sx:Db({},h?.sx),children:m}):F,N&&jsx(_,{...l,type:"button","aria-label":l?.["aria-label"]??p,disabled:i,onClick:B,className:Eb(a.dismissButton,l?.className),sx:Db({},l?.sx),$disabled:i,$isActive:x,children:jsx(L,{className:a.dismissIcon})})]})});A.displayName="FilterChip";var U=memo(A);export{a,C as b,g as c,U as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {p as p$1}from'./chunk-
|
|
1
|
+
import {p as p$1}from'./chunk-KRRCTTGN.js';import {Sb}from'./chunk-FHV4S2B3.js';import {b}from'./chunk-TIPJC5YT.js';import {ob}from'./chunk-TF7BQNJV.js';import {useId}from'react';import {useTranslation}from'react-i18next';import {styled}from'@mui/material';import {motion}from'framer-motion';import {jsx,jsxs}from'react/jsx-runtime';var p=t=>({start:{x:t*6,transition:{duration:.3,type:"tween",ease:"easeIn"}},animate:{x:t*39,transition:{duration:.3,type:"tween",ease:"easeOut"}}}),s=styled(motion.span)(({order:t})=>({zIndex:(t||0)+1}));var g=({children:t})=>jsx("span",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"2px"},children:t});function x({value:t,index:o}){let m=Sb(useId(),"rating-count"),{t:d}=useTranslation();return jsx(p$1,{title:d("totalPaymentCount",{amount:b(t)}),wrapperProps:{display:"inline-flex"},children:jsx(s,{id:m,order:o,variants:p(o),"data-testid":"RatingCount",children:jsxs(g,{children:[jsx("img",{src:ob,alt:"star",style:{width:"10px",height:"10px"}})," ",(t||0)>1&&jsx("span",{style:{fontSize:"9.782px"},children:t})]})})})}export{x as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {n,j,k,l,h,f,b,g,i,m as m$1,c,e,d}from'./chunk-
|
|
1
|
+
import {n,j,k,l,h,f,b,g,i,m as m$1,c,e,d}from'./chunk-EVKDUD7R.js';import {Y,W,X,a,Z,k as k$1,O,R,b as b$1,$,P,S,T,U,V,F,m,aa,L,M,ca,ba as ba$1,c as c$1,Q,N,I,G,H,_,J,K}from'./chunk-KPSBWLN2.js';import {ba}from'./chunk-KRRCTTGN.js';import {Ub,Eb,Db}from'./chunk-FHV4S2B3.js';import {forwardRef,useState,useRef,useCallback,useMemo,memo}from'react';import me from'@mui/material/Box';import Dt from'@mui/material/InputLabel';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function Tt({endAdornmentProp:h,isLoading:a$1,showClear:S,showMenuArrow:u,menuOpen:b,ClearIconComponent:c=aa,ChevronIconComponent:d=ba$1,onClear:m,onClearDefault:D}){if(!h&&!S&&!a$1&&!u)return null;let y=g=>{g.preventDefault(),g.stopPropagation(),m?m():D();};return jsxs(me,{className:Eb("Select-endAdornmentRoot",a$1&&"Select-endAdornmentRoot--loading",a.endAdornment),component:"span",children:[h,a$1?jsx(me,{component:"span",className:Eb("Select-menuTriggerIcon Select-menuTriggerIcon--loading",a.loading),"aria-hidden":true,children:jsx(ca,{})}):null,!a$1&&S?jsx(me,{component:"button",className:"Select-clearIconButton","data-select-clear":"",type:"button",tabIndex:0,"aria-label":"Clear selection",onMouseDown:y,onClick:y,children:jsx(c,{})}):null,!a$1&&u?jsx(me,{component:"span",className:Eb("Select-menuTriggerIcon",b&&"Select-menuTriggerIcon-open",a.chevron),"aria-hidden":true,children:jsx(d,{})}):null]})}var Lt=forwardRef(function({isMultiple:a$1=false,options:S,value:u,onChange:b,label:c="",disabled:d,required:m,hasError:D=false,helperText:y,feedback:g,showClearIcon:q=false,ClearIconComponent:fe,ChevronIconComponent:Q,onClear:j$1,isLoading:F,MenuProps:z,children:he,id:J="Select",className:X$1,open:w,onOpen:Y$1,onClose:T,name:Z$1,inputProps:x,endAdornment:_,renderValue:L,valueAlignment:ee},C){let[be,te]=useState(false),O=w??be,A=!!(d||F),{isProvided:le,isVisible:B,type:ne}=Ub(g),$=`${J}-label`,H=Array.isArray(u)?u:u!=null?[u]:[],G=useRef(null),R=useCallback((t,k)=>{k?Y$1?.(t):T?.(t),w===void 0&&te(k);},[Y$1,T,w]),oe=t=>{t.button===0&&(m$1(t)||t.target.closest('.MuiSelect-select[role="combobox"]')||A||(t.preventDefault(),t.stopPropagation(),G.current?.focus(),R(t,!O)));},ae=t=>{m$1(t)||t.target.closest('.MuiSelect-select[role="combobox"]')||(t.preventDefault(),t.stopPropagation());},re=t=>{let ge=t.target.value.map(V=>S.find(W=>j(W)===V||String(W.value)===String(V))).filter(V=>V!=null);b?.(ge);},U=jsx(Tt,{endAdornmentProp:_,isLoading:!!F,showClear:q&&n(u)&&!A,showMenuArrow:!F,menuOpen:O,ClearIconComponent:fe,ChevronIconComponent:Q,onClear:j$1,onClearDefault:()=>b?.(a$1?[]:null)}),se=a$1?H.map(j):j(H[0]??null);return jsxs(Y,{$hasFeedback:B,onMouseDown:oe,onClick:ae,children:[jsxs(W,{variant:"filled",required:m,className:X$1,children:[jsx(Dt,{id:$,children:c}),jsx(X,{multiple:a$1,ref:C,inputRef:G,value:se,error:D&&!B,feedbackType:ne,hasFeedback:B,valueAlignment:ee,disableUnderline:true,required:m,hasLabel:!!c.trim(),labelId:$,id:J,name:Z$1,open:O,onOpen:t=>R(t,true),onClose:t=>{k(t)||a$1&&l(t)||R(t,false);},onChange:a$1?re:void 0,renderValue:L,className:a.input,SelectDisplayProps:{className:a.display},displayEmpty:!c.trim(),inputProps:x,disabled:A,IconComponent:()=>null,autoWidth:false,endAdornment:U,MenuProps:z,children:he})]}),le?jsx(ba,{...g}):y!=null&&y!==""?jsx(Z,{children:y}):null]})}),ke=Lt;function Bt({options:h,maxVisibleValues:a$1,valueAlignment:S=m}){let b$1=typeof a$1=="number"&&Number.isFinite(a$1)?Math.max(0,Math.floor(a$1)):h.length,c=h.slice(0,b$1),d=h.length-c.length,m=c.map(b).join(", ");return jsxs(L,{className:a.values,$valueAlignment:S,children:[jsx(M,{className:a.value,children:m}),d>0?jsxs(N,{className:a.valueOverflow,children:["+",d," more"]}):null]})}var wt=Bt;var Vt=forwardRef(function({options:a$1,isMultiple:S$1=false,hasCheckbox:u,maxVisibleValues:b$2,value:c$2,onChange:d$1,label:m$1,placeholder:D,disabled:y,required:g$1,error:q=false,helperText:fe,feedback:Q$1,hasClearIcon:j=false,ClearIconComponent:F$1,ChevronIconComponent:z,SearchIconComponent:he,onClear:J$1,isLoading:X,isSearchable:w=false,searchPlaceholder:Y,hasSelectionSummary:T$1=false,hasSelectedCheckmark:Z=false,valueAlignment:x=m,menuDirection:_$1=k$1,MenuProps:L$1,children:ee,id:C="Select",className:be,sx:te,selectClassNames:O$1,inputRef:A,open:le,onOpen:B,onClose:ne,name:$$1,inputProps:H$1,endAdornment:G$1,renderValue:R$1,renderOption:oe},ae){let[re,U$1]=useState(""),[se,t]=useState(_$1),[k,ge]=useState(void 0),V$1=m$1??"",W=D??"",De=fe??void 0,Te=Y??b$1,Nt=he??$,Le=u??S$1,Ce=useMemo(()=>h(a$1),[a$1]),N=useMemo(()=>Ce.flatMap(e=>e.options),[Ce]),Be=Eb(a.root,O$1?.root,be),$e=useMemo(()=>f(L$1,se,k),[L$1,se,k]),He=e$1=>{let s=c(e$1);s?.width&&ge(s.width),t(e({preferred:_$1,anchorRect:s,menuMaxHeight:d(L$1,w,T$1),gapPx:c$1})),B?.(e$1);},E=w?re.toLowerCase().trim():"",Me=e=>!E||b(e).toLowerCase().includes(E),Ge=e=>oe?jsx(J,{className:a.option,$customLayout:true,children:oe(e)}):jsx(J,{className:a.option,children:jsx(K,{title:b(e),children:b(e)})}),Pt=useMemo(()=>E?N.filter(e=>b(e).toLowerCase().includes(E)):N,[N,E]),Ft=!!E&&Pt.length===0,Ue=e=>{let s=false;return Ce.flatMap(i=>{let ve=i.options.some(Me),ie=i.label!=null||s?jsx(Q,{className:a.groupLabel,disableGutters:true,disableSticky:true,$divider:s,$hidden:!ve,onMouseDown:g,onClick:g,children:i.label},`${i.key}-label`):null;return s||(s=ve),ie?[ie,...i.options.map(e)]:i.options.map(e)})},ce=()=>{d$1?.(S$1?[]:null),J$1?.();},We=w?jsx(O,{className:a.search,disableGutters:true,"data-select-menu-search":"",onMouseDown:g,onClick:g,onKeyDown:g,children:jsx(R,{placeholder:Te,value:re,onChange:e=>U$1(e.target.value),onMouseDown:g,onClick:g,onKeyDown:e=>e.stopPropagation(),onKeyUp:e=>e.stopPropagation(),disableUnderline:true,fullWidth:true,inputProps:{"aria-label":Te,onMouseDown:g,onClick:g},endAdornment:jsx(Nt,{})})}):null,Ke=Ft?jsx(P,{disableGutters:true,onMouseDown:g,onClick:g,children:"No results found"}):null;if(S$1){let e=Array.isArray(c$2)?c$2:[],s=N.filter(n=>e.some(f=>f===n.value||String(f)===String(n.value))),i=s.length,ie=T$1&&i>0?jsx(S,{className:a.summary,disableGutters:true,disableSticky:true,"data-select-menu-keep-open":"",onMouseDown:g,onClick:g,onKeyDown:g,children:jsxs(T,{children:[jsxs(U,{children:[i," selected"]}),jsx(V,{type:"button",variant:"text",disableRipple:true,"aria-label":"Clear all selected options",onMouseDown:n=>{n.preventDefault(),n.stopPropagation(),ce();},onClick:n=>{n.preventDefault(),n.stopPropagation(),ce();},children:"Clear"})]})}):null;return jsx(F,{id:C,"data-testid":C??"Select",className:Be,sx:Db(te??{}),children:jsxs(ke,{ref:A??ae,isMultiple:true,id:C,className:Eb(a.field,O$1?.field),options:N,value:s,onChange:n=>{d$1?.(Array.isArray(n)?n.map(f=>f.value):[]);},label:V$1,disabled:y,required:g$1,hasError:q,helperText:De,feedback:Q$1,showClearIcon:j,ClearIconComponent:F$1??aa,ChevronIconComponent:z,onClear:ce,isLoading:X,MenuProps:$e,open:le,onOpen:He,onClose:n=>{U$1(""),ne?.(n);},name:$$1,inputProps:H$1,endAdornment:G$1,valueAlignment:x,renderValue:()=>s.length>0?jsx(wt,{options:s,maxVisibleValues:b$2,valueAlignment:x}):W,children:[ee,We,ie,Ke,Ue(n=>{let f=e.some(Qe=>Qe===n.value||String(Qe)===String(n.value)),qe=Ge(n);return jsx(I,{value:String(n.value),disabled:n.disabled,$selected:f,$hidden:!Me(n),className:a.option,onMouseDown:g,onClick:g,children:Le?jsxs(G,{children:[jsx(H,{checked:f,$mutedRect:f&&n.disabled,tabIndex:-1,disableRipple:true}),qe]}):jsxs(Fragment,{children:[qe,Z&&f?jsx(_,{}):null]})},n.id)})]})})}let xt=Array.isArray(c$2)?c$2[0]??null:c$2??null,P$1=i(N,xt);return jsx(F,{id:C,"data-testid":C??"Select",className:Be,sx:Db(te??{}),children:jsxs(ke,{ref:A??ae,id:C,className:Eb(a.field,O$1?.field),options:N,value:P$1,onChange:e=>{d$1?.(e==null||Array.isArray(e)?null:e.value);},label:V$1,disabled:y,required:g$1,hasError:q,helperText:De,feedback:Q$1,showClearIcon:j,ClearIconComponent:F$1??aa,ChevronIconComponent:z,onClear:ce,isLoading:X,MenuProps:$e,open:le,onOpen:He,onClose:e=>{U$1(""),ne?.(e);},name:$$1,inputProps:H$1,endAdornment:G$1,valueAlignment:x,renderValue:()=>{if(!P$1)return W;if(R$1)return R$1(P$1);let e=b(P$1);return jsx(L,{className:a.values,$valueAlignment:x,children:jsx(M,{className:a.value,title:e,children:e})})},children:[ee,We,Ke,Ue(e=>{let s=P$1!=null&&(P$1.value===e.value||String(P$1.value)===String(e.value)),i=Ge(e);return jsx(I,{value:String(e.value),disabled:e.disabled,$selected:s,$hidden:!Me(e),onMouseDown:g,onClick:()=>d$1?.(e.value),className:a.option,children:Le?jsxs(G,{children:[jsx(H,{checked:s,tabIndex:-1,disableRipple:true}),i]}):jsxs(Fragment,{children:[i,Z&&s?jsx(_,{}):null]})},e.id)})]})})});Vt.displayName="Select";var Ut=memo(Vt);export{Ut as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Eb}from'./chunk-
|
|
1
|
+
import {Eb}from'./chunk-FHV4S2B3.js';import {forwardRef,memo,useMemo,useState,useRef,useCallback,useEffect,useLayoutEffect}from'react';import {motion,AnimatePresence,useReducedMotion,useMotionValue,animate}from'framer-motion';import $e from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var B="os-shared-ExpandableChip",x={root:`${B}-root`,mainGroup:`${B}-mainGroup`,main:`${B}-main`,adornment:`${B}-adornment`,item:`${B}-item`,peek:`${B}-peek`},p=24,ee=3,te=6,v=5,se=.2,de=.18,pe=1e3,le="default",j={default:{duration:.25,stagger:.04,ease:"easeOut",closeDelay:120,chipPaddingX:8},stacked:{duration:.18,stagger:0,ease:"easeOut",closeDelay:120,chipPaddingX:6}},ce={duration:0,stagger:0};function Ee(e,t,n){let a=j[e],o=t||{},r={duration:o.duration??a.duration,stagger:o.stagger??a.stagger,ease:o.ease??a.ease,closeDelay:o.closeDelay??a.closeDelay};return t===false||n?{...r,...ce}:r}function ue(e,t){return e===t?true:e.length!==t.length?false:e.every((n,a)=>n===t[a])}function xe(e,t){return e.mainWidth===t.mainWidth&&e.startAdornmentWidth===t.startAdornmentWidth&&e.endAdornmentWidth===t.endAdornmentWidth&&ue(e.startWidths,t.startWidths)&&ue(e.endWidths,t.endWidths)}function Ce(e,t){return Math.max(p,Math.ceil(e+t*2+2))}function he(e){let t=[],n=0;for(let a of e)n+=a+ee,t.push(n);return t}function me(e,t){return e==="stacked"?te*t:0}function We({expandFrom:e,variant:t,measurements:n,startSpan:a,endSpan:o}){let{startWidths:r,endWidths:c,startAdornmentWidth:S,endAdornmentWidth:I}=n;return e==="start"?S+a-me(t,r.length):e==="end"?me(t,c.length)-I-o:0}function be({expandFrom:e,variant:t,measurements:n}){let{mainWidth:a,startWidths:o,endWidths:r,startAdornmentWidth:c,endAdornmentWidth:S}=n,I=p,M=te,b=ee,X=t==="stacked",u=he(o),f=he(r),W=u[u.length-1]??0,D=f[f.length-1]??0,i=We({expandFrom:e,variant:t,measurements:n,startSpan:W,endSpan:D}),s=i-c,y=i+a+S,h=o.map((m,l)=>({closedX:X?-M*(l+1):0,openX:s-u[l],width:m,zIndex:o.length-l})),A=r.map((m,l)=>({closedX:X?a+M*(l+1)-I:a-m,openX:y+b+(f[l]-m-b),width:m,zIndex:r.length-l})),H=Math.min(s-W,0),P=Math.max(y+D,a);return {start:h,end:A,mainShiftX:i,openSpan:{left:H-b,width:P-H+b*2}}}var Oe={mainWidth:p,startWidths:[],endWidths:[],startAdornmentWidth:0,endAdornmentWidth:0};function ge({main:e,startItems:t=[],endItems:n=[],startAdornment:a,endAdornment:o,expandFrom:r,variant:c=le,transition:S,open:I,defaultOpen:M=false,onOpenChange:b}){let X=useReducedMotion()??false,u=useMemo(()=>Ee(c,S,X),[c,S,X]),f=j[c],[W,D]=useState(M),i=I!==void 0,s=i?I:W,y=useRef(null),h=useCallback(()=>{y.current&&clearTimeout(y.current),y.current=null;},[]),A=useCallback(d=>{i||D(d),b?.(d);},[i,b]),H=useCallback(()=>{h(),s||A(true);},[h,s,A]),P=useCallback(()=>{h(),y.current=setTimeout(()=>A(false),u.closeDelay);},[h,u.closeDelay,A]);useEffect(()=>h,[h]);let m=useRef(null),l=useRef([]),F=useRef([]),z=useRef(null),U=useRef(null),[N,J]=useState(Oe),g=useCallback(()=>{let d=(L,k)=>Array.from({length:k},(G,_)=>Ce(L[_]?.offsetWidth??0,f.chipPaddingX)),T={mainWidth:m.current?.offsetWidth??p,startWidths:d(l.current,t.length),endWidths:d(F.current,n.length),startAdornmentWidth:a?z.current?.scrollWidth??0:0,endAdornmentWidth:o?U.current?.scrollWidth??0:0};J(L=>xe(L,T)?L:T);},[f.chipPaddingX,t.length,n.length,a,o]);useLayoutEffect(()=>{g();},[g,e,t,n,a,o]),useEffect(()=>{if(typeof ResizeObserver>"u")return;let d=null,T=new ResizeObserver(()=>{d&&cancelAnimationFrame(d),d=requestAnimationFrame(g);});return [m.current,z.current,U.current,...l.current,...F.current].forEach(k=>k&&T.observe(k)),()=>{d&&cancelAnimationFrame(d),T.disconnect();}},[g,t.length,n.length]);let Q=useMemo(()=>be({expandFrom:r,variant:c,measurements:N}),[r,c,N]),O=useMotionValue(0),$=useMotionValue(0),R=u.duration===0?0:se;return useEffect(()=>{let d=animate(O,s?N.startAdornmentWidth:0,{duration:R,ease:"easeOut"});return ()=>d.stop()},[s,N.startAdornmentWidth,O,R]),useEffect(()=>{let d=animate($,s?N.endAdornmentWidth:0,{duration:R,ease:"easeOut"});return ()=>d.stop()},[s,N.endAdornmentWidth,$,R]),{isOpen:s,motion:u,variant:c,chipPaddingX:f.chipPaddingX,handleOpen:H,handleClose:P,layout:Q,mainRef:m,startContentRefs:l,endContentRefs:F,startAdornmentRef:z,endAdornmentRef:U,startAdornmentWidth:O,endAdornmentWidth:$}}var V=e=>typeof e=="string"&&!e.startsWith("$")&&e!=="sx"&&e!=="theme"&&e!=="ownerState"&&e!=="as";function Y(e){let{base:t,border:n,foreground:a}=e.v2.palette;return {boxSizing:"border-box",height:e.v2.spacing(p),minWidth:e.v2.spacing(p),display:"inline-flex",alignItems:"center",justifyContent:"center",border:`${e.v2.spacing(1)} solid ${n.default}`,borderRadius:e.v2.radius(p/2),backgroundColor:t.white,color:a.primary,...e.v2.typography.textVariants.body.medium.regular,lineHeight:1,whiteSpace:"nowrap"}}var _e=styled($e,{shouldForwardProp:V})(({$isOpen:e})=>({position:"relative",display:"flex",alignItems:"center",overflow:"visible",zIndex:e?pe:void 0})),Se=styled("div")({position:"relative",display:"inline-flex",alignItems:"center",height:p}),Ie=styled(motion.div)({position:"absolute",top:0,bottom:0,background:"transparent"}),Ne=styled(motion.div)({position:"relative",display:"inline-flex",alignItems:"center"}),Xe=styled("div",{shouldForwardProp:V})(({theme:e,$paddingX:t,$fuseStart:n,$fuseEnd:a,$zIndex:o})=>{let r=e.v2.radius(p/2);return {...Y(e),position:"relative",zIndex:o,flex:"0 0 auto",paddingInline:e.v2.spacing(t),overflow:"hidden",borderTopLeftRadius:n?0:r,borderBottomLeftRadius:n?0:r,borderTopRightRadius:a?0:r,borderBottomRightRadius:a?0:r,...n&&{borderLeftColor:"transparent"},...a&&{borderRightColor:"transparent"}}}),ne=styled(motion.span,{shouldForwardProp:V})(({theme:e,$side:t})=>{let n=e.v2.radius(p/2),a=t==="start";return {...Y(e),position:"absolute",top:0,zIndex:1,minWidth:0,justifyContent:"flex-start",overflow:"hidden",willChange:"width",...a?{right:"100%",borderRight:"none",borderRadius:`${n} 0 0 ${n}`}:{left:"100%",borderLeft:"none",borderRadius:`0 ${n} ${n} 0`}}}),ae=styled("span")({display:"inline-flex",alignItems:"center",height:"100%",whiteSpace:"nowrap"}),ie=styled(motion.div,{shouldForwardProp:V})(({theme:e,$side:t})=>({...Y(e),position:"absolute",top:0,zIndex:0,pointerEvents:"none",...t==="start"?{left:0}:{right:0}})),Re=styled(motion.div,{shouldForwardProp:V})(({theme:e,$paddingX:t})=>({...Y(e),position:"absolute",top:0,left:0,justifyContent:"flex-start",paddingInline:e.v2.spacing(t),overflow:"hidden"})),Te=styled("span",{shouldForwardProp:V})(({$isHidden:e})=>({display:"inline-flex",alignItems:"center",flex:"none",whiteSpace:"nowrap",visibility:e?"hidden":"visible"}));var Ve=forwardRef(function({main:t,startItems:n=[],endItems:a=[],startAdornment:o,endAdornment:r,variant:c,expandFrom:S="center",transition:I,open:M,defaultOpen:b,onOpenChange:X,id:u,className:f,sx:W},D){let{isOpen:i,motion:s,variant:y,chipPaddingX:h,handleOpen:A,handleClose:H,layout:P,mainRef:m,startContentRefs:l,endContentRefs:F,startAdornmentRef:z,endAdornmentRef:U,startAdornmentWidth:N,endAdornmentWidth:J}=ge({main:t,startItems:n,endItems:a,startAdornment:o,endAdornment:r,variant:c,expandFrom:S,transition:I,open:M,defaultOpen:b,onOpenChange:X}),g=y==="stacked",Q=Math.max(n.length,a.length)+2,O={duration:s.duration===0?0:de,ease:"easeOut"},$=(R,d,T,L)=>d.map((k,G)=>{let _=T[G];if(!_)return null;let Le=g?{x:_.closedX,width:p,opacity:1}:{x:_.closedX,opacity:0},ve=g?{x:_.openX,width:_.width,opacity:1}:{x:_.openX,opacity:1};return jsx(Re,{className:x.item,"data-side":R,$paddingX:h,initial:false,animate:i?ve:Le,transition:{duration:s.duration===0?0:s.duration+G*s.stagger,ease:s.ease},style:{zIndex:_.zIndex,pointerEvents:i?"auto":"none"},children:jsx(Te,{ref:Me=>{L.current[G]=Me;},$isHidden:g&&!i,children:k})},`${R}-${G}`)});return jsx(_e,{ref:D,id:u,"data-testid":u??"ExpandableChip","data-open":i,className:Eb(x.root,f),sx:W,$isOpen:i,onMouseLeave:H,children:jsxs(Se,{children:[i&&jsx(Ie,{onMouseEnter:A,style:{left:P.openSpan.left,width:P.openSpan.width}}),jsxs(Ne,{className:x.mainGroup,initial:false,animate:{x:i?P.mainShiftX:0},transition:{duration:s.duration,ease:s.ease},style:{zIndex:Q},children:[!g&&jsxs(AnimatePresence,{initial:false,children:[n.length>0&&jsx(ie,{className:x.peek,$side:"start",initial:{opacity:0,scale:.95,x:-v+1},animate:i?{opacity:0,scale:.9,x:-v-1}:{opacity:1,scale:1,x:-v},exit:{opacity:0,scale:.95},transition:O},"peek-start"),a.length>0&&jsx(ie,{className:x.peek,$side:"end",initial:{opacity:0,scale:.95,x:v-1},animate:i?{opacity:0,scale:.9,x:v+1}:{opacity:1,scale:1,x:v},exit:{opacity:0,scale:.95},transition:O},"peek-end")]}),o&&jsx(ne,{className:x.adornment,"data-side":"start",$side:"start",initial:false,animate:{opacity:i?1:0},transition:{duration:0},style:{width:N,pointerEvents:i?"auto":"none"},children:jsx(ae,{ref:z,children:o})}),jsx(Xe,{ref:m,className:x.main,$paddingX:h,$fuseStart:i&&!!o,$fuseEnd:i&&!!r,$zIndex:2,onMouseEnter:A,children:t}),r&&jsx(ne,{className:x.adornment,"data-side":"end",$side:"end",initial:false,animate:{opacity:i?1:0},transition:{duration:0},style:{width:J,pointerEvents:i?"auto":"none"},children:jsx(ae,{ref:U,children:r})})]}),$("start",n,P.start,l),$("end",a,P.end,F)]})})}),Fe=memo(Ve);export{x as a,Fe as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Eb}from'./chunk-
|
|
1
|
+
import {Eb}from'./chunk-FHV4S2B3.js';import {forwardRef,memo}from'react';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {styled,alpha}from'@mui/material/styles';var r="os-shared-FilterButton",e={root:`${r}-root`,rootActive:`${r}-rootActive`,trigger:`${r}-trigger`,icon:`${r}-icon`,count:`${r}-count`,clear:`${r}-clear`,clearIcon:`${r}-clearIcon`},p=15,u=14,l=14,_=30,C=32,d=14;var N=t=>jsx("svg",{width:p,height:u,viewBox:"0 0 15 14",fill:"none","aria-hidden":"true",...t,children:jsx("path",{d:"M2.68347 2.00034C2.37927 2.00034 2.19057 2.331 2.3449 2.59326L6.61152 8.28564V12.6066C6.61152 12.8987 6.91881 13.0885 7.18004 12.9579L8.75119 12.1721C8.88421 12.1054 8.96808 11.9697 8.96808 11.8208V8.2853L13.2347 2.59292C13.3894 2.331 13.2007 2 12.8961 2L2.68347 2.00034ZM3.37194 2.78609H12.208L8.23698 7.97835C8.20123 8.03885 8.18233 8.10794 8.18267 8.17806V11.5782L7.39692 11.971V8.17806C7.39692 8.10759 7.37802 8.03885 7.34262 7.97835L3.37194 2.78609Z",fill:"currentColor"})}),b=t=>jsxs("svg",{width:l,height:l,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",...t,children:[jsx("path",{d:"M2.44769 2.44766L9.55186 9.55183",stroke:"currentColor",strokeMiterlimit:"10",strokeLinecap:"round"}),jsx("path",{d:"M9.55186 2.44766L2.44769 9.55183",stroke:"currentColor",strokeMiterlimit:"10",strokeLinecap:"round"})]});var R=styled("div",{shouldForwardProp:t=>t!=="$isActive"&&t!=="$isDisabled"&&t!=="$hasFilters"})(({theme:t,$isActive:n,$isDisabled:g,$hasFilters:I})=>{let{base:o,brand:i,grey:f}=t.v2.palette;return {boxSizing:"border-box",display:"inline-flex",alignItems:"center",justifyContent:"center",width:t.v2.spacing(_),height:t.v2.spacing(C),minWidth:t.v2.spacing(_),minHeight:t.v2.spacing(C),borderRadius:t.v2.radius(4),border:`1px solid ${f[100]}`,backgroundColor:o.white,color:o.black,cursor:"pointer","&:hover":{opacity:.7},[`&:has(.${e.trigger}:focus-visible)`]:{outline:`2px solid ${i[500]}`,outlineOffset:0},...n&&{border:`1px solid ${i[500]}`,backgroundColor:alpha(i[500],.05),boxShadow:`0px 0px 4px 0px ${alpha(i[500],.5)}`},...I&&{width:"auto",gap:t.v2.spacing(6),padding:`0 ${t.v2.spacing(8)}`},...g&&{opacity:.5,pointerEvents:"none"}}}),S=styled("button")({display:"inline-flex",alignItems:"center",justifyContent:"center",gap:"inherit",margin:0,padding:0,border:"none",background:"transparent",color:"inherit",cursor:"inherit",font:"inherit",minWidth:0,"&:focus-visible":{outline:"none"}}),L=styled("span")(({theme:t})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:t.v2.spacing(p),height:t.v2.spacing(u)})),O=styled("span")(({theme:t})=>{let{base:n}=t.v2.palette;return {...t.v2.typography.textVariants.micro.bold,display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,minWidth:t.v2.spacing(d),height:t.v2.spacing(d),borderRadius:"50%",background:t.v2.palette.gradient.brand,color:n.white,lineHeight:t.v2.spacing(d)}}),$=styled("button")(({theme:t})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,margin:0,padding:t.v2.spacing(2),border:"none",background:"transparent",color:"inherit",cursor:"pointer",[`& .${e.clearIcon}`]:{width:t.v2.spacing(l),height:t.v2.spacing(l)}}));var G=forwardRef(function({id:n,className:g,sx:I,isDisabled:o=false,isActive:i=false,isOpen:f,menuId:U,activeFiltersCount:B,"aria-label":m,clearLabel:w="Clear filters",icon:V,children:F,onClick:y,onClear:M},A){let c=typeof B=="number"&&B>0,E=i||c,P=x=>{o||!y||x.target?.closest(`.${e.clear}`)||y(x);};return jsxs(R,{ref:A,id:n,className:Eb(e.root,E&&e.rootActive,g),sx:I,$isActive:E,$hasFilters:c,$isDisabled:o,"data-testid":n??"FilterButton",onClick:P,children:[jsx(S,{type:"button",className:e.trigger,disabled:o,"aria-label":F?m:m??"Filter","aria-expanded":f,"aria-controls":U,"aria-haspopup":"dialog",children:F??jsxs(Fragment,{children:[jsx(L,{className:e.icon,children:V??jsx(N,{})}),c&&jsx(O,{className:e.count,children:B})]})}),!F&&c&&jsx($,{type:"button",className:e.clear,disabled:o,"aria-label":w,onClick:M,children:jsx(b,{className:e.clearIcon})})]})});G.displayName="FilterButton";var k=memo(G);export{e as a,k as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var i="https://cdn.tap.company/tap-assets",e=`${i}/icons/dashboard/light`,t=`${e}/other`,tt=`${e}/function`,Ye=`${i}/videos`,Ve=`${i}/files`,f=`${Ve}/templates`,ot=c=>`${e}/${c}.svg`,nt=c=>`${e}/payment-method/v2/${c}.svg`,st=c=>`${e}/payment-issuer/${c}.svg`,ct=c=>`${e}/country/v3/${c}.svg`,pt=c=>`${e}/function/${c}.svg`,at=c=>`${e}/statusIcons/${c}.svg`,rt=c=>`${i}/currency/v3/light/${c}.svg`,xt=c=>{let He=c.replace(/\s/g,"");return `${i}/icons/dashboard/light/authority/v2/${He}.svg`},it=c=>`${e}/browsers/${c}.svg`,dt=c=>`${e}/payment-initiator/${c}.svg`,lt=c=>`${e}/payment-gateways/${c}.svg`,ut=c=>`${e}/aging/${c}.svg`,gt=`${e}/currency/sar.svg`,It=`${e}/currency/dirham.svg`,vt=`${e}/abandoned.svg`,ht=`${e}/abandonedYellow.svg`,mt=`${e}/chevron-down.svg`,At=`${e}/removeIcon.svg`,ft=`${e}/reversed.svg`,Et=`${e}/destinationSolid.svg`,$t=`${e}/search.svg`,Tt=`${e}/unauthorized.svg`,St=`${e}/view.svg`,_t=`${e}/reports.svg`,yt=`${e}/flag.svg`,Pt=`${e}/dispute.svg`,bt=`${e}/timezone.svg`,Rt=`${e}/greyTimezone.svg`,Ct=`${e}/subscription.svg`,Nt=`${e}/savedCard.svg`,wt=`${e}/egypt.svg`,Lt=`${e}/saudiArabia.svg`,Ot=`${e}/jordan.svg`,kt=`${e}/lebanon.svg`,Bt=`${e}/kuwait.svg`,Mt=`${e}/unitedArabEmirates.svg`,Dt=`${e}/europe.svg`,Ut=`${e}/bahrain.svg`,Ft=`${e}/america.svg`,Wt=`${e}/payment-method/v2/card.svg`,Gt=`${e}/payment-method/v2/UnionPay.svg`,Ht=`${e}/payment-method/v2/JAYWAN.svg`,Yt=`${e}/device.svg`,Vt=`${e}/expressCheckout.svg`,zt=`${e}/applePay.svg`,qt=`${e}/cash.svg`,Kt=`${e}/passThruWallet.svg`,Zt=`${e}/storedValueWallet.svg`,Qt=`${e}/buyNowPayLater.svg`,Xt=`${e}/openBanking.svg`,jt=`${e}/FrictionlessIcon.svg`,Jt=`${e}/ChallengeIcon.svg`,eo=`${e}/visa.svg`,to=`${e}/redArrowDownIcon.svg`,oo=`${e}/completed.svg`,no=`${e}/chargebackRequested.svg`,so=`${e}/chargeback.svg`,co=`${t}/captureDropdown.svg`,po=`${e}/disputeResolved.svg`,ao=`${e}/reversePayout.svg`,ro=`${e}/ellipsisHorizontal.svg`,xo=`${e}/3ds.svg`,io=`${e}/invoiceIdIcon3.svg`,lo=`${e}/idIcon3.svg`,uo=`${e}/id.svg`,go=`${t}/copyIcon.svg`,Io=`${t}/codeIcon.svg`,vo=`${t}/GreenCheckMark2.svg`,ho=`${e}/closedDispute.svg`,mo=`${e}/openDispute.svg`,Ao=`${e}/desktop.svg`,fo=`${e}/mobile.svg`,Eo=`${e}/tablet.svg`,$o=`${e}/invoice.svg`,To=`${e}/cancelledInvoiceIcon.svg`,So=`${e}/expiredInvoiceIcon.svg`,_o=`${e}/invoiceNumberIcon.svg`,yo=`${e}/column.svg`,Po=`${e}/sortAz.svg`,bo=`${e}/sortZa.svg`,E=`${e}/zipFile.svg`,Ro=`${e}/successWhiteBg.svg`,Co=`${e}/failedWhiteBgIcon.svg`,No=`${e}/exclamationGreyIcon.svg`,wo=`${e}/exclamationDarkGreyIcon.svg`,Lo=`${e}/percentage0.svg`,Oo=`${e}/percentage50.svg`,ko=`${e}/percentage75.svg`,Bo=`${e}/percentage100.svg`,Mo=`${e}/halfCircle.svg`,Do=`${e}/halfCircleTransparent.svg`,Uo=`${e}/maximize.svg`,Fo=`${e}/minimize.svg`,Wo=`${e}/close.svg`,Go=`${e}/dashedCheckIcon.svg`,Ho=`${e}/outstandingIcon.svg`,Yo=`${e}/cancelledStatusIcon.svg`,Vo=`${e}/expiredStatusIcon.svg`,zo=`${e}/paidStatusIcon.svg`,qo=`${e}/refundedStatusIcon.svg`,Ko=`${e}/deactivatedIcon.svg`,Zo=`${e}/topup.svg`,Qo=`${e}/AIOverviewIcon.svg`,Xo=`${t}/demaximize.svg`,jo=`${e}/pendingFlag.svg`,Jo=`${e}/ibanIcon.svg`,en=`${e}/payoutIcon.svg`,tn=`${e}/releasedFlag.svg`,on=`${e}/acceptedFlag.svg`,nn=`${e}/clearIcon.svg`,sn=`${e}/status/unCaptured.svg`,cn=`${t}/newWindow.svg`,pn=`${t}/viewAll.svg`,an=`${t}/allApps.svg`,rn=`${t}/hide.svg`,xn=`${t}/close.svg`,dn=`${t}/star.svg`,ln=`${t}/closeCircle.svg`,un=`${t}/acquirer.svg`,gn=`${e}/GenericIconNew.svg`,In=`${t}/acquirerRed.svg`,vn=`${t}/gateway.svg`,hn=`${t}/acquirerOrange.svg`,mn=`${e}/status/capturedAuthorize.svg`,An=`${t}/merchantInitiated.svg`,fn=`${t}/rightArow.svg`,En=`${e}/blackRightArrow.svg`,$n=`${t}/orangeFlag.svg`,Tn=`${t}/openFlag.svg`,Sn=`${t}/closedFlag.svg`,_n=`${t}/redFlag.svg`,yn=`${t}/grayFlag.svg`,Pn=`${t}/downArrow.svg`,bn=`${t}/check.svg`,Rn=`${t}/closeX.svg`,Cn=`${t}/drag.svg`,Nn=`${t}/checkboxIcon.svg`,wn=`${e}/plusWhite.svg`,Ln=`${t}/checkboxIcon.svg`,On=`${e}/Uniso.svg`,kn=`${e}/addidas.svg`,Bn=`${e}/radioButtonChecked.svg`,Mn=`${e}/radioButtonUnchecked.svg`,Dn=`${e}/Mac.svg`,Un=`${e}/blueCheckIconZigzag.svg`,Fn=`${e}/greenCheckIconZigzag.svg`,Wn=`${e}/dimmedCheckIconZigzag.svg`,Gn=`${e}/marketPlaceBlue.svg`,Hn=`${e}/marketplaceBlackIcon.svg`,Yn=`${e}/marketPlaceDimmed.svg`,Vn=`${e}/moneyOut.svg`,zn=`${e}/moneyOutDimmed.svg`,qn=`${e}/moneyIn.svg`,Kn=`${e}/moneyInDimmed.svg`,Zn=`${e}/message.svg`,Qn=`${e}/pending.svg`,Xn=`${e}/payStream.svg`,jn=`${e}/clearCoin.svg`,Jn=`${t}/walletSmall.svg`,es=`${t}/bank.svg`,ts=`${t}/hijri.svg`,os=`${t}/darkLeftArrow.svg`,ns=`${t}/darkRightArrow.svg`,ss=`${t}/spinnerLoading.svg`,cs=`${t}/spinnerLoadingAnimated.svg`,ps=`${t}/actionFail.svg`,as=`${t}/actionSuccess.svg`,rs=`${t}/checkMark.svg`,xs=`${t}/logout.svg`,is=`${t}/preferences.svg`,ds=`${t}/transform.svg`,$=`${t}/token.svg`,l=`${t}/billing.svg`,ls=`${t}/receiptBill.svg`,us=`${e}/newReceiptIcon.svg`,u=`${t}/acceptance.svg`,gs=`${e}/acceptanceEnabled.svg`,Is=`${e}/acceptanceBlue.svg`,vs=`${e}/acceptanceBlack.svg`,hs=`${e}/payoutsGreen.svg`,ms=`${t}/acceptanceAppIconDisabled.svg`,As=`${t}/payoutsAppIconDisabled.svg`,fs=`${e}/payoutEnabled.svg`,Es=`${e}/payoutAppGreenIcon.svg`,$s=`${e}/payoutDisabledRounded.svg`,Ts=`${e}/acceptanceDisabledRounded.svg`,g=`${t}/AuthenticationApp.svg`,I=`${t}/walletApp.svg`,v=`${t}/payouts.svg`,T=`${t}/protect.svg`,S=`${t}/customers.svg`,_=`${t}/business.svg`,y=`${t}/account.svg`,Ss=`${t}/disableCheck.svg`,_s=`${t}/wifiOff.svg`,ys=`${t}/SandboxHovered.svg`,Ps=`${t}/Sandbox.svg`,bs=`${t}/ExclamationError.svg`,Rs=`${t}/greyCheck.svg`,Cs=`${t}/greyCross.svg`,Ns=`${t}/blueCheck.svg`,ws=`${t}/disabledCheck.svg`,Ls=`${t}/darkCheck.svg`,Os=`${t}/collapseArrow.svg`,ks=`${t}/world.svg`,Bs=`${t}/grayUpArrow.svg`,Ms=`${t}/blackHeadingDownArrowIcon.svg`,Ds=`${t}/blueHeadingDropdownArrow.svg`,Us=`${t}/dropdownArrow.svg`,Fs=`${t}/greyDropdownIcon.svg`,P=`${t}/business2.svg`,b=`${t}/development.svg`,Ws=`${t}/financial.svg`,R=`${t}/light_master_orchestrator.svg`,C=`${t}/platform.svg`,Gs=`${t}/provider.svg`,N=`${t}/appPlatform.svg`,Hs=`${t}/authenticationGateway.svg`,w=`${t}/billingPlatform.svg`,L=`${t}/commercePlatform.svg`,Ys=`${t}/commercialRegulator.svg`,Vs=`${t}/merchantServiceProvider.svg`,O=`${t}/paymentAcquirer.svg`,k=`${t}/paymentFacilitator.svg`,B=`${t}/paymentGatewayProvider.svg`,M=`${t}/paymentIssuer.svg`,D=`${t}/paymentMethod.svg`,U=`${t}/paymentProcessor.svg`,F=`${t}/paymentScheme.svg`,W=`${t}/paymentTechnologyV2.svg`,G=`${t}/paymentTerminalProvider.svg`,H=`${t}/retailPlatform.svg`,zs=`${t}/retailer.svg`,Y=`${t}/light_business.svg`,V=`${t}/light_development.svg`,qs=`${t}/financial.svg`,z=`${t}/light_master_orchestrator.svg`,q=`${t}/light_platform.svg`,Ks=`${t}/provider.svg`,K=`${t}/light_app_platform.svg`,Zs=`${t}/light_authentication_gateway.svg`,Z=`${t}/light_billing_platform.svg`,Q=`${t}/light_commerce_platform.svg`,Qs=`${t}/light_commercial_regulator.svg`,Xs=`${t}/light_merchant_service_provider.svg`,X=`${t}/light_payment_acquirer.svg`,j=`${t}/light_payment_facilitator.svg`,J=`${t}/light_payment_gateway_provider.svg`,ee=`${t}/light_payment_issuer.svg`,te=`${t}/light_payment_method.svg`,oe=`${t}/light_payment_processor.svg`,ne=`${t}/light_payment_scheme.svg`,se=`${t}/light_payment_technology_v2.svg`,ce=`${t}/light_payment_terminal_provider.svg`,pe=`${t}/light_retail_platform.svg`,js=`${t}/light_retailer.svg`,Js=`${t}/brandGray.svg`,ec=`${e}/grayCircleIcon.svg`,tc=`${t}/json.svg`,oc=`${t}/jsonBlackIcon.svg`,nc=`${t}/sort1.svg`,sc=`${t}/SandboxHoveredLight.svg`,cc=`${t}/emailColoured.svg`,pc=`${e}/OrderIcon.svg`,ac=`${e}/TransactionIcon.svg`,rc=`${e}/GenericIcon.svg`,xc=`${t}/smsColoured.svg`,ic=`${t}/whatsAppColored.svg`,dc=`${t}/dueDateBlue.svg`,lc=`${t}/dueDateOrange.svg`,uc=`${t}/dueDateYellow.svg`,gc=`${t}/dueDateRed.svg`,Ic=`${t}/dueDateBlack.svg`,vc=`${t}/dueDateGray.svg`,hc=`${t}/timerBlue.svg`,mc=`${t}/expiredIcon.svg`,Ac=`${t}/remindedRed.svg`,fc=`${t}/chevronWhite.svg`,Ec=`${t}/chevronGray.svg`,$c=`${t}/notVerified.svg`,Tc=`${t}/verified.svg`,Sc=`${t}/verifyReview.svg`,_c=`${e}/window/attention.svg`,yc=`${e}/window/initalAcceptance.svg`,Pc=`${e}/window/completedAcceptance.svg`,bc=`${e}/window/initalPayouts.svg`,Rc=`${e}/window/completedPayouts.svg`,Cc=`${t}/collapseArrowsIcon.svg`,Nc=`${t}/expandArrowsIcon.svg`,wc=`${t}/greenArrowRight.svg`,Lc=`${t}/greenArrowLeft1.svg`,Oc=`${t}/greenIconWithArrowUp.svg`,kc=`${t}/whiteArrowRight.svg`,Bc=`${t}/whiteArrowLeft.svg`,Mc=`${e}/HSBCBank.svg`,Dc=`${e}/shopifyIcon.svg`,Uc=`${e}/verifiedGreenBadge.svg`,Fc=`${e}/backButtonLeft.svg`,Wc=`${e}/eyeHideIcon.svg`,Gc=`${e}/eyeShowIcon.svg`,Hc=`${t}/uploadIcon.svg`,ae=`${e}/window/uploadGreyIcon.svg`,re=`${e}/uploadAppIcon.svg`,xe=`${e}/window/paylinkGreyIcon.svg`,ie=`${e}/paylinkAppIcon.svg`,Yc=`${e}/inprogressIcon.svg`,Vc=`${e}/redCloseCircleIcon.svg`,zc=`${t}/uploadBlueIcon.svg`,qc=`${t}/SandboxHovered.svg`,Kc=`${t}/sandboxDefaultIcon.svg`,Zc=`${t}/SandboxIcon.svg`,Qc=`${t}/clock.svg`,Xc=`${t}/RedClose.svg`,h=`${t}/xls.svg`,de=`${t}/csv.svg`,jc=`${t}/pdf.svg`,Jc=`${t}/Download.svg`,ep=`${t}/reportsIconOutlined.svg`,tp=`${t}/Done.svg`,op=`${t}/reportApps.svg`,le=`${e}/window/ReportsApp.svg`,ue=`${e}/window/leadApp.svg`,ge=`${e}/window/leadTitleIcon.svg`,Ie=`${t}/OrderApp.svg`,ve=`${t}/OrderTitleIcon.svg`,np=`${e}/dottedLine.svg`,sp=`${e}/passwordDots.svg`,cp=`${e}/dollarSign.svg`,pp=`${e}/reload.svg`,ap=`${t}/deletedStatus1.svg`,rp=`${t}/draftedStatus1.svg`,xp=`${t}/createdStatus1.svg`,ip=`${t}/cancelledStatus1.svg`,dp=`${t}/expiredStatus1.svg`,lp=`${t}/paidStatus1.svg`,up=`${t}/deliveredStatus1.svg`,gp=`${t}/viewedStatus1.svg`,Ip=`${t}/savedStatus1.svg`,vp=`${t}/scheduledStatus1.svg`,hp=`${t}/invoicePendingStatus2.svg`,mp=`${t}/invoiceRefundedStatus2.svg`,Ap=`${e}/activeLeadStatus.svg`,fp=`${e}/completedLeadStatus.svg`,Ep=`${e}/closedLeadStatus.svg`,$p=`${e}/expiredLeadStatus.svg`,Tp=`${e}/readyLeadStatus.svg`,Sp=`${e}/fileIcon.svg`,_p=`${e}/clipboardFileGrayIcon.svg`,yp=`${e}/newFileIcon.svg`,Pp=`${e}/downloadFileIcon.svg`,bp=`${e}/progressFileIcon.svg`,Rp=`${e}/successFileIcon.svg`,Cp=`${e}/whiteArrowDownIcon.svg`,Np=`${e}/teamWindowIcon.svg`,wp=`${e}/blueAppsIcon.svg`,Lp=`${e}/disabledCardIcon.svg`,Op=`${e}/disabledCodeIcon.svg`,kp=`${e}/layersIcon.svg`,Bp=`${e}/status/pendingOnTapIcon.svg`,Mp=`${e}/leadWhiteIcon.svg`,Dp=`${t}/chatDisabledIcon.svg`,Up=`${e}/exclamationDarkIcon.svg`,Fp=`${t}/exclamationWarning.svg`,Wp=`${e}/exclamationError.svg`,Gp=`${e}/exclamationOrangeIcon.svg`,Hp=`${t}/greenCheckV2.svg`,Yp=`${e}/iosIcon1.svg`,Vp=`${e}/androidIcon.svg`,zp=`${e}/websiteIcon.svg`,qp=`${t}/greyApple.svg`,Kp=`${t}/greyLocationIcon.svg`,Zp=`${t}/greyDesktopIcon.svg`,Qp=`${t}/greyTimezone.svg`,Xp=`${t}/safariBrowser.svg`,jp=`${t}/chromeBrowser.svg`,Jp=`${t}/firefoxBrowser.svg`,ea=`${t}/microsoftBrowser.svg`,ta=`${t}/operaBrowser.svg`,oa=`${t}/braveBrowser.svg`,na=`${t}/arcBrowser.svg`,sa=`${t}/chromiumBrowser.svg`,ca=`${t}/userIcon.svg`,he=`${t}/slaProcess.svg`,me=`${e}/window/slaProcess.svg`,Ae=`${e}/orchestrationApp.svg`,fe=`${e}/window/orchestration.svg`,pa=`${e}/window/orchestrationWindowBg.svg`,Ee=`${e}/lendingApp.svg`,m=`${e}/window/lending.svg`,$e=`${e}/lendingProviderApp.svg`,Te=`${e}/deemaApp.svg`,Se=`${e}/window/deema.svg`,aa=`${e}/fast.svg`,ra=`${e}/bankBlue.svg`,xa=`${e}/mosque.svg`,ia=`${e}/mosqueBlack.svg`,da=`${e}/moonStar.svg`,la=`${e}/car.svg`,ua=`${e}/handCoinsWhite.svg`,ga=`${e}/list.svg`,Ia=`${e}/corporateLoan.svg`,va=`${e}/corporateLoanBlack.svg`,_e=`${e}/platformApp.svg`,ye=`${e}/window/platform.svg`,Pe=`${e}/osApp.svg`,be=`${e}/window/osApp.svg`,ha=`${e}/status/table/abandoned.svg`,ma=`${e}/status/table/cancelled.svg`,Aa=`${e}/status/table/captured.svg`,fa=`${e}/status/table/chargeBack.svg`,Ea=`${e}/status/table/chargeBackRequested.svg`,$a=`${e}/status/table/completed.svg`,Ta=`${e}/status/table/declined.svg`,Sa=`${e}/status/table/destinationReversed.svg`,_a=`${t}/DestinationWithoutBackground.svg`,ya=`${e}/status/table/disputeResolved.svg`,Pa=`${e}/status/table/failed.svg`,ba=`${e}/status/table/failedNoBG.svg`,Ra=`${e}/status/table/declinedNoBg.svg`,Ca=`${t}/destinationSuccess.svg`,Na=`${e}/status/authenticationFailed.svg`,wa=`${e}/status/table/authenticated.svg`,La=`${e}/paidOutFilterIcon.svg`,Oa=`${e}/completedBlackIcon.svg`,ka=`${e}/scheduledFilterIcon.svg`,Ba=`${e}/saveTokenIcon.svg`,Ma=`${e}/status/unauthenticated.svg`,Da=`${e}/status/authenticationAttempted.svg`,Ua=`${e}/status/authenticationNoAuth.svg`,Fa=`${e}/status/authenticationDeclined.svg`,Wa=`${e}/status/authenticationExemptedWithoutTransaction1.svg`,Ga=`${e}/status/authenticationExemptedWithTransaction2.svg`,Ha=`${e}/status/authenticationFailed1.svg`,Ya=`${e}/status/authenticationInitiated.svg`,Va=`${e}/status/authenticationUnavailable.svg`,za=`${e}/status/authenticationUndetermined.svg`,qa=`${e}/status/AuthenticationWithoutTransaction1.svg`,Ka=`${e}/status/authenticationWithTransaction1 2.svg`,Za=`${e}/status/AuthenticationAuthenticated.svg`,Qa=`${e}/status/authenticationPending2.svg`,Xa=`${e}/authenticationFailedNoBg.svg`,ja=`${e}/authenticationPendingNoBg.svg`,Ja=`${e}/authenticationNoAuthNoBg.svg`,er=`${e}/authenticationAttemptedNoBg.svg`,tr=`${e}/authenticationExemptedWithTransactionNoBg.svg`,or=`${e}/authenticationExemptedWithoutTransactionNoBg.svg`,nr=`${e}/authenticationDeclinedNoBg.svg`,sr=`${e}/authenticationUnavailableNoBg.svg`,cr=`${e}/authenticationUndeterminedNoBg.svg`,pr=`${e}/authenticatedSuccessNoBg.svg`,ar=`${e}/authenticationWithTransactionNoBg.svg`,rr=`${e}/authenticationWithoutTransactionNoBg.svg`,xr=`${e}/greyPlusIcon.svg`,ir=`${e}/greyMinusIcon.svg`,dr=`${e}/noPreviewIcon.svg`,lr=`${e}/other/editIcon.svg`,ur=`${t}/viewInvoice.svg`,gr=`${t}/checkoutStatus.svg`,Ir=`${t}/checkStatusOutBlue.svg`,vr=`${t}/checkoutWithMarkStatus.svg`,hr=`${t}/intentExpiredStatus.svg`,mr=`${t}/intentInitiatedStatus.svg`,Ar=`${t}/intentCancelledStatus.svg`,fr=`${t}/intentTransactedStatus.svg`,Er=`${e}/SheetViewUnionIcon.svg`,$r=`${e}/sheetView.svg`,Tr=`${e}/abandonedNoBG.svg`,Sr=`${e}/status/table/paidOut.svg`,_r=`${e}/status/table/reversePayout.svg`,yr=`${e}/status/pendingPayout.svg`,Pr=`${t}/whiteCloseIcon.svg`,br=`${e}/window/empty.svg`,Rr=`${e}/loaderWhiteIcon.svg`,Cr=`${t}/reverseActionIcon.svg`,Nr=`${e}/status/authenticationWallet.svg`,wr=`${e}/status/authenticationApp.svg`,Lr=`${e}/status/authenticationBiometric.svg`,Or=`${e}/status/authenticationDevice.svg`,kr=`${e}/status/authenticationIssuer.svg`,Br=`${e}/status/authenticationScheme.svg`,Mr=`${e}/pin.svg`,Dr=`${e}/unpin.svg`,Ur=`${t}/switcher.svg`,Fr=`${e}/closedStatusIcon.svg`,Wr=`${e}/verticalLine.svg`,Gr=`${e}/previewModeIcon.svg`,Hr=`${e}/status/table/tokensSaved.svg`,Yr=`${e}/status/table/tokensTransacted.svg`,Vr=`${e}/status/table/tokensExpired.svg`,zr=`${e}/status/table/tokensPending.svg`,qr=`${e}/status/table/tokenCardIcon.svg`,Kr=`${t}/TableloadingSpinner.svg`,Zr=`${t}/loadingSpinnerWhite.svg`,Qr=`${e}/spinnerLoadingBlue.svg`,Xr=`${e}/backgroundLoader.svg`,jr=`${t}/arrowUpBlue1.svg`,Jr=`${t}/BlueCheckMarkShadowed1.svg`,ex=`${t}/cardViewButton.svg`,tx=`${t}/listViewButton1.svg`,ox=`${e}/BlueArrowUpIcon.svg`,nx=`${e}/BlueCircleLoaderIcon.svg`,sx=`${e}/appsGridIcon2.svg`,cx=`${e}/whiteFilter.svg`,px=`${e}/grayCloseIcon.svg`,ax=`${e}/status/OrderAgreementIcon.svg`,rx=`${e}/status/InstallmentAgreementIcon.svg`,xx=`${e}/status/CardAgreementIcon.svg`,ix=`${e}/status/SubscriptionAgreementIcon.svg`,dx=`${e}/brandPlaceholder.svg`,lx=`${e}/users-icons.svg`,ux=`${e}/Board-Icons.svg`,gx=`${t}/No Agreement.svg`,Re=`${e}/window/acceptance.svg`,Ce=`${e}/window/wallet.svg`,Ne=`${e}/window/billing.svg`,we=`${e}/window/customers.svg`,Le=`${e}/window/payout.svg`,Oe=`${e}/window/protect.svg`,ke=`${e}/window/tokens.svg`,Be=`${e}/window/account.svg`,Me=`${e}/window/businesses.svg`,De=`${e}/window/authentication.svg`,Ue=`${t}/reportsIcon.svg`,Ix=`${e}/window/tokensReports.svg`,vx=`${e}/window/brand.svg`,hx=`${e}/window/entity.svg`,mx=`${e}/window/bank.svg`,Ax=`${e}/window/individual.svg`,fx=`${e}/window/password.svg`,Ex=`${e}/actionsIcon.svg`,$x=`${e}/addItem.svg`,Tx=`${e}/attachIcon.svg`,Sx=`${e}/CollapseArrows.svg`,_x=`${e}/customerIcon.svg`,yx=`${e}/discountIcon.svg`,Px=`${e}/emailIcon.svg`,bx=`${e}/emailBlackIcon.svg`,Rx=`${e}/linkTiltedIcon.svg`,Cx=`${e}/ExpandArrows.svg`,Nx=`${e}/feeIcon.svg`,wx=`${e}/minusIcon.svg`,Lx=`${e}/noteIcon.svg`,Ox=`${e}/pdfGrayIcon.svg`,kx=`${e}/productLabel.svg`,Bx=`${e}/quantityIcon.svg`,Mx=`${e}/removeItem.svg`,Dx=`${t}/removeItem2.svg`,Ux=`${e}/smsIcon.svg`,Fx=`${e}/taxIcon.svg`,Wx=`${e}/totalAmountIcon.svg`,Gx=`${e}/unfocusRemoveItem.svg`,Hx=`${e}/whatsappIcon1.svg`,Yx=`${e}/whiteArrow2.svg`,Vx=`${e}/newInvoice.svg`,zx=`${e}/activeActionIcon.svg`,qx=`${e}/grayProductLabel.svg`,Kx=`${e}/plusQty.svg`,Zx=`${t}/downArrow3.svg`,Qx=`${e}/customer.svg`,Xx=`${t}/note.svg`,jx=`${e}/blueNoteIcon.svg`,Jx=`${t}/attach.svg`,ei=`${e}/lateFee.svg`,ti=`${e}/addItemIcon.svg`,oi=`${e}/blueCheckIcon.svg`,ni=`${t}/trash-bin.svg`,si=`${e}/redTrashBin.svg`,ci=`${e}/blueVerifyIcon.svg`,pi=`${e}/verificationDarkBlue.svg`,ai=`${e}/grayVerifyIcon.svg`,ri=`${e}/greenVerifyIcon.svg`,xi=`${e}/redVerifyIcon.svg`,ii=`${e}/closedVerifyIcon.svg`,di=`${e}/archivedVerifyIcon.svg`,li=`${e}/penIcon.svg`,ui=`${e}/defaultCountryIcon.svg`,gi=`${e}/defaultDeviceIcon.svg`,Ii=`${e}/biometric.svg`,vi=`${e}/3dsBlue.svg`,hi=`${t}/createCharge.svg`,mi=`${t}/successCheck.svg`,Ai=`${t}/receipt.svg`,fi=`${t}/browserTimezone.svg`,Ei=`${t}/entityTimezone.svg`,$i=`${t}/historyTimezone.svg`,Ti=`${t}/smallBlueCheck.svg`,Si=`${t}/fileDownloadBlue.svg`,_i=`${t}/fileDownloadGrey.svg`,yi=`${e}/meta.svg`,Pi=`${e}/darkFilterIcon.svg`,bi=`${e}/resize-icon.svg`,Ri=`${e}/home.svg`,Ci=`${e}/lockIcon.svg`,Ni=`${e}/Calendar.svg`,wi=`${e}/status-v2/autoCapturedNoBG.svg`,Li=`${e}/status-v2/autoVoidNoBG.svg`,Oi=`${e}/status-v2/cancelledNoBG.svg`,ki=`${e}/status-v2/capturedNoBG.svg`,Bi=`${e}/status-v2/declinedNoBG.svg`,Mi=`${e}/status-v2/destinationsNoBG.svg`,Di=`${e}/status-v2/failedNoBG.svg`,Ui=`${e}/status-v2/gatewayOrange.svg`,Fi=`${e}/status-v2/gatewayRedNoBG.svg`,Wi=`${e}/status-v2/paidoutNoBG.svg`,Gi=`${e}/status-v2/refundedIconNoBG2.svg`,Hi=`${e}/status-v2/refundInitiatedNoBG.svg`,Yi=`${e}/status-v2/refundSettledNoBG.svg`,Vi=`${e}/status-v2/refundNotSettledNoBG.svg`,zi=`${e}/status-v2/restrictedNoBG.svg`,qi=`${e}/status-v2/settledNoBG.svg`,Ki=`${e}/status-v2/settlementInitiatedNoBG.svg`,Zi=`${e}/status-v2/timeoutNoBG.svg`,Qi=`${e}/status-v2/unavailableNoBG.svg`,Xi=`${e}/status-v2/unknownNoBG.svg`,ji=`${e}/status-v2/void.svg`,Ji=`${e}/status-v2/authorizeNoBG.svg`,ed=`${e}/status-v2/initiatedNoBG.svg`,td=`${e}/websiteBlueIcon.svg`,od=`${e}/androidAppIcon.svg`,nd=`${e}/iOSAppIcon.svg`,sd=`${e}/physicalLocationIcon.svg`,cd=`${e}/socialLinksIcon.svg`,pd=`${e}/smallLeftArrow.svg`,ad=`${e}/searchBlueIcon.svg`,rd=`${t}/rightLightArrow.svg`,xd=`${t}/segmentInstitution.svg`,id=`${t}/segmentTechnology.svg`,dd=`${t}/segmentDevelopmentHouse.svg`,ld=`${e}/locationIcon.svg`,Fe=`${t}/terminal.svg`,We=`${e}/window/terminal.svg`,ud=`${e}/terminalCardPhone.svg`,gd=`${e}/ToastPOS.svg`,Id=`${e}/terminalTypeIcon.svg`,vd=`${e}/terminalBrush.svg`,hd=`${e}/terminalBrushMuted.svg`,md=`${e}/navigationIcon.svg`,Ad=`${e}/babyBlueCheckIcon.svg`,fd=`${e}/digitalReceiptIcon.svg`,Ed=`${e}/bankNoteIcon.svg`,$d=`${e}/terminalDeviceFrame.svg`,Td=`${e}/blackBrushIcon.svg`,Sd=`${e}/mutedOutlinedCheckIcon.svg`,_d=`${e}/outlinedPlatformIcon.svg`,yd=`${e}/navigationPointerBlack.svg`,Pd=`${e}/addIconWhite.svg`,bd=`${e}/greyUpArrow.svg`,Rd=`${e}/greyDownArrow.svg`,Cd=`${e}/services/brandService.svg`,Nd=`${e}/services/authorizationService.svg`,wd=`${e}/services/chargebacksService.svg`,Ld=`${e}/services/chargesService.svg`,Od=`${e}/services/destinationsService.svg`,kd=`${e}/services/entityService.svg`,Bd=`${e}/services/invoiceService.svg`,Md=`${e}/services/payoutService.svg`,Dd=`${e}/services/refundsService.svg`,Ud=`${e}/services/usersService.svg`,Fd=`${e}/services/walletService.svg`,Wd=`${e}/services/intentsService.svg`,Gd=`${e}/services/insightsService.svg`,Hd=`${e}/services/retailersService.svg`,Yd=`${e}/services/terminalService.svg`,Vd=`${e}/services/createLead.svg`,zd=`${e}/services/viewLead.svg`,qd=`${e}/archievedOutlined.svg`,Kd=`${e}/closeOutlinedCircle.svg`,Zd=`${e}/dashedOutlinedCircle.svg`,Qd=`${e}/deactivatedCircle.svg`,Xd=`${e}/deactivatedOutlinedCircleV2.svg`,jd=`${e}/exclamationOutlinedCircle.svg`,Jd=`${e}/questionOutlinedCircle.svg`,el=`${e}/outlinedCircle.svg`,tl=`${e}/greenCheck2ACE00.svg`,ol=`${e}/blueCopyIcon.svg`,nl=`${e}/blackLinkIcon.svg`,sl=`${e}/blackSettingsIcon.svg`,cl=`${e}/blackWallet.svg`,pl=`${e}/blueGradientBrushIcon.svg`,al=`${e}/gadientLink.svg`,rl=`${e}/blackDeviceIcon.svg`,xl=`${e}/gradientDeviceIcon.svg`,il=`${e}/gradientSettings.svg`,dl=`${e}/gradientWallet.svg`,ll=`${e}/codeIcon.svg`,ul=`${e}/manyCurrencyCoin.svg`,gl=`${e}/manyCurrencyCoinGradient.svg`,Il=`${e}/blackMobileBatteryIcon.svg`,vl=`${e}/blackMobileSignalIcon.svg`,hl=`${e}/emptyMobileWifiIcon.svg`,ml=`${e}/deemaWithLabel.svg`,Al=`${e}/chargeBackWhiteIcon.svg`,fl=`${e}/blackUnLinkIcon.svg`,El=`${e}/sortDescArrowIcon.svg`,$l=`${e}/sortAscArrowIcon.svg`,Tl=`${e}/closedOutlinedYellowCircle.svg`,Sl=`${e}/deactivatedOrangeCircle.svg`,_l=`${e}/deactivatedCircleV2.svg`,yl=`${e}/exclamationOutlinedOrangeCircle.svg`,Pl=`${e}/activeGreenIcon.svg`,bl=`${e}/activeBlue.svg`,Rl=`${e}/inActiveGreyIcon.svg`,Cl=`${e}/inActiveWhite.svg`,Nl=`${Ye}/terminal_link.mp4`,wl=`${e}/bluePlusIcon.svg`,Ll=`${e}/blackSettingsVariant2Icon.svg`,Ol=`${e}/exclamationWhite.svg`,kl=`${t}/blueCircleWithWhiteCheck.svg`,Bl=`${e}/whiteCircleWithBlueCheck.svg`,Ml=`${e}/externalLink.svg`,Dl=`${e}/settingsIcon.svg`,Ul=`${e}/flipIcon.svg`,Fl=`${e}/shoppingCart.svg`,Wl=`${e}/verifyAvatar.svg`,Gl=`${e}/helpCircle.svg`,Hl=`${e}/provider/CYBERSOURCE.svg`,Yl=`${e}/provider/MPGS.svg`,Vl=`${e}/provider/NETCETERA.svg`,zl=`${e}/provider/APPLEPAY.svg`,ql=`${e}/provider/TAP3DS.svg`,Kl=`${e}/provider/BENEFIT_PAY.svg`,Zl=`${e}/provider/BENEFIT.svg`,Ql=`${e}/provider/CAREEM_PAY.svg`,Xl=`${e}/provider/DEEMA.svg`,jl=`${e}/provider/FAWRY.svg`,Jl=`${e}/provider/FSS.svg`,eu=`${e}/provider/KNET.svg`,tu=`${e}/provider/MEEZA.svg`,ou=`${e}/provider/NGENIUS.svg`,nu=`${e}/provider/NPG.svg`,su=`${e}/provider/OMAN_NET.svg`,cu=`${e}/provider/PAYPAL.svg`,pu=`${e}/provider/POSTPAY.svg`,au=`${e}/provider/QPAY.svg`,ru=`${e}/provider/SPG.svg`,xu=`${e}/provider/STC_PAY.svg`,iu=`${e}/provider/TABBY.svg`,du=`${e}/provider/TAMARA.svg`,lu=`${e}/provider/TPAY.svg`,uu=`${e}/provider/TPG.svg`,gu=`${e}/downloadBlue.svg`,Iu=`${e}/eyeBlue.svg`,vu=`${e}/fastBlack.svg`,hu=`${e}/repeat.svg`,mu=`${e}/shield.svg`,Au=`${e}/fileMinus.svg`,fu=`${e}/percent.svg`,Eu=`${e}/cardUpload.svg`,$u=`${e}/startConnector.svg`,Tu=`${e}/endConnector.svg`,Su=`${e}/spark.svg`,_u=`${e}/filledConnector.svg`,yu=`${e}/dottedConnector.svg`,Pu=`${e}/play.svg`,bu=`${e}/merchantAttributes.svg`,Ru=`${e}/issuerAttributes.svg`,Cu=`${e}/refresh.svg`,Nu=`${e}/riskAttributes.svg`,wu=`${e}/exclude.svg`,Lu=`${e}/earlySettlements.svg`,Ou=`${e}/financedBy.svg`,ku=`${e}/financeFeatures.svg`,Bu=`${e}/loanAmount.svg`,Mu=`${e}/murabhaFinance.svg`,Du=`${e}/testimonial.svg`,Uu=`${f}/bulk-refund-template.xlsx`,Fu=`${f}/bulk-invoice-template.xlsx`,Wu=`${e}/emptyCopyIcon.svg`,Gu=`${e}/deactiveIcon.svg`,Hu=`${e}/disableIcon.svg`,Yu=`${e}/extendIcon.svg`,Vu=`${e}/payers.svg`,zu=`${e}/gatewayIcon.svg`,qu=`${e}/shareholdersIcon.svg`,Ku=`${e}/teamIcon.svg`,Zu=`${e}/protectBlackIcon.svg`;var n={view:{code:"VIEW"},sandbox:{code:"SANDBOX"},jsonApi:{code:"JSON API"},reports:{code:"REPORTS"}},ze={updateMerchant:{code:"UPDATE_MERCHANT"},activateMarketplace:{code:"ACTIVATE_MARKETPLACE"},updateWallet:{code:"UPDATE_WALLET"},updateRisk:{code:"UPDATE_RISK"}},a={updateEntity:{code:"UPDATE ENTITY"},updateBrand:{code:"UPDATE BRAND"},updateUsers:{code:"UPDATE USERS"},createUsers:{code:"CREATE USERS"},updateShareholder:{code:"UPDATE_SHAREHOLDER"},createShareholder:{code:"CREATE_SHAREHOLDER"},assign:{code:"ASSIGN"},updatePoc:{code:"UPDATE_POC"},...ze},r={review:{code:"REVIEW"},verify:{code:"VERIFY"},reject:{code:"REJECT"},statusControl:{code:"STATUS_CONTROL"}},d={viewOperator:{code:"VIEW_OPERATOR"},createOperator:{code:"CREATE_OPERATOR"}},o={tokens:{code:"TOKEN",services:{tokens:{code:"TOKENS",functions:{...n}}}},billing:{code:"BILLING",services:{insights:{code:"INSIGHTS"},invoices:{code:"INVOICES",functions:{...n,create:{code:"CREATE"},cancel:{code:"CANCEL"},reminder:{code:"REMINDER"},finalize:{code:"FINALIZE"},refund:{code:"REFUND"},createBulk:{code:"CREATE_BULK_INVOICES"},usersList:{code:"USER_LIST"}}}}},business:{code:"BUSINESS",services:{merchant:{code:"MERCHANT",functions:{...n,...a,...r,businessProfile:{code:"BUSINESS_PROFILE"}}},retailer:{code:"RETAILER",functions:{...n,...a,...r}},businesses:{code:"BUSINESS",functions:{...n,update:{code:"UPDATE"}}}}},acceptance:{code:"ACCEPTANCE",services:{insights:{code:"INSIGHTS",functions:{...n,performanceOverview:{code:"PERFORMANCE_OVERVIEW"},performanceActivity:{code:"PERFORMANCE_ACTIVITY"},performanceHeatmap:{code:"PERFORMANCE_HEATMAP"},chargeStatus:{code:"CHARGE_STATUS"},chargeAcceptanceRate:{code:"CHARGE_ACCEPTANCE_RATE"},advancedMode:{code:"ADVANCED_MODE"}}},intents:{code:"INTENTS",functions:{...n,flagBalance:{code:"FLAG BALANCE"},releaseBalance:{code:"RELEASE BALANCE"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},createCharge:{code:"CREATE_CHARGE"}}},authorization:{code:"AUTHORIZATIONS",functions:{...n,void:{code:"VOID"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"}}},charges:{code:"CHARGES",functions:{...n,flagBalance:{code:"FLAG BALANCE"},releaseBalance:{code:"RELEASE BALANCE"},refund:{code:"REFUND"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},createCharge:{code:"CREATE_CHARGE"},viewReceipt:{code:"RECEIPT"}}},destinations:{code:"DESTINATIONS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},releaseBalance:{code:"RELEASE BALANCE"},flagBalance:{code:"FLAG BALANCE"}}},topups:{code:"TOPUPS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},releaseBalance:{code:"RELEASE BALANCE"},flagBalance:{code:"FLAG BALANCE"}}},refunds:{code:"REFUNDS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},cancel:{code:"CANCEL"},viewReceipt:{code:"RECEIPT"},bulkRefund:{code:"BULK_REFUND"}}},chargeback:{code:"CHARGEBACKS"},settlements:{code:"SETTLEMENTS",functions:{...n}},disputes:{code:"DISPUTES"}}},wallet:{code:"WALLET",services:{insights:{code:"INSIGHTS"},businesses:{code:"BUSINESS_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},retailers:{code:"RETAILER_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},customers:{code:"CUSTOMER_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},merchants:{code:"MERCHANT_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},paymentTechnology:{code:"PAYMENT_TECHNOLOGY_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},financialInstitution:{code:"FINANCIAL_INSTITUTION_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},retailCommerce:{code:"RETAIL_COMMERCE_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},app:{code:"APP_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},billing:{code:"BILLING_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},onlineCommerce:{code:"ONLINE_COMMERCE_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},paymentFacilitator:{code:"PAYMENT_FACILITATOR_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},development:{code:"DEVELOPMENT_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}}}},payouts:{code:"PAYOUT",services:{payouts:{code:"PAYOUTS",functions:{...n,bulkReports:{code:"BULK_REPORTS"},flag:{code:"FLAG"}}},reversePayout:{code:"REVERSEPAYOUT"},retailerPayout:{code:"RETAILER_PAYOUTS"},merchantPayout:{code:"MERCHANT_PAYOUTS"},businessesPayout:{code:"BUSINESS_PAYOUTS"}}},protect:{code:"PROTECT",services:{authorizationsFlags:{code:"AUTHORIZE",functions:{...n,releaseFlag:{code:"RELEASE FLAG"}}},chargesFlags:{code:"CHARGE",functions:{...n,releaseFlag:{code:"RELEASE FLAG"}}}}},authentication:{code:"AUTHENTICATION",services:{insights:{code:"INSIGHTS"},authentication:{code:"AUTHENTICATION",functions:{...n}},saveTokens:{code:"SAVE_TOKENS",functions:{...n}},charges:{code:"CHARGES",functions:{...n}},authorizations:{code:"AUTHORISATIONS",functions:{...n}}}},customers:{code:"CUSTOMER"},businesses:{code:"BUSINESS",services:{businesses:{code:"BUSINESSES"}}},reports:{code:"REPORTS",services:{reports:{code:"REPORTS"}}},upload:{code:"UPLOAD",services:{upload:{code:"UPLOAD"}}},paylink:{code:"PAYLINK",services:{links:{code:"LINKS",functions:{...n,create:{code:"CREATE"}}}}},account:{code:"ACCOUNT",services:{account:{code:"ACCOUNT"},users:{code:"USERS",functions:{list:{code:"LIST"},create:{code:"CREATE"},update:{code:"UPDATE"}}},operators:{code:"OPERATORS",functions:{list:{code:"LIST"},copy:{code:"COPY"}}},entity:{code:"ENTITY",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}},brands:{code:"BRAND",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}},shareholders:{code:"SHAREHOLDERS",functions:{view:{code:"VIEW"},create:{code:"CREATE"},update:{code:"UPDATE"}}},walletSettings:{code:"WALLET_SETTINGS",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}}}},order:{code:"ORDER",services:{orders:{code:"ORDERS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"}}}}},leads:{code:"LEAD",services:{merchantLead:{code:"MERCHANT_LEAD",functions:{...n,convert:{code:"CONVERT"},close:{code:"CLOSE"},update:{code:"UPDATE"},connect:{code:"CONNECT"},create:{code:"CREATE"}}},retailerLead:{code:"RETAILER_LEAD",functions:{...n,update:{code:"UPDATE"},close:{code:"CLOSE"},convert:{code:"CONVERT"},create:{code:"CREATE"}}}}},terminals:{code:"TERMINALS",services:{create:{code:"CREATE"},view:{code:"VIEW"},update:{code:"UPDATE"},deactivate:{code:"DEACTIVATE"}}},slaProcess:{code:"SLA_PROCESS"},orchestration:{code:"ORCHESTRATION",services:{routing:{code:"ROUTING",functions:{...n,create:{code:"CREATE"},update:{code:"UPDATE"}}},gatewayTerminals:{code:"GATEWAY_TERMINALS",functions:{...n,create:{code:"CREATE"},update:{code:"UPDATE"}}},credentials:{code:"CREDENTIALS",functions:{...n,create:{code:"CREATE"},update:{code:"UPDATE"}}},orchestrationSettings:{code:"ORCHESTRATION_SETTINGS",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}}}},lending:{code:"LENDING"},lendingProvider:{code:"LENDING_PROVIDER"},deema:{code:"DEEMA"},osApp:{code:"OS_APP"},platform:{code:"PLATFORM",services:{platform:{code:"PLATFORM",functions:{...n,...a,...r,...d}},onlineCommerce:{code:"ONLINE_COMMERCE",functions:{...n,...a,...r,...d}},retailCommerce:{code:"RETAIL_COMMERCE",functions:{...n,...a,...r,...d}},app:{code:"APP",functions:{...n,...a,...r,...d}},billing:{code:"BILLING",functions:{...n,...a,...r,...d}}}}},qe=88,Ke=24,ju={general:{height:`calc(100vh - ${qe+Ke}px)`,minWidth:780,maxWidth:1200,minHeight:"50vh",maxHeight:"100vh"},[o.reports.code]:{width:700,minWidth:700,maxWidth:"unset",maxHeight:"unset",height:652},[o.upload.code]:{width:700,minWidth:700,maxWidth:"unset",maxHeight:"unset",height:652},[o.billing.code]:{minWidth:856},[o.paylink.code]:{minWidth:856},[o.business.code]:{width:1400,maxWidth:1400}},Ju=[{code:o.tokens.code,iconUrl:$,toolbarIconUrl:ke},{code:o.billing.code,iconUrl:l,toolbarIconUrl:Ne},{code:o.acceptance.code,iconUrl:u,toolbarIconUrl:Re},{code:o.wallet.code,iconUrl:I,toolbarIconUrl:Ce},{code:o.payouts.code,iconUrl:v,toolbarIconUrl:Le},{code:o.protect.code,iconUrl:T,toolbarIconUrl:Oe},{code:o.authentication.code,iconUrl:g,toolbarIconUrl:De},{code:o.customers.code,iconUrl:S,toolbarIconUrl:we},{code:o.businesses.code,iconUrl:_,toolbarIconUrl:Me},{code:o.reports.code,iconUrl:le,toolbarIconUrl:Ue},{code:o.upload.code,iconUrl:re,toolbarIconUrl:ae},{code:o.paylink.code,iconUrl:ie,toolbarIconUrl:xe},{code:o.account.code,iconUrl:y,toolbarIconUrl:Be},{code:o.order.code,iconUrl:Ie,toolbarIconUrl:ve},{code:o.leads.code,iconUrl:ue,toolbarIconUrl:ge},{code:o.terminals.code,iconUrl:Fe,toolbarIconUrl:We},{code:o.slaProcess.code,iconUrl:he,toolbarIconUrl:me},{code:o.orchestration.code,iconUrl:Ae,toolbarIconUrl:fe},{code:o.lending.code,iconUrl:Ee,toolbarIconUrl:m},{code:o.lendingProvider.code,iconUrl:$e,toolbarIconUrl:m},{code:o.deema.code,iconUrl:Te,toolbarIconUrl:Se},{code:o.platform.code,iconUrl:_e,toolbarIconUrl:ye},{code:o.osApp.code,iconUrl:Pe,toolbarIconUrl:be}],eg=["login"];var Ge=window.__GLOBAL_CONFIG__??{},Ze=Ge.MW_BASE_URL??import.meta.env.VITE_BASE_URL,og=`${Ze}/api`,ng=import.meta.env.VITE_ENV,sg=import.meta.env.VITE_TEST_FIXED_SK,cg=Ge.HOST_APP_NAME??import.meta.env.VITE_HOST_APP_NAME,pg={TAPSTERS_FRONTEND:"tapsters-frontend",OS_FRONTEND:"os-frontend"};var rg=["FAILED","DECLINED","RESTRICTED","TIMEDOUT","UNKNOWN","INITIATED","CANCELLED","ABANDONED"];var ig={intents:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},authorization:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},charges:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},destinations:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},topups:{color:"#8D8D94",background:"rgba(141, 141, 148, 0.10)"},refunds:{color:"#4E1FD0",background:"rgba(78, 31, 208, 0.10)"},chargebacks:{color:"#F00",background:"rgba(255, 0, 0, 0.10)"},settlements:{color:"#2ACE00",background:"rgba(42, 206, 0, 0.10)"},disputes:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},payouts:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},statement:{color:"#2ACE00",background:"rgba(42, 206, 0, 0.10)"},invoices:{color:"#FF4D00",background:"rgba(255, 77, 0, 0.10)"},links:{color:"#FF4D00",background:"rgba(255, 77, 0, 0.10)"}};var lg=50,ug={AuthorizationsList:{limit:50},ChargesList:{limit:50},DestinationsList:{limit:50,destinationsLimit:20},IntentsList:{limit:50},RefundsList:{limit:50},SettlementsList:{limit:50},TopupsList:{limit:50},AuthenticationsList:{limit:25},InvoicesList:{limit:50},LeadsList:{limit:50,page_no:1},OrdersList:{limit:50},PayoutsList:{limit:50},TokensList:{limit:50},WalletsList:{limit:50,page:1},brands:{limit:50},MerchantsList:{limit:50},TerminalDevices:{limit:50}};var Ig="TAPOS_MW_MERCHANT_OR_RETAILER_REQUIRED";var hg={id:{default:"180px",text:"180px",sheet:"180px"},merchant:{default:"115px",text:"150px",sheet:"138px"},brand:{default:"125px",text:"116px",sheet:"116px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"90px",text:"250px",sheet:"250px"},provider:{default:"102px",text:"102px",sheet:"102px"},purpose:{default:"126px",text:"126px",sheet:"126px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"94px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"165px"},amount:{default:"175px",text:"175px",sheet:"175px"},status:{default:"86px",text:"250px",sheet:"250px"},authentication_id:{default:"260px",text:"320px",sheet:"320px"},charge_id:{default:"245px",text:"290px",sheet:"290px"},actions:{default:"100px",text:"100px",sheet:"100px"},date:{default:"150px",text:"170px",sheet:"130px"},channel:{default:"100px",text:"100px",sheet:"100px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"}};var Ag={charge_id:{default:"240px",text:"240px",sheet:"240px"},id:{default:"205px",text:"225px",sheet:"250px"},auto:{default:"70px",text:"90px",sheet:"90px"},balance:{default:"60px",text:"60px",sheet:"150px"},product:{default:"85px",text:"85px",sheet:"85px"},date:{default:"150px",text:"170px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"80px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},reference:{default:"95px",text:"180px",sheet:"180px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"150px",sheet:"230px"},amount:{default:"130px",text:"195px",sheet:"150px"},destinations:{default:"70px",text:"240px",sheet:"240px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"70px",text:"100px",sheet:"300px"},merchant:{default:"115px",text:"150px",sheet:"138px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},receipt:{default:"85px",text:"150px",sheet:"150px"},fees:{default:"150px",text:"150px",sheet:"150px"},metadata:{default:"185px",text:"185px",sheet:"250px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"180px",text:"180px",sheet:"180px"},actions:{default:"80px",text:"100px",sheet:"100px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},rrn:{default:"100px",text:"100px",sheet:"100px"},transaction_id:{default:"120px",text:"120px",sheet:"315px"},device:{default:"60px",text:"190px",sheet:"235px"},card_no:{default:"120px",text:"120px",sheet:"140px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},brand:{default:"125px",text:"116px",sheet:"116px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},card_number:{default:"120px",text:"120px",sheet:"155px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"}};var Eg={code:{default:"90px",text:"90px",sheet:"90px"},message:{default:"160px",text:"160px",sheet:"160px"},id:{default:"205px",text:"225px",sheet:"250px"},product:{default:"85px",text:"85px",sheet:"85px"},date:{default:"150px",text:"170px",sheet:"130px"},reference:{default:"95px",text:"180px",sheet:"250px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"},order:{default:"80px",text:"80px",sheet:"80px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},source:{default:"70px",text:"125px",sheet:"1250px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"150px",sheet:"165px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"170px"},eci:{default:"150px",text:"150px",sheet:"72px"},amount:{default:"130px",text:"195px",sheet:"550px"},destinations:{default:"90px",text:"240px",sheet:"340px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"70px",text:"300px",sheet:"170px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},payout_status:{default:"70px",text:"70px",sheet:"130px"},merchant:{default:"115px",text:"150px",sheet:"138px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},receipt:{default:"85px",text:"150px",sheet:"165px"},fees:{default:"150px",text:"150px",sheet:"170px"},invoice_reference:{default:"185px",text:"180px",sheet:"275px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"130px",text:"130px",sheet:"130px"},actions:{default:"100px",text:"100px",sheet:"85px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},card_number:{default:"120px",text:"120px",sheet:"155px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},auth_code:{default:"80px",text:"80px",sheet:"100px"},rrn:{default:"100px",text:"100px",sheet:"105px"},device:{default:"70px",text:"190px",sheet:"235px"},card_no:{default:"120px",text:"120px",sheet:"200px"},meta:{default:"80px",text:"52px",sheet:"275px"},action_icon:{default:"30px",text:"30px",sheet:"30px"},consolidated_amount:{default:"180px",text:"180px",sheet:"150px"},customer_amount:{default:"150px",text:"150px",sheet:"150px"},charge_amount:{default:"150px",text:"150px",sheet:"150px"},settlement_amount:{default:"150px",text:"150px",sheet:"150px"},acquirer_ref:{default:"125px",text:"125px",sheet:"145px"},order_ref:{default:"200px",text:"200px",sheet:"220px"},payment_ref:{default:"150px",text:"150px",sheet:"170px"},generic_ref:{default:"125px",text:"125px",sheet:"145px"},brand:{default:"125px",text:"116px",sheet:"116px"}};var Tg={id:{default:"205px",text:"225px",sheet:"250px"},reference_order:{default:"95px",text:"180px",sheet:"250px"},date:{default:"150px",text:"170px",sheet:"130px"},created:{default:"150px",text:"170px",sheet:"130px"},receipt:{default:"85px",text:"150px",sheet:"165px"},reference:{default:"95px",text:"180px",sheet:"250px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"},order:{default:"80px",text:"80px",sheet:"80px"},charge_order:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},chargeId:{default:"225px",text:"225px",sheet:"225px"},chargeDate:{default:"150px",text:"150px",sheet:"130px"},device:{default:"70px",text:"250px",sheet:"235px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"165px"},amount:{default:"130px",text:"195px",sheet:"150px"},status:{default:"70px",text:"100px",sheet:"170px"},chargeStatus:{default:"150px",text:"250px",sheet:"250px"},merchant:{default:"115px",text:"150px",sheet:"138px"},actions:{default:"100px",text:"100px",sheet:"85px"},destination:{default:"100px",text:"100px",sheet:"100px"},retailer:{default:"100px",text:"100px",sheet:"100px"},payout:{default:"180px",text:"180px",sheet:"180px"},brand:{default:"125px",text:"116px",sheet:"116px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},card_number:{default:"120px",text:"120px",sheet:"155px"},card_no:{default:"120px",text:"120px",sheet:"200px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},code:{default:"90px",text:"90px",sheet:"90px"},message:{default:"160px",text:"160px",sheet:"160px"},product:{default:"85px",text:"85px",sheet:"85px"},destinations:{default:"90px",text:"240px",sheet:"340px"},topup:{default:"20px",text:"95px",sheet:"95px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},fees:{default:"150px",text:"150px",sheet:"170px"},invoice_reference:{default:"185px",text:"180px",sheet:"275px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"130px",text:"130px",sheet:"130px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"100px"},rrn:{default:"100px",text:"100px",sheet:"105px"},meta:{default:"80px",text:"52px",sheet:"275px"},action_icon:{default:"30px",text:"30px",sheet:"30px"},consolidated_amount:{default:"180px",text:"180px",sheet:"150px"},customer_amount:{default:"150px",text:"150px",sheet:"150px"},charge_amount:{default:"150px",text:"150px",sheet:"150px"},settlement_amount:{default:"150px",text:"150px",sheet:"150px"},acquirer_ref:{default:"125px",text:"125px",sheet:"145px"},order_ref:{default:"200px",text:"200px",sheet:"220px"},payment_ref:{default:"150px",text:"150px",sheet:"170px"},generic_ref:{default:"125px",text:"125px",sheet:"145px"},payout_status:{default:"70px",text:"120px",sheet:"130px"},reference_transfer:{default:"205px",text:"225px",sheet:"250px"}};var _g={created:{default:"170px",text:"170px",sheet:"170px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},amount:{default:"195px",text:"250px",sheet:"250px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Pg={id:{default:"180px",text:"180px",sheet:"180px"},link:{default:"145px",text:"145px",sheet:"350px"},date:{default:"150px",text:"150px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"260px"},customer:{default:"180px",text:"180px",sheet:"180px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},merchant:{default:"180px",text:"180px",sheet:"92px"},amount:{default:"195px",text:"195px",sheet:"150px"},channel:{default:"90px",text:"90px",sheet:"156px"},due:{default:"92px",text:"340px",sheet:"108px"},status:{default:"90px",text:"170px",sheet:"170px"},actions:{default:"100px",text:"100px",sheet:"100px"},paymentMethod:{default:"110px",text:"130px",sheet:"122px"},cardNo:{default:"130px",text:"130px",sheet:"130px"},chargeId:{default:"225px",text:"225px",sheet:"230px"},receiptId:{default:"180px",text:"180px",sheet:"180px"},reference_no:{default:"225px",text:"225px",sheet:"225px"},invoice_number:{default:"160px",text:"160px",sheet:"160px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},metadata:{default:"180px",text:"180px",sheet:"180px"}};var Rg={created:{default:"172px",text:"172px",sheet:"172px"},brands:{default:"140px",text:"140px",sheet:"250px"},identification_number:{default:"150px",text:"150px",sheet:"150px"},entity:{default:"146px",text:"180px",sheet:"250px"},channels:{default:"80px",text:"120px",sheet:"440px"},partners:{default:"77px",text:"100px",sheet:"100px"},psp:{default:"62px",text:"180px",sheet:"180px"},status:{default:"64px",text:"100px",sheet:"172px"},actions:{default:"100px",text:"100px",sheet:"70px"}};var Ng={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},authenticate:{default:"150px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},destinations:{default:"70px",text:"240px",sheet:"240px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Lg={id:{default:"225px",text:"225px",sheet:"225px"},date:{default:"150px",text:"150px",sheet:"150px"},wallet:{default:"150px",text:"250px",sheet:"250px"},bankAccount:{default:"240px",text:"250px",sheet:"250px"},amount:{default:"210px",text:"210px",sheet:"210px"},status:{default:"51px",text:"250px",sheet:"250px"},report:{default:"56px",text:"100px",sheet:"100px"},actions:{default:"100px",text:"100px",sheet:"100px"},referenceId:{default:"72px",text:"140px",sheet:"100px"},currency:{default:"80px",text:"80px",sheet:"80px"},beneficiary_name:{default:"180px",text:"180px",sheet:"180px"}};var kg={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"150px",text:"250px",sheet:"250px"},auto:{default:"150px",text:"250px",sheet:"250px"},balance:{default:"50px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Mg={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},destinations:{default:"70px",text:"240px",sheet:"240px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Ug={charge_id:{default:"240px",text:"240px",sheet:"240px"},id:{default:"205px",text:"225px",sheet:"250px"},date:{default:"150px",text:"170px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"80px"},product:{default:"85px",text:"85px",sheet:"85px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},device:{default:"100px",text:"200px",sheet:"235px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"200px",sheet:"200px"},payment_agreement:{default:"50px",text:"200px",sheet:"165px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},amount:{default:"130px",text:"195px",sheet:"150px"},payouts:{default:"195px",text:"195px",sheet:"300px"},reason:{default:"170px",text:"240px",sheet:"160px"},destinations:{default:"70px",text:"240px",sheet:"340px"},balance:{default:"110px",text:"150px",sheet:"150px"},status:{default:"100px",text:"100px",sheet:"170px"},merchant:{default:"115px",text:"150px",sheet:"138px"},reference:{default:"95px",text:"180px",sheet:"250px"},fees:{default:"100px",text:"200px",sheet:"200px"},metadata:{default:"185px",text:"180px",sheet:"180px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"180px",text:"180px",sheet:"180px"},actions:{default:"100px",text:"100px",sheet:"85px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},rrn:{default:"100px",text:"100px",sheet:"100px"},receipt_id:{default:"100px",text:"150px",sheet:"150px"},card_no:{default:"120px",text:"120px",sheet:"200px"},card_number:{default:"120px",text:"120px",sheet:"155px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},meta:{default:"52px",text:"52px",sheet:"52px"},charge_meta:{default:"100px",text:"100px",sheet:"250px"},brand:{default:"125px",text:"116px",sheet:"116px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"}};var Wg={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"100px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},purpose:{default:"150px",text:"250px",sheet:"250px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Hg={id:{default:"180px",text:"180px",sheet:"180px"},created:{default:"170px",text:"170px",sheet:"170px"},charge_order:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},source:{default:"94px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Vg={id:{default:"180px",text:"180px",sheet:"180px"},type:{default:"150px",text:"250px",sheet:"250px"},wallet:{default:"150px",text:"250px",sheet:"250px"},source:{default:"92px",text:"125px",sheet:"125px"},amount:{default:"195px",text:"195px",sheet:"195px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var qg={id:{default:"180px",text:"180px",sheet:"180px"},amount:{default:"220px",text:"220px",sheet:"220px"},actions:{default:"70px",text:"70px",sheet:"70px"},date:{default:"130px",text:"130px",sheet:"130px"},description:{default:"210px",text:"210px",sheet:"210px"},transactions:{default:"90px",text:"90px",sheet:"90px"}};var Zg={id:{default:"225px",text:"225px",sheet:"225px"},postdate:{default:"170px",text:"170px",sheet:"170px"},date:{default:"110px",text:"110px",sheet:"110px"},description:{default:"210px",text:"210px",sheet:"210px"},receipt:{default:"80px",text:"150px",sheet:"150px"},authenticate:{default:"70px",text:"100px",sheet:"100px"},debit:{default:"400px",text:"400px",sheet:"400px"},source:{default:"75px",text:"125px",sheet:"125px"},actions:{default:"100px",text:"100px",sheet:"100px"},amount:{default:"195px",text:"195px",sheet:"195px"},reference:{default:"95px",text:"110px",sheet:"110px"},card:{default:"120px",text:"120px",sheet:"120px"}};var Xg={id:{default:"225px",text:"225px",sheet:"220px"},lead_id:{default:"180px",text:"180px",sheet:"220px"},merchant_id:{default:"180px",text:"180px",sheet:"220px"},brand_id:{default:"180px",text:"180px",sheet:"220px"},individual_email:{default:"180px",text:"180px",sheet:"250px"},personal_id_type:{default:"180px",text:"180px",sheet:"220px"},wallet_currency:{default:"120px",text:"180px",sheet:"140px"},tax_number:{default:"180px",text:"180px",sheet:"140px"},wallet_id:{default:"180px",text:"180px",sheet:"220px"},business_id:{default:"180px",text:"180px",sheet:"220px"},board_id:{default:"180px",text:"180px",sheet:"220px"},history:{default:"180px",text:"180px",sheet:"130px"},bank_account:{default:"120px",text:"180px",sheet:"110px"},individual_phone_number:{default:"180px",text:"180px",sheet:"190px"},entity_legal_name:{default:"180px",text:"180px",sheet:"250px"},entity_id:{default:"180px",text:"180px",sheet:"220px"},entity:{default:"146px",text:"180px",sheet:"250px"},created:{default:"172px",text:"172px",sheet:"172px"},brands:{default:"140px",text:"140px",sheet:"250px"},marketplace:{default:"110px",text:"110px",sheet:"104px"},individuals:{default:"128px",text:"185px",sheet:"203px"},identification_number:{default:"150px",text:"150px",sheet:"150px"},segments:{default:"70px",text:"180px",sheet:"180px"},psp:{default:"62px",text:"180px",sheet:"180px"},status:{default:"64px",text:"100px",sheet:"172px"},partners:{default:"77px",text:"100px",sheet:"100px"},actions:{default:"100px",text:"100px",sheet:"70px"},avatar:{default:"40px",text:"40px",sheet:"40px"},user_name:{default:"150px",text:"180px",sheet:"180px"},channels:{default:"80px",text:"120px",sheet:"440px"},merchant:{default:"167px",text:"180px",sheet:"167px"},business_name:{default:"220px",text:"220px",sheet:"220px"},apps:{default:"120px",text:"120px",sheet:"120px"},assignee:{default:"96px",text:"100px",sheet:"172px"},team:{default:"88px",text:"100px",sheet:"172px"}};var Jg={device:{default:"120px",text:"120px",sheet:"120px"},terminalId:{default:"100px",text:"100px",sheet:"100px"},merchantId:{default:"120px",text:"120px",sheet:"120px"},type:{default:"80px",text:"80px",sheet:"80px"},platform:{default:"100px",text:"100px",sheet:"100px"},branding:{default:"80px",text:"80px",sheet:"80px"},features:{default:"100px",text:"100px",sheet:"100px"},acceptance:{default:"80px",text:"80px",sheet:"80px"},brand:{default:"80px",text:"80px",sheet:"80px"},address:{default:"160px",text:"160px",sheet:"160px"},status:{default:"80px",text:"80px",sheet:"80px"},actions:{default:"80px",text:"80px",sheet:"80px"},charges:{default:"180px",text:"180px",sheet:"180px"},chargesTransactions:{default:"70px",text:"70px",sheet:"70px"}};var tI={id:{default:"111px",text:"111px",sheet:"215px"},acquirer_id:{default:"197px",text:"197px",sheet:"197px"},provider_id:{default:"88px",text:"88px",sheet:"88px"},merchant_id:{default:"160px",text:"160px",sheet:"160px"},acquirer_merchant_id:{default:"180px",text:"180px",sheet:"180px"},acceptance_mode:{default:"132px",text:"132px",sheet:"132px"},transaction_source:{default:"136px",text:"136px",sheet:"132px"},transaction_mode:{default:"132px",text:"132px",sheet:"132px"},charge_currency:{default:"132px",text:"132px",sheet:"132px"},settle_currency:{default:"120px",text:"120px",sheet:"120px"},gateway_type:{default:"132px",text:"132px",sheet:"100px"},gateway:{default:"150px",text:"150px",sheet:"150px"},three_ds:{default:"120px",text:"120px",sheet:"150px"},status:{default:"149px",text:"149px",sheet:"100px"},live_mode:{default:"100px",text:"100px",sheet:"100px"},add_time:{default:"160px",text:"160px",sheet:"160px"},mod_time:{default:"160px",text:"160px",sheet:"160px"},actions:{default:"60px",text:"60px",sheet:"60px"}};var nI={id:{default:"112px",text:"112px",sheet:"215px"},name:{default:"225px",text:"225px",sheet:"180px"},terminal_id:{default:"118px",text:"118px",sheet:"160px"},rank:{default:"66px",text:"66px",sheet:"88px"},acceptance_rate:{default:"107px",text:"107px",sheet:"132px"},route_issuer_scheme:{default:"112px",text:"112px",sheet:"140px"},acceptance_mode:{default:"132px",text:"132px",sheet:"140px"},transaction_mode:{default:"128px",text:"128px",sheet:"140px"},active:{default:"87px",text:"87px",sheet:"120px"},add_time:{default:"160px",text:"160px",sheet:"160px"},mod_time:{default:"160px",text:"160px",sheet:"160px"},live_mode:{default:"100px",text:"100px",sheet:"110px"},status:{default:"112px",text:"112px",sheet:"140px"},route_ref:{default:"140px",text:"140px",sheet:"160px"},filter_usage:{default:"110px",text:"110px",sheet:"120px"},route_issuer_id:{default:"140px",text:"140px",sheet:"160px"},route_issuer_bin:{default:"140px",text:"140px",sheet:"160px"},route_issuer_brand:{default:"140px",text:"140px",sheet:"160px"},route_issuer_category:{default:"150px",text:"150px",sheet:"170px"},route_issuer_country:{default:"150px",text:"150px",sheet:"170px"},route_issuer_type:{default:"140px",text:"140px",sheet:"160px"},route_merchant:{default:"150px",text:"150px",sheet:"170px"},route_merchant_bank:{default:"150px",text:"150px",sheet:"170px"},route_merchant_country:{default:"150px",text:"150px",sheet:"170px"},route_merchant_currency:{default:"150px",text:"150px",sheet:"170px"},route_merchant_mcc:{default:"140px",text:"140px",sheet:"160px"},route_merchant_sector:{default:"150px",text:"150px",sheet:"170px"},route_transaction_currency:{default:"160px",text:"160px",sheet:"180px"},route_keywords:{default:"160px",text:"160px",sheet:"180px"},keyword_usage:{default:"150px",text:"150px",sheet:"170px"},exclude_condition:{default:"140px",text:"140px",sheet:"140px"},exclude_issuer_scheme:{default:"156px",text:"156px",sheet:"160px"},exclude_issuer_bin:{default:"150px",text:"150px",sheet:"160px"},exclude_issuer_country:{default:"160px",text:"160px",sheet:"170px"},exclude_issuer_type:{default:"150px",text:"150px",sheet:"160px"},exclude_route_merchant:{default:"160px",text:"160px",sheet:"170px"},exclude_merchant_mcc:{default:"160px",text:"160px",sheet:"170px"},exclude_merchant_country:{default:"177px",text:"177px",sheet:"180px"},exclude_merchant_currency:{default:"183px",text:"183px",sheet:"180px"},exclude_merchant_bank:{default:"160px",text:"160px",sheet:"170px"},exclude_merchant_sector:{default:"170px",text:"170px",sheet:"180px"},actions:{default:"60px",text:"60px",sheet:"60px"}};var cI="SA",pI="Asia/Riyadh",aI="Saudi Arabia",rI=60;var iI={SAR:{decimals:2,country:"SA"},BHD:{decimals:3,country:"BH"},EGP:{decimals:2,country:"EG"},JOD:{decimals:3,country:"JO"},KWD:{decimals:3,country:"KW"},LBP:{decimals:2,country:"LB"},OMR:{decimals:3,country:"OM"},AED:{decimals:2,country:"AE"},PKR:{decimals:2,country:"PK"},INR:{decimals:2,country:"IN"},SGD:{decimals:2,country:"SG"},USD:{decimals:2,country:"US"},GBP:{decimals:2,country:"GB"},EUR:{decimals:2,country:"GR"},QAR:{decimals:2,country:"QA"}},dI=["SAR","KWD","OMR","EGP","BHD","USD","AED","QAR","PKR","JOD","EUR","INR","GBP"],lI={regional:["SAR","KWD","OMR","EGP","BHD","AED","QAR","JOD"],global:["USD","GBP","EUR","PKR","INR"]};var gI=52,II=70,vI=57,hI=200,mI=5,AI=40,fI=20,EI=28;var TI={COUNT:"count",AMOUNT:"amount"},SI={count:"transaction",amount:"amount"};var x={DEVICE:`${e}/device.svg`,CARD:`${e}/payment-method/card.svg`,PASS_THRU_WALLET:`${e}/passThruWallet.svg`,EXPRESS_CHECKOUT:`${e}/express_checkout.svg`,STORED_VALUE_WALLET:`${e}/storedValueWallet.svg`,CASH_WALLET:`${e}/cash.svg`,BUY_NOW_PAY_LATER:`${e}/buyNowPayLater.svg`},PI=[{name:"CARD",label:"Card",icon:x.CARD},{name:"EXPRESS",label:"Express Checkout",icon:x.EXPRESS_CHECKOUT},{name:"DEVICE",label:"Device",icon:x.DEVICE},{name:"PT_WALLET",label:"Pass-Thru Wallet",icon:x.PASS_THRU_WALLET},{name:"SV_WALLET",label:"Stored Value Wallet",icon:x.STORED_VALUE_WALLET},{name:"BNPL",label:"Buy Now Pay Later",icon:x.BUY_NOW_PAY_LATER},{name:"CASH",label:"Cash Wallet",icon:x.CASH_WALLET}],Qe="customer",Xe="merchant",bI=[{key:Qe,value:"true",label:"Customer"},{key:Xe,value:"false",label:"Merchant"}],RI=[{key:"Regional",label:"Regional"},{key:"Global",label:"Global"},{key:"Local",label:"Local"}],CI=[{key:"3DS",label:"3DS"},{key:"Device Biometric",label:"Biometric"},{key:"Non-3DS",label:"Non-3DS"},{key:"Attempted",label:"Attempted"},{key:"Undetermined",label:"Undetermined"}];var LI={PAYMENT_GATEWAY_PROVIDER:B,PAYMENT_TECHNOLOGY:W,PAYMENT_TERMINAL_PROVIDER:G,PAYMENT_PROCESSOR:U,PAYMENT_SCHEME:F,PAYMENT_ISSUER:M,PAYMENT_ACQUIRER:O,PAYMENT_METHOD:D,PAYMENT_FACILITATOR:k,APP_PLATFORM:N,RETAIL_PLATFORM:H,COMMERCE_PLATFORM:L,BILLING_PLATFORM:w,BUSINESS:P,DEVELOPMENT_HOUSE:b,MASTER_ORCHESTRATOR:R,PLATFORM:C},OI={PAYMENT_GATEWAY_PROVIDER:J,PAYMENT_TECHNOLOGY:se,PAYMENT_TERMINAL_PROVIDER:ce,PAYMENT_PROCESSOR:oe,PAYMENT_SCHEME:ne,PAYMENT_ISSUER:ee,PAYMENT_ACQUIRER:X,PAYMENT_METHOD:te,PAYMENT_FACILITATOR:j,APP_PLATFORM:K,RETAIL_PLATFORM:pe,COMMERCE_PLATFORM:Q,BILLING_PLATFORM:Z,BUSINESS:Y,DEVELOPMENT_HOUSE:V,MASTER_ORCHESTRATOR:z,PLATFORM:q},p={PLATFORM:"platformId",DEVELOPMENT_HOUSE:"developmentHouseId",PAYMENT_TECHNOLOGY:"paymentTechnology",PAYMENT_ISSUER:"paymentIssuerId",PAYMENT_INSTITUTION:"paymentInstitution"},kI={PLATFORM:p.PLATFORM,RETAIL_PLATFORM:p.PLATFORM,BILLING_PLATFORM:p.PLATFORM,COMMERCE_PLATFORM:p.PLATFORM,APP_PLATFORM:p.PLATFORM,DEVELOPMENT_HOUSE:p.DEVELOPMENT_HOUSE,PAYMENT_TECHNOLOGY:p.PAYMENT_TECHNOLOGY,PAYMENT_ISSUER:p.PAYMENT_ISSUER,PAYMENT_ACQUIRER:p.PAYMENT_INSTITUTION,PAYMENT_FACILITATOR:p.PAYMENT_INSTITUTION},BI=["RETAIL_PLATFORM","COMMERCE_PLATFORM","BILLING_PLATFORM","APP_PLATFORM"],MI=["PAYMENT_FACILITATOR","PAYMENT_ACQUIRER"],DI=["PAYMENT_TECHNOLOGY"],UI=["PAYMENT_ISSUER"],FI=["DEVELOPMENT_HOUSE"];var GI={bgColor:"white",borderColor:"#F2F2F2",textColor:"#20232B33"};var s={CHARGE:"CHARGE",AUTHORIZE:"AUTHORIZE",REFUND:"REFUND",CHARGEBACKS:"CHARGEBACKS",DESTINATIONS:"DESTINATIONS",REVERSED_DESTINATIONS:"REVERSED_DESTINATIONS",STATEMENT:"STATEMENT",STATEMENT_SUMMARY:"STATEMENT_SUMMARY",INVOICE:"INVOICE",PAYOUT:"PAYOUT",MERCHANT_PAYOUT:"MERCHANT_PAYOUT",RETAILER_PAYOUT:"RETAILER_PAYOUT",AUTHENTICATION:"AUTHENTICATION"},zI={[o.acceptance.services.charges.code]:[s.CHARGE],[o.acceptance.services.authorization.code]:[s.AUTHORIZE],[o.acceptance.services.refunds.code]:[s.REFUND],[o.acceptance.services.chargeback.code]:[s.CHARGEBACKS],[o.acceptance.services.destinations.code]:[s.DESTINATIONS,s.REVERSED_DESTINATIONS],[o.acceptance.code]:[s.CHARGE,s.AUTHORIZE,s.REFUND,s.CHARGEBACKS,s.DESTINATIONS,s.REVERSED_DESTINATIONS],[o.wallet.services.merchants.functions.statement.code]:[s.STATEMENT],[o.wallet.services.merchants.functions.summary.code]:[s.STATEMENT_SUMMARY],[o.wallet.code]:[s.STATEMENT,s.STATEMENT_SUMMARY],[o.billing.services.invoices.code]:[s.INVOICE],[o.billing.code]:[s.INVOICE],[o.payouts.services.payouts.code]:[s.PAYOUT],[o.payouts.services.merchantPayout.code]:[s.MERCHANT_PAYOUT],[o.payouts.services.retailerPayout.code]:[s.RETAILER_PAYOUT],[o.payouts.code]:[s.PAYOUT,s.MERCHANT_PAYOUT,s.RETAILER_PAYOUT],[o.authentication.code]:[s.AUTHENTICATION]},qI=[{code:o.billing.code,name:"Billing",icon:l,services:[{name:"Invoices",code:o.billing.services.invoices.code}]},{code:o.acceptance.code,name:"Acceptance",icon:u,services:[{name:"Authorisations",code:o.acceptance.services.authorization.code},{name:"Charges",code:o.acceptance.services.charges.code},{name:"Refunds",code:o.acceptance.services.refunds.code},{name:"Chargebacks",code:o.acceptance.services.chargeback.code},{name:"Destinations",code:o.acceptance.services.destinations.code}]},{code:o.wallet.code,name:"Wallet",icon:I,services:[{name:"Aggregated Statement",code:o.wallet.services.merchants.functions.summary.code},{name:"Detailed Statement",code:o.wallet.services.merchants.functions.statement.code}]},{code:o.payouts.code,name:"Payouts",icon:v,services:[{name:"Payouts",code:o.payouts.services.payouts.code},{name:"Merchant Payouts",code:o.payouts.services.merchantPayout.code},{name:"Retailer Payouts",code:o.payouts.services.retailerPayout.code}]},{code:o.authentication.code,name:"Authentication",icon:g,services:[{name:"Authentication",code:o.authentication.services.authentication.code}]}];var ZI={COMMERCIAL_REGISTRATION:"commercial_registration",FREELANCER:"freelancer",ARTICLE_OF_ASSOCIATION:"article_of_association"};var je=["AUTHENTICATED"],Je=["PENDING","ATTEMPTED","FAILED","REJECTED","UNAVAILABLE","AUTHENTICATION_NOT_SUPPORTED_BY_SCHEME","AUTHENTICATED_AUTHORIZE_FAILED","EXEMPTED","INITIATED"],XI=[...je,...Je],et=(A=>(A.Challenge="C",A.Frictionless="F",A))(et||{}),jI={C:"Challenge",F:"Frictionless"};var e0=["SA","KW","AE","BH","QA","OM","EG","JO","LB"];var n0={csv:de,xls:h,xlsx:h,zip:E};var c0=10;var a0={LEGAL:"role_VGXq11221255flGs17gy9z422",FINANCE:"role_20NS11221255R0qE17uq95415",OPERATIONS:"role_vpYG11221255pPZc17oi9X422",SALES:"role_DRob11221255y2M717fG9W422",MARKETING:"role_cCna11221255yOCn17sR9k422",ADMIN:"role_ofPc32221647hs4H17Hb10q119",ACCOUNT_HOLDER:"role_S0Mt32221647iNTN17L810e172",TECHNOLOGY:"role_4FvH3222164757lh17bc10t225",TAPSTERS_ACCOUNT_HOLDER:"role_2QeC5261246cLLM250X27328"};
|
|
2
|
+
export{Zt as $,Zo as $a,Qn as $b,Fs as $c,pc as $d,ep as $e,Zp as $f,Ba as $g,Br as $h,_x as $i,_i as $j,Td as $k,Tl as $l,Tu as $m,Ng as $n,et as $o,$t as A,To as Aa,Tn as Ab,fs as Ac,z as Ad,Lc as Ae,$p as Af,ua as Ag,xr as Ah,xx as Ai,jx as Aj,ji as Ak,Qd as Al,Ql as Am,n as An,fI as Ao,Tt as B,So as Ba,Sn as Bb,Es as Bc,q as Bd,Oc as Be,Tp as Bf,ga as Bg,ir as Bh,ix as Bi,Jx as Bj,Ji as Bk,Xd as Bl,Xl as Bm,ze as Bn,EI as Bo,St as C,_o as Ca,_n as Cb,$s as Cc,Ks as Cd,kc as Ce,Sp as Cf,Ia as Cg,dr as Ch,dx as Ci,ei as Cj,ed as Ck,jd as Cl,jl as Cm,a as Cn,TI as Co,_t as D,yo as Da,yn as Db,Ts as Dc,K as Dd,Bc as De,_p as Df,va as Dg,lr as Dh,lx as Di,ti as Dj,td as Dk,Jd as Dl,Jl as Dm,r as Dn,SI as Do,yt as E,Po as Ea,Pn as Eb,g as Ec,Zs as Ed,Mc as Ee,yp as Ef,_e as Eg,ur as Eh,ux as Ei,oi as Ej,od as Ek,el as El,eu as Em,d as En,x as Eo,Pt as F,bo as Fa,bn as Fb,I as Fc,Z as Fd,Dc as Fe,Pp as Ff,ye as Fg,gr as Fh,gx as Fi,ni as Fj,nd as Fk,tl as Fl,tu as Fm,o as Fn,PI as Fo,bt as G,E as Ga,Rn as Gb,v as Gc,Q as Gd,Uc as Ge,bp as Gf,Pe as Gg,Ir as Gh,Re as Gi,si as Gj,sd as Gk,ol as Gl,ou as Gm,ju as Gn,Qe as Go,Rt as H,Ro as Ha,Cn as Hb,T as Hc,Qs as Hd,Fc as He,Rp as Hf,be as Hg,vr as Hh,Ce as Hi,ci as Hj,cd as Hk,nl as Hl,nu as Hm,Ju as Hn,Xe as Ho,Ct as I,Co as Ia,Nn as Ib,S as Ic,Xs as Id,Wc as Ie,Cp as If,ha as Ig,hr as Ih,Ne as Ii,pi as Ij,pd as Ik,sl as Il,su as Im,eg as In,bI as Io,Nt as J,No as Ja,wn as Jb,_ as Jc,X as Jd,Gc as Je,Np as Jf,ma as Jg,mr as Jh,we as Ji,ai as Jj,ad as Jk,cl as Jl,cu as Jm,Ze as Jn,RI as Jo,wt as K,wo as Ka,Ln as Kb,y as Kc,j as Kd,Hc as Ke,wp as Kf,Aa as Kg,Ar as Kh,Le as Ki,ri as Kj,rd as Kk,pl as Kl,pu as Km,og as Kn,CI as Ko,Lt as L,Lo as La,On as Lb,Ss as Lc,J as Ld,ae as Le,Lp as Lf,fa as Lg,fr as Lh,Oe as Li,xi as Lj,xd as Lk,al as Ll,au as Lm,ng as Ln,LI as Lo,Ot as M,Oo as Ma,kn as Mb,_s as Mc,ee as Md,re as Me,Op as Mf,Ea as Mg,Er as Mh,ke as Mi,ii as Mj,id as Mk,rl as Ml,ru as Mm,sg as Mn,OI as Mo,kt as N,ko as Na,Bn as Nb,ys as Nc,te as Nd,xe as Ne,kp as Nf,$a as Ng,$r as Nh,Be as Ni,di as Nj,dd as Nk,xl as Nl,xu as Nm,cg as Nn,p as No,Bt as O,Bo as Oa,Mn as Ob,Ps as Oc,oe as Od,ie as Oe,Bp as Of,Ta as Og,Tr as Oh,Me as Oi,li as Oj,ld as Ok,il as Ol,iu as Om,pg as On,kI as Oo,Mt as P,Mo as Pa,Dn as Pb,bs as Pc,ne as Pd,Yc as Pe,Mp as Pf,Sa as Pg,Sr as Ph,De as Pi,ui as Pj,Fe as Pk,dl as Pl,du as Pm,rg as Pn,BI as Po,Dt as Q,Do as Qa,Un as Qb,Rs as Qc,se as Qd,Vc as Qe,Dp as Qf,_a as Qg,_r as Qh,Ue as Qi,gi as Qj,We as Qk,ll as Ql,lu as Qm,ig as Qn,MI as Qo,Ut as R,Uo as Ra,Fn as Rb,Cs as Rc,ce as Rd,zc as Re,Up as Rf,ya as Rg,yr as Rh,Ix as Ri,Ii as Rj,ud as Rk,ul as Rl,uu as Rm,lg as Rn,DI as Ro,Ft as S,Fo as Sa,Wn as Sb,Ns as Sc,pe as Sd,qc as Se,Fp as Sf,Pa as Sg,Pr as Sh,vx as Si,vi as Sj,gd as Sk,gl as Sl,gu as Sm,ug as Sn,UI as So,Wt as T,Wo as Ta,Gn as Tb,ws as Tc,js as Td,Kc as Te,Wp as Tf,ba as Tg,br as Th,hx as Ti,hi as Tj,Id as Tk,Il as Tl,Iu as Tm,Ig as Tn,FI as To,Gt as U,Go as Ua,Hn as Ub,Ls as Uc,Js as Ud,Zc as Ue,Gp as Uf,Ra as Ug,Rr as Uh,mx as Ui,mi as Uj,vd as Uk,vl as Ul,vu as Um,hg as Un,GI as Uo,Ht as V,Ho as Va,Yn as Vb,Os as Vc,ec as Vd,Qc as Ve,Hp as Vf,Ca as Vg,Cr as Vh,Ax as Vi,Ai as Vj,hd as Vk,hl as Vl,hu as Vm,Ag as Vn,s as Vo,Yt as W,Yo as Wa,Vn as Wb,ks as Wc,tc as Wd,Xc as We,Yp as Wf,Na as Wg,Nr as Wh,fx as Wi,fi as Wj,md as Wk,ml as Wl,mu as Wm,Eg as Wn,zI as Wo,Vt as X,Vo as Xa,zn as Xb,Bs as Xc,oc as Xd,h as Xe,Vp as Xf,wa as Xg,wr as Xh,Ex as Xi,Ei as Xj,Ad as Xk,Al as Xl,Au as Xm,Tg as Xn,qI as Xo,zt as Y,zo as Ya,qn as Yb,Ms as Yc,nc as Yd,de as Ye,zp as Yf,La as Yg,Lr as Yh,$x as Yi,$i as Yj,fd as Yk,fl as Yl,fu as Ym,_g as Yn,ZI as Yo,qt as Z,qo as Za,Kn as Zb,Ds as Zc,sc as Zd,jc as Ze,qp as Zf,Oa as Zg,Or as Zh,Tx as Zi,Ti as Zj,Ed as Zk,El as Zl,Eu as Zm,Pg as Zn,Je as Zo,Kt as _,Ko as _a,Zn as _b,Us as _c,cc as _d,Jc as _e,Kp as _f,ka as _g,kr as _h,Sx as _i,Si as _j,$d as _k,$l as _l,$u as _m,Rg as _n,XI as _o,e as a,Qt as aa,Qo as ab,Xn as ac,P as ad,ac as ae,tp as af,Qp as ag,Ma as ah,Mr as ai,yx as aj,yi as ak,Sd as al,Sl as am,Su as an,Lg as ao,jI as ap,t as b,Xt as ba,Xo as bb,jn as bc,b as bd,rc as be,op as bf,Xp as bg,Da as bh,Dr as bi,Px as bj,Pi as bk,_d as bl,_l as bm,_u as bn,kg as bo,e0 as bp,tt as c,jt as ca,jo as cb,Jn as cc,Ws as cd,xc as ce,le as cf,jp as cg,Ua as ch,Ur as ci,bx as cj,bi as ck,yd as cl,yl as cm,yu as cn,Mg as co,n0 as cp,Ye as d,Jt as da,Jo as db,es as dc,R as dd,ic as de,ue as df,Jp as dg,Fa as dh,Fr as di,Rx as dj,Ri as dk,Pd as dl,Pl as dm,Pu as dn,Ug as do,c0 as dp,Ve as e,eo as ea,en as eb,ts as ec,C as ed,dc as ee,ge as ef,ea as eg,Wa as eh,Wr as ei,Cx as ej,Ci as ek,bd as el,bl as em,bu as en,Wg as eo,a0 as ep,f,to as fa,tn as fb,os as fc,Gs as fd,lc as fe,Ie as ff,ta as fg,Ga as fh,Gr as fi,Nx as fj,Ni as fk,Rd as fl,Rl as fm,Ru as fn,Hg as fo,ot as g,oo as ga,on as gb,ns as gc,N as gd,uc as ge,ve as gf,oa as gg,Ha as gh,Hr as gi,wx as gj,wi as gk,Cd as gl,Cl as gm,Cu as gn,Vg as go,nt as h,no as ha,nn as hb,ss as hc,Hs as hd,gc as he,np as hf,na as hg,Ya as hh,Yr as hi,Lx as hj,Li as hk,Nd as hl,Nl as hm,Nu as hn,qg as ho,st as i,so as ia,sn as ib,cs as ic,w as id,Ic as ie,sp as if,sa as ig,Va as ih,Vr as ii,Ox as ij,Oi as ik,wd as il,wl as im,wu as in,Zg as io,ct as j,co as ja,cn as jb,ps as jc,L as jd,vc as je,cp as jf,ca as jg,za as jh,zr as ji,kx as jj,ki as jk,Ld as jl,Ll as jm,Lu as jn,Xg as jo,pt as k,po as ka,pn as kb,as as kc,Ys as kd,hc as ke,pp as kf,he as kg,qa as kh,qr as ki,Bx as kj,Bi as kk,Od as kl,Ol as km,Ou as kn,Jg as ko,at as l,ao as la,an as lb,rs as lc,Vs as ld,mc as le,ap as lf,me as lg,Ka as lh,Kr as li,Mx as lj,Mi as lk,kd as ll,kl as lm,ku as ln,tI as lo,rt as m,ro as ma,rn as mb,xs as mc,O as md,Ac as me,rp as mf,Ae as mg,Za as mh,Zr as mi,Dx as mj,Di as mk,Bd as ml,Bl as mm,Bu as mn,nI as mo,xt as n,xo as na,xn as nb,is as nc,k as nd,fc as ne,xp as nf,fe as ng,Qa as nh,Qr as ni,Ux as nj,Ui as nk,Md as nl,Ml as nm,Mu as nn,cI as no,it as o,io as oa,dn as ob,ds as oc,B as od,Ec as oe,ip as of,pa as og,Xa as oh,Xr as oi,Fx as oj,Fi as ok,Dd as ol,Dl as om,Du as on,pI as oo,dt as p,lo as pa,ln as pb,$ as pc,M as pd,$c as pe,dp as pf,Ee as pg,ja as ph,jr as pi,Wx as pj,Wi as pk,Ud as pl,Ul as pm,Uu as pn,aI as po,lt as q,uo as qa,un as qb,l as qc,D as qd,Tc as qe,lp as qf,m as qg,Ja as qh,Jr as qi,Gx as qj,Gi as qk,Fd as ql,Fl as qm,Fu as qn,rI as qo,ut as r,go as ra,gn as rb,ls as rc,U as rd,Sc as re,up as rf,$e as rg,er as rh,ex as ri,Hx as rj,Hi as rk,Wd as rl,Wl as rm,Wu as rn,iI as ro,gt as s,Io as sa,In as sb,us as sc,F as sd,_c as se,gp as sf,Te as sg,tr as sh,tx as si,Yx as sj,Yi as sk,Gd as sl,Gl as sm,Gu as sn,dI as so,It as t,vo as ta,vn as tb,u as tc,W as td,yc as te,Ip as tf,Se as tg,or as th,ox as ti,Vx as tj,Vi as tk,Hd as tl,Hl as tm,Hu as tn,lI as to,vt as u,ho as ua,hn as ub,gs as uc,G as ud,Pc as ue,vp as uf,aa as ug,nr as uh,nx as ui,zx as uj,zi as uk,Yd as ul,Yl as um,Yu as un,gI as uo,ht as v,mo as va,mn as vb,Is as vc,H as vd,bc as ve,hp as vf,ra as vg,sr as vh,sx as vi,qx as vj,qi as vk,Vd as vl,Vl as vm,Vu as vn,II as vo,mt as w,Ao as wa,An as wb,vs as wc,zs as wd,Rc as we,mp as wf,xa as wg,cr as wh,cx as wi,Kx as wj,Ki as wk,zd as wl,zl as wm,zu as wn,vI as wo,At as x,fo as xa,fn as xb,hs as xc,Y as xd,Cc as xe,Ap as xf,ia as xg,pr as xh,px as xi,Zx as xj,Zi as xk,qd as xl,ql as xm,qu as xn,hI as xo,ft as y,Eo as ya,En as yb,ms as yc,V as yd,Nc as ye,fp as yf,da as yg,ar as yh,ax as yi,Qx as yj,Qi as yk,Kd as yl,Kl as ym,Ku as yn,mI as yo,Et as z,$o as za,$n as zb,As as zc,qs as zd,wc as ze,Ep as zf,la as zg,rr as zh,rx as zi,Xx as zj,Xi as zk,Zd as zl,Zl as zm,Zu as zn,AI as zo};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {b,a,R,Q,V,U as U$1,z,B}from'./chunk-
|
|
1
|
+
import {b,a,R,Q,V,U as U$1,z,B}from'./chunk-KRRCTTGN.js';import {Eb,Db}from'./chunk-FHV4S2B3.js';import {c as c$1}from'./chunk-TIPJC5YT.js';import {memo,forwardRef,useState,useEffect,useMemo,useCallback,Fragment as Fragment$1}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {styled,alpha}from'@mui/material/styles';var c="os-shared-FilterBar";var U={name:"offset",options:{offset:[0,4]}},o={root:`${c}-root`,button:`${c}-button`,labelWrapper:`${c}-labelWrapper`,label:`${c}-label`,icon:`${c}-icon`,badge:`${c}-badge`,chevronSlot:`${c}-chevronSlot`,menu:`${c}-menu`,menuItem:`${c}-menuItem`};var Y=jsx("svg",{width:"27",height:"32",viewBox:"0 0 27 32",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6941 15.0078C15.6494 15.0193 15.6083 15.043 15.5758 15.0769L12.5026 18.1501L12.5025 18.1501L15.5756 15.0769C15.6082 15.043 15.6493 15.0193 15.6941 15.0078ZM12.5619 18.7465C12.5426 18.7512 12.5227 18.7536 12.5026 18.7536C12.4363 18.7536 12.3727 18.7273 12.3258 18.6804L9.07581 15.4304C9.04012 15.3957 9.01559 15.3512 9.00535 15.3025C8.99511 15.2538 8.99963 15.2032 9.01833 15.1571C9.03703 15.111 9.06907 15.0715 9.11033 15.0437C9.13446 15.0275 9.16112 15.0156 9.18904 15.0086C9.16105 15.0156 9.13433 15.0275 9.11013 15.0438C9.06887 15.0716 9.03684 15.111 9.01814 15.1571C8.99944 15.2032 8.99492 15.2539 9.00516 15.3026C9.0154 15.3513 9.03993 15.3958 9.07562 15.4305L12.3256 18.6805C12.3725 18.7273 12.4361 18.7537 12.5024 18.7537C12.5226 18.7537 12.5426 18.7512 12.5619 18.7465ZM16.1965 15.342C16.1781 15.4301 16.1338 15.5105 16.0693 15.5731L12.8205 18.8219C12.7361 18.9063 12.6217 18.9537 12.5024 18.9537C12.3831 18.9537 12.2686 18.9062 12.1842 18.8219L8.93507 15.5728C8.87148 15.5105 8.82775 15.4308 8.80944 15.3437C8.79101 15.2561 8.79914 15.165 8.8328 15.082C8.86646 14.999 8.92412 14.9279 8.99839 14.8779C9.07266 14.8279 9.16022 14.8011 9.24978 14.8011C9.30998 14.8011 9.36958 14.8132 9.42503 14.8366C9.47997 14.8599 9.52973 14.8938 9.57144 14.9364L12.5024 17.8673L15.433 14.9368C15.5151 14.852 15.6273 14.803 15.7454 14.8002C15.836 14.798 15.9252 14.8233 16.0013 14.8728C16.0773 14.9222 16.1367 14.9935 16.1715 15.0772C16.2063 15.1609 16.2151 15.2533 16.1965 15.342Z",fill:"currentColor"})});var _=styled("div")(({theme:e})=>({display:"flex",alignItems:"center",gap:e.v2.spacing(8)})),ee=styled(b,{shouldForwardProp:e=>e!=="$isActive"&&e!=="$hasMenu"})(({theme:e,$isActive:l=false,$hasMenu:r=false})=>{let{base:d,grey:i,foreground:f}=e.v2.palette,s=e.palette.background.gradient.shadedBlue;return {fontSize:e.typography.subtitle1.fontSize,lineHeight:e.typography.subtitle1.lineHeight,fontWeight:e.v2.typography.fontWeightRegular,boxSizing:"border-box",borderRadius:e.v2.radius(50),borderWidth:e.v2.spacing(1),borderStyle:"solid",minWidth:"135.11px",height:e.v2.spacing(32),minHeight:e.v2.spacing(32),display:"flex",justifyContent:"center",alignItems:"center",gap:e.v2.spacing(8),textTransform:"none",transition:"none",WebkitTapHighlightColor:"transparent",padding:0,paddingInline:e.v2.spacing(16),[`& .${a.content}`]:{width:"100%",minWidth:0},...r&&{paddingInlineEnd:e.v2.spacing(27),overflow:"hidden",[`& .${o.labelWrapper}`]:{paddingInlineEnd:e.v2.spacing(8)}},...l?{background:s,color:d.white,"&:hover":{background:s,opacity:.8}}:{backgroundColor:d.white,borderColor:i[100],color:f.primary,"&:hover":{backgroundColor:d.white,opacity:.7}}}}),te=styled("span")(()=>({display:"flex",alignItems:"center",justifyContent:"center",width:"100%"})),ne=styled("span",{shouldForwardProp:e=>e!=="$isActive"})(({theme:e,$isActive:l=false})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",gap:e.v2.spacing(4),fontWeight:l?e.v2.typography.fontWeightBolder:e.v2.typography.fontWeightRegular})),re=styled("span",{shouldForwardProp:e=>e!=="$isActive"})(({theme:e,$isActive:l=false})=>({display:"flex",alignItems:"center",width:e.v2.spacing(14),height:e.v2.spacing(14),"& img":{width:e.v2.spacing(14),height:e.v2.spacing(14),filter:l?"brightness(0) invert(1)":"brightness(0) invert(0)"}})),ae=styled("span",{shouldForwardProp:e=>e!=="$isActive"})(({theme:e,$isActive:l=false})=>{let{base:r,grey:d,foreground:i}=e.v2.palette;return {position:"absolute",top:0,right:0,bottom:0,width:e.v2.spacing(27),boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",...!l&&{boxShadow:`inset 1px 0 0 ${d[100]}`},color:l?r.white:i.secondary,transition:"background-color 0.15s ease","& svg":{display:"block",width:e.v2.spacing(27),height:e.v2.spacing(32),flexShrink:0,pointerEvents:"none"},"&:hover":{backgroundColor:alpha(r.black,.1)}}}),oe=styled(R)({[`& .${Q.panel} .menu-item+.menu-item`]:{borderTop:"none"}}),le=styled(V)(({theme:e})=>({minHeight:"36px",height:"36px",gap:e.v2.spacing(4),WebkitTapHighlightColor:"transparent",[`& .${U$1.indicator} img`]:{maxWidth:"100%",maxHeight:"100%",width:"auto",height:"auto",objectFit:"contain",display:"block"},[`& .${U$1.indicator} svg`]:{display:"block",maxWidth:"100%",maxHeight:"100%"},"&:hover":{boxShadow:"rgba(0, 0, 0, 0.15) 0px 0px 16px 0px"}}));function Ce(e,l){let{isActive:r=false,label:d,startIcon:i,badgeCount:f,onValueChange:s,id:w,className:L,sx:W,disabled:v,disableRipple:t=false}=e,a="items"in e?e.items:void 0,y="items"in e?e.defaultValue:void 0,h="items"in e?e.selectedValue:void 0,C="items"in e?void 0:e.value,[m,u]=useState(null),[$,x]=useState(void 0);useEffect(()=>{r||u(null);},[r]);let B$1=!!a?.length,T=r||h!==void 0,F=!!m,D=h??$,S=useMemo(()=>a?.find(n=>n.value===D),[D,a]),R=useMemo(()=>{if(!a?.length)return;let n=a.find(g=>g.value===y);return S?.value??n?.value??a[0].value},[y,a,S]),V=useMemo(()=>{if(i!=null)return typeof i=="function"?i(r):i;let n=S?.icon;return typeof n=="function"?n(r,true):n},[r,S,i]),de=useMemo(()=>V?jsx(re,{$isActive:r,className:o.icon,children:V}):null,[V,r]),ue=useMemo(()=>f?jsx(z,{color:r?"active":"inactive",className:o.badge,children:c$1(f)}):null,[f,r]),ce=useCallback(n=>{if(!a){s?.(C);return}if(!T){R!==void 0&&s?.(R),u(null);return}u(F?null:n.currentTarget);},[R,T,F,a,s,C]),A=useCallback(n=>{s?.(n),x(n),u(null);},[s]),pe=useCallback(()=>u(null),[]),fe=useCallback(n=>{n.key==="Escape"&&(n.stopPropagation(),u(null),m?.focus());},[m]),me=useCallback((n,g)=>{n.key!=="Enter"&&n.key!==" "||(n.preventDefault(),A(g));},[A]);return a&&!B$1?null:jsxs(Fragment,{children:[jsx(ee,{ref:l,id:w,"data-testid":w??"FilterBarButton",className:Eb(o.button,L),sx:W,variant:r?"primary":"secondary",$isActive:r,$hasMenu:B$1,disabled:v,disableRipple:t,"aria-pressed":r,"aria-haspopup":B$1?"menu":void 0,"aria-expanded":B$1?F:void 0,onClick:ce,children:jsxs(te,{className:o.labelWrapper,children:[jsxs(ne,{$isActive:r,className:o.label,children:[de,S?.label??d,ue]}),B$1&&jsx(ae,{$isActive:r,className:o.chevronSlot,children:Y})]})}),B$1&&jsxs(Fragment,{children:[jsx(B,{open:F,onClick:pe}),jsx(oe,{open:F,anchorEl:m,className:o.menu,placement:"bottom-start",modifiers:[U],panelProps:{role:"menu",onKeyDown:fe,sx:{minWidth:m?.clientWidth??133}},children:a?.map(n=>{let g=n.icon,ge=typeof g=="function"?g(r,false):g;return jsx(le,{role:"menuitem",tabIndex:0,className:o.menuItem,startAdornment:ge??null,onClick:()=>A(n.value),onKeyDown:be=>me(be,n.value),children:n.label??n.value},n.value)})})]})]})}var H=memo(forwardRef(Ce));function Me({value:e,items:l,onValueChange:r,keepInactive:d=false,renderItem:i,itemSx:f,id:s,sx:w,className:L},W){let v=useCallback(t=>r?.(t),[r]);return jsx(_,{ref:W,id:s,"data-testid":s??"FilterBar",className:Eb(o.root,L),sx:w,children:l?.map((t,a)=>{let y="items"in t?e!=null&&t.items.some(x=>x.value===e):t.value===e,h=y&&!d,C="items"in t&&y?e:void 0,m=Db(f??{},t.itemSx),u=i?.({isActive:h,selectedValue:C,onActivate:()=>v("items"in t?t.items.find(x=>x.value===t.defaultValue)?.value??t.items[0]?.value:t.value),onDeactivate:()=>v(void 0),onSelect:v},t,a);if(u!=null)return jsx(Fragment$1,{children:u},`filter-bar-custom-${a}`);let $={isActive:h,label:t.label,startIcon:t.startIcon,badgeCount:t.badgeCount,disabled:t.disabled,disableRipple:t.disableRipple,sx:m,onValueChange:v};return "items"in t?jsx(H,{items:t.items,defaultValue:t.defaultValue,selectedValue:C,...$},`filter-bar-nested-${t.items[0]?.value??a}`):jsx(H,{value:t.value,...$},`filter-bar-single-${t.value}`)})})}var we=memo(forwardRef(Me));
|
|
2
2
|
export{o as a,we as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {b,a}from'./chunk-
|
|
1
|
+
import {b,a}from'./chunk-EVKDUD7R.js';import {y,x,B as B$1,aa as aa$1}from'./chunk-KPSBWLN2.js';import {aa,ba}from'./chunk-KRRCTTGN.js';import {Ub,Eb,Db}from'./chunk-FHV4S2B3.js';import {Sc,A}from'./chunk-TF7BQNJV.js';import {memo,useCallback,useMemo}from'react';import No,{autocompleteClasses}from'@mui/material/Autocomplete';import W from'@mui/material/Box';import ko from'@mui/material/Popper';import wo from'@mui/material/TextField';import {keyframes,styled,alpha}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var m="os-shared-Autocomplete",u={root:`${m}-root`,input:`${m}-input`,popper:`${m}-popper`,option:`${m}-option`,clear:`${m}-clear`,popupIndicator:`${m}-popupIndicator`,feedback:`${m}-feedback`},k={bottom:"bottom",top:"top"},ye=k.bottom,V=false,Pe="No results found",Se="Loading\u2026",B="",Ce=8,z=4,w=24,Me=4,Ae=4,So=8,Co={disableRipple:true},Mo={elevation:0},Ao={name:"offset",options:{offset:[0,So]}};function Io(e){return {name:"flip",enabled:e!==k.top,options:{fallbackPlacements:["top-start"]}}}function Oo(e){return e===k.top?"top-start":"bottom-start"}function Ie(e){let{menuDirection:o,slotProps:n,popperClassName:r}=e;return {...n,clearIndicator:{...Co,...n?.clearIndicator},paper:{...Mo,...n?.paper},popper:{...n?.popper,placement:n?.popper?.placement??Oo(o),modifiers:[Ao,Io(o),...n?.popper?.modifiers??[]],className:r}}}var ke=e=>({[`& .${autocompleteClasses.clearIndicator}`]:{visibility:"visible",padding:0,width:12,height:12,margin:0,backgroundColor:"transparent",color:e.v2.palette.base.black,"&:hover":{backgroundColor:"transparent",color:e.v2.palette.base.black},"& svg":{width:8,height:8,fontSize:8,display:"block"}}}),To=keyframes`
|
|
2
2
|
0% {
|
|
3
3
|
transform: rotate(-90deg);
|
|
4
4
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {P as P$1,O}from'./chunk-
|
|
1
|
+
import {P as P$1,O}from'./chunk-KRRCTTGN.js';import {Eb}from'./chunk-FHV4S2B3.js';import {forwardRef,useMemo,useState,memo}from'react';import {styled,alpha,useTheme}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var a="os-shared-Sidebar",e={root:`${a}-root`,header:`${a}-header`,content:`${a}-content`,footer:`${a}-footer`,link:`${a}-link`,group:`${a}-group`,groupSummary:`${a}-groupSummary`,groupSummaryActive:`${a}-groupSummaryActive`,groupSummaryExpanded:`${a}-groupSummaryExpanded`,groupHeader:`${a}-groupHeader`,groupContent:`${a}-groupContent`,groupItem:`${a}-groupItem`,startAdornment:`${a}-startAdornment`,endAdornment:`${a}-endAdornment`};var G=r=>{let{palette:n}=useTheme();return jsx("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:jsx("path",{d:"M9.97437 5.23633C10.0426 5.23465 10.1087 5.25507 10.1648 5.29395C10.2207 5.33278 10.264 5.3876 10.2888 5.45117C10.3136 5.51487 10.3195 5.5852 10.3064 5.65234C10.2934 5.71873 10.2614 5.77954 10.2146 5.82813L7.23608 9.01172C7.17462 9.07723 7.08968 9.11518 6.99976 9.11523C6.90985 9.11523 6.82492 9.07717 6.76343 9.01172L3.78394 5.8291L3.78491 5.82812C3.73877 5.77985 3.70612 5.71999 3.69312 5.6543C3.68007 5.58802 3.68575 5.51818 3.70972 5.45508C3.7337 5.39201 3.77618 5.33717 3.83081 5.29785C3.88553 5.25857 3.95095 5.23732 4.01831 5.2373C4.0635 5.23736 4.10797 5.24702 4.14917 5.26562C4.18997 5.28407 4.2263 5.31071 4.25659 5.34375L6.99878 8.27246L9.74194 5.34375C9.80179 5.27779 9.88521 5.23858 9.97437 5.23633Z",fill:n.text.textSecondary,stroke:n.text.textSecondary,strokeWidth:"0.204167"})})};var E="linear-gradient(270deg, #147DC5 0.67%, #3DA6E1 98.91%)",H=styled("div")(({theme:r})=>{let{base:n}=r.v2.palette;return {backgroundColor:alpha(n.white,.7),backdropFilter:r.v2.blur[16],width:"100%",position:"sticky",padding:`${r.v2.spacing(8)} ${r.v2.spacing(8)}`,height:"100%",overflow:"hidden",display:"flex",flexDirection:"column",gap:r.v2.spacing(8)}}),L=styled("div")({flexShrink:0}),R=styled("div")(({theme:r})=>({display:"flex",flexDirection:"column",gap:r.v2.spacing(4),flex:1,minHeight:0,overflow:"auto"})),P=styled("div")({flexShrink:0}),C={border:"none",width:"100%",textAlign:"left",font:"inherit",cursor:"pointer"},f=styled("span")({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),x=styled("span")({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:"auto"}),F=styled("button",{shouldForwardProp:r=>r!=="$isActive"})(({theme:r,$isActive:n=false})=>{let{base:o,foreground:d}=r.v2.palette;return {...C,flexShrink:0,...r.v2.typography.textVariants.body.small.regular,background:n?E:"transparent",borderRadius:r.v2.radius(4),padding:`${r.v2.spacing(4)} ${r.v2.spacing(8)}`,color:n?o.white:d.primary,display:"flex",alignItems:"center",justifyContent:"flex-start",gap:r.v2.spacing(4)}}),V=styled(P$1)(({theme:r})=>({flexShrink:0,"&&":{background:"transparent",boxShadow:"none"},border:"none !important",borderRadius:"4px !important",[`& .${O.summary}`]:{padding:0,paddingRight:8,minHeight:"24px",height:"24px","&.Mui-expanded":{minHeight:"24px",height:"24px"},borderRadius:"4px !important",background:"transparent",transition:"none"},[`& .${O.summary}.${e.groupSummaryActive}`]:{backgroundColor:r.v2.palette.base.white},[`& .${O.summary}.${e.groupSummaryExpanded}`]:{backgroundColor:r.v2.palette.base.white},[`& .${O.content}`]:{borderTop:"none",padding:0},[`& .${O.labelContent}`]:{flexGrow:1,minWidth:0}})),D=styled("span",{shouldForwardProp:r=>r!=="$isActive"})(({theme:r,$isActive:n=false})=>{let{base:o,foreground:d}=r.v2.palette;return {...C,...r.v2.typography.textVariants.body.small.regular,background:n?o.white:"transparent",borderRadius:r.v2.radius(4),padding:`${r.v2.spacing(4)} ${r.v2.spacing(8)}`,color:d.primary,display:"flex",alignItems:"center",justifyContent:"flex-start",gap:r.v2.spacing(4),width:"100%",cursor:"pointer"}}),j=styled("div")(({theme:r})=>({display:"flex",flexDirection:"column",gap:r.v2.spacing(4),paddingTop:r.v2.spacing(4)})),M=styled("button",{shouldForwardProp:r=>r!=="$isActive"})(({theme:r,$isActive:n=false})=>{let{base:o,foreground:d}=r.v2.palette;return {...C,flexShrink:0,...r.v2.typography.textVariants.body.small.regular,background:n?E:"transparent",borderRadius:r.v2.radius(4),padding:`${r.v2.spacing(4)} ${r.v2.spacing(8)}`,color:n?o.white:d.primary,display:"flex",alignItems:"center",justifyContent:"flex-start",gap:r.v2.spacing(4)}});var $=r=>!!r.sections?.length;function T(r,n){let o=n??r?.[0]?.sections?.[0]?.id??r?.[0]?.id,d=r?.find(c=>c.id===o),u=!d||!$(d),l=u?r?.find(c=>c.sections?.some(y=>y.id===o)):d,g=l?.id??d?.id??o,b=l?u?o:l.sections?.[0]?.id:void 0;return {activeId:o,activeGroupId:g,activeLeafId:b}}var B=forwardRef(({sections:r,activeSectionId:n,onSelect:o,defaultExpandedIds:d,header:u,footer:l,id:g,className:b,sx:c},y)=>{let{activeId:h,activeGroupId:A,activeLeafId:k}=useMemo(()=>T(r,n),[r,n]),[O,W]=useState(()=>Object.fromEntries((d??[]).map(t=>[t,true])));return jsxs(H,{ref:y,id:g,"data-testid":g??"Sidebar",className:Eb(e.root,b),sx:c,children:[u?jsx(L,{className:e.header,children:u}):null,jsx(R,{className:e.content,children:r?.map(t=>{if(!$(t))return jsxs(F,{type:"button",$isActive:h===t.id,"aria-current":h===t.id?"true":void 0,onClick:()=>o?.(t,void 0,[t]),className:e.link,children:[t.startAdornment?jsx(f,{className:e.startAdornment,children:t.startAdornment}):null,t.title,t.endAdornment?jsx(x,{className:e.endAdornment,children:t.endAdornment}):null]},t.id);let I=O[t.id]??t.id===A;return jsx(V,{className:e.group,expanded:I,onChange:i=>W(Z=>({...Z,[t.id]:i})),expandIcon:jsx(G,{}),slotProps:{root:{component:"section"},summary:{className:Eb(e.groupSummary,A===t.id&&e.groupSummaryActive,I&&e.groupSummaryExpanded)}},label:jsxs(D,{$isActive:A===t.id,className:e.groupHeader,children:[t.startAdornment?jsx(f,{className:e.startAdornment,children:t.startAdornment}):null,t.title,t.endAdornment?jsx(x,{className:e.endAdornment,children:t.endAdornment}):null]}),content:jsx(j,{className:e.groupContent,children:t.sections?.map(i=>jsxs(M,{type:"button",$isActive:k===i.id,"aria-current":k===i.id?"true":void 0,onClick:()=>o?.(i,t,[t,i]),className:e.groupItem,children:[i.startAdornment?jsx(f,{className:e.startAdornment,children:i.startAdornment}):null,i.title,i.endAdornment?jsx(x,{className:e.endAdornment,children:i.endAdornment}):null]},`${t.id}-${i.id}`))})},t.id)})}),l?jsx(P,{className:e.footer,children:l}):null]})});B.displayName="Sidebar";var X=memo(B);
|
|
2
2
|
export{e as a,X as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {j,r as r$1}from'./chunk-
|
|
1
|
+
import {j,r as r$1}from'./chunk-KRRCTTGN.js';import {Eb,wa}from'./chunk-FHV4S2B3.js';import {forwardRef,useId,memo}from'react';import {motion}from'framer-motion';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var i="os-shared-ProgressRing",r={root:`${i}-root`,svg:`${i}-svg`,track:`${i}-track`,indicator:`${i}-indicator`,content:`${i}-content`,value:`${i}-value`,label:`${i}-label`,skeleton:`${i}-skeleton`},x=172,h=22,G="----",I=17,O=1,T=.5,v=[{offset:"0.67%",color:"#3DA6E1"},{offset:"98.91%",color:"#147DC5"}],a={gap:6,value:{width:51,height:16},label:{width:84,height:8}};var b=styled("div",{shouldForwardProp:e=>e!=="$size"})(({theme:e,$size:o})=>({position:"relative",display:"flex",flexDirection:"column",alignItems:"center",width:e.v2.spacing(o),height:e.v2.spacing(o)})),$=styled("svg")({position:"absolute",top:0,left:0}),D=styled("circle")(({theme:e})=>({stroke:e.v2.palette.grey[100],fill:"transparent"})),k=styled("div")({position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",textAlign:"center"}),L=styled(j,{shouldForwardProp:e=>e!=="$isEmpty"})(({theme:e,$isEmpty:o})=>{let{grey:n,foreground:t}=e.v2.palette;return {fontSize:e.v2.spacing(I),fontWeight:e.v2.typography.textVariants.body.default.bold.fontWeight,lineHeight:"normal",color:o?t.disabled:n[900]}}),A=styled(j,{shouldForwardProp:e=>e!=="$isEmpty"})(({theme:e,$isEmpty:o})=>{let{grey:n,foreground:t}=e.v2.palette;return {...e.v2.typography.textVariants.body.small.medium,lineHeight:"normal",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",color:o?t.disabled:n[500]}}),w=styled("span")(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"center",gap:e.v2.spacing(a.gap)}));function U(){return jsxs(w,{className:r.skeleton,children:[jsx(r$1,{width:a.value.width,height:a.value.height}),jsx(r$1,{width:a.label.width,height:a.label.height})]})}var C=e=>e==null||e==="",V=e=>Math.min(Math.max(wa(e||"0")??0,0),100),M=e=>`${Number.isInteger(e)?e:e.toFixed(1)}%`,H=(e,o)=>{let n=e/2,t=(e-o)/2;return {center:n,radius:t,circumference:2*Math.PI*t}},K=e=>`progress-ring-gradient-${e.replace(/[^a-zA-Z0-9_-]/g,"")}`;var W=forwardRef(({id:e,value:o,label:n,size:t=x,strokeWidth:R=h,isLoading:c=false,className:X,sx:Y},B)=>{let P=K(useId()),d=C(o),_=V(o),{center:g,radius:y,circumference:p}=H(t,R),q=c?p:p-p*_/100;return jsxs(b,{ref:B,id:e,"data-testid":e??"ProgressRing",$size:t,className:Eb(r.root,X),sx:Y,children:[jsxs($,{className:r.svg,width:t,height:t,viewBox:`0 0 ${t} ${t}`,"aria-hidden":true,children:[jsx("defs",{children:jsx("linearGradient",{id:P,x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:v.map(({offset:E,color:J})=>jsx("stop",{offset:E,stopColor:J},E))})}),jsx(D,{className:r.track,cx:g,cy:g,r:y,strokeWidth:R}),jsx(motion.circle,{className:r.indicator,cx:g,cy:g,r:y,stroke:`url(#${P})`,strokeWidth:R,fill:"transparent",strokeLinecap:"round",strokeDasharray:p,strokeDashoffset:p,transform:`rotate(-90 ${g} ${g})`,animate:{strokeDashoffset:q},transition:{duration:O,ease:"easeOut"}})]}),jsxs(k,{className:r.content,children:[jsx(L,{component:"p",className:r.value,$isEmpty:d,children:c?jsx(U,{}):d?G:jsx(motion.span,{initial:{opacity:0},animate:{opacity:1},transition:{ease:"easeOut",duration:T},children:M(_)})}),!c&&n?jsx(A,{component:"p",className:r.label,$isEmpty:d,children:n}):null]})]})});W.displayName="ProgressRing";var te=memo(W);export{r as a,te as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Eb}from'./chunk-
|
|
1
|
+
import {Eb}from'./chunk-FHV4S2B3.js';import {Th}from'./chunk-TF7BQNJV.js';import {forwardRef,memo}from'react';import h from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var o="os-shared-EmptyState",t={root:`${o}-root`,icon:`${o}-icon`,title:`${o}-title`,description:`${o}-description`},l="Empty state",n="No data found",y="There is nothing to show here yet.";var c=styled(h)(()=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"0.5rem"})),S=styled("img")(()=>({width:"2rem",height:"2rem"})),d=styled("h1")(({theme:e})=>({fontWeight:600,fontSize:"1rem",color:e.palette.text?.primary,padding:0,margin:0,textAlign:"center"})),f=styled("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,padding:0,margin:0,opacity:.5,textAlign:"center"}));var T=jsx(S,{src:Th,alt:l,className:t.icon}),x=forwardRef(({className:e,sx:E,icon:g=T,title:m=n,description:r=y,children:N,...u},D)=>jsxs(c,{ref:D,className:Eb(t.root,e),sx:E,"data-testid":"EmptyState",...u,children:[g,m?jsx(d,{className:t.title,children:m}):null,r?jsx(f,{className:t.description,children:r}):null,N]}));x.displayName="EmptyState";var A=memo(x);export{t as a,A as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {b}from'./chunk-
|
|
1
|
+
import {b}from'./chunk-IA5ABHBS.js';import {L,aa,B}from'./chunk-KRRCTTGN.js';import {Ub}from'./chunk-FHV4S2B3.js';import {Eb,A}from'./chunk-TF7BQNJV.js';import ne,{memo,useState,useEffect}from'react';import P from'@mui/material/Box';import te from'@mui/material/InputAdornment';import oe from'@mui/material/Skeleton';import {styled,Popper,Box,ClickAwayListener}from'@mui/material';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {styled as styled$1}from'@mui/material/styles';var N=styled("button")(({theme:e,disabled:o})=>({display:"flex",gap:"4px",alignItems:"center",".logo":{width:"15.568px",height:"12px",borderRadius:"3px"},".arrow":{width:14,alignSelf:""},span:{color:e.palette.text.primary,fontWeight:500,fontSize:"11px",borderRadius:"2px"},cursor:o?"default":"pointer",opacity:o?.5:1,paddingTop:0,backgroundColor:"transparent",border:"none",paddingInlineStart:0,minWidth:70,marginTop:1})),_=styled(Popper)(({theme:e})=>({zIndex:9999,backgroundColor:e.palette.common.white,padding:"4px 8px",borderRadius:"4px",border:`1px solid ${e.palette.divider}`,width:100})),H=styled("ul")(()=>({listStyle:"none",padding:0,margin:0,maxHeight:100,overflow:"auto"})),q=styled("li")(({theme:e})=>({display:"flex",gap:"4px",alignItems:"center",".logo":{width:"15.568px",height:"10.889px",borderRadius:"3px"},".arrow":{width:14},span:{color:e.palette.text.primary,fontWeight:500,fontSize:"11px"},height:24,cursor:"pointer"})),z=styled(L)(()=>({flexGrow:1,maxWidth:"100%",height:24,padding:"4px",marginBottom:"4px"})),D=styled(Box)(()=>({color:"red !important"}));function G({isLoading:e,countries:o,value:n,onCountryChange:l,required:b,disabled:f}){let[a,C]=useState(),[u,g]=useState(null),[y,i]=useState([]),[I,S]=useState(""),s=!!u&&!f,w=t=>{t.stopPropagation(),g(t.currentTarget);},m=()=>{g(null);},L=t=>{l?.(t),C(t),m(),i(o);},k=t=>{let p=t.target.value.toString()??"";if(S(p),!p){i(o);return}let Y=o.filter(F=>F.idd_prefix.toString().startsWith(p)||F.iso2.toLowerCase().startsWith(p.toLowerCase()));i(Y);};return useEffect(()=>{n&&C(n);},[n?.countryId]),useEffect(()=>{o.length&&i(o);},[o.length]),jsxs(P,{"data-testid":"CountriesList",sx:{position:"relative"},children:[jsx(N,{type:"button","aria-describedby":"CountriesList_CountriesWrapper",onClick:w,disabled:e||f,children:e?jsx(oe,{variant:"rectangular",width:56.5,height:15,sx:{borderRadius:"4px"}}):jsxs(Fragment,{children:[a&&jsxs(Fragment,{children:[jsx("img",{src:a.logo,alt:"c",className:"logo"}),jsx(P,{component:"span",flex:1,children:`+${a?.idd_prefix}`})]}),b&&jsx(D,{component:"span",children:"*"}),jsx(P,{component:"img",src:Eb,alt:"d",className:"arrow",sx:{...s&&{transform:"rotate(180deg)"}}})]})}),s&&jsx(B,{onClick:m,sx:{zIndex:9999}}),s&&jsx(ClickAwayListener,{onClickAway:m,children:jsxs(_,{id:"CountriesList_CountriesWrapper",open:s,anchorEl:u,"data-testid":"CountriesList_CountriesWrapper",placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[-8,6]}}],children:[jsx(z,{type:"number",endAdornment:jsx(te,{position:"end",children:jsx("img",{src:A,alt:"arrow"})}),onChange:k,hideArrows:true,disableFocusRing:true,"data-testid":"CountriesList_InputStyled",value:I}),jsx(H,{"data-testid":"CountriesList_CountriesListStyled",children:y.map(t=>{let p=a?.countryId===t.countryId;return jsxs(q,{onClick:()=>{L(t);},sx:{backgroundColor:p?"#F9F9F9":"transparent",color:p?"#000":"#8D8D94"},children:[jsx("img",{src:t.logo,alt:"c",className:"logo"}),jsx("span",{children:`+${t.idd_prefix}`})]},`country-code-${t.countryId}`)})})]})})]})}G.displayName="CountriesList";var V=memo(G);var v=V;styled$1(P,{shouldForwardProp:e=>!["feedbackType","hasFeedback"].includes(e)})(({theme:e,feedbackType:o,hasFeedback:n})=>{let{borderColor:l}=aa(e,o);return {border:`1px solid ${o?l:e.palette.divider}`,display:"flex",position:"relative",alignItems:"center",borderRadius:n?"4px 4px 0 0":"4px",borderBottom:n?"none":void 0}});var K=styled$1(b)({flexGrow:1,maxWidth:"100%",paddingInlineEnd:0,img:{cursor:"pointer"}});styled$1("small")(({theme:e})=>({color:e.palette.error.main,fontSize:"10px",lineHeight:"10px",marginTop:"4px",display:"block"}));styled$1(P)(()=>({flex:1}));function U({phoneValue:e,error:o,hasError:n,countries:l,isCountriesLoading:b,countryValue:f,onCountryChange:a,onPhoneChange:C,helperText:u,required:g,disabled:y,feedback:i,id:I="PhoneInput",...S},s){let w=t=>{a?.(t);},m=i?.message??u,{isProvided:L}=Ub(i,{message:m});return jsx(K,{id:I,type:"number",value:e,"data-testid":"PhoneInput",ref:s,inputProps:{autoComplete:"off"},error:(o??n??false)&&!L,disabled:y,feedback:i,helperText:u,startAdornment:jsx(v,{isLoading:b,countries:l,value:f,onCountryChange:w,required:g,disabled:y}),...S,onChange:C,hideArrows:true})}U.displayName="PhoneInput";var X=ne.forwardRef(U);export{v as a,X as b};
|