@tap-payments/os-micro-frontend-shared 0.1.39-test.1 → 0.1.40-9.fix.1

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 (1302) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +12 -12
  3. package/build/components/AccordionAdapter/style.d.ts +2 -2
  4. package/build/components/AccountDropdown/style.d.ts +1 -1
  5. package/build/components/ActionMenu/ActionMenuDropDown.js +4 -3
  6. package/build/components/ActionMenu/ActionMenuItem.js +4 -4
  7. package/build/components/ActionMenu/style.d.ts +1 -2
  8. package/build/components/ActionMenu/style.js +0 -4
  9. package/build/components/ActivityAreaChart/components/ChartTooltip.js +4 -3
  10. package/build/components/ActivityAreaChart/styles.d.ts +3 -4
  11. package/build/components/ActivityAreaChart/styles.js +0 -6
  12. package/build/components/Amount/TotalAmount/Loading.d.ts +1 -0
  13. package/build/components/Amount/TotalAmount/Loading.js +9 -0
  14. package/build/components/Amount/TotalAmount/TotalAmount.d.ts +15 -0
  15. package/build/components/Amount/TotalAmount/TotalAmount.js +62 -0
  16. package/build/components/Amount/TotalAmount/index.d.ts +1 -0
  17. package/build/components/Amount/TotalAmount/index.js +1 -0
  18. package/build/components/Amount/TotalAmount/style.d.ts +11 -0
  19. package/build/components/Amount/TotalAmount/style.js +26 -0
  20. package/build/components/Amount/index.d.ts +1 -0
  21. package/build/components/Amount/index.js +1 -0
  22. package/build/components/AmountConversionFilter/AmountConversionFilter.d.ts +19 -0
  23. package/build/components/AmountConversionFilter/AmountConversionFilter.js +18 -0
  24. package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.d.ts +9 -0
  25. package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.js +39 -0
  26. package/build/components/AmountConversionFilter/index.d.ts +1 -0
  27. package/build/components/AmountConversionFilter/index.js +1 -0
  28. package/build/components/AmountConversionFilter/style.d.ts +7 -0
  29. package/build/components/AmountConversionFilter/style.js +47 -0
  30. package/build/components/AmountInput/AmountInput.d.ts +14 -0
  31. package/build/components/AmountInput/AmountInput.js +44 -0
  32. package/build/components/AmountInput/index.d.ts +2 -0
  33. package/build/components/AmountInput/index.js +2 -0
  34. package/build/components/AmountInput/style.d.ts +8 -0
  35. package/build/components/AmountInput/style.js +30 -0
  36. package/build/components/AmountStatusChip/AmountStatusChip.d.ts +9 -0
  37. package/build/components/AmountStatusChip/AmountStatusChip.js +20 -0
  38. package/build/components/AmountStatusChip/index.d.ts +3 -0
  39. package/build/components/AmountStatusChip/index.js +2 -0
  40. package/build/components/AmountStatusChip/style.d.ts +3 -0
  41. package/build/components/AmountStatusChip/style.js +13 -0
  42. package/build/components/AnimatedSpinnerIcon/AnimatedSpinnerIcon.d.ts +8 -0
  43. package/build/components/AnimatedSpinnerIcon/AnimatedSpinnerIcon.js +7 -0
  44. package/build/components/AnimatedSpinnerIcon/index.d.ts +2 -0
  45. package/build/components/AnimatedSpinnerIcon/index.js +2 -0
  46. package/build/components/AnimatedSpinnerIcon/style.d.ts +280 -0
  47. package/build/components/AnimatedSpinnerIcon/style.js +8 -0
  48. package/build/components/AppServices/AppServices.d.ts +9 -5
  49. package/build/components/AppServices/AppServices.js +13 -20
  50. package/build/components/AppServices/ServiceItem.d.ts +2 -4
  51. package/build/components/AppServices/ServiceItem.js +6 -10
  52. package/build/components/AppServices/style.d.ts +1 -1
  53. package/build/components/AppServicesBar/AppServicesBar.d.ts +22 -0
  54. package/build/components/AppServicesBar/AppServicesBar.js +18 -0
  55. package/build/components/AppServicesBar/index.d.ts +3 -0
  56. package/build/components/AppServicesBar/index.js +3 -0
  57. package/build/components/AppServicesBar/style.d.ts +4 -0
  58. package/build/components/AppServicesBar/style.js +6 -0
  59. package/build/components/AppWindowWrapper/AppWindow/AppWindow.d.ts +1 -1
  60. package/build/components/AppWindowWrapper/AppWindow/AppWindow.js +2 -2
  61. package/build/components/AppWindowWrapper/AppWindow/style.d.ts +2 -2
  62. package/build/components/AppWindowWrapper/AppWindow/type.d.ts +2 -0
  63. package/build/components/AppWindowWrapper/context/Provider.d.ts +1 -1
  64. package/build/components/AppWindowWrapper/context/Provider.js +4 -3
  65. package/build/components/AppWindowWrapper/context/type.d.ts +4 -0
  66. package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.d.ts +1 -1
  67. package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.js +2 -2
  68. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.d.ts +1 -1
  69. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.js +2 -2
  70. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/type.d.ts +3 -2
  71. package/build/components/AppWindowWrapper/headers/AccountHeader/type.d.ts +2 -1
  72. package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeaderBase.d.ts +1 -1
  73. package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeaderBase.js +2 -2
  74. package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.d.ts +9 -0
  75. package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.js +21 -0
  76. package/build/components/AuthenticationTypeChip/constants.d.ts +16 -0
  77. package/build/components/AuthenticationTypeChip/constants.js +13 -0
  78. package/build/components/AuthenticationTypeChip/index.d.ts +3 -0
  79. package/build/components/AuthenticationTypeChip/index.js +2 -0
  80. package/build/components/Autocomplete/Autocomplete.d.ts +10 -0
  81. package/build/components/Autocomplete/Autocomplete.js +33 -0
  82. package/build/components/Autocomplete/index.d.ts +2 -0
  83. package/build/components/Autocomplete/index.js +1 -0
  84. package/build/components/Autocomplete/style.d.ts +4 -0
  85. package/build/components/Autocomplete/style.js +47 -0
  86. package/build/components/BackgroundAnimation/BackgroundAnimation.js +28 -0
  87. package/build/components/BackgroundAnimation/Blob/Blob.js +2 -0
  88. package/build/components/BetaBanner/BetaBanner.d.ts +1 -0
  89. package/build/components/BetaBanner/BetaBanner.js +5 -0
  90. package/build/components/BetaBanner/index.d.ts +2 -0
  91. package/build/components/BetaBanner/index.js +2 -0
  92. package/build/components/BetaBanner/style.d.ts +6 -0
  93. package/build/components/BetaBanner/style.js +18 -0
  94. package/build/components/BrandLogo/BrandLogo.d.ts +12 -0
  95. package/build/components/BrandLogo/BrandLogo.js +35 -0
  96. package/build/components/BrandLogo/Loading.d.ts +6 -0
  97. package/build/components/BrandLogo/Loading.js +3 -0
  98. package/build/components/BrandLogo/index.d.ts +1 -0
  99. package/build/components/BrandLogo/index.js +1 -0
  100. package/build/components/Button/style.d.ts +1 -1
  101. package/build/components/Calender/style.d.ts +4 -4
  102. package/build/components/Chip/style.d.ts +10 -10
  103. package/build/components/Chip/style.js +1 -0
  104. package/build/components/CircularProgressWithLabel/style.d.ts +1 -1
  105. package/build/components/ColorPicker/ColorPicker.d.ts +14 -0
  106. package/build/components/ColorPicker/ColorPicker.js +35 -0
  107. package/build/components/ColorPicker/ColorPickerPanel.d.ts +8 -0
  108. package/build/components/ColorPicker/ColorPickerPanel.js +56 -0
  109. package/build/components/ColorPicker/ColorSchemeSelect.d.ts +7 -0
  110. package/build/components/ColorPicker/ColorSchemeSelect.js +35 -0
  111. package/build/components/ColorPicker/HexaFields.d.ts +8 -0
  112. package/build/components/ColorPicker/HexaFields.js +83 -0
  113. package/build/components/ColorPicker/RGBAFields.d.ts +8 -0
  114. package/build/components/ColorPicker/RGBAFields.js +37 -0
  115. package/build/components/ColorPicker/index.d.ts +2 -0
  116. package/build/components/ColorPicker/index.js +2 -0
  117. package/build/components/ColorPicker/style.d.ts +30 -0
  118. package/build/components/ColorPicker/style.js +157 -0
  119. package/build/components/ConfirmDialog/context/index.d.ts +1 -1
  120. package/build/components/ConfirmDialog/context/index.js +1 -1
  121. package/build/components/ConfirmDialog/styles.d.ts +1 -1
  122. package/build/components/CountBadge/style.d.ts +10 -10
  123. package/build/components/CountryFilter/CountryFilter.d.ts +13 -0
  124. package/build/components/CountryFilter/CountryFilter.js +71 -0
  125. package/build/components/CountryFilter/index.d.ts +1 -0
  126. package/build/components/CountryFilter/index.js +1 -0
  127. package/build/components/CountryFilter/style.d.ts +6 -0
  128. package/build/components/CountryFilter/style.js +7 -0
  129. package/build/components/CountryFlag/CountryFlag.d.ts +3 -2
  130. package/build/components/CountryFlag/CountryFlag.js +4 -3
  131. package/build/components/CurrencyFilter/CurrencyFilter.d.ts +10 -0
  132. package/build/components/CurrencyFilter/CurrencyFilter.js +27 -0
  133. package/build/components/CurrencyFilter/index.d.ts +1 -0
  134. package/build/components/CurrencyFilter/index.js +1 -0
  135. package/build/components/CurrencySymbol/CurrencySymbol.d.ts +7 -0
  136. package/build/components/CurrencySymbol/CurrencySymbol.js +17 -0
  137. package/build/components/CurrencySymbol/index.d.ts +2 -0
  138. package/build/components/CurrencySymbol/index.js +2 -0
  139. package/build/components/{CurrencyIcon → CurrencySymbol}/style.d.ts +6 -1
  140. package/build/components/CurrencySymbol/style.js +27 -0
  141. package/build/components/Customer/CustomerDropdown/CustomerDropdown.d.ts +8 -0
  142. package/build/components/Customer/CustomerDropdown/CustomerDropdown.js +39 -0
  143. package/build/components/Customer/CustomerDropdown/index.d.ts +1 -0
  144. package/build/components/Customer/CustomerDropdown/index.js +1 -0
  145. package/build/components/Customer/CustomerDropdown/style.d.ts +10 -0
  146. package/build/components/Customer/CustomerDropdown/style.js +30 -0
  147. package/build/components/Customer/CustomerForms/CustomerEmailForm.d.ts +12 -0
  148. package/build/components/Customer/CustomerForms/CustomerEmailForm.js +76 -0
  149. package/build/components/Customer/CustomerForms/CustomerFullInfo.d.ts +13 -0
  150. package/build/components/Customer/CustomerForms/CustomerFullInfo.js +72 -0
  151. package/build/components/Customer/CustomerForms/CustomerFullInfoForm.d.ts +12 -0
  152. package/build/components/Customer/CustomerForms/CustomerFullInfoForm.js +74 -0
  153. package/build/components/Customer/CustomerForms/CustomerPhoneNumberForm.d.ts +12 -0
  154. package/build/components/Customer/CustomerForms/CustomerPhoneNumberForm.js +71 -0
  155. package/build/components/Customer/CustomerForms/index.d.ts +9 -0
  156. package/build/components/Customer/CustomerForms/index.js +9 -0
  157. package/build/components/Customer/CustomerForms/style.d.ts +25 -0
  158. package/build/components/Customer/CustomerForms/style.js +71 -0
  159. package/build/components/Customer/CustomerForms/validation.d.ts +30 -0
  160. package/build/components/Customer/CustomerForms/validation.js +42 -0
  161. package/build/components/Customer/index.d.ts +2 -0
  162. package/build/components/Customer/index.js +2 -0
  163. package/build/components/DateFilter/DateFilter.d.ts +16 -0
  164. package/build/components/DateFilter/DateFilter.js +32 -0
  165. package/build/components/DateFilter/index.d.ts +1 -0
  166. package/build/components/DateFilter/index.js +1 -0
  167. package/build/components/DateFilter/style.d.ts +35 -0
  168. package/build/components/DateFilter/style.js +100 -0
  169. package/build/components/DeviceIcon/DeviceIcon.js +1 -1
  170. package/build/components/Dialog/style.d.ts +10 -10
  171. package/build/components/Dialog/style.js +1 -0
  172. package/build/components/Discount/DiscountDropdown/DiscountDropdown.d.ts +13 -0
  173. package/build/components/Discount/DiscountDropdown/DiscountDropdown.js +67 -0
  174. package/build/components/Discount/DiscountDropdown/index.d.ts +2 -0
  175. package/build/components/Discount/DiscountDropdown/index.js +2 -0
  176. package/build/components/Discount/DiscountDropdown/style.d.ts +12 -0
  177. package/build/components/Discount/DiscountDropdown/style.js +40 -0
  178. package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.d.ts +12 -0
  179. package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.js +53 -0
  180. package/build/components/Discount/DiscountRateDropdown/index.d.ts +2 -0
  181. package/build/components/Discount/DiscountRateDropdown/index.js +2 -0
  182. package/build/components/Discount/DiscountRateDropdown/style.d.ts +7 -0
  183. package/build/components/Discount/DiscountRateDropdown/style.js +33 -0
  184. package/build/components/Discount/TotalDiscount/TotalDiscount.d.ts +12 -0
  185. package/build/components/Discount/TotalDiscount/TotalDiscount.js +30 -0
  186. package/build/components/Discount/TotalDiscount/index.d.ts +1 -0
  187. package/build/components/Discount/TotalDiscount/index.js +1 -0
  188. package/build/components/Discount/TotalDiscount/style.d.ts +12 -0
  189. package/build/components/Discount/TotalDiscount/style.js +5 -0
  190. package/build/components/Discount/index.d.ts +4 -0
  191. package/build/components/Discount/index.js +4 -0
  192. package/build/components/Discount/utils.d.ts +8 -0
  193. package/build/components/Discount/utils.js +12 -0
  194. package/build/components/DisplayAmount/DisplayAmount.d.ts +9 -0
  195. package/build/components/DisplayAmount/DisplayAmount.js +21 -0
  196. package/build/components/DisplayAmount/index.d.ts +2 -0
  197. package/build/components/DisplayAmount/index.js +2 -0
  198. package/build/components/DisplayAmount/style.d.ts +5 -0
  199. package/build/components/DisplayAmount/style.js +14 -0
  200. package/build/components/DockButton/style.d.ts +1 -1
  201. package/build/components/Dropdown2/style.js +2 -0
  202. package/build/components/DropdownButton/constants.d.ts +2 -2
  203. package/build/components/DropdownButton/style.d.ts +2 -2
  204. package/build/components/DropdownMenu/styles.d.ts +2 -2
  205. package/build/components/Error/Error.d.ts +1 -1
  206. package/build/components/ErrorBoundary/style.d.ts +1 -1
  207. package/build/components/ErrorToast/ErrorToast.d.ts +3 -0
  208. package/build/components/ErrorToast/ErrorToast.js +7 -0
  209. package/build/components/ErrorToast/index.d.ts +2 -0
  210. package/build/components/ErrorToast/index.js +2 -0
  211. package/build/components/ErrorToast/style.d.ts +9 -0
  212. package/build/components/ErrorToast/style.js +33 -0
  213. package/build/components/ErrorToast/type.d.ts +10 -0
  214. package/build/components/FileInputPreview/FileInputPreview.d.ts +5 -0
  215. package/build/components/FileInputPreview/FileInputPreview.js +51 -0
  216. package/build/components/FileInputPreview/index.d.ts +1 -0
  217. package/build/components/FileInputPreview/index.js +1 -0
  218. package/build/components/FileInputPreview/style.d.ts +9 -0
  219. package/build/components/FileInputPreview/style.js +20 -0
  220. package/build/components/FileInputPreview/type.d.ts +21 -0
  221. package/build/components/FileInputPreview/utils.d.ts +3 -0
  222. package/build/components/FileInputPreview/utils.js +14 -0
  223. package/build/components/FilePreview/FilePreview.d.ts +3 -0
  224. package/build/components/FilePreview/FilePreview.js +18 -0
  225. package/build/components/FilePreview/index.d.ts +3 -0
  226. package/build/components/FilePreview/index.js +3 -0
  227. package/build/components/FilePreview/style.d.ts +20 -0
  228. package/build/components/FilePreview/style.js +55 -0
  229. package/build/components/FilePreview/type.d.ts +12 -0
  230. package/build/components/FilePreview/type.js +1 -0
  231. package/build/components/FileUpload/style.d.ts +3 -3
  232. package/build/components/FileUploader/FileUploader.d.ts +1 -1
  233. package/build/components/FileUploader/FileUploader.js +3 -3
  234. package/build/components/FileUploader/style.d.ts +1 -1
  235. package/build/components/FileUploader/style.js +1 -1
  236. package/build/components/FileUploader/type.d.ts +5 -0
  237. package/build/components/FilterDropdown/FilterDropdown.d.ts +10 -0
  238. package/build/components/FilterDropdown/FilterDropdown.js +54 -0
  239. package/build/components/FilterDropdown/components/BrandItem/BrandItem.d.ts +12 -0
  240. package/build/components/FilterDropdown/components/BrandItem/BrandItem.js +39 -0
  241. package/build/components/FilterDropdown/components/BrandItem/index.d.ts +2 -0
  242. package/build/components/FilterDropdown/components/BrandItem/index.js +2 -0
  243. package/build/components/FilterDropdown/components/BrandItem/style.d.ts +4 -0
  244. package/build/components/FilterDropdown/components/BrandItem/style.js +9 -0
  245. package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.d.ts +12 -0
  246. package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.js +54 -0
  247. package/build/components/FilterDropdown/components/CountriesItem/index.d.ts +1 -0
  248. package/build/components/FilterDropdown/components/CountriesItem/index.js +1 -0
  249. package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.d.ts +12 -0
  250. package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.js +59 -0
  251. package/build/components/FilterDropdown/components/CurrenciesItem/index.d.ts +1 -0
  252. package/build/components/FilterDropdown/components/CurrenciesItem/index.js +1 -0
  253. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.d.ts +11 -0
  254. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.js +39 -0
  255. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.d.ts +2 -0
  256. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.js +2 -0
  257. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.d.ts +12 -0
  258. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.js +23 -0
  259. package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.d.ts +13 -0
  260. package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.js +60 -0
  261. package/build/components/FilterDropdown/components/MerchantItem/index.d.ts +2 -0
  262. package/build/components/FilterDropdown/components/MerchantItem/index.js +2 -0
  263. package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.d.ts +14 -0
  264. package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.js +68 -0
  265. package/build/components/FilterDropdown/components/RetailersItem/index.d.ts +1 -0
  266. package/build/components/FilterDropdown/components/RetailersItem/index.js +1 -0
  267. package/build/components/FilterDropdown/components/RetailersItem/style.d.ts +4 -0
  268. package/build/components/FilterDropdown/components/RetailersItem/style.js +8 -0
  269. package/build/components/FilterDropdown/components/index.d.ts +4 -0
  270. package/build/components/FilterDropdown/components/index.js +4 -0
  271. package/build/components/FilterDropdown/index.d.ts +3 -0
  272. package/build/components/FilterDropdown/index.js +3 -0
  273. package/build/components/FilterDropdown/style.d.ts +20 -0
  274. package/build/components/FilterDropdown/style.js +60 -0
  275. package/build/components/FilterDropdown/type.d.ts +4 -0
  276. package/build/components/FilterDropdown/type.js +1 -0
  277. package/build/components/FilteredIds/FilteredIds.js +1 -1
  278. package/build/components/FilteredIds/style.d.ts +0 -1
  279. package/build/components/FilteredIds/style.js +4 -5
  280. package/build/components/Filters/index.d.ts +1 -0
  281. package/build/components/Filters/index.js +1 -0
  282. package/build/components/Filters/style.d.ts +15 -0
  283. package/build/components/Filters/style.js +51 -0
  284. package/build/components/FlippingCard/style.d.ts +10 -10
  285. package/build/components/HeatMap/constant.js +1 -1
  286. package/build/components/Icon/type.d.ts +2 -1
  287. package/build/components/IconWithHoverOverlays/IconWithHoverOverlays.js +1 -1
  288. package/build/components/IconWithLabel/style.d.ts +1 -1
  289. package/build/components/IconsDropdown/style.d.ts +2 -2
  290. package/build/components/ImageWrapper/ImageWrapper.d.ts +10 -10
  291. package/build/components/InputBase/AmountInputBase/CurrencyList/style.js +3 -0
  292. package/build/components/InputBase/InputBase/InputBase.d.ts +2 -2
  293. package/build/components/InputBase/InputBase/InputBase.js +3 -3
  294. package/build/components/InputBase/PhoneInputBase/CountriesList/CountriesList.js +10 -9
  295. package/build/components/InputBase/PhoneInputBase/CountriesList/style.js +3 -0
  296. package/build/components/InputBase/SelectBase/SelectBase.js +5 -2
  297. package/build/components/InputBase/SelectBase/SelectBaseMultiple.js +3 -0
  298. package/build/components/InputBase/SelectBase/style.d.ts +1 -1
  299. package/build/components/InputBase/SelectBase/style.js +3 -2
  300. package/build/components/InputNumber/InputNumber.js +2 -0
  301. package/build/components/Inputs/CountriesDropDown/CountriesDropdown.d.ts +5 -4
  302. package/build/components/Inputs/CountriesDropDown/CountriesDropdown.js +3 -3
  303. package/build/components/Inputs/FileInput/style.d.ts +1 -1
  304. package/build/components/Inputs/Input/style.js +6 -2
  305. package/build/components/Inputs/Select/Select.js +1 -0
  306. package/build/components/Inputs/Select/style.js +3 -2
  307. package/build/components/JSONViewer/JSONViewer.js +11 -3
  308. package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.d.ts +1 -1
  309. package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.js +1 -1
  310. package/build/components/JSONViewer/context/Provider.js +2 -0
  311. package/build/components/JSONViewer/style.d.ts +21 -21
  312. package/build/components/LabeledIconDropdown/style.d.ts +3 -3
  313. package/build/components/LanguageDropdown/LanguageDropdown.d.ts +6 -0
  314. package/build/components/LanguageDropdown/LanguageDropdown.js +24 -0
  315. package/build/components/LanguageDropdown/index.d.ts +2 -0
  316. package/build/components/LanguageDropdown/index.js +2 -0
  317. package/build/components/LanguageDropdown/style.d.ts +6 -0
  318. package/build/components/LanguageDropdown/style.js +5 -0
  319. package/build/components/LazyImage/LazyImage.d.ts +3 -0
  320. package/build/components/LazyImage/LazyImage.js +39 -0
  321. package/build/components/LazyImage/index.d.ts +3 -0
  322. package/build/components/LazyImage/index.js +3 -0
  323. package/build/components/LeftPeekRightExpandingChip/LeftPeekRightExpandingChip.d.ts +10 -0
  324. package/build/components/LeftPeekRightExpandingChip/LeftPeekRightExpandingChip.js +14 -1
  325. package/build/components/LeftPeekRightExpandingChip/style.d.ts +30 -30
  326. package/build/components/LeftPeekRightExpandingChip/style.js +1 -0
  327. package/build/components/LeftPeekRightExpandingChip/useLeftPeekRightExpandingChip.js +30 -2
  328. package/build/components/ListColumnFilter/ListColumnFilter.d.ts +16 -0
  329. package/build/components/ListColumnFilter/ListColumnFilter.js +36 -0
  330. package/build/components/ListColumnFilter/index.d.ts +1 -0
  331. package/build/components/ListColumnFilter/index.js +1 -0
  332. package/build/components/ListColumnFilter/style.d.ts +15 -0
  333. package/build/components/ListColumnFilter/style.js +35 -0
  334. package/build/components/ListLayout/ListLayout.d.ts +10 -0
  335. package/build/components/ListLayout/ListLayout.js +20 -0
  336. package/build/components/ListLayout/index.d.ts +2 -0
  337. package/build/components/ListLayout/index.js +2 -0
  338. package/build/components/ListLayout/styles.d.ts +4 -0
  339. package/build/components/ListLayout/styles.js +9 -0
  340. package/build/components/MFWidgetLoader/DefaultMFWidgetLoader.d.ts +1 -0
  341. package/build/components/MFWidgetLoader/DefaultMFWidgetLoader.js +12 -0
  342. package/build/components/MFWidgetLoader/MFWidgetLoader.d.ts +5 -0
  343. package/build/components/MFWidgetLoader/MFWidgetLoader.js +10 -0
  344. package/build/components/MFWidgetLoader/ReportsMFWidgetLoader.d.ts +1 -0
  345. package/build/components/MFWidgetLoader/ReportsMFWidgetLoader.js +8 -0
  346. package/build/components/MFWidgetLoader/index.d.ts +2 -0
  347. package/build/components/MFWidgetLoader/index.js +2 -0
  348. package/build/components/Menu/Menu.d.ts +4 -4
  349. package/build/components/Menu/Menu.js +15 -6
  350. package/build/components/Menu/style.d.ts +4 -2
  351. package/build/components/Menu/style.js +10 -1
  352. package/build/components/MenuItem/MenuItem.d.ts +3 -2
  353. package/build/components/MenuItem/MenuItem.js +4 -2
  354. package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.d.ts +12 -0
  355. package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.js +38 -0
  356. package/build/components/MerchantCurrencyDropdown/SelectedCurrency.d.ts +5 -0
  357. package/build/components/MerchantCurrencyDropdown/SelectedCurrency.js +6 -0
  358. package/build/components/MerchantCurrencyDropdown/index.d.ts +1 -0
  359. package/build/components/MerchantCurrencyDropdown/index.js +1 -0
  360. package/build/components/MerchantCurrencyDropdown/style.d.ts +13 -0
  361. package/build/components/MerchantCurrencyDropdown/style.js +64 -0
  362. package/build/components/MerchantLogo/MerchantLogo.d.ts +10 -0
  363. package/build/components/MerchantLogo/MerchantLogo.js +17 -0
  364. package/build/components/MerchantLogo/index.d.ts +1 -0
  365. package/build/components/MerchantLogo/index.js +1 -0
  366. package/build/components/MerchantLogo/style.d.ts +5 -0
  367. package/build/components/MerchantLogo/style.js +13 -0
  368. package/build/components/MerchantsDropdown/BrandItem.d.ts +13 -0
  369. package/build/components/MerchantsDropdown/BrandItem.js +71 -0
  370. package/build/components/MerchantsDropdown/EntityItem.d.ts +14 -0
  371. package/build/components/MerchantsDropdown/EntityItem.js +69 -0
  372. package/build/components/MerchantsDropdown/EntityList.d.ts +11 -0
  373. package/build/components/MerchantsDropdown/EntityList.js +7 -0
  374. package/build/components/MerchantsDropdown/MerchantItem.d.ts +13 -0
  375. package/build/components/MerchantsDropdown/MerchantItem.js +27 -0
  376. package/build/components/MerchantsDropdown/MerchantsDropdown.d.ts +5 -0
  377. package/build/components/MerchantsDropdown/MerchantsDropdown.js +67 -0
  378. package/build/components/MerchantsDropdown/MerchantsList.d.ts +12 -0
  379. package/build/components/MerchantsDropdown/MerchantsList.js +18 -0
  380. package/build/components/MerchantsDropdown/hooks.d.ts +19 -0
  381. package/build/components/MerchantsDropdown/hooks.js +54 -0
  382. package/build/components/MerchantsDropdown/index.d.ts +1 -0
  383. package/build/components/MerchantsDropdown/index.js +1 -0
  384. package/build/components/MerchantsDropdown/style.d.ts +38 -0
  385. package/build/components/MerchantsDropdown/style.js +155 -0
  386. package/build/components/MerchantsDropdown/type.d.ts +15 -0
  387. package/build/components/MerchantsDropdown/type.js +1 -0
  388. package/build/components/MultiSelectDropdownButton/MultiSelectDropdownButton.js +1 -1
  389. package/build/components/MultiSelectDropdownButton/components/StatusButton.d.ts +10 -0
  390. package/build/components/MultiSelectDropdownButton/components/StatusButton.js +34 -0
  391. package/build/components/MultiSelectStatusButton/MultiSelectStatusButton.js +3 -0
  392. package/build/components/MultiSelectStatusButton/style.d.ts +1 -1
  393. package/build/components/MultiSelectWithSearch/style.d.ts +3 -3
  394. package/build/components/NestedDropdown/Dropdown.js +5 -2
  395. package/build/components/NestedDropdown/NestedDropdown.d.ts +4 -2
  396. package/build/components/NestedDropdown/NestedDropdown.js +13 -2
  397. package/build/components/NestedDropdown/NestedMenuItem.d.ts +4 -1
  398. package/build/components/NestedDropdown/NestedMenuItem.js +2 -4
  399. package/build/components/NestedDropdown/styles.d.ts +1 -1
  400. package/build/components/NestedDropdown/types.d.ts +1 -1
  401. package/build/components/OpenFileInNewTab/OpenFileInNewTab.d.ts +7 -0
  402. package/build/components/OpenFileInNewTab/OpenFileInNewTab.js +26 -0
  403. package/build/components/OpenFileInNewTab/index.d.ts +1 -0
  404. package/build/components/OpenFileInNewTab/index.js +1 -0
  405. package/build/components/OpenFileInNewTab/style.d.ts +2 -0
  406. package/build/components/OpenFileInNewTab/style.js +8 -0
  407. package/build/components/PartnersFilter/PartnersFilter.d.ts +10 -0
  408. package/build/components/PartnersFilter/PartnersFilter.js +50 -0
  409. package/build/components/PartnersFilter/index.d.ts +1 -0
  410. package/build/components/PartnersFilter/index.js +1 -0
  411. package/build/components/PaymentSourceFilter/PaymentIcon.d.ts +5 -0
  412. package/build/components/PaymentSourceFilter/PaymentIcon.js +9 -0
  413. package/build/components/PaymentSourceFilter/PaymentInitiated.d.ts +8 -0
  414. package/build/components/PaymentSourceFilter/PaymentInitiated.js +29 -0
  415. package/build/components/PaymentSourceFilter/PaymentMethod.d.ts +6 -0
  416. package/build/components/PaymentSourceFilter/PaymentMethod.js +55 -0
  417. package/build/components/PaymentSourceFilter/PaymentMethods.d.ts +7 -0
  418. package/build/components/PaymentSourceFilter/PaymentMethods.js +50 -0
  419. package/build/components/PaymentSourceFilter/PaymentSchemes.d.ts +7 -0
  420. package/build/components/PaymentSourceFilter/PaymentSchemes.js +54 -0
  421. package/build/components/PaymentSourceFilter/PaymentSourceFilter.d.ts +15 -0
  422. package/build/components/PaymentSourceFilter/PaymentSourceFilter.js +15 -0
  423. package/build/components/PaymentSourceFilter/index.d.ts +2 -0
  424. package/build/components/PaymentSourceFilter/index.js +1 -0
  425. package/build/components/PaymentSourceFilter/style.d.ts +5 -0
  426. package/build/components/PaymentSourceFilter/style.js +22 -0
  427. package/build/components/PaymentSourceFilter/type.d.ts +10 -0
  428. package/build/components/PaymentSourceFilter/type.js +1 -0
  429. package/build/components/PhoneFilter/PhoneFilter.d.ts +9 -0
  430. package/build/components/PhoneFilter/PhoneFilter.js +13 -0
  431. package/build/components/PhoneFilter/index.d.ts +1 -0
  432. package/build/components/PhoneFilter/index.js +1 -0
  433. package/build/components/ProgressBar/style.d.ts +1 -1
  434. package/build/components/ProgressRing/style.d.ts +2 -2
  435. package/build/components/RFH/Inputs/FormInput/FormInput.d.ts +1 -5
  436. package/build/components/RFH/Inputs/FormInput/FormInput.js +8 -3
  437. package/build/components/RFH/Inputs/MultiSelect/MultiSelect.js +1 -0
  438. package/build/components/RFH/Inputs/SelectWithAccordion/SelectWithAccordion.js +3 -3
  439. package/build/components/RFH/Inputs/SelectWithAccordion/style.d.ts +3 -3
  440. package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
  441. package/build/components/RadioGroup/RadioGroup.js +13 -6
  442. package/build/components/RadioGroup/style.js +1 -0
  443. package/build/components/RadioGroup/type.d.ts +4 -2
  444. package/build/components/RangeCalender/RangeCalender.d.ts +2 -27
  445. package/build/components/RangeCalender/RangeCalender.js +19 -16
  446. package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.d.ts +2 -6
  447. package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.js +34 -27
  448. package/build/components/RangeCalender/components/CustomTimepicker/style.d.ts +1 -1
  449. package/build/components/RangeCalender/components/GroupBy/GroupBy.js +2 -2
  450. package/build/components/RangeCalender/components/QuickFilters/style.d.ts +1 -1
  451. package/build/components/RangeCalender/components/RangeDatepicker/RangeDatepicker.d.ts +1 -9
  452. package/build/components/RangeCalender/components/RangeDatepicker/RangeDatepicker.js +3 -1
  453. package/build/components/RangeCalender/components/RangeDatepicker/index.d.ts +1 -0
  454. package/build/components/RangeCalender/components/RangeDatepicker/index.js +1 -0
  455. package/build/components/RangeCalender/components/RangeDatepicker/style.d.ts +1 -1
  456. package/build/components/RangeCalender/components/RangeDatepicker/type.d.ts +9 -0
  457. package/build/components/RangeCalender/components/RangeDatepicker/type.js +1 -0
  458. package/build/components/RangeCalender/components/Timezone/Timezone.d.ts +3 -2
  459. package/build/components/RangeCalender/components/Timezone/Timezone.js +4 -4
  460. package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.d.ts +3 -6
  461. package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.js +10 -9
  462. package/build/components/RangeCalender/components/Timezone/components/UserTimezone.js +1 -1
  463. package/build/components/RangeCalender/style.d.ts +3 -3
  464. package/build/components/RangeCalender/style.js +1 -1
  465. package/build/components/RangeCalender/type.d.ts +26 -0
  466. package/build/components/RangeCalender/utils.d.ts +5 -1
  467. package/build/components/RangeCalender/utils.js +11 -0
  468. package/build/components/ReceiptsViewer/ReceiptViewer.d.ts +2 -0
  469. package/build/components/ReceiptsViewer/ReceiptViewer.js +16 -0
  470. package/build/components/ReceiptsViewer/ReceiptsViewer.d.ts +11 -0
  471. package/build/components/ReceiptsViewer/ReceiptsViewer.js +7 -0
  472. package/build/components/ReceiptsViewer/index.d.ts +1 -0
  473. package/build/components/ReceiptsViewer/index.js +1 -0
  474. package/build/components/ReceiptsViewer/style.d.ts +4 -0
  475. package/build/components/ReceiptsViewer/style.js +7 -0
  476. package/build/components/ReceiptsViewer/type.d.ts +11 -0
  477. package/build/components/ReceiptsViewer/type.js +1 -0
  478. package/build/components/ReferenceTypeFilter/ReferenceTypeFilter.d.ts +19 -0
  479. package/build/components/ReferenceTypeFilter/ReferenceTypeFilter.js +36 -0
  480. package/build/components/ReferenceTypeFilter/index.d.ts +1 -0
  481. package/build/components/ReferenceTypeFilter/index.js +1 -0
  482. package/build/components/ReferenceTypeFilter/style.d.ts +14 -0
  483. package/build/components/ReferenceTypeFilter/style.js +34 -0
  484. package/build/components/RightLeftExpandingCenterChip/RightLeftExpandingCenterChip.d.ts +33 -1
  485. package/build/components/RightLeftExpandingCenterChip/RightLeftExpandingCenterChip.js +76 -17
  486. package/build/components/RightLeftExpandingCenterChip/style.d.ts +134 -132
  487. package/build/components/RightLeftExpandingCenterChip/style.js +28 -11
  488. package/build/components/RightLeftExpandingCenterChip/type.d.ts +2 -1
  489. package/build/components/RightLeftExpandingCenterChip/useRightLeftExpandingCenterChip.d.ts +15 -5
  490. package/build/components/RightLeftExpandingCenterChip/useRightLeftExpandingCenterChip.js +89 -21
  491. package/build/components/SalesChannelFilter/SalesChannelFilter.d.ts +11 -0
  492. package/build/components/SalesChannelFilter/SalesChannelFilter.js +56 -0
  493. package/build/components/SalesChannelFilter/index.d.ts +1 -0
  494. package/build/components/SalesChannelFilter/index.js +1 -0
  495. package/build/components/SalesChannelFilter/style.d.ts +15 -0
  496. package/build/components/SalesChannelFilter/style.js +29 -0
  497. package/build/components/ScrollLoader/ScrollLoader.js +2 -1
  498. package/build/components/SearchButton/styles.d.ts +26 -26
  499. package/build/components/SearchListInput/SearchListInput.d.ts +10 -0
  500. package/build/components/SearchListInput/SearchListInput.js +20 -0
  501. package/build/components/SearchListInput/index.d.ts +2 -0
  502. package/build/components/SearchListInput/index.js +2 -0
  503. package/build/components/SearchListInput/style.d.ts +7 -0
  504. package/build/components/SearchListInput/style.js +15 -0
  505. package/build/components/SelectDropdown/SelectDropdown.d.ts +3 -1
  506. package/build/components/SelectDropdown/SelectDropdown.js +4 -3
  507. package/build/components/SelectDropdown/style.d.ts +1 -1
  508. package/build/components/SelectWithSearch/SelectWithSearch.d.ts +1 -1
  509. package/build/components/SelectWithSearch/SelectWithSearch.js +7 -6
  510. package/build/components/SelectWithSearch/style.d.ts +3 -3
  511. package/build/components/SelectWithSearch/type.d.ts +1 -0
  512. package/build/components/StatusBar/StatusBar.d.ts +3 -1
  513. package/build/components/StatusBar/StatusBar.js +13 -18
  514. package/build/components/StatusBar/type.d.ts +2 -1
  515. package/build/components/StatusBar/type.js +0 -6
  516. package/build/components/StatusButton/StatusButton.js +29 -9
  517. package/build/components/StatusButton/constant.d.ts +5 -0
  518. package/build/components/StatusButton/constant.js +8 -1
  519. package/build/components/StatusButton/style.d.ts +10 -4
  520. package/build/components/StatusButton/style.js +11 -0
  521. package/build/components/StatusButton/type.d.ts +16 -2
  522. package/build/components/StatusChip/StatusChip.d.ts +1 -1
  523. package/build/components/StatusChip/StatusChip.js +26 -13
  524. package/build/components/StatusChip/style.d.ts +6 -0
  525. package/build/components/StatusChip/style.js +17 -13
  526. package/build/components/StatusChip/type.d.ts +6 -0
  527. package/build/components/StatusChipWithCopy/StatusChipWithCopy.d.ts +3 -1
  528. package/build/components/StatusChipWithCopy/StatusChipWithCopy.js +2 -2
  529. package/build/components/StatusFilter/StatusFilter.d.ts +15 -0
  530. package/build/components/StatusFilter/StatusFilter.js +88 -0
  531. package/build/components/StatusFilter/index.d.ts +1 -0
  532. package/build/components/StatusFilter/index.js +1 -0
  533. package/build/components/StatusFilter/utils.d.ts +4 -0
  534. package/build/components/StatusFilter/utils.js +10 -0
  535. package/build/components/StatusIcons/AuthIcons/constants.js +5 -0
  536. package/build/components/StatusIcons/AuthIcons/style.d.ts +20 -20
  537. package/build/components/StatusIcons/AuthorizationAutoIcons/CaptureAutoIcon.d.ts +1 -1
  538. package/build/components/StatusIcons/AuthorizationAutoIcons/CaptureAutoIcon.js +23 -3
  539. package/build/components/StatusIcons/AuthorizationAutoIcons/VoidAutoIcon.d.ts +1 -1
  540. package/build/components/StatusIcons/AuthorizationAutoIcons/VoidAutoIcon.js +24 -4
  541. package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +10 -10
  542. package/build/components/StatusIcons/AuthorizationAutoIcons/style.js +1 -1
  543. package/build/components/StatusIcons/AuthorizationAutoIcons/type.d.ts +3 -0
  544. package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.d.ts +4 -2
  545. package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.js +9 -4
  546. package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.d.ts +5 -1
  547. package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.js +23 -19
  548. package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +60 -60
  549. package/build/components/StatusIcons/DestinationIcon/DestinationIcon.d.ts +5 -2
  550. package/build/components/StatusIcons/DestinationIcon/DestinationIcon.js +14 -6
  551. package/build/components/StatusIcons/GeographyIcon/GeographyIcon.d.ts +1 -1
  552. package/build/components/StatusIcons/GeographyIcon/GeographyIcon.js +4 -6
  553. package/build/components/StatusIcons/IssuerIcon/IssuerIcon.js +1 -1
  554. package/build/components/StatusIcons/PayoutIcon/PayoutIcon.d.ts +5 -1
  555. package/build/components/StatusIcons/PayoutIcon/PayoutIcon.js +8 -3
  556. package/build/components/StatusIcons/RefundIcon/RefundIcon.d.ts +5 -1
  557. package/build/components/StatusIcons/RefundIcon/RefundIcon.js +18 -10
  558. package/build/components/StatusIcons/SourceIcons/components/SourceIcon.d.ts +6 -2
  559. package/build/components/StatusIcons/SourceIcons/components/SourceIcon.js +2 -2
  560. package/build/components/StatusIcons/SourceIcons/index.d.ts +1 -0
  561. package/build/components/StatusIcons/SourceIcons/index.js +1 -0
  562. package/build/components/StatusIcons/SourceIcons/style.d.ts +10 -10
  563. package/build/components/StatusIcons/index.d.ts +1 -1
  564. package/build/components/StatusIcons/index.js +1 -1
  565. package/build/components/StatusLabel/style.d.ts +1 -1
  566. package/build/components/TableCells/CustomCells/ActionCell/ActionCell.d.ts +2 -3
  567. package/build/components/TableCells/CustomCells/ActionCell/ActionCell.js +19 -17
  568. package/build/components/TableCells/CustomCells/ActionCell/{ActionIconColumn.d.ts → components/ActionIconColumn.d.ts} +1 -1
  569. package/build/components/TableCells/CustomCells/ActionCell/{ActionIconColumn.js → components/ActionIconColumn.js} +20 -17
  570. package/build/components/TableCells/CustomCells/ActionCell/{ActionsColumn.d.ts → components/ActionsColumn.d.ts} +2 -2
  571. package/build/components/TableCells/CustomCells/ActionCell/{ActionsColumn.js → components/ActionsColumn.js} +7 -7
  572. package/build/components/TableCells/CustomCells/ActionCell/components/index.d.ts +2 -0
  573. package/build/components/TableCells/CustomCells/ActionCell/components/index.js +2 -0
  574. package/build/components/TableCells/CustomCells/ActionCell/constant.d.ts +2 -0
  575. package/build/components/TableCells/CustomCells/ActionCell/constant.js +3 -1
  576. package/build/components/TableCells/CustomCells/ActionCell/hooks/useActionCell.d.ts +3 -1
  577. package/build/components/TableCells/CustomCells/ActionCell/index.d.ts +1 -3
  578. package/build/components/TableCells/CustomCells/ActionCell/index.js +1 -3
  579. package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +13 -13
  580. package/build/components/TableCells/CustomCells/AgreementCell/AgreementCell.js +1 -2
  581. package/build/components/TableCells/CustomCells/AgreementCell/style.d.ts +266 -0
  582. package/build/components/TableCells/CustomCells/AgreementCell/style.js +22 -0
  583. package/build/components/TableCells/CustomCells/AmountCell/AmountCell.d.ts +2 -2
  584. package/build/components/TableCells/CustomCells/AmountCell/AmountCell.js +8 -10
  585. package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.d.ts +3 -0
  586. package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.js +10 -0
  587. package/build/components/TableCells/CustomCells/AmountCell/AmountCellText.d.ts +3 -0
  588. package/build/components/TableCells/CustomCells/AmountCell/AmountCellText.js +23 -0
  589. package/build/components/TableCells/CustomCells/AmountCell/{AmountConversionTooltipLabel.js → components/AmountConversionTooltipLabel.js} +4 -4
  590. package/build/components/TableCells/CustomCells/AmountCell/components/ConversionTypeLabel.d.ts +7 -0
  591. package/build/components/TableCells/CustomCells/AmountCell/components/ConversionTypeLabel.js +7 -0
  592. package/build/components/TableCells/CustomCells/AmountCell/components/CurrencyInfo.d.ts +7 -0
  593. package/build/components/TableCells/CustomCells/AmountCell/components/CurrencyInfo.js +8 -0
  594. package/build/components/TableCells/CustomCells/AmountCell/components/index.d.ts +3 -0
  595. package/build/components/TableCells/CustomCells/AmountCell/components/index.js +3 -0
  596. package/build/components/TableCells/CustomCells/AmountCell/index.d.ts +3 -1
  597. package/build/components/TableCells/CustomCells/AmountCell/index.js +3 -1
  598. package/build/components/TableCells/CustomCells/AmountCell/style.d.ts +0 -1
  599. package/build/components/TableCells/CustomCells/AmountCell/style.js +0 -6
  600. package/build/components/TableCells/CustomCells/AmountCell/type.d.ts +22 -0
  601. package/build/components/TableCells/CustomCells/AmountCell/type.js +1 -0
  602. package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +14 -12
  603. package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +10 -10
  604. package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +20 -20
  605. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/constant.d.ts +2 -0
  606. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/constant.js +6 -4
  607. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.d.ts +1 -0
  608. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.js +1 -0
  609. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +50 -50
  610. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +50 -50
  611. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.d.ts +1 -1
  612. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.js +11 -21
  613. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.d.ts +3 -0
  614. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.js +10 -0
  615. package/build/components/TableCells/CustomCells/BalanceCell/index.d.ts +1 -0
  616. package/build/components/TableCells/CustomCells/BalanceCell/index.js +1 -0
  617. package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +10 -10
  618. package/build/components/TableCells/CustomCells/BalanceCell/style.js +1 -1
  619. package/build/components/TableCells/CustomCells/BalanceCell/type.d.ts +9 -4
  620. package/build/components/TableCells/CustomCells/BankCell/BankCell.js +3 -7
  621. package/build/components/TableCells/CustomCells/BrandCell/BrandCell.js +1 -0
  622. package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.d.ts +1 -1
  623. package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.js +4 -6
  624. package/build/components/TableCells/CustomCells/BrandsCell/style.d.ts +10 -3
  625. package/build/components/TableCells/CustomCells/BrandsCell/style.js +21 -19
  626. package/build/components/TableCells/CustomCells/BrandsCell/type.d.ts +2 -1
  627. package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +10 -10
  628. package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +10 -10
  629. package/build/components/TableCells/CustomCells/CurrencyCell/CurrencyCell.js +3 -4
  630. package/build/components/TableCells/CustomCells/CurrencyCell/style.d.ts +0 -2
  631. package/build/components/TableCells/CustomCells/CurrencyCell/style.js +0 -10
  632. package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.d.ts +2 -2
  633. package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.js +2 -5
  634. package/build/components/TableCells/CustomCells/CustomerCell/CustomerCellSheet.d.ts +3 -0
  635. package/build/components/TableCells/CustomCells/CustomerCell/CustomerCellSheet.js +8 -0
  636. package/build/components/TableCells/CustomCells/CustomerCell/index.d.ts +1 -0
  637. package/build/components/TableCells/CustomCells/CustomerCell/index.js +1 -0
  638. package/build/components/TableCells/CustomCells/CustomerCell/type.d.ts +15 -0
  639. package/build/components/TableCells/CustomCells/DateCell/DateCell.d.ts +9 -3
  640. package/build/components/TableCells/CustomCells/DateCell/DateCell.js +13 -16
  641. package/build/components/TableCells/CustomCells/DateCell/DateViewer.d.ts +3 -0
  642. package/build/components/TableCells/CustomCells/DateCell/DateViewer.js +29 -0
  643. package/build/components/TableCells/CustomCells/DateCell/index.d.ts +1 -0
  644. package/build/components/TableCells/CustomCells/DateCell/index.js +1 -0
  645. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCell.d.ts +2 -2
  646. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCell.js +8 -31
  647. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.d.ts +3 -0
  648. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.js +31 -0
  649. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellText.d.ts +3 -0
  650. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellText.js +35 -0
  651. package/build/components/TableCells/CustomCells/DestinationCell/index.d.ts +3 -1
  652. package/build/components/TableCells/CustomCells/DestinationCell/index.js +3 -1
  653. package/build/components/TableCells/CustomCells/DestinationCell/type.d.ts +34 -0
  654. package/build/components/TableCells/CustomCells/DestinationCell/type.js +1 -0
  655. package/build/components/TableCells/CustomCells/DestinationCell/utils.js +3 -3
  656. package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +50 -50
  657. package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.d.ts +1 -1
  658. package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.js +13 -170
  659. package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +15 -10
  660. package/build/components/TableCells/CustomCells/DueDateCell/style.js +7 -0
  661. package/build/components/TableCells/CustomCells/DueDateCell/type.d.ts +0 -2
  662. package/build/components/TableCells/CustomCells/DueDateCell/utils.d.ts +8 -0
  663. package/build/components/TableCells/CustomCells/DueDateCell/utils.js +43 -1
  664. package/build/components/TableCells/CustomCells/EntityCell/EntityCell.js +5 -5
  665. package/build/components/TableCells/CustomCells/EntityCell/constants.js +3 -3
  666. package/build/components/TableCells/CustomCells/EntityCell/style.d.ts +10 -5
  667. package/build/components/TableCells/CustomCells/EntityCell/style.js +12 -36
  668. package/build/components/TableCells/CustomCells/IDButton/IDButton.d.ts +3 -2
  669. package/build/components/TableCells/CustomCells/IDButton/IDButton.js +7 -7
  670. package/build/components/TableCells/CustomCells/IDButton/style.d.ts +20 -20
  671. package/build/components/TableCells/CustomCells/IDButton/style.js +1 -1
  672. package/build/components/TableCells/CustomCells/IndividualsCell/IndividualsCell.js +1 -1
  673. package/build/components/TableCells/CustomCells/IndividualsCell/constants.js +3 -3
  674. package/build/components/TableCells/CustomCells/IndividualsCell/style.js +1 -1
  675. package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +10 -10
  676. package/build/components/TableCells/CustomCells/InvoiceStatusCell/ChargeStatusIcon.d.ts +11 -0
  677. package/build/components/TableCells/CustomCells/InvoiceStatusCell/ChargeStatusIcon.js +18 -0
  678. package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.d.ts +2 -2
  679. package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.js +39 -59
  680. package/build/components/TableCells/CustomCells/InvoiceStatusCell/constant.js +4 -4
  681. package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +12 -10
  682. package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.js +18 -0
  683. package/build/components/TableCells/CustomCells/InvoiceStatusCell/type.d.ts +2 -1
  684. package/build/components/TableCells/CustomCells/LeadStatusCell/constant.d.ts +1 -0
  685. package/build/components/TableCells/CustomCells/LeadStatusCell/constant.js +1 -0
  686. package/build/components/TableCells/CustomCells/LinkCell/LinkCell.d.ts +7 -0
  687. package/build/components/TableCells/CustomCells/LinkCell/LinkCell.js +23 -0
  688. package/build/components/TableCells/CustomCells/LinkCell/index.d.ts +1 -0
  689. package/build/components/TableCells/CustomCells/LinkCell/index.js +1 -0
  690. package/build/components/TableCells/CustomCells/LinkCell/style.d.ts +4 -0
  691. package/build/components/TableCells/CustomCells/LinkCell/style.js +12 -0
  692. package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.d.ts +1 -1
  693. package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.js +13 -14
  694. package/build/components/TableCells/CustomCells/MarketPlaceCell/type.d.ts +2 -2
  695. package/build/components/TableCells/CustomCells/OrderCell/OrderCell.d.ts +1 -1
  696. package/build/components/TableCells/CustomCells/OrderCell/OrderCell.js +1 -4
  697. package/build/components/TableCells/CustomCells/OrderCell/OrderCellSheet.d.ts +3 -0
  698. package/build/components/TableCells/CustomCells/OrderCell/OrderCellSheet.js +20 -0
  699. package/build/components/TableCells/CustomCells/OrderCell/index.d.ts +1 -0
  700. package/build/components/TableCells/CustomCells/OrderCell/index.js +1 -0
  701. package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.d.ts +22 -0
  702. package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.js +32 -0
  703. package/build/components/TableCells/CustomCells/OrdersCell/index.d.ts +1 -0
  704. package/build/components/TableCells/CustomCells/OrdersCell/index.js +1 -0
  705. package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.d.ts +3 -0
  706. package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.js +21 -0
  707. package/build/components/TableCells/CustomCells/PaymentAgreementCell/constant.d.ts +6 -0
  708. package/build/components/TableCells/CustomCells/PaymentAgreementCell/constant.js +6 -0
  709. package/build/components/TableCells/CustomCells/PaymentAgreementCell/index.d.ts +1 -0
  710. package/build/components/TableCells/CustomCells/PaymentAgreementCell/index.js +1 -0
  711. package/build/components/TableCells/CustomCells/PaymentAgreementCell/type.d.ts +6 -0
  712. package/build/components/TableCells/CustomCells/PaymentAgreementCell/type.js +1 -0
  713. package/build/components/TableCells/CustomCells/PayoutDateCell/PayoutDateCell.d.ts +2 -2
  714. package/build/components/TableCells/CustomCells/PayoutReportCell/PayoutReportCell.js +5 -6
  715. package/build/components/TableCells/CustomCells/PayoutReportCell/style.d.ts +274 -1
  716. package/build/components/TableCells/CustomCells/PayoutReportCell/style.js +2 -1
  717. package/build/components/TableCells/CustomCells/PayoutStatusCell/PayoutStatusCell.js +8 -2
  718. package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +50 -50
  719. package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +10 -10
  720. package/build/components/TableCells/CustomCells/ProductsCell/style.js +1 -1
  721. package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.d.ts +2 -0
  722. package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.js +23 -0
  723. package/build/components/TableCells/CustomCells/ProviderCell/constants.d.ts +2 -0
  724. package/build/components/TableCells/CustomCells/ProviderCell/constants.js +7 -0
  725. package/build/components/TableCells/CustomCells/ProviderCell/index.d.ts +2 -0
  726. package/build/components/TableCells/CustomCells/ProviderCell/index.js +2 -0
  727. package/build/components/TableCells/CustomCells/ProviderCell/style.d.ts +5 -0
  728. package/build/components/TableCells/CustomCells/ProviderCell/style.js +19 -0
  729. package/build/components/TableCells/CustomCells/ProviderCell/type.d.ts +5 -0
  730. package/build/components/TableCells/CustomCells/ProviderCell/type.js +1 -0
  731. package/build/components/TableCells/CustomCells/PurposeCell/PurposeCell.d.ts +2 -0
  732. package/build/components/TableCells/CustomCells/PurposeCell/PurposeCell.js +20 -0
  733. package/build/components/TableCells/CustomCells/PurposeCell/constants.d.ts +8 -0
  734. package/build/components/TableCells/CustomCells/PurposeCell/constants.js +21 -0
  735. package/build/components/TableCells/CustomCells/PurposeCell/index.d.ts +2 -0
  736. package/build/components/TableCells/CustomCells/PurposeCell/index.js +2 -0
  737. package/build/components/TableCells/CustomCells/PurposeCell/style.d.ts +9 -0
  738. package/build/components/TableCells/CustomCells/PurposeCell/style.js +35 -0
  739. package/build/components/TableCells/CustomCells/PurposeCell/type.d.ts +5 -0
  740. package/build/components/TableCells/CustomCells/PurposeCell/type.js +1 -0
  741. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.d.ts +2 -5
  742. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.js +3 -7
  743. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellSheet.d.ts +2 -0
  744. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellSheet.js +5 -0
  745. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellText.d.ts +2 -0
  746. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellText.js +5 -0
  747. package/build/components/TableCells/CustomCells/ReceiptCell/index.d.ts +2 -0
  748. package/build/components/TableCells/CustomCells/ReceiptCell/index.js +2 -0
  749. package/build/components/TableCells/CustomCells/ReceiptCell/type.d.ts +3 -0
  750. package/build/components/TableCells/CustomCells/ReceiptCell/type.js +1 -0
  751. package/build/components/TableCells/CustomCells/ReferenceCell/ReferenceCell.js +3 -1
  752. package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +10 -10
  753. package/build/components/TableCells/CustomCells/ReferenceCell/style.js +3 -1
  754. package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +20 -20
  755. package/build/components/TableCells/CustomCells/RefundChargeCell/style.js +1 -1
  756. package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.d.ts +1 -1
  757. package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.js +6 -2
  758. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStateIcon.js +4 -7
  759. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.d.ts +1 -1
  760. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.js +8 -2
  761. package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +11 -11
  762. package/build/components/TableCells/CustomCells/RefundStatusCell/style.js +3 -3
  763. package/build/components/TableCells/CustomCells/RefundStatusCell/type.d.ts +1 -0
  764. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.d.ts +1 -1
  765. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +12 -8
  766. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.d.ts +3 -0
  767. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.js +54 -0
  768. package/build/components/TableCells/CustomCells/SalesChannelCell/index.d.ts +1 -0
  769. package/build/components/TableCells/CustomCells/SalesChannelCell/index.js +1 -0
  770. package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +15 -11
  771. package/build/components/TableCells/CustomCells/SalesChannelCell/style.js +13 -7
  772. package/build/components/TableCells/CustomCells/SalesChannelCell/type.d.ts +4 -2
  773. package/build/components/TableCells/CustomCells/SalesChannelCell/utils.d.ts +3 -0
  774. package/build/components/TableCells/CustomCells/SalesChannelCell/utils.js +69 -0
  775. package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.d.ts +1 -1
  776. package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +24 -18
  777. package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +10 -10
  778. package/build/components/TableCells/CustomCells/SegmentsCell/type.d.ts +3 -5
  779. package/build/components/TableCells/CustomCells/SegmentsCell/utils.d.ts +2 -0
  780. package/build/components/TableCells/CustomCells/SegmentsCell/utils.js +14 -0
  781. package/build/components/TableCells/CustomCells/SourceCell/SourceCell.d.ts +5 -3
  782. package/build/components/TableCells/CustomCells/SourceCell/SourceCell.js +24 -76
  783. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/PaymentCardNumberSource.d.ts +10 -0
  784. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/PaymentCardNumberSource.js +13 -0
  785. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/index.d.ts +1 -0
  786. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/index.js +1 -0
  787. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/style.d.ts +2 -0
  788. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/style.js +6 -0
  789. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/PaymentMethodSource.d.ts +3 -0
  790. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/PaymentMethodSource.js +11 -0
  791. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/index.d.ts +1 -0
  792. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/index.js +1 -0
  793. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/PaymentSchemeSource.d.ts +5 -0
  794. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/PaymentSchemeSource.js +11 -0
  795. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/index.d.ts +1 -0
  796. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/index.js +1 -0
  797. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/PaymentTypeSource.d.ts +3 -0
  798. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/PaymentTypeSource.js +11 -0
  799. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/index.d.ts +1 -0
  800. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/index.js +1 -0
  801. package/build/components/TableCells/CustomCells/SourceCell/components/index.d.ts +4 -0
  802. package/build/components/TableCells/CustomCells/SourceCell/components/index.js +4 -0
  803. package/build/components/TableCells/CustomCells/SourceCell/constant.d.ts +4 -0
  804. package/build/components/TableCells/CustomCells/SourceCell/constant.js +11 -0
  805. package/build/components/TableCells/CustomCells/SourceCell/index.d.ts +1 -1
  806. package/build/components/TableCells/CustomCells/SourceCell/index.js +1 -1
  807. package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +6 -268
  808. package/build/components/TableCells/CustomCells/SourceCell/style.js +8 -38
  809. package/build/components/TableCells/CustomCells/SourceCell/type.d.ts +17 -0
  810. package/build/components/TableCells/CustomCells/SourceCell/type.js +12 -0
  811. package/build/components/TableCells/CustomCells/StatusCell/StatusCell.d.ts +1 -4
  812. package/build/components/TableCells/CustomCells/StatusCell/StatusCell.js +6 -11
  813. package/build/components/TableCells/CustomCells/StatusCell/StatusCellSheet.d.ts +4 -0
  814. package/build/components/TableCells/CustomCells/StatusCell/StatusCellSheet.js +21 -0
  815. package/build/components/TableCells/CustomCells/StatusCell/StatusCellText.d.ts +6 -0
  816. package/build/components/TableCells/CustomCells/StatusCell/StatusCellText.js +42 -0
  817. package/build/components/TableCells/CustomCells/StatusCell/index.d.ts +2 -0
  818. package/build/components/TableCells/CustomCells/StatusCell/index.js +2 -0
  819. package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +62 -62
  820. package/build/components/TableCells/CustomCells/StatusCell/style.js +3 -1
  821. package/build/components/TableCells/CustomCells/StatusCell/type.d.ts +2 -4
  822. package/build/components/TableCells/CustomCells/StatusCell/useStatusCell.d.ts +6 -0
  823. package/build/components/TableCells/CustomCells/StatusCell/useStatusCell.js +8 -0
  824. package/build/components/TableCells/CustomCells/StatusCell/utils.d.ts +2 -1
  825. package/build/components/TableCells/CustomCells/StatusCell/utils.js +2 -1
  826. package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.d.ts +21 -0
  827. package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.js +31 -0
  828. package/build/components/TableCells/CustomCells/TextWithChipCell/index.d.ts +2 -0
  829. package/build/components/TableCells/CustomCells/TextWithChipCell/index.js +2 -0
  830. package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +50 -50
  831. package/build/components/TableCells/CustomCells/WalletCell/WalletCell.js +2 -6
  832. package/build/components/TableCells/CustomCells/index.d.ts +7 -3
  833. package/build/components/TableCells/CustomCells/index.js +7 -3
  834. package/build/components/TableCells/CustomCells/style.d.ts +11 -12
  835. package/build/components/TableCells/CustomCells/style.js +3 -7
  836. package/build/components/TableCells/CustomCells/type.d.ts +7 -65
  837. package/build/components/TableHeader/FiltersRow.d.ts +1 -1
  838. package/build/components/TableHeader/FiltersRow.js +17 -4
  839. package/build/components/TableHeader/FiltersRowWrapper.d.ts +5 -0
  840. package/build/components/TableHeader/FiltersRowWrapper.js +18 -0
  841. package/build/components/TableHeader/TableHeader.d.ts +5 -4
  842. package/build/components/TableHeader/TableHeader.js +21 -6
  843. package/build/components/TableHeader/TableHeaderWrapper.d.ts +5 -0
  844. package/build/components/TableHeader/TableHeaderWrapper.js +18 -0
  845. package/build/components/TableHeader/TableModeButton.d.ts +9 -0
  846. package/build/components/TableHeader/TableModeButton.js +11 -0
  847. package/build/components/TableHeader/TableView/ColumnItem.d.ts +14 -0
  848. package/build/components/TableHeader/TableView/ColumnItem.js +29 -0
  849. package/build/components/TableHeader/TableView/CustomViews.d.ts +5 -0
  850. package/build/components/TableHeader/TableView/CustomViews.js +21 -0
  851. package/build/components/TableHeader/TableView/DefaultViews.d.ts +13 -0
  852. package/build/components/TableHeader/TableView/DefaultViews.js +22 -0
  853. package/build/components/TableHeader/TableView/TableView.d.ts +12 -0
  854. package/build/components/TableHeader/TableView/TableView.js +55 -0
  855. package/build/components/TableHeader/TableView/hooks/index.d.ts +3 -0
  856. package/build/components/TableHeader/TableView/hooks/index.js +3 -0
  857. package/build/components/TableHeader/TableView/hooks/useColumnItem.d.ts +21 -0
  858. package/build/components/TableHeader/TableView/hooks/useColumnItem.js +29 -0
  859. package/build/components/TableHeader/TableView/hooks/useSubMenu.d.ts +10 -0
  860. package/build/components/TableHeader/TableView/hooks/useSubMenu.js +31 -0
  861. package/build/components/TableHeader/TableView/hooks/useViewColumns.d.ts +13 -0
  862. package/build/components/TableHeader/TableView/hooks/useViewColumns.js +45 -0
  863. package/build/components/TableHeader/TableView/index.d.ts +3 -0
  864. package/build/components/TableHeader/TableView/index.js +3 -0
  865. package/build/components/TableHeader/TableView/style.d.ts +24 -0
  866. package/build/components/TableHeader/TableView/style.js +102 -0
  867. package/build/components/TableHeader/TableView/type.d.ts +10 -0
  868. package/build/components/TableHeader/TableView/type.js +1 -0
  869. package/build/components/TableHeader/data.d.ts +5 -0
  870. package/build/components/TableHeader/data.js +7 -0
  871. package/build/components/TableHeader/index.d.ts +6 -2
  872. package/build/components/TableHeader/index.js +6 -2
  873. package/build/components/TableHeader/style.d.ts +2 -2
  874. package/build/components/TableHeader/style.js +1 -1
  875. package/build/components/TableHeader/type.d.ts +19 -11
  876. package/build/components/TableHeader/type.js +0 -7
  877. package/build/components/TableReports/DownloadIconButton.d.ts +6 -0
  878. package/build/components/TableReports/DownloadIconButton.js +20 -0
  879. package/build/components/TableReports/Downloads.d.ts +10 -0
  880. package/build/components/TableReports/Downloads.js +24 -0
  881. package/build/components/TableReports/RecordLoading.d.ts +1 -0
  882. package/build/components/TableReports/RecordLoading.js +6 -0
  883. package/build/components/TableReports/TableReports.d.ts +5 -0
  884. package/build/components/TableReports/TableReports.js +53 -0
  885. package/build/components/TableReports/components/DownloadButton/DownloadButton.d.ts +8 -0
  886. package/build/components/TableReports/components/DownloadButton/DownloadButton.js +16 -0
  887. package/build/components/TableReports/components/DownloadButton/index.d.ts +2 -0
  888. package/build/components/TableReports/components/DownloadButton/index.js +2 -0
  889. package/build/components/TableReports/components/DownloadButton/style.d.ts +263 -0
  890. package/build/components/TableReports/components/DownloadButton/style.js +15 -0
  891. package/build/components/TableReports/hooks/index.d.ts +1 -0
  892. package/build/components/TableReports/hooks/index.js +1 -0
  893. package/build/components/TableReports/hooks/useDownloadReport.d.ts +11 -0
  894. package/build/components/TableReports/hooks/useDownloadReport.js +59 -0
  895. package/build/components/TableReports/index.d.ts +7 -0
  896. package/build/components/TableReports/index.js +7 -0
  897. package/build/components/TableReports/style.d.ts +323 -0
  898. package/build/components/TableReports/style.js +163 -0
  899. package/build/components/TableReports/type.d.ts +32 -0
  900. package/build/components/TableReports/type.js +1 -0
  901. package/build/components/TableReports/utils.d.ts +2 -0
  902. package/build/components/TableReports/utils.js +32 -0
  903. package/build/components/TableView/CustomViews.js +2 -0
  904. package/build/components/TableView/TableView.js +1 -0
  905. package/build/components/Timepicker/Timepicker.d.ts +2 -1
  906. package/build/components/Timepicker/Timepicker.js +9 -7
  907. package/build/components/Timepicker/index.d.ts +1 -0
  908. package/build/components/Timepicker/index.js +1 -0
  909. package/build/components/Timepicker/style.d.ts +3 -2
  910. package/build/components/Timepicker/style.js +1 -1
  911. package/build/components/Timepicker/utils.js +9 -5
  912. package/build/components/Toaster/Toaster.d.ts +1 -0
  913. package/build/components/Toaster/Toaster.js +12 -0
  914. package/build/components/Toaster/index.d.ts +2 -0
  915. package/build/components/Toaster/index.js +2 -0
  916. package/build/components/ToggleView/ToggleView.d.ts +16 -0
  917. package/build/components/ToggleView/ToggleView.js +32 -0
  918. package/build/components/ToggleView/ToggleWrapper.d.ts +4 -0
  919. package/build/components/ToggleView/ToggleWrapper.js +8 -0
  920. package/build/components/ToggleView/index.d.ts +3 -0
  921. package/build/components/ToggleView/index.js +3 -0
  922. package/build/components/ToggleView/style.d.ts +14 -0
  923. package/build/components/ToggleView/style.js +31 -0
  924. package/build/components/ToggleView/types.d.ts +6 -0
  925. package/build/components/ToggleView/types.js +6 -0
  926. package/build/components/Toolbar/style.d.ts +5 -2
  927. package/build/components/Toolbar/style.js +6 -1
  928. package/build/components/ToolbarIcon/ExpandButton/style.d.ts +1 -1
  929. package/build/components/Tooltip/Tooltip.js +5 -2
  930. package/build/components/TreeDropdown/TreeDropdown.d.ts +4 -0
  931. package/build/components/TreeDropdown/TreeDropdown.js +67 -0
  932. package/build/components/TreeDropdown/TreeNodeItem/SelectionControl.d.ts +8 -0
  933. package/build/components/TreeDropdown/TreeNodeItem/SelectionControl.js +17 -0
  934. package/build/components/TreeDropdown/TreeNodeItem/TreeNodeItem.d.ts +12 -0
  935. package/build/components/TreeDropdown/TreeNodeItem/TreeNodeItem.js +64 -0
  936. package/build/components/TreeDropdown/TreeNodeItem/index.d.ts +2 -0
  937. package/build/components/TreeDropdown/TreeNodeItem/index.js +2 -0
  938. package/build/components/TreeDropdown/TreeNodeItem/style.d.ts +14 -0
  939. package/build/components/TreeDropdown/TreeNodeItem/style.js +46 -0
  940. package/build/components/TreeDropdown/TreeNodeList/List.d.ts +6 -0
  941. package/build/components/TreeDropdown/TreeNodeList/List.js +17 -0
  942. package/build/components/TreeDropdown/TreeNodeList/TreeNodeList.d.ts +17 -0
  943. package/build/components/TreeDropdown/TreeNodeList/TreeNodeList.js +36 -0
  944. package/build/components/TreeDropdown/TreeNodeList/index.d.ts +2 -0
  945. package/build/components/TreeDropdown/TreeNodeList/index.js +2 -0
  946. package/build/components/TreeDropdown/TreeNodeList/style.d.ts +7 -0
  947. package/build/components/TreeDropdown/TreeNodeList/style.js +60 -0
  948. package/build/components/TreeDropdown/context/TreeDropdownProvider.d.ts +15 -0
  949. package/build/components/TreeDropdown/context/TreeDropdownProvider.js +13 -0
  950. package/build/components/TreeDropdown/hooks/useSearch.d.ts +17 -0
  951. package/build/components/TreeDropdown/hooks/useSearch.js +38 -0
  952. package/build/components/TreeDropdown/hooks/useTreeDropdown.d.ts +12 -0
  953. package/build/components/TreeDropdown/hooks/useTreeDropdown.js +10 -0
  954. package/build/components/TreeDropdown/index.d.ts +4 -0
  955. package/build/components/TreeDropdown/index.js +4 -0
  956. package/build/components/TreeDropdown/style.d.ts +9 -0
  957. package/build/components/TreeDropdown/style.js +43 -0
  958. package/build/components/TreeDropdown/type.d.ts +89 -0
  959. package/build/components/TreeDropdown/type.js +6 -0
  960. package/build/components/TreeDropdown/utils.d.ts +21 -0
  961. package/build/components/TreeDropdown/utils.js +161 -0
  962. package/build/components/VAT/TotalVAT/TotalVAT.d.ts +12 -0
  963. package/build/components/VAT/TotalVAT/TotalVAT.js +33 -0
  964. package/build/components/VAT/TotalVAT/index.d.ts +1 -0
  965. package/build/components/VAT/TotalVAT/index.js +1 -0
  966. package/build/components/VAT/TotalVAT/style.d.ts +12 -0
  967. package/build/components/VAT/TotalVAT/style.js +5 -0
  968. package/build/components/VAT/VATDropdown/VATDropdown.d.ts +11 -0
  969. package/build/components/VAT/VATDropdown/VATDropdown.js +34 -0
  970. package/build/components/VAT/VATDropdown/index.d.ts +1 -0
  971. package/build/components/VAT/VATDropdown/index.js +1 -0
  972. package/build/components/VAT/VATDropdown/style.d.ts +7 -0
  973. package/build/components/VAT/VATDropdown/style.js +32 -0
  974. package/build/components/VAT/VATRateDropdown/VATRateDropdown.d.ts +10 -0
  975. package/build/components/VAT/VATRateDropdown/VATRateDropdown.js +38 -0
  976. package/build/components/VAT/VATRateDropdown/index.d.ts +1 -0
  977. package/build/components/VAT/VATRateDropdown/index.js +1 -0
  978. package/build/components/VAT/VATRateDropdown/style.d.ts +7 -0
  979. package/build/components/VAT/VATRateDropdown/style.js +30 -0
  980. package/build/components/VAT/index.d.ts +4 -0
  981. package/build/components/VAT/index.js +4 -0
  982. package/build/components/VAT/utils.d.ts +7 -0
  983. package/build/components/VAT/utils.js +8 -0
  984. package/build/components/VerificationIcon/VerificationIcon.d.ts +5 -0
  985. package/build/components/VerificationIcon/VerificationIcon.js +7 -0
  986. package/build/components/VerificationIcon/VerificationIconWithBg.d.ts +5 -0
  987. package/build/components/VerificationIcon/VerificationIconWithBg.js +15 -0
  988. package/build/components/VerificationIcon/constant.d.ts +2 -0
  989. package/build/components/VerificationIcon/constant.js +18 -0
  990. package/build/components/VerificationIcon/index.d.ts +3 -0
  991. package/build/components/VerificationIcon/index.js +3 -0
  992. package/build/components/VerificationIcon/type.d.ts +2 -0
  993. package/build/components/VerificationIcon/type.js +1 -0
  994. package/build/components/ViewColumnRadioFilter/ViewColumnRadioFilter.d.ts +2 -0
  995. package/build/components/ViewColumnRadioFilter/ViewColumnRadioFilter.js +28 -0
  996. package/build/components/ViewColumnRadioFilter/index.d.ts +1 -0
  997. package/build/components/ViewColumnRadioFilter/index.js +1 -0
  998. package/build/components/ViewColumnRadioFilter/style.d.ts +3 -0
  999. package/build/components/ViewColumnRadioFilter/style.js +20 -0
  1000. package/build/components/ViewColumnRadioFilter/type.d.ts +9 -0
  1001. package/build/components/ViewColumnRadioFilter/type.js +1 -0
  1002. package/build/components/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.d.ts +1 -1
  1003. package/build/components/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.js +60 -10
  1004. package/build/components/VirtualTables/SheetViewVirtualTable/components/LoadingMainTable.js +2 -0
  1005. package/build/components/VirtualTables/SheetViewVirtualTable/components/MainTable.d.ts +1 -1
  1006. package/build/components/VirtualTables/SheetViewVirtualTable/components/MainTable.js +7 -3
  1007. package/build/components/VirtualTables/SheetViewVirtualTable/components/NoDataView.d.ts +1 -1
  1008. package/build/components/VirtualTables/SheetViewVirtualTable/components/NoDataView.js +2 -2
  1009. package/build/components/VirtualTables/SheetViewVirtualTable/components/PinnedColumn.d.ts +1 -1
  1010. package/build/components/VirtualTables/SheetViewVirtualTable/components/PinnedColumn.js +7 -3
  1011. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.d.ts +1 -1
  1012. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.js +2 -2
  1013. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.d.ts +4 -1
  1014. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.js +25 -12
  1015. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableLoading.js +41 -4
  1016. package/build/components/VirtualTables/SheetViewVirtualTable/components/VirtualTable.d.ts +3 -1
  1017. package/build/components/VirtualTables/SheetViewVirtualTable/components/VirtualTable.js +8 -4
  1018. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ColumnResize.d.ts +5 -0
  1019. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ColumnResize.js +41 -0
  1020. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ResizeOverlay.d.ts +5 -0
  1021. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ResizeOverlay.js +10 -0
  1022. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/index.d.ts +2 -0
  1023. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/index.js +2 -0
  1024. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/constants.d.ts +5 -0
  1025. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/constants.js +5 -0
  1026. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/index.d.ts +2 -0
  1027. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/index.js +2 -0
  1028. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResize.d.ts +16 -0
  1029. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResize.js +152 -0
  1030. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResizeWithPinned.d.ts +64 -0
  1031. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResizeWithPinned.js +29 -0
  1032. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/index.d.ts +4 -0
  1033. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/index.js +4 -0
  1034. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/styles.d.ts +17 -0
  1035. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/styles.js +55 -0
  1036. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/types/index.d.ts +45 -0
  1037. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/types/index.js +1 -0
  1038. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/index.d.ts +1 -0
  1039. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/index.js +1 -0
  1040. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.d.ts +18 -0
  1041. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.js +127 -0
  1042. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/index.d.ts +1 -0
  1043. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/index.js +1 -0
  1044. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/usePinnedColumns.js +2 -0
  1045. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableData.js +1 -0
  1046. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableDimensions.d.ts +12 -0
  1047. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableDimensions.js +26 -0
  1048. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableState.d.ts +2 -0
  1049. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableState.js +17 -2
  1050. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useVirtualTableContainer.d.ts +3 -1
  1051. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useVirtualTableContainer.js +7 -5
  1052. package/build/components/VirtualTables/SheetViewVirtualTable/style.d.ts +2 -2
  1053. package/build/components/VirtualTables/SheetViewVirtualTable/style.js +2 -2
  1054. package/build/components/VirtualTables/SheetViewVirtualTable/types.d.ts +11 -0
  1055. package/build/components/VirtualTables/VirtualTable/VirtualTable.d.ts +1 -1
  1056. package/build/components/VirtualTables/VirtualTable/VirtualTable.js +24 -6
  1057. package/build/components/VirtualTables/VirtualTableWithCard/VirtualTableWithCard.d.ts +1 -1
  1058. package/build/components/VirtualTables/VirtualTableWithCard/VirtualTableWithCard.js +8 -3
  1059. package/build/components/VirtualTables/components/ColumnFilter/ColumnFilter.d.ts +1 -1
  1060. package/build/components/VirtualTables/components/ColumnFilter/ColumnFilter.js +18 -30
  1061. package/build/components/VirtualTables/components/ColumnFilter/Inputs/Inputs.js +4 -1
  1062. package/build/components/VirtualTables/components/ColumnFilter/Inputs/style.d.ts +1 -1
  1063. package/build/components/VirtualTables/components/ColumnFilter/List/List.js +1 -1
  1064. package/build/components/VirtualTables/components/ColumnFilter/style.d.ts +2 -2
  1065. package/build/components/VirtualTables/components/ColumnFilter/type.d.ts +2 -0
  1066. package/build/components/VirtualTables/components/ErrorList/styles.d.ts +1 -1
  1067. package/build/components/VirtualTables/components/TableFooter/TableFooter.d.ts +1 -1
  1068. package/build/components/VirtualTables/components/TableFooter/TableFooter.js +2 -2
  1069. package/build/components/VirtualTables/components/TableFooter/style.d.ts +2 -2
  1070. package/build/components/VirtualTables/components/TableHeader/TableHeader.d.ts +1 -1
  1071. package/build/components/VirtualTables/components/TableHeader/TableHeader.js +2 -2
  1072. package/build/components/VirtualTables/components/TableHeader/components/TableCell/TableCell.d.ts +2 -1
  1073. package/build/components/VirtualTables/components/TableHeader/components/TableCell/TableCell.js +4 -2
  1074. package/build/components/VirtualTables/components/TableHeader/style.d.ts +2 -2
  1075. package/build/components/VirtualTables/components/TableHeader/type.d.ts +1 -0
  1076. package/build/components/VirtualTables/components/TableRow.d.ts +4 -3
  1077. package/build/components/VirtualTables/components/TableRow.js +74 -34
  1078. package/build/components/VirtualTables/components/style.d.ts +15 -16
  1079. package/build/components/VirtualTables/components/style.js +19 -3
  1080. package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.d.ts +1 -0
  1081. package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.js +5 -3
  1082. package/build/components/VirtualTables/components/virtualScroll/ListItemWrapperWithCard.js +2 -0
  1083. package/build/components/VirtualTables/components/virtualScroll/VirtualScrollList.js +16 -1
  1084. package/build/components/VirtualTables/hooks/useColumnFilter.d.ts +10 -0
  1085. package/build/components/VirtualTables/hooks/useColumnFilter.js +22 -0
  1086. package/build/components/Widget/List.d.ts +2 -1
  1087. package/build/components/Widget/List.js +2 -2
  1088. package/build/components/Widget/style.d.ts +1 -1
  1089. package/build/components/Widget/useScrollWithShadow.js +5 -4
  1090. package/build/components/Window/Window.d.ts +4 -2
  1091. package/build/components/Window/Window.js +8 -6
  1092. package/build/components/Window/style.d.ts +21 -21
  1093. package/build/components/Window/style.js +1 -1
  1094. package/build/components/WindowAppIcon/style.d.ts +1 -1
  1095. package/build/components/WindowBackdrop/WindowBackdrop.d.ts +6 -0
  1096. package/build/components/WindowBackdrop/WindowBackdrop.js +9 -0
  1097. package/build/components/WindowBackdrop/index.d.ts +1 -0
  1098. package/build/components/WindowBackdrop/index.js +1 -0
  1099. package/build/components/WindowSideBar/WindowSideBar.d.ts +4 -8
  1100. package/build/components/WindowSideBar/index.d.ts +1 -0
  1101. package/build/components/WindowSideBar/type.d.ts +10 -0
  1102. package/build/components/WindowSideBar/type.js +1 -0
  1103. package/build/components/index.d.ts +57 -4
  1104. package/build/components/index.js +57 -4
  1105. package/build/constants/api.d.ts +3 -3
  1106. package/build/constants/api.js +3 -3
  1107. package/build/constants/apps.d.ts +290 -0
  1108. package/build/constants/apps.js +139 -8
  1109. package/build/constants/assets.d.ts +78 -0
  1110. package/build/constants/assets.js +86 -4
  1111. package/build/constants/authentication.d.ts +2 -0
  1112. package/build/constants/authentication.js +14 -0
  1113. package/build/constants/chips/index.d.ts +1 -0
  1114. package/build/constants/chips/index.js +1 -0
  1115. package/build/{components/StatusChip/constants.d.ts → constants/chips/statusChips.d.ts} +1 -1
  1116. package/build/{components/StatusChip/constants.js → constants/chips/statusChips.js} +1 -1
  1117. package/build/constants/country.d.ts +1 -0
  1118. package/build/constants/country.js +1 -0
  1119. package/build/constants/currency.js +1 -0
  1120. package/build/constants/document.d.ts +5 -0
  1121. package/build/constants/document.js +5 -0
  1122. package/build/constants/index.d.ts +7 -0
  1123. package/build/constants/index.js +7 -0
  1124. package/build/constants/payment.d.ts +10 -0
  1125. package/build/constants/payment.js +22 -7
  1126. package/build/constants/rate.d.ts +6 -0
  1127. package/build/constants/rate.js +6 -0
  1128. package/build/constants/reports.d.ts +48 -0
  1129. package/build/constants/reports.js +109 -0
  1130. package/build/constants/segment.d.ts +13 -0
  1131. package/build/constants/segment.js +12 -0
  1132. package/build/constants/server.js +3 -3
  1133. package/build/constants/table/cell/authenticationsTableCellWidth.d.ts +26 -6
  1134. package/build/constants/table/cell/authenticationsTableCellWidth.js +26 -6
  1135. package/build/constants/table/cell/authorizationTableCellWidth.d.ts +103 -18
  1136. package/build/constants/table/cell/authorizationTableCellWidth.js +103 -18
  1137. package/build/constants/table/cell/chargeTableCellWidth.d.ts +46 -16
  1138. package/build/constants/table/cell/chargeTableCellWidth.js +46 -16
  1139. package/build/constants/table/cell/destinationsTableCellWidth.d.ts +105 -15
  1140. package/build/constants/table/cell/destinationsTableCellWidth.js +105 -15
  1141. package/build/constants/table/cell/invoicesTableCellWidth.d.ts +28 -8
  1142. package/build/constants/table/cell/invoicesTableCellWidth.js +28 -8
  1143. package/build/constants/table/cell/merchantsTableCellWidth.d.ts +98 -18
  1144. package/build/constants/table/cell/merchantsTableCellWidth.js +98 -18
  1145. package/build/constants/table/cell/payoutsTableCellWidth.d.ts +2 -2
  1146. package/build/constants/table/cell/payoutsTableCellWidth.js +2 -2
  1147. package/build/constants/table/cell/refundTableCellWidth.d.ts +114 -19
  1148. package/build/constants/table/cell/refundTableCellWidth.js +114 -19
  1149. package/build/constants/table/cell/terminalsTableCellWidth.d.ts +12 -12
  1150. package/build/constants/table/cell/terminalsTableCellWidth.js +12 -12
  1151. package/build/constants/table/cell/walletTableCellWidth.d.ts +1 -1
  1152. package/build/constants/table/cell/walletTableCellWidth.js +1 -1
  1153. package/build/constants/table.d.ts +2 -0
  1154. package/build/constants/table.js +2 -0
  1155. package/build/constants/timezones.js +3 -1
  1156. package/build/hooks/index.d.ts +7 -1
  1157. package/build/hooks/index.js +7 -1
  1158. package/build/hooks/useAppEventListener.d.ts +2 -0
  1159. package/build/hooks/useAppEventListener.js +13 -0
  1160. package/build/hooks/useAppEventPublisher.d.ts +2 -0
  1161. package/build/hooks/useAppEventPublisher.js +7 -0
  1162. package/build/hooks/useAppsInfo.d.ts +17 -0
  1163. package/build/hooks/useAppsInfo.js +21 -0
  1164. package/build/hooks/useCountdown.js +4 -0
  1165. package/build/hooks/useNetworkState.d.ts +12 -0
  1166. package/build/hooks/useNetworkState.js +112 -0
  1167. package/build/hooks/useScrolledTo.d.ts +13 -0
  1168. package/build/hooks/useScrolledTo.js +45 -0
  1169. package/build/hooks/useSelectedMerchantDetails.d.ts +10 -0
  1170. package/build/hooks/useSelectedMerchantDetails.js +15 -0
  1171. package/build/hooks/useStickyHeaderShadow.js +6 -0
  1172. package/build/hooks/useToast.d.ts +12 -0
  1173. package/build/hooks/useToast.js +29 -0
  1174. package/build/theme/shadows.js +1 -1
  1175. package/build/types/account.d.ts +2 -1
  1176. package/build/types/account.js +1 -0
  1177. package/build/types/appEvents.d.ts +51 -0
  1178. package/build/types/appEvents.js +16 -0
  1179. package/build/types/apps.d.ts +80 -10
  1180. package/build/types/brand.d.ts +3 -1
  1181. package/build/types/charge.d.ts +125 -0
  1182. package/build/types/column.d.ts +4 -1
  1183. package/build/types/common.d.ts +7 -0
  1184. package/build/types/common.js +1 -0
  1185. package/build/types/destination.d.ts +14 -0
  1186. package/build/types/discount.d.ts +5 -0
  1187. package/build/types/discount.js +6 -0
  1188. package/build/types/document.d.ts +2 -0
  1189. package/build/types/document.js +1 -0
  1190. package/build/types/entity.d.ts +29 -2
  1191. package/build/types/filter.d.ts +5 -0
  1192. package/build/types/filter.js +6 -0
  1193. package/build/types/flag.d.ts +27 -0
  1194. package/build/types/flag.js +1 -0
  1195. package/build/types/index.d.ts +12 -1
  1196. package/build/types/index.js +12 -1
  1197. package/build/types/invoice.d.ts +1 -6
  1198. package/build/types/invoice.js +0 -6
  1199. package/build/types/merchant.d.ts +109 -88
  1200. package/build/types/receipt.d.ts +4 -0
  1201. package/build/types/receipt.js +1 -0
  1202. package/build/types/refund.d.ts +440 -0
  1203. package/build/types/reports.d.ts +27 -0
  1204. package/build/types/reports.js +7 -0
  1205. package/build/types/segment.d.ts +15 -0
  1206. package/build/types/segment.js +16 -1
  1207. package/build/types/table.d.ts +16 -8
  1208. package/build/types/toast.d.ts +16 -0
  1209. package/build/types/toast.js +1 -0
  1210. package/build/types/tsUtils.d.ts +12 -0
  1211. package/build/types/tsUtils.js +1 -0
  1212. package/build/types/user.d.ts +67 -21
  1213. package/build/types/utilities.d.ts +24 -0
  1214. package/build/types/utilities.js +1 -0
  1215. package/build/types/window.d.ts +4 -0
  1216. package/build/types/window.js +1 -0
  1217. package/build/utils/api.js +3 -0
  1218. package/build/utils/array.js +5 -1
  1219. package/build/utils/billing.js +1 -0
  1220. package/build/utils/boolean.d.ts +1 -0
  1221. package/build/utils/boolean.js +7 -0
  1222. package/build/utils/color.d.ts +11 -0
  1223. package/build/utils/color.js +27 -0
  1224. package/build/utils/columnResizeStorage.d.ts +16 -0
  1225. package/build/utils/columnResizeStorage.js +96 -0
  1226. package/build/utils/columns.d.ts +2 -2
  1227. package/build/utils/columns.js +3 -4
  1228. package/build/utils/country.d.ts +2 -1
  1229. package/build/utils/country.js +6 -3
  1230. package/build/utils/currency.d.ts +0 -1
  1231. package/build/utils/currency.js +8 -8
  1232. package/build/utils/date.d.ts +12 -0
  1233. package/build/utils/date.js +66 -6
  1234. package/build/utils/encrypt.js +3 -1
  1235. package/build/utils/error.js +2 -0
  1236. package/build/utils/freshdesk.js +2 -0
  1237. package/build/utils/geography.js +1 -1
  1238. package/build/utils/index.d.ts +4 -0
  1239. package/build/utils/index.js +4 -0
  1240. package/build/utils/localStorage.d.ts +10 -1
  1241. package/build/utils/localStorage.js +51 -0
  1242. package/build/utils/merchant.js +3 -0
  1243. package/build/utils/merchantSource.d.ts +30 -0
  1244. package/build/utils/merchantSource.js +36 -0
  1245. package/build/utils/navigation.d.ts +1 -1
  1246. package/build/utils/number.d.ts +2 -0
  1247. package/build/utils/number.js +8 -0
  1248. package/build/utils/object.d.ts +1 -0
  1249. package/build/utils/object.js +4 -3
  1250. package/build/utils/segment.d.ts +59 -2
  1251. package/build/utils/segment.js +48 -0
  1252. package/build/utils/source.d.ts +1 -0
  1253. package/build/utils/source.js +5 -0
  1254. package/build/utils/string.d.ts +8 -0
  1255. package/build/utils/string.js +14 -0
  1256. package/build/utils/style.d.ts +19 -1
  1257. package/build/utils/style.js +49 -16
  1258. package/build/utils/table.d.ts +15 -2
  1259. package/build/utils/table.js +155 -3
  1260. package/build/utils/timezone.d.ts +2 -0
  1261. package/build/utils/timezone.js +3 -0
  1262. package/build/utils/url.d.ts +1 -0
  1263. package/build/utils/url.js +12 -0
  1264. package/package.json +37 -4
  1265. package/build/components/CurrencyIcon/CurrencyIcon.d.ts +0 -5
  1266. package/build/components/CurrencyIcon/CurrencyIcon.js +0 -15
  1267. package/build/components/CurrencyIcon/index.d.ts +0 -2
  1268. package/build/components/CurrencyIcon/index.js +0 -2
  1269. package/build/components/CurrencyIcon/style.js +0 -13
  1270. package/build/components/Notifications/Notifications.d.ts +0 -1
  1271. package/build/components/Notifications/Notifications.js +0 -12
  1272. package/build/components/Notifications/index.d.ts +0 -2
  1273. package/build/components/Notifications/index.js +0 -2
  1274. package/build/components/TableCells/CustomCells/SourceCell/utils.d.ts +0 -1
  1275. package/build/components/TableCells/CustomCells/SourceCell/utils.js +0 -8
  1276. package/build/components/TableCells/CustomCells/SourceMergedCell/CollapsedViewIcon.d.ts +0 -11
  1277. package/build/components/TableCells/CustomCells/SourceMergedCell/CollapsedViewIcon.js +0 -51
  1278. package/build/components/TableCells/CustomCells/SourceMergedCell/SourceMergedCell.d.ts +0 -3
  1279. package/build/components/TableCells/CustomCells/SourceMergedCell/SourceMergedCell.js +0 -99
  1280. package/build/components/TableCells/CustomCells/SourceMergedCell/index.d.ts +0 -3
  1281. package/build/components/TableCells/CustomCells/SourceMergedCell/index.js +0 -3
  1282. package/build/components/TableCells/CustomCells/SourceMergedCell/style.d.ts +0 -1622
  1283. package/build/components/TableCells/CustomCells/SourceMergedCell/style.js +0 -95
  1284. package/build/components/TableCells/CustomCells/SourceMergedCell/type.d.ts +0 -19
  1285. package/build/components/TableCells/CustomCells/SourceMergedCell/utils.d.ts +0 -12
  1286. package/build/components/TableCells/CustomCells/SourceMergedCell/utils.js +0 -12
  1287. package/build/components/TableCells/CustomCells/TerminalsBrandCell/TerminalsBrandCell.d.ts +0 -12
  1288. package/build/components/TableCells/CustomCells/TerminalsBrandCell/TerminalsBrandCell.js +0 -20
  1289. package/build/components/TableCells/CustomCells/TerminalsBrandCell/index.d.ts +0 -1
  1290. package/build/components/TableCells/CustomCells/TerminalsBrandCell/index.js +0 -1
  1291. package/build/components/TableCells/CustomCells/TerminalsPlatformCell/TerminalsPlatformCell.d.ts +0 -12
  1292. package/build/components/TableCells/CustomCells/TerminalsPlatformCell/TerminalsPlatformCell.js +0 -19
  1293. package/build/components/TableCells/CustomCells/TerminalsPlatformCell/index.d.ts +0 -1
  1294. package/build/components/TableCells/CustomCells/TerminalsPlatformCell/index.js +0 -1
  1295. package/build/hooks/useCheckInternetConnection.d.ts +0 -1
  1296. package/build/hooks/useCheckInternetConnection.js +0 -17
  1297. package/build/types/source.d.ts +0 -1
  1298. /package/build/components/{TableCells/CustomCells/SourceMergedCell → ErrorToast}/type.js +0 -0
  1299. /package/build/{types/source.js → components/FileInputPreview/type.js} +0 -0
  1300. /package/build/components/TableCells/CustomCells/AmountCell/{AmountConversionTooltipLabel.d.ts → components/AmountConversionTooltipLabel.d.ts} +0 -0
  1301. /package/build/components/{Notifications → Toaster}/style.d.ts +0 -0
  1302. /package/build/components/{Notifications → Toaster}/style.js +0 -0
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Tap Payments
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Tap Payments
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # os-micro-frontend-shared
2
-
3
- ## Publishing Workflow
4
-
5
- 1. Update version in package.json
6
- 2. Commit changes
7
- 3. Create and push a tag:
8
-
9
- ```bash
10
- npm version patch # or minor, major
11
- git push origin main --tags
12
- ```
1
+ # os-micro-frontend-shared
2
+
3
+ ## Publishing Workflow
4
+
5
+ 1. Update version in package.json
6
+ 2. Commit changes
7
+ 3. Create and push a tag:
8
+
9
+ ```bash
10
+ npm version patch # or minor, major
11
+ git push origin main --tags
12
+ ```
@@ -14,9 +14,9 @@ export declare const AccordionStyled: import("@emotion/styled").StyledComponent<
14
14
  TransitionProps?: import("@mui/material/transitions").TransitionProps | undefined;
