@tap-payments/os-micro-frontend-shared 0.1.572 → 0.1.573

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 (476) hide show
  1. package/build/{chunk-IE2I2TGF.js → chunk-2AN4UL4C.js} +1 -1
  2. package/build/chunk-2DLRG7KT.js +1 -0
  3. package/build/chunk-2NLPH6BC.js +1 -0
  4. package/build/{chunk-I4WGF3QK.js → chunk-32IXXVBZ.js} +1 -1
  5. package/build/{chunk-R6TUSOCL.js → chunk-3747CTDT.js} +1 -1
  6. package/build/{chunk-Y7HYUFT7.js → chunk-3RHP4HEM.js} +1 -1
  7. package/build/{chunk-ZJZMI2LG.js → chunk-5BJ3V27B.js} +1 -1
  8. package/build/chunk-6IXDQEM4.js +1 -0
  9. package/build/chunk-6PCB4QGR.js +1 -0
  10. package/build/{chunk-IEYXZ2MI.js → chunk-6QSVKZR4.js} +1 -1
  11. package/build/chunk-6TLBIS75.js +1 -0
  12. package/build/{chunk-BQJAWJEJ.js → chunk-BOHLXSZR.js} +1 -1
  13. package/build/{chunk-MLRF675U.js → chunk-CT6N3EVP.js} +1 -1
  14. package/build/chunk-DOVAHQCY.js +1 -0
  15. package/build/{chunk-W4ZGYHDB.js → chunk-DXOUIIDB.js} +1 -1
  16. package/build/{chunk-KTAQWWSP.js → chunk-E5YIUNWO.js} +1 -1
  17. package/build/{chunk-VELM2LLL.js → chunk-EEUZKDSM.js} +1 -1
  18. package/build/{chunk-CX52TESC.js → chunk-EQYI7XHQ.js} +1 -1
  19. package/build/{chunk-P4IH3ZU2.js → chunk-FVUIYCET.js} +1 -1
  20. package/build/{chunk-HBDZLLW4.js → chunk-GL5NZPNU.js} +1 -1
  21. package/build/chunk-HDKE73CJ.js +1 -0
  22. package/build/{chunk-MIQATMZ3.js → chunk-HGDTGS7N.js} +1 -1
  23. package/build/{chunk-77HKXOAG.js → chunk-HROOMMOA.js} +1 -1
  24. package/build/{chunk-YEVA7P3K.js → chunk-IF2PNHYC.js} +1 -1
  25. package/build/{chunk-MYXMZGWF.js → chunk-IMBHWGI6.js} +1 -1
  26. package/build/chunk-JJ5NFDWX.js +1 -0
  27. package/build/chunk-JN3Z3UAU.js +1 -0
  28. package/build/{chunk-RCETHSRS.js → chunk-L7JVLYFA.js} +1 -1
  29. package/build/{chunk-AX72EOEK.js → chunk-MHVFI2LZ.js} +1 -1
  30. package/build/{chunk-CKR4TES2.js → chunk-N6RYKFD6.js} +1 -1
  31. package/build/{chunk-VIB6LW65.js → chunk-NNSKP3K3.js} +1 -1
  32. package/build/{chunk-C6FWH5YX.js → chunk-O5CV2BMD.js} +1 -1
  33. package/build/{chunk-XKKRVCN5.js → chunk-OH7CFTBA.js} +1 -1
  34. package/build/{chunk-URQLZI5B.js → chunk-PMQOI7SM.js} +1 -1
  35. package/build/{chunk-EX2GDIFK.js → chunk-PWIJH3QT.js} +1 -1
  36. package/build/chunk-SCNQYBME.js +1 -0
  37. package/build/chunk-SJZ7WFCT.js +1 -0
  38. package/build/{chunk-46JHYTBA.js → chunk-SVWDZUJM.js} +1 -1
  39. package/build/{chunk-YCJWFF4E.js → chunk-TLNORDI2.js} +1 -1
  40. package/build/chunk-TRLWP44N.js +1 -0
  41. package/build/chunk-VCAZ4LUV.js +1 -0
  42. package/build/chunk-VEPTAPJW.js +1 -0
  43. package/build/{chunk-HTCFML4W.js → chunk-VR2EB3YT.js} +1 -1
  44. package/build/chunk-Y4M7YZMC.js +1 -0
  45. package/build/{chunk-K63CYKQS.js → chunk-YGVNLX2A.js} +1 -1
  46. package/build/chunk-YH4HYMMY.js +1 -0
  47. package/build/chunk-YMGCSAF4.js +1 -0
  48. package/build/{chunk-Q55EZG7J.js → chunk-ZDQGM35G.js} +1 -1
  49. package/build/components/Amount/TotalAmount/TotalAmount.js +1 -1
  50. package/build/components/Amount/TotalAmount/index.js +1 -1
  51. package/build/components/Amount/TotalAmount/style.js +1 -1
  52. package/build/components/Amount/index.js +1 -1
  53. package/build/components/AmountConversionFilter/AmountConversionFilter.js +1 -1
  54. package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.js +1 -1
  55. package/build/components/AmountConversionFilter/index.js +1 -1
  56. package/build/components/AmountConversionFilter/style.js +1 -1
  57. package/build/components/AmountInput/AmountInput.js +1 -1
  58. package/build/components/AmountInput/index.js +1 -1
  59. package/build/components/AmountInput/style.js +1 -1
  60. package/build/components/AmountStatusChip/AmountStatusChip.js +1 -1
  61. package/build/components/AmountStatusChip/index.js +1 -1
  62. package/build/components/AmountStatusChip/style.js +1 -1
  63. package/build/components/AppServices/AppServices.js +1 -1
  64. package/build/components/AppServices/ServiceItem.js +1 -1
  65. package/build/components/AppServices/index.js +1 -1
  66. package/build/components/AppServicesBar/AppServicesBar.js +1 -1
  67. package/build/components/AppServicesBar/index.js +1 -1
  68. package/build/components/AppWindowWrapper/AppWindow/AppWindow.js +1 -1
  69. package/build/components/AppWindowWrapper/AppWindow/index.js +1 -1
  70. package/build/components/AppWindowWrapper/AppWindowWrapper.js +1 -1
  71. package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.js +1 -1
  72. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.js +1 -1
  73. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/index.js +1 -1
  74. package/build/components/AppWindowWrapper/headers/AccountHeader/index.js +1 -1
  75. package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeader.js +1 -1
  76. package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeaderBase.js +1 -1
  77. package/build/components/AppWindowWrapper/headers/AppWindowHeader/index.js +1 -1
  78. package/build/components/AppWindowWrapper/index.js +1 -1
  79. package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.js +1 -1
  80. package/build/components/AuthenticationTypeChip/index.js +1 -1
  81. package/build/components/BrandLogo/BrandLogo.js +1 -1
  82. package/build/components/BrandLogo/Loading.js +1 -1
  83. package/build/components/BrandLogo/index.js +1 -1
  84. package/build/components/Calender/Calender.js +1 -1
  85. package/build/components/Calender/index.js +1 -1
  86. package/build/components/CopyImage/CopyImage.js +1 -1
  87. package/build/components/CopyImage/index.js +1 -1
  88. package/build/components/CountryFilter/CountryFilter.js +1 -1
  89. package/build/components/CountryFilter/index.js +1 -1
  90. package/build/components/CurrencyFilter/CurrencyFilter.js +1 -1
  91. package/build/components/CurrencyFilter/index.js +1 -1
  92. package/build/components/Customer/CustomerDropdown/CustomerDropdown.js +1 -1
  93. package/build/components/Customer/CustomerDropdown/index.js +1 -1
  94. package/build/components/Customer/CustomerForms/CustomerEmailForm.js +1 -1
  95. package/build/components/Customer/CustomerForms/CustomerFullInfo.js +1 -1
  96. package/build/components/Customer/CustomerForms/CustomerFullInfoForm.js +1 -1
  97. package/build/components/Customer/CustomerForms/CustomerPhoneNumberForm.js +1 -1
  98. package/build/components/Customer/CustomerForms/index.js +1 -1
  99. package/build/components/Customer/CustomerForms/style.js +1 -1
  100. package/build/components/Customer/index.js +1 -1
  101. package/build/components/DateFilter/DateFilter.js +1 -1
  102. package/build/components/DateFilter/index.js +1 -1
  103. package/build/components/DateFilter/style.js +1 -1
  104. package/build/components/Dialog/components/DialogToolbar.js +1 -1
  105. package/build/components/Dialog/components/index.js +1 -1
  106. package/build/components/Dialog/index.js +1 -1
  107. package/build/components/Discount/DiscountDropdown/DiscountDropdown.js +1 -1
  108. package/build/components/Discount/DiscountDropdown/index.js +1 -1
  109. package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.js +1 -1
  110. package/build/components/Discount/DiscountRateDropdown/index.js +1 -1
  111. package/build/components/Discount/TotalDiscount/TotalDiscount.js +1 -1
  112. package/build/components/Discount/TotalDiscount/index.js +1 -1
  113. package/build/components/Discount/index.js +1 -1
  114. package/build/components/ExpandableSideBar/ExpandableSideBar.js +1 -1
  115. package/build/components/ExpandableSideBar/index.js +1 -1
  116. package/build/components/ExpandableSideBar/style.js +1 -1
  117. package/build/components/FileInputPreview/FileInputPreview.js +1 -1
  118. package/build/components/FileInputPreview/index.js +1 -1
  119. package/build/components/FileInputPreview/style.js +1 -1
  120. package/build/components/FilterDropdown/FilterDropdown.js +1 -1
  121. package/build/components/FilterDropdown/components/BrandItem/BrandItem.js +1 -1
  122. package/build/components/FilterDropdown/components/BrandItem/index.js +1 -1
  123. package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.js +1 -1
  124. package/build/components/FilterDropdown/components/CountriesItem/index.js +1 -1
  125. package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.js +1 -1
  126. package/build/components/FilterDropdown/components/CurrenciesItem/index.js +1 -1
  127. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.js +1 -1
  128. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.js +1 -1
  129. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.js +1 -1
  130. package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.js +1 -1
  131. package/build/components/FilterDropdown/components/MerchantItem/index.js +1 -1
  132. package/build/components/FilterDropdown/components/MerchantsFilterItem/MerchantsFilterItem.js +1 -1
  133. package/build/components/FilterDropdown/components/MerchantsFilterItem/index.js +1 -1
  134. package/build/components/FilterDropdown/components/MerchantsFilterItem/utils.js +1 -1
  135. package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.js +1 -1
  136. package/build/components/FilterDropdown/components/RetailersItem/index.js +1 -1
  137. package/build/components/FilterDropdown/components/index.js +1 -1
  138. package/build/components/FilterDropdown/index.js +1 -1
  139. package/build/components/FilterDropdown/style.js +1 -1
  140. package/build/components/Filters/index.js +1 -1
  141. package/build/components/Filters/style.js +1 -1
  142. package/build/components/FlagDetails/FlagDetails.js +1 -1
  143. package/build/components/FlagDetails/index.js +1 -1
  144. package/build/components/InputBase/AmountInputBase/AmountInputBase.js +1 -1
  145. package/build/components/InputBase/AmountInputBase/InputNumber/index.js +1 -1
  146. package/build/components/InputBase/AmountInputBase/index.js +1 -1
  147. package/build/components/InputBase/AmountInputBase/style.js +1 -1
  148. package/build/components/InputBase/index.js +1 -1
  149. package/build/components/JSONViewer/JSONViewer.js +1 -1
  150. package/build/components/JSONViewer/JSONViewerList.js +1 -1
  151. package/build/components/JSONViewer/components/HighlightText/HighlightText.js +1 -1
  152. package/build/components/JSONViewer/components/HighlightText/index.js +1 -1
  153. package/build/components/JSONViewer/components/JSONSearchHighlighters/HighlightMatchingKey.js +1 -1
  154. package/build/components/JSONViewer/components/JSONSearchHighlighters/HighlightMatchingValue.js +1 -1
  155. package/build/components/JSONViewer/components/JSONSearchHighlighters/index.js +1 -1
  156. package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.js +1 -1
  157. package/build/components/JSONViewer/components/JSONTitleBar/index.js +1 -1
  158. package/build/components/JSONViewer/components/index.js +1 -1
  159. package/build/components/JSONViewer/context/Provider.js +1 -1
  160. package/build/components/JSONViewer/context/index.js +1 -1
  161. package/build/components/JSONViewer/hooks/index.js +1 -1
  162. package/build/components/JSONViewer/hooks/useJsonViewerContext.js +1 -1
  163. package/build/components/JSONViewer/index.js +1 -1
  164. package/build/components/LanguageDropdown/LanguageDropdown.js +1 -1
  165. package/build/components/LanguageDropdown/index.js +1 -1
  166. package/build/components/ListColumnFilter/ListColumnFilter.js +1 -1
  167. package/build/components/ListColumnFilter/index.js +1 -1
  168. package/build/components/ListColumnFilter/style.js +1 -1
  169. package/build/components/MaskedText/MaskedText.js +1 -1
  170. package/build/components/MaskedText/index.js +1 -1
  171. package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.js +1 -1
  172. package/build/components/MerchantCurrencyDropdown/SelectedCurrency.js +1 -1
  173. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  174. package/build/components/MerchantLogo/MerchantLogo.js +1 -1
  175. package/build/components/MerchantLogo/index.js +1 -1
  176. package/build/components/MerchantLogo/style.js +1 -1
  177. package/build/components/MerchantsDropdown/BrandItem.js +1 -1
  178. package/build/components/MerchantsDropdown/EntityItem.js +1 -1
  179. package/build/components/MerchantsDropdown/EntityList.js +1 -1
  180. package/build/components/MerchantsDropdown/MerchantItem.js +1 -1
  181. package/build/components/MerchantsDropdown/MerchantsDropdown.js +1 -1
  182. package/build/components/MerchantsDropdown/MerchantsList.js +1 -1
  183. package/build/components/MerchantsDropdown/index.js +1 -1
  184. package/build/components/MerchantsDropdown/style.js +1 -1
  185. package/build/components/MultiSelectDropdownButton/MultiSelectDropdownButton.js +1 -1
  186. package/build/components/MultiSelectDropdownButton/index.js +1 -1
  187. package/build/components/PartnersFilter/PartnersFilter.js +1 -1
  188. package/build/components/PartnersFilter/index.js +1 -1
  189. package/build/components/PaymentSourceFilter/AuthenticationMode.js +1 -1
  190. package/build/components/PaymentSourceFilter/AuthenticationType.js +1 -1
  191. package/build/components/PaymentSourceFilter/PaymentIcon.js +1 -1
  192. package/build/components/PaymentSourceFilter/PaymentInitiated.js +1 -1
  193. package/build/components/PaymentSourceFilter/PaymentLocations.js +1 -1
  194. package/build/components/PaymentSourceFilter/PaymentMethod.js +1 -1
  195. package/build/components/PaymentSourceFilter/PaymentMethods.js +1 -1
  196. package/build/components/PaymentSourceFilter/PaymentSchemes.js +1 -1
  197. package/build/components/PaymentSourceFilter/PaymentSourceFilter.js +1 -1
  198. package/build/components/PaymentSourceFilter/index.js +1 -1
  199. package/build/components/PaymentSourceFilter/style.js +1 -1
  200. package/build/components/PhoneFilter/PhoneFilter.js +1 -1
  201. package/build/components/PhoneFilter/index.js +1 -1
  202. package/build/components/RFH/Inputs/AmountInput/AmountInput.js +1 -1
  203. package/build/components/RFH/Inputs/AmountInput/index.js +1 -1
  204. package/build/components/RFH/Inputs/FormInput/FormInput.js +1 -1
  205. package/build/components/RFH/Inputs/FormInput/index.js +1 -1
  206. package/build/components/RFH/Inputs/FormSelect/FormSelect.js +1 -1
  207. package/build/components/RFH/Inputs/FormSelect/index.js +1 -1
  208. package/build/components/RFH/Inputs/PhoneInput/PhoneInput.js +1 -1
  209. package/build/components/RFH/Inputs/PhoneInput/index.js +1 -1
  210. package/build/components/RFH/Inputs/SelectWithAccordion/SelectWithAccordion.js +1 -1
  211. package/build/components/RFH/Inputs/SelectWithAccordion/index.js +1 -1
  212. package/build/components/RFH/Inputs/index.js +1 -1
  213. package/build/components/RFH/index.js +1 -1
  214. package/build/components/RangeCalender/RangeCalender.js +1 -1
  215. package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.js +1 -1
  216. package/build/components/RangeCalender/components/CustomTimepicker/index.js +1 -1
  217. package/build/components/RangeCalender/components/GroupBy/GroupBy.js +1 -1
  218. package/build/components/RangeCalender/components/GroupBy/index.js +1 -1
  219. package/build/components/RangeCalender/components/Hijri/Hijri.js +1 -1
  220. package/build/components/RangeCalender/components/Hijri/index.js +1 -1
  221. package/build/components/RangeCalender/components/Timezone/Timezone.js +1 -1
  222. package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.js +1 -1
  223. package/build/components/RangeCalender/components/Timezone/components/UserTimezone.js +1 -1
  224. package/build/components/RangeCalender/components/Timezone/index.js +1 -1
  225. package/build/components/RangeCalender/index.js +1 -1
  226. package/build/components/ReceiptsViewer/ReceiptViewer.js +1 -1
  227. package/build/components/ReceiptsViewer/ReceiptsViewer.js +1 -1
  228. package/build/components/ReceiptsViewer/index.js +1 -1
  229. package/build/components/ReferenceTypeFilter/ReferenceTypeFilter.js +1 -1
  230. package/build/components/ReferenceTypeFilter/index.js +1 -1
  231. package/build/components/ReferenceTypeFilter/style.js +1 -1
  232. package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
  233. package/build/components/SalesChannelFilter/SalesChannelFilter.js +1 -1
  234. package/build/components/SalesChannelFilter/index.js +1 -1
  235. package/build/components/SalesChannelFilter/style.js +1 -1
  236. package/build/components/SelectDropdown/SelectDropdown.js +1 -1
  237. package/build/components/SelectDropdown/index.js +1 -1
  238. package/build/components/SelectWithSearch/SelectWithSearch.js +1 -1
  239. package/build/components/SelectWithSearch/index.js +1 -1
  240. package/build/components/StatusBar/index.js +1 -1
  241. package/build/components/StatusChipWithCopy/StatusChipWithCopy.js +1 -1
  242. package/build/components/StatusChipWithCopy/index.js +1 -1
  243. package/build/components/StatusFilter/StatusFilter.js +1 -1
  244. package/build/components/StatusFilter/index.js +1 -1
  245. package/build/components/StatusGroupChips/StatusGroupChips.js +1 -1
  246. package/build/components/StatusGroupChips/index.js +1 -1
  247. package/build/components/StatusGroupChips/style.js +1 -1
  248. package/build/components/StatusIcons/AuthorizationAutoIcons/CaptureAutoIcon.js +1 -1
  249. package/build/components/StatusIcons/AuthorizationAutoIcons/VoidAutoIcon.js +1 -1
  250. package/build/components/StatusIcons/AuthorizationAutoIcons/index.js +1 -1
  251. package/build/components/StatusIcons/AuthorizationAutoIcons/style.js +1 -1
  252. package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.js +1 -1
  253. package/build/components/StatusIcons/AuthorizedIcon/index.js +1 -1
  254. package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.js +1 -1
  255. package/build/components/StatusIcons/ChargeStatusIcon/index.js +1 -1
  256. package/build/components/StatusIcons/ChargeStatusIcon/style.js +1 -1
  257. package/build/components/StatusIcons/DestinationIcon/DestinationIcon.js +1 -1
  258. package/build/components/StatusIcons/DestinationIcon/index.js +1 -1
  259. package/build/components/StatusIcons/DisputeIcon/DisputeIcon.js +1 -1
  260. package/build/components/StatusIcons/DisputeIcon/index.js +1 -1
  261. package/build/components/StatusIcons/PayoutIcon/PayoutIcon.js +1 -1
  262. package/build/components/StatusIcons/PayoutIcon/index.js +1 -1
  263. package/build/components/StatusIcons/RefundIcon/RefundIcon.js +1 -1
  264. package/build/components/StatusIcons/RefundIcon/index.js +1 -1
  265. package/build/components/StatusIcons/index.js +1 -1
  266. package/build/components/TableCells/CustomCells/ActionCell/ActionCell.js +1 -1
  267. package/build/components/TableCells/CustomCells/ActionCell/components/ActionIconColumn.js +1 -1
  268. package/build/components/TableCells/CustomCells/ActionCell/components/ActionsColumn.js +1 -1
  269. package/build/components/TableCells/CustomCells/ActionCell/components/index.js +1 -1
  270. package/build/components/TableCells/CustomCells/ActionCell/index.js +1 -1
  271. package/build/components/TableCells/CustomCells/AgreementCell/AgreementCell.js +1 -1
  272. package/build/components/TableCells/CustomCells/AgreementCell/index.js +1 -1
  273. package/build/components/TableCells/CustomCells/AmountCell/AmountCell.js +1 -1
  274. package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.js +1 -1
  275. package/build/components/TableCells/CustomCells/AmountCell/AmountCellText.js +1 -1
  276. package/build/components/TableCells/CustomCells/AmountCell/components/AmountConversionTooltipLabel.js +1 -1
  277. package/build/components/TableCells/CustomCells/AmountCell/components/CurrencyInfo.js +1 -1
  278. package/build/components/TableCells/CustomCells/AmountCell/components/index.js +1 -1
  279. package/build/components/TableCells/CustomCells/AmountCell/index.js +1 -1
  280. package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +1 -1
  281. package/build/components/TableCells/CustomCells/ApplicationStatusCell/index.js +1 -1
  282. package/build/components/TableCells/CustomCells/AuthCell/AuthCell.js +1 -1
  283. package/build/components/TableCells/CustomCells/AuthCell/index.js +1 -1
  284. package/build/components/TableCells/CustomCells/AuthenticationCell/AuthenticationCell.js +1 -1
  285. package/build/components/TableCells/CustomCells/AuthenticationCell/index.js +1 -1
  286. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/AuthenticationStatusCell.js +1 -1
  287. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.js +1 -1
  288. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/AuthenticationTypeCell.js +1 -1
  289. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/index.js +1 -1
  290. package/build/components/TableCells/CustomCells/AvatarCell/AvatarCell.js +1 -1
  291. package/build/components/TableCells/CustomCells/AvatarCell/index.js +1 -1
  292. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.js +1 -1
  293. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.js +1 -1
  294. package/build/components/TableCells/CustomCells/BalanceCell/index.js +1 -1
  295. package/build/components/TableCells/CustomCells/BankCell/BankCell.js +1 -1
  296. package/build/components/TableCells/CustomCells/BankCell/index.js +1 -1
  297. package/build/components/TableCells/CustomCells/BrandCell/BrandCell.js +1 -1
  298. package/build/components/TableCells/CustomCells/BrandCell/index.js +1 -1
  299. package/build/components/TableCells/CustomCells/ChannelsCell/ChannelsCell.js +1 -1
  300. package/build/components/TableCells/CustomCells/ChannelsCell/index.js +1 -1
  301. package/build/components/TableCells/CustomCells/CheckoutStatusCell/CheckoutStatusCell.js +1 -1
  302. package/build/components/TableCells/CustomCells/CheckoutStatusCell/index.js +1 -1
  303. package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.js +1 -1
  304. package/build/components/TableCells/CustomCells/CustomerCell/index.js +1 -1
  305. package/build/components/TableCells/CustomCells/DateCell/DateCell.js +1 -1
  306. package/build/components/TableCells/CustomCells/DateCell/DateViewer.js +1 -1
  307. package/build/components/TableCells/CustomCells/DateCell/index.js +1 -1
  308. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.js +1 -1
  309. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellText.js +1 -1
  310. package/build/components/TableCells/CustomCells/DestinationCell/index.js +1 -1
  311. package/build/components/TableCells/CustomCells/DestinationCell/utils.js +1 -1
  312. package/build/components/TableCells/CustomCells/DestinationStatusCell/DestinationStatusCell.js +1 -1
  313. package/build/components/TableCells/CustomCells/DestinationStatusCell/index.js +1 -1
  314. package/build/components/TableCells/CustomCells/DeviceCell/DeviceCell.js +1 -1
  315. package/build/components/TableCells/CustomCells/DeviceCell/index.js +1 -1
  316. package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.js +1 -1
  317. package/build/components/TableCells/CustomCells/DueDateCell/index.js +1 -1
  318. package/build/components/TableCells/CustomCells/EntityCell/EntityCell.js +1 -1
  319. package/build/components/TableCells/CustomCells/EntityCell/index.js +1 -1
  320. package/build/components/TableCells/CustomCells/IntentsStatusCell/IntentsStatusCell.js +1 -1
  321. package/build/components/TableCells/CustomCells/IntentsStatusCell/index.js +1 -1
  322. package/build/components/TableCells/CustomCells/InvoiceStatusCell/ChargeStatusIcon.js +1 -1
  323. package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.js +1 -1
  324. package/build/components/TableCells/CustomCells/InvoiceStatusCell/index.js +1 -1
  325. package/build/components/TableCells/CustomCells/LeadStatusCell/LeadStatusCell.js +1 -1
  326. package/build/components/TableCells/CustomCells/LeadStatusCell/index.js +1 -1
  327. package/build/components/TableCells/CustomCells/LinkCell/LinkCell.js +1 -1
  328. package/build/components/TableCells/CustomCells/LinkCell/index.js +1 -1
  329. package/build/components/TableCells/CustomCells/OrderCell/OrderCell.js +1 -1
  330. package/build/components/TableCells/CustomCells/OrderCell/OrderCellSheet.js +1 -1
  331. package/build/components/TableCells/CustomCells/OrderCell/index.js +1 -1
  332. package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.js +1 -1
  333. package/build/components/TableCells/CustomCells/OrdersCell/index.js +1 -1
  334. package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.js +1 -1
  335. package/build/components/TableCells/CustomCells/PaymentAgreementCell/index.js +1 -1
  336. package/build/components/TableCells/CustomCells/PayoutDateCell/PayoutDateCell.js +1 -1
  337. package/build/components/TableCells/CustomCells/PayoutDateCell/index.js +1 -1
  338. package/build/components/TableCells/CustomCells/PayoutReportCell/PayoutReportCell.js +1 -1
  339. package/build/components/TableCells/CustomCells/PayoutReportCell/index.js +1 -1
  340. package/build/components/TableCells/CustomCells/PayoutStatusCell/PayoutStatusCell.js +1 -1
  341. package/build/components/TableCells/CustomCells/PayoutStatusCell/index.js +1 -1
  342. package/build/components/TableCells/CustomCells/ProductsCell/ProductsCell.js +1 -1
  343. package/build/components/TableCells/CustomCells/ProductsCell/index.js +1 -1
  344. package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.js +1 -1
  345. package/build/components/TableCells/CustomCells/ProviderCell/index.js +1 -1
  346. package/build/components/TableCells/CustomCells/PurposeCell/index.js +1 -1
  347. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.js +1 -1
  348. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellSheet.js +1 -1
  349. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellText.js +1 -1
  350. package/build/components/TableCells/CustomCells/ReceiptCell/index.js +1 -1
  351. package/build/components/TableCells/CustomCells/ReferenceCell/ReferenceCell.js +1 -1
  352. package/build/components/TableCells/CustomCells/ReferenceCell/index.js +1 -1
  353. package/build/components/TableCells/CustomCells/RefundChargeCell/RefundChargeCell.js +1 -1
  354. package/build/components/TableCells/CustomCells/RefundChargeCell/index.js +1 -1
  355. package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.js +1 -1
  356. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStateIcon.js +1 -1
  357. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.js +1 -1
  358. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatusIcon.js +1 -1
  359. package/build/components/TableCells/CustomCells/RefundStatusCell/components/index.js +1 -1
  360. package/build/components/TableCells/CustomCells/RefundStatusCell/index.js +1 -1
  361. package/build/components/TableCells/CustomCells/RefundStatusCell/style.js +1 -1
  362. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +1 -1
  363. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.js +1 -1
  364. package/build/components/TableCells/CustomCells/SalesChannelCell/index.js +1 -1
  365. package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +1 -1
  366. package/build/components/TableCells/CustomCells/SegmentsCell/index.js +1 -1
  367. package/build/components/TableCells/CustomCells/SourceCell/SourceCell.js +1 -1
  368. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/PaymentCardNumberSource.js +1 -1
  369. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/index.js +1 -1
  370. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/PaymentMethodSource.js +1 -1
  371. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/index.js +1 -1
  372. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/PaymentSchemeSource.js +1 -1
  373. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/index.js +1 -1
  374. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/PaymentTypeSource.js +1 -1
  375. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/index.js +1 -1
  376. package/build/components/TableCells/CustomCells/SourceCell/components/index.js +1 -1
  377. package/build/components/TableCells/CustomCells/SourceCell/index.js +1 -1
  378. package/build/components/TableCells/CustomCells/StatusCell/StatusCell.js +1 -1
  379. package/build/components/TableCells/CustomCells/StatusCell/StatusCellSheet.js +1 -1
  380. package/build/components/TableCells/CustomCells/StatusCell/StatusCellText.js +1 -1
  381. package/build/components/TableCells/CustomCells/StatusCell/index.js +1 -1
  382. package/build/components/TableCells/CustomCells/TextTableCell/TextTableCell.js +1 -1
  383. package/build/components/TableCells/CustomCells/TextTableCell/index.js +1 -1
  384. package/build/components/TableCells/CustomCells/TextWithBadgeCell/TextWithBadgeCell.js +1 -1
  385. package/build/components/TableCells/CustomCells/TextWithBadgeCell/index.js +1 -1
  386. package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.js +1 -1
  387. package/build/components/TableCells/CustomCells/TextWithChipCell/index.js +1 -1
  388. package/build/components/TableCells/CustomCells/TokenStatusCell/TokenStatusCell.js +1 -1
  389. package/build/components/TableCells/CustomCells/TokenStatusCell/index.js +1 -1
  390. package/build/components/TableCells/CustomCells/WalletCell/WalletCell.js +1 -1
  391. package/build/components/TableCells/CustomCells/WalletCell/index.js +1 -1
  392. package/build/components/TableCells/CustomCells/index.js +1 -1
  393. package/build/components/TableCells/CustomCells/style.js +1 -1
  394. package/build/components/TableCells/index.js +1 -1
  395. package/build/components/TableHeader/FiltersRow.js +1 -1
  396. package/build/components/TableHeader/TableHeader.js +1 -1
  397. package/build/components/TableHeader/TableModeButton.js +1 -1
  398. package/build/components/TableHeader/TableView/ColumnItem.js +1 -1
  399. package/build/components/TableHeader/TableView/CreateViewDialog.js +1 -1
  400. package/build/components/TableHeader/TableView/CustomViews.js +1 -1
  401. package/build/components/TableHeader/TableView/TableView.js +1 -1
  402. package/build/components/TableHeader/TableView/ViewsDropdown.js +1 -1
  403. package/build/components/TableHeader/TableView/ViewsMenu.js +1 -1
  404. package/build/components/TableHeader/TableView/components/ColumnList.js +1 -1
  405. package/build/components/TableHeader/TableView/components/ViewsSubmenu.js +1 -1
  406. package/build/components/TableHeader/TableView/components/index.js +1 -1
  407. package/build/components/TableHeader/TableView/hooks/index.js +1 -1
  408. package/build/components/TableHeader/TableView/hooks/useCreateViewDialog.js +1 -1
  409. package/build/components/TableHeader/TableView/hooks/useCustomTableViews.js +1 -1
  410. package/build/components/TableHeader/TableView/hooks/useViewsManager.js +1 -1
  411. package/build/components/TableHeader/TableView/hooks/useViewsMenu.js +1 -1
  412. package/build/components/TableHeader/TableView/index.js +1 -1
  413. package/build/components/TableHeader/TableView/utils/index.js +1 -1
  414. package/build/components/TableHeader/index.js +1 -1
  415. package/build/components/TableReports/DownloadIconButton.js +1 -1
  416. package/build/components/TableReports/Downloads.js +1 -1
  417. package/build/components/TableReports/TableReports.js +1 -1
  418. package/build/components/TableReports/components/DownloadButton/DownloadButton.js +1 -1
  419. package/build/components/TableReports/components/DownloadButton/index.js +1 -1
  420. package/build/components/TableReports/index.js +1 -1
  421. package/build/components/TableView/DefaultViews.js +1 -1
  422. package/build/components/TableView/TableView.js +1 -1
  423. package/build/components/TableView/index.js +1 -1
  424. package/build/components/Timepicker/Timepicker.js +1 -1
  425. package/build/components/Timepicker/index.js +1 -1
  426. package/build/components/ToggleButtons/index.js +1 -1
  427. package/build/components/ToggleView/ToggleView.js +1 -1
  428. package/build/components/ToggleView/index.js +1 -1
  429. package/build/components/Toolbar/index.js +1 -1
  430. package/build/components/TreeDropdown/TreeDropdown.js +1 -1
  431. package/build/components/TreeDropdown/TreeNodeItem/SelectionControl.js +1 -1
  432. package/build/components/TreeDropdown/TreeNodeItem/TreeNodeItem.js +1 -1
  433. package/build/components/TreeDropdown/TreeNodeItem/index.js +1 -1
  434. package/build/components/TreeDropdown/TreeNodeItem/style.js +1 -1
  435. package/build/components/TreeDropdown/TreeNodeList/List.js +1 -1
  436. package/build/components/TreeDropdown/TreeNodeList/TreeNodeList.js +1 -1
  437. package/build/components/TreeDropdown/TreeNodeList/index.js +1 -1
  438. package/build/components/TreeDropdown/TreeNodeList/style.js +1 -1
  439. package/build/components/TreeDropdown/index.js +1 -1
  440. package/build/components/TreeDropdown/style.js +1 -1
  441. package/build/components/VAT/TotalVAT/TotalVAT.js +1 -1
  442. package/build/components/VAT/TotalVAT/index.js +1 -1
  443. package/build/components/VAT/VATDropdown/VATDropdown.js +1 -1
  444. package/build/components/VAT/VATDropdown/index.js +1 -1
  445. package/build/components/VAT/VATRateDropdown/VATRateDropdown.js +1 -1
  446. package/build/components/VAT/VATRateDropdown/index.js +1 -1
  447. package/build/components/VAT/index.js +1 -1
  448. package/build/components/VerificationIcon/VerificationIcon.js +1 -1
  449. package/build/components/VerificationIcon/index.js +1 -1
  450. package/build/components/ViewColumnRadioFilter/ViewColumnRadioFilter.js +1 -1
  451. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  452. package/build/components/ViewColumnRadioFilter/style.js +1 -1
  453. package/build/components/Widget/index.js +1 -1
  454. package/build/components/WindowSideBar/WindowSideBar.js +1 -1
  455. package/build/components/WindowSideBar/index.js +1 -1
  456. package/build/components/WindowSideBar/style.js +1 -1
  457. package/build/components/index.js +1 -1
  458. package/build/index.js +1 -1
  459. package/package.json +1 -1
  460. package/build/chunk-4FR5BFUM.js +0 -1
  461. package/build/chunk-6G2NY4CV.js +0 -1
  462. package/build/chunk-6P3OQAWZ.js +0 -1
  463. package/build/chunk-BHX33CYC.js +0 -1
  464. package/build/chunk-FD7TID6H.js +0 -1
  465. package/build/chunk-H3QLGNYY.js +0 -1
  466. package/build/chunk-HNVNQUZR.js +0 -1
  467. package/build/chunk-JOAM5M6U.js +0 -1
  468. package/build/chunk-JUFB77HP.js +0 -1
  469. package/build/chunk-K2ROZCIK.js +0 -1
  470. package/build/chunk-KBRQPQBD.js +0 -1
  471. package/build/chunk-KURNNUZ6.js +0 -1
  472. package/build/chunk-MHZIV5QG.js +0 -1
  473. package/build/chunk-THTANZY7.js +0 -1
  474. package/build/chunk-TV5IMQEA.js +0 -1
  475. package/build/chunk-UCFIDQ66.js +0 -1
  476. package/build/chunk-ZLLJPWUM.js +0 -1
