@tap-payments/os-micro-frontend-shared 0.2.53 → 0.2.54

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 (863) hide show
  1. package/build/{chunk-HVLFECGJ.js → chunk-26DIGPHP.js} +1 -1
  2. package/build/{chunk-QO3CSQU6.js → chunk-2SVMRUYZ.js} +1 -1
  3. package/build/{chunk-IHVRVEO4.js → chunk-2UPIIWGM.js} +1 -1
  4. package/build/{chunk-3Y5GSYLE.js → chunk-3KQ673K5.js} +1 -1
  5. package/build/{chunk-T2THQG77.js → chunk-3VYWTGFD.js} +1 -1
  6. package/build/chunk-4RU54L7F.js +1 -0
  7. package/build/chunk-4YHQ2BHD.js +1 -0
  8. package/build/{chunk-ZMJFGE6M.js → chunk-5L6N3JCK.js} +1 -1
  9. package/build/{chunk-O4A6KYDZ.js → chunk-6GOWNWLG.js} +1 -1
  10. package/build/{chunk-QRMLDVQS.js → chunk-6LFIG3WI.js} +1 -1
  11. package/build/{chunk-C5ZM27TH.js → chunk-7462E2TJ.js} +1 -1
  12. package/build/{chunk-XMXSWE5K.js → chunk-7H3JAZRG.js} +1 -1
  13. package/build/{chunk-OZE5SDSZ.js → chunk-A6ONSIVK.js} +1 -1
  14. package/build/{chunk-UO57XH3R.js → chunk-AGWTQEOX.js} +1 -1
  15. package/build/{chunk-DFVMPCPW.js → chunk-B4TWQJGN.js} +1 -1
  16. package/build/chunk-C6NC3CWY.js +1 -0
  17. package/build/{chunk-LMZWGSHX.js → chunk-CDCODH3D.js} +1 -1
  18. package/build/{chunk-SNVJQZ6B.js → chunk-D7YWJN54.js} +1 -1
  19. package/build/{chunk-2STJ47LW.js → chunk-ENLWUDGW.js} +1 -1
  20. package/build/{chunk-4XNFFIQO.js → chunk-EOUTH2QN.js} +1 -1
  21. package/build/{chunk-QDJV7WTN.js → chunk-FWRMMHWU.js} +1 -1
  22. package/build/{chunk-FKHNKGZF.js → chunk-GWAI32YU.js} +1 -1
  23. package/build/{chunk-XUID4CEI.js → chunk-HKBAH6NA.js} +1 -1
  24. package/build/chunk-HUNZJ3XG.js +1 -0
  25. package/build/{chunk-7C3H6NEM.js → chunk-I7XODJHD.js} +1 -1
  26. package/build/chunk-IG7OQ3CS.js +1 -0
  27. package/build/{chunk-CQOX6M37.js → chunk-IMJTP5FY.js} +1 -1
  28. package/build/{chunk-6XQP7ZZ7.js → chunk-JMW4JZ4T.js} +1 -1
  29. package/build/chunk-KQW5RPNP.js +1 -0
  30. package/build/{chunk-3VKQE2LL.js → chunk-M4HSYMJV.js} +1 -1
  31. package/build/{chunk-KQY5VBEC.js → chunk-MTZN4API.js} +1 -1
  32. package/build/{chunk-ASFSI7SO.js → chunk-N7UJWHJD.js} +1 -1
  33. package/build/{chunk-R2TGB4DU.js → chunk-NHBPJEEQ.js} +1 -1
  34. package/build/chunk-ODJ44SSV.js +1 -0
  35. package/build/{chunk-2NBICST7.js → chunk-OXXR5TZD.js} +1 -1
  36. package/build/{chunk-XVQ6WBAM.js → chunk-P3RVNLM7.js} +1 -1
  37. package/build/{chunk-XSVWGOMI.js → chunk-PL24C7IX.js} +1 -1
  38. package/build/{chunk-DQJZHC6F.js → chunk-PP2HQKWF.js} +1 -1
  39. package/build/{chunk-VK4GCISZ.js → chunk-QIA7EHLX.js} +1 -1
  40. package/build/chunk-QMJNL4XD.js +1 -0
  41. package/build/{chunk-NVELVGOM.js → chunk-R6HJFRUI.js} +1 -1
  42. package/build/{chunk-567N6NVJ.js → chunk-RDDCNWF4.js} +1 -1
  43. package/build/{chunk-RMJXH4VT.js → chunk-RIKTATQ3.js} +1 -1
  44. package/build/{chunk-MF4X4VDG.js → chunk-SQUXVKOP.js} +1 -1
  45. package/build/{chunk-GZCKH44T.js → chunk-SW2ZLFAJ.js} +1 -1
  46. package/build/{chunk-XGP2M6MA.js → chunk-TXZUJBE7.js} +1 -1
  47. package/build/{chunk-5MUNOW55.js → chunk-UIXACZ3Z.js} +1 -1
  48. package/build/{chunk-THFYQO7S.js → chunk-UPI2ZD5N.js} +1 -1
  49. package/build/chunk-VEBRUQA2.js +1 -0
  50. package/build/{chunk-EBITAPYR.js → chunk-VHWXDXEU.js} +1 -1
  51. package/build/{chunk-JQ5NS4W2.js → chunk-VJSWLOI5.js} +1 -1
  52. package/build/chunk-VLKU7AHB.js +1 -0
  53. package/build/{chunk-F7WS2F4D.js → chunk-VVAEE2EI.js} +1 -1
  54. package/build/{chunk-PSOOIK3N.js → chunk-VZBDHFBA.js} +1 -1
  55. package/build/chunk-WAM4TS2M.js +1 -0
  56. package/build/{chunk-XPDQEAG6.js → chunk-WFNWGQHV.js} +1 -1
  57. package/build/{chunk-PUZY5KYQ.js → chunk-WSPN5HXO.js} +1 -1
  58. package/build/{chunk-HHVMMURE.js → chunk-XKMZ2TCQ.js} +1 -1
  59. package/build/{chunk-76JLUWVG.js → chunk-XLZNIKBG.js} +1 -1
  60. package/build/{chunk-TF4UGIQM.js → chunk-Y6I5TYRS.js} +1 -1
  61. package/build/chunk-Y7Y637FM.js +1 -0
  62. package/build/chunk-YPH5ZF7P.js +1 -0
  63. package/build/{chunk-3QMX6QPV.js → chunk-YX7LVEWB.js} +1 -1
  64. package/build/{chunk-DUSMHL43.js → chunk-ZDTDRKMF.js} +1 -1
  65. package/build/chunk-ZVWVUJOG.js +1 -0
  66. package/build/components/Accordion/Accordion.js +1 -1
  67. package/build/components/Accordion/index.js +1 -1
  68. package/build/components/AccountDropdown/Dropdown.js +1 -1
  69. package/build/components/AccountDropdown/index.js +1 -1
  70. package/build/components/ActionMenu/ActionMenu.js +1 -1
  71. package/build/components/ActionMenu/ActionMenuDropDown.js +1 -1
  72. package/build/components/ActionMenu/ActionMenuItem.js +1 -1
  73. package/build/components/ActionMenu/index.js +1 -1
  74. package/build/components/ActionsDropdownMenu/ActionsDropdownMenu.js +1 -1
  75. package/build/components/ActionsDropdownMenu/AppMenuItem.js +1 -1
  76. package/build/components/ActionsDropdownMenu/index.js +1 -1
  77. package/build/components/ActivityAreaChart/ActivityAreaChart.js +1 -1
  78. package/build/components/ActivityAreaChart/components/ChartTooltip.js +1 -1
  79. package/build/components/ActivityAreaChart/components/index.js +1 -1
  80. package/build/components/ActivityAreaChart/index.js +1 -1
  81. package/build/components/ActivityAreaChart/utils.js +1 -1
  82. package/build/components/Amount/TotalAmount/TotalAmount.js +1 -1
  83. package/build/components/Amount/TotalAmount/index.js +1 -1
  84. package/build/components/Amount/TotalAmount/style.js +1 -1
  85. package/build/components/Amount/index.js +1 -1
  86. package/build/components/AmountConversionFilter/AmountConversionFilter.js +1 -1
  87. package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.js +1 -1
  88. package/build/components/AmountConversionFilter/index.js +1 -1
  89. package/build/components/AmountConversionFilter/style.js +1 -1
  90. package/build/components/AmountInput/AmountInput.js +1 -1
  91. package/build/components/AmountInput/index.js +1 -1
  92. package/build/components/AmountInput/style.js +1 -1
  93. package/build/components/AmountStatusChip/AmountStatusChip.js +1 -1
  94. package/build/components/AmountStatusChip/index.js +1 -1
  95. package/build/components/AmountStatusChip/style.js +1 -1
  96. package/build/components/AnimatedSpinnerIcon/AnimatedSpinnerIcon.js +1 -1
  97. package/build/components/AnimatedSpinnerIcon/index.js +1 -1
  98. package/build/components/AppServices/AppServices.js +1 -1
  99. package/build/components/AppServices/ServiceItem.js +1 -1
  100. package/build/components/AppServices/index.js +1 -1
  101. package/build/components/AppServices/style.js +1 -1
  102. package/build/components/AppServicesActionMenu/AppServicesActionMenu.js +1 -1
  103. package/build/components/AppServicesActionMenu/index.js +1 -1
  104. package/build/components/AppServicesBar/AppServicesBar.js +1 -1
  105. package/build/components/AppServicesBar/index.js +1 -1
  106. package/build/components/AppWindowWrapper/AppWindow/AppWindow.js +1 -1
  107. package/build/components/AppWindowWrapper/AppWindow/index.js +1 -1
  108. package/build/components/AppWindowWrapper/AppWindowWrapper.js +1 -1
  109. package/build/components/AppWindowWrapper/context/Provider.js +1 -1
  110. package/build/components/AppWindowWrapper/context/index.js +1 -1
  111. package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.js +1 -1
  112. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.js +1 -1
  113. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/index.js +1 -1
  114. package/build/components/AppWindowWrapper/headers/AccountHeader/index.js +1 -1
  115. package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeader.js +1 -1
  116. package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeaderBase.js +1 -1
  117. package/build/components/AppWindowWrapper/headers/AppWindowHeader/index.js +1 -1
  118. package/build/components/AppWindowWrapper/index.js +1 -1
  119. package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.js +1 -1
  120. package/build/components/AuthenticationTypeChip/index.js +1 -1
  121. package/build/components/Autocomplete/Autocomplete.js +1 -1
  122. package/build/components/Autocomplete/index.js +1 -1
  123. package/build/components/BackgroundAnimation/BackgroundAnimation.js +1 -1
  124. package/build/components/BackgroundAnimation/index.js +1 -1
  125. package/build/components/BetaBanner/BetaBanner.js +1 -1
  126. package/build/components/BetaBanner/index.js +1 -1
  127. package/build/components/BrandLogo/BrandLogo.js +1 -1
  128. package/build/components/BrandLogo/Loading.js +1 -1
  129. package/build/components/BrandLogo/index.js +1 -1
  130. package/build/components/Button/Button.js +1 -1
  131. package/build/components/Button/index.js +1 -1
  132. package/build/components/Calender/Calender.js +1 -1
  133. package/build/components/Calender/index.js +1 -1
  134. package/build/components/CardEmptyState/CardEmptyState.js +1 -1
  135. package/build/components/CardEmptyState/index.js +1 -1
  136. package/build/components/CardHeadline/CardHeadline.js +1 -1
  137. package/build/components/CardHeadline/index.js +1 -1
  138. package/build/components/Checkbox/Checkbox.js +1 -1
  139. package/build/components/Checkbox/index.js +1 -1
  140. package/build/components/Chip/Chip.js +1 -1
  141. package/build/components/Chip/index.js +1 -1
  142. package/build/components/ChipStack/ChipStack.js +1 -1
  143. package/build/components/ChipStack/components/AnimatedStack.js +1 -1
  144. package/build/components/ChipStack/components/ChipStackFaceSlot.js +1 -1
  145. package/build/components/ChipStack/components/OverlapChip.js +1 -1
  146. package/build/components/ChipStack/components/StaticStack.js +1 -1
  147. package/build/components/ChipStack/index.js +1 -1
  148. package/build/components/ChipStack/style.js +1 -1
  149. package/build/components/CircularProgressWithLabel/CircularProgressWithLabel.js +1 -1
  150. package/build/components/CircularProgressWithLabel/index.js +1 -1
  151. package/build/components/Collapse/Collapse.js +1 -1
  152. package/build/components/Collapse/index.js +1 -1
  153. package/build/components/ColorPicker/ColorPicker.js +1 -1
  154. package/build/components/ColorPicker/ColorPickerPanel.js +1 -1
  155. package/build/components/ColorPicker/index.js +1 -1
  156. package/build/components/ConfirmDialog/ConfirmDialog.js +1 -1
  157. package/build/components/ConfirmDialog/context/Provider.js +1 -1
  158. package/build/components/ConfirmDialog/context/index.js +1 -1
  159. package/build/components/ConfirmDialog/hooks/index.js +1 -1
  160. package/build/components/ConfirmDialog/hooks/useDialog.js +1 -1
  161. package/build/components/ConfirmDialog/index.js +1 -1
  162. package/build/components/ControlPanelContainer/ControlPanelContainer.js +1 -1
  163. package/build/components/ControlPanelContainer/index.js +1 -1
  164. package/build/components/CopyImage/CopyImage.js +1 -1
  165. package/build/components/CopyImage/index.js +1 -1
  166. package/build/components/CountBadge/CountBadgeAnimated.js +1 -1
  167. package/build/components/CountBadge/index.js +1 -1
  168. package/build/components/CountryFilter/CountryFilter.js +1 -1
  169. package/build/components/CountryFilter/index.js +1 -1
  170. package/build/components/CountryFilter/style.js +1 -1
  171. package/build/components/CountryFlag/CountryFlag.js +1 -1
  172. package/build/components/CountryFlag/index.js +1 -1
  173. package/build/components/CurrencyAmount/CurrencyAmount.js +1 -1
  174. package/build/components/CurrencyAmount/index.js +1 -1
  175. package/build/components/CurrencyFilter/CurrencyFilter.js +1 -1
  176. package/build/components/CurrencyFilter/index.js +1 -1
  177. package/build/components/CurrencySymbol/CurrencySymbol.js +1 -1
  178. package/build/components/CurrencySymbol/index.js +1 -1
  179. package/build/components/CustomBackdrop/CustomBackdrop.js +1 -1
  180. package/build/components/CustomBackdrop/index.js +1 -1
  181. package/build/components/Customer/CustomerDropdown/CustomerDropdown.js +1 -1
  182. package/build/components/Customer/CustomerDropdown/index.js +1 -1
  183. package/build/components/Customer/CustomerForms/CustomerEmailForm.js +1 -1
  184. package/build/components/Customer/CustomerForms/CustomerFullInfo.js +1 -1
  185. package/build/components/Customer/CustomerForms/CustomerFullInfoForm.js +1 -1
  186. package/build/components/Customer/CustomerForms/CustomerPhoneNumberForm.js +1 -1
  187. package/build/components/Customer/CustomerForms/index.js +1 -1
  188. package/build/components/Customer/CustomerForms/style.js +1 -1
  189. package/build/components/Customer/index.js +1 -1
  190. package/build/components/DateButton/DateButton.js +1 -1
  191. package/build/components/DateButton/index.js +1 -1
  192. package/build/components/DateFilter/DateFilter.js +1 -1
  193. package/build/components/DateFilter/index.js +1 -1
  194. package/build/components/DateFilter/style.js +1 -1
  195. package/build/components/DeviceIcon/DeviceIcon.js +1 -1
  196. package/build/components/DeviceIcon/index.js +1 -1
  197. package/build/components/DeviceIcon/style.js +1 -1
  198. package/build/components/Dialog/Dialog.js +1 -1
  199. package/build/components/Dialog/components/DialogToolbar.js +1 -1
  200. package/build/components/Dialog/components/index.js +1 -1
  201. package/build/components/Dialog/index.js +1 -1
  202. package/build/components/Discount/DiscountDropdown/DiscountDropdown.js +1 -1
  203. package/build/components/Discount/DiscountDropdown/index.js +1 -1
  204. package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.js +1 -1
  205. package/build/components/Discount/DiscountRateDropdown/index.js +1 -1
  206. package/build/components/Discount/TotalDiscount/TotalDiscount.js +1 -1
  207. package/build/components/Discount/TotalDiscount/index.js +1 -1
  208. package/build/components/Discount/index.js +1 -1
  209. package/build/components/DisplayAmount/DisplayAmount.js +1 -1
  210. package/build/components/DisplayAmount/index.js +1 -1
  211. package/build/components/DockButton/DockButton.js +1 -1
  212. package/build/components/DockButton/index.js +1 -1
  213. package/build/components/Dropdown2/Dropdown2.js +1 -1
  214. package/build/components/Dropdown2/index.js +1 -1
  215. package/build/components/DropdownButton/DropdownButton.js +1 -1
  216. package/build/components/DropdownButton/constants.js +1 -1
  217. package/build/components/DropdownButton/index.js +1 -1
  218. package/build/components/DropdownButton/style.js +1 -1
  219. package/build/components/DropdownMenu/DropdownMenu.js +1 -1
  220. package/build/components/DropdownMenu/index.js +1 -1
  221. package/build/components/DropdownMenu/styles.js +1 -1
  222. package/build/components/Error/Error.js +1 -1
  223. package/build/components/Error/index.js +1 -1
  224. package/build/components/ErrorBoundary/AppError.js +1 -1
  225. package/build/components/ErrorBoundary/ErrorBoundary.js +1 -1
  226. package/build/components/ErrorBoundary/index.js +1 -1
  227. package/build/components/ErrorToast/ErrorToast.js +1 -1
  228. package/build/components/ErrorToast/index.js +1 -1
  229. package/build/components/ExpandableSideBar/ExpandableSideBar.js +1 -1
  230. package/build/components/ExpandableSideBar/index.js +1 -1
  231. package/build/components/ExpandableSideBar/style.js +1 -1
  232. package/build/components/FieldFeedback/FieldFeedback.js +1 -1
  233. package/build/components/FieldFeedback/index.js +1 -1
  234. package/build/components/FileInputPreview/FileInputPreview.js +1 -1
  235. package/build/components/FileInputPreview/index.js +1 -1
  236. package/build/components/FileInputPreview/style.js +1 -1
  237. package/build/components/FileInputPreview/utils.js +1 -1
  238. package/build/components/FilePreview/FilePreview.js +1 -1
  239. package/build/components/FilePreview/index.js +1 -1
  240. package/build/components/FileUpload/FileUpload.js +1 -1
  241. package/build/components/FileUpload/FileUploadBase.js +1 -1
  242. package/build/components/FileUpload/index.js +1 -1
  243. package/build/components/FileUploader/FileUploader.js +1 -1
  244. package/build/components/FileUploader/index.js +1 -1
  245. package/build/components/FilterDropdown/FilterDropdown.js +1 -1
  246. package/build/components/FilterDropdown/components/BrandItem/BrandItem.js +1 -1
  247. package/build/components/FilterDropdown/components/BrandItem/index.js +1 -1
  248. package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.js +1 -1
  249. package/build/components/FilterDropdown/components/CountriesItem/index.js +1 -1
  250. package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.js +1 -1
  251. package/build/components/FilterDropdown/components/CurrenciesItem/index.js +1 -1
  252. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.js +1 -1
  253. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.js +1 -1
  254. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.js +1 -1
  255. package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.js +1 -1
  256. package/build/components/FilterDropdown/components/MerchantItem/index.js +1 -1
  257. package/build/components/FilterDropdown/components/MerchantsFilterItem/MerchantsFilterItem.js +1 -1
  258. package/build/components/FilterDropdown/components/MerchantsFilterItem/index.js +1 -1
  259. package/build/components/FilterDropdown/components/MerchantsFilterItem/utils.js +1 -1
  260. package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.js +1 -1
  261. package/build/components/FilterDropdown/components/RetailersItem/index.js +1 -1
  262. package/build/components/FilterDropdown/components/index.js +1 -1
  263. package/build/components/FilterDropdown/index.js +1 -1
  264. package/build/components/FilterDropdown/style.js +1 -1
  265. package/build/components/FilteredIds/FilteredIds.js +1 -1
  266. package/build/components/FilteredIds/index.js +1 -1
  267. package/build/components/Filters/index.js +1 -1
  268. package/build/components/Filters/style.js +1 -1
  269. package/build/components/FlagDetails/FlagDetails.js +1 -1
  270. package/build/components/FlagDetails/index.js +1 -1
  271. package/build/components/FlippingCard/FlippingCard.js +1 -1
  272. package/build/components/FlippingCard/index.js +1 -1
  273. package/build/components/HeatMap/HeatMap.js +1 -1
  274. package/build/components/HeatMap/index.js +1 -1
  275. package/build/components/IOSSwitch/IOSSwitch.js +1 -1
  276. package/build/components/IOSSwitch/index.js +1 -1
  277. package/build/components/Icon/Icon.js +1 -1
  278. package/build/components/Icon/index.js +1 -1
  279. package/build/components/IconWithBadge/IconWithBadge.js +1 -1
  280. package/build/components/IconWithBadge/index.js +1 -1
  281. package/build/components/IconWithHoverOverlays/IconWithHoverOverlays.js +1 -1
  282. package/build/components/IconWithHoverOverlays/index.js +1 -1
  283. package/build/components/IconWithLabel/IconWithLabel.js +1 -1
  284. package/build/components/IconWithLabel/index.js +1 -1
  285. package/build/components/IconsDropdown/IconsDropdown.js +1 -1
  286. package/build/components/IconsDropdown/index.js +1 -1
  287. package/build/components/Input/Input.js +1 -1
  288. package/build/components/Input/index.js +1 -1
  289. package/build/components/InputBase/AmountInputBase/AmountInputBase.js +1 -1
  290. package/build/components/InputBase/AmountInputBase/CurrencyList/CurrencyList.js +1 -1
  291. package/build/components/InputBase/AmountInputBase/CurrencyList/index.js +1 -1
  292. package/build/components/InputBase/AmountInputBase/InputNumber/InputNumber.js +1 -1
  293. package/build/components/InputBase/AmountInputBase/InputNumber/index.js +1 -1
  294. package/build/components/InputBase/AmountInputBase/index.js +1 -1
  295. package/build/components/InputBase/AmountInputBase/style.js +1 -1
  296. package/build/components/InputBase/InputBase/InputBase.js +1 -1
  297. package/build/components/InputBase/InputBase/index.js +1 -1
  298. package/build/components/InputBase/InputBase/style.js +1 -1
  299. package/build/components/InputBase/PhoneInputBase/CountriesList/CountriesList.js +1 -1
  300. package/build/components/InputBase/PhoneInputBase/CountriesList/index.js +1 -1
  301. package/build/components/InputBase/PhoneInputBase/CountriesList/style.js +1 -1
  302. package/build/components/InputBase/PhoneInputBase/PhoneInputBase.js +1 -1
  303. package/build/components/InputBase/PhoneInputBase/index.js +1 -1
  304. package/build/components/InputBase/PhoneInputBase/style.js +1 -1
  305. package/build/components/InputBase/SelectBase/SelectBase.js +1 -1
  306. package/build/components/InputBase/SelectBase/SelectBaseMultiple.js +1 -1
  307. package/build/components/InputBase/SelectBase/index.js +1 -1
  308. package/build/components/InputBase/SelectBase/style.js +1 -1
  309. package/build/components/InputBase/index.js +1 -1
  310. package/build/components/InputNumber/InputNumber.js +1 -1
  311. package/build/components/InputNumber/index.js +1 -1
  312. package/build/components/Inputs/CountriesDropDown/CountriesDropdown.js +1 -1
  313. package/build/components/Inputs/CountriesDropDown/index.js +1 -1
  314. package/build/components/Inputs/CountriesDropDown/style.js +1 -1
  315. package/build/components/Inputs/FileInput/FileInput.js +1 -1
  316. package/build/components/Inputs/FileInput/index.js +1 -1
  317. package/build/components/Inputs/FileInput/style.js +1 -1
  318. package/build/components/Inputs/Input/Input.js +1 -1
  319. package/build/components/Inputs/Input/index.js +1 -1
  320. package/build/components/Inputs/Input/style.js +1 -1
  321. package/build/components/Inputs/SearchInput/SearchInput.js +1 -1
  322. package/build/components/Inputs/SearchInput/index.js +1 -1
  323. package/build/components/Inputs/Select/Select.js +1 -1
  324. package/build/components/Inputs/Select/index.js +1 -1
  325. package/build/components/Inputs/index.js +1 -1
  326. package/build/components/JSONViewer/JSONViewer.js +1 -1
  327. package/build/components/JSONViewer/JSONViewerList.js +1 -1
  328. package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.js +1 -1
  329. package/build/components/JSONViewer/components/JSONTitleBar/index.js +1 -1
  330. package/build/components/JSONViewer/components/index.js +1 -1
  331. package/build/components/JSONViewer/context/Provider.js +1 -1
  332. package/build/components/JSONViewer/context/index.js +1 -1
  333. package/build/components/JSONViewer/hooks/index.js +1 -1
  334. package/build/components/JSONViewer/hooks/useJsonViewerContext.js +1 -1
  335. package/build/components/JSONViewer/index.js +1 -1
  336. package/build/components/LabeledIconDropdown/LabeledIconDropdown.js +1 -1
  337. package/build/components/LabeledIconDropdown/index.js +1 -1
  338. package/build/components/LanguageDropdown/LanguageDropdown.js +1 -1
  339. package/build/components/LanguageDropdown/index.js +1 -1
  340. package/build/components/LazyImage/LazyImage.js +1 -1
  341. package/build/components/LazyImage/index.js +1 -1
  342. package/build/components/LeftPeekRightExpandingChip/LeftPeekRightExpandingChip.js +1 -1
  343. package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
  344. package/build/components/ListColumnFilter/ListColumnFilter.js +1 -1
  345. package/build/components/ListColumnFilter/index.js +1 -1
  346. package/build/components/ListColumnFilter/style.js +1 -1
  347. package/build/components/ListLayout/ListLayout.js +1 -1
  348. package/build/components/ListLayout/index.js +1 -1
  349. package/build/components/Loader/Loader.js +1 -1
  350. package/build/components/Loader/index.js +1 -1
  351. package/build/components/MFWidgetLoader/DefaultMFWidgetLoader.js +1 -1
  352. package/build/components/MFWidgetLoader/MFWidgetLoader.js +1 -1
  353. package/build/components/MFWidgetLoader/ReportsMFWidgetLoader.js +1 -1
  354. package/build/components/MFWidgetLoader/index.js +1 -1
  355. package/build/components/MainContainer/MainContainer.js +1 -1
  356. package/build/components/MainContainer/index.js +1 -1
  357. package/build/components/MaskedText/MaskedText.js +1 -1
  358. package/build/components/MaskedText/index.js +1 -1
  359. package/build/components/Menu/Menu.js +1 -1
  360. package/build/components/Menu/index.js +1 -1
  361. package/build/components/MenuItem/MenuItem.js +1 -1
  362. package/build/components/MenuItem/index.js +1 -1
  363. package/build/components/MenuItem/style.js +1 -1
  364. package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.js +1 -1
  365. package/build/components/MerchantCurrencyDropdown/SelectedCurrency.js +1 -1
  366. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  367. package/build/components/MerchantLogo/MerchantLogo.js +1 -1
  368. package/build/components/MerchantLogo/index.js +1 -1
  369. package/build/components/MerchantLogo/style.js +1 -1
  370. package/build/components/MerchantsDropdown/BrandItem.js +1 -1
  371. package/build/components/MerchantsDropdown/EntityItem.js +1 -1
  372. package/build/components/MerchantsDropdown/EntityList.js +1 -1
  373. package/build/components/MerchantsDropdown/MerchantItem.js +1 -1
  374. package/build/components/MerchantsDropdown/MerchantsDropdown.js +1 -1
  375. package/build/components/MerchantsDropdown/MerchantsList.js +1 -1
  376. package/build/components/MerchantsDropdown/index.js +1 -1
  377. package/build/components/MerchantsDropdown/style.js +1 -1
  378. package/build/components/MultiDatakeyDonut/MultiDatakeyDonut.js +1 -1
  379. package/build/components/MultiDatakeyDonut/index.js +1 -1
  380. package/build/components/MultiSelectDropdownButton/MultiSelectDropdownButton.js +1 -1
  381. package/build/components/MultiSelectDropdownButton/components/StatusButton.js +1 -1
  382. package/build/components/MultiSelectDropdownButton/index.js +1 -1
  383. package/build/components/MultiSelectStatusButton/MultiSelectStatusButton.js +1 -1
  384. package/build/components/MultiSelectStatusButton/index.js +1 -1
  385. package/build/components/MultiSelectStatusButton/style.js +1 -1
  386. package/build/components/MultiSelectWithSearch/ChildMenuItem.js +1 -1
  387. package/build/components/MultiSelectWithSearch/MultiSelectWithSearch.js +1 -1
  388. package/build/components/MultiSelectWithSearch/ParentMenuItem.js +1 -1
  389. package/build/components/MultiSelectWithSearch/index.js +1 -1
  390. package/build/components/MultiSelectWithSearch/style.js +1 -1
  391. package/build/components/NestedDropdown/Dropdown.js +1 -1
  392. package/build/components/NestedDropdown/NestedDropdown.js +1 -1
  393. package/build/components/NestedDropdown/NestedMenuItem.js +1 -1
  394. package/build/components/NestedDropdown/index.js +1 -1
  395. package/build/components/NestedDropdown/styles.js +1 -1
  396. package/build/components/NoInternet/NoInternet.js +1 -1
  397. package/build/components/NoInternet/index.js +1 -1
  398. package/build/components/OTPInput/OTPInput.js +1 -1
  399. package/build/components/OTPInput/index.js +1 -1
  400. package/build/components/OpenFileInNewTab/OpenFileInNewTab.js +1 -1
  401. package/build/components/OpenFileInNewTab/index.js +1 -1
  402. package/build/components/PartnersFilter/PartnersFilter.js +1 -1
  403. package/build/components/PartnersFilter/index.js +1 -1
  404. package/build/components/PaymentSourceFilter/AuthenticationMode.js +1 -1
  405. package/build/components/PaymentSourceFilter/AuthenticationType.js +1 -1
  406. package/build/components/PaymentSourceFilter/PaymentIcon.js +1 -1
  407. package/build/components/PaymentSourceFilter/PaymentInitiated.js +1 -1
  408. package/build/components/PaymentSourceFilter/PaymentLocations.js +1 -1
  409. package/build/components/PaymentSourceFilter/PaymentMethod.js +1 -1
  410. package/build/components/PaymentSourceFilter/PaymentMethods.js +1 -1
  411. package/build/components/PaymentSourceFilter/PaymentSchemes.js +1 -1
  412. package/build/components/PaymentSourceFilter/PaymentSourceFilter.js +1 -1
  413. package/build/components/PaymentSourceFilter/index.js +1 -1
  414. package/build/components/PaymentSourceFilter/style.js +1 -1
  415. package/build/components/PhoneFilter/PhoneFilter.js +1 -1
  416. package/build/components/PhoneFilter/index.js +1 -1
  417. package/build/components/ProgressBar/ProgressBar.js +1 -1
  418. package/build/components/ProgressBar/index.js +1 -1
  419. package/build/components/ProgressRing/LoadingSkeleton.js +1 -1
  420. package/build/components/ProgressRing/ProgressRing.js +1 -1
  421. package/build/components/ProgressRing/index.js +1 -1
  422. package/build/components/RFH/Forms/DefaultForm.js +1 -1
  423. package/build/components/RFH/Forms/index.js +1 -1
  424. package/build/components/RFH/Inputs/AmountInput/AmountInput.js +1 -1
  425. package/build/components/RFH/Inputs/AmountInput/index.js +1 -1
  426. package/build/components/RFH/Inputs/FormInput/FormInput.js +1 -1
  427. package/build/components/RFH/Inputs/FormInput/index.js +1 -1
  428. package/build/components/RFH/Inputs/FormSelect/FormSelect.js +1 -1
  429. package/build/components/RFH/Inputs/FormSelect/FormSelectMenuSearchInput.js +1 -1
  430. package/build/components/RFH/Inputs/FormSelect/FormSelectSearchableField.js +1 -1
  431. package/build/components/RFH/Inputs/FormSelect/FormSelectSelectMenu.js +1 -1
  432. package/build/components/RFH/Inputs/FormSelect/index.js +1 -1
  433. package/build/components/RFH/Inputs/FormSelect/style.js +1 -1
  434. package/build/components/RFH/Inputs/FormSelect/utils.js +1 -1
  435. package/build/components/RFH/Inputs/MultiSelect/MultiSelect.js +1 -1
  436. package/build/components/RFH/Inputs/MultiSelect/index.js +1 -1
  437. package/build/components/RFH/Inputs/MultiSelect/style.js +1 -1
  438. package/build/components/RFH/Inputs/PhoneInput/PhoneInput.js +1 -1
  439. package/build/components/RFH/Inputs/PhoneInput/index.js +1 -1
  440. package/build/components/RFH/Inputs/SelectWithAccordion/SelectWithAccordion.js +1 -1
  441. package/build/components/RFH/Inputs/SelectWithAccordion/index.js +1 -1
  442. package/build/components/RFH/Inputs/Switch/Switch.js +1 -1
  443. package/build/components/RFH/Inputs/Switch/index.js +1 -1
  444. package/build/components/RFH/Inputs/index.js +1 -1
  445. package/build/components/RFH/index.js +1 -1
  446. package/build/components/RadioButton/RadioButton.js +1 -1
  447. package/build/components/RadioButton/index.js +1 -1
  448. package/build/components/RadioGroup/RadioGroup.js +1 -1
  449. package/build/components/RadioGroup/index.js +1 -1
  450. package/build/components/RangeCalender/RangeCalender.js +1 -1
  451. package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.js +1 -1
  452. package/build/components/RangeCalender/components/CustomTimepicker/index.js +1 -1
  453. package/build/components/RangeCalender/components/GroupBy/GroupBy.js +1 -1
  454. package/build/components/RangeCalender/components/GroupBy/index.js +1 -1
  455. package/build/components/RangeCalender/components/Hijri/Hijri.js +1 -1
  456. package/build/components/RangeCalender/components/Hijri/index.js +1 -1
  457. package/build/components/RangeCalender/components/QuickFilters/QuickFilters.js +1 -1
  458. package/build/components/RangeCalender/components/QuickFilters/index.js +1 -1
  459. package/build/components/RangeCalender/components/RangeDatepicker/RangeDatepicker.js +1 -1
  460. package/build/components/RangeCalender/components/RangeDatepicker/index.js +1 -1
  461. package/build/components/RangeCalender/components/Timezone/Timezone.js +1 -1
  462. package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.js +1 -1
  463. package/build/components/RangeCalender/components/Timezone/components/UserTimezone.js +1 -1
  464. package/build/components/RangeCalender/components/Timezone/index.js +1 -1
  465. package/build/components/RangeCalender/index.js +1 -1
  466. package/build/components/RangeCalender/utils.js +1 -1
  467. package/build/components/ReceiptsViewer/ReceiptViewer.js +1 -1
  468. package/build/components/ReceiptsViewer/ReceiptsViewer.js +1 -1
  469. package/build/components/ReceiptsViewer/index.js +1 -1
  470. package/build/components/ReferenceTypeFilter/ReferenceTypeFilter.js +1 -1
  471. package/build/components/ReferenceTypeFilter/index.js +1 -1
  472. package/build/components/ReferenceTypeFilter/style.js +1 -1
  473. package/build/components/ResizableHeightInput/ResizableHeightInput.js +1 -1
  474. package/build/components/ResizableHeightInput/index.js +1 -1
  475. package/build/components/RightLeftExpandingCenterChip/RightLeftExpandingCenterChip.js +1 -1
  476. package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
  477. package/build/components/SalesChannelFilter/SalesChannelFilter.js +1 -1
  478. package/build/components/SalesChannelFilter/index.js +1 -1
  479. package/build/components/SalesChannelFilter/style.js +1 -1
  480. package/build/components/Sandbox/Sandbox.js +1 -1
  481. package/build/components/Sandbox/index.js +1 -1
  482. package/build/components/ScrollLoader/ScrollLoader.js +1 -1
  483. package/build/components/ScrollLoader/index.js +1 -1
  484. package/build/components/SearchButton/SearchButton.js +1 -1
  485. package/build/components/SearchButton/index.js +1 -1
  486. package/build/components/SearchButton/styles.js +1 -1
  487. package/build/components/SearchListInput/SearchListInput.js +1 -1
  488. package/build/components/SearchListInput/index.js +1 -1
  489. package/build/components/SearchListInput/style.js +1 -1
  490. package/build/components/SelectDropdown/SelectDropdown.js +1 -1
  491. package/build/components/SelectDropdown/index.js +1 -1
  492. package/build/components/SelectWithSearch/SelectWithSearch.js +1 -1
  493. package/build/components/SelectWithSearch/index.js +1 -1
  494. package/build/components/SelectWithSearch/style.js +1 -1
  495. package/build/components/SimpleDialog/SimpleDialog.js +1 -1
  496. package/build/components/SimpleDialog/index.js +1 -1
  497. package/build/components/Skeleton/Skeleton.js +1 -1
  498. package/build/components/Skeleton/index.js +1 -1
  499. package/build/components/SplashScreen/SplashScreen.js +1 -1
  500. package/build/components/SplashScreen/index.js +1 -1
  501. package/build/components/StatusBar/StatusBar.js +1 -1
  502. package/build/components/StatusBar/index.js +1 -1
  503. package/build/components/StatusButton/StatusButton.js +1 -1
  504. package/build/components/StatusButton/index.js +1 -1
  505. package/build/components/StatusButton/style.js +1 -1
  506. package/build/components/StatusChip/StatusChip.js +1 -1
  507. package/build/components/StatusChip/index.js +1 -1
  508. package/build/components/StatusChipWithCopy/StatusChipWithCopy.js +1 -1
  509. package/build/components/StatusChipWithCopy/index.js +1 -1
  510. package/build/components/StatusFilter/StatusFilter.js +1 -1
  511. package/build/components/StatusFilter/index.js +1 -1
  512. package/build/components/StatusGroupChips/StatusGroupChips.js +1 -1
  513. package/build/components/StatusGroupChips/index.js +1 -1
  514. package/build/components/StatusGroupChips/style.js +1 -1
  515. package/build/components/StatusIcons/AgreementIcon/AgreementIcon.js +1 -1
  516. package/build/components/StatusIcons/AgreementIcon/index.js +1 -1
  517. package/build/components/StatusIcons/AuthIcons/AuthIcons.js +1 -1
  518. package/build/components/StatusIcons/AuthIcons/index.js +1 -1
  519. package/build/components/StatusIcons/AuthorizationAutoIcons/CaptureAutoIcon.js +1 -1
  520. package/build/components/StatusIcons/AuthorizationAutoIcons/VoidAutoIcon.js +1 -1
  521. package/build/components/StatusIcons/AuthorizationAutoIcons/index.js +1 -1
  522. package/build/components/StatusIcons/AuthorizationAutoIcons/style.js +1 -1
  523. package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.js +1 -1
  524. package/build/components/StatusIcons/AuthorizedIcon/index.js +1 -1
  525. package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.js +1 -1
  526. package/build/components/StatusIcons/ChargeStatusIcon/index.js +1 -1
  527. package/build/components/StatusIcons/ChargeStatusIcon/style.js +1 -1
  528. package/build/components/StatusIcons/CustomerInitiated/CustomerInitiatedIcon.js +1 -1
  529. package/build/components/StatusIcons/CustomerInitiated/index.js +1 -1
  530. package/build/components/StatusIcons/DestinationIcon/DestinationIcon.js +1 -1
  531. package/build/components/StatusIcons/DestinationIcon/index.js +1 -1
  532. package/build/components/StatusIcons/DeviceIcon/DeviceIcon.js +1 -1
  533. package/build/components/StatusIcons/DeviceIcon/index.js +1 -1
  534. package/build/components/StatusIcons/DisputeIcon/DisputeIcon.js +1 -1
  535. package/build/components/StatusIcons/DisputeIcon/index.js +1 -1
  536. package/build/components/StatusIcons/GeographyIcon/GeographyIcon.js +1 -1
  537. package/build/components/StatusIcons/GeographyIcon/index.js +1 -1
  538. package/build/components/StatusIcons/GeographyIcon/style.js +1 -1
  539. package/build/components/StatusIcons/IssuerIcon/IssuerIcon.js +1 -1
  540. package/build/components/StatusIcons/IssuerIcon/index.js +1 -1
  541. package/build/components/StatusIcons/IssuerIcon/style.js +1 -1
  542. package/build/components/StatusIcons/PayoutIcon/PayoutIcon.js +1 -1
  543. package/build/components/StatusIcons/PayoutIcon/index.js +1 -1
  544. package/build/components/StatusIcons/RefundIcon/RefundIcon.js +1 -1
  545. package/build/components/StatusIcons/RefundIcon/index.js +1 -1
  546. package/build/components/StatusIcons/SourceIcons/SourceIcons.js +1 -1
  547. package/build/components/StatusIcons/SourceIcons/index.js +1 -1
  548. package/build/components/StatusIcons/index.js +1 -1
  549. package/build/components/StatusLabel/StatusLabel.js +1 -1
  550. package/build/components/StatusLabel/index.js +1 -1
  551. package/build/components/TableCells/CustomCells/ActionCell/ActionCell.js +1 -1
  552. package/build/components/TableCells/CustomCells/ActionCell/components/ActionIconColumn.js +1 -1
  553. package/build/components/TableCells/CustomCells/ActionCell/components/ActionIconsVariants.js +1 -1
  554. package/build/components/TableCells/CustomCells/ActionCell/components/ActionsColumn.js +1 -1
  555. package/build/components/TableCells/CustomCells/ActionCell/components/index.js +1 -1
  556. package/build/components/TableCells/CustomCells/ActionCell/constant.js +1 -1
  557. package/build/components/TableCells/CustomCells/ActionCell/index.js +1 -1
  558. package/build/components/TableCells/CustomCells/ActionCell/style.js +1 -1
  559. package/build/components/TableCells/CustomCells/AgreementCell/AgreementCell.js +1 -1
  560. package/build/components/TableCells/CustomCells/AgreementCell/index.js +1 -1
  561. package/build/components/TableCells/CustomCells/AmountCell/AmountCell.js +1 -1
  562. package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.js +1 -1
  563. package/build/components/TableCells/CustomCells/AmountCell/AmountCellText.js +1 -1
  564. package/build/components/TableCells/CustomCells/AmountCell/components/AmountConversionTooltipLabel.js +1 -1
  565. package/build/components/TableCells/CustomCells/AmountCell/components/ConversionTypeLabel.js +1 -1
  566. package/build/components/TableCells/CustomCells/AmountCell/components/CurrencyInfo.js +1 -1
  567. package/build/components/TableCells/CustomCells/AmountCell/components/index.js +1 -1
  568. package/build/components/TableCells/CustomCells/AmountCell/index.js +1 -1
  569. package/build/components/TableCells/CustomCells/AmountCell/style.js +1 -1
  570. package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +1 -1
  571. package/build/components/TableCells/CustomCells/ApplicationStatusCell/index.js +1 -1
  572. package/build/components/TableCells/CustomCells/AppsCell/AppsCell.js +1 -1
  573. package/build/components/TableCells/CustomCells/AppsCell/index.js +1 -1
  574. package/build/components/TableCells/CustomCells/AuthCell/AuthCell.js +1 -1
  575. package/build/components/TableCells/CustomCells/AuthCell/index.js +1 -1
  576. package/build/components/TableCells/CustomCells/AuthenticationCell/AuthenticationCell.js +1 -1
  577. package/build/components/TableCells/CustomCells/AuthenticationCell/index.js +1 -1
  578. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/AuthenticationStatusCell.js +1 -1
  579. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.js +1 -1
  580. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/AuthenticationTypeCell.js +1 -1
  581. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/index.js +1 -1
  582. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.js +1 -1
  583. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.js +1 -1
  584. package/build/components/TableCells/CustomCells/BalanceCell/index.js +1 -1
  585. package/build/components/TableCells/CustomCells/BankCell/BankCell.js +1 -1
  586. package/build/components/TableCells/CustomCells/BankCell/index.js +1 -1
  587. package/build/components/TableCells/CustomCells/BrandCell/BrandCell.js +1 -1
  588. package/build/components/TableCells/CustomCells/BrandCell/index.js +1 -1
  589. package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.js +1 -1
  590. package/build/components/TableCells/CustomCells/BrandsCell/index.js +1 -1
  591. package/build/components/TableCells/CustomCells/BusinessStatusCell/BusinessStatusCell.js +1 -1
  592. package/build/components/TableCells/CustomCells/BusinessStatusCell/index.js +1 -1
  593. package/build/components/TableCells/CustomCells/ChannelsCell/ChannelsCell.js +1 -1
  594. package/build/components/TableCells/CustomCells/ChannelsCell/index.js +1 -1
  595. package/build/components/TableCells/CustomCells/CheckoutStatusCell/CheckoutStatusCell.js +1 -1
  596. package/build/components/TableCells/CustomCells/CheckoutStatusCell/index.js +1 -1
  597. package/build/components/TableCells/CustomCells/CurrencyCell/CurrencyCell.js +1 -1
  598. package/build/components/TableCells/CustomCells/CurrencyCell/index.js +1 -1
  599. package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.js +1 -1
  600. package/build/components/TableCells/CustomCells/CustomerCell/CustomerCellSheet.js +1 -1
  601. package/build/components/TableCells/CustomCells/CustomerCell/index.js +1 -1
  602. package/build/components/TableCells/CustomCells/CustomerCell/style.js +1 -1
  603. package/build/components/TableCells/CustomCells/DateCell/DateCell.js +1 -1
  604. package/build/components/TableCells/CustomCells/DateCell/DateViewer.js +1 -1
  605. package/build/components/TableCells/CustomCells/DateCell/index.js +1 -1
  606. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.js +1 -1
  607. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellText.js +1 -1
  608. package/build/components/TableCells/CustomCells/DestinationCell/index.js +1 -1
  609. package/build/components/TableCells/CustomCells/DestinationCell/utils.js +1 -1
  610. package/build/components/TableCells/CustomCells/DestinationStatusCell/DestinationStatusCell.js +1 -1
  611. package/build/components/TableCells/CustomCells/DestinationStatusCell/index.js +1 -1
  612. package/build/components/TableCells/CustomCells/DeviceCell/DeviceCell.js +1 -1
  613. package/build/components/TableCells/CustomCells/DeviceCell/index.js +1 -1
  614. package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.js +1 -1
  615. package/build/components/TableCells/CustomCells/DueDateCell/index.js +1 -1
  616. package/build/components/TableCells/CustomCells/DueDateCell/utils.js +1 -1
  617. package/build/components/TableCells/CustomCells/EntityCell/EntityCell.js +1 -1
  618. package/build/components/TableCells/CustomCells/EntityCell/index.js +1 -1
  619. package/build/components/TableCells/CustomCells/IDButton/IDButton.js +1 -1
  620. package/build/components/TableCells/CustomCells/IDButton/index.js +1 -1
  621. package/build/components/TableCells/CustomCells/IndividualsCell/IndividualsCell.js +1 -1
  622. package/build/components/TableCells/CustomCells/IndividualsCell/index.js +1 -1
  623. package/build/components/TableCells/CustomCells/IntentsStatusCell/IntentsStatusCell.js +1 -1
  624. package/build/components/TableCells/CustomCells/IntentsStatusCell/index.js +1 -1
  625. package/build/components/TableCells/CustomCells/InvoiceStatusCell/ChargeStatusIcon.js +1 -1
  626. package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.js +1 -1
  627. package/build/components/TableCells/CustomCells/InvoiceStatusCell/index.js +1 -1
  628. package/build/components/TableCells/CustomCells/LeadStatusCell/LeadStatusCell.js +1 -1
  629. package/build/components/TableCells/CustomCells/LeadStatusCell/index.js +1 -1
  630. package/build/components/TableCells/CustomCells/LinkCell/LinkCell.js +1 -1
  631. package/build/components/TableCells/CustomCells/LinkCell/index.js +1 -1
  632. package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.js +1 -1
  633. package/build/components/TableCells/CustomCells/MarketPlaceCell/index.js +1 -1
  634. package/build/components/TableCells/CustomCells/OrderCell/OrderCell.js +1 -1
  635. package/build/components/TableCells/CustomCells/OrderCell/OrderCellSheet.js +1 -1
  636. package/build/components/TableCells/CustomCells/OrderCell/index.js +1 -1
  637. package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.js +1 -1
  638. package/build/components/TableCells/CustomCells/OrdersCell/index.js +1 -1
  639. package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.js +1 -1
  640. package/build/components/TableCells/CustomCells/PaymentAgreementCell/index.js +1 -1
  641. package/build/components/TableCells/CustomCells/PayoutDateCell/PayoutDateCell.js +1 -1
  642. package/build/components/TableCells/CustomCells/PayoutDateCell/index.js +1 -1
  643. package/build/components/TableCells/CustomCells/PayoutReportCell/PayoutReportCell.js +1 -1
  644. package/build/components/TableCells/CustomCells/PayoutReportCell/index.js +1 -1
  645. package/build/components/TableCells/CustomCells/PayoutStatusCell/PayoutStatusCell.js +1 -1
  646. package/build/components/TableCells/CustomCells/PayoutStatusCell/index.js +1 -1
  647. package/build/components/TableCells/CustomCells/ProductsCell/ProductsCell.js +1 -1
  648. package/build/components/TableCells/CustomCells/ProductsCell/index.js +1 -1
  649. package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.js +1 -1
  650. package/build/components/TableCells/CustomCells/ProviderCell/index.js +1 -1
  651. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.js +1 -1
  652. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellSheet.js +1 -1
  653. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellText.js +1 -1
  654. package/build/components/TableCells/CustomCells/ReceiptCell/index.js +1 -1
  655. package/build/components/TableCells/CustomCells/ReferenceCell/ReferenceCell.js +1 -1
  656. package/build/components/TableCells/CustomCells/ReferenceCell/index.js +1 -1
  657. package/build/components/TableCells/CustomCells/RefundChargeCell/RefundChargeCell.js +1 -1
  658. package/build/components/TableCells/CustomCells/RefundChargeCell/index.js +1 -1
  659. package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.js +1 -1
  660. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStateIcon.js +1 -1
  661. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.js +1 -1
  662. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatusIcon.js +1 -1
  663. package/build/components/TableCells/CustomCells/RefundStatusCell/components/index.js +1 -1
  664. package/build/components/TableCells/CustomCells/RefundStatusCell/index.js +1 -1
  665. package/build/components/TableCells/CustomCells/RefundStatusCell/style.js +1 -1
  666. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +1 -1
  667. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.js +1 -1
  668. package/build/components/TableCells/CustomCells/SalesChannelCell/index.js +1 -1
  669. package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +1 -1
  670. package/build/components/TableCells/CustomCells/SegmentsCell/index.js +1 -1
  671. package/build/components/TableCells/CustomCells/SegmentsCell/utils.js +1 -1
  672. package/build/components/TableCells/CustomCells/SourceCell/SourceCell.js +1 -1
  673. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/PaymentCardNumberSource.js +1 -1
  674. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/index.js +1 -1
  675. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/PaymentMethodSource.js +1 -1
  676. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/index.js +1 -1
  677. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/PaymentSchemeSource.js +1 -1
  678. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/index.js +1 -1
  679. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/PaymentTypeSource.js +1 -1
  680. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/index.js +1 -1
  681. package/build/components/TableCells/CustomCells/SourceCell/components/index.js +1 -1
  682. package/build/components/TableCells/CustomCells/SourceCell/index.js +1 -1
  683. package/build/components/TableCells/CustomCells/StatusCell/StatusCell.js +1 -1
  684. package/build/components/TableCells/CustomCells/StatusCell/StatusCellSheet.js +1 -1
  685. package/build/components/TableCells/CustomCells/StatusCell/StatusCellText.js +1 -1
  686. package/build/components/TableCells/CustomCells/StatusCell/index.js +1 -1
  687. package/build/components/TableCells/CustomCells/TextTableCell/TextTableCell.js +1 -1
  688. package/build/components/TableCells/CustomCells/TextTableCell/index.js +1 -1
  689. package/build/components/TableCells/CustomCells/TextWithBadgeCell/TextWithBadgeCell.js +1 -1
  690. package/build/components/TableCells/CustomCells/TextWithBadgeCell/index.js +1 -1
  691. package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.js +1 -1
  692. package/build/components/TableCells/CustomCells/TextWithChipCell/index.js +1 -1
  693. package/build/components/TableCells/CustomCells/TokenStatusCell/TokenStatusCell.js +1 -1
  694. package/build/components/TableCells/CustomCells/TokenStatusCell/index.js +1 -1
  695. package/build/components/TableCells/CustomCells/WalletCell/WalletCell.js +1 -1
  696. package/build/components/TableCells/CustomCells/WalletCell/index.js +1 -1
  697. package/build/components/TableCells/CustomCells/index.js +1 -1
  698. package/build/components/TableCells/CustomCells/style.js +1 -1
  699. package/build/components/TableCells/TableCell.js +1 -1
  700. package/build/components/TableCells/index.js +1 -1
  701. package/build/components/TableHeader/FiltersRow.js +1 -1
  702. package/build/components/TableHeader/TableHeader.js +1 -1
  703. package/build/components/TableHeader/TableModeButton.js +1 -1
  704. package/build/components/TableHeader/TableView/ColumnItem.js +1 -1
  705. package/build/components/TableHeader/TableView/CreateViewDialog.js +1 -1
  706. package/build/components/TableHeader/TableView/CustomViews.js +1 -1
  707. package/build/components/TableHeader/TableView/TableView.js +1 -1
  708. package/build/components/TableHeader/TableView/ViewsDropdown.js +1 -1
  709. package/build/components/TableHeader/TableView/ViewsMenu.js +1 -1
  710. package/build/components/TableHeader/TableView/components/ColumnList.js +1 -1
  711. package/build/components/TableHeader/TableView/components/ViewsSubmenu.js +1 -1
  712. package/build/components/TableHeader/TableView/components/index.js +1 -1
  713. package/build/components/TableHeader/TableView/hooks/index.js +1 -1
  714. package/build/components/TableHeader/TableView/hooks/useCreateViewDialog.js +1 -1
  715. package/build/components/TableHeader/TableView/hooks/useCustomTableViews.js +1 -1
  716. package/build/components/TableHeader/TableView/hooks/useViewsManager.js +1 -1
  717. package/build/components/TableHeader/TableView/hooks/useViewsMenu.js +1 -1
  718. package/build/components/TableHeader/TableView/index.js +1 -1
  719. package/build/components/TableHeader/TableView/utils/index.js +1 -1
  720. package/build/components/TableHeader/TableView/utils/templateToColumnsView.js +1 -1
  721. package/build/components/TableHeader/index.js +1 -1
  722. package/build/components/TableReports/DownloadIconButton.js +1 -1
  723. package/build/components/TableReports/Downloads.js +1 -1
  724. package/build/components/TableReports/RecordLoading.js +1 -1
  725. package/build/components/TableReports/TableReports.js +1 -1
  726. package/build/components/TableReports/components/DownloadButton/DownloadButton.js +1 -1
  727. package/build/components/TableReports/components/DownloadButton/index.js +1 -1
  728. package/build/components/TableReports/hooks/index.js +1 -1
  729. package/build/components/TableReports/hooks/useDownloadReport.js +1 -1
  730. package/build/components/TableReports/index.js +1 -1
  731. package/build/components/TableView/CustomViews.js +1 -1
  732. package/build/components/TableView/TableView.js +1 -1
  733. package/build/components/TableView/index.js +1 -1
  734. package/build/components/Timepicker/Timepicker.js +1 -1
  735. package/build/components/Timepicker/index.js +1 -1
  736. package/build/components/Timepicker/style.js +1 -1
  737. package/build/components/ToggleButtons/ToggleButtons.js +1 -1
  738. package/build/components/ToggleButtons/index.js +1 -1
  739. package/build/components/ToggleView/ToggleView.js +1 -1
  740. package/build/components/ToggleView/index.js +1 -1
  741. package/build/components/Toolbar/Toolbar.js +1 -1
  742. package/build/components/Toolbar/index.js +1 -1
  743. package/build/components/TooltipChip/TooltipChip.js +1 -1
  744. package/build/components/TooltipChip/index.js +1 -1
  745. package/build/components/TooltipChip/style.js +1 -1
  746. package/build/components/TreeDropdown/TreeDropdown.js +1 -1
  747. package/build/components/TreeDropdown/TreeNodeItem/SelectionControl.js +1 -1
  748. package/build/components/TreeDropdown/TreeNodeItem/TreeNodeItem.js +1 -1
  749. package/build/components/TreeDropdown/TreeNodeItem/index.js +1 -1
  750. package/build/components/TreeDropdown/TreeNodeItem/style.js +1 -1
  751. package/build/components/TreeDropdown/TreeNodeList/List.js +1 -1
  752. package/build/components/TreeDropdown/TreeNodeList/TreeNodeList.js +1 -1
  753. package/build/components/TreeDropdown/TreeNodeList/index.js +1 -1
  754. package/build/components/TreeDropdown/TreeNodeList/style.js +1 -1
  755. package/build/components/TreeDropdown/index.js +1 -1
  756. package/build/components/TreeDropdown/style.js +1 -1
  757. package/build/components/VAT/TotalVAT/TotalVAT.js +1 -1
  758. package/build/components/VAT/TotalVAT/index.js +1 -1
  759. package/build/components/VAT/VATDropdown/VATDropdown.js +1 -1
  760. package/build/components/VAT/VATDropdown/index.js +1 -1
  761. package/build/components/VAT/VATRateDropdown/VATRateDropdown.js +1 -1
  762. package/build/components/VAT/VATRateDropdown/index.js +1 -1
  763. package/build/components/VAT/index.js +1 -1
  764. package/build/components/VerificationIcon/VerificationIcon.js +1 -1
  765. package/build/components/VerificationIcon/index.js +1 -1
  766. package/build/components/ViewColumnRadioFilter/ViewColumnRadioFilter.js +1 -1
  767. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  768. package/build/components/ViewColumnRadioFilter/style.js +1 -1
  769. package/build/components/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.js +1 -1
  770. package/build/components/VirtualTables/SheetViewVirtualTable/components/LoadingMainTable.js +1 -1
  771. package/build/components/VirtualTables/SheetViewVirtualTable/components/MainTable.js +1 -1
  772. package/build/components/VirtualTables/SheetViewVirtualTable/components/NoDataView.js +1 -1
  773. package/build/components/VirtualTables/SheetViewVirtualTable/components/PinnedColumn.js +1 -1
  774. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.js +1 -1
  775. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.js +1 -1
  776. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableLoading.js +1 -1
  777. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableNoData.js +1 -1
  778. package/build/components/VirtualTables/SheetViewVirtualTable/components/VirtualTable.js +1 -1
  779. package/build/components/VirtualTables/SheetViewVirtualTable/components/index.js +1 -1
  780. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/index.js +1 -1
  781. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResize.js +1 -1
  782. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResizeWithPinned.js +1 -1
  783. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/index.js +1 -1
  784. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/index.js +1 -1
  785. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.js +1 -1
  786. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/index.js +1 -1
  787. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableData.js +1 -1
  788. package/build/components/VirtualTables/SheetViewVirtualTable/index.js +1 -1
  789. package/build/components/VirtualTables/VirtualTable/VirtualTable.js +1 -1
  790. package/build/components/VirtualTables/VirtualTableWithCard/VirtualTableWithCard.js +1 -1
  791. package/build/components/VirtualTables/components/ColumnFilter/ColumnFilter.js +1 -1
  792. package/build/components/VirtualTables/components/ColumnFilter/Inputs/Inputs.js +1 -1
  793. package/build/components/VirtualTables/components/ColumnFilter/Inputs/index.js +1 -1
  794. package/build/components/VirtualTables/components/ColumnFilter/Inputs/style.js +1 -1
  795. package/build/components/VirtualTables/components/ColumnFilter/List/List.js +1 -1
  796. package/build/components/VirtualTables/components/ColumnFilter/List/index.js +1 -1
  797. package/build/components/VirtualTables/components/ColumnFilter/index.js +1 -1
  798. package/build/components/VirtualTables/components/ColumnSort/ColumnSort.js +1 -1
  799. package/build/components/VirtualTables/components/ColumnSort/index.js +1 -1
  800. package/build/components/VirtualTables/components/TableError.js +1 -1
  801. package/build/components/VirtualTables/components/TableFooter/TableFooter.js +1 -1
  802. package/build/components/VirtualTables/components/TableFooter/index.js +1 -1
  803. package/build/components/VirtualTables/components/TableHeader/TableHeader.js +1 -1
  804. package/build/components/VirtualTables/components/TableHeader/components/TableCell/TableCell.js +1 -1
  805. package/build/components/VirtualTables/components/TableHeader/components/TableCell/index.js +1 -1
  806. package/build/components/VirtualTables/components/TableHeader/components/index.js +1 -1
  807. package/build/components/VirtualTables/components/TableHeader/index.js +1 -1
  808. package/build/components/VirtualTables/components/TableLoading.js +1 -1
  809. package/build/components/VirtualTables/components/TableLoadingWithCard.js +1 -1
  810. package/build/components/VirtualTables/components/TableNoData.js +1 -1
  811. package/build/components/VirtualTables/components/TableNoDataWithCard.js +1 -1
  812. package/build/components/VirtualTables/components/TableRow.js +1 -1
  813. package/build/components/VirtualTables/components/TableRowWithCard.js +1 -1
  814. package/build/components/VirtualTables/components/index.js +1 -1
  815. package/build/components/VirtualTables/components/style.js +1 -1
  816. package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.js +1 -1
  817. package/build/components/VirtualTables/components/virtualScroll/ListItemWrapperWithCard.js +1 -1
  818. package/build/components/VirtualTables/components/virtualScroll/VirtualScrollList.js +1 -1
  819. package/build/components/VirtualTables/components/virtualScroll/index.js +1 -1
  820. package/build/components/VirtualTables/index.js +1 -1
  821. package/build/components/Widget/List.js +1 -1
  822. package/build/components/Widget/Widget.js +1 -1
  823. package/build/components/Widget/WidgetHeader.js +1 -1
  824. package/build/components/Widget/index.js +1 -1
  825. package/build/components/WindowAppIcon/WindowAppIcon.js +1 -1
  826. package/build/components/WindowAppIcon/index.js +1 -1
  827. package/build/components/WindowBackdrop/WindowBackdrop.js +1 -1
  828. package/build/components/WindowBackdrop/index.js +1 -1
  829. package/build/components/WindowSideBar/WindowSideBar.js +1 -1
  830. package/build/components/WindowSideBar/index.js +1 -1
  831. package/build/components/WindowSideBar/style.js +1 -1
  832. package/build/components/index.js +1 -1
  833. package/build/hooks/index.js +1 -1
  834. package/build/hooks/useCheckUserLoggedIn.js +1 -1
  835. package/build/hooks/useColumnFiltersGate.js +1 -1
  836. package/build/hooks/useCountdown.js +1 -1
  837. package/build/hooks/useIsParameterSelected.js +1 -1
  838. package/build/hooks/useToast.js +1 -1
  839. package/build/index.js +1 -1
  840. package/build/utils/api.js +1 -1
  841. package/build/utils/columnResizeStorage.js +1 -1
  842. package/build/utils/columns.js +1 -1
  843. package/build/utils/extractIdsFromRowData.js +1 -1
  844. package/build/utils/index.js +1 -1
  845. package/build/utils/localStorage.d.ts +2 -2
  846. package/build/utils/localStorage.js +1 -1
  847. package/build/utils/segment.d.ts +1 -1
  848. package/build/utils/segment.js +1 -1
  849. package/package.json +1 -1
  850. package/build/chunk-7CFPITEM.js +0 -1
  851. package/build/chunk-7JY57GWS.js +0 -1
  852. package/build/chunk-CB6WPHQR.js +0 -1
  853. package/build/chunk-DTF3BI7G.js +0 -1
  854. package/build/chunk-DVRDP4JT.js +0 -1
  855. package/build/chunk-H76YN7GK.js +0 -1
  856. package/build/chunk-HQTUIAQG.js +0 -1
  857. package/build/chunk-J53IWMBB.js +0 -1
  858. package/build/chunk-K55TKJOZ.js +0 -1
  859. package/build/chunk-R4Y5CYQ2.js +0 -1
  860. package/build/chunk-RJLX7OU4.js +0 -1
  861. package/build/chunk-RV56CH5F.js +0 -1
  862. package/build/chunk-RXSZZAUN.js +0 -1
  863. package/build/chunk-VBJNWR73.js +0 -1
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-PUZY5KYQ.js';import {a as a$2}from'./chunk-4ZOHK34R.js';import {h,a,b}from'./chunk-3Y5GSYLE.js';import {j,k}from'./chunk-V5TKRMA3.js';import {memo}from'react';import {useTheme}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';function O({hasPinnedStart:i,hasPinnedEnd:r,unpinnedColumnsData:a$3,showHeader:h$1,columnsSorting:T,onColumnSort:c,headerProps:S,showBackDrop:u,pinnedStartColumns:f,pinnedEndColumns:x,onColumnPin:g,isPinnable:w,lastColumnId:y,selectedColumn:V,onColumnClick:P,tableTitle:W,areAllRowsLoaded:C,isFetchingNextPage:B,scrollToIndex:H,isLoading:_,isError:M,hasTimeoutError:z,tableMode:L,showNoDataView:l,tableBodyStyles:U,tableLoading:k$1,createVirtualTableContainer:I,onStartResize:N,isResizing:R,resizingColumn:v}){let o=useTheme();return jsx(j,{hasPinnedStart:i,hasPinnedEnd:r,children:jsx(h,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":W,"data-direction":o.direction,"data-are-all-rows-loaded":!!C,"data-is-fetching-next-page":!!B,"data-scroll-to-index":H,"data-is-loading":!!_,"data-is-error":!!M,"data-is-error-timeout":!!z,"data-table-mode":L,height:"100%",dir:o.direction,showNoDataView:l,scrollable:true,children:jsxs(a,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:l,sx:{...U,display:"flex",flexDirection:"column",height:"100%"},children:[h$1&&jsx(k,{children:jsx(a$1,{"data-testid":"SheetViewVirtualTable_UnpinnedTableHeader",columnsSorting:T,onColumnSort:c,columns:a$3,headerProps:S,showBackDrop:u,pinnedColumns:[...f,...x],onColumnPin:g,isPinnable:w,lastColumnId:y,selectedColumn:V,onColumnClick:P,tablePosition:"scrollable",hasPinnedStart:i,hasPinnedEnd:r,onStartResize:N,isResizing:R,resizingColumn:v})}),jsx(a,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(b,{"data-testid":"SheetViewVirtualTable_ScrollableStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:k$1?jsx(a$2,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:a$3,isLoading:true,isPinned:false}):I(a$3,"scrollable",false)})})]})})})}var X=memo(O);export{X as a};
1
+ import {a as a$1}from'./chunk-WSPN5HXO.js';import {a as a$2}from'./chunk-4ZOHK34R.js';import {h,a,b}from'./chunk-3KQ673K5.js';import {j,k}from'./chunk-V5TKRMA3.js';import {memo}from'react';import {useTheme}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';function O({hasPinnedStart:i,hasPinnedEnd:r,unpinnedColumnsData:a$3,showHeader:h$1,columnsSorting:T,onColumnSort:c,headerProps:S,showBackDrop:u,pinnedStartColumns:f,pinnedEndColumns:x,onColumnPin:g,isPinnable:w,lastColumnId:y,selectedColumn:V,onColumnClick:P,tableTitle:W,areAllRowsLoaded:C,isFetchingNextPage:B,scrollToIndex:H,isLoading:_,isError:M,hasTimeoutError:z,tableMode:L,showNoDataView:l,tableBodyStyles:U,tableLoading:k$1,createVirtualTableContainer:I,onStartResize:N,isResizing:R,resizingColumn:v}){let o=useTheme();return jsx(j,{hasPinnedStart:i,hasPinnedEnd:r,children:jsx(h,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":W,"data-direction":o.direction,"data-are-all-rows-loaded":!!C,"data-is-fetching-next-page":!!B,"data-scroll-to-index":H,"data-is-loading":!!_,"data-is-error":!!M,"data-is-error-timeout":!!z,"data-table-mode":L,height:"100%",dir:o.direction,showNoDataView:l,scrollable:true,children:jsxs(a,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:l,sx:{...U,display:"flex",flexDirection:"column",height:"100%"},children:[h$1&&jsx(k,{children:jsx(a$1,{"data-testid":"SheetViewVirtualTable_UnpinnedTableHeader",columnsSorting:T,onColumnSort:c,columns:a$3,headerProps:S,showBackDrop:u,pinnedColumns:[...f,...x],onColumnPin:g,isPinnable:w,lastColumnId:y,selectedColumn:V,onColumnClick:P,tablePosition:"scrollable",hasPinnedStart:i,hasPinnedEnd:r,onStartResize:N,isResizing:R,resizingColumn:v})}),jsx(a,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(b,{"data-testid":"SheetViewVirtualTable_ScrollableStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:k$1?jsx(a$2,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:a$3,isLoading:true,isPinned:false}):I(a$3,"scrollable",false)})})]})})})}var X=memo(O);export{X as a};
@@ -1 +1 @@
1
- import {a as a$8}from'./chunk-TF4UGIQM.js';import {a as a$1}from'./chunk-SLDYY4E2.js';import {a as a$5}from'./chunk-DHG3QK7Z.js';import {a}from'./chunk-FMQC7GDH.js';import {a as a$7}from'./chunk-RAMFJYEC.js';import {a as a$2}from'./chunk-5YIL7RLX.js';import {a as a$3}from'./chunk-JSS3TF4O.js';import {a as a$a}from'./chunk-F7WS2F4D.js';import {a as a$c}from'./chunk-HVLFECGJ.js';import {a as a$b}from'./chunk-6XQP7ZZ7.js';import {a as a$9}from'./chunk-T2THQG77.js';import {a as a$e}from'./chunk-CVS6SHFK.js';import {a as a$4}from'./chunk-IHVRVEO4.js';import {a as a$6}from'./chunk-THFYQO7S.js';import {d}from'./chunk-4XNFFIQO.js';import {k}from'./chunk-3Y5GSYLE.js';import {g}from'./chunk-V5TKRMA3.js';import {a as a$d}from'./chunk-27DNV6IH.js';import {c}from'./chunk-SFVYZWDL.js';import'./chunk-Y36KRKYI.js';import {memo,useMemo,useRef,useEffect,useCallback}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function sn({columns:R,rows:b,threshold:w=20,showHeader:I,headerProps:ge,rowProps:De,footerProps:S,rowHeight:Ve=28,isLoading:d$1,error:k$1,columnsSorting:Pe,onColumnSort:We,loadMoreItems:z,isFetchingNextPage:L,triggerDataRefetch:Re,scrollToIndex:u,areAllRowsLoaded:l=false,tableBodyStyles:we,tableTitle:Ie,onStartDrag:ke,onColumnPin:ze,clearBackdropVisibilityTimeout:H=100,isPinnable:y=false,tableMode:Le,overscanCount:v,windowId:He,serviceCode:ye,customNoDataComponent:ve,defaultSkeleton:M=true}){let x=useMemo(()=>c(R,d$1??false,M),[R,d$1,M]),{selectedCell:Me,selectedColumn:B,selectedRow:xe,showBackDrop:F,setShowBackdrop:N,handleCellClick:Be,handleColumnClick:Fe,handleChipClick:Ne,selectedChip:Oe}=a(),O=useRef(null),f=useRef(null),{isError:_,tableLoading:E,tableError:_e,tableEmpty:Xe,hasTimeoutError:X,showNoDataView:A,lastItemIndex:Y,areTotalRowsNotFillingHeight:q,itemsCount:G,isDelayedFetchingNextPage:Ae}=a$1({rows:b,isLoading:d$1,error:k$1,isFetchingNextPage:L,areAllRowsLoaded:l}),{pinnedStartColumns:i,pinnedEndColumns:m,handleColumnPin:Ye,pinnedStartColumnsData:qe,pinnedEndColumnsData:Ge,unpinnedColumnsData:J,orderedColumns:Q,lastColumnId:Je}=a$2(x,y,ze),{pinnedStartVirtualListRef:h,scrollableVirtualListRef:c$1,pinnedEndVirtualListRef:p,handleScroll:U}=a$3();useEffect(()=>{h.current?.resetAfterIndex(0),c$1.current?.resetAfterIndex(0),p.current?.resetAfterIndex(0);},[b.length,h,c$1,p]);let{columnWidths:o,isResizing:T,resizingColumn:Qe,resizeIndicatorX:Ue,cursorPosition:Z,startResize:Ze,handleColumnClick:$e}=a$4({columns:x,handleColumnClick:Fe,windowId:He,serviceCode:ye,tableContainerRef:f}),$=a$5({tableContainerRef:O,showHeader:I??false,isResizing:T}),{pinnedStartColumnsWidth:j,pinnedEndColumnsWidth:K,pinnedStartColumnsDataWithWidths:n,pinnedEndColumnsDataWithWidths:t}=a$6({pinnedStartColumnsData:qe,pinnedEndColumnsData:Ge,columnWidths:o}),ee=useMemo(()=>d(J,o),[J,o]),je=useMemo(()=>d(Q,o),[Q,o]),{getItemSize:ne,getItemDataForContainer:te}=a$7({rowHeight:Ve,areAllRowsLoaded:l,rows:b,isDelayedFetchingNextPage:Ae,rowProps:De,scrollToIndex:u,footerProps:S,isError:_,selectedCell:Me,selectedColumn:B,selectedRow:xe,selectedChip:Oe,handleCellClick:Be,handleChipClick:Ne}),Ke=g=>{ke?.(g);},r=useCallback((g,C,en=false,nn)=>jsx(a$8,{columnsData:g,itemCount:G,lastItemIndex:Y,areAllRowsLoaded:l,loadMoreItems:z,threshold:w,getItemSize:ne,getItemData:te,isPinned:en,fixedWidth:nn,scrollToIndex:u,areTotalRowsNotFillingHeight:q,clearBackdropVisibilityTimeout:H,onScroll:tn=>{U(tn,C==="pinnedStart"?"start":C==="pinnedEnd"?"end":"scrollable");},setBackdropVisibility:N,listRef:C==="pinnedStart"?h:C==="pinnedEnd"?p:c$1,overscanCount:v}),[G,Y,l,z,w,ne,te,u,q,H,U,N,h,p,c$1,v]),ie={showHeader:I,columnsSorting:Pe,onColumnSort:We,headerProps:ge,showBackDrop:F,onColumnPin:Ye,isPinnable:y,lastColumnId:Je,selectedColumn:B,onColumnClick:$e,tableTitle:Ie,areAllRowsLoaded:l,isFetchingNextPage:L,scrollToIndex:u,isLoading:d$1,isError:_,tableMode:Le,showNoDataView:A,tableBodyStyles:we,onStartResize:Ze,isResizing:T,resizingColumn:Qe},a$f={...ie,hasTimeoutError:X,tableLoading:E};return jsxs(Fragment,{children:[jsx(k,{ref:O,children:A?E?jsxs(g,{ref:f,children:[n.length>0&&jsx(a$9,{position:"start",columnsData:n,columnsWidth:j,pinnedColumnsList:i,hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,createVirtualTableContainer:r,...a$f}),jsx(a$a,{hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,unpinnedColumnsData:ee,pinnedStartColumns:i,pinnedEndColumns:m,...a$f}),t.length>0&&jsx(a$9,{position:"end",columnsData:t,columnsWidth:K,pinnedColumnsList:[...i,...m],hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,createVirtualTableContainer:r,...a$f})]}):jsx(a$b,{tableLoading:E,tableError:_e,tableEmpty:Xe,hasTimeoutError:X,orderedColumns:je,error:k$1,triggerDataRefetch:Re,footerProps:S,customNoDataComponent:ve,...ie}):jsxs(g,{ref:f,children:[n.length>0&&jsx(a$9,{position:"start",columnsData:n,columnsWidth:j,pinnedColumnsList:i,hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,createVirtualTableContainer:r,...a$f}),jsx(a$c,{hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,unpinnedColumnsData:ee,pinnedStartColumns:i,pinnedEndColumns:m,createVirtualTableContainer:r,...a$f}),t.length>0&&jsx(a$9,{position:"end",columnsData:t,columnsWidth:K,pinnedColumnsList:[...i,...m],hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,createVirtualTableContainer:r,...a$f})]})}),jsx(a$d,{"data-testid":"SheetViewVirtualTable_TableFooter",showSeparator:true,showBackDrop:F,onPointerDown:Ke,...S}),jsx(a$e,{isVisible:T,indicatorX:Ue,indicatorHeight:$.height,indicatorTop:$.top,iconX:Z.x,iconY:Z.y})]})}var Vn=memo(sn);export{Vn as a};
1
+ import {a as a$8}from'./chunk-Y6I5TYRS.js';import {a as a$a}from'./chunk-VVAEE2EI.js';import {a as a$c}from'./chunk-26DIGPHP.js';import {a as a$b}from'./chunk-JMW4JZ4T.js';import {a as a$9}from'./chunk-3VYWTGFD.js';import {a as a$e}from'./chunk-CVS6SHFK.js';import {a as a$4}from'./chunk-2UPIIWGM.js';import {a as a$6}from'./chunk-UPI2ZD5N.js';import {d}from'./chunk-EOUTH2QN.js';import {a as a$7}from'./chunk-RAMFJYEC.js';import {a as a$2}from'./chunk-5YIL7RLX.js';import {a as a$3}from'./chunk-JSS3TF4O.js';import {a as a$1}from'./chunk-SLDYY4E2.js';import {a as a$5}from'./chunk-DHG3QK7Z.js';import {a}from'./chunk-FMQC7GDH.js';import {k}from'./chunk-3KQ673K5.js';import {g}from'./chunk-V5TKRMA3.js';import {a as a$d}from'./chunk-27DNV6IH.js';import {c}from'./chunk-SFVYZWDL.js';import'./chunk-Y36KRKYI.js';import {memo,useMemo,useRef,useEffect,useCallback}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function sn({columns:R,rows:b,threshold:w=20,showHeader:I,headerProps:ge,rowProps:De,footerProps:S,rowHeight:Ve=28,isLoading:d$1,error:k$1,columnsSorting:Pe,onColumnSort:We,loadMoreItems:z,isFetchingNextPage:L,triggerDataRefetch:Re,scrollToIndex:u,areAllRowsLoaded:l=false,tableBodyStyles:we,tableTitle:Ie,onStartDrag:ke,onColumnPin:ze,clearBackdropVisibilityTimeout:H=100,isPinnable:y=false,tableMode:Le,overscanCount:v,windowId:He,serviceCode:ye,customNoDataComponent:ve,defaultSkeleton:M=true}){let x=useMemo(()=>c(R,d$1??false,M),[R,d$1,M]),{selectedCell:Me,selectedColumn:B,selectedRow:xe,showBackDrop:F,setShowBackdrop:N,handleCellClick:Be,handleColumnClick:Fe,handleChipClick:Ne,selectedChip:Oe}=a(),O=useRef(null),f=useRef(null),{isError:_,tableLoading:E,tableError:_e,tableEmpty:Xe,hasTimeoutError:X,showNoDataView:A,lastItemIndex:Y,areTotalRowsNotFillingHeight:q,itemsCount:G,isDelayedFetchingNextPage:Ae}=a$1({rows:b,isLoading:d$1,error:k$1,isFetchingNextPage:L,areAllRowsLoaded:l}),{pinnedStartColumns:i,pinnedEndColumns:m,handleColumnPin:Ye,pinnedStartColumnsData:qe,pinnedEndColumnsData:Ge,unpinnedColumnsData:J,orderedColumns:Q,lastColumnId:Je}=a$2(x,y,ze),{pinnedStartVirtualListRef:h,scrollableVirtualListRef:c$1,pinnedEndVirtualListRef:p,handleScroll:U}=a$3();useEffect(()=>{h.current?.resetAfterIndex(0),c$1.current?.resetAfterIndex(0),p.current?.resetAfterIndex(0);},[b.length,h,c$1,p]);let{columnWidths:o,isResizing:T,resizingColumn:Qe,resizeIndicatorX:Ue,cursorPosition:Z,startResize:Ze,handleColumnClick:$e}=a$4({columns:x,handleColumnClick:Fe,windowId:He,serviceCode:ye,tableContainerRef:f}),$=a$5({tableContainerRef:O,showHeader:I??false,isResizing:T}),{pinnedStartColumnsWidth:j,pinnedEndColumnsWidth:K,pinnedStartColumnsDataWithWidths:n,pinnedEndColumnsDataWithWidths:t}=a$6({pinnedStartColumnsData:qe,pinnedEndColumnsData:Ge,columnWidths:o}),ee=useMemo(()=>d(J,o),[J,o]),je=useMemo(()=>d(Q,o),[Q,o]),{getItemSize:ne,getItemDataForContainer:te}=a$7({rowHeight:Ve,areAllRowsLoaded:l,rows:b,isDelayedFetchingNextPage:Ae,rowProps:De,scrollToIndex:u,footerProps:S,isError:_,selectedCell:Me,selectedColumn:B,selectedRow:xe,selectedChip:Oe,handleCellClick:Be,handleChipClick:Ne}),Ke=g=>{ke?.(g);},r=useCallback((g,C,en=false,nn)=>jsx(a$8,{columnsData:g,itemCount:G,lastItemIndex:Y,areAllRowsLoaded:l,loadMoreItems:z,threshold:w,getItemSize:ne,getItemData:te,isPinned:en,fixedWidth:nn,scrollToIndex:u,areTotalRowsNotFillingHeight:q,clearBackdropVisibilityTimeout:H,onScroll:tn=>{U(tn,C==="pinnedStart"?"start":C==="pinnedEnd"?"end":"scrollable");},setBackdropVisibility:N,listRef:C==="pinnedStart"?h:C==="pinnedEnd"?p:c$1,overscanCount:v}),[G,Y,l,z,w,ne,te,u,q,H,U,N,h,p,c$1,v]),ie={showHeader:I,columnsSorting:Pe,onColumnSort:We,headerProps:ge,showBackDrop:F,onColumnPin:Ye,isPinnable:y,lastColumnId:Je,selectedColumn:B,onColumnClick:$e,tableTitle:Ie,areAllRowsLoaded:l,isFetchingNextPage:L,scrollToIndex:u,isLoading:d$1,isError:_,tableMode:Le,showNoDataView:A,tableBodyStyles:we,onStartResize:Ze,isResizing:T,resizingColumn:Qe},a$f={...ie,hasTimeoutError:X,tableLoading:E};return jsxs(Fragment,{children:[jsx(k,{ref:O,children:A?E?jsxs(g,{ref:f,children:[n.length>0&&jsx(a$9,{position:"start",columnsData:n,columnsWidth:j,pinnedColumnsList:i,hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,createVirtualTableContainer:r,...a$f}),jsx(a$a,{hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,unpinnedColumnsData:ee,pinnedStartColumns:i,pinnedEndColumns:m,...a$f}),t.length>0&&jsx(a$9,{position:"end",columnsData:t,columnsWidth:K,pinnedColumnsList:[...i,...m],hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,createVirtualTableContainer:r,...a$f})]}):jsx(a$b,{tableLoading:E,tableError:_e,tableEmpty:Xe,hasTimeoutError:X,orderedColumns:je,error:k$1,triggerDataRefetch:Re,footerProps:S,customNoDataComponent:ve,...ie}):jsxs(g,{ref:f,children:[n.length>0&&jsx(a$9,{position:"start",columnsData:n,columnsWidth:j,pinnedColumnsList:i,hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,createVirtualTableContainer:r,...a$f}),jsx(a$c,{hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,unpinnedColumnsData:ee,pinnedStartColumns:i,pinnedEndColumns:m,createVirtualTableContainer:r,...a$f}),t.length>0&&jsx(a$9,{position:"end",columnsData:t,columnsWidth:K,pinnedColumnsList:[...i,...m],hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,createVirtualTableContainer:r,...a$f})]})}),jsx(a$d,{"data-testid":"SheetViewVirtualTable_TableFooter",showSeparator:true,showBackDrop:F,onPointerDown:Ke,...S}),jsx(a$e,{isVisible:T,indicatorX:Ue,indicatorHeight:$.height,indicatorTop:$.top,iconX:Z.x,iconY:Z.y})]})}var Vn=memo(sn);export{Vn as a};
@@ -1 +1 @@
1
- import {c,a,b,h,e,i,g}from'./chunk-4XNFFIQO.js';import {c as c$1}from'./chunk-R2TGB4DU.js';import {useMemo,useState,useRef,useEffect,useCallback}from'react';var se=({columns:g$1,onColumnResize:E,handleColumnClick:M,windowId:a$1,serviceCode:l,tableContainerRef:b$1})=>{let d=useMemo(()=>g$1.reduce((e,t)=>{let n=c(t),r=a(t.width),s=r;if(a$1&&l)try{s=c$1(a$1,l,n,r)??r;}catch(h){console.warn(`Failed to load stored width for column ${n}:`,h),s=r;}return e[n]=b(s),e},{}),[a$1,l]),[{columnWidths:R,isResizing:$,resizingColumn:q,resizeIndicatorX:G},m]=useState(()=>({columnWidths:d,isResizing:false,resizingColumn:null,startX:0,startWidth:0,resizeIndicatorX:0})),[J,S]=useState({x:0,y:0}),f=useRef(false),v=useRef(0),C=useRef(0),X=useRef(0),H=useRef(0),L=useRef(),P=useRef();useEffect(()=>{m(e=>{let t=new Set(Object.keys(e.columnWidths)),n=new Set(Object.keys(d));return t.size!==n.size?{...e,columnWidths:d}:Array.from(n).some(s=>!t.has(s)||e.columnWidths[s]!==d[s])?{...e,columnWidths:d}:e});},[]);let p=useCallback(e=>h(R,e),[R]),i$1=useCallback(()=>{e(L,P);},[]),x=useCallback((e,t,n)=>i(a$1,l,E,m,i$1,f,C)(e,t,n),[a$1,l,E,i$1]),T=useCallback((e,t)=>g(m,S,v,b$1,e,t,C,X,H),[b$1]),N=useCallback((e,t)=>{e.preventDefault(),e.stopPropagation();try{let n=p(t),r=e.clientX,s=g$1.find(o=>c(o)===t),h=s?g$1.filter(o=>o.pinned===s.pinned).findIndex(o=>c(o)===t):void 0,U=s?.pinned,k=e.currentTarget.closest('[data-testid="SheetViewVirtualTable_TableHeader_StyledCell"]'),y=e.clientY;if(k){let o=k.getBoundingClientRect();y=o.top+o.height/2;}m(o=>({...o,isResizing:!0,resizingColumn:t,startX:r,startWidth:n,resizeIndicatorX:r,resizingColumnIndex:h,resizingColumnPinned:U})),v.current=y,C.current=r,X.current=r,H.current=n,S({x:r,y}),f.current=!0;let Y=T(h,U),j=x(t,n,r);L.current=Y,P.current=j,document.addEventListener("mousemove",Y),document.addEventListener("mouseup",j),document.body.style.cursor="none",document.body.style.userSelect="none";}catch(n){console.error("Error starting resize:",n),i$1();}},[p,T,x,i$1,g$1]),Q=useCallback(()=>{try{m(e=>({...e,isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),f.current=!1,i$1();}catch(e){console.error("Error stopping resize:",e),i$1();}},[i$1]),W=useCallback(()=>f.current,[]),Z=useCallback((e,t,n)=>{W()||M(e,t,n);},[M,W]);return useEffect(()=>i$1,[i$1]),{columnWidths:R,isResizing:$,resizingColumn:q,resizeIndicatorX:G,cursorPosition:J,getColumnWidth:p,startResize:N,stopResize:Q,isCurrentlyResizing:W,handleColumnClick:Z}};export{se as a};
1
+ import {c,a,b,h,e,i,g}from'./chunk-EOUTH2QN.js';import {c as c$1}from'./chunk-NHBPJEEQ.js';import {useMemo,useState,useRef,useEffect,useCallback}from'react';var se=({columns:g$1,onColumnResize:E,handleColumnClick:M,windowId:a$1,serviceCode:l,tableContainerRef:b$1})=>{let d=useMemo(()=>g$1.reduce((e,t)=>{let n=c(t),r=a(t.width),s=r;if(a$1&&l)try{s=c$1(a$1,l,n,r)??r;}catch(h){console.warn(`Failed to load stored width for column ${n}:`,h),s=r;}return e[n]=b(s),e},{}),[a$1,l]),[{columnWidths:R,isResizing:$,resizingColumn:q,resizeIndicatorX:G},m]=useState(()=>({columnWidths:d,isResizing:false,resizingColumn:null,startX:0,startWidth:0,resizeIndicatorX:0})),[J,S]=useState({x:0,y:0}),f=useRef(false),v=useRef(0),C=useRef(0),X=useRef(0),H=useRef(0),L=useRef(),P=useRef();useEffect(()=>{m(e=>{let t=new Set(Object.keys(e.columnWidths)),n=new Set(Object.keys(d));return t.size!==n.size?{...e,columnWidths:d}:Array.from(n).some(s=>!t.has(s)||e.columnWidths[s]!==d[s])?{...e,columnWidths:d}:e});},[]);let p=useCallback(e=>h(R,e),[R]),i$1=useCallback(()=>{e(L,P);},[]),x=useCallback((e,t,n)=>i(a$1,l,E,m,i$1,f,C)(e,t,n),[a$1,l,E,i$1]),T=useCallback((e,t)=>g(m,S,v,b$1,e,t,C,X,H),[b$1]),N=useCallback((e,t)=>{e.preventDefault(),e.stopPropagation();try{let n=p(t),r=e.clientX,s=g$1.find(o=>c(o)===t),h=s?g$1.filter(o=>o.pinned===s.pinned).findIndex(o=>c(o)===t):void 0,U=s?.pinned,k=e.currentTarget.closest('[data-testid="SheetViewVirtualTable_TableHeader_StyledCell"]'),y=e.clientY;if(k){let o=k.getBoundingClientRect();y=o.top+o.height/2;}m(o=>({...o,isResizing:!0,resizingColumn:t,startX:r,startWidth:n,resizeIndicatorX:r,resizingColumnIndex:h,resizingColumnPinned:U})),v.current=y,C.current=r,X.current=r,H.current=n,S({x:r,y}),f.current=!0;let Y=T(h,U),j=x(t,n,r);L.current=Y,P.current=j,document.addEventListener("mousemove",Y),document.addEventListener("mouseup",j),document.body.style.cursor="none",document.body.style.userSelect="none";}catch(n){console.error("Error starting resize:",n),i$1();}},[p,T,x,i$1,g$1]),Q=useCallback(()=>{try{m(e=>({...e,isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),f.current=!1,i$1();}catch(e){console.error("Error stopping resize:",e),i$1();}},[i$1]),W=useCallback(()=>f.current,[]),Z=useCallback((e,t,n)=>{W()||M(e,t,n);},[M,W]);return useEffect(()=>i$1,[i$1]),{columnWidths:R,isResizing:$,resizingColumn:q,resizeIndicatorX:G,cursorPosition:J,getColumnWidth:p,startResize:N,stopResize:Q,isCurrentlyResizing:W,handleColumnClick:Z}};export{se as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-SNVJQZ6B.js';import {a}from'./chunk-CE6HNDSP.js';import {a as a$2}from'./chunk-TQIHIXNQ.js';import {TableCell}from'@mui/material';import r from'@mui/material/Box';import {styled}from'@mui/material/styles';import h from'@mui/material/TableRow';import {motion}from'framer-motion';var k=styled(r,{shouldForwardProp:o=>!["showNoDataView","compact","fixedHeight"].includes(o)})(({showNoDataView:o,compact:t,fixedHeight:i})=>({display:"flex",flexDirection:"column",height:i?`${i}px`:t?"auto":"100%",width:"100%",minWidth:o?"unset":"fit-content",overflow:"hidden",overflowX:o?"hidden":"auto",margin:"0px",...t&&{flex:"0 0 auto"}})),C=styled(r,{shouldForwardProp:o=>o!=="hidePadding"})(({theme:o,hidePadding:t})=>({flex:"1 1 auto",backgroundColor:o.palette.grey[300],paddingBottom:t?0:a})),F=styled(r)(({theme:o})=>({backgroundColor:o.palette.background.default})),P=styled(TableCell,{shouldForwardProp:o=>!["isLast","isFirst","isSheetView","isSelected"].includes(o)})(({theme:o,isLast:t,isFirst:i,isSheetView:a})=>({paddingBlock:"0",paddingInline:"0.3875rem !important",paddingLeft:i?"0 !important":"0.3875rem !important",paddingRight:t?"0 !important":"0.3875rem !important",color:a?o.palette.text.primary:o.palette.grey[700],fontSize:a?o.typography.subtitle1.fontSize:o.typography.caption.fontSize,height:"100%",fontWeight:a?400:o.typography.fontWeightRegular,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"flex",alignItems:"center",cursor:"pointer",...a&&{borderRight:t?"1px solid transparent":`1px solid ${o.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"}}})),I=styled("button")(({theme:o})=>({zIndex:1,display:"flex",gap:o.spacing(.5),alignItems:"center",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap",backgroundColor:"transparent",border:"none",cursor:"pointer",padding:0,margin:0,color:"inherit",fontSize:"inherit",fontWeight:"inherit",boxSizing:"border-box",":disabled":{cursor:"not-allowed"}})),T=styled(a$1,{shouldForwardProp:o=>!["areTotalRowsNotFillingHeight","isSheetView"].includes(o)})(({theme:o,areTotalRowsNotFillingHeight:t,isSheetView:i})=>({backgroundColor:t?"transparent":"#F6F8FACC",...i&&{backgroundColor:o.palette.common.white}})),R=styled(h,{shouldForwardProp:o=>!["showShadowHighlight","showLoadedStyle","isSheetView","isSelected","isChecked","adjacentBelow","adjacentAbove"].includes(o)})(({theme:o,showShadowHighlight:t,showLoadedStyle:i,isSheetView:a,isChecked:b,adjacentBelow:n,adjacentAbove:l})=>({display:"flex",borderBottom:`1px solid ${o?.palette.divider}`,position:"relative",height:"100%",width:"100%",...!a&&{paddingInline:"32px",...n&&{borderBottom:"none",clipPath:"inset(-20px -20px 0px -20px)","&::before":{content:'""',position:"absolute",bottom:0,left:"32px",right:"32px",height:"1px",backgroundColor:o.palette.divider,zIndex:1}},...l&&{clipPath:"inset(0px -20px -20px -20px)"},...n&&l&&{clipPath:"inset(0px -20px 0px -20px)"},"&:hover":{boxShadow:o.shadows[12],zIndex:1,".MuiCheckbox-root":{visibility:"visible"},".payment-sources-container":{backgroundColor:o?.palette.common.white},".geography-box":{visibility:"visible"},".payout-status":{visibility:"visible !important"},"&:hover:after":{opacity:1}},"&::after":{content:"''",opacity:0,minHeight:"100%",background:o.palette.info.dark,width:"3px",position:"absolute",left:0},...b&&{boxShadow:o.shadows[12],zIndex:1,"&:after":{opacity:1},".MuiCheckbox-root":{visibility:"visible"}},...i&&{backgroundColor:`${o.palette.info.dark}08 !important`},...t&&{boxShadow:o.shadows[12],zIndex:1,"&::after":{content:"''",opacity:1,minHeight:"100%",background:o.palette.info.dark,width:"3px",position:"absolute",left:0}}}})),B=styled(r,{shouldForwardProp:o=>o!=="showNoDataView"&&o!=="scrollable"})(({theme:o,showNoDataView:t,scrollable:i})=>({position:"relative",backgroundColor:o.palette.background.default,height:"100%",overflowX:t?"hidden":"auto",display:"flex",flexDirection:"column","&:hover":{scrollbarWidth:i?"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"}})),D=styled(motion.img)(()=>({width:"24px",height:"24px",position:"relative",zIndex:2})),V=styled(r)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%"})),z=styled(r)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:"28px",borderRadius:"8px",marginBottom:"16px !important",overflowY:"hidden"})),H=styled(r,{shouldForwardProp:o=>o!=="showNoDataView"})(({showNoDataView:o})=>({position:"relative",height:"100%",overflowX:o?"hidden":"auto",paddingBottom:0,display:"flex",flexDirection:"column"})),L=styled(a$2,{shouldForwardProp:o=>!["isRow"].includes(o)})(({isRow:o})=>({position:"absolute",left:"12px",top:"50%",transform:"translateY(-50%)",padding:0,...o&&{visibility:"hidden"}}));export{k as a,C as b,F as c,P as d,I as e,T as f,R as g,B as h,D as i,V as j,z as k,H as l,L as m};
1
+ import {a as a$1}from'./chunk-D7YWJN54.js';import {a}from'./chunk-CE6HNDSP.js';import {a as a$2}from'./chunk-TQIHIXNQ.js';import {TableCell}from'@mui/material';import r from'@mui/material/Box';import {styled}from'@mui/material/styles';import h from'@mui/material/TableRow';import {motion}from'framer-motion';var k=styled(r,{shouldForwardProp:o=>!["showNoDataView","compact","fixedHeight"].includes(o)})(({showNoDataView:o,compact:t,fixedHeight:i})=>({display:"flex",flexDirection:"column",height:i?`${i}px`:t?"auto":"100%",width:"100%",minWidth:o?"unset":"fit-content",overflow:"hidden",overflowX:o?"hidden":"auto",margin:"0px",...t&&{flex:"0 0 auto"}})),C=styled(r,{shouldForwardProp:o=>o!=="hidePadding"})(({theme:o,hidePadding:t})=>({flex:"1 1 auto",backgroundColor:o.palette.grey[300],paddingBottom:t?0:a})),F=styled(r)(({theme:o})=>({backgroundColor:o.palette.background.default})),P=styled(TableCell,{shouldForwardProp:o=>!["isLast","isFirst","isSheetView","isSelected"].includes(o)})(({theme:o,isLast:t,isFirst:i,isSheetView:a})=>({paddingBlock:"0",paddingInline:"0.3875rem !important",paddingLeft:i?"0 !important":"0.3875rem !important",paddingRight:t?"0 !important":"0.3875rem !important",color:a?o.palette.text.primary:o.palette.grey[700],fontSize:a?o.typography.subtitle1.fontSize:o.typography.caption.fontSize,height:"100%",fontWeight:a?400:o.typography.fontWeightRegular,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"flex",alignItems:"center",cursor:"pointer",...a&&{borderRight:t?"1px solid transparent":`1px solid ${o.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"}}})),I=styled("button")(({theme:o})=>({zIndex:1,display:"flex",gap:o.spacing(.5),alignItems:"center",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap",backgroundColor:"transparent",border:"none",cursor:"pointer",padding:0,margin:0,color:"inherit",fontSize:"inherit",fontWeight:"inherit",boxSizing:"border-box",":disabled":{cursor:"not-allowed"}})),T=styled(a$1,{shouldForwardProp:o=>!["areTotalRowsNotFillingHeight","isSheetView"].includes(o)})(({theme:o,areTotalRowsNotFillingHeight:t,isSheetView:i})=>({backgroundColor:t?"transparent":"#F6F8FACC",...i&&{backgroundColor:o.palette.common.white}})),R=styled(h,{shouldForwardProp:o=>!["showShadowHighlight","showLoadedStyle","isSheetView","isSelected","isChecked","adjacentBelow","adjacentAbove"].includes(o)})(({theme:o,showShadowHighlight:t,showLoadedStyle:i,isSheetView:a,isChecked:b,adjacentBelow:n,adjacentAbove:l})=>({display:"flex",borderBottom:`1px solid ${o?.palette.divider}`,position:"relative",height:"100%",width:"100%",...!a&&{paddingInline:"32px",...n&&{borderBottom:"none",clipPath:"inset(-20px -20px 0px -20px)","&::before":{content:'""',position:"absolute",bottom:0,left:"32px",right:"32px",height:"1px",backgroundColor:o.palette.divider,zIndex:1}},...l&&{clipPath:"inset(0px -20px -20px -20px)"},...n&&l&&{clipPath:"inset(0px -20px 0px -20px)"},"&:hover":{boxShadow:o.shadows[12],zIndex:1,".MuiCheckbox-root":{visibility:"visible"},".payment-sources-container":{backgroundColor:o?.palette.common.white},".geography-box":{visibility:"visible"},".payout-status":{visibility:"visible !important"},"&:hover:after":{opacity:1}},"&::after":{content:"''",opacity:0,minHeight:"100%",background:o.palette.info.dark,width:"3px",position:"absolute",left:0},...b&&{boxShadow:o.shadows[12],zIndex:1,"&:after":{opacity:1},".MuiCheckbox-root":{visibility:"visible"}},...i&&{backgroundColor:`${o.palette.info.dark}08 !important`},...t&&{boxShadow:o.shadows[12],zIndex:1,"&::after":{content:"''",opacity:1,minHeight:"100%",background:o.palette.info.dark,width:"3px",position:"absolute",left:0}}}})),B=styled(r,{shouldForwardProp:o=>o!=="showNoDataView"&&o!=="scrollable"})(({theme:o,showNoDataView:t,scrollable:i})=>({position:"relative",backgroundColor:o.palette.background.default,height:"100%",overflowX:t?"hidden":"auto",display:"flex",flexDirection:"column","&:hover":{scrollbarWidth:i?"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"}})),D=styled(motion.img)(()=>({width:"24px",height:"24px",position:"relative",zIndex:2})),V=styled(r)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%"})),z=styled(r)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:"28px",borderRadius:"8px",marginBottom:"16px !important",overflowY:"hidden"})),H=styled(r,{shouldForwardProp:o=>o!=="showNoDataView"})(({showNoDataView:o})=>({position:"relative",height:"100%",overflowX:o?"hidden":"auto",paddingBottom:0,display:"flex",flexDirection:"column"})),L=styled(a$2,{shouldForwardProp:o=>!["isRow"].includes(o)})(({isRow:o})=>({position:"absolute",left:"12px",top:"50%",transform:"translateY(-50%)",padding:0,...o&&{visibility:"hidden"}}));export{k as a,C as b,F as c,P as d,I as e,T as f,R as g,B as h,D as i,V as j,z as k,H as l,L as m};
@@ -1 +1 @@
1
- import {a}from'./chunk-PUZY5KYQ.js';import {a as a$2}from'./chunk-4ZOHK34R.js';import {h as h$1,a as a$1,b}from'./chunk-3Y5GSYLE.js';import {h,i}from'./chunk-V5TKRMA3.js';import {memo}from'react';import {useTheme}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';function A({position:t,columnsData:a$3,columnsWidth:p,pinnedColumnsList:h$2,showHeader:u,columnsSorting:b$1,onColumnSort:P,headerProps:S,showBackDrop:T,onColumnPin:c,isPinnable:f,lastColumnId:g,selectedColumn:w,onColumnClick:C,hasPinnedStart:x,hasPinnedEnd:y,tableTitle:V,areAllRowsLoaded:W,isFetchingNextPage:B,scrollToIndex:_,isLoading:H,isError:E,hasTimeoutError:z,tableMode:L,showNoDataView:k,tableLoading:v,createVirtualTableContainer:I,onStartResize:N,isResizing:R,resizingColumn:K}){let i$1=useTheme();if(a$3.length===0)return null;let O=t==="start"?h:i,X=t==="start"?"pinnedStart":"pinnedEnd";return jsx(O,{children:jsxs(h$1,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":V,"data-direction":i$1.direction,"data-are-all-rows-loaded":!!W,"data-is-fetching-next-page":!!B,"data-scroll-to-index":_,"data-is-loading":!!H,"data-is-error":!!E,"data-is-error-timeout":!!z,"data-table-mode":L,height:"100%",dir:i$1.direction,showNoDataView:k,children:[u&&jsx(a,{"data-testid":"SheetViewVirtualTable_PinnedTableHeader",columnsSorting:b$1,onColumnSort:P,columns:a$3,headerProps:S,showBackDrop:T,pinnedColumns:h$2,onColumnPin:c,isPinnable:f,lastColumnId:g,selectedColumn:w,onColumnClick:C,tablePosition:t==="start"?"pinnedStart":"pinnedEnd",hasPinnedStart:x,hasPinnedEnd:y,onStartResize:N,isResizing:R,resizingColumn:K}),jsx(a$1,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content",overflowX:"hidden"},children:jsx(b,{"data-testid":"SheetViewVirtualTable_PinnedStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:v?jsx(a$2,{"data-testid":`SheetViewVirtualTable_PinnedTableLoading_${t}`,columns:a$3,isLoading:true,isPinned:true}):I(a$3,X,true,p)})})]})})}var Z=memo(A);export{Z as a};
1
+ import {a}from'./chunk-WSPN5HXO.js';import {a as a$2}from'./chunk-4ZOHK34R.js';import {h as h$1,a as a$1,b}from'./chunk-3KQ673K5.js';import {h,i}from'./chunk-V5TKRMA3.js';import {memo}from'react';import {useTheme}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';function A({position:t,columnsData:a$3,columnsWidth:p,pinnedColumnsList:h$2,showHeader:u,columnsSorting:b$1,onColumnSort:P,headerProps:S,showBackDrop:T,onColumnPin:c,isPinnable:f,lastColumnId:g,selectedColumn:w,onColumnClick:C,hasPinnedStart:x,hasPinnedEnd:y,tableTitle:V,areAllRowsLoaded:W,isFetchingNextPage:B,scrollToIndex:_,isLoading:H,isError:E,hasTimeoutError:z,tableMode:L,showNoDataView:k,tableLoading:v,createVirtualTableContainer:I,onStartResize:N,isResizing:R,resizingColumn:K}){let i$1=useTheme();if(a$3.length===0)return null;let O=t==="start"?h:i,X=t==="start"?"pinnedStart":"pinnedEnd";return jsx(O,{children:jsxs(h$1,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":V,"data-direction":i$1.direction,"data-are-all-rows-loaded":!!W,"data-is-fetching-next-page":!!B,"data-scroll-to-index":_,"data-is-loading":!!H,"data-is-error":!!E,"data-is-error-timeout":!!z,"data-table-mode":L,height:"100%",dir:i$1.direction,showNoDataView:k,children:[u&&jsx(a,{"data-testid":"SheetViewVirtualTable_PinnedTableHeader",columnsSorting:b$1,onColumnSort:P,columns:a$3,headerProps:S,showBackDrop:T,pinnedColumns:h$2,onColumnPin:c,isPinnable:f,lastColumnId:g,selectedColumn:w,onColumnClick:C,tablePosition:t==="start"?"pinnedStart":"pinnedEnd",hasPinnedStart:x,hasPinnedEnd:y,onStartResize:N,isResizing:R,resizingColumn:K}),jsx(a$1,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content",overflowX:"hidden"},children:jsx(b,{"data-testid":"SheetViewVirtualTable_PinnedStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:v?jsx(a$2,{"data-testid":`SheetViewVirtualTable_PinnedTableLoading_${t}`,columns:a$3,isLoading:true,isPinned:true}):I(a$3,X,true,p)})})]})})}var Z=memo(A);export{Z as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-6GOWNWLG.js';var o=a;export{o as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-AGWTQEOX.js';var r=a;export{r as a};
@@ -1 +1 @@
1
- import {a as a$1,b}from'./chunk-DQJZHC6F.js';import {a}from'./chunk-E7V37IBO.js';import {memo,useId}from'react';import {Box}from'@mui/material';import {jsx,jsxs}from'react/jsx-runtime';function d({amount:e,currency:t,...m}){let s=a(useId(),"amount-status-chip");return jsx(a$1,{id:s,"data-testid":"AmountStatusChip",disableAnimation:true,expandDirection:"left",...m,children:jsxs(Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",gap:"4px"},children:[t&&jsx(b,{children:t}),e]})})}var A=memo(d);export{A as a};
1
+ import {a as a$1,b}from'./chunk-PP2HQKWF.js';import {a}from'./chunk-E7V37IBO.js';import {memo,useId}from'react';import {Box}from'@mui/material';import {jsx,jsxs}from'react/jsx-runtime';function d({amount:e,currency:t,...m}){let s=a(useId(),"amount-status-chip");return jsx(a$1,{id:s,"data-testid":"AmountStatusChip",disableAnimation:true,expandDirection:"left",...m,children:jsxs(Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",gap:"4px"},children:[t&&jsx(b,{children:t}),e]})})}var A=memo(d);export{A as a};
@@ -1 +1 @@
1
- import {a as a$2}from'./chunk-IINTJO6W.js';import {a as a$1}from'./chunk-L5XWNQ47.js';import {a}from'./chunk-Z33IXTQI.js';import {d,e}from'./chunk-3Y5GSYLE.js';import {d as d$1}from'./chunk-KPEJIJ3M.js';import {useState,useRef}from'react';import v from'@mui/material/Box';import {jsx,jsxs}from'react/jsx-runtime';function W({column:{header:e$1,id:o,align:n,headerStyle:w,sortable:i,filter:t,width:r,order:S},isFirst:d$2,isLast:s,isSheetView:g,onColumnSort:y,columnsSorting:x,totalCount:h,isFilterEnabled:F}){let[H,m]=useState(null),p=useRef(null),{isFilterApplied:_,filterDisabled:a$3}=a({filter:t,totalCount:h,isFilterEnabled:F});return jsx(d,{"data-id":o,component:"div","data-testid":"VirtualTable_TableHeader_StyledCell","data-column-id":o,"data-column-width":r,"data-column-width-used":r,"data-column-align":n,"data-column-order":S,"data-column-header":typeof e$1=="string"?e$1:"component","data-column-sortable":!!i,"data-column-filterable":!!t,isFirst:d$2,isLast:s,ref:p,sx:E=>({paddingInline:"0.6875rem",paddingLeft:d$2?"0":"0.6875rem",paddingRight:s?"0":"0.6875rem",display:"flex",gap:E.spacing(.5),alignItems:"center",justifyContent:d$1[n??"left"],width:r,textAlign:n,overflow:"unset",fontWeight:600,...a$3&&{cursor:"not-allowed"},...w}),isSheetView:g,children:jsxs(e,{disabled:a$3,onClick:()=>{m(p.current);},children:[typeof e$1=="function"?e$1():jsx(v,{"data-testid":"TableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e$1&&jsx("span",{style:{textOverflow:"ellipsis",width:"80%",overflow:"hidden"},"data-testid":"VirtualTable_TableHeader_StyledCell_header_text",children:e$1})}),t&&jsx(a$1,{...t,anchorEl:H,setAnchorEl:m,isFilterApplied:_,disabled:a$3}),i&&jsx(a$2,{onColumnSort:y,columnsSorting:x,columnId:o})]})})}export{W as a};
1
+ import {a as a$1}from'./chunk-L5XWNQ47.js';import {a as a$2}from'./chunk-IINTJO6W.js';import {a}from'./chunk-Z33IXTQI.js';import {d,e}from'./chunk-3KQ673K5.js';import {d as d$1}from'./chunk-KPEJIJ3M.js';import {useState,useRef}from'react';import v from'@mui/material/Box';import {jsx,jsxs}from'react/jsx-runtime';function W({column:{header:e$1,id:o,align:n,headerStyle:w,sortable:i,filter:t,width:r,order:S},isFirst:d$2,isLast:s,isSheetView:g,onColumnSort:y,columnsSorting:x,totalCount:h,isFilterEnabled:F}){let[H,m]=useState(null),p=useRef(null),{isFilterApplied:_,filterDisabled:a$3}=a({filter:t,totalCount:h,isFilterEnabled:F});return jsx(d,{"data-id":o,component:"div","data-testid":"VirtualTable_TableHeader_StyledCell","data-column-id":o,"data-column-width":r,"data-column-width-used":r,"data-column-align":n,"data-column-order":S,"data-column-header":typeof e$1=="string"?e$1:"component","data-column-sortable":!!i,"data-column-filterable":!!t,isFirst:d$2,isLast:s,ref:p,sx:E=>({paddingInline:"0.6875rem",paddingLeft:d$2?"0":"0.6875rem",paddingRight:s?"0":"0.6875rem",display:"flex",gap:E.spacing(.5),alignItems:"center",justifyContent:d$1[n??"left"],width:r,textAlign:n,overflow:"unset",fontWeight:600,...a$3&&{cursor:"not-allowed"},...w}),isSheetView:g,children:jsxs(e,{disabled:a$3,onClick:()=>{m(p.current);},children:[typeof e$1=="function"?e$1():jsx(v,{"data-testid":"TableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e$1&&jsx("span",{style:{textOverflow:"ellipsis",width:"80%",overflow:"hidden"},"data-testid":"VirtualTable_TableHeader_StyledCell_header_text",children:e$1})}),t&&jsx(a$1,{...t,anchorEl:H,setAnchorEl:m,isFilterApplied:_,disabled:a$3}),i&&jsx(a$2,{onColumnSort:y,columnsSorting:x,columnId:o})]})})}export{W as a};
@@ -1 +1 @@
1
- import {a as a$2}from'./chunk-AUX5YOUF.js';import {a as a$4,c,b as b$1}from'./chunk-CTY6ISKH.js';import {a}from'./chunk-EYX26LHW.js';import {a as a$5}from'./chunk-J5VDJ4QR.js';import {a as a$3}from'./chunk-VBJNWR73.js';import {a as a$1}from'./chunk-E7V37IBO.js';import {b}from'./chunk-EK7ODJWE.js';import {useTheme}from'@mui/material';import {useTranslation}from'react-i18next';import {useId}from'react';import {jsx}from'react/jsx-runtime';var n=b(a(),1);function R({status:t,isTextShown:f,isSheetViewShown:h,chipIndex:u=0,selectionProps:I={}}){let r=useTheme(),{t:a}=useTranslation(),s=a$1(useId(),"destination-icon"),i=a((0, n.default)(t));return h&&a$2[t]?jsx(a$3,{copyText:i,chipIndex:u,selectionProps:I,children:i}):f&&a$2[t]?jsx(a$4,{id:s,"data-testid":"ChargeStatusIcon_isTextShown","data-status":(0, n.default)(t),sx:{background:"#1F88D00D",color:t==="PROCESSED"?r.palette.info.dark:r.palette.common.black},children:i}):jsx(c,{id:s,"data-testid":"DestinationIcon",className:"destination-status",children:t&&a$2[t]&&jsx(a$5,{title:a((0, n.default)(t)),children:jsx(b$1,{src:a$2[t],alt:"destination-icon"})})})}export{R as a};
1
+ import {a as a$2}from'./chunk-AUX5YOUF.js';import {a as a$4,c,b as b$1}from'./chunk-CTY6ISKH.js';import {a}from'./chunk-EYX26LHW.js';import {a as a$5}from'./chunk-J5VDJ4QR.js';import {a as a$3}from'./chunk-KQW5RPNP.js';import {a as a$1}from'./chunk-E7V37IBO.js';import {b}from'./chunk-EK7ODJWE.js';import {useTheme}from'@mui/material';import {useTranslation}from'react-i18next';import {useId}from'react';import {jsx}from'react/jsx-runtime';var n=b(a(),1);function R({status:t,isTextShown:f,isSheetViewShown:h,chipIndex:u=0,selectionProps:I={}}){let r=useTheme(),{t:a}=useTranslation(),s=a$1(useId(),"destination-icon"),i=a((0, n.default)(t));return h&&a$2[t]?jsx(a$3,{copyText:i,chipIndex:u,selectionProps:I,children:i}):f&&a$2[t]?jsx(a$4,{id:s,"data-testid":"ChargeStatusIcon_isTextShown","data-status":(0, n.default)(t),sx:{background:"#1F88D00D",color:t==="PROCESSED"?r.palette.info.dark:r.palette.common.black},children:i}):jsx(c,{id:s,"data-testid":"DestinationIcon",className:"destination-status",children:t&&a$2[t]&&jsx(a$5,{title:a((0, n.default)(t)),children:jsx(b$1,{src:a$2[t],alt:"destination-icon"})})})}export{R as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-RJLX7OU4.js';import {a,b}from'./chunk-IC7UJACN.js';import {m}from'./chunk-3Y5GSYLE.js';import {memo,useCallback}from'react';import {jsx,jsxs}from'react/jsx-runtime';function u({columns:a$2,headerProps:S,showBackDrop:T,onColumnSort:h,columnsSorting:f,isSheetView:o,totalCount:H,isFilterEnabled:y,selection:e,selectableCount:l=0,getSelectableKeys:i}){let n=e&&e.ids.length>0,r=e&&l>0&&e.ids.length===l,g=useCallback(()=>{e&&e.setIds(r?[]:i?.()??[]);},[e,r,i]);return jsx(a,{component:"nav","data-testid":"VirtualTable_TableHeader_StyledHeader",showBackDrop:T,...S,children:jsxs(b,{component:"section","data-testid":"VirtualTable_TableHeader_StyledMUITableRow",isSheetView:o,children:[n&&jsx(m,{size:"small",checked:r,indeterminate:n&&!r,onChange:g,onClick:t=>t.stopPropagation()}),a$2.map((t,k)=>jsx(a$1,{column:t,isFirst:t.id===a$2[0].id,isLast:t.id===a$2[a$2.length-1].id,onColumnSort:h,columnsSorting:f,isSheetView:o,totalCount:H,isFilterEnabled:y},`${t.id}-${k}`))]})})}var R=memo(u);export{R as a};
1
+ import {a as a$1}from'./chunk-4RU54L7F.js';import {a,b}from'./chunk-IC7UJACN.js';import {m}from'./chunk-3KQ673K5.js';import {memo,useCallback}from'react';import {jsx,jsxs}from'react/jsx-runtime';function u({columns:a$2,headerProps:S,showBackDrop:T,onColumnSort:h,columnsSorting:f,isSheetView:o,totalCount:H,isFilterEnabled:y,selection:e,selectableCount:l=0,getSelectableKeys:i}){let n=e&&e.ids.length>0,r=e&&l>0&&e.ids.length===l,g=useCallback(()=>{e&&e.setIds(r?[]:i?.()??[]);},[e,r,i]);return jsx(a,{component:"nav","data-testid":"VirtualTable_TableHeader_StyledHeader",showBackDrop:T,...S,children:jsxs(b,{component:"section","data-testid":"VirtualTable_TableHeader_StyledMUITableRow",isSheetView:o,children:[n&&jsx(m,{size:"small",checked:r,indeterminate:n&&!r,onChange:g,onClick:t=>t.stopPropagation()}),a$2.map((t,k)=>jsx(a$1,{column:t,isFirst:t.id===a$2[0].id,isLast:t.id===a$2[a$2.length-1].id,onColumnSort:h,columnsSorting:f,isSheetView:o,totalCount:H,isFilterEnabled:y},`${t.id}-${k}`))]})})}var R=memo(u);export{R as a};
@@ -1 +1 @@
1
- import {a as a$2}from'./chunk-HQTUIAQG.js';import {c as c$2}from'./chunk-3VKQE2LL.js';import {b as b$2}from'./chunk-C6FCVQVP.js';import {a as a$3}from'./chunk-LMZWGSHX.js';import {f,j,h,a as a$1,b as b$1}from'./chunk-3Y5GSYLE.js';import {a as a$4}from'./chunk-27DNV6IH.js';import {a}from'./chunk-2TBHJTJY.js';import {d as d$1}from'./chunk-LXDQHONL.js';import {c as c$1}from'./chunk-SFVYZWDL.js';import {b,d,c}from'./chunk-77RDXF67.js';import'./chunk-Y36KRKYI.js';import {memo,useState,useEffect,useMemo,useCallback,useRef}from'react';import {useTheme}from'@mui/material/styles';import Nt from'memoize-one';import Rt from'react-virtualized-auto-sizer';import Wt from'react-window-infinite-loader';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var Ft=Nt((T,t,f,g,S,I,r,o,s,V,x)=>({columns:T,isLoading:t,rows:f,rowProps:g,scrollToIndex:S,totalCount:r,lastItemIndex:I,isError:o,areAllRowsLoaded:s,isSheetView:V,selection:x}));function wt({columns:T,rows:t,threshold:f$1=200,showHeader:g,headerProps:S,rowProps:I,footerProps:r,isLoading:o,error:s,columnsSorting:V,onColumnSort:x,loadMoreItems:N,isFetchingNextPage:D,triggerDataRefetch:dt,scrollToIndex:y,areAllRowsLoaded:b$3=false,tableBodyStyles:mt,tableMode:ut,tableTitle:bt,onStartDrag:ct,isSheetView:d$2=false,isMinimized:R,footerComponent:ht,customNoDataComponent:W,defaultSkeleton:F=false,selection:e,isFilterEnabled:pt}){let w=useTheme(),Tt=a=>{ct?.(a);},k=a({value:D,delay:1e3}),[K,ft]=useState(false),[O,yt]=useState("INITIAL_KEY");useEffect(()=>{let a=`${r?.maximized}-${R}`,n=requestAnimationFrame(()=>yt(a));return ()=>cancelAnimationFrame(n)},[r?.maximized,R]);let _=b(s),C=o??true,v=!o&&t.length===0&&_&&!d(s),M=!o&&t.length===0,B=c(s),H=t.length-1,G=useMemo(()=>c$1(T,o??false,F),[T,o,F]),$=useMemo(()=>G.filter(a=>!a.hidden),[G]),L=useMemo(()=>$.sort((a,n)=>(a?.order??1e6)-(n?.order??1e6)),[$]),Et=useMemo(()=>e?e.isDisabled?t.filter(a=>!e.isDisabled(a)).length:t.length:0,[t,e?.isDisabled]),gt=useCallback(()=>e?(e.isDisabled?t.filter(n=>!e.isDisabled(n)):t).map(n=>n[e.selector]):[],[t,e?.isDisabled,e?.selector]),l=d$1(t.length)&&!C,m=k||b$3&&!l?t.length+1:t.length,q=Ft(L,k,t,I,y,H,r?.totalCount??0,_,b$3&&!l,d$2,e),u=d$2?28:57,E=useRef(null);useEffect(()=>{E.current&&typeof E.current.resetAfterIndex=="function"&&E.current.resetAfterIndex(0,true);},[d$2,u]);let St=useMemo(()=>{let a=h=>{ft(h);};return jsx(Wt,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:h=>h!==H,itemCount:m,loadMoreItems:async()=>{b$3||await N?.();},threshold:f$1,children:({onItemsRendered:h,ref:It})=>jsx(Rt,{ref:It,"data-testid":"VirtualTable_AutoSizer",children:({height:Vt,width:xt})=>jsx(f,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:q,height:l?m*u:Vt||0,width:xt||0,itemCount:m,itemSize:()=>u,onItemsRendered:h,setBackdropVisibility:a,areTotalRowsNotFillingHeight:l,scrollToIndex:y,overscanCount:5,isSheetView:d$2,listRef:E,style:{paddingBottom:"13px"},children:c$2})},O)})},[H,N,f$1,b$3,l,m,u,d$2,q,y,O]),c$3=C||v||M||B;return jsxs(Fragment,{children:[jsx(j,{children:jsxs(h,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":bt,"data-direction":w.direction,"data-are-all-rows-loaded":!!b$3,"data-is-fetching-next-page":!!D,"data-scroll-to-index":y,"data-is-loading":!!o,"data-is-error":!!_,"data-is-error-timeout":!!B,"data-table-mode":ut,height:"100%",dir:w.direction,showNoDataView:c$3,scrollable:true,children:[jsxs(a$1,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:c$3,compact:!c$3&&l,sx:{...mt},children:[g&&jsx(a$2,{"data-testid":"VirtualTable_TableHeader",columnsSorting:V,onColumnSort:x,columns:L,headerProps:S,showBackDrop:K,isSheetView:d$2,totalCount:r?.totalCount??0,selection:e,selectableCount:Et,getSelectableKeys:gt,isFilterEnabled:pt}),c$3?W||jsx(a$3,{error:s,tableEmpty:M,isTimeoutError:B,tableError:v,tableLoading:C,orderedColumns:L,triggerDataRefetch:dt,footerProps:r}):jsx(a$1,{"data-testid":"VirtualTable_TableWrapper",fixedHeight:l?m*u:void 0,sx:{width:"100%",minWidth:"fit-content"},children:jsx(b$1,{"data-testid":"VirtualTable_StyledBox",hidePadding:true,className:"list-wrapper",children:St})})]}),!c$3&&l&&!D&&jsx(b$2,{height:(m+1)*u,sandboxMode:r?.sandboxMode,"data-testid":"VirtualTable_TableLastItem"})]})}),r&&jsx(a$4,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:K,onPointerDown:Tt,selectedCount:e?.ids.length,...r}),ht]})}var jt=memo(wt);export{jt as a};
1
+ import {a as a$2}from'./chunk-YPH5ZF7P.js';import {c as c$2}from'./chunk-M4HSYMJV.js';import {b as b$2}from'./chunk-C6FCVQVP.js';import {a as a$3}from'./chunk-CDCODH3D.js';import {f,j,h,a as a$1,b as b$1}from'./chunk-3KQ673K5.js';import {a as a$4}from'./chunk-27DNV6IH.js';import {a}from'./chunk-2TBHJTJY.js';import {d as d$1}from'./chunk-LXDQHONL.js';import {c as c$1}from'./chunk-SFVYZWDL.js';import {b,d,c}from'./chunk-77RDXF67.js';import'./chunk-Y36KRKYI.js';import {memo,useState,useEffect,useMemo,useCallback,useRef}from'react';import {useTheme}from'@mui/material/styles';import Nt from'memoize-one';import Rt from'react-virtualized-auto-sizer';import Wt from'react-window-infinite-loader';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var Ft=Nt((T,t,f,g,S,I,r,o,s,V,x)=>({columns:T,isLoading:t,rows:f,rowProps:g,scrollToIndex:S,totalCount:r,lastItemIndex:I,isError:o,areAllRowsLoaded:s,isSheetView:V,selection:x}));function wt({columns:T,rows:t,threshold:f$1=200,showHeader:g,headerProps:S,rowProps:I,footerProps:r,isLoading:o,error:s,columnsSorting:V,onColumnSort:x,loadMoreItems:N,isFetchingNextPage:D,triggerDataRefetch:dt,scrollToIndex:y,areAllRowsLoaded:b$3=false,tableBodyStyles:mt,tableMode:ut,tableTitle:bt,onStartDrag:ct,isSheetView:d$2=false,isMinimized:R,footerComponent:ht,customNoDataComponent:W,defaultSkeleton:F=false,selection:e,isFilterEnabled:pt}){let w=useTheme(),Tt=a=>{ct?.(a);},k=a({value:D,delay:1e3}),[K,ft]=useState(false),[O,yt]=useState("INITIAL_KEY");useEffect(()=>{let a=`${r?.maximized}-${R}`,n=requestAnimationFrame(()=>yt(a));return ()=>cancelAnimationFrame(n)},[r?.maximized,R]);let _=b(s),C=o??true,v=!o&&t.length===0&&_&&!d(s),M=!o&&t.length===0,B=c(s),H=t.length-1,G=useMemo(()=>c$1(T,o??false,F),[T,o,F]),$=useMemo(()=>G.filter(a=>!a.hidden),[G]),L=useMemo(()=>$.sort((a,n)=>(a?.order??1e6)-(n?.order??1e6)),[$]),Et=useMemo(()=>e?e.isDisabled?t.filter(a=>!e.isDisabled(a)).length:t.length:0,[t,e?.isDisabled]),gt=useCallback(()=>e?(e.isDisabled?t.filter(n=>!e.isDisabled(n)):t).map(n=>n[e.selector]):[],[t,e?.isDisabled,e?.selector]),l=d$1(t.length)&&!C,m=k||b$3&&!l?t.length+1:t.length,q=Ft(L,k,t,I,y,H,r?.totalCount??0,_,b$3&&!l,d$2,e),u=d$2?28:57,E=useRef(null);useEffect(()=>{E.current&&typeof E.current.resetAfterIndex=="function"&&E.current.resetAfterIndex(0,true);},[d$2,u]);let St=useMemo(()=>{let a=h=>{ft(h);};return jsx(Wt,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:h=>h!==H,itemCount:m,loadMoreItems:async()=>{b$3||await N?.();},threshold:f$1,children:({onItemsRendered:h,ref:It})=>jsx(Rt,{ref:It,"data-testid":"VirtualTable_AutoSizer",children:({height:Vt,width:xt})=>jsx(f,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:q,height:l?m*u:Vt||0,width:xt||0,itemCount:m,itemSize:()=>u,onItemsRendered:h,setBackdropVisibility:a,areTotalRowsNotFillingHeight:l,scrollToIndex:y,overscanCount:5,isSheetView:d$2,listRef:E,style:{paddingBottom:"13px"},children:c$2})},O)})},[H,N,f$1,b$3,l,m,u,d$2,q,y,O]),c$3=C||v||M||B;return jsxs(Fragment,{children:[jsx(j,{children:jsxs(h,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":bt,"data-direction":w.direction,"data-are-all-rows-loaded":!!b$3,"data-is-fetching-next-page":!!D,"data-scroll-to-index":y,"data-is-loading":!!o,"data-is-error":!!_,"data-is-error-timeout":!!B,"data-table-mode":ut,height:"100%",dir:w.direction,showNoDataView:c$3,scrollable:true,children:[jsxs(a$1,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:c$3,compact:!c$3&&l,sx:{...mt},children:[g&&jsx(a$2,{"data-testid":"VirtualTable_TableHeader",columnsSorting:V,onColumnSort:x,columns:L,headerProps:S,showBackDrop:K,isSheetView:d$2,totalCount:r?.totalCount??0,selection:e,selectableCount:Et,getSelectableKeys:gt,isFilterEnabled:pt}),c$3?W||jsx(a$3,{error:s,tableEmpty:M,isTimeoutError:B,tableError:v,tableLoading:C,orderedColumns:L,triggerDataRefetch:dt,footerProps:r}):jsx(a$1,{"data-testid":"VirtualTable_TableWrapper",fixedHeight:l?m*u:void 0,sx:{width:"100%",minWidth:"fit-content"},children:jsx(b$1,{"data-testid":"VirtualTable_StyledBox",hidePadding:true,className:"list-wrapper",children:St})})]}),!c$3&&l&&!D&&jsx(b$2,{height:(m+1)*u,sandboxMode:r?.sandboxMode,"data-testid":"VirtualTable_TableLastItem"})]})}),r&&jsx(a$4,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:K,onPointerDown:Tt,selectedCount:e?.ids.length,...r}),ht]})}var jt=memo(wt);export{jt as a};
@@ -1 +1 @@
1
- import {c}from'./chunk-4XNFFIQO.js';import {a as a$3}from'./chunk-ER7YW2W3.js';import {a as a$2}from'./chunk-IINTJO6W.js';import {a as a$1}from'./chunk-L5XWNQ47.js';import {a}from'./chunk-Z33IXTQI.js';import {d,e}from'./chunk-3Y5GSYLE.js';import {c as c$1,d as d$1}from'./chunk-V5TKRMA3.js';import {Ng,Mg}from'./chunk-KKHLZJFX.js';import {memo,useState,useRef,useCallback,useMemo}from'react';import $ from'@mui/material/Box';import {jsxs,jsx}from'react/jsx-runtime';function ee({column:{header:n,id:o,tableViewId:v,align:r,headerStyle:_,sortable:p,filter:l,pinnable:z,width:i,order:M,pinned:a$4},colIndex:C,isFirst:A,isLast:s,isSelected:m,isDefaultPinned:B,onColumnSort:D,columnsSorting:L,onColumnPin:c$2,isPinnable:O,lastColumnId:U,onColumnClick:b,pinnedColumns:f,onStartResize:g,isResizing:W=false,resizingColumn:oe=null}){let j=c({id:o,tableViewId:v}),[q,F]=useState(null),h=useRef(null),{isFilterApplied:G}=a({filter:l}),d$2=useCallback(e=>f?.includes(e),[f]),u=useMemo(()=>d$2(o),[o,d$2]),J=e=>{d$2(e)?c$2?.(e,"unpin"):e===U?c$2?.(e,"end"):c$2?.(e,"start");},K=()=>{F(h.current);};return jsxs(d,{"data-id":o,component:"div","data-testid":"SheetViewVirtualTable_TableHeader_StyledCell","data-column-id":o,"data-column-width":i,"data-column-width-used":i,"data-column-align":r,"data-column-order":M,"data-column-header":typeof n=="string"?n:"component","data-column-sortable":!!p,"data-column-filterable":!!l,"data-column-pinned":u,isFirst:A,isLast:s,isSheetView:true,ref:h,onClick:e=>{e.target===e.currentTarget&&b?.(C,e,a$4);},sx:e=>({display:"flex",gap:e.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},..._}),children:[jsxs(e,{onClick:e=>{e.stopPropagation(),K();},children:[typeof n=="function"?n():jsx($,{"data-testid":"SheetViewTableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:n&&jsx(c$1,{"data-testid":"SheetViewVirtualTable_TableHeader_StyledCell_header_text",children:n})}),l&&jsx(a$1,{...l,anchorEl:q,setAnchorEl:F,isFilterApplied:G}),p&&jsx(a$2,{columnId:o,onColumnSort:D,columnsSorting:L,onClick:e=>{b?.(C,e,a$4);}}),O&&z&&!B&&!s&&jsx(d$1,{onClick:e=>{e.stopPropagation(),J(o);},title:u?"Unpin column":"Pin column",children:jsx("img",{src:u?Ng:Mg,alt:"pin-icon"})})]}),g&&a$4!=="end"&&jsx(a$3,{columnId:j,onStartResize:g,isResizing:W,isLast:s})]})}var Ce=memo(ee);export{Ce as a};
1
+ import {c}from'./chunk-EOUTH2QN.js';import {a as a$3}from'./chunk-ER7YW2W3.js';import {a as a$1}from'./chunk-L5XWNQ47.js';import {a as a$2}from'./chunk-IINTJO6W.js';import {a}from'./chunk-Z33IXTQI.js';import {d,e}from'./chunk-3KQ673K5.js';import {c as c$1,d as d$1}from'./chunk-V5TKRMA3.js';import {Ng,Mg}from'./chunk-KKHLZJFX.js';import {memo,useState,useRef,useCallback,useMemo}from'react';import $ from'@mui/material/Box';import {jsxs,jsx}from'react/jsx-runtime';function ee({column:{header:n,id:o,tableViewId:v,align:r,headerStyle:_,sortable:p,filter:l,pinnable:z,width:i,order:M,pinned:a$4},colIndex:C,isFirst:A,isLast:s,isSelected:m,isDefaultPinned:B,onColumnSort:D,columnsSorting:L,onColumnPin:c$2,isPinnable:O,lastColumnId:U,onColumnClick:b,pinnedColumns:f,onStartResize:g,isResizing:W=false,resizingColumn:oe=null}){let j=c({id:o,tableViewId:v}),[q,F]=useState(null),h=useRef(null),{isFilterApplied:G}=a({filter:l}),d$2=useCallback(e=>f?.includes(e),[f]),u=useMemo(()=>d$2(o),[o,d$2]),J=e=>{d$2(e)?c$2?.(e,"unpin"):e===U?c$2?.(e,"end"):c$2?.(e,"start");},K=()=>{F(h.current);};return jsxs(d,{"data-id":o,component:"div","data-testid":"SheetViewVirtualTable_TableHeader_StyledCell","data-column-id":o,"data-column-width":i,"data-column-width-used":i,"data-column-align":r,"data-column-order":M,"data-column-header":typeof n=="string"?n:"component","data-column-sortable":!!p,"data-column-filterable":!!l,"data-column-pinned":u,isFirst:A,isLast:s,isSheetView:true,ref:h,onClick:e=>{e.target===e.currentTarget&&b?.(C,e,a$4);},sx:e=>({display:"flex",gap:e.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},..._}),children:[jsxs(e,{onClick:e=>{e.stopPropagation(),K();},children:[typeof n=="function"?n():jsx($,{"data-testid":"SheetViewTableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:n&&jsx(c$1,{"data-testid":"SheetViewVirtualTable_TableHeader_StyledCell_header_text",children:n})}),l&&jsx(a$1,{...l,anchorEl:q,setAnchorEl:F,isFilterApplied:G}),p&&jsx(a$2,{columnId:o,onColumnSort:D,columnsSorting:L,onClick:e=>{b?.(C,e,a$4);}}),O&&z&&!B&&!s&&jsx(d$1,{onClick:e=>{e.stopPropagation(),J(o);},title:u?"Unpin column":"Pin column",children:jsx("img",{src:u?Ng:Mg,alt:"pin-icon"})})]}),g&&a$4!=="end"&&jsx(a$3,{columnId:j,onStartResize:g,isResizing:W,isLast:s})]})}var Ce=memo(ee);export{Ce as a};
@@ -1 +1 @@
1
- import {e,c,h,a as a$4}from'./chunk-AUFPDBTR.js';import {a as a$5}from'./chunk-6RPBNUB6.js';import {a as a$1}from'./chunk-7JY57GWS.js';import {a as a$3}from'./chunk-7KXCIFJC.js';import {a as a$2}from'./chunk-YCZRHRIB.js';import {a}from'./chunk-E7V37IBO.js';import {Lc}from'./chunk-KKHLZJFX.js';import {useId,useState}from'react';import {useFormContext}from'react-hook-form';import {jsx,jsxs}from'react/jsx-runtime';function F({name:r,options:E,...n}){let w=a(useId(),"select-with-accordion"),[i,d]=useState(null),[k,W]=useState(0),a$6=!!i,I=o=>{d(a$6?null:o.currentTarget);},p=()=>{d(null);},{watch:P,setValue:T}=useFormContext(),D=P(r);return jsx(a$1,{id:w,"data-testid":"SelectWithAccordion",open:a$6,anchorEl:i,onOpen:I,onClose:p,trigger:jsx(a$5,{name:r,options:[],...n,open:false}),hideArrow:true,listWrapperSx:{padding:0,margin:0},children:jsx(e,{onClick:o=>o.stopPropagation(),onMouseDown:o=>o.stopPropagation(),children:jsx(c,{"data-testid":"AccordionWrapper",children:E.map?.((o,l)=>{let c=k===l;return jsx(a$2,{expanded:c,onChange:e=>W(e?l:null),label:jsx(a$4,{variant:"caption",children:o.group}),content:(o?.options||[]).map((e,y)=>{let M=n?.isOptionEqualToValue?.(e,D);return jsxs(h,{onClick:()=>{T(r,e,{shouldDirty:true,shouldTouch:true,shouldValidate:true}),p();},children:[n.renderOption?.(e)||e.label,M&&jsx(a$3,{src:Lc,alt:"blue-check",sx:{width:14,height:10}})]},`${e.value}-${e.label}-${y}`)}),slotProps:{root:{sx:{flexShrink:0,border:0,...c&&{borderBottom:"1px solid #0000001A",borderTop:"1px solid #0000001A"}}},label:{sx:{backgroundColor:c?"#F8F8F8":"#ffffff",borderBottom:"1px solid #0000001A",minHeight:28}},content:{sx:{borderTop:"none"}}}},`${o.group}-group-${l}`)})})})})}var Q=F;export{Q as a};
1
+ import {e,c,h,a as a$4}from'./chunk-AUFPDBTR.js';import {a as a$5}from'./chunk-6RPBNUB6.js';import {a as a$1}from'./chunk-IG7OQ3CS.js';import {a as a$3}from'./chunk-7KXCIFJC.js';import {a as a$2}from'./chunk-YCZRHRIB.js';import {a}from'./chunk-E7V37IBO.js';import {Lc}from'./chunk-KKHLZJFX.js';import {useId,useState}from'react';import {useFormContext}from'react-hook-form';import {jsx,jsxs}from'react/jsx-runtime';function F({name:r,options:E,...n}){let w=a(useId(),"select-with-accordion"),[i,d]=useState(null),[k,W]=useState(0),a$6=!!i,I=o=>{d(a$6?null:o.currentTarget);},p=()=>{d(null);},{watch:P,setValue:T}=useFormContext(),D=P(r);return jsx(a$1,{id:w,"data-testid":"SelectWithAccordion",open:a$6,anchorEl:i,onOpen:I,onClose:p,trigger:jsx(a$5,{name:r,options:[],...n,open:false}),hideArrow:true,listWrapperSx:{padding:0,margin:0},children:jsx(e,{onClick:o=>o.stopPropagation(),onMouseDown:o=>o.stopPropagation(),children:jsx(c,{"data-testid":"AccordionWrapper",children:E.map?.((o,l)=>{let c=k===l;return jsx(a$2,{expanded:c,onChange:e=>W(e?l:null),label:jsx(a$4,{variant:"caption",children:o.group}),content:(o?.options||[]).map((e,y)=>{let M=n?.isOptionEqualToValue?.(e,D);return jsxs(h,{onClick:()=>{T(r,e,{shouldDirty:true,shouldTouch:true,shouldValidate:true}),p();},children:[n.renderOption?.(e)||e.label,M&&jsx(a$3,{src:Lc,alt:"blue-check",sx:{width:14,height:10}})]},`${e.value}-${e.label}-${y}`)}),slotProps:{root:{sx:{flexShrink:0,border:0,...c&&{borderBottom:"1px solid #0000001A",borderTop:"1px solid #0000001A"}}},label:{sx:{backgroundColor:c?"#F8F8F8":"#ffffff",borderBottom:"1px solid #0000001A",minHeight:28}},content:{sx:{borderTop:"none"}}}},`${o.group}-group-${l}`)})})})})}var Q=F;export{Q as a};
@@ -1 +1 @@
1
- import {a as a$a}from'./chunk-TLNORDI2.js';import {a as a$9}from'./chunk-MHVFI2LZ.js';import {a as a$4}from'./chunk-KOAPBCA7.js';import {a as a$6}from'./chunk-G2QF2U45.js';import {a as a$7}from'./chunk-OBMUCQ6I.js';import {a as a$1}from'./chunk-HMB62NGL.js';import {a as a$b}from'./chunk-GJSZMH5V.js';import {c,s,b as b$2,a as a$5,l,o,k,n,g,i,m,p,f}from'./chunk-YI7J2QHY.js';import {b as b$1}from'./chunk-EAOIWTEA.js';import {a as a$3}from'./chunk-VFYBHLNW.js';import {a}from'./chunk-E7V37IBO.js';import {b}from'./chunk-AWMGSFZV.js';import {a as a$2}from'./chunk-7USW76OQ.js';import'./chunk-6J4HOSHE.js';import {Gd,Fd,oa,ma,pa,na}from'./chunk-KKHLZJFX.js';import {useId,useState,useRef,useMemo,useEffect}from'react';import {Dialog,Box,Typography}from'@mui/material';import a$8 from'@uiw/react-json-view';import {motion,AnimatePresence}from'framer-motion';import {Resizable}from're-resizable';import it from'react-draggable';import {jsx,jsxs}from'react/jsx-runtime';var R=400,y=.5;function ot({index:te,json:l$1,requestJson:b$3={},isWindowMinimized:qe,windowOrder:Ee,onClose:He,onJsonRequestOpen:De,onJsonSearch:ie,onJsonCopy:oe,onJsonIdCopy:ne,onJsonNodesMinimize:re,onJsonNodesMaximize:se}){let Oe=a(useId(),"json-viewer"),[t,ae]=useState(false),[le,Ae]=useState(false),[P,_e]=useState(false),[Me,pe]=useState(false),[de,Je]=useState({width:0,height:0}),[N,f$1]=useState(true),[n$1,Ve]=useState(false),[z,Fe]=useState(true),[Le,ce]=useState(false),[v,ue]=useState(R),[p$1,Qe]=useState(""),[d,Ge]=useState(""),fe=useRef(null),he=useRef(null),C=a$1(fe,p$1),I=a$1(he,d),B=useRef(),{onMouseEnter:Ke,onMouseLeave:Xe,isHovered:$e}=a$2(),{height:q,width:w}=a$3(),[me,Ye]=useState({x:w/2+R/4-te*20,y:q/2-c/2+te*30}),T=useRef(),Ze=useMemo(()=>Object.keys(l$1)?.length,[l$1]),ge=b(),c$1=Number(T.current?.state?.width)||R,xe=i=>{setTimeout(()=>{navigator.clipboard.writeText(i||"").then(()=>{});},10);},ye=useMemo(()=>Object.keys(b$3)?.length,[b$3]),be=useMemo(()=>b$1(l$1,p$1),[l$1,p$1]),we=useMemo(()=>b$1(b$3,d),[b$3,d]);return useEffect(()=>{if(B.current&&clearTimeout(B.current),!n$1){B.current=setTimeout(()=>{ue(c$1);},y*1e3);return}ue(c$1);},[n$1,c$1]),jsx(it,{disabled:t,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultPosition:{x:w/2-R/4,y:q/2-c/2},position:{x:w-me.x,y:me.y},onStop:(i,o)=>{Ye({x:w-o.x,y:o.y});},bounds:{top:10},children:jsx(Dialog,{id:Oe,"data-testid":"JSONViewer",disableEnforceFocus:true,sx:{backgroundColor:"transparent",zIndex:(Ee||0)+3+(t?1:0),...qe&&{display:"none"},transform:"translate(180px, 14px)",...!t&&{width:ge?de?.width||v:"fit-content",height:ge?de?.height||c:"fit-content"},...t&&{transform:"none !important"}},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",width:le?"fit-content":v,height:le?"fit-content":c,...t&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{ae(false),f$1(true),setTimeout(()=>{f$1(false);},y*1e3);},open:true,hideBackdrop:true,fullScreen:t,"aria-labelledby":"draggable-dialog-title",children:jsx(Resizable,{enable:{left:false,right:true,bottomRight:true,bottom:true},maxHeight:q-40,maxWidth:w,minWidth:t?"100vw":v,minHeight:t?"100vh":"300px",ref:i=>{T.current=i;},onResizeStart:()=>{f$1(true);},onResizeStop:()=>{f$1(false);},onResize:(i,o,m)=>{Ae(true),Je({width:m.offsetWidth,height:m.offsetHeight});},defaultSize:{width:v,height:c},style:{background:"transparent",...t&&{height:"100% !important",width:"100% !important",flex:1},...t&&{position:"relative"}},children:jsxs(s,{children:[jsx(motion.div,{style:{...t&&{height:b$2,position:"fixed",zIndex:1e3}},animate:{width:n$1?c$1*2:c$1,...t&&{width:"100vw"},...!t&&{transform:`translateX(${n$1?-c$1:0}px)`}},transition:{duration:y,...N&&{duration:0}},children:jsx(a$4,{title:n$1?"JSON Request & Response":"JSON Response",onClose:()=>He(),onMaximize:()=>{ae(i=>!i),f$1(true),setTimeout(()=>{f$1(false);},y*1e3);},isHovered:$e,onMouseHover:Ke,onMouseLeave:Xe,maximized:t,id:"draggable-dialog-title",onRequestClick:()=>{Ve(i=>!i),f$1(false),n$1||(De?.(),T.current?.updateSize({width:R,height:c}));},isRequestExpanded:n$1,showRequestIcon:!!ye})}),jsxs(Box,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",height:t?`calc(100vh - ${a$5}px)`:(Number(T.current?.state?.height)||c)-a$5+5,background:"transparent",position:"fixed",width:"100%"},children:[jsx(AnimatePresence,{children:n$1&&jsxs(motion.div,{initial:{left:t?"50vw":0,...t&&{position:"relative",left:"-50vw"}},animate:{left:t?"50vw":-c$1,...t&&{position:"relative",left:"0"},...!n$1&&{left:0}},exit:{left:t?"50vw":0,...t&&{position:"relative",left:"0"}},transition:{duration:y,...N&&{duration:0}},ref:he,style:{flex:1,backgroundColor:"#E7E7E7B2",backdropFilter:"blur(12px)",height:t?"100vh":"100%",overflowY:"auto",position:"absolute",width:t?"100vw":c$1,zIndex:19,display:"flex",flexDirection:"column",borderBottomLeftRadius:"12px"},onScroll:()=>{ce(true),setTimeout(()=>{ce(false);},2e3);},children:[jsxs(l,{isMaximized:t,isScrollingRequest:Le,sx:{background:"#E7E7E7B2"},isRequestShown:n$1,children:[jsx(o,{children:jsx(k,{variant:"subtitle1",children:"API Request"})}),jsxs(n,{children:[jsx(a$6,{value:d,onChange:Ge,onOpen:()=>ie?.(),currentIndex:I.currentIndex,totalCount:I.totalCount,onPrev:I.goPrev,onNext:I.goNext}),jsx(a$7,{disableAnimation:true,onClick:()=>{z?se?.():re?.(),Fe(i=>!i);},icon:z?Gd:Fd}),jsx(a$7,{onClick:()=>{oe?.(),navigator.clipboard.writeText(JSON.stringify(l$1)).then(()=>{});},icon:oa}),jsx(a$7,{onClick:()=>{ne?.(),navigator.clipboard.writeText(l$1?.id||"").then(()=>{});},icon:ma})]})]}),d.trim()&&we===null?jsx(Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flex:1,height:"100%"},children:jsx(Typography,{variant:"body2",sx:{fontSize:"0.75rem",color:"text.secondary"},children:"No Data Found"})}):jsxs(a$8,{value:we??b$3,style:g,displayDataTypes:false,collapsed:d.trim()?void 0:z?1:void 0,onCopied:(i,o)=>{typeof o=="string"&&xe(o);},enableClipboard:false,children:[jsx(a$8.String,{render:a$9(d)}),jsx(a$8.KeyName,{render:a$a(d)}),jsx(a$8.CountInfo,{render:(i,{keyName:o})=>{if(!o)return jsx("span",{})}}),jsx(a$8.Copied,{render:({"data-copied":i$1,style:o,onClick:m},{keyName:E})=>E?jsxs(i,{style:o,onClick:H=>{m?.(H);},children:[jsx(AnimatePresence,{children:i$1&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:pa,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{children:!i$1&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:na,alt:"icon"},"id-icon")})]}):jsx("span",{})})]}),jsx(AnimatePresence,{children:n$1&&jsx(m,{sx:{flex:1,height:a$5,left:0},children:jsx(a$b,{sx:{paddingLeft:"12px",borderBottomRightRadius:"0",background:"#f8f9fb",flex:1},totalCount:ye})})})]})}),jsxs(p,{ref:fe,isMaximized:t,isRequestShown:n$1,style:{left:0,maxHeight:"100vw"},initial:{...t&&{width:"100vw",left:0}},animate:{...t&&{position:"absolute",left:n$1?"50vw":"0"}},transition:{duration:y,...N&&{duration:0}},onScroll:()=>{pe(true),setTimeout(()=>{pe(false);},2e3);},children:[jsxs(l,{isMaximized:t,isScrollingRequest:Me,isRequestShown:n$1,children:[jsx(o,{children:jsx(k,{variant:"subtitle1",children:"API Response"})}),jsxs(n,{children:[jsx(a$6,{value:p$1,onChange:Qe,onOpen:()=>ie?.(),currentIndex:C.currentIndex,totalCount:C.totalCount,onPrev:C.goPrev,onNext:C.goNext}),jsx(a$7,{disableAnimation:true,onClick:()=>{P?se?.():re?.(),_e(i=>!i);},icon:P?Gd:Fd}),jsx(a$7,{onClick:()=>{oe?.(),navigator.clipboard.writeText(JSON.stringify(l$1,null,2)).then(()=>{});},icon:oa}),jsx(a$7,{onClick:()=>{ne?.(),navigator.clipboard.writeText(l$1?.id||"").then(()=>{});},icon:ma})]})]}),p$1.trim()&&be===null?jsx(Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flex:1,height:"100%"},children:jsx(Typography,{variant:"body2",sx:{fontSize:"0.75rem",color:"text.secondary"},children:"No Data Found"})}):jsxs(a$8,{value:be??l$1,style:f,displayDataTypes:false,collapsed:p$1.trim()?void 0:P?1:void 0,onCopied:(i,o)=>{typeof o=="string"&&xe(o);},children:[jsx(a$8.String,{render:a$9(p$1)}),jsx(a$8.KeyName,{render:a$a(p$1)}),jsx(a$8.CountInfo,{render:(i,{keyName:o})=>{if(!o)return jsx("span",{})}}),jsx(a$8.Copied,{render:({"data-copied":i$1,style:o,onClick:m},{keyName:E})=>E?jsxs(i,{style:o,onClick:H=>{m?.(H);},children:[jsx(AnimatePresence,{children:i$1&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:pa,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{children:!i$1&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:na,alt:"icon"},"id-icon")})]}):jsx("span",{})})]}),jsx(m,{sx:{flex:1,height:a$5},children:jsx(a$b,{sx:{borderBottomLeftRadius:n$1?0:"12px",background:"#f8f9fb",flex:1},totalCount:Ze})})]})]})]})})})})}export{ot as a};
1
+ import {a as a$a}from'./chunk-TLNORDI2.js';import {a as a$9}from'./chunk-MHVFI2LZ.js';import {a as a$1}from'./chunk-HMB62NGL.js';import {a as a$4}from'./chunk-KOAPBCA7.js';import {a as a$6}from'./chunk-G2QF2U45.js';import {a as a$7}from'./chunk-OBMUCQ6I.js';import {a as a$b}from'./chunk-GJSZMH5V.js';import {c,s,b as b$2,a as a$5,l,o,k,n,g,i,m,p,f}from'./chunk-YI7J2QHY.js';import {b as b$1}from'./chunk-EAOIWTEA.js';import {a as a$3}from'./chunk-VFYBHLNW.js';import {a}from'./chunk-E7V37IBO.js';import {b}from'./chunk-AWMGSFZV.js';import {a as a$2}from'./chunk-7USW76OQ.js';import'./chunk-6J4HOSHE.js';import {Gd,Fd,oa,ma,pa,na}from'./chunk-KKHLZJFX.js';import {useId,useState,useRef,useMemo,useEffect}from'react';import {Dialog,Box,Typography}from'@mui/material';import a$8 from'@uiw/react-json-view';import {motion,AnimatePresence}from'framer-motion';import {Resizable}from're-resizable';import it from'react-draggable';import {jsx,jsxs}from'react/jsx-runtime';var R=400,y=.5;function ot({index:te,json:l$1,requestJson:b$3={},isWindowMinimized:qe,windowOrder:Ee,onClose:He,onJsonRequestOpen:De,onJsonSearch:ie,onJsonCopy:oe,onJsonIdCopy:ne,onJsonNodesMinimize:re,onJsonNodesMaximize:se}){let Oe=a(useId(),"json-viewer"),[t,ae]=useState(false),[le,Ae]=useState(false),[P,_e]=useState(false),[Me,pe]=useState(false),[de,Je]=useState({width:0,height:0}),[N,f$1]=useState(true),[n$1,Ve]=useState(false),[z,Fe]=useState(true),[Le,ce]=useState(false),[v,ue]=useState(R),[p$1,Qe]=useState(""),[d,Ge]=useState(""),fe=useRef(null),he=useRef(null),C=a$1(fe,p$1),I=a$1(he,d),B=useRef(),{onMouseEnter:Ke,onMouseLeave:Xe,isHovered:$e}=a$2(),{height:q,width:w}=a$3(),[me,Ye]=useState({x:w/2+R/4-te*20,y:q/2-c/2+te*30}),T=useRef(),Ze=useMemo(()=>Object.keys(l$1)?.length,[l$1]),ge=b(),c$1=Number(T.current?.state?.width)||R,xe=i=>{setTimeout(()=>{navigator.clipboard.writeText(i||"").then(()=>{});},10);},ye=useMemo(()=>Object.keys(b$3)?.length,[b$3]),be=useMemo(()=>b$1(l$1,p$1),[l$1,p$1]),we=useMemo(()=>b$1(b$3,d),[b$3,d]);return useEffect(()=>{if(B.current&&clearTimeout(B.current),!n$1){B.current=setTimeout(()=>{ue(c$1);},y*1e3);return}ue(c$1);},[n$1,c$1]),jsx(it,{disabled:t,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultPosition:{x:w/2-R/4,y:q/2-c/2},position:{x:w-me.x,y:me.y},onStop:(i,o)=>{Ye({x:w-o.x,y:o.y});},bounds:{top:10},children:jsx(Dialog,{id:Oe,"data-testid":"JSONViewer",disableEnforceFocus:true,sx:{backgroundColor:"transparent",zIndex:(Ee||0)+3+(t?1:0),...qe&&{display:"none"},transform:"translate(180px, 14px)",...!t&&{width:ge?de?.width||v:"fit-content",height:ge?de?.height||c:"fit-content"},...t&&{transform:"none !important"}},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",width:le?"fit-content":v,height:le?"fit-content":c,...t&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{ae(false),f$1(true),setTimeout(()=>{f$1(false);},y*1e3);},open:true,hideBackdrop:true,fullScreen:t,"aria-labelledby":"draggable-dialog-title",children:jsx(Resizable,{enable:{left:false,right:true,bottomRight:true,bottom:true},maxHeight:q-40,maxWidth:w,minWidth:t?"100vw":v,minHeight:t?"100vh":"300px",ref:i=>{T.current=i;},onResizeStart:()=>{f$1(true);},onResizeStop:()=>{f$1(false);},onResize:(i,o,m)=>{Ae(true),Je({width:m.offsetWidth,height:m.offsetHeight});},defaultSize:{width:v,height:c},style:{background:"transparent",...t&&{height:"100% !important",width:"100% !important",flex:1},...t&&{position:"relative"}},children:jsxs(s,{children:[jsx(motion.div,{style:{...t&&{height:b$2,position:"fixed",zIndex:1e3}},animate:{width:n$1?c$1*2:c$1,...t&&{width:"100vw"},...!t&&{transform:`translateX(${n$1?-c$1:0}px)`}},transition:{duration:y,...N&&{duration:0}},children:jsx(a$4,{title:n$1?"JSON Request & Response":"JSON Response",onClose:()=>He(),onMaximize:()=>{ae(i=>!i),f$1(true),setTimeout(()=>{f$1(false);},y*1e3);},isHovered:$e,onMouseHover:Ke,onMouseLeave:Xe,maximized:t,id:"draggable-dialog-title",onRequestClick:()=>{Ve(i=>!i),f$1(false),n$1||(De?.(),T.current?.updateSize({width:R,height:c}));},isRequestExpanded:n$1,showRequestIcon:!!ye})}),jsxs(Box,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",height:t?`calc(100vh - ${a$5}px)`:(Number(T.current?.state?.height)||c)-a$5+5,background:"transparent",position:"fixed",width:"100%"},children:[jsx(AnimatePresence,{children:n$1&&jsxs(motion.div,{initial:{left:t?"50vw":0,...t&&{position:"relative",left:"-50vw"}},animate:{left:t?"50vw":-c$1,...t&&{position:"relative",left:"0"},...!n$1&&{left:0}},exit:{left:t?"50vw":0,...t&&{position:"relative",left:"0"}},transition:{duration:y,...N&&{duration:0}},ref:he,style:{flex:1,backgroundColor:"#E7E7E7B2",backdropFilter:"blur(12px)",height:t?"100vh":"100%",overflowY:"auto",position:"absolute",width:t?"100vw":c$1,zIndex:19,display:"flex",flexDirection:"column",borderBottomLeftRadius:"12px"},onScroll:()=>{ce(true),setTimeout(()=>{ce(false);},2e3);},children:[jsxs(l,{isMaximized:t,isScrollingRequest:Le,sx:{background:"#E7E7E7B2"},isRequestShown:n$1,children:[jsx(o,{children:jsx(k,{variant:"subtitle1",children:"API Request"})}),jsxs(n,{children:[jsx(a$6,{value:d,onChange:Ge,onOpen:()=>ie?.(),currentIndex:I.currentIndex,totalCount:I.totalCount,onPrev:I.goPrev,onNext:I.goNext}),jsx(a$7,{disableAnimation:true,onClick:()=>{z?se?.():re?.(),Fe(i=>!i);},icon:z?Gd:Fd}),jsx(a$7,{onClick:()=>{oe?.(),navigator.clipboard.writeText(JSON.stringify(l$1)).then(()=>{});},icon:oa}),jsx(a$7,{onClick:()=>{ne?.(),navigator.clipboard.writeText(l$1?.id||"").then(()=>{});},icon:ma})]})]}),d.trim()&&we===null?jsx(Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flex:1,height:"100%"},children:jsx(Typography,{variant:"body2",sx:{fontSize:"0.75rem",color:"text.secondary"},children:"No Data Found"})}):jsxs(a$8,{value:we??b$3,style:g,displayDataTypes:false,collapsed:d.trim()?void 0:z?1:void 0,onCopied:(i,o)=>{typeof o=="string"&&xe(o);},enableClipboard:false,children:[jsx(a$8.String,{render:a$9(d)}),jsx(a$8.KeyName,{render:a$a(d)}),jsx(a$8.CountInfo,{render:(i,{keyName:o})=>{if(!o)return jsx("span",{})}}),jsx(a$8.Copied,{render:({"data-copied":i$1,style:o,onClick:m},{keyName:E})=>E?jsxs(i,{style:o,onClick:H=>{m?.(H);},children:[jsx(AnimatePresence,{children:i$1&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:pa,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{children:!i$1&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:na,alt:"icon"},"id-icon")})]}):jsx("span",{})})]}),jsx(AnimatePresence,{children:n$1&&jsx(m,{sx:{flex:1,height:a$5,left:0},children:jsx(a$b,{sx:{paddingLeft:"12px",borderBottomRightRadius:"0",background:"#f8f9fb",flex:1},totalCount:ye})})})]})}),jsxs(p,{ref:fe,isMaximized:t,isRequestShown:n$1,style:{left:0,maxHeight:"100vw"},initial:{...t&&{width:"100vw",left:0}},animate:{...t&&{position:"absolute",left:n$1?"50vw":"0"}},transition:{duration:y,...N&&{duration:0}},onScroll:()=>{pe(true),setTimeout(()=>{pe(false);},2e3);},children:[jsxs(l,{isMaximized:t,isScrollingRequest:Me,isRequestShown:n$1,children:[jsx(o,{children:jsx(k,{variant:"subtitle1",children:"API Response"})}),jsxs(n,{children:[jsx(a$6,{value:p$1,onChange:Qe,onOpen:()=>ie?.(),currentIndex:C.currentIndex,totalCount:C.totalCount,onPrev:C.goPrev,onNext:C.goNext}),jsx(a$7,{disableAnimation:true,onClick:()=>{P?se?.():re?.(),_e(i=>!i);},icon:P?Gd:Fd}),jsx(a$7,{onClick:()=>{oe?.(),navigator.clipboard.writeText(JSON.stringify(l$1,null,2)).then(()=>{});},icon:oa}),jsx(a$7,{onClick:()=>{ne?.(),navigator.clipboard.writeText(l$1?.id||"").then(()=>{});},icon:ma})]})]}),p$1.trim()&&be===null?jsx(Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flex:1,height:"100%"},children:jsx(Typography,{variant:"body2",sx:{fontSize:"0.75rem",color:"text.secondary"},children:"No Data Found"})}):jsxs(a$8,{value:be??l$1,style:f,displayDataTypes:false,collapsed:p$1.trim()?void 0:P?1:void 0,onCopied:(i,o)=>{typeof o=="string"&&xe(o);},children:[jsx(a$8.String,{render:a$9(p$1)}),jsx(a$8.KeyName,{render:a$a(p$1)}),jsx(a$8.CountInfo,{render:(i,{keyName:o})=>{if(!o)return jsx("span",{})}}),jsx(a$8.Copied,{render:({"data-copied":i$1,style:o,onClick:m},{keyName:E})=>E?jsxs(i,{style:o,onClick:H=>{m?.(H);},children:[jsx(AnimatePresence,{children:i$1&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:pa,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{children:!i$1&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:na,alt:"icon"},"id-icon")})]}):jsx("span",{})})]}),jsx(m,{sx:{flex:1,height:a$5},children:jsx(a$b,{sx:{borderBottomLeftRadius:n$1?0:"12px",background:"#f8f9fb",flex:1},totalCount:Ze})})]})]})]})})})})}export{ot as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-VJSWLOI5.js';var e=a;export{e as a};
@@ -1 +1 @@
1
- import {c as c$1}from'./chunk-3Y5GSYLE.js';import {a as a$1}from'./chunk-HYRTHG7D.js';import {a}from'./chunk-AIWMFYXH.js';import {memo}from'react';import {jsx}from'react/jsx-runtime';function t({error:l,tableEmpty:i,isTimeoutError:n,tableError:d,tableLoading:b,orderedColumns:m,triggerDataRefetch:u,footerProps:p}){return b?jsx(c$1,{"data-testid":"VirtualTable_SolidBackground",children:jsx(a,{"data-testid":"VirtualTable_TableLoading",columns:m,isLoading:true})}):jsx(a$1,{isTimeoutError:n,tableEmpty:i,tableError:d,sandboxMode:p?.sandboxMode,error:l,triggerDataRefetch:u})}t.displayName="TableNoData";var c=memo(t);export{c as a};
1
+ import {c as c$1}from'./chunk-3KQ673K5.js';import {a as a$1}from'./chunk-HYRTHG7D.js';import {a}from'./chunk-AIWMFYXH.js';import {memo}from'react';import {jsx}from'react/jsx-runtime';function t({error:l,tableEmpty:i,isTimeoutError:n,tableError:d,tableLoading:b,orderedColumns:m,triggerDataRefetch:u,footerProps:p}){return b?jsx(c$1,{"data-testid":"VirtualTable_SolidBackground",children:jsx(a,{"data-testid":"VirtualTable_TableLoading",columns:m,isLoading:true})}):jsx(a$1,{isTimeoutError:n,tableEmpty:i,tableError:d,sandboxMode:p?.sandboxMode,error:l,triggerDataRefetch:u})}t.displayName="TableNoData";var c=memo(t);export{c as a};
@@ -1 +1 @@
1
- import {a as a$2}from'./chunk-GX56ZYL5.js';import {a as a$3}from'./chunk-ASTLNNZQ.js';import {a}from'./chunk-24OUI4D5.js';import {a as a$1}from'./chunk-6SOJCRAV.js';import o,{useRef,useCallback,useEffect}from'react';import {VariableSizeList}from'react-window';import {jsx}from'react/jsx-runtime';var N=o.forwardRef(({itemData:s,children:R,setBackdropVisibility:z,scrollToIndex:r,listRef:T,onScroll:u,clearBackdropVisibilityTimeout:k,...O},P)=>{let{handleBackDropVisibility:f,clearBackdropVisibility:d,clearTimer:b}=a({setBackdropVisibility:z,clearBackdropVisibilityTimeout:k}),a$4=useRef(0),t=useRef(void 0),i=useRef(false),y=useRef(null),e=P||T||y,l=useCallback(()=>(b(),t.current!==void 0&&e.current?(i.current=false,a$4.current=t.current,t.current=void 0,f(),e.current?.scrollTo?.(a$4.current),true):(d(),false)),[d,b,f,e]),E=o.useCallback(c=>{t.current=c.currentTarget.scrollTop,i.current||(i.current=true,l());},[l]);useEffect(()=>{(r||0)>=0&&!Number.isNaN(r)&&r!==void 0&&e.current?.scrollTo&&e.current?.scrollToItem(r,"center");},[r,e]);let v=o.useMemo(()=>({...s,renderedScrollTopRef:a$4}),[s]),B=o.useCallback(c=>{u?.(c),i.current=l();},[l,u]);return jsx(a$1,{value:E,children:jsx(VariableSizeList,{ref:e,"data-testid":"VirtualScrollList",itemData:v,outerElementType:a$3,innerElementType:a$2,...O,onScroll:B,children:R})})}),A=N;export{A as a};
1
+ import {a as a$3}from'./chunk-ASTLNNZQ.js';import {a as a$2}from'./chunk-GX56ZYL5.js';import {a}from'./chunk-24OUI4D5.js';import {a as a$1}from'./chunk-6SOJCRAV.js';import o,{useRef,useCallback,useEffect}from'react';import {VariableSizeList}from'react-window';import {jsx}from'react/jsx-runtime';var N=o.forwardRef(({itemData:s,children:R,setBackdropVisibility:z,scrollToIndex:r,listRef:T,onScroll:u,clearBackdropVisibilityTimeout:k,...O},P)=>{let{handleBackDropVisibility:f,clearBackdropVisibility:d,clearTimer:b}=a({setBackdropVisibility:z,clearBackdropVisibilityTimeout:k}),a$4=useRef(0),t=useRef(void 0),i=useRef(false),y=useRef(null),e=P||T||y,l=useCallback(()=>(b(),t.current!==void 0&&e.current?(i.current=false,a$4.current=t.current,t.current=void 0,f(),e.current?.scrollTo?.(a$4.current),true):(d(),false)),[d,b,f,e]),E=o.useCallback(c=>{t.current=c.currentTarget.scrollTop,i.current||(i.current=true,l());},[l]);useEffect(()=>{(r||0)>=0&&!Number.isNaN(r)&&r!==void 0&&e.current?.scrollTo&&e.current?.scrollToItem(r,"center");},[r,e]);let v=o.useMemo(()=>({...s,renderedScrollTopRef:a$4}),[s]),B=o.useCallback(c=>{u?.(c),i.current=l();},[l,u]);return jsx(a$1,{value:E,children:jsx(VariableSizeList,{ref:e,"data-testid":"VirtualScrollList",itemData:v,outerElementType:a$3,innerElementType:a$2,...O,onScroll:B,children:R})})}),A=N;export{A as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-VBJNWR73.js';import {a}from'./chunk-E7V37IBO.js';import {le}from'./chunk-KKHLZJFX.js';import {useId}from'react';import {jsxs,jsx}from'react/jsx-runtime';var T=({text:t,startLength:p=8,endLength:r=4,chipIndex:d,copyText:i,selectionProps:a$2})=>{let m=a(useId(),"masked-text"),n=t.slice(0,p),c=t.slice(t.length-r);return jsxs(a$1,{id:m,"data-testid":"MaskedText",chipIndex:d,copyText:i,selectionProps:a$2,children:[n,jsx("img",{src:le,alt:"passwordDots"}),c]})},u=T;export{u as a};
1
+ import {a as a$1}from'./chunk-KQW5RPNP.js';import {a}from'./chunk-E7V37IBO.js';import {le}from'./chunk-KKHLZJFX.js';import {useId}from'react';import {jsxs,jsx}from'react/jsx-runtime';var T=({text:t,startLength:p=8,endLength:r=4,chipIndex:d,copyText:i,selectionProps:a$2})=>{let m=a(useId(),"masked-text"),n=t.slice(0,p),c=t.slice(t.length-r);return jsxs(a$1,{id:m,"data-testid":"MaskedText",chipIndex:d,copyText:i,selectionProps:a$2,children:[n,jsx("img",{src:le,alt:"passwordDots"}),c]})},u=T;export{u as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-JMEAIA3M.js';import {d}from'./chunk-R2TGB4DU.js';var C=e=>{if(typeof e=="string"){let t=parseInt(e,10);return isNaN(t)?a.DEFAULT_WIDTH:t}return e||a.DEFAULT_WIDTH},g=e=>Math.max(a.MIN_WIDTH,Math.min(a.MAX_WIDTH,e)),h=e=>{let t=String(e.id);return e.tableViewId?`${t}_${e.tableViewId}`:t},D=(e,t)=>e.map(i=>{let o=h(i);return {...i,width:t[o]||i.width}}),v=(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="";},M=(e,t,i,o,m,b,d$1,u,l)=>c=>{try{let n=l.current-i,s=g(t+n);d$1(r=>({...r,columnWidths:{...r.columnWidths,[e]:s},isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),o&&m&&(d(o,m,String(e),s)||console.warn(`Failed to persist column width for ${e}`)),b?.(e,s),c.stopPropagation(),c.preventDefault(),u();}catch(n){console.error("Error in mouse up handler:",n),u();}},x=(e,t,i,o,m,b,d,u,l)=>c=>{try{let n=c.clientX;if(o?.current){let r=o.current.getBoundingClientRect(),p=r.left,R=r.right;b==="start"&&m===1&&(R=R-38),n=Math.max(p,Math.min(R,c.clientX));}d&&(d.current=n);let s=n;if(u&&l){let r=u.current-l.current+a.MIN_WIDTH;n<r&&(s=r);}e(r=>({...r,resizeIndicatorX:s})),t({x:s,y:i.current});}catch(n){console.error("Error in mouse move handler:",n);}},T=(e,t)=>e[t]||a.DEFAULT_WIDTH,W=(e,t,i,o,m,b,d)=>(u,l,c)=>n=>{M(u,l,c,e,t,i,o,m,d)(n),setTimeout(()=>{b.current=false;},0);};export{C as a,g as b,h as c,D as d,v as e,M as f,x as g,T as h,W as i};
1
+ import {a}from'./chunk-JMEAIA3M.js';import {d}from'./chunk-NHBPJEEQ.js';var C=e=>{if(typeof e=="string"){let t=parseInt(e,10);return isNaN(t)?a.DEFAULT_WIDTH:t}return e||a.DEFAULT_WIDTH},g=e=>Math.max(a.MIN_WIDTH,Math.min(a.MAX_WIDTH,e)),h=e=>{let t=String(e.id);return e.tableViewId?`${t}_${e.tableViewId}`:t},D=(e,t)=>e.map(i=>{let o=h(i);return {...i,width:t[o]||i.width}}),v=(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="";},M=(e,t,i,o,m,b,d$1,u,l)=>c=>{try{let n=l.current-i,s=g(t+n);d$1(r=>({...r,columnWidths:{...r.columnWidths,[e]:s},isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),o&&m&&(d(o,m,String(e),s)||console.warn(`Failed to persist column width for ${e}`)),b?.(e,s),c.stopPropagation(),c.preventDefault(),u();}catch(n){console.error("Error in mouse up handler:",n),u();}},x=(e,t,i,o,m,b,d,u,l)=>c=>{try{let n=c.clientX;if(o?.current){let r=o.current.getBoundingClientRect(),p=r.left,R=r.right;b==="start"&&m===1&&(R=R-38),n=Math.max(p,Math.min(R,c.clientX));}d&&(d.current=n);let s=n;if(u&&l){let r=u.current-l.current+a.MIN_WIDTH;n<r&&(s=r);}e(r=>({...r,resizeIndicatorX:s})),t({x:s,y:i.current});}catch(n){console.error("Error in mouse move handler:",n);}},T=(e,t)=>e[t]||a.DEFAULT_WIDTH,W=(e,t,i,o,m,b,d)=>(u,l,c)=>n=>{M(u,l,c,e,t,i,o,m,d)(n),setTimeout(()=>{b.current=false;},0);};export{C as a,g as b,h as c,D as d,v as e,M as f,x as g,T as h,W as i};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-ZB3E7D7Q.js';import {a as a$2}from'./chunk-VBJNWR73.js';import {a}from'./chunk-E7V37IBO.js';import {memo,useId}from'react';import {jsx}from'react/jsx-runtime';function r({title:t,ref:n,...h}){let s=a(useId(),"authentication-type-chip"),i=a$1[t];return jsx(a$2,{id:s,"data-testid":"AuthenticationTypeChip",chipStyles:i?.styles,ref:n,...h,children:i?.text||t})}var A=memo(r);export{A as a};
1
+ import {a as a$1}from'./chunk-ZB3E7D7Q.js';import {a as a$2}from'./chunk-KQW5RPNP.js';import {a}from'./chunk-E7V37IBO.js';import {memo,useId}from'react';import {jsx}from'react/jsx-runtime';function r({title:t,ref:n,...h}){let s=a(useId(),"authentication-type-chip"),i=a$1[t];return jsx(a$2,{id:s,"data-testid":"AuthenticationTypeChip",chipStyles:i?.styles,ref:n,...h,children:i?.text||t})}var A=memo(r);export{A as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-EYX26LHW.js';import {f as f$1}from'./chunk-BJGGYXBI.js';import {a as a$3}from'./chunk-7KXCIFJC.js';import {i}from'./chunk-Q46VOV4Q.js';import {a as a$2}from'./chunk-J5VDJ4QR.js';import {a as a$1}from'./chunk-VBJNWR73.js';import {f}from'./chunk-LXDQHONL.js';import {b}from'./chunk-EK7ODJWE.js';import {useTheme}from'@mui/material/styles';import {useTranslation}from'react-i18next';import {jsx}from'react/jsx-runtime';var l=b(a(),1);var _=({authorizedStatus:e,isTextShown:m,iconStyles:u,tableMode:c,chipIndex:d=0,selectionProps:h={}})=>{let{t:S}=useTranslation(),T=useTheme(),t=S((0, l.default)(e));return f(c)?jsx(a$1,{copyText:t,chipIndex:d,selectionProps:h,children:t}):jsx(a$2,{title:t,children:m?jsx(i,{"data-testid":"StatusCell_AuthorizedStatusLabel",sx:{color:T.palette.info.dark},children:t}):jsx(a$3,{src:f$1[e],alt:"authorized-icon","data-testid":"StatusCell_AuthorizedStatusIcon",sx:u})})};export{_ as a};
1
+ import {a}from'./chunk-EYX26LHW.js';import {f as f$1}from'./chunk-BJGGYXBI.js';import {a as a$3}from'./chunk-7KXCIFJC.js';import {i}from'./chunk-Q46VOV4Q.js';import {a as a$2}from'./chunk-J5VDJ4QR.js';import {a as a$1}from'./chunk-KQW5RPNP.js';import {f}from'./chunk-LXDQHONL.js';import {b}from'./chunk-EK7ODJWE.js';import {useTheme}from'@mui/material/styles';import {useTranslation}from'react-i18next';import {jsx}from'react/jsx-runtime';var l=b(a(),1);var _=({authorizedStatus:e,isTextShown:m,iconStyles:u,tableMode:c,chipIndex:d=0,selectionProps:h={}})=>{let{t:S}=useTranslation(),T=useTheme(),t=S((0, l.default)(e));return f(c)?jsx(a$1,{copyText:t,chipIndex:d,selectionProps:h,children:t}):jsx(a$2,{title:t,children:m?jsx(i,{"data-testid":"StatusCell_AuthorizedStatusLabel",sx:{color:T.palette.info.dark},children:t}):jsx(a$3,{src:f$1[e],alt:"authorized-icon","data-testid":"StatusCell_AuthorizedStatusIcon",sx:u})})};export{_ as a};
@@ -1 +1 @@
1
- import {d,g,m}from'./chunk-3Y5GSYLE.js';import {b,c,d as d$1}from'./chunk-KPEJIJ3M.js';import w,{memo,useMemo,createElement}from'react';import {Box}from'@mui/material';import {areEqual}from'react-window';import {jsx,Fragment}from'react/jsx-runtime';function x({row:s,columns:r,index:n,rowProps:h,isSheetView:b$1,selectedCell:R=null,selectedColumn:g$1=null,selectedRow:k=null,selectedChip:v=null,onCellClick:c$1,isLastRow:B=false,onChipClick:A,selection:a,hasAdjacentCheckedAbove:q,hasAdjacentCheckedBelow:J}){let f=a?s[a.selector]:void 0,C=a&&a.ids.includes(f),m$1=a?.isDisabled?.(s),W=w.useCallback(()=>{!a||m$1||a.setIds(C?a.ids.filter(t=>t!==f):[...a.ids,f]);},[a?.setIds,a?.ids,C,m$1,f]),E=w.useCallback((t,o)=>(i,e)=>{A?.(n,t,i,e,o);},[A,n]),I=w.useCallback((t,o,i)=>{let{render:e,format:d,selector:S}=t;if(!t?.id||!s)return null;let y=S?S({row:s,index:n,value:s[t?.id]}):s[t?.id],u=d?d({value:y,row:s,index:n}):y;return e?e({row:s,column:t,index:n,value:s[t?.id],selectionProps:{onClick:E(i,t.pinned),rowIndex:o,colIndex:i,selectedId:v}}):jsx(Fragment,{children:u})},[s,n,v,E]),p=R!==null||g$1!==null||k!==null,$=w.useCallback((t,o)=>i=>{c$1?.(n,t,i,o);},[c$1,n]),_=useMemo(()=>{let t=r[0]?.id,o=r[r.length-1]?.id,i=k===n;return jsx(Fragment,{children:r.map((e,d$2)=>{if(!e?.id)return null;let S=`${e.pinned??"default"}-${n}-${d$2}`,y=`${e.pinned??"default"}-${d$2}`,u=p&&R===S,L=p&&g$1===y,G=b({isSelected:p&&(u||L||i),isCellSelected:u,isColumnSelected:L,isRowSelected:i,isLastRow:B}),M=e.id===t,j=e.id===o,T=e.pinned?M:M&&e.pinned!=="start",N=e.pinned?j:j&&e.pinned!=="end",O=i&&p?c({effectiveFirst:T,isPinnedStart:e.pinned==="start",isPinnedEnd:e.pinned==="end"}):{},Q=e.pinned==="start"&&T;return jsx(d,{component:"div","data-testid":"TableRow_TableCell","data-column-id":e.id,"data-column-width":e.width,"data-column-width-used":e.width,"data-column-align":e.align,"data-column-order":e.order,"data-column-header":typeof e.header=="string"?e.header:"component","data-column-sortable":!!e.sortable,"data-column-filterable":!!e.filter,isFirst:T,isLast:N,onClick:$(d$2,e.pinned),sx:{width:e.width,minWidth:e.width,textAlign:e.align,justifyContent:d$1[Q?"center":e.align??"left"],cursor:c$1?"pointer":"default",...G,...O,...e.cellStyle},isSheetView:b$1,isSelected:u,children:b$1?jsx(Box,{sx:{position:"relative",zIndex:1,width:"100%"},children:I(e,n,d$2)}):jsx(Fragment,{children:I(e,n,d$2)})},`${e.id}-${d$2}`)})})},[r,s,n,R,g$1,k,p,c$1,B,v,b$1,I,$]);return createElement(g,{"data-testid":"TableRow",onClick:h?.onRowClick,showShadowHighlight:h?.showShadowHighlight,showLoadedStyle:h?.showLoadedStyle,component:"article",...h,key:n,isSheetView:b$1,isChecked:C,adjacentAbove:q,adjacentBelow:J},a&&jsx(m,{isRow:true,size:"small",checked:C,onChange:W,disabled:m$1}),_)}var le=memo(x,areEqual);export{le as a};
1
+ import {d,g,m}from'./chunk-3KQ673K5.js';import {b,c,d as d$1}from'./chunk-KPEJIJ3M.js';import w,{memo,useMemo,createElement}from'react';import {Box}from'@mui/material';import {areEqual}from'react-window';import {jsx,Fragment}from'react/jsx-runtime';function x({row:s,columns:r,index:n,rowProps:h,isSheetView:b$1,selectedCell:R=null,selectedColumn:g$1=null,selectedRow:k=null,selectedChip:v=null,onCellClick:c$1,isLastRow:B=false,onChipClick:A,selection:a,hasAdjacentCheckedAbove:q,hasAdjacentCheckedBelow:J}){let f=a?s[a.selector]:void 0,C=a&&a.ids.includes(f),m$1=a?.isDisabled?.(s),W=w.useCallback(()=>{!a||m$1||a.setIds(C?a.ids.filter(t=>t!==f):[...a.ids,f]);},[a?.setIds,a?.ids,C,m$1,f]),E=w.useCallback((t,o)=>(i,e)=>{A?.(n,t,i,e,o);},[A,n]),I=w.useCallback((t,o,i)=>{let{render:e,format:d,selector:S}=t;if(!t?.id||!s)return null;let y=S?S({row:s,index:n,value:s[t?.id]}):s[t?.id],u=d?d({value:y,row:s,index:n}):y;return e?e({row:s,column:t,index:n,value:s[t?.id],selectionProps:{onClick:E(i,t.pinned),rowIndex:o,colIndex:i,selectedId:v}}):jsx(Fragment,{children:u})},[s,n,v,E]),p=R!==null||g$1!==null||k!==null,$=w.useCallback((t,o)=>i=>{c$1?.(n,t,i,o);},[c$1,n]),_=useMemo(()=>{let t=r[0]?.id,o=r[r.length-1]?.id,i=k===n;return jsx(Fragment,{children:r.map((e,d$2)=>{if(!e?.id)return null;let S=`${e.pinned??"default"}-${n}-${d$2}`,y=`${e.pinned??"default"}-${d$2}`,u=p&&R===S,L=p&&g$1===y,G=b({isSelected:p&&(u||L||i),isCellSelected:u,isColumnSelected:L,isRowSelected:i,isLastRow:B}),M=e.id===t,j=e.id===o,T=e.pinned?M:M&&e.pinned!=="start",N=e.pinned?j:j&&e.pinned!=="end",O=i&&p?c({effectiveFirst:T,isPinnedStart:e.pinned==="start",isPinnedEnd:e.pinned==="end"}):{},Q=e.pinned==="start"&&T;return jsx(d,{component:"div","data-testid":"TableRow_TableCell","data-column-id":e.id,"data-column-width":e.width,"data-column-width-used":e.width,"data-column-align":e.align,"data-column-order":e.order,"data-column-header":typeof e.header=="string"?e.header:"component","data-column-sortable":!!e.sortable,"data-column-filterable":!!e.filter,isFirst:T,isLast:N,onClick:$(d$2,e.pinned),sx:{width:e.width,minWidth:e.width,textAlign:e.align,justifyContent:d$1[Q?"center":e.align??"left"],cursor:c$1?"pointer":"default",...G,...O,...e.cellStyle},isSheetView:b$1,isSelected:u,children:b$1?jsx(Box,{sx:{position:"relative",zIndex:1,width:"100%"},children:I(e,n,d$2)}):jsx(Fragment,{children:I(e,n,d$2)})},`${e.id}-${d$2}`)})})},[r,s,n,R,g$1,k,p,c$1,B,v,b$1,I,$]);return createElement(g,{"data-testid":"TableRow",onClick:h?.onRowClick,showShadowHighlight:h?.showShadowHighlight,showLoadedStyle:h?.showLoadedStyle,component:"article",...h,key:n,isSheetView:b$1,isChecked:C,adjacentAbove:q,adjacentBelow:J},a&&jsx(m,{isRow:true,size:"small",checked:C,onChange:W,disabled:m$1}),_)}var le=memo(x,areEqual);export{le as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-PL24C7IX.js';var r=a;export{r as a};
@@ -1 +1 @@
1
- import {b as b$1}from'./chunk-XVQ6WBAM.js';import {a as a$2}from'./chunk-GZCKH44T.js';import {f,j,l,a as a$1}from'./chunk-3Y5GSYLE.js';import {a as a$3}from'./chunk-GJSZMH5V.js';import {a}from'./chunk-2TBHJTJY.js';import {d as d$1}from'./chunk-LXDQHONL.js';import {b,d,c}from'./chunk-77RDXF67.js';import'./chunk-Y36KRKYI.js';import {memo,useState,useMemo}from'react';import mt from'@mui/material/Box';import {useTheme}from'@mui/material/styles';import pt from'memoize-one';import ut from'react-virtualized-auto-sizer';import ct from'react-window-infinite-loader';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var bt=pt((t,l,s,r,m,a,o,c,d)=>({isLoading:t,rows:l,rowProps:s,scrollToIndex:r,totalCount:a,lastItemIndex:m,isError:o,areAllRowsLoaded:c,renderCardComponent:d}));function ht({rows:t,threshold:l$1=200,rowProps:s,footerProps:r,rowHeight:m=57,isLoading:a$4,error:o,tableHeader:c$1,loadMoreItems:d$2,isFetchingNextPage:V,triggerDataRefetch:v,scrollToIndex:b$2,areAllRowsLoaded:i=false,tableBodyStyles:M,tableMode:P,tableTitle:$,renderCardComponent:G,cardLoadingComponent:q,tableHeight:D,tableHeaderHeight:J,noDataComponent:K,onStartDrag:Q}){let S=useTheme(),U=y=>{Q?.(y);},h=a({value:V,delay:1e3}),[X,Y]=useState(false),T=b(o),p=a$4??true,f$1=!a$4&&t.length===0&&T&&!d(o),I=!a$4&&t.length===0,E=c(o),g=t.length-1,u=d$1(t.length)&&!p,x=h||i&&!u?t.length+1:t.length,Z=bt(h,t,s,b$2,g,r?.totalCount??0,T,i&&!u,G),j$1=useMemo(()=>{let y=n=>{Y(n);};return jsx(ct,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:n=>n!==g,itemCount:x,loadMoreItems:async()=>{i||await d$2?.();},threshold:l$1,children:({onItemsRendered:n,ref:tt})=>jsx(mt,{sx:{height:`${D-(J??0)}px`},id:"auto-sizer-wrapper",children:jsx(ut,{ref:tt,"data-testid":"VirtualTable_AutoSizer",children:({height:et,width:at})=>jsx(f,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:Z,height:et||0,width:at||0,itemCount:x,itemSize:()=>m,onItemsRendered:n,setBackdropVisibility:y,areTotalRowsNotFillingHeight:u,scrollToIndex:b$2,overscanCount:5,children:b$1})})})})},[o,a$4,g,d$2,m,t,s,f$1,p,l$1,h,i,u,x]),C=p||f$1||I||E;return jsxs(Fragment,{children:[jsx(j,{children:jsx(l,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":$,"data-direction":S.direction,"data-are-all-rows-loaded":!!i,"data-is-fetching-next-page":!!V,"data-scroll-to-index":b$2,"data-is-loading":!!a$4,"data-is-error":!!T,"data-is-error-timeout":!!E,"data-table-mode":P,dir:S.direction,showNoDataView:C,sx:{height:`${D}px !important`},children:jsxs(a$1,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:C,sx:{...M},children:[c$1,C?jsx(a$2,{error:o,tableEmpty:I,isTimeoutError:E,tableError:f$1,tableLoading:p,triggerDataRefetch:v,footerProps:r,cardLoadingComponent:q,noDataComponent:K}):j$1]})})}),jsx(a$3,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:X,onPointerDown:U,sx:{marginTop:"-37px"},...r})]})}var wt=memo(ht);export{wt as a};
1
+ import {b as b$1}from'./chunk-P3RVNLM7.js';import {a as a$2}from'./chunk-SW2ZLFAJ.js';import {f,j,l,a as a$1}from'./chunk-3KQ673K5.js';import {a as a$3}from'./chunk-GJSZMH5V.js';import {a}from'./chunk-2TBHJTJY.js';import {d as d$1}from'./chunk-LXDQHONL.js';import {b,d,c}from'./chunk-77RDXF67.js';import'./chunk-Y36KRKYI.js';import {memo,useState,useMemo}from'react';import mt from'@mui/material/Box';import {useTheme}from'@mui/material/styles';import pt from'memoize-one';import ut from'react-virtualized-auto-sizer';import ct from'react-window-infinite-loader';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var bt=pt((t,l,s,r,m,a,o,c,d)=>({isLoading:t,rows:l,rowProps:s,scrollToIndex:r,totalCount:a,lastItemIndex:m,isError:o,areAllRowsLoaded:c,renderCardComponent:d}));function ht({rows:t,threshold:l$1=200,rowProps:s,footerProps:r,rowHeight:m=57,isLoading:a$4,error:o,tableHeader:c$1,loadMoreItems:d$2,isFetchingNextPage:V,triggerDataRefetch:v,scrollToIndex:b$2,areAllRowsLoaded:i=false,tableBodyStyles:M,tableMode:P,tableTitle:$,renderCardComponent:G,cardLoadingComponent:q,tableHeight:D,tableHeaderHeight:J,noDataComponent:K,onStartDrag:Q}){let S=useTheme(),U=y=>{Q?.(y);},h=a({value:V,delay:1e3}),[X,Y]=useState(false),T=b(o),p=a$4??true,f$1=!a$4&&t.length===0&&T&&!d(o),I=!a$4&&t.length===0,E=c(o),g=t.length-1,u=d$1(t.length)&&!p,x=h||i&&!u?t.length+1:t.length,Z=bt(h,t,s,b$2,g,r?.totalCount??0,T,i&&!u,G),j$1=useMemo(()=>{let y=n=>{Y(n);};return jsx(ct,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:n=>n!==g,itemCount:x,loadMoreItems:async()=>{i||await d$2?.();},threshold:l$1,children:({onItemsRendered:n,ref:tt})=>jsx(mt,{sx:{height:`${D-(J??0)}px`},id:"auto-sizer-wrapper",children:jsx(ut,{ref:tt,"data-testid":"VirtualTable_AutoSizer",children:({height:et,width:at})=>jsx(f,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:Z,height:et||0,width:at||0,itemCount:x,itemSize:()=>m,onItemsRendered:n,setBackdropVisibility:y,areTotalRowsNotFillingHeight:u,scrollToIndex:b$2,overscanCount:5,children:b$1})})})})},[o,a$4,g,d$2,m,t,s,f$1,p,l$1,h,i,u,x]),C=p||f$1||I||E;return jsxs(Fragment,{children:[jsx(j,{children:jsx(l,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":$,"data-direction":S.direction,"data-are-all-rows-loaded":!!i,"data-is-fetching-next-page":!!V,"data-scroll-to-index":b$2,"data-is-loading":!!a$4,"data-is-error":!!T,"data-is-error-timeout":!!E,"data-table-mode":P,dir:S.direction,showNoDataView:C,sx:{height:`${D}px !important`},children:jsxs(a$1,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:C,sx:{...M},children:[c$1,C?jsx(a$2,{error:o,tableEmpty:I,isTimeoutError:E,tableError:f$1,tableLoading:p,triggerDataRefetch:v,footerProps:r,cardLoadingComponent:q,noDataComponent:K}):j$1]})})}),jsx(a$3,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:X,onPointerDown:U,sx:{marginTop:"-37px"},...r})]})}var wt=memo(ht);export{wt as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-WFNWGQHV.js';var r=a;export{r as a};
@@ -1 +1 @@
1
- import {a as a$5}from'./chunk-MVIHN2UR.js';import {a as a$2,b,c,e,f}from'./chunk-U4SNNQGY.js';import {a as a$3}from'./chunk-NN57FG5L.js';import {a as a$4}from'./chunk-OBTZXSMB.js';import {k}from'./chunk-Q46VOV4Q.js';import {a as a$1}from'./chunk-J5VDJ4QR.js';import {a as a$6}from'./chunk-VBJNWR73.js';import {a}from'./chunk-E7V37IBO.js';import {h,i}from'./chunk-32GHAQEB.js';import {jj}from'./chunk-KKHLZJFX.js';import {useId,useCallback,useMemo}from'react';import {useTheme}from'@mui/material/styles';import {motion}from'framer-motion';import {useTranslation}from'react-i18next';import {jsx,jsxs}from'react/jsx-runtime';function K({voidPercentage:o,capturePercentage:w,voidCount:c$1,autoType:z,captureAmount:f$1,voidAmount:I,currency:a$7,isTextShown:g,isSheetViewShown:l,selectionProps:C={},remainingAmount:A}){let D=Number(w)+Number(o)===100||A<=0,O=a(useId(),"void-auto-icon"),d=useTheme(),{t:e$1}=useTranslation(),i$1=h(A||0),S=useCallback(r=>`Auto ${r} - ${a$7} ${i$1.integerAmount}.${i$1.decimalAmount}`,[a$7,i$1.decimalAmount,i$1.integerAmount]),U=useCallback(r=>{let F=r==="Capture"?f$1:I,{integerAmount:H,decimalAmount:M}=i(F,a$7);return `Partial ${r} - ${a$7} ${H}.${M}`},[f$1,I,a$7]),E=o>1?jsx(a$1,{title:U("Void"),children:jsxs(a$2,{whileHover:["animate","fadeIn"],animate:"start",sx:{zIndex:14,background:d.palette.common.white,border:`0.75px solid ${d.palette.grey[600]}1A`},variants:{animate:{boxShadow:d.shadows[4]}},children:[jsxs(b,{percentage:o,children:[o,"% ",jsx(c,{percentage:a$3(o)})]}),c$1>0&&jsx(motion.div,{style:{alignItems:"center",justifyContent:"center",gap:"4px",width:0,display:"none"},initial:{width:0,opacity:0},transition:{animate:{duration:.5},fadeIn:{duration:.2}},variants:{animate:{width:"auto",display:"flex"},fadeIn:{transition:{delay:.5},opacity:1}},children:jsxs(a$4,{compact:true,variant:"neutral",children:[c$1,"x"]})})]})}):z==="VOID"&&!D?jsx(a$1,{title:S("Void"),children:jsx(e,{children:jsx(f,{src:a$5.VOID?.icon,alt:"auto"})})}):null,n=o===100?jsx(a$1,{title:e$1("void"),children:jsx(e,{children:jsx(f,{src:jj,alt:"void"})})}):E,x=useMemo(()=>l&&n?jsx(a$6,{chipIndex:5,copyText:e$1("void"),selectionProps:C,children:e$1("void")}):g&&n?jsx(k,{children:e$1("void")}):n,[g,n,l,C]);return x?jsx("div",{id:O,"data-testid":"VoidAutoIcon",style:{...!l&&{zIndex:11}},children:x}):null}var dt=K;export{dt as a};
1
+ import {a as a$5}from'./chunk-MVIHN2UR.js';import {a as a$2,b,c,e,f}from'./chunk-U4SNNQGY.js';import {a as a$3}from'./chunk-NN57FG5L.js';import {a as a$4}from'./chunk-OBTZXSMB.js';import {k}from'./chunk-Q46VOV4Q.js';import {a as a$1}from'./chunk-J5VDJ4QR.js';import {a as a$6}from'./chunk-KQW5RPNP.js';import {a}from'./chunk-E7V37IBO.js';import {h,i}from'./chunk-32GHAQEB.js';import {jj}from'./chunk-KKHLZJFX.js';import {useId,useCallback,useMemo}from'react';import {useTheme}from'@mui/material/styles';import {motion}from'framer-motion';import {useTranslation}from'react-i18next';import {jsx,jsxs}from'react/jsx-runtime';function K({voidPercentage:o,capturePercentage:w,voidCount:c$1,autoType:z,captureAmount:f$1,voidAmount:I,currency:a$7,isTextShown:g,isSheetViewShown:l,selectionProps:C={},remainingAmount:A}){let D=Number(w)+Number(o)===100||A<=0,O=a(useId(),"void-auto-icon"),d=useTheme(),{t:e$1}=useTranslation(),i$1=h(A||0),S=useCallback(r=>`Auto ${r} - ${a$7} ${i$1.integerAmount}.${i$1.decimalAmount}`,[a$7,i$1.decimalAmount,i$1.integerAmount]),U=useCallback(r=>{let F=r==="Capture"?f$1:I,{integerAmount:H,decimalAmount:M}=i(F,a$7);return `Partial ${r} - ${a$7} ${H}.${M}`},[f$1,I,a$7]),E=o>1?jsx(a$1,{title:U("Void"),children:jsxs(a$2,{whileHover:["animate","fadeIn"],animate:"start",sx:{zIndex:14,background:d.palette.common.white,border:`0.75px solid ${d.palette.grey[600]}1A`},variants:{animate:{boxShadow:d.shadows[4]}},children:[jsxs(b,{percentage:o,children:[o,"% ",jsx(c,{percentage:a$3(o)})]}),c$1>0&&jsx(motion.div,{style:{alignItems:"center",justifyContent:"center",gap:"4px",width:0,display:"none"},initial:{width:0,opacity:0},transition:{animate:{duration:.5},fadeIn:{duration:.2}},variants:{animate:{width:"auto",display:"flex"},fadeIn:{transition:{delay:.5},opacity:1}},children:jsxs(a$4,{compact:true,variant:"neutral",children:[c$1,"x"]})})]})}):z==="VOID"&&!D?jsx(a$1,{title:S("Void"),children:jsx(e,{children:jsx(f,{src:a$5.VOID?.icon,alt:"auto"})})}):null,n=o===100?jsx(a$1,{title:e$1("void"),children:jsx(e,{children:jsx(f,{src:jj,alt:"void"})})}):E,x=useMemo(()=>l&&n?jsx(a$6,{chipIndex:5,copyText:e$1("void"),selectionProps:C,children:e$1("void")}):g&&n?jsx(k,{children:e$1("void")}):n,[g,n,l,C]);return x?jsx("div",{id:O,"data-testid":"VoidAutoIcon",style:{...!l&&{zIndex:11}},children:x}):null}var dt=K;export{dt as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-PUZY5KYQ.js';import {a as a$2}from'./chunk-LMZWGSHX.js';import {h,a}from'./chunk-3Y5GSYLE.js';import {k}from'./chunk-V5TKRMA3.js';import {memo}from'react';import {useTheme}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';function F({tableLoading:t,tableError:o,tableEmpty:r,hasTimeoutError:a$3,orderedColumns:i,showHeader:f,columnsSorting:u,onColumnSort:c,headerProps:h$1,showBackDrop:w,onColumnPin:S,lastColumnId:V,selectedColumn:y,onColumnClick:P,tableTitle:g,areAllRowsLoaded:x,isFetchingNextPage:C,scrollToIndex:D,isLoading:H,isError:N,tableMode:B,tableBodyStyles:W,error:_,triggerDataRefetch:k$1,footerProps:I,customNoDataComponent:l}){let d=useTheme(),n=t||o||r||a$3;return jsx(h,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":g,"data-direction":d.direction,"data-are-all-rows-loaded":!!x,"data-is-fetching-next-page":!!C,"data-scroll-to-index":D,"data-is-loading":!!H,"data-is-error":!!N,"data-is-error-timeout":!!a$3,"data-table-mode":B,height:"100%",dir:d.direction,showNoDataView:n,children:jsxs(a,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:n,sx:W,children:[f&&jsx(k,{children:jsx(a$1,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:u,onColumnSort:c,columns:i,headerProps:h$1,showBackDrop:w,pinnedColumns:[],onColumnPin:S,isPinnable:false,lastColumnId:V,selectedColumn:y,onColumnClick:P})}),l||jsx(a$2,{error:_||null,tableEmpty:r,isTimeoutError:a$3,tableError:o,tableLoading:t,orderedColumns:i,triggerDataRefetch:k$1||(()=>Promise.resolve()),footerProps:I})]})})}var K=memo(F);export{K as a};
1
+ import {a as a$1}from'./chunk-WSPN5HXO.js';import {a as a$2}from'./chunk-CDCODH3D.js';import {h,a}from'./chunk-3KQ673K5.js';import {k}from'./chunk-V5TKRMA3.js';import {memo}from'react';import {useTheme}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';function F({tableLoading:t,tableError:o,tableEmpty:r,hasTimeoutError:a$3,orderedColumns:i,showHeader:f,columnsSorting:u,onColumnSort:c,headerProps:h$1,showBackDrop:w,onColumnPin:S,lastColumnId:V,selectedColumn:y,onColumnClick:P,tableTitle:g,areAllRowsLoaded:x,isFetchingNextPage:C,scrollToIndex:D,isLoading:H,isError:N,tableMode:B,tableBodyStyles:W,error:_,triggerDataRefetch:k$1,footerProps:I,customNoDataComponent:l}){let d=useTheme(),n=t||o||r||a$3;return jsx(h,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":g,"data-direction":d.direction,"data-are-all-rows-loaded":!!x,"data-is-fetching-next-page":!!C,"data-scroll-to-index":D,"data-is-loading":!!H,"data-is-error":!!N,"data-is-error-timeout":!!a$3,"data-table-mode":B,height:"100%",dir:d.direction,showNoDataView:n,children:jsxs(a,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:n,sx:W,children:[f&&jsx(k,{children:jsx(a$1,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:u,onColumnSort:c,columns:i,headerProps:h$1,showBackDrop:w,pinnedColumns:[],onColumnPin:S,isPinnable:false,lastColumnId:V,selectedColumn:y,onColumnClick:P})}),l||jsx(a$2,{error:_||null,tableEmpty:r,isTimeoutError:a$3,tableError:o,tableLoading:t,orderedColumns:i,triggerDataRefetch:k$1||(()=>Promise.resolve()),footerProps:I})]})})}var K=memo(F);export{K as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-XKMZ2TCQ.js';var r=a;export{r as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-GHI7SEXL.js';import {a as a$3}from'./chunk-XUID4CEI.js';import {a as a$2}from'./chunk-PS4772AC.js';import {a as a$1}from'./chunk-C6FCVQVP.js';import {i}from'./chunk-3Y5GSYLE.js';import'./chunk-Y36KRKYI.js';import {Zg,dh}from'./chunk-KKHLZJFX.js';import d from'react';import {Box}from'@mui/material';import {styled}from'@mui/material/styles';import {useTranslation}from'react-i18next';import {jsx,Fragment,jsxs}from'react/jsx-runtime';var $=d.memo(({isLoadingRow:e,isSheetView:a$2,columns:s,currentRowCount:n})=>{let{t:l}=useTranslation();return e?a$2&&s?.length?jsx(Fragment,{children:Array.from({length:3},(r,c)=>jsx(a,{columns:s,animationType:"wave",rowIndex:(n||0)+c,useTableBackground:true},`loading-row-${c}`))}):jsxs(Box,{"data-testid":"ListItemWrapper_lastRowContent_isLoadingRow",sx:{height:a$2?"100%":"24px",width:"24px",borderRadius:"50%",background:"transparent",position:"relative",display:"flex",justifyContent:"center",alignItems:"center"},children:[jsx(i,{sx:{position:"absolute"},src:Zg}),jsx(i,{sx:{position:"absolute",padding:"3px"},src:dh,alt:"tableLoadingSpinnerIcon",className:"spinner-loader",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}})]}):jsx(a$1,{"data-testid":"ListItemWrapper_lastRowContent",children:l("allRecordsHaveBeenSuccessfullyLoaded")})}),V=(e,a)=>s=>{s?.stopPropagation?.(),a?.(e);},q=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"&&e!=="isSheetView"})(({theme:e,isSheetView:a})=>({height:a?28:"100%",backgroundColor:e.palette.background.default}));function J({index:e,style:a,data:{renderedScrollTopRef:s,rows:n,rowProps:l,columns:r,isLoading:c,scrollToIndex:I,newLoadedRowsEndIndex:P,isError:C,areAllRowsLoaded:L,isSheetView:i,isPinned:A=false,isLoadMoreLoading:B=false,...h}}){let p=n.length-1,{hasAdjacentCheckedAbove:M,hasAdjacentCheckedBelow:N}=d.useMemo(()=>{let o=h.selection;if(!o)return {hasAdjacentCheckedAbove:false,hasAdjacentCheckedBelow:false};let w=n[e]?.[o.selector];if(!o.ids.includes(w))return {hasAdjacentCheckedAbove:false,hasAdjacentCheckedBelow:false};let j=e>0?n[e-1]?.[o.selector]:void 0,W=e<p?n[e+1]?.[o.selector]:void 0;return {hasAdjacentCheckedAbove:j!==void 0&&o.ids.includes(j),hasAdjacentCheckedBelow:W!==void 0&&o.ids.includes(W)}},[h.selection?.ids,h.selection?.selector,n,e,p]),f=n[e],u=c&&e===p+1,S=e<=P,v=d.useCallback(()=>V(f,l?.onRowClick),[f,l?.onRowClick]),H=d.useMemo(()=>({showShadowHighlight:I===e,showLoadedStyle:S,...l,onClick:v}),[I,e,S,l,v]),R=d.useCallback(o=>jsx(Box,{sx:{minHeight:28,height:"100%",width:"100%"},children:C?jsx(a$2,{}):o}),[C]),z=d.useMemo(()=>{let o=jsx($,{isSheetView:i,isLoadingRow:u,columns:r,currentRowCount:n.length}),w=u||L&&e===p+1;return A&&w?i&&u&&r&&r.length>0?R(o):jsx(Box,{sx:{...i?{minHeight:28,height:"100%"}:{height:57},backgroundColor:"#F6F8FACC"}}):w?i&&u&&r&&r.length>0?R(o):jsx(Box,{sx:{...i?{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:C?jsx(a$2,{}):o})}):jsx(a$3,{index:e,row:f,columns:r,rowProps:H,isSheetView:i,isLastRow:e===n.length-1,isFirstRow:e===0,isLoading:c,isLoadMoreLoading:B,hasAdjacentCheckedAbove:M,hasAdjacentCheckedBelow:N,...h},`row-${e}`)},[h,e,f,r,H,i,u,C,L,p,A,n.length,R,B]);return jsx("div",{"data-testid":"ListItemWrapper",style:{...a,top:Number(a.top)-(s?.current??0),willChange:"top"},children:jsx(q,{"data-testid":"ListItemWrapper_StyledItemWrapper",isSheetView:i,children:z})})}var ie=J;export{$ as a,q as b,ie as c};
1
+ import {a}from'./chunk-GHI7SEXL.js';import {a as a$3}from'./chunk-HKBAH6NA.js';import {a as a$2}from'./chunk-PS4772AC.js';import {a as a$1}from'./chunk-C6FCVQVP.js';import {i}from'./chunk-3KQ673K5.js';import'./chunk-Y36KRKYI.js';import {Zg,dh}from'./chunk-KKHLZJFX.js';import d from'react';import {Box}from'@mui/material';import {styled}from'@mui/material/styles';import {useTranslation}from'react-i18next';import {jsx,Fragment,jsxs}from'react/jsx-runtime';var $=d.memo(({isLoadingRow:e,isSheetView:a$2,columns:s,currentRowCount:n})=>{let{t:l}=useTranslation();return e?a$2&&s?.length?jsx(Fragment,{children:Array.from({length:3},(r,c)=>jsx(a,{columns:s,animationType:"wave",rowIndex:(n||0)+c,useTableBackground:true},`loading-row-${c}`))}):jsxs(Box,{"data-testid":"ListItemWrapper_lastRowContent_isLoadingRow",sx:{height:a$2?"100%":"24px",width:"24px",borderRadius:"50%",background:"transparent",position:"relative",display:"flex",justifyContent:"center",alignItems:"center"},children:[jsx(i,{sx:{position:"absolute"},src:Zg}),jsx(i,{sx:{position:"absolute",padding:"3px"},src:dh,alt:"tableLoadingSpinnerIcon",className:"spinner-loader",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}})]}):jsx(a$1,{"data-testid":"ListItemWrapper_lastRowContent",children:l("allRecordsHaveBeenSuccessfullyLoaded")})}),V=(e,a)=>s=>{s?.stopPropagation?.(),a?.(e);},q=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"&&e!=="isSheetView"})(({theme:e,isSheetView:a})=>({height:a?28:"100%",backgroundColor:e.palette.background.default}));function J({index:e,style:a,data:{renderedScrollTopRef:s,rows:n,rowProps:l,columns:r,isLoading:c,scrollToIndex:I,newLoadedRowsEndIndex:P,isError:C,areAllRowsLoaded:L,isSheetView:i,isPinned:A=false,isLoadMoreLoading:B=false,...h}}){let p=n.length-1,{hasAdjacentCheckedAbove:M,hasAdjacentCheckedBelow:N}=d.useMemo(()=>{let o=h.selection;if(!o)return {hasAdjacentCheckedAbove:false,hasAdjacentCheckedBelow:false};let w=n[e]?.[o.selector];if(!o.ids.includes(w))return {hasAdjacentCheckedAbove:false,hasAdjacentCheckedBelow:false};let j=e>0?n[e-1]?.[o.selector]:void 0,W=e<p?n[e+1]?.[o.selector]:void 0;return {hasAdjacentCheckedAbove:j!==void 0&&o.ids.includes(j),hasAdjacentCheckedBelow:W!==void 0&&o.ids.includes(W)}},[h.selection?.ids,h.selection?.selector,n,e,p]),f=n[e],u=c&&e===p+1,S=e<=P,v=d.useCallback(()=>V(f,l?.onRowClick),[f,l?.onRowClick]),H=d.useMemo(()=>({showShadowHighlight:I===e,showLoadedStyle:S,...l,onClick:v}),[I,e,S,l,v]),R=d.useCallback(o=>jsx(Box,{sx:{minHeight:28,height:"100%",width:"100%"},children:C?jsx(a$2,{}):o}),[C]),z=d.useMemo(()=>{let o=jsx($,{isSheetView:i,isLoadingRow:u,columns:r,currentRowCount:n.length}),w=u||L&&e===p+1;return A&&w?i&&u&&r&&r.length>0?R(o):jsx(Box,{sx:{...i?{minHeight:28,height:"100%"}:{height:57},backgroundColor:"#F6F8FACC"}}):w?i&&u&&r&&r.length>0?R(o):jsx(Box,{sx:{...i?{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:C?jsx(a$2,{}):o})}):jsx(a$3,{index:e,row:f,columns:r,rowProps:H,isSheetView:i,isLastRow:e===n.length-1,isFirstRow:e===0,isLoading:c,isLoadMoreLoading:B,hasAdjacentCheckedAbove:M,hasAdjacentCheckedBelow:N,...h},`row-${e}`)},[h,e,f,r,H,i,u,C,L,p,A,n.length,R,B]);return jsx("div",{"data-testid":"ListItemWrapper",style:{...a,top:Number(a.top)-(s?.current??0),willChange:"top"},children:jsx(q,{"data-testid":"ListItemWrapper_StyledItemWrapper",isSheetView:i,children:z})})}var ie=J;export{$ as a,q as b,ie as c};
@@ -1 +1 @@
1
- import {a as a$5}from'./chunk-MVIHN2UR.js';import {a as a$2,d,b,c,e,f,g}from'./chunk-U4SNNQGY.js';import {a as a$3}from'./chunk-NN57FG5L.js';import {a as a$4}from'./chunk-OBTZXSMB.js';import {j}from'./chunk-Q46VOV4Q.js';import {a as a$1}from'./chunk-J5VDJ4QR.js';import {a as a$6}from'./chunk-VBJNWR73.js';import {a}from'./chunk-E7V37IBO.js';import {h,i}from'./chunk-32GHAQEB.js';import {pb,Ui}from'./chunk-KKHLZJFX.js';import {useId,useCallback,useMemo}from'react';import {useTheme}from'@mui/material/styles';import {motion}from'framer-motion';import {useTranslation}from'react-i18next';import {jsx,jsxs}from'react/jsx-runtime';function Y({voidPercentage:L,capturePercentage:o,captureCount:d$1,autoType:N,captureAmount:c$1,voidAmount:C,currency:a$7,isTextShown:f$1,remainingAmount:I,isSheetViewShown:A,selectionProps:g$1={}}){let T=Number(o)+Number(L)===100||I<=0,k=a(useId(),"capture-auto-icon"),H=useTheme(),{t:r}=useTranslation(),n=h(I||0),y=useCallback(p=>`Auto ${p} - ${a$7} ${n.integerAmount}.${n.decimalAmount}`,[a$7,n.decimalAmount,n.integerAmount]),K=useCallback(p=>{let j=p==="Capture"?c$1:C,{integerAmount:q,decimalAmount:G}=i(j,a$7);return `Partial ${p} - ${a$7} ${q}.${G}`},[c$1,C,a$7]),M=o>0?jsx(a$1,{title:K("Capture"),children:jsxs(a$2,{isCapture:true,isFullyUsed:T,whileHover:["animate","fadeIn"],animate:"start",variants:{animate:{boxShadow:H.shadows[4]}},children:[jsx(d,{src:pb,alt:"captured"}),jsxs(motion.div,{style:{display:"none",alignItems:"center",justifyContent:"center",gap:"4px"},initial:{width:0,opacity:0},transition:{animate:{duration:.5},fadeIn:{duration:.2}},variants:{animate:{width:"auto",display:"flex"},fadeIn:{transition:{delay:.5},opacity:1}},children:[jsxs(b,{isCapture:true,percentage:o,children:[o,"% ",jsx(c,{isCapture:true,percentage:a$3(o)})]}),d$1>1&&jsxs(a$4,{compact:true,variant:"dark",children:[d$1,"x"]})]})]})}):N==="CAPTURED"&&!T?jsx(a$1,{title:y("Capture"),children:jsx(e,{children:jsx(f,{src:a$5.CAPTURED?.icon,alt:"auto"})})}):jsx(a$1,{title:y("Capture"),children:jsx(e,{children:jsx(f,{src:a$5.CAPTURED?.icon,alt:"auto"})})}),i$1=o===100?jsx(a$1,{title:r("captured"),children:jsx(g,{children:jsx(f,{src:Ui,alt:"captured"})})}):M,h$1=useMemo(()=>A&&i$1?jsx(a$6,{chipIndex:4,copyText:r("captured"),selectionProps:g$1,children:r("captured")}):f$1&&i$1?jsx(j,{children:r("captured")}):i$1,[f$1,i$1,A,g$1]);return h$1&&jsx("div",{id:k,"data-testid":"CaptureAutoIcon",style:{zIndex:12},children:h$1})}var dt=Y;export{dt as a};
1
+ import {a as a$5}from'./chunk-MVIHN2UR.js';import {a as a$2,d,b,c,e,f,g}from'./chunk-U4SNNQGY.js';import {a as a$3}from'./chunk-NN57FG5L.js';import {a as a$4}from'./chunk-OBTZXSMB.js';import {j}from'./chunk-Q46VOV4Q.js';import {a as a$1}from'./chunk-J5VDJ4QR.js';import {a as a$6}from'./chunk-KQW5RPNP.js';import {a}from'./chunk-E7V37IBO.js';import {h,i}from'./chunk-32GHAQEB.js';import {pb,Ui}from'./chunk-KKHLZJFX.js';import {useId,useCallback,useMemo}from'react';import {useTheme}from'@mui/material/styles';import {motion}from'framer-motion';import {useTranslation}from'react-i18next';import {jsx,jsxs}from'react/jsx-runtime';function Y({voidPercentage:L,capturePercentage:o,captureCount:d$1,autoType:N,captureAmount:c$1,voidAmount:C,currency:a$7,isTextShown:f$1,remainingAmount:I,isSheetViewShown:A,selectionProps:g$1={}}){let T=Number(o)+Number(L)===100||I<=0,k=a(useId(),"capture-auto-icon"),H=useTheme(),{t:r}=useTranslation(),n=h(I||0),y=useCallback(p=>`Auto ${p} - ${a$7} ${n.integerAmount}.${n.decimalAmount}`,[a$7,n.decimalAmount,n.integerAmount]),K=useCallback(p=>{let j=p==="Capture"?c$1:C,{integerAmount:q,decimalAmount:G}=i(j,a$7);return `Partial ${p} - ${a$7} ${q}.${G}`},[c$1,C,a$7]),M=o>0?jsx(a$1,{title:K("Capture"),children:jsxs(a$2,{isCapture:true,isFullyUsed:T,whileHover:["animate","fadeIn"],animate:"start",variants:{animate:{boxShadow:H.shadows[4]}},children:[jsx(d,{src:pb,alt:"captured"}),jsxs(motion.div,{style:{display:"none",alignItems:"center",justifyContent:"center",gap:"4px"},initial:{width:0,opacity:0},transition:{animate:{duration:.5},fadeIn:{duration:.2}},variants:{animate:{width:"auto",display:"flex"},fadeIn:{transition:{delay:.5},opacity:1}},children:[jsxs(b,{isCapture:true,percentage:o,children:[o,"% ",jsx(c,{isCapture:true,percentage:a$3(o)})]}),d$1>1&&jsxs(a$4,{compact:true,variant:"dark",children:[d$1,"x"]})]})]})}):N==="CAPTURED"&&!T?jsx(a$1,{title:y("Capture"),children:jsx(e,{children:jsx(f,{src:a$5.CAPTURED?.icon,alt:"auto"})})}):jsx(a$1,{title:y("Capture"),children:jsx(e,{children:jsx(f,{src:a$5.CAPTURED?.icon,alt:"auto"})})}),i$1=o===100?jsx(a$1,{title:r("captured"),children:jsx(g,{children:jsx(f,{src:Ui,alt:"captured"})})}):M,h$1=useMemo(()=>A&&i$1?jsx(a$6,{chipIndex:4,copyText:r("captured"),selectionProps:g$1,children:r("captured")}):f$1&&i$1?jsx(j,{children:r("captured")}):i$1,[f$1,i$1,A,g$1]);return h$1&&jsx("div",{id:k,"data-testid":"CaptureAutoIcon",style:{zIndex:12},children:h$1})}var dt=Y;export{dt as a};
@@ -1 +1 @@
1
- import {g}from'./chunk-3Y5GSYLE.js';import {memo,createElement}from'react';import {areEqual}from'react-window';import {jsx}from'react/jsx-runtime';function r({row:l,index:t,rowProps:o,renderCardComponent:e}){return createElement(g,{"data-testid":"TableRow",onClick:o?.onRowClick,showShadowHighlight:o?.showShadowHighlight,showLoadedStyle:o?.showLoadedStyle,component:"article",...o,key:t},e&&jsx(e,{...l}))}var p=memo(r,areEqual);export{p as a};
1
+ import {g}from'./chunk-3KQ673K5.js';import {memo,createElement}from'react';import {areEqual}from'react-window';import {jsx}from'react/jsx-runtime';function r({row:l,index:t,rowProps:o,renderCardComponent:e}){return createElement(g,{"data-testid":"TableRow",onClick:o?.onRowClick,showShadowHighlight:o?.showShadowHighlight,showLoadedStyle:o?.showLoadedStyle,component:"article",...o,key:t},e&&jsx(e,{...l}))}var p=memo(r,areEqual);export{p as a};
@@ -1 +1 @@
1
- import {F,E}from'./chunk-NVELVGOM.js';var o=e=>typeof e=="string"&&e.trim().length>0,a=e=>typeof e=="number"&&!isNaN(e)&&isFinite(e)&&e>0,m=e=>{if(!e||typeof e!="object")return false;let t=e;return "width"in t&&a(t.width)},f=e=>!e||typeof e!="object"?false:Object.values(e).every(m),g=e=>!e||typeof e!="object"?false:Object.values(e).every(f),l=e=>!e||typeof e!="object"?false:Object.values(e).every(g),c=()=>{try{let e=F();if(!e)return {};let t=e;return l(t)?t:(console.warn("Invalid column settings in localStorage"),{})}catch(e){return console.warn("Failed to get sheetview columns:",e),{}}},h=e=>{if(!l(e))return console.warn("Invalid data structure for sheetview columns"),false;try{return E(e),!0}catch(t){return console.warn("Failed to save sheetview columns:",t),false}},w=(e,t,r,s)=>{if(!o(e)||!o(t)||!o(r))return s;try{return c()[e]?.[t]?.[r]?.width??s}catch(n){return console.warn("Failed to get column width:",n),s}},C=(e,t,r,s)=>{if(!o(e)||!o(t)||!o(r)||!a(s))return console.warn("Invalid parameters for setColumnWidth"),false;try{let n=c();return n[e]||(n[e]={}),n[e][t]||(n[e][t]={}),n[e][t][r]?n[e][t][r].width=s:n[e][t][r]={width:s},h(n)}catch(n){return console.warn("Failed to set column width:",n),false}};export{c as a,h as b,w as c,C as d};
1
+ import {F,E}from'./chunk-R6HJFRUI.js';var o=e=>typeof e=="string"&&e.trim().length>0,a=e=>typeof e=="number"&&!isNaN(e)&&isFinite(e)&&e>0,m=e=>{if(!e||typeof e!="object")return false;let t=e;return "width"in t&&a(t.width)},f=e=>!e||typeof e!="object"?false:Object.values(e).every(m),g=e=>!e||typeof e!="object"?false:Object.values(e).every(f),l=e=>!e||typeof e!="object"?false:Object.values(e).every(g),c=()=>{try{let e=F();if(!e)return {};let t=e;return l(t)?t:(console.warn("Invalid column settings in localStorage"),{})}catch(e){return console.warn("Failed to get sheetview columns:",e),{}}},h=e=>{if(!l(e))return console.warn("Invalid data structure for sheetview columns"),false;try{return E(e),!0}catch(t){return console.warn("Failed to save sheetview columns:",t),false}},w=(e,t,r,s)=>{if(!o(e)||!o(t)||!o(r))return s;try{return c()[e]?.[t]?.[r]?.width??s}catch(n){return console.warn("Failed to get column width:",n),s}},C=(e,t,r,s)=>{if(!o(e)||!o(t)||!o(r)||!a(s))return console.warn("Invalid parameters for setColumnWidth"),false;try{let n=c();return n[e]||(n[e]={}),n[e][t]||(n[e][t]={}),n[e][t][r]?n[e][t][r].width=s:n[e][t][r]={width:s},h(n)}catch(n){return console.warn("Failed to set column width:",n),false}};export{c as a,h as b,w as c,C as d};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-FWRMMHWU.js';var e=a;export{e as a};
@@ -1 +1 @@
1
- import {o as o$1,n,g as g$1,f,b as b$2,k,a as a$6,m,h,e,i as i$1,l,d,c,j}from'./chunk-I4B3KYNT.js';import {a}from'./chunk-EYX26LHW.js';import {b as b$1,g,a as a$2}from'./chunk-BJGGYXBI.js';import {o,i,n as n$1}from'./chunk-Q46VOV4Q.js';import {a as a$4}from'./chunk-J5VDJ4QR.js';import {a as a$3}from'./chunk-VBJNWR73.js';import {a as a$1}from'./chunk-E7V37IBO.js';import {a as a$5}from'./chunk-FYOBUAJT.js';import {b}from'./chunk-EK7ODJWE.js';import {useId}from'react';import {useTheme}from'@mui/material/styles';import {useTranslation}from'react-i18next';import {jsx,Fragment,jsxs}from'react/jsx-runtime';var r=b(a(),1);function bt({chargeStatus:e$1,gatewayTooltip:W,acquirerTooltip:v,chargeTooltip:G,errorCode:l$1,isTextShown:O,gatewayCode:u,acquirerCode:C,unCapturedStyles:Q,iconStyles:X,iconWrapperStyles:_,gatewayIconWrapperStyles:A,gatewayContainerStyles:P,gateWayIconStyles:L,showBadge:Y=true,isSheetViewShown:Z=false,selectionProps:g$2={},chipIndex:tt=0}){let a=e$1?b$1[e$1]:null,n$2=e$1?g[e$1]:null,S=useTheme(),{t:d$1}=useTranslation(),at=a$1(useId(),"charge-status-icon"),y=G&&jsx(Fragment,{children:jsx("div",{children:G})}),p=v&&jsxs(Fragment,{children:[jsx("div",{children:"Acquirer"}),jsx("div",{children:v})]}),c$1=W&&jsxs(Fragment,{children:[jsx("div",{children:"Gateway"}),jsx("div",{children:W})]}),V=e$1&&a$2[e$1]&&jsx("div",{"data-testid":"ChargeStatusIcon_ChargeIcon",style:{display:"flex",alignItems:"center",justifyContent:"center",width:"16px",height:"16px",borderRadius:a?"50%":"",..._},children:jsx(o,{src:a$2[e$1],alt:"charge-icon","data-testid":"ChargeStatusIcon_StatusIcon",style:{borderRadius:a?"50%":"",width:"16px",height:"16px",...X}})});return Z?jsxs(o$1,{children:[jsxs(a$3,{copyText:d$1((0, r.default)(e$1)),chipIndex:tt,selectionProps:g$2,children:[d$1((0, r.default)(e$1))," ",l$1]}),a&&jsxs(Fragment,{children:[u&&jsxs(a$3,{copyText:"Gateway",chipIndex:1,selectionProps:g$2,children:["Gateway ",u]}),C&&jsxs(a$3,{copyText:"Acquirer",chipIndex:2,selectionProps:g$2,children:["Acquirer ",C]})]})]}):O?jsxs(o$1,{children:[jsx(a$4,{title:y,children:jsxs(n,{"data-testid":"ChargeStatusIcon_isTextShown","data-status":(0, r.default)(e$1),sx:{background:a?.background||n$2?.background||"transparent",color:a?.color||n$2?.color||S.palette.info.dark,borderColor:`${a?.color||n$2?.color||S.palette.info.dark}1A`},children:[d$1((0, r.default)(e$1))," ",l$1]})}),a&&jsxs(Fragment,{children:[u&&jsx(a$4,{title:c$1,children:jsxs(i,{"data-testid":"ChargeStatusIcon_isTextShown","data-status":(0, r.default)(e$1),sx:{background:a?.background||n$2?.background||"transparent",color:a?.color||n$2?.color||S.palette.info.dark},children:["Gateway ",u]})}),C&&jsx(a$4,{title:p,children:jsxs(i,{"data-testid":"ChargeStatusIcon_isTextShown","data-status":(0, r.default)(e$1),sx:{background:a?.background||n$2?.background||"transparent",color:a?.color||n$2?.color||S.palette.info.dark},children:["Acquirer ",C]})})]})]}):jsx(n$1,{id:at,"data-testid":"ChargeStatusIcon_StatusIconWrapper",style:{..._},children:a$5?.includes(e$1||"")&&(y||p||c$1)?jsxs(g$1,{"data-testid":"ChargeStatusIcon_UnCapturedContainer",whileHover:["animate","fadeIn"],style:{left:"0",...Y&&{paddingInline:"12px",border:"1px solid #F2F2F2",borderRadius:"12px",backgroundColor:"#fff"},...Q},children:[jsx(f,{"data-testid":"ChargeStatusIcon_UnCapturedBadge",sx:{borderRadius:"56px"},initial:{background:"transparent"},variants:{animate:{background:a?.background}},children:jsx(a$4,{title:y??d$1((0, r.default)(e$1)),children:jsxs(Fragment,{children:[V,jsx(b$2,{"data-testid":"ChargeStatusIcon_ErrorCodeWrapper",transition:{animate:{duration:.05}},variants:k,style:{...l$1&&{padding:"0 !important"}},children:jsx(a$6,{"data-testid":"ChargeStatusIcon_ErrorCodeLabel",sx:{background:a?.color},transition:h,variants:m,initial:{opacity:0},children:l$1})})]})})}),jsx(e,{"data-testid":"ChargeStatusIcon_GatewaysContainer",transition:l,variants:i$1,style:P,isVisible:!!c$1,children:c$1&&jsx(a$4,{title:c$1,children:jsx(d,{"data-testid":"ChargeStatusIcon_GatewayIconWrapper",style:{background:a?.background,...A},children:jsx(c,{src:a?.gatewayIcon,alt:"gateway-icon","data-testid":"ChargeStatusIcon_GatewayIcon",style:L})})})}),jsx(e,{"data-testid":"ChargeStatusIcon_GatewaysContainer",transition:l,variants:j,style:P,isVisible:!!p,children:p&&jsx(a$4,{title:p,children:jsx(d,{"data-testid":"ChargeStatusIcon_AcquirerIconWrapper",style:{background:a?.background,...A},children:jsx(c,{src:a?.acquirerIcon,alt:"acquirer-icon","data-testid":"ChargeStatusIcon_AcquirerIcon",style:L})})})})]}):jsx(a$4,{title:y??d$1((0, r.default)(e$1)),children:jsx(n$1,{children:V})})})}export{bt as a};
1
+ import {o as o$1,n,g as g$1,f,b as b$2,k,a as a$6,m,h,e,i as i$1,l,d,c,j}from'./chunk-I4B3KYNT.js';import {a}from'./chunk-EYX26LHW.js';import {b as b$1,g,a as a$2}from'./chunk-BJGGYXBI.js';import {o,i,n as n$1}from'./chunk-Q46VOV4Q.js';import {a as a$4}from'./chunk-J5VDJ4QR.js';import {a as a$3}from'./chunk-KQW5RPNP.js';import {a as a$1}from'./chunk-E7V37IBO.js';import {a as a$5}from'./chunk-FYOBUAJT.js';import {b}from'./chunk-EK7ODJWE.js';import {useId}from'react';import {useTheme}from'@mui/material/styles';import {useTranslation}from'react-i18next';import {jsx,Fragment,jsxs}from'react/jsx-runtime';var r=b(a(),1);function bt({chargeStatus:e$1,gatewayTooltip:W,acquirerTooltip:v,chargeTooltip:G,errorCode:l$1,isTextShown:O,gatewayCode:u,acquirerCode:C,unCapturedStyles:Q,iconStyles:X,iconWrapperStyles:_,gatewayIconWrapperStyles:A,gatewayContainerStyles:P,gateWayIconStyles:L,showBadge:Y=true,isSheetViewShown:Z=false,selectionProps:g$2={},chipIndex:tt=0}){let a=e$1?b$1[e$1]:null,n$2=e$1?g[e$1]:null,S=useTheme(),{t:d$1}=useTranslation(),at=a$1(useId(),"charge-status-icon"),y=G&&jsx(Fragment,{children:jsx("div",{children:G})}),p=v&&jsxs(Fragment,{children:[jsx("div",{children:"Acquirer"}),jsx("div",{children:v})]}),c$1=W&&jsxs(Fragment,{children:[jsx("div",{children:"Gateway"}),jsx("div",{children:W})]}),V=e$1&&a$2[e$1]&&jsx("div",{"data-testid":"ChargeStatusIcon_ChargeIcon",style:{display:"flex",alignItems:"center",justifyContent:"center",width:"16px",height:"16px",borderRadius:a?"50%":"",..._},children:jsx(o,{src:a$2[e$1],alt:"charge-icon","data-testid":"ChargeStatusIcon_StatusIcon",style:{borderRadius:a?"50%":"",width:"16px",height:"16px",...X}})});return Z?jsxs(o$1,{children:[jsxs(a$3,{copyText:d$1((0, r.default)(e$1)),chipIndex:tt,selectionProps:g$2,children:[d$1((0, r.default)(e$1))," ",l$1]}),a&&jsxs(Fragment,{children:[u&&jsxs(a$3,{copyText:"Gateway",chipIndex:1,selectionProps:g$2,children:["Gateway ",u]}),C&&jsxs(a$3,{copyText:"Acquirer",chipIndex:2,selectionProps:g$2,children:["Acquirer ",C]})]})]}):O?jsxs(o$1,{children:[jsx(a$4,{title:y,children:jsxs(n,{"data-testid":"ChargeStatusIcon_isTextShown","data-status":(0, r.default)(e$1),sx:{background:a?.background||n$2?.background||"transparent",color:a?.color||n$2?.color||S.palette.info.dark,borderColor:`${a?.color||n$2?.color||S.palette.info.dark}1A`},children:[d$1((0, r.default)(e$1))," ",l$1]})}),a&&jsxs(Fragment,{children:[u&&jsx(a$4,{title:c$1,children:jsxs(i,{"data-testid":"ChargeStatusIcon_isTextShown","data-status":(0, r.default)(e$1),sx:{background:a?.background||n$2?.background||"transparent",color:a?.color||n$2?.color||S.palette.info.dark},children:["Gateway ",u]})}),C&&jsx(a$4,{title:p,children:jsxs(i,{"data-testid":"ChargeStatusIcon_isTextShown","data-status":(0, r.default)(e$1),sx:{background:a?.background||n$2?.background||"transparent",color:a?.color||n$2?.color||S.palette.info.dark},children:["Acquirer ",C]})})]})]}):jsx(n$1,{id:at,"data-testid":"ChargeStatusIcon_StatusIconWrapper",style:{..._},children:a$5?.includes(e$1||"")&&(y||p||c$1)?jsxs(g$1,{"data-testid":"ChargeStatusIcon_UnCapturedContainer",whileHover:["animate","fadeIn"],style:{left:"0",...Y&&{paddingInline:"12px",border:"1px solid #F2F2F2",borderRadius:"12px",backgroundColor:"#fff"},...Q},children:[jsx(f,{"data-testid":"ChargeStatusIcon_UnCapturedBadge",sx:{borderRadius:"56px"},initial:{background:"transparent"},variants:{animate:{background:a?.background}},children:jsx(a$4,{title:y??d$1((0, r.default)(e$1)),children:jsxs(Fragment,{children:[V,jsx(b$2,{"data-testid":"ChargeStatusIcon_ErrorCodeWrapper",transition:{animate:{duration:.05}},variants:k,style:{...l$1&&{padding:"0 !important"}},children:jsx(a$6,{"data-testid":"ChargeStatusIcon_ErrorCodeLabel",sx:{background:a?.color},transition:h,variants:m,initial:{opacity:0},children:l$1})})]})})}),jsx(e,{"data-testid":"ChargeStatusIcon_GatewaysContainer",transition:l,variants:i$1,style:P,isVisible:!!c$1,children:c$1&&jsx(a$4,{title:c$1,children:jsx(d,{"data-testid":"ChargeStatusIcon_GatewayIconWrapper",style:{background:a?.background,...A},children:jsx(c,{src:a?.gatewayIcon,alt:"gateway-icon","data-testid":"ChargeStatusIcon_GatewayIcon",style:L})})})}),jsx(e,{"data-testid":"ChargeStatusIcon_GatewaysContainer",transition:l,variants:j,style:P,isVisible:!!p,children:p&&jsx(a$4,{title:p,children:jsx(d,{"data-testid":"ChargeStatusIcon_AcquirerIconWrapper",style:{background:a?.background,...A},children:jsx(c,{src:a?.acquirerIcon,alt:"acquirer-icon","data-testid":"ChargeStatusIcon_AcquirerIcon",style:L})})})})]}):jsx(a$4,{title:y??d$1((0, r.default)(e$1)),children:jsx(n$1,{children:V})})})}export{bt as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-ASFSI7SO.js';import d from'react';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var L=(o,t)=>r=>{r?.stopPropagation?.(),t?.(o);},W=styled("div",{shouldForwardProp:o=>o!=="showShadowHighlight"})(({theme:o})=>({backgroundColor:o.palette.background.default,height:"100%"}));function f({index:o,style:t,data:{renderedScrollTopRef:r,rows:n,rowProps:e,isLoading:w,scrollToIndex:p,newLoadedRowsEndIndex:C,areAllRowsLoaded:g,renderCardComponent:u}}){let l=n.length-1,a$1=n[o],y=w&&o===l+1,s=o<=C,m=d.useCallback(L(a$1,e?.onRowClick),[a$1,e?.onRowClick]),h=d.useMemo(()=>({showShadowHighlight:p===o,showLoadedStyle:s,...e,onClick:m}),[p,o,s,e,m,y,g,l]),R=d.useMemo(()=>jsx(a,{index:o,row:a$1,renderCardComponent:u,rowProps:h},`row-${o}`),[o,a$1,h]);return jsx("div",{"data-testid":"ListCardWrapper",style:{...t,top:Number(t.top)-r.current,willChange:"top"},children:jsx(W,{"data-testid":"ListCardWrapper_StyledItemWrapper",children:R})})}var v=f;export{W as a,v as b};
1
+ import {a}from'./chunk-N7UJWHJD.js';import d from'react';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var L=(o,t)=>r=>{r?.stopPropagation?.(),t?.(o);},W=styled("div",{shouldForwardProp:o=>o!=="showShadowHighlight"})(({theme:o})=>({backgroundColor:o.palette.background.default,height:"100%"}));function f({index:o,style:t,data:{renderedScrollTopRef:r,rows:n,rowProps:e,isLoading:w,scrollToIndex:p,newLoadedRowsEndIndex:C,areAllRowsLoaded:g,renderCardComponent:u}}){let l=n.length-1,a$1=n[o],y=w&&o===l+1,s=o<=C,m=d.useCallback(L(a$1,e?.onRowClick),[a$1,e?.onRowClick]),h=d.useMemo(()=>({showShadowHighlight:p===o,showLoadedStyle:s,...e,onClick:m}),[p,o,s,e,m,y,g,l]),R=d.useMemo(()=>jsx(a,{index:o,row:a$1,renderCardComponent:u,rowProps:h},`row-${o}`),[o,a$1,h]);return jsx("div",{"data-testid":"ListCardWrapper",style:{...t,top:Number(t.top)-r.current,willChange:"top"},children:jsx(W,{"data-testid":"ListCardWrapper_StyledItemWrapper",children:R})})}var v=f;export{W as a,v as b};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-RWYNONXW.js';import {f,d,i}from'./chunk-EEDAGQA7.js';import {a as a$2}from'./chunk-7JY57GWS.js';import {a as a$3}from'./chunk-JWRNIWYX.js';import {a}from'./chunk-E7V37IBO.js';import {Lc}from'./chunk-KKHLZJFX.js';import {useId,useState,useCallback,useMemo,createElement}from'react';import s from'@mui/material/Box';import X from'@mui/material/Typography';import {CircularProgress}from'@mui/material';import {jsx,jsxs}from'react/jsx-runtime';function Z({options:o,onChangeOption:a$4,selectedOption:l,placeholder:D,label:_,isLoading:M,renderOption:S,iconUrl:c,disabled:u,onClearValue:i$1,slotProps:T={},hideSelectedCheckmark:A,listWrapperSx:F={},name:H,...V}){let z=a(useId(),"select-with-search"),{selectInput:f$1={},searchInput:R={},dropdownContainer:v={},item:g={}}=T,[I,x]=useState(null),[r,h]=useState(""),$=useCallback(()=>{i$1!==void 0?i$1():a$4(null);},[i$1,a$4]),m=!!I,q=e=>{u||x(m?null:e.currentTarget);},p=()=>{x(null),h("");},G=M?jsx(CircularProgress,{size:16}):jsx(a$1,{onClick:()=>{r&&h("");},role:"button"}),w=useMemo(()=>r?o.filter(e=>{let n=e?.label?.toLowerCase(),K=e?.value?.toLowerCase();return n?.includes(r.toLowerCase())||K?.includes(r.toLowerCase())}):o,[o,r]),J=useMemo(()=>jsx(s,{sx:{display:"flex",alignItems:"center",maxWidth:16},children:jsx(s,{component:"img",src:c,alt:"icon",sx:{maxWidth:12,height:12}})}),[c]);return jsx(a$2,{id:z,"data-testid":"SelectWithSearch",disabled:u,open:m,anchorEl:I,onOpen:q,onClose:p,hasValue:!!l?.value,onClear:$,trigger:jsx(a$3,{className:"SelectWithSearch_input",name:H,placeholder:"Please Select",label:_,sx:{cursor:"pointer"},value:l?.label||"",InputLabelProps:{filled:!!l?.label},disabled:u,...f$1,InputProps:{readOnly:true,disableUnderline:true,...!!c&&{startAdornment:J},...f$1.InputProps}}),listWrapperSx:{height:"100%",overflow:"hidden",...F},slotProps:{popover:{slotProps:{paper:{sx:{overflow:"hidden"}}}}},...V,children:jsxs(f,{...v,className:`SelectWithSearch_container ${v?.className??""}`,children:[jsx(d,{className:"SelectWithSearch_input",placeholder:D||"Select",endAdornment:G,onClick:e=>{e.stopPropagation();},value:r,onChange:e=>{h(e.target.value);},disableUnderline:true,sx:{cursor:"default",width:"100%",backgroundColor:"white",border:"1px solid #F2F2F2",...o.length&&{marginBottom:"4px"},...r&&{cursor:"pointer"}},...R}),jsxs(s,{className:"SelectWithSearch_options",overflow:"auto",maxHeight:400,children:[w.length===0&&r&&jsx(i,{selected:false,...g,children:jsx(X,{component:"span",fontSize:"10px",fontWeight:500,color:"#8D8D94",children:"No results found"})}),w.map(e=>S?S(e,{closeDropdown:p,open:m}):createElement(i,{...g,className:`SelectWithSearch_item ${l?.value===e.value?"SelectWithSearch_item-selected":""}`,key:e.value,selected:l?.value===e.value,onClick:n=>{n.stopPropagation(),n.preventDefault(),l?.value===e.value?a$4(null):a$4(e),p();}},jsx("span",{children:e.label}),!A&&l?.value===e?.value&&jsx(s,{component:"img",src:Lc,alt:"close",sx:{width:10,height:7.5}})))]})]})})}var he=Z;export{he as a};
1
+ import {f,d,i}from'./chunk-EEDAGQA7.js';import {a as a$1}from'./chunk-RWYNONXW.js';import {a as a$2}from'./chunk-IG7OQ3CS.js';import {a as a$3}from'./chunk-JWRNIWYX.js';import {a}from'./chunk-E7V37IBO.js';import {Lc}from'./chunk-KKHLZJFX.js';import {useId,useState,useCallback,useMemo,createElement}from'react';import s from'@mui/material/Box';import X from'@mui/material/Typography';import {CircularProgress}from'@mui/material';import {jsx,jsxs}from'react/jsx-runtime';function Z({options:o,onChangeOption:a$4,selectedOption:l,placeholder:D,label:_,isLoading:M,renderOption:S,iconUrl:c,disabled:u,onClearValue:i$1,slotProps:T={},hideSelectedCheckmark:A,listWrapperSx:F={},name:H,...V}){let z=a(useId(),"select-with-search"),{selectInput:f$1={},searchInput:R={},dropdownContainer:v={},item:g={}}=T,[I,x]=useState(null),[r,h]=useState(""),$=useCallback(()=>{i$1!==void 0?i$1():a$4(null);},[i$1,a$4]),m=!!I,q=e=>{u||x(m?null:e.currentTarget);},p=()=>{x(null),h("");},G=M?jsx(CircularProgress,{size:16}):jsx(a$1,{onClick:()=>{r&&h("");},role:"button"}),w=useMemo(()=>r?o.filter(e=>{let n=e?.label?.toLowerCase(),K=e?.value?.toLowerCase();return n?.includes(r.toLowerCase())||K?.includes(r.toLowerCase())}):o,[o,r]),J=useMemo(()=>jsx(s,{sx:{display:"flex",alignItems:"center",maxWidth:16},children:jsx(s,{component:"img",src:c,alt:"icon",sx:{maxWidth:12,height:12}})}),[c]);return jsx(a$2,{id:z,"data-testid":"SelectWithSearch",disabled:u,open:m,anchorEl:I,onOpen:q,onClose:p,hasValue:!!l?.value,onClear:$,trigger:jsx(a$3,{className:"SelectWithSearch_input",name:H,placeholder:"Please Select",label:_,sx:{cursor:"pointer"},value:l?.label||"",InputLabelProps:{filled:!!l?.label},disabled:u,...f$1,InputProps:{readOnly:true,disableUnderline:true,...!!c&&{startAdornment:J},...f$1.InputProps}}),listWrapperSx:{height:"100%",overflow:"hidden",...F},slotProps:{popover:{slotProps:{paper:{sx:{overflow:"hidden"}}}}},...V,children:jsxs(f,{...v,className:`SelectWithSearch_container ${v?.className??""}`,children:[jsx(d,{className:"SelectWithSearch_input",placeholder:D||"Select",endAdornment:G,onClick:e=>{e.stopPropagation();},value:r,onChange:e=>{h(e.target.value);},disableUnderline:true,sx:{cursor:"default",width:"100%",backgroundColor:"white",border:"1px solid #F2F2F2",...o.length&&{marginBottom:"4px"},...r&&{cursor:"pointer"}},...R}),jsxs(s,{className:"SelectWithSearch_options",overflow:"auto",maxHeight:400,children:[w.length===0&&r&&jsx(i,{selected:false,...g,children:jsx(X,{component:"span",fontSize:"10px",fontWeight:500,color:"#8D8D94",children:"No results found"})}),w.map(e=>S?S(e,{closeDropdown:p,open:m}):createElement(i,{...g,className:`SelectWithSearch_item ${l?.value===e.value?"SelectWithSearch_item-selected":""}`,key:e.value,selected:l?.value===e.value,onClick:n=>{n.stopPropagation(),n.preventDefault(),l?.value===e.value?a$4(null):a$4(e),p();}},jsx("span",{children:e.label}),!A&&l?.value===e?.value&&jsx(s,{component:"img",src:Lc,alt:"close",sx:{width:10,height:7.5}})))]})]})})}var he=Z;export{he as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-VBJNWR73.js';import {styled}from'@mui/material/styles';var r=styled(a)(()=>({backgroundColor:"#EFF1F2",border:"none",display:"flex",alignItems:"center",justifyContent:"center"})),s=styled("span")(()=>({display:"flex",alignItems:"center"}));export{r as a,s as b};
1
+ import {a}from'./chunk-KQW5RPNP.js';import {styled}from'@mui/material/styles';var r=styled(a)(()=>({backgroundColor:"#EFF1F2",border:"none",display:"flex",alignItems:"center",justifyContent:"center"})),s=styled("span")(()=>({display:"flex",alignItems:"center"}));export{r as a,s as b};
@@ -1 +1 @@
1
- import {i,b as b$1,O}from'./chunk-NVELVGOM.js';import {b}from'./chunk-DRAIQG2S.js';import l from'axios';var m={headers:{"Content-Type":"application/json",Accept:"application/json"}},a=l.create({baseURL:b,headers:{...m}}),g=["users/switch-segment","users/update-segment"];a.interceptors.request.use(e=>new Promise(t=>{let s=false;if(g.includes(e.url??"")){t(e);return}let r=i=>{let n=i.data;if(n==="network_request_waiting"){s=true;return}n==="resume_network_request"&&(s=false);};window.addEventListener("message",r);let o=setInterval(()=>{s||(t(e),clearInterval(o),window.removeEventListener("message",r));},0);}));a.interceptors.request.use(e=>{e.headers.Authorization=i();let t=b$1();return t&&!e.headers["x-test-secret"]&&(e.headers["x-test-secret"]=t),e});a.interceptors.response.use(e=>e,e=>(e.response?.data?.force_logout&&(O(),window.location.href="/login"),Promise.reject(e)));async function I(e){a.defaults.headers.common.Authorization=e;}function q(e){let{sandboxMode:t,fixedSecretKey:s,applicationId:r,serviceId:o,functionId:i,userFunctionId:n,segmentId:_,...w}=e??{};return {...w,live_mode:t?"false":"true",...!!s&&{"x-test-secret":s},...!!r&&{application_id:r},...!!o&&{service_id:o},...!!i&&{function_id:i},...!!n&&{user_function_id:n}}}var v=()=>{window.postMessage("network_request_waiting",window.location.origin);},A=()=>{window.postMessage("resume_network_request",window.location.origin);};export{a,I as b,q as c,v as d,A as e};
1
+ import {i,b as b$1,O}from'./chunk-R6HJFRUI.js';import {b}from'./chunk-DRAIQG2S.js';import l from'axios';var m={headers:{"Content-Type":"application/json",Accept:"application/json"}},a=l.create({baseURL:b,headers:{...m}}),g=["users/switch-segment","users/update-segment"];a.interceptors.request.use(e=>new Promise(t=>{let s=false;if(g.includes(e.url??"")){t(e);return}let r=i=>{let n=i.data;if(n==="network_request_waiting"){s=true;return}n==="resume_network_request"&&(s=false);};window.addEventListener("message",r);let o=setInterval(()=>{s||(t(e),clearInterval(o),window.removeEventListener("message",r));},0);}));a.interceptors.request.use(e=>{e.headers.Authorization=i();let t=b$1();return t&&!e.headers["x-test-secret"]&&(e.headers["x-test-secret"]=t),e});a.interceptors.response.use(e=>e,e=>(e.response?.data?.force_logout&&(O(),window.location.href="/login"),Promise.reject(e)));async function I(e){a.defaults.headers.common.Authorization=e;}function q(e){let{sandboxMode:t,fixedSecretKey:s,applicationId:r,serviceId:o,functionId:i,userFunctionId:n,segmentId:_,...w}=e??{};return {...w,live_mode:t?"false":"true",...!!s&&{"x-test-secret":s},...!!r&&{application_id:r},...!!o&&{service_id:o},...!!i&&{function_id:i},...!!n&&{user_function_id:n}}}var v=()=>{window.postMessage("network_request_waiting",window.location.origin);},A=()=>{window.postMessage("resume_network_request",window.location.origin);};export{a,I as b,q as c,v as d,A as e};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-B4TWQJGN.js';var e=a;export{e as a};