15
15
  } & import("@mui/material/Accordion/Accordion").AccordionSlotsAndSlotProps & Omit<import("@mui/material").PaperOwnProps, "classes" | "onChange"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
16
16
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
17
- }, "disabled" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "onChange" | "sx" | "variant" | "expanded" | "square" | "elevation" | "defaultExpanded" | "disableGutters" | "TransitionComponent" | "TransitionProps" | keyof import("@mui/material/Accordion/Accordion").AccordionSlotsAndSlotProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
17
+ }, "disabled" | "children" | "onChange" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "variant" | "expanded" | "square" | "elevation" | "defaultExpanded" | "disableGutters" | "TransitionComponent" | "TransitionProps" | keyof import("@mui/material/Accordion/Accordion").AccordionSlotsAndSlotProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
18
18
  export declare const AccordionSummaryStyled: import("@emotion/styled").StyledComponent<import("@mui/material/AccordionSummary/AccordionSummary").AccordionSummaryOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
19
19
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
20
- }, "disabled" | "style" | "className" | "classes" | "tabIndex" | "children" | "sx" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "expandIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
20
+ }, "disabled" | "classes" | "className" | "style" | "tabIndex" | "children" | "sx" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "expandIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
21
21
  export declare const AccordionSummaryHeaderSection: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
