@tap-payments/os-micro-frontend-shared 0.1.455 → 0.1.456

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/build/chunk-IC6KWKW2.js +1 -0
  2. package/build/chunk-NMSLD52P.js +1 -0
  3. package/build/{chunk-5RDWZIVP.js → chunk-NWGVNDLM.js} +1 -1
  4. package/build/{chunk-GXS65OVW.js → chunk-RWSDQOMA.js} +1 -1
  5. package/build/components/Amount/index.js +1 -1
  6. package/build/components/AmountConversionFilter/index.js +1 -1
  7. package/build/components/AmountInput/index.js +1 -1
  8. package/build/components/AppServices/index.js +1 -1
  9. package/build/components/AppServicesBar/index.js +1 -1
  10. package/build/components/BrandLogo/index.js +1 -1
  11. package/build/components/CopyImage/index.js +1 -1
  12. package/build/components/CountryFilter/index.js +1 -1
  13. package/build/components/CurrencyFilter/index.js +1 -1
  14. package/build/components/Customer/index.js +1 -1
  15. package/build/components/DateFilter/index.js +1 -1
  16. package/build/components/Discount/index.js +1 -1
  17. package/build/components/FileInputPreview/index.js +1 -1
  18. package/build/components/FilterDropdown/index.js +1 -1
  19. package/build/components/Filters/index.js +1 -1
  20. package/build/components/FlagDetails/index.js +1 -1
  21. package/build/components/JSONViewer/index.js +1 -1
  22. package/build/components/LanguageDropdown/index.js +1 -1
  23. package/build/components/ListColumnFilter/index.js +1 -1
  24. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  25. package/build/components/MerchantLogo/index.js +1 -1
  26. package/build/components/MerchantsDropdown/index.js +1 -1
  27. package/build/components/PartnersFilter/index.js +1 -1
  28. package/build/components/PaymentSourceFilter/index.js +1 -1
  29. package/build/components/PhoneFilter/index.js +1 -1
  30. package/build/components/RangeCalender/index.js +1 -1
  31. package/build/components/ReceiptsViewer/index.js +1 -1
  32. package/build/components/ReferenceTypeFilter/index.js +1 -1
  33. package/build/components/SalesChannelFilter/index.js +1 -1
  34. package/build/components/StatusFilter/index.js +1 -1
  35. package/build/components/StatusIcons/index.js +1 -1
  36. package/build/components/TableCells/index.js +1 -1
  37. package/build/components/TableHeader/index.js +1 -1
  38. package/build/components/TableReports/index.js +1 -1
  39. package/build/components/TreeDropdown/index.js +1 -1
  40. package/build/components/VAT/index.js +1 -1
  41. package/build/components/VerificationIcon/index.js +1 -1
  42. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  43. package/build/components/VirtualTables/VirtualTable/VirtualTable.d.ts +1 -1
  44. package/build/components/VirtualTables/components/TableFooter/TableFooter.d.ts +1 -1
  45. package/build/components/VirtualTables/components/TableHeader/TableHeader.d.ts +1 -1
  46. package/build/components/VirtualTables/components/TableHeader/type.d.ts +3 -0
  47. package/build/components/VirtualTables/components/TableRow.d.ts +5 -2
  48. package/build/components/VirtualTables/components/style.d.ts +6 -0
  49. package/build/components/VirtualTables/index.js +1 -1
  50. package/build/components/WindowSideBar/index.js +1 -1
  51. package/build/components/index.js +1 -1
  52. package/build/index.js +1 -1
  53. package/build/types/table.d.ts +8 -0
  54. package/package.json +1 -1
  55. package/build/chunk-BRUTEBB2.js +0 -1
  56. package/build/chunk-RF4TTYPG.js +0 -1
