@tap-payments/os-micro-frontend-shared 0.3.304 → 0.3.306

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/README.md +9 -0
  2. package/build/_chunks/{chunk-CALJPNIH.js → chunk-247ZI55C.js} +1 -1
  3. package/build/_chunks/{chunk-36VZZ5EB.js → chunk-2BU56HDE.js} +1 -1
  4. package/build/_chunks/{chunk-7WBXW5Q3.js → chunk-2JFMUHGQ.js} +2 -2
  5. package/build/_chunks/{chunk-IFG5ESIX.js → chunk-2LO4STE5.js} +1 -1
  6. package/build/_chunks/{chunk-XXIL5GPD.js → chunk-3TZY3PB4.js} +1 -1
  7. package/build/_chunks/{chunk-REM2S7IJ.js → chunk-4SDKOPUI.js} +1 -1
  8. package/build/_chunks/{chunk-D7362WJB.js → chunk-5FR3LFXC.js} +1 -1
  9. package/build/_chunks/{chunk-HHI47DWR.js → chunk-637LQKFX.js} +1 -1
  10. package/build/_chunks/{chunk-JYNXJIVE.js → chunk-673TILTX.js} +1 -1
  11. package/build/_chunks/{chunk-ORUY6OZP.js → chunk-6UI52RXI.js} +1 -1
  12. package/build/_chunks/{chunk-55225K5C.js → chunk-7H5HCDY6.js} +1 -1
  13. package/build/_chunks/{chunk-2EZIQKEM.js → chunk-AGNZUPPF.js} +1 -1
  14. package/build/_chunks/{chunk-F7OBXENW.js → chunk-ALG4KR24.js} +1 -1
  15. package/build/_chunks/{chunk-LOAX7R5C.js → chunk-B2NOP2A5.js} +1 -1
  16. package/build/_chunks/{chunk-BVEGSDO5.js → chunk-B2OUV4UE.js} +1 -1
  17. package/build/_chunks/{chunk-KD3LVJ3G.js → chunk-D4FXMX5O.js} +1 -1
  18. package/build/_chunks/{chunk-UT4J5TOZ.js → chunk-D7Q6GITS.js} +1 -1
  19. package/build/_chunks/{chunk-CQ5DDXNH.js → chunk-DHSYX6K2.js} +1 -1
  20. package/build/_chunks/{chunk-HFZZP3SE.js → chunk-DIN6W5Q6.js} +1 -1
  21. package/build/_chunks/{chunk-KRH6HCFC.js → chunk-EKOQHUCL.js} +1 -1
  22. package/build/_chunks/{chunk-LM7H7P3K.js → chunk-EM7XGO3A.js} +1 -1
  23. package/build/_chunks/{chunk-VMB2PTMO.js → chunk-ETLDR6XW.js} +1 -1
  24. package/build/_chunks/{chunk-IUXW2N5T.js → chunk-EWENP3LB.js} +1 -1
  25. package/build/_chunks/{chunk-ASZPO74G.js → chunk-EYLBXWXJ.js} +2 -2
  26. package/build/_chunks/{chunk-HR4BT24K.js → chunk-F7I3KDV5.js} +1 -1
  27. package/build/_chunks/{chunk-N3W2IUZT.js → chunk-FDYQ25JQ.js} +1 -1
  28. package/build/_chunks/{chunk-I33G4TM7.js → chunk-GQZXKKCE.js} +1 -1
  29. package/build/_chunks/chunk-GSPSUKZC.js +2 -0
  30. package/build/_chunks/{chunk-NH56G5JX.js → chunk-H6IWML5L.js} +1 -1
  31. package/build/_chunks/{chunk-IT5SCXJU.js → chunk-JBDIMDMZ.js} +1 -1
  32. package/build/_chunks/{chunk-5ZRFLG6Y.js → chunk-K5QISMYX.js} +1 -1
  33. package/build/_chunks/{chunk-MTZ7W457.js → chunk-KBXWH3SO.js} +1 -1
  34. package/build/_chunks/{chunk-K5NDIDS2.js → chunk-L2CUT2AZ.js} +1 -1
  35. package/build/_chunks/{chunk-V3NXFJEQ.js → chunk-LFCRVEVB.js} +1 -1
  36. package/build/_chunks/{chunk-6UG2XBA6.js → chunk-LTTRVHN5.js} +1 -1
  37. package/build/_chunks/{chunk-SZ2NN5ZU.js → chunk-M3TZIB3C.js} +1 -1
  38. package/build/_chunks/{chunk-QMS5RPGY.js → chunk-MLOWKQDW.js} +1 -1
  39. package/build/_chunks/{chunk-5YGD7JMH.js → chunk-MUBZJUHH.js} +1 -1
  40. package/build/_chunks/{chunk-774JTTY4.js → chunk-OAPCRKFH.js} +1 -1
  41. package/build/_chunks/{chunk-VC62IVBT.js → chunk-ODDV623H.js} +1 -1
  42. package/build/_chunks/{chunk-PVMELMUW.js → chunk-OJO5GAN7.js} +1 -1
  43. package/build/_chunks/{chunk-M27LLU5M.js → chunk-PYVM4SKE.js} +1 -1
  44. package/build/_chunks/{chunk-AA74HALP.js → chunk-QKEB3XTE.js} +1 -1
  45. package/build/_chunks/{chunk-NQJLFBFK.js → chunk-RGQ5AGHK.js} +1 -1
  46. package/build/_chunks/{chunk-KBJFFXZH.js → chunk-RW26DPMJ.js} +1 -1
  47. package/build/_chunks/{chunk-MSX235Y5.js → chunk-S7AZOXFD.js} +1 -1
  48. package/build/_chunks/chunk-SSK26DK7.js +1 -0
  49. package/build/_chunks/chunk-TIPJC5YT.js +1 -0
  50. package/build/_chunks/{chunk-R3JWOWGR.js → chunk-TRXHMROX.js} +1 -1
  51. package/build/_chunks/{chunk-RYRN5KCF.js → chunk-U2JLXSW5.js} +1 -1
  52. package/build/_chunks/{chunk-D7EP7AJW.js → chunk-U3ZJP2GE.js} +1 -1
  53. package/build/_chunks/{chunk-3S5EXDTX.js → chunk-U6HZMYNW.js} +1 -1
  54. package/build/_chunks/{chunk-D54XVTCB.js → chunk-UXDNAGHP.js} +1 -1
  55. package/build/_chunks/{chunk-QHGVMOCN.js → chunk-W2FF6EIY.js} +1 -1
  56. package/build/_chunks/chunk-XBJ4RS2B.js +1 -0
  57. package/build/_chunks/chunk-XK5TVDKR.js +1 -0
  58. package/build/_chunks/{chunk-P5AN3IJH.js → chunk-XKEBWPJM.js} +1 -1
  59. package/build/_chunks/{chunk-YFMZVIBE.js → chunk-XVIGXV43.js} +1 -1
  60. package/build/_chunks/{chunk-CQKZVRBJ.js → chunk-YFL4D5VW.js} +1 -1
  61. package/build/_chunks/{chunk-RK62D52W.js → chunk-YIVUI2NW.js} +1 -1
  62. package/build/_chunks/{chunk-77AHJF7T.js → chunk-YZF24X6P.js} +1 -1
  63. package/build/_chunks/{chunk-T6YRJOHS.js → chunk-ZPYQLESN.js} +1 -1
  64. package/build/components/ActionsDropdownMenu/index.js +1 -1
  65. package/build/components/Alert/index.js +1 -1
  66. package/build/components/AreaChart/index.js +1 -1
  67. package/build/components/Autocomplete/index.js +1 -1
  68. package/build/components/AvatarStack/index.js +1 -1
  69. package/build/components/AvatarStack/style.d.ts +1 -1
  70. package/build/components/Card/index.js +1 -1
  71. package/build/components/CardList/index.js +1 -1
  72. package/build/components/ColorPicker/index.js +1 -1
  73. package/build/components/ColumnViews/index.js +1 -1
  74. package/build/components/ColumnViews/styles.d.ts +1 -1
  75. package/build/components/ConfirmDialog/index.js +1 -1
  76. package/build/components/CountryFlag/index.js +1 -1
  77. package/build/components/CurrenciesMenu/index.js +1 -1
  78. package/build/components/CurrencyAmount/index.js +1 -1
  79. package/build/components/CurrencyAmountInput/index.js +1 -1
  80. package/build/components/CurrencySymbol/index.js +1 -1
  81. package/build/components/DeviceIcon/index.js +1 -1
  82. package/build/components/EmptyState/index.js +1 -1
  83. package/build/components/ErrorToast/index.js +1 -1
  84. package/build/components/ExpandableChip/index.js +1 -1
  85. package/build/components/ExpandableChip/style.d.ts +5 -5
  86. package/build/components/ExportReportButton/index.js +1 -1
  87. package/build/components/FileDropbox/index.js +1 -1
  88. package/build/components/FilePreview/index.js +1 -1
  89. package/build/components/FileUploader/index.js +1 -1
  90. package/build/components/FilterBar/index.js +1 -1
  91. package/build/components/FilterButton/index.js +1 -1
  92. package/build/components/FilterChip/index.js +1 -1
  93. package/build/components/FilterPopover/index.js +1 -1
  94. package/build/components/FlipCard/index.js +1 -1
  95. package/build/components/FlipCard/style.d.ts +1 -1
  96. package/build/components/GroupedSelect/index.js +1 -1
  97. package/build/components/HeatMap/index.js +1 -1
  98. package/build/components/ListHeader/ListHeader.d.ts +1 -1
  99. package/build/components/ListHeader/components/ListHeaderToolbar.d.ts +1 -1
  100. package/build/components/ListHeader/constants.d.ts +0 -1
  101. package/build/components/ListHeader/hooks/useListHeaderToolbarState.d.ts +1 -3
  102. package/build/components/ListHeader/index.js +1 -1
  103. package/build/components/ListHeader/types.d.ts +3 -34
  104. package/build/components/Loader/index.js +1 -1
  105. package/build/components/Logo/index.js +1 -1
  106. package/build/components/MaskedText/index.js +1 -1
  107. package/build/components/MultiLevelMenu/index.js +1 -1
  108. package/build/components/MultiLevelSelect/index.js +1 -1
  109. package/build/components/PhoneInput/index.js +1 -1
  110. package/build/components/ProgressRing/index.js +1 -1
  111. package/build/components/RadioGroup/index.js +1 -1
  112. package/build/components/RatingCount/index.js +1 -1
  113. package/build/components/RatingCount/style.d.ts +1 -1
  114. package/build/components/SearchButton/index.js +1 -1
  115. package/build/components/SearchButton/style.d.ts +2 -2
  116. package/build/components/SearchInput/index.js +1 -1
  117. package/build/components/Select/index.js +1 -1
  118. package/build/components/SheetViewChip/index.js +1 -1
  119. package/build/components/Sidebar/index.js +1 -1
  120. package/build/components/StatusIcons/AgreementIcon/style.d.ts +1 -1
  121. package/build/components/StatusIcons/AuthIcons/style.d.ts +2 -2
  122. package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +1 -1
  123. package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +6 -6
  124. package/build/components/StatusIcons/SourceIcons/style.d.ts +1 -1
  125. package/build/components/StatusIcons/index.js +1 -1
  126. package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +1 -1
  127. package/build/components/TableCells/CustomCells/AgreementCell/style.d.ts +2 -2
  128. package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +2 -2
  129. package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +1 -1
  130. package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +1 -1
  131. package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +1 -1
  132. package/build/components/TableCells/CustomCells/PayoutReportCell/AnimatedSpinnerIcon/style.d.ts +1 -1
  133. package/build/components/TableCells/CustomCells/PayoutReportCell/style.d.ts +1 -1
  134. package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +5 -5
  135. package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +1 -1
  136. package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +1 -1
  137. package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +2 -2
  138. package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.d.ts +1 -2
  139. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.d.ts +1 -1
  140. package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +2 -2
  141. package/build/components/TableCells/CustomCells/RefundStatusCell/type.d.ts +2 -3
  142. package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +1 -1
  143. package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +6 -6
  144. package/build/components/TableCells/CustomCells/index.d.ts +0 -3
  145. package/build/components/TableCells/CustomCells/style.d.ts +2 -2
  146. package/build/components/TableCells/CustomCells/type.d.ts +1 -9
  147. package/build/components/TableCells/index.js +1 -1
  148. package/build/components/TableViewToggleButton/index.js +1 -1
  149. package/build/components/TextInput/index.js +1 -1
  150. package/build/components/Timeline/index.js +1 -1
  151. package/build/components/VerificationIcon/index.js +1 -1
  152. package/build/components/VirtualTables/index.js +1 -1
  153. package/build/components/Window/index.js +1 -1
  154. package/build/components/WindowServices/index.js +1 -1
  155. package/build/components/WindowToolbar/index.js +1 -1
  156. package/build/components/index.d.ts +1 -6
  157. package/build/components/index.js +1 -1
  158. package/build/components/modules/JSONViewWindow/components/Content/style.d.ts +1 -1
  159. package/build/components/modules/JSONViewWindow/components/CopiedIndicator/style.d.ts +1 -1
  160. package/build/components/modules/JSONViewWindow/components/JSONSearchBar/style.d.ts +4 -4
  161. package/build/components/modules/JSONViewWindow/index.js +1 -1
  162. package/build/components/modules/JSONViewWindow/style.d.ts +2 -2
  163. package/build/components/modules/VirtualTables/components/style.d.ts +1 -1
  164. package/build/components/modules/VirtualTables/index.js +1 -1
  165. package/build/components/modules/WindowShell/index.js +1 -1
  166. package/build/components/modules/WindowShell/style.d.ts +2 -2
  167. package/build/components/modules/index.js +1 -1
  168. package/build/components/primitives/index.js +1 -1
  169. package/build/constants/index.js +1 -1
  170. package/build/constants/roles.d.ts +1 -0
  171. package/build/constants/timezones.d.ts +0 -10
  172. package/build/datetime/components/ZonedDueDateCell/style.d.ts +1 -1
  173. package/build/datetime/components/index.js +2 -1
  174. package/build/hooks/core/index.js +1 -1
  175. package/build/hooks/index.js +1 -1
  176. package/build/index.js +1 -1
  177. package/build/utils/date.d.ts +0 -91
  178. package/build/utils/index.d.ts +0 -1
  179. package/build/utils/index.js +1 -1
  180. package/package.json +1 -1
  181. package/build/_chunks/chunk-2CKUGHE2.js +0 -1
  182. package/build/_chunks/chunk-7LPJQYOB.js +0 -2
  183. package/build/_chunks/chunk-BFJT5WSV.js +0 -0
  184. package/build/_chunks/chunk-BMQXBC22.js +0 -1
  185. package/build/_chunks/chunk-CHYRCXUW.js +0 -2
  186. package/build/_chunks/chunk-EKTZ6Q4P.js +0 -1
  187. package/build/_chunks/chunk-KDI46MD5.js +0 -1
  188. package/build/_chunks/chunk-M6J56JSE.js +0 -1
  189. package/build/_chunks/chunk-RKLFUVFU.js +0 -1
  190. package/build/_chunks/chunk-WCH7VAS5.js +0 -1
  191. package/build/components/Calender/index.d.ts +0 -3
  192. package/build/components/Calender/index.js +0 -1
  193. package/build/components/DateFilter/DateFilter.d.ts +0 -28
  194. package/build/components/DateFilter/index.d.ts +0 -1
  195. package/build/components/DateFilter/index.js +0 -1
  196. package/build/components/DateFilter/style.d.ts +0 -36
  197. package/build/components/DateInput/index.d.ts +0 -3
  198. package/build/components/DateInput/index.js +0 -1
  199. package/build/components/RangeCalender/index.d.ts +0 -1
  200. package/build/components/RangeCalender/index.js +0 -1
  201. package/build/components/TableCells/CustomCells/DateCell/DateCell.d.ts +0 -12
  202. package/build/components/TableCells/CustomCells/DateCell/DateViewer.d.ts +0 -8
  203. package/build/components/TableCells/CustomCells/DateCell/index.d.ts +0 -2
  204. package/build/components/TableCells/CustomCells/DateCell/style.d.ts +0 -4
  205. package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.d.ts +0 -6
  206. package/build/components/TableCells/CustomCells/DueDateCell/index.d.ts +0 -2
  207. package/build/components/TableCells/CustomCells/PayoutDateCell/PayoutDateCell.d.ts +0 -7
  208. package/build/components/TableCells/CustomCells/PayoutDateCell/index.d.ts +0 -1
  209. package/build/components/Timepicker/index.d.ts +0 -3
  210. package/build/components/Timepicker/index.js +0 -1
  211. package/build/components/modules/RangeCalender/RangeCalender.d.ts +0 -8
  212. package/build/components/modules/RangeCalender/components/CustomTimepicker/CustomTimepicker.d.ts +0 -8
  213. package/build/components/modules/RangeCalender/components/CustomTimepicker/index.d.ts +0 -2
  214. package/build/components/modules/RangeCalender/components/CustomTimepicker/style.d.ts +0 -15
  215. package/build/components/modules/RangeCalender/components/GroupBy/GroupBy.d.ts +0 -10
  216. package/build/components/modules/RangeCalender/components/GroupBy/index.d.ts +0 -2
  217. package/build/components/modules/RangeCalender/components/GroupBy/style.d.ts +0 -15
  218. package/build/components/modules/RangeCalender/components/Hijri/Hijri.d.ts +0 -8
  219. package/build/components/modules/RangeCalender/components/Hijri/index.d.ts +0 -2
  220. package/build/components/modules/RangeCalender/components/Hijri/style.d.ts +0 -4
  221. package/build/components/modules/RangeCalender/components/QuickFilters/QuickFilters.d.ts +0 -9
  222. package/build/components/modules/RangeCalender/components/QuickFilters/index.d.ts +0 -2
  223. package/build/components/modules/RangeCalender/components/QuickFilters/style.d.ts +0 -7
  224. package/build/components/modules/RangeCalender/components/RangeDatepicker/RangeDatepicker.d.ts +0 -4
  225. package/build/components/modules/RangeCalender/components/RangeDatepicker/index.d.ts +0 -3
  226. package/build/components/modules/RangeCalender/components/RangeDatepicker/style.d.ts +0 -4
  227. package/build/components/modules/RangeCalender/components/RangeDatepicker/type.d.ts +0 -9
  228. package/build/components/modules/RangeCalender/components/Timezone/Timezone.d.ts +0 -13
  229. package/build/components/modules/RangeCalender/components/Timezone/components/EntitiesTimezone.d.ts +0 -11
  230. package/build/components/modules/RangeCalender/components/Timezone/components/UserTimezone.d.ts +0 -10
  231. package/build/components/modules/RangeCalender/components/Timezone/index.d.ts +0 -2
  232. package/build/components/modules/RangeCalender/components/Timezone/style.d.ts +0 -21
  233. package/build/components/modules/RangeCalender/index.d.ts +0 -2
  234. package/build/components/modules/RangeCalender/index.js +0 -1
  235. package/build/components/modules/RangeCalender/style.d.ts +0 -35
  236. package/build/components/modules/RangeCalender/type.d.ts +0 -29
  237. package/build/components/modules/RangeCalender/utils.d.ts +0 -10
  238. package/build/utils/payout.d.ts +0 -42