22
22
  export declare const AccordionActionsStyled: import("@emotion/styled").StyledComponent<import("@mui/material/AccordionActions/AccordionActions").AccordionActionsProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
@@ -13,7 +13,7 @@ export declare const ListWrapper: import("@emotion/styled").StyledComponent<impo
13
13
  }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
14
14
  export declare const ItemStyled: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
15
15
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
16
- }, "width" | "minHeight" | "height" | "bottom" | "left" | "right" | "top" | "m" | "order" | "p" | "style" | "color" | "border" | "borderColor" | "borderBottom" | "flex" | "display" | "alignItems" | "className" | "classes" | "children" | "borderTop" | "borderRight" | "borderLeft" | "borderRadius" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignContent" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "boxShadow" | "maxWidth" | "minWidth" | "maxHeight" | "boxSizing" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping"> & {
16
+ }, "width" | "minHeight" | "height" | "bottom" | "left" | "right" | "top" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "align" | "className" | "style" | "children" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping"> & {
17
17
  component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
18
18
  } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
19
19
  selected?: boolean | undefined;
@@ -1,7 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { useTranslation } from 'react-i18next';
3
- import { getCurrencyCodeFlag, intlCurrency } from '../../utils/index.js';
4
- import { EnglishAmount, StyledCurrency, StyledIconRowContainer, StyledDropDownContainer, StyledDropdown, StyledFlag, StyledMenuItem, StyledTextAmount, DropDownChargeGapColumn, } from './style';
3
+ import { intlCurrency } from '../../utils/index.js';
4
+ import CountryFlag from '../CountryFlag';
5
+ import { EnglishAmount, StyledCurrency, StyledIconRowContainer, StyledDropDownContainer, StyledDropdown, StyledMenuItem, StyledTextAmount, DropDownChargeGapColumn, } from './style';
5
6
  const Menu = ({ selectedCurrency, option, closeDropdown, handleSelectOption }) => {
6
7
  var _a, _b, _c;
7
8
  const { t } = useTranslation();
@@ -10,7 +11,7 @@ const Menu = ({ selectedCurrency, option, closeDropdown, handleSelectOption }) =
10
11
  handleSelectOption(option.value, option === null || option === void 0 ? void 0 : option.currency);
11
12
  }
