@tap-payments/os-micro-frontend-shared 0.3.206-test.2 → 0.3.207
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-2HAFCALW.js +2 -0
- package/build/_chunks/{chunk-6LUO6OBJ.js → chunk-4PSG6SQS.js} +1 -1
- package/build/_chunks/chunk-CMHDU3NK.js +1 -0
- package/build/_chunks/{chunk-A2KZC66L.js → chunk-EZALVOGK.js} +1 -1
- package/build/_chunks/{chunk-RUSK5W42.js → chunk-GQJTYIRS.js} +1 -1
- package/build/_chunks/{chunk-K7BX77NR.js → chunk-MNPOSJOU.js} +1 -1
- package/build/_chunks/chunk-P3UNUMRE.js +1 -0
- package/build/_chunks/{chunk-VAXOBYQH.js → chunk-Q7AI2Q4D.js} +1 -1
- package/build/_chunks/{chunk-2VS35WT4.js → chunk-TITZ4VK4.js} +1 -1
- package/build/_chunks/{chunk-RCTRSOJN.js → chunk-XSLTZPSU.js} +1 -1
- package/build/components/AmountInput/index.js +1 -1
- package/build/components/AppServices/index.js +1 -1
- package/build/components/AppServicesBar/index.js +1 -1
- package/build/components/AppWindowWrapper/index.js +1 -1
- package/build/components/BrandLogo/index.js +1 -1
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/Customer/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/Discount/index.js +1 -1
- package/build/components/ExpandableSideBar/index.js +1 -1
- package/build/components/FileInputPreview/index.js +1 -1
- package/build/components/FilterDropdown/index.js +1 -1
- package/build/components/JSONViewer/index.js +1 -1
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/MerchantCurrencyDropdown/index.js +1 -1
- package/build/components/MerchantLogo/index.js +1 -1
- package/build/components/MerchantsDropdown/index.js +1 -1
- package/build/components/MultiSelectDropdownButton/index.js +1 -1
- package/build/components/PartnersFilter/index.js +1 -1
- package/build/components/PaymentSourceFilter/index.js +1 -1
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/RFH/index.js +1 -1
- package/build/components/ReceiptsViewer/ReceiptViewer.d.ts +3 -0
- package/build/components/ReceiptsViewer/ReceiptsViewer.d.ts +12 -0
- package/build/components/ReceiptsViewer/index.d.ts +1 -0
- package/build/components/ReceiptsViewer/index.js +1 -0
- package/build/components/ReceiptsViewer/style.d.ts +4 -0
- package/build/components/ReceiptsViewer/type.d.ts +11 -0
- package/build/components/ReferenceTypeFilter/index.js +1 -1
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableReports/index.js +1 -1
- package/build/components/TreeDropdown/index.js +1 -1
- package/build/components/VAT/index.js +1 -1
- package/build/components/VerificationIcon/index.js +1 -1
- package/build/components/ViewColumnRadioFilter/index.js +1 -1
- package/build/components/VirtualTables/index.js +1 -1
- package/build/components/Widget/index.js +1 -1
- package/build/components/WindowSideBar/index.js +1 -1
- package/build/components/index.d.ts +1 -6
- package/build/components/index.js +1 -1
- package/build/hooks/index.d.ts +0 -1
- package/build/hooks/index.js +1 -1
- package/build/index.js +1 -1
- package/build/utils/number.d.ts +1 -1
- package/package.json +2 -2
- package/build/_chunks/chunk-4YYASHPB.js +0 -1
- package/build/_chunks/chunk-6TZC6ADP.js +0 -1
- package/build/_chunks/chunk-AARAZJSO.js +0 -2
- package/build/_chunks/chunk-F3BU4KEC.js +0 -1
- package/build/_chunks/chunk-JCOA42LB.js +0 -1
- package/build/_chunks/chunk-UZJJQWCT.js +0 -1
- package/build/components/ActionMenu/ActionMenu.d.ts +0 -5
- package/build/components/ActionMenu/ActionMenuDropDown.d.ts +0 -17
- package/build/components/ActionMenu/ActionMenuItem.d.ts +0 -16
- package/build/components/ActionMenu/index.d.ts +0 -5
- package/build/components/ActionMenu/index.js +0 -1
- package/build/components/ActionMenu/style.d.ts +0 -79
- package/build/components/ActionMenu/type.d.ts +0 -15
- package/build/components/AmountConversionFilter/AmountConversionFilter.d.ts +0 -20
- package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.d.ts +0 -10
- package/build/components/AmountConversionFilter/index.d.ts +0 -1
- package/build/components/AmountConversionFilter/index.js +0 -1
- package/build/components/AmountConversionFilter/style.d.ts +0 -19
- package/build/components/AmountSlider/AmountSlider.d.ts +0 -18
- package/build/components/AmountSlider/index.d.ts +0 -2
- package/build/components/AmountSlider/index.js +0 -1
- package/build/components/AmountSlider/style.d.ts +0 -25
- package/build/components/CurrencyFilter/CurrencyFilter.d.ts +0 -11
- package/build/components/CurrencyFilter/index.d.ts +0 -1
- package/build/components/CurrencyFilter/index.js +0 -1
- package/build/components/LanguageDropdown/LanguageDropdown.d.ts +0 -7
- package/build/components/LanguageDropdown/index.d.ts +0 -2
- package/build/components/LanguageDropdown/index.js +0 -1
- package/build/components/LanguageDropdown/style.d.ts +0 -6
- package/build/components/ResizableHeightInput/ResizableHeightInput.d.ts +0 -11
- package/build/components/ResizableHeightInput/index.d.ts +0 -2
- package/build/components/ResizableHeightInput/index.js +0 -1
- package/build/components/ResizableHeightInput/style.d.ts +0 -7
- package/build/hooks/useActionMenu.d.ts +0 -20
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {$,Fb,A,uc,vc}from'./chunk-ZHEAWCTY.js';import {useState,useEffect,useCallback,useLayoutEffect,useRef,useMemo}from'react';import {useLocation}from'react-router';import {useTheme}from'@mui/material/styles';function U(){let{innerWidth:e,innerHeight:n}=window;return {width:e,height:n}}function ve(){let[e,n]=useState(U);return useEffect(()=>{let t;function o(){cancelAnimationFrame(t),t=requestAnimationFrame(()=>{n(U());});}return window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o),cancelAnimationFrame(t);}},[]),e}var Ee=()=>{let[e,n]=useState(false),[t,o]=useState(false),r=useCallback(()=>{n(true);},[]),s=useCallback(()=>{n(false);},[]),i=useCallback(()=>{o(true);},[]),c=useCallback(()=>{o(false);},[]);return {onMouseContentEnter:i,onMouseContentLeave:c,isHovered:e,isContentHovered:t,onMouseEnter:r,onMouseLeave:s}};function Ce({value:e,delay:n}){let[t,o]=useState(e);return useEffect(()=>{let r;return e?o(e):r=setTimeout(()=>{o(e);},n),()=>{clearTimeout(r);}},[e]),t}var ke=()=>{let[e,n]=useState(null),[t,o]=useState(void 0),[r,s]=useState(void 0),[i,c]=useState(false),[a,u]=useState(true),l=useCallback(()=>{u(false),setTimeout(()=>{u(true);},100);},[]),d=useCallback(m=>{if(m&&e?.getBoundingClientRect()){let{pageX:p,pageY:g}=m,f=e.getBoundingClientRect(),{left:w,right:v,bottom:T,top:E}=f;if(p>w&&p<v&&g>E&&g<T){c(true),setTimeout(()=>{c(false);},2e3);return}}n(null),o(void 0),s(void 0);},[e]);return {actionMenuAnchor:e,actionMenuOptions:t,selectedActionMenuId:r,isActionMenuCheckMarkHighlighted:i,setActionMenuAnchor:n,setActionMenuOptions:o,setSelectedActionMenuId:s,setIsActionMenuCheckMarkHighlighted:c,handleCloseActionMenu:d,hideDropdown:l,showActionsDropdown:a}};function Oe(e,n){let[t,o]=useState({});return useEffect(()=>{e&&o(s=>({...s,[e]:n||0}));},[n,e]),{getBadgeCount:useCallback(s=>s?t[s]:"",[t])}}var Re=()=>{let{pathname:e}=useLocation();useLayoutEffect(()=>{$()||(window.location.href="/login");},[e]);};function Be(e){return {isParameterSelected:(o,r)=>r?.map(s=>Fb(e,o,s)),getColumnOrder:o=>{let r=e.findIndex(s=>s.name?.toLowerCase()===o?.toLowerCase());return r===-1?100:r}}}var ze=e=>{let[n,t]=useState(false);return useEffect(()=>{let o=e?.current;if(!o)return;let r=new IntersectionObserver(([s])=>{t(!s.isIntersecting);});return r.observe(o),()=>r.disconnect()},[e]),{showShadow:n}};var Ne=()=>{let e=useTheme(),n=e.palette.mode==="dark",t=e.palette.mode==="light";return {isDark:n,isLight:t}};function Ye(){let[e,n]=useState(0),t=useRef(null),o=A(e),r=()=>{t.current&&(clearInterval(t.current),t.current=null);},s=()=>{r(),n(0);},i=c=>{c<=0||(t.current&&r(),n(c),t.current=setInterval(()=>{n(a=>{let u=a-1;return u<=0&&r(),u});},1e3));};return useEffect(()=>()=>{r();},[]),{timer:e,formattedTime:o,startTimer:i,stopTimer:r,resetTimer:s}}var Ze=e=>{let n=useMemo(()=>new Map(e.map(i=>[i.code.toLowerCase(),i])),[e]),t=useCallback(i=>n.get(i.toLowerCase()),[n]),o=useCallback(({appCode:i,serviceCode:c})=>t(i)?.app_services.find(({code:a})=>a.toLowerCase()===c.toLowerCase()),[t]),r=useCallback(({appCode:i,serviceCode:c})=>o({appCode:i,serviceCode:c})?.functions??[],[o]),s=useCallback(({appCode:i,serviceCode:c,functionCode:a})=>r({appCode:i,serviceCode:c}).find(({code:u})=>u?.toLowerCase()===a.toLowerCase()),[r]);return {getAppInfo:t,getServiceInfo:o,getServiceFunctions:r,getFunctionInfo:s}};function R(e){return useCallback((...n)=>{let t=new CustomEvent(e,{detail:n});window.dispatchEvent(t);},[e])}function rt(e,n){let t=useRef(n);t.current=n,useEffect(()=>{let o=r=>{let s=r;t.current(...s.detail||[]);};return window.addEventListener(e,o),()=>{window.removeEventListener(e,o);}},[e]);}var ct=(e,n)=>{let{selectedEntity:t,selectedMerchant:o,displayName:r}=useMemo(()=>{let s=n?.entities.find(a=>a.id===e?.entityId),i=s?.merchants?.find(a=>a.id===e?.merchantId),c=i?.display_name??i?.legacy_id??"Select";return {selectedEntity:s,selectedMerchant:i,displayName:c}},[n,e?.entityId,e?.merchantId]);return {selectedBrand:n,selectedEntity:t,selectedMerchant:o,displayName:r}};var ce=()=>crypto.randomUUID();function mt(){let e=R("on-toast"),n=useCallback(t=>(o,r)=>{let s=r?.id??ce();return e({action:"show",variant:t,message:o,options:{...r,id:s}}),s},[e]);return useMemo(()=>{let t=n("default");return t.success=n("success"),t.error=n("error"),t.loading=n("loading"),t.custom=n("custom"),t.dismiss=o=>{e({action:"dismiss",variant:"dismiss",toastId:o});},t.remove=o=>{e({action:"remove",variant:"remove",toastId:o});},t},[n,e])}var ue=10;function ft({threshold:e=ue,containerRef:n}={}){let[t,o]=useState(true),[r,s]=useState(false),[i,c]=useState(false),a=useCallback(l=>{let{scrollTop:d,scrollHeight:m,clientHeight:p}=l;c(m>p+e),o(d<=e),s(m-(d+p)<=e);},[e]),u=useCallback(l=>{if(l){if("currentTarget"in l){a(l.currentTarget);return}a(l);}},[a]);return useEffect(()=>{if(!n?.current)return;let l=n.current;u(l);let d=new ResizeObserver(()=>{u(l);});return d.observe(l),()=>{d.disconnect();}},[n,u]),{handleScroll:u,scrolledToTop:t,scrolledToBottom:r,scrollable:i}}var vt=(e={})=>{let{checkUrl:n="/status",checkIntervalMs:t=3e4,debounceMs:o=800,timeoutMs:r=5e3}=e,s=typeof window<"u"&&typeof navigator<"u",[i,c]=useState(s?navigator.onLine:true),[a,u]=useState(false),[l,d]=useState(null),m=useRef(null),p=useRef(null),g=useCallback(f=>{m.current!==null&&window.clearTimeout(m.current),m.current=window.setTimeout(()=>{c(f),m.current=null;},o);},[o]);return useEffect(()=>{if(!s)return;let f=null,w=()=>{p.current!==null&&(window.clearInterval(p.current),p.current=null);},v=async()=>{u(true),d(null),f?.abort(),f=new AbortController;try{let C=window.setTimeout(()=>{f?.abort();},r),x=await fetch(n,{method:"GET",cache:"no-store",signal:f.signal});window.clearTimeout(C);let A=x.ok;g(A),A?w():d(`Health check failed with status ${x.status}`);}catch{g(false),d("Unable to reach network");}finally{u(false);}},T=()=>{w(),g(true);},E=()=>{g(false),w(),v(),p.current=window.setInterval(v,t);};return window.addEventListener("online",T),window.addEventListener("offline",E),navigator.onLine||(v(),p.current=window.setInterval(v,t)),()=>{window.removeEventListener("online",T),window.removeEventListener("offline",E),m.current!==null&&window.clearTimeout(m.current),w(),f?.abort();}},[s,n,t,o,r,g]),s?{isOnline:i,isChecking:a,error:l}:{isOnline:false,isChecking:false,error:"Online status is only available in a browser environment."}};var Mt=(e={},n,t)=>{let o=uc(e,t.requiredFilterKeys);return {columns:useMemo(()=>vc(n,o,t),[n,o])}};function xt(e,n){return useCallback(t=>{t.key==="Enter"?(t.preventDefault(),e(),n(t)):t.key==="Escape"&&n(t);},[e,n])}function Lt(){let[e,n]=useState(true);return {onScrollHandler:useCallback(o=>{let{scrollTop:r,scrollHeight:s,clientHeight:i}=o.currentTarget,c=r===0||i<s-r-1;n(a=>a===c?a:c);},[]),showShadow:e}}export{ve as a,Ee as b,Ce as c,ke as d,Oe as e,Re as f,Be as g,ze as h,Ne as i,Ye as j,Ze as k,R as l,rt as m,ct as n,mt as o,ft as p,vt as q,Mt as r,xt as s,Lt as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-PYBAY4RD.js';import {a}from'./chunk-TYUXEDNW.js';import {r}from'./chunk-XB6KSBAO.js';import {Cc,zc,Fa,Ga,Ea,h}from'./chunk-ZHEAWCTY.js';import {Yc,Xc,Oc,Nc,Mc,Pc,Te}from'./chunk-M5HS3EYQ.js';import {useRef,useId,useState,useEffect}from'react';import {useTranslation}from'react-i18next';import {createPortal}from'react-dom';import {styled,alpha}from'@mui/material';import oe from'@mui/material/Popover';import Ne from'react-currency-input-field';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var te=styled("div")(({showWarning:e})=>({display:"flex",gap:"0.25rem",justifyContent:"flex-start",alignItems:"flex-start",padding:"0.25rem",borderRadius:"0.25rem",width:"14.25rem",minHeight:e?"3.6rem":"2.5rem"})),re=styled("div")(()=>({display:"flex",flexDirection:"column",width:"100%"})),ie=styled("div")(()=>({display:"flex",alignItems:"flex-start",justifyContent:"space-between",flex:1})),ae=styled("div")(({theme:e,showWarning:n,showDropDown:t})=>({height:"2rem",border:n?`1px solid ${e.palette.common.red}24`:t?`1px solid ${e.palette.info.dark}`:`1px solid ${e.palette.grey[100]}`,borderRadius:n?"0.25rem 0.25rem 0rem 0rem":"0.25rem",display:"flex",alignItems:"center",justifyContent:"space-between",paddingRight:"0.5rem",paddingLeft:"0.5rem",paddingTop:"0.25rem",paddingBottom:"0.25rem",margin:0,zIndex:4e3,...t&&{boxShadow:`0px 0px 4px 0px ${e.palette.info.dark}80`}})),se=styled("div")(({theme:e})=>({height:"1.1rem",borderRadius:"0rem 0rem 0.25rem 0.25rem",display:"flex",justifyContent:"flex-start",margin:0,alignItems:"center",background:e.palette.background.gradient.error,paddingLeft:"0.5rem"})),le=styled("p")(({theme:e})=>({color:e.palette.common.red,fontSize:"0.62rem",fontWeight:400,fontFamily:"Lato",padding:0,margin:0,paddingLeft:"0.25rem"})),de=styled("img")({height:"auto",width:"auto",verticalAlign:"top"}),ce=styled("div")({display:"flex",flexDirection:"column",justifyContent:"center"}),pe=styled("div")({display:"flex",height:"0.8rem",alignItems:"center",width:"8.5rem"}),me=styled(Ne)(({theme:e,showWarning:n,disabled:t})=>({color:n?e.palette.common.red:e.palette.text.primary,fontSize:"0.8125rem",fontWeight:600,width:"4.5rem",height:"0.9rem",border:"none",outline:"none",textAlign:"right",padding:0,"&::-webkit-outer-spin-button":{appearance:"none",margin:0},"&::-webkit-inner-spin-button":{appearance:"none",margin:0},backgroundColor:"transparent",alignSelf:"flex-end","&::placeholder":{color:e.palette.grey.A400},...t&&{opacity:.3}})),ue=styled("p")(({theme:e})=>({color:e.palette.text.primary,fontSize:"0.8125rem",fontWeight:600,width:"5.2rem",border:"none",outline:"none",padding:0,margin:0,paddingLeft:16,textAlign:"right","&::-webkit-outer-spin-button":{appearance:"none",margin:0},"&::-webkit-inner-spin-button":{appearance:"none",margin:0},alignSelf:"center"})),v=styled("p")(({theme:e,showWarning:n,showBottomPadding:t,autoMargin:i})=>({color:n?e.palette.common.red:e.palette.grey[700],fontSize:"0.625rem",fontWeight:500,padding:0,margin:0,height:t?"0.43rem":"auto",...t&&{lineHeight:"0.625",leadingTrim:"both",paddingBottom:"0.31rem"},...i&&{paddingBottom:"0.43rem",lineHeight:"0.625"}})),Qe=styled("div")({display:"flex"}),A=styled(Qe)(({limited:e,paddingTop:n,marginRightAuto:t})=>({paddingRight:"0.5rem",alignItems:"center",cursor:"pointer",...t&&{marginRight:"auto"},...e&&{width:"3rem"},...n&&{paddingTop:"0.31rem"}})),M=styled("p")(({theme:e})=>({color:e.palette.text.primary,fontSize:"0.68rem",fontWeight:500,margin:0,padding:0,textTransform:"capitalize",paddingRight:"0.25rem",paddingLeft:"0.2rem",lineHeight:"0.865"})),ge=styled("div")({width:0,height:0}),fe=styled(oe)(({theme:e})=>({backgroundColor:e.palette.background.default,boxShadow:e.shadows[21],"& .MuiPaper-root":{borderRadius:"0.25rem"}})),F=styled("div")(({theme:e,disabled:n,isRefundInProcess:t,warning:i,isHighlighted:a})=>({borderRadius:"0.3rem",backgroundColor:e.palette.common.white,border:`1px solid ${t?e.palette.info.dark:e.palette.grey[100]}`,width:"2rem",height:"2rem",display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",pointerEvents:n?"none":"auto",transition:"all 0.2s ease-in-out","&:hover":{border:`1px solid ${i?e.palette.common.red:e.palette.info.dark}`},...a&&{border:`1px solid ${e.palette.info.dark}`},...n&&{opacity:.3}})),H=styled("img")(()=>({width:"0.85rem",height:"0.85rem"})),he=styled(oe)(({theme:e})=>({backgroundColor:"transparent",boxShadow:e.shadows[21],borderRadius:"0.25rem","& .MuiPaper-root":{borderRadius:"0.25rem"}})),ye=styled("div")(({showDaysMenu:e})=>({height:e?"4.5rem":"auto"})),Ce=styled("div")(({theme:e})=>({display:"flex",alignItems:"flex-start",justifyContent:"space-between",borderBottom:`1px solid ${e.palette.grey[100]}`,maxWidth:"9.25rem",height:"2.75rem",padding:"0.5rem",cursor:"pointer",gap:"0.31rem",flexDirection:"column",transition:"all 0.2s ease-in-out","&:hover":{boxShadow:`0px 0px 16px 0px ${alpha(e.palette.common.black,.13)}`}})),we=styled("img")(({spaceFromBottom:e,currencyPadding:n})=>({height:"0.4rem",width:"0.6rem",cursor:"pointer",marginBottom:e||n?"0":"auto",verticalAlign:"middle",...e&&{marginTop:"2px"}}));var Ye=({selectedCurrency:e,option:n,closeDropdown:t,handleSelectOption:i})=>{let{t:a$1}=useTranslation();return jsxs(Ce,{onClick:()=>{i&&i(n.value,n?.currency),t();},children:[jsx(v,{showBottomPadding:true,showWarning:false,children:a$1(n.name)}),jsxs(pe,{children:[jsxs(A,{marginRightAuto:true,children:[jsx(a,{currencyCode:n?.currency??e,width:"0.76rem"}),jsx(M,{children:n?.currency??e})]}),jsx(ue,{showWarning:false,children:Fa(n.value||0,n?.currency??e)})]})]})};function Ze({menuAnchor:e,showDropDown:n,selectedCurrency:t,options:i,closeDropdown:a,handleSelectOption:h}){if(i.length<=1)return null;let y=Cc("action-menu-option");return jsx(he,{open:n,anchorEl:e,anchorOrigin:{vertical:18,horizontal:-76},style:{backgroundColor:"transparent",zIndex:4e3,padding:0,margin:0},onClose:a,children:jsx(ye,{children:i.map((c,g)=>jsx(Ye,{selectedCurrency:t,option:c,closeDropdown:a,handleSelectOption:h},y(c.name||c.currency,g)))})})}var $=Ze;function nn({showWarning:e,selectedCurrency:n,onAmountChange:t,amount:i,currencyConfig:a$2,toggleDropDown:h,showDropDown:y,showDropdownIcon:c,disabled:g,isLoading:C}){let{t:S}=useTranslation(),w=useRef(null),b=()=>{w.current&&w.current.click();};return jsxs(Fragment,{children:[jsxs(ce,{children:[jsx(v,{showBottomPadding:true,showWarning:e,children:S("amount")}),jsxs(A,{limited:true,paddingTop:true,onClick:b,children:[jsx(a,{currencyCode:n,width:"0.76rem"}),jsx(M,{children:jsx(a$1,{currency:n})}),!e&&c&&jsx(we,{src:y?Yc:Xc,alt:"drop-down icon",currencyPadding:true})]})]}),jsx(ge,{ref:w,onClick:h}),C?jsx(r,{variant:"text",width:"100%",height:"100%"}):jsx(me,{disabled:g,placeholder:a$2[n]?"0.000":"0.00",onValueChange:t,value:i,decimalsLimit:a$2[n]??2,showWarning:e||false,decimalScale:a$2[n]??2,autoFocus:true})]})}var B=nn;function ln({anchorEl:e,initialAmount:n,options:t,onConfirm:i,handleClose:a,currency:h$1,isCheckMarkHighlighted:y}){let c=zc(useId(),"action-menu"),{t:g}=useTranslation(),[C,S]=useState(n?.toString()),[w,b]=useState(),[f,k]=useState(""),Se=useRef(null),[R,E]=useState(false),[p,De]=useState(h$1),j=false,[Ie,ve]=useState(false),[Ae,G]=useState(Oc),[Me,K]=useState(Nc),ke=useRef(),Re=()=>{b(void 0),E(false);};useEffect(()=>{ke.current?.focus();},[Ie]);let Ee=()=>{Re(),ve(r=>!r);},We=!!e,Pe=r=>{E(m=>!m),b(r.currentTarget);},Te$1=t?.find(r=>r.currency===p)?.value,Oe=Fa(Te$1||0,p),Fe=`${g("maxAllowed")} ${Oe}`,He=`${g("minAllowed")} ${Ga(.1,p||"KWD")}`,Le=r=>{let m=h(r);m>n?k(Fe):m<.1&&r!==void 0?k(He):k(""),S(r);},$e=(r,m)=>{let qe=Ga(r||0,m||"KWD");S(qe),De(m||p);},U=r=>{b(void 0),E(false),a(r);},ze=()=>{K(Pc);},Be=()=>{K(Nc);},V=r=>{U(r);},je=()=>{U();},Ge=()=>{G(Te);},Ke=()=>{G(Oc);},Ue=()=>{i?.(h(C),p),V();},Ve=!!f||!C;return createPortal(jsx(fe,{id:c,"data-testid":"ActionMenu",open:We,anchorEl:e,style:{backgroundColor:"transparent",zIndex:3e3},"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",anchorOrigin:{vertical:"top",horizontal:-234},ref:Se,onClose:r=>{V(r);},children:jsxs(te,{showWarning:!!f,children:[jsxs(re,{children:[jsxs(ae,{showWarning:!!f,showDropDown:R,children:[jsx(B,{showWarning:!!f,selectedCurrency:p,onAmountChange:Le,amount:C,currencyConfig:Ea,toggleDropDown:Pe,showDropDown:!R,showDropdownIcon:(t?.length||0)>1}),jsx($,{showDropDown:R,menuAnchor:w,selectedCurrency:p,closeDropdown:Ee,options:t??[],handleSelectOption:$e})]}),!!f&&jsxs(se,{children:[jsx(de,{src:Mc,alt:"info"}),jsx(le,{children:f})]})]}),jsxs(ie,{children:[jsx(F,{onMouseLeave:Ke,onMouseEnter:Ge,warning:true,role:"button",onClick:je,children:jsx(H,{isRefundInProcess:j,src:Ae,alt:"Cross icon"})}),jsx(F,{onMouseLeave:Be,onMouseEnter:ze,isRefundInProcess:j,disabled:Ve,role:"button",onClick:Ue,isHighlighted:y,children:jsx(H,{src:Me,alt:"Check icon"})})]})]})}),document.body)}var xe=ln;var jn=xe;export{$ as a,B as b,jn as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {zc}from'./chunk-ZHEAWCTY.js';import {memo,useId,useState,useRef}from'react';import l from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var p=styled(l)(({theme:e})=>({position:"absolute",color:e.palette.grey[700],zIndex:0})),u=styled(l)(()=>({position:"relative",flexGrow:1,fontSize:"11px"}));function D({value:e,updateValue:m,placeholder:f,sx:g,maxLength:r}){let x=zc(useId(),"resizable-height-input"),[h,i]=useState(false),n=useRef(null);return jsxs(u,{id:x,"data-testid":"ResizableHeightInput",sx:g,onClick:()=>{n.current&&n.current.focus(),i(true);},children:[!h&&!e&&jsx(p,{children:f}),jsx(l,{contentEditable:true,suppressContentEditableWarning:true,sx:{outline:"none",flexGrow:1},onBlur:t=>{let o=t.target;m(o.innerText),i(false);},ref:n,onKeyDown:t=>{let o=t.target;r&&o.innerText.length>=r&&t.preventDefault();},children:e})]})}var c=memo(D);var k=c;export{k as a};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { ActionMenuProps } from './type';
|
|
3
|
-
export type Timers = 'days' | 'hours' | 'minutes';
|
|
4
|
-
declare function ActionMenu({ anchorEl, initialAmount, options, onConfirm, handleClose, currency, isCheckMarkHighlighted }: ActionMenuProps): import("react").ReactPortal;
|
|
5
|
-
export default ActionMenu;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CurrencyCodes } from '../../types/index.js';
|
|
3
|
-
interface IOptions {
|
|
4
|
-
name: string;
|
|
5
|
-
value?: number;
|
|
6
|
-
currency?: string;
|
|
7
|
-
}
|
|
8
|
-
interface ActionMenuDropDownProps {
|
|
9
|
-
menuAnchor: (EventTarget & Element) | undefined;
|
|
10
|
-
showDropDown: boolean;
|
|
11
|
-
selectedCurrency: CurrencyCodes;
|
|
12
|
-
options: IOptions[];
|
|
13
|
-
closeDropdown: () => void;
|
|
14
|
-
handleSelectOption?: (optionCharge?: number, optionCurrency?: CurrencyCodes) => void;
|
|
15
|
-
}
|
|
16
|
-
declare function ActionMenuDropDown({ menuAnchor, showDropDown, selectedCurrency, options, closeDropdown, handleSelectOption }: ActionMenuDropDownProps): import("react").JSX.Element | null;
|
|
17
|
-
export default ActionMenuDropDown;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { SyntheticEvent } from 'react';
|
|
2
|
-
import { CurrencyCodes } from '../../types/index.js';
|
|
3
|
-
interface ActionMenuItemProps {
|
|
4
|
-
showWarning?: boolean;
|
|
5
|
-
selectedCurrency: CurrencyCodes;
|
|
6
|
-
onAmountChange: (value?: string) => void;
|
|
7
|
-
amount: string | undefined;
|
|
8
|
-
currencyConfig: Record<string, number>;
|
|
9
|
-
toggleDropDown: (event: SyntheticEvent) => void;
|
|
10
|
-
showDropDown: boolean;
|
|
11
|
-
showDropdownIcon: boolean;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
isLoading?: boolean;
|
|
14
|
-
}
|
|
15
|
-
declare function ActionMenuItem({ showWarning, selectedCurrency, onAmountChange, amount, currencyConfig, toggleDropDown, showDropDown, showDropdownIcon, disabled, isLoading, }: ActionMenuItemProps): import("react").JSX.Element;
|
|
16
|
-
export default ActionMenuItem;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as ActionMenuDropDown,b as ActionMenuItem,c as default}from'../../_chunks/chunk-JCOA42LB.js';import'../../_chunks/chunk-PYBAY4RD.js';import'../../_chunks/chunk-TYUXEDNW.js';import'../../_chunks/chunk-XB6KSBAO.js';import'../../_chunks/chunk-ZHEAWCTY.js';import'../../_chunks/chunk-M5HS3EYQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
3
|
-
showWarning: boolean;
|
|
4
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
-
export declare const FirstContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const SecondContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
-
export declare const StyledRowOfFirstContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
8
|
-
showWarning: boolean;
|
|
9
|
-
showDropDown: boolean;
|
|
10
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
|
-
export declare const StyledSecondRowOfFirstContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
12
|
-
export declare const StyledWarning: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
13
|
-
export declare const StyledWarningInfoIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
14
|
-
export declare const Charge: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
|
-
export declare const DropDownChargeGapColumn: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
16
|
-
export declare const StyledAmount: import("@emotion/styled").StyledComponent<Pick<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
17
|
-
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
18
|
-
}, "width" | "height" | "color" | "content" | "translate" | "type" | "value" | "list" | "name" | "form" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "children" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "capture" | "ref" | "pattern" | "key" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "size" | "max" | "min" | "accept" | "alt" | "autoComplete" | "checked" | "minLength" | "multiple" | "readOnly" | "required" | "src"> & {
|
|
19
|
-
allowDecimals?: boolean | undefined;
|
|
20
|
-
allowNegativeValue?: boolean | undefined;
|
|
21
|
-
id?: string | undefined;
|
|
22
|
-
maxLength?: number | undefined;
|
|
23
|
-
className?: string | undefined;
|
|
24
|
-
customInput?: import("react").ElementType | undefined;
|
|
25
|
-
decimalsLimit?: number | undefined;
|
|
26
|
-
decimalScale?: number | undefined;
|
|
27
|
-
defaultValue?: string | number | undefined;
|
|
28
|
-
disabled?: boolean | undefined;
|
|
29
|
-
fixedDecimalLength?: number | undefined;
|
|
30
|
-
onValueChange?: ((value: string | undefined, name?: string | undefined, values?: import("react-currency-input-field").CurrencyInputOnChangeValues | undefined) => void) | undefined;
|
|
31
|
-
placeholder?: string | undefined;
|
|
32
|
-
prefix?: string | undefined;
|
|
33
|
-
suffix?: string | undefined;
|
|
34
|
-
step?: number | undefined;
|
|
35
|
-
decimalSeparator?: string | undefined;
|
|
36
|
-
groupSeparator?: string | undefined;
|
|
37
|
-
disableGroupSeparators?: boolean | undefined;
|
|
38
|
-
disableAbbreviations?: boolean | undefined;
|
|
39
|
-
intlConfig?: import("react-currency-input-field").IntlConfig | undefined;
|
|
40
|
-
transformRawValue?: ((rawValue: string) => string) | undefined;
|
|
41
|
-
formatValueOnBlur?: boolean | undefined;
|
|
42
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
43
|
-
showWarning: boolean;
|
|
44
|
-
}, {}, {}>;
|
|
45
|
-
export declare const StyledTextAmount: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
46
|
-
showWarning: boolean;
|
|
47
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
48
|
-
export declare const EnglishAmount: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
49
|
-
showWarning?: boolean | undefined;
|
|
50
|
-
showBottomPadding?: boolean | undefined;
|
|
51
|
-
autoMargin?: boolean | undefined;
|
|
52
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
53
|
-
export declare const FlexContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
54
|
-
export declare const StyledIconRowContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
55
|
-
limited?: boolean | undefined;
|
|
56
|
-
paddingTop?: boolean | undefined;
|
|
57
|
-
marginRightAuto?: boolean | undefined;
|
|
58
|
-
}, {}, {}>;
|
|
59
|
-
export declare const StyledCurrency: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
60
|
-
export declare const StyledMissingDiv: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
61
|
-
export declare const StyledPopover: import("@emotion/styled").StyledComponent<import("@mui/material").PopoverProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
62
|
-
export declare const IconContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
63
|
-
disabled?: boolean | undefined;
|
|
64
|
-
isRefundInProcess?: boolean | undefined;
|
|
65
|
-
warning?: boolean | undefined;
|
|
66
|
-
isHighlighted?: boolean | undefined;
|
|
67
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
68
|
-
export declare const StyledIcons: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
69
|
-
isRefundInProcess?: boolean | undefined;
|
|
70
|
-
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
71
|
-
export declare const StyledDropdown: import("@emotion/styled").StyledComponent<import("@mui/material").PopoverProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
72
|
-
export declare const StyledDropDownContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
73
|
-
showDaysMenu?: boolean | undefined;
|
|
74
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
75
|
-
export declare const StyledMenuItem: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
76
|
-
export declare const StyledDropDownIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
77
|
-
spaceFromBottom?: boolean | undefined;
|
|
78
|
-
currencyPadding?: boolean | undefined;
|
|
79
|
-
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { SyntheticEvent } from 'react';
|
|
2
|
-
import { CurrencyCodes } from '../../types/index.js';
|
|
3
|
-
export interface ActionMenuProps {
|
|
4
|
-
anchorEl: HTMLElement | null;
|
|
5
|
-
initialAmount: number;
|
|
6
|
-
currency: CurrencyCodes;
|
|
7
|
-
options?: Array<{
|
|
8
|
-
name: string;
|
|
9
|
-
value?: number;
|
|
10
|
-
currency?: string;
|
|
11
|
-
}>;
|
|
12
|
-
onConfirm?: (amount: number, currency: string) => void;
|
|
13
|
-
handleClose: (e?: SyntheticEvent) => void;
|
|
14
|
-
isCheckMarkHighlighted?: boolean;
|
|
15
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CustomColumnFilterProps } from '../VirtualTables';
|
|
3
|
-
export interface AmountConversionFilterProps extends CustomColumnFilterProps {
|
|
4
|
-
options: {
|
|
5
|
-
value: string;
|
|
6
|
-
label: string;
|
|
7
|
-
}[];
|
|
8
|
-
label: string;
|
|
9
|
-
onConfirm: () => void;
|
|
10
|
-
onClear: () => void;
|
|
11
|
-
selectedCurrencies: string[];
|
|
12
|
-
onCurrenciesChange: (currencies: string[]) => void;
|
|
13
|
-
selectedRadioValue: string;
|
|
14
|
-
onRadioButtonChange: (val: string) => void;
|
|
15
|
-
showCurrencyMenu: boolean;
|
|
16
|
-
merchantCurrencies: {
|
|
17
|
-
currencyCode: string;
|
|
18
|
-
}[];
|
|
19
|
-
}
|
|
20
|
-
export default function AmountConversionFilter({ anchorEl, onCloseDropdown, options, label, onConfirm, onClear, selectedCurrencies, onCurrenciesChange, selectedRadioValue, onRadioButtonChange, showCurrencyMenu, merchantCurrencies, }: Readonly<AmountConversionFilterProps>): import("react").JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface CurrencyFilterProps {
|
|
3
|
-
selectedCurrencies?: string[];
|
|
4
|
-
onCurrenciesChange: (currencies: string[]) => void;
|
|
5
|
-
merchantCurrencies: {
|
|
6
|
-
currencyCode: string;
|
|
7
|
-
}[];
|
|
8
|
-
}
|
|
9
|
-
export default function MultiSelectCurrencyFilter({ selectedCurrencies, onCurrenciesChange, merchantCurrencies: merchantCurrencyList, }: Readonly<CurrencyFilterProps>): import("react").JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as AmountConversionFilter, type AmountConversionFilterProps } from './AmountConversionFilter';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{jd as AmountConversionFilter}from'../../_chunks/chunk-AARAZJSO.js';import'../../_chunks/chunk-6LUO6OBJ.js';import'../../_chunks/chunk-2KZCGQ2J.js';import'../../_chunks/chunk-6TZC6ADP.js';import'../../_chunks/chunk-CB7QJIZT.js';import'../../_chunks/chunk-7PRJUDGP.js';import'../../_chunks/chunk-TCP65H54.js';import'../../_chunks/chunk-GJCU6ZVE.js';import'../../_chunks/chunk-MWDLX22N.js';import'../../_chunks/chunk-A2KZC66L.js';import'../../_chunks/chunk-4QFJRJGW.js';import'../../_chunks/chunk-VS4GPQTT.js';import'../../_chunks/chunk-AFMJ46QZ.js';import'../../_chunks/chunk-6KQKDDLC.js';import'../../_chunks/chunk-UZJJQWCT.js';import'../../_chunks/chunk-UDDOFJHJ.js';import'../../_chunks/chunk-4WHJ7C3Y.js';import'../../_chunks/chunk-2RBU3WZ4.js';import'../../_chunks/chunk-JKOG6QAB.js';import'../../_chunks/chunk-YSMDH3WQ.js';import'../../_chunks/chunk-MVPNFQCV.js';import'../../_chunks/chunk-SLOXJ5HL.js';import'../../_chunks/chunk-7HRMITJB.js';import'../../_chunks/chunk-MAZVGT6F.js';import'../../_chunks/chunk-VKHUWB7W.js';import'../../_chunks/chunk-CWX3YQHY.js';import'../../_chunks/chunk-RUSK5W42.js';import'../../_chunks/chunk-VAXOBYQH.js';import'../../_chunks/chunk-FIYSYENR.js';import'../../_chunks/chunk-JQV74CFY.js';import'../../_chunks/chunk-WF2OFWBH.js';import'../../_chunks/chunk-K7BX77NR.js';import'../../_chunks/chunk-OGFZTWW2.js';import'../../_chunks/chunk-4YYASHPB.js';import'../../_chunks/chunk-YOFP6Q2H.js';import'../../_chunks/chunk-DILHFFYM.js';import'../../_chunks/chunk-PDRNFDWB.js';import'../../_chunks/chunk-CJBK6DV4.js';import'../../_chunks/chunk-D5DOI2CG.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-2K7FRRCP.js';import'../../_chunks/chunk-FPR4MUXK.js';import'../../_chunks/chunk-R3H5ZLCU.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-ES5ERGO6.js';import'../../_chunks/chunk-RJGHAJAS.js';import'../../_chunks/chunk-RCTRSOJN.js';import'../../_chunks/chunk-RQRTDUVJ.js';import'../../_chunks/chunk-U4TG6SH2.js';import'../../_chunks/chunk-HXIYFSTZ.js';import'../../_chunks/chunk-KGJKMOL6.js';import'../../_chunks/chunk-T7VGACSG.js';import'../../_chunks/chunk-6NTTIIW2.js';import'../../_chunks/chunk-MW3S7RYL.js';import'../../_chunks/chunk-7UR4RFOF.js';import'../../_chunks/chunk-VSI64YFN.js';import'../../_chunks/chunk-N7IZEJPM.js';import'../../_chunks/chunk-QCWTNVJS.js';import'../../_chunks/chunk-OQXHFUUW.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-3XNXNKGA.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-IRTMCMMM.js';import'../../_chunks/chunk-42BRQZI3.js';import'../../_chunks/chunk-34DUFFV5.js';import'../../_chunks/chunk-3352EIHQ.js';import'../../_chunks/chunk-WA2NAHKX.js';import'../../_chunks/chunk-FINICJL3.js';import'../../_chunks/chunk-4W4V45ZR.js';import'../../_chunks/chunk-3JDO4H7Q.js';import'../../_chunks/chunk-Z3B4EDSN.js';import'../../_chunks/chunk-LGIGA7B2.js';import'../../_chunks/chunk-JCOA42LB.js';import'../../_chunks/chunk-PYBAY4RD.js';import'../../_chunks/chunk-TYUXEDNW.js';import'../../_chunks/chunk-67EIV5FM.js';import'../../_chunks/chunk-2VS35WT4.js';import'../../_chunks/chunk-PIVDC3CV.js';import'../../_chunks/chunk-A4SRSOLM.js';import'../../_chunks/chunk-V4IMVJZP.js';import'../../_chunks/chunk-XB6KSBAO.js';import'../../_chunks/chunk-F3BU4KEC.js';import'../../_chunks/chunk-3ZQC3MDU.js';import'../../_chunks/chunk-K3VCY2Z7.js';import'../../_chunks/chunk-ZHEAWCTY.js';import'../../_chunks/chunk-M5HS3EYQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const MenuItemStyled: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").MenuItemProps, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
5
|
-
export declare const FilterMenu: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").MenuProps, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
6
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
8
|
-
export declare const SubMenu: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").MenuProps, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
9
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
11
|
-
export declare const CurrencySubMenu: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").MenuProps, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
12
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
13
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
14
|
-
export declare const FilterMenuItem: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").MenuItemProps, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
15
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
16
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
17
|
-
export declare const CurrencyMenuItem: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").MenuItemProps, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
18
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
19
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
2
|
-
import type { FieldFeedbackProps } from '../index.js';
|
|
3
|
-
import type { SliderProps } from '../primitives';
|
|
4
|
-
export interface AmountSliderProps extends SliderProps {
|
|
5
|
-
currency?: string;
|
|
6
|
-
label?: ReactNode;
|
|
7
|
-
minLabel?: ReactNode;
|
|
8
|
-
maxLabel?: ReactNode;
|
|
9
|
-
feedback?: FieldFeedbackProps | null;
|
|
10
|
-
formatValue?: (value: number) => string;
|
|
11
|
-
hideCurrency?: boolean;
|
|
12
|
-
}
|
|
13
|
-
declare function AmountSlider({ value, min, max, step, disabled, currency, onChange, label, minLabel, maxLabel, feedback, formatValue, hideCurrency, ...rest }: AmountSliderProps): import("react").JSX.Element;
|
|
14
|
-
declare namespace AmountSlider {
|
|
15
|
-
var displayName: string;
|
|
16
|
-
}
|
|
17
|
-
declare const _default: import("react").MemoExoticComponent<typeof AmountSlider>;
|
|
18
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-AARAZJSO.js';import'../../_chunks/chunk-6LUO6OBJ.js';import'../../_chunks/chunk-2KZCGQ2J.js';import'../../_chunks/chunk-6TZC6ADP.js';import'../../_chunks/chunk-CB7QJIZT.js';import'../../_chunks/chunk-7PRJUDGP.js';import'../../_chunks/chunk-TCP65H54.js';import'../../_chunks/chunk-GJCU6ZVE.js';import'../../_chunks/chunk-MWDLX22N.js';import'../../_chunks/chunk-A2KZC66L.js';import'../../_chunks/chunk-4QFJRJGW.js';import'../../_chunks/chunk-VS4GPQTT.js';import'../../_chunks/chunk-AFMJ46QZ.js';import'../../_chunks/chunk-6KQKDDLC.js';import'../../_chunks/chunk-UZJJQWCT.js';import'../../_chunks/chunk-UDDOFJHJ.js';import'../../_chunks/chunk-4WHJ7C3Y.js';import'../../_chunks/chunk-2RBU3WZ4.js';import'../../_chunks/chunk-JKOG6QAB.js';import'../../_chunks/chunk-YSMDH3WQ.js';import'../../_chunks/chunk-MVPNFQCV.js';import'../../_chunks/chunk-SLOXJ5HL.js';import'../../_chunks/chunk-7HRMITJB.js';import'../../_chunks/chunk-MAZVGT6F.js';import'../../_chunks/chunk-VKHUWB7W.js';import'../../_chunks/chunk-CWX3YQHY.js';import'../../_chunks/chunk-RUSK5W42.js';import'../../_chunks/chunk-VAXOBYQH.js';import'../../_chunks/chunk-FIYSYENR.js';import'../../_chunks/chunk-JQV74CFY.js';import'../../_chunks/chunk-WF2OFWBH.js';import'../../_chunks/chunk-K7BX77NR.js';import'../../_chunks/chunk-OGFZTWW2.js';import'../../_chunks/chunk-4YYASHPB.js';import'../../_chunks/chunk-YOFP6Q2H.js';import'../../_chunks/chunk-DILHFFYM.js';import'../../_chunks/chunk-PDRNFDWB.js';import'../../_chunks/chunk-CJBK6DV4.js';import'../../_chunks/chunk-D5DOI2CG.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-2K7FRRCP.js';import'../../_chunks/chunk-FPR4MUXK.js';import'../../_chunks/chunk-R3H5ZLCU.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-ES5ERGO6.js';import'../../_chunks/chunk-RJGHAJAS.js';import'../../_chunks/chunk-RCTRSOJN.js';import'../../_chunks/chunk-RQRTDUVJ.js';import'../../_chunks/chunk-U4TG6SH2.js';import'../../_chunks/chunk-HXIYFSTZ.js';import'../../_chunks/chunk-KGJKMOL6.js';import'../../_chunks/chunk-T7VGACSG.js';import'../../_chunks/chunk-6NTTIIW2.js';import'../../_chunks/chunk-MW3S7RYL.js';import'../../_chunks/chunk-7UR4RFOF.js';import'../../_chunks/chunk-VSI64YFN.js';import'../../_chunks/chunk-N7IZEJPM.js';import'../../_chunks/chunk-QCWTNVJS.js';import'../../_chunks/chunk-OQXHFUUW.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-3XNXNKGA.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-IRTMCMMM.js';import'../../_chunks/chunk-42BRQZI3.js';import'../../_chunks/chunk-34DUFFV5.js';import'../../_chunks/chunk-3352EIHQ.js';import'../../_chunks/chunk-WA2NAHKX.js';import'../../_chunks/chunk-FINICJL3.js';import'../../_chunks/chunk-4W4V45ZR.js';import'../../_chunks/chunk-3JDO4H7Q.js';import'../../_chunks/chunk-Z3B4EDSN.js';import'../../_chunks/chunk-LGIGA7B2.js';import'../../_chunks/chunk-JCOA42LB.js';import'../../_chunks/chunk-PYBAY4RD.js';import'../../_chunks/chunk-TYUXEDNW.js';import'../../_chunks/chunk-67EIV5FM.js';import'../../_chunks/chunk-2VS35WT4.js';import'../../_chunks/chunk-PIVDC3CV.js';import'../../_chunks/chunk-A4SRSOLM.js';import'../../_chunks/chunk-V4IMVJZP.js';import'../../_chunks/chunk-XB6KSBAO.js';import'../../_chunks/chunk-F3BU4KEC.js';import'../../_chunks/chunk-3ZQC3MDU.js';import'../../_chunks/chunk-K3VCY2Z7.js';import'../../_chunks/chunk-ZHEAWCTY.js';import'../../_chunks/chunk-M5HS3EYQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Wrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
-
export declare const AmountLabel: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
6
|
-
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
7
|
-
}, "width" | "minWidth" | "minHeight" | "height" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "align" | "className" | "style" | "children" | "sx" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
8
|
-
export declare const InputWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
11
|
-
export declare const AmountFieldRow: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
12
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
13
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
14
|
-
export declare const AmountValue: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
15
|
-
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
16
|
-
}, "width" | "minWidth" | "minHeight" | "height" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "align" | "className" | "style" | "children" | "sx" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
17
|
-
export declare const RangeLabel: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
18
|
-
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
19
|
-
}, "width" | "minWidth" | "minHeight" | "height" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "align" | "className" | "style" | "children" | "sx" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
20
|
-
export declare const CurrencyText: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
21
|
-
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
22
|
-
}, "width" | "minWidth" | "minHeight" | "height" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "align" | "className" | "style" | "children" | "sx" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
23
|
-
export declare const SliderWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
24
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
25
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CustomColumnFilterProps } from '../VirtualTables';
|
|
3
|
-
export interface CurrencyFilterProps extends CustomColumnFilterProps {
|
|
4
|
-
onConfirm: (currencies?: string[]) => void;
|
|
5
|
-
selectedCurrencies?: string[];
|
|
6
|
-
onCurrenciesChange: (currencies?: string[]) => void;
|
|
7
|
-
merchantCurrencies: {
|
|
8
|
-
currencyCode: string;
|
|
9
|
-
}[];
|
|
10
|
-
}
|
|
11
|
-
export default function CurrencyFilter({ selectedCurrencies, onCurrenciesChange, merchantCurrencies, anchorEl, onCloseDropdown, onConfirm, }: Readonly<CurrencyFilterProps>): import("react").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as CurrencyFilter, type CurrencyFilterProps } from './CurrencyFilter';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{id as CurrencyFilter}from'../../_chunks/chunk-AARAZJSO.js';import'../../_chunks/chunk-6LUO6OBJ.js';import'../../_chunks/chunk-2KZCGQ2J.js';import'../../_chunks/chunk-6TZC6ADP.js';import'../../_chunks/chunk-CB7QJIZT.js';import'../../_chunks/chunk-7PRJUDGP.js';import'../../_chunks/chunk-TCP65H54.js';import'../../_chunks/chunk-GJCU6ZVE.js';import'../../_chunks/chunk-MWDLX22N.js';import'../../_chunks/chunk-A2KZC66L.js';import'../../_chunks/chunk-4QFJRJGW.js';import'../../_chunks/chunk-VS4GPQTT.js';import'../../_chunks/chunk-AFMJ46QZ.js';import'../../_chunks/chunk-6KQKDDLC.js';import'../../_chunks/chunk-UZJJQWCT.js';import'../../_chunks/chunk-UDDOFJHJ.js';import'../../_chunks/chunk-4WHJ7C3Y.js';import'../../_chunks/chunk-2RBU3WZ4.js';import'../../_chunks/chunk-JKOG6QAB.js';import'../../_chunks/chunk-YSMDH3WQ.js';import'../../_chunks/chunk-MVPNFQCV.js';import'../../_chunks/chunk-SLOXJ5HL.js';import'../../_chunks/chunk-7HRMITJB.js';import'../../_chunks/chunk-MAZVGT6F.js';import'../../_chunks/chunk-VKHUWB7W.js';import'../../_chunks/chunk-CWX3YQHY.js';import'../../_chunks/chunk-RUSK5W42.js';import'../../_chunks/chunk-VAXOBYQH.js';import'../../_chunks/chunk-FIYSYENR.js';import'../../_chunks/chunk-JQV74CFY.js';import'../../_chunks/chunk-WF2OFWBH.js';import'../../_chunks/chunk-K7BX77NR.js';import'../../_chunks/chunk-OGFZTWW2.js';import'../../_chunks/chunk-4YYASHPB.js';import'../../_chunks/chunk-YOFP6Q2H.js';import'../../_chunks/chunk-DILHFFYM.js';import'../../_chunks/chunk-PDRNFDWB.js';import'../../_chunks/chunk-CJBK6DV4.js';import'../../_chunks/chunk-D5DOI2CG.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-2K7FRRCP.js';import'../../_chunks/chunk-FPR4MUXK.js';import'../../_chunks/chunk-R3H5ZLCU.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-ES5ERGO6.js';import'../../_chunks/chunk-RJGHAJAS.js';import'../../_chunks/chunk-RCTRSOJN.js';import'../../_chunks/chunk-RQRTDUVJ.js';import'../../_chunks/chunk-U4TG6SH2.js';import'../../_chunks/chunk-HXIYFSTZ.js';import'../../_chunks/chunk-KGJKMOL6.js';import'../../_chunks/chunk-T7VGACSG.js';import'../../_chunks/chunk-6NTTIIW2.js';import'../../_chunks/chunk-MW3S7RYL.js';import'../../_chunks/chunk-7UR4RFOF.js';import'../../_chunks/chunk-VSI64YFN.js';import'../../_chunks/chunk-N7IZEJPM.js';import'../../_chunks/chunk-QCWTNVJS.js';import'../../_chunks/chunk-OQXHFUUW.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-3XNXNKGA.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-IRTMCMMM.js';import'../../_chunks/chunk-42BRQZI3.js';import'../../_chunks/chunk-34DUFFV5.js';import'../../_chunks/chunk-3352EIHQ.js';import'../../_chunks/chunk-WA2NAHKX.js';import'../../_chunks/chunk-FINICJL3.js';import'../../_chunks/chunk-4W4V45ZR.js';import'../../_chunks/chunk-3JDO4H7Q.js';import'../../_chunks/chunk-Z3B4EDSN.js';import'../../_chunks/chunk-LGIGA7B2.js';import'../../_chunks/chunk-JCOA42LB.js';import'../../_chunks/chunk-PYBAY4RD.js';import'../../_chunks/chunk-TYUXEDNW.js';import'../../_chunks/chunk-67EIV5FM.js';import'../../_chunks/chunk-2VS35WT4.js';import'../../_chunks/chunk-PIVDC3CV.js';import'../../_chunks/chunk-A4SRSOLM.js';import'../../_chunks/chunk-V4IMVJZP.js';import'../../_chunks/chunk-XB6KSBAO.js';import'../../_chunks/chunk-F3BU4KEC.js';import'../../_chunks/chunk-3ZQC3MDU.js';import'../../_chunks/chunk-K3VCY2Z7.js';import'../../_chunks/chunk-ZHEAWCTY.js';import'../../_chunks/chunk-M5HS3EYQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface LanguageDropdownProps {
|
|
3
|
-
defaultLanguage?: string;
|
|
4
|
-
onChange?: (language: string) => void;
|
|
5
|
-
}
|
|
6
|
-
export default function LanguageDropdown({ defaultLanguage, onChange }: LanguageDropdownProps): import("react").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-4YYASHPB.js';import'../../_chunks/chunk-XB6KSBAO.js';import'../../_chunks/chunk-ZHEAWCTY.js';import'../../_chunks/chunk-M5HS3EYQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Button: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
5
|
-
open?: boolean | undefined;
|
|
6
|
-
}, {}, {}>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BoxProps } from '@mui/material/Box';
|
|
3
|
-
interface ResizableHeightInputI extends BoxProps {
|
|
4
|
-
value: string;
|
|
5
|
-
updateValue: (value: string) => void;
|
|
6
|
-
placeholder: string;
|
|
7
|
-
maxLength?: number;
|
|
8
|
-
}
|
|
9
|
-
declare function ResizableHeightInput({ value, updateValue, placeholder, sx, maxLength }: ResizableHeightInputI): React.JSX.Element;
|
|
10
|
-
declare const _default: React.MemoExoticComponent<typeof ResizableHeightInput>;
|
|
11
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-UZJJQWCT.js';import'../../_chunks/chunk-ZHEAWCTY.js';import'../../_chunks/chunk-M5HS3EYQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Placeholder: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
5
|
-
export declare const Wrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SyntheticEvent } from 'react';
|
|
2
|
-
type ActionMenuOption = {
|
|
3
|
-
name: string;
|
|
4
|
-
value?: number;
|
|
5
|
-
currency?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const useActionMenu: () => {
|
|
8
|
-
actionMenuAnchor: HTMLElement | null;
|
|
9
|
-
actionMenuOptions: ActionMenuOption[] | undefined;
|
|
10
|
-
selectedActionMenuId: string | undefined;
|
|
11
|
-
isActionMenuCheckMarkHighlighted: boolean;
|
|
12
|
-
setActionMenuAnchor: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
13
|
-
setActionMenuOptions: import("react").Dispatch<import("react").SetStateAction<ActionMenuOption[] | undefined>>;
|
|
14
|
-
setSelectedActionMenuId: import("react").Dispatch<import("react").SetStateAction<string | undefined>>;
|
|
15
|
-
setIsActionMenuCheckMarkHighlighted: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
16
|
-
handleCloseActionMenu: (e?: SyntheticEvent) => void;
|
|
17
|
-
hideDropdown: () => void;
|
|
18
|
-
showActionsDropdown: boolean;
|
|
19
|
-
};
|
|
20
|
-
export {};
|