@tap-payments/os-micro-frontend-shared 0.3.28 → 0.3.29
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-T34AXWYN.js → chunk-2QZ4IOL5.js} +1 -1
- package/build/_chunks/{chunk-QVDDYVTF.js → chunk-3B6VYVIY.js} +1 -1
- package/build/_chunks/{chunk-GXH27UIL.js → chunk-3EJTIBHC.js} +1 -1
- package/build/_chunks/{chunk-DBF5A4I4.js → chunk-3IDHJM4W.js} +1 -1
- package/build/_chunks/{chunk-Y56MCVO2.js → chunk-3KA5T7WV.js} +1 -1
- package/build/_chunks/{chunk-3UHO2LCZ.js → chunk-4BVFIKDI.js} +1 -1
- package/build/_chunks/{chunk-VMLNXIN3.js → chunk-4C7A45LE.js} +1 -1
- package/build/_chunks/{chunk-NLFN2OVK.js → chunk-4EIPPJUA.js} +1 -1
- package/build/_chunks/{chunk-3QUM5SZJ.js → chunk-4N4YBG7Y.js} +1 -1
- package/build/_chunks/{chunk-FSRKBXVL.js → chunk-4VEXHGOG.js} +1 -1
- package/build/_chunks/{chunk-YYS5CSPE.js → chunk-4YMQA5DJ.js} +1 -1
- package/build/_chunks/{chunk-EHNVKLW3.js → chunk-52ZY2SFF.js} +1 -1
- package/build/_chunks/{chunk-RAUNV4LU.js → chunk-53W2AFZS.js} +1 -1
- package/build/_chunks/{chunk-3HELBZZ3.js → chunk-57IZKCTX.js} +1 -1
- package/build/_chunks/{chunk-FJ5NZY4N.js → chunk-5CRSRCD3.js} +1 -1
- package/build/_chunks/{chunk-GJRM5OIB.js → chunk-5YY4V2BQ.js} +2 -2
- package/build/_chunks/{chunk-UHHZ6EFL.js → chunk-65IBAMBY.js} +1 -1
- package/build/_chunks/{chunk-FUEWVZR3.js → chunk-6F7CGNED.js} +1 -1
- package/build/_chunks/{chunk-XKN6CUFV.js → chunk-6LIGMKIB.js} +1 -1
- package/build/_chunks/{chunk-LPDLBRDV.js → chunk-6TGHYOO5.js} +1 -1
- package/build/_chunks/{chunk-DIXJ7ZSS.js → chunk-6YNVC4FT.js} +1 -1
- package/build/_chunks/{chunk-4DE6G7IT.js → chunk-77LO6FE5.js} +1 -1
- package/build/_chunks/{chunk-VXHJ2V5Z.js → chunk-7WCLIUSB.js} +1 -1
- package/build/_chunks/{chunk-HXVTV4OR.js → chunk-7ZHAFW7H.js} +1 -1
- package/build/_chunks/{chunk-5ZAXLG5U.js → chunk-A7X2X3UL.js} +1 -1
- package/build/_chunks/{chunk-OEMAFMGH.js → chunk-ABRMR2FW.js} +1 -1
- package/build/_chunks/{chunk-RADJ4EHN.js → chunk-AYMUVBOK.js} +1 -1
- package/build/_chunks/{chunk-FY32NCWR.js → chunk-B63K56UX.js} +1 -1
- package/build/_chunks/{chunk-YPKLKN27.js → chunk-BA7XWXLC.js} +1 -1
- package/build/_chunks/{chunk-BWAWGD5O.js → chunk-BFYHQH3M.js} +1 -1
- package/build/_chunks/{chunk-CUGCAYVI.js → chunk-BGYQKEH4.js} +1 -1
- package/build/_chunks/{chunk-Z6AHVNSB.js → chunk-BS3YO47L.js} +1 -1
- package/build/_chunks/{chunk-W7ECDFFB.js → chunk-BVWMYKKV.js} +1 -1
- package/build/_chunks/{chunk-OD642CAS.js → chunk-CEYEY7YB.js} +1 -1
- package/build/_chunks/{chunk-I7BUT3ZB.js → chunk-CP4AJBXH.js} +1 -1
- package/build/_chunks/{chunk-WMDQIKTJ.js → chunk-CYFZ7H6K.js} +1 -1
- package/build/_chunks/{chunk-JVUR4OEO.js → chunk-E3LEQY3P.js} +1 -1
- package/build/_chunks/{chunk-LIGSV26U.js → chunk-EATPDOU2.js} +1 -1
- package/build/_chunks/{chunk-KILZNCX7.js → chunk-EI2QQ3FL.js} +1 -1
- package/build/_chunks/{chunk-6HBJYD2H.js → chunk-EKOXQUSJ.js} +1 -1
- package/build/_chunks/{chunk-6O4LCBHI.js → chunk-EONK7NDO.js} +1 -1
- package/build/_chunks/{chunk-C63AMR3L.js → chunk-FHJWJ53U.js} +1 -1
- package/build/_chunks/{chunk-FT5FVT5H.js → chunk-FJAZ7EJ3.js} +1 -1
- package/build/_chunks/{chunk-6OBQ4AJR.js → chunk-FU5YS27X.js} +1 -1
- package/build/_chunks/{chunk-ZJGUGSLI.js → chunk-GD6V56NO.js} +1 -1
- package/build/_chunks/{chunk-SM437GW6.js → chunk-GFRGQBZJ.js} +1 -1
- package/build/_chunks/{chunk-JPOVKI2J.js → chunk-GRRMFF24.js} +1 -1
- package/build/_chunks/chunk-GXKKW3US.js +2 -0
- package/build/_chunks/{chunk-CA5DBTBB.js → chunk-HID43SDT.js} +1 -1
- package/build/_chunks/{chunk-WAXJ7TIR.js → chunk-I5QH3YUQ.js} +1 -1
- package/build/_chunks/{chunk-DT2YDGTG.js → chunk-I6TVZZRM.js} +1 -1
- package/build/_chunks/{chunk-V4CI5DBP.js → chunk-ICCHS4MG.js} +1 -1
- package/build/_chunks/{chunk-BDP3CE2Y.js → chunk-IPS2LPDR.js} +1 -1
- package/build/_chunks/chunk-ITNYA2BL.js +1 -0
- package/build/_chunks/chunk-IUXIBZV3.js +2 -0
- package/build/_chunks/{chunk-BX2NLDVN.js → chunk-JEICZHGL.js} +1 -1
- package/build/_chunks/{chunk-OY767GWW.js → chunk-JQ5V7JJR.js} +1 -1
- package/build/_chunks/chunk-JWQBGHVQ.js +1 -0
- package/build/_chunks/{chunk-ZD4HXSIE.js → chunk-K3QVNBIT.js} +1 -1
- package/build/_chunks/{chunk-GTRUPCJG.js → chunk-KV7RNQIH.js} +1 -1
- package/build/_chunks/{chunk-CBKPF2RN.js → chunk-L75FKUUD.js} +1 -1
- package/build/_chunks/chunk-LZVIK4HM.js +1 -0
- package/build/_chunks/chunk-M3V5SG2U.js +1 -0
- package/build/_chunks/chunk-MEHO7E4N.js +1 -0
- package/build/_chunks/{chunk-XPIPZOWC.js → chunk-MRIJSE7V.js} +1 -1
- package/build/_chunks/{chunk-FITGYAHO.js → chunk-N44VXGQ6.js} +1 -1
- package/build/_chunks/{chunk-ODHSZR6F.js → chunk-N4TBHB3Z.js} +1 -1
- package/build/_chunks/{chunk-4KURZXTD.js → chunk-NAJQUPFB.js} +1 -1
- package/build/_chunks/{chunk-ZXMAGFOQ.js → chunk-O7VXWCQH.js} +1 -1
- package/build/_chunks/{chunk-X22SBB5R.js → chunk-OB2LASWR.js} +1 -1
- package/build/_chunks/{chunk-ZMDVHYYZ.js → chunk-ODCGP6QY.js} +1 -1
- package/build/_chunks/{chunk-U56RESPD.js → chunk-OY6MZ77P.js} +1 -1
- package/build/_chunks/{chunk-VDOJ7IF5.js → chunk-PASL6KWI.js} +1 -1
- package/build/_chunks/{chunk-ULAJHCQR.js → chunk-PCUBROQH.js} +1 -1
- package/build/_chunks/{chunk-ACAV2GHU.js → chunk-PKTMWSV2.js} +1 -1
- package/build/_chunks/{chunk-5TYFYI4H.js → chunk-PUDF3MGR.js} +1 -1
- package/build/_chunks/{chunk-CCARR7RA.js → chunk-PV7X7SXA.js} +1 -1
- package/build/_chunks/{chunk-2JZ2JWQN.js → chunk-QYS2UNHT.js} +1 -1
- package/build/_chunks/{chunk-N42HJ7S5.js → chunk-SENINKAQ.js} +1 -1
- package/build/_chunks/{chunk-FGXFG7LH.js → chunk-SHUHGHAI.js} +1 -1
- package/build/_chunks/{chunk-ZVVPPH2Z.js → chunk-SKAQS5ML.js} +1 -1
- package/build/_chunks/{chunk-O4ZADND6.js → chunk-SNYZMQPA.js} +1 -1
- package/build/_chunks/chunk-ST43DROT.js +2 -0
- package/build/_chunks/{chunk-ZWDT6274.js → chunk-T2EPOEFC.js} +1 -1
- package/build/_chunks/{chunk-RJN75AJX.js → chunk-TPMYBLI5.js} +1 -1
- package/build/_chunks/{chunk-VTFGOUPX.js → chunk-TUR7XO3E.js} +1 -1
- package/build/_chunks/{chunk-DFAT6DB4.js → chunk-UCZYXKNB.js} +1 -1
- package/build/_chunks/{chunk-ZFBHQ7AA.js → chunk-UIPHUTZL.js} +1 -1
- package/build/_chunks/{chunk-IMTSMH3Y.js → chunk-URKLILFD.js} +1 -1
- package/build/_chunks/{chunk-LOBUIUY6.js → chunk-USKDMJPB.js} +1 -1
- package/build/_chunks/{chunk-AYWPZWRU.js → chunk-UXF3YGKO.js} +1 -1
- package/build/_chunks/{chunk-FEXD3MRU.js → chunk-V2XFUF7R.js} +1 -1
- package/build/_chunks/{chunk-YED67W2N.js → chunk-V7QLQDJ7.js} +1 -1
- package/build/_chunks/{chunk-2LUZ3WTR.js → chunk-VN6QL6H7.js} +1 -1
- package/build/_chunks/{chunk-27V4YXJB.js → chunk-VXRKCZTT.js} +1 -1
- package/build/_chunks/{chunk-B5NRRVCN.js → chunk-W43NRJJH.js} +1 -1
- package/build/_chunks/{chunk-EO4X35JU.js → chunk-WAJXXB2B.js} +1 -1
- package/build/_chunks/{chunk-Y7MKQHVC.js → chunk-WG3Q2IKJ.js} +1 -1
- package/build/_chunks/{chunk-547JLKHD.js → chunk-WPNUBJWG.js} +1 -1
- package/build/_chunks/{chunk-QN6673G2.js → chunk-WWODNHVW.js} +1 -1
- package/build/_chunks/{chunk-B5A7SJWC.js → chunk-WWUCJ45J.js} +1 -1
- package/build/_chunks/{chunk-PH4EFHVU.js → chunk-XF26PMG3.js} +1 -1
- package/build/_chunks/{chunk-ZGS3WTB5.js → chunk-XFFKD7WO.js} +1 -1
- package/build/_chunks/{chunk-QP7KFNIL.js → chunk-XSXVAK62.js} +1 -1
- package/build/_chunks/{chunk-BENSXDVD.js → chunk-YA27C2AC.js} +1 -1
- package/build/_chunks/{chunk-FMA5REGE.js → chunk-YA2XHXSP.js} +1 -1
- package/build/_chunks/{chunk-PDH6VHHT.js → chunk-YEUHJU7X.js} +1 -1
- package/build/_chunks/{chunk-BXHELRHY.js → chunk-Z45UP3A4.js} +1 -1
- package/build/_chunks/{chunk-FOEBDYWK.js → chunk-ZDAQ4LQ3.js} +1 -1
- package/build/_chunks/{chunk-74TWPONC.js → chunk-ZH7QVAHJ.js} +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/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/FlagDetails/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/index.js +1 -1
- package/build/components/LanguageDropdown/index.js +1 -1
- package/build/components/LazyImage/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/MultiDatakeyDonut/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/SearchListInput/index.js +1 -1
- package/build/components/SelectDropdown/index.js +1 -1
- package/build/components/SelectWithSearch/index.js +1 -1
- package/build/components/SimpleDialog/index.js +1 -1
- package/build/components/Skeleton/index.js +1 -1
- package/build/components/Slider/index.js +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/WindowAppIcon/index.js +1 -1
- package/build/components/WindowBackdrop/index.js +1 -1
- package/build/components/WindowSideBar/index.js +1 -1
- package/build/components/_v2/index.js +1 -1
- package/build/components/index.js +1 -1
- package/build/constants/apps.d.ts +305 -0
- package/build/constants/assets.d.ts +2 -0
- package/build/constants/index.js +1 -1
- package/build/hooks/index.js +1 -1
- package/build/index.js +1 -1
- package/build/utils/index.js +1 -1
- package/package.json +1 -1
- package/build/_chunks/chunk-3LIQ643G.js +0 -1
- package/build/_chunks/chunk-DMDMRVFW.js +0 -2
- package/build/_chunks/chunk-HHZJ22VF.js +0 -1
- package/build/_chunks/chunk-KTJKCULP.js +0 -1
- package/build/_chunks/chunk-NROTBZV3.js +0 -2
- package/build/_chunks/chunk-UXNHJGII.js +0 -2
- package/build/_chunks/chunk-UZ3YI6EB.js +0 -1
- package/build/_chunks/chunk-Y46XUMNB.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-GNY2VGGW.js';import {r}from'./chunk-
|
|
1
|
+
import {a as a$1}from'./chunk-GNY2VGGW.js';import {r}from'./chunk-ST43DROT.js';import F from'react';import {useTranslation}from'react-i18next';import a from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var y="37px",f=styled(a,{shouldForwardProp:o=>o!=="showBackDrop"&&o!=="areTotalRowsNotFillingHeight"&&o!=="sandboxMode"&&o!=="maximized"})(({theme:o,showBackDrop:i,areTotalRowsNotFillingHeight:r,sandboxMode:n,maximized:p})=>({minHeight:y,...!p&&{borderBottomLeftRadius:o.spacing(1.5),borderBottomRightRadius:o.spacing(1.5)},display:"flex",alignItems:"center",border:"none",justifyContent:"space-between",padding:"6px 32px",background:n?o.palette.common.lightOrange:o.palette.grey[300],backdropFilter:"blur(32px)",boxShadow:i?o.shadows[24]:"none",borderTop:r?`1px outset ${o.palette.grey[800]}`:"none",width:"100%",marginTop:"auto",flexShrink:0,cursor:"move"})),u=styled("div")(({theme:o})=>({position:"absolute",top:0,left:0,right:0,height:"1.5px",backgroundColor:o.palette.grey[300],boxShadow:`inset 0 1px 0 0 ${o.palette.grey[300]}`})),d=styled(a)(({theme:o})=>({borderRadius:"37.5px",border:"0.75px solid rgba(242, 242, 242, 0.70)",backgroundColor:o.palette.common.white,opacity:1,paddingInline:o.spacing(1),display:"flex",alignItems:"center",height:24,gap:"7px",maxWidth:"max-content"})),x=styled(a$1)(()=>({fontSize:"9px",fontWeight:400,lineHeight:"10.8px"})),g=styled(a$1)(()=>({fontSize:"10.5px",fontWeight:700,lineHeight:"12.6px"}));styled(a)(()=>({display:"flex",gap:"3px",alignItems:"center"}));styled(a)(()=>({display:"flex",gap:"6px"}));styled("span")(()=>({fontWeight:400}));function R({totalCount:o,showBackDrop:i=false,showSeparator:r$1,sandboxMode:n,maximized:p,selectedCount:m,...T}){let{t:b}=useTranslation();return jsxs(f,{component:"footer","data-testid":"TableFooter",maximized:p??false,sandboxMode:n,showBackDrop:i,areTotalRowsNotFillingHeight:!!r$1,...T,children:[r$1&&jsx(u,{}),m?jsxs(d,{sx:{gap:"6px",cursor:"text"},children:[jsx(x,{children:b("selected")}),jsx(g,{children:r(m)})]}):null,o||o===0?jsxs(d,{sx:{gap:"6px",cursor:"text"},children:[jsx(x,{children:b("count")}),jsx(g,{children:r(o||0)})]}):null]})}var h=F.memo(R);var M=h;export{y as a,h as b,M as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Va,pd}from'./chunk-
|
|
1
|
+
import {Va,pd}from'./chunk-ST43DROT.js';import I,{useId}from'react';import h from'@mui/material/Box';import y from'@mui/material/Input';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var a=styled(y,{shouldForwardProp:r=>!["isError","hideArrows"].includes(r)})(({theme:r,hideArrows:o})=>({padding:"8px",border:`1px solid ${r.palette.divider}`,borderRadius:"4px",height:32,color:r.palette.text.primary,fontSize:"11px",outline:0,maxWidth:"100%",display:"flex",flexGrow:1,"::placeholder":{color:r.palette.grey[700],fontWeight:400},...o&&{"& input[type=number]":{MozAppearance:"textfield"},"& input[type=number]::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0},"& input[type=number]::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0}}}));var w=Va();function l({isError:r,hideArrows:o,inputProps:s,onKeyDown:n,...t},m){let f=pd(useId(),"input-number"),b=e=>{if(["e","E","+","-"].includes(e.key)&&e.preventDefault(),n){n?.(e);return}w&&isNaN(e.key)&&e.key!=="Backspace"&&e.preventDefault();};return jsx(h,{id:f,"data-testid":"InputNumber",sx:{flexGrow:1},onClick:e=>{e.stopPropagation();},children:jsx(a,{...t,ref:m,value:t.value||"",placeholder:t.placeholder,hideArrows:true,isError:r,disableUnderline:true,inputProps:{...s,type:"number"},onKeyDown:b,onWheel:e=>{e.target instanceof HTMLElement&&e.target.blur();}})})}l.displayName="InputNumber";var d=I.forwardRef(l);var H=d;export{H as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {pd}from'./chunk-
|
|
1
|
+
import {pd}from'./chunk-ST43DROT.js';import {useId}from'react';import d from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var n=styled(d)(()=>({color:"#1F88D0",backgroundColor:"#1F88D00D",padding:"8px 12px",borderRadius:"4px",fontSize:"11px",display:"flex",alignItems:"center",gap:"2px"})),r=styled("span")(()=>({fontWeight:700})),a=styled("span")(()=>({fontWeight:500}));function t(){let i=pd(useId(),"beta-banner");return jsxs(n,{id:i,"data-testid":"BetaBanner",children:[jsx(r,{children:"Insights is in beta -"}),jsx(a,{children:"improvements are ongoing, thanks for your patience."})]})}var C=t;export{C as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-PASL6KWI.js';import {pd}from'./chunk-ST43DROT.js';import {kh,z}from'./chunk-IUXIBZV3.js';import {useId}from'react';import g from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var s=styled(a)(({theme:o})=>({border:`1px solid ${o.palette.divider}`,".icon":{width:14}})),d=styled(g)(()=>({padding:"8px 16px","> div + div":{marginTop:"8px"}}));var v=({value:o,name:c,placeholder:l,onSearchChange:u,onSearchReset:f,...h})=>{let I=pd(useId(),"search-list-input");return jsx(d,{id:I,"data-testid":"SearchListInput",...h,children:jsx(s,{className:"input",name:c,placeholder:l,onChange:t=>u(t.target.value),onKeyDown:t=>t.stopPropagation(),value:o,inputProps:{autoComplete:"off"},endAdornment:jsx(g,{component:"img","data-icon":o?"close":"search",src:o?kh:z,alt:"search",className:"icon",sx:{cursor:o?"pointer":"default"},onClick:f})})})},m=v;var R=m;export{R as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {h,g,a,f,e as e$1,d,c}from'./chunk-
|
|
1
|
+
import {h,g,a,f,e as e$1,d,c}from'./chunk-O7VXWCQH.js';import {e}from'./chunk-Z45UP3A4.js';import {pd,kb,r}from'./chunk-ST43DROT.js';import {nk,ga,Qa,Df,Zj,Va,Pa,Mf,Lf,Nf,Kf,Pf,wb,vb,pj,Zi,db,kj,A,v,z,C,Ig,Yi,t,qj}from'./chunk-IUXIBZV3.js';import {memo,useId,useState,useRef,useEffect,useMemo,useCallback}from'react';import {useTranslation}from'react-i18next';import {useTheme}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function L({isActive:p,disableHover:o}){let[s,C]=useState(false),c=useTheme(),e=()=>{o||C(true);},i=()=>{C(false);},I=p?c.palette.common.white:c.palette.grey[700],u=s?c.palette.common.black:"transparent";return jsx("svg",{width:"27",height:"30",viewBox:"0 0 27 32",xmlns:"http://www.w3.org/2000/svg",children:jsxs("g",{id:"Group 140343",children:[jsx("path",{id:"Active",d:"M0 0H11C19.8366 0 27 7.16344 27 16C27 24.8366 19.8366 32 11 32H0V0Z",fill:u,fillOpacity:"0.1",onMouseEnter:e,onMouseLeave:i}),jsx("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M15.6941 15.0078C15.6494 15.0193 15.6083 15.043 15.5758 15.0769L12.5026 18.1501L12.5025 18.1501L15.5756 15.0769C15.6082 15.043 15.6493 15.0193 15.6941 15.0078ZM12.5619 18.7465C12.5426 18.7512 12.5227 18.7536 12.5026 18.7536C12.4363 18.7536 12.3727 18.7273 12.3258 18.6804L9.07581 15.4304C9.04012 15.3957 9.01559 15.3512 9.00535 15.3025C8.99511 15.2538 8.99963 15.2032 9.01833 15.1571C9.03703 15.111 9.06907 15.0715 9.11033 15.0437C9.13446 15.0275 9.16112 15.0156 9.18904 15.0086C9.16105 15.0156 9.13433 15.0275 9.11013 15.0438C9.06887 15.0716 9.03684 15.111 9.01814 15.1571C8.99944 15.2032 8.99492 15.2539 9.00516 15.3026C9.0154 15.3513 9.03993 15.3958 9.07562 15.4305L12.3256 18.6805C12.3725 18.7273 12.4361 18.7537 12.5024 18.7537C12.5226 18.7537 12.5426 18.7512 12.5619 18.7465ZM16.1965 15.342C16.1781 15.4301 16.1338 15.5105 16.0693 15.5731L12.8205 18.8219C12.7361 18.9063 12.6217 18.9537 12.5024 18.9537C12.3831 18.9537 12.2686 18.9062 12.1842 18.8219L8.93507 15.5728C8.87148 15.5105 8.82775 15.4308 8.80944 15.3437C8.79101 15.2561 8.79914 15.165 8.8328 15.082C8.86646 14.999 8.92412 14.9279 8.99839 14.8779C9.07266 14.8279 9.16022 14.8011 9.24978 14.8011C9.30998 14.8011 9.36958 14.8132 9.42503 14.8366C9.47997 14.8599 9.52973 14.8938 9.57144 14.9364L12.5024 17.8673L15.433 14.9368C15.5151 14.852 15.6273 14.803 15.7454 14.8002C15.836 14.798 15.9252 14.8233 16.0013 14.8728C16.0773 14.9222 16.1367 14.9935 16.1715 15.0772C16.2063 15.1609 16.2151 15.2533 16.1965 15.342Z",fill:I})]})})}var vt={inProgress:qj,initiated:qj,abandoned:t,cancelled:Yi,reversed:Ig,reports:C,search:z,chevronDown:v,unAuthorized:A,unSettled:kj,unCaptured:db,captured:Zi,authorized:pj,openFlag:vb,closedFlag:wb,unauthenticated:Pf,authenticated:Kf,paidOut:Nf,scheduled:Lf,checked:Mf,dashedChecked:Pa,deactivated:Va,destination:Zj,destinationReversed:Df,outstanding:Qa,active:ga,inactive:nk};var Nt=memo(p=>{let{variant:o="inActive",badgeCount:s,icon:C,label:c$1,dropdownOptions:e$2,selectedStatus:i,onButtonBodyClick:I,iconMapper:u=vt,buttonSx:Bt,...bt}=p,St=pd(useId(),"status-button"),[Lt,M]=useState(0),{t:E}=useTranslation(),y=useRef(null),[T,f$1]=useState(null),[n,A]=useState(i??e$2?.[0]?.status);useEffect(()=>{i!==void 0&&A(i);},[i]);let d$1=useMemo(()=>!!e$2?.length,[e$2]),h$1=!!T&&Lt>1,l=o==="active",x=useMemo(()=>l?"active":"inActive",[l]),m=useMemo(()=>n?e$2?.find(t=>t.status===n):null,[n,e$2]),kt=useMemo(()=>{if(m?.icon)return jsx(h,{variant:o,children:m.icon});let t=n&&u[n]?n:C;if(t&&u[t])return jsx(g,{icon:t,variant:o,src:u[t],alt:`${t}-icon`})},[m,n,u,C,o]),wt=useMemo(()=>!s||Number.isNaN(kb(s))?null:jsx(e,{variant:x,children:r(Number(s))}),[s,x]),H=useMemo(()=>d$1?jsx(L,{isActive:l}):null,[d$1,l]);useEffect(()=>{l||(M(0),f$1(null));},[l]);let g$1=useCallback(()=>{f$1(null);},[]),P=useCallback(()=>{d$1&&f$1(h$1?null:y.current);},[d$1,h$1]),Mt=useCallback(t=>{t.stopPropagation(),p?.onClick?.(t),I?.(n||e$2?.[0]?.status||"all"),P(),M(B=>B+1);},[p,I,n,e$2,P]),D=useCallback(t=>B=>{t?.onClick?.(B),A(t.status),g$1();},[g$1]),Et=useMemo(()=>e$2?.map(t=>({...t,onClick:D(t)}))||[],[e$2,D]),yt=a[o],Tt=useMemo(()=>m?.label||(n?E(n):c$1),[m,n,E,c$1]);return jsxs(Fragment,{children:[jsx(yt,{id:St,"data-testid":"StatusButton",...bt,ref:y,onClick:Mt,statusVariant:o,sx:{...d$1&&{paddingInlineEnd:"27px"},...Bt},children:jsxs(f,{children:[jsxs(e$1,{variant:o,children:[kt,Tt,wt]}),H&&jsx(d,{children:H})]})}),h$1&&d$1&&jsx(c,{open:h$1,onClose:g$1,anchorEl:T,menuItems:Et})]})}),gt=Nt;var en=gt;
|
|
2
2
|
export{L as a,en as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {pd,hb}from'./chunk-
|
|
1
|
+
import {pd,hb}from'./chunk-ST43DROT.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=pd(useId(),"display-amount"),{integerAmount:c,decimalAmount:f}=hb(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 {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-FHJWJ53U.js';import {pd,Oc}from'./chunk-ST43DROT.js';import {rh,oj,ga,ed,Ji,D,bk,B,sb}from'./chunk-IUXIBZV3.js';import {useId,useMemo,useState,useCallback}from'react';import {useTranslation}from'react-i18next';import b from'@mui/material/Box';import V from'@mui/material/Popper';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var L=styled(b)(({theme:n})=>({background:n.palette.common.white,borderRadius:"4px",filter:"drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.16))",minWidth:148,width:"max-content",marginTop:"8px"})),l=styled(b,{shouldForwardProp:n=>n!=="open"})(({theme:n,open:s})=>({display:"flex",alignItems:"center",justifyContent:"space-between",height:32,padding:"8px 8px 8px 12px",cursor:"pointer",fontSize:"11px",fontWeight:500,color:n.palette.text.primary,"&:hover":{boxShadow:n.shadows[3]},...s&&{boxShadow:n.shadows[3]}})),u=styled(b)(()=>({display:"flex",alignItems:"center",gap:"8px"})),d=styled("img")(()=>({width:16,height:16,objectFit:"contain"})),$=styled(b)(()=>({height:27,display:"flex",alignItems:"center",padding:"0 12px",fontFamily:"Tap Sans",fontWeight:500,fontSize:"11px",lineHeight:"100%",letterSpacing:"0%",color:"#8D8D94",pointerEvents:"none",userSelect:"none"}));var F={refund:bk,flag:D,viewReceipt:Ji,viewApi:ed,capture:ga,void:oj,clipboard:rh};var X=({anchorEl:n,onClose:s,actions:h=[],linkedActions:M=[]})=>{let v=pd(useId(),"actions-dropdown-menu"),{t:E}=useTranslation(),I=!!n,f=useMemo(()=>h.filter(e=>e.isShown!==false),[h]),g=useMemo(()=>M.filter(e=>e.isShown!==false),[M]);return I?jsxs(b,{id:v,"data-testid":"ActionsDropdownMenu",children:[jsx(a,{onClick:s}),jsx(V,{open:I,anchorEl:n,placement:"bottom-end",sx:{zIndex:1e3},children:jsxs(L,{children:[f.map((e,r)=>jsx(l,{onClick:p=>{p.stopPropagation(),e.onClick?.(p);},sx:r===f.length-1&&g.length>0?{borderBottom:"1px solid",borderColor:"divider"}:void 0,children:jsxs(u,{children:[jsx(d,{src:F[e.icon]??e.icon??B,alt:"action-icon"}),jsx("span",{children:e.label})]})},`direct-${r}`)),g.length>0&&jsx($,{children:E("linkedActions")}),g.map(({render:e,icon:r,label:p,onClick:T,onRightClick:i},c)=>{let m=e?.();return e&&!m?null:m?jsx(b,{children:m},`linked-${c}`):jsxs(l,{onClick:a=>{a.stopPropagation(),T?.(a),s();},onContextMenu:i?a=>{i(a);}:void 0,children:[jsxs(u,{children:[r&&jsx(d,{src:r,alt:"linked-action-icon"}),jsx("span",{children:p})]}),jsx("img",{src:sb,alt:""})]},`linked-${c}`)})]})})]}):null};var ne=({appCode:n,appIcon:s,appName:h,appInfo:M,menuItems:v})=>{let[E,I]=useState(null),f=!!E,g=useCallback(i=>{let c=i.currentTarget.firstElementChild;I(c);},[]),e=useCallback(()=>{I(null);},[]),r=useMemo(()=>v?.filter(({isShown:i=true})=>i),[v]);if(!r?.length)return null;let p=M?.iconUrl??s,T=Oc(M?.name)??h;return jsxs(b,{onMouseEnter:g,onMouseLeave:e,children:[jsxs(l,{open:f,children:[jsxs(u,{children:[p&&jsx(d,{src:p,alt:"app"}),jsx("span",{children:T})]}),jsx("img",{src:sb,alt:""})]}),jsx(V,{open:f,anchorEl:E,placement:"left-start",sx:{zIndex:1301},children:jsx(L,{sx:{marginTop:0},children:r.map(({render:i,label:c,icon:m,onClick:a,onContextMenu:k},J)=>jsx(b,{children:i?.()??jsx(l,{onClick:C=>{C.stopPropagation(),a?.(C);},onContextMenu:k?C=>{k(C);}:void 0,children:jsxs(u,{children:[m&&jsx(d,{src:m,alt:"icon"}),jsx("span",{children:c})]})})},`app-${J}`))})})]})};export{X as a,ne as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {pd}from'./chunk-
|
|
1
|
+
import {pd}from'./chunk-ST43DROT.js';import {useId,useState,useRef,useMemo,useCallback,useEffect}from'react';import re from'@mui/material/Box';import {motion,AnimatePresence}from'framer-motion';import {styled}from'@mui/material/styles';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var v=3,h=24,B=styled("div")(()=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center"})),G=styled(motion.div)(()=>({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center"})),O=styled("div")(()=>({position:"relative",display:"inline-block",width:0,height:24,pointerEvents:"none"})),j=styled(motion.div)(({theme:i})=>({border:`1px solid ${i.palette.divider}`,borderRadius:12,height:24,display:"flex",alignItems:"center",justifyContent:"center",background:i.palette.background.paper,fontSize:12,position:"absolute",top:0,left:0,boxSizing:"border-box",whiteSpace:"nowrap",lineHeight:1,transition:"width 180ms ease-out, padding 180ms ease-out"})),F=styled(motion.div)(({theme:i})=>({border:`1px solid ${i.palette.divider}`,borderRadius:12,height:24,minWidth:24,display:"inline-flex",alignItems:"center",justifyContent:"center",background:i.palette.background.paper,overflow:"hidden",position:"relative",boxSizing:"border-box",whiteSpace:"nowrap",fontSize:12,lineHeight:1})),U={position:"relative",overflow:"visible",zIndex:1,display:"flex",alignItems:"center",justifyContent:"center"};function q({icons:i}){let[s,I]=useState(false),[l,R]=useState([]),P=useRef(null),S=useRef(null),y=useRef([]),e=useRef(null),u=i??[],b=Math.max(0,(u.length??1)-1),T=u[b],o=u.slice(0,b),{peekItems:w,mainShiftX:m,guardLeft:A,guardWidth:H}=useMemo(()=>{let t=o.length,D=l.length===t&&l.every(n=>n>0),g=-6*t,p=D?l.reduce((n,a)=>n+a,0):t*h,x=Math.max(0,t-1)*v,d=Math.round(s?g+p+v*t:0),E=t-1,C=-6*(E+1),z=[];for(let n=0;n<t;n++){let a=t-1-n,Z=-6*(n+1),ee=D?l.slice(0,a).reduce((_,ne)=>_+ne,0)+v*a:(h+v)*a,te=Math.round(n===E?C:C+ee);z.push({key:`peek-${n}`,rIdx:n,origIdx:a,offX:Z,hoverX:te,zIndex:t-n,refCb:_=>{y.current[a]=_;},content:o[a]});}let V=C,Y=p+x;return {peekItems:z,mainShiftX:d,guardLeft:V,guardWidth:Y}},[o,l,s]),r=useCallback(()=>{e.current&&(clearTimeout(e.current),e.current=null);},[]),f=useCallback(()=>{let g=o.map((p,x)=>{let d=y.current[x];if(!d)return h;let E=d.scrollWidth||h,C=Math.max(h,E+12+2);return Math.ceil(C)});R(p=>p.length===g.length&&p.every((x,d)=>x===g[d])?p:g);},[o.length]),K=useCallback(()=>{r(),I(true);},[r]),Q=useCallback(()=>{r(),e.current=setTimeout(()=>I(false),120);},[r]);return useEffect(()=>()=>r(),[r]),useEffect(()=>{f();},[o.length]),useEffect(()=>{if(!s)return;let t=window.requestAnimationFrame(()=>{f();});return ()=>window.cancelAnimationFrame(t)},[s,f]),{isHovering:s,handleMouseEnter:K,handleRootMouseLeave:Q,rootRef:P,mainChipRef:S,peekItems:w,mainShiftX:m,mainIcon:T,guardLeft:A,guardWidth:H}}function J({icons:i=[],expandedZIndex:s=1e3,sx:I}){let l=pd(useId(),"left-peek-right-expanding-chip"),{handleMouseEnter:R,handleRootMouseLeave:P,rootRef:S,mainChipRef:y,isHovering:e,peekItems:u,mainShiftX:b,mainIcon:T}=q({icons:i});return jsx(re,{id:l,sx:{...U,...I},"data-testid":"LeftPeekRightExpandingChipBox",children:jsx(B,{ref:S,onMouseLeave:P,onMouseEnter:R,children:jsxs(G,{"data-testid":"Container",initial:false,children:[jsx(O,{"data-testid":"PeekStack",onMouseEnter:R,onMouseLeave:P,style:{pointerEvents:e?"auto":"none"},children:jsx(AnimatePresence,{initial:false,children:u.map(({key:o,rIdx:w,offX:m,hoverX:A,zIndex:H,refCb:r,content:f})=>jsx(j,{"data-testid":`LeftPeekChip-${w}`,ref:r,initial:{opacity:0,scale:.95,x:m,y:0},animate:{opacity:1,scale:1,x:e?A:m,y:0},exit:{opacity:0,scale:.95,x:m,y:0},transition:{duration:.18,ease:"easeOut"},style:{zIndex:H,width:e?"auto":24,minWidth:24,padding:e?"0 6px":0,whiteSpace:"nowrap",overflow:e?"visible":"hidden",pointerEvents:e?"auto":"none"},children:e&&jsx(Fragment,{children:f})},o))})}),jsx(F,{"data-testid":"MainChip",ref:y,style:{zIndex:s+10,padding:"0 6px"},initial:false,animate:{x:e?b:0},transition:{duration:.18,ease:"easeOut"},children:T})]})})})}export{J as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {pd}from'./chunk-
|
|
1
|
+
import {pd}from'./chunk-ST43DROT.js';import {useId}from'react';import {styled,DialogContent,Dialog}from'@mui/material';import {jsx}from'react/jsx-runtime';var i=styled(DialogContent)(({theme:o})=>({padding:o.spacing(2)})),a=styled(Dialog)(({theme:o})=>({"& .MuiDialog-paper":{boxShadow:o.shadows[13],borderRadius:o.spacing(1)},"& .MuiModal-backdrop":{background:"rgba(0, 0, 0, 0.20)"}}));function e(o){let{onClose:n,selectedValue:d,open:r,sx:s,children:g,...m}=o,D=pd(useId(),"simple-dialog");return jsx(a,{id:D,"data-testid":"SimpleDialog",onClose:()=>{n(d);},open:r,sx:s,...m,children:jsx(i,{children:g})})}var k=e;export{k as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {b}from'./chunk-
|
|
1
|
+
import {b}from'./chunk-PUDF3MGR.js';import {pd}from'./chunk-ST43DROT.js';import {memo,useId}from'react';import {styled}from'@mui/material/styles';import {Box}from'@mui/material';import {jsx,jsxs}from'react/jsx-runtime';var p=styled(b)(()=>({backgroundColor:"#EFF1F2",border:"none",display:"flex",alignItems:"center",justifyContent:"center"})),i=styled("span")(()=>({display:"flex",alignItems:"center"}));function C({amount:s,currency:t,...a}){let u=pd(useId(),"amount-status-chip");return jsx(p,{id:u,"data-testid":"AmountStatusChip",disableAnimation:true,expandDirection:"left",...a,children:jsxs(Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",gap:"4px"},children:[t&&jsx(i,{children:t}),s]})})}var m=memo(C);var L=m;export{L as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {e as e$2}from'./chunk-
|
|
1
|
+
import {e as e$2}from'./chunk-ICCHS4MG.js';import {a as a$1}from'./chunk-BVWMYKKV.js';import {a as a$2}from'./chunk-FHJWJ53U.js';import {a,f,e as e$1}from'./chunk-O7VXWCQH.js';import {e}from'./chunk-Z45UP3A4.js';import {kb,r,pd}from'./chunk-ST43DROT.js';import {zb}from'./chunk-IUXIBZV3.js';import {memo,useRef,useMemo,useCallback,useId,useState}from'react';import {styled,Typography,Box,Popper}from'@mui/material';import {useTranslation}from'react-i18next';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var O=styled(Typography)(()=>({display:"block",textAlign:"center",fontSize:"10px",fontWeight:500,color:"#8D8D94",padding:"24px 0"})),A=styled(Box,{shouldForwardProp:t=>t!=="isDisabled"})(({isDisabled:t})=>({display:"flex",justifyContent:"space-between",alignItems:"center",gap:"4px",...t&&{"& img":{opacity:.3}}}));var tt=memo(t=>{let{variant:e$2="inActive",badgeCount:o,label:r$1,...n}=t,s=useRef(null),m=useMemo(()=>!o||Number.isNaN(kb(o))?null:jsx(e,{variant:"inActive",children:r(Number(o))}),[o]),u=useCallback(p=>{p.stopPropagation(),t?.onClick?.(p);},[t]),l=a[e$2];return jsx(l,{"data-testid":"MultiSelectStatusButton",...n,ref:s,onClick:u,statusVariant:e$2,children:jsx(f,{children:jsxs(e$1,{variant:e$2,children:[r$1,m]})})})}),V=tt;function W(t){let e=new Set;return t.filter(o=>e.has(o.value)?false:(e.add(o.value),true))}function h(t,e){let o=e.toLowerCase();return t.reduce((r,n)=>{if(n.options?.length){let s=h(n.options,e);s.length&&r.push({...n,options:s});}else (n.placeholder?.toLowerCase().includes(o)||n.value.toLowerCase().includes(o))&&r.push(n);return r},[])}function it({buttonLabel:t,onClear:e,onConfirm:o,dropdownItems:r,apiKey:n,data:s,styles:m,buttonDisabled:u,searchable:l,searchPlaceholder:p}){let{t:Q}=useTranslation(),Y=p??`${Q("search")}...`,$=pd(useId(),"multi-select-dropdown-button"),[C,b]=useState(null),[a,d]=useState(""),G=c=>{b(c.currentTarget);},g=()=>{b(null),d("");},x=!!C,L=s?.[n],J=Array.isArray(L)?L.length:0,S=useMemo(()=>{if(!r)return r;let c=W(r);return !l||!a?c:h(c,a)},[l,a,r]),v=l&&!!a&&S?.length===0,U=l?jsxs(Fragment,{children:[jsx(a$1,{name:"multi-select-search",value:a,placeholder:Y,onSearchChange:d,onSearchReset:()=>d(""),sx:{pt:0}}),v&&jsx(O,{children:"No results found"})]}):void 0;return jsxs("div",{id:$,"data-testid":"MultiSelectDropdownButton",children:[jsx(V,{onClick:G,label:jsxs(A,{isDisabled:u,children:[t,jsx("img",{src:zb,alt:"arrow-down"})]}),disabled:u,badgeCount:J}),x&&jsx(a$2,{onClick:g}),jsx(Popper,{open:x,anchorEl:C,placement:"bottom-start",sx:{zIndex:9999},children:jsx(e$2,{onCloseDropdown:g,filter:{apiKey:n,data:s,onClear:e,onConfirm:o,options:S,type:"list"},styles:{...m,height:v?"auto":"300px",overflowY:"scroll",maxWidth:"200px"},header:U,searchable:l})})]})}var z=memo(it);var At=z;export{At as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {pd}from'./chunk-
|
|
1
|
+
import {pd}from'./chunk-ST43DROT.js';import {memo,useId}from'react';import {Box}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import W from'@mui/material/Accordion';import $ from'@mui/material/AccordionDetails';import T from'@mui/material/AccordionSummary';import {styled}from'@mui/material/styles';function f({sx:o}){return jsx(Box,{component:"span",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",transition:"transform 0.2s ease",transform:"rotate(0deg)",...o},children:jsx("svg",{width:"9",height:"5",viewBox:"0 0 9 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M0.0501709 0.427246C0.0493864 0.478467 0.0592757 0.529176 0.0784912 0.57666C0.0976579 0.623937 0.125505 0.667471 0.161499 0.703613L3.82556 4.47803C3.86116 4.51465 3.90353 4.54403 3.95056 4.56396C3.99773 4.58391 4.04876 4.59422 4.09998 4.59424C4.15123 4.59424 4.20218 4.58392 4.24939 4.56396C4.29655 4.54401 4.33969 4.51476 4.37537 4.47803L8.03845 0.703613C8.07407 0.667816 8.10232 0.625348 8.12146 0.578613C8.14069 0.531638 8.15017 0.480932 8.14978 0.430176C8.14935 0.379519 8.13942 0.329298 8.11951 0.282715C8.09956 0.236042 8.06999 0.19405 8.03357 0.158691C7.99716 0.123349 7.95384 0.0952198 7.90662 0.0766602C7.8595 0.0582058 7.80878 0.0491929 7.75818 0.050293C7.70763 0.0514427 7.65792 0.0629948 7.61169 0.0834961C7.56537 0.104067 7.52346 0.13358 7.48865 0.17041L4.09998 3.65967L0.711304 0.17041C0.65912 0.115154 0.592066 0.0759001 0.517944 0.059082C0.443585 0.0422622 0.365385 0.0481013 0.294312 0.0756836C0.22324 0.103266 0.162075 0.15178 0.11853 0.214355C0.0750125 0.276905 0.05135 0.351058 0.0501709 0.427246Z",fill:"#20232B",stroke:"#20232B",strokeWidth:"0.1"})})})}f.displayName="AccordionExpandIcon";var i=memo(f);var A="#f2f2f2",G="#fbfbfb",u=styled(W)(({theme:o})=>({overflow:"hidden",border:`1px solid ${A}`,borderWidth:1,borderRadius:o.shape.borderRadius,margin:0,background:o.palette.background.paper,"&:before":{content:"unset"},"&.Mui-expanded":{margin:0}})),g=styled(T)(()=>({background:G,minHeight:"40px",height:"40px",padding:"10px","&.Mui-expanded":{minHeight:"40px",height:"40px"},"& .MuiAccordionSummary-content":{margin:0,display:"flex",flexDirection:"row",alignItems:"center",flexGrow:1,minWidth:0,gap:10},"& .MuiAccordionSummary-expandIconWrapper":{marginLeft:8}})),h=styled($)(()=>({padding:0,borderTop:`1px solid ${A}`}));function C({expanded:o,onChange:I,label:w,content:S,labelStartAdornment:a,labelEndAdornment:p,slotProps:r={},disabled:L=false,expandIcon:B}){let e=pd(useId()),E=`accordion-${e}`,l=`accordion-content-${e}`,s=`accordion-label-${e}`,{showArrow:m,...P}=r?.label??{},R=m===true||m===void 0,k=jsxs(Fragment,{children:[a!=null&&jsx(Box,{component:"span",sx:{flexShrink:0},children:a}),jsx(Box,{component:"span",sx:{minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},children:w}),p!=null&&jsx(Box,{component:"span",sx:{flexShrink:0,marginLeft:"auto"},children:p})]}),v=B??(R?jsx(i,{}):null);return jsxs(u,{id:E,"data-testid":"Accordion",disabled:L,expanded:o,onChange:()=>I(!o),...r.root,children:[jsx(g,{"aria-controls":l,"aria-expanded":o,expandIcon:v,id:s,...P,children:k}),jsx(h,{id:l,role:"region","aria-labelledby":s,...r.content,children:S})]})}C.displayName="Accordion";var b=memo(C);var io=b;
|
|
2
2
|
export{i as a,io as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {pd}from'./chunk-
|
|
1
|
+
import {pd}from'./chunk-ST43DROT.js';import {memo,useId}from'react';import s from'react-dom';import {styled,Box}from'@mui/material';import {jsx}from'react/jsx-runtime';var t=styled(Box)(()=>({position:"fixed",top:0,bottom:0,right:0,left:0,zIndex:999}));function a(m){let p=pd(useId(),"custom-backdrop");return s.createPortal(jsx(t,{...m,id:p,"data-testid":"CustomBackdrop"}),document.body)}var r=memo(a);var b=r;export{b as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {pd}from'./chunk-
|
|
1
|
+
import {pd}from'./chunk-ST43DROT.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=pd(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 {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-WAJXXB2B.js';import {memo}from'react';import t from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var d=styled(t)(({theme:o})=>({display:"flex",gap:o.spacing(1),insetInlineStart:o.spacing(1.25),zIndex:1}));styled(t)(({theme:o})=>({width:12,height:12,borderRadius:"50%",cursor:"pointer",backgroundColor:`${o.palette.grey[200]}14`,display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s ease-in-out",img:{opacity:"0",transition:"all 0.2s ease-in-out"},"&:active":{backgroundColor:`${o.palette.grey[200]} !important`}}));var l=styled(t)(({theme:o})=>({display:"flex",height:"2rem",justifyContent:"space-between",alignItems:"center",width:"100%",paddingLeft:o.spacing(1.25),paddingRight:o.spacing(1.25),"& > *":{flex:"1 1 0px;"}})),p=styled("div",{shouldForwardProp:o=>o!=="sandboxMode"&&o!=="maximized"&&o!=="isDragging"})(({maximized:o,isDragging:r})=>({...!o&&{borderTopRightRadius:12,borderTopLeftRadius:12},...r&&{cursor:"move"},margin:0})),I=styled(t,{shouldForwardProp:o=>o!=="maximized"&&o!=="isDragging"})(({isDragging:o})=>({...o&&{cursor:"move"},margin:0})),s=styled(t,{shouldForwardProp:o=>o!=="maximized"&&o!=="isHovered"})(({theme:o,maximized:r})=>({height:32,position:"relative",display:"flex",width:"100%",justifyContent:"center",transition:"all 0.5s ease-in-out",borderTopLeftRadius:"12px",borderTopRightRadius:"12px",...r&&{display:"block !important",position:"fixed",right:0,left:0,zIndex:999,background:"transparent",".toolbar-wrapper":{display:"flex",justifyContent:"space-between",gap:10,alignItems:"center",position:"absolute",right:0,left:0,height:"2rem",".action-box":{visibility:"hidden"}},"&:hover":{".toolbar-wrapper":{top:0},".action-box":{visibility:"visible"}}},":hover":{".header-icon":{backgroundColor:`${o.palette.grey[200]}40`},".header-icon img":{opacity:1}}})),f=styled(p)(()=>({position:"sticky",top:0,left:0,right:0,zIndex:1e3,background:"#eaeaea",backdropFilter:"blur(32px)"}));function v({onMouseEnter:o,onMouseLeave:r,isMaximized:g,isHovered:m,children:w,rightActions:x,leftActions:a$1,title:b,icon:y,...u}){return jsx(s,{onMouseEnter:o,onMouseLeave:r,maximized:g,id:"toolbar","data-testid":"Toolbar",isHovered:m,...u,children:jsxs(l,{className:"toolbar-wrapper",children:[a$1?jsx(d,{className:"action-box",children:a$1}):jsx("div",{}),jsx(a,{title:b,icon:y}),x||jsx("div",{})]})})}var c=memo(v);var D=c;export{p as a,I as b,f as c,D as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-OY6MZ77P.js';import {d}from'./chunk-FU5YS27X.js';import {pd}from'./chunk-ST43DROT.js';import {memo,useState,useId}from'react';import l from'@mui/material/Box';import {styled}from'@mui/material/styles';import {motion}from'framer-motion';import {jsx}from'react/jsx-runtime';var c=styled(motion.div)(({theme:o})=>({borderRadius:"8px",position:"fixed",display:"flex",flexDirection:"column",maxHeight:"calc(100vh - 46px)",width:416,margin:"auto",background:o.palette.grey[400],boxShadow:o.shadows[3]})),C=styled(l)(({theme:o})=>({background:o.palette.common.white,flex:1,paddingTop:"31px",paddingBottom:"31px",display:"flex",justifyContent:"flex-start",alignItems:"center",flexDirection:"column",position:"relative",overflow:"auto"})),b=styled(l)(({theme:o})=>({minHeight:95,background:o.palette.grey[400],paddingInline:"24px",paddingTop:"23px",paddingBottom:"23px",gap:"15px",position:"relative",zIndex:2})),h=styled(l)(({theme:o})=>({display:"flex",flexDirection:"column",padding:"18px 24px",boxShadow:o.shadows[15],position:"relative",gap:8,minHeight:68,backgroundColor:o.palette.common.white,borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px"}));function p({children:o,index:e,dialogRef:a,height:t,onClick:r,order:s,dragControls:d,style:m}){let n=pd(useId(),"dialog");return jsx(c,{id:n,"data-testid":"Dialog",drag:true,dragListener:false,dragMomentum:false,dragControls:d,initial:{top:"50%",left:`calc(50% + ${e*10}px - ${416/2}px)`},transition:{duration:.1},animate:{...t&&{top:`calc(50% + ${e*10}px - ${t/2}px)`},zIndex:2+s},onClick:r,ref:a,style:m,children:o})}function L({title:o,onCloseDialog:e,...a$1}){let[t,r]=useState(false);return jsx(d,{onMouseEnter:()=>{r(true);},onMouseLeave:()=>{r(false);},isHovered:t,title:o,leftActions:jsx(a,{onClick:n=>{n.stopPropagation(),e();}}),...a$1})}var M=memo(L);var K=p;export{C as a,b,h as c,M as d,K as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-IWLYUUDJ.js';import {pd}from'./chunk-
|
|
1
|
+
import {a as a$1}from'./chunk-IWLYUUDJ.js';import {pd}from'./chunk-ST43DROT.js';import {forwardRef,useId,useMemo,Children,useCallback,memo}from'react';import C from'@mui/material/Popper';import y from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var a=styled(y,{shouldForwardProp:o=>o!=="showShadow"})(({theme:o,showShadow:e})=>({borderRadius:o.spacing(.5),background:o.palette.background.default,width:"max-content",cursor:"pointer",boxShadow:o.shadows[11],display:"flex",flexDirection:"column",overflowY:"scroll",maxHeight:"432px","&:focus":{outline:"none"},".menu-item + .menu-item":{borderTop:`1px solid ${o.palette.divider}`},"&::after":{content:'""',width:"100%",height:"34px",position:"fixed",bottom:0,pointerEvents:"none",zIndex:999999,background:"linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%)",transition:o.transitions.create("opacity",{duration:250}),...e?{opacity:1}:{opacity:0}}}));var R=forwardRef(({open:o,anchorEl:e,children:r,sx:c,placement:m,popperSx:u,dropdownProps:w,...f},h)=>{let x=pd(useId(),"menu"),{onScrollHandler:t,showShadow:S}=a$1(),{onScroll:n,...P}=w||{},b=useMemo(()=>Children.count(r),[r])>12&&S,g=useCallback(p=>{t(p),n?.(p);},[t,n]);return jsx(C,{ref:h,id:x,"data-testid":"Menu",open:o,anchorEl:e,placement:m||"bottom-start",sx:u,...f,children:jsx(a,{showShadow:b,onScroll:g,className:"MuiPopper-dropdown",sx:c,...P,children:r})},"menu")}),l=memo(R);var K=l;export{K as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {pd}from'./chunk-
|
|
1
|
+
import {pd}from'./chunk-ST43DROT.js';import {w}from'./chunk-IUXIBZV3.js';import {memo,useId,useCallback}from'react';import {Slider}from'@mui/material';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var p=["0px 0px 1.25px 0px rgba(0, 0, 0, 0.1)","0px 1.25px 1.25px 0px rgba(0, 0, 0, 0.09)","0px 3.75px 2.5px 0px rgba(0, 0, 0, 0.05)","0px 7.5px 2.5px 0px rgba(0, 0, 0, 0.01)","0px 11.25px 3.75px 0px rgba(0, 0, 0, 0)"].join(", "),d=styled(Slider)(({theme:e})=>({color:e.palette.info.dark,height:8,padding:0,"& .MuiSlider-rail":{backgroundColor:"#CFCFCF",opacity:1},"& .MuiSlider-thumb":{height:20,width:20,backgroundColor:e.palette.common.white,border:"none",backgroundImage:`url(${w})`,backgroundRepeat:"no-repeat",backgroundPosition:"center",boxShadow:p,"&:focus, &:hover, &.Mui-active, &.Mui-focusVisible":{boxShadow:p}}}));function t({value:e,min:a,max:n,step:l,disabled:m,onChange:r}){let u=pd(useId(),"slider"),b=useCallback((k,x)=>{r(x);},[r]);return jsx(d,{id:u,"data-testid":"Slider",value:e,min:a,max:n,step:l,disabled:m,onChange:b})}t.displayName="Slider";var h=memo(t);export{h as a};
|