12
13
  closeDropdown();
13
- } }, { children: [_jsx(EnglishAmount, Object.assign({ showBottomPadding: true, showWarning: false }, { children: t(option.name) })), _jsxs(DropDownChargeGapColumn, { children: [_jsxs(StyledIconRowContainer, Object.assign({ marginRightAuto: true }, { children: [_jsx(StyledFlag, { src: getCurrencyCodeFlag((_a = option === null || option === void 0 ? void 0 : option.currency) !== null && _a !== void 0 ? _a : selectedCurrency), alt: `${option === null || option === void 0 ? void 0 : option.currency} flag` }), _jsx(StyledCurrency, { children: (_b = option === null || option === void 0 ? void 0 : option.currency) !== null && _b !== void 0 ? _b : selectedCurrency })] })), _jsx(StyledTextAmount, Object.assign({ showWarning: false }, { children: intlCurrency(option.value || 0, (_c = option === null || option === void 0 ? void 0 : option.currency) !== null && _c !== void 0 ? _c : selectedCurrency) }))] })] })));
14
+ } }, { children: [_jsx(EnglishAmount, Object.assign({ showBottomPadding: true, showWarning: false }, { children: t(option.name) })), _jsxs(DropDownChargeGapColumn, { children: [_jsxs(StyledIconRowContainer, Object.assign({ marginRightAuto: true }, { children: [_jsx(CountryFlag, { currencyCode: (_a = option === null || option === void 0 ? void 0 : option.currency) !== null && _a !== void 0 ? _a : selectedCurrency, width: "0.76rem" }), _jsx(StyledCurrency, { children: (_b = option === null || option === void 0 ? void 0 : option.currency) !== null && _b !== void 0 ? _b : selectedCurrency })] })), _jsx(StyledTextAmount, Object.assign({ showWarning: false }, { children: intlCurrency(option.value || 0, (_c = option === null || option === void 0 ? void 0 : option.currency) !== null && _c !== void 0 ? _c : selectedCurrency) }))] })] })));
14
15
  };
