@tap-payments/os-micro-frontend-shared 0.3.131 → 0.3.133-test.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/build/_chunks/{chunk-V45YDAZF.js → chunk-2WCGLBE7.js} +1 -1
  2. package/build/_chunks/{chunk-ELY5NPD2.js → chunk-2YZYH6UN.js} +1 -1
  3. package/build/_chunks/{chunk-JGRS4AS6.js → chunk-3G2C5Y2A.js} +1 -1
  4. package/build/_chunks/chunk-5EIKKUGO.js +2 -0
  5. package/build/_chunks/chunk-5KB7IA3L.js +2 -0
  6. package/build/_chunks/{chunk-BX3XFO6N.js → chunk-5ROHV2I6.js} +1 -1
  7. package/build/_chunks/{chunk-VTGUFAS2.js → chunk-7TR2MF6I.js} +1 -1
  8. package/build/_chunks/{chunk-MUVAYAPY.js → chunk-A4KPAUDX.js} +1 -1
  9. package/build/_chunks/chunk-BCQF72HJ.js +1 -0
  10. package/build/_chunks/{chunk-OTXLJWUI.js → chunk-DGFMQZHI.js} +1 -1
  11. package/build/_chunks/{chunk-E72L4ZPZ.js → chunk-DPZXXWOS.js} +1 -1
  12. package/build/_chunks/{chunk-6HWZEP6B.js → chunk-ILUYYGQX.js} +1 -1
  13. package/build/_chunks/chunk-JW4M53EU.js +2 -0
  14. package/build/_chunks/{chunk-6YBUPJMW.js → chunk-K4ASYA5P.js} +1 -1
  15. package/build/_chunks/chunk-MKGIB6QH.js +1 -0
  16. package/build/_chunks/{chunk-BYI3MI3T.js → chunk-PECDGRZK.js} +1 -1
  17. package/build/_chunks/{chunk-4ZHKYAPE.js → chunk-PVC773LG.js} +1 -1
  18. package/build/_chunks/{chunk-65H4APSM.js → chunk-SKY4LBEF.js} +1 -1
  19. package/build/_chunks/chunk-WON7ZGHE.js +1 -0
  20. package/build/_chunks/chunk-XEA2GLQG.js +1 -0
  21. package/build/_chunks/{chunk-75TQTDVK.js → chunk-XNZQO2NQ.js} +1 -1
  22. package/build/_chunks/chunk-ZONDSLTR.js +1 -0
  23. package/build/components/ActiveFilterChip/index.js +1 -1
  24. package/build/components/Amount/index.js +1 -1
  25. package/build/components/AmountConversionFilter/index.js +1 -1
  26. package/build/components/AmountInput/index.js +1 -1
  27. package/build/components/AmountSlider/index.js +1 -1
  28. package/build/components/AppServices/index.js +1 -1
  29. package/build/components/AppServicesBar/index.js +1 -1
  30. package/build/components/AppWindowWrapper/index.js +1 -1
  31. package/build/components/BrandLogo/index.js +1 -1
  32. package/build/components/Chip/index.js +1 -1
  33. package/build/components/ColumnViews/index.js +1 -1
  34. package/build/components/CopyImage/index.js +1 -1
  35. package/build/components/CountryFilter/index.js +1 -1
  36. package/build/components/CurrencyFilter/index.js +1 -1
  37. package/build/components/Customer/index.js +1 -1
  38. package/build/components/DateFilter/index.js +1 -1
  39. package/build/components/Dialog/index.js +1 -1
  40. package/build/components/Discount/index.js +1 -1
  41. package/build/components/Dropdown2/index.js +1 -1
  42. package/build/components/ExpandableSideBar/index.js +1 -1
  43. package/build/components/FileInputPreview/index.js +1 -1
  44. package/build/components/FileUpload/index.js +1 -1
  45. package/build/components/FilterDropdown/index.js +1 -1
  46. package/build/components/Filters/index.js +1 -1
  47. package/build/components/HeatMap/index.js +1 -1
  48. package/build/components/ImageWrapper/ImageWrapper.d.ts +264 -0
  49. package/build/components/ImageWrapper/index.d.ts +1 -0
  50. package/build/components/ImageWrapper/index.js +1 -1
  51. package/build/components/JSONViewer/index.js +1 -1
  52. package/build/components/LanguageDropdown/index.js +1 -1
  53. package/build/components/ListColumnFilter/index.js +1 -1
  54. package/build/components/ListHeader/index.js +1 -1
  55. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  56. package/build/components/MerchantLogo/index.js +1 -1
  57. package/build/components/MerchantsDropdown/hooks.d.ts +0 -4
  58. package/build/components/MerchantsDropdown/index.js +1 -1
  59. package/build/components/MerchantsDropdown/utils.d.ts +9 -0
  60. package/build/components/MultiSelectDropdownButton/index.js +1 -1
  61. package/build/components/PartnersFilter/index.js +1 -1
  62. package/build/components/PaymentSourceFilter/index.js +1 -1
  63. package/build/components/PhoneFilter/index.js +1 -1
  64. package/build/components/RFH/index.js +1 -1
  65. package/build/components/RangeCalender/index.js +1 -1
  66. package/build/components/RatingCount/RatingCount.d.ts +5 -0
  67. package/build/components/RatingCount/index.d.ts +1 -0
  68. package/build/components/RatingCount/index.js +1 -0
  69. package/build/components/RatingCount/style.d.ts +18 -0
  70. package/build/components/ReceiptsViewer/index.js +1 -1
  71. package/build/components/ReferenceTypeFilter/index.js +1 -1
  72. package/build/components/SalesChannelFilter/index.js +1 -1
  73. package/build/components/SearchButton/index.js +1 -1
  74. package/build/components/SelectWithSearch/index.js +1 -1
  75. package/build/components/StatusBar/index.js +1 -1
  76. package/build/components/StatusButton/index.js +1 -1
  77. package/build/components/StatusFilter/index.js +1 -1
  78. package/build/components/StatusIcons/index.js +1 -1
  79. package/build/components/StatusLabel/index.js +1 -1
  80. package/build/components/TableCells/CustomCells/ActionCell/constant.d.ts +2 -2
  81. package/build/components/TableCells/CustomCells/AgreementCell/style.d.ts +18 -0
  82. package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +18 -0
  83. package/build/components/TableCells/index.js +1 -1
  84. package/build/components/TableReports/index.js +1 -1
  85. package/build/components/TooltipChip/index.js +1 -1
  86. package/build/components/TreeDropdown/index.js +1 -1
  87. package/build/components/VAT/index.js +1 -1
  88. package/build/components/VerificationIcon/index.js +1 -1
  89. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  90. package/build/components/VirtualTables/index.js +1 -1
  91. package/build/components/WindowSideBar/index.js +1 -1
  92. package/build/components/index.d.ts +1 -1
  93. package/build/components/index.js +1 -1
  94. package/build/components/primitives/index.js +1 -2
  95. package/build/index.js +1 -1
  96. package/package.json +4 -4
  97. package/build/_chunks/chunk-CK3F4XDO.js +0 -2
  98. package/build/_chunks/chunk-FEBPVWE2.js +0 -2
  99. package/build/_chunks/chunk-GLV2554I.js +0 -1
  100. package/build/_chunks/chunk-L3FO2HGB.js +0 -1
  101. package/build/_chunks/chunk-LSQN3X62.js +0 -1
  102. package/build/_chunks/chunk-WDNFLXMG.js +0 -1
  103. package/build/_chunks/chunk-WN5DXLHY.js +0 -1
  104. package/build/components/CountBadge/CountBadge.d.ts +0 -6
  105. package/build/components/CountBadge/CountBadgeAnimated.d.ts +0 -5
  106. package/build/components/CountBadge/index.d.ts +0 -5
  107. package/build/components/CountBadge/index.js +0 -1
  108. package/build/components/CountBadge/style.d.ts +0 -284
  109. package/build/components/CountBadge/type.d.ts +0 -21