@@ -1 +0,0 @@
1
- import {g}from'./chunk-ISC5KT5E.js';import {j,L,f,e,p,B,R,V,x}from'./chunk-HR4BT24K.js';import {p as p$1}from'./chunk-D7EP7AJW.js';import {b}from'./chunk-N3W2IUZT.js';import {Hb,Vb,na,mb,Ja as Ja$1,Db,Eb,Fb,jb,lb,kb,Ob,oa as oa$1,sa as sa$1,J,I}from'./chunk-WCH7VAS5.js';import {c,a}from'./chunk-RKLFUVFU.js';import {oi as oi$1,ui as ui$1,ck,xb,wi as wi$1,Ta,Da,Ea,Fa,Th,Tn as Tn$1,bi as bi$1,ai as ai$1,xi as xi$1,A as A$1,F}from'./chunk-ASZPO74G.js';import $e,{memo,createContext,useContext,useRef,useCallback,useEffect,useState,useMemo,useId,createElement,Fragment as Fragment$1}from'react';import {styled,alpha,useTheme}from'@mui/material/styles';import Gs from'memoize-one';import Ys from'react-virtualized-auto-sizer';import Js from'react-window-infinite-loader';import {useTranslation}from'react-i18next';import Te from'@mui/material/Box';import {jsxs,Fragment,jsx}from'react/jsx-runtime';import Na from'@mui/material/Popper';import ka from'@mui/material/InputAdornment';import va from'lodash/values';import bn from'@mui/material/Button';import {styled as styled$1,Box,TableCell,Button}from'@mui/material';import Wl from'@mui/material/TableRow';import {motion}from'framer-motion';import {VariableSizeList,areEqual}from'react-window';import Al from'@mui/material/TableHead';import ls from'lodash/uniqueId';import Zl from'@mui/material/Skeleton';import es from'@mui/material/TableCell';import {createPortal}from'react-dom';var mo="37px",an=styled(Te,{shouldForwardProp:e=>e!=="showBackDrop"&&e!=="areTotalRowsNotFillingHeight"&&e!=="sandboxMode"&&e!=="maximized"})(({theme:e,showBackDrop:t,areTotalRowsNotFillingHeight:o,sandboxMode:r,maximized:n})=>({minHeight:mo,...!n&&{borderBottomLeftRadius:e.spacing(1.5),borderBottomRightRadius:e.spacing(1.5)},display:"flex",alignItems:"center",border:"none",justifyContent:"space-between",padding:"6px 32px",background:r?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",boxShadow:t?e.shadows[24]:"none",borderTop:o?`1px outset ${e.palette.grey[800]}`:"none",width:"100%",marginTop:"auto",flexShrink:0,cursor:"move"})),ln=styled("div")(({theme:e})=>({position:"absolute",top:0,left:0,right:0,height:"1.5px",backgroundColor:e.palette.grey[300],boxShadow:`inset 0 1px 0 0 ${e.palette.grey[300]}`})),uo=styled(Te)(({theme:e})=>({borderRadius:"37.5px",border:"0.75px solid rgba(242, 242, 242, 0.70)",backgroundColor:e.palette.common.white,opacity:1,paddingInline:e.spacing(1),display:"flex",alignItems:"center",height:24,gap:"7px",maxWidth:"max-content"})),co=styled(j)(()=>({fontSize:"9px",fontWeight:400,lineHeight:"10.8px"})),fo=styled(j)(()=>({fontSize:"10.5px",fontWeight:700,lineHeight:"12.6px"}));styled(Te)(()=>({display:"flex",gap:"3px",alignItems:"center"}));styled(Te)(()=>({display:"flex",gap:"6px"}));styled("span")(()=>({fontWeight:400}));function Ia({totalCount:e,showBackDrop:t=false,showSeparator:o,sandboxMode:r,maximized:n,selectedCount:a,className:l,...s}){let{t:i}=useTranslation();return jsxs(an,{component:"footer","data-testid":"TableFooter",maximized:n??false,sandboxMode:r,showBackDrop:t,areTotalRowsNotFillingHeight:!!o,...s,className:Hb(g,l),children:[o&&jsx(ln,{}),a?jsxs(uo,{sx:{gap:"6px",cursor:"text"},children:[jsx(co,{children:i("selected")}),jsx(fo,{children:c(a)})]}):null,e||e===0?jsxs(uo,{sx:{gap:"6px",cursor:"text"},children:[jsx(co,{children:i("count")}),jsx(fo,{children:c(e||0)})]}):null]})}var He=$e.memo(Ia);var Tt="188px";var sn=e=>({backgroundColor:e.palette.common.white,borderRadius:"4px",filter:"drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.16))",width:Tt,marginTop:"10px",boxShadow:e.shadows[3]}),dn=styled(Te)(({theme:e})=>({color:e.palette.grey[700],fontSize:"11px",fontWeight:500,padding:"8px 16px",textAlign:"left",borderBottom:`1px solid ${e.palette.divider}`})),pn=styled(L)(({theme:e})=>({border:`1px solid ${e.palette.divider}`,".icon":{width:14}})),mn=styled(Te)(()=>({padding:"8px 16px","> div + div":{marginTop:"8px"}})),un=styled(bn)(({theme:e})=>({color:e.palette.info.dark,fontSize:"11px",textTransform:"capitalize",padding:"4px 9px",minWidth:"auto","&:hover":{background:"transparent"}})),cn=styled(Te)(({theme:e})=>({padding:"0 16px 8px",textAlign:"left",borderBottom:`1px solid ${e.palette.divider}`}));var hn=styled(Te)(({theme:e})=>({background:e.palette.grey[700],width:27,height:14,display:"inline-flex",alignItems:"center",marginInlineStart:"4px",borderRadius:"10px",padding:"2px 6px",img:{cursor:"pointer"}})),It=styled(Te)(()=>({padding:"8px 16px",display:"flex",gap:"8px",justifyContent:"center"})),Rt=styled(bn)(({theme:e})=>({textTransform:"capitalize",minWidth:"auto",width:"100%",borderRadius:"4px",border:`1px solid ${e.palette.info.dark}`,backgroundColor:e.palette.info.dark,fontWeight:700,fontSize:"11px",color:e.palette.common.white,"&:hover":{backgroundColor:e.palette.info.dark}})),Pt=styled(bn)(({theme:e})=>({textTransform:"capitalize",minWidth:"auto",width:"100%",borderRadius:"4px",border:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.common.white,fontWeight:500,fontSize:"11px",color:e.palette.text.primary,"&:hover":{background:"transparent"}}));function Wa({onCloseDropdown:e,filter:{options:t=[],onConfirm:o,data:r,isOnlyOneFilter:n,onClearFilterFields:a,wrapperSx:l,sx:s}}){let[i,p]=useState({});useEffect(()=>{p((t||[]).reduce((T,{apiKey:C})=>({...T,[C]:r?.[C]??""}),{}));},[]);let{t:d}=useTranslation(),u=()=>{o?.(i);},f=p$1(u,e),w=T=>{u(),e(T);},m=T=>{e(T);},h=()=>{a?.(),p(t.reduce((T,{apiKey:C})=>({...T,[C]:""}),{}));},b=T=>i[T]!==void 0&&i[T].length>0,y=T=>i[T]!==void 0&&i[T].length?i[T]:"",c=T=>{b(T)&&p({...i,[T]:""});},g=useMemo(()=>va(i).some(T=>!!T),[i]),x$1=useCallback(T=>t.find(C=>C.apiKey===T),[t]),S=useCallback((T,C)=>{let P=i?.[T]!==void 0&&i?.[T]!==""&&i?.[T]!==null,V=Object.entries(i).some(([I,k])=>!!k&&(x$1(I)?.filterGroup!==C||!C));return n&&!P&&V},[t,i,n]);return jsxs(Te,{component:"article","data-testid":"ColumnFilterInputs",sx:T=>({...sn(T),...Object.assign({},...[s].flat().filter(C=>C&&typeof C=="object"))}),onKeyDown:f,children:[jsx(dn,{component:"header","data-testid":"ColumnFilterInputs_title",children:d("filterBy")}),jsx(mn,{"data-testid":"ColumnFilterInputs_inputs",component:"main",sx:l,children:t.map(({placeholder:T,apiKey:C,isDisabled:P,filterGroup:V,render:I})=>jsx(Fragment$1,{children:I?I():jsx(pn,{className:"input","data-testid":"ColumnFilterInputs_InputStyled",name:C,placeholder:T,onChange:k=>{p({...i,[C]:k.target.value});},disabled:P||S(C,V),value:y(C),inputProps:{autoComplete:"off","data-testid":"ColumnFilterInputs_input"},endAdornment:jsx(ka,{position:"end",children:jsx(Te,{component:"img","data-testid":"ColumnFilterInputs_icon","data-icon":b(C)?"close":"search",src:b(C)?xi$1:A$1,alt:"search",className:"icon",sx:{cursor:b(C)?"pointer":"default"},onClick:()=>{c(C);}})})})},C))}),jsx(x,{in:g,component:"section","data-testid":"ColumnFilterInputs_Collapse",sx:{borderTop:"0"},children:jsx(cn,{"data-testid":"ColumnFilterInputs_ClearWrapper",children:jsx(un,{type:"button",onClick:h,"data-testid":"ColumnFilterInputs_ClearButton",children:d("clear")})})}),jsxs(It,{component:"footer","data-testid":"ColumnFilterInputs_footer",children:[jsx(Pt,{type:"button",onClick:m,"data-testid":"ColumnFilterInputs_CancelButton",children:d("cancel")}),jsx(Rt,{type:"button",onClick:w,"data-testid":"ColumnFilterInputs_OkayButton",children:d("okay")})]})]})}var Sn=Wa;var Et=Sn;var yn=styled$1(j)(({theme:e})=>({fontWeight:e.v2.typography.fontWeightMedium,fontSize:"0.6875rem",color:e.v2.palette.grey[500],paddingInlineStart:e.v2.spacing(16),paddingTop:e.v2.spacing(8),paddingBottom:e.v2.spacing(8),paddingInlineEnd:e.v2.spacing(8)})),Tn=styled$1(Box,{shouldForwardProp:e=>e!=="disabled"})(({theme:e,disabled:t})=>({fontWeight:e.typography.fontWeightMedium,padding:e.spacing(1),position:"relative",display:"flex",alignItems:"center",textTransform:"capitalize",cursor:t?"not-allowed":"pointer",flex:1,zIndex:99999,".MuiButtonBase-root":{width:"16px",marginInlineEnd:"4px"}})),wn=styled$1(Box)(({theme:e})=>({borderRadius:e.spacing(.5),background:e.palette.background.default,width:"max-content",cursor:"pointer",zIndex:99999,boxShadow:e.shadows[11],display:"flex",flexDirection:"column",".nested-menu-item + .nested-menu-item":{borderTop:`1px solid ${e.palette.divider}`,zIndex:99999},".nested-menu-item:hover":{transition:e.transitions.create(["boxShadow","border"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.complex}),boxShadow:e.shadows[6],border:"none",position:"relative"}})),In=styled$1(Box)(({theme:e})=>({...e.typography.subtitle1,color:e.palette.text.primary})),Rn=styled$1(f)(()=>({padding:0,paddingRight:"4px",".MuiSvgIcon-root":{width:12,height:12}})),Pn=styled$1(Box)(()=>({display:"flex",gap:"4px",alignItems:"center",flexGrow:1,minWidth:0,overflow:"hidden"})),En=styled$1(Box)(()=>({display:"flex",gap:"12px",justifyContent:"space-between",flexGrow:1,alignItems:"center",minWidth:0,overflow:"hidden"})),Vn=styled$1(Box)(({theme:e})=>({borderRadius:"50%",background:e.palette.divider,width:13,height:14,fontSize:"8px",fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",lineHeight:"10px"})),Ln=styled$1(Box)(()=>({display:"flex",alignItems:"center",gap:"8px",flexShrink:0,position:"relative",left:4})),kn=styled$1(Box)(()=>({flex:"1 0 auto"})),vn=styled$1(Box)(()=>({position:"relative",zIndex:999999}));function Mn(e){return e.scrollWidth-e.clientWidth>1}function Ba({children:e}){let t=useRef(null),[o,r]=useState(false);return jsx(p,{arrow:true,placement:"top",title:e,open:o,onOpen:()=>{let n=t.current;n&&Mn(n)&&r(true);},onClose:()=>r(false),componentsProps:{tooltip:{sx:{maxWidth:280,whiteSpace:"normal",wordBreak:"break-word"}}},wrapperProps:{sx:{flex:1,minWidth:0,display:"block",overflow:"hidden"}},children:jsx(In,{ref:t,sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e})})}var Fn=memo(Ba);function Oa({label:e,icon:t,name:o,menuItems:r,setSelected:n,onSelect:a,selected:l,displayChildrenCount:s,disabled:i,placement:p="right",sx:d,menuSx:u}){let[f,w]=useState(null),m=useRef(null),[h,b]=useState(false),y=c=>{!i&&l!==void 0&&(n({name:c,selected:!l}),l||b(false));};return useEffect(()=>{b(!!(r?.some(c=>c.selected)&&!r?.every(c=>c.selected)));},[]),jsxs(Tn,{"data-testid":"NestedMenu_MenuItem",ref:m,className:`nested-menu-item ${f?"active":""} ${i?"disabled":""}`,onMouseEnter:c=>{!f&&r?.length&&w(c.currentTarget);},onMouseLeave:()=>{f&&w(null);},onClick:c=>{i||(c.stopPropagation(),y(o));},sx:{...r?.length&&{cursor:i?"not-allowed":"pointer"},zIndex:99999,...d},disabled:i,children:[l!==void 0&&jsx(Rn,{size:"small",indeterminate:h,checked:l,disabled:i}),jsxs(Pn,{children:[t&&t,jsxs(En,{children:[e&&jsx(Fn,{children:e}),!!r?.length&&jsxs(Ln,{children:[s&&jsx(Vn,{children:r.length}),jsx("img",{src:xb,className:"arrow-icon",alt:"arrow",style:{height:12}})]})]})]}),r?.length&&jsx(Na,{open:!!(f&&r?.length),anchorEl:f,placement:p==="left"?"left-start":"right-start",sx:{zIndex:99999,...u},children:jsx(Lt,{className:"child-nested-menu",menuItems:r,placement:p,sx:u,onChildrenChange:c=>{let g=c.every(x=>x.selected);l!==void 0&&!i&&(g&&n({name:o,selected:true}),c.every(x=>!x.selected)&&n({name:o,selected:false}),b(c?.some(x=>x.selected)&&!c.every(x=>!x.selected)&&!g));},onSelect:c=>{a(c,o);}})})]})}var Hn=memo(Oa);function Ua({title:e,menuItems:t,onChildrenChange:o,onSelect:r,className:n,updatedList:a,footer:l,header:s,placement:i="right",...p}){let[d,u]=useState({name:"",selected:false}),[f,w]=useState();return useEffect(()=>{w(t);},[t]),useEffect(()=>{if(d.name){let{name:m,selected:h}=d,b=[],y=x=>x?.map(S=>(b.push({name:S.name,selected:h}),{...S,selected:h,...S.menuItems?.length&&{menuItems:y(S.menuItems)}})),g=(x=>x.map(S=>S.name===m?(b.push({name:S.name,selected:h}),{...S,selected:h,...S.menuItems?.length&&{menuItems:y(S.menuItems)}}):S))(f);w(g),a&&a(g),o&&o(g),r&&r(b);}},[d]),jsxs(wn,{component:"article",className:`tap-dropdown ${n||""}`,...p,children:[jsx(vn,{children:e&&jsx(yn,{component:"p",children:e})}),s,jsx(kn,{children:f?.map((m,h)=>jsx(Hn,{setSelected:({name:b,selected:y})=>{u({name:b,selected:y});},onSelect:b=>{r&&r(b);},placement:i,...m},`${m.name}-${h}`))}),l&&l]})}var Lt=memo(Ua);var _n=(e,{menuItemSx:t,menuSx:o})=>(e.forEach(r=>{r.sx={...t,...r.sx},r.menuSx={...o,...r.menuSx},r.menuItems?.length&&_n(r.menuItems,{menuItemSx:t,menuSx:o});}),e);function Ja({title:e,menuItems:t,onSelect:o,updatedList:r,header:n,placement:a="right",menuItemSx:l={},menuSx:s={},...i}){let p=useMemo(()=>_n(t,{menuItemSx:l,menuSx:s}),[t,l,s]),[d,u]=useState(p),f=Vb(useId(),"nested-menu");useEffect(()=>{u(p);},[p]);let w=m=>{let h=y=>y.map(c=>({...c,selected:m.find(g=>c.name===g.name)?.selected??c.selected,...c.menuItems?.length&&{menuItems:h(c.menuItems)}})),b=h(d);u(b),r&&r(b);};return jsx(Lt,{id:f,"data-testid":"NestedMenu",placement:a,menuItems:d,title:e,header:n,onSelect:m=>{o&&o(m),w(m);},...i})}var An=memo(Ja);var Nn=An;function nl({onCloseDropdown:e,filter:t,styles:o,header:r,searchable:n}){let[a,l]=useState([]),{t:s}=useTranslation(),i=useRef([]),p=t?.options?.map(c=>c.value).join(",")??"";useEffect(()=>{let c=x=>{let S=t?.data?.[t.apiKey]??[];if(Array.isArray(S)&&S.length)return new Set(S).has(x)},g=x=>x.map(({placeholder:S,value:R,isSelected:T,icon:C,options:P})=>{let V;if(n){let I=i.current.find(k=>k.apiKey===R);V=I!==void 0?I.isSelected??false:(T||c(R)||P?.every(({value:k})=>c(k)))??false;}else V=(T||c(R)||P?.every(({value:I})=>c(I)))??false;return {...S&&{label:S},name:R,selected:V,...C&&{icon:C},...P?.length&&{menuItems:g(P)}}});t.options&&l(g(t.options));},[t?.data,p,n]);let d=()=>{i.current=[];},u=c=>{d(),e(c);},f=()=>{if(n){let c=new Set(t?.data?.[t.apiKey]??[]);i.current.forEach(({apiKey:g,options:x,isSelected:S})=>{x?x.forEach(({apiKey:R,isSelected:T})=>{T?c.add(R):c.delete(R);}):S?c.add(g):c.delete(g);}),t?.onConfirm?.({[t.apiKey]:[...c]});}else {let c=i.current.reduce((g,{options:x,apiKey:S,isSelected:R})=>{if(x){let T=x.filter(({isSelected:C})=>C);T.length&&g.push(...T.map(({apiKey:C})=>C));}else R&&g.push(S);return g},[]);i.current.length&&t?.onConfirm?.({[t.apiKey]:[...new Set(c)]});}d();},w=p$1(f,e),m=c=>{f(),e(c);},h=c=>{let g=S=>S.map(({name:R,selected:T,menuItems:C,label:P})=>({...P&&{placeholder:P},apiKey:R,isSelected:T,...C?.length&&{options:g(C)}})),x=g(c);if(n){let S=new Set(x.map(R=>R.apiKey));i.current=[...i.current.filter(R=>!S.has(R.apiKey)),...x];}else i.current=x;},b=o?.maxWidth??Tt,y={maxWidth:b,width:`min(${b}, max-content)`};return jsx(Nn,{"data-testid":"ColumnFilter_List",title:s("filterBy")||"Filter by",menuItems:a,style:o,menuSx:y,sx:[c=>({...y,marginTop:"10px",textAlign:"left",boxShadow:c.shadows[3],overflow:"hidden",".nested-menu-item":{height:41,zIndex:9999}}),...(Array.isArray(t.sx)?t.sx:[t.sx]).filter(Boolean)],updatedList:h,header:r,onKeyDown:w,footer:jsxs(It,{sx:{position:"sticky",bottom:0,zIndex:99999},children:[jsx(Pt,{onClick:u,children:s("cancel")},"nested-dropdown-cancel"),jsx(Rt,{onClick:m,children:s("okay")},"nested-dropdown-ok")]})})}var On=memo(nl);var vt=On;function pl(e){let{anchorEl:t,setAnchorEl:o,onClose:r,isFilterApplied:n,disabled:a}=e,l=u=>{u.stopPropagation(),o(null),r?.(u);},s=useRef(null),i=!!t;useEffect(()=>{i&&requestAnimationFrame(()=>s.current?.focus());},[i]);let p=useMemo(()=>e.type==="list"?[e.apiKey]:(e?.options||[])?.map(({apiKey:u})=>u),[e]),d=useMemo(()=>{if(e.type==="list")return jsx(vt,{onCloseDropdown:l,filter:e});if(e.type==="inputs")return jsx(Et,{onCloseDropdown:l,filter:e});if(e.type==="custom"){let u={anchorEl:t,setAnchorEl:o,onCloseDropdown:l};return e.render(u)}return null},[i,e,l]);return jsxs(Fragment,{children:[n?jsxs(hn,{children:[jsx(Te,{component:"img","data-testid":"ColumnFilter_whiteFilterIcon",src:wi$1,alt:"filter-icon",sx:{marginInlineEnd:"2px",height:6}}),jsx(Te,{component:"img","data-testid":"ColumnFilter_closeIcon",src:Ta,alt:"close-icon",onClick:u=>{u.stopPropagation(),o(null),e.onClear(p);}})]}):jsx(Te,{component:"img","data-testid":"ColumnFilter_columnIcon",src:Da,alt:"column-icon",sx:{marginTop:"2px",userSelect:"none",opacity:a?.5:1}}),i&&jsx(B,{onClick:l}),jsx(Na,{open:i,anchorEl:t,placement:"bottom-start",children:jsx("div",{ref:s,tabIndex:-1,style:{outline:"none"},onClick:u=>u.stopPropagation(),children:d})})]})}var Xn=memo(pl);var Qe=Xn;var Co=styled("img")(()=>({width:"13.3px",height:"13.3px"})),jn=styled("img")(()=>({width:"8px",height:"6.4px",cursor:"pointer"}));function fl({onColumnSort:e,columnsSorting:t,columnId:o,onClick:r}){let[n,a]=useState(null),l=!!n,s=d=>{d.stopPropagation(),a(d.currentTarget),r?.(d);},i=d=>{d.stopPropagation(),a(null),r?.(d);},p=(d,u,f)=>{d&&(e?.({[d]:u}),i(f));};return jsxs(Fragment,{children:[jsx(jn,{onClick:s,src:Da,alt:"column-icon","data-id":o,sx:{userSelect:"none",marginTop:"2px"}}),l&&jsx(B,{onClick:i}),jsxs(R,{anchorEl:n,open:l,children:[jsxs(V,{isSelected:t?.[n?.dataset.id||""]==="asc",onClick:d=>{p(n?.dataset.id,"asc",d);},sx:d=>({...t?.[n?.dataset.id||""]==="asc"&&{boxShadow:d.shadows[10]}}),children:[jsx(Co,{src:Ea,alt:"sort-icon"}),jsx(j,{sx:{fontSize:"0.6875rem"},children:"Sort A-Z"})]}),jsxs(V,{isSelected:t?.[n?.dataset.id||""]==="desc",onClick:d=>{p(n?.dataset.id,"desc",d);},sx:d=>({...t?.[n?.dataset.id||""]==="desc"&&{boxShadow:d.shadows[10]}}),children:[jsx(Co,{src:Fa,alt:"sort-icon"}),jsx(j,{sx:{fontSize:"0.6875rem"},children:"Sort Z-A"})]})]})]})}var qn=memo(fl);var Wt=qn;var Yn=$e.forwardRef(({children:e,...t},o)=>jsxs(Fragment,{children:[jsx(Te,{"data-testid":"VirtualScrollInner",className:"VirtualScrollInner",style:{position:"sticky",top:0},children:e}),jsx("div",{ref:o,...t})]}));Yn.displayName="VirtualScrollInner";var So=Yn;var Ft=createContext(null);var yo=({children:e,value:t})=>jsx(Ft.Provider,{value:t,children:e});var Jn=$e.forwardRef(({onScroll:e,children:t,...o},r)=>{let n=useContext(Ft);return jsx("div",{className:"VirtualScrollOuter",onScroll:n,ref:r,...o,children:t})});Jn.displayName="VirtualScrollOuter";var To=Jn;function El({setBackdropVisibility:e,clearBackdropVisibilityTimeout:t}){let o=useRef(void 0);return useEffect(()=>()=>{clearTimeout(o.current);},[]),{handleBackDropVisibility:()=>{e(true);},clearBackdropVisibility:()=>{o.current=setTimeout(()=>{e(false);},t||2e3);},clearTimer:()=>{clearTimeout(o.current);}}}var Zn=El;var vl=$e.forwardRef(({itemData:e,children:t,setBackdropVisibility:o,scrollToIndex:r,listRef:n,onScroll:a,clearBackdropVisibilityTimeout:l,...s},i)=>{let{handleBackDropVisibility:p,clearBackdropVisibility:d,clearTimer:u}=Zn({setBackdropVisibility:o,clearBackdropVisibilityTimeout:l}),f=useRef(0),w=useRef(void 0),m=useRef(false),h=useRef(null),b=i||n||h,y=useCallback(()=>(u(),w.current!==void 0&&b.current?(m.current=false,f.current=w.current,w.current=void 0,p(),b.current?.scrollTo?.(f.current),true):(d(),false)),[d,u,p,b]),c=$e.useCallback(S=>{w.current=S.currentTarget.scrollTop,m.current||(m.current=true,y());},[y]);useEffect(()=>{(r||0)>=0&&!Number.isNaN(r)&&r!==void 0&&b.current?.scrollTo&&b.current?.scrollToItem(r,"center");},[r,b]);let g=$e.useMemo(()=>({...e,renderedScrollTopRef:f}),[e]),x=$e.useCallback(S=>{a?.(S),m.current=y();},[y,a]);return jsx(yo,{value:c,children:jsx(VariableSizeList,{ref:b,"data-testid":"VirtualScrollList",itemData:g,outerElementType:To,innerElementType:So,...s,onScroll:x,children:t})})}),wo=vl;var A=styled(Te,{shouldForwardProp:e=>!["showNoDataView","compact","fixedHeight"].includes(e)})(({showNoDataView:e,compact:t,fixedHeight:o})=>({display:"flex",flexDirection:"column",height:o?`${o}px`:t?"auto":"100%",width:"100%",minWidth:e?"unset":"fit-content",overflow:"hidden",overflowX:e?"hidden":"auto",margin:"0px",...t&&{flex:"0 0 auto"}})),be=styled(Te,{shouldForwardProp:e=>e!=="hidePadding"})(({theme:e,hidePadding:t})=>({flex:"1 1 auto",backgroundColor:e.palette.grey[300],paddingBottom:t?0:mo})),_e=styled(Te)(({theme:e})=>({backgroundColor:e.palette.background.default})),we=styled(TableCell,{shouldForwardProp:e=>!["isLast","isFirst","isSheetView","isSelected","$hasFilter","$isFilterDisabled"].includes(e)})(({theme:e,isLast:t,isFirst:o,isSheetView:r,$hasFilter:n,$isFilterDisabled:a})=>({paddingBlock:"0",paddingInline:"0.3875rem !important",paddingLeft:o?"0 !important":"0.3875rem !important",paddingRight:t?"0 !important":"0.3875rem !important",color:r?e.palette.text.primary:e.palette.grey[700],fontSize:r?e.typography.subtitle1.fontSize:e.typography.caption.fontSize,height:"100%",fontWeight:r?400:e.typography.fontWeightRegular,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"flex",alignItems:"center",...n&&{cursor:"pointer"},...a&&{cursor:"not-allowed"},...r&&{borderRight:t?"1px solid transparent":`1px solid ${e.palette.divider}`,paddingInline:"8px !important",paddingLeft:"8px !important",paddingRight:"8px !important",position:"relative",borderTop:"1px solid transparent",borderLeft:"1px solid transparent",overflow:"hidden !important","&:before":{content:'""',borderRight:t?"none":"1px solid transparent",position:"absolute",top:0,right:0,left:0,bottom:0,pointerEvents:"none"}}})),Bt=styled("button",{shouldForwardProp:e=>!["$hasFilter"].includes(e)})(({theme:e,$hasFilter:t,disabled:o})=>({zIndex:1,display:"flex",gap:e.spacing(.5),alignItems:"center",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap",backgroundColor:"transparent",border:"none",...t&&{cursor:"pointer"},...o&&{cursor:"not-allowed"},padding:0,margin:0,color:"inherit",fontSize:"inherit",fontWeight:"inherit",boxSizing:"border-box",":disabled":{cursor:"not-allowed"}})),Ae=styled(wo,{shouldForwardProp:e=>!["areTotalRowsNotFillingHeight","isSheetView"].includes(e)})(({theme:e,areTotalRowsNotFillingHeight:t,isSheetView:o})=>({backgroundColor:t?"transparent":"#F6F8FACC",...o&&{backgroundColor:e.palette.common.white}})),zt=styled(Wl,{shouldForwardProp:e=>!["showShadowHighlight","showLoadedStyle","isSheetView","isSelected","isChecked","adjacentBelow","adjacentAbove"].includes(e)})(({theme:e$1,showShadowHighlight:t,showLoadedStyle:o,isSheetView:r,isChecked:n,adjacentBelow:a,adjacentAbove:l})=>({display:"flex",borderBottom:`1px solid ${e$1?.palette.divider}`,position:"relative",height:"100%",width:"100%",...!r&&{paddingInline:"32px",...a&&{borderBottom:"none",clipPath:"inset(-20px -20px 0px -20px)","&::before":{content:'""',position:"absolute",bottom:0,left:"32px",right:"32px",height:"1px",backgroundColor:e$1.palette.divider,zIndex:1}},...l&&{clipPath:"inset(0px -20px -20px -20px)"},...a&&l&&{clipPath:"inset(0px -20px 0px -20px)"},"&:hover":{boxShadow:e$1.shadows[12],zIndex:1,[`.${e.root}`]:{visibility:"visible"},".payment-sources-container":{backgroundColor:e$1?.palette.common.white},".geography-box":{visibility:"visible"},".payout-status":{visibility:"visible !important"},"&:hover:after":{opacity:1}},"&::after":{content:"''",opacity:0,minHeight:"100%",background:e$1.palette.info.dark,width:"3px",position:"absolute",left:0},...n&&{boxShadow:e$1.shadows[12],zIndex:1,"&:after":{opacity:1},[`.${e.root}`]:{visibility:"visible"}},...o&&{backgroundColor:`${e$1.palette.info.dark}08 !important`},...t&&{boxShadow:e$1.shadows[12],zIndex:1,"&::after":{content:"''",opacity:1,minHeight:"100%",background:e$1.palette.info.dark,width:"3px",position:"absolute",left:0}}}})),te=styled(Te,{shouldForwardProp:e=>e!=="showNoDataView"&&e!=="scrollable"})(({theme:e,showNoDataView:t,scrollable:o})=>({position:"relative",backgroundColor:e.palette.background.default,height:"100%",overflowX:t?"hidden":"auto",display:"flex",flexDirection:"column","&:hover":{scrollbarWidth:o?"auto":"none"},"&::-webkit-scrollbar":{display:"block",height:"13px"},"&::-webkit-scrollbar-track":{background:"white",border:"1px solid #F2F2F2"},"&::-webkit-scrollbar-thumb":{backgroundColor:"#DADCDF",borderRadius:"32px",border:"3px solid transparent",backgroundClip:"content-box",minHeight:"20px"}})),Io=styled(motion.img)(()=>({width:"24px",height:"24px",position:"relative",zIndex:2})),_t=styled(Te)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%"})),ei=styled(Te)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:"28px",borderRadius:"8px",marginBottom:"16px !important",overflowY:"hidden"})),ti=styled(Te,{shouldForwardProp:e=>e!=="showNoDataView"})(({showNoDataView:e})=>({position:"relative",height:"100%",overflowX:e?"hidden":"auto",paddingBottom:0,display:"flex",flexDirection:"column"})),At=styled(f,{shouldForwardProp:e=>!["isRow"].includes(e)})(({isRow:e})=>({position:"absolute",left:"12px",top:"50%",transform:"translateY(-50%)",padding:0,...e&&{visibility:"hidden"}}));var Dl=e=>{let{filter:t,totalCount:o,isFilterEnabled:r}=e,n=useMemo(()=>t?.options?.reduce((i,{apiKey:p})=>({...i,[p]:t?.data?.[p]}),{})||{},[t]),a=useMemo(()=>{let i=t,p=i?.data?.[i.apiKey];return Array.isArray(p)?p:[]},[t]),l=useMemo(()=>Object.values(n||{}).some(i=>typeof i=="string"||Array.isArray(i)?i.length>0:i!=null)||a.length>0,[n,a]);return {isFilterApplied:l,filterDisabled:!l&&o===0&&!r}},et=Dl;function oi({column:{header:e,id:t,align:o,headerStyle:r,sortable:n,filter:a,width:l,order:s},isFirst:i,isLast:p,isSheetView:d,onColumnSort:u,columnsSorting:f,totalCount:w,isFilterEnabled:m}){let[h,b]=useState(null),y=useRef(null),c=!!a,{isFilterApplied:g,filterDisabled:x}=et({filter:a,totalCount:w,isFilterEnabled:m});return jsx(we,{"data-id":t,component:"div","data-testid":"VirtualTable_TableHeader_StyledCell","data-column-id":t,"data-column-width":l,"data-column-width-used":l,"data-column-align":o,"data-column-order":s,"data-column-header":typeof e=="string"?e:"component","data-column-sortable":!!n,"data-column-filterable":c,isFirst:i,isLast:p,ref:y,$hasFilter:c,$isFilterDisabled:x&&c,sx:R=>({paddingInline:"0.6875rem",paddingLeft:i?"0":"0.6875rem",paddingRight:p?"0":"0.6875rem",display:"flex",gap:R.spacing(.5),alignItems:"center",justifyContent:Fb[o??"left"],width:l,textAlign:o,overflow:"unset",fontWeight:600,...r}),isSheetView:d,children:jsxs(Bt,{disabled:x,$hasFilter:c,onClick:()=>{b(y.current);},children:[typeof e=="function"?e():jsx(Te,{"data-testid":"TableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e&&jsx("span",{style:{textOverflow:"ellipsis",width:"80%",overflow:"hidden"},"data-testid":"VirtualTable_TableHeader_StyledCell_header_text",children:e})}),a&&jsx(Qe,{...a,anchorEl:h,setAnchorEl:b,isFilterApplied:g,disabled:x}),n&&jsx(Wt,{onColumnSort:u,columnsSorting:f,columnId:t})]})})}var Po=oi;var ni=styled(Al,{shouldForwardProp:e=>e!=="showBackDrop"})(({showBackDrop:e,theme:t})=>({flex:"0 0 auto",boxShadow:e?t.shadows[23]:"none",backgroundColor:t.palette.background.default,zIndex:1,width:"100%",minWidth:"auto",overflowX:"auto",cursor:"auto"})),ii=styled(Wl,{shouldForwardProp:e=>e!=="isSheetView"})(({theme:e,isSheetView:t})=>({display:"flex",justifyContent:"flex-start",width:"100%",minWidth:"fit-content",position:"relative",paddingInline:"32px",paddingBlock:"16px",...t&&{height:"28px",borderBottom:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.primary.light,paddingInline:0,paddingBlock:0}}));function Ul({columns:e,headerProps:t,showBackDrop:o,onColumnSort:r,columnsSorting:n,isSheetView:a,totalCount:l,isFilterEnabled:s,selection:i,selectableCount:p=0,getSelectableKeys:d}){let u=i&&i.ids.length>0,f=i&&p>0&&i.ids.length===p,w=useCallback(()=>{i&&i.setIds(f?[]:d?.()??[]);},[i,f,d]);return jsx(ni,{component:"nav","data-testid":"VirtualTable_TableHeader_StyledHeader",showBackDrop:o,...t,children:jsxs(ii,{component:"section","data-testid":"VirtualTable_TableHeader_StyledMUITableRow",isSheetView:a,children:[u&&jsx(At,{size:"small",checked:f,indeterminate:u&&!f,onChange:w,onClick:m=>m.stopPropagation()}),e.map((m,h)=>jsx(Po,{column:m,isFirst:m.id===e[0].id,isLast:m.id===e[e.length-1].id,onColumnSort:r,columnsSorting:n,isSheetView:a,totalCount:l,isFilterEnabled:s},`${m.id}-${h}`))]})})}var ai=memo(Ul);var Vo=ai;var Gl=styled(Te,{shouldForwardProp:e=>e!=="sandboxMode"&&e!=="height"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",flex:1,position:"sticky",left:0,background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",margin:0,minHeight:"55px"})),Lo=styled("p")(({theme:e})=>({fontSize:"0.75rem",fontWeight:600,color:alpha(e.palette.common.black,.2)}));function Yl({height:e,sandboxMode:t,...o}){let{t:r}=useTranslation();return jsx(Gl,{component:"section","data-testid":"TableLastItem",...o,height:e,sandboxMode:t,children:jsx(Lo,{children:r("allRecordsHaveBeenSuccessfullyLoaded")})})}var ko=Yl;var rs=styled(Zl)(({theme:e})=>({backgroundColor:e.palette.grey[100],borderRadius:"64px",minWidth:"20px"}));function ns({columns:e,style:t,index:o,animationType:r}){return jsx(Wl,{sx:{...t,display:"flex",borderBottom:"1px solid #e3e8ee","&:hover":{backgroundColor:"transparent !important"}},component:"div",hover:true,children:e.map((n,a)=>jsx(es,{sx:{width:n.width||`${100/e.length}%`||"20%",paddingInline:"0.6875rem"},component:"div",children:jsx(rs,{variant:"rectangular",animation:r})},`${n.id}-${a}`))},o)}var Mo=memo(ns,areEqual);var ss=styled("section")(({isLoaded:e=false})=>({overflow:"hidden",paddingInline:"32px",backgroundColor:e?"rgba(255, 255, 255, 0.60)":"none",filter:e?"blur(8px)":"none",marginTop:e?"1rem":"0.2rem"}));function ds({columns:e,isLoaded:t=false,animationType:o,isLoading:r=false,rowsCount:n}){let a=n||na(t,r);return a=a>0?a:5,jsx(ss,{isLoaded:t,"data-testid":"TableLoading",children:[...Array(a)].map(()=>jsx(Mo,{columns:e,animationType:o},`i-${ls("TableLoadingRow_")}`))})}var Wo=memo(ds);var ui=styled(Te,{shouldForwardProp:e=>e!=="sandboxMode"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",height:"100%",width:"100%",justifyContent:"center",alignItems:"center",textAlign:"center",background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",gap:"0.5rem"})),ci=styled(Te,{shouldForwardProp:e=>e!=="shouldMinimizeWidth"})(({shouldMinimizeWidth:e})=>({width:e?"9rem":"15rem",display:"flex",flexDirection:"column",alignItems:"center"})),fi=styled("h1")(({theme:e})=>({fontWeight:600,fontSize:"1.125rem",color:e.palette.text?.primary,padding:0,margin:0})),bi=styled("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,opacity:.5,padding:0,marginTop:3,textAlign:"center"})),hi=styled("img")(()=>({width:"2rem",height:"2rem"})),gi=styled(Button)(({theme:e})=>({padding:" 0.625rem 1rem",display:"flex",justifyContent:"center",alignItems:"center",gap:"0.5rem",backgroundColor:alpha(e.palette.info.dark,.1),borderRadius:"0.25rem",color:e.palette.info.dark,"&:hover":{backgroundColor:alpha(e.palette.info.dark,.1),color:e.palette.info.dark},width:"6rem",height:"1.8rem",marginTop:"1.5rem"})),xi=styled("p")(({theme:e})=>({color:e.palette.info.dark,fontSize:"0.8rem",fontWeight:600,textTransform:"none"}));function us({triggerDataRefetch:e,heading:t,message:o,shouldMinimizeWidth:r,sandboxMode:n,hideIcon:a,hideTryAgain:l,...s}){let{t:i}=useTranslation();return jsx(ui,{sandboxMode:n,...s,children:jsxs(ci,{shouldMinimizeWidth:r,children:[!a&&jsx(hi,{src:F,alt:"info icon"}),jsx(fi,{children:i(t)}),jsx(bi,{children:i(o)}),!l&&jsx(gi,{variant:"contained",onClick:()=>{e();},children:jsx(xi,{children:i("tryAgain")})})]})})}var oe=us;var Nt=oe;var Ci=styled$1("h1")(({theme:e})=>({fontWeight:600,fontSize:"1rem",color:e.palette.text?.primary,padding:0,margin:0})),Si=styled$1("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,padding:0,marginTop:3,opacity:.5})),yi=styled$1(Te,{shouldForwardProp:e=>e!=="sandboxMode"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",height:"100%",width:"100%",justifyContent:"center",alignItems:"center",textAlign:"center",background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",gap:"0.5rem"})),Fo=styled$1("img")(()=>({width:"2rem",height:"2rem"}));function Ti({sandboxMode:e,heading:t,message:o,...r}){let{t:n}=useTranslation();return jsxs(yi,{component:"section","data-testid":"EmptyList",sandboxMode:e,...r,children:[jsx(Fo,{src:Th,alt:"empty container"}),jsx(Ci,{children:n(t)}),jsx(Si,{children:n(o)})]})}Ti.displayName="EmptyList";var $t=memo(Ti);var wi=$t;var Cs=e=>{let{isTimeoutError:t,tableError:o,triggerDataRefetch:r,sandboxMode:n,tableEmpty:a,error:l}=e;if(t)return jsx(Nt,{"data-testid":"VirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:r,sandboxMode:n});let s=l;if(o){let{formatted:i,message:p,code:d}=mb({error:s,fallbackMessage:"connectionErrorMsg"}),u=Ja$1()&&d===Tn$1;return jsx(Nt,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:u?p:i,triggerDataRefetch:r,sandboxMode:n,hideIcon:u,hideTryAgain:u})}if(a){let{formatted:i}=mb({error:s,fallbackMessage:"tryAdjustingTheDateOrFilters"});return jsx(wi,{sandboxMode:n,heading:"nothingFound",message:i})}return jsx(Nt,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:r,sandboxMode:n})},Ho=memo(Cs);function Ii({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,orderedColumns:a,triggerDataRefetch:l,footerProps:s}){return n?jsx(_e,{"data-testid":"VirtualTable_SolidBackground",children:jsx(Wo,{"data-testid":"VirtualTable_TableLoading",columns:a,isLoading:true})}):jsx(Ho,{isTimeoutError:o,tableEmpty:t,tableError:r,sandboxMode:s?.sandboxMode,error:e,triggerDataRefetch:l})}Ii.displayName="TableNoData";var ot=memo(Ii);function _o(){return jsx(motion.div,{initial:{width:0},animate:{width:"fit-content",transition:{duration:.5}},exit:{width:0},style:{paddingInline:"11px",paddingBlock:"5px",boxShadow:"0px 0px 1px 0px rgba(0, 0, 0, 0.10), 0px 1px 1px 0px rgba(0, 0, 0, 0.09), 0px 2px 1px 0px rgba(0, 0, 0, 0.05), 0px 4px 2px 0px rgba(0, 0, 0, 0.01), 0px 7px 2px 0px rgba(0, 0, 0, 0.00)",borderRadius:"24px",overflow:"hidden",display:"inline-block",whiteSpace:"nowrap"},children:jsxs(motion.span,{style:{color:"#8F9195",fontSize:"12px",fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center",gap:"10px"},children:[jsx(motion.span,{children:"!"}),jsx(motion.span,{children:"Error while loading"})]})})}function Ps({row:e,columns:t,index:o,rowProps:r,isSheetView:n,selectedCell:a=null,selectedColumn:l=null,selectedRow:s=null,selectedChip:i=null,onCellClick:p,isLastRow:d=false,onChipClick:u,selection:f,hasAdjacentCheckedAbove:w,hasAdjacentCheckedBelow:m}){let h=f?e[f.selector]:void 0,b=f&&f.ids.includes(h),y=f?.isDisabled?.(e),c=$e.useCallback(()=>{!f||y||f.setIds(b?f.ids.filter(C=>C!==h):[...f.ids,h]);},[f?.setIds,f?.ids,b,y,h]),g=$e.useCallback((C,P)=>(V,I)=>{u?.(o,C,V,I,P);},[u,o]),x=$e.useCallback((C,P,V)=>{let{render:I,format:k,selector:E}=C;if(!C?.id||!e)return null;let L=E?E({row:e,index:o,value:e[C?.id]}):e[C?.id],v=k?k({value:L,row:e,index:o}):L;return I?I({row:e,column:C,index:o,value:e[C?.id],selectionProps:{onClick:g(V,C.pinned),rowIndex:P,colIndex:V,selectedId:i}}):jsx(Fragment,{children:v})},[e,o,i,g]),S=a!==null||l!==null||s!==null,R=$e.useCallback((C,P)=>V=>{p?.(o,C,V,P);},[p,o]),T=useMemo(()=>{let C=t[0]?.id,P=t[t.length-1]?.id,V=s===o;return jsx(Fragment,{children:t.map((I,k)=>{if(!I?.id)return null;let E=`${I.pinned??"default"}-${o}-${k}`,L=`${I.pinned??"default"}-${k}`,v=S&&a===E,W=S&&l===L,z=Db({isSelected:S&&(v||W||V),isCellSelected:v,isColumnSelected:W,isRowSelected:V,isLastRow:d}),_=I.id===C,K=I.id===P,M=I.pinned?_:_&&I.pinned!=="start",H=I.pinned?K:K&&I.pinned!=="end",O=V&&S?Eb({effectiveFirst:M,isPinnedStart:I.pinned==="start",isPinnedEnd:I.pinned==="end"}):{},$=I.pinned==="start"&&M;return jsx(we,{component:"div","data-testid":"TableRow_TableCell","data-column-id":I.id,"data-column-width":I.width,"data-column-width-used":I.width,"data-column-align":I.align,"data-column-order":I.order,"data-column-header":typeof I.header=="string"?I.header:"component","data-column-sortable":!!I.sortable,"data-column-filterable":!!I.filter,isFirst:M,isLast:H,onClick:R(k,I.pinned),sx:{width:I.width,minWidth:I.width,textAlign:I.align,justifyContent:Fb[$?"center":I.align??"left"],cursor:p?"pointer":"default",...z,...O,...I.cellStyle},isSheetView:n,isSelected:v,children:n?jsx(Box,{sx:{position:"relative",zIndex:1,width:"100%"},children:x(I,o,k)}):jsx(Fragment,{children:x(I,o,k)})},`${I.id}-${k}`)})})},[t,e,o,a,l,s,S,p,d,i,n,x,R]);return createElement(zt,{"data-testid":"TableRow",onClick:r?.onRowClick,showShadowHighlight:r?.showShadowHighlight,showLoadedStyle:r?.showLoadedStyle,component:"article",...r,key:o,isSheetView:n,isChecked:b,adjacentAbove:w,adjacentBelow:m},f&&jsx(At,{isRow:true,size:"small",checked:b,onChange:c,disabled:y}),T)}var No=memo(Ps,areEqual);var Ds=styled(Zl)(()=>({backgroundColor:"#F4F4F4",borderRadius:"64px",width:"100%",minWidth:"20px"}));function Hs({columns:e,style:t,index:o,animationType:r,rowIndex:n=0,useTableBackground:a=false}){let l=useTheme();return jsx(Wl,{sx:{...t,display:"flex",borderBottom:"1px solid #F2F2F2",minHeight:"28px",height:"28px",alignItems:"center",backgroundColor:a?l.palette.background.default:"transparent","&:hover":{backgroundColor:"transparent !important"}},component:"div",hover:true,children:e.map((s,i)=>{let p=i===e.length-1,d=i===0,u=s.pinned==="start",f=d&&u;return jsx(es,{sx:{width:s.width||`${100/e.length}%`||"20%",paddingBlock:"0",paddingInline:"8px !important",paddingLeft:"8px !important",paddingRight:"8px !important",borderRight:p?"none":"1px solid #F2F2F2",borderLeft:d?"1px solid #F2F2F2":"none",height:"100%",display:"flex",alignItems:"center",boxSizing:"border-box",whiteSpace:"nowrap",overflow:"hidden"},component:"div",children:f&&s.render?s.render({index:n,row:{},column:s,value:n+1}):jsx(Ds,{variant:"rectangular",animation:r,height:16})},`${s.id}-${i}`)})},o)}var rt=memo(Hs,areEqual);var _s=$e.memo(({isLoadingRow:e,isSheetView:t,columns:o,currentRowCount:r})=>{let{t:n}=useTranslation();return e?t&&o?.length?jsx(Fragment,{children:Array.from({length:3},(a,l)=>jsx(rt,{columns:o,animationType:"wave",rowIndex:(r||0)+l,useTableBackground:true},`loading-row-${l}`))}):jsxs(Box,{"data-testid":"ListItemWrapper_lastRowContent_isLoadingRow",sx:{height:t?"100%":"24px",width:"24px",borderRadius:"50%",background:"transparent",position:"relative",display:"flex",justifyContent:"center",alignItems:"center"},children:[jsx(Io,{sx:{position:"absolute"},src:oi$1}),jsx(Io,{sx:{position:"absolute",padding:"3px"},src:ui$1,alt:"tableLoadingSpinnerIcon",className:"spinner-loader",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}})]}):jsx(Lo,{"data-testid":"ListItemWrapper_lastRowContent",children:n("allRecordsHaveBeenSuccessfullyLoaded")})}),As=(e,t)=>o=>{o?.stopPropagation?.(),t?.(e);},Ns=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"&&e!=="isSheetView"})(({theme:e,isSheetView:t})=>({height:t?28:"100%",backgroundColor:e.palette.background.default}));function Os({index:e,style:t,data:{renderedScrollTopRef:o,rows:r,rowProps:n,columns:a,isLoading:l,scrollToIndex:s,newLoadedRowsEndIndex:i,isError:p,areAllRowsLoaded:d,isSheetView:u,isPinned:f=false,isLoadMoreLoading:w=false,...m}}){let h=r.length-1,{hasAdjacentCheckedAbove:b,hasAdjacentCheckedBelow:y}=$e.useMemo(()=>{let P=m.selection;if(!P)return {hasAdjacentCheckedAbove:false,hasAdjacentCheckedBelow:false};let V=r[e]?.[P.selector];if(!P.ids.includes(V))return {hasAdjacentCheckedAbove:false,hasAdjacentCheckedBelow:false};let k=e>0?r[e-1]?.[P.selector]:void 0,E=e<h?r[e+1]?.[P.selector]:void 0;return {hasAdjacentCheckedAbove:k!==void 0&&P.ids.includes(k),hasAdjacentCheckedBelow:E!==void 0&&P.ids.includes(E)}},[m.selection?.ids,m.selection?.selector,r,e,h]),c=r[e],g=l&&e===h+1,x=e<=i,S=$e.useCallback(()=>As(c,n?.onRowClick),[c,n?.onRowClick]),R=$e.useMemo(()=>({showShadowHighlight:s===e,showLoadedStyle:x,...n,onClick:S}),[s,e,x,n,S]),T=$e.useCallback(P=>jsx(Box,{sx:{minHeight:28,height:"100%",width:"100%"},children:p?jsx(_o,{}):P}),[p]),C=$e.useMemo(()=>{let P=jsx(_s,{isSheetView:u,isLoadingRow:g,columns:a,currentRowCount:r.length}),V=g||d&&e===h+1;return f&&V?u&&g&&a&&a.length>0?T(P):jsx(Box,{sx:{...u?{minHeight:28,height:"100%"}:{height:57},backgroundColor:"#F6F8FACC"}}):V?u&&g&&a&&a.length>0?T(P):jsx(Box,{sx:{...u?{minHeight:28,height:"100%"}:{height:57},display:"flex",justifyContent:"center",alignItems:"center"},children:jsx(Box,{sx:{backgroundColor:"#F6F8FACC",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},children:p?jsx(_o,{}):P})}):jsx(No,{index:e,row:c,columns:a,rowProps:R,isSheetView:u,isLastRow:e===r.length-1,isFirstRow:e===0,isLoading:l,isLoadMoreLoading:w,hasAdjacentCheckedAbove:b,hasAdjacentCheckedBelow:y,...m},`row-${e}`)},[m,e,c,a,R,u,g,p,d,h,f,r.length,T,w]);return jsx("div",{"data-testid":"ListItemWrapper",style:{...t,top:Number(t.top)-(o?.current??0),willChange:"top"},children:jsx(Ns,{"data-testid":"ListItemWrapper_StyledItemWrapper",isSheetView:u,children:C})})}var jt=Os;var Zs=Gs((e,t,o,r,n,a,l,s,i,p,d)=>({columns:e,isLoading:t,rows:o,rowProps:r,scrollToIndex:n,totalCount:l,lastItemIndex:a,isError:s,areAllRowsLoaded:i,isSheetView:p,selection:d}));function Qs({columns:e,rows:t,threshold:o=200,showHeader:r,headerProps:n,rowProps:a,footerProps:l,isLoading:s,error:i,columnsSorting:p,onColumnSort:d,loadMoreItems:u,isFetchingNextPage:f,triggerDataRefetch:w,scrollToIndex:m,areAllRowsLoaded:h=false,tableBodyStyles:b$1,tableMode:y,tableTitle:c,isSheetView:g=false,isMinimized:x,footerComponent:S,customNoDataComponent:R,defaultSkeleton:T=false,selection:C,isFilterEnabled:P}){let V=useTheme(),I=b(f??false,1e3),[k,E]=useState(false),[L,v]=useState("INITIAL_KEY");useEffect(()=>{let B=`${l?.maximized}-${x}`,U=requestAnimationFrame(()=>v(B));return ()=>cancelAnimationFrame(U)},[l?.maximized,x]);let W=jb(i),F=s??true,z=!s&&t.length===0&&W&&!lb(i),_=!s&&t.length===0,K=kb(i),M=t.length-1,H=useMemo(()=>Ob(e,s??false,T),[e,s,T]),O=useMemo(()=>H.filter(B=>!B.hidden),[H]),$=useMemo(()=>O.sort((B,U)=>(B?.order??1e6)-(U?.order??1e6)),[O]),D=useMemo(()=>C?C.isDisabled?t.filter(B=>!C.isDisabled(B)).length:t.length:0,[t,C?.isDisabled]),oo=useCallback(()=>C?(C.isDisabled?t.filter(U=>!C.isDisabled(U)):t).map(U=>U[C.selector]):[],[t,C?.isDisabled,C?.selector]),Z=oa$1(t.length)&&!F,ne=I||h&&!Z?t.length+1:t.length,je=Zs($,I,t,a,m,M,l?.totalCount??0,W,h&&!Z,g,C),ie=g?28:57,xe=useRef(null);useEffect(()=>{xe.current&&typeof xe.current.resetAfterIndex=="function"&&xe.current.resetAfterIndex(0,true);},[g,ie]);let dt=useMemo(()=>{let B=Se=>{E(Se);};return jsx(Js,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:Se=>Se!==M,itemCount:ne,loadMoreItems:async()=>{h||await u?.();},threshold:o,children:({onItemsRendered:Se,ref:ro})=>jsx(Ys,{ref:ro,"data-testid":"VirtualTable_AutoSizer",children:({height:no,width:pt})=>jsx(Ae,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:je,height:Z?ne*ie:no||0,width:pt||0,itemCount:ne,itemSize:()=>ie,onItemsRendered:Se,setBackdropVisibility:B,areTotalRowsNotFillingHeight:Z,scrollToIndex:m,overscanCount:5,isSheetView:g,listRef:xe,style:{paddingBottom:"13px"},children:jt})},L)})},[M,u,o,h,Z,ne,ie,g,je,m,L]),Ce=F||z||_||K;return jsxs(Fragment,{children:[jsx(_t,{children:jsxs(te,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":c,"data-direction":V.direction,"data-are-all-rows-loaded":!!h,"data-is-fetching-next-page":!!f,"data-scroll-to-index":m,"data-is-loading":!!s,"data-is-error":!!W,"data-is-error-timeout":!!K,"data-table-mode":y,height:"100%",dir:V.direction,showNoDataView:Ce,scrollable:true,children:[jsxs(A,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:Ce,compact:!Ce&&Z,sx:{...b$1},children:[r&&jsx(Vo,{"data-testid":"VirtualTable_TableHeader",columnsSorting:p,onColumnSort:d,columns:$,headerProps:n,showBackDrop:k,isSheetView:g,totalCount:l?.totalCount??0,selection:C,selectableCount:D,getSelectableKeys:oo,isFilterEnabled:P}),Ce?R||jsx(ot,{error:i,tableEmpty:_,isTimeoutError:K,tableError:z,tableLoading:F,orderedColumns:$,triggerDataRefetch:w,footerProps:l}):jsx(A,{"data-testid":"VirtualTable_TableWrapper",fixedHeight:Z?ne*ie:void 0,sx:{width:"100%",minWidth:"fit-content"},children:jsx(be,{"data-testid":"VirtualTable_StyledBox",hidePadding:true,className:"list-wrapper",children:dt})})]}),!Ce&&Z&&!f&&jsx(ko,{height:(ne+1)*ie,sandboxMode:l?.sandboxMode,"data-testid":"VirtualTable_TableLastItem"})]})}),l&&jsx(He,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:k,selectedCount:C?.ids.length,...l}),S]})}var ed=memo(Qs);var Uo=He;function ad({style:e,index:t,cardLoadingComponent:o}){return jsx(Wl,{sx:{...e,display:"flex",padding:0,"&:hover":{backgroundColor:"transparent !important"}},component:"div",children:jsx(es,{sx:{padding:0,flex:1},component:"div",children:o})},t)}var Xo=memo(ad,areEqual);var pd=styled("section")(({isLoaded:e=false})=>({overflow:"hidden",paddingInline:"32px",backgroundColor:e?"rgba(255, 255, 255, 0.60)":"none",filter:e?"blur(8px)":"none",marginTop:e?"1rem":"0.2rem"}));function md({isLoaded:e=false,isLoading:t=false,rowsCount:o,cardLoadingComponent:r}){let n=o||na(e,t);return n=n>0?n:5,jsx(pd,{isLoaded:e,"data-testid":"TableLoadingWithCard",children:[...Array(n)].map(()=>jsx(Xo,{cardLoadingComponent:r},`i-${ls("TableLoadingRow_")}`))})}var Ko=memo(md);function Li({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,triggerDataRefetch:a,footerProps:l,cardLoadingComponent:s,noDataComponent:i}){let p;if(n)p=jsx(_e,{"data-testid":"VirtualTable_SolidBackground",children:jsx(Ko,{"data-testid":"VirtualTable_TableLoading",isLoading:true,cardLoadingComponent:s})});else if(o)p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:a,sandboxMode:l?.sandboxMode});else if(r){let d=e,{formatted:u}=mb({error:d,fallbackMessage:"connectionErrorMsg"});p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:u,triggerDataRefetch:a,sandboxMode:l?.sandboxMode});}else t?p=i:p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:a,sandboxMode:l?.sandboxMode});return p}Li.displayName="TableNoDataWithCard";var jo=memo(Li);function bd({row:e,index:t,rowProps:o,renderCardComponent:r}){return createElement(zt,{"data-testid":"TableRow",onClick:o?.onRowClick,showShadowHighlight:o?.showShadowHighlight,showLoadedStyle:o?.showLoadedStyle,component:"article",...o,key:t},r&&jsx(r,{...e}))}var qo=memo(bd,areEqual);var Cd=(e,t)=>o=>{o?.stopPropagation?.(),t?.(e);},Sd=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"})(({theme:e})=>({backgroundColor:e.palette.background.default,height:"100%"}));function yd({index:e,style:t,data:{renderedScrollTopRef:o,rows:r,rowProps:n,isLoading:a,scrollToIndex:l,newLoadedRowsEndIndex:s,areAllRowsLoaded:i,renderCardComponent:p}}){let d=r.length-1,u=r[e],f=a&&e===d+1,w=e<=s,m=$e.useCallback(Cd(u,n?.onRowClick),[u,n?.onRowClick]),h=$e.useMemo(()=>({showShadowHighlight:l===e,showLoadedStyle:w,...n,onClick:m}),[l,e,w,n,m,f,i,d]),b=$e.useMemo(()=>jsx(qo,{index:e,row:u,renderCardComponent:p,rowProps:h},`row-${e}`),[e,u,h]);return jsx("div",{"data-testid":"ListCardWrapper",style:{...t,top:Number(t.top)-o.current,willChange:"top"},children:jsx(Sd,{"data-testid":"ListCardWrapper_StyledItemWrapper",children:b})})}var Jo=yd;var kd=Gs((e,t,o,r,n,a,l,s,i)=>({isLoading:e,rows:t,rowProps:o,scrollToIndex:r,totalCount:a,lastItemIndex:n,isError:l,areAllRowsLoaded:s,renderCardComponent:i}));function vd({rows:e,threshold:t=200,rowProps:o,footerProps:r,rowHeight:n=57,isLoading:a,error:l,tableHeader:s,loadMoreItems:i,isFetchingNextPage:p,triggerDataRefetch:d,scrollToIndex:u,areAllRowsLoaded:f=false,tableBodyStyles:w,tableMode:m,tableTitle:h,renderCardComponent:b$1,cardLoadingComponent:y,tableHeight:c,tableHeaderHeight:g,noDataComponent:x}){let S=useTheme(),R=b(p??false,1e3),[T,C]=useState(false),P=jb(l),V=a??true,I=!a&&e.length===0&&P&&!lb(l),k=!a&&e.length===0,E=kb(l),L=e.length-1,v=oa$1(e.length)&&!V,W=R||f&&!v?e.length+1:e.length,F=kd(R,e,o,u,L,r?.totalCount??0,P,f&&!v,b$1),z=useMemo(()=>{let K=H=>{C(H);};return jsx(Js,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:H=>H!==L,itemCount:W,loadMoreItems:async()=>{f||await i?.();},threshold:t,children:({onItemsRendered:H,ref:O})=>jsx(Te,{sx:{height:`${c-(g??0)}px`},id:"auto-sizer-wrapper",children:jsx(Ys,{ref:O,"data-testid":"VirtualTable_AutoSizer",children:({height:$,width:D})=>jsx(Ae,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:F,height:$||0,width:D||0,itemCount:W,itemSize:()=>n,onItemsRendered:H,setBackdropVisibility:K,areTotalRowsNotFillingHeight:v,scrollToIndex:u,overscanCount:5,children:Jo})})})})},[l,a,L,i,n,e,o,I,V,t,R,f,v,W]),_=V||I||k||E;return jsxs(Fragment,{children:[jsx(_t,{children:jsx(ti,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":h,"data-direction":S.direction,"data-are-all-rows-loaded":!!f,"data-is-fetching-next-page":!!p,"data-scroll-to-index":u,"data-is-loading":!!a,"data-is-error":!!P,"data-is-error-timeout":!!E,"data-table-mode":m,dir:S.direction,showNoDataView:_,sx:{height:`${c}px !important`},children:jsxs(A,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:_,sx:{...w},children:[s,_?jsx(jo,{error:l,tableEmpty:k,isTimeoutError:E,tableError:I,tableLoading:V,triggerDataRefetch:d,footerProps:r,cardLoadingComponent:y,noDataComponent:x}):z]})})}),jsx(Uo,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:T,sx:{marginTop:"-37px"},...r})]})}var Md=memo(vd);var Zg=styled("img")(()=>({width:"13.3px",height:"13.3px"})),Qg=styled("img")(()=>({width:"8px",height:"6.4px",cursor:"pointer",marginTop:"2px"})),vi=styled("span")(({theme:e})=>({color:e.palette.text.primary,textOverflow:"ellipsis",width:"80%",overflow:"hidden",fontSize:"12px",fontWeight:600})),Mi=styled("div")(()=>({width:"16px",height:"auto",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"2px",padding:"2px",transition:"all 0.2s ease"})),Wi=styled(Al,{shouldForwardProp:e=>e!=="showBackDrop"})(({showBackDrop:e,theme:t})=>({flex:"0 0 auto",boxShadow:e?t.shadows[23]:"none",backgroundColor:t.palette.background.default,zIndex:1,width:"100%",minWidth:"auto",overflowX:"auto"})),Fi=styled(Wl)(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",width:"100%",minWidth:"fit-content",height:"28px",backgroundColor:e.palette.primary.light})),Zo=styled("div")({display:"flex",width:"100%",height:"100%",overflow:"hidden",borderRadius:"12px"}),Di=styled("div")(({theme:e})=>({width:"auto",zIndex:10,flex:"0 0 auto",minWidth:0,display:"flex",flexDirection:"column",position:"relative",backgroundColor:e.palette.primary.light,borderTop:"1px solid #F2F2F2",borderBottom:"1px solid #F2F2F2",overflow:"hidden"})),Hi=styled(Di)({boxShadow:"4px 0px 24px 0px #00000014",borderLeft:"1px solid #F2F2F2",borderRight:"none",borderTopLeftRadius:"12px",borderBottomLeftRadius:"12px"}),Bi=styled(Di)({boxShadow:"-4px 0px 24px 0px #00000014",borderRight:"1px solid #F2F2F2",borderLeft:"none",borderTopRightRadius:"12px",borderBottomRightRadius:"12px"}),qt=styled("div",{shouldForwardProp:e=>e!=="hasPinnedStart"&&e!=="hasPinnedEnd"})(({hasPinnedStart:e,hasPinnedEnd:t})=>({flex:"1 1 auto",minWidth:0,display:"flex",flexDirection:"column",borderTop:"1px solid #F2F2F2",borderBottom:"1px solid #F2F2F2",borderLeft:e?"none":"1px solid #F2F2F2",borderRight:t?"none":"1px solid #F2F2F2",position:"relative",scrollbarWidth:"auto",overflow:"hidden",borderTopLeftRadius:e?"0":"12px",borderBottomLeftRadius:e?"0":"12px",borderTopRightRadius:t?"0":"12px",borderBottomRightRadius:t?"0":"12px"})),Ue=styled("div")({flexShrink:0,height:"auto",overflow:"auto"});var Qo=(e,t,o)=>{let[r,n]=useState(()=>{let m=t?e.filter(b=>b.pinned==="start").map(b=>b.id):[],h=e.filter(b=>b.isDefaultPinned&&b.pinned!=="end").map(b=>b.id);return Array.from(new Set([...h,...m]))}),[a,l]=useState(()=>{let m=e.filter(c=>c.isDefaultPinned&&c.pinned==="end").map(c=>c.id);if(!t)return m;let h=e.filter(c=>c.pinned==="end").map(c=>c.id),b=e.filter(c=>!c.hidden),y=b[b.length-1];return h.length===0&&y&&!y.pinned&&!y.isDefaultPinned?[y.id]:h}),s=useCallback((m,h="start")=>{if(!t)return;let b=[...r],y=[...a];h==="unpin"?(b=b.filter(g=>g!==m),y=y.filter(g=>g!==m)):h==="start"?(b=[...b.filter(g=>g!==m),m],y=y.filter(g=>g!==m)):h==="end"&&(y=[...y.filter(g=>g!==m),m],b=b.filter(g=>g!==m)),n(b),l(y);let c=b.includes(m)||y.includes(m);o?.(m,c);},[r,a,o,t]),i=useMemo(()=>e.filter(m=>!m.hidden),[e]),{pinnedStartColumnsData:p,pinnedEndColumnsData:d,unpinnedColumnsData:u}=useMemo(()=>{let m=i.filter(x=>r.includes(x.id)),h=i.filter(x=>a.includes(x.id)),b=i.filter(x=>!r.includes(x.id)&&!a.includes(x.id)),y=m.sort((x,S)=>(x?.order??1e6)-(S?.order??1e6)),c=h.sort((x,S)=>(x?.order??1e6)-(S?.order??1e6)),g=b.sort((x,S)=>(x?.order??1e6)-(S?.order??1e6));return {pinnedStartColumnsData:y,pinnedEndColumnsData:c,unpinnedColumnsData:g}},[i,r,a]),f=useMemo(()=>[...p,...u,...d],[p,u,d]),w=useMemo(()=>{let m=f[f.length-1];return m?m.id:null},[f]);return {pinnedStartColumns:r,pinnedEndColumns:a,handleColumnPin:s,pinnedStartColumnsData:p,pinnedEndColumnsData:d,unpinnedColumnsData:u,orderedColumns:f,lastColumnId:w}};var er=()=>{let e=useRef(null),t=useRef(null),o=useRef(null),r=useRef(false),n=useCallback(({scrollOffset:a},l)=>{r.current||(r.current=true,l!=="start"&&e.current&&e.current.scrollTo(a),l!=="end"&&o.current&&o.current.scrollTo(a),l!=="scrollable"&&t.current&&t.current.scrollTo(a),requestAnimationFrame(()=>{r.current=false;}));},[]);return {pinnedStartVirtualListRef:e,scrollableVirtualListRef:t,pinnedEndVirtualListRef:o,handleScroll:n}};var tr=()=>{let[e,t]=useState(null),[o,r]=useState(null),[n,a]=useState(null),[l,s]=useState(null),[i,p]=useState(false),d=useCallback((m,h,b,y,c)=>{b.stopPropagation();let g=`${c??"default"}-${m}-${h}-${y}`,x=`${c??"default"}-${m}-${h}`;if(n===g){a(null),t(null);return}a(g),t(x),s(null);},[n,a,t,s]),u=useCallback((m,h,b,y)=>{if(b.stopPropagation(),y==="start"&&h===0){s(g=>g===m?null:m),t(null),r(null),a(null);return}let c=`${y??"default"}-${m}-${h}`;t(g=>g===c?null:c),r(null),a(null),s(null);},[l]),f=useCallback((m,h,b)=>{h.stopPropagation();let y=`${b??"default"}-${m}`;r(c=>c===y?null:y),t(null),a(null),s(null);},[]),w=useCallback(()=>{t(null),r(null),a(null),s(null);},[]);return {selectedCell:e,selectedColumn:o,selectedRow:l,showBackDrop:i,selectedChip:n,setShowBackdrop:p,handleChipClick:d,handleCellClick:u,handleColumnClick:f,resetSelection:w}};var zd=e=>e!==null&&"isAxiosError"in e&&e.isAxiosError===true,or=({rows:e,isLoading:t,error:o,isFetchingNextPage:r,areAllRowsLoaded:n})=>{let a=b(r??false,1e3),l=useMemo(()=>{let i=jb(o||null),p=t??true,d=o&&zd(o)?o:null,u=!t&&e.length===0&&i&&!lb(d),f=!t&&e.length===0,w=kb(d);return {isError:i,tableLoading:p,tableError:u,tableEmpty:f,hasTimeoutError:w,showNoDataView:p||u||f||w}},[e.length,t,o]),s=useMemo(()=>{let i=e.length-1,p=oa$1(e.length)&&!l.tableLoading,d=(a??false)||n?e.length+1:e.length;return {lastItemIndex:i,areTotalRowsNotFillingHeight:p,itemsCount:d}},[e.length,l.tableLoading,a,n]);return {...l,...s,isDelayedFetchingNextPage:a??false}};var Ad=Gs((e,t,o,r,n,a,l,s,i,p,d,u,f,w,m,h,b,y)=>({columns:e,isLoading:t,rows:o,rowProps:r,scrollToIndex:n,totalCount:l,lastItemIndex:a,isError:s,areAllRowsLoaded:i,limit:l,newLoadedRowsEndIndex:a,isSheetView:true,isPinned:p,selectedCell:d,selectedColumn:u,selectedRow:f,selectedChip:w,onCellClick:m,onChipClick:h,containerHeight:b,rowHeight:y})),rr=({rowHeight:e,areAllRowsLoaded:t,rows:o,isDelayedFetchingNextPage:r,rowProps:n,scrollToIndex:a,footerProps:l,isError:s,selectedCell:i,selectedColumn:p,selectedRow:d,selectedChip:u,handleCellClick:f,handleChipClick:w})=>{let m=useCallback((c,g)=>{if(t&&c===o.length){let S=o.length*e,R=g-S,T=e*2;return Math.max(R,T)}return e},[t,o.length,e]),h=useMemo(()=>[r,o,n,a,o.length-1,l?.totalCount??0,s,t],[r,o,n,a,l?.totalCount,s,t]),b=useMemo(()=>[i,p,d,u,f,w],[i,p,d,u,f,w]),y=useCallback((c,g,x)=>Ad(c,...h,g,...b,x,e),[h,b,e]);return {getItemSize:m,getItemDataForContainer:y}};var Nd=(e,t)=>{let o=useMemo(()=>e.reduce((n,a)=>{let l=typeof a.width=="string"?parseInt(a.width):a.width||100;return n+l},.2),[e]),r=useMemo(()=>t.reduce((n,a)=>{let l=typeof a.width=="string"?parseInt(a.width):a.width||100;return n+l},.2),[t]);return {pinnedStartColumnsWidth:o,pinnedEndColumnsWidth:r}};var nr=({tableContainerRef:e,showHeader:t,isResizing:o})=>{let[r,n]=useState({top:0,height:0});return useEffect(()=>{let a=()=>{if(e.current){let l=e.current.getBoundingClientRect(),s=t?28:0;n({top:l.top+s,height:l.height-s});}};if(a(),o){let l=()=>a();return window.addEventListener("resize",l),()=>window.removeEventListener("resize",l)}},[o,t,e]),r};var $i=styled("div",{shouldForwardProp:e=>e!=="isResizing"&&e!=="isLast"})(({isLast:e})=>({position:"absolute",top:0,right:e?-10:-11,width:20,height:"100%",backgroundColor:"transparent",zIndex:100001,display:"flex",alignItems:"center",justifyContent:"center"})),Ui=styled("div",{shouldForwardProp:e=>e!=="isVisible"&&e!=="x"&&e!=="height"&&e!=="top"})(({isVisible:e,x:t,height:o,top:r})=>({position:"fixed",left:t,top:r,width:1,height:`calc(${o}px - 14px)`,backgroundColor:"#1F88D0",zIndex:9999,pointerEvents:"none",opacity:e?1:0,transition:"opacity 0.1s ease","&::before":{content:'""',position:"absolute",left:-1,top:0,width:1,height:"100%"}})),Zt=styled("div",{shouldForwardProp:e=>e!=="isVisible"&&e!=="x"&&e!=="y"&&e!=="offsetX"})(({isVisible:e,x:t,y:o,offsetX:r=0})=>({position:"fixed",left:t+r-8,top:o,width:20,height:16,backgroundImage:`url(${ck})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center",zIndex:1e5,pointerEvents:"none",display:e?"block":"none",transform:"translate(-50%, -50%)"}));function jd({columnId:e,onStartResize:t,isResizing:o,isLast:r=false}){let[n,a]=useState(false),[l,s]=useState({x:0,y:0}),i=useRef(null),p=useCallback(()=>{let m=i.current?.getBoundingClientRect();m&&s({x:m.right,y:m.top+m.height/2});},[]),d=useCallback(()=>{o||(a(true),p());},[o,p]),u=useCallback(()=>{!o&&n&&p();},[o,n,p]),f=useCallback(()=>{a(false);},[]);return jsxs(Fragment,{children:[jsx($i,{ref:i,isResizing:o,isLast:r,onMouseDown:m=>{m.stopPropagation(),m.preventDefault(),a(false),t(m,e);},onMouseEnter:d,onMouseMove:u,onMouseLeave:f,"data-testid":`column-resize-handle-${e}`}),createPortal(jsx(Zt,{isVisible:n&&!o,x:l.x,y:l.y,offsetX:-2}),document.body)]})}var ar=memo(jd);function Zd({isVisible:e,indicatorX:t,indicatorHeight:o,indicatorTop:r,iconX:n,iconY:a}){return e?createPortal(jsxs(Fragment,{children:[jsx(Ui,{isVisible:e,x:t,height:o,top:r,"data-testid":"column-resize-indicator"}),jsx(Zt,{isVisible:e,x:n,y:a,offsetX:8,"data-testid":"floating-resize-icon"})]}),document.body):null}var lr=memo(Zd);var tp=e=>{if(!e||typeof e!="object")return false;let t=e;return "width"in t&&a(t.width)},op=e=>!e||typeof e!="object"?false:Object.values(e).every(tp),rp=e=>!e||typeof e!="object"?false:Object.values(e).every(op),qi=e=>!e||typeof e!="object"?false:Object.values(e).every(rp),Gi=()=>{try{let e=J();if(!e)return {};let t=e;return qi(t)?t:(console.warn("Invalid column settings in localStorage"),{})}catch(e){return console.warn("Failed to get sheetview columns:",e),{}}},np=e=>{if(!qi(e))return console.warn("Invalid data structure for sheetview columns"),false;try{return I(e),!0}catch(t){return console.warn("Failed to save sheetview columns:",t),false}},Yi=(e,t,o,r)=>{if(!sa$1(e)||!sa$1(t)||!sa$1(o))return r;try{return Gi()[e]?.[t]?.[o]?.width??r}catch(n){return console.warn("Failed to get column width:",n),r}},Ji=(e,t,o,r)=>{if(!sa$1(e)||!sa$1(t)||!sa$1(o)||!a(r))return console.warn("Invalid parameters for setColumnWidth"),false;try{let n=Gi();return n[e]||(n[e]={}),n[e][t]||(n[e][t]={}),n[e][t][o]?n[e][t][o].width=r:n[e][t][o]={width:r},np(n)}catch(n){return console.warn("Failed to set column width:",n),false}};var Re={MIN_WIDTH:25,MAX_WIDTH:1500,DEFAULT_WIDTH:100};var Zi=e=>{if(typeof e=="string"){let t=parseInt(e,10);return isNaN(t)?Re.DEFAULT_WIDTH:t}return e||Re.DEFAULT_WIDTH},sr=e=>Math.max(Re.MIN_WIDTH,Math.min(Re.MAX_WIDTH,e)),q=e=>{let t=String(e.id);return e.tableViewId?`${t}_${e.tableViewId}`:t},dr=(e,t)=>e.map(o=>{let r=q(o);return {...o,width:t[r]||o.width}}),Qi=(e,t)=>{e.current&&(document.removeEventListener("mousemove",e.current),e.current=void 0),t.current&&(document.removeEventListener("mouseup",t.current),t.current=void 0),document.body.style.cursor="",document.body.style.userSelect="";},ip=(e,t,o,r,n,a,l,s,i)=>p=>{try{let d=i.current-o,u=sr(t+d);l(f=>({...f,columnWidths:{...f.columnWidths,[e]:u},isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),r&&n&&(Ji(r,n,String(e),u)||console.warn(`Failed to persist column width for ${e}`)),a?.(e,u),p.stopPropagation(),p.preventDefault(),s();}catch(d){console.error("Error in mouse up handler:",d),s();}},ea=(e,t,o,r,n,a,l,s,i)=>p=>{try{let d=p.clientX;if(r?.current){let f=r.current.getBoundingClientRect(),w=f.left,m=f.right;a==="start"&&n===1&&(m=m-38),d=Math.max(w,Math.min(m,p.clientX));}l&&(l.current=d);let u=d;if(s&&i){let f=s.current-i.current+Re.MIN_WIDTH;d<f&&(u=f);}e(f=>({...f,resizeIndicatorX:u})),t({x:u,y:o.current});}catch(d){console.error("Error in mouse move handler:",d);}},ta=(e,t)=>e[t]||Re.DEFAULT_WIDTH,oa=(e,t,o,r,n,a,l)=>(s,i,p)=>d=>{ip(s,i,p,e,t,o,r,n,l)(d),setTimeout(()=>{a.current=false;},0);};var pr=({columns:e,onColumnResize:t,handleColumnClick:o,windowId:r,serviceCode:n,tableContainerRef:a})=>{let l=useMemo(()=>e.reduce((E,L)=>{let v=q(L),W=Zi(L.width),F=W;if(r&&n)try{F=Yi(r,n,v,W)??W;}catch(z){console.warn(`Failed to load stored width for column ${v}:`,z),F=W;}return E[v]=sr(F),E},{}),[r,n]),[{columnWidths:s,isResizing:i,resizingColumn:p,resizeIndicatorX:d},u]=useState(()=>({columnWidths:l,isResizing:false,resizingColumn:null,startX:0,startWidth:0,resizeIndicatorX:0})),[f,w]=useState({x:0,y:0}),m=useRef(false),h=useRef(0),b=useRef(0),y=useRef(0),c=useRef(0),g=useRef(),x=useRef();useEffect(()=>{u(E=>{let L=new Set(Object.keys(E.columnWidths)),v=new Set(Object.keys(l));return L.size!==v.size?{...E,columnWidths:l}:Array.from(v).some(F=>!L.has(F)||E.columnWidths[F]!==l[F])?{...E,columnWidths:l}:E});},[]);let S=useCallback(E=>ta(s,E),[s]),R=useCallback(()=>{Qi(g,x);},[]),T=useCallback((E,L,v)=>oa(r,n,t,u,R,m,b)(E,L,v),[r,n,t,R]),C=useCallback((E,L)=>ea(u,w,h,a,E,L,b,y,c),[a]),P=useCallback((E,L)=>{E.preventDefault(),E.stopPropagation();try{let v=S(L),W=E.clientX,F=e.find(D=>q(D)===L),z=F?e.filter(D=>D.pinned===F.pinned).findIndex(D=>q(D)===L):void 0,_=F?.pinned,M=E.currentTarget.closest('[data-testid="SheetViewVirtualTable_TableHeader_StyledCell"]'),H=E.clientY;if(M){let D=M.getBoundingClientRect();H=D.top+D.height/2;}u(D=>({...D,isResizing:!0,resizingColumn:L,startX:W,startWidth:v,resizeIndicatorX:W,resizingColumnIndex:z,resizingColumnPinned:_})),h.current=H,b.current=W,y.current=W,c.current=v,w({x:W,y:H}),m.current=!0;let O=C(z,_),$=T(L,v,W);g.current=O,x.current=$,document.addEventListener("mousemove",O),document.addEventListener("mouseup",$),document.body.style.cursor="none",document.body.style.userSelect="none";}catch(v){console.error("Error starting resize:",v),R();}},[S,C,T,R,e]),V=useCallback(()=>{try{u(E=>({...E,isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),m.current=!1,R();}catch(E){console.error("Error stopping resize:",E),R();}},[R]),I=useCallback(()=>m.current,[]),k=useCallback((E,L,v)=>{I()||o(E,L,v);},[o,I]);return useEffect(()=>R,[R]),{columnWidths:s,isResizing:i,resizingColumn:p,resizeIndicatorX:d,cursorPosition:f,getColumnWidth:S,startResize:P,stopResize:V,isCurrentlyResizing:I,handleColumnClick:k}};var mr=({pinnedStartColumnsData:e,pinnedEndColumnsData:t,columnWidths:o})=>{let r=useMemo(()=>e.reduce((s,i)=>{let p=q(i),d=o[p]||parseInt(String(i.width))||150;return s+d},.2),[e,o]),n=useMemo(()=>t.reduce((s,i)=>{let p=q(i),d=o[p]||parseInt(String(i.width))||150;return s+d},.2),[t,o]),a=useMemo(()=>e.map(s=>{let i=q(s);return {...s,width:o[i]||s.width}}),[e,o]),l=useMemo(()=>t.map(s=>{let i=q(s);return {...s,width:o[i]||s.width}}),[t,o]);return {pinnedStartColumnsWidth:r,pinnedEndColumnsWidth:n,pinnedStartColumnsDataWithWidths:a,pinnedEndColumnsDataWithWidths:l}};var up=styled("section")(({isLoaded:e=false,isPinned:t=false})=>({overflow:"hidden",paddingInline:e&&!t?"32px":"0px",backgroundColor:e&&!t?"rgba(255, 255, 255, 0.60)":"none",filter:e&&!t?"blur(8px)":"none",marginTop:e&&!t?"1rem":"0",height:"100%",maxHeight:"100%"}));function cp({columns:e,isLoaded:t=false,animationType:o,isLoading:r=false,rowsCount:n=13,isPinned:a=false}){let[l,s]=useState(()=>n||Math.min(na(t,r),15));return useEffect(()=>{if(n){s(n);return}let i=()=>{let u=document.querySelector('[data-testid="SheetViewTableLoading"]');if(!u)return Math.min(na(t,r),25);let f=u.parentElement?.clientHeight||0,w=28,h=f-40;if(h<=0)return Math.min(na(t,r),25);let b=Math.floor(h/w);return Math.max(3,Math.min(b+2,25))},p=i();s(p);let d=()=>{let u=i();s(u);};return window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)},[t,r,n]),jsx(up,{isLoaded:t,isPinned:a,"data-testid":"SheetViewTableLoading",children:[...Array(l)].map((i,p)=>jsx(rt,{columns:e,animationType:o,rowIndex:p,useTableBackground:!a},`i-${ls("SheetViewTableLoadingRow_")}`))})}var le=memo(cp);function aa({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,orderedColumns:a,triggerDataRefetch:l,footerProps:s}){let i;if(n)i=jsx(_e,{"data-testid":"SheetViewVirtualTable_SolidBackground",children:jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:a,isLoading:true,isPinned:false})});else if(o)i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:l,sandboxMode:s?.sandboxMode});else if(r){let p=e,{formatted:d}=mb({error:p,fallbackMessage:"connectionErrorMsg"});i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:d,triggerDataRefetch:l,sandboxMode:s?.sandboxMode});}else if(t){let p=e,{formatted:d}=mb({error:p,fallbackMessage:"tryAdjustingTheDateOrFilters"});i=jsx($t,{sandboxMode:s?.sandboxMode,heading:"nothingFound",message:d});}else i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:l,sandboxMode:s?.sandboxMode});return i}aa.displayName="SheetViewTableNoData";var bp=memo(aa);function Tp({column:{header:e,id:t,tableViewId:o,align:r,headerStyle:n,sortable:a,filter:l,pinnable:s,width:i,order:p,pinned:d},colIndex:u,isFirst:f,isLast:w,isSelected:m,isDefaultPinned:h,onColumnSort:b,columnsSorting:y,onColumnPin:c,isPinnable:g,lastColumnId:x,onColumnClick:S,pinnedColumns:R,onStartResize:T,isResizing:C=false,resizingColumn:P=null}){let V=q({id:t,tableViewId:o}),[I,k]=useState(null),E=useRef(null),{isFilterApplied:L}=et({filter:l}),v=useCallback(M=>R?.includes(M),[R]),W=useMemo(()=>v(t),[t,v]),F=M=>{v(M)?c?.(M,"unpin"):M===x?c?.(M,"end"):c?.(M,"start");},z=()=>{k(E.current);};return jsxs(we,{"data-id":t,component:"div","data-testid":"SheetViewVirtualTable_TableHeader_StyledCell","data-column-id":t,"data-column-width":i,"data-column-width-used":i,"data-column-align":r,"data-column-order":p,"data-column-header":typeof e=="string"?e:"component","data-column-sortable":!!a,"data-column-filterable":!!l,"data-column-pinned":W,isFirst:f,isLast:w,isSheetView:true,ref:E,onClick:M=>{M.target===M.currentTarget&&S?.(u,M,d);},sx:M=>({display:"flex",gap:M.spacing(.5),alignItems:"center",justifyContent:r==="right"?"flex-end":"flex-start",width:i,textAlign:r,overflow:"visible !important",cursor:"pointer",boxSizing:"border-box",border:"0.5px solid transparent",borderColor:m?"#1F88D0":"#F2F2F2",borderBottom:m?"0.5px solid transparent":"0.5px solid #F2F2F2",backgroundColor:m?"#F2F2F2":"#FCFCFC",minHeight:"28px",position:"relative","&:before":{content:'""',borderBottom:"none",position:"absolute",top:0,right:0,left:0,bottom:0},...n}),children:[jsxs(Bt,{onClick:M=>{M.stopPropagation(),z();},children:[typeof e=="function"?e():jsx(Te,{"data-testid":"SheetViewTableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e&&jsx(vi,{"data-testid":"SheetViewVirtualTable_TableHeader_StyledCell_header_text",children:e})}),l&&jsx(Qe,{...l,anchorEl:I,setAnchorEl:k,isFilterApplied:L}),a&&jsx(Wt,{columnId:t,onColumnSort:b,columnsSorting:y,onClick:M=>{S?.(u,M,d);}}),g&&s&&!h&&!w&&jsx(Mi,{onClick:M=>{M.stopPropagation(),F(t);},title:W?"Unpin column":"Pin column",children:jsx("img",{src:W?bi$1:ai$1,alt:"pin-icon"})})]}),T&&d!=="end"&&jsx(ar,{columnId:V,onStartResize:T,isResizing:C,isLast:w})]})}var sa=memo(Tp);function Ip({columns:e,headerProps:t,showBackDrop:o,onColumnSort:r,columnsSorting:n,pinnedColumns:a=[],onColumnPin:l,isPinnable:s=false,lastColumnId:i,selectedColumn:p=null,onColumnClick:d,onStartResize:u,isResizing:f=false,resizingColumn:w=null}){return jsx(Wi,{component:"nav","data-testid":"SheetViewVirtualTable_TableHeader_StyledHeader",showBackDrop:o,...t,children:jsx(Fi,{component:"section","data-testid":"SheetViewVirtualTable_TableHeader_StyledMUITableRow",children:e.map((m,h)=>{let b=`${m.pinned??"default"}-${h}`;return jsx(sa,{column:m,colIndex:h,isFirst:m.id===e[0].id,isLast:m.id===e[e.length-1].id,isDefaultPinned:!!m.isDefaultPinned,isSelected:p===b,onColumnSort:r,columnsSorting:n,pinnedColumns:a,onColumnPin:l,isPinnable:s,lastColumnId:i,onColumnClick:d,onStartResize:u,isResizing:f,resizingColumn:w},`${m.id}-${h}`)})})})}var se=memo(Ip);function Vp({columnsData:e,itemCount:t,lastItemIndex:o,areAllRowsLoaded:r,loadMoreItems:n,threshold:a,getItemSize:l,getItemData:s,isPinned:i,fixedWidth:p,scrollToIndex:d,areTotalRowsNotFillingHeight:u,clearBackdropVisibilityTimeout:f,onScroll:w,setBackdropVisibility:m,listRef:h,overscanCount:b=40}){return jsx(Js,{isItemLoaded:c=>c!==o,itemCount:t,loadMoreItems:async()=>{r||await n?.();},threshold:a,children:({onItemsRendered:c,ref:g})=>jsx(Ys,{ref:g,children:({height:x,width:S})=>{let R=C=>l(C,x),T=s(e,i,x);return jsx(Ae,{listRef:h,height:x,width:p||S,itemCount:t,itemSize:R,itemData:T,onItemsRendered:c,overscanCount:b,setBackdropVisibility:m,scrollToIndex:d,areTotalRowsNotFillingHeight:u,useIsScrolling:true,onScroll:w,clearBackdropVisibilityTimeout:f,style:{overflowX:i?"hidden":"auto",paddingBottom:i?"25px":"13px",backgroundColor:i?"transparent":"#F6F8FACC"},children:jt})}})})}var fr=memo(Vp);function vp({position:e,columnsData:t,columnsWidth:o,pinnedColumnsList:r,showHeader:n,columnsSorting:a,onColumnSort:l,headerProps:s,showBackDrop:i,onColumnPin:p,isPinnable:d,lastColumnId:u,selectedColumn:f,onColumnClick:w,hasPinnedStart:m,hasPinnedEnd:h,tableTitle:b,areAllRowsLoaded:y,isFetchingNextPage:c,scrollToIndex:g,isLoading:x,isError:S,hasTimeoutError:R,tableMode:T,showNoDataView:C,tableLoading:P,createVirtualTableContainer:V,onStartResize:I,isResizing:k,resizingColumn:E}){let L=useTheme();if(t.length===0)return null;let v=e==="start"?Hi:Bi,W=e==="start"?"pinnedStart":"pinnedEnd";return jsx(v,{children:jsxs(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":b,"data-direction":L.direction,"data-are-all-rows-loaded":!!y,"data-is-fetching-next-page":!!c,"data-scroll-to-index":g,"data-is-loading":!!x,"data-is-error":!!S,"data-is-error-timeout":!!R,"data-table-mode":T,height:"100%",dir:L.direction,showNoDataView:C,children:[n&&jsx(se,{"data-testid":"SheetViewVirtualTable_PinnedTableHeader",columnsSorting:a,onColumnSort:l,columns:t,headerProps:s,showBackDrop:i,pinnedColumns:r,onColumnPin:p,isPinnable:d,lastColumnId:u,selectedColumn:f,onColumnClick:w,tablePosition:e==="start"?"pinnedStart":"pinnedEnd",hasPinnedStart:m,hasPinnedEnd:h,onStartResize:I,isResizing:k,resizingColumn:E}),jsx(A,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content",overflowX:"hidden"},children:jsx(be,{"data-testid":"SheetViewVirtualTable_PinnedStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:P?jsx(le,{"data-testid":`SheetViewVirtualTable_PinnedTableLoading_${e}`,columns:t,isLoading:true,isPinned:true}):V(t,W,true,o)})})]})})}var Ke=memo(vp);function Dp({hasPinnedStart:e,hasPinnedEnd:t,unpinnedColumnsData:o,showHeader:r,columnsSorting:n,onColumnSort:a,headerProps:l,showBackDrop:s,pinnedStartColumns:i,pinnedEndColumns:p,onColumnPin:d,isPinnable:u,lastColumnId:f,selectedColumn:w,onColumnClick:m,tableTitle:h,areAllRowsLoaded:b,isFetchingNextPage:y,scrollToIndex:c,isLoading:g,isError:x,hasTimeoutError:S,tableMode:R,showNoDataView:T,tableBodyStyles:C,tableLoading:P,createVirtualTableContainer:V,onStartResize:I,isResizing:k,resizingColumn:E}){let L=useTheme();return jsx(qt,{hasPinnedStart:e,hasPinnedEnd:t,children:jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":h,"data-direction":L.direction,"data-are-all-rows-loaded":!!b,"data-is-fetching-next-page":!!y,"data-scroll-to-index":c,"data-is-loading":!!g,"data-is-error":!!x,"data-is-error-timeout":!!S,"data-table-mode":R,height:"100%",dir:L.direction,showNoDataView:T,scrollable:true,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:T,sx:{...C,display:"flex",flexDirection:"column",height:"100%"},children:[r&&jsx(Ue,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_UnpinnedTableHeader",columnsSorting:n,onColumnSort:a,columns:o,headerProps:l,showBackDrop:s,pinnedColumns:[...i,...p],onColumnPin:d,isPinnable:u,lastColumnId:f,selectedColumn:w,onColumnClick:m,tablePosition:"scrollable",hasPinnedStart:e,hasPinnedEnd:t,onStartResize:I,isResizing:k,resizingColumn:E})}),jsx(A,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(be,{"data-testid":"SheetViewVirtualTable_ScrollableStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:P?jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:o,isLoading:true,isPinned:false}):V(o,"scrollable",false)})})]})})})}var br=memo(Dp);function _p({hasPinnedStart:e,hasPinnedEnd:t,unpinnedColumnsData:o,showHeader:r,columnsSorting:n,onColumnSort:a,headerProps:l,showBackDrop:s,pinnedStartColumns:i,pinnedEndColumns:p,onColumnPin:d,isPinnable:u,lastColumnId:f,selectedColumn:w,onColumnClick:m,tableTitle:h,areAllRowsLoaded:b,isFetchingNextPage:y,scrollToIndex:c,isLoading:g,isError:x,hasTimeoutError:S,tableMode:R,showNoDataView:T,tableBodyStyles:C}){let P=useTheme();return jsx(qt,{hasPinnedStart:e,hasPinnedEnd:t,children:jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox_Loading","data-title":h,"data-direction":P.direction,"data-are-all-rows-loaded":!!b,"data-is-fetching-next-page":!!y,"data-scroll-to-index":c,"data-is-loading":!!g,"data-is-error":!!x,"data-is-error-timeout":!!S,"data-table-mode":R,height:"100%",dir:P.direction,showNoDataView:T,scrollable:true,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_LoadingTableWrapper",showNoDataView:T,sx:{...C,display:"flex",flexDirection:"column",height:"100%"},children:[r&&jsx(Ue,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:n,onColumnSort:a,columns:o,headerProps:l,showBackDrop:s,pinnedColumns:[...i,...p],onColumnPin:d,isPinnable:u,lastColumnId:f,selectedColumn:w,onColumnClick:m,tablePosition:"scrollable",hasPinnedStart:e,hasPinnedEnd:t})}),jsx(A,{"data-testid":"VirtualTable_LoadingTableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(be,{"data-testid":"SheetViewVirtualTable_LoadingStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},children:jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:o,isLoading:true,isPinned:false})})})]})})})}var hr=memo(_p);function $p({tableLoading:e,tableError:t,tableEmpty:o,hasTimeoutError:r,orderedColumns:n,showHeader:a,columnsSorting:l,onColumnSort:s,headerProps:i,showBackDrop:p,onColumnPin:d,lastColumnId:u,selectedColumn:f,onColumnClick:w,tableTitle:m,areAllRowsLoaded:h,isFetchingNextPage:b,scrollToIndex:y,isLoading:c,isError:g,tableMode:x,tableBodyStyles:S,error:R,triggerDataRefetch:T,footerProps:C,customNoDataComponent:P}){let V=useTheme(),I=e||t||o||r;return jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":m,"data-direction":V.direction,"data-are-all-rows-loaded":!!h,"data-is-fetching-next-page":!!b,"data-scroll-to-index":y,"data-is-loading":!!c,"data-is-error":!!g,"data-is-error-timeout":!!r,"data-table-mode":x,height:"100%",dir:V.direction,showNoDataView:I,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:I,sx:S,children:[a&&jsx(Ue,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:l,onColumnSort:s,columns:n,headerProps:i,showBackDrop:p,pinnedColumns:[],onColumnPin:d,isPinnable:false,lastColumnId:u,selectedColumn:f,onColumnClick:w})}),P||jsx(ot,{error:R||null,tableEmpty:o,isTimeoutError:r,tableError:t,tableLoading:e,orderedColumns:n,triggerDataRefetch:T||(()=>Promise.resolve()),footerProps:C})]})})}var gr=memo($p);function qp({columns:e,rows:t,threshold:o=20,showHeader:r,headerProps:n,rowProps:a,footerProps:l,rowHeight:s=28,isLoading:i,error:p,columnsSorting:d,onColumnSort:u,loadMoreItems:f,isFetchingNextPage:w,triggerDataRefetch:m,scrollToIndex:h,areAllRowsLoaded:b=false,tableBodyStyles:y,tableTitle:c,onColumnPin:g,clearBackdropVisibilityTimeout:x=100,isPinnable:S=false,tableMode:R,overscanCount:T,windowId:C,serviceCode:P,customNoDataComponent:V,defaultSkeleton:I=true}){let k=useMemo(()=>Ob(e,i??false,I),[e,i,I]),{selectedCell:E,selectedColumn:L,selectedRow:v,showBackDrop:W,setShowBackdrop:F,handleCellClick:z,handleColumnClick:_,handleChipClick:K,selectedChip:M}=tr(),H=useRef(null),O=useRef(null),{isError:$,tableLoading:D,tableError:oo,tableEmpty:Z,hasTimeoutError:ne,showNoDataView:je,lastItemIndex:ie,areTotalRowsNotFillingHeight:xe,itemsCount:dt,isDelayedFetchingNextPage:Ce}=or({rows:t,isLoading:i,error:p,isFetchingNextPage:w,areAllRowsLoaded:b}),{pinnedStartColumns:B,pinnedEndColumns:U,handleColumnPin:Se,pinnedStartColumnsData:ro,pinnedEndColumnsData:no,unpinnedColumnsData:pt,orderedColumns:Sr,lastColumnId:pa}=Qo(k,S,g),{pinnedStartVirtualListRef:mt,scrollableVirtualListRef:ut,pinnedEndVirtualListRef:ct,handleScroll:yr}=er();useEffect(()=>{mt.current?.resetAfterIndex(0),ut.current?.resetAfterIndex(0),ct.current?.resetAfterIndex(0);},[t.length,mt,ut,ct]);let{columnWidths:qe,isResizing:io,resizingColumn:ma,resizeIndicatorX:ua,cursorPosition:Tr,startResize:ca,handleColumnClick:fa}=pr({columns:k,handleColumnClick:_,windowId:C,serviceCode:P,tableContainerRef:O}),wr=nr({tableContainerRef:H,showHeader:r??false,isResizing:io}),{pinnedStartColumnsWidth:Ir,pinnedEndColumnsWidth:Rr,pinnedStartColumnsDataWithWidths:Q,pinnedEndColumnsDataWithWidths:ee}=mr({pinnedStartColumnsData:ro,pinnedEndColumnsData:no,columnWidths:qe}),Pr=useMemo(()=>dr(pt,qe),[pt,qe]),ba=useMemo(()=>dr(Sr,qe),[Sr,qe]),{getItemSize:Er,getItemDataForContainer:Vr}=rr({rowHeight:s,areAllRowsLoaded:b,rows:t,isDelayedFetchingNextPage:Ce,rowProps:a,scrollToIndex:h,footerProps:l,isError:$,selectedCell:E,selectedColumn:L,selectedRow:v,selectedChip:M,handleCellClick:z,handleChipClick:K}),Ge=useCallback((ha,ft,ga=false,xa)=>jsx(fr,{columnsData:ha,itemCount:dt,lastItemIndex:ie,areAllRowsLoaded:b,loadMoreItems:f,threshold:o,getItemSize:Er,getItemData:Vr,isPinned:ga,fixedWidth:xa,scrollToIndex:h,areTotalRowsNotFillingHeight:xe,clearBackdropVisibilityTimeout:x,onScroll:Ca=>{yr(Ca,ft==="pinnedStart"?"start":ft==="pinnedEnd"?"end":"scrollable");},setBackdropVisibility:F,listRef:ft==="pinnedStart"?mt:ft==="pinnedEnd"?ct:ut,overscanCount:T}),[dt,ie,b,f,o,Er,Vr,h,xe,x,yr,F,mt,ct,ut,T]),Lr={showHeader:r,columnsSorting:d,onColumnSort:u,headerProps:n,showBackDrop:W,onColumnPin:Se,isPinnable:S,lastColumnId:pa,selectedColumn:L,onColumnClick:fa,tableTitle:c,areAllRowsLoaded:b,isFetchingNextPage:w,scrollToIndex:h,isLoading:i,isError:$,tableMode:R,showNoDataView:je,tableBodyStyles:y,onStartResize:ca,isResizing:io,resizingColumn:ma},ke={...Lr,hasTimeoutError:ne,tableLoading:D};return jsxs(Fragment,{children:[jsx(ei,{ref:H,children:je?D?jsxs(Zo,{ref:O,children:[Q.length>0&&jsx(Ke,{position:"start",columnsData:Q,columnsWidth:Ir,pinnedColumnsList:B,hasPinnedStart:Q.length>0,hasPinnedEnd:ee.length>0,createVirtualTableContainer:Ge,...ke}),jsx(hr,{hasPinnedStart:Q.length>0,hasPinnedEnd:ee.length>0,unpinnedColumnsData:Pr,pinnedStartColumns:B,pinnedEndColumns:U,...ke}),ee.length>0&&jsx(Ke,{position:"end",columnsData:ee,columnsWidth:Rr,pinnedColumnsList:[...B,...U],hasPinnedStart:Q.length>0,hasPinnedEnd:ee.length>0,createVirtualTableContainer:Ge,...ke})]}):jsx(gr,{tableLoading:D,tableError:oo,tableEmpty:Z,hasTimeoutError:ne,orderedColumns:ba,error:p,triggerDataRefetch:m,footerProps:l,customNoDataComponent:V,...Lr}):jsxs(Zo,{ref:O,children:[Q.length>0&&jsx(Ke,{position:"start",columnsData:Q,columnsWidth:Ir,pinnedColumnsList:B,hasPinnedStart:Q.length>0,hasPinnedEnd:ee.length>0,createVirtualTableContainer:Ge,...ke}),jsx(br,{hasPinnedStart:Q.length>0,hasPinnedEnd:ee.length>0,unpinnedColumnsData:Pr,pinnedStartColumns:B,pinnedEndColumns:U,createVirtualTableContainer:Ge,...ke}),ee.length>0&&jsx(Ke,{position:"end",columnsData:ee,columnsWidth:Rr,pinnedColumnsList:[...B,...U],hasPinnedStart:Q.length>0,hasPinnedEnd:ee.length>0,createVirtualTableContainer:Ge,...ke})]})}),jsx(He,{"data-testid":"SheetViewVirtualTable_TableFooter",showSeparator:true,showBackDrop:W,...l}),jsx(lr,{isVisible:io,indicatorX:ua,indicatorHeight:wr.height,indicatorTop:wr.top,iconX:Tr.x,iconY:Tr.y})]})}var Gp=memo(qp);export{gr as $,qo as A,Jo as B,Md as C,Zg as D,Qg as E,vi as F,Mi as G,Wi as H,Fi as I,Zo as J,Hi as K,Bi as L,qt as M,Ue as N,Qo as O,er as P,tr as Q,or as R,rr as S,Nd as T,nr as U,le as V,bp as W,se as X,Ke as Y,br as Z,hr as _,sn as a,Gp as aa,Et as b,vt as c,Qe as d,So as e,To as f,wo as g,we as h,et as i,Vo as j,ko as k,Mo as l,Wo as m,Fo as n,Ho as o,ot as p,_o as q,No as r,rt as s,_s as t,Ns as u,ed as v,Uo as w,Xo as x,Ko as y,jo as z};
@@ -1 +0,0 @@
1
- import {no}from'./chunk-ASZPO74G.js';import s from'dayjs';import w from'dayjs/plugin/relativeTime';import $ from'dayjs/plugin/timezone';import Y from'dayjs/plugin/utc';import N from'dayjs/plugin/calendar';import z from'dayjs/plugin/isToday';import S from'dayjs/plugin/isYesterday';var C=e=>typeof e=="number"&&!isNaN(e)&&isFinite(e)&&e>0;function F(e){if(!e)return "";let t=e%10,n=e%100;return `${e}${n>9&&n<14?"th":t===1?"st":t===2?"nd":t===3?"rd":"th"}`}var h=Intl.NumberFormat("en-US");function U(e){return h.format(e)}var O=e=>{if(typeof e=="number")return Number.isFinite(e)?e:0;if(e==null)return 0;let t=String(e).trim();if(t==="")return 0;let n=t.includes(",")&&!t.includes(".")?t.replace(/,/g,"."):t.replace(/,/g,""),r=Number(n);return Number.isFinite(r)?r:0},A=e=>O(e),I=(e,t)=>t?e.toFixed(t):e.toString();function u(e,t=2){return e.toString().padStart(t,"0")}var L=e=>`0.${"0".repeat(e)}`;function W(e){let t=e.replace(/,/g,"");if(t==="")return "";let n=t.indexOf("."),r=n!==-1,o=(r?t.slice(0,n):t).replace(/\D/g,""),i=r?t.slice(n+1).replace(/\D/g,""):"";o.length>1&&(o=o.replace(/^0+(?=\d)/,"")),o===""&&r&&(o="0");let a=o.replace(/\B(?=(\d{3})+(?!\d))/g,",");return r?`${a}.${i}`:a}function E(e,t){let n=0,r=0;for(;r<e.length&&n<t;)e[r]!==","&&(n+=1),r+=1;return r}s.extend(z);s.extend(S);s.extend(Y);s.extend($);s.extend(w);s.extend(N);var d=e=>{if(typeof e=="number")return Number.isFinite(e)?e:0;if(!e)return 0;let t=e.trim().match(/^(?:UTC|GMT)?\s*([+-])?(\d{1,2})(?::?(\d{2}))?$/i);if(!t)return 0;let[,n,r,o]=t,i=Number(r)+Number(o??0)/60;return n==="-"?-i:i},K=(e=0)=>{let t=e<0?"-":"+",n=Math.abs(e),r=Math.floor(n),o=Math.round((n-r)*60);return `UTC${t}${u(r)}:${u(o)}`},Z=(e=6)=>{let t=Number.isFinite(e)&&e>=0?e:0,n=s(),r=n.subtract(t,"day").startOf("day"),o=n.endOf("day");return [r.toDate(),o.toDate()]},q=e=>{let t=new Date(e),n=t.getTimezoneOffset(),r=t.getTime()-n*6e4,i=new Date(r).toISOString();return s(i).valueOf()},J=(e,t=no.KW)=>{if(!e)return;let n=new Date(e),r=n.getTimezoneOffset(),i=d(t)*60-r,a=n.getTime()+i*6e4,c=new Date(a).toISOString();return s(c).valueOf()},Q=(e,t=0)=>e?s(e).utc(true).subtract(t,"hour").valueOf():void 0,X=e=>{let t=new Date(e),n=t.getTimezoneOffset(),r=t.getTime()+n*6e4;return new Date(r)},ee=(e,{currentTimezone:t,targetTimezone:n})=>{if(!e)return "";let r=new Date(e);if(Number.isNaN(r.getTime()))return "";if(t==null||n==null||t==null||n==null)return r;let o=d(t),a=d(n)-o,m=r.getTime()+a*6e4*60;return new Date(m)},te=e=>Array.from({length:e??31},(t,n)=>n+1).map(t=>({id:t,label:t})),ne=e=>Array.from({length:e??12},(t,n)=>n+1).map(t=>({id:t,label:t})),x=({length:e=10,startYear:t,direction:n="future"}={})=>{let r=new Date().getFullYear(),o=t!==void 0?r-t+1:e,i=t!==void 0||n==="past"?-1:1;return Array.from({length:o},(a,m)=>{let c=r+i*m;return {id:c,label:c}})},re=(e,t,n,r,o=true)=>{if(e==null||e==="")return "";let i=new Date(e);if(Number.isNaN(i.getTime()))return "";let a=r??n,m=D=>a==null?D:D.utcOffset(Math.round(d(a)*60)),c=m(s(i)),p=m(s()),f=o?", h:mma":"",g=c.isSame(p,"year")?"MMM DD":"MMM DD, YYYY",y={sameDay:`[Today]${f}`,nextDay:`[Tomorrow]${f}`,lastDay:`[Yesterday]${f}`,sameElse:`${g}${f}`,lastWeek:`${g}${f}`,nextWeek:`${g}${f}`};return c.calendar(p,t??y)},oe=(e,t="YYYY-MM-DD")=>{let n=new Date(e);return Number.isNaN(n.getTime())?"":s(e).format(t)},se=e=>s(e).endOf("day").toDate().valueOf();function ie(e){let t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=Math.floor(e%60);return t>0?`${u(t)}:${u(n)}:${u(r)}`:`${u(n)}:${u(r)}`}function T(e,t,n="seconds"){let r={seconds:1,minutes:60,hours:3600,days:86400};return (Date.now()-e)/1e3<t*r[n]}var ae=e=>{let t=Date.now(),n=Math.floor((t-e)/1e3),r=Math.floor(n/60);return T(e,60,"seconds")?"just now":T(e,60,"minutes")?`${r} min${r===1?"":"s"} ago`:"1 hour ago"},ue=e=>s(e).isToday(),me=e=>s(e).isYesterday(),M=1970,ce=()=>x({startYear:M}),fe=(e=10)=>x({length:e,direction:"past"});function le(e,t){if(!e)return null;let n=s(e);if(!n.isValid())return null;try{return new Date(n.tz(t).format("YYYY-MM-DDTHH:mm:ss.SSS"))}catch{return null}}var l=["sun","mon","tue","wed","thur","fri","sat"];function de(e="sun"){let t=l.indexOf(e.toLowerCase());return t===-1?(console.error(`${e} is not a valid day`),l):[...l.slice(t),...l.slice(0,t)]}var ge=e=>{if(e==null)return;let t=s(e);return t.isValid()?t.valueOf():void 0};export{ae as A,ue as B,me as C,ce as D,fe as E,le as F,de as G,ge as H,C as a,F as b,U as c,O as d,A as e,I as f,u as g,L as h,W as i,E as j,d as k,K as l,Z as m,q as n,J as o,Q as p,X as q,ee as r,te as s,ne as t,x as u,re as v,oe as w,se as x,ie as y,T as z};
@@ -1 +0,0 @@
1
- import {v as v$1}from'./chunk-RKLFUVFU.js';import {Kn as Kn$1,so as so$1,qo as qo$1,ro as ro$1,po,Fn,Mn,to as to$1,mo as mo$1,lo as lo$1,ko,jo as jo$1,io,ho as ho$1,Un as Un$1,Zn,go as go$1,bo,co,ao as ao$1,eo as eo$1,$n,_n as _n$1,Xn,fo as fo$1,Yn as Yn$1,Vn as Vn$1,do as _do,Wn as Wn$1,Nn,On as On$1,ep,Ye as Ye$1,Fo as Fo$1,Eo as Eo$1,Go}from'./chunk-ASZPO74G.js';import He from'lodash/orderBy';import Se from'lodash/get';import je from'axios';import Ke from'lodash/forOwn';import Le from'color';import nt from'dayjs';import Ue from'lodash/capitalize';import Fe from'lodash/startCase';import {getTimezone,getCountryForTimezone,getCountry}from'countries-and-timezones';import We from'dompurify';function Ft({list:e,sortBy:t,orders:r}){return t?.length&&r?.length?He(e,t,r):e}var Rt=(e=[],t)=>e.length?e.sort((r,n)=>Se(r,t).localeCompare(Se(n,t))):[];function vt(e){return (e||[]).filter(t=>!!t)}var Mt=(e,t)=>[...new Map(e.map(r=>[r[t],r])).values()];var Ee=e=>{let r=e.reduce((n,o)=>{let s=o.entities?.find(i=>i.default);return s&&n.push({entityId:s.id,country:o}),n},[])[0]?.country||e[0];return e.find(n=>n.id===r?.id)};var be=(e,t,r)=>{let n=e.find(a=>a.id===t)??{},o=r.find(a=>a.id===t)??{},s=o.countries.length===1?n.countries.find(a=>a.id===o.countries?.[0].id):Ee(n?.countries),i=s?.entities?.find(a=>a.default);return {...n,defaultCountry:s,defaultEntity:i}},Ge=({merchantsIds:e,options:t})=>!e||!e?.length?{}:{business:{merchant:e,...t}},Ye=e=>["payment_facilitator_14po8231419aIsi1fN7F385"].includes(e),Bt=({segmentCode:e,segmentId:t,segmentTypeCode:r,merchantsIds:n=[],options:o={}})=>{let s="PSP"===r?e:r;return Ye(t)?Ge({merchantsIds:n,options:o}):s==="PAYMENT_TECHNOLOGY"?{payment_provider:{technology:{orchestrator:[t],...o}}}:s==="PAYMENT_GATEWAY"||s==="PAYMENT_GATEWAY_PROVIDER"?{payment_provider:{technology:{gateway:[t],...o}}}:s==="PAYMENT_FACILITATOR"?{payment_provider:{institution:{facilitator:[t],...o}}}:s==="PAYMENT_ACQUIRER"?{payment_provider:{institution:{acquirer:[t],...o}}}:s==="PLATFORM"?{platform:[t],...o}:s==="DEVELOPMENT"?{development_agency:[t],...o}:{}};var _e="Test_Fixed_Secret_Key",S="tap-dashboard-navigation-data",Ae="tap-dashboard-user-data",E="tap-dashboard-user-jwt",b="tap-dashboard-report",_="tap-dashboard-calender-timezone",A="tap-dashboard-calender-timezone-history",w="tap-dashboard-global-table-mode",we="sheetview_columns",D="dock-preview-windows",C="views";function Gt(){localStorage.setItem(_e,Mn);}function De(){return localStorage.getItem(_e)}function Yt(e){localStorage.setItem(S,JSON.stringify(e));}function Kt(){try{let e=localStorage.getItem(S);if(!e)return null;let t=JSON.parse(e);return Ke(t,r=>{r?.forEach(n=>{n.payload&&n.payload.dateRange&&(n.payload.dateRange=n.payload.dateRange.map(o=>new Date(o)));});})}catch{return null}}function Jt(){localStorage.removeItem(S);}var jt=e=>{localStorage.setItem(E,e);},I=()=>localStorage.getItem(E),qt=()=>{localStorage.removeItem(E);},Xt=e=>{localStorage.setItem(Ae,JSON.stringify(e));},O=()=>{let e=localStorage.getItem(Ae);if(!e)return null;try{return JSON.parse(e)}catch{return null}},Zt=()=>{let e=O();return e?be(e?.segments,e?.active_segment_id,e?.active_segments):null},Qt=()=>{let e=O();return e?e?.active_segments.find(t=>t.id===e.active_segment_id):null},Je=()=>{let e=I();if(!e)return true;try{let[,t]=e.split(".");if(!t)return !0;let r=t.replace(/-/g,"+").replace(/_/g,"/"),n=r.padEnd(Math.ceil(r.length/4)*4,"="),{exp:o}=JSON.parse(atob(n));return typeof o!="number"?!0:Date.now()>=o*1e3}catch{return true}},er=()=>!Je()&&!!O(),tr=(e,t)=>{localStorage.setItem(`${b}-${e}`,t);},rr=e=>localStorage.getItem(`${b}-${e}`),nr=e=>{localStorage.removeItem(`${b}-${e}`);},or=e=>{localStorage.setItem(_,JSON.stringify(e));},sr=e=>{localStorage.setItem(A,JSON.stringify(e));},ir=()=>{try{let e=localStorage.getItem(_);return e?JSON.parse(e):null}catch{return null}},ar=()=>{try{let e=localStorage.getItem(A);return e?JSON.parse(e):null}catch{return null}},cr=()=>{localStorage.removeItem(_);},lr=()=>{localStorage.removeItem(A);},ur=e=>{localStorage.setItem(w,e);},dr=()=>localStorage.getItem(w)||"default",pr=()=>{localStorage.removeItem(w);},mr=e=>localStorage.setItem(we,JSON.stringify(e)),gr=()=>JSON.parse(localStorage.getItem(we)||"{}"),fr=e=>{try{localStorage.setItem(D,JSON.stringify(e));}catch(t){console.warn("Failed to save preview cache:",t);}},xr=()=>{try{let e=localStorage.getItem(D);return e?JSON.parse(e):[]}catch{return []}},yr=()=>{try{localStorage.removeItem(D);}catch(e){console.warn("Failed to remove preview storage:",e);}},Tr=(e,t,r)=>{try{return JSON.parse(localStorage.getItem(C)??"{}")?.[e]?.[t]?.[r]?.selectedViewId??null}catch{return null}},hr=(e,t,r,n)=>{try{let o=JSON.parse(localStorage.getItem(C)??"{}");localStorage.setItem(C,JSON.stringify({...o,[e]:{...o[e],[t]:{...o[e]?.[t],[r]:{...o[e]?.[t]?.[r],selectedViewId:n}}}}));}catch{return null}},Ie=()=>{localStorage.clear();};var qe={headers:{"Content-Type":"application/json",Accept:"application/json"}},L=je.create({baseURL:Kn$1,headers:{...qe}}),Xe=["users/switch-segment","users/update-segment"];L.interceptors.request.use(e=>new Promise(t=>{let r=false;if(Xe.includes(e.url??"")){t(e);return}let n=s=>{let i=s.data;if(i==="network_request_waiting"){r=true;return}i==="resume_network_request"&&(r=false);};window.addEventListener("message",n);let o=setInterval(()=>{r||(t(e),clearInterval(o),window.removeEventListener("message",n));},0);}));L.interceptors.request.use(e=>{e.headers.Authorization=I();let t=De();return t&&!e.headers["x-test-secret"]&&(e.headers["x-test-secret"]=t),e});L.interceptors.response.use(e=>e,e=>(e.response?.data?.force_logout&&(Ie(),window.location.href="/login"),Promise.reject(e)));function Ar(e){let{sandboxMode:t,fixedSecretKey:r,applicationId:n,serviceId:o,functionId:s,userFunctionId:i,segmentId:a,...l}=e??{};return {...l,live_mode:t?"false":"true",...!!r&&{"x-test-secret":r},...!!n&&{application_id:n},...!!o&&{service_id:o},...!!s&&{function_id:s},...!!i&&{user_function_id:i}}}function Dr(e){let r=(e??(typeof navigator<"u"&&navigator.userAgent?navigator.userAgent:"")).toLowerCase();if(r.includes("edg"))return "edge";if(r.includes("opr")||r.includes("opera"))return "opera";if(r.includes("chrome")&&!r.includes("edg")&&!r.includes("opr"))return "chrome";if(r.includes("safari")&&!r.includes("chrome"))return "safari";if(r.includes("firefox"))return "firefox";if(r.includes("msie")||r.includes("trident"))return "ie";if(r.includes("tor"))return "tor";if(r.includes("uc"))return "uc";if(r.includes("yandex"))return "yandex"}var Ir=()=>/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Or=e=>{let t=e??(typeof navigator<"u"&&navigator.userAgent?navigator.userAgent:"");if(!t)return;let r=t.toLowerCase();if(/ipad|tablet|playbook|silk|(android(?!.*mobile))/.test(r))return "TABLET";if(/mobile|iphone|ipod|android.*mobile|blackberry|iemobile|opera mini|windows phone/.test(r))return "MOBILE";if(/desktop|laptop|macintosh|windows|linux|unix|freebsd|openbsd|netbsd|chromeos|solaris|beos|os/.test(r))return "DESKTOP"};function Fr(){let e=["#D6D6D6","#BFF192","#E4EE92","#FDFCAB","#FFE78E","#FFCE6B","#FFBC8C","#FF947C","#C88FA3","#B988C9","#9A8BBB","#89B6FF","#ACD4E1","#ADBABE","#C0DAAA","#D5DA91","#EAE7A2","#DFCE9C","#C9A997","#858585","#000000"];return e[Math.trunc(Math.random()*e.length)]}function Rr(){let e=["linear-gradient(135deg, #31D5C8 0%, #1186C5 100%)","linear-gradient(135deg, #A2E9BD 0%, #44BB74 100%)","linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(135deg, #6BF6EB 0%, #32D6C9 100%)","linear-gradient(135deg, #61AFC9 0%, #7FBFD4 100%)","linear-gradient(135deg, #9DB7A4 0%, #7FBFD4 100%)","linear-gradient(135deg, #D7B38C 0%, #FFE09F 100%)","linear-gradient(135deg, #ADD6A2 0%, #FFDDB2 100%)"];return e[Math.trunc(Math.random()*e.length)]}var Oe={r:0,g:0,b:0,alpha:1},vr=e=>{try{let t=Le(e).rgb(),{r,g:n,b:o,alpha:s=1}=t.object();return {value:{r,g:n,b:o,alpha:s},stringified:`rgba(${r},${n},${o},${s})`}}catch(t){console.error(t),console.warn(`Invalid hex color: "${e}". Falling back to black.`);let{r,g:n,b:o,alpha:s}=Oe;return {value:Oe,stringified:`rgba(${r},${n},${o},${s})`}}},Mr=e=>Le(e).hexa();var $r={fx:"Foreign Exchange",dcc:"Dynamic Currency Conversion"},Ne={BHD:3,KWD:3,JOD:3,OMR:3},N=new Map,Br=(e,t)=>{if(Number.isNaN(e))return "0";try{return N.has(t)||N.set(t,new Intl.NumberFormat("en-US",{currency:t,minimumFractionDigits:Ne[t]?3:2})),N.get(t).format(e)}catch(r){return console.error(r),"0"}},Ze=e=>e%1===0,Qe=e=>e%.1===0,et=e=>Math.abs(e*10%1)===.1,Wr=(e,t)=>{let r=Ne[t],n=e.toString();return Number.isInteger(e)&&Ze(e)?n=e.toFixed(r?3:2):et(e)?n=`${n}${r?"00":"0"}`:Qe(e)&&(n=`${n}${r?"00":"0"}`),n};function tt(e,t=2){let r=parseFloat(e.toString());if(isNaN(r)){let[a,l]=0 .toFixed(t).split("."),u=`${a}.${l}`;return {integerAmount:a,decimalAmount:l,fullAmount:u}}let n=r.toFixed(t),[o,s]=n.split("."),i=parseInt(o).toLocaleString();return {integerAmount:i,decimalAmount:s,fullAmount:`${i}.${s}`}}function Vr(e=0,t=""){return tt(e,to$1[t]?.decimals??2)}function Hr(e){let t=e.request.currency,r=e.select.currency,n=e.merchant.currency,o=r!==n&&r===t&&t&&n&&r,s=r!==t&&t&&n&&r,i=o?"fx":void 0;i=s?"dcc":i;let a=o?e.merchant:void 0;return a=s?e.request:a,{type:i,shownAmount:a}}var Gr=e=>typeof e=="number"?e:Number(e.replace(/,/g,""));var rt=new Intl.DisplayNames(["en"],{type:"region"});function Pe(e){try{return rt.of(e)}catch(t){console.error(t?.response?.data?.error?.message);}}function Kr(e){return e==="SA"}function Jr(e){return e==="OM"}var y=e=>v$1(e,{sameDay:"[Today at] h:mm A",nextDay:"[Tomorrow]",lastDay:"[Yesterday]",sameElse:"MMM DD",lastWeek:"MMM DD",nextWeek:"MMM DD"}),Zr=(e,t)=>{if(!e)return "";let r=new Date,n=nt(e).isSame(r,"year");return t?v$1(e,{sameDay:"[Today at] h:mm A",nextDay:"[Tomorrow at] h:mm A",lastDay:"[Yesterday at] h:mm A",sameElse:"[on] MMM DD [at] h:mm A",lastWeek:"[on] MMM DD [at] h:mm A",nextWeek:"[on] MMM DD [at] h:mm A"}):n?v$1(e,{sameDay:"[Today]",nextDay:"[Tomorrow]",lastDay:"[Yesterday]",sameElse:"[on] MMM DD",lastWeek:"[on] MMM DD",nextWeek:"[on] MMM DD"}):v$1(e,{sameDay:"[Today]",nextDay:"[Tomorrow]",lastDay:"[Yesterday]",sameElse:"[on] MMM DD, YYYY",lastWeek:"[on] MMM DD, YYYY",nextWeek:"[on] MMM DD, YYYY"})},Qr=e=>{let t=e?.payout,r=e?.settlement;if(!e)return {tooltip:[],status:void 0};if(!["PAID_OUT","SETTLED"].includes(e?.status||""))return {tooltip:[...r?.scheduled?[{left:"settlement_scheduled",right:`${y(r?.scheduled)}`}]:[],...t?.scheduled?[{left:"payment_scheduled",right:`${y(t?.scheduled)}`}]:[]],status:"PENDING"};if(e?.status==="PAID_OUT"){let n=t?.activities.find(o=>o.status==="PAID_OUT");return {tooltip:[{left:"paidOut",right:`${y(n?.date)}`}],status:"PAID_OUT"}}if(e?.status==="SETTLED"){let n=r?.activities.find(o=>o.status==="SETTLED");return {tooltip:[{left:"settled",right:`${y(n?.date)}`},...t?.scheduled?[{left:"payment_scheduled",right:`${y(t?.scheduled)}`}]:[]],status:"SETTLED"}}};var rn=(e,t)=>{let{isFirst:r,isLast:n}=t||{};return `${(e+0)/898*100}%`},nn=({table:e,cellID:t,tableMode:r})=>{switch(e){case "charge":return Wn$1[t][r];case "refund":return _do[t][r];case "authorization":return Vn$1[t][r];case "intents":return Yn$1[t][r];case "topups":return fo$1[t][r];case "destinations":return Xn[t][r];case "leads":return _n$1[t][r];case "orders":return $n[t][r];case "tokens":return eo$1[t][r];case "payouts":return ao$1[t][r];case "protectCharges":return co[t][r];case "protectAuthorizations":return bo[t][r];case "wallet":return go$1[t][r];case "invoices":return Zn[t][r];case "authentications":return Un$1[t][r];case "walletDetails":return ho$1[t][r];case "walletStatement":return io[t][r];case "merchants":return jo$1[t][r];case "terminals":return ko[t][r];case "orchestrationTerminals":return lo$1[t][r];case "orchestrationRouting":return mo$1[t][r];default:return "100px"}},on=(e,t)=>{let r,n=window.innerHeight-24-264;return e?r=window.innerHeight/1.7:t?r=n-100:r=n-20,Math.floor(r/(e||t?52:70))},ot=()=>{let e=window.innerHeight*.82/1.24-57;return Math.floor(e/70)},sn=e=>{let t=ot();return e<t+1},an=e=>e==="default",cn=e=>e==="sheet",ln=()=>({charge:{prefixes:["chg_","payout_","settlement_","terminal_"],accessor:e=>[e.id,e.capture?.charge?.map(t=>t.id),e.charge?.id,e.transactions?.map(t=>t.id),e.charge_id],label:"Charge",appCode:Fn.acceptance.code,serviceCode:Fn.acceptance.services.charges.code,icon:"capture"},authorize:{prefixes:["auth_"],keys:["id","authorize.id","source.id","charge.source.id"],label:"Authorization",appCode:Fn.acceptance.code,serviceCode:Fn.acceptance.services.authorization.code,icon:"capture"},intents:{prefixes:["intent_"],keys:[],label:"Intents",appCode:Fn.acceptance.code,serviceCode:Fn.acceptance.services.intents.code,icon:"capture"},refunds:{prefixes:["re_","payout_"],accessor:e=>[e?.refunds?.refund?.map(t=>t.id),e?.id,...e?.refunds?.length?[e?.refunds?.map(t=>t.id)]:[]],label:"Refunds",appCode:Fn.acceptance.code,serviceCode:Fn.acceptance.services.refunds.code,icon:"refund"},authentication:{prefixes:["auth_payer_"],keys:["authentication.id"],label:"Authentication",appCode:Fn.authentication.code,serviceCode:Fn.authentication.services.authentication.code,icon:"capture"},order:{prefixes:["order_","ord_"],keys:["order.id"],label:"Order",appCode:Fn.order.code,serviceCode:Fn.order.services.orders.code,icon:"capture"},chargeFlags:{prefixes:["flag_"],accessor:e=>e?.flags?.flag?.map(t=>t.id),label:"Flags",appCode:Fn.protect.code,serviceCode:Fn.protect.services.chargesFlags.code,icon:"flag"},authorizationFlags:{prefixes:["flag_"],accessor:e=>e?.flags?.flag?.map(t=>t.id),label:"Flags",appCode:Fn.protect.code,serviceCode:Fn.protect.services.authorizationsFlags.code,icon:"flag"},token:{prefixes:["tok_"],keys:["source.id"],label:"Token",appCode:Fn.tokens.code,serviceCode:Fn.tokens.services.tokens.code,icon:"capture"},destination:{prefixes:["trf_","payout_"],accessor:e=>[e?.destinations?.destination?.map(t=>t?.transfer?.id),e?.id],label:"Destination",appCode:Fn.acceptance.code,serviceCode:Fn.acceptance.services.destinations.code,icon:"destination"},payout:{prefixes:["payout_"],keys:["balance.payout.id"],label:"Payout",appCode:Fn.payouts.code,serviceCode:Fn.payouts.services.payouts.code,icon:"capture"},settlement:{prefixes:["settlement_"],keys:["settlement.id"],label:"Settlement",appCode:Fn.acceptance.code,serviceCode:Fn.acceptance.services.settlements.code,icon:"capture"},intent:{prefixes:["intent_"],keys:["intent.id"],label:"Intent",appCode:Fn.acceptance.code,serviceCode:Fn.acceptance.services.intents.code,icon:"capture"},topup:{prefixes:["topup_"],keys:["topup.id"],label:"Topup",appCode:Fn.acceptance.code,serviceCode:Fn.acceptance.services.topups.code,icon:"capture"}});var mn=e=>typeof e=="string"&&e.trim().length>0,F=(e,t)=>{if(!t)return e;let r=e.indexOf(t);return e.substring(r+t.length)},P=new Map,R=(e,t)=>(P.has(t)||P.set(t,new RegExp(t,"gi")),e.match(P.get(t))?.length??0),gn=e=>e.reduce((t,r)=>(t.push(r[0]),t),[]),fn=()=>crypto?.randomUUID?.()||Math.random().toString(36).substring(2,15),xn=e=>{if(navigator.clipboard)navigator.clipboard.writeText(e);else {let t=document.createElement("textarea");t.value=e,t.style.top="0",t.style.left="0",t.style.position="fixed",document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove();}},yn=e=>typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1),Tn=e=>{let[t]=e.split("%");return parseFloat(t)||0},hn=e=>`\u2022\u2022\u2022 ${e.slice(-4)}`,Cn=(e,t=/_/g,r=" ")=>{let n=e.replace(t,r);return Fe(n)},Sn=e=>Ue(Fe(e));var bn=(e,t)=>!e?.last_four||!t?"":`${t?.toLowerCase()} - ${e?.last_four}`,_n=(e,t)=>!t||!e?"":`${e?.toLowerCase()||"ID"} \u2022 ${t?.slice(-4)}`;function wn({unCapturedCode:e,unCapturedMessage:t,acquirerCode:r,acquirerMessage:n,gatewayCode:o,gatewayMessage:s}){let i=e&&t&&`${e} - ${t}`,a=r&&n&&`${r} - ${n}`,l=o&&s&&`${o} - ${s}`;return {unCapturedTooltip:i,acquirerTooltip:a,gatewayTooltip:l}}function In(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0))}var v=e=>e==null||e==="";function On(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>Array.isArray(t)?t.length>0&&t?.some(r=>!v(r)):typeof t=="object"?Object.values(t||{}).some(r=>!v(r)):!v(t)))}var Pn=()=>Nn===On$1.TAPSTERS_FRONTEND;var Rn=e=>e.replace(/[^0-9]/g,"");function Un({rowData:e,prefixes:t,keys:r=[],accessor:n}){let o=!!n;return (o?n?.(e):r)?.filter(Boolean)?.reduce((a,l)=>{let u=o?l:Se(e,l);return typeof u=="string"&&t?.some(p=>u.includes(p)&&R(F(u,p),"_")===0)&&a.push(u),Array.isArray(u)&&u.length>0&&u.every(p=>typeof p=="string"&&t?.some(m=>p.includes(m)&&R(F(p,m),"_")===0))&&a.push(...u),a},[])}var Bn=450,Wn=600;var Vn=3;var zn=20,at=(r=>(r.Index="index",r.Date="date",r))(at||{}),Hn={name:"index",label:"",selected:true,menuItems:void 0,order:0,pinned:"start",isDefaultPinned:true,pinnable:true},Gn={name:"date",label:"Date",selected:true,menuItems:void 0,order:1,pinned:"start",isDefaultPinned:true,pinnable:true},Yn={date:"Date",index:"Index"},Kn={sheet:["sheet"],default:["advanced","default"],text:["text"]},Jn={sheet:"Advanced",default:"Sheet",text:"text"},ct={id:"default",label:"Default"},jn={id:"custom",label:"Custom view"},qn=[ct];function eo(e,t,r){return e.filter(n=>{let o=n?.id?.toString(),s=t.find(m=>{let Ve=m.code?.toLowerCase()===o?.toLowerCase(),ze=m.name?.toLowerCase()===o?.toLowerCase();return (Ve||ze)&&m.selected}),i=!!n.tableViewId&&(s?.menuItems?.length||0)>0,a=s?.menuItems?.find(m=>m.name?.toLowerCase()===n.tableViewId?.toString()?.toLowerCase())?.selected,l=!!s&&(a||!i),p=["actions","action_icon",...r?["index","date"]:[]].includes(o?.toLowerCase()??"");return !!(l||p)})}function to(e,t){if(t.toLowerCase()==="index")return 0;let r=e.findIndex(o=>o.code?.toLowerCase()===t?.toLowerCase()),n=e[r];return r>=0?n?.sort_order??r:999}function ro(e,t,r){return e?.find(n=>{let o=n.code?.toLowerCase()===t.toLowerCase(),s=n.name?.toLowerCase()===t.toLowerCase();return o||s})?.menuItems?.find(n=>n.name?.toLowerCase()===r.toLowerCase()&&n.selected)?.selected||false}function no(e,t){return e?.filter(r=>!!r.name?.[0]?.text)?.map(r=>({code:r.code,label:f(r.name,t),name:f(r.name,t)||"",selected:r?.selected!==false,sort_order:r.sort_order,menuItems:r.fields?.map(n=>n.parameters?.filter(o=>!!o.code)?.map(o=>({code:o.code,label:Fe(o.code),name:`${o.code}`,selected:o?.selected!==false})))?.flat()?.filter(n=>!!n.name)}))||[]}function oo(e){return e.map(t=>({...t.code?{code:t.code}:{},name:[{text:t.name,lang:"en"}],selected:t.selected,sort_order:1,sorting:"descending",fields:t.menuItems?.map(r=>({code:r.name,type:"single",parameters:[{parameter:r.name,code:r.name,selected:r.selected}]}))||[]}))}var so=({columnsView:e,columnsIds:t,selected:r})=>{let n=new Set(t.map(s=>s?.toLowerCase())),o=s=>({...s,selected:r,fields:s.fields?.map(i=>({...i,parameters:i.parameters?.map(a=>({...a,selected:r}))??[]}))});return e.map(s=>n.has(s.code?.toLowerCase()??"")||n.has(s.name?.[0]?.text?.toLowerCase()??"")?o(s):s)};function ao(e){return {fullPhone:e?.number?`${e?.country_code||""} ${e?.number}`:"",code:e?.country_code||"",number:e?.number||""}}var Re=(e,t)=>{let r=e.type==="url"?e.url:window.URL.createObjectURL(new Blob([e.content])),n=document.createElement("a");n.href=r,n.setAttribute("download",t),document.body.appendChild(n),n.click(),n.remove(),e.type==="content"&&window.URL.revokeObjectURL(r);},lo=(e,t)=>Re({type:"content",content:e},t),uo=(e,t)=>Re({type:"url",url:e},t);var ut=e=>!!(e?.isAxiosError&&!e?.response),mo=(e,t="")=>e?.response?.data?.error?.message?.trim()||t,go=e=>!!e,dt=e=>(e?.code==="ECONNABORTED"||e?.message?.toLowerCase().includes("timeout"))??false,fo=e=>!!(e?.response?.status===404||e?.response?.status===400&&e?.response?.data?.error?.message?.toLowerCase().includes("not found")),T=({code:e,message:t})=>e?`${t} - ${e}`:t,xo=({error:e,fallbackMessage:t})=>{if(ut(e)){let n=t??"networkError";return {code:null,message:n,formatted:T({code:null,message:n})}}if(dt(e)){let n=t??"yourRequestOutPleaseTryAgain";return {code:null,message:n,formatted:T({code:null,message:n})}}if(e?.response&&typeof e.response.data=="object"&&"error"in e.response.data){let{code:n,message:o}=e.response.data.error;return {code:n,message:o,formatted:T({code:n,message:o})}}let r=t??"somethingWentWrong";return {code:null,message:r,formatted:T({code:null,message:r})}};var ho=()=>["passport","national_id","iqamah","civil_id"].map(e=>({id:e,label:Fe(e)}));function So(e,t=2){let n=e??0;if(!n)return "0 kb";let o=n/1024;return o>1024?`${(o/1024).toFixed(t)} mb`:`${o.toFixed(t)} kb`}function mt(e){return e?.file?.size!==void 0&&e?.file?.name!==void 0}function gt(e,t){return e.name===t.name&&e.size===t.size}function Eo(e,t){return t?.length?t.some(r=>mt(r)?gt(r.file,e):r.name===e.name):false}var Ao=e=>{let t=e?.split(".").pop()?.toLowerCase()??"";return ep[t]??Ye$1},wo=(e,t,r)=>`${e}-${t}-${r}`;var Io=e=>e?/[\u0600-\u06FF]/g.test(e):false;function Oo(e,t="en"){return (e||[]).find(r=>(r?.lang||r?.locale)===t)||e?.[0]}var f=(e,t="en")=>(e||[]).find(r=>r?.lang===t)?.text,Lo=(e,t="en")=>(e||[]).find(r=>r?.lang===t);var Po=e=>{let t=e?.wallet==="SV Wallet"?"walletStoredValue":"walletPassThru";return e?.type==="Wallet"?t:e?.type},ft={AMERICAN_EXPRESS:"AMEX"},ve=e=>ft[e.toUpperCase()]??e.toUpperCase(),Fo=(e,t)=>!!e&&!!t&&ve(e)===ve(t);var vo=e=>({Local:e.success.light,Regional:e.info.light,Global:e.warning.light});var Uo=(e,t)=>{if(t==null)return "";let r=Fo$1[e];return e===Eo$1.COUNT?t===1?r:`${r}s`:r};var d={primary:"#1F88D0",background:"white",border:"#F2F2F2",transparent:"transparent"},g={thin:"0.5px",thick:"1px",none:"0px"},Me={minHeight:"28px",fullHeight:"100%"},Bo=({isSelected:e,isCellSelected:t,isColumnSelected:r,isRowSelected:n,isLastRow:o})=>e?n?xt():t&&!r?yt():r?Tt(o):{}:{},xt=()=>({backgroundColor:d.background,color:d.primary}),yt=()=>({border:`${g.thin} solid ${d.primary}`,backgroundColor:d.background,color:d.primary,borderRadius:"2px"}),Tt=e=>{let t=ht(),r=Ct(e);return {borderWidth:t,borderStyle:"solid",borderColor:d.primary,borderBottom:r,height:Me.fullHeight,minHeight:Me.minHeight,display:"flex",alignItems:"center"}},ht=()=>{let{none:e,thin:t}=g;return `${e} ${t} ${t} ${t}`},Ct=e=>e?`${g.thick} solid ${d.primary}`:`${g.thin} solid ${d.border}`,Wo=({effectiveFirst:e,isPinnedStart:t,isPinnedEnd:r})=>({borderTop:`${g.thin} solid ${d.primary}`,borderBottom:`${g.thin} solid ${d.primary}`,borderRight:`${g.thin} solid ${r?d.primary:"none"}`,borderLeft:`${g.thin} solid ${t&&e?d.primary:"transparent"}`}),Vo={left:"flex-start",center:"center",right:"flex-end"};function zo(e,t){if(t==null)return e;let r=n=>Array.isArray(n)?n:[n];return [...r(e),...r(t)]}function Ho(...e){return e.filter(Boolean).join(" ")||void 0}var M=k(po,ro$1,qo$1);function k(e,t,r){let n=getTimezone(r);return n?{countryCode:e,label:`(GMT${n.utcOffsetStr}) ${Pe(e)??t}`,timezone:r,offset:n.utcOffset/so$1}:M}var bt=e=>{let t=getCountry(e),r=t?.timezones[0];if(!(!t||!r))return k(e,t.name,r)},jo=e=>bt(e)??M,qo=e=>{let t=getCountryForTimezone(e),r=getTimezone(e);return !t||!r?M:k(t.id,t.name,e)};function rs(e){return {name:"Payment Methods",type:"payment_methods",options:e?.map(t=>({name:Ue(Fe(f(t?.name))),type:t?.code,icon:Go[t.code]??Go.CARD,options:t.payment_methods?.map(r=>({name:f(r.name),type:r.code}))}))}}function ns(e=[]){return {name:"Payment Schemes",type:"payment_scheme",options:e.filter(t=>t.code).map(t=>({name:Ue(Fe(f(t?.name))),type:t?.code}))}}var Be=["120px","180px","100px","150px","200px","140px","160px","110px","190px","130px"],_t={id:"index",header:"",width:"34px",order:0,hidden:false,sortable:false,pinned:"start",isDefaultPinned:true,pinnable:true},At={id:"date",header:"",width:"120px",order:1,hidden:false,sortable:false,pinned:"start",isDefaultPinned:true,pinnable:true},wt={id:"action_icon",header:"",width:"36px",order:Be.length+3,hidden:false,sortable:false,pinned:"end",pinnable:true,isDefaultPinned:true},Dt=(e=Be)=>{let t=e.map((r,n)=>({id:`skeleton-col-${n}`,header:"",width:r,order:n+2,hidden:false,sortable:false,pinnable:false}));return [_t,At,...t,wt]},ss=(e,t,r)=>r&&t?Dt():[...e];var as=(e,t)=>e.map(r=>{let n=Object.entries(t);if(!r.default||!r.layout?.length||!n.length)return r;let o=new Map(n.map(([i,a])=>[i.toLowerCase(),a])),s=r.layout.map(i=>({...i,columns:i.columns?.map(a=>{let l=a.code?.toLowerCase();if(!l||!o.has(l))return a;let u=o.get(l)??false;return {...a,default:u,fields:a.fields?.map(p=>({...p,default:u}))}})}));return {...r,layout:s}});var us=(e,t)=>t.some(r=>!!e[r]),ds=(e,t,r)=>t?e:e.map(n=>{if(r.hiddenFilterColumnIds.includes(n.id)){let{filter:s,...i}=n,a=n.id,l=typeof i.header=="function"?Fe(a):i.header;return {...i,header:l}}let{hiddenFilterOptionKeys:o}=r;if(o&&n.filter&&"options"in n.filter&&n.filter.options){let s=n.filter.options,i=s.filter(a=>!a.apiKey||!o.includes(a.apiKey));if(i.length!==s.length)return {...n,filter:{...n.filter,options:i}}}return n});typeof window<"u"&&We.addHook("afterSanitizeAttributes",e=>{e.tagName==="A"&&e.getAttribute("target")==="_blank"&&e.setAttribute("rel","noopener noreferrer");});var Ot={USE_PROFILES:{html:true},ALLOWED_URI_REGEXP:/^(?:(?:https?|mailto|tel|blob):|[^a-z]|[-a-z.+]+(?:[^-a-z.+:]|$))/i,WHOLE_DOCUMENT:true},gs=e=>typeof window>"u"?"":String(We.sanitize(e||"",Ot));var xs=e=>window?.__TAPOS_NEWRELIC_TRACKING_EVENTS__?.trackFeatureEvent?.(e),ys=e=>e.toISOString();function hs(e,t){let r=e.replace(/:/g,"");return t?`${t}-${r}`:r}function Lt(e){return e!=null&&e!==""}function Ss(e,t){let r=e!=null,n=t&&"message"in t?t.message:e?.message,o=Lt(n);return {isProvided:r,isVisible:o,type:o?e?.type:void 0}}export{Br as $,ro as $a,sr as A,hn as Aa,vo as Ab,ir as B,Cn as Ba,Uo as Bb,ar as C,Sn as Ca,d as Cb,cr as D,bn as Da,Bo as Db,lr as E,_n as Ea,Wo as Eb,ur as F,wn as Fa,Vo as Fb,dr as G,In as Ga,zo as Gb,pr as H,v as Ha,Ho as Hb,mr as I,On as Ia,jo as Ib,gr as J,Pn as Ja,qo as Jb,fr as K,Rn as Ka,rs as Kb,xr as L,Un as La,ns as Lb,yr as M,Bn as Ma,Be as Mb,Tr as N,Wn as Na,Dt as Nb,hr as O,Vn as Oa,ss as Ob,Ie as P,zn as Pa,as as Pb,L as Q,at as Qa,us as Qb,Ar as R,Hn as Ra,ds as Rb,Dr as S,Gn as Sa,gs as Sb,Ir as T,Yn as Ta,xs as Tb,Or as U,Kn as Ua,ys as Ub,Fr as V,Jn as Va,hs as Vb,Rr as W,ct as Wa,Lt as Wb,vr as X,jn as Xa,Ss as Xb,Mr as Y,qn as Ya,$r as Z,eo as Za,Ne as _,to as _a,Ft as a,Wr as aa,no as ab,Rt as b,tt as ba,oo as bb,vt as c,Vr as ca,so as cb,Mt as d,Hr as da,ao as db,be as e,Gr as ea,Re as eb,Ge as f,Pe as fa,lo as fb,Ye as g,Kr as ga,uo as gb,Bt as h,Jr as ha,ut as hb,Gt as i,y as ia,mo as ib,De as j,Zr as ja,go as jb,Yt as k,Qr as ka,dt as kb,Kt as l,rn as la,fo as lb,Jt as m,nn as ma,xo as mb,jt as n,on as na,ho as nb,I as o,sn as oa,So as ob,qt as p,an as pa,mt as pb,Xt as q,cn as qa,gt as qb,O as r,ln as ra,Eo as rb,Zt as s,mn as sa,Ao as sb,Qt as t,F as ta,wo as tb,Je as u,R as ua,Io as ub,er as v,gn as va,Oo as vb,tr as w,fn as wa,f as wb,rr as x,xn as xa,Lo as xb,nr as y,yn as ya,Po as yb,or as z,Tn as za,Fo as zb};
@@ -1,3 +0,0 @@
1
- /** @deprecated Import `DatePicker` from `@tap-payments/os-micro-frontend-shared/datetime/components`. */
2
- export { default } from '../../datetime/components/DatePicker';
3
- export type { DatePickerProps as CalenderProps, DateObject } from '../../datetime/components/DatePicker';
@@ -1 +0,0 @@
1
- export{b as default}from'../../_chunks/chunk-KDI46MD5.js';import'../../_chunks/chunk-BMQXBC22.js';import'../../_chunks/chunk-HR4BT24K.js';import'../../_chunks/chunk-WCH7VAS5.js';import'../../_chunks/chunk-RKLFUVFU.js';import'../../_chunks/chunk-ASZPO74G.js';import'../../_chunks/chunk-LS57WE6K.js';
@@ -1,28 +0,0 @@
1
- /// <reference types="react" />
2
- import type { CalenderMode, Timezone } from '../../types/index.js';
3
- import type { CustomColumnFilterProps } from '../modules/VirtualTables/components/ColumnFilter/type';
4
- /**
5
- * Date-range filter dropdown for use as a column `filter.render` (type: 'custom').
6
- * Pair with `useDateFilter()` for state management.
7
- *
8
- * @deprecated Takes a `Timezone` with a frozen offset. Frozen for existing callers; new code reads
9
- * its range from `DateRangeCalendar` in `@datetime/components` and resolves it with `toInstant`.
10
- */
11
- export interface DateFilterProps {
12
- onConfirm: (dateRange: [Date, Date] | undefined) => void;
13
- /** Committed range; undefined means no filter applied. */
14
- dateRange?: [Date, Date];
15
- /** Fires on every calendar pick, before the user confirms. */
16
- onDateRangeChange: (dateRange?: [Date, Date]) => void;
17
- calendarMode: CalenderMode;
18
- onCalendarModeChange: (calenderMode: CalenderMode) => void;
19
- timezone: Timezone | null;
20
- onTimezoneChange: (timezone: Timezone) => void;
21
- /** Detected browser timezone, used as fallback. */
22
- browserTimezone: string;
23
- defaultCountryTimezone: Timezone;
24
- /** Country codes for the timezone picker. */
25
- timezoneCountriesCodes: string[];
26
- }
27
- /** @deprecated Legacy date-range filter dropdown; frozen for existing callers. */
28
- export default function DateFilter({ dateRange, onDateRangeChange, calendarMode, onCalendarModeChange, timezone, browserTimezone, defaultCountryTimezone, onTimezoneChange, timezoneCountriesCodes, onConfirm, onCloseDropdown, }: Readonly<DateFilterProps & CustomColumnFilterProps>): import("react").JSX.Element;
@@ -1 +0,0 @@
1
- export { default as DateFilter, type DateFilterProps } from './DateFilter';
@@ -1 +0,0 @@
1
- export{vc as DateFilter}from'../../_chunks/chunk-7LPJQYOB.js';import'../../_chunks/chunk-M6J56JSE.js';import'../../_chunks/chunk-T6YRJOHS.js';import'../../_chunks/chunk-774JTTY4.js';import'../../_chunks/chunk-UT4J5TOZ.js';import'../../_chunks/chunk-IUXW2N5T.js';import'../../_chunks/chunk-36VZZ5EB.js';import'../../_chunks/chunk-2I5L7ASP.js';import'../../_chunks/chunk-D7362WJB.js';import'../../_chunks/chunk-ISC5KT5E.js';import'../../_chunks/chunk-AA74HALP.js';import'../../_chunks/chunk-CQKZVRBJ.js';import'../../_chunks/chunk-G3QDXDRW.js';import'../../_chunks/chunk-BVEGSDO5.js';import'../../_chunks/chunk-RK62D52W.js';import'../../_chunks/chunk-EKTZ6Q4P.js';import'../../_chunks/chunk-BFJT5WSV.js';import'../../_chunks/chunk-M27LLU5M.js';import'../../_chunks/chunk-ORUY6OZP.js';import'../../_chunks/chunk-YFMZVIBE.js';import'../../_chunks/chunk-55225K5C.js';import'../../_chunks/chunk-JYNXJIVE.js';import'../../_chunks/chunk-6UG2XBA6.js';import'../../_chunks/chunk-K5NDIDS2.js';import'../../_chunks/chunk-5ZRFLG6Y.js';import'../../_chunks/chunk-HHI47DWR.js';import'../../_chunks/chunk-F7OBXENW.js';import'../../_chunks/chunk-XXIL5GPD.js';import'../../_chunks/chunk-REM2S7IJ.js';import'../../_chunks/chunk-D54XVTCB.js';import'../../_chunks/chunk-NQJLFBFK.js';import'../../_chunks/chunk-HFZZP3SE.js';import'../../_chunks/chunk-IT5SCXJU.js';import'../../_chunks/chunk-RYRN5KCF.js';import'../../_chunks/chunk-5YGD7JMH.js';import'../../_chunks/chunk-V3NXFJEQ.js';import'../../_chunks/chunk-3S5EXDTX.js';import'../../_chunks/chunk-NH56G5JX.js';import'../../_chunks/chunk-CHYRCXUW.js';import'../../_chunks/chunk-LOAX7R5C.js';import'../../_chunks/chunk-2CKUGHE2.js';import'../../_chunks/chunk-MSX235Y5.js';import'../../_chunks/chunk-P5AN3IJH.js';import'../../_chunks/chunk-R3JWOWGR.js';import'../../_chunks/chunk-KD3LVJ3G.js';import'../../_chunks/chunk-KBJFFXZH.js';import'../../_chunks/chunk-2EZIQKEM.js';import'../../_chunks/chunk-CALJPNIH.js';import'../../_chunks/chunk-LM7H7P3K.js';import'../../_chunks/chunk-MTZ7W457.js';import'../../_chunks/chunk-VC62IVBT.js';import'../../_chunks/chunk-PVMELMUW.js';import'../../_chunks/chunk-KRH6HCFC.js';import'../../_chunks/chunk-I33G4TM7.js';import'../../_chunks/chunk-CQ5DDXNH.js';import'../../_chunks/chunk-VMB2PTMO.js';import'../../_chunks/chunk-SZ2NN5ZU.js';import'../../_chunks/chunk-7WBXW5Q3.js';import'../../_chunks/chunk-IFG5ESIX.js';import'../../_chunks/chunk-QMS5RPGY.js';import'../../_chunks/chunk-KDI46MD5.js';import'../../_chunks/chunk-BMQXBC22.js';import'../../_chunks/chunk-QHGVMOCN.js';import'../../_chunks/chunk-HR4BT24K.js';import'../../_chunks/chunk-77AHJF7T.js';import'../../_chunks/chunk-IXFXTDH7.js';import'../../_chunks/chunk-D7EP7AJW.js';import'../../_chunks/chunk-N3W2IUZT.js';import'../../_chunks/chunk-WCH7VAS5.js';import'../../_chunks/chunk-RKLFUVFU.js';import'../../_chunks/chunk-ASZPO74G.js';import'../../_chunks/chunk-LS57WE6K.js';
@@ -1,36 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Label: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
3
- ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
4
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
5
- export declare const Item: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
7
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
8
- export declare const Footer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
10
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
11
- export declare const OkayButton: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
12
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
13
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
14
- export declare const CancelButton: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
15
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
16
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
17
- export declare const Filter: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
18
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
19
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
20
- export declare const TitleStyled: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
21
- ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
22
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
23
- export declare const FilterHeader: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
24
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
25
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
26
- export declare const FilterWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
27
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
28
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
29
- export declare const ClearLabel: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
30
- ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
31
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
32
- export declare const SelectedDate: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
33
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
34
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
35
- open: boolean;
36
- }, {}, {}>;
@@ -1,3 +0,0 @@
1
- /** @deprecated Import `DateInput` from `@tap-payments/os-micro-frontend-shared/datetime/components`. */
2
- export { default, default as DateInput } from '../../datetime/components/DateInput';
3
- export * from '../../datetime/components/DateInput';
@@ -1 +0,0 @@
1
- export{c as DateInput,a as dateInputCalendarMode,b as dateInputClassNames,c as default}from'../../_chunks/chunk-CHYRCXUW.js';import'../../_chunks/chunk-LOAX7R5C.js';import'../../_chunks/chunk-IFG5ESIX.js';import'../../_chunks/chunk-QMS5RPGY.js';import'../../_chunks/chunk-HR4BT24K.js';import'../../_chunks/chunk-WCH7VAS5.js';import'../../_chunks/chunk-RKLFUVFU.js';import'../../_chunks/chunk-ASZPO74G.js';import'../../_chunks/chunk-LS57WE6K.js';
@@ -1 +0,0 @@
1
- export { default } from '../modules/RangeCalender';
@@ -1 +0,0 @@
1
- export{a as default}from'../../_chunks/chunk-EKTZ6Q4P.js';import'../../_chunks/chunk-BFJT5WSV.js';import'../../_chunks/chunk-LM7H7P3K.js';import'../../_chunks/chunk-CQ5DDXNH.js';import'../../_chunks/chunk-BMQXBC22.js';import'../../_chunks/chunk-HR4BT24K.js';import'../../_chunks/chunk-WCH7VAS5.js';import'../../_chunks/chunk-RKLFUVFU.js';import'../../_chunks/chunk-ASZPO74G.js';import'../../_chunks/chunk-LS57WE6K.js';
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import { DateCellBaseProps } from '../../../index.js';
3
- /** @deprecated Legacy offset-based date cell; frozen for existing callers. */
4
- interface DateCellProps extends DateCellBaseProps {
5
- currentTimezone?: string;
6
- timezoneOffset?: number;
7
- defaultTimezoneOffset?: number;
8
- hideTimezoneIcon?: boolean;
9
- }
10
- /** @deprecated Shifts by a fixed numeric offset, so it is wrong across a zone's DST change. */
11
- export default function DateCell({ value, currentTimezone, timezoneOffset, defaultTimezoneOffset, hideTimezoneIcon, ...props }: DateCellProps): import("react").JSX.Element;
12
- export {};
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { DateCellBaseProps } from '../type';
3
- /**
4
- * @deprecated Formats with the host's zone. Frozen for existing callers; the zone-aware
5
- * successor is `ZonedDateViewer` in `@datetime/components`.
6
- */
7
- declare function DateViewer({ value, format: dateFormat, flagIcon, hasFlag, tableMode, ...props }: DateCellBaseProps): import("react").JSX.Element;
8
- export default DateViewer;
@@ -1,2 +0,0 @@
1
- export { default as DateViewer } from './DateViewer';
2
- export { default as DateCell } from './DateCell';
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const DateCellContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ZonedDueDateCellProps } from '../../../../datetime/components/ZonedDueDateCell';
3
- type DueDateCellProps = Omit<ZonedDueDateCellProps, 'zone'>;
4
- /** @deprecated Use `ZonedDueDateCell` from `@datetime/components` with an explicit zone. */
5
- export default function DueDateCell(props: DueDateCellProps): import("react").JSX.Element;
6
- export {};
@@ -1,2 +0,0 @@
1
- /** @deprecated Import `ZonedDueDateCell` from `@tap-payments/os-micro-frontend-shared/datetime/components`. */
2
- export { default as DueDateCell } from './DueDateCell';
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { DateCellBaseProps } from '../type';
3
- /**
4
- * @deprecated Formats the epoch in the host's zone. Frozen for existing callers; the zone-aware
5
- * successor is `ZonedDateViewer` in `@datetime/components`.
6
- */
7
- export default function PayoutDateCell({ value, ...props }: DateCellBaseProps): import("react").JSX.Element;
@@ -1 +0,0 @@
1
- export { default as PayoutDateCell } from './PayoutDateCell';
@@ -1,3 +0,0 @@
1
- /** @deprecated Import `TimePicker` from `@tap-payments/os-micro-frontend-shared/datetime/components`. */
2
- export { default } from '../../datetime/components/TimePicker';
3
- export * from '../../datetime/components/TimePicker';
@@ -1 +0,0 @@
1
- import'../../_chunks/chunk-BFJT5WSV.js';export{i as TimePicker,a as convertTo12Hour,e as convertTo24Hour,j as default,d as getDefaultHour,c as getDefaultMinute,b as getPeriodFrom24Hour,g as maxHour,h as maxMinute,f as periodList}from'../../_chunks/chunk-BMQXBC22.js';import'../../_chunks/chunk-HR4BT24K.js';import'../../_chunks/chunk-WCH7VAS5.js';import'../../_chunks/chunk-RKLFUVFU.js';import'../../_chunks/chunk-ASZPO74G.js';import'../../_chunks/chunk-LS57WE6K.js';
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { RangeCalendarProps } from './type';
3
- /**
4
- * @deprecated Legacy range calendar taking a `Timezone` and no committed zone. Frozen for existing
5
- * callers; the zone-aware successor is `DateRangeCalendar` in `@datetime/components`.
6
- */
7
- declare function RangeCalender({ defaultDate, onDateChange, mode, onCalendarModeSwitch, numberOfMonths, noTimezone, noQuickFilter, maxDateRange, onCalendarGroupChange, groupBy, timezone, onChangeTimezone, browserTimezone, renderCalendarButton, mainSx, popperProps, rangeDatePickerProps, defaultCountryTimezone, timezoneCountriesCodes, }: Readonly<RangeCalendarProps>): import("react").JSX.Element;
8
- export default RangeCalender;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { Dates } from '../../type';
3
- interface CustomTimePickerProps {
4
- values: Dates;
5
- setValues: (values: Dates) => void;
6
- }
7
- declare function CustomTimePicker({ values, setValues }: CustomTimePickerProps): import("react").JSX.Element;
8
- export default CustomTimePicker;
@@ -1,2 +0,0 @@
1
- import CustomTimepicker from './CustomTimepicker';
2
- export default CustomTimepicker;
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const AllDayStyled: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
5
- isAllDay?: boolean | undefined;
6
- }, {}, {}>;
7
- export declare const TimeArea: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
10
- export declare const TimePickerWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
11
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
12
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
13
- export declare const TimeAreaInner: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
14
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
15
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { BoxProps } from '@mui/material/Box';
3
- interface GroupByProps extends BoxProps {
4
- groupBy: string;
5
- isCalenderOpen: boolean;
6
- onUpdate?: (value: string) => void;
7
- }
8
- declare function GroupBy({ sx, groupBy, isCalenderOpen, onUpdate }: GroupByProps): import("react").JSX.Element;
9
- declare const _default: import("react").MemoExoticComponent<typeof GroupBy>;
10
- export default _default;
@@ -1,2 +0,0 @@
1
- import GroupBy from './GroupBy';
2
- export default GroupBy;