15
16
  function ActionMenuDropDown({ menuAnchor, showDropDown, selectedCurrency, options, closeDropdown, handleSelectOption }) {
16
17
  if (options.length <= 1)
@@ -2,10 +2,10 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
2
2
  import { useRef } from 'react';
3
3
  import { useTranslation } from 'react-i18next';
4
4
  import { blueDropdownArrowIcon, greyDropdownIcon } from '../../constants/index.js';
5
- import { getCurrencyCodeFlag } from '../../utils/index.js';
6
- import { EnglishAmount, Charge, StyledIconRowContainer, StyledFlag, StyledCurrency, StyledDropDownIcon, StyledAmount, StyledMissingDiv, } from './style';
5
+ import CountryFlag from '../CountryFlag';
6
+ import { EnglishAmount, Charge, StyledIconRowContainer, StyledCurrency, StyledDropDownIcon, StyledAmount, StyledMissingDiv } from './style';
7
7
  import Skeleton from '../Skeleton';
8
- import CurrencyIcon from '../CurrencyIcon';
8
+ import CurrencySymbol from '../CurrencySymbol';
9
9
  function ActionMenuItem({ showWarning, selectedCurrency, onAmountChange, amount, currencyConfig, toggleDropDown, showDropDown, showDropdownIcon, disabled, isLoading, }) {
10
10
  var _a, _b;
11
11
  const { t } = useTranslation();
@@ -15,6 +15,6 @@ function ActionMenuItem({ showWarning, selectedCurrency, onAmountChange, amount,
15
15
  iconRef.current.click();
16
16
  }
17
17
  };
18
- return (_jsxs(_Fragment, { children: [_jsxs(Charge, { children: [_jsx(EnglishAmount, Object.assign({ showBottomPadding: true, showWarning: showWarning }, { children: t('amount') })), _jsxs(StyledIconRowContainer, Object.assign({ limited: true, paddingTop: true, onClick: onClickMissingDiv }, { children: [_jsx(StyledFlag, { src: getCurrencyCodeFlag(selectedCurrency), alt: `${selectedCurrency} flag` }), _jsx(StyledCurrency, { children: _jsx(CurrencyIcon, { currency: selectedCurrency }) }), !showWarning && showDropdownIcon && (_jsx(StyledDropDownIcon, { src: !showDropDown ? blueDropdownArrowIcon : greyDropdownIcon, alt: "drop-down icon", currencyPadding: true }))] }))] }), _jsx(StyledMissingDiv, { ref: iconRef, onClick: toggleDropDown }), isLoading ? (_jsx(Skeleton, { variant: "text", width: "100%", height: "100%" })) : (_jsx(StyledAmount, { disabled: disabled, placeholder: currencyConfig[selectedCurrency] ? '0.000' : '0.00', onValueChange: onAmountChange, value: amount, decimalsLimit: (_a = currencyConfig[selectedCurrency]) !== null && _a !== void 0 ? _a : 2, showWarning: showWarning || false, decimalScale: (_b = currencyConfig[selectedCurrency]) !== null && _b !== void 0 ? _b : 2, autoFocus: true }))] }));
18
+ return (_jsxs(_Fragment, { children: [_jsxs(Charge, { children: [_jsx(EnglishAmount, Object.assign({ showBottomPadding: true, showWarning: showWarning }, { children: t('amount') })), _jsxs(StyledIconRowContainer, Object.assign({ limited: true, paddingTop: true, onClick: onClickMissingDiv }, { children: [_jsx(CountryFlag, { currencyCode: selectedCurrency, width: "0.76rem" }), _jsx(StyledCurrency, { children: _jsx(CurrencySymbol, { currency: selectedCurrency }) }), !showWarning && showDropdownIcon && (_jsx(StyledDropDownIcon, { src: !showDropDown ? blueDropdownArrowIcon : greyDropdownIcon, alt: "drop-down icon", currencyPadding: true }))] }))] }), _jsx(StyledMissingDiv, { ref: iconRef, onClick: toggleDropDown }), isLoading ? (_jsx(Skeleton, { variant: "text", width: "100%", height: "100%" })) : (_jsx(StyledAmount, { disabled: disabled, placeholder: currencyConfig[selectedCurrency] ? '0.000' : '0.00', onValueChange: onAmountChange, value: amount, decimalsLimit: (_a = currencyConfig[selectedCurrency]) !== null && _a !== void 0 ? _a : 2, showWarning: showWarning || false, decimalScale: (_b = currencyConfig[selectedCurrency]) !== null && _b !== void 0 ? _b : 2, autoFocus: true }))] }));
19
19
  }
20
20
  export default ActionMenuItem;
@@ -15,7 +15,7 @@ export declare const Charge: import("@emotion/styled").StyledComponent<import("@
15
15
  export declare const DropDownChargeGapColumn: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
16
16
  export declare const StyledAmount: import("@emotion/styled").StyledComponent<Pick<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
17
17
  ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
18
- }, "width" | "height" | "hidden" | "type" | "value" | "list" | "form" | "slot" | "style" | "title" | "color" | "name" | "ref" | "pattern" | "key" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "children" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "multiple" | "autoComplete" | "readOnly" | "required" | "max" | "src" | "alt" | "formAction" | "formMethod" | "formNoValidate" | "formTarget" | "min" | "accept" | "capture" | "checked" | "formEncType" | "minLength"> & {
18
+ }, "width" | "height" | "hidden" | "color" | "content" | "translate" | "type" | "value" | "list" | "form" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "children" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "capture" | "name" | "ref" | "pattern" | "key" | "size" | "multiple" | "autoComplete" | "readOnly" | "required" | "max" | "src" | "formAction" | "formMethod" | "formNoValidate" | "formTarget" | "alt" | "min" | "accept" | "checked" | "formEncType" | "minLength"> & {
19
19
  allowDecimals?: boolean | undefined;
20
20
  allowNegativeValue?: boolean | undefined;
21
21
  id?: string | undefined;
@@ -58,7 +58,6 @@ export declare const StyledIconRowContainer: import("@emotion/styled").StyledCom
58
58
  }, {}, {}>;
59
59
  export declare const StyledCurrency: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
60
60
  export declare const StyledMissingDiv: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
61
- export declare const StyledFlag: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
62
61
  export declare const StyledPopover: import("@emotion/styled").StyledComponent<import("@mui/material").PopoverProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
63
62
  export declare const IconContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
64
63
  disabled?: boolean | undefined;
@@ -129,10 +129,6 @@ export const StyledMissingDiv = styled('div')({
129
129
  width: 0,
130
130
  height: 0,
131
131
  });
132
- export const StyledFlag = styled('img')({
133
- width: '0.76rem',
134
- height: '0.56rem',
135
- });
136
132
  export const StyledPopover = styled(Popover)(({ theme }) => ({
137
133
  backgroundColor: theme.palette.background.default,
138
134
  boxShadow: theme.shadows[21],
@@ -2,9 +2,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useTranslation } from 'react-i18next';
3
3
  import dayjs from 'dayjs';
4
4
  import Box from '@mui/material/Box';
5
- import { getCurrencyCodeFlag, getLocalizedUnitLabel } from '../../../utils/index.js';
5
+ import { getLocalizedUnitLabel } from '../../../utils/index.js';
6
6
  import { DATA_KEY } from '../../../constants/index.js';
7
- import { TooltipContainer, TimeTypography, ValueTypography, CurrencyBox, CurrencyText, CurrencyIcon } from '../styles';
7
+ import CountryFlag from '../../CountryFlag';
8
+ import { TooltipContainer, TimeTypography, ValueTypography, CurrencyBox, CurrencyText } from '../styles';
8
9
  import { getTooltipFormattedValue, getFormattedDateWithTimezone } from '../utils';
9
10
  const ChartTooltip = ({ active, payload, dateRange, selectedCurrency }) => {
10
11
  var _a, _b, _c, _d;
@@ -16,7 +17,7 @@ const ChartTooltip = ({ active, payload, dateRange, selectedCurrency }) => {
16
17
  const point = payload[0];
17
18
  const localizedUnitLabel = getLocalizedUnitLabel(point === null || point === void 0 ? void 0 : point.dataKey, point === null || point === void 0 ? void 0 : point.value);
18
19
  const formattedDate = ((_a = point === null || point === void 0 ? void 0 : point.payload) === null || _a === void 0 ? void 0 : _a.date) && getFormattedDateWithTimezone((_b = point === null || point === void 0 ? void 0 : point.payload) === null || _b === void 0 ? void 0 : _b.date, isSingleDay, (_c = point === null || point === void 0 ? void 0 : point.payload) === null || _c === void 0 ? void 0 : _c.hour);
19
- return (_jsxs(TooltipContainer, Object.assign({ className: "chart-tooltip" }, { children: [_jsx(TimeTypography, { children: formattedDate !== null && formattedDate !== void 0 ? formattedDate : (_d = point === null || point === void 0 ? void 0 : point.payload) === null || _d === void 0 ? void 0 : _d.date }), _jsxs(ValueTypography, { children: [(point === null || point === void 0 ? void 0 : point.dataKey) === DATA_KEY.AMOUNT && (_jsxs(CurrencyBox, { children: [_jsx(CurrencyIcon, { src: getCurrencyCodeFlag(selectedCurrency), alt: `${selectedCurrency} flag` }), _jsx(CurrencyText, { children: selectedCurrency })] })), _jsx(Box, { children: `${getTooltipFormattedValue(point, t(localizedUnitLabel), selectedCurrency)}` })] })] })));
20
+ return (_jsxs(TooltipContainer, Object.assign({ className: "chart-tooltip" }, { children: [_jsx(TimeTypography, { children: formattedDate !== null && formattedDate !== void 0 ? formattedDate : (_d = point === null || point === void 0 ? void 0 : point.payload) === null || _d === void 0 ? void 0 : _d.date }), _jsxs(ValueTypography, { children: [(point === null || point === void 0 ? void 0 : point.dataKey) === DATA_KEY.AMOUNT && (_jsxs(CurrencyBox, { children: [_jsx(CountryFlag, { currencyCode: selectedCurrency, width: 12 }), _jsx(CurrencyText, { children: selectedCurrency })] })), _jsx(Box, { children: `${getTooltipFormattedValue(point, t(localizedUnitLabel), selectedCurrency)}` })] })] })));
20
21
  }
21
22
  return null;
22
23
  };
@@ -4,14 +4,13 @@ export declare const TooltipContainer: import("@emotion/styled").StyledComponent
4
4
  }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
5
5
  export declare const TimeTypography: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
6
6
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
7
- }, "width" | "minHeight" | "height" | "bottom" | "left" | "right" | "top" | "m" | "order" | "p" | "style" | "color" | "border" | "borderColor" | "borderBottom" | "flex" | "display" | "alignItems" | "className" | "classes" | "children" | "borderTop" | "borderRight" | "borderLeft" | "borderRadius" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignContent" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "boxShadow" | "maxWidth" | "minWidth" | "maxHeight" | "boxSizing" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
7
+ }, "width" | "minHeight" | "height" | "bottom" | "left" | "right" | "top" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "align" | "className" | "style" | "children" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
8
8
  export declare const ValueTypography: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