@@ -1,2 +0,0 @@
1
- import {h,g,a,f,e as e$1,d,c}from'./chunk-CVNAIZE7.js';import {e}from'./chunk-L3FO2HGB.js';import {yc,Ka,g as g$1}from'./chunk-PBMQM3P4.js';import {tl,ja,Ta,Jg,dl,Ya,Sa,Sg,Rg,Tg,Qg,Vg,zb,yb,vk,dk,gb,qk,B,w,A,D,Oh,ck,u,wk}from'./chunk-7567D5HA.js';import {memo,useId,useState,useRef,useEffect,useMemo,useCallback}from'react';import {useTranslation}from'react-i18next';import {useTheme}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function L({isActive:p,disableHover:o}){let[s,C]=useState(false),c=useTheme(),e=()=>{o||C(true);},i=()=>{C(false);},I=p?c.palette.common.white:c.palette.grey[700],u=s?c.palette.common.black:"transparent";return jsx("svg",{width:"27",height:"30",viewBox:"0 0 27 32",xmlns:"http://www.w3.org/2000/svg",children:jsxs("g",{id:"Group 140343",children:[jsx("path",{id:"Active",d:"M0 0H11C19.8366 0 27 7.16344 27 16C27 24.8366 19.8366 32 11 32H0V0Z",fill:u,fillOpacity:"0.1",onMouseEnter:e,onMouseLeave:i}),jsx("path",{id:"Union",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:I})]})})}var vt={inProgress:wk,initiated:wk,abandoned:u,cancelled:ck,reversed:Oh,reports:D,search:A,chevronDown:w,unAuthorized:B,unSettled:qk,unCaptured:gb,captured:dk,authorized:vk,openFlag:yb,closedFlag:zb,unauthenticated:Vg,authenticated:Qg,paidOut:Tg,scheduled:Rg,checked:Sg,dashedChecked:Sa,deactivated:Ya,destination:dl,destinationReversed:Jg,outstanding:Ta,active:ja,inactive:tl};var Nt=memo(p=>{let{variant:o="inActive",badgeCount:s,icon:C,label:c$1,dropdownOptions:e$2,selectedStatus:i,onButtonBodyClick:I,iconMapper:u=vt,buttonSx:Bt,...bt}=p,St=yc(useId(),"status-button"),[Lt,M]=useState(0),{t:E}=useTranslation(),y=useRef(null),[T,f$1]=useState(null),[n,A]=useState(i??e$2?.[0]?.status);useEffect(()=>{i!==void 0&&A(i);},[i]);let d$1=useMemo(()=>!!e$2?.length,[e$2]),h$1=!!T&&Lt>1,l=o==="active",x=useMemo(()=>l?"active":"inActive",[l]),m=useMemo(()=>n?e$2?.find(t=>t.status===n):null,[n,e$2]),kt=useMemo(()=>{if(m?.icon)return jsx(h,{variant:o,children:m.icon});let t=n&&u[n]?n:C;if(t&&u[t])return jsx(g,{icon:t,variant:o,src:u[t],alt:`${t}-icon`})},[m,n,u,C,o]),wt=useMemo(()=>!s||Number.isNaN(Ka(s))?null:jsx(e,{variant:x,children:g$1(Number(s))}),[s,x]),H=useMemo(()=>d$1?jsx(L,{isActive:l}):null,[d$1,l]);useEffect(()=>{l||(M(0),f$1(null));},[l]);let g$2=useCallback(()=>{f$1(null);},[]),P=useCallback(()=>{d$1&&f$1(h$1?null:y.current);},[d$1,h$1]),Mt=useCallback(t=>{t.stopPropagation(),p?.onClick?.(t),I?.(n||e$2?.[0]?.status||"all"),P(),M(B=>B+1);},[p,I,n,e$2,P]),D=useCallback(t=>B=>{t?.onClick?.(B),A(t.status),g$2();},[g$2]),Et=useMemo(()=>e$2?.map(t=>({...t,onClick:D(t)}))||[],[e$2,D]),yt=a[o],Tt=useMemo(()=>m?.label||(n?E(n):c$1),[m,n,E,c$1]);return jsxs(Fragment,{children:[jsx(yt,{id:St,"data-testid":"StatusButton",...bt,ref:y,onClick:Mt,statusVariant:o,sx:{...d$1&&{paddingInlineEnd:"27px"},...Bt},children:jsxs(f,{children:[jsxs(e$1,{variant:o,children:[kt,Tt,wt]}),H&&jsx(d,{children:H})]})}),h$1&&d$1&&jsx(c,{open:h$1,onClose:g$2,anchorEl:T,menuItems:Et})]})}),gt=Nt;var en=gt;
2
- export{L as a,en as b};
@@ -1 +0,0 @@
1
- import {e as e$2}from'./chunk-SBEGPTRU.js';import {a as a$1}from'./chunk-NWZ5GMZE.js';import {a as a$2}from'./chunk-4K5SHVMO.js';import {a,f,e as e$1}from'./chunk-CVNAIZE7.js';import {e}from'./chunk-L3FO2HGB.js';import {Ka,g,yc}from'./chunk-PBMQM3P4.js';import {Cb}from'./chunk-7567D5HA.js';import {memo,useRef,useMemo,useCallback,useId,useState}from'react';import {styled,Typography,Box,Popper}from'@mui/material';import {useTranslation}from'react-i18next';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var O=styled(Typography)(()=>({display:"block",textAlign:"center",fontSize:"10px",fontWeight:500,color:"#8D8D94",padding:"24px 0"})),A=styled(Box,{shouldForwardProp:t=>t!=="isDisabled"})(({isDisabled:t})=>({display:"flex",justifyContent:"space-between",alignItems:"center",gap:"4px",...t&&{"& img":{opacity:.3}}}));var tt=memo(t=>{let{variant:e$2="inActive",badgeCount:o,label:r,...n}=t,s=useRef(null),m=useMemo(()=>!o||Number.isNaN(Ka(o))?null:jsx(e,{variant:"inActive",children:g(Number(o))}),[o]),u=useCallback(p=>{p.stopPropagation(),t?.onClick?.(p);},[t]),l=a[e$2];return jsx(l,{"data-testid":"MultiSelectStatusButton",...n,ref:s,onClick:u,statusVariant:e$2,children:jsx(f,{children:jsxs(e$1,{variant:e$2,children:[r,m]})})})}),V=tt;function W(t){let e=new Set;return t.filter(o=>e.has(o.value)?false:(e.add(o.value),true))}function h(t,e){let o=e.toLowerCase();return t.reduce((r,n)=>{if(n.options?.length){let s=h(n.options,e);s.length&&r.push({...n,options:s});}else (n.placeholder?.toLowerCase().includes(o)||n.value.toLowerCase().includes(o))&&r.push(n);return r},[])}function it({buttonLabel:t,onClear:e,onConfirm:o,dropdownItems:r,apiKey:n,data:s,styles:m,buttonDisabled:u,searchable:l,searchPlaceholder:p}){let{t:Q}=useTranslation(),Y=p??`${Q("search")}...`,$=yc(useId(),"multi-select-dropdown-button"),[C,b]=useState(null),[a,d]=useState(""),G=c=>{b(c.currentTarget);},g=()=>{b(null),d("");},x=!!C,L=s?.[n],J=Array.isArray(L)?L.length:0,S=useMemo(()=>{if(!r)return r;let c=W(r);return !l||!a?c:h(c,a)},[l,a,r]),v=l&&!!a&&S?.length===0,U=l?jsxs(Fragment,{children:[jsx(a$1,{name:"multi-select-search",value:a,placeholder:Y,onSearchChange:d,onSearchReset:()=>d(""),sx:{pt:0}}),v&&jsx(O,{children:"No results found"})]}):void 0;return jsxs("div",{id:$,"data-testid":"MultiSelectDropdownButton",children:[jsx(V,{onClick:G,label:jsxs(A,{isDisabled:u,children:[t,jsx("img",{src:Cb,alt:"arrow-down"})]}),disabled:u,badgeCount:J}),x&&jsx(a$2,{onClick:g}),jsx(Popper,{open:x,anchorEl:C,placement:"bottom-start",sx:{zIndex:9999},children:jsx(e$2,{onCloseDropdown:g,filter:{apiKey:n,data:s,onClear:e,onConfirm:o,options:S,type:"list"},styles:{...m,height:v?"auto":"300px",overflowY:"scroll",maxWidth:"200px"},header:U,searchable:l})})]})}var z=memo(it);var At=z;export{At as a};
@@ -1 +0,0 @@
1
- import {a}from'./chunk-KHM5KW53.js';import {yc,f as f$1}from'./chunk-PBMQM3P4.js';import {mb}from'./chunk-7567D5HA.js';import {styled as styled$1,alpha}from'@mui/material';import {styled}from'@mui/material/styles';import {useId}from'react';import {useTranslation}from'react-i18next';import {motion}from'framer-motion';import {jsx,jsxs}from'react/jsx-runtime';var c=(o=>(o.DEFAULT="default",o.PRIMARY="primary",o.SECONDARY="secondary",o.SUCCESS="success",o.WARNING="warning",o.ERROR="error",o.INACTIVE="inActive",o.ACTIVE="active",o.DARK="dark",o.NEUTRAL="neutral",o.GRAY="gray",o.ORANGE="orange",o.RED="red",o))(c||{});var I=(t,e)=>new Map([["default",e.palette.info.main],["primary","#1976d2"],["secondary","#f50057"],["inActive",e.palette.grey[100]],["active",alpha(e.palette.text.primary,.1)],["dark",e.palette.info.dark],["neutral","#656565"],["gray","#CFCFCF"],["orange","#FFD503"],["red","#FF0000"]]).get(t)||e.palette.common.white,x=(t,e)=>new Map([["default",e.palette.common.white],["primary",e.palette.common.white],["secondary",e.palette.common.white],["inActive",e.palette.text.primary],["active",e.palette.common.white],["dark",e.palette.common.white],["neutral",e.palette.common.white]]).get(t)||e.palette.common.white,E=new Map([["compact",.5],["round",0],["normal",2]]),d=styled("span")(({theme:t,variant:e,compact:r,round:n,pointer:C})=>({padding:r?"0.08031rem 0.16056rem":n?"0.5rem 0.275rem":"8px 8px",borderRadius:t.spacing(E.get(n?"round":r?"compact":"normal")||2),backgroundColor:I(e,t),color:x(e,t),fontSize:"0.6rem",fontWeight:600,overflow:"hidden",height:"12px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontFamily:"Tap Sans",cursor:C?"pointer":"auto"}));d.displayName="CountBadge";var u=d;var A=styled$1(motion.span)(({order:t})=>({zIndex:(t||0)+1})),p=(t,e)=>({start:{x:t*6,transition:{duration:.3,type:"tween",ease:"easeIn"}},animate:{x:e?t*e:t*39,transition:{duration:.3,type:"tween",ease:"easeOut"}}}),f=styled$1("span")(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"center",gap:t.spacing(.25)}));function N({totalPaymentsCount:t,index:e}){let r=yc(useId(),"count-animated-badge"),{t:n}=useTranslation();return jsx(a,{title:n("totalPaymentCount",{amount:f$1(t)}),children:jsx(A,{id:r,order:e,variants:p(e),"data-testid":"AgreementCell_CountAnimatedBadge",children:jsxs(f,{children:[jsx("img",{src:mb,alt:"start",style:{width:"10px",height:"10px"}})," ",(t||0)>1&&jsx("span",{style:{fontSize:"9.782px"},children:t})]})})})}var _=u;export{c as a,A as b,p as c,N as d,_ as e};
@@ -1 +0,0 @@
1
- import {b}from'./chunk-CVNAIZE7.js';import {e}from'./chunk-L3FO2HGB.js';import {yc}from'./chunk-PBMQM3P4.js';import {Lh}from'./chunk-7567D5HA.js';import {memo,useId}from'react';import {styled,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var l=styled(Box,{shouldForwardProp:t=>t!=="isLongLabel"})(({theme:t,isLongLabel:i})=>({display:"flex",justifyContent:"center",alignItems:"center",padding:"6px 16px",height:"32px",background:t.palette.background.gradient.shadedBlue,color:t.palette.common.white,borderRadius:"50px",fontSize:"11px",gap:t.spacing(1),minWidth:i?"12rem":"8.4rem",marginRight:"auto",position:"relative"}));function u({ids:t,visible:i,label:o,onDismiss:d,dismissible:m=true}){let c=yc(useId(),"active-filter-chip");return i?jsxs(l,{id:c,"data-testid":"ActiveFilterChip",isLongLabel:(o?.length??0)>11,children:[o?jsx(b,{children:o}):jsx("span",{children:t?.join(",")}),m&&jsx(e,{pointer:true,round:true,onClick:d,variant:"active",sx:{position:"absolute",right:"8px"},children:jsx("img",{src:Lh,alt:"close",style:{width:"8px",height:"7px"}})})]}):null}var s=memo(u);var N=s;export{N as a};
@@ -1 +0,0 @@
1
- import {f,b as b$2,g,a as a$2,e as e$1,d,c as c$1}from'./chunk-MH6HYUUQ.js';import {a as a$1}from'./chunk-GLYU6JBK.js';import {c}from'./chunk-LQ7Y4QFG.js';import {o,j as j$1,k,l,p}from'./chunk-ZZUSTQRD.js';import {b as b$1}from'./chunk-OCAA7Q56.js';import {b,e,d as d$1}from'./chunk-L3FO2HGB.js';import {a}from'./chunk-KHM5KW53.js';import {a as a$3}from'./chunk-HQHSHQX6.js';import {Va,yc,Ha,Ia,bc,f as f$1}from'./chunk-PBMQM3P4.js';import {s}from'./chunk-YPGWSHOT.js';import {T,si,ui,ti,ri,yi,Yg,Pg,Xg,Lj,Mj,tb,ak,dk,uk,bk,ub,va,ua,mk,h,Og}from'./chunk-7567D5HA.js';import {useId,useMemo,useCallback}from'react';import {useTranslation}from'react-i18next';import {styled,Box,useTheme}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {motion}from'framer-motion';import {styled as styled$1,useTheme as useTheme$1}from'@mui/material/styles';import _ from'lodash/camelCase';import Ze from'@mui/material/Box';var lt={ORDER:{label:"order",icon:ri,color:"#5E30EB"},SAVED_CARD:{label:"cardAgreement",icon:ti,color:"#76BB40"},SUBSCRIPTION:{label:"subscription",icon:ui,color:"#00C7BE"},INSTALLMENT:{label:"installment",icon:si,color:"#32ADE6"}},dt={SAVED_TOKEN:{label:"savedToken",icon:T,color:"#76BB40"},COUNT:{label:"countBadge",icon:"countBadge",color:"#76BB40"}};styled("span")(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(.5)}));styled("img")(()=>({width:"35px",height:"16px",display:"block"}));styled("span")(()=>({display:"flex",alignItems:"center",justifyContent:"center",width:"14.67px",height:"10px"}));styled("img")(()=>({maxWidth:"100%",width:"100%"}));var ct=styled("span")(({theme:t})=>({fontSize:"11px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"2px 0",color:t.palette.text.primary})),mt=styled("div")(()=>({display:"flex",alignItems:"center",justifyContent:"center",paddingInline:"8px"}));function Ie({type:t,hasSavedCard:o,totalPaymentsCount:e,isTextShown:r}){let l=yc(useId(),"agreement-icon"),p=useTheme(),{t:a$2}=useTranslation(),n=useMemo(()=>[...o?[dt.SAVED_TOKEN]:[],...(e||0)>0?[dt.COUNT]:[],...t&&lt[t]?[lt[t]]:[]],[o,e,t]),d=c=>r?jsx(b,{"data-testid":"AgreementCell_countBadge",children:jsx(a,{title:a$2("totalPaymentCount",{amount:f$1(e)}),children:jsx(mt,{children:jsxs(ct,{"data-testid":"AgreementCell_totalPaymentsCount",sx:{color:dt.COUNT.color},children:["x",e]})})})},c):jsx(d$1,{totalPaymentsCount:e,index:c},c),s=n.map((c,g)=>c.label==="countBadge"?d(g):jsx(a,{title:a$2(c.label),children:jsx(b,{children:r?jsx(mt,{children:jsx(ct,{"data-testid":"AgreementCell_agreementType",sx:{color:c.color},children:a$2(c.label)})}):jsx(a$1,{sx:{maxWidth:"16px",maxHeight:"16px",height:"auto",width:"auto"},src:c.icon,alt:"agreement"})},c.color)},c.color)),f=jsx(a,{title:"No agreement",children:jsx(b,{children:r?jsx(mt,{children:jsx(ct,{"data-testid":"AgreementCell_agreementType",sx:{color:p.palette.text.secondary},children:"No agreement"})}):jsx(a$1,{sx:{maxWidth:"24px",maxHeight:"24px",height:"auto",width:"auto"},src:yi,alt:"agreement"})},"no-agreement")},"no-agreement");return jsx(Box,{id:l,"data-testid":"AgreementIcon",sx:{display:"flex",alignItems:"center",gap:"4px"},children:s?.length>0?s:f})}var To=Ie;var Ce=To;styled("span")(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(1)}));styled("img")(()=>({maxWidth:"36px",maxHeight:"24px"}));styled(motion.span,{shouldForwardProp:t=>t!=="sourcesCount"})(({theme:t,sourcesCount:o})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",position:"absolute",minWidth:`${o*6+36}px `,minHeight:"24px",cursor:"pointer",backgroundColor:t.palette.background.paper,borderRadius:"16px"}));var wo=styled("span")(({theme:t})=>({fontSize:"11px",padding:"2px 0",color:t.palette.text.primary})),Po=styled("div")(()=>({display:"flex",alignItems:"center",justifyContent:"center",paddingInline:"4px",textAlign:"center",width:"100%"}));styled("span")(({theme:t})=>({position:"absolute",left:0,zIndex:6,border:`1px solid ${t.palette.divider}`,borderRadius:"12px",backgroundColor:t.palette.background.paper,width:"36px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center"}));styled(motion.div)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(1)}));var Wo=styled("div")(()=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px"}));var kt={"3DS":{tooltip:"3DS",icon:Mj,borderColor:"rgba(31, 136, 208, 0.10)"},"Device Biometric":{tooltip:"Biometric",icon:Lj,borderColor:"rgba(31, 136, 208, 0.10)"},"Non-3DS":{tooltip:"Non 3DS",icon:Xg,borderColor:"rgba(31, 136, 208, 0.10)"}},vo={FAILED:{tooltip:"Failed",icon:Pg,borderColor:"rgba(255, 61, 0, 0.10)"},REJECTED:{tooltip:"Rejected",icon:Yg,borderColor:"rgba(255, 61, 0, 0.10)"}};function be({transactionStatus:t,eci:o,authType:e,isTextShown:r}){let l=yc(useId(),"auth-icons"),p=useMemo(()=>{let n=t?vo[t]:null,d=n?.tooltip,s=t==="AUTHENTICATED"?null:n?.icon;return [{tooltip:d,content:r?d:s,type:r?"text":"icon"},...e?[{tooltip:e,content:r?kt[e]?.tooltip:kt[e]?.icon,type:r?"text":"icon"}]:[],{tooltip:"",content:o?`ECI ${o}`:"",type:"text"}]},[t,r,e,o]),a$2=useMemo(()=>p.filter(n=>!!n.content).map((n,d)=>{let s=n.type==="text"?jsx(Po,{"data-testid":"AuthenticationCell_BadgeTextWrapper",children:jsx(wo,{sx:{border:"none"},"data-testid":"AuthenticationCell_TextLabel","data-source":n.content,children:n.content})}):jsx(a$1,{sx:{width:"16px",height:"16px"},src:n.content,alt:n.tooltip});return jsx(a,{title:n.tooltip,children:s},`${n.tooltip}-${d}`)}),[p]);return jsx(Wo,{id:l,"data-testid":"AuthIcons",children:a$2})}var ko=be;var Se=(t,o,e)=>({start:{x:t*6,transition:{duration:.3,type:"tween",ease:"easeIn"},...t>0&&{opacity:0}},animate:{x:e?t*e:t*39,transition:{duration:.3,type:"tween",ease:"easeOut"},boxShadow:o,...t>0&&{opacity:1}}});var Te=ko;var tt={VOID:{icon:bk},CAPTURED:{icon:ak}};var ut=styled$1(motion.div)(({theme:t,isCapture:o})=>({display:"flex",alignItems:"center",justifyContent:"center",gap:t.spacing(.5),paddingInline:t.spacing(.3),paddingBlock:t.spacing(.3),height:"100%",minWidth:"100%",backgroundColor:o?"#eaf3fb":"#eeeeee",borderRadius:"56px",width:"fit-content",fontSize:"10px",color:t.palette.text.primary,position:"relative",zIndex:10})),ft=styled$1("div")(({theme:t,percentage:o,isCapture:e})=>({border:`0.6px ${[0,100].includes(o)?"solid":"dashed"} ${e?t.palette.info.dark:"#656565"}`,borderRadius:"80px",padding:t.spacing(.316),paddingLeft:t.spacing(.516),fontSize:"7px",fontWeight:t.typography.fontWeightBold,color:e?t.palette.info.dark:"#656565",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(.5)})),xt=styled$1("div")(({percentage:t,isCapture:o,theme:e})=>({background:`conic-gradient(${o?e.palette.info.dark:"#656565"} ${t}%, transparent 0.00%)`,borderRadius:"50%",width:"8.333px",height:"8.333px",border:`0.6px solid ${o?e.palette.info.dark:"#656565"}`})),gt=styled$1("img")({width:"14px",height:"14px"}),j=styled$1(o)({width:"16px",height:"16px"}),z=styled$1("img")({width:"16px",height:"16px"}),Bo=styled$1(Box)({display:"flex",alignItems:"center",justifyContent:"center"});function It(t){return t<5?5:t===100?95:t}function Le({voidPercentage:t,capturePercentage:o,captureCount:e$1,autoType:r,captureAmount:l,voidAmount:p,currency:a$1,isTextShown:n,remainingAmount:d,isSheetViewShown:s,selectionProps:f={}}){let c=Number(o)+Number(t)===100||d<=0,g=yc(useId(),"capture-auto-icon"),T=useTheme$1(),{t:w}=useTranslation(),P=Ha(d||0),L=useCallback(C=>`Auto ${C} - ${a$1} ${P.integerAmount}.${P.decimalAmount}`,[a$1,P.decimalAmount,P.integerAmount]),J=useCallback(C=>{let X=C==="Capture"?l:p,{integerAmount:D,decimalAmount:v}=Ia(X,a$1);return `Partial ${C} - ${a$1} ${D}.${v}`},[l,p,a$1]),x=o>0?jsx(a,{title:J("Capture"),children:jsxs(ut,{isCapture:true,isFullyUsed:c,whileHover:["animate","fadeIn"],animate:"start",variants:{animate:{boxShadow:T.shadows[4]}},children:[jsx(gt,{src:tb,alt:"captured"}),jsxs(motion.div,{style:{display:"none",alignItems:"center",justifyContent:"center",gap:"4px"},initial:{width:0,opacity:0},transition:{animate:{duration:.5},fadeIn:{duration:.2}},variants:{animate:{width:"auto",display:"flex"},fadeIn:{transition:{delay:.5},opacity:1}},children:[jsxs(ft,{isCapture:true,percentage:o,children:[o,"% ",jsx(xt,{isCapture:true,percentage:It(o)})]}),e$1>1&&jsxs(e,{compact:true,variant:"dark",children:[e$1,"x"]})]})]})}):r==="CAPTURED"&&!c?jsx(a,{title:L("Capture"),children:jsx(j,{children:jsx(z,{src:tt.CAPTURED?.icon,alt:"auto"})})}):jsx(a,{title:L("Capture"),children:jsx(j,{children:jsx(z,{src:tt.CAPTURED?.icon,alt:"auto"})})}),I=o===100?jsx(a,{title:w("captured"),children:jsx(Bo,{children:jsx(z,{src:dk,alt:"captured"})})}):x,W=useMemo(()=>s&&I?jsx(b$1,{chipIndex:4,copyText:w("captured"),selectionProps:f,children:w("captured")}):n&&I?jsx(k,{children:w("captured")}):I,[n,I,s,f]);return W&&jsx("div",{id:g,"data-testid":"CaptureAutoIcon",style:{zIndex:12},children:W})}var Do=Le;function Me({voidPercentage:t,capturePercentage:o,voidCount:e$1,autoType:r,captureAmount:l$1,voidAmount:p,currency:a$1,isTextShown:n,isSheetViewShown:d,selectionProps:s={},remainingAmount:f}){let c=Number(o)+Number(t)===100||f<=0,g=yc(useId(),"void-auto-icon"),T=useTheme$1(),{t:w}=useTranslation(),P=Ha(f||0),L=useCallback(C=>`Auto ${C} - ${a$1} ${P.integerAmount}.${P.decimalAmount}`,[a$1,P.decimalAmount,P.integerAmount]),J=useCallback(C=>{let X=C==="Capture"?l$1:p,{integerAmount:D,decimalAmount:v}=Ia(X,a$1);return `Partial ${C} - ${a$1} ${D}.${v}`},[l$1,p,a$1]),x=t>0||p?jsx(a,{title:J("Void"),children:jsxs(ut,{isFullyUsed:c,whileHover:["animate","fadeIn"],animate:"start",sx:{zIndex:14,background:T.palette.common.white,border:`0.75px solid ${T.palette.grey[600]}1A`},variants:{animate:{boxShadow:T.shadows[4]}},children:[jsx(gt,{src:uk,alt:"void"}),jsxs(motion.div,{style:{display:"none",alignItems:"center",justifyContent:"center",gap:"4px"},initial:{width:0,opacity:0},transition:{animate:{duration:.5},fadeIn:{duration:.2}},variants:{animate:{width:"auto",display:"flex"},fadeIn:{transition:{delay:.5},opacity:1}},children:[jsxs(ft,{percentage:t,children:[t,"% ",jsx(xt,{percentage:It(t)})]}),e$1>0&&jsxs(e,{compact:true,variant:"neutral",children:[e$1,"x"]})]})]})}):r==="VOID"&&!c?jsx(a,{title:L("Void"),children:jsx(j,{children:jsx(z,{src:tt.VOID?.icon,alt:"auto"})})}):null,I=t===100?jsx(a,{title:w("void"),children:jsx(j,{children:jsx(z,{src:uk,alt:"void"})})}):x,W=useMemo(()=>d&&I?jsx(b$1,{chipIndex:5,copyText:w("void"),selectionProps:s,children:w("void")}):n&&I?jsx(l,{children:w("void")}):I,[n,I,d,s]);return W?jsx("div",{id:g,"data-testid":"VoidAutoIcon",style:{...!d&&{zIndex:11}},children:W}):null}var $o=Me;var Ne=Do;var Ue=({authorizedStatus:t,isTextShown:o,iconStyles:e,tableMode:r,chipIndex:l=0,selectionProps:p={}})=>{let{t:a$2}=useTranslation(),n=useTheme$1(),d=a$2(_(t));return Va(r)?jsx(b$1,{copyText:d,chipIndex:l,selectionProps:p,children:d}):jsx(a,{title:d,children:o?jsx(j$1,{"data-testid":"StatusCell_AuthorizedStatusLabel",sx:{color:n.palette.info.dark},children:d}):jsx(a$1,{src:f[t],alt:"authorized-icon","data-testid":"StatusCell_AuthorizedStatusIcon",sx:e})})};var _o=styled$1(motion.span)(({theme:t})=>({color:t.palette.common.white,display:"block",fontWeight:t.typography.fontWeightBold,fontSize:"9.78px",borderRadius:"4px",paddingInline:t.spacing(.45)})),Vo=styled$1(motion.span)(()=>({display:"block",width:"0",overflow:"hidden"})),Bt=styled$1("img")(()=>({width:"10px",height:"10px"})),Lt=styled$1(motion.span)(({theme:t})=>({width:"18px",height:"18px",borderRadius:"50%",backgroundColor:t.palette.background.paper,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,position:"relative"})),Dt=styled$1(motion.div,{shouldForwardProp:t=>t!=="isVisible"})(({isVisible:t})=>({display:"flex",justifyContent:"center",alignItems:"center",gap:"4px",width:"0",overflow:"hidden",opacity:0,...!t&&{padding:"0 !important"}})),Mo=styled$1(motion.div)(()=>({display:"flex",alignItems:"center",justifyContent:"flex-start"})),No=styled$1(motion.span)(()=>({display:"flex",alignItems:"center",justifyContent:"flex-start",position:"absolute",minHeight:"24px",cursor:"pointer",borderRadius:"16px"})),zo={delay:.2,ease:"easeIn",fadeIn:{duration:.2}},Go={animate:{width:"auto",paddingRight:"4px",paddingLeft:"4px"},fadeIn:{opacity:1,transition:{delay:.7}}},Fo={animate:{width:"auto"},fadeIn:{opacity:1,transition:{delay:1}}},Uo={animate:{width:"auto",paddingRight:"8px",paddingLeft:"4px"}},Et={fadeIn:{duration:.3},animate:{duration:.1}},Oo={fadeIn:{opacity:1}},jo=styled$1(j$1)(()=>({width:"88px",height:"100%"})),$t=styled$1(Box)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(.25),height:"100%"}));function Ke({chargeStatus:t,gatewayTooltip:o$1,acquirerTooltip:e,chargeTooltip:r,errorCode:l,isTextShown:p$1,gatewayCode:a$1,acquirerCode:n,unCapturedStyles:d,iconStyles:s$1,iconWrapperStyles:f,gatewayIconWrapperStyles:c,gatewayContainerStyles:g$1,gateWayIconStyles:T,showBadge:w=true,isSheetViewShown:P=false,selectionProps:L={},chipIndex:J=0}){let x=t?b$2[t]:null,I=t?g[t]:null,W=useTheme$1(),{t:C}=useTranslation(),X=yc(useId(),"charge-status-icon"),D=r&&jsx(Fragment,{children:jsx("div",{children:r})}),v=e&&jsxs(Fragment,{children:[jsx("div",{children:"Acquirer"}),jsx("div",{children:e})]}),Y=o$1&&jsxs(Fragment,{children:[jsx("div",{children:"Gateway"}),jsx("div",{children:o$1})]}),Ft=t&&a$2[t]&&jsx("div",{"data-testid":"ChargeStatusIcon_ChargeIcon",style:{display:"flex",alignItems:"center",justifyContent:"center",width:"16px",height:"16px",borderRadius:x?"50%":"",...f},children:jsx(p,{src:a$2[t],alt:"charge-icon","data-testid":"ChargeStatusIcon_StatusIcon",style:{borderRadius:x?"50%":"",width:"16px",height:"16px",...s$1}})});return P?jsxs($t,{children:[jsxs(b$1,{copyText:C(_(t)),chipIndex:J,selectionProps:L,children:[C(_(t))," ",l]}),x&&jsxs(Fragment,{children:[a$1&&jsxs(b$1,{copyText:"Gateway",chipIndex:1,selectionProps:L,children:["Gateway ",a$1]}),n&&jsxs(b$1,{copyText:"Acquirer",chipIndex:2,selectionProps:L,children:["Acquirer ",n]})]})]}):p$1?jsxs($t,{children:[jsx(a,{title:D,children:jsxs(jo,{"data-testid":"ChargeStatusIcon_isTextShown","data-status":_(t),sx:{background:x?.background||I?.background||"transparent",color:x?.color||I?.color||W.palette.info.dark,borderColor:`${x?.color||I?.color||W.palette.info.dark}1A`},children:[C(_(t))," ",l]})}),x&&jsxs(Fragment,{children:[a$1&&jsx(a,{title:Y,children:jsxs(j$1,{"data-testid":"ChargeStatusIcon_isTextShown","data-status":_(t),sx:{background:x?.background||I?.background||"transparent",color:x?.color||I?.color||W.palette.info.dark},children:["Gateway ",a$1]})}),n&&jsx(a,{title:v,children:jsxs(j$1,{"data-testid":"ChargeStatusIcon_isTextShown","data-status":_(t),sx:{background:x?.background||I?.background||"transparent",color:x?.color||I?.color||W.palette.info.dark},children:["Acquirer ",n]})})]})]}):jsx(o,{id:X,"data-testid":"ChargeStatusIcon_StatusIconWrapper",style:{...f},children:s?.includes(t||"")&&(D||v||Y)?jsxs(No,{"data-testid":"ChargeStatusIcon_UnCapturedContainer",whileHover:["animate","fadeIn"],style:{left:"0",...w&&{paddingInline:"12px",border:"1px solid #F2F2F2",borderRadius:"12px",backgroundColor:"#fff"},...d},children:[jsx(Mo,{"data-testid":"ChargeStatusIcon_UnCapturedBadge",sx:{borderRadius:"56px"},initial:{background:"transparent"},variants:{animate:{background:x?.background}},children:jsx(a,{title:D??C(_(t)),children:jsxs(Fragment,{children:[Ft,jsx(Vo,{"data-testid":"ChargeStatusIcon_ErrorCodeWrapper",transition:{animate:{duration:.05}},variants:Uo,style:{...l&&{padding:"0 !important"}},children:jsx(_o,{"data-testid":"ChargeStatusIcon_ErrorCodeLabel",sx:{background:x?.color},transition:zo,variants:Oo,initial:{opacity:0},children:l})})]})})}),jsx(Dt,{"data-testid":"ChargeStatusIcon_GatewaysContainer",transition:Et,variants:Go,style:g$1,isVisible:!!Y,children:Y&&jsx(a,{title:Y,children:jsx(Lt,{"data-testid":"ChargeStatusIcon_GatewayIconWrapper",style:{background:x?.background,...c},children:jsx(Bt,{src:x?.gatewayIcon,alt:"gateway-icon","data-testid":"ChargeStatusIcon_GatewayIcon",style:T})})})}),jsx(Dt,{"data-testid":"ChargeStatusIcon_GatewaysContainer",transition:Et,variants:Fo,style:g$1,isVisible:!!v,children:v&&jsx(a,{title:v,children:jsx(Lt,{"data-testid":"ChargeStatusIcon_AcquirerIconWrapper",style:{background:x?.background,...c},children:jsx(Bt,{src:x?.acquirerIcon,alt:"acquirer-icon","data-testid":"ChargeStatusIcon_AcquirerIcon",style:T})})})})]}):jsx(a,{title:D??C(_(t)),children:jsx(o,{children:Ft})})})}var Ye=()=>{let{t}=useTranslation(),o=yc(useId(),"customer-initiated-icon");return jsx(a,{title:t("merchantInitiated"),children:jsx("img",{id:o,"data-testid":"merchantInitiatedIcon",src:ub,alt:"merchant",style:{width:"16px",height:"16px"}})})};var Qe={G:"Global",R:"Regional",L:"Local"},ot=({geographyVariant:t,countryCode:o,isTextShown:e})=>{let r=t?Qe[t]:void 0,l=r||o?`${r||""} ${r&&o?"-":""} ${o?`Country - ${o}`:""}`:void 0;return e||!o?null:jsx(a,{title:l,children:jsx(a$3,{countryCode:o})})};var or=({geographyVariant:t,isTextShown:o,deviceCountry:e,deviceType:r,tableMode:l})=>{let p=yc(useId(),"device-icon-chip");return jsxs(Ze,{id:p,"data-testid":"DeviceIconChip",sx:{display:"flex",gap:"8px",alignItems:"center",...Va(l)&&{height:"18px"}},children:[jsx(ot,{geographyVariant:t,isTextShown:o,countryCode:e}),jsx(c,{type:r,isTextShown:o,tableMode:l})]})};var nr=({isDisputeOpen:t,iconStyles:o})=>{let e=yc(useId(),"dispute-icon");return jsx(p,{id:e,"data-testid":"StatusCell_DisputeStatusIcon",sx:{width:"13.5px",height:"13.5px"},src:t?va:ua,alt:"dispute-icon",style:o})};var Xo=styled$1(Ze,{shouldForwardProp:t=>t!=="tableMode"})(({theme:t,tableMode:o})=>({display:"flex",gap:t.spacing(.5),...Va(o)&&{height:"18px"},alignItems:"center"})),Yo=styled$1("span")(({theme:t})=>({fontSize:"10px",fontWeight:500,color:t.palette.text.primary}));function Vt({countryCode:t,isTextShown:o,cardNumber:e,bankName:r,tableMode:l}){let p=yc(useId(),"issuer-icon"),a$1=e?.slice(0,4),n=e?.slice(-4);return jsxs(Xo,{id:p,"data-testid":"IssuerIcon",tableMode:l,children:[t&&jsx(ot,{countryCode:t,isTextShown:o}),jsx(a,{title:`${r?`Issuer - ${r}`:""}`,children:jsx(Yo,{children:`${a$1||""} ${n||""}`})})]})}var lr=Vt;styled(motion.div)(({theme:t,background:o})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(.5),paddingInline:t.spacing(.75),paddingBlock:t.spacing(.5),backgroundColor:o,height:"24px",width:"fit-content",borderRadius:"24px",fontSize:"10px",color:t.palette.text.primary}));var ka=styled("img")(()=>({height:"13.125px",width:"12px"})),bt=styled("div")(()=>({fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"center",width:"65px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"4.5px 8px",borderRadius:"24px"})),Ba=styled("div")(({theme:t})=>({color:t.palette.common.white,background:t.palette.error.main,fontSize:"0.6rem",fontWeight:600,borderRadius:"16px",padding:"2px 8px",display:"flex",alignItems:"center",justifyContent:"center"})),La=styled("div")(()=>({display:"flex",alignItems:"center",justifyContent:"center",width:"16px",height:"16px"}));var fr=({payoutStatus:t="PENDING",isTextShown:o,payoutTooltip:e,iconStyles:r,isSheetViewShown:l,chipIndex:p$1=0,selectionProps:a$1={}})=>{let{t:n}=useTranslation(),d=yc(useId(),"payout-icon"),s=n(_(t)),f=e||s;return l?jsx(b$1,{chipIndex:p$1,copyText:s,selectionProps:a$1,children:s}):jsx(a,{title:f,children:o?jsx(bt,{id:d,"data-testid":"StatusCell_PayoutStatusLabel",children:s}):jsx(p,{id:d,src:e$1[t],alt:"settled-icon","data-testid":"StatusCell_PayoutStatusIcon",style:r})})};var Qo=styled$1(motion.img)(()=>({width:"14px",height:"14px"})),Zo=styled$1(motion.span)(({theme:t})=>({color:t.palette.common.white,borderRadius:t.spacing(.5),height:"12px",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"9.782px",fontWeight:600,backgroundColor:t.palette.secondary.main})),Mt=styled$1(motion.div)(({theme:t})=>({height:"16px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:`${t.palette.secondary.main}1A`,paddingInline:t.spacing(.5),borderRadius:"56px"})),Ka=(t,o,e)=>({start:{x:t*6,transition:{duration:.3,type:"tween",ease:"easeIn"}},animate:{x:e?t*e:t*49,transition:{duration:.3,type:"tween",ease:"easeOut"},boxShadow:o}}),Ja=styled$1(motion.span)(({isTextShown:t,theme:o})=>({border:`1px solid ${o.palette.divider}`,borderRadius:"12px",backgroundColor:o.palette.background.paper,height:"24px",display:"flex",alignItems:"center",justifyContent:"center",minWidth:t?"auto":"36px",...t&&{border:"none"}})),Xa=styled$1(motion.div,{shouldForwardProp:t=>t!=="order"})(({order:t=0})=>({display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:0,left:0,zIndex:t+6,width:"fit-content",height:"24px",cursor:"pointer",borderRadius:"16px","&:hover":{zIndex:200}})),Ya=styled$1(motion.div,{shouldForwardProp:t=>t!=="statusesCount"})(({statusesCount:t=1})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",position:"relative",minWidth:`${t*6+36}px`,height:"24px",cursor:"pointer",borderRadius:"16px",overflow:"visible"})),Qa=styled$1("div")(()=>({display:"flex",gap:"4px",justifyContent:"flex-start",alignItems:"center",position:"relative",width:"100%",overflow:"visible"}));var Cr=({isTextShown:t,refundStatus:o="PENDING",refundTooltip:e="",refundCount:r,iconStyles:l,isSheetViewShown:p$1,chipIndex:a$1=0,selectionProps:n={}})=>{let{t:d$1}=useTranslation(),s=useTheme$1(),f=yc(useId(),"refund-icon"),c=(r||0)>1,g=d$1(_(o));if(p$1)return jsxs(b$1,{chipIndex:a$1,selectionProps:n,copyText:g,children:[g," ",c?`${r}x`:null]});let T=jsxs(Zo,{"data-testid":"StatusCell_RefundsCountBadge",initial:{width:0,opacity:0,padding:"0px"},transition:{animate:{duration:.5},fadeIn:{duration:.2}},variants:{animate:{width:"auto",display:"flex",padding:"1.285px 2.569px"},fadeIn:{transition:{delay:.5},opacity:1}},children:[r,"x"]});return t?jsx(a,{title:jsx("div",{children:jsx("div",{children:e})}),children:jsx(bt,{id:f,"data-testid":"StatusCell_RefundStatusLabel",sx:{color:d[o].color,backgroundColor:d[o].backgroundColor,width:"90px"},children:jsxs(Mt,{whileInView:c?["animate","fadeIn"]:void 0,variants:{animate:{boxShadow:s.shadows[4],gap:s.spacing(.5)}},children:[g," ",c?T:null]})})}):jsx(a,{title:jsx("div",{children:jsx("div",{children:e})}),children:c?jsxs(Mt,{id:f,whileHover:["animate","fadeIn"],animate:"start",variants:{animate:{boxShadow:s.shadows[4],gap:s.spacing(.5)}},children:[jsx(Qo,{src:mk,alt:"multi-refunded-icon","data-testid":"StatusCell_MultiRefundIcon"}),T]}):jsx(p,{id:f,src:c$1[o],alt:"refunded-icon","data-testid":"StatusCell_RefundStatusIcon",style:l})})},te=Cr;var yr=te;var br={american_express:"AMEX",debit:"card",credit:"card",unionpay:"UnionPay",jaywan:"JAYWAN"},B=t=>br[t?.toLowerCase()||""]||t;styled("span")(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(1)}));var oe=styled("img")(()=>({maxWidth:"24px",maxHeight:"16px"}));styled(motion.span,{shouldForwardProp:t=>t!=="sourcesCount"})(({theme:t,sourcesCount:o})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",position:"absolute",minWidth:`${o*6+36}px `,minHeight:"24px",cursor:"pointer",backgroundColor:t.palette.background.paper,borderRadius:"16px"}));var ee=styled("span")(({theme:t})=>({fontSize:"11px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"2px 0",color:t.palette.text.primary})),re=styled("div")(()=>({display:"flex",alignItems:"center",justifyContent:"center",paddingInline:"8px",textAlign:"center",width:"100%"}));styled("span")(({theme:t})=>({position:"absolute",left:0,zIndex:6,border:`1px solid ${t.palette.divider}`,borderRadius:"12px",backgroundColor:t.palette.background.paper,width:"36px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center"}));var ne=styled("span")(({theme:t})=>({fontSize:"10px",fontWeight:500,color:t.palette.text.primary}));function wt({source:t,isTextShown:o,title:e,width:r,height:l,imgSx:p}){let{t:a$1}=useTranslation(),n=h(t);return jsx(a,{title:e,children:o?jsx(re,{"data-testid":"SourceCell_BadgeTextWrapper",children:jsx(ee,{"data-testid":"SourceCell_TextLabel","data-source":t,children:a$1(_(t))})}):jsx(oe,{src:n,alt:t,width:r,height:l,onError:d=>{d.currentTarget.src=h("card");},sx:p})})}function Rr({payment:t,card:o,isTextShown:e,firstIcon:r}){let l=yc(useId(),"source-icons"),{t:p}=useTranslation(),a=useCallback(()=>{let s=[],f=bc(t),c=t?.method,g=t?.scheme;return B(c)?.toLowerCase()===B(g)?.toLowerCase()?s.push(B(c),B(f)):s.push(B(c),B(f),B(g)),s},[t]),n=useMemo(()=>jsx(wt,{source:r,isTextShown:e,title:p(_(r))},r),[r,e,p]),d=useMemo(()=>a()?.filter(s=>!!s&&s!==r)?.map((s,f,c)=>{let g=t?.wallet===p("sv_wallet")?p("storedValueWallet"):p("passThruWallet"),T=f===c.length-1&&o?.last_four?`${p(_(s))} - ${o?.last_four}`:p(_(s));return jsx(wt,{source:s,isTextShown:e,title:f===0&&s==="Wallet"?g:T},`${s}-${f}`)}),[a,t,o,e,p,r]);return jsxs(Box,{id:l,"data-testid":"SourceIcons",display:"flex",alignItems:"center",gap:.5,children:[r&&n,d,o?.last_four&&jsxs(ne,{children:["\xB7\xB7\xB7 ",o?.last_four]})]})}var rt={PROCESSED:Og,FAILED:""};var se=styled("span")(({theme:t})=>({fontSize:"11px",padding:"2px 0",color:t.palette.text.primary})),le=styled("img")(()=>({width:"16px",height:"16px"})),de=styled("span")(()=>({width:"24px",height:"24px",borderRadius:"50%",backgroundColor:"transparent",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0}));function ce({status:t,isTextShown:o,isSheetViewShown:e,chipIndex:r=0,selectionProps:l={}}){let p=useTheme(),{t:a$1}=useTranslation(),n=yc(useId(),"destination-icon"),d=a$1(_(t));return e&&rt[t]?jsx(b$1,{copyText:d,chipIndex:r,selectionProps:l,children:d}):o&&rt[t]?jsx(se,{id:n,"data-testid":"ChargeStatusIcon_isTextShown","data-status":_(t),sx:{background:"#1F88D00D",color:t==="PROCESSED"?p.palette.info.dark:p.palette.common.black},children:d}):jsx(de,{id:n,"data-testid":"DestinationIcon",className:"destination-status",children:t&&rt[t]&&jsx(a,{title:a$1(_(t)),children:jsx(le,{src:rt[t],alt:"destination-icon"})})})}export{Ka as a,Ja as b,Xa as c,Ya as d,Qa as e,Ce as f,Se as g,Te as h,$o as i,Ne as j,Ue as k,Ke as l,Ye as m,ot as n,or as o,nr as p,lr as q,ka as r,Ba as s,La as t,fr as u,yr as v,B as w,wt as x,Rr as y,ce as z};
@@ -1 +0,0 @@
1
- import {styled}from'@mui/material';import {motion}from'framer-motion';var a=styled(motion.span)(({theme:e,order:t})=>({position:"absolute",left:0,zIndex:t+6,border:`1px solid ${e.palette.divider}`,borderRadius:"12px",backgroundColor:e.palette.background.paper,width:"24px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center"})),r=a;var m=r;export{m as a};
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { Theme } from '@mui/material';
3
- import { type StyledBadgeProps, BadgeVariants } from './type';
4
- export declare const getBackgroundColor: (variant: BadgeVariants, theme: Theme) => string;
5
- declare const StyledBadge: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme> & StyledBadgeProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
6
- export default StyledBadge;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function CountAnimatedBadge({ totalPaymentsCount, index }: {
3
- totalPaymentsCount?: number;
4
- index: number;
5
- }): import("react").JSX.Element;
@@ -1,5 +0,0 @@
1
- import CountBadge from './CountBadge';
2
- export { CountAnimatedBadge } from './CountBadgeAnimated';
3
- export { BadgeVariants, type StyledBadgeProps } from './type';
4
- export { paymentSourceAnimation } from './style';
5
- export default CountBadge;
@@ -1 +0,0 @@
1
- export{a as BadgeVariants,d as CountAnimatedBadge,e as default,c as paymentSourceAnimation}from'../../_chunks/chunk-L3FO2HGB.js';import'../../_chunks/chunk-KHM5KW53.js';import'../../_chunks/chunk-PBMQM3P4.js';import'../../_chunks/chunk-YPGWSHOT.js';import'../../_chunks/chunk-7567D5HA.js';import'../../_chunks/chunk-VWSQS7GB.js';
@@ -1,284 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const AgreementImageWrapper: import("@emotion/styled").StyledComponent<{
3
- color?: string | undefined;
4
- content?: string | undefined;
5
- translate?: "yes" | "no" | undefined;
6
- id?: string | undefined;
7
- defaultChecked?: boolean | undefined;
8
- defaultValue?: string | number | readonly string[] | undefined;
9
- suppressContentEditableWarning?: boolean | undefined;
10
- suppressHydrationWarning?: boolean | undefined;
11
- accessKey?: string | undefined;
12
- autoCapitalize?: (string & {}) | "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined;
13
- autoFocus?: boolean | undefined;
14
- className?: string | undefined;
15
- contentEditable?: (boolean | "false" | "true") | "inherit" | "plaintext-only" | undefined;
16
- contextMenu?: string | undefined;
17
- dir?: string | undefined;
18
- draggable?: (boolean | "false" | "true") | undefined;
19
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
20
- hidden?: boolean | undefined;
21
- lang?: string | undefined;
22
- nonce?: string | undefined;
23
- slot?: string | undefined;
24
- spellCheck?: (boolean | "false" | "true") | undefined;
25
- tabIndex?: number | undefined;
26
- title?: string | undefined;
27
- radioGroup?: string | undefined;
28
- role?: import("react").AriaRole | undefined;
29
- about?: string | undefined;
30
- datatype?: string | undefined;
31
- inlist?: any;
32
- prefix?: string | undefined;
33
- property?: string | undefined;
34
- rel?: string | undefined;
35
- resource?: string | undefined;
36
- rev?: string | undefined;
37
- typeof?: string | undefined;
38
- vocab?: string | undefined;
39
- autoCorrect?: string | undefined;
40
- autoSave?: string | undefined;
41
- itemProp?: string | undefined;
42
- itemScope?: boolean | undefined;
43
- itemType?: string | undefined;
44
- itemID?: string | undefined;
45
- itemRef?: string | undefined;
46
- results?: number | undefined;
47
- security?: string | undefined;
48
- unselectable?: "off" | "on" | undefined;
49
- inputMode?: "text" | "url" | "email" | "search" | "none" | "tel" | "numeric" | "decimal" | undefined;
50
- is?: string | undefined;
51
- exportparts?: string | undefined;
52
- part?: string | undefined;
53
- "aria-activedescendant"?: string | undefined;
54
- "aria-atomic"?: (boolean | "false" | "true") | undefined;
55
- "aria-autocomplete"?: "list" | "none" | "both" | "inline" | undefined;
56
- "aria-braillelabel"?: string | undefined;
57
- "aria-brailleroledescription"?: string | undefined;
58
- "aria-busy"?: (boolean | "false" | "true") | undefined;
59
- "aria-checked"?: boolean | "false" | "true" | "mixed" | undefined;
60
- "aria-colcount"?: number | undefined;
61
- "aria-colindex"?: number | undefined;
62
- "aria-colindextext"?: string | undefined;
63
- "aria-colspan"?: number | undefined;
64
- "aria-controls"?: string | undefined;
65
- "aria-current"?: boolean | "page" | "false" | "true" | "date" | "time" | "step" | "location" | undefined;
66
- "aria-describedby"?: string | undefined;
67
- "aria-description"?: string | undefined;
68
- "aria-details"?: string | undefined;
69
- "aria-disabled"?: (boolean | "false" | "true") | undefined;
70
- "aria-dropeffect"?: "link" | "copy" | "none" | "move" | "execute" | "popup" | undefined;
71
- "aria-errormessage"?: string | undefined;
72
- "aria-expanded"?: (boolean | "false" | "true") | undefined;
73
- "aria-flowto"?: string | undefined;
74
- "aria-grabbed"?: (boolean | "false" | "true") | undefined;
75
- "aria-haspopup"?: boolean | "grid" | "false" | "true" | "dialog" | "listbox" | "menu" | "tree" | undefined;
76
- "aria-hidden"?: (boolean | "false" | "true") | undefined;
77
- "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
78
- "aria-keyshortcuts"?: string | undefined;
79
- "aria-label"?: string | undefined;
80
- "aria-labelledby"?: string | undefined;
81
- "aria-level"?: number | undefined;
82
- "aria-live"?: "off" | "assertive" | "polite" | undefined;
83
- "aria-modal"?: (boolean | "false" | "true") | undefined;
84
- "aria-multiline"?: (boolean | "false" | "true") | undefined;
85
- "aria-multiselectable"?: (boolean | "false" | "true") | undefined;
86
- "aria-orientation"?: "horizontal" | "vertical" | undefined;
87
- "aria-owns"?: string | undefined;
88
- "aria-placeholder"?: string | undefined;
89
- "aria-posinset"?: number | undefined;
90
- "aria-pressed"?: boolean | "false" | "true" | "mixed" | undefined;
91
- "aria-readonly"?: (boolean | "false" | "true") | undefined;
92
- "aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
93
- "aria-required"?: (boolean | "false" | "true") | undefined;
94
- "aria-roledescription"?: string | undefined;
95
- "aria-rowcount"?: number | undefined;
96
- "aria-rowindex"?: number | undefined;
97
- "aria-rowindextext"?: string | undefined;
98
- "aria-rowspan"?: number | undefined;
99
- "aria-selected"?: (boolean | "false" | "true") | undefined;
100
- "aria-setsize"?: number | undefined;
101
- "aria-sort"?: "ascending" | "descending" | "none" | "other" | undefined;
102
- "aria-valuemax"?: number | undefined;
103
- "aria-valuemin"?: number | undefined;
104
- "aria-valuenow"?: number | undefined;
105
- "aria-valuetext"?: string | undefined;
106
- dangerouslySetInnerHTML?: {
107
- __html: string | TrustedHTML;
108
- } | undefined;
109
- onCopy?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
110
- onCopyCapture?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
111
- onCut?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
112
- onCutCapture?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
113
- onPaste?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
114
- onPasteCapture?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
115
- onCompositionEnd?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
116
- onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
117
- onCompositionStart?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
118
- onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
119
- onCompositionUpdate?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
120
- onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
121
- onFocus?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
122
- onFocusCapture?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
123
- onBlur?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
124
- onBlurCapture?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
125
- onChange?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
126
- onChangeCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
127
- onBeforeInput?: import("react").InputEventHandler<HTMLSpanElement> | undefined;
128
- onBeforeInputCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
129
- onInput?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
130
- onInputCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
131
- onReset?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
132
- onResetCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
133
- onSubmit?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
134
- onSubmitCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
135
- onInvalid?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
136
- onInvalidCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
137
- onLoad?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
138
- onLoadCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
139
- onError?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
140
- onErrorCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
141
- onKeyDown?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
142
- onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
143
- onKeyPress?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
144
- onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
145
- onKeyUp?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
146
- onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
147
- onAbort?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
148
- onAbortCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
149
- onCanPlay?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
150
- onCanPlayCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
151
- onCanPlayThrough?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
152
- onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
153
- onDurationChange?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
154
- onDurationChangeCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
155
- onEmptied?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
156
- onEmptiedCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
157
- onEncrypted?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
158
- onEncryptedCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
159
- onEnded?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
160
- onEndedCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
161
- onLoadedData?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
162
- onLoadedDataCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
163
- onLoadedMetadata?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
164
- onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
165
- onLoadStart?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
166
- onLoadStartCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
167
- onPause?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
168
- onPauseCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
169
- onPlay?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
170
- onPlayCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
171
- onPlaying?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
172
- onPlayingCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
173
- onProgress?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
174
- onProgressCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
175
- onRateChange?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
176
- onRateChangeCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
177
- onSeeked?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
178
- onSeekedCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
179
- onSeeking?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
180
- onSeekingCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
181
- onStalled?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
182
- onStalledCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
183
- onSuspend?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
184
- onSuspendCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
185
- onTimeUpdate?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
186
- onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
187
- onVolumeChange?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
188
- onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
189
- onWaiting?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
190
- onWaitingCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
191
- onAuxClick?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
192
- onAuxClickCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
193
- onClick?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
194
- onClickCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
195
- onContextMenu?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
196
- onContextMenuCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
197
- onDoubleClick?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
198
- onDoubleClickCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
199
- onDragCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
200
- onDragEndCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
201
- onDragEnter?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
202
- onDragEnterCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
203
- onDragExit?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
204
- onDragExitCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
205
- onDragLeave?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
206
- onDragLeaveCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
207
- onDragOver?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
208
- onDragOverCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
209
- onDragStartCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
210
- onDrop?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
211
- onDropCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
212
- onMouseDown?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
213
- onMouseDownCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
214
- onMouseEnter?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
215
- onMouseLeave?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
216
- onMouseMove?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
217
- onMouseMoveCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
218
- onMouseOut?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
219
- onMouseOutCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
220
- onMouseOver?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
221
- onMouseOverCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
222
- onMouseUp?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
223
- onMouseUpCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
224
- onSelect?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
225
- onSelectCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
226
- onTouchCancel?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
227
- onTouchCancelCapture?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
228
- onTouchEnd?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
229
- onTouchEndCapture?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
230
- onTouchMove?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
231
- onTouchMoveCapture?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
232
- onTouchStart?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
233
- onTouchStartCapture?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
234
- onPointerDown?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
235
- onPointerDownCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
236
- onPointerMove?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
237
- onPointerMoveCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
238
- onPointerUp?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
239
- onPointerUpCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
240
- onPointerCancel?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
241
- onPointerCancelCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
242
- onPointerEnter?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
243
- onPointerLeave?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
244
- onPointerOver?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
245
- onPointerOverCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
246
- onPointerOut?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
247
- onPointerOutCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
248
- onGotPointerCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
249
- onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
250
- onLostPointerCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
251
- onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
252
- onScroll?: import("react").UIEventHandler<HTMLSpanElement> | undefined;
253
- onScrollCapture?: import("react").UIEventHandler<HTMLSpanElement> | undefined;
254
- onWheel?: import("react").WheelEventHandler<HTMLSpanElement> | undefined;
255
- onWheelCapture?: import("react").WheelEventHandler<HTMLSpanElement> | undefined;
256
- onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
257
- onAnimationEnd?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
258
- onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
259
- onAnimationIteration?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
260
- onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
261
- onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
262
- onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
263
- } & import("framer-motion").MotionProps & import("react").RefAttributes<HTMLSpanElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
264
- order?: number | undefined;
265
- }, {}, {}>;
266
- export declare const paymentSourceAnimation: (index: number, xDelta?: number) => {
267
- start: {
268
- x: number;
269
- transition: {
270
- duration: number;
271
- type: string;
272
- ease: string;
273
- };
274
- };
275
- animate: {
276
- x: number;
277
- transition: {
278
- duration: number;
279
- type: string;
280
- ease: string;
281
- };
282
- };
283
- };
284
- export declare const CountWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -1,21 +0,0 @@
1
- export declare enum BadgeVariants {
2
- DEFAULT = "default",
3
- PRIMARY = "primary",
4
- SECONDARY = "secondary",
5
- SUCCESS = "success",
6
- WARNING = "warning",
7
- ERROR = "error",
8
- INACTIVE = "inActive",
9
- ACTIVE = "active",
10
- DARK = "dark",
11
- NEUTRAL = "neutral",
12
- GRAY = "gray",
13
- ORANGE = "orange",
14
- RED = "red"
15
- }
16
- export interface StyledBadgeProps {
17
- variant: BadgeVariants;
18
- compact?: boolean;
19
- round?: boolean;
20
- pointer?: boolean;
21
- }