@tap-payments/os-micro-frontend-shared 0.1.578 → 0.1.579

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 (478) hide show
  1. package/build/{chunk-MR7QBSL5.js → chunk-2BUXSNHK.js} +1 -1
  2. package/build/{chunk-7W7UZKCG.js → chunk-2OGF57MW.js} +1 -1
  3. package/build/chunk-3C3Z5UPE.js +1 -0
  4. package/build/{chunk-FTGXR5LT.js → chunk-3MONFQQI.js} +1 -1
  5. package/build/chunk-4MLXK6IU.js +1 -0
  6. package/build/{chunk-6DTBGY7M.js → chunk-5WXVCT44.js} +1 -1
  7. package/build/{chunk-ROJXL7SE.js → chunk-6N462VDM.js} +1 -1
  8. package/build/chunk-6OQPFMYX.js +1 -0
  9. package/build/{chunk-U47NW3AN.js → chunk-7R5LO3YU.js} +1 -1
  10. package/build/{chunk-WKOBK6GO.js → chunk-A2ZRLO74.js} +1 -1
  11. package/build/{chunk-CIPKQ2SL.js → chunk-A5D4V56T.js} +1 -1
  12. package/build/{chunk-2RC6JOF2.js → chunk-AGQ2D5LN.js} +1 -1
  13. package/build/{chunk-IMMYZDTA.js → chunk-B6MEXB2V.js} +1 -1
  14. package/build/{chunk-6YE2Z3MO.js → chunk-BDGNJAJ5.js} +1 -1
  15. package/build/{chunk-V44MMURH.js → chunk-C3HYADXG.js} +1 -1
  16. package/build/{chunk-2QKEUYK3.js → chunk-CJ6VFIND.js} +1 -1
  17. package/build/{chunk-PAAE4ODD.js → chunk-DEFESKXR.js} +1 -1
  18. package/build/{chunk-DUDO35AT.js → chunk-FOSJFCGG.js} +1 -1
  19. package/build/{chunk-HZMXZ4NF.js → chunk-FS5KEKFE.js} +1 -1
  20. package/build/{chunk-LDM4TCR7.js → chunk-GYPTLEZD.js} +1 -1
  21. package/build/{chunk-MPZK3B57.js → chunk-H2KYUP4T.js} +1 -1
  22. package/build/{chunk-TORCG27E.js → chunk-IKL5OBSY.js} +1 -1
  23. package/build/chunk-JCYF2W25.js +1 -0
  24. package/build/chunk-JD5M7N4F.js +1 -0
  25. package/build/{chunk-K4FGBCTZ.js → chunk-KV6QEUQC.js} +1 -1
  26. package/build/{chunk-K77LJTLW.js → chunk-MNM6G3F6.js} +1 -1
  27. package/build/{chunk-B7SN6HG4.js → chunk-NJPBDHBT.js} +1 -1
  28. package/build/{chunk-RURPWXZE.js → chunk-ONR2DAFS.js} +1 -1
  29. package/build/chunk-OV6CEU3E.js +1 -0
  30. package/build/chunk-Q7S35333.js +1 -0
  31. package/build/{chunk-4GWR22BS.js → chunk-QTWZ4722.js} +1 -1
  32. package/build/chunk-QYYRBBH6.js +1 -0
  33. package/build/{chunk-B6CKY2SD.js → chunk-RH7UWYUP.js} +1 -1
  34. package/build/{chunk-UID7HLFF.js → chunk-RKK2V2HF.js} +1 -1
  35. package/build/chunk-RTBOTVVT.js +1 -0
  36. package/build/chunk-SH7ZQ4PB.js +1 -0
  37. package/build/chunk-T5D3OR5T.js +1 -0
  38. package/build/chunk-TBS7ZW2T.js +1 -0
  39. package/build/{chunk-J3CYBXNY.js → chunk-TQ5C2YTF.js} +1 -1
  40. package/build/{chunk-AF4HLDFY.js → chunk-UIBKOZ5W.js} +1 -1
  41. package/build/{chunk-KECJ4BIE.js → chunk-VFGSA7CM.js} +1 -1
  42. package/build/{chunk-W6BEFYS5.js → chunk-WQ752H6W.js} +1 -1
  43. package/build/{chunk-HYMLTVET.js → chunk-XZ6U2XDY.js} +1 -1
  44. package/build/{chunk-KTR3BNG6.js → chunk-YEJ5KZQI.js} +1 -1
  45. package/build/{chunk-G2C7FFLZ.js → chunk-YMVSBAEG.js} +1 -1
  46. package/build/{chunk-377ZUFKS.js → chunk-Z3X463GS.js} +1 -1
  47. package/build/components/Amount/TotalAmount/TotalAmount.js +1 -1
  48. package/build/components/Amount/TotalAmount/index.js +1 -1
  49. package/build/components/Amount/TotalAmount/style.js +1 -1
  50. package/build/components/Amount/index.js +1 -1
  51. package/build/components/AmountConversionFilter/AmountConversionFilter.js +1 -1
  52. package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.js +1 -1
  53. package/build/components/AmountConversionFilter/index.js +1 -1
  54. package/build/components/AmountConversionFilter/style.js +1 -1
  55. package/build/components/AmountInput/AmountInput.js +1 -1
  56. package/build/components/AmountInput/index.js +1 -1
  57. package/build/components/AmountInput/style.js +1 -1
  58. package/build/components/AppServices/AppServices.js +1 -1
  59. package/build/components/AppServices/ServiceItem.js +1 -1
  60. package/build/components/AppServices/index.js +1 -1
  61. package/build/components/AppServicesBar/AppServicesBar.js +1 -1
  62. package/build/components/AppServicesBar/index.js +1 -1
  63. package/build/components/AppWindowWrapper/AppWindow/AppWindow.js +1 -1
  64. package/build/components/AppWindowWrapper/AppWindow/index.js +1 -1
  65. package/build/components/AppWindowWrapper/AppWindowWrapper.js +1 -1
  66. package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.js +1 -1
  67. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.js +1 -1
  68. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/index.js +1 -1
  69. package/build/components/AppWindowWrapper/headers/AccountHeader/index.js +1 -1
  70. package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeader.js +1 -1
  71. package/build/components/AppWindowWrapper/headers/AppWindowHeader/index.js +1 -1
  72. package/build/components/AppWindowWrapper/index.js +1 -1
  73. package/build/components/BrandLogo/BrandLogo.js +1 -1
  74. package/build/components/BrandLogo/Loading.js +1 -1
  75. package/build/components/BrandLogo/index.js +1 -1
  76. package/build/components/CopyImage/CopyImage.js +1 -1
  77. package/build/components/CopyImage/index.js +1 -1
  78. package/build/components/CountryFilter/CountryFilter.js +1 -1
  79. package/build/components/CountryFilter/index.js +1 -1
  80. package/build/components/CurrencyFilter/CurrencyFilter.js +1 -1
  81. package/build/components/CurrencyFilter/index.js +1 -1
  82. package/build/components/Customer/CustomerDropdown/CustomerDropdown.js +1 -1
  83. package/build/components/Customer/CustomerDropdown/index.js +1 -1
  84. package/build/components/Customer/CustomerForms/CustomerEmailForm.js +1 -1
  85. package/build/components/Customer/CustomerForms/CustomerFullInfo.js +1 -1
  86. package/build/components/Customer/CustomerForms/CustomerFullInfoForm.js +1 -1
  87. package/build/components/Customer/CustomerForms/CustomerPhoneNumberForm.js +1 -1
  88. package/build/components/Customer/CustomerForms/index.js +1 -1
  89. package/build/components/Customer/CustomerForms/style.js +1 -1
  90. package/build/components/Customer/index.js +1 -1
  91. package/build/components/DateFilter/DateFilter.js +1 -1
  92. package/build/components/DateFilter/index.js +1 -1
  93. package/build/components/DateFilter/style.js +1 -1
  94. package/build/components/Dialog/components/DialogToolbar.js +1 -1
  95. package/build/components/Dialog/components/index.js +1 -1
  96. package/build/components/Dialog/index.js +1 -1
  97. package/build/components/Discount/DiscountDropdown/DiscountDropdown.js +1 -1
  98. package/build/components/Discount/DiscountDropdown/index.js +1 -1
  99. package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.js +1 -1
  100. package/build/components/Discount/DiscountRateDropdown/index.js +1 -1
  101. package/build/components/Discount/TotalDiscount/TotalDiscount.js +1 -1
  102. package/build/components/Discount/TotalDiscount/index.js +1 -1
  103. package/build/components/Discount/index.js +1 -1
  104. package/build/components/ExpandableSideBar/ExpandableSideBar.js +1 -1
  105. package/build/components/ExpandableSideBar/index.js +1 -1
  106. package/build/components/ExpandableSideBar/style.js +1 -1
  107. package/build/components/FileInputPreview/FileInputPreview.js +1 -1
  108. package/build/components/FileInputPreview/index.js +1 -1
  109. package/build/components/FileInputPreview/style.js +1 -1
  110. package/build/components/FilterDropdown/FilterDropdown.js +1 -1
  111. package/build/components/FilterDropdown/components/BrandItem/BrandItem.js +1 -1
  112. package/build/components/FilterDropdown/components/BrandItem/index.js +1 -1
  113. package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.js +1 -1
  114. package/build/components/FilterDropdown/components/CountriesItem/index.js +1 -1
  115. package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.js +1 -1
  116. package/build/components/FilterDropdown/components/CurrenciesItem/index.js +1 -1
  117. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.js +1 -1
  118. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.js +1 -1
  119. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.js +1 -1
  120. package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.js +1 -1
  121. package/build/components/FilterDropdown/components/MerchantItem/index.js +1 -1
  122. package/build/components/FilterDropdown/components/MerchantsFilterItem/MerchantsFilterItem.js +1 -1
  123. package/build/components/FilterDropdown/components/MerchantsFilterItem/index.js +1 -1
  124. package/build/components/FilterDropdown/components/MerchantsFilterItem/utils.js +1 -1
  125. package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.js +1 -1
  126. package/build/components/FilterDropdown/components/RetailersItem/index.js +1 -1
  127. package/build/components/FilterDropdown/components/index.js +1 -1
  128. package/build/components/FilterDropdown/index.js +1 -1
  129. package/build/components/FilterDropdown/style.js +1 -1
  130. package/build/components/Filters/index.js +1 -1
  131. package/build/components/Filters/style.js +1 -1
  132. package/build/components/FlagDetails/FlagDetails.js +1 -1
  133. package/build/components/FlagDetails/index.js +1 -1
  134. package/build/components/InputBase/AmountInputBase/AmountInputBase.js +1 -1
  135. package/build/components/InputBase/AmountInputBase/InputNumber/index.js +1 -1
  136. package/build/components/InputBase/AmountInputBase/index.js +1 -1
  137. package/build/components/InputBase/AmountInputBase/style.js +1 -1
  138. package/build/components/InputBase/PhoneInputBase/PhoneInputBase.js +1 -1
  139. package/build/components/InputBase/PhoneInputBase/index.js +1 -1
  140. package/build/components/InputBase/PhoneInputBase/style.js +1 -1
  141. package/build/components/InputBase/SelectBase/SelectBase.js +1 -1
  142. package/build/components/InputBase/SelectBase/SelectBaseMultiple.js +1 -1
  143. package/build/components/InputBase/SelectBase/components/SelectBaseEndAdornment.js +1 -1
  144. package/build/components/InputBase/SelectBase/index.js +1 -1
  145. package/build/components/InputBase/SelectBase/style.js +1 -1
  146. package/build/components/InputBase/index.js +1 -1
  147. package/build/components/Inputs/index.js +1 -1
  148. package/build/components/JSONViewer/JSONViewer.js +1 -1
  149. package/build/components/JSONViewer/JSONViewerList.js +1 -1
  150. package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.js +1 -1
  151. package/build/components/JSONViewer/components/JSONTitleBar/index.js +1 -1
  152. package/build/components/JSONViewer/components/index.js +1 -1
  153. package/build/components/JSONViewer/context/Provider.js +1 -1
  154. package/build/components/JSONViewer/context/index.js +1 -1
  155. package/build/components/JSONViewer/hooks/index.js +1 -1
  156. package/build/components/JSONViewer/hooks/useJsonViewerContext.js +1 -1
  157. package/build/components/JSONViewer/index.js +1 -1
  158. package/build/components/LanguageDropdown/LanguageDropdown.js +1 -1
  159. package/build/components/LanguageDropdown/index.js +1 -1
  160. package/build/components/ListColumnFilter/ListColumnFilter.js +1 -1
  161. package/build/components/ListColumnFilter/index.js +1 -1
  162. package/build/components/ListColumnFilter/style.js +1 -1
  163. package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.js +1 -1
  164. package/build/components/MerchantCurrencyDropdown/SelectedCurrency.js +1 -1
  165. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  166. package/build/components/MerchantLogo/MerchantLogo.js +1 -1
  167. package/build/components/MerchantLogo/index.js +1 -1
  168. package/build/components/MerchantLogo/style.js +1 -1
  169. package/build/components/MerchantsDropdown/BrandItem.js +1 -1
  170. package/build/components/MerchantsDropdown/EntityItem.js +1 -1
  171. package/build/components/MerchantsDropdown/EntityList.js +1 -1
  172. package/build/components/MerchantsDropdown/MerchantItem.js +1 -1
  173. package/build/components/MerchantsDropdown/MerchantsDropdown.js +1 -1
  174. package/build/components/MerchantsDropdown/MerchantsList.js +1 -1
  175. package/build/components/MerchantsDropdown/index.js +1 -1
  176. package/build/components/MerchantsDropdown/style.js +1 -1
  177. package/build/components/PartnersFilter/PartnersFilter.js +1 -1
  178. package/build/components/PartnersFilter/index.js +1 -1
  179. package/build/components/PaymentSourceFilter/AuthenticationMode.js +1 -1
  180. package/build/components/PaymentSourceFilter/AuthenticationType.js +1 -1
  181. package/build/components/PaymentSourceFilter/PaymentIcon.js +1 -1
  182. package/build/components/PaymentSourceFilter/PaymentInitiated.js +1 -1
  183. package/build/components/PaymentSourceFilter/PaymentLocations.js +1 -1
  184. package/build/components/PaymentSourceFilter/PaymentMethod.js +1 -1
  185. package/build/components/PaymentSourceFilter/PaymentMethods.js +1 -1
  186. package/build/components/PaymentSourceFilter/PaymentSchemes.js +1 -1
  187. package/build/components/PaymentSourceFilter/PaymentSourceFilter.js +1 -1
  188. package/build/components/PaymentSourceFilter/index.js +1 -1
  189. package/build/components/PaymentSourceFilter/style.js +1 -1
  190. package/build/components/PhoneFilter/PhoneFilter.js +1 -1
  191. package/build/components/PhoneFilter/index.js +1 -1
  192. package/build/components/RFH/Inputs/AmountInput/AmountInput.js +1 -1
  193. package/build/components/RFH/Inputs/AmountInput/index.js +1 -1
  194. package/build/components/RFH/Inputs/FormInput/FormInput.js +1 -1
  195. package/build/components/RFH/Inputs/FormInput/index.js +1 -1
  196. package/build/components/RFH/Inputs/FormSelect/FormSelect.js +1 -1
  197. package/build/components/RFH/Inputs/FormSelect/FormSelectMenuSearchInput.js +1 -1
  198. package/build/components/RFH/Inputs/FormSelect/FormSelectSearchableField.js +1 -1
  199. package/build/components/RFH/Inputs/FormSelect/FormSelectSelectMenu.js +1 -1
  200. package/build/components/RFH/Inputs/FormSelect/index.js +1 -1
  201. package/build/components/RFH/Inputs/FormSelect/style.js +1 -1
  202. package/build/components/RFH/Inputs/FormSelect/utils.js +1 -1
  203. package/build/components/RFH/Inputs/MultiSelect/MultiSelect.js +1 -1
  204. package/build/components/RFH/Inputs/MultiSelect/index.js +1 -1
  205. package/build/components/RFH/Inputs/PhoneInput/PhoneInput.js +1 -1
  206. package/build/components/RFH/Inputs/PhoneInput/index.js +1 -1
  207. package/build/components/RFH/Inputs/SelectWithAccordion/SelectWithAccordion.js +1 -1
  208. package/build/components/RFH/Inputs/SelectWithAccordion/index.js +1 -1
  209. package/build/components/RFH/Inputs/index.js +1 -1
  210. package/build/components/RFH/index.js +1 -1
  211. package/build/components/RangeCalender/RangeCalender.js +1 -1
  212. package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.js +1 -1
  213. package/build/components/RangeCalender/components/CustomTimepicker/index.js +1 -1
  214. package/build/components/RangeCalender/components/GroupBy/GroupBy.js +1 -1
  215. package/build/components/RangeCalender/components/GroupBy/index.js +1 -1
  216. package/build/components/RangeCalender/components/Hijri/Hijri.js +1 -1
  217. package/build/components/RangeCalender/components/Hijri/index.js +1 -1
  218. package/build/components/RangeCalender/components/Timezone/Timezone.js +1 -1
  219. package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.js +1 -1
  220. package/build/components/RangeCalender/components/Timezone/components/UserTimezone.js +1 -1
  221. package/build/components/RangeCalender/components/Timezone/index.js +1 -1
  222. package/build/components/RangeCalender/index.js +1 -1
  223. package/build/components/ReceiptsViewer/ReceiptViewer.js +1 -1
  224. package/build/components/ReceiptsViewer/ReceiptsViewer.js +1 -1
  225. package/build/components/ReceiptsViewer/index.js +1 -1
  226. package/build/components/ReferenceTypeFilter/ReferenceTypeFilter.js +1 -1
  227. package/build/components/ReferenceTypeFilter/index.js +1 -1
  228. package/build/components/ReferenceTypeFilter/style.js +1 -1
  229. package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
  230. package/build/components/SalesChannelFilter/SalesChannelFilter.js +1 -1
  231. package/build/components/SalesChannelFilter/index.js +1 -1
  232. package/build/components/SalesChannelFilter/style.js +1 -1
  233. package/build/components/SelectWithSearch/SelectWithSearch.js +1 -1
  234. package/build/components/SelectWithSearch/index.js +1 -1
  235. package/build/components/StatusFilter/StatusFilter.js +1 -1
  236. package/build/components/StatusFilter/index.js +1 -1
  237. package/build/components/StatusIcons/AuthIcons/AuthIcons.js +1 -1
  238. package/build/components/StatusIcons/AuthIcons/index.js +1 -1
  239. package/build/components/StatusIcons/AuthorizationAutoIcons/CaptureAutoIcon.js +1 -1
  240. package/build/components/StatusIcons/AuthorizationAutoIcons/VoidAutoIcon.js +1 -1
  241. package/build/components/StatusIcons/AuthorizationAutoIcons/index.js +1 -1
  242. package/build/components/StatusIcons/AuthorizationAutoIcons/style.js +1 -1
  243. package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.js +1 -1
  244. package/build/components/StatusIcons/AuthorizedIcon/index.js +1 -1
  245. package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.js +1 -1
  246. package/build/components/StatusIcons/ChargeStatusIcon/index.js +1 -1
  247. package/build/components/StatusIcons/ChargeStatusIcon/style.js +1 -1
  248. package/build/components/StatusIcons/DestinationIcon/DestinationIcon.js +1 -1
  249. package/build/components/StatusIcons/DestinationIcon/index.js +1 -1
  250. package/build/components/StatusIcons/DisputeIcon/DisputeIcon.js +1 -1
  251. package/build/components/StatusIcons/DisputeIcon/index.js +1 -1
  252. package/build/components/StatusIcons/IssuerIcon/index.js +1 -1
  253. package/build/components/StatusIcons/PayoutIcon/PayoutIcon.js +1 -1
  254. package/build/components/StatusIcons/PayoutIcon/index.js +1 -1
  255. package/build/components/StatusIcons/RefundIcon/RefundIcon.js +1 -1
  256. package/build/components/StatusIcons/RefundIcon/index.js +1 -1
  257. package/build/components/StatusIcons/SourceIcons/SourceIcons.js +1 -1
  258. package/build/components/StatusIcons/SourceIcons/index.js +1 -1
  259. package/build/components/StatusIcons/index.js +1 -1
  260. package/build/components/TableCells/CustomCells/ActionCell/ActionCell.js +1 -1
  261. package/build/components/TableCells/CustomCells/ActionCell/components/ActionIconColumn.js +1 -1
  262. package/build/components/TableCells/CustomCells/ActionCell/components/ActionsColumn.js +1 -1
  263. package/build/components/TableCells/CustomCells/ActionCell/components/index.js +1 -1
  264. package/build/components/TableCells/CustomCells/ActionCell/index.js +1 -1
  265. package/build/components/TableCells/CustomCells/AgreementCell/AgreementCell.js +1 -1
  266. package/build/components/TableCells/CustomCells/AgreementCell/index.js +1 -1
  267. package/build/components/TableCells/CustomCells/AmountCell/AmountCell.js +1 -1
  268. package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.js +1 -1
  269. package/build/components/TableCells/CustomCells/AmountCell/AmountCellText.js +1 -1
  270. package/build/components/TableCells/CustomCells/AmountCell/components/AmountConversionTooltipLabel.js +1 -1
  271. package/build/components/TableCells/CustomCells/AmountCell/components/CurrencyInfo.js +1 -1
  272. package/build/components/TableCells/CustomCells/AmountCell/components/index.js +1 -1
  273. package/build/components/TableCells/CustomCells/AmountCell/index.js +1 -1
  274. package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +1 -1
  275. package/build/components/TableCells/CustomCells/ApplicationStatusCell/index.js +1 -1
  276. package/build/components/TableCells/CustomCells/AuthCell/AuthCell.js +1 -1
  277. package/build/components/TableCells/CustomCells/AuthCell/index.js +1 -1
  278. package/build/components/TableCells/CustomCells/AuthenticationCell/AuthenticationCell.js +1 -1
  279. package/build/components/TableCells/CustomCells/AuthenticationCell/index.js +1 -1
  280. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/AuthenticationStatusCell.js +1 -1
  281. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.js +1 -1
  282. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/AuthenticationTypeCell.js +1 -1
  283. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/index.js +1 -1
  284. package/build/components/TableCells/CustomCells/AvatarCell/AvatarCell.js +1 -1
  285. package/build/components/TableCells/CustomCells/AvatarCell/index.js +1 -1
  286. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.js +1 -1
  287. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.js +1 -1
  288. package/build/components/TableCells/CustomCells/BalanceCell/index.js +1 -1
  289. package/build/components/TableCells/CustomCells/BankCell/BankCell.js +1 -1
  290. package/build/components/TableCells/CustomCells/BankCell/index.js +1 -1
  291. package/build/components/TableCells/CustomCells/BrandCell/BrandCell.js +1 -1
  292. package/build/components/TableCells/CustomCells/BrandCell/index.js +1 -1
  293. package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.js +1 -1
  294. package/build/components/TableCells/CustomCells/BrandsCell/index.js +1 -1
  295. package/build/components/TableCells/CustomCells/ChannelsCell/ChannelsCell.js +1 -1
  296. package/build/components/TableCells/CustomCells/ChannelsCell/index.js +1 -1
  297. package/build/components/TableCells/CustomCells/CheckoutStatusCell/CheckoutStatusCell.js +1 -1
  298. package/build/components/TableCells/CustomCells/CheckoutStatusCell/index.js +1 -1
  299. package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.js +1 -1
  300. package/build/components/TableCells/CustomCells/CustomerCell/index.js +1 -1
  301. package/build/components/TableCells/CustomCells/DateCell/DateCell.js +1 -1
  302. package/build/components/TableCells/CustomCells/DateCell/DateViewer.js +1 -1
  303. package/build/components/TableCells/CustomCells/DateCell/index.js +1 -1
  304. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.js +1 -1
  305. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellText.js +1 -1
  306. package/build/components/TableCells/CustomCells/DestinationCell/index.js +1 -1
  307. package/build/components/TableCells/CustomCells/DestinationCell/utils.js +1 -1
  308. package/build/components/TableCells/CustomCells/DestinationStatusCell/DestinationStatusCell.js +1 -1
  309. package/build/components/TableCells/CustomCells/DestinationStatusCell/index.js +1 -1
  310. package/build/components/TableCells/CustomCells/DeviceCell/DeviceCell.js +1 -1
  311. package/build/components/TableCells/CustomCells/DeviceCell/index.js +1 -1
  312. package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.js +1 -1
  313. package/build/components/TableCells/CustomCells/DueDateCell/index.js +1 -1
  314. package/build/components/TableCells/CustomCells/EntityCell/EntityCell.js +1 -1
  315. package/build/components/TableCells/CustomCells/EntityCell/index.js +1 -1
  316. package/build/components/TableCells/CustomCells/IndividualsCell/IndividualsCell.js +1 -1
  317. package/build/components/TableCells/CustomCells/IndividualsCell/index.js +1 -1
  318. package/build/components/TableCells/CustomCells/IntentsStatusCell/IntentsStatusCell.js +1 -1
  319. package/build/components/TableCells/CustomCells/IntentsStatusCell/index.js +1 -1
  320. package/build/components/TableCells/CustomCells/InvoiceStatusCell/ChargeStatusIcon.js +1 -1
  321. package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.js +1 -1
  322. package/build/components/TableCells/CustomCells/InvoiceStatusCell/index.js +1 -1
  323. package/build/components/TableCells/CustomCells/LeadStatusCell/LeadStatusCell.js +1 -1
  324. package/build/components/TableCells/CustomCells/LeadStatusCell/index.js +1 -1
  325. package/build/components/TableCells/CustomCells/LinkCell/LinkCell.js +1 -1
  326. package/build/components/TableCells/CustomCells/LinkCell/index.js +1 -1
  327. package/build/components/TableCells/CustomCells/MarketPlaceCell/index.js +1 -1
  328. package/build/components/TableCells/CustomCells/OrderCell/OrderCell.js +1 -1
  329. package/build/components/TableCells/CustomCells/OrderCell/OrderCellSheet.js +1 -1
  330. package/build/components/TableCells/CustomCells/OrderCell/index.js +1 -1
  331. package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.js +1 -1
  332. package/build/components/TableCells/CustomCells/OrdersCell/index.js +1 -1
  333. package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.js +1 -1
  334. package/build/components/TableCells/CustomCells/PaymentAgreementCell/index.js +1 -1
  335. package/build/components/TableCells/CustomCells/PayoutDateCell/PayoutDateCell.js +1 -1
  336. package/build/components/TableCells/CustomCells/PayoutDateCell/index.js +1 -1
  337. package/build/components/TableCells/CustomCells/PayoutReportCell/PayoutReportCell.js +1 -1
  338. package/build/components/TableCells/CustomCells/PayoutReportCell/index.js +1 -1
  339. package/build/components/TableCells/CustomCells/PayoutStatusCell/PayoutStatusCell.js +1 -1
  340. package/build/components/TableCells/CustomCells/PayoutStatusCell/index.js +1 -1
  341. package/build/components/TableCells/CustomCells/ProductsCell/ProductsCell.js +1 -1
  342. package/build/components/TableCells/CustomCells/ProductsCell/index.js +1 -1
  343. package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.js +1 -1
  344. package/build/components/TableCells/CustomCells/ProviderCell/index.js +1 -1
  345. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.js +1 -1
  346. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellSheet.js +1 -1
  347. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellText.js +1 -1
  348. package/build/components/TableCells/CustomCells/ReceiptCell/index.js +1 -1
  349. package/build/components/TableCells/CustomCells/ReferenceCell/ReferenceCell.js +1 -1
  350. package/build/components/TableCells/CustomCells/ReferenceCell/index.js +1 -1
  351. package/build/components/TableCells/CustomCells/RefundChargeCell/RefundChargeCell.js +1 -1
  352. package/build/components/TableCells/CustomCells/RefundChargeCell/index.js +1 -1
  353. package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.js +1 -1
  354. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStateIcon.js +1 -1
  355. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.js +1 -1
  356. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatusIcon.js +1 -1
  357. package/build/components/TableCells/CustomCells/RefundStatusCell/components/index.js +1 -1
  358. package/build/components/TableCells/CustomCells/RefundStatusCell/index.js +1 -1
  359. package/build/components/TableCells/CustomCells/RefundStatusCell/style.js +1 -1
  360. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +1 -1
  361. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.js +1 -1
  362. package/build/components/TableCells/CustomCells/SalesChannelCell/index.js +1 -1
  363. package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +1 -1
  364. package/build/components/TableCells/CustomCells/SegmentsCell/index.js +1 -1
  365. package/build/components/TableCells/CustomCells/SourceCell/SourceCell.js +1 -1
  366. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/PaymentCardNumberSource.js +1 -1
  367. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/index.js +1 -1
  368. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/PaymentMethodSource.js +1 -1
  369. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/index.js +1 -1
  370. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/PaymentSchemeSource.js +1 -1
  371. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/index.js +1 -1
  372. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/PaymentTypeSource.js +1 -1
  373. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/index.js +1 -1
  374. package/build/components/TableCells/CustomCells/SourceCell/components/index.js +1 -1
  375. package/build/components/TableCells/CustomCells/SourceCell/index.js +1 -1
  376. package/build/components/TableCells/CustomCells/StatusCell/StatusCell.js +1 -1
  377. package/build/components/TableCells/CustomCells/StatusCell/StatusCellSheet.js +1 -1
  378. package/build/components/TableCells/CustomCells/StatusCell/StatusCellText.js +1 -1
  379. package/build/components/TableCells/CustomCells/StatusCell/index.js +1 -1
  380. package/build/components/TableCells/CustomCells/TextTableCell/TextTableCell.js +1 -1
  381. package/build/components/TableCells/CustomCells/TextTableCell/index.js +1 -1
  382. package/build/components/TableCells/CustomCells/TextWithBadgeCell/TextWithBadgeCell.js +1 -1
  383. package/build/components/TableCells/CustomCells/TextWithBadgeCell/index.js +1 -1
  384. package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.js +1 -1
  385. package/build/components/TableCells/CustomCells/TextWithChipCell/index.js +1 -1
  386. package/build/components/TableCells/CustomCells/TokenStatusCell/TokenStatusCell.js +1 -1
  387. package/build/components/TableCells/CustomCells/TokenStatusCell/index.js +1 -1
  388. package/build/components/TableCells/CustomCells/WalletCell/WalletCell.js +1 -1
  389. package/build/components/TableCells/CustomCells/WalletCell/index.js +1 -1
  390. package/build/components/TableCells/CustomCells/index.js +1 -1
  391. package/build/components/TableCells/CustomCells/style.js +1 -1
  392. package/build/components/TableCells/index.js +1 -1
  393. package/build/components/TableHeader/FiltersRow.js +1 -1
  394. package/build/components/TableHeader/TableHeader.js +1 -1
  395. package/build/components/TableHeader/TableModeButton.js +1 -1
  396. package/build/components/TableHeader/TableView/ColumnItem.js +1 -1
  397. package/build/components/TableHeader/TableView/CreateViewDialog.js +1 -1
  398. package/build/components/TableHeader/TableView/CustomViews.js +1 -1
  399. package/build/components/TableHeader/TableView/TableView.js +1 -1
  400. package/build/components/TableHeader/TableView/ViewsDropdown.js +1 -1
  401. package/build/components/TableHeader/TableView/ViewsMenu.js +1 -1
  402. package/build/components/TableHeader/TableView/components/ColumnList.js +1 -1
  403. package/build/components/TableHeader/TableView/components/ViewsSubmenu.js +1 -1
  404. package/build/components/TableHeader/TableView/components/index.js +1 -1
  405. package/build/components/TableHeader/TableView/hooks/index.js +1 -1
  406. package/build/components/TableHeader/TableView/hooks/useCreateViewDialog.js +1 -1
  407. package/build/components/TableHeader/TableView/hooks/useCustomTableViews.js +1 -1
  408. package/build/components/TableHeader/TableView/hooks/useViewsManager.js +1 -1
  409. package/build/components/TableHeader/TableView/hooks/useViewsMenu.js +1 -1
  410. package/build/components/TableHeader/TableView/index.js +1 -1
  411. package/build/components/TableHeader/TableView/utils/index.js +1 -1
  412. package/build/components/TableHeader/index.js +1 -1
  413. package/build/components/TableReports/TableReports.js +1 -1
  414. package/build/components/TableReports/components/DownloadButton/DownloadButton.js +1 -1
  415. package/build/components/TableReports/components/DownloadButton/index.js +1 -1
  416. package/build/components/TableReports/index.js +1 -1
  417. package/build/components/ToolbarIcon/index.js +1 -1
  418. package/build/components/TreeDropdown/TreeDropdown.js +1 -1
  419. package/build/components/TreeDropdown/TreeNodeItem/SelectionControl.js +1 -1
  420. package/build/components/TreeDropdown/TreeNodeItem/TreeNodeItem.js +1 -1
  421. package/build/components/TreeDropdown/TreeNodeItem/index.js +1 -1
  422. package/build/components/TreeDropdown/TreeNodeItem/style.js +1 -1
  423. package/build/components/TreeDropdown/TreeNodeList/List.js +1 -1
  424. package/build/components/TreeDropdown/TreeNodeList/TreeNodeList.js +1 -1
  425. package/build/components/TreeDropdown/TreeNodeList/index.js +1 -1
  426. package/build/components/TreeDropdown/TreeNodeList/style.js +1 -1
  427. package/build/components/TreeDropdown/index.js +1 -1
  428. package/build/components/TreeDropdown/style.js +1 -1
  429. package/build/components/VAT/TotalVAT/TotalVAT.js +1 -1
  430. package/build/components/VAT/TotalVAT/index.js +1 -1
  431. package/build/components/VAT/VATDropdown/VATDropdown.js +1 -1
  432. package/build/components/VAT/VATDropdown/index.js +1 -1
  433. package/build/components/VAT/VATRateDropdown/VATRateDropdown.js +1 -1
  434. package/build/components/VAT/VATRateDropdown/index.js +1 -1
  435. package/build/components/VAT/index.js +1 -1
  436. package/build/components/VerificationIcon/VerificationIcon.js +1 -1
  437. package/build/components/VerificationIcon/index.js +1 -1
  438. package/build/components/ViewColumnRadioFilter/ViewColumnRadioFilter.js +1 -1
  439. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  440. package/build/components/ViewColumnRadioFilter/style.js +1 -1
  441. package/build/components/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.js +1 -1
  442. package/build/components/VirtualTables/SheetViewVirtualTable/components/LoadingMainTable.js +1 -1
  443. package/build/components/VirtualTables/SheetViewVirtualTable/components/MainTable.js +1 -1
  444. package/build/components/VirtualTables/SheetViewVirtualTable/components/NoDataView.js +1 -1
  445. package/build/components/VirtualTables/SheetViewVirtualTable/components/PinnedColumn.js +1 -1
  446. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.js +1 -1
  447. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.js +1 -1
  448. package/build/components/VirtualTables/SheetViewVirtualTable/components/index.js +1 -1
  449. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/index.js +1 -1
  450. package/build/components/VirtualTables/SheetViewVirtualTable/index.js +1 -1
  451. package/build/components/VirtualTables/VirtualTable/VirtualTable.js +1 -1
  452. package/build/components/VirtualTables/components/TableError.js +1 -1
  453. package/build/components/VirtualTables/components/TableHeader/TableHeader.js +1 -1
  454. package/build/components/VirtualTables/components/TableHeader/components/TableCell/TableCell.js +1 -1
  455. package/build/components/VirtualTables/components/TableHeader/components/TableCell/index.js +1 -1
  456. package/build/components/VirtualTables/components/TableHeader/components/index.js +1 -1
  457. package/build/components/VirtualTables/components/TableHeader/index.js +1 -1
  458. package/build/components/VirtualTables/components/TableNoData.js +1 -1
  459. package/build/components/VirtualTables/components/index.js +1 -1
  460. package/build/components/VirtualTables/index.js +1 -1
  461. package/build/components/WindowSideBar/WindowSideBar.js +1 -1
  462. package/build/components/WindowSideBar/index.js +1 -1
  463. package/build/components/WindowSideBar/style.js +1 -1
  464. package/build/components/index.js +1 -1
  465. package/build/index.js +1 -1
  466. package/package.json +1 -1
  467. package/build/chunk-76URISCF.js +0 -1
  468. package/build/chunk-7DMJUCSN.js +0 -1
  469. package/build/chunk-BEF6HCD7.js +0 -1
  470. package/build/chunk-FOWYS4JW.js +0 -1
  471. package/build/chunk-HIM5FKX4.js +0 -1
  472. package/build/chunk-KMADHVYZ.js +0 -1
  473. package/build/chunk-T5GKN6OR.js +0 -1
  474. package/build/chunk-UJMIRD53.js +0 -1
  475. package/build/chunk-YCCYTU44.js +0 -1
  476. package/build/chunk-YDHSHEPI.js +0 -1
  477. package/build/chunk-ZHCDWPSN.js +0 -1
  478. package/build/chunk-ZPJFNYK5.js +0 -1
