@tap-payments/os-micro-frontend-shared 0.3.305 → 0.3.306
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/README.md +9 -0
- package/build/_chunks/{chunk-4RBTPX6N.js → chunk-247ZI55C.js} +1 -1
- package/build/_chunks/{chunk-CAURIL6W.js → chunk-2BU56HDE.js} +1 -1
- package/build/_chunks/{chunk-SUYLGWZR.js → chunk-2JFMUHGQ.js} +2 -2
- package/build/_chunks/{chunk-TATQEBZC.js → chunk-2LO4STE5.js} +1 -1
- package/build/_chunks/{chunk-Y3TWYFK2.js → chunk-3TZY3PB4.js} +1 -1
- package/build/_chunks/{chunk-3CGM5AIR.js → chunk-4SDKOPUI.js} +1 -1
- package/build/_chunks/{chunk-W5TL2PDS.js → chunk-5FR3LFXC.js} +1 -1
- package/build/_chunks/{chunk-NJYMJRVD.js → chunk-637LQKFX.js} +1 -1
- package/build/_chunks/{chunk-TXWOMXKB.js → chunk-673TILTX.js} +1 -1
- package/build/_chunks/{chunk-P6TBY5JC.js → chunk-6UI52RXI.js} +1 -1
- package/build/_chunks/{chunk-MZ43ZE4Y.js → chunk-7H5HCDY6.js} +1 -1
- package/build/_chunks/{chunk-I6PBVOOY.js → chunk-AGNZUPPF.js} +1 -1
- package/build/_chunks/{chunk-UOXM7EQZ.js → chunk-ALG4KR24.js} +1 -1
- package/build/_chunks/{chunk-ND3VKGYK.js → chunk-B2NOP2A5.js} +1 -1
- package/build/_chunks/{chunk-VUQ6DJJD.js → chunk-B2OUV4UE.js} +1 -1
- package/build/_chunks/{chunk-4PLIYELJ.js → chunk-D4FXMX5O.js} +1 -1
- package/build/_chunks/{chunk-CCEZR7F5.js → chunk-D7Q6GITS.js} +1 -1
- package/build/_chunks/{chunk-6ZW3D5OZ.js → chunk-DHSYX6K2.js} +1 -1
- package/build/_chunks/{chunk-LSB4PUC5.js → chunk-DIN6W5Q6.js} +1 -1
- package/build/_chunks/{chunk-UP6RHAOC.js → chunk-EKOQHUCL.js} +1 -1
- package/build/_chunks/{chunk-EKGX7YJF.js → chunk-EM7XGO3A.js} +1 -1
- package/build/_chunks/{chunk-6ICYOZW5.js → chunk-ETLDR6XW.js} +1 -1
- package/build/_chunks/{chunk-W5JRHPDN.js → chunk-EWENP3LB.js} +1 -1
- package/build/_chunks/{chunk-35FTGOAE.js → chunk-EYLBXWXJ.js} +2 -2
- package/build/_chunks/{chunk-UHFL62LB.js → chunk-F7I3KDV5.js} +1 -1
- package/build/_chunks/{chunk-L4HCC6CP.js → chunk-FDYQ25JQ.js} +1 -1
- package/build/_chunks/{chunk-UEQBD3JS.js → chunk-GQZXKKCE.js} +1 -1
- package/build/_chunks/chunk-GSPSUKZC.js +2 -0
- package/build/_chunks/{chunk-2JH5SEI4.js → chunk-H6IWML5L.js} +1 -1
- package/build/_chunks/{chunk-UQIO3NDG.js → chunk-JBDIMDMZ.js} +1 -1
- package/build/_chunks/{chunk-SUO6Z5IZ.js → chunk-K5QISMYX.js} +1 -1
- package/build/_chunks/{chunk-COUBVLRL.js → chunk-KBXWH3SO.js} +1 -1
- package/build/_chunks/{chunk-YT3NPFXA.js → chunk-L2CUT2AZ.js} +1 -1
- package/build/_chunks/{chunk-AWGAUMAO.js → chunk-LFCRVEVB.js} +1 -1
- package/build/_chunks/{chunk-PLR3SYB3.js → chunk-LTTRVHN5.js} +1 -1
- package/build/_chunks/{chunk-IMNIK3FP.js → chunk-M3TZIB3C.js} +1 -1
- package/build/_chunks/{chunk-DRPIQ533.js → chunk-MLOWKQDW.js} +1 -1
- package/build/_chunks/{chunk-SW3QMIZP.js → chunk-MUBZJUHH.js} +1 -1
- package/build/_chunks/{chunk-N25C2E4O.js → chunk-OAPCRKFH.js} +1 -1
- package/build/_chunks/{chunk-JPYELJWZ.js → chunk-ODDV623H.js} +1 -1
- package/build/_chunks/{chunk-6V4MRGTX.js → chunk-OJO5GAN7.js} +1 -1
- package/build/_chunks/{chunk-YTADTKVU.js → chunk-PYVM4SKE.js} +1 -1
- package/build/_chunks/{chunk-4SW5QVKY.js → chunk-QKEB3XTE.js} +1 -1
- package/build/_chunks/{chunk-6UVTRYZN.js → chunk-RGQ5AGHK.js} +1 -1
- package/build/_chunks/{chunk-5CCHNAHI.js → chunk-RW26DPMJ.js} +1 -1
- package/build/_chunks/{chunk-DAZ5CGRZ.js → chunk-S7AZOXFD.js} +1 -1
- package/build/_chunks/chunk-SSK26DK7.js +1 -0
- package/build/_chunks/chunk-TIPJC5YT.js +1 -0
- package/build/_chunks/{chunk-6DSDVDT3.js → chunk-TRXHMROX.js} +1 -1
- package/build/_chunks/{chunk-34HWDL5J.js → chunk-U2JLXSW5.js} +1 -1
- package/build/_chunks/{chunk-O3ZTDKHA.js → chunk-U3ZJP2GE.js} +1 -1
- package/build/_chunks/{chunk-TZQ3YZ5M.js → chunk-U6HZMYNW.js} +1 -1
- package/build/_chunks/{chunk-2FXORJYX.js → chunk-UXDNAGHP.js} +1 -1
- package/build/_chunks/{chunk-HUBSMYSG.js → chunk-W2FF6EIY.js} +1 -1
- package/build/_chunks/chunk-XBJ4RS2B.js +1 -0
- package/build/_chunks/chunk-XK5TVDKR.js +1 -0
- package/build/_chunks/{chunk-65P4G37C.js → chunk-XKEBWPJM.js} +1 -1
- package/build/_chunks/{chunk-HYP5LBK6.js → chunk-XVIGXV43.js} +1 -1
- package/build/_chunks/{chunk-ZAAUVC2D.js → chunk-YFL4D5VW.js} +1 -1
- package/build/_chunks/{chunk-GB3LATPS.js → chunk-YIVUI2NW.js} +1 -1
- package/build/_chunks/{chunk-HTMNZR65.js → chunk-YZF24X6P.js} +1 -1
- package/build/_chunks/{chunk-GMUHB2ZQ.js → chunk-ZPYQLESN.js} +1 -1
- package/build/components/ActionsDropdownMenu/index.js +1 -1
- package/build/components/Alert/index.js +1 -1
- package/build/components/AreaChart/index.js +1 -1
- package/build/components/Autocomplete/index.js +1 -1
- package/build/components/AvatarStack/index.js +1 -1
- package/build/components/AvatarStack/style.d.ts +1 -1
- package/build/components/Card/index.js +1 -1
- package/build/components/CardList/index.js +1 -1
- package/build/components/ColorPicker/index.js +1 -1
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/ColumnViews/styles.d.ts +1 -1
- package/build/components/ConfirmDialog/index.js +1 -1
- package/build/components/CountryFlag/index.js +1 -1
- package/build/components/CurrenciesMenu/index.js +1 -1
- package/build/components/CurrencyAmount/index.js +1 -1
- package/build/components/CurrencyAmountInput/index.js +1 -1
- package/build/components/CurrencySymbol/index.js +1 -1
- package/build/components/DeviceIcon/index.js +1 -1
- package/build/components/EmptyState/index.js +1 -1
- package/build/components/ErrorToast/index.js +1 -1
- package/build/components/ExpandableChip/index.js +1 -1
- package/build/components/ExpandableChip/style.d.ts +5 -5
- package/build/components/ExportReportButton/index.js +1 -1
- package/build/components/FileDropbox/index.js +1 -1
- package/build/components/FilePreview/index.js +1 -1
- package/build/components/FileUploader/index.js +1 -1
- package/build/components/FilterBar/index.js +1 -1
- package/build/components/FilterButton/index.js +1 -1
- package/build/components/FilterChip/index.js +1 -1
- package/build/components/FilterPopover/index.js +1 -1
- package/build/components/FlipCard/index.js +1 -1
- package/build/components/FlipCard/style.d.ts +1 -1
- package/build/components/GroupedSelect/index.js +1 -1
- package/build/components/HeatMap/index.js +1 -1
- package/build/components/ListHeader/ListHeader.d.ts +1 -1
- package/build/components/ListHeader/components/ListHeaderToolbar.d.ts +1 -1
- package/build/components/ListHeader/constants.d.ts +0 -1
- package/build/components/ListHeader/hooks/useListHeaderToolbarState.d.ts +1 -3
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/ListHeader/types.d.ts +3 -34
- package/build/components/Loader/index.js +1 -1
- package/build/components/Logo/index.js +1 -1
- package/build/components/MaskedText/index.js +1 -1
- package/build/components/MultiLevelMenu/index.js +1 -1
- package/build/components/MultiLevelSelect/index.js +1 -1
- package/build/components/PhoneInput/index.js +1 -1
- package/build/components/ProgressRing/index.js +1 -1
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RatingCount/index.js +1 -1
- package/build/components/RatingCount/style.d.ts +1 -1
- package/build/components/SearchButton/index.js +1 -1
- package/build/components/SearchButton/style.d.ts +2 -2
- package/build/components/SearchInput/index.js +1 -1
- package/build/components/Select/index.js +1 -1
- package/build/components/SheetViewChip/index.js +1 -1
- package/build/components/Sidebar/index.js +1 -1
- package/build/components/StatusIcons/AgreementIcon/style.d.ts +1 -1
- package/build/components/StatusIcons/AuthIcons/style.d.ts +2 -2
- package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +1 -1
- package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +6 -6
- package/build/components/StatusIcons/SourceIcons/style.d.ts +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/AgreementCell/style.d.ts +2 -2
- package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +2 -2
- package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/PayoutReportCell/AnimatedSpinnerIcon/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/PayoutReportCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +5 -5
- package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +2 -2
- package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.d.ts +1 -2
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.d.ts +1 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +2 -2
- package/build/components/TableCells/CustomCells/RefundStatusCell/type.d.ts +2 -3
- package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +6 -6
- package/build/components/TableCells/CustomCells/index.d.ts +0 -3
- package/build/components/TableCells/CustomCells/style.d.ts +2 -2
- package/build/components/TableCells/CustomCells/type.d.ts +1 -9
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableViewToggleButton/index.js +1 -1
- package/build/components/TextInput/index.js +1 -1
- package/build/components/Timeline/index.js +1 -1
- package/build/components/VerificationIcon/index.js +1 -1
- package/build/components/VirtualTables/index.js +1 -1
- package/build/components/Window/index.js +1 -1
- package/build/components/WindowServices/index.js +1 -1
- package/build/components/WindowToolbar/index.js +1 -1
- package/build/components/index.d.ts +1 -6
- package/build/components/index.js +1 -1
- package/build/components/modules/JSONViewWindow/components/Content/style.d.ts +1 -1
- package/build/components/modules/JSONViewWindow/components/CopiedIndicator/style.d.ts +1 -1
- package/build/components/modules/JSONViewWindow/components/JSONSearchBar/style.d.ts +4 -4
- package/build/components/modules/JSONViewWindow/index.js +1 -1
- package/build/components/modules/JSONViewWindow/style.d.ts +2 -2
- package/build/components/modules/VirtualTables/components/style.d.ts +1 -1
- package/build/components/modules/VirtualTables/index.js +1 -1
- package/build/components/modules/WindowShell/index.js +1 -1
- package/build/components/modules/WindowShell/style.d.ts +2 -2
- package/build/components/modules/index.js +1 -1
- package/build/components/primitives/index.js +1 -1
- package/build/constants/index.js +1 -1
- package/build/constants/timezones.d.ts +0 -10
- package/build/datetime/components/ZonedDueDateCell/style.d.ts +1 -1
- package/build/datetime/components/index.js +2 -1
- package/build/hooks/core/index.js +1 -1
- package/build/hooks/index.js +1 -1
- package/build/index.js +1 -1
- package/build/utils/date.d.ts +0 -91
- package/build/utils/index.d.ts +0 -1
- package/build/utils/index.js +1 -1
- package/package.json +1 -1
- package/build/_chunks/chunk-3H3HOIU4.js +0 -1
- package/build/_chunks/chunk-4HUVBNX2.js +0 -1
- package/build/_chunks/chunk-6ADYX62Z.js +0 -1
- package/build/_chunks/chunk-7ECO5F7E.js +0 -2
- package/build/_chunks/chunk-7IPJF2Q5.js +0 -1
- package/build/_chunks/chunk-BFJT5WSV.js +0 -0
- package/build/_chunks/chunk-F5LDGF6K.js +0 -1
- package/build/_chunks/chunk-L42RXVBO.js +0 -1
- package/build/_chunks/chunk-RLAQECJX.js +0 -2
- package/build/_chunks/chunk-Y5L72QWY.js +0 -1
- package/build/components/Calender/index.d.ts +0 -3
- package/build/components/Calender/index.js +0 -1
- package/build/components/DateFilter/DateFilter.d.ts +0 -28
- package/build/components/DateFilter/index.d.ts +0 -1
- package/build/components/DateFilter/index.js +0 -1
- package/build/components/DateFilter/style.d.ts +0 -36
- package/build/components/DateInput/index.d.ts +0 -3
- package/build/components/DateInput/index.js +0 -1
- package/build/components/RangeCalender/index.d.ts +0 -1
- package/build/components/RangeCalender/index.js +0 -1
- package/build/components/TableCells/CustomCells/DateCell/DateCell.d.ts +0 -12
- package/build/components/TableCells/CustomCells/DateCell/DateViewer.d.ts +0 -8
- package/build/components/TableCells/CustomCells/DateCell/index.d.ts +0 -2
- package/build/components/TableCells/CustomCells/DateCell/style.d.ts +0 -4
- package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.d.ts +0 -6
- package/build/components/TableCells/CustomCells/DueDateCell/index.d.ts +0 -2
- package/build/components/TableCells/CustomCells/PayoutDateCell/PayoutDateCell.d.ts +0 -7
- package/build/components/TableCells/CustomCells/PayoutDateCell/index.d.ts +0 -1
- package/build/components/Timepicker/index.d.ts +0 -3
- package/build/components/Timepicker/index.js +0 -1
- package/build/components/modules/RangeCalender/RangeCalender.d.ts +0 -8
- package/build/components/modules/RangeCalender/components/CustomTimepicker/CustomTimepicker.d.ts +0 -8
- package/build/components/modules/RangeCalender/components/CustomTimepicker/index.d.ts +0 -2
- package/build/components/modules/RangeCalender/components/CustomTimepicker/style.d.ts +0 -15
- package/build/components/modules/RangeCalender/components/GroupBy/GroupBy.d.ts +0 -10
- package/build/components/modules/RangeCalender/components/GroupBy/index.d.ts +0 -2
- package/build/components/modules/RangeCalender/components/GroupBy/style.d.ts +0 -15
- package/build/components/modules/RangeCalender/components/Hijri/Hijri.d.ts +0 -8
- package/build/components/modules/RangeCalender/components/Hijri/index.d.ts +0 -2
- package/build/components/modules/RangeCalender/components/Hijri/style.d.ts +0 -4
- package/build/components/modules/RangeCalender/components/QuickFilters/QuickFilters.d.ts +0 -9
- package/build/components/modules/RangeCalender/components/QuickFilters/index.d.ts +0 -2
- package/build/components/modules/RangeCalender/components/QuickFilters/style.d.ts +0 -7
- package/build/components/modules/RangeCalender/components/RangeDatepicker/RangeDatepicker.d.ts +0 -4
- package/build/components/modules/RangeCalender/components/RangeDatepicker/index.d.ts +0 -3
- package/build/components/modules/RangeCalender/components/RangeDatepicker/style.d.ts +0 -4
- package/build/components/modules/RangeCalender/components/RangeDatepicker/type.d.ts +0 -9
- package/build/components/modules/RangeCalender/components/Timezone/Timezone.d.ts +0 -13
- package/build/components/modules/RangeCalender/components/Timezone/components/EntitiesTimezone.d.ts +0 -11
- package/build/components/modules/RangeCalender/components/Timezone/components/UserTimezone.d.ts +0 -10
- package/build/components/modules/RangeCalender/components/Timezone/index.d.ts +0 -2
- package/build/components/modules/RangeCalender/components/Timezone/style.d.ts +0 -21
- package/build/components/modules/RangeCalender/index.d.ts +0 -2
- package/build/components/modules/RangeCalender/index.js +0 -1
- package/build/components/modules/RangeCalender/style.d.ts +0 -35
- package/build/components/modules/RangeCalender/type.d.ts +0 -29
- package/build/components/modules/RangeCalender/utils.d.ts +0 -10
- package/build/utils/payout.d.ts +0 -42
package/build/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{O as ActionCell,Q as ActionIconColumn,M as ActionIconsVariants,P as ActionsColumn,ua as AgreementCell,R as AgreementIcon,G as AmountCell,y as AmountCellContainer,I as AmountCellSheet,H as AmountCellText,D as AmountConversionTooltipLabel,va as AuthCell,T as AuthIcons,S as AuthSourceAnimation,Qa as AuthenticationCell,ta as AuthenticationModeBadge,Fa as AuthenticationStatusCell,Ga as AuthenticationTypeCell,V as AuthorizationAutoIcons,W as AuthorizedIcon,i as AvatarStyled,d as BadgeWrapper,ma as BalanceCell,na as BalanceCellSheet,Aa as BankCell,Oa as BankReferenceCell,Ya as BrandCell,fb as BrandsCell,k as CaptureTextLabel,Ha as ChannelsCell,Wa as ChargeStatus,X as ChargeStatusIcon,Ra as CheckoutStatusCell,z as ConversionBadge,B as ConversionTooltip,C as ConversionTooltipRow,E as ConversionTypeLabel,g as CountBadge,Ma as CurrencyCell,F as CurrencyInfo,A as CurrencySpan,w as CustomerCell,x as CustomerCellSheet,Y as CustomerInitiatedIcon,t as DateCell,vc as DateFilter,s as DateViewer,ia as DestinationCell,ja as DestinationCellSheet,ka as DestinationCellText,ga as DestinationIcon,Da as DestinationStatusCell,ha as DeviceCell,_ as DeviceIconChip,$ as DisputeIcon,Ja as DueDateCell,cb as EntityCell,b as GeographyBox,Z as GeographyIcon,N as IDButton,h as IdButtonContainer,r as ImageWrapper,eb as IndividualsCell,Sa as IntentsStatusCell,Ua as InvoiceStatusCell,aa as IssuerIcon,lb as LinkCell,uc as ListHeader,tc as ListHeaderToolbarAside,db as MarketPlaceCell,Za as MetadataCell,u as OrderCell,v as OrderCellSheet,mb as OrdersCellSheet,ib as PaymentAgreementCellSheet,pa as PaymentCardNumberSource,qa as PaymentMethodSource,sa as PaymentSchemeSource,ra as PaymentTypeSource,Na as PayoutDateCell,ba as PayoutIcon,_a as PayoutReportCell,Ba as PayoutStatusCell,q as PiePercentage,Ka as ProductsCell,jb as ProviderCell,kb as PurposeCell,$a as ReceiptCell,ab as ReceiptCellSheet,bb as ReceiptCellText,Pa as ReferenceCell,Ta as RefundChargeCell,ca as RefundIcon,xa as RefundStateIcon,ya as RefundStatusCell,wa as RefundStatusIcon,Ca as RefundTooltipView,gb as SalesChannelCell,hb as SalesChannelCellSheet,oa as SourceCell,ea as SourceIcon,fa as SourceIcons,f as StarBadgeWrapper,J as StatusCell,n as StatusCellContainer,K as StatusCellSheet,L as StatusCellText,p as StatusIcon,o as StatusIconWrapper,m as StyledTextTableCell,a as TableCell,j as TextLabel,La as TextTableCell,Va as TextWithBadgeCell,e as TimeZone,Xa as TokenStatusCell,c as TransparentButton,U as VoidAutoIcon,l as VoidTextLabel,za as WalletCell,Ea as authenticationStatusIcons,la as generateDestinationTooltip,da as getPaymentMethodKey,nc as useCustomTableViews}from'./_chunks/chunk-RLAQECJX.js';export{e as VerificationIcon,b as VerificationIconStatus,a as verificationIconClassNames}from'./_chunks/chunk-GMUHB2ZQ.js';export{d as ColumnFilter,b as Inputs,t as LastRowContent,c as List,B as ListItemWrapperWithCard,q as RowErrorState,aa as SheetViewVirtualTable,h as StyledCell,u as StyledItemWrapper,o as TableError,w as TableFooter,k as TableLastItem,m as TableLoading,y as TableLoadingWithCard,p as TableNoData,z as TableNoDataWithCard,r as TableRow,l as TableRowLoading,x as TableRowLoadingWithCard,A as TableRowWithCard,e as VirtualScrollInner,g as VirtualScrollList,f as VirtualScrollOuter,v as VirtualTable,j as VirtualTableHeader,C as VirtualTableWithCard}from'./_chunks/chunk-3H3HOIU4.js';export{b as WindowShell,a as windowShellClassNames}from'./_chunks/chunk-N25C2E4O.js';export{u as JSONViewWindow,q as JSONViewWindowContext,s as JSONViewWindowProvider,a as jsonViewWindowClassNames,t as useJSONViewWindow}from'./_chunks/chunk-CCEZR7F5.js';export{f as Window,g as WindowContent,a as WindowContext,h as WindowFooter,i as WindowFooterActions,e as WindowProvider,d as resolveWindowBounds,c as resolveWindowDimension,b as useWindow}from'./_chunks/chunk-CAURIL6W.js';export{c as WindowServices,d as WindowSkeleton,a as windowServicesClassNames,b as windowSkeletonClassNames}from'./_chunks/chunk-W5JRHPDN.js';import'./_chunks/chunk-2I5L7ASP.js';export{c as CloseIcon,d as DirectionIcon,e as MaximizeIcon,f as MinimizeIcon,g as SandboxIcon,b as WindowToolbar,i as WindowToolbarEndAdornment,h as WindowToolbarStartAdornment,j as WindowToolbarTitle,a as windowToolbarClassNames}from'./_chunks/chunk-W5TL2PDS.js';export{a as windowClassNames,g as windowDragHandleClass,f as windowDragHandleId}from'./_chunks/chunk-ISC5KT5E.js';export{b as Sidebar,a as sidebarClassNames}from'./_chunks/chunk-4SW5QVKY.js';export{b as TableViewToggleButton,a as tableViewToggleButtonClassNames}from'./_chunks/chunk-ZAAUVC2D.js';export{a as ThemeProvider}from'./_chunks/chunk-G3QDXDRW.js';export{e as Timeline,d as timelineClassNames}from'./_chunks/chunk-VUQ6DJJD.js';export{b as ProgressRing,a as progressRingClassNames}from'./_chunks/chunk-2FXORJYX.js';export{e as RADIO_GROUP_DEFAULT_LAYOUT,d as RADIO_GROUP_DEFAULT_SIZE,f as RADIO_GROUP_DEFAULT_SPACING,c as RADIO_GROUP_LAYOUTS,b as RADIO_GROUP_SIZES,g as RadioGroup,a as radioGroupClassNames}from'./_chunks/chunk-GB3LATPS.js';export{a as RangeCalender}from'./_chunks/chunk-F5LDGF6K.js';import'./_chunks/chunk-BFJT5WSV.js';import'./_chunks/chunk-YTADTKVU.js';export{b as SearchButton,a as searchButtonClassNames}from'./_chunks/chunk-HYP5LBK6.js';export{b as SearchInput,a as searchInputClassNames}from'./_chunks/chunk-MZ43ZE4Y.js';export{b as SheetViewChip,a as sheetViewChipClassNames}from'./_chunks/chunk-TXWOMXKB.js';export{b as HeatMap}from'./_chunks/chunk-PLR3SYB3.js';export{b as Loader,a as loaderClassNames}from'./_chunks/chunk-YT3NPFXA.js';export{b as Logo,a as logoClassNames}from'./_chunks/chunk-SUO6Z5IZ.js';export{b as MaskedText,a as maskedTextClassNames}from'./_chunks/chunk-NJYMJRVD.js';export{b as MultiLevelMenu,a as multiLevelMenuClassNames}from'./_chunks/chunk-UOXM7EQZ.js';export{b as MultiLevelSelect,a as multiLevelSelectClassNames}from'./_chunks/chunk-P6TBY5JC.js';export{a as CountriesList,b as PhoneInput}from'./_chunks/chunk-Y3TWYFK2.js';export{b as TextInput,a as textInputClassNames}from'./_chunks/chunk-3CGM5AIR.js';export{b as FilePreview,a as filePreviewClassNames}from'./_chunks/chunk-6UVTRYZN.js';export{b as FileUploader,a as fileUploaderClassNames}from'./_chunks/chunk-LSB4PUC5.js';export{b as FilterBar,a as filterBarClassNames}from'./_chunks/chunk-UQIO3NDG.js';export{b as FilterButton,a as filterButtonClassNames}from'./_chunks/chunk-34HWDL5J.js';export{d as FilterChip,a as filterChipClassNames}from'./_chunks/chunk-SW3QMIZP.js';export{f as FilterPopover,a as filterPopoverClassNames,e as useFilterPopover}from'./_chunks/chunk-AWGAUMAO.js';export{c as DEFAULT_FLIP_DURATION,d as FlipCard,a as flipCardClassNamePrefix,b as flipCardClassNames}from'./_chunks/chunk-TZQ3YZ5M.js';export{b as GroupedSelect,a as groupedSelectClassNames}from'./_chunks/chunk-2JH5SEI4.js';export{c as DateInput,a as dateInputCalendarMode,b as dateInputClassNames}from'./_chunks/chunk-7ECO5F7E.js';export{a as Select}from'./_chunks/chunk-ND3VKGYK.js';export{a as DEVICE_ICON,c as DeviceIcon,b as isDeviceIconShown}from'./_chunks/chunk-6ADYX62Z.js';export{b as EmptyState,a as emptyStateClassNames}from'./_chunks/chunk-DAZ5CGRZ.js';export{b as ErrorToast,a as errorToastClassNames}from'./_chunks/chunk-65P4G37C.js';export{b as ExpandableChip,a as expandableChipClassNames}from'./_chunks/chunk-6DSDVDT3.js';export{c as ExportReportButton,a as exportReportButtonClassNames,b as useReportDownload}from'./_chunks/chunk-4PLIYELJ.js';export{b as FileDropbox,a as fileDropboxClassNames}from'./_chunks/chunk-5CCHNAHI.js';export{f as ColorPicker,b as colorPickerClassNames}from'./_chunks/chunk-I6PBVOOY.js';export{c as ConfirmDialogProvider,a as confirmDialogClassNames,b as useConfirm}from'./_chunks/chunk-4RBTPX6N.js';export{b as CountryFlag,a as countryFlagClassNames}from'./_chunks/chunk-EKGX7YJF.js';export{b as CurrenciesMenu,a as currenciesMenuClassNames}from'./_chunks/chunk-COUBVLRL.js';export{b as CurrencyAmount,a as currencyAmountClassNames}from'./_chunks/chunk-JPYELJWZ.js';export{b as CurrencyAmountInput,a as currencyAmountInputClassNames}from'./_chunks/chunk-6V4MRGTX.js';export{b as CurrencySymbol,a as currencySymbolClassNames}from'./_chunks/chunk-UP6RHAOC.js';export{a as ActionsDropdownMenu,b as AppMenuItem}from'./_chunks/chunk-UEQBD3JS.js';export{b as Alert,a as alertClassNames}from'./_chunks/chunk-6ZW3D5OZ.js';export{b as AreaChart,a as areaChartClassNames}from'./_chunks/chunk-6ICYOZW5.js';export{d as Autocomplete,a as autocompleteClassNames,c as autocompleteDefaultOpenOnFocus,b as autocompleteMenuDirection}from'./_chunks/chunk-SUYLGWZR.js';import'./_chunks/chunk-TATQEBZC.js';export{aa as SelectChevronIcon,a as selectClassNames,j as selectMenuDirection,l as selectValueAlignment}from'./_chunks/chunk-DRPIQ533.js';export{b as AVATAR_STACK_VARIANTS,e as AvatarStack,d as AvatarStackItem,c as DEFAULT_AVATAR_STACK_VARIANT,a as avatarStackClassNames}from'./_chunks/chunk-IMNIK3FP.js';export{b as Calender}from'./_chunks/chunk-L42RXVBO.js';export{j as Timepicker}from'./_chunks/chunk-Y5L72QWY.js';export{b as Card,c as CardHeader,a as cardClassNames}from'./_chunks/chunk-HUBSMYSG.js';export{P as Accordion,t as Avatar,B as Backdrop,z as Badge,b as Button,f as Checkbox,H as Chip,n as CircularProgress,x as Collapse,D as CopyButton,T as Dialog,v as Divider,ba as FieldFeedback,d as Icon,L as Input,_ as LazyImage,R as Menu,V as MenuItem,F as ProgressBar,l as RadioButton,da as ScrollLoader,r as Skeleton,J as Slider,h as Switch,N as Textarea,Y as ToggleButtons,p as Tooltip,j as Typography,O as accordionClassNames,s as avatarClassNames,A as backdropClassNames,y as badgeClassNames,a as buttonClassNames,e as checkboxClassNames,G as chipClassNames,m as circularProgressClassNames,w as collapseClassNames,C as copyButtonClassNames,S as dialogClassNames,u as dividerClassNames,$ as fieldFeedbackClassNames,aa as getFieldFeedbackColors,c as iconClassNames,K as inputClassNames,Z as lazyImageClassNames,Q as menuClassNames,U as menuItemClassNames,E as progressBarClassNames,k as radioButtonClassNames,ca as scrollLoaderClassNames,q as skeletonClassNames,I as sliderClassNames,g as switchClassNames,M as textareaClassNames,W as toggleButtonsClassNames,X as toggleButtonsSize,o as tooltipClassNames,i as typographyClassNames}from'./_chunks/chunk-UHFL62LB.js';export{b as CardList,c as CardListItem,a as cardListClassNames}from'./_chunks/chunk-HTMNZR65.js';import'./_chunks/chunk-IXFXTDH7.js';export{j as useAppEventListener,i as useAppEventPublisher,h as useAppsInfo,c as useBadgesCount,o as useColumnFiltersGate,g as useCountdown,b as useDelayToSetValue,r as useElementSizeObserver,p as useFilterKeyDown,n as useNetworkState,q as useScrollWithShadow,m as useScrolledTo,k as useSelectedMerchantDetails,e as useStickyHeaderShadow,d as useTableViews,f as useThemeMode,l as useToast,a as useWindowDimensions}from'./_chunks/chunk-O3ZTDKHA.js';import'./_chunks/chunk-L4HCC6CP.js';export{f as appTheme,a as components,c as darkPalette,b as lightPalette,d as shadows,e as typography}from'./_chunks/chunk-YPOZVOUV.js';export{Mb as DEFAULT_SKELETON_WIDTHS,Cb as SELECTION_COLORS,Fb as alignToJustifyContent,Q as api,Rb as applyColumnFiltersGate,qb as areFilesEqual,mb as backendErrorHandler,na as calculateMaxAllowedRows,ya as capitalizeFirstLetter,Ca as capitalizeString,P as clearTapOsLocalStorage,Z as conversionTypesLabels,ea as convertToNumber,xa as copyText,_ as currencyConfig,eb as downloadFile,La as extractIdsFromRowData,Za as filterShownColumns,ba as formatAmount,ca as formatAmountWithCurrency,aa as formatCurrencyWithInput,ja as formatFlagDate,Ub as formatLogDate,ia as formatPayoutDate,Fa as generateChargeErrors,tb as generateReportLocalStorageKey,Nb as generateSkeletonColumns,wa as generateUniqueUUID,ib as getApiErrorMessage,S as getBrowserName,f as getBusinessSegmentConfig,B as getCalenderTimezone,C as getCalenderTimezoneHistory,Da as getCardNumber,ma as getCellWidth,_a as getColumnOrderFromViews,la as getColumnWidthPercentage,Vb as getComponentId,da as getConversion,fa as getCountryNameByISO,Xb as getFieldFeedbackState,sb as getFileIconFromExtension,va as getFirstChar,Ab as getGeographyBoxColor,G as getGlobalTableModeStorage,R as getHeaders,nb as getIdentificationTypeList,Bb as getLocalizedUnitLabel,t as getLoggedInUserActiveSegment,r as getLoggedInUserData,o as getLoggedInUserJwtToken,s as getLoggedInUserSegment,wb as getNameText,l as getNavigationData,h as getNonBusinessSegmentConfig,Ea as getPaymentMethodWithId,yb as getPaymentTypeKey,ka as getPayoutDetails,db as getPhoneDetails,ra as getPossibleActionNavigationView,L as getPreviewStorage,Ob as getProcessedColumns,V as getRandomColor,W as getRandomGradientColor,x as getReportRecord,Eb as getRowSelectionBorderStyles,j as getSecretKey,e as getSegmentData,Db as getSelectionStyles,J as getSheetViewColumnsStorage,vb as getTextByLang,Ib as getTimezoneByCountryCode,Jb as getTimezoneByTimezone,d as getUniqueListBy,U as getUserAgentDeviceType,xb as getUsername,N as getViewsSelectionStorage,fb as handleFileDownload,gb as handleURLDownload,Qb as hasActiveColumnFilters,jb as hasError,Wb as hasFieldFeedbackMessage,X as hexa2Rgba,$ as intlCurrency,ub as isArabic,rb as isDuplicateFile,Ha as isEmptyValue,pb as isFile,oa as isHeightNotFullyFilledByRows,u as isJwtTokenExpired,hb as isNetworkError,lb as isNotFoundError,ha as isOman,$a as isParameterSelected,T as isSafariBrowser,zb as isSamePaymentSource,ga as isSaudiArabia,g as isSegmentActLikeBusinessSegment,pa as isTableDefaultMode,qa as isTableSheetMode,Ja as isTapstersFrontend,kb as isTimeoutError,v as isUserLoggedInAndJwtTokenActive,sa as isValidString,Hb as joinClassNames,ab as mapDataToViews,bb as mapViewsToData,Aa as maskValue,ua as matchOccurrence,Gb as mergeSx,za as percentageToNumber,ob as readableFileSize,Ka as removeAllCharsFromNumber,D as removeCalenderTimezone,E as removeCalenderTimezoneHistory,H as removeGlobalTableModeStorage,p as removeLoggedInUserJwtToken,m as removeNavigationData,ta as removePrefixFromString,M as removePreviewStorage,y as removeReportRecord,c as removeUndefinedArrayElements,Ia as removeUndefinedArrayValues,Ga as removeUndefinedValues,Y as rgba2Hexa,Sb as sanitizeHtml,z as setCalenderTimezone,A as setCalenderTimezoneHistory,F as setGlobalTableModeStorage,q as setLoggedInUserData,n as setLoggedInUserJwtToken,k as setNavigationData,K as setPreviewStorage,w as setReportRecord,i as setSecretKey,I as setSheetViewColumnsStorage,O as setViewsSelectionStorage,b as sortByString,a as sortList,Tb as trackFeatureEvent,Kb as transformPaymentMethodsData,Lb as transformPaymentSchemesData,Ba as transformStringToProperCase,cb as updateColumnSelection,Pb as updateViewsSelection}from'./_chunks/chunk-7IPJF2Q5.js';export{j as caretIndexAfterThousandFormat,r as changeDateTimezone,p as convertCalendarDateToUTC,q as convertUTCtoLocalDate,v as formatCellDate,w as formatDate,F as formatInTimezone,c as formatNumber,b as formatOrdinal,A as formatRelativeTimeWithinHour,y as formatSecondsAsTime,i as formatThousandSeparatedInput,l as formatUTCOffset,D as generateBirthYearList,s as generateDayList,t as generateMonthList,E as generatePastYearList,u as generateYearList,h as getAmountPlaceholder,m as getDefaultDateRange,G as getOrderedWeekDays,H as getTimestamp,o as getTimestampByTimezone,k as getUTCOffset,n as getUTCTimestamp,x as getValueOfEndOfDay,B as isTodayDate,a as isValidNumber,z as isWithinTimeAgo,C as isYesterdayDate,f as numberToString,g as pad,d as parseAmount,e as stringToNumber}from'./_chunks/chunk-4HUVBNX2.js';export{oo as ACCEPTANCE_TIMEZONE,ab as AIOverviewIcon,Rn as API_BASE_LIMIT,Sn as API_LIST_CONSTANTS,Kn as API_URL,Fn as APP_CODES,Gn as APP_DIMENSIONS,Hn as APP_ICONS,Bn as APP_SETTINGS_FUNCTIONS,cp as AUTHENTICATION_LABEL,Mo as AUTHENTICATION_TYPE_OPTIONS,bp as AuthenticationModeType,Jn as BASE_URL,dp as BUSINESS_COUNTRIES,_o as BUSINESS_DOCUMENT_TYPE_MAP,Cn as BUSINESS_FUNCTIONS,vo as CATEGORIZED_CURRENCY_CODES,da as ChallengeIcon,No as DARK_SEGMENT_LOGOS,Eo as DATA_KEY,Fo as DATA_KEY_LABEL,po as DEFAULT_TIMEZONE_COUNTRY_CODE,ro as DEFAULT_TIMEZONE_COUNTRY_NAME,qo as DEFAULT_TIMEZONE_IANA_NAME,Vo as DEVELOPMENT_HOUSE_SEGMENT_CODES,t as DirhamIconImage,Ln as ENV,ep as FILE_ICON_MAP,ca as FrictionlessIcon,Nn as HOST_APP_NAME,On as HOST_APP_NAMES,Ee as HSBCBankIcon,Oo as LIGHT_SEGMENT_LOGOS,so as MINUTES_PER_HOUR,um as MPGSProviderIcon,vm as NETCETERAProviderIcon,En as OPERATOR_FUNCTIONS,Io as PAYMENT_INITIATED_CUSTOMER_KEY,Jo as PAYMENT_INITIATED_MERCHANT_KEY,Ko as PAYMENT_INITIATED_OPTIONS,So as PAYMENT_INSTITUTION_SEGMENT_CODES,Uo as PAYMENT_ISSUER_SEGMENT_CODES,Lo as PAYMENT_LOCATION_OPTIONS,To as PAYMENT_TECHNOLOGY_SEGMENT_CODES,Ho as PAYMENT_TYPES,Go as PAYMENT_TYPES_ICONS,Ro as PLATFORM_SUB_SEGMENT_CODES,Zo as REPORTS_APPS,Xo as REPORT_FILTER_TYPES,Dn as REVIEW_FUNCTIONS,Nb as RadioButtonCheckedIcon,Ob as RadioButtonUncheckedIcon,s as SARIconImage,Po as SEGMENT_FILTER_KEY,Qo as SEGMENT_TYPE_FILTERS_MAP,An as SERVICE_COMMON_FUNCTIONS,Bo as SHEET_VIEW_TABLE_LIST_OVER_SCAN,Do as SHEET_VIEW_TABLE_ROW_HEIGHT,Co as SHEET_VIEW_TABLE_THRESHOLD,uo as SUPPORTED_CURRENCY_CODES,to as SUPPORTED_CURRENCY_DETAILS,Oc as SandboxDefault,Nc as SandboxHovered,Zd as SandboxHoveredLightIcon,xo as TABLE_CONTENT_ROW_HEIGHT,Ao as TABLE_LIST_OVER_SCAN,wo as TABLE_LOADING_ROW_HEIGHT,yo as TABLE_ROW_HEIGHT,zo as TABLE_THRESHOLD,xm as TAP3DSPROVIDERIcon,Tn as TAPOS_MW_MERCHANT_OR_RETAILER_REQUIRED,Mn as TEST_SECRET_KEY,no as TIMEZONES,gp as USER_ROLE_IDS,fp as WINDOW_Z_INDEX_BASE,u as abandonedIcon,Oh as abandonedNoBGIcon,Ig as abandonedTableIcon,v as abandonedYellowIcon,yc as acceptanceAppDisabledIcon,tc as acceptanceAppIcon,wc as acceptanceBlackIcon,vc as acceptanceBlueIcon,Dc as acceptanceDisabledRoundedIcon,uc as acceptanceEnabledIcon,Gi as acceptanceWindowIcon,gb as acceptedFlag,Kc as accountAppIcon,Ni as accountWindowIcon,qb as acquirerIcon,ub as acquirerOrangeIcon,sb as acquirerRedIcon,jc as actionFailIcon,kc as actionSuccessIcon,Xi as actionsIcon,uj as activeActionIcon,em as activeBlueIcon,dm as activeGreenIcon,xf as activeLeadStatusIcon,dl as addIconWhite,Yi as addItem,Dj as addItemIcon,Mb as addidasIcon,zi as agreementInstallmentIcon,yi as agreementOrderIcon,Ai as agreementSavedCardIcon,Bi as agreementSubscriptionIcon,lb as allAppsIcon,ap as allAuthenticationStatuses,Ek as androidAppIcon,Xf as androidIcon,b as appBaseUrl,Y as applePayIcon,wm as applePayProviderIcon,vi as appsGridIcon,hg as arcIcon,xl as archievedOutlined,Nj as archivedVerifyIcon,Zi as attachIcon,Bj as attachIcon2,se as attentionIcon,Xg as authenticatedIcon,mh as authenticatedSuccessIcon,xh as authenticatedSuccessNoBgIcon,Ec as authenticationAppIcon,Xh as authenticationAppTypeIcon,bh as authenticationAttemptedIcon,rh as authenticationAttemptedNoBgIcon,Yh as authenticationBiometricIcon,dh as authenticationDeclinedIcon,uh as authenticationDeclinedNoBgIcon,Zh as authenticationDeviceIcon,fh as authenticationExemptedWithTransactionIcon,sh as authenticationExemptedWithTransactionNoBgIcon,eh as authenticationExemptedWithoutTransactionIcon,th as authenticationExemptedWithoutTransactionNoBgIcon,gh as authenticationFailedIcon,oh as authenticationFailedNoBgIcon,Wg as authenticationFailedTableIcon,hh as authenticationInitiatedIcon,_h as authenticationIssuerIcon,ch as authenticationNoAuthIcon,qh as authenticationNoAuthNoBgIcon,nh as authenticationPendingIcon,ph as authenticationPendingNoBgIcon,$h as authenticationSchemeIcon,ih as authenticationUnavailableIcon,vh as authenticationUnavailableNoBgIcon,jh as authenticationUndeterminedIcon,wh as authenticationUndeterminedNoBgIcon,Wh as authenticationWalletIcon,Pi as authenticationWindowIcon,lh as authenticationWithTransactionIcon,yh as authenticationWithTransactionNoBgIcon,kh as authenticationWithoutTransactionIcon,zh as authenticationWithoutTransactionNoBgIcon,Un as authenticationsTableCellWidth,hl as authorizationServiceIcon,Vn as authorizationTableCellWidth,Bk as authorizedIcon,gk as autoCapturedIcon,hk as autoVoidIcon,Xk as babyBlueCheckIcon,He as backButtonLeftIcon,R as bahrainIcon,vg as bankBlueIcon,dc as bankIcon,Zk as bankNoteIcon,ym as benefitPayProviderIcon,zm as benefitProviderIcon,qc as billingAppIcon,Ii as billingWindowIcon,Rj as biometricIcon,$k as blackBrushIcon,Ml as blackDeviceIcon,Yc as blackHeadingDownArrow,Hl as blackLinkIcon,Tl as blackMobileBatteryIcon,Ul as blackMobileSignalIcon,yb as blackRightArrowIcon,Il as blackSettingsIcon,jm as blackSettingsVariant2Icon,Yl as blackUnLinkIcon,Jl as blackWallet,Kf as blueAppsIcon,ti as blueArrowUpIcon,Sc as blueCheckIcon,Ej as blueCircleCheckIcon,ui as blueCircleLoaderIcon,lm as blueCircleWithWhiteCheckIcon,Gl as blueCopyIcon,_c as blueDropdownArrowIcon,Kl as blueGradientBrushIcon,Zc as blueHeadingDropdownArrow,Aj as blueNoteIcon,im as bluePlusIcon,Hj as blueVerifyIcon,Qb as blueZigzagCheckIcon,Ci as brandPlaceholderIcon,gl as brandServiceIcon,gg as braveIcon,qn as bulkInvoiceTemplate,pn as bulkRefundTemplate,Jc as businessesAppIcon,Oi as businessesWindowIcon,aa as buyNowPayLaterIcon,fk as calenderIcon,ik as cancelledIcon,Aa as cancelledInvoiceIcon,Wa as cancelledNoBgIcon,of as cancelledStatusIcon,Jg as cancelledTableIcon,vb as capturedAuthorizeIcon,ja as capturedDropdownIcon,jk as capturedIcon,Kg as capturedTableIcon,zg as carIcon,T as cardIcon,Zm as cardUploadIcon,ri as cardViewButtonIcon,Am as careemPayProviderIcon,Z as cashIcon,ia as chargeBackIcon,ha as chargeBackRequestedIcon,Mg as chargeBackRequestedTableIcon,Lg as chargeBackTableIcon,Xl as chargeBackWhiteIcon,Wn as chargeTableCellWidth,il as chargebacksServiceIcon,jl as chargesServiceIcon,Qf as chatDisabledIcon,Fb as checkIcon,lc as checkMarkIcon,Ib as checkboxIcon,Gh as checkoutStatusBlueIcon,Fh as checkoutStatusIcon,Hh as checkoutWithMarkStatusIcon,w as chevronDownIcon,oe as chevronGrayIcon,ne as chevronWhiteIcon,cg as chromeIcon,ig as chromiumIcon,bc as clearCoinIcon,hb as clearIcon,Df as clipboardFileGrayIcon,Ei as clipboardIcon,Ve as clockIcon,pb as closeCircle,Ta as closeIcon,yl as closeOutlinedCircle,Gb as closeXIcon,ua as closedDisputeIcon,Bb as closedFlagIcon,zf as closedLeadStatusIcon,$l as closedOutlinedYellowCircle,di as closedStatusIcon,Mj as closedVerifyIcon,Ql as codeBlackIcon,sa as codeIcon,Vc as collapseArrowIcon,_i as collapseArrows,xe as collapseArrowsIcon,Da as columnIcon,ck as columnResizeIndicatorIcon,ue as completedAcceptanceIcon,Zg as completedBlackIcon,ga as completedIcon,yf as completedLeadStatusIcon,we as completedPayoutsIcon,Ng as completedTableIcon,ra as copyIcon,Dg as corporateLoanBlackIcon,Cg as corporateLoanIcon,Tj as createChargeIcon,vl as createLeadIcon,nf as createdStatusIcon,Ye as csvIcon,$i as customerIcon,yj as customerIcon2,Ic as customersAppIcon,Ji as customersWindowIcon,tm as cyberSourceProviderIcon,gd as darkAppPlatformSubSegmentIcon,hd as darkAuthenticationGatewaySubSegmentIcon,id as darkBillingPlatformSubSegmentIcon,Ij as darkBlueVerifyIcon,ad as darkBusinessSegmentIcon,Uc as darkCheckIcon,jd as darkCommercePlatformSubSegmentIcon,kd as darkCommercialRegulatorSubSegmentIcon,bd as darkDevelopmentSegmentIcon,bk as darkFilterIcon,cd as darkFinancialSegmentIcon,ag as darkGreyTimezoneIcon,fc as darkLeftArrowIcon,dd as darkMasterOrchestratorSegmentIcon,ld as darkMerchantServiceProviderSubSegmentIcon,md as darkPaymentAcquirerSubSegmentIcon,nd as darkPaymentFacilitatorSubSegmentIcon,od as darkPaymentGatewayProviderSubSegmentIcon,pd as darkPaymentIssuerSubSegmentIcon,qd as darkPaymentMethodSubSegmentIcon,rd as darkPaymentProcessorSubSegmentIcon,sd as darkPaymentSchemeSubSegmentIcon,td as darkPaymentTechnologySubSegmentIcon,ud as darkPaymentTerminalProviderSubSegmentIcon,ed as darkPlatformSegmentIcon,fd as darkProviderSegmentIcon,vd as darkRetailPlatformSubSegmentIcon,wd as darkRetailerSubSegmentIcon,gc as darkRightArrowIcon,Ua as dashedCheckIcon,zl as dashedOutlinedCircle,bb as deMaximizeIcon,Al as deactivatedCircle,Bl as deactivatedCircleV2,_a as deactivatedIcon,am as deactivatedOrangeCircle,bm as deactivatedOrangeCircleV2,sn as deactiveIcon,kk as declinedIcon,Ug as declinedNoBgTableIcon,Og as declinedTableIcon,sg as deemaAppIcon,Bm as deemaProviderIcon,tg as deemaWindowIcon,Wl as deemaWithLabel,Pj as defaultCountryIcon,Qj as defaultDeviceIcon,lf as deletedStatusIcon,rf as deliveredStatusIcon,wa as desktopIcon,Pg as destinationReversedTableIcon,z as destinationSolidIcon,Vg as destinationSuccessTableIcon,Qg as destinationWithoutBackgroundIcon,lk as destinationsIcon,kl as destinationsServiceIcon,Xn as destinationsTableCellWidth,W as deviceIcon,Yk as digitalReceiptIcon,Sb as dimmedZigzagCheckIcon,tn as disableIcon,Lf as disabledCardIcon,Tc as disabledCheckIcon,Mf as disabledCodeIcon,aj as discountIcon,F as disputeIcon,ka as disputeResolvedIcon,Rg as disputeResolvedTableIcon,jf as dollarSignIcon,af as doneIcon,cn as dottedConnectorIcon,hf as dottedLine,Eb as downArrowIcon,xj as downArrowIcon3,Sm as downloadBlueIcon,Ff as downloadFileIcon,mf as draftStatusIcon,Hb as dragIcon,ie as dueDateBlackIcon,ee as dueDateBlueIcon,je as dueDateGrayIcon,fe as dueDateOrangeIcon,he as dueDateRedIcon,ge as dueDateYellowIcon,jn as earlySettlementsIcon,eg as edgeIcon,Dh as editIcon,K as egyptFlagIcon,ma as ellipsisHorizontalIcon,cj as emailBlackIcon,_d as emailChannelIcon,bj as emailIcon,rn as emptyCopyIcon,Th as emptyIcon,Vl as emptyMobileWifiIcon,Wo as emptyStatusChipColors,$m as endConnectorIcon,ll as entityServiceIcon,Xj as entityTimezoneIcon,Q as europeFlagIcon,Ka as exclamationDarkGreyIcon,Rf as exclamationDarkIcon,Tf as exclamationErrorIcon,Ja as exclamationGreyIcon,Uf as exclamationOrangeIcon,Cl as exclamationOutlinedCircle,cm as exclamationOutlinedOrangeCircle,Sf as exclamationWarningIcon,km as exclamationWhiteIcon,in as excludeIcon,In as excludedApps,ej as expandArrows,ye as expandArrowsIcon,le as expiredIcon,Ba as expiredInvoiceIcon,Af as expiredLeadStatusIcon,Xa as expiredNoBgIcon,pf as expiredStatusIcon,X as expressCheckoutIcon,un as extendIcon,nm as externalLinkIcon,Tm as eyeBlueIcon,Ie as eyeHideIcon,Je as eyeShowIcon,mk as failedIcon,Tg as failedNoBgTableIcon,Sg as failedTableIcon,Ia as failedWhiteBgIcon,Um as fastBlackIcon,ug as fastIcon,Cm as fawryProviderIcon,fj as feeIcon,_j as fileDownloadBlueIcon,$j as fileDownloadGreyIcon,Cf as fileIcon,Xm as fileMinusIcon,e as filesUrl,bn as filledConnectorIcon,ln as financeFeaturesIcon,kn as financedByIcon,dg as firefoxIcon,E as flagIcon,pm as flipIcon,Dm as fssProviderIcon,c as functionBaseUrl,Ll as gadientLink,tb as gatewayIcon,nk as gatewayOrangeIcon,ok as gatewayRedIcon,wn as gatewaySolidIcon,be as genericIcon,rb as genericIconNew,r as getAgingIcon,n as getAuthorityIcon,o as getBrowserIcon,j as getCountriesIcon,m as getCurrenciesIcon,g as getLightUrlIcon,q as getPaymentGatewaysIcon,p as getPaymentInitiatorIcon,i as getPaymentIssuersIcon,h as getPaymentMethodsIcon,k as getServiceFunctionIcon,l as getStatusIcon,Nl as gradientDeviceIcon,Ol as gradientSettings,Pl as gradientWallet,Ud as grayBrandIcon,Vd as grayCircleIcon,xi as grayCloseIcon,Db as grayFlagIcon,vj as grayProductLabel,Xc as grayUpArrowIcon,Jj as grayVerifyIcon,Ae as greenArrowLeftIcon,ze as greenArrowRightIcon,Be as greenArrowUpIcon,Fl as greenCheck2ACE00,ta as greenCheckIcon,Vf as greenCheckV2Icon,Kj as greenVerifyIcon,Rb as greenZigzagCheckIcon,Zf as greyAppleIcon,Qc as greyCheckIcon,Rc as greyCrossIcon,$f as greyDesktopIcon,fl as greyDownArrowIcon,$c as greyDropdownIcon,_f as greyLocationIcon,Bh as greyMinusIcon,Ah as greyPlusIcon,H as greyTimezoneIcon,el as greyUpArrowIcon,Pa as halfCircleIcon,Qa as halfCircleTransparentIcon,Ag as handCoinsWhiteIcon,sm as helpCircleIcon,mb as hideIcon,ec as hijriIcon,dk as homeIcon,Fk as iOSAppIcon,db as ibanIcon,qa as idIcon,fm as inActiveGreyIcon,gm as inActiveWhiteIcon,te as initialAcceptanceIcon,ve as initialPayoutsIcon,Ck as initiatedIcon,Pe as inprogressIcon,sl as insightsServiceIcon,Kh as intentCancelledStatusIcon,Ih as intentExpiredStatusIcon,Jh as intentInitiatedStatusIcon,Lh as intentTransactedStatusIcon,rl as intentsServiceIcon,Yn as intentsTableCellWidth,za as invoiceIcon,oa as invoiceIdIcon,Ca as invoiceNumberIcon,ml as invoiceServiceIcon,Zn as invoicesTableCellWidth,Wf as iosIcon,fn as issuerAttributesIcon,V as jaywanIcon,M as jordanFlagIcon,Xd as jsonBlackIcon,Wd as jsonIcon,Em as knetProviderIcon,O as kuwaitFlagIcon,Cj as lateFeeIcon2,Nf as layersIcon,df as leadAppIcon,ef as leadTitleIcon,Pf as leadWhiteIcon,_n as leadsTableCellWidth,N as lebanonFlagIcon,pg as lendingAppIcon,rg as lendingProviderAppIcon,qg as lendingWindowIcon,Dd as lightAppPlatformSubSegmentIcon,Ed as lightAuthenticationGatewaySubSegmentIcon,Fd as lightBillingPlatformSubSegmentIcon,xd as lightBusinessSegmentIcon,Gd as lightCommercePlatformSubSegmentIcon,Hd as lightCommercialRegulatorSubSegmentIcon,yd as lightDevelopmentSegmentIcon,zd as lightFinancialSegmentIcon,Ad as lightMasterOrchestratorSegmentIcon,Id as lightMerchantServiceProviderSubSegmentIcon,Jd as lightPaymentAcquirerSubSegmentIcon,Kd as lightPaymentFacilitatorSubSegmentIcon,Ld as lightPaymentGatewayProviderSubSegmentIcon,Md as lightPaymentIssuerSubSegmentIcon,Nd as lightPaymentMethodSubSegmentIcon,Od as lightPaymentProcessorSubSegmentIcon,Pd as lightPaymentSchemeSubSegmentIcon,Qd as lightPaymentTechnologySubSegmentIcon,Rd as lightPaymentTerminalProviderSubSegmentIcon,Bd as lightPlatformSegmentIcon,Cd as lightProviderSegmentIcon,Sd as lightRetailPlatformSubSegmentIcon,Td as lightRetailerSubSegmentIcon,a as lightUrl,dj as linkTiltedIcon,Bg as listIcon,si as listViewButtonIcon,Uh as loaderWhiteIcon,mn as loanAmountIcon,Ok as locationIcon,ek as lockIcon,mc as logOutIcon,Mh as longWordsIcon,Pb as macIcon,Rl as manyCurrencyCoin,Sl as manyCurrencyCoinGradient,Ub as marketPlaceBlackIcon,Tb as marketPlaceBlueIcon,Vb as marketPlaceDimmedIcon,Ra as maximizeIcon,Fm as meezaProviderIcon,en as merchantAttributesIcon,wb as merchantInitiatedIcon,jo as merchantsTableCellWidth,_b as messageIcon,ak as metaIcon,Sa as minimizeIcon,gj as minusIcon,xa as mobileIcon,Zb as moneyInDimmedIcon,Yb as moneyInIcon,Xb as moneyOutDimmedIcon,Wb as moneyOutIcon,yg as moonStarIcon,xg as mosqueBlackIcon,wg as mosqueIcon,nn as murabhaFinanceIcon,al as mutedOutlinedCheckIcon,Gm as nGenIusProviderIcon,Wk as navigationIcon,cl as navigationPointerBlack,Ef as newFileIcon,tj as newInvoiceIcon,sc as newReceiptIcon,jb as newWindowIcon,Fi as noAgreementIcon,Ch as noPreviewIcon,pe as notVerifiedIcon,hj as noteIcon,zj as noteIcon2,Hm as npgProviderIcon,Im as omanNetProviderIcon,ba as openBankingIcon,va as openDisputeIcon,Ab as openFlagIcon,fg as operaIcon,zb as orangeFlagIcon,mg as orchestrationAppIcon,mo as orchestrationRoutingTableCellWidth,lo as orchestrationTerminalsTableCellWidth,og as orchestrationWindowBg,ng as orchestrationWindowIcon,ff as orderAppIcon,$d as orderIcon,gf as orderWindowIcon,$n as ordersTableCellWidth,Gg as osAppIcon,Hg as osAppWindowIcon,El as outlinedCircle,bl as outlinedPlatformIcon,Va as outstandingIcon,Ya as paidNoBgIcon,_g as paidOutFilterIcon,pk as paidOutIcon,Ph as paidOutTableIcon,qf as paidStatusIcon,_ as passThruWalletIcon,if as passwordDotsIcon,ac as payStreamIcon,vn as payersIcon,Oe as paylinkAppIcon,Ne as paylinkWindowIcon,zc as payoutAppDisabledIcon,Cc as payoutDisabledRoundedIcon,Ac as payoutEnabledIcon,Bc as payoutGreenIcon,eb as payoutIcon,nl as payoutServiceIcon,Ki as payoutWindowIcon,Gc as payoutsAppIcon,xc as payoutsGreenIcon,ao as payoutsTableCellWidth,Jm as paypalProviderIcon,ij as pdfGrayIcon,Ze as pdfIcon,Oj as penIcon,cb as pendingFlag,$b as pendingIcon,Of as pendingOnTapIcon,Rh as pendingPayoutIcon,vf as pendingStatusIcon,Ym as percentIcon,La as percentage0Icon,Oa as percentage100Icon,Ma as percentage50Icon,Na as percentage75Icon,Gk as physicalLocationIcon,ai as pinIcon,Eg as platformAppIcon,Fg as platformWindowIcon,dn as playIcon,wj as plusQty,Km as postpayProviderIcon,nc as preferencesIcon,fi as previewModeIcon,jj as productLabel,Gf as progressFileIcon,Hc as protectAppIcon,bo as protectAuthorizationsTableCellWidth,zn as protectBlackIcon,co as protectChargesTableCellWidth,Kb as protectIcon,Li as protectWindowIcon,Lm as qPayProviderIcon,kj as quantityIcon,Dl as questionOutlinedCircle,nb as quitIcon,Bf as readyLeadStatusIcon,rc as receiptBillIcon,Vj as receiptIcon,fa as redArrowDownIcon,Qe as redCloseCircleIcon,We as redCloseIcon,Cb as redFlagIcon,Gj as redTrashBinIcon,Lj as redVerifyIcon,gn as refreshIcon,rk as refundInitiatedIcon,sk as refundSettledIcon,do as refundTableCellWidth,qk as refundedIcon,tk as refundedNotSettledIcon,wf as refundedStatusIcon,ol as refundsServiceIcon,Za as refunededNoBgIcon,fb as releasedFlag,kf as reloadIcon,me as remindedRedIcon,lj as removeAllItem,x as removeIcon,mj as removeItem,Vm as repeatIcon,cf as reportAppIcon,bf as reportAppsIcon,Yo as reportFilterTypesMap,_e as reportIcon,D as reportsIcon,$e as reportsIconOutlined,Qi as reportsWindowIcon,uk as restrictedIcon,tl as retailersServiceIcon,Vh as reverseActionIcon,la as reversePayoutIcon,Qh as reversePayoutTableIcon,y as reversedIcon,xb as rightArrow,Kk as rightLightArrowIcon,hn as riskAttributesIcon,pa as rowIdIcon,bg as safariIcon,Te as sandboxDefaultIcon,Se as sandboxHoveredIcon,Ue as sandboxOrangeIcon,L as saudiArabiaFlagIcon,$g as saveTokenIcon,J as savedCardIcon,tf as savedStatusIcon,Yj as savedTimezoneIcon,Yg as scheduledFilterIcon,uf as scheduledStatusIcon,Jk as searchBlueIcon,A as searchIcon,Nk as segmentDevelopmentHouseIcon,Lk as segmentInstitutionIcon,Mk as segmentTechnologyIcon,Qn as servicesTags,om as settingsIcon,vk as settledIcon,wk as settlementInitiatedIcon,xn as shareholdersIcon,Nh as sheetViewIcon,Wm as shieldIcon,Fe as shopifyBadgeIcon,qm as shoppingCartIcon,kg as slaProcessAppIcon,lg as slaProcessWindowIcon,Zj as smallBlueCheckIcon,Ik as smallLeftArrowIcon,ce as smsChannelIcon,nj as smsIcon,Hk as socialLinksIcon,_l as sortAscArrowIcon,Ea as sortAzIcon,Zl as sortDescArrowIcon,Yd as sortIcon,Fa as sortZaIcon,an as sparkIcon,Mm as spgProviderIcon,ic as spinnerLoadingAnimatedIcon,ni as spinnerLoadingBlueIcon,hc as spinnerLoadingIcon,ob as starIcon,_m as startConnectorIcon,Nm as stcPayProviderIcon,$ as storedValueWalletIcon,I as subscriptionIcon,Uj as successCheckIcon,Hf as successFileIcon,Ha as successWhiteBgIcon,ci as switcherIcon,Om as tabbyProviderIcon,oi as tableBackgroundLoader,pi as tableBlueArrowUpIcon,qi as tableBlueCheckMarkShadowedIcon,li as tableLoadingSpinnerIcon,mi as tableLoadingSpinnerWhiteIcon,ya as tabletIcon,Pm as tamaraProviderIcon,oj as taxIcon,yn as teamIcon,Jf as teamWindowIcon,f as templatesUrl,Pk as terminalAppIcon,Uk as terminalBrushIcon,Vk as terminalBrushMuted,Rk as terminalCardPhone,_k as terminalDeviceFrame,hm as terminalLinkVideo,ul as terminalServiceIcon,Tk as terminalTypeIcon,Qk as terminalWindowIcon,ko as terminalsTableCellWidth,on as testimonialIcon,Sj as threeDSIcon,na as threeDsIcon,xk as timedOutIcon,ke as timerBlueIcon,G as timezoneIcon,Sk as toastPOSIcon,pc as tokenAppIcon,ki as tokenCardIcon,ii as tokenExpiredStatusIcon,ji as tokenPendingStatusIcon,gi as tokenSavedStatusIcon,hi as tokenTransactedStatusIcon,Ri as tokensReportsIcon,eo as tokensTableCellWidth,Mi as tokensWindowIcon,$a as topUpIcon,fo as topupsTableCellWidth,pj as totalAmountIcon,Qm as tpayProviderIcon,Rm as tpgProviderIcon,ae as transactionIcon,oc as transformIcon,Fj as trashBinIcon,$o as unAuthenticatedStatuses,B as unAuthorizedIcon,yk as unAvailableIcon,ib as unCapturedIcon,Pn as unCapturedStatuses,Lc as unCheckedIcon,ah as unauthenticatedIcon,qj as unfocusRemoveItem,U as unionPayIcon,Lb as unisoIcon,P as unitedArabEmiratesFlagIcon,S as unitedStatesFlagIcon,zk as unknownIcon,bi as unpinIcon,Me as uploadAppIcon,Re as uploadBlueIcon,Ke as uploadIcon,Le as uploadWindowIcon,jg as userIcon,Wj as userTimezoneIcon,Di as usersIcon,pl as usersServiceIcon,Ge as verifiedGreenBadgeIcon,qe as verifiedIcon,rm as verifyAvatarIcon,re as verifyReviewIcon,ei as verticalLineIcon,d as videosUrl,kb as viewAllIcon,C as viewIcon,Eh as viewInvoiceIcon,wl as viewLeadIcon,sf as viewedStatusIcon,ea as visaIcon,Ak as voidedIcon,Fc as walletAppIcon,ho as walletDetailsTableCellWidth,cc as walletIcon,ql as walletServiceIcon,io as walletStatementTableCellWidth,go as walletTableCellWidth,Hi as walletWindowIcon,Pc as warningInfoIcon,Dk as websiteBlueIcon,Yf as websiteIcon,de as whatsappChannelIcon,rj as whatsappIcon,sj as whiteArrow2,If as whiteArrowDownIcon,De as whiteArrowLeftIcon,Ce as whiteArrowRightIcon,mm as whiteCircleWithBlueCheckIcon,Sh as whiteCloseIcon,wi as whiteFilterIcon,Jb as whitePlusIcon,Mc as wifiOffIcon,Ui as windowBankIcon,Si as windowBrandIcon,Ti as windowEntityIcon,Vi as windowIndividualIcon,Wi as windowPasswordIcon,Wc as worldIcon,Xe as xlsIcon,Ga as zipFileIcon}from'./_chunks/chunk-35FTGOAE.js';export{m as ACCOUNT_APP_SETTINGS,l as ACCOUNT_SECTION,n as AppEvent,h as ChargeBreakDownType,f as CurrencyCodes,o as DISCOUNT_TYPE,b as LanguageMode,i as NewRelicEventType,k as NewRelicFeatureName,j as NewRelicFeatureType,c as RECURRENCE_TYPE,q as ReportStatusEnum,g as SEGMENT_CODE,d as SEND_INVOICE,e as SalesChannelTypes,p as StatusValue,a as ThemeMode}from'./_chunks/chunk-LS57WE6K.js';
|
|
1
|
+
export{M as ActionCell,O as ActionIconColumn,K as ActionIconsVariants,N as ActionsColumn,sa as AgreementCell,P as AgreementIcon,E as AmountCell,w as AmountCellContainer,G as AmountCellSheet,F as AmountCellText,B as AmountConversionTooltipLabel,ta as AuthCell,R as AuthIcons,Q as AuthSourceAnimation,La as AuthenticationCell,ra as AuthenticationModeBadge,Da as AuthenticationStatusCell,Ea as AuthenticationTypeCell,T as AuthorizationAutoIcons,U as AuthorizedIcon,k as AvatarStyled,f as BadgeWrapper,ka as BalanceCell,la as BalanceCellSheet,ya as BankCell,Ja as BankReferenceCell,Ta as BrandCell,ab as BrandsCell,m as CaptureTextLabel,Fa as ChannelsCell,Ra as ChargeStatus,V as ChargeStatusIcon,Ma as CheckoutStatusCell,x as ConversionBadge,z as ConversionTooltip,A as ConversionTooltipRow,C as ConversionTypeLabel,i as CountBadge,Ia as CurrencyCell,D as CurrencyInfo,y as CurrencySpan,u as CustomerCell,v as CustomerCellSheet,W as CustomerInitiatedIcon,ga as DestinationCell,ha as DestinationCellSheet,ia as DestinationCellText,ea as DestinationIcon,Ba as DestinationStatusCell,fa as DeviceCell,Y as DeviceIconChip,Z as DisputeIcon,Za as EntityCell,d as GeographyBox,X as GeographyIcon,L as IDButton,j as IdButtonContainer,t as ImageWrapper,$a as IndividualsCell,Na as IntentsStatusCell,Pa as InvoiceStatusCell,_ as IssuerIcon,gb as LinkCell,pc as ListHeader,oc as ListHeaderToolbarAside,_a as MarketPlaceCell,Ua as MetadataCell,b as OrderCell,c as OrderCellSheet,hb as OrdersCellSheet,db as PaymentAgreementCellSheet,na as PaymentCardNumberSource,oa as PaymentMethodSource,qa as PaymentSchemeSource,pa as PaymentTypeSource,$ as PayoutIcon,Va as PayoutReportCell,za as PayoutStatusCell,s as PiePercentage,Ga as ProductsCell,eb as ProviderCell,fb as PurposeCell,Wa as ReceiptCell,Xa as ReceiptCellSheet,Ya as ReceiptCellText,Ka as ReferenceCell,Oa as RefundChargeCell,aa as RefundIcon,va as RefundStateIcon,wa as RefundStatusCell,ua as RefundStatusIcon,Aa as RefundTooltipView,bb as SalesChannelCell,cb as SalesChannelCellSheet,ma as SourceCell,ca as SourceIcon,da as SourceIcons,h as StarBadgeWrapper,H as StatusCell,p as StatusCellContainer,I as StatusCellSheet,J as StatusCellText,r as StatusIcon,q as StatusIconWrapper,o as StyledTextTableCell,a as TableCell,l as TextLabel,Ha as TextTableCell,Qa as TextWithBadgeCell,g as TimeZone,Sa as TokenStatusCell,e as TransparentButton,S as VoidAutoIcon,n as VoidTextLabel,xa as WalletCell,Ca as authenticationStatusIcons,ja as generateDestinationTooltip,ba as getPaymentMethodKey,ic as useCustomTableViews}from'./_chunks/chunk-GSPSUKZC.js';export{u as JSONViewWindow,q as JSONViewWindowContext,s as JSONViewWindowProvider,a as jsonViewWindowClassNames,t as useJSONViewWindow}from'./_chunks/chunk-D7Q6GITS.js';export{b as WindowShell,a as windowShellClassNames}from'./_chunks/chunk-OAPCRKFH.js';export{a as ThemeProvider}from'./_chunks/chunk-G3QDXDRW.js';export{e as Timeline,d as timelineClassNames}from'./_chunks/chunk-B2OUV4UE.js';export{e as VerificationIcon,b as VerificationIconStatus,a as verificationIconClassNames}from'./_chunks/chunk-ZPYQLESN.js';export{c as ColumnFilter,a as Inputs,s as LastRowContent,b as List,A as ListItemWrapperWithCard,p as RowErrorState,$ as SheetViewVirtualTable,g as StyledCell,t as StyledItemWrapper,n as TableError,v as TableFooter,j as TableLastItem,l as TableLoading,x as TableLoadingWithCard,o as TableNoData,y as TableNoDataWithCard,q as TableRow,k as TableRowLoading,w as TableRowLoadingWithCard,z as TableRowWithCard,d as VirtualScrollInner,f as VirtualScrollList,e as VirtualScrollOuter,u as VirtualTable,i as VirtualTableHeader,B as VirtualTableWithCard}from'./_chunks/chunk-XK5TVDKR.js';export{f as Window,g as WindowContent,a as WindowContext,h as WindowFooter,i as WindowFooterActions,e as WindowProvider,d as resolveWindowBounds,c as resolveWindowDimension,b as useWindow}from'./_chunks/chunk-2BU56HDE.js';export{c as WindowServices,d as WindowSkeleton,a as windowServicesClassNames,b as windowSkeletonClassNames}from'./_chunks/chunk-EWENP3LB.js';import'./_chunks/chunk-2I5L7ASP.js';export{c as CloseIcon,d as DirectionIcon,e as MaximizeIcon,f as MinimizeIcon,g as SandboxIcon,b as WindowToolbar,i as WindowToolbarEndAdornment,h as WindowToolbarStartAdornment,j as WindowToolbarTitle,a as windowToolbarClassNames}from'./_chunks/chunk-5FR3LFXC.js';export{a as windowClassNames,g as windowDragHandleClass,f as windowDragHandleId}from'./_chunks/chunk-ISC5KT5E.js';export{b as SearchButton,a as searchButtonClassNames}from'./_chunks/chunk-XVIGXV43.js';export{b as SearchInput,a as searchInputClassNames}from'./_chunks/chunk-7H5HCDY6.js';export{a as Select}from'./_chunks/chunk-B2NOP2A5.js';export{b as SheetViewChip,a as sheetViewChipClassNames}from'./_chunks/chunk-673TILTX.js';export{b as Sidebar,a as sidebarClassNames}from'./_chunks/chunk-QKEB3XTE.js';export{b as TableViewToggleButton,a as tableViewToggleButtonClassNames}from'./_chunks/chunk-YFL4D5VW.js';export{b as Logo,a as logoClassNames}from'./_chunks/chunk-K5QISMYX.js';export{b as MaskedText,a as maskedTextClassNames}from'./_chunks/chunk-637LQKFX.js';export{b as MultiLevelMenu,a as multiLevelMenuClassNames}from'./_chunks/chunk-ALG4KR24.js';export{b as MultiLevelSelect,a as multiLevelSelectClassNames}from'./_chunks/chunk-6UI52RXI.js';export{a as CountriesList,b as PhoneInput}from'./_chunks/chunk-3TZY3PB4.js';export{b as TextInput,a as textInputClassNames}from'./_chunks/chunk-4SDKOPUI.js';export{b as ProgressRing,a as progressRingClassNames}from'./_chunks/chunk-UXDNAGHP.js';export{e as RADIO_GROUP_DEFAULT_LAYOUT,d as RADIO_GROUP_DEFAULT_SIZE,f as RADIO_GROUP_DEFAULT_SPACING,c as RADIO_GROUP_LAYOUTS,b as RADIO_GROUP_SIZES,g as RadioGroup,a as radioGroupClassNames}from'./_chunks/chunk-YIVUI2NW.js';import'./_chunks/chunk-PYVM4SKE.js';export{b as FilterButton,a as filterButtonClassNames}from'./_chunks/chunk-U2JLXSW5.js';export{d as FilterChip,a as filterChipClassNames}from'./_chunks/chunk-MUBZJUHH.js';export{f as FilterPopover,a as filterPopoverClassNames,e as useFilterPopover}from'./_chunks/chunk-LFCRVEVB.js';export{c as DEFAULT_FLIP_DURATION,d as FlipCard,a as flipCardClassNamePrefix,b as flipCardClassNames}from'./_chunks/chunk-U6HZMYNW.js';export{b as GroupedSelect,a as groupedSelectClassNames}from'./_chunks/chunk-H6IWML5L.js';export{b as HeatMap}from'./_chunks/chunk-LTTRVHN5.js';export{b as Loader,a as loaderClassNames}from'./_chunks/chunk-L2CUT2AZ.js';export{b as EmptyState,a as emptyStateClassNames}from'./_chunks/chunk-S7AZOXFD.js';export{b as ErrorToast,a as errorToastClassNames}from'./_chunks/chunk-XKEBWPJM.js';export{b as ExpandableChip,a as expandableChipClassNames}from'./_chunks/chunk-TRXHMROX.js';export{c as ExportReportButton,a as exportReportButtonClassNames,b as useReportDownload}from'./_chunks/chunk-D4FXMX5O.js';export{b as FileDropbox,a as fileDropboxClassNames}from'./_chunks/chunk-RW26DPMJ.js';export{b as FilePreview,a as filePreviewClassNames}from'./_chunks/chunk-RGQ5AGHK.js';export{b as FileUploader,a as fileUploaderClassNames}from'./_chunks/chunk-DIN6W5Q6.js';export{b as FilterBar,a as filterBarClassNames}from'./_chunks/chunk-JBDIMDMZ.js';export{c as ConfirmDialogProvider,a as confirmDialogClassNames,b as useConfirm}from'./_chunks/chunk-247ZI55C.js';export{b as CountryFlag,a as countryFlagClassNames}from'./_chunks/chunk-EM7XGO3A.js';export{b as CurrenciesMenu,a as currenciesMenuClassNames}from'./_chunks/chunk-KBXWH3SO.js';export{b as CurrencyAmount,a as currencyAmountClassNames}from'./_chunks/chunk-ODDV623H.js';export{b as CurrencyAmountInput,a as currencyAmountInputClassNames}from'./_chunks/chunk-OJO5GAN7.js';export{b as CurrencySymbol,a as currencySymbolClassNames}from'./_chunks/chunk-EKOQHUCL.js';export{a as DEVICE_ICON,c as DeviceIcon,b as isDeviceIconShown}from'./_chunks/chunk-SSK26DK7.js';export{a as ActionsDropdownMenu,b as AppMenuItem}from'./_chunks/chunk-GQZXKKCE.js';export{b as Alert,a as alertClassNames}from'./_chunks/chunk-DHSYX6K2.js';export{b as AreaChart,a as areaChartClassNames}from'./_chunks/chunk-ETLDR6XW.js';export{d as Autocomplete,a as autocompleteClassNames,c as autocompleteDefaultOpenOnFocus,b as autocompleteMenuDirection}from'./_chunks/chunk-2JFMUHGQ.js';import'./_chunks/chunk-2LO4STE5.js';export{aa as SelectChevronIcon,a as selectClassNames,j as selectMenuDirection,l as selectValueAlignment}from'./_chunks/chunk-MLOWKQDW.js';export{b as AVATAR_STACK_VARIANTS,e as AvatarStack,d as AvatarStackItem,c as DEFAULT_AVATAR_STACK_VARIANT,a as avatarStackClassNames}from'./_chunks/chunk-M3TZIB3C.js';export{b as Card,c as CardHeader,a as cardClassNames}from'./_chunks/chunk-W2FF6EIY.js';export{b as CardList,c as CardListItem,a as cardListClassNames}from'./_chunks/chunk-YZF24X6P.js';export{f as ColorPicker,b as colorPickerClassNames}from'./_chunks/chunk-AGNZUPPF.js';export{P as Accordion,t as Avatar,B as Backdrop,z as Badge,b as Button,f as Checkbox,H as Chip,n as CircularProgress,x as Collapse,D as CopyButton,T as Dialog,v as Divider,ba as FieldFeedback,d as Icon,L as Input,_ as LazyImage,R as Menu,V as MenuItem,F as ProgressBar,l as RadioButton,da as ScrollLoader,r as Skeleton,J as Slider,h as Switch,N as Textarea,Y as ToggleButtons,p as Tooltip,j as Typography,O as accordionClassNames,s as avatarClassNames,A as backdropClassNames,y as badgeClassNames,a as buttonClassNames,e as checkboxClassNames,G as chipClassNames,m as circularProgressClassNames,w as collapseClassNames,C as copyButtonClassNames,S as dialogClassNames,u as dividerClassNames,$ as fieldFeedbackClassNames,aa as getFieldFeedbackColors,c as iconClassNames,K as inputClassNames,Z as lazyImageClassNames,Q as menuClassNames,U as menuItemClassNames,E as progressBarClassNames,k as radioButtonClassNames,ca as scrollLoaderClassNames,q as skeletonClassNames,I as sliderClassNames,g as switchClassNames,M as textareaClassNames,W as toggleButtonsClassNames,X as toggleButtonsSize,o as tooltipClassNames,i as typographyClassNames}from'./_chunks/chunk-F7I3KDV5.js';import'./_chunks/chunk-IXFXTDH7.js';export{j as useAppEventListener,i as useAppEventPublisher,h as useAppsInfo,c as useBadgesCount,o as useColumnFiltersGate,g as useCountdown,b as useDelayToSetValue,r as useElementSizeObserver,p as useFilterKeyDown,n as useNetworkState,q as useScrollWithShadow,m as useScrolledTo,k as useSelectedMerchantDetails,e as useStickyHeaderShadow,d as useTableViews,f as useThemeMode,l as useToast,a as useWindowDimensions}from'./_chunks/chunk-U3ZJP2GE.js';import'./_chunks/chunk-FDYQ25JQ.js';export{f as appTheme,a as components,c as darkPalette,b as lightPalette,d as shadows,e as typography}from'./_chunks/chunk-YPOZVOUV.js';export{Jb as DEFAULT_SKELETON_WIDTHS,zb as SELECTION_COLORS,Cb as alignToJustifyContent,Q as api,Ob as applyColumnFiltersGate,nb as areFilesEqual,jb as backendErrorHandler,ka as calculateMaxAllowedRows,va as capitalizeFirstLetter,za as capitalizeString,P as clearTapOsLocalStorage,Z as conversionTypesLabels,ea as convertToNumber,ua as copyText,_ as currencyConfig,bb as downloadFile,Ia as extractIdsFromRowData,Wa as filterShownColumns,ba as formatAmount,ca as formatAmountWithCurrency,aa as formatCurrencyWithInput,Rb as formatLogDate,Ca as generateChargeErrors,qb as generateReportLocalStorageKey,Kb as generateSkeletonColumns,ta as generateUniqueUUID,fb as getApiErrorMessage,S as getBrowserName,f as getBusinessSegmentConfig,B as getCalenderTimezone,C as getCalenderTimezoneHistory,Aa as getCardNumber,ja as getCellWidth,Xa as getColumnOrderFromViews,ia as getColumnWidthPercentage,Sb as getComponentId,da as getConversion,fa as getCountryNameByISO,Ub as getFieldFeedbackState,pb as getFileIconFromExtension,sa as getFirstChar,xb as getGeographyBoxColor,G as getGlobalTableModeStorage,R as getHeaders,kb as getIdentificationTypeList,yb as getLocalizedUnitLabel,t as getLoggedInUserActiveSegment,r as getLoggedInUserData,o as getLoggedInUserJwtToken,s as getLoggedInUserSegment,tb as getNameText,l as getNavigationData,h as getNonBusinessSegmentConfig,Ba as getPaymentMethodWithId,vb as getPaymentTypeKey,ab as getPhoneDetails,oa as getPossibleActionNavigationView,L as getPreviewStorage,Lb as getProcessedColumns,V as getRandomColor,W as getRandomGradientColor,x as getReportRecord,Bb as getRowSelectionBorderStyles,j as getSecretKey,e as getSegmentData,Ab as getSelectionStyles,J as getSheetViewColumnsStorage,sb as getTextByLang,Fb as getTimezoneByCountryCode,Gb as getTimezoneByTimezone,d as getUniqueListBy,U as getUserAgentDeviceType,ub as getUsername,N as getViewsSelectionStorage,cb as handleFileDownload,db as handleURLDownload,Nb as hasActiveColumnFilters,gb as hasError,Tb as hasFieldFeedbackMessage,X as hexa2Rgba,$ as intlCurrency,rb as isArabic,ob as isDuplicateFile,Ea as isEmptyValue,mb as isFile,la as isHeightNotFullyFilledByRows,u as isJwtTokenExpired,eb as isNetworkError,ib as isNotFoundError,ha as isOman,Ya as isParameterSelected,T as isSafariBrowser,wb as isSamePaymentSource,ga as isSaudiArabia,g as isSegmentActLikeBusinessSegment,ma as isTableDefaultMode,na as isTableSheetMode,Ga as isTapstersFrontend,hb as isTimeoutError,v as isUserLoggedInAndJwtTokenActive,pa as isValidString,Eb as joinClassNames,Za as mapDataToViews,_a as mapViewsToData,xa as maskValue,ra as matchOccurrence,Db as mergeSx,wa as percentageToNumber,lb as readableFileSize,Ha as removeAllCharsFromNumber,D as removeCalenderTimezone,E as removeCalenderTimezoneHistory,H as removeGlobalTableModeStorage,p as removeLoggedInUserJwtToken,m as removeNavigationData,qa as removePrefixFromString,M as removePreviewStorage,y as removeReportRecord,c as removeUndefinedArrayElements,Fa as removeUndefinedArrayValues,Da as removeUndefinedValues,Y as rgba2Hexa,Pb as sanitizeHtml,z as setCalenderTimezone,A as setCalenderTimezoneHistory,F as setGlobalTableModeStorage,q as setLoggedInUserData,n as setLoggedInUserJwtToken,k as setNavigationData,K as setPreviewStorage,w as setReportRecord,i as setSecretKey,I as setSheetViewColumnsStorage,O as setViewsSelectionStorage,b as sortByString,a as sortList,Qb as trackFeatureEvent,Hb as transformPaymentMethodsData,Ib as transformPaymentSchemesData,ya as transformStringToProperCase,$a as updateColumnSelection,Mb as updateViewsSelection}from'./_chunks/chunk-XBJ4RS2B.js';export{j as caretIndexAfterThousandFormat,n as formatDate,c as formatNumber,b as formatOrdinal,r as formatRelativeTimeWithinHour,p as formatSecondsAsTime,i as formatThousandSeparatedInput,k as generateDayList,l as generateMonthList,m as generateYearList,h as getAmountPlaceholder,s as getOrderedWeekDays,o as getValueOfEndOfDay,a as isValidNumber,q as isWithinTimeAgo,f as numberToString,g as pad,d as parseAmount,e as stringToNumber}from'./_chunks/chunk-TIPJC5YT.js';export{ab as AIOverviewIcon,Rn as API_BASE_LIMIT,Sn as API_LIST_CONSTANTS,Kn as API_URL,Fn as APP_CODES,Gn as APP_DIMENSIONS,Hn as APP_ICONS,Bn as APP_SETTINGS_FUNCTIONS,ap as AUTHENTICATION_LABEL,Ko as AUTHENTICATION_TYPE_OPTIONS,$o as AuthenticationModeType,Jn as BASE_URL,bp as BUSINESS_COUNTRIES,Yo as BUSINESS_DOCUMENT_TYPE_MAP,Cn as BUSINESS_FUNCTIONS,to as CATEGORIZED_CURRENCY_CODES,da as ChallengeIcon,Lo as DARK_SEGMENT_LOGOS,Co as DATA_KEY,Do as DATA_KEY_LABEL,no as DEFAULT_TIMEZONE_COUNTRY_CODE,po as DEFAULT_TIMEZONE_COUNTRY_NAME,oo as DEFAULT_TIMEZONE_IANA_NAME,To as DEVELOPMENT_HOUSE_SEGMENT_CODES,t as DirhamIconImage,Ln as ENV,cp as FILE_ICON_MAP,ca as FrictionlessIcon,Nn as HOST_APP_NAME,On as HOST_APP_NAMES,Ee as HSBCBankIcon,Mo as LIGHT_SEGMENT_LOGOS,qo as MINUTES_PER_HOUR,um as MPGSProviderIcon,vm as NETCETERAProviderIcon,En as OPERATOR_FUNCTIONS,Go as PAYMENT_INITIATED_CUSTOMER_KEY,Ho as PAYMENT_INITIATED_MERCHANT_KEY,Io as PAYMENT_INITIATED_OPTIONS,Qo as PAYMENT_INSTITUTION_SEGMENT_CODES,So as PAYMENT_ISSUER_SEGMENT_CODES,Jo as PAYMENT_LOCATION_OPTIONS,Ro as PAYMENT_TECHNOLOGY_SEGMENT_CODES,Fo as PAYMENT_TYPES,Eo as PAYMENT_TYPES_ICONS,Po as PLATFORM_SUB_SEGMENT_CODES,Xo as REPORTS_APPS,Vo as REPORT_FILTER_TYPES,Dn as REVIEW_FUNCTIONS,Nb as RadioButtonCheckedIcon,Ob as RadioButtonUncheckedIcon,s as SARIconImage,No as SEGMENT_FILTER_KEY,Oo as SEGMENT_TYPE_FILTERS_MAP,An as SERVICE_COMMON_FUNCTIONS,zo as SHEET_VIEW_TABLE_LIST_OVER_SCAN,Bo as SHEET_VIEW_TABLE_ROW_HEIGHT,Ao as SHEET_VIEW_TABLE_THRESHOLD,so as SUPPORTED_CURRENCY_CODES,ro as SUPPORTED_CURRENCY_DETAILS,Oc as SandboxDefault,Nc as SandboxHovered,Zd as SandboxHoveredLightIcon,vo as TABLE_CONTENT_ROW_HEIGHT,yo as TABLE_LIST_OVER_SCAN,uo as TABLE_LOADING_ROW_HEIGHT,wo as TABLE_ROW_HEIGHT,xo as TABLE_THRESHOLD,xm as TAP3DSPROVIDERIcon,Tn as TAPOS_MW_MERCHANT_OR_RETAILER_REQUIRED,Mn as TEST_SECRET_KEY,ep as USER_ROLE_IDS,dp as WINDOW_Z_INDEX_BASE,u as abandonedIcon,Oh as abandonedNoBGIcon,Ig as abandonedTableIcon,v as abandonedYellowIcon,yc as acceptanceAppDisabledIcon,tc as acceptanceAppIcon,wc as acceptanceBlackIcon,vc as acceptanceBlueIcon,Dc as acceptanceDisabledRoundedIcon,uc as acceptanceEnabledIcon,Gi as acceptanceWindowIcon,gb as acceptedFlag,Kc as accountAppIcon,Ni as accountWindowIcon,qb as acquirerIcon,ub as acquirerOrangeIcon,sb as acquirerRedIcon,jc as actionFailIcon,kc as actionSuccessIcon,Xi as actionsIcon,uj as activeActionIcon,em as activeBlueIcon,dm as activeGreenIcon,xf as activeLeadStatusIcon,dl as addIconWhite,Yi as addItem,Dj as addItemIcon,Mb as addidasIcon,zi as agreementInstallmentIcon,yi as agreementOrderIcon,Ai as agreementSavedCardIcon,Bi as agreementSubscriptionIcon,lb as allAppsIcon,_o as allAuthenticationStatuses,Ek as androidAppIcon,Xf as androidIcon,b as appBaseUrl,Y as applePayIcon,wm as applePayProviderIcon,vi as appsGridIcon,hg as arcIcon,xl as archievedOutlined,Nj as archivedVerifyIcon,Zi as attachIcon,Bj as attachIcon2,se as attentionIcon,Xg as authenticatedIcon,mh as authenticatedSuccessIcon,xh as authenticatedSuccessNoBgIcon,Ec as authenticationAppIcon,Xh as authenticationAppTypeIcon,bh as authenticationAttemptedIcon,rh as authenticationAttemptedNoBgIcon,Yh as authenticationBiometricIcon,dh as authenticationDeclinedIcon,uh as authenticationDeclinedNoBgIcon,Zh as authenticationDeviceIcon,fh as authenticationExemptedWithTransactionIcon,sh as authenticationExemptedWithTransactionNoBgIcon,eh as authenticationExemptedWithoutTransactionIcon,th as authenticationExemptedWithoutTransactionNoBgIcon,gh as authenticationFailedIcon,oh as authenticationFailedNoBgIcon,Wg as authenticationFailedTableIcon,hh as authenticationInitiatedIcon,_h as authenticationIssuerIcon,ch as authenticationNoAuthIcon,qh as authenticationNoAuthNoBgIcon,nh as authenticationPendingIcon,ph as authenticationPendingNoBgIcon,$h as authenticationSchemeIcon,ih as authenticationUnavailableIcon,vh as authenticationUnavailableNoBgIcon,jh as authenticationUndeterminedIcon,wh as authenticationUndeterminedNoBgIcon,Wh as authenticationWalletIcon,Pi as authenticationWindowIcon,lh as authenticationWithTransactionIcon,yh as authenticationWithTransactionNoBgIcon,kh as authenticationWithoutTransactionIcon,zh as authenticationWithoutTransactionNoBgIcon,Un as authenticationsTableCellWidth,hl as authorizationServiceIcon,Vn as authorizationTableCellWidth,Bk as authorizedIcon,gk as autoCapturedIcon,hk as autoVoidIcon,Xk as babyBlueCheckIcon,He as backButtonLeftIcon,R as bahrainIcon,vg as bankBlueIcon,dc as bankIcon,Zk as bankNoteIcon,ym as benefitPayProviderIcon,zm as benefitProviderIcon,qc as billingAppIcon,Ii as billingWindowIcon,Rj as biometricIcon,$k as blackBrushIcon,Ml as blackDeviceIcon,Yc as blackHeadingDownArrow,Hl as blackLinkIcon,Tl as blackMobileBatteryIcon,Ul as blackMobileSignalIcon,yb as blackRightArrowIcon,Il as blackSettingsIcon,jm as blackSettingsVariant2Icon,Yl as blackUnLinkIcon,Jl as blackWallet,Kf as blueAppsIcon,ti as blueArrowUpIcon,Sc as blueCheckIcon,Ej as blueCircleCheckIcon,ui as blueCircleLoaderIcon,lm as blueCircleWithWhiteCheckIcon,Gl as blueCopyIcon,_c as blueDropdownArrowIcon,Kl as blueGradientBrushIcon,Zc as blueHeadingDropdownArrow,Aj as blueNoteIcon,im as bluePlusIcon,Hj as blueVerifyIcon,Qb as blueZigzagCheckIcon,Ci as brandPlaceholderIcon,gl as brandServiceIcon,gg as braveIcon,qn as bulkInvoiceTemplate,pn as bulkRefundTemplate,Jc as businessesAppIcon,Oi as businessesWindowIcon,aa as buyNowPayLaterIcon,fk as calenderIcon,ik as cancelledIcon,Aa as cancelledInvoiceIcon,Wa as cancelledNoBgIcon,of as cancelledStatusIcon,Jg as cancelledTableIcon,vb as capturedAuthorizeIcon,ja as capturedDropdownIcon,jk as capturedIcon,Kg as capturedTableIcon,zg as carIcon,T as cardIcon,Zm as cardUploadIcon,ri as cardViewButtonIcon,Am as careemPayProviderIcon,Z as cashIcon,ia as chargeBackIcon,ha as chargeBackRequestedIcon,Mg as chargeBackRequestedTableIcon,Lg as chargeBackTableIcon,Xl as chargeBackWhiteIcon,Wn as chargeTableCellWidth,il as chargebacksServiceIcon,jl as chargesServiceIcon,Qf as chatDisabledIcon,Fb as checkIcon,lc as checkMarkIcon,Ib as checkboxIcon,Gh as checkoutStatusBlueIcon,Fh as checkoutStatusIcon,Hh as checkoutWithMarkStatusIcon,w as chevronDownIcon,oe as chevronGrayIcon,ne as chevronWhiteIcon,cg as chromeIcon,ig as chromiumIcon,bc as clearCoinIcon,hb as clearIcon,Df as clipboardFileGrayIcon,Ei as clipboardIcon,Ve as clockIcon,pb as closeCircle,Ta as closeIcon,yl as closeOutlinedCircle,Gb as closeXIcon,ua as closedDisputeIcon,Bb as closedFlagIcon,zf as closedLeadStatusIcon,$l as closedOutlinedYellowCircle,di as closedStatusIcon,Mj as closedVerifyIcon,Ql as codeBlackIcon,sa as codeIcon,Vc as collapseArrowIcon,_i as collapseArrows,xe as collapseArrowsIcon,Da as columnIcon,ck as columnResizeIndicatorIcon,ue as completedAcceptanceIcon,Zg as completedBlackIcon,ga as completedIcon,yf as completedLeadStatusIcon,we as completedPayoutsIcon,Ng as completedTableIcon,ra as copyIcon,Dg as corporateLoanBlackIcon,Cg as corporateLoanIcon,Tj as createChargeIcon,vl as createLeadIcon,nf as createdStatusIcon,Ye as csvIcon,$i as customerIcon,yj as customerIcon2,Ic as customersAppIcon,Ji as customersWindowIcon,tm as cyberSourceProviderIcon,gd as darkAppPlatformSubSegmentIcon,hd as darkAuthenticationGatewaySubSegmentIcon,id as darkBillingPlatformSubSegmentIcon,Ij as darkBlueVerifyIcon,ad as darkBusinessSegmentIcon,Uc as darkCheckIcon,jd as darkCommercePlatformSubSegmentIcon,kd as darkCommercialRegulatorSubSegmentIcon,bd as darkDevelopmentSegmentIcon,bk as darkFilterIcon,cd as darkFinancialSegmentIcon,ag as darkGreyTimezoneIcon,fc as darkLeftArrowIcon,dd as darkMasterOrchestratorSegmentIcon,ld as darkMerchantServiceProviderSubSegmentIcon,md as darkPaymentAcquirerSubSegmentIcon,nd as darkPaymentFacilitatorSubSegmentIcon,od as darkPaymentGatewayProviderSubSegmentIcon,pd as darkPaymentIssuerSubSegmentIcon,qd as darkPaymentMethodSubSegmentIcon,rd as darkPaymentProcessorSubSegmentIcon,sd as darkPaymentSchemeSubSegmentIcon,td as darkPaymentTechnologySubSegmentIcon,ud as darkPaymentTerminalProviderSubSegmentIcon,ed as darkPlatformSegmentIcon,fd as darkProviderSegmentIcon,vd as darkRetailPlatformSubSegmentIcon,wd as darkRetailerSubSegmentIcon,gc as darkRightArrowIcon,Ua as dashedCheckIcon,zl as dashedOutlinedCircle,bb as deMaximizeIcon,Al as deactivatedCircle,Bl as deactivatedCircleV2,_a as deactivatedIcon,am as deactivatedOrangeCircle,bm as deactivatedOrangeCircleV2,sn as deactiveIcon,kk as declinedIcon,Ug as declinedNoBgTableIcon,Og as declinedTableIcon,sg as deemaAppIcon,Bm as deemaProviderIcon,tg as deemaWindowIcon,Wl as deemaWithLabel,Pj as defaultCountryIcon,Qj as defaultDeviceIcon,lf as deletedStatusIcon,rf as deliveredStatusIcon,wa as desktopIcon,Pg as destinationReversedTableIcon,z as destinationSolidIcon,Vg as destinationSuccessTableIcon,Qg as destinationWithoutBackgroundIcon,lk as destinationsIcon,kl as destinationsServiceIcon,Xn as destinationsTableCellWidth,W as deviceIcon,Yk as digitalReceiptIcon,Sb as dimmedZigzagCheckIcon,tn as disableIcon,Lf as disabledCardIcon,Tc as disabledCheckIcon,Mf as disabledCodeIcon,aj as discountIcon,F as disputeIcon,ka as disputeResolvedIcon,Rg as disputeResolvedTableIcon,jf as dollarSignIcon,af as doneIcon,cn as dottedConnectorIcon,hf as dottedLine,Eb as downArrowIcon,xj as downArrowIcon3,Sm as downloadBlueIcon,Ff as downloadFileIcon,mf as draftStatusIcon,Hb as dragIcon,ie as dueDateBlackIcon,ee as dueDateBlueIcon,je as dueDateGrayIcon,fe as dueDateOrangeIcon,he as dueDateRedIcon,ge as dueDateYellowIcon,jn as earlySettlementsIcon,eg as edgeIcon,Dh as editIcon,K as egyptFlagIcon,ma as ellipsisHorizontalIcon,cj as emailBlackIcon,_d as emailChannelIcon,bj as emailIcon,rn as emptyCopyIcon,Th as emptyIcon,Vl as emptyMobileWifiIcon,Uo as emptyStatusChipColors,$m as endConnectorIcon,ll as entityServiceIcon,Xj as entityTimezoneIcon,Q as europeFlagIcon,Ka as exclamationDarkGreyIcon,Rf as exclamationDarkIcon,Tf as exclamationErrorIcon,Ja as exclamationGreyIcon,Uf as exclamationOrangeIcon,Cl as exclamationOutlinedCircle,cm as exclamationOutlinedOrangeCircle,Sf as exclamationWarningIcon,km as exclamationWhiteIcon,in as excludeIcon,In as excludedApps,ej as expandArrows,ye as expandArrowsIcon,le as expiredIcon,Ba as expiredInvoiceIcon,Af as expiredLeadStatusIcon,Xa as expiredNoBgIcon,pf as expiredStatusIcon,X as expressCheckoutIcon,un as extendIcon,nm as externalLinkIcon,Tm as eyeBlueIcon,Ie as eyeHideIcon,Je as eyeShowIcon,mk as failedIcon,Tg as failedNoBgTableIcon,Sg as failedTableIcon,Ia as failedWhiteBgIcon,Um as fastBlackIcon,ug as fastIcon,Cm as fawryProviderIcon,fj as feeIcon,_j as fileDownloadBlueIcon,$j as fileDownloadGreyIcon,Cf as fileIcon,Xm as fileMinusIcon,e as filesUrl,bn as filledConnectorIcon,ln as financeFeaturesIcon,kn as financedByIcon,dg as firefoxIcon,E as flagIcon,pm as flipIcon,Dm as fssProviderIcon,c as functionBaseUrl,Ll as gadientLink,tb as gatewayIcon,nk as gatewayOrangeIcon,ok as gatewayRedIcon,wn as gatewaySolidIcon,be as genericIcon,rb as genericIconNew,r as getAgingIcon,n as getAuthorityIcon,o as getBrowserIcon,j as getCountriesIcon,m as getCurrenciesIcon,g as getLightUrlIcon,q as getPaymentGatewaysIcon,p as getPaymentInitiatorIcon,i as getPaymentIssuersIcon,h as getPaymentMethodsIcon,k as getServiceFunctionIcon,l as getStatusIcon,Nl as gradientDeviceIcon,Ol as gradientSettings,Pl as gradientWallet,Ud as grayBrandIcon,Vd as grayCircleIcon,xi as grayCloseIcon,Db as grayFlagIcon,vj as grayProductLabel,Xc as grayUpArrowIcon,Jj as grayVerifyIcon,Ae as greenArrowLeftIcon,ze as greenArrowRightIcon,Be as greenArrowUpIcon,Fl as greenCheck2ACE00,ta as greenCheckIcon,Vf as greenCheckV2Icon,Kj as greenVerifyIcon,Rb as greenZigzagCheckIcon,Zf as greyAppleIcon,Qc as greyCheckIcon,Rc as greyCrossIcon,$f as greyDesktopIcon,fl as greyDownArrowIcon,$c as greyDropdownIcon,_f as greyLocationIcon,Bh as greyMinusIcon,Ah as greyPlusIcon,H as greyTimezoneIcon,el as greyUpArrowIcon,Pa as halfCircleIcon,Qa as halfCircleTransparentIcon,Ag as handCoinsWhiteIcon,sm as helpCircleIcon,mb as hideIcon,ec as hijriIcon,dk as homeIcon,Fk as iOSAppIcon,db as ibanIcon,qa as idIcon,fm as inActiveGreyIcon,gm as inActiveWhiteIcon,te as initialAcceptanceIcon,ve as initialPayoutsIcon,Ck as initiatedIcon,Pe as inprogressIcon,sl as insightsServiceIcon,Kh as intentCancelledStatusIcon,Ih as intentExpiredStatusIcon,Jh as intentInitiatedStatusIcon,Lh as intentTransactedStatusIcon,rl as intentsServiceIcon,Yn as intentsTableCellWidth,za as invoiceIcon,oa as invoiceIdIcon,Ca as invoiceNumberIcon,ml as invoiceServiceIcon,Zn as invoicesTableCellWidth,Wf as iosIcon,fn as issuerAttributesIcon,V as jaywanIcon,M as jordanFlagIcon,Xd as jsonBlackIcon,Wd as jsonIcon,Em as knetProviderIcon,O as kuwaitFlagIcon,Cj as lateFeeIcon2,Nf as layersIcon,df as leadAppIcon,ef as leadTitleIcon,Pf as leadWhiteIcon,_n as leadsTableCellWidth,N as lebanonFlagIcon,pg as lendingAppIcon,rg as lendingProviderAppIcon,qg as lendingWindowIcon,Dd as lightAppPlatformSubSegmentIcon,Ed as lightAuthenticationGatewaySubSegmentIcon,Fd as lightBillingPlatformSubSegmentIcon,xd as lightBusinessSegmentIcon,Gd as lightCommercePlatformSubSegmentIcon,Hd as lightCommercialRegulatorSubSegmentIcon,yd as lightDevelopmentSegmentIcon,zd as lightFinancialSegmentIcon,Ad as lightMasterOrchestratorSegmentIcon,Id as lightMerchantServiceProviderSubSegmentIcon,Jd as lightPaymentAcquirerSubSegmentIcon,Kd as lightPaymentFacilitatorSubSegmentIcon,Ld as lightPaymentGatewayProviderSubSegmentIcon,Md as lightPaymentIssuerSubSegmentIcon,Nd as lightPaymentMethodSubSegmentIcon,Od as lightPaymentProcessorSubSegmentIcon,Pd as lightPaymentSchemeSubSegmentIcon,Qd as lightPaymentTechnologySubSegmentIcon,Rd as lightPaymentTerminalProviderSubSegmentIcon,Bd as lightPlatformSegmentIcon,Cd as lightProviderSegmentIcon,Sd as lightRetailPlatformSubSegmentIcon,Td as lightRetailerSubSegmentIcon,a as lightUrl,dj as linkTiltedIcon,Bg as listIcon,si as listViewButtonIcon,Uh as loaderWhiteIcon,mn as loanAmountIcon,Ok as locationIcon,ek as lockIcon,mc as logOutIcon,Mh as longWordsIcon,Pb as macIcon,Rl as manyCurrencyCoin,Sl as manyCurrencyCoinGradient,Ub as marketPlaceBlackIcon,Tb as marketPlaceBlueIcon,Vb as marketPlaceDimmedIcon,Ra as maximizeIcon,Fm as meezaProviderIcon,en as merchantAttributesIcon,wb as merchantInitiatedIcon,jo as merchantsTableCellWidth,_b as messageIcon,ak as metaIcon,Sa as minimizeIcon,gj as minusIcon,xa as mobileIcon,Zb as moneyInDimmedIcon,Yb as moneyInIcon,Xb as moneyOutDimmedIcon,Wb as moneyOutIcon,yg as moonStarIcon,xg as mosqueBlackIcon,wg as mosqueIcon,nn as murabhaFinanceIcon,al as mutedOutlinedCheckIcon,Gm as nGenIusProviderIcon,Wk as navigationIcon,cl as navigationPointerBlack,Ef as newFileIcon,tj as newInvoiceIcon,sc as newReceiptIcon,jb as newWindowIcon,Fi as noAgreementIcon,Ch as noPreviewIcon,pe as notVerifiedIcon,hj as noteIcon,zj as noteIcon2,Hm as npgProviderIcon,Im as omanNetProviderIcon,ba as openBankingIcon,va as openDisputeIcon,Ab as openFlagIcon,fg as operaIcon,zb as orangeFlagIcon,mg as orchestrationAppIcon,mo as orchestrationRoutingTableCellWidth,lo as orchestrationTerminalsTableCellWidth,og as orchestrationWindowBg,ng as orchestrationWindowIcon,ff as orderAppIcon,$d as orderIcon,gf as orderWindowIcon,$n as ordersTableCellWidth,Gg as osAppIcon,Hg as osAppWindowIcon,El as outlinedCircle,bl as outlinedPlatformIcon,Va as outstandingIcon,Ya as paidNoBgIcon,_g as paidOutFilterIcon,pk as paidOutIcon,Ph as paidOutTableIcon,qf as paidStatusIcon,_ as passThruWalletIcon,if as passwordDotsIcon,ac as payStreamIcon,vn as payersIcon,Oe as paylinkAppIcon,Ne as paylinkWindowIcon,zc as payoutAppDisabledIcon,Cc as payoutDisabledRoundedIcon,Ac as payoutEnabledIcon,Bc as payoutGreenIcon,eb as payoutIcon,nl as payoutServiceIcon,Ki as payoutWindowIcon,Gc as payoutsAppIcon,xc as payoutsGreenIcon,ao as payoutsTableCellWidth,Jm as paypalProviderIcon,ij as pdfGrayIcon,Ze as pdfIcon,Oj as penIcon,cb as pendingFlag,$b as pendingIcon,Of as pendingOnTapIcon,Rh as pendingPayoutIcon,vf as pendingStatusIcon,Ym as percentIcon,La as percentage0Icon,Oa as percentage100Icon,Ma as percentage50Icon,Na as percentage75Icon,Gk as physicalLocationIcon,ai as pinIcon,Eg as platformAppIcon,Fg as platformWindowIcon,dn as playIcon,wj as plusQty,Km as postpayProviderIcon,nc as preferencesIcon,fi as previewModeIcon,jj as productLabel,Gf as progressFileIcon,Hc as protectAppIcon,bo as protectAuthorizationsTableCellWidth,zn as protectBlackIcon,co as protectChargesTableCellWidth,Kb as protectIcon,Li as protectWindowIcon,Lm as qPayProviderIcon,kj as quantityIcon,Dl as questionOutlinedCircle,nb as quitIcon,Bf as readyLeadStatusIcon,rc as receiptBillIcon,Vj as receiptIcon,fa as redArrowDownIcon,Qe as redCloseCircleIcon,We as redCloseIcon,Cb as redFlagIcon,Gj as redTrashBinIcon,Lj as redVerifyIcon,gn as refreshIcon,rk as refundInitiatedIcon,sk as refundSettledIcon,do as refundTableCellWidth,qk as refundedIcon,tk as refundedNotSettledIcon,wf as refundedStatusIcon,ol as refundsServiceIcon,Za as refunededNoBgIcon,fb as releasedFlag,kf as reloadIcon,me as remindedRedIcon,lj as removeAllItem,x as removeIcon,mj as removeItem,Vm as repeatIcon,cf as reportAppIcon,bf as reportAppsIcon,Wo as reportFilterTypesMap,_e as reportIcon,D as reportsIcon,$e as reportsIconOutlined,Qi as reportsWindowIcon,uk as restrictedIcon,tl as retailersServiceIcon,Vh as reverseActionIcon,la as reversePayoutIcon,Qh as reversePayoutTableIcon,y as reversedIcon,xb as rightArrow,Kk as rightLightArrowIcon,hn as riskAttributesIcon,pa as rowIdIcon,bg as safariIcon,Te as sandboxDefaultIcon,Se as sandboxHoveredIcon,Ue as sandboxOrangeIcon,L as saudiArabiaFlagIcon,$g as saveTokenIcon,J as savedCardIcon,tf as savedStatusIcon,Yj as savedTimezoneIcon,Yg as scheduledFilterIcon,uf as scheduledStatusIcon,Jk as searchBlueIcon,A as searchIcon,Nk as segmentDevelopmentHouseIcon,Lk as segmentInstitutionIcon,Mk as segmentTechnologyIcon,Qn as servicesTags,om as settingsIcon,vk as settledIcon,wk as settlementInitiatedIcon,xn as shareholdersIcon,Nh as sheetViewIcon,Wm as shieldIcon,Fe as shopifyBadgeIcon,qm as shoppingCartIcon,kg as slaProcessAppIcon,lg as slaProcessWindowIcon,Zj as smallBlueCheckIcon,Ik as smallLeftArrowIcon,ce as smsChannelIcon,nj as smsIcon,Hk as socialLinksIcon,_l as sortAscArrowIcon,Ea as sortAzIcon,Zl as sortDescArrowIcon,Yd as sortIcon,Fa as sortZaIcon,an as sparkIcon,Mm as spgProviderIcon,ic as spinnerLoadingAnimatedIcon,ni as spinnerLoadingBlueIcon,hc as spinnerLoadingIcon,ob as starIcon,_m as startConnectorIcon,Nm as stcPayProviderIcon,$ as storedValueWalletIcon,I as subscriptionIcon,Uj as successCheckIcon,Hf as successFileIcon,Ha as successWhiteBgIcon,ci as switcherIcon,Om as tabbyProviderIcon,oi as tableBackgroundLoader,pi as tableBlueArrowUpIcon,qi as tableBlueCheckMarkShadowedIcon,li as tableLoadingSpinnerIcon,mi as tableLoadingSpinnerWhiteIcon,ya as tabletIcon,Pm as tamaraProviderIcon,oj as taxIcon,yn as teamIcon,Jf as teamWindowIcon,f as templatesUrl,Pk as terminalAppIcon,Uk as terminalBrushIcon,Vk as terminalBrushMuted,Rk as terminalCardPhone,_k as terminalDeviceFrame,hm as terminalLinkVideo,ul as terminalServiceIcon,Tk as terminalTypeIcon,Qk as terminalWindowIcon,ko as terminalsTableCellWidth,on as testimonialIcon,Sj as threeDSIcon,na as threeDsIcon,xk as timedOutIcon,ke as timerBlueIcon,G as timezoneIcon,Sk as toastPOSIcon,pc as tokenAppIcon,ki as tokenCardIcon,ii as tokenExpiredStatusIcon,ji as tokenPendingStatusIcon,gi as tokenSavedStatusIcon,hi as tokenTransactedStatusIcon,Ri as tokensReportsIcon,eo as tokensTableCellWidth,Mi as tokensWindowIcon,$a as topUpIcon,fo as topupsTableCellWidth,pj as totalAmountIcon,Qm as tpayProviderIcon,Rm as tpgProviderIcon,ae as transactionIcon,oc as transformIcon,Fj as trashBinIcon,Zo as unAuthenticatedStatuses,B as unAuthorizedIcon,yk as unAvailableIcon,ib as unCapturedIcon,Pn as unCapturedStatuses,Lc as unCheckedIcon,ah as unauthenticatedIcon,qj as unfocusRemoveItem,U as unionPayIcon,Lb as unisoIcon,P as unitedArabEmiratesFlagIcon,S as unitedStatesFlagIcon,zk as unknownIcon,bi as unpinIcon,Me as uploadAppIcon,Re as uploadBlueIcon,Ke as uploadIcon,Le as uploadWindowIcon,jg as userIcon,Wj as userTimezoneIcon,Di as usersIcon,pl as usersServiceIcon,Ge as verifiedGreenBadgeIcon,qe as verifiedIcon,rm as verifyAvatarIcon,re as verifyReviewIcon,ei as verticalLineIcon,d as videosUrl,kb as viewAllIcon,C as viewIcon,Eh as viewInvoiceIcon,wl as viewLeadIcon,sf as viewedStatusIcon,ea as visaIcon,Ak as voidedIcon,Fc as walletAppIcon,ho as walletDetailsTableCellWidth,cc as walletIcon,ql as walletServiceIcon,io as walletStatementTableCellWidth,go as walletTableCellWidth,Hi as walletWindowIcon,Pc as warningInfoIcon,Dk as websiteBlueIcon,Yf as websiteIcon,de as whatsappChannelIcon,rj as whatsappIcon,sj as whiteArrow2,If as whiteArrowDownIcon,De as whiteArrowLeftIcon,Ce as whiteArrowRightIcon,mm as whiteCircleWithBlueCheckIcon,Sh as whiteCloseIcon,wi as whiteFilterIcon,Jb as whitePlusIcon,Mc as wifiOffIcon,Ui as windowBankIcon,Si as windowBrandIcon,Ti as windowEntityIcon,Vi as windowIndividualIcon,Wi as windowPasswordIcon,Wc as worldIcon,Xe as xlsIcon,Ga as zipFileIcon}from'./_chunks/chunk-EYLBXWXJ.js';export{m as ACCOUNT_APP_SETTINGS,l as ACCOUNT_SECTION,n as AppEvent,h as ChargeBreakDownType,f as CurrencyCodes,o as DISCOUNT_TYPE,b as LanguageMode,i as NewRelicEventType,k as NewRelicFeatureName,j as NewRelicFeatureType,c as RECURRENCE_TYPE,q as ReportStatusEnum,g as SEGMENT_CODE,d as SEND_INVOICE,e as SalesChannelTypes,p as StatusValue,a as ThemeMode}from'./_chunks/chunk-LS57WE6K.js';
|
package/build/utils/date.d.ts
CHANGED
|
@@ -1,34 +1,4 @@
|
|
|
1
1
|
import { Day } from '../types/index.js';
|
|
2
|
-
/** @deprecated Reads a fixed offset, so it cannot know the zone transitioned. Use `offsetMinutesAt(zone, at)` from `@datetime`. */
|
|
3
|
-
export declare const getUTCOffset: (offsetStr?: string | number) => number;
|
|
4
|
-
/**
|
|
5
|
-
* Number of hours → the wire string `UTC±HH:MM`.
|
|
6
|
-
*
|
|
7
|
-
* @deprecated A correct formatter, but its input is the legacy hour-offset model. Use
|
|
8
|
-
* `offsetLabelAt(zone, at)` so the token follows the zone's offset at the picked moment.
|
|
9
|
-
*/
|
|
10
|
-
export declare const formatUTCOffset: (offset?: number) => string;
|
|
11
|
-
/**
|
|
12
|
-
* Get the default date range for the calendar
|
|
13
|
-
* @param startDay - Number of days to subtract from today, default value is 6 days to get the date range of the last 7 days including today
|
|
14
|
-
* @returns - Array of two dates [startDate, endDate]
|
|
15
|
-
*
|
|
16
|
-
* @deprecated "Today" is the host's today. Use `lastNDays(days, zone)` from `@datetime`.
|
|
17
|
-
*/
|
|
18
|
-
export declare const getDefaultDateRange: (startDay?: number) => [Date, Date];
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated Reads `getTimezoneOffset()`, so the result shifts per machine, and throws
|
|
21
|
-
* a `RangeError` on a missing date. Use `toInstant(wallClock, zone)` from `@datetime`.
|
|
22
|
-
*/
|
|
23
|
-
export declare const getUTCTimestamp: (date: Date | string | number) => number;
|
|
24
|
-
export declare const getTimestampByTimezone: (date: Date | string | number | undefined | null, selectedTimezone?: string) => number | undefined;
|
|
25
|
-
/** @deprecated Applies a fixed hour offset, reading a zone-less value as host-local. Use `toInstant`. */
|
|
26
|
-
export declare const convertCalendarDateToUTC: (date: Date | string | number | undefined | null, hoursOffset?: number) => number | undefined;
|
|
27
|
-
export declare const convertUTCtoLocalDate: (date: number) => Date;
|
|
28
|
-
export declare const changeDateTimezone: (date: Date | string | number, { currentTimezone, targetTimezone }: {
|
|
29
|
-
currentTimezone?: string | number | undefined;
|
|
30
|
-
targetTimezone?: string | number | undefined;
|
|
31
|
-
}) => "" | Date;
|
|
32
2
|
export declare const generateDayList: (length?: number) => {
|
|
33
3
|
id: number;
|
|
34
4
|
label: number;
|
|
@@ -58,72 +28,11 @@ export declare const generateYearList: ({ length, startYear, direction }?: Gener
|
|
|
58
28
|
id: number;
|
|
59
29
|
label: number;
|
|
60
30
|
}[];
|
|
61
|
-
/** @deprecated Use `CalendarFormats` from `@datetime`. */
|
|
62
|
-
export type CalendarFormats = Partial<Record<'sameDay' | 'nextDay' | 'lastDay' | 'nextWeek' | 'lastWeek' | 'sameElse', string>>;
|
|
63
|
-
/**
|
|
64
|
-
* Formats a date using dayjs `calendar` ("Today, 3:00pm", "Mar 05, 2:00pm", ...).
|
|
65
|
-
*
|
|
66
|
-
* The date is treated as a real instant and displayed in `expectedTimezone`
|
|
67
|
-
* (falling back to `currentTimezone`). With no timezone the browser's local zone is used.
|
|
68
|
-
* "Today / Yesterday / Tomorrow" and the current-year check are evaluated in that same zone.
|
|
69
|
-
*
|
|
70
|
-
* @param dateObj - Date object, date string or timestamp
|
|
71
|
-
* @param customFormat - Overrides the default calendar formats
|
|
72
|
-
* @param currentTimezone - Fallback display offset (string like 'UTC+03:00' or hours as number)
|
|
73
|
-
* @param expectedTimezone - Display offset (string like 'UTC+03:00' or hours as number)
|
|
74
|
-
* @param showHours - Append the time (`h:mma`) to the output
|
|
75
|
-
* @returns - Formatted string, or '' for missing/invalid dates
|
|
76
|
-
*
|
|
77
|
-
* @deprecated Today/Yesterday are the host's, and the timezone is a fixed offset. Use
|
|
78
|
-
* `formatInZone(instant, zone, format)` from `@datetime`.
|
|
79
|
-
*/
|
|
80
|
-
export declare const formatCellDate: (dateObj?: Date | string | number | null, customFormat?: CalendarFormats, currentTimezone?: string | number, expectedTimezone?: string | number, showHours?: boolean) => string;
|
|
81
31
|
export declare const formatDate: (date: Date | string | number, format?: string) => string;
|
|
82
32
|
export declare const getValueOfEndOfDay: (date?: Date | number) => number;
|
|
83
33
|
export declare function formatSecondsAsTime(seconds: number): string;
|
|
84
34
|
type TimeUnit = 'seconds' | 'minutes' | 'hours' | 'days';
|
|
85
35
|
export declare function isWithinTimeAgo(timestampMs: number, amount: number, unit?: TimeUnit): boolean;
|
|
86
36
|
export declare const formatRelativeTimeWithinHour: (timestampMs: number) => string;
|
|
87
|
-
/**
|
|
88
|
-
* @deprecated Compares against the host's today. Use `toWallClock(instant, zone)` and
|
|
89
|
-
* compare the day there — there is no drop-in, the zone is the missing input.
|
|
90
|
-
*/
|
|
91
|
-
export declare const isTodayDate: (date: string | Date) => boolean;
|
|
92
|
-
/** @deprecated Same as `isTodayDate` — the host's today is the wrong reference. */
|
|
93
|
-
export declare const isYesterdayDate: (date: string | Date) => boolean;
|
|
94
|
-
/** @deprecated Use `generateYearList({ startYear: 1970 })` instead. */
|
|
95
|
-
export declare const generateBirthYearList: () => {
|
|
96
|
-
id: number;
|
|
97
|
-
label: number;
|
|
98
|
-
}[];
|
|
99
|
-
/** @deprecated Use `generateYearList({ length, direction: 'past' })` instead. */
|
|
100
|
-
export declare const generatePastYearList: (length?: number) => {
|
|
101
|
-
id: number;
|
|
102
|
-
label: number;
|
|
103
|
-
}[];
|
|
104
|
-
/**
|
|
105
|
-
* Converts a date into the given IANA timezone using dayjs-timezone.
|
|
106
|
-
*
|
|
107
|
-
* Returns a `Date` whose local wall-clock fields reflect the target timezone (useful
|
|
108
|
-
* for feeding back into date pickers), or `null` when the input is invalid.
|
|
109
|
-
*
|
|
110
|
-
* @param date - Date object, ISO string, or numeric timestamp
|
|
111
|
-
* @param timezone - IANA timezone string, e.g. `'Asia/Kuwait'`
|
|
112
|
-
* @returns `Date` in the target timezone, or `null` for invalid input.
|
|
113
|
-
*
|
|
114
|
-
* @deprecated Built on dayjs' timezone plugin, whose `.tz()` leaks the host offset and
|
|
115
|
-
* whose `startOf`/`endOf` drift across a transition. Use `toWallClock` from `@datetime`.
|
|
116
|
-
*/
|
|
117
|
-
export declare function formatInTimezone(date: Date | string | number | undefined, timezone: string): Date | null;
|
|
118
37
|
export declare function getOrderedWeekDays(startDay?: Day): string[];
|
|
119
|
-
/**
|
|
120
|
-
* Converts a date into a Unix timestamp in milliseconds.
|
|
121
|
-
*
|
|
122
|
-
* @param date - Date object, ISO date string, or numeric timestamp.
|
|
123
|
-
* @returns Unix timestamp in milliseconds, or undefined for missing or invalid dates.
|
|
124
|
-
*
|
|
125
|
-
* @deprecated Unreferenced. `toInstant` / `toInstantRange` from `@datetime` cover the same
|
|
126
|
-
* ground without reading a zone-less string as host-local.
|
|
127
|
-
*/
|
|
128
|
-
export declare const getTimestamp: (date?: Date | string | number | null) => number | undefined;
|
|
129
38
|
export {};
|
package/build/utils/index.d.ts
CHANGED
package/build/utils/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{Jb as DEFAULT_SKELETON_WIDTHS,zb as SELECTION_COLORS,Cb as alignToJustifyContent,Q as api,Ob as applyColumnFiltersGate,nb as areFilesEqual,jb as backendErrorHandler,ka as calculateMaxAllowedRows,va as capitalizeFirstLetter,za as capitalizeString,P as clearTapOsLocalStorage,Z as conversionTypesLabels,ea as convertToNumber,ua as copyText,_ as currencyConfig,bb as downloadFile,Ia as extractIdsFromRowData,Wa as filterShownColumns,ba as formatAmount,ca as formatAmountWithCurrency,aa as formatCurrencyWithInput,Rb as formatLogDate,Ca as generateChargeErrors,qb as generateReportLocalStorageKey,Kb as generateSkeletonColumns,ta as generateUniqueUUID,fb as getApiErrorMessage,S as getBrowserName,f as getBusinessSegmentConfig,B as getCalenderTimezone,C as getCalenderTimezoneHistory,Aa as getCardNumber,ja as getCellWidth,Xa as getColumnOrderFromViews,ia as getColumnWidthPercentage,Sb as getComponentId,da as getConversion,fa as getCountryNameByISO,Ub as getFieldFeedbackState,pb as getFileIconFromExtension,sa as getFirstChar,xb as getGeographyBoxColor,G as getGlobalTableModeStorage,R as getHeaders,kb as getIdentificationTypeList,yb as getLocalizedUnitLabel,t as getLoggedInUserActiveSegment,r as getLoggedInUserData,o as getLoggedInUserJwtToken,s as getLoggedInUserSegment,tb as getNameText,l as getNavigationData,h as getNonBusinessSegmentConfig,Ba as getPaymentMethodWithId,vb as getPaymentTypeKey,ab as getPhoneDetails,oa as getPossibleActionNavigationView,L as getPreviewStorage,Lb as getProcessedColumns,V as getRandomColor,W as getRandomGradientColor,x as getReportRecord,Bb as getRowSelectionBorderStyles,j as getSecretKey,e as getSegmentData,Ab as getSelectionStyles,J as getSheetViewColumnsStorage,sb as getTextByLang,Fb as getTimezoneByCountryCode,Gb as getTimezoneByTimezone,d as getUniqueListBy,U as getUserAgentDeviceType,ub as getUsername,N as getViewsSelectionStorage,cb as handleFileDownload,db as handleURLDownload,Nb as hasActiveColumnFilters,gb as hasError,Tb as hasFieldFeedbackMessage,X as hexa2Rgba,$ as intlCurrency,rb as isArabic,ob as isDuplicateFile,Ea as isEmptyValue,mb as isFile,la as isHeightNotFullyFilledByRows,u as isJwtTokenExpired,eb as isNetworkError,ib as isNotFoundError,ha as isOman,Ya as isParameterSelected,T as isSafariBrowser,wb as isSamePaymentSource,ga as isSaudiArabia,g as isSegmentActLikeBusinessSegment,ma as isTableDefaultMode,na as isTableSheetMode,Ga as isTapstersFrontend,hb as isTimeoutError,v as isUserLoggedInAndJwtTokenActive,pa as isValidString,Eb as joinClassNames,Za as mapDataToViews,_a as mapViewsToData,xa as maskValue,ra as matchOccurrence,Db as mergeSx,wa as percentageToNumber,lb as readableFileSize,Ha as removeAllCharsFromNumber,D as removeCalenderTimezone,E as removeCalenderTimezoneHistory,H as removeGlobalTableModeStorage,p as removeLoggedInUserJwtToken,m as removeNavigationData,qa as removePrefixFromString,M as removePreviewStorage,y as removeReportRecord,c as removeUndefinedArrayElements,Fa as removeUndefinedArrayValues,Da as removeUndefinedValues,Y as rgba2Hexa,Pb as sanitizeHtml,z as setCalenderTimezone,A as setCalenderTimezoneHistory,F as setGlobalTableModeStorage,q as setLoggedInUserData,n as setLoggedInUserJwtToken,k as setNavigationData,K as setPreviewStorage,w as setReportRecord,i as setSecretKey,I as setSheetViewColumnsStorage,O as setViewsSelectionStorage,b as sortByString,a as sortList,Qb as trackFeatureEvent,Hb as transformPaymentMethodsData,Ib as transformPaymentSchemesData,ya as transformStringToProperCase,$a as updateColumnSelection,Mb as updateViewsSelection}from'../_chunks/chunk-XBJ4RS2B.js';export{j as caretIndexAfterThousandFormat,n as formatDate,c as formatNumber,b as formatOrdinal,r as formatRelativeTimeWithinHour,p as formatSecondsAsTime,i as formatThousandSeparatedInput,k as generateDayList,l as generateMonthList,m as generateYearList,h as getAmountPlaceholder,s as getOrderedWeekDays,o as getValueOfEndOfDay,a as isValidNumber,q as isWithinTimeAgo,f as numberToString,g as pad,d as parseAmount,e as stringToNumber}from'../_chunks/chunk-TIPJC5YT.js';import'../_chunks/chunk-EYLBXWXJ.js';import'../_chunks/chunk-LS57WE6K.js';
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {g}from'./chunk-ISC5KT5E.js';import {j,L,f,e,p,B,R,V,x}from'./chunk-UHFL62LB.js';import {p as p$1}from'./chunk-O3ZTDKHA.js';import {b}from'./chunk-L4HCC6CP.js';import {Hb,Vb,na,mb,Ja as Ja$1,Db,Eb,Fb,jb,lb,kb,Ob,oa as oa$1,sa as sa$1,J,I}from'./chunk-7IPJF2Q5.js';import {c,a}from'./chunk-4HUVBNX2.js';import {oi as oi$1,ui as ui$1,ck,xb,wi as wi$1,Ta,Da,Ea,Fa,Th,Tn as Tn$1,bi as bi$1,ai as ai$1,xi as xi$1,A as A$1,F}from'./chunk-35FTGOAE.js';import $e,{memo,createContext,useContext,useRef,useCallback,useEffect,useState,useMemo,useId,createElement,Fragment as Fragment$1}from'react';import {styled,alpha,useTheme}from'@mui/material/styles';import Gs from'memoize-one';import Ys from'react-virtualized-auto-sizer';import Js from'react-window-infinite-loader';import {useTranslation}from'react-i18next';import Te from'@mui/material/Box';import {jsxs,Fragment,jsx}from'react/jsx-runtime';import Na from'@mui/material/Popper';import ka from'@mui/material/InputAdornment';import va from'lodash/values';import bn from'@mui/material/Button';import {styled as styled$1,Box,TableCell,Button}from'@mui/material';import Wl from'@mui/material/TableRow';import {motion}from'framer-motion';import {VariableSizeList,areEqual}from'react-window';import Al from'@mui/material/TableHead';import ls from'lodash/uniqueId';import Zl from'@mui/material/Skeleton';import es from'@mui/material/TableCell';import {createPortal}from'react-dom';var mo="37px",an=styled(Te,{shouldForwardProp:e=>e!=="showBackDrop"&&e!=="areTotalRowsNotFillingHeight"&&e!=="sandboxMode"&&e!=="maximized"})(({theme:e,showBackDrop:t,areTotalRowsNotFillingHeight:o,sandboxMode:r,maximized:n})=>({minHeight:mo,...!n&&{borderBottomLeftRadius:e.spacing(1.5),borderBottomRightRadius:e.spacing(1.5)},display:"flex",alignItems:"center",border:"none",justifyContent:"space-between",padding:"6px 32px",background:r?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",boxShadow:t?e.shadows[24]:"none",borderTop:o?`1px outset ${e.palette.grey[800]}`:"none",width:"100%",marginTop:"auto",flexShrink:0,cursor:"move"})),ln=styled("div")(({theme:e})=>({position:"absolute",top:0,left:0,right:0,height:"1.5px",backgroundColor:e.palette.grey[300],boxShadow:`inset 0 1px 0 0 ${e.palette.grey[300]}`})),uo=styled(Te)(({theme:e})=>({borderRadius:"37.5px",border:"0.75px solid rgba(242, 242, 242, 0.70)",backgroundColor:e.palette.common.white,opacity:1,paddingInline:e.spacing(1),display:"flex",alignItems:"center",height:24,gap:"7px",maxWidth:"max-content"})),co=styled(j)(()=>({fontSize:"9px",fontWeight:400,lineHeight:"10.8px"})),fo=styled(j)(()=>({fontSize:"10.5px",fontWeight:700,lineHeight:"12.6px"}));styled(Te)(()=>({display:"flex",gap:"3px",alignItems:"center"}));styled(Te)(()=>({display:"flex",gap:"6px"}));styled("span")(()=>({fontWeight:400}));function Ia({totalCount:e,showBackDrop:t=false,showSeparator:o,sandboxMode:r,maximized:n,selectedCount:a,className:l,...s}){let{t:i}=useTranslation();return jsxs(an,{component:"footer","data-testid":"TableFooter",maximized:n??false,sandboxMode:r,showBackDrop:t,areTotalRowsNotFillingHeight:!!o,...s,className:Hb(g,l),children:[o&&jsx(ln,{}),a?jsxs(uo,{sx:{gap:"6px",cursor:"text"},children:[jsx(co,{children:i("selected")}),jsx(fo,{children:c(a)})]}):null,e||e===0?jsxs(uo,{sx:{gap:"6px",cursor:"text"},children:[jsx(co,{children:i("count")}),jsx(fo,{children:c(e||0)})]}):null]})}var He=$e.memo(Ia);var Tt="188px";var sn=e=>({backgroundColor:e.palette.common.white,borderRadius:"4px",filter:"drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.16))",width:Tt,marginTop:"10px",boxShadow:e.shadows[3]}),dn=styled(Te)(({theme:e})=>({color:e.palette.grey[700],fontSize:"11px",fontWeight:500,padding:"8px 16px",textAlign:"left",borderBottom:`1px solid ${e.palette.divider}`})),pn=styled(L)(({theme:e})=>({border:`1px solid ${e.palette.divider}`,".icon":{width:14}})),mn=styled(Te)(()=>({padding:"8px 16px","> div + div":{marginTop:"8px"}})),un=styled(bn)(({theme:e})=>({color:e.palette.info.dark,fontSize:"11px",textTransform:"capitalize",padding:"4px 9px",minWidth:"auto","&:hover":{background:"transparent"}})),cn=styled(Te)(({theme:e})=>({padding:"0 16px 8px",textAlign:"left",borderBottom:`1px solid ${e.palette.divider}`}));var hn=styled(Te)(({theme:e})=>({background:e.palette.grey[700],width:27,height:14,display:"inline-flex",alignItems:"center",marginInlineStart:"4px",borderRadius:"10px",padding:"2px 6px",img:{cursor:"pointer"}})),It=styled(Te)(()=>({padding:"8px 16px",display:"flex",gap:"8px",justifyContent:"center"})),Rt=styled(bn)(({theme:e})=>({textTransform:"capitalize",minWidth:"auto",width:"100%",borderRadius:"4px",border:`1px solid ${e.palette.info.dark}`,backgroundColor:e.palette.info.dark,fontWeight:700,fontSize:"11px",color:e.palette.common.white,"&:hover":{backgroundColor:e.palette.info.dark}})),Pt=styled(bn)(({theme:e})=>({textTransform:"capitalize",minWidth:"auto",width:"100%",borderRadius:"4px",border:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.common.white,fontWeight:500,fontSize:"11px",color:e.palette.text.primary,"&:hover":{background:"transparent"}}));function Wa({onCloseDropdown:e,filter:{options:t=[],onConfirm:o,data:r,isOnlyOneFilter:n,onClearFilterFields:a,wrapperSx:l,sx:s}}){let[i,p]=useState({});useEffect(()=>{p((t||[]).reduce((T,{apiKey:C})=>({...T,[C]:r?.[C]??""}),{}));},[]);let{t:d}=useTranslation(),u=()=>{o?.(i);},f=p$1(u,e),w=T=>{u(),e(T);},m=T=>{e(T);},h=()=>{a?.(),p(t.reduce((T,{apiKey:C})=>({...T,[C]:""}),{}));},b=T=>i[T]!==void 0&&i[T].length>0,y=T=>i[T]!==void 0&&i[T].length?i[T]:"",c=T=>{b(T)&&p({...i,[T]:""});},g=useMemo(()=>va(i).some(T=>!!T),[i]),x$1=useCallback(T=>t.find(C=>C.apiKey===T),[t]),S=useCallback((T,C)=>{let P=i?.[T]!==void 0&&i?.[T]!==""&&i?.[T]!==null,V=Object.entries(i).some(([I,k])=>!!k&&(x$1(I)?.filterGroup!==C||!C));return n&&!P&&V},[t,i,n]);return jsxs(Te,{component:"article","data-testid":"ColumnFilterInputs",sx:T=>({...sn(T),...Object.assign({},...[s].flat().filter(C=>C&&typeof C=="object"))}),onKeyDown:f,children:[jsx(dn,{component:"header","data-testid":"ColumnFilterInputs_title",children:d("filterBy")}),jsx(mn,{"data-testid":"ColumnFilterInputs_inputs",component:"main",sx:l,children:t.map(({placeholder:T,apiKey:C,isDisabled:P,filterGroup:V,render:I})=>jsx(Fragment$1,{children:I?I():jsx(pn,{className:"input","data-testid":"ColumnFilterInputs_InputStyled",name:C,placeholder:T,onChange:k=>{p({...i,[C]:k.target.value});},disabled:P||S(C,V),value:y(C),inputProps:{autoComplete:"off","data-testid":"ColumnFilterInputs_input"},endAdornment:jsx(ka,{position:"end",children:jsx(Te,{component:"img","data-testid":"ColumnFilterInputs_icon","data-icon":b(C)?"close":"search",src:b(C)?xi$1:A$1,alt:"search",className:"icon",sx:{cursor:b(C)?"pointer":"default"},onClick:()=>{c(C);}})})})},C))}),jsx(x,{in:g,component:"section","data-testid":"ColumnFilterInputs_Collapse",sx:{borderTop:"0"},children:jsx(cn,{"data-testid":"ColumnFilterInputs_ClearWrapper",children:jsx(un,{type:"button",onClick:h,"data-testid":"ColumnFilterInputs_ClearButton",children:d("clear")})})}),jsxs(It,{component:"footer","data-testid":"ColumnFilterInputs_footer",children:[jsx(Pt,{type:"button",onClick:m,"data-testid":"ColumnFilterInputs_CancelButton",children:d("cancel")}),jsx(Rt,{type:"button",onClick:w,"data-testid":"ColumnFilterInputs_OkayButton",children:d("okay")})]})]})}var Sn=Wa;var Et=Sn;var yn=styled$1(j)(({theme:e})=>({fontWeight:e.v2.typography.fontWeightMedium,fontSize:"0.6875rem",color:e.v2.palette.grey[500],paddingInlineStart:e.v2.spacing(16),paddingTop:e.v2.spacing(8),paddingBottom:e.v2.spacing(8),paddingInlineEnd:e.v2.spacing(8)})),Tn=styled$1(Box,{shouldForwardProp:e=>e!=="disabled"})(({theme:e,disabled:t})=>({fontWeight:e.typography.fontWeightMedium,padding:e.spacing(1),position:"relative",display:"flex",alignItems:"center",textTransform:"capitalize",cursor:t?"not-allowed":"pointer",flex:1,zIndex:99999,".MuiButtonBase-root":{width:"16px",marginInlineEnd:"4px"}})),wn=styled$1(Box)(({theme:e})=>({borderRadius:e.spacing(.5),background:e.palette.background.default,width:"max-content",cursor:"pointer",zIndex:99999,boxShadow:e.shadows[11],display:"flex",flexDirection:"column",".nested-menu-item + .nested-menu-item":{borderTop:`1px solid ${e.palette.divider}`,zIndex:99999},".nested-menu-item:hover":{transition:e.transitions.create(["boxShadow","border"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.complex}),boxShadow:e.shadows[6],border:"none",position:"relative"}})),In=styled$1(Box)(({theme:e})=>({...e.typography.subtitle1,color:e.palette.text.primary})),Rn=styled$1(f)(()=>({padding:0,paddingRight:"4px",".MuiSvgIcon-root":{width:12,height:12}})),Pn=styled$1(Box)(()=>({display:"flex",gap:"4px",alignItems:"center",flexGrow:1,minWidth:0,overflow:"hidden"})),En=styled$1(Box)(()=>({display:"flex",gap:"12px",justifyContent:"space-between",flexGrow:1,alignItems:"center",minWidth:0,overflow:"hidden"})),Vn=styled$1(Box)(({theme:e})=>({borderRadius:"50%",background:e.palette.divider,width:13,height:14,fontSize:"8px",fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",lineHeight:"10px"})),Ln=styled$1(Box)(()=>({display:"flex",alignItems:"center",gap:"8px",flexShrink:0,position:"relative",left:4})),kn=styled$1(Box)(()=>({flex:"1 0 auto"})),vn=styled$1(Box)(()=>({position:"relative",zIndex:999999}));function Mn(e){return e.scrollWidth-e.clientWidth>1}function Ba({children:e}){let t=useRef(null),[o,r]=useState(false);return jsx(p,{arrow:true,placement:"top",title:e,open:o,onOpen:()=>{let n=t.current;n&&Mn(n)&&r(true);},onClose:()=>r(false),componentsProps:{tooltip:{sx:{maxWidth:280,whiteSpace:"normal",wordBreak:"break-word"}}},wrapperProps:{sx:{flex:1,minWidth:0,display:"block",overflow:"hidden"}},children:jsx(In,{ref:t,sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e})})}var Fn=memo(Ba);function Oa({label:e,icon:t,name:o,menuItems:r,setSelected:n,onSelect:a,selected:l,displayChildrenCount:s,disabled:i,placement:p="right",sx:d,menuSx:u}){let[f,w]=useState(null),m=useRef(null),[h,b]=useState(false),y=c=>{!i&&l!==void 0&&(n({name:c,selected:!l}),l||b(false));};return useEffect(()=>{b(!!(r?.some(c=>c.selected)&&!r?.every(c=>c.selected)));},[]),jsxs(Tn,{"data-testid":"NestedMenu_MenuItem",ref:m,className:`nested-menu-item ${f?"active":""} ${i?"disabled":""}`,onMouseEnter:c=>{!f&&r?.length&&w(c.currentTarget);},onMouseLeave:()=>{f&&w(null);},onClick:c=>{i||(c.stopPropagation(),y(o));},sx:{...r?.length&&{cursor:i?"not-allowed":"pointer"},zIndex:99999,...d},disabled:i,children:[l!==void 0&&jsx(Rn,{size:"small",indeterminate:h,checked:l,disabled:i}),jsxs(Pn,{children:[t&&t,jsxs(En,{children:[e&&jsx(Fn,{children:e}),!!r?.length&&jsxs(Ln,{children:[s&&jsx(Vn,{children:r.length}),jsx("img",{src:xb,className:"arrow-icon",alt:"arrow",style:{height:12}})]})]})]}),r?.length&&jsx(Na,{open:!!(f&&r?.length),anchorEl:f,placement:p==="left"?"left-start":"right-start",sx:{zIndex:99999,...u},children:jsx(Lt,{className:"child-nested-menu",menuItems:r,placement:p,sx:u,onChildrenChange:c=>{let g=c.every(x=>x.selected);l!==void 0&&!i&&(g&&n({name:o,selected:true}),c.every(x=>!x.selected)&&n({name:o,selected:false}),b(c?.some(x=>x.selected)&&!c.every(x=>!x.selected)&&!g));},onSelect:c=>{a(c,o);}})})]})}var Hn=memo(Oa);function Ua({title:e,menuItems:t,onChildrenChange:o,onSelect:r,className:n,updatedList:a,footer:l,header:s,placement:i="right",...p}){let[d,u]=useState({name:"",selected:false}),[f,w]=useState();return useEffect(()=>{w(t);},[t]),useEffect(()=>{if(d.name){let{name:m,selected:h}=d,b=[],y=x=>x?.map(S=>(b.push({name:S.name,selected:h}),{...S,selected:h,...S.menuItems?.length&&{menuItems:y(S.menuItems)}})),g=(x=>x.map(S=>S.name===m?(b.push({name:S.name,selected:h}),{...S,selected:h,...S.menuItems?.length&&{menuItems:y(S.menuItems)}}):S))(f);w(g),a&&a(g),o&&o(g),r&&r(b);}},[d]),jsxs(wn,{component:"article",className:`tap-dropdown ${n||""}`,...p,children:[jsx(vn,{children:e&&jsx(yn,{component:"p",children:e})}),s,jsx(kn,{children:f?.map((m,h)=>jsx(Hn,{setSelected:({name:b,selected:y})=>{u({name:b,selected:y});},onSelect:b=>{r&&r(b);},placement:i,...m},`${m.name}-${h}`))}),l&&l]})}var Lt=memo(Ua);var _n=(e,{menuItemSx:t,menuSx:o})=>(e.forEach(r=>{r.sx={...t,...r.sx},r.menuSx={...o,...r.menuSx},r.menuItems?.length&&_n(r.menuItems,{menuItemSx:t,menuSx:o});}),e);function Ja({title:e,menuItems:t,onSelect:o,updatedList:r,header:n,placement:a="right",menuItemSx:l={},menuSx:s={},...i}){let p=useMemo(()=>_n(t,{menuItemSx:l,menuSx:s}),[t,l,s]),[d,u]=useState(p),f=Vb(useId(),"nested-menu");useEffect(()=>{u(p);},[p]);let w=m=>{let h=y=>y.map(c=>({...c,selected:m.find(g=>c.name===g.name)?.selected??c.selected,...c.menuItems?.length&&{menuItems:h(c.menuItems)}})),b=h(d);u(b),r&&r(b);};return jsx(Lt,{id:f,"data-testid":"NestedMenu",placement:a,menuItems:d,title:e,header:n,onSelect:m=>{o&&o(m),w(m);},...i})}var An=memo(Ja);var Nn=An;function nl({onCloseDropdown:e,filter:t,styles:o,header:r,searchable:n}){let[a,l]=useState([]),{t:s}=useTranslation(),i=useRef([]),p=t?.options?.map(c=>c.value).join(",")??"";useEffect(()=>{let c=x=>{let S=t?.data?.[t.apiKey]??[];if(Array.isArray(S)&&S.length)return new Set(S).has(x)},g=x=>x.map(({placeholder:S,value:R,isSelected:T,icon:C,options:P})=>{let V;if(n){let I=i.current.find(k=>k.apiKey===R);V=I!==void 0?I.isSelected??false:(T||c(R)||P?.every(({value:k})=>c(k)))??false;}else V=(T||c(R)||P?.every(({value:I})=>c(I)))??false;return {...S&&{label:S},name:R,selected:V,...C&&{icon:C},...P?.length&&{menuItems:g(P)}}});t.options&&l(g(t.options));},[t?.data,p,n]);let d=()=>{i.current=[];},u=c=>{d(),e(c);},f=()=>{if(n){let c=new Set(t?.data?.[t.apiKey]??[]);i.current.forEach(({apiKey:g,options:x,isSelected:S})=>{x?x.forEach(({apiKey:R,isSelected:T})=>{T?c.add(R):c.delete(R);}):S?c.add(g):c.delete(g);}),t?.onConfirm?.({[t.apiKey]:[...c]});}else {let c=i.current.reduce((g,{options:x,apiKey:S,isSelected:R})=>{if(x){let T=x.filter(({isSelected:C})=>C);T.length&&g.push(...T.map(({apiKey:C})=>C));}else R&&g.push(S);return g},[]);i.current.length&&t?.onConfirm?.({[t.apiKey]:[...new Set(c)]});}d();},w=p$1(f,e),m=c=>{f(),e(c);},h=c=>{let g=S=>S.map(({name:R,selected:T,menuItems:C,label:P})=>({...P&&{placeholder:P},apiKey:R,isSelected:T,...C?.length&&{options:g(C)}})),x=g(c);if(n){let S=new Set(x.map(R=>R.apiKey));i.current=[...i.current.filter(R=>!S.has(R.apiKey)),...x];}else i.current=x;},b=o?.maxWidth??Tt,y={maxWidth:b,width:`min(${b}, max-content)`};return jsx(Nn,{"data-testid":"ColumnFilter_List",title:s("filterBy")||"Filter by",menuItems:a,style:o,menuSx:y,sx:[c=>({...y,marginTop:"10px",textAlign:"left",boxShadow:c.shadows[3],overflow:"hidden",".nested-menu-item":{height:41,zIndex:9999}}),...(Array.isArray(t.sx)?t.sx:[t.sx]).filter(Boolean)],updatedList:h,header:r,onKeyDown:w,footer:jsxs(It,{sx:{position:"sticky",bottom:0,zIndex:99999},children:[jsx(Pt,{onClick:u,children:s("cancel")},"nested-dropdown-cancel"),jsx(Rt,{onClick:m,children:s("okay")},"nested-dropdown-ok")]})})}var On=memo(nl);var vt=On;function pl(e){let{anchorEl:t,setAnchorEl:o,onClose:r,isFilterApplied:n,disabled:a}=e,l=u=>{u.stopPropagation(),o(null),r?.(u);},s=useRef(null),i=!!t;useEffect(()=>{i&&requestAnimationFrame(()=>s.current?.focus());},[i]);let p=useMemo(()=>e.type==="list"?[e.apiKey]:(e?.options||[])?.map(({apiKey:u})=>u),[e]),d=useMemo(()=>{if(e.type==="list")return jsx(vt,{onCloseDropdown:l,filter:e});if(e.type==="inputs")return jsx(Et,{onCloseDropdown:l,filter:e});if(e.type==="custom"){let u={anchorEl:t,setAnchorEl:o,onCloseDropdown:l};return e.render(u)}return null},[i,e,l]);return jsxs(Fragment,{children:[n?jsxs(hn,{children:[jsx(Te,{component:"img","data-testid":"ColumnFilter_whiteFilterIcon",src:wi$1,alt:"filter-icon",sx:{marginInlineEnd:"2px",height:6}}),jsx(Te,{component:"img","data-testid":"ColumnFilter_closeIcon",src:Ta,alt:"close-icon",onClick:u=>{u.stopPropagation(),o(null),e.onClear(p);}})]}):jsx(Te,{component:"img","data-testid":"ColumnFilter_columnIcon",src:Da,alt:"column-icon",sx:{marginTop:"2px",userSelect:"none",opacity:a?.5:1}}),i&&jsx(B,{onClick:l}),jsx(Na,{open:i,anchorEl:t,placement:"bottom-start",children:jsx("div",{ref:s,tabIndex:-1,style:{outline:"none"},onClick:u=>u.stopPropagation(),children:d})})]})}var Xn=memo(pl);var Qe=Xn;var Co=styled("img")(()=>({width:"13.3px",height:"13.3px"})),jn=styled("img")(()=>({width:"8px",height:"6.4px",cursor:"pointer"}));function fl({onColumnSort:e,columnsSorting:t,columnId:o,onClick:r}){let[n,a]=useState(null),l=!!n,s=d=>{d.stopPropagation(),a(d.currentTarget),r?.(d);},i=d=>{d.stopPropagation(),a(null),r?.(d);},p=(d,u,f)=>{d&&(e?.({[d]:u}),i(f));};return jsxs(Fragment,{children:[jsx(jn,{onClick:s,src:Da,alt:"column-icon","data-id":o,sx:{userSelect:"none",marginTop:"2px"}}),l&&jsx(B,{onClick:i}),jsxs(R,{anchorEl:n,open:l,children:[jsxs(V,{isSelected:t?.[n?.dataset.id||""]==="asc",onClick:d=>{p(n?.dataset.id,"asc",d);},sx:d=>({...t?.[n?.dataset.id||""]==="asc"&&{boxShadow:d.shadows[10]}}),children:[jsx(Co,{src:Ea,alt:"sort-icon"}),jsx(j,{sx:{fontSize:"0.6875rem"},children:"Sort A-Z"})]}),jsxs(V,{isSelected:t?.[n?.dataset.id||""]==="desc",onClick:d=>{p(n?.dataset.id,"desc",d);},sx:d=>({...t?.[n?.dataset.id||""]==="desc"&&{boxShadow:d.shadows[10]}}),children:[jsx(Co,{src:Fa,alt:"sort-icon"}),jsx(j,{sx:{fontSize:"0.6875rem"},children:"Sort Z-A"})]})]})]})}var qn=memo(fl);var Wt=qn;var Yn=$e.forwardRef(({children:e,...t},o)=>jsxs(Fragment,{children:[jsx(Te,{"data-testid":"VirtualScrollInner",className:"VirtualScrollInner",style:{position:"sticky",top:0},children:e}),jsx("div",{ref:o,...t})]}));Yn.displayName="VirtualScrollInner";var So=Yn;var Ft=createContext(null);var yo=({children:e,value:t})=>jsx(Ft.Provider,{value:t,children:e});var Jn=$e.forwardRef(({onScroll:e,children:t,...o},r)=>{let n=useContext(Ft);return jsx("div",{className:"VirtualScrollOuter",onScroll:n,ref:r,...o,children:t})});Jn.displayName="VirtualScrollOuter";var To=Jn;function El({setBackdropVisibility:e,clearBackdropVisibilityTimeout:t}){let o=useRef(void 0);return useEffect(()=>()=>{clearTimeout(o.current);},[]),{handleBackDropVisibility:()=>{e(true);},clearBackdropVisibility:()=>{o.current=setTimeout(()=>{e(false);},t||2e3);},clearTimer:()=>{clearTimeout(o.current);}}}var Zn=El;var vl=$e.forwardRef(({itemData:e,children:t,setBackdropVisibility:o,scrollToIndex:r,listRef:n,onScroll:a,clearBackdropVisibilityTimeout:l,...s},i)=>{let{handleBackDropVisibility:p,clearBackdropVisibility:d,clearTimer:u}=Zn({setBackdropVisibility:o,clearBackdropVisibilityTimeout:l}),f=useRef(0),w=useRef(void 0),m=useRef(false),h=useRef(null),b=i||n||h,y=useCallback(()=>(u(),w.current!==void 0&&b.current?(m.current=false,f.current=w.current,w.current=void 0,p(),b.current?.scrollTo?.(f.current),true):(d(),false)),[d,u,p,b]),c=$e.useCallback(S=>{w.current=S.currentTarget.scrollTop,m.current||(m.current=true,y());},[y]);useEffect(()=>{(r||0)>=0&&!Number.isNaN(r)&&r!==void 0&&b.current?.scrollTo&&b.current?.scrollToItem(r,"center");},[r,b]);let g=$e.useMemo(()=>({...e,renderedScrollTopRef:f}),[e]),x=$e.useCallback(S=>{a?.(S),m.current=y();},[y,a]);return jsx(yo,{value:c,children:jsx(VariableSizeList,{ref:b,"data-testid":"VirtualScrollList",itemData:g,outerElementType:To,innerElementType:So,...s,onScroll:x,children:t})})}),wo=vl;var A=styled(Te,{shouldForwardProp:e=>!["showNoDataView","compact","fixedHeight"].includes(e)})(({showNoDataView:e,compact:t,fixedHeight:o})=>({display:"flex",flexDirection:"column",height:o?`${o}px`:t?"auto":"100%",width:"100%",minWidth:e?"unset":"fit-content",overflow:"hidden",overflowX:e?"hidden":"auto",margin:"0px",...t&&{flex:"0 0 auto"}})),be=styled(Te,{shouldForwardProp:e=>e!=="hidePadding"})(({theme:e,hidePadding:t})=>({flex:"1 1 auto",backgroundColor:e.palette.grey[300],paddingBottom:t?0:mo})),_e=styled(Te)(({theme:e})=>({backgroundColor:e.palette.background.default})),we=styled(TableCell,{shouldForwardProp:e=>!["isLast","isFirst","isSheetView","isSelected","$hasFilter","$isFilterDisabled"].includes(e)})(({theme:e,isLast:t,isFirst:o,isSheetView:r,$hasFilter:n,$isFilterDisabled:a})=>({paddingBlock:"0",paddingInline:"0.3875rem !important",paddingLeft:o?"0 !important":"0.3875rem !important",paddingRight:t?"0 !important":"0.3875rem !important",color:r?e.palette.text.primary:e.palette.grey[700],fontSize:r?e.typography.subtitle1.fontSize:e.typography.caption.fontSize,height:"100%",fontWeight:r?400:e.typography.fontWeightRegular,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"flex",alignItems:"center",...n&&{cursor:"pointer"},...a&&{cursor:"not-allowed"},...r&&{borderRight:t?"1px solid transparent":`1px solid ${e.palette.divider}`,paddingInline:"8px !important",paddingLeft:"8px !important",paddingRight:"8px !important",position:"relative",borderTop:"1px solid transparent",borderLeft:"1px solid transparent",overflow:"hidden !important","&:before":{content:'""',borderRight:t?"none":"1px solid transparent",position:"absolute",top:0,right:0,left:0,bottom:0,pointerEvents:"none"}}})),Bt=styled("button",{shouldForwardProp:e=>!["$hasFilter"].includes(e)})(({theme:e,$hasFilter:t,disabled:o})=>({zIndex:1,display:"flex",gap:e.spacing(.5),alignItems:"center",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap",backgroundColor:"transparent",border:"none",...t&&{cursor:"pointer"},...o&&{cursor:"not-allowed"},padding:0,margin:0,color:"inherit",fontSize:"inherit",fontWeight:"inherit",boxSizing:"border-box",":disabled":{cursor:"not-allowed"}})),Ae=styled(wo,{shouldForwardProp:e=>!["areTotalRowsNotFillingHeight","isSheetView"].includes(e)})(({theme:e,areTotalRowsNotFillingHeight:t,isSheetView:o})=>({backgroundColor:t?"transparent":"#F6F8FACC",...o&&{backgroundColor:e.palette.common.white}})),zt=styled(Wl,{shouldForwardProp:e=>!["showShadowHighlight","showLoadedStyle","isSheetView","isSelected","isChecked","adjacentBelow","adjacentAbove"].includes(e)})(({theme:e$1,showShadowHighlight:t,showLoadedStyle:o,isSheetView:r,isChecked:n,adjacentBelow:a,adjacentAbove:l})=>({display:"flex",borderBottom:`1px solid ${e$1?.palette.divider}`,position:"relative",height:"100%",width:"100%",...!r&&{paddingInline:"32px",...a&&{borderBottom:"none",clipPath:"inset(-20px -20px 0px -20px)","&::before":{content:'""',position:"absolute",bottom:0,left:"32px",right:"32px",height:"1px",backgroundColor:e$1.palette.divider,zIndex:1}},...l&&{clipPath:"inset(0px -20px -20px -20px)"},...a&&l&&{clipPath:"inset(0px -20px 0px -20px)"},"&:hover":{boxShadow:e$1.shadows[12],zIndex:1,[`.${e.root}`]:{visibility:"visible"},".payment-sources-container":{backgroundColor:e$1?.palette.common.white},".geography-box":{visibility:"visible"},".payout-status":{visibility:"visible !important"},"&:hover:after":{opacity:1}},"&::after":{content:"''",opacity:0,minHeight:"100%",background:e$1.palette.info.dark,width:"3px",position:"absolute",left:0},...n&&{boxShadow:e$1.shadows[12],zIndex:1,"&:after":{opacity:1},[`.${e.root}`]:{visibility:"visible"}},...o&&{backgroundColor:`${e$1.palette.info.dark}08 !important`},...t&&{boxShadow:e$1.shadows[12],zIndex:1,"&::after":{content:"''",opacity:1,minHeight:"100%",background:e$1.palette.info.dark,width:"3px",position:"absolute",left:0}}}})),te=styled(Te,{shouldForwardProp:e=>e!=="showNoDataView"&&e!=="scrollable"})(({theme:e,showNoDataView:t,scrollable:o})=>({position:"relative",backgroundColor:e.palette.background.default,height:"100%",overflowX:t?"hidden":"auto",display:"flex",flexDirection:"column","&:hover":{scrollbarWidth:o?"auto":"none"},"&::-webkit-scrollbar":{display:"block",height:"13px"},"&::-webkit-scrollbar-track":{background:"white",border:"1px solid #F2F2F2"},"&::-webkit-scrollbar-thumb":{backgroundColor:"#DADCDF",borderRadius:"32px",border:"3px solid transparent",backgroundClip:"content-box",minHeight:"20px"}})),Io=styled(motion.img)(()=>({width:"24px",height:"24px",position:"relative",zIndex:2})),_t=styled(Te)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%"})),ei=styled(Te)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:"28px",borderRadius:"8px",marginBottom:"16px !important",overflowY:"hidden"})),ti=styled(Te,{shouldForwardProp:e=>e!=="showNoDataView"})(({showNoDataView:e})=>({position:"relative",height:"100%",overflowX:e?"hidden":"auto",paddingBottom:0,display:"flex",flexDirection:"column"})),At=styled(f,{shouldForwardProp:e=>!["isRow"].includes(e)})(({isRow:e})=>({position:"absolute",left:"12px",top:"50%",transform:"translateY(-50%)",padding:0,...e&&{visibility:"hidden"}}));var Dl=e=>{let{filter:t,totalCount:o,isFilterEnabled:r}=e,n=useMemo(()=>t?.options?.reduce((i,{apiKey:p})=>({...i,[p]:t?.data?.[p]}),{})||{},[t]),a=useMemo(()=>{let i=t,p=i?.data?.[i.apiKey];return Array.isArray(p)?p:[]},[t]),l=useMemo(()=>Object.values(n||{}).some(i=>typeof i=="string"||Array.isArray(i)?i.length>0:i!=null)||a.length>0,[n,a]);return {isFilterApplied:l,filterDisabled:!l&&o===0&&!r}},et=Dl;function oi({column:{header:e,id:t,align:o,headerStyle:r,sortable:n,filter:a,width:l,order:s},isFirst:i,isLast:p,isSheetView:d,onColumnSort:u,columnsSorting:f,totalCount:w,isFilterEnabled:m}){let[h,b]=useState(null),y=useRef(null),c=!!a,{isFilterApplied:g,filterDisabled:x}=et({filter:a,totalCount:w,isFilterEnabled:m});return jsx(we,{"data-id":t,component:"div","data-testid":"VirtualTable_TableHeader_StyledCell","data-column-id":t,"data-column-width":l,"data-column-width-used":l,"data-column-align":o,"data-column-order":s,"data-column-header":typeof e=="string"?e:"component","data-column-sortable":!!n,"data-column-filterable":c,isFirst:i,isLast:p,ref:y,$hasFilter:c,$isFilterDisabled:x&&c,sx:R=>({paddingInline:"0.6875rem",paddingLeft:i?"0":"0.6875rem",paddingRight:p?"0":"0.6875rem",display:"flex",gap:R.spacing(.5),alignItems:"center",justifyContent:Fb[o??"left"],width:l,textAlign:o,overflow:"unset",fontWeight:600,...r}),isSheetView:d,children:jsxs(Bt,{disabled:x,$hasFilter:c,onClick:()=>{b(y.current);},children:[typeof e=="function"?e():jsx(Te,{"data-testid":"TableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e&&jsx("span",{style:{textOverflow:"ellipsis",width:"80%",overflow:"hidden"},"data-testid":"VirtualTable_TableHeader_StyledCell_header_text",children:e})}),a&&jsx(Qe,{...a,anchorEl:h,setAnchorEl:b,isFilterApplied:g,disabled:x}),n&&jsx(Wt,{onColumnSort:u,columnsSorting:f,columnId:t})]})})}var Po=oi;var ni=styled(Al,{shouldForwardProp:e=>e!=="showBackDrop"})(({showBackDrop:e,theme:t})=>({flex:"0 0 auto",boxShadow:e?t.shadows[23]:"none",backgroundColor:t.palette.background.default,zIndex:1,width:"100%",minWidth:"auto",overflowX:"auto",cursor:"auto"})),ii=styled(Wl,{shouldForwardProp:e=>e!=="isSheetView"})(({theme:e,isSheetView:t})=>({display:"flex",justifyContent:"flex-start",width:"100%",minWidth:"fit-content",position:"relative",paddingInline:"32px",paddingBlock:"16px",...t&&{height:"28px",borderBottom:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.primary.light,paddingInline:0,paddingBlock:0}}));function Ul({columns:e,headerProps:t,showBackDrop:o,onColumnSort:r,columnsSorting:n,isSheetView:a,totalCount:l,isFilterEnabled:s,selection:i,selectableCount:p=0,getSelectableKeys:d}){let u=i&&i.ids.length>0,f=i&&p>0&&i.ids.length===p,w=useCallback(()=>{i&&i.setIds(f?[]:d?.()??[]);},[i,f,d]);return jsx(ni,{component:"nav","data-testid":"VirtualTable_TableHeader_StyledHeader",showBackDrop:o,...t,children:jsxs(ii,{component:"section","data-testid":"VirtualTable_TableHeader_StyledMUITableRow",isSheetView:a,children:[u&&jsx(At,{size:"small",checked:f,indeterminate:u&&!f,onChange:w,onClick:m=>m.stopPropagation()}),e.map((m,h)=>jsx(Po,{column:m,isFirst:m.id===e[0].id,isLast:m.id===e[e.length-1].id,onColumnSort:r,columnsSorting:n,isSheetView:a,totalCount:l,isFilterEnabled:s},`${m.id}-${h}`))]})})}var ai=memo(Ul);var Vo=ai;var Gl=styled(Te,{shouldForwardProp:e=>e!=="sandboxMode"&&e!=="height"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",flex:1,position:"sticky",left:0,background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",margin:0,minHeight:"55px"})),Lo=styled("p")(({theme:e})=>({fontSize:"0.75rem",fontWeight:600,color:alpha(e.palette.common.black,.2)}));function Yl({height:e,sandboxMode:t,...o}){let{t:r}=useTranslation();return jsx(Gl,{component:"section","data-testid":"TableLastItem",...o,height:e,sandboxMode:t,children:jsx(Lo,{children:r("allRecordsHaveBeenSuccessfullyLoaded")})})}var ko=Yl;var rs=styled(Zl)(({theme:e})=>({backgroundColor:e.palette.grey[100],borderRadius:"64px",minWidth:"20px"}));function ns({columns:e,style:t,index:o,animationType:r}){return jsx(Wl,{sx:{...t,display:"flex",borderBottom:"1px solid #e3e8ee","&:hover":{backgroundColor:"transparent !important"}},component:"div",hover:true,children:e.map((n,a)=>jsx(es,{sx:{width:n.width||`${100/e.length}%`||"20%",paddingInline:"0.6875rem"},component:"div",children:jsx(rs,{variant:"rectangular",animation:r})},`${n.id}-${a}`))},o)}var Mo=memo(ns,areEqual);var ss=styled("section")(({isLoaded:e=false})=>({overflow:"hidden",paddingInline:"32px",backgroundColor:e?"rgba(255, 255, 255, 0.60)":"none",filter:e?"blur(8px)":"none",marginTop:e?"1rem":"0.2rem"}));function ds({columns:e,isLoaded:t=false,animationType:o,isLoading:r=false,rowsCount:n}){let a=n||na(t,r);return a=a>0?a:5,jsx(ss,{isLoaded:t,"data-testid":"TableLoading",children:[...Array(a)].map(()=>jsx(Mo,{columns:e,animationType:o},`i-${ls("TableLoadingRow_")}`))})}var Wo=memo(ds);var ui=styled(Te,{shouldForwardProp:e=>e!=="sandboxMode"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",height:"100%",width:"100%",justifyContent:"center",alignItems:"center",textAlign:"center",background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",gap:"0.5rem"})),ci=styled(Te,{shouldForwardProp:e=>e!=="shouldMinimizeWidth"})(({shouldMinimizeWidth:e})=>({width:e?"9rem":"15rem",display:"flex",flexDirection:"column",alignItems:"center"})),fi=styled("h1")(({theme:e})=>({fontWeight:600,fontSize:"1.125rem",color:e.palette.text?.primary,padding:0,margin:0})),bi=styled("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,opacity:.5,padding:0,marginTop:3,textAlign:"center"})),hi=styled("img")(()=>({width:"2rem",height:"2rem"})),gi=styled(Button)(({theme:e})=>({padding:" 0.625rem 1rem",display:"flex",justifyContent:"center",alignItems:"center",gap:"0.5rem",backgroundColor:alpha(e.palette.info.dark,.1),borderRadius:"0.25rem",color:e.palette.info.dark,"&:hover":{backgroundColor:alpha(e.palette.info.dark,.1),color:e.palette.info.dark},width:"6rem",height:"1.8rem",marginTop:"1.5rem"})),xi=styled("p")(({theme:e})=>({color:e.palette.info.dark,fontSize:"0.8rem",fontWeight:600,textTransform:"none"}));function us({triggerDataRefetch:e,heading:t,message:o,shouldMinimizeWidth:r,sandboxMode:n,hideIcon:a,hideTryAgain:l,...s}){let{t:i}=useTranslation();return jsx(ui,{sandboxMode:n,...s,children:jsxs(ci,{shouldMinimizeWidth:r,children:[!a&&jsx(hi,{src:F,alt:"info icon"}),jsx(fi,{children:i(t)}),jsx(bi,{children:i(o)}),!l&&jsx(gi,{variant:"contained",onClick:()=>{e();},children:jsx(xi,{children:i("tryAgain")})})]})})}var oe=us;var Nt=oe;var Ci=styled$1("h1")(({theme:e})=>({fontWeight:600,fontSize:"1rem",color:e.palette.text?.primary,padding:0,margin:0})),Si=styled$1("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,padding:0,marginTop:3,opacity:.5})),yi=styled$1(Te,{shouldForwardProp:e=>e!=="sandboxMode"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",height:"100%",width:"100%",justifyContent:"center",alignItems:"center",textAlign:"center",background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",gap:"0.5rem"})),Fo=styled$1("img")(()=>({width:"2rem",height:"2rem"}));function Ti({sandboxMode:e,heading:t,message:o,...r}){let{t:n}=useTranslation();return jsxs(yi,{component:"section","data-testid":"EmptyList",sandboxMode:e,...r,children:[jsx(Fo,{src:Th,alt:"empty container"}),jsx(Ci,{children:n(t)}),jsx(Si,{children:n(o)})]})}Ti.displayName="EmptyList";var $t=memo(Ti);var wi=$t;var Cs=e=>{let{isTimeoutError:t,tableError:o,triggerDataRefetch:r,sandboxMode:n,tableEmpty:a,error:l}=e;if(t)return jsx(Nt,{"data-testid":"VirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:r,sandboxMode:n});let s=l;if(o){let{formatted:i,message:p,code:d}=mb({error:s,fallbackMessage:"connectionErrorMsg"}),u=Ja$1()&&d===Tn$1;return jsx(Nt,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:u?p:i,triggerDataRefetch:r,sandboxMode:n,hideIcon:u,hideTryAgain:u})}if(a){let{formatted:i}=mb({error:s,fallbackMessage:"tryAdjustingTheDateOrFilters"});return jsx(wi,{sandboxMode:n,heading:"nothingFound",message:i})}return jsx(Nt,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:r,sandboxMode:n})},Ho=memo(Cs);function Ii({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,orderedColumns:a,triggerDataRefetch:l,footerProps:s}){return n?jsx(_e,{"data-testid":"VirtualTable_SolidBackground",children:jsx(Wo,{"data-testid":"VirtualTable_TableLoading",columns:a,isLoading:true})}):jsx(Ho,{isTimeoutError:o,tableEmpty:t,tableError:r,sandboxMode:s?.sandboxMode,error:e,triggerDataRefetch:l})}Ii.displayName="TableNoData";var ot=memo(Ii);function _o(){return jsx(motion.div,{initial:{width:0},animate:{width:"fit-content",transition:{duration:.5}},exit:{width:0},style:{paddingInline:"11px",paddingBlock:"5px",boxShadow:"0px 0px 1px 0px rgba(0, 0, 0, 0.10), 0px 1px 1px 0px rgba(0, 0, 0, 0.09), 0px 2px 1px 0px rgba(0, 0, 0, 0.05), 0px 4px 2px 0px rgba(0, 0, 0, 0.01), 0px 7px 2px 0px rgba(0, 0, 0, 0.00)",borderRadius:"24px",overflow:"hidden",display:"inline-block",whiteSpace:"nowrap"},children:jsxs(motion.span,{style:{color:"#8F9195",fontSize:"12px",fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center",gap:"10px"},children:[jsx(motion.span,{children:"!"}),jsx(motion.span,{children:"Error while loading"})]})})}function Ps({row:e,columns:t,index:o,rowProps:r,isSheetView:n,selectedCell:a=null,selectedColumn:l=null,selectedRow:s=null,selectedChip:i=null,onCellClick:p,isLastRow:d=false,onChipClick:u,selection:f,hasAdjacentCheckedAbove:w,hasAdjacentCheckedBelow:m}){let h=f?e[f.selector]:void 0,b=f&&f.ids.includes(h),y=f?.isDisabled?.(e),c=$e.useCallback(()=>{!f||y||f.setIds(b?f.ids.filter(C=>C!==h):[...f.ids,h]);},[f?.setIds,f?.ids,b,y,h]),g=$e.useCallback((C,P)=>(V,I)=>{u?.(o,C,V,I,P);},[u,o]),x=$e.useCallback((C,P,V)=>{let{render:I,format:k,selector:E}=C;if(!C?.id||!e)return null;let L=E?E({row:e,index:o,value:e[C?.id]}):e[C?.id],v=k?k({value:L,row:e,index:o}):L;return I?I({row:e,column:C,index:o,value:e[C?.id],selectionProps:{onClick:g(V,C.pinned),rowIndex:P,colIndex:V,selectedId:i}}):jsx(Fragment,{children:v})},[e,o,i,g]),S=a!==null||l!==null||s!==null,R=$e.useCallback((C,P)=>V=>{p?.(o,C,V,P);},[p,o]),T=useMemo(()=>{let C=t[0]?.id,P=t[t.length-1]?.id,V=s===o;return jsx(Fragment,{children:t.map((I,k)=>{if(!I?.id)return null;let E=`${I.pinned??"default"}-${o}-${k}`,L=`${I.pinned??"default"}-${k}`,v=S&&a===E,W=S&&l===L,z=Db({isSelected:S&&(v||W||V),isCellSelected:v,isColumnSelected:W,isRowSelected:V,isLastRow:d}),_=I.id===C,K=I.id===P,M=I.pinned?_:_&&I.pinned!=="start",H=I.pinned?K:K&&I.pinned!=="end",O=V&&S?Eb({effectiveFirst:M,isPinnedStart:I.pinned==="start",isPinnedEnd:I.pinned==="end"}):{},$=I.pinned==="start"&&M;return jsx(we,{component:"div","data-testid":"TableRow_TableCell","data-column-id":I.id,"data-column-width":I.width,"data-column-width-used":I.width,"data-column-align":I.align,"data-column-order":I.order,"data-column-header":typeof I.header=="string"?I.header:"component","data-column-sortable":!!I.sortable,"data-column-filterable":!!I.filter,isFirst:M,isLast:H,onClick:R(k,I.pinned),sx:{width:I.width,minWidth:I.width,textAlign:I.align,justifyContent:Fb[$?"center":I.align??"left"],cursor:p?"pointer":"default",...z,...O,...I.cellStyle},isSheetView:n,isSelected:v,children:n?jsx(Box,{sx:{position:"relative",zIndex:1,width:"100%"},children:x(I,o,k)}):jsx(Fragment,{children:x(I,o,k)})},`${I.id}-${k}`)})})},[t,e,o,a,l,s,S,p,d,i,n,x,R]);return createElement(zt,{"data-testid":"TableRow",onClick:r?.onRowClick,showShadowHighlight:r?.showShadowHighlight,showLoadedStyle:r?.showLoadedStyle,component:"article",...r,key:o,isSheetView:n,isChecked:b,adjacentAbove:w,adjacentBelow:m},f&&jsx(At,{isRow:true,size:"small",checked:b,onChange:c,disabled:y}),T)}var No=memo(Ps,areEqual);var Ds=styled(Zl)(()=>({backgroundColor:"#F4F4F4",borderRadius:"64px",width:"100%",minWidth:"20px"}));function Hs({columns:e,style:t,index:o,animationType:r,rowIndex:n=0,useTableBackground:a=false}){let l=useTheme();return jsx(Wl,{sx:{...t,display:"flex",borderBottom:"1px solid #F2F2F2",minHeight:"28px",height:"28px",alignItems:"center",backgroundColor:a?l.palette.background.default:"transparent","&:hover":{backgroundColor:"transparent !important"}},component:"div",hover:true,children:e.map((s,i)=>{let p=i===e.length-1,d=i===0,u=s.pinned==="start",f=d&&u;return jsx(es,{sx:{width:s.width||`${100/e.length}%`||"20%",paddingBlock:"0",paddingInline:"8px !important",paddingLeft:"8px !important",paddingRight:"8px !important",borderRight:p?"none":"1px solid #F2F2F2",borderLeft:d?"1px solid #F2F2F2":"none",height:"100%",display:"flex",alignItems:"center",boxSizing:"border-box",whiteSpace:"nowrap",overflow:"hidden"},component:"div",children:f&&s.render?s.render({index:n,row:{},column:s,value:n+1}):jsx(Ds,{variant:"rectangular",animation:r,height:16})},`${s.id}-${i}`)})},o)}var rt=memo(Hs,areEqual);var _s=$e.memo(({isLoadingRow:e,isSheetView:t,columns:o,currentRowCount:r})=>{let{t:n}=useTranslation();return e?t&&o?.length?jsx(Fragment,{children:Array.from({length:3},(a,l)=>jsx(rt,{columns:o,animationType:"wave",rowIndex:(r||0)+l,useTableBackground:true},`loading-row-${l}`))}):jsxs(Box,{"data-testid":"ListItemWrapper_lastRowContent_isLoadingRow",sx:{height:t?"100%":"24px",width:"24px",borderRadius:"50%",background:"transparent",position:"relative",display:"flex",justifyContent:"center",alignItems:"center"},children:[jsx(Io,{sx:{position:"absolute"},src:oi$1}),jsx(Io,{sx:{position:"absolute",padding:"3px"},src:ui$1,alt:"tableLoadingSpinnerIcon",className:"spinner-loader",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}})]}):jsx(Lo,{"data-testid":"ListItemWrapper_lastRowContent",children:n("allRecordsHaveBeenSuccessfullyLoaded")})}),As=(e,t)=>o=>{o?.stopPropagation?.(),t?.(e);},Ns=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"&&e!=="isSheetView"})(({theme:e,isSheetView:t})=>({height:t?28:"100%",backgroundColor:e.palette.background.default}));function Os({index:e,style:t,data:{renderedScrollTopRef:o,rows:r,rowProps:n,columns:a,isLoading:l,scrollToIndex:s,newLoadedRowsEndIndex:i,isError:p,areAllRowsLoaded:d,isSheetView:u,isPinned:f=false,isLoadMoreLoading:w=false,...m}}){let h=r.length-1,{hasAdjacentCheckedAbove:b,hasAdjacentCheckedBelow:y}=$e.useMemo(()=>{let P=m.selection;if(!P)return {hasAdjacentCheckedAbove:false,hasAdjacentCheckedBelow:false};let V=r[e]?.[P.selector];if(!P.ids.includes(V))return {hasAdjacentCheckedAbove:false,hasAdjacentCheckedBelow:false};let k=e>0?r[e-1]?.[P.selector]:void 0,E=e<h?r[e+1]?.[P.selector]:void 0;return {hasAdjacentCheckedAbove:k!==void 0&&P.ids.includes(k),hasAdjacentCheckedBelow:E!==void 0&&P.ids.includes(E)}},[m.selection?.ids,m.selection?.selector,r,e,h]),c=r[e],g=l&&e===h+1,x=e<=i,S=$e.useCallback(()=>As(c,n?.onRowClick),[c,n?.onRowClick]),R=$e.useMemo(()=>({showShadowHighlight:s===e,showLoadedStyle:x,...n,onClick:S}),[s,e,x,n,S]),T=$e.useCallback(P=>jsx(Box,{sx:{minHeight:28,height:"100%",width:"100%"},children:p?jsx(_o,{}):P}),[p]),C=$e.useMemo(()=>{let P=jsx(_s,{isSheetView:u,isLoadingRow:g,columns:a,currentRowCount:r.length}),V=g||d&&e===h+1;return f&&V?u&&g&&a&&a.length>0?T(P):jsx(Box,{sx:{...u?{minHeight:28,height:"100%"}:{height:57},backgroundColor:"#F6F8FACC"}}):V?u&&g&&a&&a.length>0?T(P):jsx(Box,{sx:{...u?{minHeight:28,height:"100%"}:{height:57},display:"flex",justifyContent:"center",alignItems:"center"},children:jsx(Box,{sx:{backgroundColor:"#F6F8FACC",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},children:p?jsx(_o,{}):P})}):jsx(No,{index:e,row:c,columns:a,rowProps:R,isSheetView:u,isLastRow:e===r.length-1,isFirstRow:e===0,isLoading:l,isLoadMoreLoading:w,hasAdjacentCheckedAbove:b,hasAdjacentCheckedBelow:y,...m},`row-${e}`)},[m,e,c,a,R,u,g,p,d,h,f,r.length,T,w]);return jsx("div",{"data-testid":"ListItemWrapper",style:{...t,top:Number(t.top)-(o?.current??0),willChange:"top"},children:jsx(Ns,{"data-testid":"ListItemWrapper_StyledItemWrapper",isSheetView:u,children:C})})}var jt=Os;var Zs=Gs((e,t,o,r,n,a,l,s,i,p,d)=>({columns:e,isLoading:t,rows:o,rowProps:r,scrollToIndex:n,totalCount:l,lastItemIndex:a,isError:s,areAllRowsLoaded:i,isSheetView:p,selection:d}));function Qs({columns:e,rows:t,threshold:o=200,showHeader:r,headerProps:n,rowProps:a,footerProps:l,isLoading:s,error:i,columnsSorting:p,onColumnSort:d,loadMoreItems:u,isFetchingNextPage:f,triggerDataRefetch:w,scrollToIndex:m,areAllRowsLoaded:h=false,tableBodyStyles:b$1,tableMode:y,tableTitle:c,isSheetView:g=false,isMinimized:x,footerComponent:S,customNoDataComponent:R,defaultSkeleton:T=false,selection:C,isFilterEnabled:P}){let V=useTheme(),I=b(f??false,1e3),[k,E]=useState(false),[L,v]=useState("INITIAL_KEY");useEffect(()=>{let B=`${l?.maximized}-${x}`,U=requestAnimationFrame(()=>v(B));return ()=>cancelAnimationFrame(U)},[l?.maximized,x]);let W=jb(i),F=s??true,z=!s&&t.length===0&&W&&!lb(i),_=!s&&t.length===0,K=kb(i),M=t.length-1,H=useMemo(()=>Ob(e,s??false,T),[e,s,T]),O=useMemo(()=>H.filter(B=>!B.hidden),[H]),$=useMemo(()=>O.sort((B,U)=>(B?.order??1e6)-(U?.order??1e6)),[O]),D=useMemo(()=>C?C.isDisabled?t.filter(B=>!C.isDisabled(B)).length:t.length:0,[t,C?.isDisabled]),oo=useCallback(()=>C?(C.isDisabled?t.filter(U=>!C.isDisabled(U)):t).map(U=>U[C.selector]):[],[t,C?.isDisabled,C?.selector]),Z=oa$1(t.length)&&!F,ne=I||h&&!Z?t.length+1:t.length,je=Zs($,I,t,a,m,M,l?.totalCount??0,W,h&&!Z,g,C),ie=g?28:57,xe=useRef(null);useEffect(()=>{xe.current&&typeof xe.current.resetAfterIndex=="function"&&xe.current.resetAfterIndex(0,true);},[g,ie]);let dt=useMemo(()=>{let B=Se=>{E(Se);};return jsx(Js,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:Se=>Se!==M,itemCount:ne,loadMoreItems:async()=>{h||await u?.();},threshold:o,children:({onItemsRendered:Se,ref:ro})=>jsx(Ys,{ref:ro,"data-testid":"VirtualTable_AutoSizer",children:({height:no,width:pt})=>jsx(Ae,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:je,height:Z?ne*ie:no||0,width:pt||0,itemCount:ne,itemSize:()=>ie,onItemsRendered:Se,setBackdropVisibility:B,areTotalRowsNotFillingHeight:Z,scrollToIndex:m,overscanCount:5,isSheetView:g,listRef:xe,style:{paddingBottom:"13px"},children:jt})},L)})},[M,u,o,h,Z,ne,ie,g,je,m,L]),Ce=F||z||_||K;return jsxs(Fragment,{children:[jsx(_t,{children:jsxs(te,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":c,"data-direction":V.direction,"data-are-all-rows-loaded":!!h,"data-is-fetching-next-page":!!f,"data-scroll-to-index":m,"data-is-loading":!!s,"data-is-error":!!W,"data-is-error-timeout":!!K,"data-table-mode":y,height:"100%",dir:V.direction,showNoDataView:Ce,scrollable:true,children:[jsxs(A,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:Ce,compact:!Ce&&Z,sx:{...b$1},children:[r&&jsx(Vo,{"data-testid":"VirtualTable_TableHeader",columnsSorting:p,onColumnSort:d,columns:$,headerProps:n,showBackDrop:k,isSheetView:g,totalCount:l?.totalCount??0,selection:C,selectableCount:D,getSelectableKeys:oo,isFilterEnabled:P}),Ce?R||jsx(ot,{error:i,tableEmpty:_,isTimeoutError:K,tableError:z,tableLoading:F,orderedColumns:$,triggerDataRefetch:w,footerProps:l}):jsx(A,{"data-testid":"VirtualTable_TableWrapper",fixedHeight:Z?ne*ie:void 0,sx:{width:"100%",minWidth:"fit-content"},children:jsx(be,{"data-testid":"VirtualTable_StyledBox",hidePadding:true,className:"list-wrapper",children:dt})})]}),!Ce&&Z&&!f&&jsx(ko,{height:(ne+1)*ie,sandboxMode:l?.sandboxMode,"data-testid":"VirtualTable_TableLastItem"})]})}),l&&jsx(He,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:k,selectedCount:C?.ids.length,...l}),S]})}var ed=memo(Qs);var Uo=He;function ad({style:e,index:t,cardLoadingComponent:o}){return jsx(Wl,{sx:{...e,display:"flex",padding:0,"&:hover":{backgroundColor:"transparent !important"}},component:"div",children:jsx(es,{sx:{padding:0,flex:1},component:"div",children:o})},t)}var Xo=memo(ad,areEqual);var pd=styled("section")(({isLoaded:e=false})=>({overflow:"hidden",paddingInline:"32px",backgroundColor:e?"rgba(255, 255, 255, 0.60)":"none",filter:e?"blur(8px)":"none",marginTop:e?"1rem":"0.2rem"}));function md({isLoaded:e=false,isLoading:t=false,rowsCount:o,cardLoadingComponent:r}){let n=o||na(e,t);return n=n>0?n:5,jsx(pd,{isLoaded:e,"data-testid":"TableLoadingWithCard",children:[...Array(n)].map(()=>jsx(Xo,{cardLoadingComponent:r},`i-${ls("TableLoadingRow_")}`))})}var Ko=memo(md);function Li({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,triggerDataRefetch:a,footerProps:l,cardLoadingComponent:s,noDataComponent:i}){let p;if(n)p=jsx(_e,{"data-testid":"VirtualTable_SolidBackground",children:jsx(Ko,{"data-testid":"VirtualTable_TableLoading",isLoading:true,cardLoadingComponent:s})});else if(o)p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:a,sandboxMode:l?.sandboxMode});else if(r){let d=e,{formatted:u}=mb({error:d,fallbackMessage:"connectionErrorMsg"});p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:u,triggerDataRefetch:a,sandboxMode:l?.sandboxMode});}else t?p=i:p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:a,sandboxMode:l?.sandboxMode});return p}Li.displayName="TableNoDataWithCard";var jo=memo(Li);function bd({row:e,index:t,rowProps:o,renderCardComponent:r}){return createElement(zt,{"data-testid":"TableRow",onClick:o?.onRowClick,showShadowHighlight:o?.showShadowHighlight,showLoadedStyle:o?.showLoadedStyle,component:"article",...o,key:t},r&&jsx(r,{...e}))}var qo=memo(bd,areEqual);var Cd=(e,t)=>o=>{o?.stopPropagation?.(),t?.(e);},Sd=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"})(({theme:e})=>({backgroundColor:e.palette.background.default,height:"100%"}));function yd({index:e,style:t,data:{renderedScrollTopRef:o,rows:r,rowProps:n,isLoading:a,scrollToIndex:l,newLoadedRowsEndIndex:s,areAllRowsLoaded:i,renderCardComponent:p}}){let d=r.length-1,u=r[e],f=a&&e===d+1,w=e<=s,m=$e.useCallback(Cd(u,n?.onRowClick),[u,n?.onRowClick]),h=$e.useMemo(()=>({showShadowHighlight:l===e,showLoadedStyle:w,...n,onClick:m}),[l,e,w,n,m,f,i,d]),b=$e.useMemo(()=>jsx(qo,{index:e,row:u,renderCardComponent:p,rowProps:h},`row-${e}`),[e,u,h]);return jsx("div",{"data-testid":"ListCardWrapper",style:{...t,top:Number(t.top)-o.current,willChange:"top"},children:jsx(Sd,{"data-testid":"ListCardWrapper_StyledItemWrapper",children:b})})}var Jo=yd;var kd=Gs((e,t,o,r,n,a,l,s,i)=>({isLoading:e,rows:t,rowProps:o,scrollToIndex:r,totalCount:a,lastItemIndex:n,isError:l,areAllRowsLoaded:s,renderCardComponent:i}));function vd({rows:e,threshold:t=200,rowProps:o,footerProps:r,rowHeight:n=57,isLoading:a,error:l,tableHeader:s,loadMoreItems:i,isFetchingNextPage:p,triggerDataRefetch:d,scrollToIndex:u,areAllRowsLoaded:f=false,tableBodyStyles:w,tableMode:m,tableTitle:h,renderCardComponent:b$1,cardLoadingComponent:y,tableHeight:c,tableHeaderHeight:g,noDataComponent:x}){let S=useTheme(),R=b(p??false,1e3),[T,C]=useState(false),P=jb(l),V=a??true,I=!a&&e.length===0&&P&&!lb(l),k=!a&&e.length===0,E=kb(l),L=e.length-1,v=oa$1(e.length)&&!V,W=R||f&&!v?e.length+1:e.length,F=kd(R,e,o,u,L,r?.totalCount??0,P,f&&!v,b$1),z=useMemo(()=>{let K=H=>{C(H);};return jsx(Js,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:H=>H!==L,itemCount:W,loadMoreItems:async()=>{f||await i?.();},threshold:t,children:({onItemsRendered:H,ref:O})=>jsx(Te,{sx:{height:`${c-(g??0)}px`},id:"auto-sizer-wrapper",children:jsx(Ys,{ref:O,"data-testid":"VirtualTable_AutoSizer",children:({height:$,width:D})=>jsx(Ae,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:F,height:$||0,width:D||0,itemCount:W,itemSize:()=>n,onItemsRendered:H,setBackdropVisibility:K,areTotalRowsNotFillingHeight:v,scrollToIndex:u,overscanCount:5,children:Jo})})})})},[l,a,L,i,n,e,o,I,V,t,R,f,v,W]),_=V||I||k||E;return jsxs(Fragment,{children:[jsx(_t,{children:jsx(ti,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":h,"data-direction":S.direction,"data-are-all-rows-loaded":!!f,"data-is-fetching-next-page":!!p,"data-scroll-to-index":u,"data-is-loading":!!a,"data-is-error":!!P,"data-is-error-timeout":!!E,"data-table-mode":m,dir:S.direction,showNoDataView:_,sx:{height:`${c}px !important`},children:jsxs(A,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:_,sx:{...w},children:[s,_?jsx(jo,{error:l,tableEmpty:k,isTimeoutError:E,tableError:I,tableLoading:V,triggerDataRefetch:d,footerProps:r,cardLoadingComponent:y,noDataComponent:x}):z]})})}),jsx(Uo,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:T,sx:{marginTop:"-37px"},...r})]})}var Md=memo(vd);var Zg=styled("img")(()=>({width:"13.3px",height:"13.3px"})),Qg=styled("img")(()=>({width:"8px",height:"6.4px",cursor:"pointer",marginTop:"2px"})),vi=styled("span")(({theme:e})=>({color:e.palette.text.primary,textOverflow:"ellipsis",width:"80%",overflow:"hidden",fontSize:"12px",fontWeight:600})),Mi=styled("div")(()=>({width:"16px",height:"auto",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"2px",padding:"2px",transition:"all 0.2s ease"})),Wi=styled(Al,{shouldForwardProp:e=>e!=="showBackDrop"})(({showBackDrop:e,theme:t})=>({flex:"0 0 auto",boxShadow:e?t.shadows[23]:"none",backgroundColor:t.palette.background.default,zIndex:1,width:"100%",minWidth:"auto",overflowX:"auto"})),Fi=styled(Wl)(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",width:"100%",minWidth:"fit-content",height:"28px",backgroundColor:e.palette.primary.light})),Zo=styled("div")({display:"flex",width:"100%",height:"100%",overflow:"hidden",borderRadius:"12px"}),Di=styled("div")(({theme:e})=>({width:"auto",zIndex:10,flex:"0 0 auto",minWidth:0,display:"flex",flexDirection:"column",position:"relative",backgroundColor:e.palette.primary.light,borderTop:"1px solid #F2F2F2",borderBottom:"1px solid #F2F2F2",overflow:"hidden"})),Hi=styled(Di)({boxShadow:"4px 0px 24px 0px #00000014",borderLeft:"1px solid #F2F2F2",borderRight:"none",borderTopLeftRadius:"12px",borderBottomLeftRadius:"12px"}),Bi=styled(Di)({boxShadow:"-4px 0px 24px 0px #00000014",borderRight:"1px solid #F2F2F2",borderLeft:"none",borderTopRightRadius:"12px",borderBottomRightRadius:"12px"}),qt=styled("div",{shouldForwardProp:e=>e!=="hasPinnedStart"&&e!=="hasPinnedEnd"})(({hasPinnedStart:e,hasPinnedEnd:t})=>({flex:"1 1 auto",minWidth:0,display:"flex",flexDirection:"column",borderTop:"1px solid #F2F2F2",borderBottom:"1px solid #F2F2F2",borderLeft:e?"none":"1px solid #F2F2F2",borderRight:t?"none":"1px solid #F2F2F2",position:"relative",scrollbarWidth:"auto",overflow:"hidden",borderTopLeftRadius:e?"0":"12px",borderBottomLeftRadius:e?"0":"12px",borderTopRightRadius:t?"0":"12px",borderBottomRightRadius:t?"0":"12px"})),Ue=styled("div")({flexShrink:0,height:"auto",overflow:"auto"});var Qo=(e,t,o)=>{let[r,n]=useState(()=>{let m=t?e.filter(b=>b.pinned==="start").map(b=>b.id):[],h=e.filter(b=>b.isDefaultPinned&&b.pinned!=="end").map(b=>b.id);return Array.from(new Set([...h,...m]))}),[a,l]=useState(()=>{let m=e.filter(c=>c.isDefaultPinned&&c.pinned==="end").map(c=>c.id);if(!t)return m;let h=e.filter(c=>c.pinned==="end").map(c=>c.id),b=e.filter(c=>!c.hidden),y=b[b.length-1];return h.length===0&&y&&!y.pinned&&!y.isDefaultPinned?[y.id]:h}),s=useCallback((m,h="start")=>{if(!t)return;let b=[...r],y=[...a];h==="unpin"?(b=b.filter(g=>g!==m),y=y.filter(g=>g!==m)):h==="start"?(b=[...b.filter(g=>g!==m),m],y=y.filter(g=>g!==m)):h==="end"&&(y=[...y.filter(g=>g!==m),m],b=b.filter(g=>g!==m)),n(b),l(y);let c=b.includes(m)||y.includes(m);o?.(m,c);},[r,a,o,t]),i=useMemo(()=>e.filter(m=>!m.hidden),[e]),{pinnedStartColumnsData:p,pinnedEndColumnsData:d,unpinnedColumnsData:u}=useMemo(()=>{let m=i.filter(x=>r.includes(x.id)),h=i.filter(x=>a.includes(x.id)),b=i.filter(x=>!r.includes(x.id)&&!a.includes(x.id)),y=m.sort((x,S)=>(x?.order??1e6)-(S?.order??1e6)),c=h.sort((x,S)=>(x?.order??1e6)-(S?.order??1e6)),g=b.sort((x,S)=>(x?.order??1e6)-(S?.order??1e6));return {pinnedStartColumnsData:y,pinnedEndColumnsData:c,unpinnedColumnsData:g}},[i,r,a]),f=useMemo(()=>[...p,...u,...d],[p,u,d]),w=useMemo(()=>{let m=f[f.length-1];return m?m.id:null},[f]);return {pinnedStartColumns:r,pinnedEndColumns:a,handleColumnPin:s,pinnedStartColumnsData:p,pinnedEndColumnsData:d,unpinnedColumnsData:u,orderedColumns:f,lastColumnId:w}};var er=()=>{let e=useRef(null),t=useRef(null),o=useRef(null),r=useRef(false),n=useCallback(({scrollOffset:a},l)=>{r.current||(r.current=true,l!=="start"&&e.current&&e.current.scrollTo(a),l!=="end"&&o.current&&o.current.scrollTo(a),l!=="scrollable"&&t.current&&t.current.scrollTo(a),requestAnimationFrame(()=>{r.current=false;}));},[]);return {pinnedStartVirtualListRef:e,scrollableVirtualListRef:t,pinnedEndVirtualListRef:o,handleScroll:n}};var tr=()=>{let[e,t]=useState(null),[o,r]=useState(null),[n,a]=useState(null),[l,s]=useState(null),[i,p]=useState(false),d=useCallback((m,h,b,y,c)=>{b.stopPropagation();let g=`${c??"default"}-${m}-${h}-${y}`,x=`${c??"default"}-${m}-${h}`;if(n===g){a(null),t(null);return}a(g),t(x),s(null);},[n,a,t,s]),u=useCallback((m,h,b,y)=>{if(b.stopPropagation(),y==="start"&&h===0){s(g=>g===m?null:m),t(null),r(null),a(null);return}let c=`${y??"default"}-${m}-${h}`;t(g=>g===c?null:c),r(null),a(null),s(null);},[l]),f=useCallback((m,h,b)=>{h.stopPropagation();let y=`${b??"default"}-${m}`;r(c=>c===y?null:y),t(null),a(null),s(null);},[]),w=useCallback(()=>{t(null),r(null),a(null),s(null);},[]);return {selectedCell:e,selectedColumn:o,selectedRow:l,showBackDrop:i,selectedChip:n,setShowBackdrop:p,handleChipClick:d,handleCellClick:u,handleColumnClick:f,resetSelection:w}};var zd=e=>e!==null&&"isAxiosError"in e&&e.isAxiosError===true,or=({rows:e,isLoading:t,error:o,isFetchingNextPage:r,areAllRowsLoaded:n})=>{let a=b(r??false,1e3),l=useMemo(()=>{let i=jb(o||null),p=t??true,d=o&&zd(o)?o:null,u=!t&&e.length===0&&i&&!lb(d),f=!t&&e.length===0,w=kb(d);return {isError:i,tableLoading:p,tableError:u,tableEmpty:f,hasTimeoutError:w,showNoDataView:p||u||f||w}},[e.length,t,o]),s=useMemo(()=>{let i=e.length-1,p=oa$1(e.length)&&!l.tableLoading,d=(a??false)||n?e.length+1:e.length;return {lastItemIndex:i,areTotalRowsNotFillingHeight:p,itemsCount:d}},[e.length,l.tableLoading,a,n]);return {...l,...s,isDelayedFetchingNextPage:a??false}};var Ad=Gs((e,t,o,r,n,a,l,s,i,p,d,u,f,w,m,h,b,y)=>({columns:e,isLoading:t,rows:o,rowProps:r,scrollToIndex:n,totalCount:l,lastItemIndex:a,isError:s,areAllRowsLoaded:i,limit:l,newLoadedRowsEndIndex:a,isSheetView:true,isPinned:p,selectedCell:d,selectedColumn:u,selectedRow:f,selectedChip:w,onCellClick:m,onChipClick:h,containerHeight:b,rowHeight:y})),rr=({rowHeight:e,areAllRowsLoaded:t,rows:o,isDelayedFetchingNextPage:r,rowProps:n,scrollToIndex:a,footerProps:l,isError:s,selectedCell:i,selectedColumn:p,selectedRow:d,selectedChip:u,handleCellClick:f,handleChipClick:w})=>{let m=useCallback((c,g)=>{if(t&&c===o.length){let S=o.length*e,R=g-S,T=e*2;return Math.max(R,T)}return e},[t,o.length,e]),h=useMemo(()=>[r,o,n,a,o.length-1,l?.totalCount??0,s,t],[r,o,n,a,l?.totalCount,s,t]),b=useMemo(()=>[i,p,d,u,f,w],[i,p,d,u,f,w]),y=useCallback((c,g,x)=>Ad(c,...h,g,...b,x,e),[h,b,e]);return {getItemSize:m,getItemDataForContainer:y}};var Nd=(e,t)=>{let o=useMemo(()=>e.reduce((n,a)=>{let l=typeof a.width=="string"?parseInt(a.width):a.width||100;return n+l},.2),[e]),r=useMemo(()=>t.reduce((n,a)=>{let l=typeof a.width=="string"?parseInt(a.width):a.width||100;return n+l},.2),[t]);return {pinnedStartColumnsWidth:o,pinnedEndColumnsWidth:r}};var nr=({tableContainerRef:e,showHeader:t,isResizing:o})=>{let[r,n]=useState({top:0,height:0});return useEffect(()=>{let a=()=>{if(e.current){let l=e.current.getBoundingClientRect(),s=t?28:0;n({top:l.top+s,height:l.height-s});}};if(a(),o){let l=()=>a();return window.addEventListener("resize",l),()=>window.removeEventListener("resize",l)}},[o,t,e]),r};var $i=styled("div",{shouldForwardProp:e=>e!=="isResizing"&&e!=="isLast"})(({isLast:e})=>({position:"absolute",top:0,right:e?-10:-11,width:20,height:"100%",backgroundColor:"transparent",zIndex:100001,display:"flex",alignItems:"center",justifyContent:"center"})),Ui=styled("div",{shouldForwardProp:e=>e!=="isVisible"&&e!=="x"&&e!=="height"&&e!=="top"})(({isVisible:e,x:t,height:o,top:r})=>({position:"fixed",left:t,top:r,width:1,height:`calc(${o}px - 14px)`,backgroundColor:"#1F88D0",zIndex:9999,pointerEvents:"none",opacity:e?1:0,transition:"opacity 0.1s ease","&::before":{content:'""',position:"absolute",left:-1,top:0,width:1,height:"100%"}})),Zt=styled("div",{shouldForwardProp:e=>e!=="isVisible"&&e!=="x"&&e!=="y"&&e!=="offsetX"})(({isVisible:e,x:t,y:o,offsetX:r=0})=>({position:"fixed",left:t+r-8,top:o,width:20,height:16,backgroundImage:`url(${ck})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center",zIndex:1e5,pointerEvents:"none",display:e?"block":"none",transform:"translate(-50%, -50%)"}));function jd({columnId:e,onStartResize:t,isResizing:o,isLast:r=false}){let[n,a]=useState(false),[l,s]=useState({x:0,y:0}),i=useRef(null),p=useCallback(()=>{let m=i.current?.getBoundingClientRect();m&&s({x:m.right,y:m.top+m.height/2});},[]),d=useCallback(()=>{o||(a(true),p());},[o,p]),u=useCallback(()=>{!o&&n&&p();},[o,n,p]),f=useCallback(()=>{a(false);},[]);return jsxs(Fragment,{children:[jsx($i,{ref:i,isResizing:o,isLast:r,onMouseDown:m=>{m.stopPropagation(),m.preventDefault(),a(false),t(m,e);},onMouseEnter:d,onMouseMove:u,onMouseLeave:f,"data-testid":`column-resize-handle-${e}`}),createPortal(jsx(Zt,{isVisible:n&&!o,x:l.x,y:l.y,offsetX:-2}),document.body)]})}var ar=memo(jd);function Zd({isVisible:e,indicatorX:t,indicatorHeight:o,indicatorTop:r,iconX:n,iconY:a}){return e?createPortal(jsxs(Fragment,{children:[jsx(Ui,{isVisible:e,x:t,height:o,top:r,"data-testid":"column-resize-indicator"}),jsx(Zt,{isVisible:e,x:n,y:a,offsetX:8,"data-testid":"floating-resize-icon"})]}),document.body):null}var lr=memo(Zd);var tp=e=>{if(!e||typeof e!="object")return false;let t=e;return "width"in t&&a(t.width)},op=e=>!e||typeof e!="object"?false:Object.values(e).every(tp),rp=e=>!e||typeof e!="object"?false:Object.values(e).every(op),qi=e=>!e||typeof e!="object"?false:Object.values(e).every(rp),Gi=()=>{try{let e=J();if(!e)return {};let t=e;return qi(t)?t:(console.warn("Invalid column settings in localStorage"),{})}catch(e){return console.warn("Failed to get sheetview columns:",e),{}}},np=e=>{if(!qi(e))return console.warn("Invalid data structure for sheetview columns"),false;try{return I(e),!0}catch(t){return console.warn("Failed to save sheetview columns:",t),false}},Yi=(e,t,o,r)=>{if(!sa$1(e)||!sa$1(t)||!sa$1(o))return r;try{return Gi()[e]?.[t]?.[o]?.width??r}catch(n){return console.warn("Failed to get column width:",n),r}},Ji=(e,t,o,r)=>{if(!sa$1(e)||!sa$1(t)||!sa$1(o)||!a(r))return console.warn("Invalid parameters for setColumnWidth"),false;try{let n=Gi();return n[e]||(n[e]={}),n[e][t]||(n[e][t]={}),n[e][t][o]?n[e][t][o].width=r:n[e][t][o]={width:r},np(n)}catch(n){return console.warn("Failed to set column width:",n),false}};var Re={MIN_WIDTH:25,MAX_WIDTH:1500,DEFAULT_WIDTH:100};var Zi=e=>{if(typeof e=="string"){let t=parseInt(e,10);return isNaN(t)?Re.DEFAULT_WIDTH:t}return e||Re.DEFAULT_WIDTH},sr=e=>Math.max(Re.MIN_WIDTH,Math.min(Re.MAX_WIDTH,e)),q=e=>{let t=String(e.id);return e.tableViewId?`${t}_${e.tableViewId}`:t},dr=(e,t)=>e.map(o=>{let r=q(o);return {...o,width:t[r]||o.width}}),Qi=(e,t)=>{e.current&&(document.removeEventListener("mousemove",e.current),e.current=void 0),t.current&&(document.removeEventListener("mouseup",t.current),t.current=void 0),document.body.style.cursor="",document.body.style.userSelect="";},ip=(e,t,o,r,n,a,l,s,i)=>p=>{try{let d=i.current-o,u=sr(t+d);l(f=>({...f,columnWidths:{...f.columnWidths,[e]:u},isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),r&&n&&(Ji(r,n,String(e),u)||console.warn(`Failed to persist column width for ${e}`)),a?.(e,u),p.stopPropagation(),p.preventDefault(),s();}catch(d){console.error("Error in mouse up handler:",d),s();}},ea=(e,t,o,r,n,a,l,s,i)=>p=>{try{let d=p.clientX;if(r?.current){let f=r.current.getBoundingClientRect(),w=f.left,m=f.right;a==="start"&&n===1&&(m=m-38),d=Math.max(w,Math.min(m,p.clientX));}l&&(l.current=d);let u=d;if(s&&i){let f=s.current-i.current+Re.MIN_WIDTH;d<f&&(u=f);}e(f=>({...f,resizeIndicatorX:u})),t({x:u,y:o.current});}catch(d){console.error("Error in mouse move handler:",d);}},ta=(e,t)=>e[t]||Re.DEFAULT_WIDTH,oa=(e,t,o,r,n,a,l)=>(s,i,p)=>d=>{ip(s,i,p,e,t,o,r,n,l)(d),setTimeout(()=>{a.current=false;},0);};var pr=({columns:e,onColumnResize:t,handleColumnClick:o,windowId:r,serviceCode:n,tableContainerRef:a})=>{let l=useMemo(()=>e.reduce((E,L)=>{let v=q(L),W=Zi(L.width),F=W;if(r&&n)try{F=Yi(r,n,v,W)??W;}catch(z){console.warn(`Failed to load stored width for column ${v}:`,z),F=W;}return E[v]=sr(F),E},{}),[r,n]),[{columnWidths:s,isResizing:i,resizingColumn:p,resizeIndicatorX:d},u]=useState(()=>({columnWidths:l,isResizing:false,resizingColumn:null,startX:0,startWidth:0,resizeIndicatorX:0})),[f,w]=useState({x:0,y:0}),m=useRef(false),h=useRef(0),b=useRef(0),y=useRef(0),c=useRef(0),g=useRef(),x=useRef();useEffect(()=>{u(E=>{let L=new Set(Object.keys(E.columnWidths)),v=new Set(Object.keys(l));return L.size!==v.size?{...E,columnWidths:l}:Array.from(v).some(F=>!L.has(F)||E.columnWidths[F]!==l[F])?{...E,columnWidths:l}:E});},[]);let S=useCallback(E=>ta(s,E),[s]),R=useCallback(()=>{Qi(g,x);},[]),T=useCallback((E,L,v)=>oa(r,n,t,u,R,m,b)(E,L,v),[r,n,t,R]),C=useCallback((E,L)=>ea(u,w,h,a,E,L,b,y,c),[a]),P=useCallback((E,L)=>{E.preventDefault(),E.stopPropagation();try{let v=S(L),W=E.clientX,F=e.find(D=>q(D)===L),z=F?e.filter(D=>D.pinned===F.pinned).findIndex(D=>q(D)===L):void 0,_=F?.pinned,M=E.currentTarget.closest('[data-testid="SheetViewVirtualTable_TableHeader_StyledCell"]'),H=E.clientY;if(M){let D=M.getBoundingClientRect();H=D.top+D.height/2;}u(D=>({...D,isResizing:!0,resizingColumn:L,startX:W,startWidth:v,resizeIndicatorX:W,resizingColumnIndex:z,resizingColumnPinned:_})),h.current=H,b.current=W,y.current=W,c.current=v,w({x:W,y:H}),m.current=!0;let O=C(z,_),$=T(L,v,W);g.current=O,x.current=$,document.addEventListener("mousemove",O),document.addEventListener("mouseup",$),document.body.style.cursor="none",document.body.style.userSelect="none";}catch(v){console.error("Error starting resize:",v),R();}},[S,C,T,R,e]),V=useCallback(()=>{try{u(E=>({...E,isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),m.current=!1,R();}catch(E){console.error("Error stopping resize:",E),R();}},[R]),I=useCallback(()=>m.current,[]),k=useCallback((E,L,v)=>{I()||o(E,L,v);},[o,I]);return useEffect(()=>R,[R]),{columnWidths:s,isResizing:i,resizingColumn:p,resizeIndicatorX:d,cursorPosition:f,getColumnWidth:S,startResize:P,stopResize:V,isCurrentlyResizing:I,handleColumnClick:k}};var mr=({pinnedStartColumnsData:e,pinnedEndColumnsData:t,columnWidths:o})=>{let r=useMemo(()=>e.reduce((s,i)=>{let p=q(i),d=o[p]||parseInt(String(i.width))||150;return s+d},.2),[e,o]),n=useMemo(()=>t.reduce((s,i)=>{let p=q(i),d=o[p]||parseInt(String(i.width))||150;return s+d},.2),[t,o]),a=useMemo(()=>e.map(s=>{let i=q(s);return {...s,width:o[i]||s.width}}),[e,o]),l=useMemo(()=>t.map(s=>{let i=q(s);return {...s,width:o[i]||s.width}}),[t,o]);return {pinnedStartColumnsWidth:r,pinnedEndColumnsWidth:n,pinnedStartColumnsDataWithWidths:a,pinnedEndColumnsDataWithWidths:l}};var up=styled("section")(({isLoaded:e=false,isPinned:t=false})=>({overflow:"hidden",paddingInline:e&&!t?"32px":"0px",backgroundColor:e&&!t?"rgba(255, 255, 255, 0.60)":"none",filter:e&&!t?"blur(8px)":"none",marginTop:e&&!t?"1rem":"0",height:"100%",maxHeight:"100%"}));function cp({columns:e,isLoaded:t=false,animationType:o,isLoading:r=false,rowsCount:n=13,isPinned:a=false}){let[l,s]=useState(()=>n||Math.min(na(t,r),15));return useEffect(()=>{if(n){s(n);return}let i=()=>{let u=document.querySelector('[data-testid="SheetViewTableLoading"]');if(!u)return Math.min(na(t,r),25);let f=u.parentElement?.clientHeight||0,w=28,h=f-40;if(h<=0)return Math.min(na(t,r),25);let b=Math.floor(h/w);return Math.max(3,Math.min(b+2,25))},p=i();s(p);let d=()=>{let u=i();s(u);};return window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)},[t,r,n]),jsx(up,{isLoaded:t,isPinned:a,"data-testid":"SheetViewTableLoading",children:[...Array(l)].map((i,p)=>jsx(rt,{columns:e,animationType:o,rowIndex:p,useTableBackground:!a},`i-${ls("SheetViewTableLoadingRow_")}`))})}var le=memo(cp);function aa({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,orderedColumns:a,triggerDataRefetch:l,footerProps:s}){let i;if(n)i=jsx(_e,{"data-testid":"SheetViewVirtualTable_SolidBackground",children:jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:a,isLoading:true,isPinned:false})});else if(o)i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:l,sandboxMode:s?.sandboxMode});else if(r){let p=e,{formatted:d}=mb({error:p,fallbackMessage:"connectionErrorMsg"});i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:d,triggerDataRefetch:l,sandboxMode:s?.sandboxMode});}else if(t){let p=e,{formatted:d}=mb({error:p,fallbackMessage:"tryAdjustingTheDateOrFilters"});i=jsx($t,{sandboxMode:s?.sandboxMode,heading:"nothingFound",message:d});}else i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:l,sandboxMode:s?.sandboxMode});return i}aa.displayName="SheetViewTableNoData";var bp=memo(aa);function Tp({column:{header:e,id:t,tableViewId:o,align:r,headerStyle:n,sortable:a,filter:l,pinnable:s,width:i,order:p,pinned:d},colIndex:u,isFirst:f,isLast:w,isSelected:m,isDefaultPinned:h,onColumnSort:b,columnsSorting:y,onColumnPin:c,isPinnable:g,lastColumnId:x,onColumnClick:S,pinnedColumns:R,onStartResize:T,isResizing:C=false,resizingColumn:P=null}){let V=q({id:t,tableViewId:o}),[I,k]=useState(null),E=useRef(null),{isFilterApplied:L}=et({filter:l}),v=useCallback(M=>R?.includes(M),[R]),W=useMemo(()=>v(t),[t,v]),F=M=>{v(M)?c?.(M,"unpin"):M===x?c?.(M,"end"):c?.(M,"start");},z=()=>{k(E.current);};return jsxs(we,{"data-id":t,component:"div","data-testid":"SheetViewVirtualTable_TableHeader_StyledCell","data-column-id":t,"data-column-width":i,"data-column-width-used":i,"data-column-align":r,"data-column-order":p,"data-column-header":typeof e=="string"?e:"component","data-column-sortable":!!a,"data-column-filterable":!!l,"data-column-pinned":W,isFirst:f,isLast:w,isSheetView:true,ref:E,onClick:M=>{M.target===M.currentTarget&&S?.(u,M,d);},sx:M=>({display:"flex",gap:M.spacing(.5),alignItems:"center",justifyContent:r==="right"?"flex-end":"flex-start",width:i,textAlign:r,overflow:"visible !important",cursor:"pointer",boxSizing:"border-box",border:"0.5px solid transparent",borderColor:m?"#1F88D0":"#F2F2F2",borderBottom:m?"0.5px solid transparent":"0.5px solid #F2F2F2",backgroundColor:m?"#F2F2F2":"#FCFCFC",minHeight:"28px",position:"relative","&:before":{content:'""',borderBottom:"none",position:"absolute",top:0,right:0,left:0,bottom:0},...n}),children:[jsxs(Bt,{onClick:M=>{M.stopPropagation(),z();},children:[typeof e=="function"?e():jsx(Te,{"data-testid":"SheetViewTableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e&&jsx(vi,{"data-testid":"SheetViewVirtualTable_TableHeader_StyledCell_header_text",children:e})}),l&&jsx(Qe,{...l,anchorEl:I,setAnchorEl:k,isFilterApplied:L}),a&&jsx(Wt,{columnId:t,onColumnSort:b,columnsSorting:y,onClick:M=>{S?.(u,M,d);}}),g&&s&&!h&&!w&&jsx(Mi,{onClick:M=>{M.stopPropagation(),F(t);},title:W?"Unpin column":"Pin column",children:jsx("img",{src:W?bi$1:ai$1,alt:"pin-icon"})})]}),T&&d!=="end"&&jsx(ar,{columnId:V,onStartResize:T,isResizing:C,isLast:w})]})}var sa=memo(Tp);function Ip({columns:e,headerProps:t,showBackDrop:o,onColumnSort:r,columnsSorting:n,pinnedColumns:a=[],onColumnPin:l,isPinnable:s=false,lastColumnId:i,selectedColumn:p=null,onColumnClick:d,onStartResize:u,isResizing:f=false,resizingColumn:w=null}){return jsx(Wi,{component:"nav","data-testid":"SheetViewVirtualTable_TableHeader_StyledHeader",showBackDrop:o,...t,children:jsx(Fi,{component:"section","data-testid":"SheetViewVirtualTable_TableHeader_StyledMUITableRow",children:e.map((m,h)=>{let b=`${m.pinned??"default"}-${h}`;return jsx(sa,{column:m,colIndex:h,isFirst:m.id===e[0].id,isLast:m.id===e[e.length-1].id,isDefaultPinned:!!m.isDefaultPinned,isSelected:p===b,onColumnSort:r,columnsSorting:n,pinnedColumns:a,onColumnPin:l,isPinnable:s,lastColumnId:i,onColumnClick:d,onStartResize:u,isResizing:f,resizingColumn:w},`${m.id}-${h}`)})})})}var se=memo(Ip);function Vp({columnsData:e,itemCount:t,lastItemIndex:o,areAllRowsLoaded:r,loadMoreItems:n,threshold:a,getItemSize:l,getItemData:s,isPinned:i,fixedWidth:p,scrollToIndex:d,areTotalRowsNotFillingHeight:u,clearBackdropVisibilityTimeout:f,onScroll:w,setBackdropVisibility:m,listRef:h,overscanCount:b=40}){return jsx(Js,{isItemLoaded:c=>c!==o,itemCount:t,loadMoreItems:async()=>{r||await n?.();},threshold:a,children:({onItemsRendered:c,ref:g})=>jsx(Ys,{ref:g,children:({height:x,width:S})=>{let R=C=>l(C,x),T=s(e,i,x);return jsx(Ae,{listRef:h,height:x,width:p||S,itemCount:t,itemSize:R,itemData:T,onItemsRendered:c,overscanCount:b,setBackdropVisibility:m,scrollToIndex:d,areTotalRowsNotFillingHeight:u,useIsScrolling:true,onScroll:w,clearBackdropVisibilityTimeout:f,style:{overflowX:i?"hidden":"auto",paddingBottom:i?"25px":"13px",backgroundColor:i?"transparent":"#F6F8FACC"},children:jt})}})})}var fr=memo(Vp);function vp({position:e,columnsData:t,columnsWidth:o,pinnedColumnsList:r,showHeader:n,columnsSorting:a,onColumnSort:l,headerProps:s,showBackDrop:i,onColumnPin:p,isPinnable:d,lastColumnId:u,selectedColumn:f,onColumnClick:w,hasPinnedStart:m,hasPinnedEnd:h,tableTitle:b,areAllRowsLoaded:y,isFetchingNextPage:c,scrollToIndex:g,isLoading:x,isError:S,hasTimeoutError:R,tableMode:T,showNoDataView:C,tableLoading:P,createVirtualTableContainer:V,onStartResize:I,isResizing:k,resizingColumn:E}){let L=useTheme();if(t.length===0)return null;let v=e==="start"?Hi:Bi,W=e==="start"?"pinnedStart":"pinnedEnd";return jsx(v,{children:jsxs(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":b,"data-direction":L.direction,"data-are-all-rows-loaded":!!y,"data-is-fetching-next-page":!!c,"data-scroll-to-index":g,"data-is-loading":!!x,"data-is-error":!!S,"data-is-error-timeout":!!R,"data-table-mode":T,height:"100%",dir:L.direction,showNoDataView:C,children:[n&&jsx(se,{"data-testid":"SheetViewVirtualTable_PinnedTableHeader",columnsSorting:a,onColumnSort:l,columns:t,headerProps:s,showBackDrop:i,pinnedColumns:r,onColumnPin:p,isPinnable:d,lastColumnId:u,selectedColumn:f,onColumnClick:w,tablePosition:e==="start"?"pinnedStart":"pinnedEnd",hasPinnedStart:m,hasPinnedEnd:h,onStartResize:I,isResizing:k,resizingColumn:E}),jsx(A,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content",overflowX:"hidden"},children:jsx(be,{"data-testid":"SheetViewVirtualTable_PinnedStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:P?jsx(le,{"data-testid":`SheetViewVirtualTable_PinnedTableLoading_${e}`,columns:t,isLoading:true,isPinned:true}):V(t,W,true,o)})})]})})}var Ke=memo(vp);function Dp({hasPinnedStart:e,hasPinnedEnd:t,unpinnedColumnsData:o,showHeader:r,columnsSorting:n,onColumnSort:a,headerProps:l,showBackDrop:s,pinnedStartColumns:i,pinnedEndColumns:p,onColumnPin:d,isPinnable:u,lastColumnId:f,selectedColumn:w,onColumnClick:m,tableTitle:h,areAllRowsLoaded:b,isFetchingNextPage:y,scrollToIndex:c,isLoading:g,isError:x,hasTimeoutError:S,tableMode:R,showNoDataView:T,tableBodyStyles:C,tableLoading:P,createVirtualTableContainer:V,onStartResize:I,isResizing:k,resizingColumn:E}){let L=useTheme();return jsx(qt,{hasPinnedStart:e,hasPinnedEnd:t,children:jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":h,"data-direction":L.direction,"data-are-all-rows-loaded":!!b,"data-is-fetching-next-page":!!y,"data-scroll-to-index":c,"data-is-loading":!!g,"data-is-error":!!x,"data-is-error-timeout":!!S,"data-table-mode":R,height:"100%",dir:L.direction,showNoDataView:T,scrollable:true,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:T,sx:{...C,display:"flex",flexDirection:"column",height:"100%"},children:[r&&jsx(Ue,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_UnpinnedTableHeader",columnsSorting:n,onColumnSort:a,columns:o,headerProps:l,showBackDrop:s,pinnedColumns:[...i,...p],onColumnPin:d,isPinnable:u,lastColumnId:f,selectedColumn:w,onColumnClick:m,tablePosition:"scrollable",hasPinnedStart:e,hasPinnedEnd:t,onStartResize:I,isResizing:k,resizingColumn:E})}),jsx(A,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(be,{"data-testid":"SheetViewVirtualTable_ScrollableStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:P?jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:o,isLoading:true,isPinned:false}):V(o,"scrollable",false)})})]})})})}var br=memo(Dp);function _p({hasPinnedStart:e,hasPinnedEnd:t,unpinnedColumnsData:o,showHeader:r,columnsSorting:n,onColumnSort:a,headerProps:l,showBackDrop:s,pinnedStartColumns:i,pinnedEndColumns:p,onColumnPin:d,isPinnable:u,lastColumnId:f,selectedColumn:w,onColumnClick:m,tableTitle:h,areAllRowsLoaded:b,isFetchingNextPage:y,scrollToIndex:c,isLoading:g,isError:x,hasTimeoutError:S,tableMode:R,showNoDataView:T,tableBodyStyles:C}){let P=useTheme();return jsx(qt,{hasPinnedStart:e,hasPinnedEnd:t,children:jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox_Loading","data-title":h,"data-direction":P.direction,"data-are-all-rows-loaded":!!b,"data-is-fetching-next-page":!!y,"data-scroll-to-index":c,"data-is-loading":!!g,"data-is-error":!!x,"data-is-error-timeout":!!S,"data-table-mode":R,height:"100%",dir:P.direction,showNoDataView:T,scrollable:true,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_LoadingTableWrapper",showNoDataView:T,sx:{...C,display:"flex",flexDirection:"column",height:"100%"},children:[r&&jsx(Ue,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:n,onColumnSort:a,columns:o,headerProps:l,showBackDrop:s,pinnedColumns:[...i,...p],onColumnPin:d,isPinnable:u,lastColumnId:f,selectedColumn:w,onColumnClick:m,tablePosition:"scrollable",hasPinnedStart:e,hasPinnedEnd:t})}),jsx(A,{"data-testid":"VirtualTable_LoadingTableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(be,{"data-testid":"SheetViewVirtualTable_LoadingStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},children:jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:o,isLoading:true,isPinned:false})})})]})})})}var hr=memo(_p);function $p({tableLoading:e,tableError:t,tableEmpty:o,hasTimeoutError:r,orderedColumns:n,showHeader:a,columnsSorting:l,onColumnSort:s,headerProps:i,showBackDrop:p,onColumnPin:d,lastColumnId:u,selectedColumn:f,onColumnClick:w,tableTitle:m,areAllRowsLoaded:h,isFetchingNextPage:b,scrollToIndex:y,isLoading:c,isError:g,tableMode:x,tableBodyStyles:S,error:R,triggerDataRefetch:T,footerProps:C,customNoDataComponent:P}){let V=useTheme(),I=e||t||o||r;return jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":m,"data-direction":V.direction,"data-are-all-rows-loaded":!!h,"data-is-fetching-next-page":!!b,"data-scroll-to-index":y,"data-is-loading":!!c,"data-is-error":!!g,"data-is-error-timeout":!!r,"data-table-mode":x,height:"100%",dir:V.direction,showNoDataView:I,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:I,sx:S,children:[a&&jsx(Ue,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:l,onColumnSort:s,columns:n,headerProps:i,showBackDrop:p,pinnedColumns:[],onColumnPin:d,isPinnable:false,lastColumnId:u,selectedColumn:f,onColumnClick:w})}),P||jsx(ot,{error:R||null,tableEmpty:o,isTimeoutError:r,tableError:t,tableLoading:e,orderedColumns:n,triggerDataRefetch:T||(()=>Promise.resolve()),footerProps:C})]})})}var gr=memo($p);function qp({columns:e,rows:t,threshold:o=20,showHeader:r,headerProps:n,rowProps:a,footerProps:l,rowHeight:s=28,isLoading:i,error:p,columnsSorting:d,onColumnSort:u,loadMoreItems:f,isFetchingNextPage:w,triggerDataRefetch:m,scrollToIndex:h,areAllRowsLoaded:b=false,tableBodyStyles:y,tableTitle:c,onColumnPin:g,clearBackdropVisibilityTimeout:x=100,isPinnable:S=false,tableMode:R,overscanCount:T,windowId:C,serviceCode:P,customNoDataComponent:V,defaultSkeleton:I=true}){let k=useMemo(()=>Ob(e,i??false,I),[e,i,I]),{selectedCell:E,selectedColumn:L,selectedRow:v,showBackDrop:W,setShowBackdrop:F,handleCellClick:z,handleColumnClick:_,handleChipClick:K,selectedChip:M}=tr(),H=useRef(null),O=useRef(null),{isError:$,tableLoading:D,tableError:oo,tableEmpty:Z,hasTimeoutError:ne,showNoDataView:je,lastItemIndex:ie,areTotalRowsNotFillingHeight:xe,itemsCount:dt,isDelayedFetchingNextPage:Ce}=or({rows:t,isLoading:i,error:p,isFetchingNextPage:w,areAllRowsLoaded:b}),{pinnedStartColumns:B,pinnedEndColumns:U,handleColumnPin:Se,pinnedStartColumnsData:ro,pinnedEndColumnsData:no,unpinnedColumnsData:pt,orderedColumns:Sr,lastColumnId:pa}=Qo(k,S,g),{pinnedStartVirtualListRef:mt,scrollableVirtualListRef:ut,pinnedEndVirtualListRef:ct,handleScroll:yr}=er();useEffect(()=>{mt.current?.resetAfterIndex(0),ut.current?.resetAfterIndex(0),ct.current?.resetAfterIndex(0);},[t.length,mt,ut,ct]);let{columnWidths:qe,isResizing:io,resizingColumn:ma,resizeIndicatorX:ua,cursorPosition:Tr,startResize:ca,handleColumnClick:fa}=pr({columns:k,handleColumnClick:_,windowId:C,serviceCode:P,tableContainerRef:O}),wr=nr({tableContainerRef:H,showHeader:r??false,isResizing:io}),{pinnedStartColumnsWidth:Ir,pinnedEndColumnsWidth:Rr,pinnedStartColumnsDataWithWidths:Q,pinnedEndColumnsDataWithWidths:ee}=mr({pinnedStartColumnsData:ro,pinnedEndColumnsData:no,columnWidths:qe}),Pr=useMemo(()=>dr(pt,qe),[pt,qe]),ba=useMemo(()=>dr(Sr,qe),[Sr,qe]),{getItemSize:Er,getItemDataForContainer:Vr}=rr({rowHeight:s,areAllRowsLoaded:b,rows:t,isDelayedFetchingNextPage:Ce,rowProps:a,scrollToIndex:h,footerProps:l,isError:$,selectedCell:E,selectedColumn:L,selectedRow:v,selectedChip:M,handleCellClick:z,handleChipClick:K}),Ge=useCallback((ha,ft,ga=false,xa)=>jsx(fr,{columnsData:ha,itemCount:dt,lastItemIndex:ie,areAllRowsLoaded:b,loadMoreItems:f,threshold:o,getItemSize:Er,getItemData:Vr,isPinned:ga,fixedWidth:xa,scrollToIndex:h,areTotalRowsNotFillingHeight:xe,clearBackdropVisibilityTimeout:x,onScroll:Ca=>{yr(Ca,ft==="pinnedStart"?"start":ft==="pinnedEnd"?"end":"scrollable");},setBackdropVisibility:F,listRef:ft==="pinnedStart"?mt:ft==="pinnedEnd"?ct:ut,overscanCount:T}),[dt,ie,b,f,o,Er,Vr,h,xe,x,yr,F,mt,ct,ut,T]),Lr={showHeader:r,columnsSorting:d,onColumnSort:u,headerProps:n,showBackDrop:W,onColumnPin:Se,isPinnable:S,lastColumnId:pa,selectedColumn:L,onColumnClick:fa,tableTitle:c,areAllRowsLoaded:b,isFetchingNextPage:w,scrollToIndex:h,isLoading:i,isError:$,tableMode:R,showNoDataView:je,tableBodyStyles:y,onStartResize:ca,isResizing:io,resizingColumn:ma},ke={...Lr,hasTimeoutError:ne,tableLoading:D};return jsxs(Fragment,{children:[jsx(ei,{ref:H,children:je?D?jsxs(Zo,{ref:O,children:[Q.length>0&&jsx(Ke,{position:"start",columnsData:Q,columnsWidth:Ir,pinnedColumnsList:B,hasPinnedStart:Q.length>0,hasPinnedEnd:ee.length>0,createVirtualTableContainer:Ge,...ke}),jsx(hr,{hasPinnedStart:Q.length>0,hasPinnedEnd:ee.length>0,unpinnedColumnsData:Pr,pinnedStartColumns:B,pinnedEndColumns:U,...ke}),ee.length>0&&jsx(Ke,{position:"end",columnsData:ee,columnsWidth:Rr,pinnedColumnsList:[...B,...U],hasPinnedStart:Q.length>0,hasPinnedEnd:ee.length>0,createVirtualTableContainer:Ge,...ke})]}):jsx(gr,{tableLoading:D,tableError:oo,tableEmpty:Z,hasTimeoutError:ne,orderedColumns:ba,error:p,triggerDataRefetch:m,footerProps:l,customNoDataComponent:V,...Lr}):jsxs(Zo,{ref:O,children:[Q.length>0&&jsx(Ke,{position:"start",columnsData:Q,columnsWidth:Ir,pinnedColumnsList:B,hasPinnedStart:Q.length>0,hasPinnedEnd:ee.length>0,createVirtualTableContainer:Ge,...ke}),jsx(br,{hasPinnedStart:Q.length>0,hasPinnedEnd:ee.length>0,unpinnedColumnsData:Pr,pinnedStartColumns:B,pinnedEndColumns:U,createVirtualTableContainer:Ge,...ke}),ee.length>0&&jsx(Ke,{position:"end",columnsData:ee,columnsWidth:Rr,pinnedColumnsList:[...B,...U],hasPinnedStart:Q.length>0,hasPinnedEnd:ee.length>0,createVirtualTableContainer:Ge,...ke})]})}),jsx(He,{"data-testid":"SheetViewVirtualTable_TableFooter",showSeparator:true,showBackDrop:W,...l}),jsx(lr,{isVisible:io,indicatorX:ua,indicatorHeight:wr.height,indicatorTop:wr.top,iconX:Tr.x,iconY:Tr.y})]})}var Gp=memo(qp);export{gr as $,qo as A,Jo as B,Md as C,Zg as D,Qg as E,vi as F,Mi as G,Wi as H,Fi as I,Zo as J,Hi as K,Bi as L,qt as M,Ue as N,Qo as O,er as P,tr as Q,or as R,rr as S,Nd as T,nr as U,le as V,bp as W,se as X,Ke as Y,br as Z,hr as _,sn as a,Gp as aa,Et as b,vt as c,Qe as d,So as e,To as f,wo as g,we as h,et as i,Vo as j,ko as k,Mo as l,Wo as m,Fo as n,Ho as o,ot as p,_o as q,No as r,rt as s,_s as t,Ns as u,ed as v,Uo as w,Xo as x,Ko as y,jo as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {no}from'./chunk-35FTGOAE.js';import s from'dayjs';import w from'dayjs/plugin/relativeTime';import $ from'dayjs/plugin/timezone';import Y from'dayjs/plugin/utc';import N from'dayjs/plugin/calendar';import z from'dayjs/plugin/isToday';import S from'dayjs/plugin/isYesterday';var C=e=>typeof e=="number"&&!isNaN(e)&&isFinite(e)&&e>0;function F(e){if(!e)return "";let t=e%10,n=e%100;return `${e}${n>9&&n<14?"th":t===1?"st":t===2?"nd":t===3?"rd":"th"}`}var h=Intl.NumberFormat("en-US");function U(e){return h.format(e)}var O=e=>{if(typeof e=="number")return Number.isFinite(e)?e:0;if(e==null)return 0;let t=String(e).trim();if(t==="")return 0;let n=t.includes(",")&&!t.includes(".")?t.replace(/,/g,"."):t.replace(/,/g,""),r=Number(n);return Number.isFinite(r)?r:0},A=e=>O(e),I=(e,t)=>t?e.toFixed(t):e.toString();function u(e,t=2){return e.toString().padStart(t,"0")}var L=e=>`0.${"0".repeat(e)}`;function W(e){let t=e.replace(/,/g,"");if(t==="")return "";let n=t.indexOf("."),r=n!==-1,o=(r?t.slice(0,n):t).replace(/\D/g,""),i=r?t.slice(n+1).replace(/\D/g,""):"";o.length>1&&(o=o.replace(/^0+(?=\d)/,"")),o===""&&r&&(o="0");let a=o.replace(/\B(?=(\d{3})+(?!\d))/g,",");return r?`${a}.${i}`:a}function E(e,t){let n=0,r=0;for(;r<e.length&&n<t;)e[r]!==","&&(n+=1),r+=1;return r}s.extend(z);s.extend(S);s.extend(Y);s.extend($);s.extend(w);s.extend(N);var d=e=>{if(typeof e=="number")return Number.isFinite(e)?e:0;if(!e)return 0;let t=e.trim().match(/^(?:UTC|GMT)?\s*([+-])?(\d{1,2})(?::?(\d{2}))?$/i);if(!t)return 0;let[,n,r,o]=t,i=Number(r)+Number(o??0)/60;return n==="-"?-i:i},K=(e=0)=>{let t=e<0?"-":"+",n=Math.abs(e),r=Math.floor(n),o=Math.round((n-r)*60);return `UTC${t}${u(r)}:${u(o)}`},Z=(e=6)=>{let t=Number.isFinite(e)&&e>=0?e:0,n=s(),r=n.subtract(t,"day").startOf("day"),o=n.endOf("day");return [r.toDate(),o.toDate()]},q=e=>{let t=new Date(e),n=t.getTimezoneOffset(),r=t.getTime()-n*6e4,i=new Date(r).toISOString();return s(i).valueOf()},J=(e,t=no.KW)=>{if(!e)return;let n=new Date(e),r=n.getTimezoneOffset(),i=d(t)*60-r,a=n.getTime()+i*6e4,c=new Date(a).toISOString();return s(c).valueOf()},Q=(e,t=0)=>e?s(e).utc(true).subtract(t,"hour").valueOf():void 0,X=e=>{let t=new Date(e),n=t.getTimezoneOffset(),r=t.getTime()+n*6e4;return new Date(r)},ee=(e,{currentTimezone:t,targetTimezone:n})=>{if(!e)return "";let r=new Date(e);if(Number.isNaN(r.getTime()))return "";if(t==null||n==null||t==null||n==null)return r;let o=d(t),a=d(n)-o,m=r.getTime()+a*6e4*60;return new Date(m)},te=e=>Array.from({length:e??31},(t,n)=>n+1).map(t=>({id:t,label:t})),ne=e=>Array.from({length:e??12},(t,n)=>n+1).map(t=>({id:t,label:t})),x=({length:e=10,startYear:t,direction:n="future"}={})=>{let r=new Date().getFullYear(),o=t!==void 0?r-t+1:e,i=t!==void 0||n==="past"?-1:1;return Array.from({length:o},(a,m)=>{let c=r+i*m;return {id:c,label:c}})},re=(e,t,n,r,o=true)=>{if(e==null||e==="")return "";let i=new Date(e);if(Number.isNaN(i.getTime()))return "";let a=r??n,m=D=>a==null?D:D.utcOffset(Math.round(d(a)*60)),c=m(s(i)),p=m(s()),f=o?", h:mma":"",g=c.isSame(p,"year")?"MMM DD":"MMM DD, YYYY",y={sameDay:`[Today]${f}`,nextDay:`[Tomorrow]${f}`,lastDay:`[Yesterday]${f}`,sameElse:`${g}${f}`,lastWeek:`${g}${f}`,nextWeek:`${g}${f}`};return c.calendar(p,t??y)},oe=(e,t="YYYY-MM-DD")=>{let n=new Date(e);return Number.isNaN(n.getTime())?"":s(e).format(t)},se=e=>s(e).endOf("day").toDate().valueOf();function ie(e){let t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=Math.floor(e%60);return t>0?`${u(t)}:${u(n)}:${u(r)}`:`${u(n)}:${u(r)}`}function T(e,t,n="seconds"){let r={seconds:1,minutes:60,hours:3600,days:86400};return (Date.now()-e)/1e3<t*r[n]}var ae=e=>{let t=Date.now(),n=Math.floor((t-e)/1e3),r=Math.floor(n/60);return T(e,60,"seconds")?"just now":T(e,60,"minutes")?`${r} min${r===1?"":"s"} ago`:"1 hour ago"},ue=e=>s(e).isToday(),me=e=>s(e).isYesterday(),M=1970,ce=()=>x({startYear:M}),fe=(e=10)=>x({length:e,direction:"past"});function le(e,t){if(!e)return null;let n=s(e);if(!n.isValid())return null;try{return new Date(n.tz(t).format("YYYY-MM-DDTHH:mm:ss.SSS"))}catch{return null}}var l=["sun","mon","tue","wed","thur","fri","sat"];function de(e="sun"){let t=l.indexOf(e.toLowerCase());return t===-1?(console.error(`${e} is not a valid day`),l):[...l.slice(t),...l.slice(0,t)]}var ge=e=>{if(e==null)return;let t=s(e);return t.isValid()?t.valueOf():void 0};export{ae as A,ue as B,me as C,ce as D,fe as E,le as F,de as G,ge as H,C as a,F as b,U as c,O as d,A as e,I as f,u as g,L as h,W as i,E as j,d as k,K as l,Z as m,q as n,J as o,Q as p,X as q,ee as r,te as s,ne as t,x as u,re as v,oe as w,se as x,ie as y,T as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {p}from'./chunk-UHFL62LB.js';import {qa,Vb,ya as ya$1}from'./chunk-7IPJF2Q5.js';import {Tk,ya,xa,wa,Qj}from'./chunk-35FTGOAE.js';import {memo,useId}from'react';import C from'@mui/material/Box';import O from'lodash/capitalize';import {useTranslation}from'react-i18next';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var D=styled(C,{shouldForwardProp:o=>o!=="tableMode"})(({theme:o,tableMode:t})=>({fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"4px 8px",borderRadius:"24px",border:`1px solid ${o.palette.divider}`,color:o.palette.text.primary,height:qa(t)?"18px":"24px"}));var e={DESKTOP:wa,PHONE:xa,TABLET:ya,TERMINAL:Tk};var i=o=>!!e[o];function S({type:o,isTextShown:t,tableMode:T,...E}){let p$1=Vb(useId(),"device-icon"),{t:v}=useTranslation(),m=i(o)?e[o]:null;return jsx(p,{title:m?`Device - ${ya$1((o??"").toLowerCase())}`:v("unKnown"),children:t?jsx(D,{id:p$1,"data-testid":"DeviceIcon",tableMode:T,children:o?O(o):"Unknown"}):jsx(C,{...E,id:p$1,"data-testid":"DeviceIcon",component:"img",src:o?m||Qj:Qj,alt:o})})}var b=memo(S);var X=b;export{e as a,i as b,X as c};
|