@tap-payments/os-micro-frontend-shared 0.3.103 → 0.3.105
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-O4FSKO4V.js → chunk-2QCW6XFO.js} +1 -1
- package/build/_chunks/{chunk-4WQBMHOY.js → chunk-2QH4QI4T.js} +1 -1
- package/build/_chunks/{chunk-CXOSPBP2.js → chunk-2XCU2SP2.js} +1 -1
- package/build/_chunks/{chunk-FMQ6EQBM.js → chunk-32G6UU6T.js} +1 -1
- package/build/_chunks/{chunk-I5YGNO6B.js → chunk-347Z56PR.js} +1 -1
- package/build/_chunks/{chunk-3LVI4SFZ.js → chunk-3WDLT2MM.js} +1 -1
- package/build/_chunks/{chunk-2WNKKC2H.js → chunk-3ZERKQYK.js} +1 -1
- package/build/_chunks/{chunk-2LHH6WFB.js → chunk-46JKNPOS.js} +1 -1
- package/build/_chunks/{chunk-EWWO2L7W.js → chunk-46OXOHAJ.js} +1 -1
- package/build/_chunks/{chunk-22AXQ4HO.js → chunk-46RIG5LG.js} +1 -1
- package/build/_chunks/{chunk-6NMWBYR3.js → chunk-47ONVLLU.js} +1 -1
- package/build/_chunks/{chunk-ZAIE5PWX.js → chunk-4BH5LKX4.js} +1 -1
- package/build/_chunks/{chunk-D64D4MFW.js → chunk-4HLMRTXT.js} +1 -1
- package/build/_chunks/{chunk-ZHT5SGNK.js → chunk-4KGWNX3L.js} +1 -1
- package/build/_chunks/{chunk-TSK6SJ5K.js → chunk-4PHMOLXM.js} +1 -1
- package/build/_chunks/{chunk-KZWNMDOX.js → chunk-4XCNG6FP.js} +1 -1
- package/build/_chunks/{chunk-GPS4HTQU.js → chunk-5FW7XJQE.js} +1 -1
- package/build/_chunks/{chunk-XYU3AEUE.js → chunk-5JVYS4AS.js} +1 -1
- package/build/_chunks/{chunk-BYLK7F57.js → chunk-6ETSU4E7.js} +1 -1
- package/build/_chunks/{chunk-IWOBORKZ.js → chunk-6IGTZ6LK.js} +1 -1
- package/build/_chunks/{chunk-JKHKPILG.js → chunk-6WND2E7U.js} +1 -1
- package/build/_chunks/{chunk-E7SXFB2Z.js → chunk-7HEOJCME.js} +1 -1
- package/build/_chunks/{chunk-OIGHZJAY.js → chunk-ACTE3RAK.js} +1 -1
- package/build/_chunks/{chunk-77UB7TPK.js → chunk-ANCWXEWL.js} +1 -1
- package/build/_chunks/{chunk-ZAECZJDJ.js → chunk-AY3BT7WQ.js} +1 -1
- package/build/_chunks/chunk-B2SG56WZ.js +2 -0
- package/build/_chunks/{chunk-RI7RVMBJ.js → chunk-B3WRA3V2.js} +1 -1
- package/build/_chunks/{chunk-72VSYMZY.js → chunk-B53SCLAO.js} +1 -1
- package/build/_chunks/{chunk-DL6BXDTX.js → chunk-BDUSYSDY.js} +1 -1
- package/build/_chunks/{chunk-4VAWLVRJ.js → chunk-BE2EBK2G.js} +1 -1
- package/build/_chunks/{chunk-VOGKSNVH.js → chunk-BLX5LAHA.js} +1 -1
- package/build/_chunks/{chunk-C4R5HTME.js → chunk-BMU2B4HK.js} +1 -1
- package/build/_chunks/{chunk-FMISPHQP.js → chunk-BR3FUV6H.js} +1 -1
- package/build/_chunks/{chunk-QGZ2V5VD.js → chunk-BVT7SM2K.js} +1 -1
- package/build/_chunks/{chunk-LWOS7BUO.js → chunk-CEGUZ32Q.js} +1 -1
- package/build/_chunks/{chunk-NXZAJKRP.js → chunk-DJZL25SW.js} +1 -1
- package/build/_chunks/{chunk-XUUOS7YC.js → chunk-DOSOH5ST.js} +1 -1
- package/build/_chunks/{chunk-TYUGZS7G.js → chunk-DST3NPNN.js} +1 -1
- package/build/_chunks/{chunk-E4RYKRZH.js → chunk-DU5EKYWU.js} +1 -1
- package/build/_chunks/{chunk-TB3MBBLA.js → chunk-DVGFM2NO.js} +1 -1
- package/build/_chunks/{chunk-GNCYHDWA.js → chunk-E6MBFLZU.js} +1 -1
- package/build/_chunks/{chunk-3DTIQEKU.js → chunk-EIREH2FU.js} +1 -1
- package/build/_chunks/{chunk-XVEBL5IT.js → chunk-EL7TOZQD.js} +1 -1
- package/build/_chunks/{chunk-PAQCIXDS.js → chunk-F6SBMHVE.js} +1 -1
- package/build/_chunks/{chunk-RJJZDRJZ.js → chunk-F7TJBLJN.js} +1 -1
- package/build/_chunks/{chunk-A2CEH4HR.js → chunk-FDYDYYR4.js} +1 -1
- package/build/_chunks/{chunk-OQ7I7QDK.js → chunk-GD7GN65J.js} +1 -1
- package/build/_chunks/{chunk-T2O3DTVJ.js → chunk-GEA3XLFB.js} +1 -1
- package/build/_chunks/{chunk-TIIPI36J.js → chunk-GKVYVCK7.js} +1 -1
- package/build/_chunks/{chunk-DLU6SJWK.js → chunk-GTL3IMEG.js} +1 -1
- package/build/_chunks/{chunk-WBDRJQJP.js → chunk-GVZHYM3O.js} +1 -1
- package/build/_chunks/{chunk-RE7VAG5K.js → chunk-H64UYB4Z.js} +1 -1
- package/build/_chunks/{chunk-B2NDCGRD.js → chunk-HC43TIJR.js} +1 -1
- package/build/_chunks/chunk-HG5YZQHO.js +1 -0
- package/build/_chunks/chunk-HINOOGZ4.js +1 -0
- package/build/_chunks/{chunk-V524KR6T.js → chunk-HJGRMRGT.js} +1 -1
- package/build/_chunks/{chunk-CKGXWVBO.js → chunk-HKBLG2D2.js} +1 -1
- package/build/_chunks/{chunk-AYJJIKIA.js → chunk-HKIF7DQ2.js} +1 -1
- package/build/_chunks/{chunk-JG6OIHZ6.js → chunk-HPM3LBZV.js} +1 -1
- package/build/_chunks/{chunk-NEQIXKP2.js → chunk-HQXVK7SV.js} +1 -1
- package/build/_chunks/{chunk-R27E7WPU.js → chunk-HSMIQ2AY.js} +1 -1
- package/build/_chunks/{chunk-BB5EE7RC.js → chunk-HTTQMFLN.js} +1 -1
- package/build/_chunks/{chunk-EELRWLN2.js → chunk-HUMQOLB5.js} +1 -1
- package/build/_chunks/chunk-I3D3CUSX.js +1 -0
- package/build/_chunks/chunk-I46EYNZF.js +1 -0
- package/build/_chunks/chunk-IHOSN3EK.js +1 -0
- package/build/_chunks/chunk-ISXJOBAI.js +2 -0
- package/build/_chunks/{chunk-YMWWSIYJ.js → chunk-JE6O7GLR.js} +1 -1
- package/build/_chunks/{chunk-HHAMPEQG.js → chunk-JEEQHSMH.js} +1 -1
- package/build/_chunks/{chunk-HIJLZBIS.js → chunk-JWUHDINQ.js} +1 -1
- package/build/_chunks/{chunk-QK72XQFX.js → chunk-KAJTSUFC.js} +1 -1
- package/build/_chunks/{chunk-ZRBJJN5L.js → chunk-KXMATH2M.js} +1 -1
- package/build/_chunks/{chunk-OEPGVKKP.js → chunk-KZH4UJB6.js} +1 -1
- package/build/_chunks/{chunk-QE6XPDWY.js → chunk-LIQUUC5H.js} +1 -1
- package/build/_chunks/{chunk-S2IUFBN4.js → chunk-M6FYZNLB.js} +1 -1
- package/build/_chunks/{chunk-3YPGOJYR.js → chunk-MCXP54Q6.js} +1 -1
- package/build/_chunks/{chunk-24LUMNMY.js → chunk-MEH4PLDV.js} +1 -1
- package/build/_chunks/{chunk-XGPPR6E5.js → chunk-MTAMXBWE.js} +1 -1
- package/build/_chunks/{chunk-XU63DEQN.js → chunk-NJP7WWQQ.js} +1 -1
- package/build/_chunks/{chunk-3JCY7A7I.js → chunk-OQZUACPZ.js} +1 -1
- package/build/_chunks/{chunk-HTSFXW2Q.js → chunk-OZBSIEQD.js} +1 -1
- package/build/_chunks/{chunk-CHFEQR6H.js → chunk-PACXN5ZW.js} +1 -1
- package/build/_chunks/{chunk-ZAS3YEKE.js → chunk-POKDKU44.js} +1 -1
- package/build/_chunks/{chunk-JRSYHMXB.js → chunk-PWXIMYJ6.js} +1 -1
- package/build/_chunks/{chunk-NPEWUVZE.js → chunk-Q3DPK6XH.js} +1 -1
- package/build/_chunks/{chunk-NDLSFEER.js → chunk-QVAG2QO3.js} +1 -1
- package/build/_chunks/{chunk-ZCO6I7W3.js → chunk-QWUYOTUA.js} +1 -1
- package/build/_chunks/{chunk-ZJPP3BOL.js → chunk-R5YGUSKT.js} +1 -1
- package/build/_chunks/{chunk-BOM2QX2D.js → chunk-R6ESVKEN.js} +1 -1
- package/build/_chunks/{chunk-DRTGK6RQ.js → chunk-RF45ROUX.js} +1 -1
- package/build/_chunks/{chunk-3W54J3HR.js → chunk-RN6QNGD5.js} +1 -1
- package/build/_chunks/{chunk-YKOUXDBY.js → chunk-T53ZP6RJ.js} +1 -1
- package/build/_chunks/{chunk-6JUY6KRI.js → chunk-TB4KZY4I.js} +1 -1
- package/build/_chunks/{chunk-ZUXFRI5Y.js → chunk-TXKDNHBJ.js} +1 -1
- package/build/_chunks/{chunk-JENAZJNS.js → chunk-U7DH5HVQ.js} +1 -1
- package/build/_chunks/{chunk-2XBURFYC.js → chunk-V2XDOPFR.js} +1 -1
- package/build/_chunks/{chunk-NTKUIW2C.js → chunk-VB737IV4.js} +1 -1
- package/build/_chunks/{chunk-V2X2TBIC.js → chunk-VOIBD5C2.js} +1 -1
- package/build/_chunks/{chunk-C33KQVBN.js → chunk-WJGHSXE2.js} +1 -1
- package/build/_chunks/{chunk-B4MGJ73J.js → chunk-WZMZPQFJ.js} +1 -1
- package/build/_chunks/{chunk-M3B767DR.js → chunk-YFWZ72Y7.js} +1 -1
- package/build/_chunks/{chunk-YSFRCVCU.js → chunk-YYIP42CX.js} +1 -1
- package/build/_chunks/{chunk-LDNVFW7P.js → chunk-YZX7GQWC.js} +1 -1
- package/build/_chunks/{chunk-T7KH7UH3.js → chunk-ZAPGBORN.js} +1 -1
- package/build/_chunks/{chunk-CLJZV4QH.js → chunk-ZNIN23GM.js} +1 -1
- package/build/_chunks/{chunk-X3IE5CO7.js → chunk-ZUK7ULZ4.js} +1 -1
- package/build/_v2/components/primitives/Slider/style.d.ts +1 -1
- package/build/components/Accordion/index.js +1 -1
- package/build/components/AccountDropdown/index.js +1 -1
- package/build/components/ActionMenu/index.js +1 -1
- package/build/components/ActionMenu/style.d.ts +1 -1
- package/build/components/ActionsDropdownMenu/index.js +1 -1
- package/build/components/ActiveFilterChip/index.js +1 -1
- package/build/components/ActivityAreaChart/index.js +1 -1
- package/build/components/Amount/index.js +1 -1
- package/build/components/AmountConversionFilter/index.js +1 -1
- package/build/components/AmountInput/index.js +1 -1
- package/build/components/AmountSlider/index.js +1 -1
- package/build/components/AmountStatusChip/index.js +1 -1
- package/build/components/AnimatedSpinnerIcon/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/AuthenticationTypeChip/index.js +1 -1
- package/build/components/Autocomplete/index.js +1 -1
- package/build/components/BetaBanner/index.js +1 -1
- package/build/components/BrandLogo/index.js +1 -1
- package/build/components/Button/index.js +1 -1
- package/build/components/Calender/index.js +1 -1
- package/build/components/CardEmptyState/index.js +1 -1
- package/build/components/Checkbox/index.js +1 -1
- package/build/components/Chip/index.js +1 -1
- package/build/components/ChipStack/index.js +1 -1
- package/build/components/CircularProgressWithLabel/index.js +1 -1
- package/build/components/Collapse/index.js +1 -1
- package/build/components/ColorPicker/index.js +1 -1
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/ConfirmDialog/index.js +1 -1
- package/build/components/CopyImage/index.js +1 -1
- package/build/components/CountBadge/index.js +1 -1
- package/build/components/CountryFilter/index.js +1 -1
- package/build/components/CountryFlag/index.js +1 -1
- package/build/components/CurrencyAmount/index.js +1 -1
- package/build/components/CurrencyFilter/index.js +1 -1
- package/build/components/CurrencySymbol/index.js +1 -1
- package/build/components/CustomBackdrop/index.js +1 -1
- package/build/components/Customer/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/DeviceIcon/index.js +1 -1
- package/build/components/Dialog/index.js +1 -1
- package/build/components/Discount/index.js +1 -1
- package/build/components/DisplayAmount/index.js +1 -1
- package/build/components/Dropdown2/index.js +1 -1
- package/build/components/DropdownButton/index.js +1 -1
- package/build/components/DropdownMenu/index.js +1 -1
- package/build/components/Error/index.js +1 -1
- package/build/components/ErrorToast/index.js +1 -1
- package/build/components/ExpandableSideBar/index.js +1 -1
- package/build/components/FieldFeedback/index.js +1 -1
- package/build/components/FileInputPreview/index.js +1 -1
- package/build/components/FilePreview/index.js +1 -1
- package/build/components/FileUpload/index.js +1 -1
- package/build/components/FileUploader/index.js +1 -1
- package/build/components/FilterDropdown/index.js +1 -1
- package/build/components/Filters/index.js +1 -1
- package/build/components/FlippingCard/index.js +1 -1
- package/build/components/HeatMap/index.js +1 -1
- package/build/components/IOSSwitch/index.js +1 -1
- package/build/components/Icon/index.js +1 -1
- package/build/components/IconWithBadge/index.js +1 -1
- package/build/components/Input/index.js +1 -1
- package/build/components/InputBase/index.js +1 -1
- package/build/components/InputNumber/index.js +1 -1
- package/build/components/Inputs/index.js +1 -1
- package/build/components/JSONViewer/components/JSONSearchBar/styles.d.ts +1 -1
- package/build/components/JSONViewer/index.js +1 -1
- package/build/components/LanguageDropdown/index.js +1 -1
- package/build/components/LazyImage/index.js +1 -1
- package/build/components/LazyRemote/index.js +1 -1
- package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/ListLayout/index.js +1 -1
- package/build/components/Loader/index.js +1 -1
- package/build/components/MFWidgetLoader/index.js +1 -1
- package/build/components/MaskedText/index.js +1 -1
- package/build/components/Menu/index.js +1 -1
- package/build/components/MenuItem/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/MultiSelectWithSearch/index.js +1 -1
- package/build/components/NestedDropdown/index.js +1 -1
- package/build/components/NoInternet/index.js +1 -1
- package/build/components/OpenFileInNewTab/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/ProgressBar/index.js +1 -1
- package/build/components/ProgressRing/index.js +1 -1
- package/build/components/RFH/index.js +1 -1
- package/build/components/RadioButton/index.js +1 -1
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RangeCalender/index.js +1 -1
- package/build/components/ReceiptsViewer/index.js +1 -1
- package/build/components/ReferenceTypeFilter/index.js +1 -1
- package/build/components/ResizableHeightInput/index.js +1 -1
- package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
- package/build/components/SalesChannelFilter/index.js +1 -1
- package/build/components/ScrollLoader/index.js +1 -1
- package/build/components/SearchButton/index.js +1 -1
- package/build/components/SearchButton/styles.d.ts +1 -1
- package/build/components/SearchListInput/index.js +1 -1
- package/build/components/SelectDropdown/index.js +1 -1
- package/build/components/SelectWithSearch/index.js +1 -1
- package/build/components/Skeleton/index.js +1 -1
- package/build/components/Slider/index.js +1 -1
- package/build/components/Slider/style.d.ts +1 -1
- package/build/components/StatusBar/index.js +1 -1
- package/build/components/StatusButton/index.js +1 -1
- package/build/components/StatusChip/index.js +1 -1
- package/build/components/StatusChipWithCopy/index.js +1 -1
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusGroupChips/index.js +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/StatusLabel/index.js +1 -1
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableReports/index.js +1 -1
- package/build/components/Timepicker/index.js +1 -1
- package/build/components/Toaster/index.js +1 -1
- package/build/components/ToggleButtons/index.js +1 -1
- package/build/components/ToggleView/index.js +1 -1
- package/build/components/Toolbar/index.js +1 -1
- package/build/components/ToolbarIcon/index.js +1 -1
- package/build/components/TooltipChip/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/Window/index.js +1 -1
- package/build/components/Window/style.d.ts +1 -0
- package/build/components/WindowAppIcon/index.js +1 -1
- package/build/components/WindowBackdrop/index.js +1 -1
- package/build/components/WindowSideBar/index.js +1 -1
- package/build/components/index.js +1 -1
- package/build/constants/index.js +1 -1
- package/build/constants/table/cell/index.d.ts +2 -0
- package/build/constants/table/cell/orchestrationRoutingTableCellWidth.d.ts +212 -0
- package/build/constants/table/cell/orchestrationTerminalsTableCellWidth.d.ts +92 -0
- package/build/hooks/index.js +1 -1
- package/build/index.js +1 -1
- package/build/types/cell.d.ts +9 -1
- package/build/utils/index.js +1 -1
- package/package.json +1 -1
- package/build/_chunks/chunk-7TWUHWNT.js +0 -1
- package/build/_chunks/chunk-CE3H5KLO.js +0 -2
- package/build/_chunks/chunk-JJI6WDLO.js +0 -1
- package/build/_chunks/chunk-L3KWIQYI.js +0 -2
- package/build/_chunks/chunk-MXM2PJ2T.js +0 -1
- package/build/_chunks/chunk-ONS7OBD5.js +0 -1
- package/build/_chunks/chunk-XENZTBAG.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a as a$4}from'./chunk-
|
|
1
|
+
import {a as a$4}from'./chunk-JEEQHSMH.js';import {a as a$2}from'./chunk-HG5YZQHO.js';import {a as a$3}from'./chunk-BVT7SM2K.js';import {a}from'./chunk-GNY2VGGW.js';import {a as a$1}from'./chunk-I46EYNZF.js';import {tb,Cb,A,Ab,Nc}from'./chunk-X7QIYBYY.js';import me,{useState,useRef,useMemo}from'react';import {Box,CircularProgress,Typography}from'@mui/material';import xe from'@mui/material/ClickAwayListener';import h from'@mui/material/Box';import le from'@mui/material/Input';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';styled(a)(({theme:e})=>({fontSize:"10px",color:e.palette.grey[700],fontWeight:600,lineHeight:"10px"}));styled(a)(({theme:e})=>({fontSize:"11px",color:e.palette.text.primary,fontWeight:600,lineHeight:"14.3px",width:200}));styled(h)(()=>({display:"flex",flexDirection:"column",maxHeight:400,overflow:"auto",gap:"8px"}));var H=styled(le)(({theme:e})=>({width:"inherit",height:32,padding:"11px 12px",fontSize:"10px",borderRadius:"5px",backgroundColor:"#F9F9F9",border:"1px solid transparent","&.Mui-focused":{borderColor:e.palette.info.dark}}));styled(a$1)(()=>({padding:0,width:12,height:12,".MuiSvgIcon-root, img":{width:12,height:12}}));var D=styled(h)(()=>({display:"flex",flexDirection:"column",gap:"8px",padding:"4px"})),I=styled(h)(()=>({display:"flex",gap:"8px",padding:"4px",flexWrap:"wrap",paddingInlineEnd:"20px"})),M=styled(h)(({theme:e,maxWidth:o})=>({display:"flex",padding:"4px 8px 4px 6px",alignItems:"center",gap:"4px",borderRadius:"13px",backgroundColor:`${e.palette.info.dark}1a`,fontSize:"10px",fontWeight:500,cursor:"pointer",...o&&{maxWidth:`${o}%`}}));styled(a)(({theme:e})=>({display:"flex",gap:"8px",alignItems:"center",fontSize:"10px",fontWeight:500,color:e.palette.common.black,cursor:"pointer",padding:8}));var N=styled(h)(({theme:e})=>({width:"100%",flexDirection:"column",border:`1px solid ${e.palette.grey[100]}`,borderRadius:"4px",backgroundColor:e.palette.grey[400],minWidth:"89px",position:"relative"})),z=styled(h)(()=>({position:"absolute",right:8,bottom:13.5,width:15,height:15}));var R=e=>e.length===0?true:"value"in e[0],$=(e,o,p)=>o?e.filter(r=>p.some(a=>r?.[a]?.toLowerCase().includes(o.toLowerCase()))):e,G=(e,o,p)=>e.map(r=>{let a=r?.options.map(l=>{let S=l?.options?.filter(n=>p.some(d=>n?.[d]?.toLowerCase().includes(o.toLowerCase())));return {...l,options:S}}).filter(l=>l?.options?.length>0);return {...r,options:a}}).filter(r=>r?.options?.length>0);function X({childOption:e,selectedOptions:o,onChangeOptions:p}){let[r,a]=useState(null),l=n=>{p([...o||[],n]);},S=n=>{p(o?.filter(d=>d.value!==n.value)||[]);};return jsxs(a$2,{onMouseEnter:n=>{e.options?.length>0&&a(n.currentTarget);},onMouseLeave:()=>{r&&a(null);},children:[jsxs(Box,{sx:{display:"flex",gap:"12px",justifyContent:"space-between",flexGrow:1,alignItems:"center",maxWidth:"220px",minWidth:"89px"},children:[e.label,jsx("img",{src:tb,className:"arrow-icon",alt:"arrow"})]}),jsx(a$3,{sx:{maxHeight:"450px",overflow:"auto"},open:!!r,anchorEl:r,placement:"right-start",children:e.options?.map(n=>{let w=!!o?.find(s=>s.value===n.value);return jsx(a$2,{isSelected:w,onClick:s=>{s.stopPropagation(),s.preventDefault(),w?S(n):l(n);},children:jsx(Box,{sx:{flex:1,maxWidth:"220px",minWidth:"89px"},children:n.label})},n.value)})})]})}function J({parentOption:e,selectedOptions:o,onChangeOptions:p}){let[r,a]=useState(null);return jsxs(a$2,{onMouseEnter:l=>{e.options?.length>0&&a(l.currentTarget);},onMouseLeave:()=>{r&&a(null);},children:[jsxs(Box,{sx:{display:"flex",gap:"12px",justifyContent:"space-between",flexGrow:1,alignItems:"center",maxWidth:"340px",minWidth:"89px"},children:[e.label,jsx("img",{src:tb,className:"arrow-icon",alt:"arrow"})]}),jsx(a$3,{sx:{maxHeight:"450px",overflow:"auto"},open:!!r,anchorEl:r,placement:"right-start",children:e.options?.map(l=>jsx(X,{childOption:l,selectedOptions:o,onChangeOptions:p},l.label))})]})}function Q({option:e,selectedOptions:o,onChangeOptions:p}){let r=o?.some(a=>a.value===e.value)??false;return jsx(a$2,{isSelected:r,onClick:a=>{if(a.stopPropagation(),a.preventDefault(),r){p(o?.filter(l=>l.value!==e.value)||[]);return}p([...o||[],e]);},children:jsx(Box,{sx:{flex:1,maxWidth:"220px",minWidth:"89px"},children:e.label})})}function ge({options:e,onChangeOptions:o,selectedOptions:p,placeholder:r,isLoading:a,searchBy:l=["label"],disabled:S}){let n=R(e),[d,w]=useState(null),[s,E]=useState(""),ee=useRef(null),b=!!d,te=t=>{w(b?null:t.currentTarget);},oe=()=>{w(null);},re=()=>{s&&E("");},T=useMemo(()=>{if(n)return $(e,s,l)},[n,e,s,l]),F=useMemo(()=>{if(!n)return s?G(e,s,l):e},[n,e,s,l]),ne=!!(n?T:F)?.length,ie=a?jsx(CircularProgress,{size:16}):jsx(a$4,{src:s?Cb:A,alt:s?"close":"search",onClick:re,sx:{width:12,height:12}}),f=Number(p?.length??0);return jsx(xe,{onClickAway:()=>{b&&oe();},children:jsxs(N,{id:"TriggerWrapper","data-testid":"MultiSelectWithSearch",onClick:t=>!S&&te(t),ref:ee,children:[jsx(Typography,{color:"grey",sx:{cursor:"pointer",fontSize:"10px",padding:"4px"},component:"label",children:r}),f===0&&jsx(Typography,{sx:{fontWeight:500,fontSize:"11px",padding:"0px 4px 4px"},component:"p",children:"Please Select"}),jsx(z,{component:"img",src:Ab,alt:"down arrow",sx:{...b&&{transform:"rotate(180deg)"}}}),!!f&&jsx(I,{id:"SelectedBadgesWrapper",children:f>0&&f<=2?p?.map(t=>jsxs(M,{maxWidth:90,children:[jsx(a$4,{src:Nc,alt:"blue-check",sx:{width:10,height:7.5}}),jsx("span",{children:t.label})]},t.value)):f>2&&p?.slice(0,2)?.map((t,y)=>jsxs(me.Fragment,{children:[jsxs(M,{maxWidth:90,children:[jsx(a$4,{src:Nc,alt:"blue-check",sx:{width:10,height:7.5}}),jsx("span",{children:t.label})]}),y===1&&jsx(M,{maxWidth:90,children:jsxs("span",{children:["+",f-2]})})]},t.value))}),jsx(a$3,{open:b,anchorEl:d,sx:{margin:"8px 0",maxHeight:330,overflow:"auto",maxWidth:"340px"},children:jsxs(D,{children:[jsx(H,{placeholder:r||"Select",endAdornment:ie,onClick:t=>{t.stopPropagation();},value:s,onChange:t=>{E(t.target.value);},disableUnderline:true,sx:{cursor:"default",width:"100%",backgroundColor:"white",border:"1px solid #F2F2F2",...ne&&{marginBottom:"4px"},...s&&{cursor:"pointer"}}}),jsx(I,{children:p?.map(t=>jsxs(M,{sx:{maxWidth:"150px"},onClick:y=>{y.stopPropagation(),y.preventDefault(),o(p?.filter(pe=>pe.value!==t.value)||[]);},children:[jsx(a$4,{src:Nc,alt:"blue-check",sx:{width:10,height:7.5}}),jsx("span",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:t.label}),jsx(a$4,{src:Cb,alt:"close",sx:{width:9,height:9}})]},t.value))}),n?T?.map(t=>jsx(Q,{option:t,selectedOptions:p,onChangeOptions:o},t.value)):F?.map(t=>jsx(J,{parentOption:t,selectedOptions:p,onChangeOptions:o},t.label))]})})]})})}var j=ge;var st=j;export{X as a,J as b,Q as c,st as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-WZMZPQFJ.js';import {sc,Mc,I,Ta}from'./chunk-I3D3CUSX.js';import {ca}from'./chunk-ISXJOBAI.js';import {useId,useState,useMemo}from'react';import {ResponsiveContainer,AreaChart,Area,Tooltip}from'recharts';import {useTheme}from'@mui/material/styles';import {useTranslation}from'react-i18next';import L from'dayjs';import V from'@mui/material/Box';import {styled,Box,Typography}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var b=styled(Box)(()=>({width:"auto",display:"inline-block",whiteSpace:"nowrap",backgroundColor:"white",padding:"6px",border:"1.5px solid #E6E6E6",borderRadius:"7.5px",backdropFilter:"blur(23.280000686645508px)",boxShadow:"0px 0px 15.52px 0px #4B484729"})),w=styled(Typography)({width:"auto",marginBottom:"4px",fontWeight:500,color:"#4B4847ED",fontSize:"9px",whiteSpace:"nowrap",overflow:"visible"}),K=styled(Typography)({display:"flex",alignItems:"center",gap:"5px",fontWeight:600,color:"#4B4847",fontSize:11,whiteSpace:"nowrap",overflow:"visible",width:"auto"}),B=styled(Box)({display:"flex",alignItems:"center",height:"100%",gap:"2.6px",maxHeight:"19px"}),S=styled(Typography)({fontWeight:500,fontSize:11,lineHeight:"130%",color:"#4B4847",letterSpacing:"-0.14px"});var W=(t,i,r)=>t?.value===void 0||t?.value===null?"":t?.dataKey===ca.AMOUNT?`${Ta(t.value,r).fullAmount}`.trim():`${t.value.toLocaleString()} ${i}`.trim(),$=(t,i,r=0)=>{let a=L(t).add(r,"hour").format(),n=new Date,e=L(a).isSame(n,"year");return I(a,i?void 0:{sameDay:`[Today] ${e?"":"YYYY"}`,nextDay:`[Tomorrow] ${e?"":"YYYY"}`,lastDay:`[Yesterday] ${e?"":"YYYY"}`,sameElse:`MMM DD ${e?"":", YYYY"}`,lastWeek:`MMM DD ${e?"":", YYYY"}`,nextWeek:`MMM DD ${e?"":", YYYY"}`},void 0,void 0,r!==void 0)};var G=({active:t,payload:i,dateRange:r,selectedCurrency:a$1})=>{let{t:n}=useTranslation(),e=L(r?.[0]),l=L(r?.[1]),f=e?.isSame(l,"day");if(t&&i?.length){let o=i[0],m=sc(o?.dataKey,o?.value),y=o?.payload?.date&&$(o?.payload?.date,f,o?.payload?.hour);return jsxs(b,{className:"chart-tooltip",children:[jsx(w,{children:y??o?.payload?.date}),jsxs(K,{children:[o?.dataKey===ca.AMOUNT&&jsxs(B,{children:[jsx(a,{currencyCode:a$1,width:12}),jsx(S,{children:a$1})]}),jsx(V,{children:`${W(o,n(m),a$1)}`})]})]})}return null},x=G;var _=[{dataKey:30},{dataKey:32.9941},{dataKey:39.0471},{dataKey:56.3412},{dataKey:69.3118},{dataKey:87.4706},{dataKey:94.3882},{dataKey:110.406}],q=()=>jsx(ResponsiveContainer,{children:jsxs(AreaChart,{margin:{top:40},data:_,children:[jsx("defs",{children:jsxs("linearGradient",{id:"loadingGradient",x1:"0",y1:"0",x2:"0",y2:"1",gradientUnits:"objectBoundingBox",children:[jsx("stop",{offset:"0.54",stopColor:"rgba(67, 67, 67, 0.035)"}),jsx("stop",{offset:"1",stopColor:"rgba(255, 255, 255, 0)"})]})}),jsx(Area,{dataKey:"dataKey",type:"linear",fill:"url(#loadingGradient)",fillOpacity:1,stroke:"#C2C2C2",strokeWidth:1,strokeLinecap:"round",strokeDasharray:"4 4",activeDot:false})]})}),T=q;var rt=({data:t,dataKey:i,isLoading:r,dateRange:a,selectedCurrency:n})=>{let e=Mc(useId(),"activity-area-chart"),l=useTheme(),[f,o]=useState(false),[m,y]=useState({x:0,y:0}),I=t?.length===0,O=h=>{h.activeCoordinate&&h.isTooltipActive&&y(h.activeCoordinate);},R=useMemo(()=>jsx(x,{position:m,dateRange:a,selectedCurrency:n}),[m,a,n]);return r||I?jsx(T,{}):jsx(ResponsiveContainer,{id:e,"data-testid":"ActivityAreaChart",children:jsxs(AreaChart,{margin:{top:20},data:t,onMouseMove:O,children:[t.length>0&&jsx(Tooltip,{content:R,cursor:{fill:"#A5A8A3",stroke:"#A5A8A3",strokeWidth:1,strokeOpacity:1,stopOpacity:.3,strokeDasharray:"5 5",strokeLinecap:"round",strokeLinejoin:"round"}}),jsx(Area,{dataKey:i,type:"monotone",fill:"#76BB4012",stroke:l.palette.success.dark,activeDot:{r:5,fill:l.palette.success.dark,strokeWidth:2,stroke:"white",cursor:f?"pointer":"default",onMouseOver:()=>o(true),onMouseLeave:()=>o(false)}})]})})},P=rt;var Ft=P;export{x as a,T as b,Ft as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-I46EYNZF.js';import {Mc}from'./chunk-I3D3CUSX.js';import {useId}from'react';import {styled,MenuItem,Menu,ListItemIcon,ListItemText,Select,alpha,useTheme,Divider,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var m=styled(MenuItem,{shouldForwardProp:t=>t!=="alwaysShowRightAction"})(({theme:t,alwaysShowRightAction:n})=>({backgroundColor:n?t.palette.common.lightOrange:"","&:hover":{backgroundColor:n?t.palette.common.lightOrange:"",boxShadow:t.shadows[10],":hover":{"& .sandbox-Icon":{left:"-16px !important",transition:"all 0.3s ease-in-out"},"& .close-Icon":{display:"block !important"}}}})),g=styled(Menu,{shouldForwardProp:t=>t!=="minWidth"})(({theme:t,minWidth:n})=>({".MuiMenu-paper":{borderRadius:4,minWidth:n},".MuiMenuItem-root":{display:"flex",gap:"4px",minHeight:"36px",alignItems:"center",paddingInline:8,transition:t.transitions.create(["visibility"],{easing:t.transitions.easing.sharp,duration:t.transitions.duration.complex}),".menu-right-action":{visibility:"hidden"},"&:hover":{".menu-right-action":{visibility:"visible"}}},"&.tap-dropdown":{zIndex:2e3,".MuiList-root":{padding:0}}})),h=styled(ListItemIcon)(()=>({minWidth:"16px !important"})),x=styled(ListItemText)(()=>({".MuiTypography-root":{fontSize:"0.6875rem"}})),D=styled(Select)(({theme:t})=>({padding:"0.25rem 0.34rem 0.25rem 0.5rem",display:"flex",justifyContent:"center",alignItems:"center",gap:"0.19rem",width:"auto",flexShrink:0,borderRadius:"0.5rem",boxShadow:t.shadows[5],cursor:"pointer",outline:t.palette.background.default,border:"none",backgroundColor:t.palette.background.default,"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"& .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"& .MuiMenuList-root":{padding:"0px !important",margin:0},"& .MuiSelect-outlined":{padding:"0px !important"}})),z=styled(MenuItem)(({theme:t})=>({display:"flex",height:"2.5rem",width:"10.43rem",alignItems:"center",gap:"0.5",alignSelf:"stretch",transition:"boxShadow 0.2s ease-in-out",backgroundColor:"inherit !important",margin:0,padding:0,paddingTop:"0px !important",paddingBottom:"0px !important","&:hover":{boxSizing:"border-box",boxShadow:`${t.shadows[3]}`}})),A=styled("p")(({theme:t})=>({color:t.palette.text.primary,fontSize:"0.68rem",fontWeight:600,textAlign:"center",padding:"0 !important",margin:"0 !important",textTransform:"capitalize",".MuiOutlinedInput-input":{paddingRight:0},"MuiInputBase-input":{paddingRight:0},".MuiSelect-select":{paddingRight:0}})),W=styled("p")(({theme:t})=>({fontSize:"0.75rem",fontWeight:500,color:t.palette.text.primary,paddingLeft:"1rem !important",transition:"boxShadow 0.2s ease-in-out"})),B=styled("img")(()=>({width:"0.75rem",height:"auto",padding:0,paddingBottom:.5,margin:0,verticalAlign:"middle",boxSizing:"border-box"})),S=styled(a)(({theme:t})=>({padding:0,paddingRight:"4px",width:"14px !important",svg:{width:"12px !important",height:"12px !important"},"&.Mui-disabled":{'[data-testid="IndeterminateCheckBoxIcon"]':{fill:alpha(t.palette.common.black,.26)}}}));function H({open:t,menuItems:n,anchorEl:a,onClose:d,footer:I,selected:f,multiple:w,allowShadows:p=true,...M}){let k=Mc(useId(),"dropdown-menu"),l=useTheme();return jsxs(g,{id:k,"data-testid":"DropdownMenu",open:t,anchorEl:a,onClose:d,onContextMenu:o=>{o.preventDefault(),d();},...M,className:"tap-dropdown",minWidth:a?.clientWidth||"auto",children:[n.map((o,r)=>o.name==="divider"?jsx(Divider,{sx:{margin:"0 !important"}},`${o.label}-${r}`):jsx("div",{children:o.label&&jsxs(m,{alwaysShowRightAction:o.alwaysShowRightAction,onClick:C=>{o.onClick&&o.onClick(C);},onContextMenu:o.onRightClick,selected:o.selected,sx:{"&:hover":{backgroundColor:"transparent",boxShadow:p?l.shadows[10]:"none","& .sandbox-Icon":{display:"none"},"& .close-Icon":{display:"block !important"}},...r===f&&{backgroundColor:"transparent",boxShadow:p?l.shadows[10]:"none"},...o.sx},children:[w&&jsx(S,{size:"small",checked:o.selected}),o.icon&&jsx(h,{children:o.icon}),jsx(x,{children:o.label}),jsx(Box,{className:o.alwaysShowRightAction?"":"menu-right-action",children:o.rightAction&&o.rightAction})]})},`${o.label}-${r}`)),I]})}var b=H;var Y=b;export{D as a,z as b,A as c,W as d,B as e,Y as f};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Mc,Ta}from'./chunk-
|
|
1
|
+
import {Mc,Ta}from'./chunk-I3D3CUSX.js';import {memo,useId}from'react';import d from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var r=styled("span")(()=>({fontWeight:400})),p=styled(d)(()=>({fontWeight:700,fontSize:"11px",display:"flex",alignItems:"center",cursor:"default",whiteSpace:"nowrap",overflow:"auto"}));function a({amount:i,currencyCode:s,...u}){let l=Mc(useId(),"display-amount"),{integerAmount:c,decimalAmount:f}=Ta(i,s);return jsxs(p,{...u,id:l,"data-testid":"DisplayAmount",children:[jsx("span",{children:c}),jsx("span",{children:"."}),jsx(r,{children:f})]})}a.displayName="DisplayAmount";var m=memo(a);var P=m;export{P as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {b}from'./chunk-
|
|
1
|
+
import {b}from'./chunk-HSMIQ2AY.js';import {Mc}from'./chunk-I3D3CUSX.js';import {useId}from'react';import {styled,Box}from'@mui/material';import {jsx}from'react/jsx-runtime';var r=styled(Box)(()=>({display:"flex",gap:"4px",alignItems:"center",flexDirection:"row"})),i=styled(b)(()=>({padding:"0.75px 12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"flex",alignItems:"center",gap:"4px"}));var x=({chips:t,containerSx:a,defaultChipSx:n,...l})=>{let u=Mc(useId(),"status-group-chips");return !t||t.length===0?null:jsx(r,{id:u,"data-testid":"StatusGroupChips",sx:a,...l,children:t.map(({key:d,content:C,sx:f,...m})=>jsx(i,{sx:{...n,...f},...m,children:C},d))})},y=x;export{y as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-VB737IV4.js';import {a as a$1}from'./chunk-KHM5KW53.js';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var i=styled(a)(({theme:t})=>({color:t.palette.text.primary,"&.CustomVariant_text":{height:24},display:"inline-flex"}));var n=({title:t,slotProps:e={},children:l})=>{let{chip:h={},tooltip:a={}}=e,{sx:s,...c}=h;return jsx(a$1,{...a,title:t,children:jsx(i,{...c,sx:{height:24,display:"inline-flex",color:"text.primary",...s},children:l})})},C=n;export{C as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a}from'./chunk-GNY2VGGW.js';import {t}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-GNY2VGGW.js';import {t}from'./chunk-PACXN5ZW.js';import {Mc}from'./chunk-I3D3CUSX.js';import {Aj}from'./chunk-X7QIYBYY.js';import {memo,useId}from'react';import r from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var s=styled(r)(({theme:t})=>({border:`1px solid ${t.palette.divider}`,background:"#FBFBFB",borderRadius:"8px",fontSize:"11px",display:"flex",flexDirection:"column",height:"233px",transform:"scale(1)"})),l=styled(r)(({theme:t})=>({padding:"8px 12px",borderBottom:`1px solid ${t.palette.divider}`,display:"flex",justifyContent:"space-between",alignItems:"center",height:39,flexShrink:0,overflow:"visible"})),c=styled(r)(({theme:t})=>({color:t.palette.text.primary,fontSize:"11px",fontWeight:600,textTransform:"capitalize"})),x=styled(r)(({theme:t})=>({display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:"12px",paddingBottom:"12px",paddingInlineStart:"12px",paddingInlineEnd:"8px",borderBottom:`1px solid ${t.palette.divider}`,height:40})),f=styled(a)(({theme:t})=>({color:t.palette.text.primary,fontSize:"11px",fontWeight:500,lineHeight:"13.2px"})),g=styled(r)(()=>({display:"flex",alignItems:"center",gap:"8px"})),I=styled(r)(()=>({display:"flex",alignItems:"center",gap:"4px"})),y=styled(r)(()=>({borderRadius:"8px",overflow:"auto",flexGrow:1,height:"100%",listStyle:"none",margin:0,padding:0,".list-item:last-of-type":{borderBottom:"none"}}));styled(r)(()=>({margin:"12px "}));function N({children:t,...e}){let i=Mc(useId(),"widget");return jsx(s,{id:i,component:"article","data-testid":"Widget",...e,children:t})}var S=memo(N);function P({children:t,action:e,...i}){let d=Mc(useId(),"widget-header");return jsxs(l,{id:d,"data-testid":"Widget_WidgetHeader",component:"header",...i,children:[jsx(c,{children:t}),e&&e]})}var T=memo(P);function A({allowShadow:t$1=true,children:e,...i}){let d=Mc(useId(),"widget-list"),{onScrollHandler:u,showShadow:L}=t();return jsxs(y,{id:d,component:"ul","data-testid":"Widget_List",onScroll:u,...i,children:[e,L&&t$1&&jsx(r,{component:"img",src:Aj,sx:{width:"100%",position:"fixed",bottom:0,pointerEvents:"none",right:0,left:0}})]})}var E=memo(A);function G({children:t,icon:e,actions:i,...d}){return jsxs(x,{component:"li","data-testid":"Widget_ListItem",className:`list-item ${d.className}`,...d,children:[jsxs(g,{component:"aside",children:[e&&e,jsx(f,{noWrap:true,className:"content",children:t})]}),i&&jsx(I,{component:"aside",children:i})]})}var J=memo(G);var ut=S;export{T as a,E as b,J as c,ut as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Mc}from'./chunk-
|
|
1
|
+
import {Mc}from'./chunk-I3D3CUSX.js';import {Eh}from'./chunk-X7QIYBYY.js';import {useId}from'react';import {useTranslation}from'react-i18next';import {styled,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var i=styled(Box)(()=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",backgroundColor:"#F6F8FACC",gap:"0.5rem",height:"100%"})),n=styled("img")(()=>({width:"2rem",height:"2rem"})),d=styled("h1")(({theme:t})=>({fontWeight:600,fontSize:"1rem",color:t.palette.text?.primary,padding:0,margin:0})),s=styled("p")(({theme:t})=>({fontWeight:400,fontSize:"0.75rem",color:t.palette.text?.primary,padding:0,margin:0,opacity:.5}));function r({heading:t,message:y,...g}){let l=Mc(useId(),"card-empty-state"),{t:m}=useTranslation();return jsxs(i,{...g,id:l,"data-testid":"CardEmptyState",children:[jsx(n,{src:Eh,alt:"empty container"}),jsx(d,{children:m(t)}),jsx(s,{children:m(y)})]})}var z=r;export{z as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a as a$2}from'./chunk-
|
|
1
|
+
import {a as a$2}from'./chunk-4KGWNX3L.js';import {a as a$3}from'./chunk-R5YGUSKT.js';import {a}from'./chunk-GNY2VGGW.js';import {a as a$1}from'./chunk-I46EYNZF.js';import {Mc}from'./chunk-I3D3CUSX.js';import {Nc}from'./chunk-X7QIYBYY.js';import {useId,useState,useCallback,useMemo,createElement}from'react';import c from'@mui/material/Box';import ne from'@mui/material/Typography';import O from'@mui/material/Input';import {styled}from'@mui/material/styles';import {CircularProgress}from'@mui/material';import ee from'@mui/material/SvgIcon';import {jsx,jsxs}from'react/jsx-runtime';var xe=styled(a)(({theme:e})=>({fontSize:"10px",color:e.palette.grey[700],fontWeight:600,lineHeight:"10px"})),fe=styled(a)(({theme:e})=>({fontSize:"11px",color:e.palette.text.primary,fontWeight:600,lineHeight:"14.3px",width:200})),Se=styled(c)(()=>({display:"flex",flexDirection:"column",maxHeight:400,overflow:"auto",gap:"8px"})),D=styled(O)(({theme:e})=>({width:"inherit",height:32,padding:"11px 12px",fontSize:"10px",borderRadius:"5px",backgroundColor:"#F9F9F9",border:"1px solid transparent","&.Mui-focused":{borderColor:e.palette.info.dark}})),ge=styled(a$1)(()=>({padding:0,width:12,height:12,".MuiSvgIcon-root, img":{width:12,height:12}})),F=styled(c)(()=>({display:"flex",flexDirection:"column",gap:"8px",padding:"4px"})),Ce=styled(c)(()=>({display:"flex",gap:"8px",padding:"4px",flexWrap:"wrap"})),Ie=styled(c)(({theme:e})=>({display:"flex",padding:"4px 8px 4px 6px",alignItems:"center",gap:"4px",borderRadius:"13px",backgroundColor:`${e.palette.info.dark}1a`,fontSize:"10px",fontWeight:500,cursor:"pointer"})),g=styled(a)(({theme:e,selected:n})=>({display:"flex",gap:"8px",alignItems:"center",fontSize:"10px",fontWeight:500,color:e.palette.common.black,cursor:"pointer",padding:8,justifyContent:"space-between",...n&&{backgroundColor:"#F8F8F8"}}));var te="M4.83332 0C2.16987 0 0 2.16988 0 4.83334C0 7.4968 2.16987 9.66668 4.83332 9.66668C5.98544 9.66668 7.04455 9.2597 7.87628 8.58335L11.1465 11.8535C11.1925 11.9015 11.2477 11.9398 11.3088 11.9662C11.3698 11.9926 11.4356 12.0066 11.5021 12.0072C11.5686 12.0079 11.6346 11.9953 11.6962 11.9702C11.7578 11.945 11.8137 11.9078 11.8607 11.8608C11.9078 11.8138 11.945 11.7578 11.9701 11.6962C11.9953 11.6346 12.0079 11.5686 12.0072 11.5021C12.0065 11.4356 11.9926 11.3699 11.9662 11.3088C11.9398 11.2478 11.9015 11.1926 11.8535 11.1465L8.58331 7.87632C9.25966 7.04458 9.66664 5.98546 9.66664 4.83334C9.66664 2.16988 7.49677 0 4.83332 0ZM4.83332 1C6.95633 1 8.66665 2.71032 8.66665 4.83334C8.66665 5.86755 8.25871 6.80192 7.59699 7.49025C7.5562 7.52023 7.5202 7.55623 7.49022 7.59702C6.80189 8.25875 5.86752 8.66668 4.83332 8.66668C2.71031 8.66668 0.999997 6.95636 0.999997 4.83334C0.999997 2.71032 2.71031 1 4.83332 1Z";function oe({size:e=12,sx:n,className:r,...d}){return jsx(ee,{viewBox:"0 0 12 12",inheritViewBox:true,className:`${r??""} MUISvgIcon__search-icon`,sx:{width:e,height:e,color:"text.primary",...n},...d,children:jsx("path",{d:te,fill:"currentColor"})})}var N=oe;function pe({options:e,onChangeOption:n,selectedOption:r,placeholder:d,label:A,isLoading:R,renderOption:C,iconUrl:h,disabled:u,onClearValue:m,slotProps:V={},hideSelectedCheckmark:$,listWrapperSx:Z={},name:U,...q}){let G=Mc(useId(),"select-with-search"),{selectInput:I={},searchInput:J={},dropdownContainer:v={},item:b={}}=V,[w,y]=useState(null),[a,x]=useState(""),K=useCallback(()=>{m!==void 0?m():n(null);},[m,n]),f=!!w,Q=t=>{u||y(f?null:t.currentTarget);},S=()=>{y(null),x("");},X=R?jsx(CircularProgress,{size:16}):jsx(N,{onClick:()=>{a&&x("");},role:"button"}),W=useMemo(()=>a?e.filter(t=>{let p=t?.label?.toLowerCase(),j=t?.value?.toLowerCase();return p?.includes(a.toLowerCase())||j?.includes(a.toLowerCase())}):e,[e,a]),Y=useMemo(()=>jsx(c,{sx:{display:"flex",alignItems:"center",maxWidth:16},children:jsx(c,{component:"img",src:h,alt:"icon",sx:{maxWidth:12,height:12}})}),[h]);return jsx(a$2,{id:G,"data-testid":"SelectWithSearch",disabled:u,open:f,anchorEl:w,onOpen:Q,onClose:S,hasValue:!!r?.value,onClear:K,trigger:jsx(a$3,{className:"SelectWithSearch_input",name:U,placeholder:"Please Select",label:A,sx:{cursor:"pointer"},value:r?.label||"",InputLabelProps:{filled:!!r?.label},disabled:u,...I,InputProps:{readOnly:true,disableUnderline:true,...!!h&&{startAdornment:Y},...I.InputProps}}),listWrapperSx:{height:"100%",overflow:"hidden",...Z},slotProps:{popover:{slotProps:{paper:{sx:{overflow:"hidden"}}}}},...q,children:jsxs(F,{...v,className:`SelectWithSearch_container ${v?.className??""}`,children:[jsx(D,{className:"SelectWithSearch_input",placeholder:d||"Select",endAdornment:X,onClick:t=>{t.stopPropagation();},value:a,onChange:t=>{x(t.target.value);},disableUnderline:true,sx:{cursor:"default",width:"100%",backgroundColor:"white",border:"1px solid #F2F2F2",...e.length&&{marginBottom:"4px"},...a&&{cursor:"pointer"}},...J}),jsxs(c,{className:"SelectWithSearch_options",overflow:"auto",maxHeight:400,children:[W.length===0&&a&&jsx(g,{selected:false,...b,children:jsx(ne,{component:"span",fontSize:"10px",fontWeight:500,color:"#8D8D94",children:"No results found"})}),W.map(t=>C?C(t,{closeDropdown:S,open:f}):createElement(g,{...b,className:`SelectWithSearch_item ${r?.value===t.value?"SelectWithSearch_item-selected":""}`,key:t.value,selected:r?.value===t.value,onClick:p=>{p.stopPropagation(),p.preventDefault(),r?.value===t.value?n(null):n(t),S();}},jsx("span",{children:t.label}),!$&&r?.value===t?.value&&jsx(c,{component:"img",src:Nc,alt:"close",sx:{width:10,height:7.5}})))]})]})})}var H=pe;var Ve=H;export{xe as a,fe as b,Se as c,D as d,ge as e,F as f,Ce as g,Ie as h,g as i,Ve as j};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {ka,Sb,L,Hc,Ic}from'./chunk-
|
|
1
|
+
import {ka,Sb,L,Hc,Ic}from'./chunk-I3D3CUSX.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(()=>{ka()||(window.location.href="/login");},[e]);};function Be(e){return {isParameterSelected:(o,r)=>r?.map(s=>Sb(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=L(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=Hc(e,t.requiredFilterKeys);return {columns:useMemo(()=>Ic(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 +1 @@
|
|
|
1
|
-
import {Mc}from'./chunk-
|
|
1
|
+
import {Mc}from'./chunk-I3D3CUSX.js';import {memo,useId}from'react';import {createPortal}from'react-dom';import e from'@mui/material/Backdrop';import {alpha}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';function n(r){let p=Mc(useId(),"window-backdrop");return createPortal(jsx(e,{id:p,sx:{zIndex:1,backgroundColor:d=>alpha(d.palette.common.black,.3)},...r}),document.body)}var i=memo(n);export{i as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Mc}from'./chunk-
|
|
1
|
+
import {Mc}from'./chunk-I3D3CUSX.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=Mc(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};
|