9
9
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
10
- }, "width" | "minHeight" | "height" | "bottom" | "left" | "right" | "top" | "m" | "order" | "p" | "style" | "color" | "border" | "borderColor" | "borderBottom" | "flex" | "display" | "alignItems" | "className" | "classes" | "children" | "borderTop" | "borderRight" | "borderLeft" | "borderRadius" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignContent" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "boxShadow" | "maxWidth" | "minWidth" | "maxHeight" | "boxSizing" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
10
+ }, "width" | "minHeight" | "height" | "bottom" | "left" | "right" | "top" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "align" | "className" | "style" | "children" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
11
11
  export declare const CurrencyBox: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
12
12
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
13
13
  }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
14
14
  export declare const CurrencyText: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
15
15
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
16
- }, "width" | "minHeight" | "height" | "bottom" | "left" | "right" | "top" | "m" | "order" | "p" | "style" | "color" | "border" | "borderColor" | "borderBottom" | "flex" | "display" | "alignItems" | "className" | "classes" | "children" | "borderTop" | "borderRight" | "borderLeft" | "borderRadius" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignContent" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "boxShadow" | "maxWidth" | "minWidth" | "maxHeight" | "boxSizing" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
17
- export declare const CurrencyIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
16
+ }, "width" | "minHeight" | "height" | "bottom" | "left" | "right" | "top" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "align" | "className" | "style" | "children" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -44,9 +44,3 @@ export const CurrencyText = styled(Typography)({
44
44
  color: '#4B4847',
45
45
  letterSpacing: '-0.14px',
46
46
  });