package/build/index.js CHANGED
@@ -1 +1 @@
1
- export{V as ActionCell,X as ActionIconColumn,T as ActionIconsVariants,c as ActionMenu,a as ActionMenuDropDown,b as ActionMenuItem,W as ActionsColumn,Ba as AgreementCell,Y as AgreementIcon,N as AmountCell,E as AmountCellContainer,P as AmountCellSheet,O as AmountCellText,Uc as AmountConversionFilter,K as AmountConversionTooltipLabel,Wb as AmountInput,Ub as AppServices,Xb as AppServicesBar,jb as ApplicationStatusCell,qb as AppsCell,Ca as AuthCell,_ as AuthIcons,Z as AuthSourceAnimation,Wa as AuthenticationCell,Rc as AuthenticationMode,Aa as AuthenticationModeBadge,Ma as AuthenticationStatusCell,Na as AuthenticationTypeCell,aa as AuthorizationAutoIcons,ba as AuthorizedIcon,p as AvatarStyled,k as BadgeWrapper,ta as BalanceCell,ua as BalanceCellSheet,Ha as BankCell,Ua as BankReferenceCell,cb as BrandCell,Yb as BrandLogo,nb as BrandsCell,r as CaptureTextLabel,Oa as ChannelsCell,ab as ChargeStatus,ca as ChargeStatusIcon,Xa as CheckoutStatusCell,F as ConversionBadge,I as ConversionTooltip,J as ConversionTooltipRow,L as ConversionTypeLabel,yb as CopyImage,mc as CountriesItem,uc as CountryFilter,nc as CurrenciesItem,Sa as CurrencyCell,Tc as CurrencyFilter,M as CurrencyInfo,G as CurrencySpan,C as CustomerCell,D as CustomerCellSheet,vc as CustomerDropdown,wc as CustomerEmailForm,xc as CustomerFullInfoForm,da as CustomerInitiatedIcon,yc as CustomerPhoneNumberForm,z as DateCell,Sc as DateFilter,y as DateViewer,H as DecimalSpan,pa as DestinationCell,qa as DestinationCellSheet,ra as DestinationCellText,na as DestinationIcon,Ka as DestinationStatusCell,oa as DeviceCell,fa as DeviceIconChip,gc as DiscountDropdown,fc as DiscountRateDropdown,ga as DisputeIcon,Lc as DownloadButton,Kc as DownloadIconButton,Pa as DueDateCell,ib as EntityCell,Ac as FileInputPreview,Hc as FilterCancelButton,jc as FilterDropdown,Fc as FilterFooter,Gc as FilterOkayButton,Ec as FilterTitle,Pb as FiltersRow,Fb as FiltersRowContainer,Gb as FiltersRowWrapper,zb as FlagDetails,i as GeographyBox,ea as GeographyIcon,U as IDButton,pc as ID_SEPERATOR,o as IdButtonContainer,mb as IndividualsCell,Ya as IntentsStatusCell,_a as InvoiceStatusCell,ha as IssuerIcon,Vb as LanguageDropdown,rb as LeadStatusCell,vb as LinkCell,Yc as ListColumnFilter,lb as MarketPlaceCell,zc as MerchantCurrencyDropdown,kc as MerchantItem,ic as MerchantLogo,Cc as MerchantsDropdown,sc as MerchantsFilterItem,db as MetadataCell,A as OrderCell,B as OrderCellSheet,xb as OrdersCellSheet,Vc as PartnersFilter,sb as PaymentAgreementCellSheet,wa as PaymentCardNumberSource,Pc as PaymentInitiated,xa as PaymentMethodSource,Nc as PaymentMethods,za as PaymentSchemeSource,Oc as PaymentSchemes,Qc as PaymentSourceFilter,ya as PaymentTypeSource,Ta as PayoutDateCell,ia as PayoutIcon,eb as PayoutReportCell,Ia as PayoutStatusCell,tc as PhoneFilter,x as PiePercentage,Qa as ProductsCell,tb as ProviderCell,ub as PurposeCell,Tb as RangeCalender,fb as ReceiptCell,gb as ReceiptCellSheet,hb as ReceiptCellText,Bc as ReceiptsViewer,Va as ReferenceCell,Xc as ReferenceTypeFilter,Za as RefundChargeCell,ja as RefundIcon,Ea as RefundStateIcon,Fa as RefundStatusCell,Da as RefundStatusIcon,Ja as RefundTooltipView,lc as RetailersItem,ob as SalesChannelCell,pb as SalesChannelCellSheet,Wc as SalesChannelFilter,kb as SegmentsCell,bd as SelectedState,va as SourceCell,la as SourceIcon,ma as SourceIcons,m as StarBadgeWrapper,Eb as StatusButtonsContainer,Q as StatusCell,u as StatusCellContainer,R as StatusCellSheet,S as StatusCellText,Ic as StatusFilter,w as StatusIcon,v as StatusIconWrapper,t as StyledTextTableCell,d as TITLE_BAR_HEIGHT,h as TableCell,Sb as TableHeader,Bb as TableHeaderContainer,Db as TableHeaderRow,Cb as TableHeaderTitle,Rb as TableHeaderWrapper,Mc as TableReports,q as TextLabel,Ra as TextTableCell,$a as TextWithBadgeCell,wb as TextWithChipCell,l as TimeZone,Ab as TitleContainer,bb as TokenStatusCell,Zb as TotalAmount,hc as TotalDiscount,cc as TotalVAT,j as TransparentButton,dd as TreeDropdown,oc as TreeLevel,cd as TreeManager,bc as VATDropdown,ac as VATRateDropdown,$c as VerificationIcon,ad as VerificationIconWithBg,Dc as ViewColumnRadioFilter,$ as VoidAutoIcon,s as VoidTextLabel,Ga as WalletCell,g as WindowSideBar,La as authenticationStatusIcons,Mb as convertTemplateToColumnsView,Nb as convertTemplatesToColumnsView,rc as createTreeDefinitions,sa as generateDestinationTooltip,qc as generateIdFromParts,Jb as getColumnOrder,dc as getDiscountValue,ec as getItemDiscount,$b as getItemVat,ka as getPaymentMethodKey,Ib as getSubmenuFromTemplateLayout,_b as getVatValue,Kb as handleTemplateUpdate,Hb as mapColumnsToLayoutSection,Zc as statusIcon,_c as statusIconBG,Lb as templateToViewMenuItem,Ob as useCustomTableViews,Jc as useDownloadReport}from'./chunk-5RDWZIVP.js';export{c as ColumnFilter,b as Inputs,s as LastRowContent,z as ListItemWrapperWithCard,p as RowErrorState,_ as SheetViewVirtualTable,g as StyledCell,t as StyledItemWrapper,n as TableError,j as TableLastItem,l as TableLoading,w as TableLoadingWithCard,o as TableNoData,x as TableNoDataWithCard,q as TableRow,k as TableRowLoading,v as TableRowLoadingWithCard,y as TableRowWithCard,d as VirtualScrollInner,f as VirtualScrollList,e as VirtualScrollOuter,u as VirtualTable,i as VirtualTableHeader,A as VirtualTableWithCard}from'./chunk-RF4TTYPG.js';export{c as ListItem,d as Widget,a as WidgetHeader,b as WidgetList}from'./chunk-CUJRBASD.js';export{a as Window}from'./chunk-W7GHD4GW.js';export{a as WindowBackdrop}from'./chunk-PEF3NDCP.js';export{a as ToggleButtons}from'./chunk-OAH67AR4.js';export{b as ToggleView,a as ToggleViews}from'./chunk-5FH7VZE2.js';export{a as TooltipChip}from'./chunk-MLGLBJFA.js';export{a as Toaster}from'./chunk-RONCGE43.js';export{a as StatusBar}from'./chunk-SY3ZQHHZ.js';export{a as StatusGroupChips}from'./chunk-H3X5IDBO.js';export{h as StatusLabel}from'./chunk-CEG6XA3Z.js';export{a as Sandbox}from'./chunk-LCIV7SWB.js';export{a as ScrollLoader}from'./chunk-RKVVQRXM.js';export{a as SearchButton}from'./chunk-B5OL7STI.js';export{a as SearchListInput}from'./chunk-JPIVPPUX.js';export{j as SelectWithSearch}from'./chunk-IP6Y533B.js';export{a as SplashScreen}from'./chunk-T5EVBNQU.js';export{a as TapLogo}from'./chunk-24UTRGGG.js';export{a as RadioGroup}from'./chunk-VFTOX6ST.js';export{a as ResizableHeightInput}from'./chunk-CQT4MCPB.js';export{a as RightLeftExpandingCenterChip}from'./chunk-QYLROPPS.js';export{a as PrivateRoute,b as PublicRoute}from'./chunk-DYWKQE3E.js';export{a as OpenFileInNewTab}from'./chunk-ZMTLSAZW.js';export{a as ProgressBar}from'./chunk-6CFWSDKN.js';export{a as ProgressRing}from'./chunk-4MMO7QIF.js';export{a as DefaultForm,b as FormInput,e as FormSelect,h as MultiSelect,c as PhoneInput,g as SelectWithAccordion,f as Switch,i as useRFHForm}from'./chunk-BCPRTCRO.js';export{a as SelectDropdown}from'./chunk-WEV4S675.js';export{a as RadioButton}from'./chunk-NJSZ5FIT.js';export{a as MultiDatakeyDonut}from'./chunk-HX4CUPQU.js';export{a as MultiSelectDropdownButton}from'./chunk-55PI2YYZ.js';export{e as List}from'./chunk-7LOK4IYA.js';export{a as MultiSelectStatusButton}from'./chunk-3APOSHCH.js';export{a as ChildMenuItem,c as MultiSelectWithSearch,b as ParentMenuItem}from'./chunk-HGQNE3YB.js';export{b as Dropdown,c as NestedDropdown,a as NestedMenuItem}from'./chunk-SUWXQF3M.js';export{a as NoInternet}from'./chunk-VPNCZQKE.js';export{a as OTPInput}from'./chunk-VQOATYPH.js';export{a as MFWidgetLoader}from'./chunk-7ZJT5THE.js';export{a as MUIThemeProvider}from'./chunk-TG2IA55S.js';export{a as MainContainer}from'./chunk-2KSN5RRR.js';export{a as MaskedText}from'./chunk-JONY3ZVR.js';export{a as LazyImage}from'./chunk-VBZOXOJX.js';export{a as LeftPeekRightExpandingChip}from'./chunk-GUOAWCXK.js';export{a as ListLayout}from'./chunk-PJX3KXBS.js';export{a as Loader}from'./chunk-EHAIQBIM.js';export{a as Loaders,a as TapLoader}from'./chunk-3ZVWIFYQ.js';export{a as Input}from'./chunk-46KYXTXT.js';export{f as AmountInputBase,d as CountriesList,a as InputBase,e as PhoneInputBase,c as SelectBase,b as SelectBaseMultiple}from'./chunk-RBS3YMBH.js';export{d as CountriesDropdown,a as FileInput,c as InputNumberStyled,b as MobileWrapper,f as SearchInput,g as Select}from'./chunk-ZENSGFEC.js';export{a as FooterButton,b as JSONTitleBar,g as JSONViewer,d as JSONViewerList,c as JsonViewerDialogContext,e as JsonViewerDialogContextProvider,f as useJsonViewerContext}from'./chunk-GXS65OVW.js';export{c as TableFooter}from'./chunk-BRUTEBB2.js';export{a as FlippingCard}from'./chunk-RQ2V5JZH.js';export{b as HeatMap}from'./chunk-JE7B34YV.js';export{a as Skeleton}from'./chunk-UFSVEELK.js';export{a as IOSSwitch}from'./chunk-KZXI4LR5.js';export{a as IconGallery}from'./chunk-QKOWAU7R.js';import'./chunk-LFF7QFXC.js';import'./chunk-S6SSONTX.js';import'./chunk-EDY4USKA.js';export{a as ExpandableSideBar}from'./chunk-QBGU2237.js';export{g as CloseIconWrapper,c as Content,f as FileIconWrapper,a as FileItem,h as FilePreview,b as FileWrapper,e as TextWrapper,d as Upload}from'./chunk-BMS5BNNH.js';export{a as FileUpload}from'./chunk-C54BJ6PO.js';export{a as FileUploader}from'./chunk-RXPNFZCF.js';export{a as FilteredIds}from'./chunk-OLJMZS3I.js';export{a as DisplayAmount}from'./chunk-ZBZSPZUX.js';export{a as DockButton}from'./chunk-XT4FCFC3.js';export{a as Dropdown2}from'./chunk-DBC5PXAK.js';export{a as MenuItem}from'./chunk-C7XD4OUX.js';export{b as DropdownButton,a as DropdownChevronIcon}from'./chunk-6CTU34M6.js';export{a as Error}from'./chunk-4SLTH3D3.js';export{a as AppError,b as ErrorBoundary}from'./chunk-IBPFWRCW.js';export{a as ErrorToast}from'./chunk-CF4VZZYA.js';export{a as CurrencySymbol}from'./chunk-KOJSJGCB.js';export{a as DateButton}from'./chunk-FVYT7NDK.js';export{a as StatusButton}from'./chunk-KJVOJJOZ.js';export{a as ChevronIcon}from'./chunk-ABDRIOU6.js';import'./chunk-26KRIHN4.js';export{f as DropdownMenu,e as StyledIconForDropDown,d as StyledMenuTitle,b as StyledOption,a as StyledSelect,c as StyledSelectComponent}from'./chunk-74SHVXAV.js';export{a as DEVICE_ICON,c as DeviceIcon,b as isDeviceIconShown}from'./chunk-DQUQHLXJ.js';export{e as Dialog,d as DialogToolbar}from'./chunk-KZWVT3YW.js';export{a as Collapse}from'./chunk-BC2PRH2V.js';export{a as ColorPicker}from'./chunk-WDEMWTN6.js';export{e as ConfirmDialog,b as ConfirmDialogContext,c as ConfirmDialogProvider,a as SimpleDialog,d as useConfirmDialog}from'./chunk-54FC2JQT.js';import'./chunk-TUTEF6YD.js';export{a as ControlPanelContainer}from'./chunk-VYC7YNTV.js';export{a as BadgeVariants,d as CountAnimatedBadge,e as CountBadge,c as paymentSourceAnimation}from'./chunk-7LQEBXZI.js';export{b as Button,a as PlusButton}from'./chunk-2I7E2X4V.js';export{a as StyledButton}from'./chunk-VBQVGZ4J.js';export{a as Tooltip}from'./chunk-3QA32K6H.js';export{a as Calender}from'./chunk-3TZOGORN.js';export{j as Timepicker}from'./chunk-L46RQ23A.js';export{a as InputNumber}from'./chunk-EITAFY3J.js';export{a as Menu}from'./chunk-4W6J54AY.js';import'./chunk-A5FGRP2T.js';export{a as CardEmptyState}from'./chunk-UZXGOXQ2.js';export{a as CardHeadline}from'./chunk-CRALZ7UR.js';export{a as Checkbox}from'./chunk-XEIKNUWH.js';export{a as Chip,b as GroupIconChip,c as GroupIconChips}from'./chunk-UMQIPRDJ.js';export{a as ImageWrapper}from'./chunk-L3M6OM4B.js';export{a as CircularProgressWithLabel}from'./chunk-SUBE55I6.js';export{b as AppServicesActionMenu,a as ServicesSubmenu}from'./chunk-SUK6SO52.js';export{a as CustomBackdrop}from'./chunk-S7OMWEM6.js';export{i as AccountHeaderTitle,o as AppWindow,a as AppWindowContext,b as AppWindowContextProvider,q as AppWindowHeader,r as AppWindowWrapper,d as LEFT_SIDEBAR,e as RIGHT_SIDEBAR,m as StyledFooter,n as StyledHideButton,j as StyledMenuLink,k as StyledSubmitButton,l as SubmitButtonWrapper,g as VIEWER_HEIGHT,f as VIEWER_WIDTH,c as animationDuration}from'./chunk-ASAGFUHU.js';export{a as StyledHeaderWrapper,c as StyledHeaderWrapperStyled,e as Toolbar,d as WindowAppIcon}from'./chunk-YXVMFXRQ.js';export{a as CloseIcon,d as ExpandButton,c as MaximizeIcon,b as MinimizeIcon}from'./chunk-H6F22ATS.js';export{a as AuthenticationTypeChip}from'./chunk-5MOLHXGX.js';export{a as Autocomplete}from'./chunk-3QGA55D6.js';export{b as BackgroundAnimation}from'./chunk-EHJHUQ2I.js';export{a as BetaBanner}from'./chunk-BFGMD3VQ.js';export{a as AccordionAdapter}from'./chunk-KPKHHA2X.js';export{a as Icon}from'./chunk-NKNRVF6Q.js';export{a as AccountDropdown}from'./chunk-7Q77NUSA.js';export{a as Text}from'./chunk-CNIYZZCP.js';export{c as ActivityAreaChart,a as ChartTooltip,b as LoadingChart}from'./chunk-OAF35LUA.js';export{a as CountryFlag}from'./chunk-BYLGHZFW.js';export{a as AmountStatusChip}from'./chunk-ZDEI4MQN.js';export{b as StatusChipWithCopy}from'./chunk-VSM26DYG.js';export{a as StatusChip}from'./chunk-IBGSE63H.js';export{a as AnimatedSpinnerIcon}from'./chunk-6UZKGKQQ.js';export{d as useActionMenu,m as useAppEventListener,l as useAppEventPublisher,k as useAppsInfo,e as useBadgesCount,f as useCheckUserLoggedIn,j as useCountdown,c as useDelayToSetValue,b as useMouseState,q as useNetworkState,p as useScrolledTo,n as useSelectedMerchantDetails,h as useStickyHeaderShadow,g as useTableViews,i as useThemeMode,o as useToast,a as useWindowDimensions}from'./chunk-LPS42DYL.js';export{Rc as DEFAULT_SKELETON_WIDTHS,Fc as SELECTION_COLORS,Ja as api,dc as backendErrorHandler,nb as calculateMaxAllowedRows,Ab as capitalizeFirstLetter,Eb as capitalizeString,F as changeDateTimezone,Ia as clearTapOsLocalStorage,Ua as conversionTypesLabels,D as convertCalendarDateToUTC,db as convertToNumber,E as convertUTCtoLocalDate,zb as copyText,Va as currencyConfig,Dc as encryptDataWithPublicKey,Qb as extractIdsFromRowData,Rb as filterShownColumns,$a as formatAmount,ab as formatAmountWithCurrency,J as formatCellDate,_a as formatCurrencyWithInput,K as formatDate,hb as formatFlagDate,p as formatNumber,o as formatOrdinal,gb as formatPayoutDate,ib as formatRefundPayoutDate,R as formatRelativeTimeWithinHour,z as formatUTCOffset,h as generateArray,Ib as generateChargeErrors,G as generateDayList,H as generateMonthList,O as generatePastYearList,xb as generateRandomString,tc as generateReportLocalStorageKey,Sc as generateSkeletonColumns,yb as generateUniqueUUID,I as generateYearList,zc as geographyMap,v as getAmountPlaceholder,ec as getApp,Mb as getAppIconUrl,Nb as getAppToolbarIconUrl,Oa as getBrowserName,Y as getBusinessSegmentConfig,wa as getCalenderTimezone,xa as getCalenderTimezoneHistory,Fb as getCardNumber,mb as getCellWidth,Sb as getColumnOrderFromViews,Lc as getColumnWidth,lb as getColumnWidthPercentage,cb as getConversion,eb as getCountryNameByISO,nc as getCustomerNameByLang,U as getDateLabel,x as getDatePickerFormat,A as getDefaultDateRange,W as getDefaultEntityCountry,Ac as getDefaultInvoiceInfo,wb as getFirstChar,Cc as getFlagDetails,yc as getGeographyBoxColor,Ba as getGlobalTableModeStorage,w as getGreetingMessageId,La as getHeaders,qc as getIdentificationTypeList,Bc as getLocalizedUnitLabel,na as getLoggedInUserActiveSegment,la as getLoggedInUserData,ha as getLoggedInUserJwtToken,ma as getLoggedInUserSegment,Hb as getMaskedCard,ic as getMerchantCurrencies,hc as getMerchantIds,lc as getNameText,ea as getNavigationData,_ as getNonBusinessSegmentConfig,Ec as getOrderedWeekDays,Gb as getPaymentMethodWithId,wc as getPaymentTypeKey,jb as getPayoutDetails,Xb as getPhoneDetails,sb as getPossibleActionNavigationView,Ga as getPreviewStorage,Tc as getProcessedColumns,Qa as getRandomColor,Ra as getRandomGradientColor,kb as getRefundDetails,N as getRelativeTime,ra as getReportRecord,u as getRoundedAmount,Hc as getRowSelectionBorderStyles,aa as getSecretKey,X as getSegmentData,Gc as getSelectionStyles,fc as getService,Jc as getSheetViewColumns,Ea as getSheetViewColumnsStorage,bb as getSupportedCurrencies,kc as getTextByLang,C as getTimestampByTimezone,Nc as getTimezoneByCountryCode,Oc as getTimezoneByTimezone,y as getUTCOffset,B as getUTCTimestamp,m as getUniqueListBy,mc as getUsername,M as getValueOfEndOfDay,L as getValueOfStartOfDay,i as groupBy,Yb as handleFileDownload,_b as handleTableRowsDownload,Zb as handleURLDownload,ac as hasError,Za as hasOnlyOneDigitAfterDecimal,Sa as hexa2Rgba,Wa as intlCurrency,jc as isArabic,Ya as isDecimalWithOneDigit,Kb as isEmptyValue,sc as isFile,ob as isHeightNotFullyFilledByRows,Ob as isInsightService,Xa as isIntegerAmount,oa as isJwtTokenExpired,t as isNegative,$b as isNetworkError,cc as isNotFoundError,Tb as isParameterSelected,Pa as isSafariBrowser,xc as isSamePaymentSource,fb as isSaudiArabia,Z as isSegmentActLikeBusinessSegment,pb as isTableDefaultMode,qb as isTableSheetMode,rb as isTableTextMode,bc as isTimeoutError,S as isTodayDate,pa as isUserLoggedInAndJwtTokenExistsAndNotExpired,V as isValidDate,Q as isWithinTimeAgo,T as isYesterdayDate,Ub as mapDataToViews,Vb as mapViewsToData,Cb as maskValue,vb as matchOccurrence,r as numberToString,pc as openFreshDeskChat,gc as openNewAppAttrs,uc as openNewTab,vc as openUrl,s as pad,Bb as percentageToNumber,rc as readableFileSize,Pb as removeAllCharsFromNumber,ta as removeAppVersion,ya as removeCalenderTimezone,za as removeCalenderTimezoneHistory,ca as removeConnectMetaData,Ca as removeGlobalTableModeStorage,ja as removeLoggedInUserData,ia as removeLoggedInUserJwtToken,fa as removeNavigationData,ub as removePrefixFromString,Ha as removePreviewStorage,sa as removeReportRecord,ba as removeSecretKey,l as removeUndefinedArrayElements,Lb as removeUndefinedArrayValues,Jb as removeUndefinedValues,Na as resumeNetworkRequests,Ta as rgba2Hexa,P as secondsToTimeString,Ka as setApiToken,ua as setCalenderTimezone,va as setCalenderTimezoneHistory,Mc as setColumnWidth,oc as setFreshDeskProperties,Aa as setGlobalTableModeStorage,ka as setLoggedInUserData,ga as setLoggedInUserJwtToken,da as setNavigationData,Fa as setPreviewStorage,qa as setReportRecord,$ as setSecretKey,Kc as setSheetViewColumns,Da as setSheetViewColumnsStorage,k as sortByString,j as sortList,Ma as stopeNetworkRequests,Ic as stringToBoolean,q as stringToNumber,Pc as transformPaymentMethodsData,Qc as transformPaymentSchemesData,Db as transformStringToProperCase,Wb as updateColumnSelection}from'./chunk-2MTATWMF.js';import'./chunk-WYSHK4PG.js';export{gl as ACCEPTANCE_TIMEZONE,Ra as AIOverviewIcon,Mk as API_BASE_LIMIT,Nk as API_LIST_CONSTANTS,Hk as API_URL,Ck as APP_CODES,Dk as APP_DIMENSIONS,Ek as APP_ICONS,xk as APP_WINDOW_Z_INDEX,Ql as AUTHENTICATION_LABEL,Pl as AuthenticationModeType,Gk as BASE_URL,Rl as BUSINESS_COUNTRIES,Ml as BUSINESS_DOCUMENT_TYPE_MAP,Bk as BUSINESS_FUNCTIONS,kl as CATEGORIZED_CURRENCY_CODES,Sl as CHECKED_ICON,hl as COUNTRIES_TIMEZONES,X as ChallengeIcon,tl as DATA_KEY,ul as DATA_KEY_LABEL,Gl as DEVELOPMENT_HOUSE_SEGMENT_CODES,o as DirhamIconImage,Ik as ENV,zk as FOOTER_HEIGHT,W as FrictionlessIcon,yk as HEADER_HEIGHT,Ed as HSBCBankIcon,If as MPGSProviderIcon,Jf as NETCETERAProviderIcon,xl as PAYMENT_INITIATED_CUSTOMER_KEY,yl as PAYMENT_INITIATED_MERCHANT_KEY,zl as PAYMENT_INITIATED_OPTIONS,Dl as PAYMENT_INSTITUTION_SEGMENT_CODES,Fl as PAYMENT_ISSUER_SEGMENT_CODES,El as PAYMENT_TECHNOLOGY_SEGMENT_CODES,wl as PAYMENT_TYPES,vl as PAYMENT_TYPES_ICONS,Cl as PLATFORM_SEGMENT_CODES,Il as RATES,Ll as REPORTS_APPS,Jl as REPORT_FILTER_TYPES,Bb as RadioButtonCheckedIcon,Cb as RadioButtonUncheckedIcon,n as SARIconImage,Al as SEGMENT_FILTER_KEY,Bl as SEGMENT_TYPE_FILTERS_MAP,Ak as SERVICE_COMMON_FUNCTIONS,ql as SHEET_VIEW_TABLE_LIST_OVER_SCAN,sl as SHEET_VIEW_TABLE_ROW_HEIGHT,rl as SHEET_VIEW_TABLE_THRESHOLD,jl as SUPPORTED_CURRENCY_CODES,il as SUPPORTED_CURRENCY_DETAILS,Bc as SandboxDefault,Ac as SandboxHovered,Zc as SandboxHoveredLightIcon,ml as TABLE_CONTENT_ROW_HEIGHT,pl as TABLE_LIST_OVER_SCAN,ll as TABLE_LOADING_ROW_HEIGHT,nl as TABLE_ROW_HEIGHT,ol as TABLE_THRESHOLD,Kf as TAP3DSPROVIDERIcon,Jk as TEST_SECRET_KEY,fl as TIMEZONES,Tl as UNCHECKED_ICON,p as abandonedIcon,Zf as abandonedNoBGIcon,$e as abandonedTableIcon,q as abandonedYellowIcon,lc as acceptanceAppDisabledIcon,hc as acceptanceAppIcon,jc as acceptanceBlueIcon,qc as acceptanceDisabledRoundedIcon,ic as acceptanceEnabledIcon,Og as acceptanceWindowIcon,Xa as acceptedFlag,xc as accountAppIcon,Vg as accountWindowIcon,eb as acquirerIcon,ib as acquirerOrangeIcon,gb as acquirerRedIcon,Zb as actionFailIcon,_b as actionSuccessIcon,dh as actionsIcon,Ch as activeActionIcon,_j as activeGreenIcon,re as activeLeadStatusIcon,jj as addIconWhite,eh as addItem,Kh as addItemIcon,Ab as addidasIcon,Hg as agreementInstallmentIcon,Gg as agreementOrderIcon,Ig as agreementSavedCardIcon,Jg as agreementSubscriptionIcon,Ol as allAuthenticationStatuses,Li as androidAppIcon,Ke as androidIcon,b as appBaseUrl,qk as appPlatformSubSegmentIcon,Q as applePayIcon,Dg as appsGridIcon,We as arcIcon,yj as archievedOutlined,Th as archivedVerifyIcon,fh as attachIcon,Ih as attachIcon2,sd as attentionIcon,of as authenticatedIcon,Ff as authenticatedSuccessIcon,rc as authenticationAppIcon,fg as authenticationAppTypeIcon,uf as authenticationAttemptedIcon,gg as authenticationBiometricIcon,wf as authenticationDeclinedIcon,hg as authenticationDeviceIcon,yf as authenticationExemptedWithTransactionIcon,xf as authenticationExemptedWithoutTransactionIcon,zf as authenticationFailedIcon,nf as authenticationFailedTableIcon,uk as authenticationGatewaySubSegmentIcon,Af as authenticationInitiatedIcon,ig as authenticationIssuerIcon,vf as authenticationNoAuthIcon,Gf as authenticationPendingIcon,jg as authenticationSchemeIcon,Bf as authenticationUnavailableIcon,Cf as authenticationUndeterminedIcon,eg as authenticationWalletIcon,Xg as authenticationWindowIcon,Ef as authenticationWithTransactionIcon,Df as authenticationWithoutTransactionIcon,Ok as authenticationsTableCellWidth,nj as authorizationServiceIcon,Pk as authorizationTableCellWidth,Ii as authorizedIcon,ni as autoCapturedIcon,oi as autoVoidIcon,bj as babyBlueCheckIcon,Hd as backButtonLeftIcon,L as bahrainIcon,Tb as bankIcon,dj as bankNoteIcon,ec as billingAppIcon,tk as billingPlatformSubSegmentIcon,Qg as billingWindowIcon,Yh as biometricIcon,fj as blackBrushIcon,Lc as blackHeadingDownArrow,Gj as blackLinkIcon,Pj as blackMobileBatteryIcon,Qj as blackMobileSignalIcon,mb as blackRightArrowIcon,Hj as blackSettingsIcon,ck as blackSettingsVariant2Icon,Uj as blackUnLinkIcon,Ij as blackWallet,ye as blueAppsIcon,Bg as blueArrowUpIcon,Fc as blueCheckIcon,Lh as blueCircleCheckIcon,Cg as blueCircleLoaderIcon,wk as blueCircleWithWhiteCheckIcon,Fj as blueCopyIcon,Nc as blueDropdownArrowIcon,Jj as blueGradientBrushIcon,Mc as blueHeadingDropdownArrow,bk as bluePlusIcon,Nh as blueVerifyIcon,Eb as blueZigzagCheckIcon,Kg as brandPlaceholderIcon,mj as brandServiceIcon,Ve as braveIcon,Pc as businessSegmentIcon,wc as businessesAppIcon,Wg as businessesWindowIcon,U as buyNowPayLaterIcon,mi as calenderIcon,pi as cancelledIcon,sa as cancelledInvoiceIcon,La as cancelledNoBgIcon,ie as cancelledStatusIcon,af as cancelledTableIcon,jb as capturedAuthorizeIcon,ba as capturedDropdownIcon,qi as capturedIcon,bf as capturedTableIcon,N as cardIcon,zg as cardViewButtonIcon,R as cashIcon,aa as chargeBackIcon,$ as chargeBackRequestedIcon,df as chargeBackRequestedTableIcon,cf as chargeBackTableIcon,Tj as chargeBackWhiteIcon,Qk as chargeTableCellWidth,oj as chargebacksServiceIcon,pj as chargesServiceIcon,Ee as chatDisabledIcon,tb as checkIcon,$b as checkMarkIcon,wb as checkboxIcon,Rf as checkoutStatusBlueIcon,Qf as checkoutStatusIcon,Sf as checkoutWithMarkStatusIcon,r as chevronDownIcon,od as chevronGrayIcon,nd as chevronWhiteIcon,Re as chromeIcon,Xe as chromiumIcon,Rb as clearCoinIcon,Ya as clearIcon,Mg as clipboardIcon,Pd as clockIcon,db as closeCircle,Ia as closeIcon,zj as closeOutlinedCircle,ub as closeXIcon,ma as closedDisputeIcon,pb as closedFlagIcon,te as closedLeadStatusIcon,Xj as closedOutlinedYellowCircle,Sh as closedVerifyIcon,ka as codeIcon,Ic as collapseArrowIcon,gh as collapseArrows,xd as collapseArrowsIcon,va as columnIcon,ji as columnResizeIndicatorIcon,sk as commercePlatformSubSegmentIcon,pk as commercialRegulatorSubSegmentIcon,ud as completedAcceptanceIcon,qf as completedBlackIcon,_ as completedIcon,se as completedLeadStatusIcon,wd as completedPayoutsIcon,ef as completedTableIcon,ja as copyIcon,_h as createChargeIcon,he as createdStatusIcon,Sd as csvIcon,hh as customerIcon,Gh as customerIcon2,vc as customersAppIcon,Rg as customersWindowIcon,Hf as cyberSourceProviderIcon,Oh as darkBlueVerifyIcon,Hc as darkCheckIcon,ii as darkFilterIcon,Pe as darkGreyTimezoneIcon,Vb as darkLeftArrowIcon,Wb as darkRightArrowIcon,Ja as dashedCheckIcon,Aj as dashedOutlinedCircle,Sa as deMaximizeIcon,Bj as deactivatedCircle,Pa as deactivatedIcon,Yj as deactivatedOrangeCircle,ri as declinedIcon,lf as declinedNoBgTableIcon,ff as declinedTableIcon,Sj as deemaWithLabel,Wh as defaultCountryIcon,Xh as defaultDeviceIcon,fe as deletedStatusIcon,le as deliveredStatusIcon,oa as desktopIcon,gf as destinationReversedTableIcon,t as destinationSolidIcon,mf as destinationSuccessTableIcon,hf as destinationWithoutBackgroundIcon,si as destinationsIcon,qj as destinationsServiceIcon,Rk as destinationsTableCellWidth,Sc as developmentSegmentIcon,O as deviceIcon,cj as digitalReceiptIcon,Gb as dimmedZigzagCheckIcon,ze as disabledCardIcon,Gc as disabledCheckIcon,Ae as disabledCodeIcon,ih as discountIcon,z as disputeIcon,ca as disputeResolvedIcon,if as disputeResolvedTableIcon,de as dollarSignIcon,Wd as doneIcon,be as dottedLine,sb as downArrowIcon,Fh as downArrowIcon3,ge as draftStatusIcon,vb as dragIcon,id as dueDateBlackIcon,ed as dueDateBlueIcon,jd as dueDateGrayIcon,fd as dueDateOrangeIcon,hd as dueDateRedIcon,gd as dueDateYellowIcon,Te as edgeIcon,Of as editIcon,E as egyptFlagIcon,ea as ellipsisHorizontalIcon,kh as emailBlackIcon,_c as emailChannelIcon,jh as emailIcon,cg as emptyIcon,Rj as emptyMobileWifiIcon,Hl as emptyStatusChipColors,rj as entityServiceIcon,ci as entityTimezoneIcon,K as europeFlagIcon,Fe as exclamationDarkIcon,He as exclamationErrorIcon,Ba as exclamationGreyIcon,Cj as exclamationOutlinedCircle,Zj as exclamationOutlinedOrangeCircle,Ge as exclamationWarningIcon,dk as exclamationWhiteIcon,Fk as excludedApps,mh as expandArrows,yd as expandArrowsIcon,ld as expiredIcon,ta as expiredInvoiceIcon,ue as expiredLeadStatusIcon,Ma as expiredNoBgIcon,je as expiredStatusIcon,P as expressCheckoutIcon,Id as eyeHideIcon,Jd as eyeShowIcon,ti as failedIcon,kf as failedNoBgTableIcon,jf as failedTableIcon,Aa as failedWhiteBgIcon,nh as feeIcon,fi as fileDownloadBlueIcon,gi as fileDownloadGreyIcon,Rc as financialSegmentIcon,Se as firefoxIcon,y as flagIcon,c as functionBaseUrl,Kj as gadientLink,hb as gatewayIcon,ui as gatewayOrangeIcon,vi as gatewayRedIcon,bd as genericIcon,fb as genericIconNew,l as getAuthorityIcon,m as getBrowserIcon,h as getCountriesIcon,k as getCurrenciesIcon,e as getLightUrlIcon,g as getPaymentIssuersIcon,f as getPaymentMethodsIcon,i as getServiceFunctionIcon,j as getStatusIcon,Lj as gradientSettings,Mj as gradientWallet,Vc as grayBrandIcon,Fg as grayCloseIcon,rb as grayFlagIcon,Dh as grayProductLabel,Kc as grayUpArrowIcon,Ph as grayVerifyIcon,Ad as greenArrowLeftIcon,zd as greenArrowRightIcon,Bd as greenArrowUpIcon,Ej as greenCheck2ACE00,la as greenCheckIcon,Ie as greenCheckV2Icon,Qh as greenVerifyIcon,Fb as greenZigzagCheckIcon,Me as greyAppleIcon,Dc as greyCheckIcon,Ec as greyCrossIcon,Oe as greyDesktopIcon,lj as greyDownArrowIcon,Oc as greyDropdownIcon,Ne as greyLocationIcon,Mf as greyMinusIcon,Lf as greyPlusIcon,B as greyTimezoneIcon,kj as greyUpArrowIcon,ab as hideIcon,Ub as hijriIcon,ki as homeIcon,Mi as iOSAppIcon,Ua as ibanIcon,ia as idIcon,$j as inActiveGreyIcon,td as initialAcceptanceIcon,vd as initialPayoutsIcon,Ji as initiatedIcon,Vf as intentCancelledStatusIcon,Tf as intentExpiredStatusIcon,Uf as intentInitiatedStatusIcon,Wf as intentTransactedStatusIcon,xj as intentsServiceIcon,Sk as intentsTableCellWidth,ra as invoiceIcon,ga as invoiceIdIcon,ua as invoiceNumberIcon,sj as invoiceServiceIcon,Tk as invoicesTableCellWidth,Je as iosIcon,G as jordanFlagIcon,Xc as jsonBlackIcon,Wc as jsonIcon,I as kuwaitFlagIcon,Jh as lateFeeIcon2,Be as layersIcon,Zd as leadAppIcon,_d as leadTitleIcon,De as leadWhiteIcon,Uk as leadsTableCellWidth,H as lebanonFlagIcon,Uc as lightPlatformSegmentIcon,a as lightUrl,lh as linkTiltedIcon,Vh as listShadowBg,Ag as listViewButtonIcon,li as lockIcon,ac as logOutIcon,Xf as longWordsIcon,Db as macIcon,Nj as manyCurrencyCoin,Oj as manyCurrencyCoinGradient,Ib as marketPlaceBlackIcon,Hb as marketPlaceBlueIcon,Jb as marketPlaceDimmedIcon,Ga as maximizeIcon,kb as merchantInitiatedIcon,ik as merchantServiceProviderSubSegmentIcon,dl as merchantsTableCellWidth,Ob as messageIcon,hi as metaIcon,Ha as minimizeIcon,oh as minusIcon,pa as mobileIcon,Nb as moneyInDimmedIcon,Mb as moneyInIcon,Lb as moneyOutDimmedIcon,Kb as moneyOutIcon,gj as mutedOutlinedCheckIcon,aj as navigationIcon,ij as navigationPointerBlack,we as newFileIcon,Bh as newInvoiceIcon,gc as newReceiptIcon,_a as newWindowIcon,Ng as noAgreementIcon,Nf as noPreviewIcon,pd as notVerifiedIcon,ph as noteIcon,Hh as noteIcon2,V as openBankingIcon,na as openDisputeIcon,ob as openFlagIcon,Ue as operaIcon,nb as orangeFlagIcon,$d as orderAppIcon,$c as orderIcon,ae as orderWindowIcon,Vk as ordersTableCellWidth,Dj as outlinedCircle,hj as outlinedPlatformIcon,Ka as outstandingIcon,Na as paidNoBgIcon,rf as paidOutFilterIcon,wi as paidOutIcon,_f as paidOutTableIcon,ke as paidStatusIcon,S as passThruWalletIcon,ce as passwordDotsIcon,Qb as payStreamIcon,mk as paymentAcquirerSubSegmentIcon,ok as paymentFacilitatorSubSegmentIcon,fk as paymentGatewayProviderSubSegmentIcon,lk as paymentIssuerSubSegmentIcon,nk as paymentMethodSubSegmentIcon,jk as paymentProcessorSubSegmentIcon,kk as paymentSchemeSubSegmentIcon,ek as paymentTechnologySubSegmentIcon,gk as paymentTechnologyV2SubSegmentIcon,hk as paymentTerminalProviderSubSegmentIcon,mc as payoutAppDisabledIcon,pc as payoutDisabledRoundedIcon,nc as payoutEnabledIcon,oc as payoutGreenIcon,Va as payoutIcon,tj as payoutServiceIcon,Sg as payoutWindowIcon,tc as payoutsAppIcon,kc as payoutsGreenIcon,Wk as payoutsTableCellWidth,qh as pdfGrayIcon,Td as pdfIcon,Uh as penIcon,Ta as pendingFlag,Pb as pendingIcon,Ce as pendingOnTapIcon,ag as pendingPayoutIcon,pe as pendingStatusIcon,Ca as percentage0Icon,Fa as percentage100Icon,Da as percentage50Icon,Ea as percentage75Icon,Ni as physicalLocationIcon,kg as pinIcon,Tc as platformSegmentIcon,Eh as plusQty,bc as preferencesIcon,og as previewModeIcon,rh as productLabel,uc as protectAppIcon,Xk as protectAuthorizationsTableCellWidth,Yk as protectChargesTableCellWidth,yb as protectIcon,Tg as protectWindowIcon,Qc as providerSegmentIcon,sh as quantityIcon,bb as quitIcon,ve as readyLeadStatusIcon,fc as receiptBillIcon,ai as receiptIcon,Z as redArrowDownIcon,Qd as redCloseIcon,qb as redFlagIcon,Rh as redVerifyIcon,yi as refundInitiatedIcon,zi as refundSettledIcon,Zk as refundTableCellWidth,xi as refundedIcon,Ai as refundedNotSettledIcon,qe as refundedStatusIcon,uj as refundsServiceIcon,Oa as refunededNoBgIcon,Wa as releasedFlag,ee as reloadIcon,md as remindedRedIcon,th as removeAllItem,uh as removeItem,Yd as reportAppIcon,Xd as reportAppsIcon,Kl as reportFilterTypesMap,Ud as reportIcon,x as reportsIcon,Vd as reportsIconOutlined,Yg as reportsWindowIcon,Bi as restrictedIcon,rk as retailPlatformSubSegmentIcon,vk as retailerSubSegmentIcon,dg as reverseActionIcon,da as reversePayoutIcon,$f as reversePayoutTableIcon,s as reversedIcon,lb as rightArrow,Ri as rightLightArrowIcon,ha as rowIdIcon,Qe as safariIcon,Nd as sandboxDefaultIcon,Md as sandboxHoveredIcon,Od as sandboxOrangeIcon,F as saudiArabiaFlagIcon,sf as saveTokenIcon,D as savedCardIcon,ne as savedStatusIcon,di as savedTimezoneIcon,pf as scheduledFilterIcon,oe as scheduledStatusIcon,Qi as searchBlueIcon,u as searchIcon,Ui as segmentDevelopmentHouseIcon,Si as segmentInstitutionIcon,Ti as segmentTechnologyIcon,Lk as servicesTags,Ci as settledIcon,Di as settlementInitiatedIcon,Yf as sheetViewIcon,Fd as shopifyBadgeIcon,Ze as slaProcessAppIcon,_e as slaProcessWindowIcon,ei as smallBlueCheckIcon,Pi as smallLeftArrowIcon,cd as smsChannelIcon,vh as smsIcon,Oi as socialLinksIcon,Wj as sortAscArrowIcon,wa as sortAzIcon,Vj as sortDescArrowIcon,Yc as sortIcon,xa as sortZaIcon,Yb as spinnerLoadingAnimatedIcon,Xb as spinnerLoadingIcon,cb as starIcon,T as storedValueWalletIcon,C as subscriptionIcon,$h as successCheckIcon,za as successWhiteBgIcon,mg as switcherIcon,wg as tableBackgroundLoader,xg as tableBlueArrowUpIcon,yg as tableBlueCheckMarkShadowedIcon,ug as tableLoadingSpinnerIcon,vg as tableLoadingSpinnerWhiteIcon,qa as tabletIcon,wh as taxIcon,xe as teamWindowIcon,Vi as terminalAppIcon,_i as terminalBrushIcon,$i as terminalBrushMuted,Xi as terminalCardPhone,ej as terminalDeviceFrame,ak as terminalLinkVideo,Zi as terminalTypeIcon,Wi as terminalWindowIcon,el as terminalsTableCellWidth,Zh as threeDSIcon,fa as threeDsIcon,Ei as timedOutIcon,kd as timerBlueIcon,A as timezoneIcon,Yi as toastPOSIcon,dc as tokenAppIcon,tg as tokenCardIcon,rg as tokenExpiredStatusIcon,sg as tokenPendingStatusIcon,pg as tokenSavedStatusIcon,qg as tokenTransactedStatusIcon,Zg as tokensReportsIcon,_k as tokensTableCellWidth,Ug as tokensWindowIcon,Qa as topUpIcon,$k as topupsTableCellWidth,xh as totalAmountIcon,ad as transactionIcon,cc as transformIcon,Mh as trashBinIcon,Nl as unAuthenticatedStatuses,v as unAuthorizedIcon,Fi as unAvailableIcon,Za as unCapturedIcon,Kk as unCapturedStatuses,yc as unCheckedIcon,tf as unauthenticatedIcon,yh as unfocusRemoveItem,zb as unisoIcon,J as unitedArabEmiratesFlagIcon,M as unitedStatesFlagIcon,Gi as unknownIcon,lg as unpinIcon,Ld as uploadBlueIcon,Kd as uploadIcon,Ye as userIcon,bi as userTimezoneIcon,Lg as usersIcon,vj as usersServiceIcon,Gd as verifiedGreenBadgeIcon,qd as verifiedIcon,rd as verifyReviewIcon,ng as verticalLineIcon,d as videosUrl,$a as viewAllIcon,w as viewIcon,Pf as viewInvoiceIcon,me as viewedStatusIcon,Y as visaIcon,Hi as voidedIcon,sc as walletAppIcon,bl as walletDetailsTableCellWidth,Sb as walletIcon,wj as walletServiceIcon,cl as walletStatementTableCellWidth,al as walletTableCellWidth,Pg as walletWindowIcon,Cc as warningInfoIcon,Ki as websiteBlueIcon,Le as websiteIcon,dd as whatsappChannelIcon,zh as whatsappIcon,Ah as whiteArrow2,Dd as whiteArrowLeftIcon,Cd as whiteArrowRightIcon,bg as whiteCloseIcon,Eg as whiteFilterIcon,xb as whitePlusIcon,zc as wifiOffIcon,ah as windowBankIcon,_g as windowBrandIcon,$g as windowEntityIcon,bh as windowIndividualIcon,ch as windowPasswordIcon,Jc as worldIcon,Rd as xlsIcon,ya as zipFileIcon}from'./chunk-F7IP2V3I.js';export{f as appTheme,a as components,c as darkPalette,b as lightPalette,d as shadows,e as typography}from'./chunk-5QGYWOQI.js';export{i as ACCOUNT_SECTION,j as AppEvent,h as ChargeBreakDownType,f as CurrencyCodes,k as DISCOUNT_TYPE,b as LanguageMode,c as RECURRENCE_TYPE,m as ReportStatusEnum,g as SEGMENT_CODE,d as SEND_INVOICE,e as SalesChannelTypes,l as StatusValue,a as ThemeMode}from'./chunk-LQSDB47Q.js';export{b as Accordion}from'./chunk-PTEZ2MC2.js';import'./chunk-5TBO732O.js';
1
+ export{V as ActionCell,X as ActionIconColumn,T as ActionIconsVariants,c as ActionMenu,a as ActionMenuDropDown,b as ActionMenuItem,W as ActionsColumn,Ba as AgreementCell,Y as AgreementIcon,N as AmountCell,E as AmountCellContainer,P as AmountCellSheet,O as AmountCellText,Uc as AmountConversionFilter,K as AmountConversionTooltipLabel,Wb as AmountInput,Ub as AppServices,Xb as AppServicesBar,jb as ApplicationStatusCell,qb as AppsCell,Ca as AuthCell,_ as AuthIcons,Z as AuthSourceAnimation,Wa as AuthenticationCell,Rc as AuthenticationMode,Aa as AuthenticationModeBadge,Ma as AuthenticationStatusCell,Na as AuthenticationTypeCell,aa as AuthorizationAutoIcons,ba as AuthorizedIcon,p as AvatarStyled,k as BadgeWrapper,ta as BalanceCell,ua as BalanceCellSheet,Ha as BankCell,Ua as BankReferenceCell,cb as BrandCell,Yb as BrandLogo,nb as BrandsCell,r as CaptureTextLabel,Oa as ChannelsCell,ab as ChargeStatus,ca as ChargeStatusIcon,Xa as CheckoutStatusCell,F as ConversionBadge,I as ConversionTooltip,J as ConversionTooltipRow,L as ConversionTypeLabel,yb as CopyImage,mc as CountriesItem,uc as CountryFilter,nc as CurrenciesItem,Sa as CurrencyCell,Tc as CurrencyFilter,M as CurrencyInfo,G as CurrencySpan,C as CustomerCell,D as CustomerCellSheet,vc as CustomerDropdown,wc as CustomerEmailForm,xc as CustomerFullInfoForm,da as CustomerInitiatedIcon,yc as CustomerPhoneNumberForm,z as DateCell,Sc as DateFilter,y as DateViewer,H as DecimalSpan,pa as DestinationCell,qa as DestinationCellSheet,ra as DestinationCellText,na as DestinationIcon,Ka as DestinationStatusCell,oa as DeviceCell,fa as DeviceIconChip,gc as DiscountDropdown,fc as DiscountRateDropdown,ga as DisputeIcon,Lc as DownloadButton,Kc as DownloadIconButton,Pa as DueDateCell,ib as EntityCell,Ac as FileInputPreview,Hc as FilterCancelButton,jc as FilterDropdown,Fc as FilterFooter,Gc as FilterOkayButton,Ec as FilterTitle,Pb as FiltersRow,Fb as FiltersRowContainer,Gb as FiltersRowWrapper,zb as FlagDetails,i as GeographyBox,ea as GeographyIcon,U as IDButton,pc as ID_SEPERATOR,o as IdButtonContainer,mb as IndividualsCell,Ya as IntentsStatusCell,_a as InvoiceStatusCell,ha as IssuerIcon,Vb as LanguageDropdown,rb as LeadStatusCell,vb as LinkCell,Yc as ListColumnFilter,lb as MarketPlaceCell,zc as MerchantCurrencyDropdown,kc as MerchantItem,ic as MerchantLogo,Cc as MerchantsDropdown,sc as MerchantsFilterItem,db as MetadataCell,A as OrderCell,B as OrderCellSheet,xb as OrdersCellSheet,Vc as PartnersFilter,sb as PaymentAgreementCellSheet,wa as PaymentCardNumberSource,Pc as PaymentInitiated,xa as PaymentMethodSource,Nc as PaymentMethods,za as PaymentSchemeSource,Oc as PaymentSchemes,Qc as PaymentSourceFilter,ya as PaymentTypeSource,Ta as PayoutDateCell,ia as PayoutIcon,eb as PayoutReportCell,Ia as PayoutStatusCell,tc as PhoneFilter,x as PiePercentage,Qa as ProductsCell,tb as ProviderCell,ub as PurposeCell,Tb as RangeCalender,fb as ReceiptCell,gb as ReceiptCellSheet,hb as ReceiptCellText,Bc as ReceiptsViewer,Va as ReferenceCell,Xc as ReferenceTypeFilter,Za as RefundChargeCell,ja as RefundIcon,Ea as RefundStateIcon,Fa as RefundStatusCell,Da as RefundStatusIcon,Ja as RefundTooltipView,lc as RetailersItem,ob as SalesChannelCell,pb as SalesChannelCellSheet,Wc as SalesChannelFilter,kb as SegmentsCell,bd as SelectedState,va as SourceCell,la as SourceIcon,ma as SourceIcons,m as StarBadgeWrapper,Eb as StatusButtonsContainer,Q as StatusCell,u as StatusCellContainer,R as StatusCellSheet,S as StatusCellText,Ic as StatusFilter,w as StatusIcon,v as StatusIconWrapper,t as StyledTextTableCell,d as TITLE_BAR_HEIGHT,h as TableCell,Sb as TableHeader,Bb as TableHeaderContainer,Db as TableHeaderRow,Cb as TableHeaderTitle,Rb as TableHeaderWrapper,Mc as TableReports,q as TextLabel,Ra as TextTableCell,$a as TextWithBadgeCell,wb as TextWithChipCell,l as TimeZone,Ab as TitleContainer,bb as TokenStatusCell,Zb as TotalAmount,hc as TotalDiscount,cc as TotalVAT,j as TransparentButton,dd as TreeDropdown,oc as TreeLevel,cd as TreeManager,bc as VATDropdown,ac as VATRateDropdown,$c as VerificationIcon,ad as VerificationIconWithBg,Dc as ViewColumnRadioFilter,$ as VoidAutoIcon,s as VoidTextLabel,Ga as WalletCell,g as WindowSideBar,La as authenticationStatusIcons,Mb as convertTemplateToColumnsView,Nb as convertTemplatesToColumnsView,rc as createTreeDefinitions,sa as generateDestinationTooltip,qc as generateIdFromParts,Jb as getColumnOrder,dc as getDiscountValue,ec as getItemDiscount,$b as getItemVat,ka as getPaymentMethodKey,Ib as getSubmenuFromTemplateLayout,_b as getVatValue,Kb as handleTemplateUpdate,Hb as mapColumnsToLayoutSection,Zc as statusIcon,_c as statusIconBG,Lb as templateToViewMenuItem,Ob as useCustomTableViews,Jc as useDownloadReport}from'./chunk-NWGVNDLM.js';export{c as ColumnFilter,b as Inputs,s as LastRowContent,z as ListItemWrapperWithCard,p as RowErrorState,_ as SheetViewVirtualTable,g as StyledCell,t as StyledItemWrapper,n as TableError,j as TableLastItem,l as TableLoading,w as TableLoadingWithCard,o as TableNoData,x as TableNoDataWithCard,q as TableRow,k as TableRowLoading,v as TableRowLoadingWithCard,y as TableRowWithCard,d as VirtualScrollInner,f as VirtualScrollList,e as VirtualScrollOuter,u as VirtualTable,i as VirtualTableHeader,A as VirtualTableWithCard}from'./chunk-NMSLD52P.js';export{c as ListItem,d as Widget,a as WidgetHeader,b as WidgetList}from'./chunk-CUJRBASD.js';export{a as Window}from'./chunk-W7GHD4GW.js';export{a as WindowBackdrop}from'./chunk-PEF3NDCP.js';export{a as ToggleButtons}from'./chunk-OAH67AR4.js';export{b as ToggleView,a as ToggleViews}from'./chunk-5FH7VZE2.js';export{a as TooltipChip}from'./chunk-MLGLBJFA.js';export{a as Toaster}from'./chunk-RONCGE43.js';export{a as StatusBar}from'./chunk-SY3ZQHHZ.js';export{a as StatusGroupChips}from'./chunk-H3X5IDBO.js';export{h as StatusLabel}from'./chunk-CEG6XA3Z.js';export{a as Sandbox}from'./chunk-LCIV7SWB.js';export{a as ScrollLoader}from'./chunk-RKVVQRXM.js';export{a as SearchButton}from'./chunk-B5OL7STI.js';export{a as SearchListInput}from'./chunk-JPIVPPUX.js';export{j as SelectWithSearch}from'./chunk-IP6Y533B.js';export{a as SplashScreen}from'./chunk-T5EVBNQU.js';export{a as TapLogo}from'./chunk-24UTRGGG.js';export{a as RadioGroup}from'./chunk-VFTOX6ST.js';export{a as ResizableHeightInput}from'./chunk-CQT4MCPB.js';export{a as RightLeftExpandingCenterChip}from'./chunk-QYLROPPS.js';export{a as PrivateRoute,b as PublicRoute}from'./chunk-DYWKQE3E.js';export{a as OpenFileInNewTab}from'./chunk-ZMTLSAZW.js';export{a as ProgressBar}from'./chunk-6CFWSDKN.js';export{a as ProgressRing}from'./chunk-4MMO7QIF.js';export{a as DefaultForm,b as FormInput,e as FormSelect,h as MultiSelect,c as PhoneInput,g as SelectWithAccordion,f as Switch,i as useRFHForm}from'./chunk-BCPRTCRO.js';export{a as SelectDropdown}from'./chunk-WEV4S675.js';export{a as RadioButton}from'./chunk-NJSZ5FIT.js';export{a as MultiDatakeyDonut}from'./chunk-HX4CUPQU.js';export{a as MultiSelectDropdownButton}from'./chunk-55PI2YYZ.js';export{e as List}from'./chunk-7LOK4IYA.js';export{a as MultiSelectStatusButton}from'./chunk-3APOSHCH.js';export{a as ChildMenuItem,c as MultiSelectWithSearch,b as ParentMenuItem}from'./chunk-HGQNE3YB.js';export{b as Dropdown,c as NestedDropdown,a as NestedMenuItem}from'./chunk-SUWXQF3M.js';export{a as NoInternet}from'./chunk-VPNCZQKE.js';export{a as OTPInput}from'./chunk-VQOATYPH.js';export{a as MFWidgetLoader}from'./chunk-7ZJT5THE.js';export{a as MUIThemeProvider}from'./chunk-TG2IA55S.js';export{a as MainContainer}from'./chunk-2KSN5RRR.js';export{a as MaskedText}from'./chunk-JONY3ZVR.js';export{a as LazyImage}from'./chunk-VBZOXOJX.js';export{a as LeftPeekRightExpandingChip}from'./chunk-GUOAWCXK.js';export{a as ListLayout}from'./chunk-PJX3KXBS.js';export{a as Loader}from'./chunk-EHAIQBIM.js';export{a as Loaders,a as TapLoader}from'./chunk-3ZVWIFYQ.js';export{a as Input}from'./chunk-46KYXTXT.js';export{f as AmountInputBase,d as CountriesList,a as InputBase,e as PhoneInputBase,c as SelectBase,b as SelectBaseMultiple}from'./chunk-RBS3YMBH.js';export{d as CountriesDropdown,a as FileInput,c as InputNumberStyled,b as MobileWrapper,f as SearchInput,g as Select}from'./chunk-ZENSGFEC.js';export{a as FooterButton,b as JSONTitleBar,g as JSONViewer,d as JSONViewerList,c as JsonViewerDialogContext,e as JsonViewerDialogContextProvider,f as useJsonViewerContext}from'./chunk-RWSDQOMA.js';export{c as TableFooter}from'./chunk-IC6KWKW2.js';export{a as FlippingCard}from'./chunk-RQ2V5JZH.js';export{b as HeatMap}from'./chunk-JE7B34YV.js';export{a as Skeleton}from'./chunk-UFSVEELK.js';export{a as IOSSwitch}from'./chunk-KZXI4LR5.js';export{a as IconGallery}from'./chunk-QKOWAU7R.js';import'./chunk-LFF7QFXC.js';import'./chunk-S6SSONTX.js';import'./chunk-EDY4USKA.js';export{a as ExpandableSideBar}from'./chunk-QBGU2237.js';export{g as CloseIconWrapper,c as Content,f as FileIconWrapper,a as FileItem,h as FilePreview,b as FileWrapper,e as TextWrapper,d as Upload}from'./chunk-BMS5BNNH.js';export{a as FileUpload}from'./chunk-C54BJ6PO.js';export{a as FileUploader}from'./chunk-RXPNFZCF.js';export{a as FilteredIds}from'./chunk-OLJMZS3I.js';export{a as DisplayAmount}from'./chunk-ZBZSPZUX.js';export{a as DockButton}from'./chunk-XT4FCFC3.js';export{a as Dropdown2}from'./chunk-DBC5PXAK.js';export{a as MenuItem}from'./chunk-C7XD4OUX.js';export{b as DropdownButton,a as DropdownChevronIcon}from'./chunk-6CTU34M6.js';export{a as Error}from'./chunk-4SLTH3D3.js';export{a as AppError,b as ErrorBoundary}from'./chunk-IBPFWRCW.js';export{a as ErrorToast}from'./chunk-CF4VZZYA.js';export{a as CurrencySymbol}from'./chunk-KOJSJGCB.js';export{a as DateButton}from'./chunk-FVYT7NDK.js';export{a as StatusButton}from'./chunk-KJVOJJOZ.js';export{a as ChevronIcon}from'./chunk-ABDRIOU6.js';import'./chunk-26KRIHN4.js';export{f as DropdownMenu,e as StyledIconForDropDown,d as StyledMenuTitle,b as StyledOption,a as StyledSelect,c as StyledSelectComponent}from'./chunk-74SHVXAV.js';export{a as DEVICE_ICON,c as DeviceIcon,b as isDeviceIconShown}from'./chunk-DQUQHLXJ.js';export{e as Dialog,d as DialogToolbar}from'./chunk-KZWVT3YW.js';export{a as Collapse}from'./chunk-BC2PRH2V.js';export{a as ColorPicker}from'./chunk-WDEMWTN6.js';export{e as ConfirmDialog,b as ConfirmDialogContext,c as ConfirmDialogProvider,a as SimpleDialog,d as useConfirmDialog}from'./chunk-54FC2JQT.js';import'./chunk-TUTEF6YD.js';export{a as ControlPanelContainer}from'./chunk-VYC7YNTV.js';export{a as BadgeVariants,d as CountAnimatedBadge,e as CountBadge,c as paymentSourceAnimation}from'./chunk-7LQEBXZI.js';export{b as Button,a as PlusButton}from'./chunk-2I7E2X4V.js';export{a as StyledButton}from'./chunk-VBQVGZ4J.js';export{a as Tooltip}from'./chunk-3QA32K6H.js';export{a as Calender}from'./chunk-3TZOGORN.js';export{j as Timepicker}from'./chunk-L46RQ23A.js';export{a as InputNumber}from'./chunk-EITAFY3J.js';export{a as Menu}from'./chunk-4W6J54AY.js';import'./chunk-A5FGRP2T.js';export{a as CardEmptyState}from'./chunk-UZXGOXQ2.js';export{a as CardHeadline}from'./chunk-CRALZ7UR.js';export{a as Checkbox}from'./chunk-XEIKNUWH.js';export{a as Chip,b as GroupIconChip,c as GroupIconChips}from'./chunk-UMQIPRDJ.js';export{a as ImageWrapper}from'./chunk-L3M6OM4B.js';export{a as CircularProgressWithLabel}from'./chunk-SUBE55I6.js';export{b as AppServicesActionMenu,a as ServicesSubmenu}from'./chunk-SUK6SO52.js';export{a as CustomBackdrop}from'./chunk-S7OMWEM6.js';export{i as AccountHeaderTitle,o as AppWindow,a as AppWindowContext,b as AppWindowContextProvider,q as AppWindowHeader,r as AppWindowWrapper,d as LEFT_SIDEBAR,e as RIGHT_SIDEBAR,m as StyledFooter,n as StyledHideButton,j as StyledMenuLink,k as StyledSubmitButton,l as SubmitButtonWrapper,g as VIEWER_HEIGHT,f as VIEWER_WIDTH,c as animationDuration}from'./chunk-ASAGFUHU.js';export{a as StyledHeaderWrapper,c as StyledHeaderWrapperStyled,e as Toolbar,d as WindowAppIcon}from'./chunk-YXVMFXRQ.js';export{a as CloseIcon,d as ExpandButton,c as MaximizeIcon,b as MinimizeIcon}from'./chunk-H6F22ATS.js';export{a as AuthenticationTypeChip}from'./chunk-5MOLHXGX.js';export{a as Autocomplete}from'./chunk-3QGA55D6.js';export{b as BackgroundAnimation}from'./chunk-EHJHUQ2I.js';export{a as BetaBanner}from'./chunk-BFGMD3VQ.js';export{a as AccordionAdapter}from'./chunk-KPKHHA2X.js';export{a as Icon}from'./chunk-NKNRVF6Q.js';export{a as AccountDropdown}from'./chunk-7Q77NUSA.js';export{a as Text}from'./chunk-CNIYZZCP.js';export{c as ActivityAreaChart,a as ChartTooltip,b as LoadingChart}from'./chunk-OAF35LUA.js';export{a as CountryFlag}from'./chunk-BYLGHZFW.js';export{a as AmountStatusChip}from'./chunk-ZDEI4MQN.js';export{b as StatusChipWithCopy}from'./chunk-VSM26DYG.js';export{a as StatusChip}from'./chunk-IBGSE63H.js';export{a as AnimatedSpinnerIcon}from'./chunk-6UZKGKQQ.js';export{d as useActionMenu,m as useAppEventListener,l as useAppEventPublisher,k as useAppsInfo,e as useBadgesCount,f as useCheckUserLoggedIn,j as useCountdown,c as useDelayToSetValue,b as useMouseState,q as useNetworkState,p as useScrolledTo,n as useSelectedMerchantDetails,h as useStickyHeaderShadow,g as useTableViews,i as useThemeMode,o as useToast,a as useWindowDimensions}from'./chunk-LPS42DYL.js';export{Rc as DEFAULT_SKELETON_WIDTHS,Fc as SELECTION_COLORS,Ja as api,dc as backendErrorHandler,nb as calculateMaxAllowedRows,Ab as capitalizeFirstLetter,Eb as capitalizeString,F as changeDateTimezone,Ia as clearTapOsLocalStorage,Ua as conversionTypesLabels,D as convertCalendarDateToUTC,db as convertToNumber,E as convertUTCtoLocalDate,zb as copyText,Va as currencyConfig,Dc as encryptDataWithPublicKey,Qb as extractIdsFromRowData,Rb as filterShownColumns,$a as formatAmount,ab as formatAmountWithCurrency,J as formatCellDate,_a as formatCurrencyWithInput,K as formatDate,hb as formatFlagDate,p as formatNumber,o as formatOrdinal,gb as formatPayoutDate,ib as formatRefundPayoutDate,R as formatRelativeTimeWithinHour,z as formatUTCOffset,h as generateArray,Ib as generateChargeErrors,G as generateDayList,H as generateMonthList,O as generatePastYearList,xb as generateRandomString,tc as generateReportLocalStorageKey,Sc as generateSkeletonColumns,yb as generateUniqueUUID,I as generateYearList,zc as geographyMap,v as getAmountPlaceholder,ec as getApp,Mb as getAppIconUrl,Nb as getAppToolbarIconUrl,Oa as getBrowserName,Y as getBusinessSegmentConfig,wa as getCalenderTimezone,xa as getCalenderTimezoneHistory,Fb as getCardNumber,mb as getCellWidth,Sb as getColumnOrderFromViews,Lc as getColumnWidth,lb as getColumnWidthPercentage,cb as getConversion,eb as getCountryNameByISO,nc as getCustomerNameByLang,U as getDateLabel,x as getDatePickerFormat,A as getDefaultDateRange,W as getDefaultEntityCountry,Ac as getDefaultInvoiceInfo,wb as getFirstChar,Cc as getFlagDetails,yc as getGeographyBoxColor,Ba as getGlobalTableModeStorage,w as getGreetingMessageId,La as getHeaders,qc as getIdentificationTypeList,Bc as getLocalizedUnitLabel,na as getLoggedInUserActiveSegment,la as getLoggedInUserData,ha as getLoggedInUserJwtToken,ma as getLoggedInUserSegment,Hb as getMaskedCard,ic as getMerchantCurrencies,hc as getMerchantIds,lc as getNameText,ea as getNavigationData,_ as getNonBusinessSegmentConfig,Ec as getOrderedWeekDays,Gb as getPaymentMethodWithId,wc as getPaymentTypeKey,jb as getPayoutDetails,Xb as getPhoneDetails,sb as getPossibleActionNavigationView,Ga as getPreviewStorage,Tc as getProcessedColumns,Qa as getRandomColor,Ra as getRandomGradientColor,kb as getRefundDetails,N as getRelativeTime,ra as getReportRecord,u as getRoundedAmount,Hc as getRowSelectionBorderStyles,aa as getSecretKey,X as getSegmentData,Gc as getSelectionStyles,fc as getService,Jc as getSheetViewColumns,Ea as getSheetViewColumnsStorage,bb as getSupportedCurrencies,kc as getTextByLang,C as getTimestampByTimezone,Nc as getTimezoneByCountryCode,Oc as getTimezoneByTimezone,y as getUTCOffset,B as getUTCTimestamp,m as getUniqueListBy,mc as getUsername,M as getValueOfEndOfDay,L as getValueOfStartOfDay,i as groupBy,Yb as handleFileDownload,_b as handleTableRowsDownload,Zb as handleURLDownload,ac as hasError,Za as hasOnlyOneDigitAfterDecimal,Sa as hexa2Rgba,Wa as intlCurrency,jc as isArabic,Ya as isDecimalWithOneDigit,Kb as isEmptyValue,sc as isFile,ob as isHeightNotFullyFilledByRows,Ob as isInsightService,Xa as isIntegerAmount,oa as isJwtTokenExpired,t as isNegative,$b as isNetworkError,cc as isNotFoundError,Tb as isParameterSelected,Pa as isSafariBrowser,xc as isSamePaymentSource,fb as isSaudiArabia,Z as isSegmentActLikeBusinessSegment,pb as isTableDefaultMode,qb as isTableSheetMode,rb as isTableTextMode,bc as isTimeoutError,S as isTodayDate,pa as isUserLoggedInAndJwtTokenExistsAndNotExpired,V as isValidDate,Q as isWithinTimeAgo,T as isYesterdayDate,Ub as mapDataToViews,Vb as mapViewsToData,Cb as maskValue,vb as matchOccurrence,r as numberToString,pc as openFreshDeskChat,gc as openNewAppAttrs,uc as openNewTab,vc as openUrl,s as pad,Bb as percentageToNumber,rc as readableFileSize,Pb as removeAllCharsFromNumber,ta as removeAppVersion,ya as removeCalenderTimezone,za as removeCalenderTimezoneHistory,ca as removeConnectMetaData,Ca as removeGlobalTableModeStorage,ja as removeLoggedInUserData,ia as removeLoggedInUserJwtToken,fa as removeNavigationData,ub as removePrefixFromString,Ha as removePreviewStorage,sa as removeReportRecord,ba as removeSecretKey,l as removeUndefinedArrayElements,Lb as removeUndefinedArrayValues,Jb as removeUndefinedValues,Na as resumeNetworkRequests,Ta as rgba2Hexa,P as secondsToTimeString,Ka as setApiToken,ua as setCalenderTimezone,va as setCalenderTimezoneHistory,Mc as setColumnWidth,oc as setFreshDeskProperties,Aa as setGlobalTableModeStorage,ka as setLoggedInUserData,ga as setLoggedInUserJwtToken,da as setNavigationData,Fa as setPreviewStorage,qa as setReportRecord,$ as setSecretKey,Kc as setSheetViewColumns,Da as setSheetViewColumnsStorage,k as sortByString,j as sortList,Ma as stopeNetworkRequests,Ic as stringToBoolean,q as stringToNumber,Pc as transformPaymentMethodsData,Qc as transformPaymentSchemesData,Db as transformStringToProperCase,Wb as updateColumnSelection}from'./chunk-2MTATWMF.js';import'./chunk-WYSHK4PG.js';export{gl as ACCEPTANCE_TIMEZONE,Ra as AIOverviewIcon,Mk as API_BASE_LIMIT,Nk as API_LIST_CONSTANTS,Hk as API_URL,Ck as APP_CODES,Dk as APP_DIMENSIONS,Ek as APP_ICONS,xk as APP_WINDOW_Z_INDEX,Ql as AUTHENTICATION_LABEL,Pl as AuthenticationModeType,Gk as BASE_URL,Rl as BUSINESS_COUNTRIES,Ml as BUSINESS_DOCUMENT_TYPE_MAP,Bk as BUSINESS_FUNCTIONS,kl as CATEGORIZED_CURRENCY_CODES,Sl as CHECKED_ICON,hl as COUNTRIES_TIMEZONES,X as ChallengeIcon,tl as DATA_KEY,ul as DATA_KEY_LABEL,Gl as DEVELOPMENT_HOUSE_SEGMENT_CODES,o as DirhamIconImage,Ik as ENV,zk as FOOTER_HEIGHT,W as FrictionlessIcon,yk as HEADER_HEIGHT,Ed as HSBCBankIcon,If as MPGSProviderIcon,Jf as NETCETERAProviderIcon,xl as PAYMENT_INITIATED_CUSTOMER_KEY,yl as PAYMENT_INITIATED_MERCHANT_KEY,zl as PAYMENT_INITIATED_OPTIONS,Dl as PAYMENT_INSTITUTION_SEGMENT_CODES,Fl as PAYMENT_ISSUER_SEGMENT_CODES,El as PAYMENT_TECHNOLOGY_SEGMENT_CODES,wl as PAYMENT_TYPES,vl as PAYMENT_TYPES_ICONS,Cl as PLATFORM_SEGMENT_CODES,Il as RATES,Ll as REPORTS_APPS,Jl as REPORT_FILTER_TYPES,Bb as RadioButtonCheckedIcon,Cb as RadioButtonUncheckedIcon,n as SARIconImage,Al as SEGMENT_FILTER_KEY,Bl as SEGMENT_TYPE_FILTERS_MAP,Ak as SERVICE_COMMON_FUNCTIONS,ql as SHEET_VIEW_TABLE_LIST_OVER_SCAN,sl as SHEET_VIEW_TABLE_ROW_HEIGHT,rl as SHEET_VIEW_TABLE_THRESHOLD,jl as SUPPORTED_CURRENCY_CODES,il as SUPPORTED_CURRENCY_DETAILS,Bc as SandboxDefault,Ac as SandboxHovered,Zc as SandboxHoveredLightIcon,ml as TABLE_CONTENT_ROW_HEIGHT,pl as TABLE_LIST_OVER_SCAN,ll as TABLE_LOADING_ROW_HEIGHT,nl as TABLE_ROW_HEIGHT,ol as TABLE_THRESHOLD,Kf as TAP3DSPROVIDERIcon,Jk as TEST_SECRET_KEY,fl as TIMEZONES,Tl as UNCHECKED_ICON,p as abandonedIcon,Zf as abandonedNoBGIcon,$e as abandonedTableIcon,q as abandonedYellowIcon,lc as acceptanceAppDisabledIcon,hc as acceptanceAppIcon,jc as acceptanceBlueIcon,qc as acceptanceDisabledRoundedIcon,ic as acceptanceEnabledIcon,Og as acceptanceWindowIcon,Xa as acceptedFlag,xc as accountAppIcon,Vg as accountWindowIcon,eb as acquirerIcon,ib as acquirerOrangeIcon,gb as acquirerRedIcon,Zb as actionFailIcon,_b as actionSuccessIcon,dh as actionsIcon,Ch as activeActionIcon,_j as activeGreenIcon,re as activeLeadStatusIcon,jj as addIconWhite,eh as addItem,Kh as addItemIcon,Ab as addidasIcon,Hg as agreementInstallmentIcon,Gg as agreementOrderIcon,Ig as agreementSavedCardIcon,Jg as agreementSubscriptionIcon,Ol as allAuthenticationStatuses,Li as androidAppIcon,Ke as androidIcon,b as appBaseUrl,qk as appPlatformSubSegmentIcon,Q as applePayIcon,Dg as appsGridIcon,We as arcIcon,yj as archievedOutlined,Th as archivedVerifyIcon,fh as attachIcon,Ih as attachIcon2,sd as attentionIcon,of as authenticatedIcon,Ff as authenticatedSuccessIcon,rc as authenticationAppIcon,fg as authenticationAppTypeIcon,uf as authenticationAttemptedIcon,gg as authenticationBiometricIcon,wf as authenticationDeclinedIcon,hg as authenticationDeviceIcon,yf as authenticationExemptedWithTransactionIcon,xf as authenticationExemptedWithoutTransactionIcon,zf as authenticationFailedIcon,nf as authenticationFailedTableIcon,uk as authenticationGatewaySubSegmentIcon,Af as authenticationInitiatedIcon,ig as authenticationIssuerIcon,vf as authenticationNoAuthIcon,Gf as authenticationPendingIcon,jg as authenticationSchemeIcon,Bf as authenticationUnavailableIcon,Cf as authenticationUndeterminedIcon,eg as authenticationWalletIcon,Xg as authenticationWindowIcon,Ef as authenticationWithTransactionIcon,Df as authenticationWithoutTransactionIcon,Ok as authenticationsTableCellWidth,nj as authorizationServiceIcon,Pk as authorizationTableCellWidth,Ii as authorizedIcon,ni as autoCapturedIcon,oi as autoVoidIcon,bj as babyBlueCheckIcon,Hd as backButtonLeftIcon,L as bahrainIcon,Tb as bankIcon,dj as bankNoteIcon,ec as billingAppIcon,tk as billingPlatformSubSegmentIcon,Qg as billingWindowIcon,Yh as biometricIcon,fj as blackBrushIcon,Lc as blackHeadingDownArrow,Gj as blackLinkIcon,Pj as blackMobileBatteryIcon,Qj as blackMobileSignalIcon,mb as blackRightArrowIcon,Hj as blackSettingsIcon,ck as blackSettingsVariant2Icon,Uj as blackUnLinkIcon,Ij as blackWallet,ye as blueAppsIcon,Bg as blueArrowUpIcon,Fc as blueCheckIcon,Lh as blueCircleCheckIcon,Cg as blueCircleLoaderIcon,wk as blueCircleWithWhiteCheckIcon,Fj as blueCopyIcon,Nc as blueDropdownArrowIcon,Jj as blueGradientBrushIcon,Mc as blueHeadingDropdownArrow,bk as bluePlusIcon,Nh as blueVerifyIcon,Eb as blueZigzagCheckIcon,Kg as brandPlaceholderIcon,mj as brandServiceIcon,Ve as braveIcon,Pc as businessSegmentIcon,wc as businessesAppIcon,Wg as businessesWindowIcon,U as buyNowPayLaterIcon,mi as calenderIcon,pi as cancelledIcon,sa as cancelledInvoiceIcon,La as cancelledNoBgIcon,ie as cancelledStatusIcon,af as cancelledTableIcon,jb as capturedAuthorizeIcon,ba as capturedDropdownIcon,qi as capturedIcon,bf as capturedTableIcon,N as cardIcon,zg as cardViewButtonIcon,R as cashIcon,aa as chargeBackIcon,$ as chargeBackRequestedIcon,df as chargeBackRequestedTableIcon,cf as chargeBackTableIcon,Tj as chargeBackWhiteIcon,Qk as chargeTableCellWidth,oj as chargebacksServiceIcon,pj as chargesServiceIcon,Ee as chatDisabledIcon,tb as checkIcon,$b as checkMarkIcon,wb as checkboxIcon,Rf as checkoutStatusBlueIcon,Qf as checkoutStatusIcon,Sf as checkoutWithMarkStatusIcon,r as chevronDownIcon,od as chevronGrayIcon,nd as chevronWhiteIcon,Re as chromeIcon,Xe as chromiumIcon,Rb as clearCoinIcon,Ya as clearIcon,Mg as clipboardIcon,Pd as clockIcon,db as closeCircle,Ia as closeIcon,zj as closeOutlinedCircle,ub as closeXIcon,ma as closedDisputeIcon,pb as closedFlagIcon,te as closedLeadStatusIcon,Xj as closedOutlinedYellowCircle,Sh as closedVerifyIcon,ka as codeIcon,Ic as collapseArrowIcon,gh as collapseArrows,xd as collapseArrowsIcon,va as columnIcon,ji as columnResizeIndicatorIcon,sk as commercePlatformSubSegmentIcon,pk as commercialRegulatorSubSegmentIcon,ud as completedAcceptanceIcon,qf as completedBlackIcon,_ as completedIcon,se as completedLeadStatusIcon,wd as completedPayoutsIcon,ef as completedTableIcon,ja as copyIcon,_h as createChargeIcon,he as createdStatusIcon,Sd as csvIcon,hh as customerIcon,Gh as customerIcon2,vc as customersAppIcon,Rg as customersWindowIcon,Hf as cyberSourceProviderIcon,Oh as darkBlueVerifyIcon,Hc as darkCheckIcon,ii as darkFilterIcon,Pe as darkGreyTimezoneIcon,Vb as darkLeftArrowIcon,Wb as darkRightArrowIcon,Ja as dashedCheckIcon,Aj as dashedOutlinedCircle,Sa as deMaximizeIcon,Bj as deactivatedCircle,Pa as deactivatedIcon,Yj as deactivatedOrangeCircle,ri as declinedIcon,lf as declinedNoBgTableIcon,ff as declinedTableIcon,Sj as deemaWithLabel,Wh as defaultCountryIcon,Xh as defaultDeviceIcon,fe as deletedStatusIcon,le as deliveredStatusIcon,oa as desktopIcon,gf as destinationReversedTableIcon,t as destinationSolidIcon,mf as destinationSuccessTableIcon,hf as destinationWithoutBackgroundIcon,si as destinationsIcon,qj as destinationsServiceIcon,Rk as destinationsTableCellWidth,Sc as developmentSegmentIcon,O as deviceIcon,cj as digitalReceiptIcon,Gb as dimmedZigzagCheckIcon,ze as disabledCardIcon,Gc as disabledCheckIcon,Ae as disabledCodeIcon,ih as discountIcon,z as disputeIcon,ca as disputeResolvedIcon,if as disputeResolvedTableIcon,de as dollarSignIcon,Wd as doneIcon,be as dottedLine,sb as downArrowIcon,Fh as downArrowIcon3,ge as draftStatusIcon,vb as dragIcon,id as dueDateBlackIcon,ed as dueDateBlueIcon,jd as dueDateGrayIcon,fd as dueDateOrangeIcon,hd as dueDateRedIcon,gd as dueDateYellowIcon,Te as edgeIcon,Of as editIcon,E as egyptFlagIcon,ea as ellipsisHorizontalIcon,kh as emailBlackIcon,_c as emailChannelIcon,jh as emailIcon,cg as emptyIcon,Rj as emptyMobileWifiIcon,Hl as emptyStatusChipColors,rj as entityServiceIcon,ci as entityTimezoneIcon,K as europeFlagIcon,Fe as exclamationDarkIcon,He as exclamationErrorIcon,Ba as exclamationGreyIcon,Cj as exclamationOutlinedCircle,Zj as exclamationOutlinedOrangeCircle,Ge as exclamationWarningIcon,dk as exclamationWhiteIcon,Fk as excludedApps,mh as expandArrows,yd as expandArrowsIcon,ld as expiredIcon,ta as expiredInvoiceIcon,ue as expiredLeadStatusIcon,Ma as expiredNoBgIcon,je as expiredStatusIcon,P as expressCheckoutIcon,Id as eyeHideIcon,Jd as eyeShowIcon,ti as failedIcon,kf as failedNoBgTableIcon,jf as failedTableIcon,Aa as failedWhiteBgIcon,nh as feeIcon,fi as fileDownloadBlueIcon,gi as fileDownloadGreyIcon,Rc as financialSegmentIcon,Se as firefoxIcon,y as flagIcon,c as functionBaseUrl,Kj as gadientLink,hb as gatewayIcon,ui as gatewayOrangeIcon,vi as gatewayRedIcon,bd as genericIcon,fb as genericIconNew,l as getAuthorityIcon,m as getBrowserIcon,h as getCountriesIcon,k as getCurrenciesIcon,e as getLightUrlIcon,g as getPaymentIssuersIcon,f as getPaymentMethodsIcon,i as getServiceFunctionIcon,j as getStatusIcon,Lj as gradientSettings,Mj as gradientWallet,Vc as grayBrandIcon,Fg as grayCloseIcon,rb as grayFlagIcon,Dh as grayProductLabel,Kc as grayUpArrowIcon,Ph as grayVerifyIcon,Ad as greenArrowLeftIcon,zd as greenArrowRightIcon,Bd as greenArrowUpIcon,Ej as greenCheck2ACE00,la as greenCheckIcon,Ie as greenCheckV2Icon,Qh as greenVerifyIcon,Fb as greenZigzagCheckIcon,Me as greyAppleIcon,Dc as greyCheckIcon,Ec as greyCrossIcon,Oe as greyDesktopIcon,lj as greyDownArrowIcon,Oc as greyDropdownIcon,Ne as greyLocationIcon,Mf as greyMinusIcon,Lf as greyPlusIcon,B as greyTimezoneIcon,kj as greyUpArrowIcon,ab as hideIcon,Ub as hijriIcon,ki as homeIcon,Mi as iOSAppIcon,Ua as ibanIcon,ia as idIcon,$j as inActiveGreyIcon,td as initialAcceptanceIcon,vd as initialPayoutsIcon,Ji as initiatedIcon,Vf as intentCancelledStatusIcon,Tf as intentExpiredStatusIcon,Uf as intentInitiatedStatusIcon,Wf as intentTransactedStatusIcon,xj as intentsServiceIcon,Sk as intentsTableCellWidth,ra as invoiceIcon,ga as invoiceIdIcon,ua as invoiceNumberIcon,sj as invoiceServiceIcon,Tk as invoicesTableCellWidth,Je as iosIcon,G as jordanFlagIcon,Xc as jsonBlackIcon,Wc as jsonIcon,I as kuwaitFlagIcon,Jh as lateFeeIcon2,Be as layersIcon,Zd as leadAppIcon,_d as leadTitleIcon,De as leadWhiteIcon,Uk as leadsTableCellWidth,H as lebanonFlagIcon,Uc as lightPlatformSegmentIcon,a as lightUrl,lh as linkTiltedIcon,Vh as listShadowBg,Ag as listViewButtonIcon,li as lockIcon,ac as logOutIcon,Xf as longWordsIcon,Db as macIcon,Nj as manyCurrencyCoin,Oj as manyCurrencyCoinGradient,Ib as marketPlaceBlackIcon,Hb as marketPlaceBlueIcon,Jb as marketPlaceDimmedIcon,Ga as maximizeIcon,kb as merchantInitiatedIcon,ik as merchantServiceProviderSubSegmentIcon,dl as merchantsTableCellWidth,Ob as messageIcon,hi as metaIcon,Ha as minimizeIcon,oh as minusIcon,pa as mobileIcon,Nb as moneyInDimmedIcon,Mb as moneyInIcon,Lb as moneyOutDimmedIcon,Kb as moneyOutIcon,gj as mutedOutlinedCheckIcon,aj as navigationIcon,ij as navigationPointerBlack,we as newFileIcon,Bh as newInvoiceIcon,gc as newReceiptIcon,_a as newWindowIcon,Ng as noAgreementIcon,Nf as noPreviewIcon,pd as notVerifiedIcon,ph as noteIcon,Hh as noteIcon2,V as openBankingIcon,na as openDisputeIcon,ob as openFlagIcon,Ue as operaIcon,nb as orangeFlagIcon,$d as orderAppIcon,$c as orderIcon,ae as orderWindowIcon,Vk as ordersTableCellWidth,Dj as outlinedCircle,hj as outlinedPlatformIcon,Ka as outstandingIcon,Na as paidNoBgIcon,rf as paidOutFilterIcon,wi as paidOutIcon,_f as paidOutTableIcon,ke as paidStatusIcon,S as passThruWalletIcon,ce as passwordDotsIcon,Qb as payStreamIcon,mk as paymentAcquirerSubSegmentIcon,ok as paymentFacilitatorSubSegmentIcon,fk as paymentGatewayProviderSubSegmentIcon,lk as paymentIssuerSubSegmentIcon,nk as paymentMethodSubSegmentIcon,jk as paymentProcessorSubSegmentIcon,kk as paymentSchemeSubSegmentIcon,ek as paymentTechnologySubSegmentIcon,gk as paymentTechnologyV2SubSegmentIcon,hk as paymentTerminalProviderSubSegmentIcon,mc as payoutAppDisabledIcon,pc as payoutDisabledRoundedIcon,nc as payoutEnabledIcon,oc as payoutGreenIcon,Va as payoutIcon,tj as payoutServiceIcon,Sg as payoutWindowIcon,tc as payoutsAppIcon,kc as payoutsGreenIcon,Wk as payoutsTableCellWidth,qh as pdfGrayIcon,Td as pdfIcon,Uh as penIcon,Ta as pendingFlag,Pb as pendingIcon,Ce as pendingOnTapIcon,ag as pendingPayoutIcon,pe as pendingStatusIcon,Ca as percentage0Icon,Fa as percentage100Icon,Da as percentage50Icon,Ea as percentage75Icon,Ni as physicalLocationIcon,kg as pinIcon,Tc as platformSegmentIcon,Eh as plusQty,bc as preferencesIcon,og as previewModeIcon,rh as productLabel,uc as protectAppIcon,Xk as protectAuthorizationsTableCellWidth,Yk as protectChargesTableCellWidth,yb as protectIcon,Tg as protectWindowIcon,Qc as providerSegmentIcon,sh as quantityIcon,bb as quitIcon,ve as readyLeadStatusIcon,fc as receiptBillIcon,ai as receiptIcon,Z as redArrowDownIcon,Qd as redCloseIcon,qb as redFlagIcon,Rh as redVerifyIcon,yi as refundInitiatedIcon,zi as refundSettledIcon,Zk as refundTableCellWidth,xi as refundedIcon,Ai as refundedNotSettledIcon,qe as refundedStatusIcon,uj as refundsServiceIcon,Oa as refunededNoBgIcon,Wa as releasedFlag,ee as reloadIcon,md as remindedRedIcon,th as removeAllItem,uh as removeItem,Yd as reportAppIcon,Xd as reportAppsIcon,Kl as reportFilterTypesMap,Ud as reportIcon,x as reportsIcon,Vd as reportsIconOutlined,Yg as reportsWindowIcon,Bi as restrictedIcon,rk as retailPlatformSubSegmentIcon,vk as retailerSubSegmentIcon,dg as reverseActionIcon,da as reversePayoutIcon,$f as reversePayoutTableIcon,s as reversedIcon,lb as rightArrow,Ri as rightLightArrowIcon,ha as rowIdIcon,Qe as safariIcon,Nd as sandboxDefaultIcon,Md as sandboxHoveredIcon,Od as sandboxOrangeIcon,F as saudiArabiaFlagIcon,sf as saveTokenIcon,D as savedCardIcon,ne as savedStatusIcon,di as savedTimezoneIcon,pf as scheduledFilterIcon,oe as scheduledStatusIcon,Qi as searchBlueIcon,u as searchIcon,Ui as segmentDevelopmentHouseIcon,Si as segmentInstitutionIcon,Ti as segmentTechnologyIcon,Lk as servicesTags,Ci as settledIcon,Di as settlementInitiatedIcon,Yf as sheetViewIcon,Fd as shopifyBadgeIcon,Ze as slaProcessAppIcon,_e as slaProcessWindowIcon,ei as smallBlueCheckIcon,Pi as smallLeftArrowIcon,cd as smsChannelIcon,vh as smsIcon,Oi as socialLinksIcon,Wj as sortAscArrowIcon,wa as sortAzIcon,Vj as sortDescArrowIcon,Yc as sortIcon,xa as sortZaIcon,Yb as spinnerLoadingAnimatedIcon,Xb as spinnerLoadingIcon,cb as starIcon,T as storedValueWalletIcon,C as subscriptionIcon,$h as successCheckIcon,za as successWhiteBgIcon,mg as switcherIcon,wg as tableBackgroundLoader,xg as tableBlueArrowUpIcon,yg as tableBlueCheckMarkShadowedIcon,ug as tableLoadingSpinnerIcon,vg as tableLoadingSpinnerWhiteIcon,qa as tabletIcon,wh as taxIcon,xe as teamWindowIcon,Vi as terminalAppIcon,_i as terminalBrushIcon,$i as terminalBrushMuted,Xi as terminalCardPhone,ej as terminalDeviceFrame,ak as terminalLinkVideo,Zi as terminalTypeIcon,Wi as terminalWindowIcon,el as terminalsTableCellWidth,Zh as threeDSIcon,fa as threeDsIcon,Ei as timedOutIcon,kd as timerBlueIcon,A as timezoneIcon,Yi as toastPOSIcon,dc as tokenAppIcon,tg as tokenCardIcon,rg as tokenExpiredStatusIcon,sg as tokenPendingStatusIcon,pg as tokenSavedStatusIcon,qg as tokenTransactedStatusIcon,Zg as tokensReportsIcon,_k as tokensTableCellWidth,Ug as tokensWindowIcon,Qa as topUpIcon,$k as topupsTableCellWidth,xh as totalAmountIcon,ad as transactionIcon,cc as transformIcon,Mh as trashBinIcon,Nl as unAuthenticatedStatuses,v as unAuthorizedIcon,Fi as unAvailableIcon,Za as unCapturedIcon,Kk as unCapturedStatuses,yc as unCheckedIcon,tf as unauthenticatedIcon,yh as unfocusRemoveItem,zb as unisoIcon,J as unitedArabEmiratesFlagIcon,M as unitedStatesFlagIcon,Gi as unknownIcon,lg as unpinIcon,Ld as uploadBlueIcon,Kd as uploadIcon,Ye as userIcon,bi as userTimezoneIcon,Lg as usersIcon,vj as usersServiceIcon,Gd as verifiedGreenBadgeIcon,qd as verifiedIcon,rd as verifyReviewIcon,ng as verticalLineIcon,d as videosUrl,$a as viewAllIcon,w as viewIcon,Pf as viewInvoiceIcon,me as viewedStatusIcon,Y as visaIcon,Hi as voidedIcon,sc as walletAppIcon,bl as walletDetailsTableCellWidth,Sb as walletIcon,wj as walletServiceIcon,cl as walletStatementTableCellWidth,al as walletTableCellWidth,Pg as walletWindowIcon,Cc as warningInfoIcon,Ki as websiteBlueIcon,Le as websiteIcon,dd as whatsappChannelIcon,zh as whatsappIcon,Ah as whiteArrow2,Dd as whiteArrowLeftIcon,Cd as whiteArrowRightIcon,bg as whiteCloseIcon,Eg as whiteFilterIcon,xb as whitePlusIcon,zc as wifiOffIcon,ah as windowBankIcon,_g as windowBrandIcon,$g as windowEntityIcon,bh as windowIndividualIcon,ch as windowPasswordIcon,Jc as worldIcon,Rd as xlsIcon,ya as zipFileIcon}from'./chunk-F7IP2V3I.js';export{f as appTheme,a as components,c as darkPalette,b as lightPalette,d as shadows,e as typography}from'./chunk-5QGYWOQI.js';export{i as ACCOUNT_SECTION,j as AppEvent,h as ChargeBreakDownType,f as CurrencyCodes,k as DISCOUNT_TYPE,b as LanguageMode,c as RECURRENCE_TYPE,m as ReportStatusEnum,g as SEGMENT_CODE,d as SEND_INVOICE,e as SalesChannelTypes,l as StatusValue,a as ThemeMode}from'./chunk-LQSDB47Q.js';export{b as Accordion}from'./chunk-PTEZ2MC2.js';import'./chunk-5TBO732O.js';
@@ -46,6 +46,7 @@ export interface TableFooterProps extends BoxProps {
46
46
  showSeparator?: boolean;
47
47
  sandboxMode?: boolean;
48
48
  maximized?: boolean;
49
+ selectedCount?: number;
49
50
  }