@@ -1 +1 @@
1
- import {a}from'./chunk-JOAM5M6U.js';import {styled,Box}from'@mui/material';var l=styled(Box)(()=>({display:"flex",gap:"4px",alignItems:"center",flexDirection:"row"})),r=styled(a)(()=>({padding:"0.75px 12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"flex",alignItems:"center",gap:"4px"}));export{l as a,r as b};
1
+ import {a}from'./chunk-YMGCSAF4.js';import {styled,Box}from'@mui/material';var l=styled(Box)(()=>({display:"flex",gap:"4px",alignItems:"center",flexDirection:"row"})),r=styled(a)(()=>({padding:"0.75px 12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"flex",alignItems:"center",gap:"4px"}));export{l as a,r as b};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-VR2EB3YT.js';var e=a;export{e as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-FVUIYCET.js';var m=a;export{m as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-I25OQYSQ.js';import {a as a$1}from'./chunk-VELM2LLL.js';import {b,a as a$2}from'./chunk-KJAEQFZU.js';import {a as a$4}from'./chunk-JFNKUZGE.js';import {a as a$3}from'./chunk-6ODMPA2C.js';import {zb,A}from'./chunk-B747PPJY.js';import {memo,useState}from'react';import {ClickAwayListener}from'@mui/material';import {useTranslation}from'react-i18next';import {jsx,jsxs}from'react/jsx-runtime';function L({onViewChange:C,setIsViewVisible:r,setTableViews:h,tableViews:y,resetTableViews:g}){let[H,s]=useState(null),[n,i]=useState(null),[a$5,l]=useState(null),[w,c]=useState({id:"default",label:"Default"}),{t:S}=useTranslation(),v=e=>{C?.(),s(e.currentTarget),r(true);},u=()=>{i(null),l(null);},D=()=>{s(null),r(false),c({label:"Default",id:"default"});},I=e=>{c(e),u();};return H?jsx(ClickAwayListener,{onClickAway:u,children:jsxs(b,{"data-testid":"TableView",children:[w.id==="custom"&&jsx(a,{tableViews:y,setTableViews:h,anchorEl:a$5,open:!!a$5,onSelect:e=>{l(a$5?null:e.currentTarget),i(null);},onClose:()=>{l(null);}}),jsx(a$1,{open:!!n,anchorEl:n,setSelectedViewInfo:e=>{I(e);},selectedViewInfo:w,onSelect:e=>{i(n?null:e.currentTarget),l(null);},setViews:e=>{g?.({id:e[0],label:e[0]});}}),jsx(a$2,{sx:{width:30,justifyContent:"center"},onClick:D,children:jsx("img",{src:zb,alt:"close"})})]})}):jsx(a$3,{title:S("tableView"),onClick:v,"data-testid":"TableView_no_anchorViewEl_button",children:jsx(a$4,{src:A,alt:"view-icon",sx:{width:14,height:14}})})}var z=memo(L);export{z as a};
1
+ import {a}from'./chunk-I25OQYSQ.js';import {a as a$1}from'./chunk-EEUZKDSM.js';import {b,a as a$2}from'./chunk-KJAEQFZU.js';import {a as a$4}from'./chunk-JFNKUZGE.js';import {a as a$3}from'./chunk-6ODMPA2C.js';import {zb,A}from'./chunk-B747PPJY.js';import {memo,useState}from'react';import {ClickAwayListener}from'@mui/material';import {useTranslation}from'react-i18next';import {jsx,jsxs}from'react/jsx-runtime';function L({onViewChange:C,setIsViewVisible:r,setTableViews:h,tableViews:y,resetTableViews:g}){let[H,s]=useState(null),[n,i]=useState(null),[a$5,l]=useState(null),[w,c]=useState({id:"default",label:"Default"}),{t:S}=useTranslation(),v=e=>{C?.(),s(e.currentTarget),r(true);},u=()=>{i(null),l(null);},D=()=>{s(null),r(false),c({label:"Default",id:"default"});},I=e=>{c(e),u();};return H?jsx(ClickAwayListener,{onClickAway:u,children:jsxs(b,{"data-testid":"TableView",children:[w.id==="custom"&&jsx(a,{tableViews:y,setTableViews:h,anchorEl:a$5,open:!!a$5,onSelect:e=>{l(a$5?null:e.currentTarget),i(null);},onClose:()=>{l(null);}}),jsx(a$1,{open:!!n,anchorEl:n,setSelectedViewInfo:e=>{I(e);},selectedViewInfo:w,onSelect:e=>{i(n?null:e.currentTarget),l(null);},setViews:e=>{g?.({id:e[0],label:e[0]});}}),jsx(a$2,{sx:{width:30,justifyContent:"center"},onClick:D,children:jsx("img",{src:zb,alt:"close"})})]})}):jsx(a$3,{title:S("tableView"),onClick:v,"data-testid":"TableView_no_anchorViewEl_button",children:jsx(a$4,{src:A,alt:"view-icon",sx:{width:14,height:14}})})}var z=memo(L);export{z as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-RWYNONXW.js';import {f,d,i}from'./chunk-7IQFQWR4.js';import {a as a$1}from'./chunk-THTANZY7.js';import {a as a$2}from'./chunk-OHKCQD7X.js';import {Kc}from'./chunk-B747PPJY.js';import {useState,useCallback,useMemo,createElement}from'react';import s from'@mui/material/Box';import K from'@mui/material/Typography';import {CircularProgress}from'@mui/material';import {jsx,jsxs}from'react/jsx-runtime';function U({options:o,onChangeOption:a$3,selectedOption:r,placeholder:B,label:D,isLoading:_,renderOption:S,iconUrl:c,disabled:u,onClearValue:i$1,slotProps:M={},hideSelectedCheckmark:T,listWrapperSx:A={},name:F,...H}){let{selectInput:f$1={},searchInput:V={},dropdownContainer:v={},item:g={}}=M,[x,w]=useState(null),[l,h]=useState(""),z=useCallback(()=>{i$1!==void 0?i$1():a$3(null);},[i$1,a$3]),m=!!x,R=e=>{u||w(m?null:e.currentTarget);},p=()=>{w(null),h("");},$=_?jsx(CircularProgress,{size:16}):jsx(a,{onClick:()=>{l&&h("");},role:"button"}),I=useMemo(()=>l?o.filter(e=>{let n=e?.label?.toLowerCase(),G=e?.value?.toLowerCase();return n?.includes(l.toLowerCase())||G?.includes(l.toLowerCase())}):o,[o,l]),q=useMemo(()=>jsx(s,{sx:{display:"flex",alignItems:"center",maxWidth:16},children:jsx(s,{component:"img",src:c,alt:"icon",sx:{maxWidth:12,height:12}})}),[c]);return jsx(a$1,{disabled:u,open:m,anchorEl:x,onOpen:R,onClose:p,hasValue:!!r?.value,onClear:z,trigger:jsx(a$2,{className:"SelectWithSearch_input",name:F,placeholder:"Please Select",label:D,sx:{cursor:"pointer"},value:r?.label||"",InputLabelProps:{filled:!!r?.label},disabled:u,...f$1,InputProps:{readOnly:true,disableUnderline:true,...!!c&&{startAdornment:q},...f$1.InputProps}}),listWrapperSx:{height:"100%",overflow:"hidden",...A},slotProps:{popover:{slotProps:{paper:{sx:{overflow:"hidden"}}}}},...H,children:jsxs(f,{...v,className:`SelectWithSearch_container ${v?.className??""}`,children:[jsx(d,{className:"SelectWithSearch_input",placeholder:B||"Select",endAdornment:$,onClick:e=>{e.stopPropagation();},value:l,onChange:e=>{h(e.target.value);},disableUnderline:true,sx:{cursor:"default",width:"100%",backgroundColor:"white",border:"1px solid #F2F2F2",...o.length&&{marginBottom:"4px"},...l&&{cursor:"pointer"}},...V}),jsxs(s,{className:"SelectWithSearch_options",overflow:"auto",maxHeight:400,children:[I.length===0&&l&&jsx(i,{selected:false,...g,children:jsx(K,{component:"span",fontSize:"10px",fontWeight:500,color:"#8D8D94",children:"No results found"})}),I.map(e=>S?S(e,{closeDropdown:p,open:m}):createElement(i,{...g,className:`SelectWithSearch_item ${r?.value===e.value?"SelectWithSearch_item-selected":""}`,key:e.value,selected:r?.value===e.value,onClick:n=>{n.stopPropagation(),n.preventDefault(),r?.value===e.value?a$3(null):a$3(e),p();}},jsx("span",{children:e.label}),!T&&r?.value===e?.value&&jsx(s,{component:"img",src:Kc,alt:"close",sx:{width:10,height:7.5}})))]})]})})}var se=U;export{se as a};
1
+ import {f,d,i}from'./chunk-7IQFQWR4.js';import {a}from'./chunk-RWYNONXW.js';import {a as a$1}from'./chunk-VEPTAPJW.js';import {a as a$2}from'./chunk-OHKCQD7X.js';import {Kc}from'./chunk-B747PPJY.js';import {useState,useCallback,useMemo,createElement}from'react';import s from'@mui/material/Box';import K from'@mui/material/Typography';import {CircularProgress}from'@mui/material';import {jsx,jsxs}from'react/jsx-runtime';function U({options:o,onChangeOption:a$3,selectedOption:r,placeholder:B,label:D,isLoading:_,renderOption:S,iconUrl:c,disabled:u,onClearValue:i$1,slotProps:M={},hideSelectedCheckmark:T,listWrapperSx:A={},name:F,...H}){let{selectInput:f$1={},searchInput:V={},dropdownContainer:v={},item:g={}}=M,[x,w]=useState(null),[l,h]=useState(""),z=useCallback(()=>{i$1!==void 0?i$1():a$3(null);},[i$1,a$3]),m=!!x,R=e=>{u||w(m?null:e.currentTarget);},p=()=>{w(null),h("");},$=_?jsx(CircularProgress,{size:16}):jsx(a,{onClick:()=>{l&&h("");},role:"button"}),I=useMemo(()=>l?o.filter(e=>{let n=e?.label?.toLowerCase(),G=e?.value?.toLowerCase();return n?.includes(l.toLowerCase())||G?.includes(l.toLowerCase())}):o,[o,l]),q=useMemo(()=>jsx(s,{sx:{display:"flex",alignItems:"center",maxWidth:16},children:jsx(s,{component:"img",src:c,alt:"icon",sx:{maxWidth:12,height:12}})}),[c]);return jsx(a$1,{disabled:u,open:m,anchorEl:x,onOpen:R,onClose:p,hasValue:!!r?.value,onClear:z,trigger:jsx(a$2,{className:"SelectWithSearch_input",name:F,placeholder:"Please Select",label:D,sx:{cursor:"pointer"},value:r?.label||"",InputLabelProps:{filled:!!r?.label},disabled:u,...f$1,InputProps:{readOnly:true,disableUnderline:true,...!!c&&{startAdornment:q},...f$1.InputProps}}),listWrapperSx:{height:"100%",overflow:"hidden",...A},slotProps:{popover:{slotProps:{paper:{sx:{overflow:"hidden"}}}}},...H,children:jsxs(f,{...v,className:`SelectWithSearch_container ${v?.className??""}`,children:[jsx(d,{className:"SelectWithSearch_input",placeholder:B||"Select",endAdornment:$,onClick:e=>{e.stopPropagation();},value:l,onChange:e=>{h(e.target.value);},disableUnderline:true,sx:{cursor:"default",width:"100%",backgroundColor:"white",border:"1px solid #F2F2F2",...o.length&&{marginBottom:"4px"},...l&&{cursor:"pointer"}},...V}),jsxs(s,{className:"SelectWithSearch_options",overflow:"auto",maxHeight:400,children:[I.length===0&&l&&jsx(i,{selected:false,...g,children:jsx(K,{component:"span",fontSize:"10px",fontWeight:500,color:"#8D8D94",children:"No results found"})}),I.map(e=>S?S(e,{closeDropdown:p,open:m}):createElement(i,{...g,className:`SelectWithSearch_item ${r?.value===e.value?"SelectWithSearch_item-selected":""}`,key:e.value,selected:r?.value===e.value,onClick:n=>{n.stopPropagation(),n.preventDefault(),r?.value===e.value?a$3(null):a$3(e),p();}},jsx("span",{children:e.label}),!T&&r?.value===e?.value&&jsx(s,{component:"img",src:Kc,alt:"close",sx:{width:10,height:7.5}})))]})]})})}var se=U;export{se as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-3PIJBVHS.js';import {a as a$1}from'./chunk-V5VP65OF.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-JOAM5M6U.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-V5VP65OF.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-YMGCSAF4.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-XA7QWCXP.js';import {g}from'./chunk-OAVXDN55.js';import {a as a$2}from'./chunk-D7PV2U5Q.js';import {a as a$1}from'./chunk-NSRJQVQE.js';import {a as a$3}from'./chunk-WQOASEKI.js';import {Ee}from'./chunk-B747PPJY.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 as a$2}from'./chunk-D7PV2U5Q.js';import {a as a$1}from'./chunk-NSRJQVQE.js';import {a as a$3}from'./chunk-WQOASEKI.js';import {a}from'./chunk-XA7QWCXP.js';import {g}from'./chunk-OAVXDN55.js';import {Ee}from'./chunk-B747PPJY.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};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-IF2PNHYC.js';var r=a;export{r as a};
@@ -0,0 +1 @@
1
+ import {a as a$3}from'./chunk-GGRNOYAK.js';import {a as a$5}from'./chunk-CH5Q3GWB.js';import {a as a$1}from'./chunk-6CEXLHRK.js';import {a,b}from'./chunk-4RG4CPOI.js';import {a as a$2,b as b$1}from'./chunk-7OPAJN6T.js';import {a as a$4}from'./chunk-33XAAW5J.js';import {xb}from'./chunk-B747PPJY.js';import {memo,useState,useMemo}from'react';import {Popper}from'@mui/material';import {useTranslation}from'react-i18next';import {jsxs,Fragment,jsx}from'react/jsx-runtime';function O({buttonLabel:T,onClear:y,onConfirm:P,dropdownItems:r,apiKey:u,data:i,styles:b$2,buttonDisabled:c,searchable:t,searchPlaceholder:A}){let{t:I}=useTranslation(),N=A??`${I("search")}...`,[a$6,p]=useState(null),[e,s]=useState(""),R=n=>{p(n.currentTarget);},m=()=>{p(null),s("");},d=!!a$6,f=i?.[u],k=Array.isArray(f)?f.length:0,h=useMemo(()=>{if(!r)return r;let n=a(r);return !t||!e?n:b(n,e)},[t,e,r]),C=t&&!!e&&h?.length===0,W=t?jsxs(Fragment,{children:[jsx(a$1,{name:"multi-select-search",value:e,placeholder:N,onSearchChange:s,onSearchReset:()=>s(""),sx:{pt:0}}),C&&jsx(a$2,{children:"No results found"})]}):void 0;return jsxs("div",{children:[jsx(a$3,{onClick:R,label:jsxs(b$1,{isDisabled:c,children:[T,jsx("img",{src:xb,alt:"arrow-down"})]}),disabled:c,badgeCount:k}),d&&jsx(a$4,{onClick:m}),jsx(Popper,{open:d,anchorEl:a$6,placement:"bottom-start",sx:{zIndex:9999},children:jsx(a$5,{onCloseDropdown:m,filter:{apiKey:u,data:i,onClear:y,onConfirm:P,options:h,type:"list"},styles:{...b$2,height:C?"auto":"300px",overflowY:"scroll",maxWidth:"200px"},header:W,searchable:t})})]})}var to=memo(O);export{to as a};
@@ -1 +1 @@
1
- import {m}from'./chunk-MIQATMZ3.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-HGDTGS7N.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};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-L7JVLYFA.js';var e=a;export{e as a};
@@ -1 +1 @@
1
- import {a as a$2}from'./chunk-UCFIDQ66.js';import {a,d,b,c,e as e$1}from'./chunk-EJAMKPHC.js';import {b as b$1,d as d$1,c as c$1,a as a$1,e,h,f,g}from'./chunk-VO7VW6VW.js';import {_b,$b}from'./chunk-B747PPJY.js';import {memo,useState}from'react';import K from'@mui/material/ClickAwayListener';import Q from'@mui/material/Popper';import {useTranslation}from'react-i18next';import {DateObject,Calendar}from'react-multi-date-picker';import {jsx,jsxs}from'react/jsx-runtime';var Z=["Su","Mo","Tu","We","Th","Fr","Sa"];function _({isAr:i=false,value:t,setValue:h$1,enableTimePicker:r,placement:x,sx:L,...v}){let[C,w]=useState(null),[M,F]=useState(t?new DateObject(new Date(t.toLocaleString())):new DateObject(new Date)),[g$1,l]=useState(t?new DateObject(new Date(t.toLocaleString())):new DateObject(new Date)),I=t?.hour?a(t.hour):d(),N=t?.hour?b(t.hour):b(new Date().getHours()),[n,R]=useState({hour:I,minute:t?.minute??c(),period:N}),{t:P}=useTranslation(),u=!!C,V=e=>e==="right"?i?_b:$b:i?$b:_b,q=e=>{w(e.currentTarget);},m=()=>{w(null);},z=()=>{let e=n.hour;r&&(e=e$1(n.hour,n.period||"AM"));let a=r?g$1.setHour(e).setMinute(n.minute):g$1;F(a),h$1&&h$1(a),m();},G=e=>{R(e);};return jsx(K,{onClickAway:m,children:jsxs(b$1,{sx:{...L},children:[jsx(d$1,{onClick:q,open:u,className:"date-button",children:M.format("MMM D, YYYY")}),jsx(Q,{open:u,anchorEl:C,placement:x,children:jsxs(c$1,{className:"calender-content",open:u,children:[jsx(Calendar,{numberOfMonths:1,format:"MMM DD YYYY",monthYearSeparator:" ",renderButton:(e,a)=>jsx(a$1,{onClick:a,children:jsx("img",{src:V(e),alt:"arrow"})}),onMonthChange:e=>{l(e);},onYearChange:e=>{l(e);},onChange:e=>{l(e);},weekDays:i?void 0:Z,minDate:new Date,value:M,...v}),jsxs(e,{sx:{...r&&{justifyContent:"space-between"}},children:[r&&jsx(a$2,{enableRealTimeChange:true,onChange:G,defaultTime:n}),jsxs(h,{children:[jsx(f,{variant:"contained",onClick:m,children:P("cancel")}),jsx(g,{variant:"contained",onClick:z,children:P("okay")})]})]})]})})]})})}var ue=memo(_);export{ue as a};
1
+ import {a as a$2}from'./chunk-2DLRG7KT.js';import {a,d,b,c,e as e$1}from'./chunk-EJAMKPHC.js';import {b as b$1,d as d$1,c as c$1,a as a$1,e,h,f,g}from'./chunk-VO7VW6VW.js';import {_b,$b}from'./chunk-B747PPJY.js';import {memo,useState}from'react';import K from'@mui/material/ClickAwayListener';import Q from'@mui/material/Popper';import {useTranslation}from'react-i18next';import {DateObject,Calendar}from'react-multi-date-picker';import {jsx,jsxs}from'react/jsx-runtime';var Z=["Su","Mo","Tu","We","Th","Fr","Sa"];function _({isAr:i=false,value:t,setValue:h$1,enableTimePicker:r,placement:x,sx:L,...v}){let[C,w]=useState(null),[M,F]=useState(t?new DateObject(new Date(t.toLocaleString())):new DateObject(new Date)),[g$1,l]=useState(t?new DateObject(new Date(t.toLocaleString())):new DateObject(new Date)),I=t?.hour?a(t.hour):d(),N=t?.hour?b(t.hour):b(new Date().getHours()),[n,R]=useState({hour:I,minute:t?.minute??c(),period:N}),{t:P}=useTranslation(),u=!!C,V=e=>e==="right"?i?_b:$b:i?$b:_b,q=e=>{w(e.currentTarget);},m=()=>{w(null);},z=()=>{let e=n.hour;r&&(e=e$1(n.hour,n.period||"AM"));let a=r?g$1.setHour(e).setMinute(n.minute):g$1;F(a),h$1&&h$1(a),m();},G=e=>{R(e);};return jsx(K,{onClickAway:m,children:jsxs(b$1,{sx:{...L},children:[jsx(d$1,{onClick:q,open:u,className:"date-button",children:M.format("MMM D, YYYY")}),jsx(Q,{open:u,anchorEl:C,placement:x,children:jsxs(c$1,{className:"calender-content",open:u,children:[jsx(Calendar,{numberOfMonths:1,format:"MMM DD YYYY",monthYearSeparator:" ",renderButton:(e,a)=>jsx(a$1,{onClick:a,children:jsx("img",{src:V(e),alt:"arrow"})}),onMonthChange:e=>{l(e);},onYearChange:e=>{l(e);},onChange:e=>{l(e);},weekDays:i?void 0:Z,minDate:new Date,value:M,...v}),jsxs(e,{sx:{...r&&{justifyContent:"space-between"}},children:[r&&jsx(a$2,{enableRealTimeChange:true,onChange:G,defaultTime:n}),jsxs(h,{children:[jsx(f,{variant:"contained",onClick:m,children:P("cancel")}),jsx(g,{variant:"contained",onClick:z,children:P("okay")})]})]})]})})]})})}var ue=memo(_);export{ue as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-VFCCB65A.js';import {a as a$2}from'./chunk-3YZXHET7.js';import {useId,useMemo}from'react';import {jsx,Fragment}from'react/jsx-runtime';function a({text:t,query:r}){let o=useId(),e=useMemo(()=>r.trim().toLowerCase(),[r]),l=useMemo(()=>{if(!e)return t;let f=t.toLowerCase(),i=a$1(f,e);return i.length===0?t:jsx(a$2,{text:t,queryLength:r.length,ranges:i,idPrefix:o})},[t,r.length,e,o]);return jsx(Fragment,{children:l})}export{a};
1
+ import {a as a$2}from'./chunk-3YZXHET7.js';import {a as a$1}from'./chunk-VFCCB65A.js';import {useId,useMemo}from'react';import {jsx,Fragment}from'react/jsx-runtime';function a({text:t,query:r}){let o=useId(),e=useMemo(()=>r.trim().toLowerCase(),[r]),l=useMemo(()=>{if(!e)return t;let f=t.toLowerCase(),i=a$1(f,e);return i.length===0?t:jsx(a$2,{text:t,queryLength:r.length,ranges:i,idPrefix:o})},[t,r.length,e,o]);return jsx(Fragment,{children:l})}export{a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-NNSKP3K3.js';var p=a;export{p as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-JOAM5M6U.js';import {je}from'./chunk-B747PPJY.js';import {jsxs,jsx}from'react/jsx-runtime';var n=({text:o,startLength:e=8,endLength:p=4,chipIndex:r,copyText:i,selectionProps:a$1})=>{let c=o.slice(0,e),d=o.slice(o.length-p);return jsxs(a,{chipIndex:r,copyText:i,selectionProps:a$1,children:[c,jsx("img",{src:je,alt:"passwordDots"}),d]})},x=n;export{x as a};
1
+ import {a}from'./chunk-YMGCSAF4.js';import {je}from'./chunk-B747PPJY.js';import {jsxs,jsx}from'react/jsx-runtime';var n=({text:o,startLength:e=8,endLength:p=4,chipIndex:r,copyText:i,selectionProps:a$1})=>{let c=o.slice(0,e),d=o.slice(o.length-p);return jsxs(a,{chipIndex:r,copyText:i,selectionProps:a$1,children:[c,jsx("img",{src:je,alt:"passwordDots"}),d]})},x=n;export{x as a};
@@ -1 +1 @@
1
- import {b,a}from'./chunk-DZG37E6L.js';import {c,e as e$1}from'./chunk-FAIYE64L.js';import {e}from'./chunk-VTSCZN4A.js';import {f}from'./chunk-6G6MBFMR.js';import {useMemo,useCallback}from'react';function B({templates:i,setTemplates:s,createTemplate:L,updateTemplate:P,deleteTemplate:S,tableMode:c$1,isTemplatesLoading:T,lang:h="en",mainDefaultTemplate:U}){let u=useMemo(()=>i.find(e=>e.default),[i]),l=i.find(e=>e.selected)?.id??u?.id,d=useCallback(e=>{s(n=>n.find(t=>t.selected)?.id===e?n:n.map(t=>({...t,selected:e?t.id===e:false})));},[s]),R=useCallback(async({name:e$1,layout:n})=>{let o=e(n,c$1,u),t=await L({name:e$1,layout:o}),m=c(t);return s(w=>[...w.map(f=>({...f,selected:false})),{...m,selected:true}]),{id:t.id,name:t.name??""}},[L,s,c$1,u]),I=useCallback(async e=>{await S(e),s(n=>n.filter(o=>o.id!==e)),d(l===e?u?.id:l);},[S,s,u,d]),x=useCallback((e,n)=>{let o=i.find(r=>r.default);if(!o)return;let t=f(e,c$1,h),{name:m,layout:w}=b(o,{layout:t}),f$1={...o,name:m,layout:w,modified:{...o.modified??{},[c$1]:n}};s(r=>a(r,V=>V.default,f$1));},[i,c$1,h,s]),D=useCallback(async(e,n)=>{let o=i.find(r=>r.id===e),{name:t,layout:m}=b(o,n),w=await P(e,{name:t,layout:m}),f=c(w);s(r=>a(r,V=>V.id===e,f)),d(f.id);},[i,P,s,d]),F=useMemo(()=>({templates:i,onCreateCustomView:R,onEditCustomView:D,onDeleteCustomView:I,onUpdateDefaultView:x,isLoading:T,mainDefaultTemplate:U}),[i,R,D,I,x,T,U]),j=useCallback(e=>{if(!u){d(void 0);return}if(!e?.id||e.id==="default"){d(u.id);return}let n=i.find(o=>o.id===e.id);d(n?.id??u.id);},[i,u,d]),q=useMemo(()=>{let e=i.find(o=>l?o.id===l:false)??u,n=[];return e&&(n=e$1(e,c$1)),n.length===0?[]:n},[c$1,i,l,u]);return {customViews:F,onViewChange:j,columnsView:q,selectedViewId:l}}export{B as a};
1
+ import {e}from'./chunk-VTSCZN4A.js';import {b,a}from'./chunk-DZG37E6L.js';import {c,e as e$1}from'./chunk-FAIYE64L.js';import {f}from'./chunk-6G6MBFMR.js';import {useMemo,useCallback}from'react';function B({templates:i,setTemplates:s,createTemplate:L,updateTemplate:P,deleteTemplate:S,tableMode:c$1,isTemplatesLoading:T,lang:h="en",mainDefaultTemplate:U}){let u=useMemo(()=>i.find(e=>e.default),[i]),l=i.find(e=>e.selected)?.id??u?.id,d=useCallback(e=>{s(n=>n.find(t=>t.selected)?.id===e?n:n.map(t=>({...t,selected:e?t.id===e:false})));},[s]),R=useCallback(async({name:e$1,layout:n})=>{let o=e(n,c$1,u),t=await L({name:e$1,layout:o}),m=c(t);return s(w=>[...w.map(f=>({...f,selected:false})),{...m,selected:true}]),{id:t.id,name:t.name??""}},[L,s,c$1,u]),I=useCallback(async e=>{await S(e),s(n=>n.filter(o=>o.id!==e)),d(l===e?u?.id:l);},[S,s,u,d]),x=useCallback((e,n)=>{let o=i.find(r=>r.default);if(!o)return;let t=f(e,c$1,h),{name:m,layout:w}=b(o,{layout:t}),f$1={...o,name:m,layout:w,modified:{...o.modified??{},[c$1]:n}};s(r=>a(r,V=>V.default,f$1));},[i,c$1,h,s]),D=useCallback(async(e,n)=>{let o=i.find(r=>r.id===e),{name:t,layout:m}=b(o,n),w=await P(e,{name:t,layout:m}),f=c(w);s(r=>a(r,V=>V.id===e,f)),d(f.id);},[i,P,s,d]),F=useMemo(()=>({templates:i,onCreateCustomView:R,onEditCustomView:D,onDeleteCustomView:I,onUpdateDefaultView:x,isLoading:T,mainDefaultTemplate:U}),[i,R,D,I,x,T,U]),j=useCallback(e=>{if(!u){d(void 0);return}if(!e?.id||e.id==="default"){d(u.id);return}let n=i.find(o=>o.id===e.id);d(n?.id??u.id);},[i,u,d]),q=useMemo(()=>{let e=i.find(o=>l?o.id===l:false)??u,n=[];return e&&(n=e$1(e,c$1)),n.length===0?[]:n},[c$1,i,l,u]);return {customViews:F,onViewChange:j,columnsView:q,selectedViewId:l}}export{B as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-CAOHFZLW.js';import {d,a,c,e,f,g}from'./chunk-KJAEQFZU.js';import {xb,yb}from'./chunk-B747PPJY.js';import S from'react';import b from'@mui/material/Popper';import {useTranslation}from'react-i18next';import {jsxs,jsx}from'react/jsx-runtime';function D({open:s,selectedViewInfo:r,setSelectedViewInfo:c$1,onSelect:f$1,setViews:y,anchorEl:V}){let{t:v}=useTranslation();return jsxs(d,{"data-testid":"TableView_DefaultViews",children:[jsxs(a,{onClick:o=>{f$1(o);},children:[jsx("div",{children:r.label}),jsx("img",{src:xb,alt:"arrow",style:{...!!s&&{transform:"rotate(180deg)"}}})]}),jsx(b,{open:s,anchorEl:V,placement:"bottom-start",children:jsxs(c,{children:[a$1.map(o=>jsxs(e,{onClick:()=>{c$1(o),y?.(o.columns);},children:[o.id===r.id?jsx("img",{className:"check-icon",src:yb,alt:"arrow"}):jsx(f,{}),jsx("span",{children:o.label}),jsx(g,{})]},o.id)),jsxs(e,{sx:{border:"none"},onClick:o=>{o.stopPropagation(),c$1({label:"Custom view",id:"custom"});},children:[r.id==="custom"?jsx("img",{className:"check-icon",src:yb,alt:"arrow"}):jsx(f,{}),jsx("span",{children:v("createCustomView")}),jsx(g,{})]})]})})]})}var I=S.memo(D);export{I as a};
1
+ import {d,a,c,e,f,g}from'./chunk-KJAEQFZU.js';import {a as a$1}from'./chunk-CAOHFZLW.js';import {xb,yb}from'./chunk-B747PPJY.js';import S from'react';import b from'@mui/material/Popper';import {useTranslation}from'react-i18next';import {jsxs,jsx}from'react/jsx-runtime';function D({open:s,selectedViewInfo:r,setSelectedViewInfo:c$1,onSelect:f$1,setViews:y,anchorEl:V}){let{t:v}=useTranslation();return jsxs(d,{"data-testid":"TableView_DefaultViews",children:[jsxs(a,{onClick:o=>{f$1(o);},children:[jsx("div",{children:r.label}),jsx("img",{src:xb,alt:"arrow",style:{...!!s&&{transform:"rotate(180deg)"}}})]}),jsx(b,{open:s,anchorEl:V,placement:"bottom-start",children:jsxs(c,{children:[a$1.map(o=>jsxs(e,{onClick:()=>{c$1(o),y?.(o.columns);},children:[o.id===r.id?jsx("img",{className:"check-icon",src:yb,alt:"arrow"}):jsx(f,{}),jsx("span",{children:o.label}),jsx(g,{})]},o.id)),jsxs(e,{sx:{border:"none"},onClick:o=>{o.stopPropagation(),c$1({label:"Custom view",id:"custom"});},children:[r.id==="custom"?jsx("img",{className:"check-icon",src:yb,alt:"arrow"}):jsx(f,{}),jsx("span",{children:v("createCustomView")}),jsx(g,{})]})]})})]})}var I=S.memo(D);export{I as a};
@@ -1 +1 @@
1
- import {a,b}from'./chunk-POBSC5AU.js';import {a as a$1}from'./chunk-PSEIGQMV.js';import {a as a$2}from'./chunk-TR7Y5LQX.js';import {memo,useRef,useMemo}from'react';import f from'@mui/material/Box';import H from'@mui/material/Popover';import {jsxs,jsx}from'react/jsx-runtime';function k(u){let{onClose:x,open:o,anchorEl:e,trigger:w,onOpen:S,children:v,disabled:p,listWrapperSx:g,hideArrow:W,onClear:a$3,hasValue:b$1,className:s,slotProps:D,...N}=u,n=a$3&&b$1,i=useRef(void 0);o&&e&&e.clientWidth>0&&(i.current=e.clientWidth);let C=i.current,{listWrapper:E,popover:T}=D??{},{slotProps:y,...R}=T??{},{paper:A,...M}=y??{},r=A,B={...r,sx:[{width:C??e?.clientWidth,maxWidth:"unset",boxSizing:"border-box"},...r?.sx?Array.isArray(r.sx)?r.sx:[r.sx]:[]]},I=useMemo(()=>["SelectDropdown",o&&"SelectDropdown-open",p&&"SelectDropdown-disabled",s].filter(Boolean).join(" "),[s,o,p]);return jsxs(a,{open:o,onClick:S,"data-testid":"SelectDropdown",disabled:p,className:I,...N,children:[jsx(f,{className:"SelectDropdown_trigger",sx:{flex:1,cursor:"pointer"},children:w}),jsxs(f,{width:16,height:16,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",right:8,className:"SelectDropdown_trailing-icon",role:"button",...n&&{sx:{cursor:"pointer"},onClick:l=>{l.stopPropagation(),l.preventDefault(),a$3();}},children:[!W&&!n&&jsx(a$1,{className:"SelectDropdown_trailing-arrow",direction:o?"up":"down",transitionEffect:"fade"}),n&&jsx(a$2,{className:"SelectDropdown_trailing-close"})]}),jsx(H,{open:o,anchorEl:e,onClose:x,anchorOrigin:{vertical:"bottom",horizontal:"left"},...R,slotProps:{...M,paper:B},children:jsx(b,{className:"SelectDropdown_list-wrapper",sx:g,...E,children:v})})]})}var Y=memo(k);export{Y as a};
1
+ import {a as a$1}from'./chunk-PSEIGQMV.js';import {a as a$2}from'./chunk-TR7Y5LQX.js';import {a,b}from'./chunk-POBSC5AU.js';import {memo,useRef,useMemo}from'react';import f from'@mui/material/Box';import H from'@mui/material/Popover';import {jsxs,jsx}from'react/jsx-runtime';function k(u){let{onClose:x,open:o,anchorEl:e,trigger:w,onOpen:S,children:v,disabled:p,listWrapperSx:g,hideArrow:W,onClear:a$3,hasValue:b$1,className:s,slotProps:D,...N}=u,n=a$3&&b$1,i=useRef(void 0);o&&e&&e.clientWidth>0&&(i.current=e.clientWidth);let C=i.current,{listWrapper:E,popover:T}=D??{},{slotProps:y,...R}=T??{},{paper:A,...M}=y??{},r=A,B={...r,sx:[{width:C??e?.clientWidth,maxWidth:"unset",boxSizing:"border-box"},...r?.sx?Array.isArray(r.sx)?r.sx:[r.sx]:[]]},I=useMemo(()=>["SelectDropdown",o&&"SelectDropdown-open",p&&"SelectDropdown-disabled",s].filter(Boolean).join(" "),[s,o,p]);return jsxs(a,{open:o,onClick:S,"data-testid":"SelectDropdown",disabled:p,className:I,...N,children:[jsx(f,{className:"SelectDropdown_trigger",sx:{flex:1,cursor:"pointer"},children:w}),jsxs(f,{width:16,height:16,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",right:8,className:"SelectDropdown_trailing-icon",role:"button",...n&&{sx:{cursor:"pointer"},onClick:l=>{l.stopPropagation(),l.preventDefault(),a$3();}},children:[!W&&!n&&jsx(a$1,{className:"SelectDropdown_trailing-arrow",direction:o?"up":"down",transitionEffect:"fade"}),n&&jsx(a$2,{className:"SelectDropdown_trailing-close"})]}),jsx(H,{open:o,anchorEl:e,onClose:x,anchorOrigin:{vertical:"bottom",horizontal:"left"},...R,slotProps:{...M,paper:B},children:jsx(b,{className:"SelectDropdown_list-wrapper",sx:g,...E,children:v})})]})}var Y=memo(k);export{Y as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-HNVNQUZR.js';import'./chunk-OJDPKSYO.js';import {a}from'./chunk-Y7S6MRVA.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-6IXDQEM4.js';import'./chunk-OJDPKSYO.js';import {a}from'./chunk-Y7S6MRVA.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 +1 @@
1
- import {a as a$9}from'./chunk-YCJWFF4E.js';import {a as a$8}from'./chunk-AX72EOEK.js';import {a}from'./chunk-HMB62NGL.js';import {a as a$3}from'./chunk-ZLLJPWUM.js';import {a as a$6}from'./chunk-6444P3KR.js';import {a as a$5}from'./chunk-NLIWXL7P.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-B747PPJY.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-JN3Z3UAU.js';import {a as a$6}from'./chunk-6444P3KR.js';import {a as a$5}from'./chunk-NLIWXL7P.js';import {a as a$a}from'./chunk-URRSCBKM.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 {b as b$1}from'./chunk-EAOIWTEA.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-B747PPJY.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};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-ZDQGM35G.js';var I=a;export{I as a};