@@ -1 +1 @@
1
- import {a as a$2}from'./chunk-AF4HLDFY.js';import {a}from'./chunk-H4FES5TH.js';import {e,a as a$3,d,c}from'./chunk-KQNJVC2E.js';import {a as a$1}from'./chunk-KJTI2SXY.js';import {a as a$4}from'./chunk-SRO5BNZN.js';import {b}from'./chunk-PXAHPIYN.js';import {Kc}from'./chunk-ITRQEXAM.js';import oe,{useState,useCallback}from'react';import A from'@mui/material/Box';import ae from'@mui/material/InputLabel';import re from'@mui/material/MenuItem';import {jsx,jsxs}from'react/jsx-runtime';function se(L,R){let{menuSearchable:ie,menuSearchPlaceholder:de,...V}=L,{required:p,hasError:q,label:r,value:n,helperText:$,feedback:H,onChange:m,options:U,isOptionEqualToValue:u,renderOption:s,getOptionValue:o,isLoading:d$1,children:W,getOptionLabel:b$1,IconComponent:f,showClearIcon:D=false,ClearIconComponent:_=a,onClear:z,endAdornment:K,inputProps:N,open:i,onOpen:h,onClose:C,menuHasSelectedCheckMark:j=false,...y}=V,[G,J]=useState(false),Q=i??G,S=useCallback((e,a)=>{a?h?.(e):C?.(e),i===void 0&&J(a);},[h,C,i]),X=e=>{m?.(e);},Y=()=>n==null?"":s?s(n):b$1?b$1(n):n?.label??"",g="";n!=null&&(g=(o?o(n):n?.id)??"");let k=!!(y.disabled||d$1),Z=D&&a$1(n,o)&&!k,ee=jsx(a$2,{endAdornmentProp:K,isLoading:!!d$1,showClear:Z,showMenuArrow:!d$1,menuOpen:Q,IconComponent:f,ClearIconComponent:_,onClear:z,onClearDefault:()=>m?.(null)}),l=b(H);return jsxs(e,{children:[jsxs(a$3,{variant:"filled","data-testid":"SelectBase",required:p,children:[jsx(ae,{sx:{height:"100%"},id:`select-label-${r.trim()}`,"data-testid":"SelectBase_InputLabel",children:r}),jsx(d,{"data-testid":"SelectBase_Select",ref:R,value:g,error:q&&!l,feedbackType:l?.type,hasFeedback:!!l,disableUnderline:true,required:p,labelId:`select-label-${r.trim()}`,id:`select-label-${r.trim()}`,renderValue:Y,...y,open:i,onOpen:e=>S(e,true),onClose:e=>S(e,false),inputProps:N,disabled:k,IconComponent:f??(()=>null),endAdornment:ee,children:W||U?.map(e=>{let a=u?u(e,n):e?.id===n?.id,ne=(o?o(e):e?.id)??e?.label??"select-base-item";return jsxs(re,{disabled:!!e.disabled,value:(o?o(e):e?.id)??"",onClick:()=>{X(e);},sx:{fontSize:"12px",display:"flex",justifyContent:"space-between",alignItems:"center",gap:1,backgroundColor:I=>a?I.palette.action.hover:I.palette.common.white},children:[jsx(A,{component:"span",sx:{flex:1,minWidth:0},children:s?s(e):e.label}),j&&a?jsx(A,{component:"img",src:Kc,alt:"",sx:{width:10,height:7.5,flexShrink:0}}):null]},`select-base-item-${ne}`)})})]}),l?jsx(a$4,{...l}):jsx(c,{children:$})]})}var ke=oe.forwardRef(se);export{ke as a};
1
+ import {a as a$2}from'./chunk-UIBKOZ5W.js';import {a}from'./chunk-H4FES5TH.js';import {e,a as a$3,d,c}from'./chunk-KQNJVC2E.js';import {a as a$1}from'./chunk-KJTI2SXY.js';import {a as a$4}from'./chunk-SRO5BNZN.js';import {b}from'./chunk-PXAHPIYN.js';import {Kc}from'./chunk-ITRQEXAM.js';import oe,{useState,useCallback}from'react';import A from'@mui/material/Box';import ae from'@mui/material/InputLabel';import re from'@mui/material/MenuItem';import {jsx,jsxs}from'react/jsx-runtime';function se(L,R){let{menuSearchable:ie,menuSearchPlaceholder:de,...V}=L,{required:p,hasError:q,label:r,value:n,helperText:$,feedback:H,onChange:m,options:U,isOptionEqualToValue:u,renderOption:s,getOptionValue:o,isLoading:d$1,children:W,getOptionLabel:b$1,IconComponent:f,showClearIcon:D=false,ClearIconComponent:_=a,onClear:z,endAdornment:K,inputProps:N,open:i,onOpen:h,onClose:C,menuHasSelectedCheckMark:j=false,...y}=V,[G,J]=useState(false),Q=i??G,S=useCallback((e,a)=>{a?h?.(e):C?.(e),i===void 0&&J(a);},[h,C,i]),X=e=>{m?.(e);},Y=()=>n==null?"":s?s(n):b$1?b$1(n):n?.label??"",g="";n!=null&&(g=(o?o(n):n?.id)??"");let k=!!(y.disabled||d$1),Z=D&&a$1(n,o)&&!k,ee=jsx(a$2,{endAdornmentProp:K,isLoading:!!d$1,showClear:Z,showMenuArrow:!d$1,menuOpen:Q,IconComponent:f,ClearIconComponent:_,onClear:z,onClearDefault:()=>m?.(null)}),l=b(H);return jsxs(e,{children:[jsxs(a$3,{variant:"filled","data-testid":"SelectBase",required:p,children:[jsx(ae,{sx:{height:"100%"},id:`select-label-${r.trim()}`,"data-testid":"SelectBase_InputLabel",children:r}),jsx(d,{"data-testid":"SelectBase_Select",ref:R,value:g,error:q&&!l,feedbackType:l?.type,hasFeedback:!!l,disableUnderline:true,required:p,labelId:`select-label-${r.trim()}`,id:`select-label-${r.trim()}`,renderValue:Y,...y,open:i,onOpen:e=>S(e,true),onClose:e=>S(e,false),inputProps:N,disabled:k,IconComponent:f??(()=>null),endAdornment:ee,children:W||U?.map(e=>{let a=u?u(e,n):e?.id===n?.id,ne=(o?o(e):e?.id)??e?.label??"select-base-item";return jsxs(re,{disabled:!!e.disabled,value:(o?o(e):e?.id)??"",onClick:()=>{X(e);},sx:{fontSize:"12px",display:"flex",justifyContent:"space-between",alignItems:"center",gap:1,backgroundColor:I=>a?I.palette.action.hover:I.palette.common.white},children:[jsx(A,{component:"span",sx:{flex:1,minWidth:0},children:s?s(e):e.label}),j&&a?jsx(A,{component:"img",src:Kc,alt:"",sx:{width:10,height:7.5,flexShrink:0}}):null]},`select-base-item-${ne}`)})})]}),l?jsx(a$4,{...l}):jsx(c,{children:$})]})}var ke=oe.forwardRef(se);export{ke as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-YCCYTU44.js';import {a}from'./chunk-Y7S6MRVA.js';import'./chunk-OJDPKSYO.js';import {b}from'./chunk-AWMGSFZV.js';import {memo,useRef,useContext}from'react';import {createPortal}from'react-dom';import {Dialog}from'@mui/material';import G from'@mui/material/Box';import {Resizable}from're-resizable';import K from'react-draggable';import {jsx,jsxs}from'react/jsx-runtime';function Q({children:z,titleBar:W,titleBarText:D,mainAppOrder:R,mainAppIsMinimized:S,showSectionsButton:y=true,rightActions:H,titleBarIcon:I}){let l=useRef(null),{dimensions:i,position:h,resizableRef:v,isMaximized:e,isOpen:A,onClose:C,viewerDefaultWidth:m,viewerDefaultHeight:o,windowZIndex:P,setPosition:M,setNewDimensions:T,isToolbarAnimationDisabled:E,fullWindowWidth:a$2,fullWindowHeight:p,setIsMaximized:f,setIsResized:B,isResized:g,setIsToolbarAnimationDisabled:t,setIsSidebarExpanded:k,isSidebarExpanded:N}=useContext(a),b$1=b(),n=i.width||m;return createPortal(jsx(K,{nodeRef:l,disabled:e,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultClassName:"draggable-lead-dialog",defaultPosition:{x:a$2/2-n/2,y:p/2-o/2},position:{x:a$2-h.x,y:h.y},onStop:(s,d)=>{M({x:a$2-d.x,y:d.y});},bounds:{top:10},children:jsx(Dialog,{ref:l,sx:{backgroundColor:"transparent",zIndex:Number(R||0)+P,...S&&{display:"none"},transform:"translate(180px, 14px)",...!e&&{width:b$1?n:"fit-content",height:b$1?o:"fit-content"},...e&&{transform:"none !important"},boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.15)"},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",width:g?"fit-content":n,height:g?"fit-content":"100%",...e&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{f(false),t(true),setTimeout(()=>{t(false);},.5*1e3);},open:A,hideBackdrop:true,fullScreen:e,"aria-labelledby":"draggable-dialog-title",disablePortal:true,children:jsx(Resizable,{"data-testid":"Resizable",enable:{left:true,right:true,bottomRight:true,bottom:true,top:true},size:{width:i.width,height:i.height},maxHeight:p-40,maxWidth:a$2,minWidth:e?"100vw":m,minHeight:e?"100vh":o,ref:s=>{v.current=s;},onResizeStart:()=>{t(true);},onResizeStop:()=>{t(false);},onResize:(s,d,u)=>{B(true),T({width:u.offsetWidth,height:u.offsetHeight});},defaultSize:{width:n,height:o},style:{background:"transparent",height:i.height,overflow:"hidden",...e&&{height:"100% !important",width:"100% !important",flex:1},...e&&{position:"relative"}},children:jsxs(G,{sx:{height:"100%"},"data-testid":"AppWindow",children:[W??jsx(a$1,{setIsToolbarAnimationDisabled:t,onClose:C,setIsMaximized:f,isToolbarAnimationDisabled:E,setIsSidebarExpanded:k,isSidebarExpanded:N,title:D,isMaximized:e,showSectionsButton:y,rightActions:H,icon:I}),z]})})})}),document.body)}var ae=memo(Q);export{ae as a};
1
+ import {a as a$1}from'./chunk-TBS7ZW2T.js';import {a}from'./chunk-Y7S6MRVA.js';import'./chunk-OJDPKSYO.js';import {b}from'./chunk-AWMGSFZV.js';import {memo,useRef,useContext}from'react';import {createPortal}from'react-dom';import {Dialog}from'@mui/material';import G from'@mui/material/Box';import {Resizable}from're-resizable';import K from'react-draggable';import {jsx,jsxs}from'react/jsx-runtime';function Q({children:z,titleBar:W,titleBarText:D,mainAppOrder:R,mainAppIsMinimized:S,showSectionsButton:y=true,rightActions:H,titleBarIcon:I}){let l=useRef(null),{dimensions:i,position:h,resizableRef:v,isMaximized:e,isOpen:A,onClose:C,viewerDefaultWidth:m,viewerDefaultHeight:o,windowZIndex:P,setPosition:M,setNewDimensions:T,isToolbarAnimationDisabled:E,fullWindowWidth:a$2,fullWindowHeight:p,setIsMaximized:f,setIsResized:B,isResized:g,setIsToolbarAnimationDisabled:t,setIsSidebarExpanded:k,isSidebarExpanded:N}=useContext(a),b$1=b(),n=i.width||m;return createPortal(jsx(K,{nodeRef:l,disabled:e,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultClassName:"draggable-lead-dialog",defaultPosition:{x:a$2/2-n/2,y:p/2-o/2},position:{x:a$2-h.x,y:h.y},onStop:(s,d)=>{M({x:a$2-d.x,y:d.y});},bounds:{top:10},children:jsx(Dialog,{ref:l,sx:{backgroundColor:"transparent",zIndex:Number(R||0)+P,...S&&{display:"none"},transform:"translate(180px, 14px)",...!e&&{width:b$1?n:"fit-content",height:b$1?o:"fit-content"},...e&&{transform:"none !important"},boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.15)"},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",width:g?"fit-content":n,height:g?"fit-content":"100%",...e&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{f(false),t(true),setTimeout(()=>{t(false);},.5*1e3);},open:A,hideBackdrop:true,fullScreen:e,"aria-labelledby":"draggable-dialog-title",disablePortal:true,children:jsx(Resizable,{"data-testid":"Resizable",enable:{left:true,right:true,bottomRight:true,bottom:true,top:true},size:{width:i.width,height:i.height},maxHeight:p-40,maxWidth:a$2,minWidth:e?"100vw":m,minHeight:e?"100vh":o,ref:s=>{v.current=s;},onResizeStart:()=>{t(true);},onResizeStop:()=>{t(false);},onResize:(s,d,u)=>{B(true),T({width:u.offsetWidth,height:u.offsetHeight});},defaultSize:{width:n,height:o},style:{background:"transparent",height:i.height,overflow:"hidden",...e&&{height:"100% !important",width:"100% !important",flex:1},...e&&{position:"relative"}},children:jsxs(G,{sx:{height:"100%"},"data-testid":"AppWindow",children:[W??jsx(a$1,{setIsToolbarAnimationDisabled:t,onClose:C,setIsMaximized:f,isToolbarAnimationDisabled:E,setIsSidebarExpanded:k,isSidebarExpanded:N,title:D,isMaximized:e,showSectionsButton:y,rightActions:H,icon:I}),z]})})})}),document.body)}var ae=memo(Q);export{ae as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-WQ752H6W.js';var o=a;export{o as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-KMADHVYZ.js';import {a}from'./chunk-QRHWOR5L.js';import {jsx}from'react/jsx-runtime';function t({children:r,windowProps:d,...o}){return o.isOpen?jsx(a,{...o,children:jsx(a$1,{...d,children:r})}):null}var W=t;export{W as a};
1
+ import {a as a$1}from'./chunk-RTBOTVVT.js';import {a}from'./chunk-QRHWOR5L.js';import {jsx}from'react/jsx-runtime';function t({children:r,windowProps:d,...o}){return o.isOpen?jsx(a,{...o,children:jsx(a$1,{...d,children:r})}):null}var W=t;export{W as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-QTWZ4722.js';var t=a;export{t as a};
@@ -1 +1 @@
1
- import {b as b$1,a}from'./chunk-7IWQJEPL.js';import {e,d,h}from'./chunk-3JEVJFD3.js';import {a as a$1}from'./chunk-JFNKUZGE.js';import {a as a$2}from'./chunk-J5VDJ4QR.js';import {useMemo}from'react';import {jsx}from'react/jsx-runtime';function b({transactionStatus:p,eci:l,authType:o,isTextShown:e$1}){let a$3=useMemo(()=>{let t=p?b$1[p]:null,r=t?.tooltip,i=p==="AUTHENTICATED"?null:t?.icon;return [{tooltip:r,content:e$1?r:i,type:e$1?"text":"icon"},...o?[{tooltip:o,content:e$1?a[o]?.tooltip:a[o]?.icon,type:e$1?"text":"icon"}]:[],{tooltip:"",content:l?`ECI ${l}`:"",type:"text"}]},[p,e$1,o,l]),I=useMemo(()=>a$3.filter(t=>!!t.content).map((t,r)=>{let i=t.type==="text"?jsx(e,{"data-testid":"AuthenticationCell_BadgeTextWrapper",children:jsx(d,{sx:{border:"none"},"data-testid":"AuthenticationCell_TextLabel","data-source":t.content,children:t.content})}):jsx(a$1,{sx:{width:"16px",height:"16px"},src:t.content,alt:t.tooltip});return jsx(a$2,{title:t.tooltip,children:i},`${t.tooltip}-${r}`)}),[a$3]);return jsx(h,{children:I})}var L=b;export{L as a};
1
+ import {e,d,h}from'./chunk-3JEVJFD3.js';import {b as b$1,a}from'./chunk-7IWQJEPL.js';import {a as a$1}from'./chunk-JFNKUZGE.js';import {a as a$2}from'./chunk-J5VDJ4QR.js';import {useMemo}from'react';import {jsx}from'react/jsx-runtime';function b({transactionStatus:p,eci:l,authType:o,isTextShown:e$1}){let a$3=useMemo(()=>{let t=p?b$1[p]:null,r=t?.tooltip,i=p==="AUTHENTICATED"?null:t?.icon;return [{tooltip:r,content:e$1?r:i,type:e$1?"text":"icon"},...o?[{tooltip:o,content:e$1?a[o]?.tooltip:a[o]?.icon,type:e$1?"text":"icon"}]:[],{tooltip:"",content:l?`ECI ${l}`:"",type:"text"}]},[p,e$1,o,l]),I=useMemo(()=>a$3.filter(t=>!!t.content).map((t,r)=>{let i=t.type==="text"?jsx(e,{"data-testid":"AuthenticationCell_BadgeTextWrapper",children:jsx(d,{sx:{border:"none"},"data-testid":"AuthenticationCell_TextLabel","data-source":t.content,children:t.content})}):jsx(a$1,{sx:{width:"16px",height:"16px"},src:t.content,alt:t.tooltip});return jsx(a$2,{title:t.tooltip,children:i},`${t.tooltip}-${r}`)}),[a$3]);return jsx(h,{children:I})}var L=b;export{L as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-HIM5FKX4.js';import'./chunk-OJDPKSYO.js';import {a}from'./chunk-7USW76OQ.js';import {memo}from'react';import {motion}from'framer-motion';import {jsx}from'react/jsx-runtime';function M({isMaximized:o,setIsToolbarAnimationDisabled:t,setIsMaximized:a$2,onClose:m,isSidebarExpanded:e,setIsSidebarExpanded:s,isToolbarAnimationDisabled:c,title:d,showSectionsButton:f,rightActions:p,icon:l}){let{isHovered:v,onMouseEnter:H,onMouseLeave:h}=a();return jsx(motion.div,{style:{...o&&{height:0,zIndex:1e3,position:"relative"}},animate:{...o&&{width:"100vw"},...!o&&{transform:"translateX(0px)",width:"100%"}},transition:{duration:.5,...c&&{duration:0}},children:jsx(a$1,{title:d||"Users",showSectionsButton:f,onClose:m,onMaximize:()=>{a$2?.(g=>!g),t?.(true),setTimeout(()=>{t?.(false);},.5*1e3);},maximized:o,id:"draggable-dialog-title",onRequestClick:()=>{t?.(false),s(!e);},isSidebarExpanded:e,isHovered:v,onMouseHover:H,onMouseLeave:h,rightActions:p,icon:l})})}var k=memo(M);export{k as a};
1
+ import {a as a$1}from'./chunk-JD5M7N4F.js';import'./chunk-OJDPKSYO.js';import {a}from'./chunk-7USW76OQ.js';import {memo}from'react';import {motion}from'framer-motion';import {jsx}from'react/jsx-runtime';function M({isMaximized:o,setIsToolbarAnimationDisabled:t,setIsMaximized:a$2,onClose:m,isSidebarExpanded:e,setIsSidebarExpanded:s,isToolbarAnimationDisabled:c,title:d,showSectionsButton:f,rightActions:p,icon:l}){let{isHovered:v,onMouseEnter:H,onMouseLeave:h}=a();return jsx(motion.div,{style:{...o&&{height:0,zIndex:1e3,position:"relative"}},animate:{...o&&{width:"100vw"},...!o&&{transform:"translateX(0px)",width:"100%"}},transition:{duration:.5,...c&&{duration:0}},children:jsx(a$1,{title:d||"Users",showSectionsButton:f,onClose:m,onMaximize:()=>{a$2?.(g=>!g),t?.(true),setTimeout(()=>{t?.(false);},.5*1e3);},maximized:o,id:"draggable-dialog-title",onRequestClick:()=>{t?.(false),s(!e);},isSidebarExpanded:e,isHovered:v,onMouseHover:H,onMouseLeave:h,rightActions:p,icon:l})})}var k=memo(M);export{k as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-C3HYADXG.js';var r=a;export{r as a};
@@ -1 +1 @@
1
- import {a as a$3}from'./chunk-X4IB3MLZ.js';import {c}from'./chunk-UYKQOW2S.js';import {c as c$1,d as d$1}from'./chunk-LFFSLLNQ.js';import {a as a$1}from'./chunk-NP75BRSY.js';import {a as a$2}from'./chunk-ZU2KMJ7U.js';import {a}from'./chunk-Z33IXTQI.js';import {d,e}from'./chunk-QJ3X53NW.js';import {Eg,Dg}from'./chunk-ITRQEXAM.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?Eg:Dg,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 {a as a$3}from'./chunk-X4IB3MLZ.js';import {c}from'./chunk-UYKQOW2S.js';import {c as c$1,d as d$1}from'./chunk-LFFSLLNQ.js';import {a as a$2}from'./chunk-ZU2KMJ7U.js';import {a as a$1}from'./chunk-NP75BRSY.js';import {a}from'./chunk-Z33IXTQI.js';import {d,e}from'./chunk-QJ3X53NW.js';import {Eg,Dg}from'./chunk-ITRQEXAM.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?Eg:Dg,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 {m}from'./chunk-G2C7FFLZ.js';import {a}from'./chunk-N26IJLSU.js';import {a as a$1}from'./chunk-J5VDJ4QR.js';import {c}from'./chunk-MIXXJ46V.js';import {b}from'./chunk-ONMEZFIB.js';import {Box}from'@mui/material';import {useMemo}from'react';import {jsx}from'react/jsx-runtime';function d({users:m$1,...f}){let g=useMemo(()=>b(),[]);return jsx(a,{...f,children:jsx(Box,{display:"flex",gap:"8px",children:jsx(Box,{position:"relative",width:"60px",height:"24px",children:m$1?.map((t,n)=>jsx(a$1,{title:`${t.first||""} ${t.last||""}`,children:jsx(m,{sx:{backgroundImage:`url(${t.logo})`,background:g,height:"24px",width:"24px",fontWeight:500,fontSize:"8.5px",lineHeight:"100%",letterSpacing:"0%",textAlign:"center",position:"absolute",top:"0",left:`${n*12}px`},src:t?.logo,children:c([t.first,t.last])},t.logo)}))})})})}export{d as a};
1
+ import {m}from'./chunk-YMVSBAEG.js';import {a}from'./chunk-N26IJLSU.js';import {a as a$1}from'./chunk-J5VDJ4QR.js';import {c}from'./chunk-MIXXJ46V.js';import {b}from'./chunk-ONMEZFIB.js';import {Box}from'@mui/material';import {useMemo}from'react';import {jsx}from'react/jsx-runtime';function d({users:m$1,...f}){let g=useMemo(()=>b(),[]);return jsx(a,{...f,children:jsx(Box,{display:"flex",gap:"8px",children:jsx(Box,{position:"relative",width:"60px",height:"24px",children:m$1?.map((t,n)=>jsx(a$1,{title:`${t.first||""} ${t.last||""}`,children:jsx(m,{sx:{backgroundImage:`url(${t.logo})`,background:g,height:"24px",width:"24px",fontWeight:500,fontSize:"8.5px",lineHeight:"100%",letterSpacing:"0%",textAlign:"center",position:"absolute",top:"0",left:`${n*12}px`},src:t?.logo,children:c([t.first,t.last])},t.logo)}))})})})}export{d as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-3PIJBVHS.js';import {a as a$3,c as c$1,b}from'./chunk-CTY6ISKH.js';import {a as a$1}from'./chunk-W66ZATEY.js';import {a as a$4}from'./chunk-J5VDJ4QR.js';import {a as a$2}from'./chunk-V66YWOK5.js';import {c}from'./chunk-5TBO732O.js';import {useTheme}from'@mui/material';import {useTranslation}from'react-i18next';import {jsx}from'react/jsx-runtime';var n=c(a(),1);function W({status:t,isTextShown:S,isSheetViewShown:h,chipIndex:f=0,selectionProps:u={}}){let r=useTheme(),{t:a}=useTranslation(),i=a((0, n.default)(t));return h&&a$1[t]?jsx(a$2,{copyText:i,chipIndex:f,selectionProps:u,children:i}):S&&a$1[t]?jsx(a$3,{"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$1,{className:"destination-status",children:t&&a$1[t]&&jsx(a$4,{title:a((0, n.default)(t)),children:jsx(b,{src:a$1[t],alt:"destination-icon"})})})}export{W as a};
1
+ import {a}from'./chunk-3PIJBVHS.js';import {a as a$1}from'./chunk-W66ZATEY.js';import {a as a$3,c as c$1,b}from'./chunk-CTY6ISKH.js';import {a as a$4}from'./chunk-J5VDJ4QR.js';import {a as a$2}from'./chunk-V66YWOK5.js';import {c}from'./chunk-5TBO732O.js';import {useTheme}from'@mui/material';import {useTranslation}from'react-i18next';import {jsx}from'react/jsx-runtime';var n=c(a(),1);function W({status:t,isTextShown:S,isSheetViewShown:h,chipIndex:f=0,selectionProps:u={}}){let r=useTheme(),{t:a}=useTranslation(),i=a((0, n.default)(t));return h&&a$1[t]?jsx(a$2,{copyText:i,chipIndex:f,selectionProps:u,children:i}):S&&a$1[t]?jsx(a$3,{"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$1,{className:"destination-status",children:t&&a$1[t]&&jsx(a$4,{title:a((0, n.default)(t)),children:jsx(b,{src:a$1[t],alt:"destination-icon"})})})}export{W as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-VJAXMEBZ.js';import {g}from'./chunk-OAVXDN55.js';import {a as a$3}from'./chunk-2BRHVQK5.js';import {a as a$2}from'./chunk-ZVXFTS5O.js';import {a as a$1}from'./chunk-ZYMFI3W6.js';import {Ee}from'./chunk-ITRQEXAM.js';import {memo}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function T({title:p,onClose:s,onMaximize:c,maximized:o=false,id:m,onRequestClick:f,isSidebarExpanded:u=false,isHovered:t=false,onMouseHover:H,onMouseLeave:x,showSectionsButton:y,rightActions:A,icon:M}){return jsx(g,{id:m,"data-testid":"UserTitleBar",maximized:o||false,children:jsx(a,{onMouseEnter:H,onMouseLeave:x,isMaximized:o,isHovered:t,title:p,icon:M||Ee,leftActions:jsxs(Fragment,{children:[jsx(a$1,{onClick:s}),jsx(a$2,{isMaximized:o,onClick:c}),y&&jsx(a$3,{onClick:f,isExpanded:!u,isHovered:t,children:"Sidebar"})]}),rightActions:A})})}var v=memo(T);export{v as a};
1
+ import {a}from'./chunk-VJAXMEBZ.js';import {g}from'./chunk-OAVXDN55.js';import {a as a$2}from'./chunk-ZVXFTS5O.js';import {a as a$1}from'./chunk-ZYMFI3W6.js';import {a as a$3}from'./chunk-2BRHVQK5.js';import {Ee}from'./chunk-ITRQEXAM.js';import {memo}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function T({title:p,onClose:s,onMaximize:c,maximized:o=false,id:m,onRequestClick:f,isSidebarExpanded:u=false,isHovered:t=false,onMouseHover:H,onMouseLeave:x,showSectionsButton:y,rightActions:A,icon:M}){return jsx(g,{id:m,"data-testid":"UserTitleBar",maximized:o||false,children:jsx(a,{onMouseEnter:H,onMouseLeave:x,isMaximized:o,isHovered:t,title:p,icon:M||Ee,leftActions:jsxs(Fragment,{children:[jsx(a$1,{onClick:s}),jsx(a$2,{isMaximized:o,onClick:c}),y&&jsx(a$3,{onClick:f,isExpanded:!u,isHovered:t,children:"Sidebar"})]}),rightActions:A})})}var v=memo(T);export{v as a};
@@ -1 +1 @@
1
- import {b,l,a as a$1,h,e,d,c,f,j,i,k}from'./chunk-J4W3YCOH.js';import {a}from'./chunk-2QKEUYK3.js';import {a as a$2}from'./chunk-ONLHD2WK.js';import {y}from'./chunk-ITRQEXAM.js';import {useState,useMemo}from'react';import {useFormContext,Controller}from'react-hook-form';import {jsx,jsxs}from'react/jsx-runtime';function le({name:G,helperText:J,getOptionValue:l$1,getOptionLabel:o,renderOption:y$1,isOptionEqualToValue:h$1,getOptionDisabled:f$1,menuSearchable:d$1=false,menuSearchPlaceholder:C="Search",showCheckbox:N=true,menuHasSelectionSummary:Q=false,valueOnly:M=false,options:c$1,isLoading:b$1,...s}){let{control:T}=useFormContext(),[u,X]=useState(""),p=t=>(l$1?l$1(t):t?.id)??"",Y=t=>!M||!t?.length?t??[]:t.map(n=>c$1?.find(a=>p(a)===n)).filter(Boolean),Z=t=>t?.map(p)??[],_=useMemo(()=>{if(!d$1||!u.trim())return c$1??[];let t=u.toLowerCase().trim();return (c$1??[]).filter(n=>{let a=(o?o(n):n?.label)??"";return String(a).toLowerCase().includes(t)})},[c$1,d$1,u,o]);return jsx(Controller,{name:G,control:T,defaultValue:[],render:({field:t,fieldState:n})=>{let a$3=Array.isArray(t.value)?t.value.filter(e=>e!=null).length:0,j$1=Q&&a$3>0,g=Y(t.value);return jsxs(a,{...s,isLoading:b$1,...t,options:c$1??[],value:g,getOptionLabel:o,hasError:!!n.error,helperText:J??n.error?.message,onChange:e=>t.onChange(M?Z(e):e),MenuProps:{...s.MenuProps,autoFocus:false,disableEnforceFocus:true},children:[d$1&&jsx(b,{disableSticky:true,children:jsx(l,{placeholder:C,value:u,onChange:e=>X(e.target.value),onKeyDown:e=>e.stopPropagation(),onKeyUp:e=>e.stopPropagation(),disableUnderline:true,fullWidth:true,inputProps:{"aria-label":C},endAdornment:b$1?jsx(a$1,{"aria-hidden":true,children:jsx(a$2,{})}):jsx(h,{src:y,alt:"search"})})}),j$1&&jsx(e,{disableSticky:true,children:jsxs(d,{children:[jsxs(c,{children:[a$3," selected"]}),jsx(f,{type:"button",variant:"text",disableRipple:true,"aria-label":"Clear all selected options",onMouseDown:e=>{e.preventDefault(),e.stopPropagation();},onClick:e=>{e.preventDefault(),e.stopPropagation(),s.onClear?s.onClear():t.onChange([]);},children:"Clear"})]})}),_?.map(e=>{let m=g?.some(S=>{if(S==null)return false;if(h$1)return h$1(e,S);if(l$1){let v=l$1(e),k=l$1(S);return v===k||String(v)===String(k)}let P=e?.id,R=S?.id;return P===R||String(P)===String(R)}),w=f$1?f$1(e):false,V=o?o(e):e.label,I=y$1?y$1(e):V;return jsx(j,{value:(l$1?l$1(e):e?.id)??"",disabled:w,$selected:m,children:N?jsxs(i,{children:[jsx(k,{checked:m,$mutedRect:m&&w}),I]}):I},(l$1?l$1(e):e?.id)??"")})]})}})}export{le as a};
1
+ import {b,l,a as a$1,h,e,d,c,f,j,i,k}from'./chunk-J4W3YCOH.js';import {a}from'./chunk-CJ6VFIND.js';import {a as a$2}from'./chunk-ONLHD2WK.js';import {y}from'./chunk-ITRQEXAM.js';import {useState,useMemo}from'react';import {useFormContext,Controller}from'react-hook-form';import {jsx,jsxs}from'react/jsx-runtime';function le({name:G,helperText:J,getOptionValue:l$1,getOptionLabel:o,renderOption:y$1,isOptionEqualToValue:h$1,getOptionDisabled:f$1,menuSearchable:d$1=false,menuSearchPlaceholder:C="Search",showCheckbox:N=true,menuHasSelectionSummary:Q=false,valueOnly:M=false,options:c$1,isLoading:b$1,...s}){let{control:T}=useFormContext(),[u,X]=useState(""),p=t=>(l$1?l$1(t):t?.id)??"",Y=t=>!M||!t?.length?t??[]:t.map(n=>c$1?.find(a=>p(a)===n)).filter(Boolean),Z=t=>t?.map(p)??[],_=useMemo(()=>{if(!d$1||!u.trim())return c$1??[];let t=u.toLowerCase().trim();return (c$1??[]).filter(n=>{let a=(o?o(n):n?.label)??"";return String(a).toLowerCase().includes(t)})},[c$1,d$1,u,o]);return jsx(Controller,{name:G,control:T,defaultValue:[],render:({field:t,fieldState:n})=>{let a$3=Array.isArray(t.value)?t.value.filter(e=>e!=null).length:0,j$1=Q&&a$3>0,g=Y(t.value);return jsxs(a,{...s,isLoading:b$1,...t,options:c$1??[],value:g,getOptionLabel:o,hasError:!!n.error,helperText:J??n.error?.message,onChange:e=>t.onChange(M?Z(e):e),MenuProps:{...s.MenuProps,autoFocus:false,disableEnforceFocus:true},children:[d$1&&jsx(b,{disableSticky:true,children:jsx(l,{placeholder:C,value:u,onChange:e=>X(e.target.value),onKeyDown:e=>e.stopPropagation(),onKeyUp:e=>e.stopPropagation(),disableUnderline:true,fullWidth:true,inputProps:{"aria-label":C},endAdornment:b$1?jsx(a$1,{"aria-hidden":true,children:jsx(a$2,{})}):jsx(h,{src:y,alt:"search"})})}),j$1&&jsx(e,{disableSticky:true,children:jsxs(d,{children:[jsxs(c,{children:[a$3," selected"]}),jsx(f,{type:"button",variant:"text",disableRipple:true,"aria-label":"Clear all selected options",onMouseDown:e=>{e.preventDefault(),e.stopPropagation();},onClick:e=>{e.preventDefault(),e.stopPropagation(),s.onClear?s.onClear():t.onChange([]);},children:"Clear"})]})}),_?.map(e=>{let m=g?.some(S=>{if(S==null)return false;if(h$1)return h$1(e,S);if(l$1){let v=l$1(e),k=l$1(S);return v===k||String(v)===String(k)}let P=e?.id,R=S?.id;return P===R||String(P)===String(R)}),w=f$1?f$1(e):false,V=o?o(e):e.label,I=y$1?y$1(e):V;return jsx(j,{value:(l$1?l$1(e):e?.id)??"",disabled:w,$selected:m,children:N?jsxs(i,{children:[jsx(k,{checked:m,$mutedRect:m&&w}),I]}):I},(l$1?l$1(e):e?.id)??"")})]})}})}export{le as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-K77LJTLW.js';import {jsx,Fragment}from'react/jsx-runtime';var J=({list:e,onClose:s,isWindowMinimized:d,windowOrder:w})=>e?.length?jsx(Fragment,{children:e.map((o,n)=>jsx(a,{index:n,json:o.json,requestJson:o?.requestJson,onClose:()=>{s(n);},isWindowMinimized:d,windowOrder:w},o.json.id))}):null;export{J as a};
1
+ import {a}from'./chunk-MNM6G3F6.js';import {jsx,Fragment}from'react/jsx-runtime';var J=({list:e,onClose:s,isWindowMinimized:d,windowOrder:w})=>e?.length?jsx(Fragment,{children:e.map((o,n)=>jsx(a,{index:n,json:o.json,requestJson:o?.requestJson,onClose:()=>{s(n);},isWindowMinimized:d,windowOrder:w},o.json.id))}):null;export{J as a};
@@ -1 +1 @@
1
- import {e,c,h,a as a$3}from'./chunk-AUFPDBTR.js';import {a as a$4}from'./chunk-ZHCDWPSN.js';import {a}from'./chunk-VEPTAPJW.js';import {a as a$2}from'./chunk-JFNKUZGE.js';import {a as a$1}from'./chunk-4EN3MZ35.js';import {Kc}from'./chunk-ITRQEXAM.js';import {useState}from'react';import {useFormContext}from'react-hook-form';import {jsx,jsxs}from'react/jsx-runtime';function $({name:t,options:C,...n}){let[i,a$5]=useState(null),[E,k]=useState(0),d=!!i,w=o=>{a$5(d?null:o.currentTarget);},p=()=>{a$5(null);},{watch:P,setValue:T}=useFormContext(),W=P(t);return jsx(a,{open:d,anchorEl:i,onOpen:w,onClose:p,trigger:jsx(a$4,{name:t,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:C.map?.((o,l)=>{let c=E===l;return jsx(a$1,{expanded:c,onChange:e=>k(e?l:null),label:jsx(a$3,{variant:"caption",children:o.group}),content:(o?.options||[]).map((e,D)=>{let y=n?.isOptionEqualToValue?.(e,W);return jsxs(h,{onClick:()=>{T(t,e,{shouldDirty:true,shouldTouch:true,shouldValidate:true}),p();},children:[n.renderOption?.(e)||e.label,y&&jsx(a$2,{src:Kc,alt:"blue-check",sx:{width:14,height:10}})]},`${e.value}-${e.label}-${D}`)}),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 G=$;export{G as a};
1
+ import {e,c,h,a as a$3}from'./chunk-AUFPDBTR.js';import {a as a$4}from'./chunk-JCYF2W25.js';import {a}from'./chunk-VEPTAPJW.js';import {a as a$2}from'./chunk-JFNKUZGE.js';import {a as a$1}from'./chunk-4EN3MZ35.js';import {Kc}from'./chunk-ITRQEXAM.js';import {useState}from'react';import {useFormContext}from'react-hook-form';import {jsx,jsxs}from'react/jsx-runtime';function $({name:t,options:C,...n}){let[i,a$5]=useState(null),[E,k]=useState(0),d=!!i,w=o=>{a$5(d?null:o.currentTarget);},p=()=>{a$5(null);},{watch:P,setValue:T}=useFormContext(),W=P(t);return jsx(a,{open:d,anchorEl:i,onOpen:w,onClose:p,trigger:jsx(a$4,{name:t,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:C.map?.((o,l)=>{let c=E===l;return jsx(a$1,{expanded:c,onChange:e=>k(e?l:null),label:jsx(a$3,{variant:"caption",children:o.group}),content:(o?.options||[]).map((e,D)=>{let y=n?.isOptionEqualToValue?.(e,W);return jsxs(h,{onClick:()=>{T(t,e,{shouldDirty:true,shouldTouch:true,shouldValidate:true}),p();},children:[n.renderOption?.(e)||e.label,y&&jsx(a$2,{src:Kc,alt:"blue-check",sx:{width:14,height:10}})]},`${e.value}-${e.label}-${D}`)}),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 G=$;export{G as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-AF4HLDFY.js';import {a as a$2}from'./chunk-H4FES5TH.js';import {e,a as a$3,d,c}from'./chunk-KQNJVC2E.js';import {a}from'./chunk-KJTI2SXY.js';import {a as a$4}from'./chunk-SRO5BNZN.js';import {b}from'./chunk-PXAHPIYN.js';import ne,{useState,useCallback,useMemo}from'react';import oe from'@mui/material/InputLabel';import ae from'@mui/material/MenuItem';import {jsx,jsxs}from'react/jsx-runtime';function se({required:S,hasError:U,label:m,value:l,helperText:D,feedback:W,onChange:p,options:u,isOptionEqualToValue:s,renderOption:b$1,getOptionValue:r,isLoading:y,children:_,getOptionLabel:C,IconComponent:h,showClearIcon:z=false,ClearIconComponent:H=a$2,onClear:N,endAdornment:j,inputProps:G,open:f,onOpen:g,onClose:M,...F},J){let[K,Q]=useState(false),X=f??K,k=useCallback((e,n)=>{n?g?.(e):M?.(e),f===void 0&&Q(n);},[g,M,f]),Y=e=>{p?.(e);},Z=()=>{let e=l?.filter(n=>n!=null)??[];return r?e.map(r):e.map(n=>n?.id)},q=useMemo(()=>u?.filter(e=>l?.some(n=>{if(n==null)return false;if(s)return s(e,n);if(r){let c=r(e),i=r(n);return c===i||String(c)===String(i)}let o=e?.id,t=n?.id;return o===t||String(o)===String(t)})),[u,l,s,r]),O=()=>q?.map(e=>C?C(e):e.label)?.join(", "),I=!!(F.disabled||y),V=z&&a(l,r)&&!I,ee=jsx(a$1,{endAdornmentProp:j,isLoading:!!y,showClear:V,showMenuArrow:!y,menuOpen:X,IconComponent:h,ClearIconComponent:H,onClear:N,onClearDefault:()=>p?.([])}),d$1=b(W);return jsxs(e,{children:[jsxs(a$3,{variant:"filled","data-testid":"SelectBase",required:S,children:[jsx(oe,{id:`select-label-${m.trim()}`,"data-testid":"SelectBase_InputLabel",children:m}),jsx(d,{multiple:true,"data-testid":"SelectBase_Select",ref:J,value:Z()??"",error:U&&!d$1,feedbackType:d$1?.type,hasFeedback:!!d$1,disableUnderline:true,required:S,labelId:`select-label-${m.trim()}`,id:`select-label-${m.trim()}`,renderValue:O,...F,open:f,onOpen:e=>k(e,true),onClose:e=>k(e,false),inputProps:G,disabled:I,IconComponent:h??(()=>null),endAdornment:ee,onChange:e=>{let o=e.target.value?.map(t=>u?.find(c=>{if(r){let w=r(c);return w===t||String(w)===String(t)}let i=c?.id;return i===t||String(i)===String(t)}));p?.(o?.filter(t=>t!=null)??[]);},children:_||u?.map((e,n)=>{let o=s?s(e,l):e?.id===l?.id;return jsx(ae,{value:(r?r(e):e?.id)??"",onClick:()=>{Y(e);},sx:{fontSize:"12px",backgroundColor:t=>o?t.palette.action.hover:t.palette.common.white},children:b$1?b$1(e):e.label},`select-base-multiple-item-${n}`)})})]}),d$1?jsx(a$4,{...d$1}):jsx(c,{children:D})]})}var be=ne.forwardRef(se);export{be as a};
1
+ import {a as a$1}from'./chunk-UIBKOZ5W.js';import {a as a$2}from'./chunk-H4FES5TH.js';import {e,a as a$3,d,c}from'./chunk-KQNJVC2E.js';import {a}from'./chunk-KJTI2SXY.js';import {a as a$4}from'./chunk-SRO5BNZN.js';import {b}from'./chunk-PXAHPIYN.js';import ne,{useState,useCallback,useMemo}from'react';import oe from'@mui/material/InputLabel';import ae from'@mui/material/MenuItem';import {jsx,jsxs}from'react/jsx-runtime';function se({required:S,hasError:U,label:m,value:l,helperText:D,feedback:W,onChange:p,options:u,isOptionEqualToValue:s,renderOption:b$1,getOptionValue:r,isLoading:y,children:_,getOptionLabel:C,IconComponent:h,showClearIcon:z=false,ClearIconComponent:H=a$2,onClear:N,endAdornment:j,inputProps:G,open:f,onOpen:g,onClose:M,...F},J){let[K,Q]=useState(false),X=f??K,k=useCallback((e,n)=>{n?g?.(e):M?.(e),f===void 0&&Q(n);},[g,M,f]),Y=e=>{p?.(e);},Z=()=>{let e=l?.filter(n=>n!=null)??[];return r?e.map(r):e.map(n=>n?.id)},q=useMemo(()=>u?.filter(e=>l?.some(n=>{if(n==null)return false;if(s)return s(e,n);if(r){let c=r(e),i=r(n);return c===i||String(c)===String(i)}let o=e?.id,t=n?.id;return o===t||String(o)===String(t)})),[u,l,s,r]),O=()=>q?.map(e=>C?C(e):e.label)?.join(", "),I=!!(F.disabled||y),V=z&&a(l,r)&&!I,ee=jsx(a$1,{endAdornmentProp:j,isLoading:!!y,showClear:V,showMenuArrow:!y,menuOpen:X,IconComponent:h,ClearIconComponent:H,onClear:N,onClearDefault:()=>p?.([])}),d$1=b(W);return jsxs(e,{children:[jsxs(a$3,{variant:"filled","data-testid":"SelectBase",required:S,children:[jsx(oe,{id:`select-label-${m.trim()}`,"data-testid":"SelectBase_InputLabel",children:m}),jsx(d,{multiple:true,"data-testid":"SelectBase_Select",ref:J,value:Z()??"",error:U&&!d$1,feedbackType:d$1?.type,hasFeedback:!!d$1,disableUnderline:true,required:S,labelId:`select-label-${m.trim()}`,id:`select-label-${m.trim()}`,renderValue:O,...F,open:f,onOpen:e=>k(e,true),onClose:e=>k(e,false),inputProps:G,disabled:I,IconComponent:h??(()=>null),endAdornment:ee,onChange:e=>{let o=e.target.value?.map(t=>u?.find(c=>{if(r){let w=r(c);return w===t||String(w)===String(t)}let i=c?.id;return i===t||String(i)===String(t)}));p?.(o?.filter(t=>t!=null)??[]);},children:_||u?.map((e,n)=>{let o=s?s(e,l):e?.id===l?.id;return jsx(ae,{value:(r?r(e):e?.id)??"",onClick:()=>{Y(e);},sx:{fontSize:"12px",backgroundColor:t=>o?t.palette.action.hover:t.palette.common.white},children:b$1?b$1(e):e.label},`select-base-multiple-item-${n}`)})})]}),d$1?jsx(a$4,{...d$1}):jsx(c,{children:D})]})}var be=ne.forwardRef(se);export{be as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-YDHSHEPI.js';import {a,b}from'./chunk-5Z3PTTVW.js';import {m}from'./chunk-QJ3X53NW.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-3C3Z5UPE.js';import {a,b}from'./chunk-5Z3PTTVW.js';import {m}from'./chunk-QJ3X53NW.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}from'./chunk-XEI3RVGV.js';import {a as a$3,b,c,e,d}from'./chunk-COW74AWN.js';import {a as a$1}from'./chunk-N26IJLSU.js';import {a as a$2}from'./chunk-J5VDJ4QR.js';import {jsx,jsxs}from'react/jsx-runtime';function B({brand:o,verificationStatus:s,hideStatus:f,brandLogo:C,...e$1}){let d$1=a[s??"incomplete"];return jsx(a$1,{...e$1,children:jsx(a$2,{title:o.name,children:jsx(a$3,{hasClick:!!e$1.onClick,children:jsxs(b,{children:[C,jsx(c,{brandName:o.name,children:o.name||"Not Available"}),!f&&jsx(e,{children:jsx(d,{src:d$1})})]})})})})}export{B as a};
1
+ import {a as a$3,b,c,e,d}from'./chunk-COW74AWN.js';import {a}from'./chunk-XEI3RVGV.js';import {a as a$1}from'./chunk-N26IJLSU.js';import {a as a$2}from'./chunk-J5VDJ4QR.js';import {jsx,jsxs}from'react/jsx-runtime';function B({brand:o,verificationStatus:s,hideStatus:f,brandLogo:C,...e$1}){let d$1=a[s??"incomplete"];return jsx(a$1,{...e$1,children:jsx(a$2,{title:o.name,children:jsx(a$3,{hasClick:!!e$1.onClick,children:jsxs(b,{children:[C,jsx(c,{brandName:o.name,children:o.name||"Not Available"}),!f&&jsx(e,{children:jsx(d,{src:d$1})})]})})})})}export{B as a};
@@ -1 +1 @@
1
- import {a as a$2}from'./chunk-Q524EAVG.js';import {a}from'./chunk-B7SN6HG4.js';import {h,i}from'./chunk-LFFSLLNQ.js';import {h as h$1,a as a$1,b}from'./chunk-QJ3X53NW.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 as a$2}from'./chunk-Q524EAVG.js';import {a}from'./chunk-NJPBDHBT.js';import {h,i}from'./chunk-LFFSLLNQ.js';import {h as h$1,a as a$1,b}from'./chunk-QJ3X53NW.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 +1 @@
1
- import {a as a$8}from'./chunk-I34V2LUK.js';import {a as a$3}from'./chunk-JSS3TF4O.js';import {a as a$1}from'./chunk-YYSDUFO5.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$a}from'./chunk-KTR3BNG6.js';import {a as a$c}from'./chunk-UID7HLFF.js';import {a as a$b}from'./chunk-377ZUFKS.js';import {a as a$9}from'./chunk-HZMXZ4NF.js';import {a as a$e}from'./chunk-66ARZQEQ.js';import {a as a$4}from'./chunk-FSWSBBDP.js';import {a as a$6}from'./chunk-WF5DC55H.js';import {d}from'./chunk-UYKQOW2S.js';import {g}from'./chunk-LFFSLLNQ.js';import {k}from'./chunk-QJ3X53NW.js';import {a as a$d}from'./chunk-ELM4GRHD.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-I34V2LUK.js';import {a as a$3}from'./chunk-JSS3TF4O.js';import {a as a$1}from'./chunk-YYSDUFO5.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$a}from'./chunk-YEJ5KZQI.js';import {a as a$c}from'./chunk-RKK2V2HF.js';import {a as a$b}from'./chunk-Z3X463GS.js';import {a as a$9}from'./chunk-FS5KEKFE.js';import {a as a$e}from'./chunk-66ARZQEQ.js';import {a as a$4}from'./chunk-FSWSBBDP.js';import {a as a$6}from'./chunk-WF5DC55H.js';import {d}from'./chunk-UYKQOW2S.js';import {g}from'./chunk-LFFSLLNQ.js';import {k}from'./chunk-QJ3X53NW.js';import {a as a$d}from'./chunk-ELM4GRHD.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 {b,a}from'./chunk-DZG37E6L.js';import {c,e as e$1}from'./chunk-JZNVHFZF.js';import {e}from'./chunk-VTSCZN4A.js';import {useMemo,useCallback}from'react';function z({templates:i,setTemplates:u,createTemplate:y,updateTemplate:g,deleteTemplate:p,tableMode:l,isTemplatesLoading:L,lang:F="en",mainDefaultTemplate:P}){let o=useMemo(()=>i.find(e=>e.default),[i]),r=i.find(e=>e.selected)?.id??o?.id,d=useCallback(e=>{u(n=>n.find(s=>s.selected)?.id===e?n:n.map(s=>({...s,selected:e?s.id===e:false})));},[u]),T=useCallback(async({name:e$1,layout:n})=>{let t=e(n,l,o),s=await y({name:e$1,layout:t}),m=c(s);return u(f=>[...f.map(a=>({...a,selected:false})),{...m,selected:true}]),{id:s.id,name:s.name??""}},[y,u,l,o]),h=useCallback(async e=>{await p(e),u(n=>n.filter(t=>t.id!==e)),d(r===e?o?.id:r);},[p,u,o,d]),S=useCallback(async(e,n)=>{let t=i.find(w=>w.id===e),{name:s,layout:m}=b(t,n),f=await g(e,{name:s,layout:m}),a$1=c(f);u(w=>a(w,E=>E.id===e,a$1)),d(a$1.id);},[i,g,u,d]),x=useMemo(()=>({templates:i,onCreateCustomView:T,onEditCustomView:S,onDeleteCustomView:h,isLoading:L,mainDefaultTemplate:P}),[i,T,S,h,L,P]),M=useCallback(e=>{if(!o){d(void 0);return}if(!e?.id||e.id==="default"){d(o.id);return}let n=i.find(t=>t.id===e.id);d(n?.id??o.id);},[i,o,d]),k=useMemo(()=>{let e=i.find(t=>r?t.id===r:false)??o;if(!e)return [];let n=e$1(e,l);return n.length>0?n:[]},[l,i,r,o]);return {customViews:x,onViewChange:M,columnsView:k,selectedViewId:r}}export{z as a};
1
+ import {e}from'./chunk-VTSCZN4A.js';import {b,a}from'./chunk-DZG37E6L.js';import {c,e as e$1}from'./chunk-JZNVHFZF.js';import {useMemo,useCallback}from'react';function z({templates:i,setTemplates:u,createTemplate:y,updateTemplate:g,deleteTemplate:p,tableMode:l,isTemplatesLoading:L,lang:F="en",mainDefaultTemplate:P}){let o=useMemo(()=>i.find(e=>e.default),[i]),r=i.find(e=>e.selected)?.id??o?.id,d=useCallback(e=>{u(n=>n.find(s=>s.selected)?.id===e?n:n.map(s=>({...s,selected:e?s.id===e:false})));},[u]),T=useCallback(async({name:e$1,layout:n})=>{let t=e(n,l,o),s=await y({name:e$1,layout:t}),m=c(s);return u(f=>[...f.map(a=>({...a,selected:false})),{...m,selected:true}]),{id:s.id,name:s.name??""}},[y,u,l,o]),h=useCallback(async e=>{await p(e),u(n=>n.filter(t=>t.id!==e)),d(r===e?o?.id:r);},[p,u,o,d]),S=useCallback(async(e,n)=>{let t=i.find(w=>w.id===e),{name:s,layout:m}=b(t,n),f=await g(e,{name:s,layout:m}),a$1=c(f);u(w=>a(w,E=>E.id===e,a$1)),d(a$1.id);},[i,g,u,d]),x=useMemo(()=>({templates:i,onCreateCustomView:T,onEditCustomView:S,onDeleteCustomView:h,isLoading:L,mainDefaultTemplate:P}),[i,T,S,h,L,P]),M=useCallback(e=>{if(!o){d(void 0);return}if(!e?.id||e.id==="default"){d(o.id);return}let n=i.find(t=>t.id===e.id);d(n?.id??o.id);},[i,o,d]),k=useMemo(()=>{let e=i.find(t=>r?t.id===r:false)??o;if(!e)return [];let n=e$1(e,l);return n.length>0?n:[]},[l,i,r,o]);return {customViews:x,onViewChange:M,columnsView:k,selectedViewId:r}}export{z as a};
@@ -1 +1 @@
1
- import {a as a$2}from'./chunk-5EOFMTA6.js';import {a as a$4}from'./chunk-MYPDL5NQ.js';import {a as a$1}from'./chunk-NSVDZ3DR.js';import {d,c}from'./chunk-NZOJFXHU.js';import {i,g,h}from'./chunk-LY3QS2T4.js';import {a as a$3}from'./chunk-FOWYS4JW.js';import {a}from'./chunk-H4FES5TH.js';import {Kc}from'./chunk-ITRQEXAM.js';import Fe,{useState,useEffect,useMemo,useRef,useCallback}from'react';import {useFormContext,Controller}from'react-hook-form';import {jsxs,jsx}from'react/jsx-runtime';function ae(se){let{name:ce,helperText:M,feedback:P,menuSearchable:n=false,showClearIcon:S=false,ClearIconComponent:x=a,onClear:A,menuSearchPlaceholder:y="Search",getOptionValue:a$5,getOptionLabel:l,renderOption:O,isOptionEqualToValue:R,options:I,MenuProps:ue,valueOnly:g$1=false,menuHasSelectedCheckMark:b=false,searchable:m=false,onSearchInputChange:E,searchDebounceMs:N=300,minSearchLength:u,menuLoadingText:ie,menuHasLoadingText:C=false,menuHasNoOptionsText:k=true,menuNoOptionsText:H,label:q,placeholder:v,required:B,disabled:D,isLoading:s,...W}=se,{control:pe}=useFormContext(),[o,_]=useState(""),[$,G]=useState("");useEffect(()=>{m||G("");},[m]);let me=useMemo(()=>({searchValue:o,setSearchValue:_,menuSearchPlaceholder:y,isLoading:!!s}),[o,y,s]),h$1=useRef(void 0),F=useRef(E);F.current=E,useEffect(()=>()=>{h$1.current&&clearTimeout(h$1.current);},[]);let he=useCallback(e=>{if(!F.current)return;let t=e.trim();h$1.current&&clearTimeout(h$1.current),h$1.current=setTimeout(()=>{if(t===""){F.current?.("");return}u!=null&&t.length<u||F.current?.(t);},N);},[N,u]),i$1=useMemo(()=>{let e=I??[];return !S||!a$5?e:e.filter(t=>{let r=a$5(t);return r!=null&&r!==""})},[S,a$5,I]),U=useMemo(()=>!n||!o.trim()?i$1:i$1.filter(e=>d(e,o,l)),[n,o,i$1,l]),d$1=useMemo(()=>n?U:i$1,[n,U,i$1]),de=useCallback(e=>!n||!o.trim()?e:e.filter(t=>d(t,o,l)),[n,o,l]),fe=useMemo(()=>{if(!m)return a$1;let e=$.trim(),t=e.length===0||u!=null&&e.length>0&&e.length<u,r=n&&!!o.trim()&&d$1.length===0,c=t&&!r||!k,T=d$1.length>0;return {menuHasLoadingText:C,suppressAutocompleteNoOptions:c,suppressEmptyMenuSurface:!T&&!(!c&&!T)&&!!!(s&&C)}},[m,$,u,n,o,d$1,k,s,C]),Se={...ue,autoFocus:false,disableEnforceFocus:true},L=e=>(a$5?a$5(e):e?.id)??"",Oe=e=>!g$1||!e?e:I?.find(t=>L(t)===e)??e,ge=useCallback((e,t,r)=>{let c$1=c(t,O,l),T=!!t.disabled;return jsxs(i,{...e,$selected:r.selected,$optionDisabled:T,children:[jsx(g,{children:c$1}),b&&r.selected?jsx(h,{src:Kc,alt:""}):null]})},[l,O,b]),z={...W};for(let e of ["IconComponent","startComponent"])delete z[e];let{slotProps:be={},...Ce}=z;return jsx(Controller,{name:ce,control:pe,render:({field:e,fieldState:t})=>{let r=Oe(e.value);return m?jsx(a$2,{menuSearchable:n,inMenuSearchContextValue:me,searchableAutocompletePopperFlags:fe,optionsWithClearFilterOnly:i$1,autocompleteFilterOptions:de,slotProps:be,autocompleteRest:Ce,showClearIcon:S,ClearIconComponent:x,menuHasLoadingText:C,menuLoadingText:ie,menuNoOptionsText:H,isLoading:s,disabled:D,label:q,placeholder:v,required:B,valueOnly:g$1,getOptionId:L,scheduleSearchNotification:he,setSearchableInputValue:G,renderAutocompleteOption:ge,onClear:A,feedback:P,helperText:M,field:e,fieldState:t,internalValue:r,getOptionLabel:l,isOptionEqualToValue:R}):jsx(a$3,{...W,...e,label:q,placeholder:v,required:B,disabled:D,isLoading:s,value:r,menuHasSelectedCheckMark:b,showClearIcon:S,ClearIconComponent:x,onClear:A,options:d$1,getOptionValue:a$5,getOptionLabel:l,renderOption:O,isOptionEqualToValue:R,hasError:!!t.error,helperText:M??t.error?.message,feedback:P,onChange:c=>e.onChange(g$1?L(c):c),MenuProps:Se,children:n?jsx(a$4,{menuSearchPlaceholder:y,searchValue:o,onSearchChange:_,isLoading:s,menuHasNoOptionsText:k,menuNoOptionsText:H,optionsWithoutEmptyValue:d$1,getOptionValue:a$5,getOptionLabel:l,renderOption:O,isOptionEqualToValue:R,menuHasSelectedCheckMark:b,valueOnly:g$1,getOptionId:L,field:e}):void 0})}})}ae.displayName="RFHSelect";var ve=Fe.memo(ae);export{ve as a};
1
+ import {a as a$2}from'./chunk-5EOFMTA6.js';import {a as a$4}from'./chunk-MYPDL5NQ.js';import {a as a$1}from'./chunk-NSVDZ3DR.js';import {d,c}from'./chunk-NZOJFXHU.js';import {i,g,h}from'./chunk-LY3QS2T4.js';import {a as a$3}from'./chunk-OV6CEU3E.js';import {a}from'./chunk-H4FES5TH.js';import {Kc}from'./chunk-ITRQEXAM.js';import Fe,{useState,useEffect,useMemo,useRef,useCallback}from'react';import {useFormContext,Controller}from'react-hook-form';import {jsxs,jsx}from'react/jsx-runtime';function ae(se){let{name:ce,helperText:M,feedback:P,menuSearchable:n=false,showClearIcon:S=false,ClearIconComponent:x=a,onClear:A,menuSearchPlaceholder:y="Search",getOptionValue:a$5,getOptionLabel:l,renderOption:O,isOptionEqualToValue:R,options:I,MenuProps:ue,valueOnly:g$1=false,menuHasSelectedCheckMark:b=false,searchable:m=false,onSearchInputChange:E,searchDebounceMs:N=300,minSearchLength:u,menuLoadingText:ie,menuHasLoadingText:C=false,menuHasNoOptionsText:k=true,menuNoOptionsText:H,label:q,placeholder:v,required:B,disabled:D,isLoading:s,...W}=se,{control:pe}=useFormContext(),[o,_]=useState(""),[$,G]=useState("");useEffect(()=>{m||G("");},[m]);let me=useMemo(()=>({searchValue:o,setSearchValue:_,menuSearchPlaceholder:y,isLoading:!!s}),[o,y,s]),h$1=useRef(void 0),F=useRef(E);F.current=E,useEffect(()=>()=>{h$1.current&&clearTimeout(h$1.current);},[]);let he=useCallback(e=>{if(!F.current)return;let t=e.trim();h$1.current&&clearTimeout(h$1.current),h$1.current=setTimeout(()=>{if(t===""){F.current?.("");return}u!=null&&t.length<u||F.current?.(t);},N);},[N,u]),i$1=useMemo(()=>{let e=I??[];return !S||!a$5?e:e.filter(t=>{let r=a$5(t);return r!=null&&r!==""})},[S,a$5,I]),U=useMemo(()=>!n||!o.trim()?i$1:i$1.filter(e=>d(e,o,l)),[n,o,i$1,l]),d$1=useMemo(()=>n?U:i$1,[n,U,i$1]),de=useCallback(e=>!n||!o.trim()?e:e.filter(t=>d(t,o,l)),[n,o,l]),fe=useMemo(()=>{if(!m)return a$1;let e=$.trim(),t=e.length===0||u!=null&&e.length>0&&e.length<u,r=n&&!!o.trim()&&d$1.length===0,c=t&&!r||!k,T=d$1.length>0;return {menuHasLoadingText:C,suppressAutocompleteNoOptions:c,suppressEmptyMenuSurface:!T&&!(!c&&!T)&&!!!(s&&C)}},[m,$,u,n,o,d$1,k,s,C]),Se={...ue,autoFocus:false,disableEnforceFocus:true},L=e=>(a$5?a$5(e):e?.id)??"",Oe=e=>!g$1||!e?e:I?.find(t=>L(t)===e)??e,ge=useCallback((e,t,r)=>{let c$1=c(t,O,l),T=!!t.disabled;return jsxs(i,{...e,$selected:r.selected,$optionDisabled:T,children:[jsx(g,{children:c$1}),b&&r.selected?jsx(h,{src:Kc,alt:""}):null]})},[l,O,b]),z={...W};for(let e of ["IconComponent","startComponent"])delete z[e];let{slotProps:be={},...Ce}=z;return jsx(Controller,{name:ce,control:pe,render:({field:e,fieldState:t})=>{let r=Oe(e.value);return m?jsx(a$2,{menuSearchable:n,inMenuSearchContextValue:me,searchableAutocompletePopperFlags:fe,optionsWithClearFilterOnly:i$1,autocompleteFilterOptions:de,slotProps:be,autocompleteRest:Ce,showClearIcon:S,ClearIconComponent:x,menuHasLoadingText:C,menuLoadingText:ie,menuNoOptionsText:H,isLoading:s,disabled:D,label:q,placeholder:v,required:B,valueOnly:g$1,getOptionId:L,scheduleSearchNotification:he,setSearchableInputValue:G,renderAutocompleteOption:ge,onClear:A,feedback:P,helperText:M,field:e,fieldState:t,internalValue:r,getOptionLabel:l,isOptionEqualToValue:R}):jsx(a$3,{...W,...e,label:q,placeholder:v,required:B,disabled:D,isLoading:s,value:r,menuHasSelectedCheckMark:b,showClearIcon:S,ClearIconComponent:x,onClear:A,options:d$1,getOptionValue:a$5,getOptionLabel:l,renderOption:O,isOptionEqualToValue:R,hasError:!!t.error,helperText:M??t.error?.message,feedback:P,onChange:c=>e.onChange(g$1?L(c):c),MenuProps:Se,children:n?jsx(a$4,{menuSearchPlaceholder:y,searchValue:o,onSearchChange:_,isLoading:s,menuHasNoOptionsText:k,menuNoOptionsText:H,optionsWithoutEmptyValue:d$1,getOptionValue:a$5,getOptionLabel:l,renderOption:O,isOptionEqualToValue:R,menuHasSelectedCheckMark:b,valueOnly:g$1,getOptionId:L,field:e}):void 0})}})}ae.displayName="RFHSelect";var ve=Fe.memo(ae);export{ve as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-IKL5OBSY.js';var o=a;export{o as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-AGQ2D5LN.js';var o=a;export{o as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-OZ4EKETX.js';import {a as a$1}from'./chunk-6YE2Z3MO.js';import {useState,useCallback,useMemo}from'react';import {jsxs,jsx}from'react/jsx-runtime';var O=({children:u})=>{let[o,t]=useState([]),[c,m]=useState(false),[J,V]=useState(1),d=useCallback(e=>{if(o.length===7){alert("Maximum allowed active Json Viewer is 7 per table.");return}if(o.some(r=>r.json.id===e.json.id))return;let i=structuredClone(e.json),l=i.request_body,n={json:i,requestJson:e.requestJson||l||void 0};delete n.json.request_body,t(r=>[...r,n]);},[o]),p=e=>{t(i=>i.filter((l,n)=>e!==n));},f=e=>{m(e);},g=e=>{V(e);},v=useMemo(()=>({jsonViewerList:o,handleJsonViewerDialogOpen:d,handleWindowMinimize:f,handleWindowOrder:g}),[o,d]);return jsxs(a.Provider,{value:v,children:[u,jsx(a$1,{list:o,onClose:p,isWindowMinimized:c,windowOrder:J})]})};export{O as a};
1
+ import {a}from'./chunk-OZ4EKETX.js';import {a as a$1}from'./chunk-BDGNJAJ5.js';import {useState,useCallback,useMemo}from'react';import {jsxs,jsx}from'react/jsx-runtime';var O=({children:u})=>{let[o,t]=useState([]),[c,m]=useState(false),[J,V]=useState(1),d=useCallback(e=>{if(o.length===7){alert("Maximum allowed active Json Viewer is 7 per table.");return}if(o.some(r=>r.json.id===e.json.id))return;let i=structuredClone(e.json),l=i.request_body,n={json:i,requestJson:e.requestJson||l||void 0};delete n.json.request_body,t(r=>[...r,n]);},[o]),p=e=>{t(i=>i.filter((l,n)=>e!==n));},f=e=>{m(e);},g=e=>{V(e);},v=useMemo(()=>({jsonViewerList:o,handleJsonViewerDialogOpen:d,handleWindowMinimize:f,handleWindowOrder:g}),[o,d]);return jsxs(a.Provider,{value:v,children:[u,jsx(a$1,{list:o,onClose:p,isWindowMinimized:c,windowOrder:J})]})};export{O as a};
@@ -1 +1 @@
1
- import {a as a$9}from'./chunk-TLNORDI2.js';import {a as a$8}from'./chunk-MHVFI2LZ.js';import {a}from'./chunk-HMB62NGL.js';import {a as a$3}from'./chunk-BEF6HCD7.js';import {a as a$6}from'./chunk-2MDS7YVC.js';import {a as a$5}from'./chunk-6IMNW5AJ.js';import {a as a$a}from'./chunk-URRSCBKM.js';import {b as b$1}from'./chunk-EAOIWTEA.js';import {c,s,b as b$2,a as a$4,l,o,k,n,g,i,m,p,f}from'./chunk-YI7J2QHY.js';import {a as a$2}from'./chunk-VFYBHLNW.js';import {b}from'./chunk-AWMGSFZV.js';import {a as a$1}from'./chunk-7USW76OQ.js';import'./chunk-6J4HOSHE.js';import {Ed,Dd,oa,ma,pa,na}from'./chunk-ITRQEXAM.js';import {useState,useRef,useMemo,useEffect}from'react';import {Dialog,Box,Typography}from'@mui/material';import a$7 from'@uiw/react-json-view';import {motion,AnimatePresence}from'framer-motion';import {Resizable}from're-resizable';import Ke from'react-draggable';import {jsx,jsxs}from'react/jsx-runtime';var R=400,y=.5;function Xe({index:j,json:l$1,requestJson:b$3={},isWindowMinimized:We,windowOrder:ke,onClose:Pe}){let[t,ee]=useState(false),[te,ze]=useState(false),[ie,Ne]=useState(false),[Be,oe]=useState(false),[ne,qe]=useState({width:0,height:0}),[P,f$1]=useState(true),[n$1,Ee]=useState(false),[re,He]=useState(true),[De,se]=useState(false),[v,ae]=useState(R),[p$1,Ae]=useState(""),[d,Je]=useState(""),le=useRef(null),pe=useRef(null),C=a(le,p$1),T=a(pe,d),z=useRef(),{onMouseEnter:Oe,onMouseLeave:Me,isHovered:_e}=a$1(),{height:N,width:w}=a$2(),[de,Ve]=useState({x:w/2+R/4-j*20,y:N/2-c/2+j*30}),I=useRef(),Fe=useMemo(()=>Object.keys(l$1)?.length,[l$1]),ce=b(),c$1=Number(I.current?.state?.width)||R,ue=i=>{setTimeout(()=>{navigator.clipboard.writeText(i||"").then(()=>{});},10);},fe=useMemo(()=>Object.keys(b$3)?.length,[b$3]),he=useMemo(()=>b$1(l$1,p$1),[l$1,p$1]),me=useMemo(()=>b$1(b$3,d),[b$3,d]);return useEffect(()=>{if(z.current&&clearTimeout(z.current),!n$1){z.current=setTimeout(()=>{ae(c$1);},y*1e3);return}ae(c$1);},[n$1,c$1]),jsx(Ke,{disabled:t,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultPosition:{x:w/2-R/4,y:N/2-c/2},position:{x:w-de.x,y:de.y},onStop:(i,o)=>{Ve({x:w-o.x,y:o.y});},bounds:{top:10},children:jsx(Dialog,{disableEnforceFocus:true,sx:{backgroundColor:"transparent",zIndex:(ke||0)+3+(t?1:0),...We&&{display:"none"},transform:"translate(180px, 14px)",...!t&&{width:ce?ne?.width||v:"fit-content",height:ce?ne?.height||c:"fit-content"},...t&&{transform:"none !important"}},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",width:te?"fit-content":v,height:te?"fit-content":c,...t&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{ee(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:N-40,maxWidth:w,minWidth:t?"100vw":v,minHeight:t?"100vh":"300px",ref:i=>{I.current=i;},onResizeStart:()=>{f$1(true);},onResizeStop:()=>{f$1(false);},onResize:(i,o,m)=>{ze(true),qe({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,...P&&{duration:0}},children:jsx(a$3,{title:n$1?"JSON Request & Response":"JSON Response",onClose:()=>Pe(),onMaximize:()=>{ee(i=>!i),f$1(true),setTimeout(()=>{f$1(false);},y*1e3);},isHovered:_e,onMouseHover:Oe,onMouseLeave:Me,maximized:t,id:"draggable-dialog-title",onRequestClick:()=>{Ee(i=>!i),f$1(false),n$1||I.current?.updateSize({width:R,height:c});},isRequestExpanded:n$1,showRequestIcon:!!fe})}),jsxs(Box,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",height:t?`calc(100vh - ${a$4}px)`:(Number(I.current?.state?.height)||c)-a$4+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,...P&&{duration:0}},ref:pe,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:()=>{se(true),setTimeout(()=>{se(false);},2e3);},children:[jsxs(l,{isMaximized:t,isScrollingRequest:De,sx:{background:"#E7E7E7B2"},isRequestShown:n$1,children:[jsx(o,{children:jsx(k,{variant:"subtitle1",children:"API Request"})}),jsxs(n,{children:[jsx(a$5,{value:d,onChange:Je,currentIndex:T.currentIndex,totalCount:T.totalCount,onPrev:T.goPrev,onNext:T.goNext}),jsx(a$6,{disableAnimation:true,onClick:()=>{He(i=>!i);},icon:re?Ed:Dd}),jsx(a$6,{onClick:()=>{navigator.clipboard.writeText(JSON.stringify(l$1)).then(()=>{});},icon:oa}),jsx(a$6,{onClick:()=>{navigator.clipboard.writeText(l$1?.id||"").then(()=>{});},icon:ma})]})]}),d.trim()&&me===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$7,{value:me??b$3,style:g,displayDataTypes:false,collapsed:d.trim()?void 0:re?1:void 0,onCopied:(i,o)=>{typeof o=="string"&&ue(o);},enableClipboard:false,children:[jsx(a$7.String,{render:a$8(d)}),jsx(a$7.KeyName,{render:a$9(d)}),jsx(a$7.CountInfo,{render:(i,{keyName:o})=>{if(!o)return jsx("span",{})}}),jsx(a$7.Copied,{render:({"data-copied":i$1,style:o,onClick:m},{keyName:B})=>B?jsxs(i,{style:o,onClick:q=>{m?.(q);},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$4,left:0},children:jsx(a$a,{sx:{paddingLeft:"12px",borderBottomRightRadius:"0",background:"#f8f9fb",flex:1},totalCount:fe})})})]})}),jsxs(p,{ref:le,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,...P&&{duration:0}},onScroll:()=>{oe(true),setTimeout(()=>{oe(false);},2e3);},children:[jsxs(l,{isMaximized:t,isScrollingRequest:Be,isRequestShown:n$1,children:[jsx(o,{children:jsx(k,{variant:"subtitle1",children:"API Response"})}),jsxs(n,{children:[jsx(a$5,{value:p$1,onChange:Ae,currentIndex:C.currentIndex,totalCount:C.totalCount,onPrev:C.goPrev,onNext:C.goNext}),jsx(a$6,{disableAnimation:true,onClick:()=>{Ne(i=>!i);},icon:ie?Ed:Dd}),jsx(a$6,{onClick:()=>{navigator.clipboard.writeText(JSON.stringify(l$1,null,2)).then(()=>{});},icon:oa}),jsx(a$6,{onClick:()=>{navigator.clipboard.writeText(l$1?.id||"").then(()=>{});},icon:ma})]})]}),p$1.trim()&&he===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$7,{value:he??l$1,style:f,displayDataTypes:false,collapsed:p$1.trim()?void 0:ie?1:void 0,onCopied:(i,o)=>{typeof o=="string"&&ue(o);},children:[jsx(a$7.String,{render:a$8(p$1)}),jsx(a$7.KeyName,{render:a$9(p$1)}),jsx(a$7.CountInfo,{render:(i,{keyName:o})=>{if(!o)return jsx("span",{})}}),jsx(a$7.Copied,{render:({"data-copied":i$1,style:o,onClick:m},{keyName:B})=>B?jsxs(i,{style:o,onClick:q=>{m?.(q);},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$4},children:jsx(a$a,{sx:{borderBottomLeftRadius:n$1?0:"12px",background:"#f8f9fb",flex:1},totalCount:Fe})})]})]})]})})})})}export{Xe as a};
1
+ import {a as a$9}from'./chunk-TLNORDI2.js';import {a as a$8}from'./chunk-MHVFI2LZ.js';import {a}from'./chunk-HMB62NGL.js';import {a as a$3}from'./chunk-4MLXK6IU.js';import {a as a$6}from'./chunk-2MDS7YVC.js';import {a as a$5}from'./chunk-6IMNW5AJ.js';import {a as a$a}from'./chunk-URRSCBKM.js';import {b as b$1}from'./chunk-EAOIWTEA.js';import {c,s,b as b$2,a as a$4,l,o,k,n,g,i,m,p,f}from'./chunk-YI7J2QHY.js';import {a as a$2}from'./chunk-VFYBHLNW.js';import {b}from'./chunk-AWMGSFZV.js';import {a as a$1}from'./chunk-7USW76OQ.js';import'./chunk-6J4HOSHE.js';import {Ed,Dd,oa,ma,pa,na}from'./chunk-ITRQEXAM.js';import {useState,useRef,useMemo,useEffect}from'react';import {Dialog,Box,Typography}from'@mui/material';import a$7 from'@uiw/react-json-view';import {motion,AnimatePresence}from'framer-motion';import {Resizable}from're-resizable';import Ke from'react-draggable';import {jsx,jsxs}from'react/jsx-runtime';var R=400,y=.5;function Xe({index:j,json:l$1,requestJson:b$3={},isWindowMinimized:We,windowOrder:ke,onClose:Pe}){let[t,ee]=useState(false),[te,ze]=useState(false),[ie,Ne]=useState(false),[Be,oe]=useState(false),[ne,qe]=useState({width:0,height:0}),[P,f$1]=useState(true),[n$1,Ee]=useState(false),[re,He]=useState(true),[De,se]=useState(false),[v,ae]=useState(R),[p$1,Ae]=useState(""),[d,Je]=useState(""),le=useRef(null),pe=useRef(null),C=a(le,p$1),T=a(pe,d),z=useRef(),{onMouseEnter:Oe,onMouseLeave:Me,isHovered:_e}=a$1(),{height:N,width:w}=a$2(),[de,Ve]=useState({x:w/2+R/4-j*20,y:N/2-c/2+j*30}),I=useRef(),Fe=useMemo(()=>Object.keys(l$1)?.length,[l$1]),ce=b(),c$1=Number(I.current?.state?.width)||R,ue=i=>{setTimeout(()=>{navigator.clipboard.writeText(i||"").then(()=>{});},10);},fe=useMemo(()=>Object.keys(b$3)?.length,[b$3]),he=useMemo(()=>b$1(l$1,p$1),[l$1,p$1]),me=useMemo(()=>b$1(b$3,d),[b$3,d]);return useEffect(()=>{if(z.current&&clearTimeout(z.current),!n$1){z.current=setTimeout(()=>{ae(c$1);},y*1e3);return}ae(c$1);},[n$1,c$1]),jsx(Ke,{disabled:t,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultPosition:{x:w/2-R/4,y:N/2-c/2},position:{x:w-de.x,y:de.y},onStop:(i,o)=>{Ve({x:w-o.x,y:o.y});},bounds:{top:10},children:jsx(Dialog,{disableEnforceFocus:true,sx:{backgroundColor:"transparent",zIndex:(ke||0)+3+(t?1:0),...We&&{display:"none"},transform:"translate(180px, 14px)",...!t&&{width:ce?ne?.width||v:"fit-content",height:ce?ne?.height||c:"fit-content"},...t&&{transform:"none !important"}},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",width:te?"fit-content":v,height:te?"fit-content":c,...t&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{ee(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:N-40,maxWidth:w,minWidth:t?"100vw":v,minHeight:t?"100vh":"300px",ref:i=>{I.current=i;},onResizeStart:()=>{f$1(true);},onResizeStop:()=>{f$1(false);},onResize:(i,o,m)=>{ze(true),qe({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,...P&&{duration:0}},children:jsx(a$3,{title:n$1?"JSON Request & Response":"JSON Response",onClose:()=>Pe(),onMaximize:()=>{ee(i=>!i),f$1(true),setTimeout(()=>{f$1(false);},y*1e3);},isHovered:_e,onMouseHover:Oe,onMouseLeave:Me,maximized:t,id:"draggable-dialog-title",onRequestClick:()=>{Ee(i=>!i),f$1(false),n$1||I.current?.updateSize({width:R,height:c});},isRequestExpanded:n$1,showRequestIcon:!!fe})}),jsxs(Box,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",height:t?`calc(100vh - ${a$4}px)`:(Number(I.current?.state?.height)||c)-a$4+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,...P&&{duration:0}},ref:pe,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:()=>{se(true),setTimeout(()=>{se(false);},2e3);},children:[jsxs(l,{isMaximized:t,isScrollingRequest:De,sx:{background:"#E7E7E7B2"},isRequestShown:n$1,children:[jsx(o,{children:jsx(k,{variant:"subtitle1",children:"API Request"})}),jsxs(n,{children:[jsx(a$5,{value:d,onChange:Je,currentIndex:T.currentIndex,totalCount:T.totalCount,onPrev:T.goPrev,onNext:T.goNext}),jsx(a$6,{disableAnimation:true,onClick:()=>{He(i=>!i);},icon:re?Ed:Dd}),jsx(a$6,{onClick:()=>{navigator.clipboard.writeText(JSON.stringify(l$1)).then(()=>{});},icon:oa}),jsx(a$6,{onClick:()=>{navigator.clipboard.writeText(l$1?.id||"").then(()=>{});},icon:ma})]})]}),d.trim()&&me===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$7,{value:me??b$3,style:g,displayDataTypes:false,collapsed:d.trim()?void 0:re?1:void 0,onCopied:(i,o)=>{typeof o=="string"&&ue(o);},enableClipboard:false,children:[jsx(a$7.String,{render:a$8(d)}),jsx(a$7.KeyName,{render:a$9(d)}),jsx(a$7.CountInfo,{render:(i,{keyName:o})=>{if(!o)return jsx("span",{})}}),jsx(a$7.Copied,{render:({"data-copied":i$1,style:o,onClick:m},{keyName:B})=>B?jsxs(i,{style:o,onClick:q=>{m?.(q);},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$4,left:0},children:jsx(a$a,{sx:{paddingLeft:"12px",borderBottomRightRadius:"0",background:"#f8f9fb",flex:1},totalCount:fe})})})]})}),jsxs(p,{ref:le,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,...P&&{duration:0}},onScroll:()=>{oe(true),setTimeout(()=>{oe(false);},2e3);},children:[jsxs(l,{isMaximized:t,isScrollingRequest:Be,isRequestShown:n$1,children:[jsx(o,{children:jsx(k,{variant:"subtitle1",children:"API Response"})}),jsxs(n,{children:[jsx(a$5,{value:p$1,onChange:Ae,currentIndex:C.currentIndex,totalCount:C.totalCount,onPrev:C.goPrev,onNext:C.goNext}),jsx(a$6,{disableAnimation:true,onClick:()=>{Ne(i=>!i);},icon:ie?Ed:Dd}),jsx(a$6,{onClick:()=>{navigator.clipboard.writeText(JSON.stringify(l$1,null,2)).then(()=>{});},icon:oa}),jsx(a$6,{onClick:()=>{navigator.clipboard.writeText(l$1?.id||"").then(()=>{});},icon:ma})]})]}),p$1.trim()&&he===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$7,{value:he??l$1,style:f,displayDataTypes:false,collapsed:p$1.trim()?void 0:ie?1:void 0,onCopied:(i,o)=>{typeof o=="string"&&ue(o);},children:[jsx(a$7.String,{render:a$8(p$1)}),jsx(a$7.KeyName,{render:a$9(p$1)}),jsx(a$7.CountInfo,{render:(i,{keyName:o})=>{if(!o)return jsx("span",{})}}),jsx(a$7.Copied,{render:({"data-copied":i$1,style:o,onClick:m},{keyName:B})=>B?jsxs(i,{style:o,onClick:q=>{m?.(q);},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$4},children:jsx(a$a,{sx:{borderBottomLeftRadius:n$1?0:"12px",background:"#f8f9fb",flex:1},totalCount:Fe})})]})]})]})})})})}export{Xe as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-U47NW3AN.js';import {e,f}from'./chunk-LFFSLLNQ.js';import {memo}from'react';import {jsx}from'react/jsx-runtime';function V({columns:t,headerProps:r,showBackDrop:o,onColumnSort:s,columnsSorting:S,pinnedColumns:m=[],onColumnPin:p,isPinnable:b=false,lastColumnId:f$1,selectedColumn:u=null,onColumnClick:T,onStartResize:w,isResizing:H=false,resizingColumn:h=null}){return jsx(e,{component:"nav","data-testid":"SheetViewVirtualTable_TableHeader_StyledHeader",showBackDrop:o,...r,children:jsx(f,{component:"section","data-testid":"SheetViewVirtualTable_TableHeader_StyledMUITableRow",children:t.map((e,i)=>{let y=`${e.pinned??"default"}-${i}`;return jsx(a,{column:e,colIndex:i,isFirst:e.id===t[0].id,isLast:e.id===t[t.length-1].id,isDefaultPinned:!!e.isDefaultPinned,isSelected:u===y,onColumnSort:s,columnsSorting:S,pinnedColumns:m,onColumnPin:p,isPinnable:b,lastColumnId:f$1,onColumnClick:T,onStartResize:w,isResizing:H,resizingColumn:h},`${e.id}-${i}`)})})})}var _=memo(V);export{_ as a};
1
+ import {a}from'./chunk-7R5LO3YU.js';import {e,f}from'./chunk-LFFSLLNQ.js';import {memo}from'react';import {jsx}from'react/jsx-runtime';function V({columns:t,headerProps:r,showBackDrop:o,onColumnSort:s,columnsSorting:S,pinnedColumns:m=[],onColumnPin:p,isPinnable:b=false,lastColumnId:f$1,selectedColumn:u=null,onColumnClick:T,onStartResize:w,isResizing:H=false,resizingColumn:h=null}){return jsx(e,{component:"nav","data-testid":"SheetViewVirtualTable_TableHeader_StyledHeader",showBackDrop:o,...r,children:jsx(f,{component:"section","data-testid":"SheetViewVirtualTable_TableHeader_StyledMUITableRow",children:t.map((e,i)=>{let y=`${e.pinned??"default"}-${i}`;return jsx(a,{column:e,colIndex:i,isFirst:e.id===t[0].id,isLast:e.id===t[t.length-1].id,isDefaultPinned:!!e.isDefaultPinned,isSelected:u===y,onColumnSort:s,columnsSorting:S,pinnedColumns:m,onColumnPin:p,isPinnable:b,lastColumnId:f$1,onColumnClick:T,onStartResize:w,isResizing:H,resizingColumn:h},`${e.id}-${i}`)})})})}var _=memo(V);export{_ as a};
@@ -1 +1 @@
1
- import {a as a$2}from'./chunk-P2GO6JNE.js';import {a}from'./chunk-XTTGHPBG.js';import {e}from'./chunk-77RDXF67.js';import {d}from'./chunk-J56MXBRJ.js';import {a as a$1}from'./chunk-JV576TC4.js';import {memo}from'react';import {jsx}from'react/jsx-runtime';var T=l=>{let{isTimeoutError:E,tableError:b,triggerDataRefetch:t,sandboxMode:r,tableEmpty:c,error:f}=l;if(E)return jsx(a,{"data-testid":"VirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:t,sandboxMode:r});let n=f;if(b){let{formatted:a$2,message:u,code:p}=e({error:n,fallbackMessage:"connectionErrorMsg"}),i=d()&&p===a$1;return jsx(a,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:i?u:a$2,triggerDataRefetch:t,sandboxMode:r,hideIcon:i,hideTryAgain:i})}if(c){let{formatted:a}=e({error:n,fallbackMessage:"tryAdjustingTheDateOrFilters"});return jsx(a$2,{sandboxMode:r,heading:"nothingFound",message:a})}return jsx(a,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:t,sandboxMode:r})},A=memo(T);export{A as a};
1
+ import {a}from'./chunk-XTTGHPBG.js';import {a as a$2}from'./chunk-P2GO6JNE.js';import {e}from'./chunk-77RDXF67.js';import {d}from'./chunk-J56MXBRJ.js';import {a as a$1}from'./chunk-JV576TC4.js';import {memo}from'react';import {jsx}from'react/jsx-runtime';var T=l=>{let{isTimeoutError:E,tableError:b,triggerDataRefetch:t,sandboxMode:r,tableEmpty:c,error:f}=l;if(E)return jsx(a,{"data-testid":"VirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:t,sandboxMode:r});let n=f;if(b){let{formatted:a$2,message:u,code:p}=e({error:n,fallbackMessage:"connectionErrorMsg"}),i=d()&&p===a$1;return jsx(a,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:i?u:a$2,triggerDataRefetch:t,sandboxMode:r,hideIcon:i,hideTryAgain:i})}if(c){let{formatted:a}=e({error:n,fallbackMessage:"tryAdjustingTheDateOrFilters"});return jsx(a$2,{sandboxMode:r,heading:"nothingFound",message:a})}return jsx(a,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:t,sandboxMode:r})},A=memo(T);export{A as a};
@@ -0,0 +1 @@
1
+ import {a as a$1}from'./chunk-2BUXSNHK.js';var a=a$1;export{a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-5WXVCT44.js';var t=a;export{t as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-VJAXMEBZ.js';import {g}from'./chunk-OAVXDN55.js';import {a as a$3}from'./chunk-2BRHVQK5.js';import {a as a$2}from'./chunk-ZVXFTS5O.js';import {a as a$1}from'./chunk-ZYMFI3W6.js';import {ad}from'./chunk-ITRQEXAM.js';import {memo}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function M({title:s,onClose:d,onMaximize:p,maximized:o=false,id:f,onMouseHover:m,onMouseLeave:c,onRequestClick:u,isRequestExpanded:S=false,showRequestIcon:x=false,isHovered:y=false}){return jsx(g,{id:f,maximized:o||false,children:jsx(a,{isHovered:true,onMouseEnter:m,onMouseLeave:c,isMaximized:o,title:s,icon:ad,leftActions:jsxs(Fragment,{children:[jsx(a$1,{onClick:d}),jsx(a$2,{isMaximized:o,onClick:p}),x&&jsx(a$3,{onClick:u,isExpanded:S,isHovered:y,children:"Request"})]})})})}var I=memo(M);export{I as a};
1
+ import {a}from'./chunk-VJAXMEBZ.js';import {g}from'./chunk-OAVXDN55.js';import {a as a$2}from'./chunk-ZVXFTS5O.js';import {a as a$1}from'./chunk-ZYMFI3W6.js';import {a as a$3}from'./chunk-2BRHVQK5.js';import {ad}from'./chunk-ITRQEXAM.js';import {memo}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function M({title:s,onClose:d,onMaximize:p,maximized:o=false,id:f,onMouseHover:m,onMouseLeave:c,onRequestClick:u,isRequestExpanded:S=false,showRequestIcon:x=false,isHovered:y=false}){return jsx(g,{id:f,maximized:o||false,children:jsx(a,{isHovered:true,onMouseEnter:m,onMouseLeave:c,isMaximized:o,title:s,icon:ad,leftActions:jsxs(Fragment,{children:[jsx(a$1,{onClick:d}),jsx(a$2,{isMaximized:o,onClick:p}),x&&jsx(a$3,{onClick:u,isExpanded:S,isHovered:y,children:"Request"})]})})})}var I=memo(M);export{I as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-MNM6G3F6.js';var e=a;export{e as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-KXMJTRCV.js';import {c as c$1}from'./chunk-QJ3X53NW.js';import {a as a$1}from'./chunk-RURPWXZE.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 {a}from'./chunk-KXMJTRCV.js';import {c as c$1}from'./chunk-QJ3X53NW.js';import {a as a$1}from'./chunk-ONR2DAFS.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-Q524EAVG.js';import {a as a$1}from'./chunk-B7SN6HG4.js';import {j,k}from'./chunk-LFFSLLNQ.js';import {h,a,b}from'./chunk-QJ3X53NW.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$2}from'./chunk-Q524EAVG.js';import {a as a$1}from'./chunk-NJPBDHBT.js';import {j,k}from'./chunk-LFFSLLNQ.js';import {h,a,b}from'./chunk-QJ3X53NW.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};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-2OGF57MW.js';var m=a;export{m as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-3MONFQQI.js';var I=a;export{I as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-DEFESKXR.js';var o=a;export{o as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-6N462VDM.js';var r=a;export{r as a};
@@ -1 +1 @@
1
- import {a as a$3}from'./chunk-6BZQFZFQ.js';import {g}from'./chunk-DM2GZBI7.js';import {a as a$2}from'./chunk-HRA5LU4S.js';import {a}from'./chunk-3PIJBVHS.js';import {a as a$1}from'./chunk-YLMTXONW.js';import {c}from'./chunk-5TBO732O.js';import {useTranslation}from'react-i18next';import {Box}from'@mui/material';import {useCallback,useMemo}from'react';import {jsx,jsxs}from'react/jsx-runtime';var i=c(a(),1);function v({payment:s,card:u,isTextShown:a,firstIcon:r}){let{t:e}=useTranslation(),c=useCallback(()=>{let o=[],l=a$1(s),m=s?.method,n=s?.scheme;return a$2(m)?.toLowerCase()===a$2(n)?.toLowerCase()?o.push(a$2(m),a$2(l)):o.push(a$2(m),a$2(l),a$2(n)),o},[s]),y=useMemo(()=>jsx(a$3,{source:r,isTextShown:a,title:e((0, i.default)(r))},r),[r,a,e]),_=useMemo(()=>c()?.filter(o=>!!o&&o!==r)?.map((o,l,m)=>{let n=s?.wallet===e("sv_wallet")?e("storedValueWallet"):e("passThruWallet"),w=l===m.length-1&&u?.last_four?`${e((0, i.default)(o))} - ${u?.last_four}`:e((0, i.default)(o));return jsx(a$3,{source:o,isTextShown:a,title:l===0&&o==="Wallet"?n:w},`${o}-${l}`)}),[c,s,u,a,e,r]);return jsxs(Box,{display:"flex",alignItems:"center",gap:.5,children:[r&&y,_,u?.last_four&&jsxs(g,{children:["\xB7\xB7\xB7 ",u?.last_four]})]})}export{v as a};
1
+ import {a as a$3}from'./chunk-6BZQFZFQ.js';import {a as a$2}from'./chunk-HRA5LU4S.js';import {g}from'./chunk-DM2GZBI7.js';import {a}from'./chunk-3PIJBVHS.js';import {a as a$1}from'./chunk-YLMTXONW.js';import {c}from'./chunk-5TBO732O.js';import {useTranslation}from'react-i18next';import {Box}from'@mui/material';import {useCallback,useMemo}from'react';import {jsx,jsxs}from'react/jsx-runtime';var i=c(a(),1);function v({payment:s,card:u,isTextShown:a,firstIcon:r}){let{t:e}=useTranslation(),c=useCallback(()=>{let o=[],l=a$1(s),m=s?.method,n=s?.scheme;return a$2(m)?.toLowerCase()===a$2(n)?.toLowerCase()?o.push(a$2(m),a$2(l)):o.push(a$2(m),a$2(l),a$2(n)),o},[s]),y=useMemo(()=>jsx(a$3,{source:r,isTextShown:a,title:e((0, i.default)(r))},r),[r,a,e]),_=useMemo(()=>c()?.filter(o=>!!o&&o!==r)?.map((o,l,m)=>{let n=s?.wallet===e("sv_wallet")?e("storedValueWallet"):e("passThruWallet"),w=l===m.length-1&&u?.last_four?`${e((0, i.default)(o))} - ${u?.last_four}`:e((0, i.default)(o));return jsx(a$3,{source:o,isTextShown:a,title:l===0&&o==="Wallet"?n:w},`${o}-${l}`)}),[c,s,u,a,e,r]);return jsxs(Box,{display:"flex",alignItems:"center",gap:.5,children:[r&&y,_,u?.last_four&&jsxs(g,{children:["\xB7\xB7\xB7 ",u?.last_four]})]})}export{v as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-X3VRCBGX.js';import {a as a$1}from'./chunk-H4FES5TH.js';import {a as a$2}from'./chunk-AKCI5NCW.js';import p from'@mui/material/Box';import b from'@mui/material/IconButton';import {jsxs,jsx}from'react/jsx-runtime';function B(e){if(e.button!==0)return;let o=e.currentTarget.closest(".MuiInputBase-root");if(!o||o.classList.contains("Mui-disabled"))return;e.preventDefault();let t=o.querySelector('.MuiSelect-select[role="combobox"]');t&&t.dispatchEvent(new MouseEvent("mousedown",{bubbles:true,cancelable:true,button:0,view:globalThis,clientX:e.clientX,clientY:e.clientY}));}function E({endAdornmentProp:e,isLoading:o,showClear:t,showMenuArrow:l,menuOpen:m,IconComponent:a$3,ClearIconComponent:d=a$1,onClear:s,onClearDefault:f}){return !(e||t||o||l)?null:jsxs(p,{className:"SelectBase-endAdornmentRoot",component:"span",children:[e,o?jsx(a,{}):null,!o&&t?jsx(b,{className:"SelectBase-clearIconButton",type:"button",tabIndex:0,size:"small","aria-label":"Clear selection",onMouseDown:n=>{n.preventDefault(),n.stopPropagation();},onClick:n=>{n.preventDefault(),n.stopPropagation(),s?s():f();},sx:n=>({p:"1px",flexShrink:0,cursor:"pointer",color:"inherit",backgroundColor:"transparent",...a$3?{mr:2}:{},"&:hover":{backgroundColor:n.palette.action.hover},"&:focus-visible":{outline:`2px solid ${n.palette.primary.main}`,outlineOffset:1}}),children:jsx(d,{sx:{fontSize:8,width:8,height:8}})}):null,!o&&l&&!a$3&&jsx(p,{component:"span",className:`SelectBase-menuTriggerIcon${m?" SelectBase-menuTriggerIcon-open":""}`,"aria-hidden":true,onMouseDown:B,children:jsx(a$2,{})})]})}export{E as a};
1
+ import {a as a$1}from'./chunk-H4FES5TH.js';import {a as a$2}from'./chunk-AKCI5NCW.js';import {a}from'./chunk-X3VRCBGX.js';import p from'@mui/material/Box';import b from'@mui/material/IconButton';import {jsxs,jsx}from'react/jsx-runtime';function B(e){if(e.button!==0)return;let o=e.currentTarget.closest(".MuiInputBase-root");if(!o||o.classList.contains("Mui-disabled"))return;e.preventDefault();let t=o.querySelector('.MuiSelect-select[role="combobox"]');t&&t.dispatchEvent(new MouseEvent("mousedown",{bubbles:true,cancelable:true,button:0,view:globalThis,clientX:e.clientX,clientY:e.clientY}));}function E({endAdornmentProp:e,isLoading:o,showClear:t,showMenuArrow:l,menuOpen:m,IconComponent:a$3,ClearIconComponent:d=a$1,onClear:s,onClearDefault:f}){return !(e||t||o||l)?null:jsxs(p,{className:"SelectBase-endAdornmentRoot",component:"span",children:[e,o?jsx(a,{}):null,!o&&t?jsx(b,{className:"SelectBase-clearIconButton",type:"button",tabIndex:0,size:"small","aria-label":"Clear selection",onMouseDown:n=>{n.preventDefault(),n.stopPropagation();},onClick:n=>{n.preventDefault(),n.stopPropagation(),s?s():f();},sx:n=>({p:"1px",flexShrink:0,cursor:"pointer",color:"inherit",backgroundColor:"transparent",...a$3?{mr:2}:{},"&:hover":{backgroundColor:n.palette.action.hover},"&:focus-visible":{outline:`2px solid ${n.palette.primary.main}`,outlineOffset:1}}),children:jsx(d,{sx:{fontSize:8,width:8,height:8}})}):null,!o&&l&&!a$3&&jsx(p,{component:"span",className:`SelectBase-menuTriggerIcon${m?" SelectBase-menuTriggerIcon-open":""}`,"aria-hidden":true,onMouseDown:B,children:jsx(a$2,{})})]})}export{E as a};
@@ -1 +1 @@
1
- import {a as a$3,e,b,f,c,d,g}from'./chunk-DB7QGNZM.js';import {a}from'./chunk-6FWBEZXT.js';import {a as a$1}from'./chunk-N26IJLSU.js';import {a as a$2}from'./chunk-J5VDJ4QR.js';import {jsx,jsxs}from'react/jsx-runtime';function T({id:l,status:f$1,count:n,name:I,...c$1}){let s=a[f$1??"incomplete"];return jsx(a$1,{...c$1,sx:{cursor:"pointer"},children:jsx(a$2,{title:I,children:jsx(a$3,{children:l?jsxs(e,{children:[jsx(b,{children:l}),jsxs(f,{children:[jsx(c,{src:s}),n>1&&jsx("div",{children:jsxs(d,{children:["+",n-1]})})]})]}):jsx(g,{children:"Not Available"})})})})}export{T as a};
1
+ import {a}from'./chunk-6FWBEZXT.js';import {a as a$3,e,b,f,c,d,g}from'./chunk-DB7QGNZM.js';import {a as a$1}from'./chunk-N26IJLSU.js';import {a as a$2}from'./chunk-J5VDJ4QR.js';import {jsx,jsxs}from'react/jsx-runtime';function T({id:l,status:f$1,count:n,name:I,...c$1}){let s=a[f$1??"incomplete"];return jsx(a$1,{...c$1,sx:{cursor:"pointer"},children:jsx(a$2,{title:I,children:jsx(a$3,{children:l?jsxs(e,{children:[jsx(b,{children:l}),jsxs(f,{children:[jsx(c,{src:s}),n>1&&jsx("div",{children:jsxs(d,{children:["+",n-1]})})]})]}):jsx(g,{children:"Not Available"})})})})}export{T as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-NP75BRSY.js';import {a as a$2}from'./chunk-ZU2KMJ7U.js';import {a}from'./chunk-Z33IXTQI.js';import {d,e}from'./chunk-QJ3X53NW.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$2}from'./chunk-ZU2KMJ7U.js';import {a as a$1}from'./chunk-NP75BRSY.js';import {a}from'./chunk-Z33IXTQI.js';import {d,e}from'./chunk-QJ3X53NW.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-76URISCF.js';import {c as c$2}from'./chunk-VPQIV2QY.js';import {a as a$3}from'./chunk-B6CKY2SD.js';import {f,j,h,a as a$1,b as b$1}from'./chunk-QJ3X53NW.js';import {b as b$2}from'./chunk-PTBUIR3X.js';import {a as a$4}from'./chunk-ELM4GRHD.js';import {a}from'./chunk-2TBHJTJY.js';import {d as d$1}from'./chunk-RY3KLR6T.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((c,t,T,g,S,I,r,o,n,V,D)=>({columns:c,isLoading:t,rows:T,rowProps:g,scrollToIndex:S,totalCount:r,lastItemIndex:I,isError:o,areAllRowsLoaded:n,isSheetView:V,selection:D}));function wt({columns:c$3,rows:t,threshold:T=200,showHeader:g,headerProps:S,rowProps:I,footerProps:r,isLoading:o,error:n,columnsSorting:V,onColumnSort:D,loadMoreItems:N,isFetchingNextPage:_,triggerDataRefetch:dt,scrollToIndex:h$1,areAllRowsLoaded:d$2=false,tableBodyStyles:mt,tableMode:ut,tableTitle:bt,onStartDrag:ct,isSheetView:s=false,isMinimized:R,footerComponent:Tt,customNoDataComponent:W,defaultSkeleton:F=false,selection:e,isFilterEnabled:ht}){let w=useTheme(),pt=a=>{ct?.(a);},k=a({value:_,delay:1e3}),[K,ft]=useState(false),[O,yt]=useState("INITIAL_KEY");useEffect(()=>{let a=`${r?.maximized}-${R}`,l=requestAnimationFrame(()=>yt(a));return ()=>cancelAnimationFrame(l)},[r?.maximized,R]);let x=b(n),C=o??true,v=!o&&t.length===0&&x&&!d(n),M=!o&&t.length===0,B=c(n),L=t.length-1,G=useMemo(()=>c$1(c$3,o??false,F),[c$3,o,F]),$=useMemo(()=>G.filter(a=>!a.hidden),[G]),H=useMemo(()=>$.sort((a,l)=>(a?.order??1e6)-(l?.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(l=>!e.isDisabled(l)):t).map(l=>l[e.selector]):[],[t,e?.isDisabled,e?.selector]),m=d$1(t.length)&&!C,p=k||d$2&&!m?t.length+1:t.length,q=Ft(H,k,t,I,h$1,L,r?.totalCount??0,x,d$2&&!m,s,e),f$1=s?28:57,y=useRef(null);useEffect(()=>{y.current&&typeof y.current.resetAfterIndex=="function"&&y.current.resetAfterIndex(0,true);},[s,f$1]);let St=useMemo(()=>{let a=u=>{ft(u);};return jsx(Wt,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:u=>u!==L,itemCount:p,loadMoreItems:async()=>{d$2||await N?.();},threshold:T,children:({onItemsRendered:u,ref:It})=>jsx(Rt,{ref:It,"data-testid":"VirtualTable_AutoSizer",children:({height:Vt,width:Dt})=>jsx(f,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:q,height:Vt||0,width:Dt||0,itemCount:p,itemSize:()=>f$1,onItemsRendered:u,setBackdropVisibility:a,areTotalRowsNotFillingHeight:m,scrollToIndex:h$1,overscanCount:5,isSheetView:s,listRef:y,children:c$2})},O)})},[L,N,T,d$2,m,p,f$1,s,q,h$1,O]),E=C||v||M||B;return jsxs(Fragment,{children:[jsxs(j,{children:[jsx(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":!!d$2,"data-is-fetching-next-page":!!_,"data-scroll-to-index":h$1,"data-is-loading":!!o,"data-is-error":!!x,"data-is-error-timeout":!!B,"data-table-mode":ut,height:"100%",dir:w.direction,showNoDataView:E,children:jsxs(a$1,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:E,sx:{...mt},children:[g&&jsx(a$2,{"data-testid":"VirtualTable_TableHeader",columnsSorting:V,onColumnSort:D,columns:H,headerProps:S,showBackDrop:K,isSheetView:s,totalCount:r?.totalCount??0,selection:e,selectableCount:Et,getSelectableKeys:gt,isFilterEnabled:ht}),E?W||jsx(a$3,{error:n,tableEmpty:M,isTimeoutError:B,tableError:v,tableLoading:C,orderedColumns:H,triggerDataRefetch:dt,footerProps:r}):jsx(a$1,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(b$1,{"data-testid":"VirtualTable_StyledBox",hidePadding:true,className:"list-wrapper",children:St})})]})}),!E&&m&&!_&&jsx(b$2,{height:(p+1)*f$1,sandboxMode:r?.sandboxMode,"data-testid":"VirtualTable_TableLastItem"})]}),r&&jsx(a$4,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:K,onPointerDown:pt,selectedCount:e?.ids.length,...r}),Tt]})}var jt=memo(wt);export{jt as a};
1
+ import {a as a$2}from'./chunk-T5D3OR5T.js';import {c as c$2}from'./chunk-VPQIV2QY.js';import {a as a$3}from'./chunk-RH7UWYUP.js';import {f,j,h,a as a$1,b as b$1}from'./chunk-QJ3X53NW.js';import {b as b$2}from'./chunk-PTBUIR3X.js';import {a as a$4}from'./chunk-ELM4GRHD.js';import {a}from'./chunk-2TBHJTJY.js';import {d as d$1}from'./chunk-RY3KLR6T.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((c,t,T,g,S,I,r,o,n,V,D)=>({columns:c,isLoading:t,rows:T,rowProps:g,scrollToIndex:S,totalCount:r,lastItemIndex:I,isError:o,areAllRowsLoaded:n,isSheetView:V,selection:D}));function wt({columns:c$3,rows:t,threshold:T=200,showHeader:g,headerProps:S,rowProps:I,footerProps:r,isLoading:o,error:n,columnsSorting:V,onColumnSort:D,loadMoreItems:N,isFetchingNextPage:_,triggerDataRefetch:dt,scrollToIndex:h$1,areAllRowsLoaded:d$2=false,tableBodyStyles:mt,tableMode:ut,tableTitle:bt,onStartDrag:ct,isSheetView:s=false,isMinimized:R,footerComponent:Tt,customNoDataComponent:W,defaultSkeleton:F=false,selection:e,isFilterEnabled:ht}){let w=useTheme(),pt=a=>{ct?.(a);},k=a({value:_,delay:1e3}),[K,ft]=useState(false),[O,yt]=useState("INITIAL_KEY");useEffect(()=>{let a=`${r?.maximized}-${R}`,l=requestAnimationFrame(()=>yt(a));return ()=>cancelAnimationFrame(l)},[r?.maximized,R]);let x=b(n),C=o??true,v=!o&&t.length===0&&x&&!d(n),M=!o&&t.length===0,B=c(n),L=t.length-1,G=useMemo(()=>c$1(c$3,o??false,F),[c$3,o,F]),$=useMemo(()=>G.filter(a=>!a.hidden),[G]),H=useMemo(()=>$.sort((a,l)=>(a?.order??1e6)-(l?.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(l=>!e.isDisabled(l)):t).map(l=>l[e.selector]):[],[t,e?.isDisabled,e?.selector]),m=d$1(t.length)&&!C,p=k||d$2&&!m?t.length+1:t.length,q=Ft(H,k,t,I,h$1,L,r?.totalCount??0,x,d$2&&!m,s,e),f$1=s?28:57,y=useRef(null);useEffect(()=>{y.current&&typeof y.current.resetAfterIndex=="function"&&y.current.resetAfterIndex(0,true);},[s,f$1]);let St=useMemo(()=>{let a=u=>{ft(u);};return jsx(Wt,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:u=>u!==L,itemCount:p,loadMoreItems:async()=>{d$2||await N?.();},threshold:T,children:({onItemsRendered:u,ref:It})=>jsx(Rt,{ref:It,"data-testid":"VirtualTable_AutoSizer",children:({height:Vt,width:Dt})=>jsx(f,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:q,height:Vt||0,width:Dt||0,itemCount:p,itemSize:()=>f$1,onItemsRendered:u,setBackdropVisibility:a,areTotalRowsNotFillingHeight:m,scrollToIndex:h$1,overscanCount:5,isSheetView:s,listRef:y,children:c$2})},O)})},[L,N,T,d$2,m,p,f$1,s,q,h$1,O]),E=C||v||M||B;return jsxs(Fragment,{children:[jsxs(j,{children:[jsx(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":!!d$2,"data-is-fetching-next-page":!!_,"data-scroll-to-index":h$1,"data-is-loading":!!o,"data-is-error":!!x,"data-is-error-timeout":!!B,"data-table-mode":ut,height:"100%",dir:w.direction,showNoDataView:E,children:jsxs(a$1,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:E,sx:{...mt},children:[g&&jsx(a$2,{"data-testid":"VirtualTable_TableHeader",columnsSorting:V,onColumnSort:D,columns:H,headerProps:S,showBackDrop:K,isSheetView:s,totalCount:r?.totalCount??0,selection:e,selectableCount:Et,getSelectableKeys:gt,isFilterEnabled:ht}),E?W||jsx(a$3,{error:n,tableEmpty:M,isTimeoutError:B,tableError:v,tableLoading:C,orderedColumns:H,triggerDataRefetch:dt,footerProps:r}):jsx(a$1,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(b$1,{"data-testid":"VirtualTable_StyledBox",hidePadding:true,className:"list-wrapper",children:St})})]})}),!E&&m&&!_&&jsx(b$2,{height:(p+1)*f$1,sandboxMode:r?.sandboxMode,"data-testid":"VirtualTable_TableLastItem"})]}),r&&jsx(a$4,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:K,onPointerDown:pt,selectedCount:e?.ids.length,...r}),Tt]})}var jt=memo(wt);export{jt as a};
@@ -1 +1 @@
1
- import {a as a$2}from'./chunk-Q524EAVG.js';import {a as a$1}from'./chunk-B7SN6HG4.js';import {j,k}from'./chunk-LFFSLLNQ.js';import {h,a,b}from'./chunk-QJ3X53NW.js';import {memo}from'react';import {useTheme}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';function v({hasPinnedStart:t,hasPinnedEnd:i,unpinnedColumnsData:l,showHeader:h$1,columnsSorting:T,onColumnSort:c,headerProps:g,showBackDrop:u,pinnedStartColumns:x,pinnedEndColumns:f,onColumnPin:S,isPinnable:w,lastColumnId:V,selectedColumn:y,onColumnClick:L,tableTitle:P,areAllRowsLoaded:W,isFetchingNextPage:B,scrollToIndex:_,isLoading:C,isError:H,hasTimeoutError:M,tableMode:D,showNoDataView:o,tableBodyStyles:k$1}){let r=useTheme();return jsx(j,{hasPinnedStart:t,hasPinnedEnd:i,children:jsx(h,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox_Loading","data-title":P,"data-direction":r.direction,"data-are-all-rows-loaded":!!W,"data-is-fetching-next-page":!!B,"data-scroll-to-index":_,"data-is-loading":!!C,"data-is-error":!!H,"data-is-error-timeout":!!M,"data-table-mode":D,height:"100%",dir:r.direction,showNoDataView:o,scrollable:true,children:jsxs(a,{"data-testid":"SheetViewVirtualTable_LoadingTableWrapper",showNoDataView:o,sx:{...k$1,display:"flex",flexDirection:"column",height:"100%"},children:[h$1&&jsx(k,{children:jsx(a$1,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:T,onColumnSort:c,columns:l,headerProps:g,showBackDrop:u,pinnedColumns:[...x,...f],onColumnPin:S,isPinnable:w,lastColumnId:V,selectedColumn:y,onColumnClick:L,tablePosition:"scrollable",hasPinnedStart:t,hasPinnedEnd:i})}),jsx(a,{"data-testid":"VirtualTable_LoadingTableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(b,{"data-testid":"SheetViewVirtualTable_LoadingStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},children:jsx(a$2,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:l,isLoading:true,isPinned:false})})})]})})})}var J=memo(v);export{J as a};
1
+ import {a as a$2}from'./chunk-Q524EAVG.js';import {a as a$1}from'./chunk-NJPBDHBT.js';import {j,k}from'./chunk-LFFSLLNQ.js';import {h,a,b}from'./chunk-QJ3X53NW.js';import {memo}from'react';import {useTheme}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';function v({hasPinnedStart:t,hasPinnedEnd:i,unpinnedColumnsData:l,showHeader:h$1,columnsSorting:T,onColumnSort:c,headerProps:g,showBackDrop:u,pinnedStartColumns:x,pinnedEndColumns:f,onColumnPin:S,isPinnable:w,lastColumnId:V,selectedColumn:y,onColumnClick:L,tableTitle:P,areAllRowsLoaded:W,isFetchingNextPage:B,scrollToIndex:_,isLoading:C,isError:H,hasTimeoutError:M,tableMode:D,showNoDataView:o,tableBodyStyles:k$1}){let r=useTheme();return jsx(j,{hasPinnedStart:t,hasPinnedEnd:i,children:jsx(h,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox_Loading","data-title":P,"data-direction":r.direction,"data-are-all-rows-loaded":!!W,"data-is-fetching-next-page":!!B,"data-scroll-to-index":_,"data-is-loading":!!C,"data-is-error":!!H,"data-is-error-timeout":!!M,"data-table-mode":D,height:"100%",dir:r.direction,showNoDataView:o,scrollable:true,children:jsxs(a,{"data-testid":"SheetViewVirtualTable_LoadingTableWrapper",showNoDataView:o,sx:{...k$1,display:"flex",flexDirection:"column",height:"100%"},children:[h$1&&jsx(k,{children:jsx(a$1,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:T,onColumnSort:c,columns:l,headerProps:g,showBackDrop:u,pinnedColumns:[...x,...f],onColumnPin:S,isPinnable:w,lastColumnId:V,selectedColumn:y,onColumnClick:L,tablePosition:"scrollable",hasPinnedStart:t,hasPinnedEnd:i})}),jsx(a,{"data-testid":"VirtualTable_LoadingTableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(b,{"data-testid":"SheetViewVirtualTable_LoadingStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},children:jsx(a$2,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:l,isLoading:true,isPinned:false})})})]})})})}var J=memo(v);export{J as a};