47
- export const CurrencyIcon = styled('img')({
48
- width: 12,
49
- height: 8.8,
50
- display: 'flex',
51
- alignItems: 'center',
52
- });
@@ -0,0 +1 @@
1
+ export declare const Loading: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import Skeleton from '@mui/material/Skeleton';
3
+ export const Loading = () => {
4
+ return (_jsx(Skeleton, { sx: {
5
+ height: 32,
6
+ width: 80,
7
+ borderRadius: '4px',
8
+ }, variant: "rectangular" }));
9
+ };
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import { Currency, Item } from '../../../types/index.js';
3
+ export interface TotalAmountProps {
4
+ totalGrossAmount: number;
5
+ items: Item[];
6
+ selectedCurrency: Currency;
7
+ isAmountIsMissing: boolean;
8
+ isDisabled?: boolean;
9
+ isLoading?: boolean;
10
+ onResetAllItems: () => void;
11
+ onAddFirstItem: (amount: number) => void;
12
+ }
13
+ declare function TotalAmount({ totalGrossAmount, items, selectedCurrency, isAmountIsMissing, isDisabled, isLoading, onResetAllItems, onAddFirstItem, }: Readonly<TotalAmountProps>): import("react/jsx-runtime").JSX.Element;
14
+ declare const _default: import("react").MemoExoticComponent<typeof TotalAmount>;
15
+ export default _default;
@@ -0,0 +1,62 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { memo, useState, useMemo, useEffect } from 'react';
3
+ import { useTranslation } from 'react-i18next';
4
+ import Box from '@mui/material/Box';
5
+ import { removeAllItem, unknownIcon } from '../../../constants/index.js';
6
+ import { useConfirmDialog, DisplayAmount } from '../../index.js';
7
+ import { isSafariBrowser, numberToString, getAmountPlaceholder } from '../../../utils/index.js';
8
+ import { InputStyled, TotalAmountWrapper, Error } from './style';
9
+ import { Loading } from './Loading';
10
+ const isSafari = isSafariBrowser();
11
+ function TotalAmount({ totalGrossAmount, items, selectedCurrency, isAmountIsMissing, isDisabled, isLoading, onResetAllItems, onAddFirstItem, }) {
12
+ var _a;
13
+ const [editMode, setEditMode] = useState(false);
14
+ const [amount, setAmount] = useState();
15
+ const { isConfirmed } = useConfirmDialog();
16
+ const { t } = useTranslation();
17
+ const currencyPlaceholder = useMemo(() => getAmountPlaceholder(selectedCurrency === null || selectedCurrency === void 0 ? void 0 : selectedCurrency.decimals), [selectedCurrency === null || selectedCurrency === void 0 ? void 0 : selectedCurrency.decimals]);
18
+ useEffect(() => {
19
+ if (!totalGrossAmount) {
20
+ setAmount(undefined);
21
+ }
22
+ }, [totalGrossAmount]);
23
+ const removeAllItems = () => {
24
+ isConfirmed({
25
+ message: t('removeTotalAmount'),
26
+ confirmText: _jsx(Box, Object.assign({ sx: (theme) => ({ color: theme.palette.error.light }) }, { children: t('remove') })),
27
+ cancelText: t('cancel') || 'Cancel',
28
+ }).then((confirmed) => {
29
+ if (confirmed) {
30
+ onResetAllItems();
31
+ setAmount(undefined);
32
+ }
33
+ });
34
+ };
35
+ const handleChangeInput = (e) => {
36
+ if (!e.target.value) {
37
+ setAmount(undefined);
38
+ return false;
39
+ }
40
+ setAmount(Number(numberToString(Number(e.target.value), selectedCurrency === null || selectedCurrency === void 0 ? void 0 : selectedCurrency.decimals)));
41
+ };
42
+ const handleBlurInput = (e) => {
43
+ setEditMode(false);
44
+ onAddFirstItem(Number(numberToString(Number(e.target.value), selectedCurrency === null || selectedCurrency === void 0 ? void 0 : selectedCurrency.decimals)));
45
+ };
46
+ const isEditable = totalGrossAmount === 0 || (items.length === 1 && totalGrossAmount === items[0].total);
47
+ const currencyCode = ((_a = selectedCurrency === null || selectedCurrency === void 0 ? void 0 : selectedCurrency.code) === null || _a === void 0 ? void 0 : _a.english) || '';
48
+ if (isLoading) {
49
+ return _jsx(Loading, {});
50
+ }
51
+ return (_jsxs(Box, Object.assign({ sx: Object.assign({}, (isDisabled && { pointerEvents: 'none', opacity: 0.7 })) }, { children: [editMode ? (_jsx(_Fragment, { children: isEditable ? (_jsx(InputStyled, { value: amount, placeholder: currencyPlaceholder, hideArrows: true, inputProps: { step: '0.01' }, onChange: handleChangeInput, onBlur: handleBlurInput, onKeyDown: (evt) => {
52
+ if (isSafari && isNaN(Number(evt.key)) && evt.key !== 'Backspace' && evt.key !== '.') {
53
+ evt.preventDefault();
54
+ }
55
+ }, autoFocus: true })) : (_jsx(DisplayAmount, { sx: { fontSize: '36px', textAlign: 'center' }, amount: totalGrossAmount || 0, currencyCode: currencyCode, onClick: () => {
56
+ setEditMode(true);
57
+ } })) })) : (_jsxs(TotalAmountWrapper, { children: [_jsx(DisplayAmount, { sx: { fontSize: '36px', textAlign: 'center' }, currencyCode: currencyCode, amount: totalGrossAmount || 0, onClick: () => {
58
+ if (isEditable)
59
+ setEditMode(true);
60
+ } }), totalGrossAmount > 0 && _jsx(Box, { component: "img", src: removeAllItem, alt: "r", onClick: removeAllItems })] })), isAmountIsMissing && (_jsxs(Error, { children: [_jsx(Box, { component: "img", src: unknownIcon }), _jsx(Box, { children: t('enterAmount') })] }))] })));
61
+ }
62
+ export default memo(TotalAmount);
@@ -0,0 +1 @@
1
+ export { default } from './TotalAmount';
@@ -0,0 +1 @@
1
+ export { default } from './TotalAmount';
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ export declare const InputStyled: import("@emotion/styled").StyledComponent<Omit<Readonly<import("@mui/material").InputProps & {
3
+ isError?: boolean | undefined;
4
+ hideArrows?: boolean | undefined;
5
+ }>, "ref"> & import("react").RefAttributes<HTMLInputElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
6
+ export declare const TotalAmountWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
7
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
8
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
9
+ export declare const Error: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
10
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
11
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
@@ -0,0 +1,26 @@
1
+ import Box from '@mui/material/Box';
2
+ import { styled } from '@mui/material/styles';
3
+ import { InputNumber } from '../../index.js';
4
+ export const InputStyled = styled(InputNumber)(() => ({
5
+ fontSize: '36px !important',
6
+ textAlign: 'center',
7
+ border: 'none',
8
+ height: 49.5,
9
+ input: {
10
+ textAlign: 'center',
11
+ },
12
+ }));
13
+ export const TotalAmountWrapper = styled(Box)(() => ({
14
+ display: 'flex',
15
+ gap: '5px',
16
+ alignItems: 'center',
17
+ height: 49.5,
18
+ maxWidth: '-webkit-fill-available',
19
+ paddingInline: '24px',
20
+ }));
21
+ export const Error = styled(Box)(({ theme }) => ({
22
+ fontSize: '10px',
23
+ color: theme.palette.error.dark,
24
+ display: 'flex',
25
+ gap: '4px',
26
+ }));
@@ -0,0 +1 @@
1
+ export { default as TotalAmount } from './TotalAmount';
@@ -0,0 +1 @@
1
+ export { default as TotalAmount } from './TotalAmount';
@@ -0,0 +1,19 @@
1
+ import { CustomColumnFilterProps } from '../VirtualTables';
2
+ export interface AmountConversionFilterProps extends CustomColumnFilterProps {
3
+ options: {
4
+ value: string;
5
+ label: string;
6
+ }[];
7
+ label: string;
8
+ onConfirm: () => void;
9
+ onClear: () => void;
10
+ selectedCurrencies: string[];
11
+ onCurrenciesChange: (currencies: string[]) => void;
12
+ selectedRadioValue: string;
13
+ onRadioButtonChange: (val: string) => void;
14
+ showCurrencyMenu: boolean;
15
+ merchantCurrencies: {
16
+ currencyCode: string;
17
+ }[];
18
+ }
19
+ export default function AmountConversionFilter({ anchorEl, onCloseDropdown, options, label, onConfirm, onClear, selectedCurrencies, onCurrenciesChange, selectedRadioValue, onRadioButtonChange, showCurrencyMenu, merchantCurrencies, }: Readonly<AmountConversionFilterProps>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useTranslation } from 'react-i18next';
3
+ import { FilterCancelButton, FilterFooter, FilterOkayButton, FilterTitle, ViewColumnRadioFilter } from '../index.js';
4
+ import { FilterMenu } from './style';
5
+ import MultiSelectCurrencyFilter from './MultiSelectCurrencyFilter';
6
+ export default function AmountConversionFilter({ anchorEl, onCloseDropdown, options, label, onConfirm, onClear, selectedCurrencies, onCurrenciesChange, selectedRadioValue, onRadioButtonChange, showCurrencyMenu, merchantCurrencies, }) {
7
+ const open = Boolean(anchorEl);
8
+ const { t } = useTranslation();
9
+ const handleOkButtonClick = (e) => {
10
+ onConfirm();
11
+ onCloseDropdown(e);
12
+ };
13
+ const onCancel = (e) => {
14
+ onClear();
15
+ onCloseDropdown(e);
16
+ };
17
+ return (_jsxs(FilterMenu, Object.assign({ open: open, anchorEl: anchorEl }, { children: [_jsx(FilterTitle, Object.assign({ component: "span" }, { children: t('filterBy') })), _jsx(ViewColumnRadioFilter, { menuLabel: label, options: options, selectedValue: selectedRadioValue, onValueChange: onRadioButtonChange }), showCurrencyMenu && (_jsx(MultiSelectCurrencyFilter, { selectedCurrencies: selectedCurrencies, onCurrenciesChange: onCurrenciesChange, merchantCurrencies: merchantCurrencies })), _jsxs(FilterFooter, { children: [_jsx(FilterCancelButton, Object.assign({ onClick: onCancel }, { children: t('cancel') })), _jsx(FilterOkayButton, Object.assign({ onClick: handleOkButtonClick }, { children: t('okay') }))] })] })));
18
+ }
@@ -0,0 +1,9 @@
1
+ interface CurrencyFilterProps {
2
+ selectedCurrencies?: string[];
3
+ onCurrenciesChange: (currencies: string[]) => void;
4
+ merchantCurrencies: {
5
+ currencyCode: string;
6
+ }[];
7
+ }
8
+ export default function MultiSelectCurrencyFilter({ selectedCurrencies, onCurrenciesChange, merchantCurrencies: merchantCurrencyList, }: Readonly<CurrencyFilterProps>): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,39 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useTranslation } from 'react-i18next';
3
+ import { useState, useRef, useMemo } from 'react';
4
+ import { rightArrow } from '../../constants/index.js';
5
+ import { CountryFlag } from '../index.js';
6
+ import { CurrencySubMenu, FilterMenuItem, CurrencyMenuItem } from './style';
7
+ export default function MultiSelectCurrencyFilter({ selectedCurrencies = [], onCurrenciesChange, merchantCurrencies: merchantCurrencyList, }) {
8
+ const { t } = useTranslation();
9
+ const [submenuAnchorElCurrency, setSubmenuAnchorElCurrency] = useState(null);
10
+ const menuItemRefCurrency = useRef(null);
11
+ const merchantCurrencies = useMemo(() => {
12
+ const uniqueCurrencies = [...new Set(merchantCurrencyList.map((item) => item.currencyCode))];
13
+ return uniqueCurrencies;
14
+ }, [merchantCurrencyList]);
15
+ const onOpenCurrency = (event) => {
16
+ setSubmenuAnchorElCurrency(event.currentTarget);
17
+ };
18
+ const onCloseCurrency = () => {
19
+ setSubmenuAnchorElCurrency(null);
20
+ };
21
+ const onSubmenuMouseEnter = () => {
22
+ // Keep the submenu open when hovering over it
23
+ if (menuItemRefCurrency.current) {
24
+ setSubmenuAnchorElCurrency(menuItemRefCurrency.current);
25
+ }
26
+ };
27
+ const handleCurrencyChange = (currencyCode) => {
28
+ const newCurrencies = selectedCurrencies.includes(currencyCode)
29
+ ? selectedCurrencies.filter((c) => c !== currencyCode)
30
+ : [...selectedCurrencies, currencyCode];
31
+ const finalCurrencies = newCurrencies.length > 0 ? newCurrencies : [];
32
+ onCurrenciesChange(finalCurrencies);
33
+ };
34
+ const isCurrencySelected = (currencyCode) => selectedCurrencies.includes(currencyCode);
35
+ return (_jsxs(FilterMenuItem, Object.assign({ ref: menuItemRefCurrency, onMouseEnter: onOpenCurrency, onMouseLeave: onCloseCurrency, hideCheckbox: true }, { children: [_jsx("span", Object.assign({ className: "label" }, { children: t('Currency') })), _jsx("img", { src: rightArrow, alt: "arrow", style: { height: 12 } }), _jsx(CurrencySubMenu, Object.assign({ open: Boolean(submenuAnchorElCurrency), anchorEl: submenuAnchorElCurrency, placement: "right-start", onMouseEnter: onSubmenuMouseEnter, onMouseLeave: onCloseCurrency }, { children: merchantCurrencies.map((currencyCode) => (_jsxs(CurrencyMenuItem, Object.assign({ isSelected: isCurrencySelected(currencyCode), onClick: (e) => {
36
+ e.stopPropagation();
37
+ handleCurrencyChange(currencyCode);
38
+ } }, { children: [_jsx(CountryFlag, { currencyCode: currencyCode }), currencyCode] }), currencyCode))) }))] })));
39
+ }
@@ -0,0 +1 @@
1
+ export { default as AmountConversionFilter, type AmountConversionFilterProps } from './AmountConversionFilter';
@@ -0,0 +1 @@
1
+ export { default as AmountConversionFilter } from './AmountConversionFilter';