50
51
  export interface TableChipProps {
51
52
  onChipClick?: (rowIndex: number, columnIndex: number, event: React.MouseEvent, chipIndex: number, pinnedType?: 'start' | 'end') => void;
@@ -107,9 +108,16 @@ export interface IColumnFilterCustom {
107
108
  export type AnimationType = false | 'pulse' | 'wave' | undefined;
108
109
  export type TableMode = 'sheet' | 'text' | 'default';
109
110
  export type TablePosition = 'pinnedStart' | 'pinnedEnd' | 'scrollable';
111
+ export interface BulkSelectionProps<R = unknown, K extends keyof R = keyof R> {
112
+ selector: K;
113
+ ids: R[K][];
114
+ setIds: (ids: R[K][]) => void;
115
+ isDisabled?: (row: R) => boolean;
116
+ }
110
117
  export interface IVirtualTable<R = any> {
111
118
  rows: R[];
112
119
  columns: Array<IColumnProps<R>>;
120
+ selection?: BulkSelectionProps<R>;
113
121
  rowHeight?: number;
114
122
  threshold?: number;
115
123
  showHeader?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tap-payments/os-micro-frontend-shared",
3
3
  "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.1.455",
4
+ "version": "0.1.456",
5
5
  "testVersion": 0,
6
6
  "type": "module",
7
7
  "sideEffects": false,
@@ -1 +0,0 @@
1
- import {a}from'./chunk-CNIYZZCP.js';import {p}from'./chunk-2MTATWMF.js';import y from'react';import {useTranslation}from'react-i18next';import r from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var T="37px",d=styled(r,{shouldForwardProp:o=>o!=="showBackDrop"&&o!=="areTotalRowsNotFillingHeight"&&o!=="sandboxMode"&&o!=="maximized"})(({theme:o,showBackDrop:a,areTotalRowsNotFillingHeight:t,sandboxMode:i,maximized:n})=>({minHeight:T,...!n&&{borderBottomLeftRadius:o.spacing(1.5),borderBottomRightRadius:o.spacing(1.5)},display:"flex",alignItems:"center",border:"none",justifyContent:"space-between",padding:"6px 32px",background:i?o.palette.common.lightOrange:o.palette.grey[300],backdropFilter:"blur(32px)",boxShadow:a?o.shadows[24]:"none",borderTop:t?`1px outset ${o.palette.grey[800]}`:"none",width:"100%",marginTop:"auto",flexShrink:0,cursor:"move"})),x=styled("div")(({theme:o})=>({position:"absolute",top:0,left:0,right:0,height:"1.5px",backgroundColor:o.palette.grey[300],boxShadow:`inset 0 1px 0 0 ${o.palette.grey[300]}`})),g=styled(r)(({theme:o})=>({borderRadius:"37.5px",border:"0.75px solid rgba(242, 242, 242, 0.70)",backgroundColor:o.palette.common.white,opacity:1,paddingInline:o.spacing(1),display:"flex",alignItems:"center",height:24,gap:"7px",maxWidth:"max-content"})),m=styled(a)(()=>({fontSize:"9px",fontWeight:400,lineHeight:"10.8px"})),c=styled(a)(()=>({fontSize:"10.5px",fontWeight:700,lineHeight:"12.6px"}));styled(r)(()=>({display:"flex",gap:"3px",alignItems:"center"}));styled(r)(()=>({display:"flex",gap:"6px"}));styled("span")(()=>({fontWeight:400}));function w({totalCount:o,showBackDrop:a=false,showSeparator:t,sandboxMode:i,maximized:n,...u}){let{t:h}=useTranslation();return jsxs(d,{component:"footer","data-testid":"TableFooter",maximized:n??false,sandboxMode:i,showBackDrop:a,areTotalRowsNotFillingHeight:!!t,...u,children:[t&&jsx(x,{}),o||o===0?jsxs(g,{sx:{gap:"6px",cursor:"text"},children:[jsx(m,{children:h("count")}),jsx(c,{children:p(o||0)})]}):null]})}var f=y.memo(w);var V=f;export{T as a,f as b,V as c};
@@ -1 +0,0 @@
1
- import {e as e$1,a as a$4,b as b$1,d,c as c$3}from'./chunk-7LOK4IYA.js';import {a as a$2}from'./chunk-46KYXTXT.js';import {a as a$3,b,c as c$2}from'./chunk-BRUTEBB2.js';import {a as a$7}from'./chunk-C7XD4OUX.js';import {a as a$6}from'./chunk-4W6J54AY.js';import {a as a$5}from'./chunk-S7OMWEM6.js';import {a as a$8}from'./chunk-CNIYZZCP.js';import {c as c$1}from'./chunk-LPS42DYL.js';import {e,nb,dc,Gc,Hc,ac,cc,bc,Tc,ob,Lc,Mc}from'./chunk-2MTATWMF.js';import {a as a$1,i}from'./chunk-WYSHK4PG.js';import {wg,Cg,ji,Eg,Ia,va,wa,xa,cg,lg,kg,Fg,u,z as z$1}from'./chunk-F7IP2V3I.js';import {a,c}from'./chunk-5TBO732O.js';import Ze,{memo,createContext,useContext,useRef,useCallback,useEffect,useMemo,useState,createElement,Fragment as Fragment$1}from'react';import {styled,alpha,useTheme}from'@mui/material/styles';import kl from'memoize-one';import vl from'react-virtualized-auto-sizer';import Wl from'react-window-infinite-loader';import he from'@mui/material/Box';import Xa from'@mui/material/Popper';import Na from'@mui/material/Collapse';import {useTranslation}from'react-i18next';import Ha from'@mui/material/Button';import {jsxs,Fragment,jsx}from'react/jsx-runtime';import {TableCell,Button,styled as styled$1,Box}from'@mui/material';import bi from'@mui/material/TableRow';import {motion}from'framer-motion';import {VariableSizeList,areEqual}from'react-window';import yi from'@mui/material/TableHead';import Hi from'@mui/material/Skeleton';import Bi from'@mui/material/TableCell';import {createPortal}from'react-dom';var Wr=a((Ld,vr)=>{var ka=a$1();function va(e,t){return ka(t,function(o){return e[o]})}vr.exports=va;});var Dr=a((kd,Mr)=>{var Wa=Wr(),Ma=e();function Da(e){return e==null?[]:Wa(e,Ma(e))}Mr.exports=Da;});var yt=a(($m,un)=>{var vi=i(),Wi=0;function Mi(e){var t=++Wi;return vi(e)+t}un.exports=Mi;});var $r=c(Dr(),1);var Hr=styled(he)(({theme:e})=>({backgroundColor:e.palette.common.white,borderRadius:"4px",filter:"drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.16))",width:188,marginTop:10,boxShadow:e.shadows[3]})),Fr=styled(he)(({theme:e})=>({color:e.palette.grey[700],fontSize:"11px",fontWeight:500,padding:"8px 16px",textAlign:"left",borderBottom:`1px solid ${e.palette.divider}`})),Br=styled(a$2)(({theme:e})=>({border:`1px solid ${e.palette.divider}`,".icon":{width:14}})),zr=styled(he)(()=>({padding:"8px 16px","> div + div":{marginTop:"8px"}})),_r=styled(Ha)(({theme:e})=>({color:e.palette.info.dark,fontSize:"11px",textTransform:"capitalize",padding:"4px 9px",minWidth:"auto","&:hover":{background:"transparent"}})),Ar=styled(he)(({theme:e})=>({padding:"0 16px 8px",textAlign:"left",borderBottom:`1px solid ${e.palette.divider}`}));function $a({onCloseDropdown:e,filter:{options:t=[],onConfirm:o,data:r,isOnlyOneFilter:n,onClearFilterFields:a,wrapperSx:l}}){let[i,s]=useState({});useEffect(()=>{s((t||[]).reduce((c,{apiKey:p})=>({...c,[p]:r?.[p]??""}),{}));},[]);let{t:u$1}=useTranslation(),d$1=c=>{o?.(i),e(c);},f=c=>{e(c);},h=()=>{a?.(),s(t.reduce((c,{apiKey:p})=>({...c,[p]:""}),{}));},T=c=>i[c]!==void 0&&i[c].length>0,m=c=>i[c]!==void 0&&i[c].length?i[c]:"",x=c=>{T(c)&&s({...i,[c]:""});},b=useMemo(()=>(0, $r.default)(i).some(c=>!!c),[i]),g=useCallback(c=>t.find(p=>p.apiKey===c),[t]),C=useCallback((c,p)=>{let S=i?.[c]!==void 0&&i?.[c]!==""&&i?.[c]!==null,w=Object.entries(i).some(([R,I])=>!!I&&(g(R)?.filterGroup!==p||!p));return n&&!S&&w},[t,i,n]);return jsxs(Hr,{component:"article","data-testid":"ColumnFilterInputs",children:[jsx(Fr,{component:"header","data-testid":"ColumnFilterInputs_title",children:u$1("filterBy")}),jsx(zr,{"data-testid":"ColumnFilterInputs_inputs",component:"main",sx:l,children:t.map(({placeholder:c,apiKey:p,isDisabled:S,filterGroup:w,render:R})=>jsx(Fragment$1,{children:R?R():jsx(Br,{className:"input","data-testid":"ColumnFilterInputs_InputStyled",name:p,placeholder:c,onChange:I=>{s({...i,[p]:I.target.value});},disabled:S||C(p,w),value:m(p),inputProps:{autoComplete:"off","data-testid":"ColumnFilterInputs_input"},endAdornment:jsx(he,{component:"img","data-testid":"ColumnFilterInputs_icon","data-icon":T(p)?"close":"search",src:T(p)?Fg:u,alt:"search",className:"icon",sx:{cursor:T(p)?"pointer":"default"},onClick:()=>{x(p);}})})},p))}),jsx(Na,{in:b,component:"section","data-testid":"ColumnFilterInputs_Collapse",sx:{borderTop:"0"},children:jsx(Ar,{"data-testid":"ColumnFilterInputs_ClearWrapper",children:jsx(_r,{type:"button",onClick:h,"data-testid":"ColumnFilterInputs_ClearButton",children:u$1("clear")})})}),jsxs(b$1,{component:"footer","data-testid":"ColumnFilterInputs_footer",children:[jsx(d,{type:"button",onClick:f,"data-testid":"ColumnFilterInputs_CancelButton",children:u$1("cancel")}),jsx(c$3,{type:"button",onClick:d$1,"data-testid":"ColumnFilterInputs_OkayButton",children:u$1("okay")})]})]})}var Ur=$a;var ct=Ur;function qa(e){let{anchorEl:t,setAnchorEl:o,onClose:r,isFilterApplied:n,disabled:a}=e,l=d=>{d.stopPropagation(),o(null),r?.(d);},i=!!t,s=useMemo(()=>e.type==="list"?[e.apiKey]:(e?.options||[])?.map(({apiKey:d})=>d),[e]),u=useMemo(()=>{if(e.type==="list")return jsx(e$1,{onCloseDropdown:l,filter:e});if(e.type==="inputs")return jsx(ct,{onCloseDropdown:l,filter:e});if(e.type==="custom"){let d={anchorEl:t,setAnchorEl:o,onCloseDropdown:l};return e.render(d)}return null},[i,e,l]);return jsxs(Fragment,{children:[n?jsxs(a$4,{children:[jsx(he,{component:"img","data-testid":"ColumnFilter_whiteFilterIcon",src:Eg,alt:"filter-icon",sx:{marginInlineEnd:"2px",height:6}}),jsx(he,{component:"img","data-testid":"ColumnFilter_closeIcon",src:Ia,alt:"close-icon",onClick:d=>{d.stopPropagation(),o(null),e.onClear(s);}})]}):jsx(he,{component:"img","data-testid":"ColumnFilter_columnIcon",src:va,alt:"column-icon",sx:{marginTop:"2px",userSelect:"none",opacity:a?.5:1}}),i&&jsx(a$5,{onClick:l}),jsx(Xa,{open:i,anchorEl:t,placement:"bottom-start",children:u})]})}var Gr=memo(qa);var Ue=Gr;var qt=styled("img")(()=>({width:"13.3px",height:"13.3px"})),Yr=styled("img")(()=>({width:"8px",height:"6.4px",cursor:"pointer"}));function Za({onColumnSort:e,columnsSorting:t,columnId:o,onClick:r}){let[n,a]=useState(null),l=!!n,i=d=>{d.stopPropagation(),a(d.currentTarget),r?.(d);},s=d=>{d.stopPropagation(),a(null),r?.(d);},u=(d,f,h)=>{d&&(e?.({[d]:f}),s(h));};return jsxs(Fragment,{children:[jsx(Yr,{onClick:i,src:va,alt:"column-icon","data-id":o,sx:{userSelect:"none",marginTop:"2px"}}),l&&jsx(a$5,{onClick:s}),jsxs(a$6,{anchorEl:n,open:l,children:[jsxs(a$7,{isSelected:t?.[n?.dataset.id||""]==="asc",onClick:d=>{u(n?.dataset.id,"asc",d);},sx:d=>({...t?.[n?.dataset.id||""]==="asc"&&{boxShadow:d.shadows[10]}}),children:[jsx(qt,{src:wa,alt:"sort-icon"}),jsx(a$8,{sx:{fontSize:"0.6875rem"},children:"Sort A-Z"})]}),jsxs(a$7,{isSelected:t?.[n?.dataset.id||""]==="desc",onClick:d=>{u(n?.dataset.id,"desc",d);},sx:d=>({...t?.[n?.dataset.id||""]==="desc"&&{boxShadow:d.shadows[10]}}),children:[jsx(qt,{src:xa,alt:"sort-icon"}),jsx(a$8,{sx:{fontSize:"0.6875rem"},children:"Sort Z-A"})]})]})]})}var Zr=memo(Za);var bt=Zr;var Qr=Ze.forwardRef(({children:e,...t},o)=>jsxs(Fragment,{children:[jsx(he,{"data-testid":"VirtualScrollInner",className:"VirtualScrollInner",style:{position:"sticky",top:0},children:e}),jsx("div",{ref:o,...t})]}));Qr.displayName="VirtualScrollInner";var Gt=Qr;var ht=createContext(null);var Kt=({children:e,value:t})=>jsx(ht.Provider,{value:t,children:e});var jr=Ze.forwardRef(({onScroll:e,children:t,...o},r)=>{let n=useContext(ht);return jsx("div",{className:"VirtualScrollOuter",onScroll:n,ref:r,...o,children:t})});jr.displayName="VirtualScrollOuter";var Yt=jr;function di({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 en=di;var ci=Ze.forwardRef(({itemData:e,children:t,setBackdropVisibility:o,scrollToIndex:r,listRef:n,onScroll:a,clearBackdropVisibilityTimeout:l,...i},s)=>{let{handleBackDropVisibility:u,clearBackdropVisibility:d,clearTimer:f}=en({setBackdropVisibility:o,clearBackdropVisibilityTimeout:l}),h=useRef(0),T=useRef(void 0),m=useRef(false),x=useRef(null),b=s||n||x,g=useCallback(()=>(f(),T.current!==void 0&&b.current?(m.current=false,h.current=T.current,T.current=void 0,u(),b.current?.scrollTo?.(h.current),true):(d(),false)),[d,f,u,b]),C=Ze.useCallback(S=>{T.current=S.currentTarget.scrollTop,m.current||(m.current=true,g());},[g]);useEffect(()=>{(r||0)>=0&&!Number.isNaN(r)&&r!==void 0&&b.current?.scrollTo&&b.current?.scrollToItem(r,"center");},[r,b]);let c=Ze.useMemo(()=>({...e,renderedScrollTopRef:h}),[e]),p=Ze.useCallback(S=>{a?.(S),m.current=g();},[g,a]);return jsx(Kt,{value:C,children:jsx(VariableSizeList,{ref:b,"data-testid":"VirtualScrollList",itemData:c,outerElementType:Yt,innerElementType:Gt,...i,onScroll:p,children:t})})}),Zt=ci;var z=styled(he,{shouldForwardProp:e=>e!=="showNoDataView"})(({showNoDataView:e})=>({display:"flex",flexDirection:"column",height:"100%",width:"100%",minWidth:e?"unset":"fit-content",overflow:"hidden",overflowX:e?"hidden":"scroll",margin:"0px"})),se=styled(he,{shouldForwardProp:e=>e!=="hidePadding"})(({theme:e,hidePadding:t})=>({flex:"1 1 auto",backgroundColor:e.palette.grey[300],paddingBottom:t?0:a$3})),He=styled(he)(({theme:e})=>({backgroundColor:e.palette.background.default})),ge=styled(TableCell,{shouldForwardProp:e=>!["isLast","isFirst","isSheetView","isSelected"].includes(e)})(({theme:e,isLast:t,isFirst:o,isSheetView:r})=>({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",cursor:"pointer",...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"}}})),Ct=styled("button")(({theme:e})=>({zIndex:1,display:"flex",gap:e.spacing(.5),alignItems:"center",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap",backgroundColor:"transparent",border:"none",cursor:"pointer",padding:0,margin:0,color:"inherit",fontSize:"inherit",fontWeight:"inherit",boxSizing:"border-box",":disabled":{cursor:"not-allowed"}})),Fe=styled(Zt,{shouldForwardProp:e=>!["areTotalRowsNotFillingHeight","isSheetView"].includes(e)})(({theme:e,areTotalRowsNotFillingHeight:t,isSheetView:o})=>({backgroundColor:t?"transparent":e.palette.background.default,...o&&{backgroundColor:e.palette.common.white}})),Tt=styled(bi,{shouldForwardProp:e=>!["showShadowHighlight","showLoadedStyle","isSheetView","isSelected"].includes(e)})(({theme:e,showShadowHighlight:t,showLoadedStyle:o,isSheetView:r})=>({display:"flex",borderBottom:`1px solid ${e?.palette.divider}`,position:"relative",height:"100%",width:"100%",...!r&&{paddingInline:"32px","&:hover":{boxShadow:e.shadows[12],zIndex:1,".payment-sources-container":{backgroundColor:e?.palette.common.white},".geography-box":{visibility:"visible"},".payout-status":{visibility:"visible !important"},"&:hover:after":{opacity:1}},"&::after":{content:"''",opacity:0,minHeight:"100%",background:e.palette.info.dark,width:"3px",position:"absolute",left:0},...o&&{backgroundColor:`${e.palette.info.dark}08 !important`},...t&&{boxShadow:e.shadows[12],zIndex:1,"&::after":{content:"''",opacity:1,minHeight:"100%",background:e.palette.info.dark,width:"3px",position:"absolute",left:0}}}})),J=styled(he,{shouldForwardProp:e=>e!=="showNoDataView"&&e!=="scrollable"})(({theme:e,showNoDataView:t,scrollable:o})=>({position:"relative",backgroundColor:e.palette.background.default,height:"100%",overflowX:t?"hidden":"scroll",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"}})),Jt=styled(motion.img)(()=>({width:"24px",height:"24px",position:"relative",zIndex:2})),St=styled(he)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%"})),on=styled(he)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:"28px",borderRadius:"8px",marginBottom:"16px !important",overflowY:"hidden"})),rn=styled(he,{shouldForwardProp:e=>e!=="showNoDataView"})(({showNoDataView:e})=>({position:"relative",height:"100%",overflowX:e?"hidden":"scroll",paddingBottom:0,display:"flex",flexDirection:"column"}));var gi=e=>{let{filter:t,totalCount:o}=e,r=useMemo(()=>t?.options?.reduce((i,{apiKey:s})=>({...i,[s]:t?.data?.[s]}),{})||{},[t]),n=useMemo(()=>{let i=t,s=i?.data?.[i.apiKey];return Array.isArray(s)?s:[]},[t]),a=useMemo(()=>Object.values(r||{}).some(i=>typeof i=="string"||Array.isArray(i)?i.length>0:i!=null)||n.length>0,[r,n]);return {isFilterApplied:a,filterDisabled:!a&&o===0}},Xe=gi;function nn({column:{header:e,id:t,align:o,headerStyle:r,sortable:n,filter:a,width:l,order:i},isFirst:s,isLast:u,isSheetView:d,onColumnSort:f,columnsSorting:h,totalCount:T}){let[m,x]=useState(null),b=useRef(null),{isFilterApplied:g,filterDisabled:C}=Xe({filter:a,totalCount:T});return jsx(ge,{"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":i,"data-column-header":typeof e=="string"?e:"component","data-column-sortable":!!n,"data-column-filterable":!!a,isFirst:s,isLast:u,ref:b,sx:p=>({paddingInline:"0.6875rem",paddingLeft:s?"0":"0.6875rem",paddingRight:u?"0":"0.6875rem",display:"flex",gap:p.spacing(.5),alignItems:"center",justifyContent:o==="right"?"flex-end":"flex-start",width:l,textAlign:o,overflow:"unset",fontWeight:600,...C&&{cursor:"not-allowed"},...r}),isSheetView:d,children:jsxs(Ct,{disabled:C,onClick:()=>{x(b.current);},children:[typeof e=="function"?e():jsx(he,{"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(Ue,{...a,anchorEl:m,setAnchorEl:x,isFilterApplied:g,disabled:C}),n&&jsx(bt,{onColumnSort:f,columnsSorting:h,columnId:t})]})})}var jt=nn;var ln=styled(yi,{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:"scroll"})),sn=styled(bi,{shouldForwardProp:e=>e!=="isSheetView"})(({theme:e,isSheetView:t})=>({display:"flex",justifyContent:"flex-start",width:"100%",minWidth:"fit-content",paddingInline:"32px",paddingBlock:"16px",...t&&{height:"28px",borderBottom:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.primary.light,paddingInline:0,paddingBlock:0}}));function Ii({columns:e,headerProps:t,showBackDrop:o,onColumnSort:r,columnsSorting:n,isSheetView:a,totalCount:l}){return jsx(ln,{component:"nav","data-testid":"VirtualTable_TableHeader_StyledHeader",showBackDrop:o,...t,children:jsx(sn,{component:"section","data-testid":"VirtualTable_TableHeader_StyledMUITableRow",isSheetView:a,children:e.map((i,s)=>jsx(jt,{column:i,isFirst:i.id===e[0].id,isLast:i.id===e[e.length-1].id,onColumnSort:r,columnsSorting:n,isSheetView:a,totalCount:l},`${i.id}-${s}`))})})}var dn=memo(Ii);var to=dn;var Li=styled(he,{shouldForwardProp:e=>e!=="sandboxMode"&&e!=="height"})(({theme:e,sandboxMode:t,height:o})=>({display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:`calc(100% - ${o}px)`,background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",margin:0,minHeight:"55px"})),oo=styled("p")(({theme:e})=>({fontSize:"0.75rem",fontWeight:600,color:alpha(e.palette.common.black,.2)}));function ki({height:e,sandboxMode:t,...o}){let{t:r}=useTranslation();return jsx(Li,{component:"section","data-testid":"TableLastItem",...o,height:e,sandboxMode:t,children:jsx(oo,{children:r("allRecordsHaveBeenSuccessfullyLoaded")})})}var ro=ki;var fn=c(yt(),1);var Ai=styled(Hi)(({theme:e})=>({backgroundColor:e.palette.grey[100],borderRadius:"64px",minWidth:"20px"}));function Ni({columns:e,style:t,index:o,animationType:r}){return jsx(bi,{sx:{...t,display:"flex",borderBottom:"1px solid #e3e8ee","&:hover":{backgroundColor:"transparent !important"}},component:"div",hover:true,children:e.map((n,a)=>jsx(Bi,{sx:{width:n.width||`${100/e.length}%`||"20%",paddingInline:"0.6875rem"},component:"div",children:jsx(Ai,{variant:"rectangular",animation:r})},`${n.id}-${a}`))},o)}var ao=memo(Ni,areEqual);var Ui=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 Xi({columns:e,isLoaded:t=false,animationType:o,isLoading:r=false,rowsCount:n}){let a=n||nb(t,r);return a=a>0?a:5,jsx(Ui,{isLoaded:t,"data-testid":"TableLoading",children:[...Array(a)].map(()=>jsx(ao,{columns:e,animationType:o},`i-${(0, fn.default)("TableLoadingRow_")}`))})}var io=memo(Xi);var gn=styled(he,{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"})),xn=styled(he,{shouldForwardProp:e=>e!=="shouldMinimizeWidth"})(({shouldMinimizeWidth:e})=>({width:e?"9rem":"15rem",display:"flex",flexDirection:"column",alignItems:"center"})),Cn=styled("h1")(({theme:e})=>({fontWeight:600,fontSize:"1.125rem",color:e.palette.text?.primary,padding:0,margin:0})),Tn=styled("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,opacity:.5,padding:0,marginTop:3,textAlign:"center"})),Sn=styled("img")(()=>({width:"2rem",height:"2rem"})),yn=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"})),wn=styled("p")(({theme:e})=>({color:e.palette.info.dark,fontSize:"0.8rem",fontWeight:600,textTransform:"none"}));function Ki({triggerDataRefetch:e,heading:t,message:o,shouldMinimizeWidth:r,sandboxMode:n,...a}){let{t:l}=useTranslation();return jsx(gn,{sandboxMode:n,...a,children:jsxs(xn,{shouldMinimizeWidth:r,children:[jsx(Sn,{src:z$1,alt:"info icon"}),jsx(Cn,{children:l(t)}),jsx(Tn,{children:l(o)}),jsx(yn,{variant:"contained",onClick:()=>{e();},children:jsx(wn,{children:l("tryAgain")})})]})})}var Q=Ki;var wt=Q;var Rn=styled$1("h1")(({theme:e})=>({fontWeight:600,fontSize:"1rem",color:e.palette.text?.primary,padding:0,margin:0})),In=styled$1("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,padding:0,marginTop:3,opacity:.5})),En=styled$1(he,{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"})),lo=styled$1("img")(()=>({width:"2rem",height:"2rem"}));function Pn({sandboxMode:e,heading:t,message:o,...r}){let{t:n}=useTranslation();return jsxs(En,{component:"section","data-testid":"EmptyList",sandboxMode:e,...r,children:[jsx(lo,{src:cg,alt:"empty container"}),jsx(Rn,{children:n(t)}),jsx(In,{children:n(o)})]})}Pn.displayName="EmptyList";var It=memo(Pn);var Vn=It;var tl=e=>{let{isTimeoutError:t,tableError:o,triggerDataRefetch:r,sandboxMode:n,tableEmpty:a,error:l}=e;if(t)return jsx(wt,{"data-testid":"VirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:r,sandboxMode:n});let i=l;if(o){let{formatted:s}=dc({error:i,fallbackMessage:"connectionErrorMsg"});return jsx(wt,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:s,triggerDataRefetch:r,sandboxMode:n})}if(a){let{formatted:s}=dc({error:i,fallbackMessage:"tryAdjustingTheDateOrFilters"});return jsx(Vn,{sandboxMode:n,heading:"nothingFound",message:s})}return jsx(wt,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:r,sandboxMode:n})},po=memo(tl);function Ln({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,orderedColumns:a,triggerDataRefetch:l,footerProps:i}){return n?jsx(He,{"data-testid":"VirtualTable_SolidBackground",children:jsx(io,{"data-testid":"VirtualTable_TableLoading",columns:a,isLoading:true})}):jsx(po,{isTimeoutError:o,tableEmpty:t,tableError:r,sandboxMode:i?.sandboxMode,error:e,triggerDataRefetch:l})}Ln.displayName="TableNoData";var Ge=memo(Ln);function co(){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 sl({row:e,columns:t,index:o,rowProps:r,isSheetView:n,selectedCell:a=null,selectedColumn:l=null,selectedRow:i=null,selectedChip:s=null,onCellClick:u,isLastRow:d=false,onChipClick:f}){let h=Ze.useCallback((g,C)=>(c,p)=>{f?.(o,g,c,p,C);},[f,o]),T=Ze.useCallback((g,C,c)=>{let{render:p,format:S,selector:w}=g;if(!g?.id||!e)return null;let R=w?w({row:e,index:o,value:e[g?.id]}):e[g?.id],I=S?S({value:R,row:e,index:o}):R;return p?p({row:e,column:g,index:o,value:e[g?.id],selectionProps:{onClick:h(c,g.pinned),rowIndex:C,colIndex:c,selectedId:s}}):jsx(Fragment,{children:I})},[e,o,s,h]),m=a!==null||l!==null||i!==null,x=Ze.useCallback((g,C)=>c=>{u?.(o,g,c,C);},[u,o]),b=useMemo(()=>{let g=t[0]?.id,C=t[t.length-1]?.id,c=i===o;return jsx(Fragment,{children:t.map((p,S)=>{if(!p?.id)return null;let w=`${p.pinned??"default"}-${o}-${S}`,R=`${p.pinned??"default"}-${S}`,I=m&&a===w,W=m&&l===R,v=Gc({isSelected:m&&(I||W||c),isCellSelected:I,isColumnSelected:W,isRowSelected:c,isLastRow:d}),M=p.id===g,y=p.id===C,E=p.pinned?M:M&&p.pinned!=="start",P=p.pinned?y:y&&p.pinned!=="end",L=c&&m?Hc({effectiveFirst:E,isPinnedStart:p.pinned==="start",isPinnedEnd:p.pinned==="end"}):{},k=p.pinned==="start"&&E;return jsx(ge,{component:"div","data-testid":"TableRow_TableCell","data-column-id":p.id,"data-column-width":p.width,"data-column-width-used":p.width,"data-column-align":p.align,"data-column-order":p.order,"data-column-header":typeof p.header=="string"?p.header:"component","data-column-sortable":!!p.sortable,"data-column-filterable":!!p.filter,isFirst:E,isLast:P,onClick:x(S,p.pinned),sx:{width:p.width,minWidth:p.width,textAlign:p.align,justifyContent:k?"center":p.align==="right"?"flex-end":"flex-start",cursor:u?"pointer":"default",...v,...L,...p.cellStyle},isSheetView:n,isSelected:I,children:n?jsx(Box,{sx:{position:"relative",zIndex:1,width:"100%"},children:T(p,o,S)}):jsx(Fragment,{children:T(p,o,S)})},`${p.id}-${S}`)})})},[t,e,o,a,l,i,m,u,d,s,n,T,x]);return createElement(Tt,{"data-testid":"TableRow",onClick:r?.onRowClick,showShadowHighlight:r?.showShadowHighlight,showLoadedStyle:r?.showLoadedStyle,component:"article",...r,key:o,isSheetView:n},b)}var ho=memo(sl,areEqual);var gl=styled(Hi)(()=>({backgroundColor:"#F4F4F4",borderRadius:"64px",width:"100%",minWidth:"20px"}));function xl({columns:e,style:t,index:o,animationType:r,rowIndex:n=0,useTableBackground:a=false}){let l=useTheme();return jsx(bi,{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((i,s)=>{let u=s===e.length-1,d=s===0,f=i.pinned==="start",h=d&&f;return jsx(Bi,{sx:{width:i.width||`${100/e.length}%`||"20%",paddingBlock:"0",paddingInline:"8px !important",paddingLeft:"8px !important",paddingRight:"8px !important",borderRight:u?"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:h&&i.render?i.render({index:n,row:{},column:i,value:n+1}):jsx(gl,{variant:"rectangular",animation:r,height:16})},`${i.id}-${s}`)})},o)}var Ye=memo(xl,areEqual);var Sl=Ze.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(Ye,{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(Jt,{sx:{position:"absolute"},src:wg}),jsx(Jt,{sx:{position:"absolute",padding:"3px"},src:Cg,alt:"tableLoadingSpinnerIcon",className:"spinner-loader",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}})]}):jsx(oo,{"data-testid":"ListItemWrapper_lastRowContent",children:n("allRecordsHaveBeenSuccessfullyLoaded")})}),yl=(e,t)=>o=>{o?.stopPropagation?.(),t?.(e);},wl=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"&&e!=="isSheetView"})(({theme:e,isSheetView:t})=>({height:t?28:"100%",backgroundColor:e.palette.background.default}));function Rl({index:e,style:t,data:{renderedScrollTopRef:o,rows:r,rowProps:n,columns:a,isLoading:l,scrollToIndex:i,newLoadedRowsEndIndex:s,isError:u,areAllRowsLoaded:d,isSheetView:f,isPinned:h=false,isLoadMoreLoading:T=false,...m}}){let x=r.length-1,b=r[e],g=l&&e===x+1,C=e<=s,c=Ze.useCallback(()=>yl(b,n?.onRowClick),[b,n?.onRowClick]),p=Ze.useMemo(()=>({showShadowHighlight:i===e,showLoadedStyle:C,...n,onClick:c}),[i,e,C,n,c]),S=Ze.useCallback(R=>jsx(Box,{sx:{minHeight:28,height:"100%",width:"100%"},children:u?jsx(co,{}):R}),[u]),w=Ze.useMemo(()=>{let R=jsx(Sl,{isSheetView:f,isLoadingRow:g,columns:a,currentRowCount:r.length}),I=g||d&&e===x+1;return h&&I?f&&g&&a&&a.length>0?S(R):jsx(Box,{sx:{...f?{minHeight:28,height:"100%"}:{height:57},backgroundColor:"#F6F8FACC"}}):I?f&&g&&a&&a.length>0?S(R):jsx(Box,{sx:{...f?{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:u?jsx(co,{}):R})}):jsx(ho,{index:e,row:b,columns:a,rowProps:p,isSheetView:f,isLastRow:e===r.length-1,isFirstRow:e===0,isLoading:l,isLoadMoreLoading:T,...m},`row-${e}`)},[m,e,b,a,p,f,g,u,d,x,h,r.length,S,T]);return jsx("div",{"data-testid":"ListItemWrapper",style:{...t,top:Number(t.top)-(o?.current??0),willChange:"top"},children:jsx(wl,{"data-testid":"ListItemWrapper_StyledItemWrapper",isSheetView:f,children:w})})}var Vt=Rl;var Ml=kl((e,t,o,r,n,a,l,i,s,u)=>({columns:e,isLoading:t,rows:o,rowProps:r,scrollToIndex:n,totalCount:l,lastItemIndex:a,isError:i,areAllRowsLoaded:s,isSheetView:u}));function Dl({columns:e,rows:t,threshold:o=200,showHeader:r,headerProps:n,rowProps:a,footerProps:l,isLoading:i,error:s,columnsSorting:u,onColumnSort:d,loadMoreItems:f,isFetchingNextPage:h,triggerDataRefetch:T,scrollToIndex:m,areAllRowsLoaded:x=false,tableBodyStyles:b$1,tableMode:g,tableTitle:C,onStartDrag:c,isSheetView:p=false,isMinimized:S,footerComponent:w,customNoDataComponent:R,defaultSkeleton:I=false}){let W=useTheme(),H=N=>{c?.(N);},v=c$1({value:h,delay:1e3}),[M,y]=useState(false),[E,P]=useState("INITIAL_KEY");useEffect(()=>{let N=`${l?.maximized}-${S}`,ce=requestAnimationFrame(()=>P(N));return ()=>cancelAnimationFrame(ce)},[l?.maximized,S]);let L=ac(s),k=i??true,F=!i&&t.length===0&&L&&!cc(s),q=!i&&t.length===0,ee=bc(s),V=t.length-1,A=useMemo(()=>Tc(e,i??false,I),[e,i,I]),te=useMemo(()=>A.filter(N=>!N.hidden),[A]),B=useMemo(()=>te.sort((N,ce)=>(N?.order??1e6)-(ce?.order??1e6)),[te]),D=ob(t.length)&&!k,G=v||x&&!D?t.length+1:t.length,Re=Ml(B,v,t,a,m,V,l?.totalCount??0,L,x&&!D,p),Ie=p?28:57,me=useRef(null);useEffect(()=>{me.current&&typeof me.current.resetAfterIndex=="function"&&me.current.resetAfterIndex(0,true);},[p,Ie]);let tt=useMemo(()=>{let N=fe=>{y(fe);};return jsx(Wl,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:fe=>fe!==V,itemCount:G,loadMoreItems:async()=>{x||await f?.();},threshold:o,children:({onItemsRendered:fe,ref:ne})=>jsx(vl,{ref:ne,"data-testid":"VirtualTable_AutoSizer",children:({height:Ee,width:zt})=>jsx(Fe,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:Re,height:Ee||0,width:zt||0,itemCount:G,itemSize:()=>Ie,onItemsRendered:fe,setBackdropVisibility:N,areTotalRowsNotFillingHeight:D,scrollToIndex:m,overscanCount:5,isSheetView:p,listRef:me,children:Vt})},E)})},[V,f,o,x,D,G,Ie,p,Re,m,E]),ue=k||F||q||ee;return jsxs(Fragment,{children:[jsxs(St,{children:[jsx(J,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":C,"data-direction":W.direction,"data-are-all-rows-loaded":!!x,"data-is-fetching-next-page":!!h,"data-scroll-to-index":m,"data-is-loading":!!i,"data-is-error":!!L,"data-is-error-timeout":!!ee,"data-table-mode":g,height:"100%",dir:W.direction,showNoDataView:ue,children:jsxs(z,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:ue,sx:{...b$1},children:[r&&jsx(to,{"data-testid":"VirtualTable_TableHeader",columnsSorting:u,onColumnSort:d,columns:B,headerProps:n,showBackDrop:M,isSheetView:p,totalCount:l?.totalCount??0}),ue?R||jsx(Ge,{error:s,tableEmpty:q,isTimeoutError:ee,tableError:F,tableLoading:k,orderedColumns:B,triggerDataRefetch:T,footerProps:l}):jsx(z,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(se,{"data-testid":"VirtualTable_StyledBox",hidePadding:true,className:"list-wrapper",children:tt})})]})}),!ue&&D&&!h&&jsx(ro,{height:(G+1)*Ie,sandboxMode:l?.sandboxMode,"data-testid":"VirtualTable_TableLastItem"})]}),l&&jsx(b,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:M,onPointerDown:H,...l}),w]})}var Hl=memo(Dl);var Dn=c(yt(),1);function Nl({style:e,index:t,cardLoadingComponent:o}){return jsx(bi,{sx:{...e,display:"flex",padding:0,"&:hover":{backgroundColor:"transparent !important"}},component:"div",children:jsx(Bi,{sx:{padding:0,flex:1},component:"div",children:o})},t)}var Co=memo(Nl,areEqual);var Ul=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 Xl({isLoaded:e=false,isLoading:t=false,rowsCount:o,cardLoadingComponent:r}){let n=o||nb(e,t);return n=n>0?n:5,jsx(Ul,{isLoaded:e,"data-testid":"TableLoadingWithCard",children:[...Array(n)].map(()=>jsx(Co,{cardLoadingComponent:r},`i-${(0, Dn.default)("TableLoadingRow_")}`))})}var To=memo(Xl);function Hn({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,triggerDataRefetch:a,footerProps:l,cardLoadingComponent:i,noDataComponent:s}){let u;if(n)u=jsx(He,{"data-testid":"VirtualTable_SolidBackground",children:jsx(To,{"data-testid":"VirtualTable_TableLoading",isLoading:true,cardLoadingComponent:i})});else if(o)u=jsx(Q,{"data-testid":"VirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:a,sandboxMode:l?.sandboxMode});else if(r){let d=e,{formatted:f}=dc({error:d,fallbackMessage:"connectionErrorMsg"});u=jsx(Q,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:f,triggerDataRefetch:a,sandboxMode:l?.sandboxMode});}else t?u=s:u=jsx(Q,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:a,sandboxMode:l?.sandboxMode});return u}Hn.displayName="TableNoDataWithCard";var So=memo(Hn);function Yl({row:e,index:t,rowProps:o,renderCardComponent:r}){return createElement(Tt,{"data-testid":"TableRow",onClick:o?.onRowClick,showShadowHighlight:o?.showShadowHighlight,showLoadedStyle:o?.showLoadedStyle,component:"article",...o,key:t},r&&jsx(r,{...e}))}var yo=memo(Yl,areEqual);var jl=(e,t)=>o=>{o?.stopPropagation?.(),t?.(e);},es=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"})(({theme:e})=>({backgroundColor:e.palette.background.default,height:"100%"}));function ts({index:e,style:t,data:{renderedScrollTopRef:o,rows:r,rowProps:n,isLoading:a,scrollToIndex:l,newLoadedRowsEndIndex:i,areAllRowsLoaded:s,renderCardComponent:u}}){let d=r.length-1,f=r[e],h=a&&e===d+1,T=e<=i,m=Ze.useCallback(jl(f,n?.onRowClick),[f,n?.onRowClick]),x=Ze.useMemo(()=>({showShadowHighlight:l===e,showLoadedStyle:T,...n,onClick:m}),[l,e,T,n,m,h,s,d]),b=Ze.useMemo(()=>jsx(yo,{index:e,row:f,renderCardComponent:u,rowProps:x},`row-${e}`),[e,f,x]);return jsx("div",{"data-testid":"ListCardWrapper",style:{...t,top:Number(t.top)-o.current,willChange:"top"},children:jsx(es,{"data-testid":"ListCardWrapper_StyledItemWrapper",children:b})})}var Io=ts;var ps=kl((e,t,o,r,n,a,l,i,s)=>({isLoading:e,rows:t,rowProps:o,scrollToIndex:r,totalCount:a,lastItemIndex:n,isError:l,areAllRowsLoaded:i,renderCardComponent:s}));function ms({rows:e,threshold:t=200,rowProps:o,footerProps:r,rowHeight:n=57,isLoading:a,error:l,tableHeader:i,loadMoreItems:s,isFetchingNextPage:u,triggerDataRefetch:d,scrollToIndex:f,areAllRowsLoaded:h=false,tableBodyStyles:T,tableMode:m,tableTitle:x,renderCardComponent:b,cardLoadingComponent:g,tableHeight:C,tableHeaderHeight:c,noDataComponent:p,onStartDrag:S}){let w=useTheme(),R=A=>{S?.(A);},I=c$1({value:u,delay:1e3}),[W,H]=useState(false),v=ac(l),M=a??true,y=!a&&e.length===0&&v&&!cc(l),E=!a&&e.length===0,P=bc(l),L=e.length-1,k=ob(e.length)&&!M,F=I||h&&!k?e.length+1:e.length,q=ps(I,e,o,f,L,r?.totalCount??0,v,h&&!k,b),ee=useMemo(()=>{let A=B=>{H(B);};return jsx(Wl,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:B=>B!==L,itemCount:F,loadMoreItems:async()=>{h||await s?.();},threshold:t,children:({onItemsRendered:B,ref:D})=>jsx(he,{sx:{height:`${C-(c??0)}px`},id:"auto-sizer-wrapper",children:jsx(vl,{ref:D,"data-testid":"VirtualTable_AutoSizer",children:({height:G,width:Re})=>jsx(Fe,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:q,height:G||0,width:Re||0,itemCount:F,itemSize:()=>n,onItemsRendered:B,setBackdropVisibility:A,areTotalRowsNotFillingHeight:k,scrollToIndex:f,overscanCount:5,children:Io})})})})},[l,a,L,s,n,e,o,y,M,t,I,h,k,F]),V=M||y||E||P;return jsxs(Fragment,{children:[jsx(St,{children:jsx(rn,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":x,"data-direction":w.direction,"data-are-all-rows-loaded":!!h,"data-is-fetching-next-page":!!u,"data-scroll-to-index":f,"data-is-loading":!!a,"data-is-error":!!v,"data-is-error-timeout":!!P,"data-table-mode":m,dir:w.direction,showNoDataView:V,sx:{height:`${C}px !important`},children:jsxs(z,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:V,sx:{...T},children:[i,V?jsx(So,{error:l,tableEmpty:E,isTimeoutError:P,tableError:y,tableLoading:M,triggerDataRefetch:d,footerProps:r,cardLoadingComponent:g,noDataComponent:p}):ee]})})}),jsx(c$2,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:W,onPointerDown:R,sx:{marginTop:"-37px"},...r})]})}var us=memo(ms);var mb=styled("img")(()=>({width:"13.3px",height:"13.3px"})),ub=styled("img")(()=>({width:"8px",height:"6.4px",cursor:"pointer",marginTop:"2px"})),Bn=styled("span")(({theme:e})=>({color:e.palette.text.primary,textOverflow:"ellipsis",width:"80%",overflow:"hidden",fontSize:"12px",fontWeight:600})),zn=styled("div")(()=>({width:"16px",height:"auto",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"2px",padding:"2px",transition:"all 0.2s ease"})),_n=styled(yi,{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:"scroll"})),An=styled(bi)(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",width:"100%",minWidth:"fit-content",height:"28px",backgroundColor:e.palette.primary.light})),Eo=styled("div")({display:"flex",width:"100%",height:"100%",overflow:"hidden",borderRadius:"12px"}),Nn=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"})),On=styled(Nn)({boxShadow:"4px 0px 24px 0px #00000014",borderLeft:"1px solid #F2F2F2",borderRight:"none",borderTopLeftRadius:"12px",borderBottomLeftRadius:"12px"}),$n=styled(Nn)({boxShadow:"-4px 0px 24px 0px #00000014",borderRight:"1px solid #F2F2F2",borderLeft:"none",borderTopRightRadius:"12px",borderBottomRightRadius:"12px"}),kt=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"})),ze=styled("div")({flexShrink:0,height:"auto",overflow:"scroll"});var Po=(e,t,o)=>{let[r,n]=useState(()=>{let m=t?e.filter(b=>b.pinned==="start").map(b=>b.id):[],x=e.filter(b=>b.isDefaultPinned&&b.pinned!=="end").map(b=>b.id);return Array.from(new Set([...x,...m]))}),[a,l]=useState(()=>{let m=e.filter(C=>C.isDefaultPinned&&C.pinned==="end").map(C=>C.id);if(!t)return m;let x=e.filter(C=>C.pinned==="end").map(C=>C.id),b=e.filter(C=>!C.hidden),g=b[b.length-1];return x.length===0&&g&&!g.pinned&&!g.isDefaultPinned?[g.id]:x}),i=useCallback((m,x="start")=>{if(!t)return;let b=[...r],g=[...a];x==="unpin"?(b=b.filter(c=>c!==m),g=g.filter(c=>c!==m)):x==="start"?(b=[...b.filter(c=>c!==m),m],g=g.filter(c=>c!==m)):x==="end"&&(g=[...g.filter(c=>c!==m),m],b=b.filter(c=>c!==m)),n(b),l(g);let C=b.includes(m)||g.includes(m);o?.(m,C);},[r,a,o,t]),s=useMemo(()=>e.filter(m=>!m.hidden),[e]),{pinnedStartColumnsData:u,pinnedEndColumnsData:d,unpinnedColumnsData:f}=useMemo(()=>{let m=s.filter(p=>r.includes(p.id)),x=s.filter(p=>a.includes(p.id)),b=s.filter(p=>!r.includes(p.id)&&!a.includes(p.id)),g=m.sort((p,S)=>(p?.order??1e6)-(S?.order??1e6)),C=x.sort((p,S)=>(p?.order??1e6)-(S?.order??1e6)),c=b.sort((p,S)=>(p?.order??1e6)-(S?.order??1e6));return {pinnedStartColumnsData:g,pinnedEndColumnsData:C,unpinnedColumnsData:c}},[s,r,a]),h=useMemo(()=>[...u,...f,...d],[u,f,d]),T=useMemo(()=>{let m=h[h.length-1];return m?m.id:null},[h]);return {pinnedStartColumns:r,pinnedEndColumns:a,handleColumnPin:i,pinnedStartColumnsData:u,pinnedEndColumnsData:d,unpinnedColumnsData:f,orderedColumns:h,lastColumnId:T}};var Vo=()=>{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 Lo=()=>{let[e,t]=useState(null),[o,r]=useState(null),[n,a]=useState(null),[l,i]=useState(null),[s,u]=useState(false),d=useCallback((m,x,b,g,C)=>{b.stopPropagation();let c=`${C??"default"}-${m}-${x}-${g}`,p=`${C??"default"}-${m}-${x}`;if(n===c){a(null),t(null);return}a(c),t(p),i(null);},[n,a,t,i]),f=useCallback((m,x,b,g)=>{if(b.stopPropagation(),g==="start"&&x===0){i(c=>c===m?null:m),t(null),r(null),a(null);return}let C=`${g??"default"}-${m}-${x}`;t(c=>c===C?null:C),r(null),a(null),i(null);},[l]),h=useCallback((m,x,b)=>{x.stopPropagation();let g=`${b??"default"}-${m}`;r(C=>C===g?null:g),t(null),a(null),i(null);},[]),T=useCallback(()=>{t(null),r(null),a(null),i(null);},[]);return {selectedCell:e,selectedColumn:o,selectedRow:l,showBackDrop:s,selectedChip:n,setShowBackdrop:u,handleChipClick:d,handleCellClick:f,handleColumnClick:h,resetSelection:T}};var xs=e=>e!==null&&"isAxiosError"in e&&e.isAxiosError===true,ko=({rows:e,isLoading:t,error:o,isFetchingNextPage:r,areAllRowsLoaded:n})=>{let a=c$1({value:r,delay:1e3}),l=useMemo(()=>{let s=ac(o||null),u=t??true,d=o&&xs(o)?o:null,f=!t&&e.length===0&&s&&!cc(d),h=!t&&e.length===0,T=bc(d);return {isError:s,tableLoading:u,tableError:f,tableEmpty:h,hasTimeoutError:T,showNoDataView:u||f||h||T}},[e.length,t,o]),i=useMemo(()=>{let s=e.length-1,u=ob(e.length)&&!l.tableLoading,d=(a??false)||n?e.length+1:e.length;return {lastItemIndex:s,areTotalRowsNotFillingHeight:u,itemsCount:d}},[e.length,l.tableLoading,a,n]);return {...l,...i,isDelayedFetchingNextPage:a??false}};var Ts=kl((e,t,o,r,n,a,l,i,s,u,d,f,h,T,m,x,b,g)=>({columns:e,isLoading:t,rows:o,rowProps:r,scrollToIndex:n,totalCount:l,lastItemIndex:a,isError:i,areAllRowsLoaded:s,limit:l,newLoadedRowsEndIndex:a,isSheetView:true,isPinned:u,selectedCell:d,selectedColumn:f,selectedRow:h,selectedChip:T,onCellClick:m,onChipClick:x,containerHeight:b,rowHeight:g})),vo=({rowHeight:e,areAllRowsLoaded:t,rows:o,isDelayedFetchingNextPage:r,rowProps:n,scrollToIndex:a,footerProps:l,isError:i,selectedCell:s,selectedColumn:u,selectedRow:d,selectedChip:f,handleCellClick:h,handleChipClick:T})=>{let m=useCallback((C,c)=>{if(t&&C===o.length){let S=o.length*e,w=c-S,R=e*2;return Math.max(w,R)}return e},[t,o.length,e]),x=useMemo(()=>[r,o,n,a,o.length-1,l?.totalCount??0,i,t],[r,o,n,a,l?.totalCount,i,t]),b=useMemo(()=>[s,u,d,f,h,T],[s,u,d,f,h,T]),g=useCallback((C,c,p)=>Ts(C,...x,c,...b,p,e),[x,b,e]);return {getItemSize:m,getItemDataForContainer:g}};var Ss=(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 Wo=({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(),i=t?28:0;n({top:l.top+i,height:l.height-i});}};if(a(),o){let l=()=>a();return window.addEventListener("resize",l),()=>window.removeEventListener("resize",l)}},[o,t,e]),r};var Yn=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"})),Zn=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%"}})),Dt=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(${ji})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center",zIndex:1e5,pointerEvents:"none",display:e?"block":"none",transform:"translate(-50%, -50%)"}));function Ps({columnId:e,onStartResize:t,isResizing:o,isLast:r=false}){let[n,a]=useState(false),[l,i]=useState({x:0,y:0}),s=useRef(null),u=useCallback(()=>{let m=s.current?.getBoundingClientRect();m&&i({x:m.right,y:m.top+m.height/2});},[]),d=useCallback(()=>{o||(a(true),u());},[o,u]),f=useCallback(()=>{!o&&n&&u();},[o,n,u]),h=useCallback(()=>{a(false);},[]);return jsxs(Fragment,{children:[jsx(Yn,{ref:s,isResizing:o,isLast:r,onMouseDown:m=>{m.stopPropagation(),m.preventDefault(),a(false),t(m,e);},onMouseEnter:d,onMouseMove:f,onMouseLeave:h,"data-testid":`column-resize-handle-${e}`}),createPortal(jsx(Dt,{isVisible:n&&!o,x:l.x,y:l.y,offsetX:-2}),document.body)]})}var Do=memo(Ps);function Ws({isVisible:e,indicatorX:t,indicatorHeight:o,indicatorTop:r,iconX:n,iconY:a}){return e?createPortal(jsxs(Fragment,{children:[jsx(Zn,{isVisible:e,x:t,height:o,top:r,"data-testid":"column-resize-indicator"}),jsx(Dt,{isVisible:e,x:n,y:a,offsetX:8,"data-testid":"floating-resize-icon"})]}),document.body):null}var Ho=memo(Ws);var Ce={MIN_WIDTH:25,MAX_WIDTH:1500,DEFAULT_WIDTH:100};var ea=e=>{if(typeof e=="string"){let t=parseInt(e,10);return isNaN(t)?Ce.DEFAULT_WIDTH:t}return e||Ce.DEFAULT_WIDTH},Fo=e=>Math.max(Ce.MIN_WIDTH,Math.min(Ce.MAX_WIDTH,e)),U=e=>{let t=String(e.id);return e.tableViewId?`${t}_${e.tableViewId}`:t},Bo=(e,t)=>e.map(o=>{let r=U(o);return {...o,width:t[r]||o.width}}),ta=(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="";},Hs=(e,t,o,r,n,a,l,i,s)=>u=>{try{let d=s.current-o,f=Fo(t+d);l(h=>({...h,columnWidths:{...h.columnWidths,[e]:f},isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),r&&n&&(Mc(r,n,String(e),f)||console.warn(`Failed to persist column width for ${e}`)),a?.(e,f),u.stopPropagation(),u.preventDefault(),i();}catch(d){console.error("Error in mouse up handler:",d),i();}},oa=(e,t,o,r,n,a,l,i,s)=>u=>{try{let d=u.clientX;if(r?.current){let h=r.current.getBoundingClientRect(),T=h.left,m=h.right;a==="start"&&n===1&&(m=m-38),d=Math.max(T,Math.min(m,u.clientX));}l&&(l.current=d);let f=d;if(i&&s){let h=i.current-s.current+Ce.MIN_WIDTH;d<h&&(f=h);}e(h=>({...h,resizeIndicatorX:f})),t({x:f,y:o.current});}catch(d){console.error("Error in mouse move handler:",d);}},ra=(e,t)=>e[t]||Ce.DEFAULT_WIDTH,na=(e,t,o,r,n,a,l)=>(i,s,u)=>d=>{Hs(i,s,u,e,t,o,r,n,l)(d),setTimeout(()=>{a.current=false;},0);};var zo=({columns:e,onColumnResize:t,handleColumnClick:o,windowId:r,serviceCode:n,tableContainerRef:a})=>{let l=useMemo(()=>e.reduce((y,E)=>{let P=U(E),L=ea(E.width),k=L;if(r&&n)try{k=Lc(r,n,P,L)??L;}catch(F){console.warn(`Failed to load stored width for column ${P}:`,F),k=L;}return y[P]=Fo(k),y},{}),[r,n]),[{columnWidths:i,isResizing:s,resizingColumn:u,resizeIndicatorX:d},f]=useState(()=>({columnWidths:l,isResizing:false,resizingColumn:null,startX:0,startWidth:0,resizeIndicatorX:0})),[h,T]=useState({x:0,y:0}),m=useRef(false),x=useRef(0),b=useRef(0),g=useRef(0),C=useRef(0),c=useRef(),p=useRef();useEffect(()=>{f(y=>{let E=new Set(Object.keys(y.columnWidths)),P=new Set(Object.keys(l));return E.size!==P.size?{...y,columnWidths:l}:Array.from(P).some(k=>!E.has(k)||y.columnWidths[k]!==l[k])?{...y,columnWidths:l}:y});},[]);let S=useCallback(y=>ra(i,y),[i]),w=useCallback(()=>{ta(c,p);},[]),R=useCallback((y,E,P)=>na(r,n,t,f,w,m,b)(y,E,P),[r,n,t,w]),I=useCallback((y,E)=>oa(f,T,x,a,y,E,b,g,C),[a]),W=useCallback((y,E)=>{y.preventDefault(),y.stopPropagation();try{let P=S(E),L=y.clientX,k=e.find(D=>U(D)===E),F=k?e.filter(D=>D.pinned===k.pinned).findIndex(D=>U(D)===E):void 0,q=k?.pinned,V=y.currentTarget.closest('[data-testid="SheetViewVirtualTable_TableHeader_StyledCell"]'),A=y.clientY;if(V){let D=V.getBoundingClientRect();A=D.top+D.height/2;}f(D=>({...D,isResizing:!0,resizingColumn:E,startX:L,startWidth:P,resizeIndicatorX:L,resizingColumnIndex:F,resizingColumnPinned:q})),x.current=A,b.current=L,g.current=L,C.current=P,T({x:L,y:A}),m.current=!0;let te=I(F,q),B=R(E,P,L);c.current=te,p.current=B,document.addEventListener("mousemove",te),document.addEventListener("mouseup",B),document.body.style.cursor="none",document.body.style.userSelect="none";}catch(P){console.error("Error starting resize:",P),w();}},[S,I,R,w,e]),H=useCallback(()=>{try{f(y=>({...y,isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),m.current=!1,w();}catch(y){console.error("Error stopping resize:",y),w();}},[w]),v=useCallback(()=>m.current,[]),M=useCallback((y,E,P)=>{v()||o(y,E,P);},[o,v]);return useEffect(()=>w,[w]),{columnWidths:i,isResizing:s,resizingColumn:u,resizeIndicatorX:d,cursorPosition:h,getColumnWidth:S,startResize:W,stopResize:H,isCurrentlyResizing:v,handleColumnClick:M}};var _o=({pinnedStartColumnsData:e,pinnedEndColumnsData:t,columnWidths:o})=>{let r=useMemo(()=>e.reduce((i,s)=>{let u=U(s),d=o[u]||parseInt(String(s.width))||150;return i+d},.2),[e,o]),n=useMemo(()=>t.reduce((i,s)=>{let u=U(s),d=o[u]||parseInt(String(s.width))||150;return i+d},.2),[t,o]),a=useMemo(()=>e.map(i=>{let s=U(i);return {...i,width:o[s]||i.width}}),[e,o]),l=useMemo(()=>t.map(i=>{let s=U(i);return {...i,width:o[s]||i.width}}),[t,o]);return {pinnedStartColumnsWidth:r,pinnedEndColumnsWidth:n,pinnedStartColumnsDataWithWidths:a,pinnedEndColumnsDataWithWidths:l}};var sa=c(yt(),1);var Ns=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 Os({columns:e,isLoaded:t=false,animationType:o,isLoading:r=false,rowsCount:n=13,isPinned:a=false}){let[l,i]=useState(()=>n||Math.min(nb(t,r),15));return useEffect(()=>{if(n){i(n);return}let s=()=>{let f=document.querySelector('[data-testid="SheetViewTableLoading"]');if(!f)return Math.min(nb(t,r),25);let h=f.parentElement?.clientHeight||0,T=28,x=h-40;if(x<=0)return Math.min(nb(t,r),25);let b=Math.floor(x/T);return Math.max(3,Math.min(b+2,25))},u=s();i(u);let d=()=>{let f=s();i(f);};return window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)},[t,r,n]),jsx(Ns,{isLoaded:t,isPinned:a,"data-testid":"SheetViewTableLoading",children:[...Array(l)].map((s,u)=>jsx(Ye,{columns:e,animationType:o,rowIndex:u,useTableBackground:!a},`i-${(0, sa.default)("SheetViewTableLoadingRow_")}`))})}var oe=memo(Os);function da({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,orderedColumns:a,triggerDataRefetch:l,footerProps:i}){let s;if(n)s=jsx(He,{"data-testid":"SheetViewVirtualTable_SolidBackground",children:jsx(oe,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:a,isLoading:true,isPinned:false})});else if(o)s=jsx(Q,{"data-testid":"SheetViewVirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:l,sandboxMode:i?.sandboxMode});else if(r){let u=e,{formatted:d}=dc({error:u,fallbackMessage:"connectionErrorMsg"});s=jsx(Q,{"data-testid":"SheetViewVirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:d,triggerDataRefetch:l,sandboxMode:i?.sandboxMode});}else if(t){let u=e,{formatted:d}=dc({error:u,fallbackMessage:"tryAdjustingTheDateOrFilters"});s=jsx(It,{sandboxMode:i?.sandboxMode,heading:"nothingFound",message:d});}else s=jsx(Q,{"data-testid":"SheetViewVirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:l,sandboxMode:i?.sandboxMode});return s}da.displayName="SheetViewTableNoData";var Us=memo(da);function Js({column:{header:e,id:t,tableViewId:o,align:r,headerStyle:n,sortable:a,filter:l,pinnable:i,width:s,order:u,pinned:d},colIndex:f,isFirst:h,isLast:T,isSelected:m,isDefaultPinned:x,onColumnSort:b,columnsSorting:g,onColumnPin:C,isPinnable:c,lastColumnId:p,onColumnClick:S,pinnedColumns:w,onStartResize:R,isResizing:I=false,resizingColumn:W=null}){let H=U({id:t,tableViewId:o}),[v,M]=useState(null),y=useRef(null),{isFilterApplied:E}=Xe({filter:l}),P=useCallback(V=>w?.includes(V),[w]),L=useMemo(()=>P(t),[t,P]),k=V=>{P(V)?C?.(V,"unpin"):V===p?C?.(V,"end"):C?.(V,"start");},F=()=>{M(y.current);};return jsxs(ge,{"data-id":t,component:"div","data-testid":"SheetViewVirtualTable_TableHeader_StyledCell","data-column-id":t,"data-column-width":s,"data-column-width-used":s,"data-column-align":r,"data-column-order":u,"data-column-header":typeof e=="string"?e:"component","data-column-sortable":!!a,"data-column-filterable":!!l,"data-column-pinned":L,isFirst:h,isLast:T,isSheetView:true,ref:y,onClick:V=>{V.target===V.currentTarget&&S?.(f,V,d);},sx:V=>({display:"flex",gap:V.spacing(.5),alignItems:"center",justifyContent:r==="right"?"flex-end":"flex-start",width:s,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(Ct,{onClick:V=>{V.stopPropagation(),F();},children:[typeof e=="function"?e():jsx(he,{"data-testid":"SheetViewTableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e&&jsx(Bn,{"data-testid":"SheetViewVirtualTable_TableHeader_StyledCell_header_text",children:e})}),l&&jsx(Ue,{...l,anchorEl:v,setAnchorEl:M,isFilterApplied:E}),a&&jsx(bt,{columnId:t,onColumnSort:b,columnsSorting:g,onClick:V=>{S?.(f,V,d);}}),c&&i&&!x&&!T&&jsx(zn,{onClick:V=>{V.stopPropagation(),k(t);},title:L?"Unpin column":"Pin column",children:jsx("img",{src:L?lg:kg,alt:"pin-icon"})})]}),R&&d!=="end"&&jsx(Do,{columnId:H,onStartResize:R,isResizing:I,isLast:T})]})}var ma=memo(Js);function js({columns:e,headerProps:t,showBackDrop:o,onColumnSort:r,columnsSorting:n,pinnedColumns:a=[],onColumnPin:l,isPinnable:i=false,lastColumnId:s,selectedColumn:u=null,onColumnClick:d,onStartResize:f,isResizing:h=false,resizingColumn:T=null}){return jsx(_n,{component:"nav","data-testid":"SheetViewVirtualTable_TableHeader_StyledHeader",showBackDrop:o,...t,children:jsx(An,{component:"section","data-testid":"SheetViewVirtualTable_TableHeader_StyledMUITableRow",children:e.map((m,x)=>{let b=`${m.pinned??"default"}-${x}`;return jsx(ma,{column:m,colIndex:x,isFirst:m.id===e[0].id,isLast:m.id===e[e.length-1].id,isDefaultPinned:!!m.isDefaultPinned,isSelected:u===b,onColumnSort:r,columnsSorting:n,pinnedColumns:a,onColumnPin:l,isPinnable:i,lastColumnId:s,onColumnClick:d,onStartResize:f,isResizing:h,resizingColumn:T},`${m.id}-${x}`)})})})}var re=memo(js);function rd({columnsData:e,itemCount:t,lastItemIndex:o,areAllRowsLoaded:r,loadMoreItems:n,threshold:a,getItemSize:l,getItemData:i,isPinned:s,fixedWidth:u,scrollToIndex:d,areTotalRowsNotFillingHeight:f,clearBackdropVisibilityTimeout:h,onScroll:T,setBackdropVisibility:m,listRef:x,overscanCount:b=40}){return jsx(Wl,{isItemLoaded:C=>C!==o,itemCount:t,loadMoreItems:async()=>{r||await n?.();},threshold:a,children:({onItemsRendered:C,ref:c})=>jsx(vl,{ref:c,children:({height:p,width:S})=>{let w=I=>l(I,p),R=i(e,s,p);return jsx(Fe,{listRef:x,height:p,width:u||S,itemCount:t,itemSize:w,itemData:R,onItemsRendered:C,overscanCount:b,setBackdropVisibility:m,scrollToIndex:d,areTotalRowsNotFillingHeight:f,useIsScrolling:true,onScroll:T,clearBackdropVisibilityTimeout:h,style:{overflowX:s?"hidden":"auto",paddingBottom:s?"25px":"13px",backgroundColor:s?"transparent":"#F6F8FACC"},children:Vt})}})})}var Oo=memo(rd);function id({position:e,columnsData:t,columnsWidth:o,pinnedColumnsList:r,showHeader:n,columnsSorting:a,onColumnSort:l,headerProps:i,showBackDrop:s,onColumnPin:u,isPinnable:d,lastColumnId:f,selectedColumn:h,onColumnClick:T,hasPinnedStart:m,hasPinnedEnd:x,tableTitle:b,areAllRowsLoaded:g,isFetchingNextPage:C,scrollToIndex:c,isLoading:p,isError:S,hasTimeoutError:w,tableMode:R,showNoDataView:I,tableLoading:W,createVirtualTableContainer:H,onStartResize:v,isResizing:M,resizingColumn:y}){let E=useTheme();if(t.length===0)return null;let P=e==="start"?On:$n,L=e==="start"?"pinnedStart":"pinnedEnd";return jsx(P,{children:jsxs(J,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":b,"data-direction":E.direction,"data-are-all-rows-loaded":!!g,"data-is-fetching-next-page":!!C,"data-scroll-to-index":c,"data-is-loading":!!p,"data-is-error":!!S,"data-is-error-timeout":!!w,"data-table-mode":R,height:"100%",dir:E.direction,showNoDataView:I,children:[n&&jsx(re,{"data-testid":"SheetViewVirtualTable_PinnedTableHeader",columnsSorting:a,onColumnSort:l,columns:t,headerProps:i,showBackDrop:s,pinnedColumns:r,onColumnPin:u,isPinnable:d,lastColumnId:f,selectedColumn:h,onColumnClick:T,tablePosition:e==="start"?"pinnedStart":"pinnedEnd",hasPinnedStart:m,hasPinnedEnd:x,onStartResize:v,isResizing:M,resizingColumn:y}),jsx(z,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content",overflowX:"hidden"},children:jsx(se,{"data-testid":"SheetViewVirtualTable_PinnedStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:W?jsx(oe,{"data-testid":`SheetViewVirtualTable_PinnedTableLoading_${e}`,columns:t,isLoading:true,isPinned:true}):H(t,L,true,o)})})]})})}var Ae=memo(id);function pd({hasPinnedStart:e,hasPinnedEnd:t,unpinnedColumnsData:o,showHeader:r,columnsSorting:n,onColumnSort:a,headerProps:l,showBackDrop:i,pinnedStartColumns:s,pinnedEndColumns:u,onColumnPin:d,isPinnable:f,lastColumnId:h,selectedColumn:T,onColumnClick:m,tableTitle:x,areAllRowsLoaded:b,isFetchingNextPage:g,scrollToIndex:C,isLoading:c,isError:p,hasTimeoutError:S,tableMode:w,showNoDataView:R,tableBodyStyles:I,tableLoading:W,createVirtualTableContainer:H,onStartResize:v,isResizing:M,resizingColumn:y}){let E=useTheme();return jsx(kt,{hasPinnedStart:e,hasPinnedEnd:t,children:jsx(J,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":x,"data-direction":E.direction,"data-are-all-rows-loaded":!!b,"data-is-fetching-next-page":!!g,"data-scroll-to-index":C,"data-is-loading":!!c,"data-is-error":!!p,"data-is-error-timeout":!!S,"data-table-mode":w,height:"100%",dir:E.direction,showNoDataView:R,scrollable:true,children:jsxs(z,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:R,sx:{...I,display:"flex",flexDirection:"column",height:"100%"},children:[r&&jsx(ze,{children:jsx(re,{"data-testid":"SheetViewVirtualTable_UnpinnedTableHeader",columnsSorting:n,onColumnSort:a,columns:o,headerProps:l,showBackDrop:i,pinnedColumns:[...s,...u],onColumnPin:d,isPinnable:f,lastColumnId:h,selectedColumn:T,onColumnClick:m,tablePosition:"scrollable",hasPinnedStart:e,hasPinnedEnd:t,onStartResize:v,isResizing:M,resizingColumn:y})}),jsx(z,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(se,{"data-testid":"SheetViewVirtualTable_ScrollableStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:W?jsx(oe,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:o,isLoading:true,isPinned:false}):H(o,"scrollable",false)})})]})})})}var $o=memo(pd);function fd({hasPinnedStart:e,hasPinnedEnd:t,unpinnedColumnsData:o,showHeader:r,columnsSorting:n,onColumnSort:a,headerProps:l,showBackDrop:i,pinnedStartColumns:s,pinnedEndColumns:u,onColumnPin:d,isPinnable:f,lastColumnId:h,selectedColumn:T,onColumnClick:m,tableTitle:x,areAllRowsLoaded:b,isFetchingNextPage:g,scrollToIndex:C,isLoading:c,isError:p,hasTimeoutError:S,tableMode:w,showNoDataView:R,tableBodyStyles:I}){let W=useTheme();return jsx(kt,{hasPinnedStart:e,hasPinnedEnd:t,children:jsx(J,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox_Loading","data-title":x,"data-direction":W.direction,"data-are-all-rows-loaded":!!b,"data-is-fetching-next-page":!!g,"data-scroll-to-index":C,"data-is-loading":!!c,"data-is-error":!!p,"data-is-error-timeout":!!S,"data-table-mode":w,height:"100%",dir:W.direction,showNoDataView:R,scrollable:true,children:jsxs(z,{"data-testid":"SheetViewVirtualTable_LoadingTableWrapper",showNoDataView:R,sx:{...I,display:"flex",flexDirection:"column",height:"100%"},children:[r&&jsx(ze,{children:jsx(re,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:n,onColumnSort:a,columns:o,headerProps:l,showBackDrop:i,pinnedColumns:[...s,...u],onColumnPin:d,isPinnable:f,lastColumnId:h,selectedColumn:T,onColumnClick:m,tablePosition:"scrollable",hasPinnedStart:e,hasPinnedEnd:t})}),jsx(z,{"data-testid":"VirtualTable_LoadingTableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(se,{"data-testid":"SheetViewVirtualTable_LoadingStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},children:jsx(oe,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:o,isLoading:true,isPinned:false})})})]})})})}var Uo=memo(fd);function xd({tableLoading:e,tableError:t,tableEmpty:o,hasTimeoutError:r,orderedColumns:n,showHeader:a,columnsSorting:l,onColumnSort:i,headerProps:s,showBackDrop:u,onColumnPin:d,lastColumnId:f,selectedColumn:h,onColumnClick:T,tableTitle:m,areAllRowsLoaded:x,isFetchingNextPage:b,scrollToIndex:g,isLoading:C,isError:c,tableMode:p,tableBodyStyles:S,error:w,triggerDataRefetch:R,footerProps:I,customNoDataComponent:W}){let H=useTheme(),v=e||t||o||r;return jsx(J,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":m,"data-direction":H.direction,"data-are-all-rows-loaded":!!x,"data-is-fetching-next-page":!!b,"data-scroll-to-index":g,"data-is-loading":!!C,"data-is-error":!!c,"data-is-error-timeout":!!r,"data-table-mode":p,height:"100%",dir:H.direction,showNoDataView:v,children:jsxs(z,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:v,sx:S,children:[a&&jsx(ze,{children:jsx(re,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:l,onColumnSort:i,columns:n,headerProps:s,showBackDrop:u,pinnedColumns:[],onColumnPin:d,isPinnable:false,lastColumnId:f,selectedColumn:h,onColumnClick:T})}),W||jsx(Ge,{error:w||null,tableEmpty:o,isTimeoutError:r,tableError:t,tableLoading:e,orderedColumns:n,triggerDataRefetch:R||(()=>Promise.resolve()),footerProps:I})]})})}var Xo=memo(xd);function wd({columns:e,rows:t,threshold:o=20,showHeader:r,headerProps:n,rowProps:a,footerProps:l,rowHeight:i=28,isLoading:s,error:u,columnsSorting:d,onColumnSort:f,loadMoreItems:h,isFetchingNextPage:T,triggerDataRefetch:m,scrollToIndex:x,areAllRowsLoaded:b$1=false,tableBodyStyles:g,tableTitle:C,onStartDrag:c,onColumnPin:p,clearBackdropVisibilityTimeout:S=100,isPinnable:w=false,tableMode:R,overscanCount:I,windowId:W,serviceCode:H,customNoDataComponent:v,defaultSkeleton:M=true}){let y=useMemo(()=>Tc(e,s??false,M),[e,s,M]),{selectedCell:E,selectedColumn:P,selectedRow:L,showBackDrop:k,setShowBackdrop:F,handleCellClick:q,handleColumnClick:ee,handleChipClick:V,selectedChip:A}=Lo(),te=useRef(null),B=useRef(null),{isError:D,tableLoading:G,tableError:Re,tableEmpty:Ie,hasTimeoutError:me,showNoDataView:tt,lastItemIndex:ue,areTotalRowsNotFillingHeight:N,itemsCount:ce,isDelayedFetchingNextPage:fe}=ko({rows:t,isLoading:s,error:u,isFetchingNextPage:T,areAllRowsLoaded:b$1}),{pinnedStartColumns:ne,pinnedEndColumns:Ee,handleColumnPin:zt,pinnedStartColumnsData:ca,pinnedEndColumnsData:fa,unpinnedColumnsData:Ko,orderedColumns:Yo,lastColumnId:ba}=Po(y,w,p),{pinnedStartVirtualListRef:ot,scrollableVirtualListRef:rt,pinnedEndVirtualListRef:nt,handleScroll:Zo}=Vo();useEffect(()=>{ot.current?.resetAfterIndex(0),rt.current?.resetAfterIndex(0),nt.current?.resetAfterIndex(0);},[t.length,ot,rt,nt]);let{columnWidths:Ne,isResizing:_t,resizingColumn:ha,resizeIndicatorX:ga,cursorPosition:Jo,startResize:xa,handleColumnClick:Ca}=zo({columns:y,handleColumnClick:ee,windowId:W,serviceCode:H,tableContainerRef:B}),Qo=Wo({tableContainerRef:te,showHeader:r??false,isResizing:_t}),{pinnedStartColumnsWidth:jo,pinnedEndColumnsWidth:er,pinnedStartColumnsDataWithWidths:K,pinnedEndColumnsDataWithWidths:Y}=_o({pinnedStartColumnsData:ca,pinnedEndColumnsData:fa,columnWidths:Ne}),tr=useMemo(()=>Bo(Ko,Ne),[Ko,Ne]),Ta=useMemo(()=>Bo(Yo,Ne),[Yo,Ne]),{getItemSize:or,getItemDataForContainer:rr}=vo({rowHeight:i,areAllRowsLoaded:b$1,rows:t,isDelayedFetchingNextPage:fe,rowProps:a,scrollToIndex:x,footerProps:l,isError:D,selectedCell:E,selectedColumn:P,selectedRow:L,selectedChip:A,handleCellClick:q,handleChipClick:V}),Sa=At=>{c?.(At);},Oe=useCallback((At,at,ya=false,wa)=>jsx(Oo,{columnsData:At,itemCount:ce,lastItemIndex:ue,areAllRowsLoaded:b$1,loadMoreItems:h,threshold:o,getItemSize:or,getItemData:rr,isPinned:ya,fixedWidth:wa,scrollToIndex:x,areTotalRowsNotFillingHeight:N,clearBackdropVisibilityTimeout:S,onScroll:Ra=>{Zo(Ra,at==="pinnedStart"?"start":at==="pinnedEnd"?"end":"scrollable");},setBackdropVisibility:F,listRef:at==="pinnedStart"?ot:at==="pinnedEnd"?nt:rt,overscanCount:I}),[ce,ue,b$1,h,o,or,rr,x,N,S,Zo,F,ot,nt,rt,I]),nr={showHeader:r,columnsSorting:d,onColumnSort:f,headerProps:n,showBackDrop:k,onColumnPin:zt,isPinnable:w,lastColumnId:ba,selectedColumn:P,onColumnClick:Ca,tableTitle:C,areAllRowsLoaded:b$1,isFetchingNextPage:T,scrollToIndex:x,isLoading:s,isError:D,tableMode:R,showNoDataView:tt,tableBodyStyles:g,onStartResize:xa,isResizing:_t,resizingColumn:ha},Pe={...nr,hasTimeoutError:me,tableLoading:G};return jsxs(Fragment,{children:[jsx(on,{ref:te,children:tt?G?jsxs(Eo,{ref:B,children:[K.length>0&&jsx(Ae,{position:"start",columnsData:K,columnsWidth:jo,pinnedColumnsList:ne,hasPinnedStart:K.length>0,hasPinnedEnd:Y.length>0,createVirtualTableContainer:Oe,...Pe}),jsx(Uo,{hasPinnedStart:K.length>0,hasPinnedEnd:Y.length>0,unpinnedColumnsData:tr,pinnedStartColumns:ne,pinnedEndColumns:Ee,...Pe}),Y.length>0&&jsx(Ae,{position:"end",columnsData:Y,columnsWidth:er,pinnedColumnsList:[...ne,...Ee],hasPinnedStart:K.length>0,hasPinnedEnd:Y.length>0,createVirtualTableContainer:Oe,...Pe})]}):jsx(Xo,{tableLoading:G,tableError:Re,tableEmpty:Ie,hasTimeoutError:me,orderedColumns:Ta,error:u,triggerDataRefetch:m,footerProps:l,customNoDataComponent:v,...nr}):jsxs(Eo,{ref:B,children:[K.length>0&&jsx(Ae,{position:"start",columnsData:K,columnsWidth:jo,pinnedColumnsList:ne,hasPinnedStart:K.length>0,hasPinnedEnd:Y.length>0,createVirtualTableContainer:Oe,...Pe}),jsx($o,{hasPinnedStart:K.length>0,hasPinnedEnd:Y.length>0,unpinnedColumnsData:tr,pinnedStartColumns:ne,pinnedEndColumns:Ee,createVirtualTableContainer:Oe,...Pe}),Y.length>0&&jsx(Ae,{position:"end",columnsData:Y,columnsWidth:er,pinnedColumnsList:[...ne,...Ee],hasPinnedStart:K.length>0,hasPinnedEnd:Y.length>0,createVirtualTableContainer:Oe,...Pe})]})}),jsx(b,{"data-testid":"SheetViewVirtualTable_TableFooter",showSeparator:true,showBackDrop:k,onPointerDown:Sa,...l}),jsx(Ho,{isVisible:_t,indicatorX:ga,indicatorHeight:Qo.height,indicatorTop:Qo.top,iconX:Jo.x,iconY:Jo.y})]})}var Rd=memo(wd);export{us as A,mb as B,ub as C,Bn as D,zn as E,_n as F,An as G,Eo as H,On as I,$n as J,kt as K,ze as L,Po as M,Vo as N,Lo as O,ko as P,vo as Q,Ss as R,Wo as S,oe as T,Us as U,re as V,Ae as W,$o as X,Uo as Y,Xo as Z,Rd as _,Dr as a,ct as b,Ue as c,Gt as d,Yt as e,Zt as f,ge as g,Xe as h,to as i,ro as j,ao as k,io as l,lo as m,po as n,Ge as o,co as p,ho as q,Ye as r,Sl as s,wl as t,Hl as u,Co as v,To as w,So as x,yo as y,Io as z};