@tap-payments/os-micro-frontend-shared 0.1.441 → 0.1.442

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 (1494) hide show
  1. package/build/components/AccordionAdapter/AccordionAdapter.js +23 -0
  2. package/build/components/AccordionAdapter/index.js +2 -1
  3. package/build/components/AccordionAdapter/style.js +38 -0
  4. package/build/components/AccountDropdown/Dropdown.js +17 -0
  5. package/build/components/AccountDropdown/index.js +2 -1
  6. package/build/components/AccountDropdown/style.js +26 -0
  7. package/build/components/ActionMenu/ActionMenu.js +101 -0
  8. package/build/components/ActionMenu/ActionMenuDropDown.js +24 -0
  9. package/build/components/ActionMenu/ActionMenuItem.js +20 -0
  10. package/build/components/ActionMenu/index.js +4 -0
  11. package/build/components/ActionMenu/style.js +179 -0
  12. package/build/components/ActionMenu/type.js +1 -0
  13. package/build/components/ActivityAreaChart/ActivityAreaChart.js +43 -0
  14. package/build/components/ActivityAreaChart/components/ChartTooltip.js +24 -0
  15. package/build/components/ActivityAreaChart/components/LoadingChart.js +18 -0
  16. package/build/components/ActivityAreaChart/components/index.js +2 -0
  17. package/build/components/ActivityAreaChart/index.js +4 -1
  18. package/build/components/ActivityAreaChart/styles.js +46 -0
  19. package/build/components/ActivityAreaChart/types.js +1 -0
  20. package/build/components/ActivityAreaChart/utils.js +27 -0
  21. package/build/components/Amount/TotalAmount/Loading.js +9 -0
  22. package/build/components/Amount/TotalAmount/TotalAmount.js +62 -0
  23. package/build/components/Amount/TotalAmount/index.js +1 -0
  24. package/build/components/Amount/TotalAmount/style.js +26 -0
  25. package/build/components/Amount/index.js +1 -1
  26. package/build/components/AmountConversionFilter/AmountConversionFilter.js +18 -0
  27. package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.js +39 -0
  28. package/build/components/AmountConversionFilter/index.js +1 -1
  29. package/build/components/AmountConversionFilter/style.js +47 -0
  30. package/build/components/AmountInput/AmountInput.js +44 -0
  31. package/build/components/AmountInput/index.js +2 -1
  32. package/build/components/AmountInput/style.js +30 -0
  33. package/build/components/AmountStatusChip/AmountStatusChip.js +20 -0
  34. package/build/components/AmountStatusChip/index.js +2 -1
  35. package/build/components/AmountStatusChip/style.js +13 -0
  36. package/build/components/AnimatedSpinnerIcon/AnimatedSpinnerIcon.js +7 -0
  37. package/build/components/AnimatedSpinnerIcon/index.js +2 -1
  38. package/build/components/AnimatedSpinnerIcon/style.js +8 -0
  39. package/build/components/AppServices/AppServices.js +82 -0
  40. package/build/components/AppServices/ServiceItem.js +36 -0
  41. package/build/components/AppServices/index.js +2 -1
  42. package/build/components/AppServices/style.js +33 -0
  43. package/build/components/AppServicesActionMenu/AppServicesActionMenu.js +44 -0
  44. package/build/components/AppServicesActionMenu/ServicesSubmenu.js +12 -0
  45. package/build/components/AppServicesActionMenu/index.js +3 -1
  46. package/build/components/AppServicesActionMenu/style.js +45 -0
  47. package/build/components/AppServicesActionMenu/types.js +1 -0
  48. package/build/components/AppServicesBar/AppServicesBar.js +18 -0
  49. package/build/components/AppServicesBar/index.js +3 -1
  50. package/build/components/AppServicesBar/style.js +6 -0
  51. package/build/components/AppWindowWrapper/AppWindow/AppWindow.js +82 -0
  52. package/build/components/AppWindowWrapper/AppWindow/constant.js +6 -0
  53. package/build/components/AppWindowWrapper/AppWindow/index.js +4 -0
  54. package/build/components/AppWindowWrapper/AppWindow/style.js +77 -0
  55. package/build/components/AppWindowWrapper/AppWindow/type.js +1 -0
  56. package/build/components/AppWindowWrapper/AppWindowWrapper.js +22 -0
  57. package/build/components/AppWindowWrapper/context/Provider.js +71 -0
  58. package/build/components/AppWindowWrapper/context/context.js +30 -0
  59. package/build/components/AppWindowWrapper/context/index.js +2 -0
  60. package/build/components/AppWindowWrapper/context/type.js +1 -0
  61. package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.js +31 -0
  62. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.js +10 -0
  63. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/index.js +2 -0
  64. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/type.js +1 -0
  65. package/build/components/AppWindowWrapper/headers/AccountHeader/index.js +3 -0
  66. package/build/components/AppWindowWrapper/headers/AccountHeader/type.js +1 -0
  67. package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeader.js +23 -0
  68. package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeaderBase.js +20 -0
  69. package/build/components/AppWindowWrapper/headers/AppWindowHeader/index.js +4 -0
  70. package/build/components/AppWindowWrapper/headers/AppWindowHeader/type.js +1 -0
  71. package/build/components/AppWindowWrapper/index.js +7 -1
  72. package/build/components/AppWindowWrapper/type.js +1 -0
  73. package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.js +21 -0
  74. package/build/components/AuthenticationTypeChip/constants.js +13 -0
  75. package/build/components/AuthenticationTypeChip/index.js +2 -1
  76. package/build/components/Autocomplete/Autocomplete.js +33 -0
  77. package/build/components/Autocomplete/index.js +1 -1
  78. package/build/components/Autocomplete/style.js +47 -0
  79. package/build/components/BackgroundAnimation/BackgroundAnimation.js +52 -0
  80. package/build/components/BackgroundAnimation/Blob/Blob.js +34 -0
  81. package/build/components/BackgroundAnimation/Blob/index.js +2 -0
  82. package/build/components/BackgroundAnimation/Blob/type.js +1 -0
  83. package/build/components/BackgroundAnimation/index.js +3 -1
  84. package/build/components/BetaBanner/BetaBanner.js +5 -0
  85. package/build/components/BetaBanner/index.js +2 -1
  86. package/build/components/BetaBanner/style.js +18 -0
  87. package/build/components/BrandLogo/BrandLogo.js +35 -0
  88. package/build/components/BrandLogo/Loading.js +3 -0
  89. package/build/components/BrandLogo/index.js +1 -1
  90. package/build/components/Button/Button.js +19 -0
  91. package/build/components/Button/PlusButton/PlusButton.js +21 -0
  92. package/build/components/Button/PlusButton/index.js +2 -0
  93. package/build/components/Button/StyledButton/StyledButton.js +20 -0
  94. package/build/components/Button/StyledButton/index.js +2 -0
  95. package/build/components/Button/StyledButton/style.js +13 -0
  96. package/build/components/Button/index.js +4 -1
  97. package/build/components/Button/style.js +23 -0
  98. package/build/components/Calender/Calender.js +71 -0
  99. package/build/components/Calender/index.js +2 -1
  100. package/build/components/Calender/style.js +171 -0
  101. package/build/components/CardEmptyState/CardEmptyState.js +20 -0
  102. package/build/components/CardEmptyState/index.js +2 -1
  103. package/build/components/CardEmptyState/style.js +35 -0
  104. package/build/components/CardEmptyState/type.js +1 -0
  105. package/build/components/CardHeadline/CardHeadline.js +15 -0
  106. package/build/components/CardHeadline/index.js +2 -1
  107. package/build/components/Checkbox/Checkbox.js +14 -0
  108. package/build/components/Checkbox/index.js +2 -1
  109. package/build/components/Chip/Chip.js +20 -0
  110. package/build/components/Chip/GroupIconChip.js +17 -0
  111. package/build/components/Chip/GroupIconChips.js +36 -0
  112. package/build/components/Chip/index.js +4 -1
  113. package/build/components/Chip/style.js +76 -0
  114. package/build/components/Chip/type.js +1 -0
  115. package/build/components/CircularProgressWithLabel/CircularProgressWithLabel.js +7 -0
  116. package/build/components/CircularProgressWithLabel/index.js +2 -1
  117. package/build/components/CircularProgressWithLabel/style.js +31 -0
  118. package/build/components/Collapse/Collapse.js +17 -0
  119. package/build/components/Collapse/index.js +2 -1
  120. package/build/components/ColorPicker/ColorPicker.js +35 -0
  121. package/build/components/ColorPicker/ColorPickerPanel.js +56 -0
  122. package/build/components/ColorPicker/ColorSchemeSelect.js +35 -0
  123. package/build/components/ColorPicker/HexaFields.js +83 -0
  124. package/build/components/ColorPicker/RGBAFields.js +37 -0
  125. package/build/components/ColorPicker/index.js +2 -1
  126. package/build/components/ColorPicker/style.js +157 -0
  127. package/build/components/ConfirmDialog/ConfirmDialog.js +8 -0
  128. package/build/components/ConfirmDialog/context/Provider.js +18 -0
  129. package/build/components/ConfirmDialog/context/context.js +14 -0
  130. package/build/components/ConfirmDialog/context/index.js +2 -0
  131. package/build/components/ConfirmDialog/hooks/index.js +1 -0
  132. package/build/components/ConfirmDialog/hooks/useDialog.js +22 -0
  133. package/build/components/ConfirmDialog/index.js +4 -1
  134. package/build/components/ConfirmDialog/styles.js +42 -0
  135. package/build/components/ConfirmDialog/type.js +1 -0
  136. package/build/components/ControlPanelContainer/ControlPanelContainer.js +5 -0
  137. package/build/components/ControlPanelContainer/index.js +2 -1
  138. package/build/components/ControlPanelContainer/style.js +9 -0
  139. package/build/components/CopyImage/CopyImage.js +11 -0
  140. package/build/components/CopyImage/index.js +2 -1
  141. package/build/components/CountBadge/CountBadge.js +51 -0
  142. package/build/components/CountBadge/CountBadgeAnimated.js +15 -0
  143. package/build/components/CountBadge/index.js +5 -1
  144. package/build/components/CountBadge/style.js +29 -0
  145. package/build/components/CountBadge/type.js +16 -0
  146. package/build/components/CountryFilter/CountryFilter.js +71 -0
  147. package/build/components/CountryFilter/index.js +1 -1
  148. package/build/components/CountryFilter/style.js +7 -0
  149. package/build/components/CountryFlag/CountryFlag.js +23 -0
  150. package/build/components/CountryFlag/index.js +2 -1
  151. package/build/components/CurrencyFilter/CurrencyFilter.js +27 -0
  152. package/build/components/CurrencyFilter/index.js +1 -1
  153. package/build/components/CurrencySymbol/CurrencySymbol.js +17 -0
  154. package/build/components/CurrencySymbol/index.js +2 -1
  155. package/build/components/CurrencySymbol/style.js +27 -0
  156. package/build/components/CustomBackdrop/CustomBackdrop.js +8 -0
  157. package/build/components/CustomBackdrop/index.js +2 -1
  158. package/build/components/CustomBackdrop/style.js +9 -0
  159. package/build/components/Customer/CustomerDropdown/CustomerDropdown.js +39 -0
  160. package/build/components/Customer/CustomerDropdown/index.js +1 -0
  161. package/build/components/Customer/CustomerDropdown/style.js +30 -0
  162. package/build/components/Customer/CustomerForms/CustomerEmailForm.js +76 -0
  163. package/build/components/Customer/CustomerForms/CustomerFullInfo.js +72 -0
  164. package/build/components/Customer/CustomerForms/CustomerFullInfoForm.js +74 -0
  165. package/build/components/Customer/CustomerForms/CustomerPhoneNumberForm.js +71 -0
  166. package/build/components/Customer/CustomerForms/index.js +9 -0
  167. package/build/components/Customer/CustomerForms/style.js +71 -0
  168. package/build/components/Customer/CustomerForms/validation.js +42 -0
  169. package/build/components/Customer/index.js +2 -1
  170. package/build/components/DateButton/DateButton.js +9 -0
  171. package/build/components/DateButton/index.js +2 -1
  172. package/build/components/DateFilter/DateFilter.js +32 -0
  173. package/build/components/DateFilter/index.js +1 -1
  174. package/build/components/DateFilter/style.js +100 -0
  175. package/build/components/DeviceIcon/DeviceIcon.js +29 -0
  176. package/build/components/DeviceIcon/constants.js +6 -0
  177. package/build/components/DeviceIcon/index.js +4 -1
  178. package/build/components/DeviceIcon/style.js +18 -0
  179. package/build/components/DeviceIcon/utils.js +4 -0
  180. package/build/components/Dialog/Dialog.js +9 -0
  181. package/build/components/Dialog/components/DialogToolbar.js +31 -0
  182. package/build/components/Dialog/components/index.js +2 -0
  183. package/build/components/Dialog/constant.js +1 -0
  184. package/build/components/Dialog/index.js +4 -1
  185. package/build/components/Dialog/style.js +50 -0
  186. package/build/components/Discount/DiscountDropdown/DiscountDropdown.js +67 -0
  187. package/build/components/Discount/DiscountDropdown/index.js +2 -0
  188. package/build/components/Discount/DiscountDropdown/style.js +40 -0
  189. package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.js +53 -0
  190. package/build/components/Discount/DiscountRateDropdown/index.js +2 -0
  191. package/build/components/Discount/DiscountRateDropdown/style.js +33 -0
  192. package/build/components/Discount/TotalDiscount/TotalDiscount.js +30 -0
  193. package/build/components/Discount/TotalDiscount/index.js +1 -0
  194. package/build/components/Discount/TotalDiscount/style.js +5 -0
  195. package/build/components/Discount/index.js +4 -1
  196. package/build/components/Discount/utils.js +12 -0
  197. package/build/components/DisplayAmount/DisplayAmount.js +21 -0
  198. package/build/components/DisplayAmount/index.js +2 -1
  199. package/build/components/DisplayAmount/style.js +14 -0
  200. package/build/components/DockButton/DockButton.js +27 -0
  201. package/build/components/DockButton/index.js +2 -1
  202. package/build/components/DockButton/style.js +25 -0
  203. package/build/components/DockButton/type.js +1 -0
  204. package/build/components/Dropdown2/Dropdown2.js +29 -0
  205. package/build/components/Dropdown2/index.js +2 -1
  206. package/build/components/Dropdown2/style.js +24 -0
  207. package/build/components/DropdownButton/ChevronIcon.js +16 -0
  208. package/build/components/DropdownButton/DropdownButton.js +50 -0
  209. package/build/components/DropdownButton/constants.js +5 -0
  210. package/build/components/DropdownButton/index.js +3 -1
  211. package/build/components/DropdownButton/style.js +70 -0
  212. package/build/components/DropdownButton/type.js +1 -0
  213. package/build/components/DropdownMenu/DropdownMenu.js +43 -0
  214. package/build/components/DropdownMenu/index.js +3 -0
  215. package/build/components/DropdownMenu/styles.js +158 -0
  216. package/build/components/DropdownMenu/type.js +1 -0
  217. package/build/components/Error/Error.js +20 -0
  218. package/build/components/Error/index.js +2 -1
  219. package/build/components/Error/style.js +13 -0
  220. package/build/components/ErrorBoundary/AppError.js +16 -0
  221. package/build/components/ErrorBoundary/ErrorBoundary.js +25 -0
  222. package/build/components/ErrorBoundary/index.js +2 -1
  223. package/build/components/ErrorBoundary/style.js +19 -0
  224. package/build/components/ErrorToast/ErrorToast.js +7 -0
  225. package/build/components/ErrorToast/index.js +2 -1
  226. package/build/components/ErrorToast/style.js +33 -0
  227. package/build/components/ErrorToast/type.js +1 -0
  228. package/build/components/ExpandableSideBar/ExpandableSideBar.js +35 -0
  229. package/build/components/ExpandableSideBar/constant.js +1 -0
  230. package/build/components/ExpandableSideBar/index.js +2 -1
  231. package/build/components/ExpandableSideBar/style.js +47 -0
  232. package/build/components/ExpandableSideBar/type.js +1 -0
  233. package/build/components/FileInputPreview/FileInputPreview.js +51 -0
  234. package/build/components/FileInputPreview/index.js +1 -1
  235. package/build/components/FileInputPreview/style.js +20 -0
  236. package/build/components/FileInputPreview/type.js +1 -0
  237. package/build/components/FileInputPreview/utils.js +14 -0
  238. package/build/components/FilePreview/FilePreview.js +18 -0
  239. package/build/components/FilePreview/index.js +3 -1
  240. package/build/components/FilePreview/style.js +55 -0
  241. package/build/components/FilePreview/type.js +1 -0
  242. package/build/components/FileUpload/FileUpload.js +41 -0
  243. package/build/components/FileUpload/index.js +2 -1
  244. package/build/components/FileUpload/style.js +106 -0
  245. package/build/components/FileUploader/FileUploader.js +13 -0
  246. package/build/components/FileUploader/index.js +2 -1
  247. package/build/components/FileUploader/style.js +55 -0
  248. package/build/components/FileUploader/type.js +1 -0
  249. package/build/components/FilterDropdown/FilterDropdown.js +58 -0
  250. package/build/components/FilterDropdown/components/BrandItem/BrandItem.js +39 -0
  251. package/build/components/FilterDropdown/components/BrandItem/index.js +2 -0
  252. package/build/components/FilterDropdown/components/BrandItem/style.js +9 -0
  253. package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.js +54 -0
  254. package/build/components/FilterDropdown/components/CountriesItem/index.js +1 -0
  255. package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.js +59 -0
  256. package/build/components/FilterDropdown/components/CurrenciesItem/index.js +1 -0
  257. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.js +39 -0
  258. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.js +2 -0
  259. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.js +23 -0
  260. package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.js +60 -0
  261. package/build/components/FilterDropdown/components/MerchantItem/index.js +2 -0
  262. package/build/components/FilterDropdown/components/MerchantsFilterItem/MerchantsFilterItem.js +45 -0
  263. package/build/components/FilterDropdown/components/MerchantsFilterItem/index.js +4 -0
  264. package/build/components/FilterDropdown/components/MerchantsFilterItem/type.js +7 -0
  265. package/build/components/FilterDropdown/components/MerchantsFilterItem/utils.js +55 -0
  266. package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.js +68 -0
  267. package/build/components/FilterDropdown/components/RetailersItem/index.js +1 -0
  268. package/build/components/FilterDropdown/components/RetailersItem/style.js +8 -0
  269. package/build/components/FilterDropdown/components/index.js +6 -0
  270. package/build/components/FilterDropdown/index.js +3 -1
  271. package/build/components/FilterDropdown/style.js +73 -0
  272. package/build/components/FilterDropdown/type.js +1 -0
  273. package/build/components/FilteredIds/FilteredIds.js +16 -0
  274. package/build/components/FilteredIds/index.js +2 -1
  275. package/build/components/FilteredIds/style.js +33 -0
  276. package/build/components/FilteredIds/type.js +1 -0
  277. package/build/components/Filters/index.js +1 -1
  278. package/build/components/Filters/style.js +51 -0
  279. package/build/components/FlagDetails/FlagDetails.js +31 -0
  280. package/build/components/FlagDetails/index.js +2 -1
  281. package/build/components/FlippingCard/FlippingCard.js +7 -0
  282. package/build/components/FlippingCard/index.js +2 -1
  283. package/build/components/FlippingCard/style.js +26 -0
  284. package/build/components/HeatMap/HeatMap.js +20 -0
  285. package/build/components/HeatMap/constant.js +1 -0
  286. package/build/components/HeatMap/index.js +3 -1
  287. package/build/components/HeatMap/style.js +34 -0
  288. package/build/components/HeatMap/type.js +1 -0
  289. package/build/components/HeatMap/utils.js +9 -0
  290. package/build/components/IOSSwitch/IOSSwitch.js +7 -0
  291. package/build/components/IOSSwitch/index.js +2 -1
  292. package/build/components/IOSSwitch/styles.js +49 -0
  293. package/build/components/Icon/Icon.js +12 -0
  294. package/build/components/Icon/index.js +2 -1
  295. package/build/components/Icon/type.js +1 -0
  296. package/build/components/IconGallery/IconGallery.js +13 -0
  297. package/build/components/IconGallery/index.js +2 -1
  298. package/build/components/IconGallery/styles.js +21 -0
  299. package/build/components/IconGallery/type.js +1 -0
  300. package/build/components/IconWithBadge/IconWithBadge.js +21 -0
  301. package/build/components/IconWithBadge/index.js +2 -1
  302. package/build/components/IconWithBadge/style.js +11 -0
  303. package/build/components/IconWithBadge/type.js +1 -0
  304. package/build/components/IconWithHoverOverlays/IconWithHoverOverlays.js +19 -0
  305. package/build/components/IconWithHoverOverlays/index.js +2 -1
  306. package/build/components/IconWithHoverOverlays/style.js +45 -0
  307. package/build/components/IconWithLabel/IconWithLabel.js +7 -0
  308. package/build/components/IconWithLabel/index.js +2 -1
  309. package/build/components/IconWithLabel/style.js +21 -0
  310. package/build/components/IconsDropdown/IconsDropdown.js +31 -0
  311. package/build/components/IconsDropdown/index.js +2 -1
  312. package/build/components/IconsDropdown/style.js +47 -0
  313. package/build/components/ImageWrapper/ImageWrapper.js +16 -0
  314. package/build/components/ImageWrapper/index.js +2 -1
  315. package/build/components/Input/Input.js +22 -0
  316. package/build/components/Input/index.js +2 -1
  317. package/build/components/Input/style.js +18 -0
  318. package/build/components/InputBase/AmountInputBase/AmountInputBase.js +30 -0
  319. package/build/components/InputBase/AmountInputBase/CurrencyList/CurrencyList.js +50 -0
  320. package/build/components/InputBase/AmountInputBase/CurrencyList/index.js +2 -0
  321. package/build/components/InputBase/AmountInputBase/CurrencyList/style.js +42 -0
  322. package/build/components/InputBase/AmountInputBase/InputNumber/InputNumber.js +24 -0
  323. package/build/components/InputBase/AmountInputBase/InputNumber/index.js +3 -0
  324. package/build/components/InputBase/AmountInputBase/InputNumber/style.js +24 -0
  325. package/build/components/InputBase/AmountInputBase/InputNumber/type.js +1 -0
  326. package/build/components/InputBase/AmountInputBase/index.js +4 -0
  327. package/build/components/InputBase/AmountInputBase/style.js +26 -0
  328. package/build/components/InputBase/InputBase/InputBase.js +28 -0
  329. package/build/components/InputBase/InputBase/index.js +2 -0
  330. package/build/components/InputBase/InputBase/style.js +68 -0
  331. package/build/components/InputBase/PhoneInputBase/CountriesList/CountriesList.js +65 -0
  332. package/build/components/InputBase/PhoneInputBase/CountriesList/index.js +2 -0
  333. package/build/components/InputBase/PhoneInputBase/CountriesList/style.js +49 -0
  334. package/build/components/InputBase/PhoneInputBase/PhoneInputBase.js +27 -0
  335. package/build/components/InputBase/PhoneInputBase/index.js +3 -0
  336. package/build/components/InputBase/PhoneInputBase/style.js +23 -0
  337. package/build/components/InputBase/SelectBase/SelectBase.js +45 -0
  338. package/build/components/InputBase/SelectBase/SelectBaseMultiple.js +64 -0
  339. package/build/components/InputBase/SelectBase/index.js +3 -0
  340. package/build/components/InputBase/SelectBase/style.js +109 -0
  341. package/build/components/InputBase/index.js +4 -1
  342. package/build/components/InputNumber/InputNumber.js +40 -0
  343. package/build/components/InputNumber/index.js +2 -1
  344. package/build/components/InputNumber/style.js +20 -0
  345. package/build/components/Inputs/CountriesDropDown/CountriesDropdown.js +59 -0
  346. package/build/components/Inputs/CountriesDropDown/index.js +3 -0
  347. package/build/components/Inputs/CountriesDropDown/style.js +68 -0
  348. package/build/components/Inputs/FileInput/FileInput.js +13 -0
  349. package/build/components/Inputs/FileInput/index.js +2 -0
  350. package/build/components/Inputs/FileInput/style.js +41 -0
  351. package/build/components/Inputs/FileInput/type.js +1 -0
  352. package/build/components/Inputs/Input/Input.js +23 -0
  353. package/build/components/Inputs/Input/index.js +2 -0
  354. package/build/components/Inputs/Input/style.js +85 -0
  355. package/build/components/Inputs/Input/type.js +1 -0
  356. package/build/components/Inputs/SearchInput/SearchInput.js +24 -0
  357. package/build/components/Inputs/SearchInput/index.js +2 -0
  358. package/build/components/Inputs/SearchInput/styles.js +17 -0
  359. package/build/components/Inputs/Select/Select.js +67 -0
  360. package/build/components/Inputs/Select/index.js +2 -0
  361. package/build/components/Inputs/Select/style.js +24 -0
  362. package/build/components/Inputs/Select/type.js +1 -0
  363. package/build/components/Inputs/index.js +5 -1
  364. package/build/components/JSONViewer/JSONViewer.js +285 -0
  365. package/build/components/JSONViewer/JSONViewerList.js +10 -0
  366. package/build/components/JSONViewer/components/FooterButton/FooterButton.js +44 -0
  367. package/build/components/JSONViewer/components/FooterButton/index.js +2 -0
  368. package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.js +9 -0
  369. package/build/components/JSONViewer/components/JSONTitleBar/index.js +3 -0
  370. package/build/components/JSONViewer/components/JSONTitleBar/type.js +1 -0
  371. package/build/components/JSONViewer/components/index.js +2 -0
  372. package/build/components/JSONViewer/context/Provider.js +44 -0
  373. package/build/components/JSONViewer/context/context.js +7 -0
  374. package/build/components/JSONViewer/context/index.js +2 -0
  375. package/build/components/JSONViewer/hooks/index.js +1 -0
  376. package/build/components/JSONViewer/hooks/useJsonViewerContext.js +18 -0
  377. package/build/components/JSONViewer/index.js +7 -1
  378. package/build/components/JSONViewer/style.js +176 -0
  379. package/build/components/JSONViewer/type.js +1 -0
  380. package/build/components/LabeledIconDropdown/LabeledIconDropdown.js +51 -0
  381. package/build/components/LabeledIconDropdown/index.js +2 -1
  382. package/build/components/LabeledIconDropdown/style.js +104 -0
  383. package/build/components/LanguageDropdown/LanguageDropdown.js +24 -0
  384. package/build/components/LanguageDropdown/index.js +2 -1
  385. package/build/components/LanguageDropdown/style.js +5 -0
  386. package/build/components/LazyImage/LazyImage.js +39 -0
  387. package/build/components/LazyImage/index.js +3 -1
  388. package/build/components/LeftPeekRightExpandingChip/LeftPeekRightExpandingChip.js +30 -0
  389. package/build/components/LeftPeekRightExpandingChip/index.js +2 -1
  390. package/build/components/LeftPeekRightExpandingChip/style.js +65 -0
  391. package/build/components/LeftPeekRightExpandingChip/type.js +1 -0
  392. package/build/components/LeftPeekRightExpandingChip/useLeftPeekRightExpandingChip.js +134 -0
  393. package/build/components/ListColumnFilter/ListColumnFilter.js +36 -0
  394. package/build/components/ListColumnFilter/index.js +1 -1
  395. package/build/components/ListColumnFilter/style.js +35 -0
  396. package/build/components/ListLayout/ListLayout.js +20 -0
  397. package/build/components/ListLayout/index.js +2 -1
  398. package/build/components/ListLayout/styles.js +9 -0
  399. package/build/components/Loader/Loader.js +7 -0
  400. package/build/components/Loader/index.js +2 -1
  401. package/build/components/Loader/style.js +15 -0
  402. package/build/components/Loaders/TapLoader.js +29 -0
  403. package/build/components/Loaders/index.js +2 -1
  404. package/build/components/MFWidgetLoader/DefaultMFWidgetLoader.js +12 -0
  405. package/build/components/MFWidgetLoader/MFWidgetLoader.js +10 -0
  406. package/build/components/MFWidgetLoader/ReportsMFWidgetLoader.js +8 -0
  407. package/build/components/MFWidgetLoader/index.js +2 -1
  408. package/build/components/MUIThemeProvider/MUIThemeProvider.js +9 -0
  409. package/build/components/MUIThemeProvider/index.js +2 -1
  410. package/build/components/MainContainer/MainContainer.js +8 -0
  411. package/build/components/MainContainer/index.js +2 -1
  412. package/build/components/MaskedText/MaskedText.js +9 -0
  413. package/build/components/MaskedText/index.js +2 -1
  414. package/build/components/MaskedText/type.js +1 -0
  415. package/build/components/Menu/Menu.js +29 -0
  416. package/build/components/Menu/index.js +2 -1
  417. package/build/components/Menu/style.js +23 -0
  418. package/build/components/MenuItem/MenuItem.js +21 -0
  419. package/build/components/MenuItem/index.js +2 -1
  420. package/build/components/MenuItem/style.js +30 -0
  421. package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.js +38 -0
  422. package/build/components/MerchantCurrencyDropdown/SelectedCurrency.js +6 -0
  423. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  424. package/build/components/MerchantCurrencyDropdown/style.js +64 -0
  425. package/build/components/MerchantLogo/MerchantLogo.js +17 -0
  426. package/build/components/MerchantLogo/index.js +1 -1
  427. package/build/components/MerchantLogo/style.js +13 -0
  428. package/build/components/MerchantsDropdown/BrandItem.js +71 -0
  429. package/build/components/MerchantsDropdown/EntityItem.js +69 -0
  430. package/build/components/MerchantsDropdown/EntityList.js +7 -0
  431. package/build/components/MerchantsDropdown/MerchantItem.js +27 -0
  432. package/build/components/MerchantsDropdown/MerchantsDropdown.js +67 -0
  433. package/build/components/MerchantsDropdown/MerchantsList.js +18 -0
  434. package/build/components/MerchantsDropdown/hooks.js +54 -0
  435. package/build/components/MerchantsDropdown/index.js +1 -1
  436. package/build/components/MerchantsDropdown/style.js +155 -0
  437. package/build/components/MerchantsDropdown/type.js +1 -0
  438. package/build/components/MultiDatakeyDonut/MultiDatakeyDonut.js +19 -0
  439. package/build/components/MultiDatakeyDonut/index.js +1 -1
  440. package/build/components/MultiDatakeyDonut/style.js +23 -0
  441. package/build/components/MultiSelectDropdownButton/MultiSelectDropdownButton.js +32 -0
  442. package/build/components/MultiSelectDropdownButton/components/StatusButton.js +34 -0
  443. package/build/components/MultiSelectDropdownButton/index.js +3 -1
  444. package/build/components/MultiSelectDropdownButton/style.js +8 -0
  445. package/build/components/MultiSelectDropdownButton/type.js +1 -0
  446. package/build/components/MultiSelectStatusButton/MultiSelectStatusButton.js +93 -0
  447. package/build/components/MultiSelectStatusButton/index.js +2 -1
  448. package/build/components/MultiSelectStatusButton/style.js +77 -0
  449. package/build/components/MultiSelectStatusButton/type.js +1 -0
  450. package/build/components/MultiSelectWithSearch/ChildMenuItem.js +45 -0
  451. package/build/components/MultiSelectWithSearch/MultiSelectWithSearch.js +52 -0
  452. package/build/components/MultiSelectWithSearch/ParentMenuItem.js +27 -0
  453. package/build/components/MultiSelectWithSearch/index.js +4 -1
  454. package/build/components/MultiSelectWithSearch/style.js +88 -0
  455. package/build/components/MultiSelectWithSearch/type.js +1 -0
  456. package/build/components/MultiSelectWithSearch/utils.js +12 -0
  457. package/build/components/NestedDropdown/Dropdown.js +60 -0
  458. package/build/components/NestedDropdown/NestedDropdown.js +49 -0
  459. package/build/components/NestedDropdown/NestedMenuItem.js +48 -0
  460. package/build/components/NestedDropdown/index.js +5 -1
  461. package/build/components/NestedDropdown/styles.js +100 -0
  462. package/build/components/NestedDropdown/types.js +1 -0
  463. package/build/components/NoInternet/NoInternet.js +6 -0
  464. package/build/components/NoInternet/index.js +2 -1
  465. package/build/components/NoInternet/style.js +32 -0
  466. package/build/components/OTPInput/OTPInput.js +36 -0
  467. package/build/components/OTPInput/index.js +2 -1
  468. package/build/components/OTPInput/style.js +28 -0
  469. package/build/components/OpenFileInNewTab/OpenFileInNewTab.js +26 -0
  470. package/build/components/OpenFileInNewTab/index.js +1 -1
  471. package/build/components/OpenFileInNewTab/style.js +8 -0
  472. package/build/components/PartnersFilter/PartnersFilter.js +50 -0
  473. package/build/components/PartnersFilter/index.js +1 -1
  474. package/build/components/PaymentSourceFilter/AuthenticationMode.js +59 -0
  475. package/build/components/PaymentSourceFilter/PaymentIcon.js +9 -0
  476. package/build/components/PaymentSourceFilter/PaymentInitiated.js +29 -0
  477. package/build/components/PaymentSourceFilter/PaymentMethod.js +55 -0
  478. package/build/components/PaymentSourceFilter/PaymentMethods.js +50 -0
  479. package/build/components/PaymentSourceFilter/PaymentSchemes.js +54 -0
  480. package/build/components/PaymentSourceFilter/PaymentSourceFilter.js +16 -0
  481. package/build/components/PaymentSourceFilter/index.js +6 -1
  482. package/build/components/PaymentSourceFilter/style.js +22 -0
  483. package/build/components/PaymentSourceFilter/type.js +1 -0
  484. package/build/components/PhoneFilter/PhoneFilter.js +13 -0
  485. package/build/components/PhoneFilter/index.js +1 -1
  486. package/build/components/ProgressBar/ProgressBar.js +6 -0
  487. package/build/components/ProgressBar/index.js +2 -1
  488. package/build/components/ProgressBar/style.js +19 -0
  489. package/build/components/ProgressRing/LoadingSkeleton.js +6 -0
  490. package/build/components/ProgressRing/ProgressRing.js +17 -0
  491. package/build/components/ProgressRing/index.js +2 -1
  492. package/build/components/ProgressRing/style.js +37 -0
  493. package/build/components/RFH/Forms/DefaultForm.js +7 -0
  494. package/build/components/RFH/Forms/index.js +1 -0
  495. package/build/components/RFH/Inputs/AmountInput/AmountInput.js +35 -0
  496. package/build/components/RFH/Inputs/AmountInput/index.js +3 -0
  497. package/build/components/RFH/Inputs/AmountInput/type.js +1 -0
  498. package/build/components/RFH/Inputs/AmountInput/utils.js +3 -0
  499. package/build/components/RFH/Inputs/FormInput/FormInput.js +32 -0
  500. package/build/components/RFH/Inputs/FormInput/index.js +2 -0
  501. package/build/components/RFH/Inputs/FormSelect/FormSelect.js +25 -0
  502. package/build/components/RFH/Inputs/FormSelect/index.js +2 -0
  503. package/build/components/RFH/Inputs/FormSelect/type.js +1 -0
  504. package/build/components/RFH/Inputs/MultiSelect/MultiSelect.js +66 -0
  505. package/build/components/RFH/Inputs/MultiSelect/index.js +2 -0
  506. package/build/components/RFH/Inputs/MultiSelect/style.js +56 -0
  507. package/build/components/RFH/Inputs/PhoneInput/PhoneInput.js +30 -0
  508. package/build/components/RFH/Inputs/PhoneInput/index.js +2 -0
  509. package/build/components/RFH/Inputs/SelectWithAccordion/SelectWithAccordion.js +62 -0
  510. package/build/components/RFH/Inputs/SelectWithAccordion/index.js +2 -0
  511. package/build/components/RFH/Inputs/SelectWithAccordion/style.js +70 -0
  512. package/build/components/RFH/Inputs/SelectWithAccordion/type.js +1 -0
  513. package/build/components/RFH/Inputs/Switch/Switch.js +22 -0
  514. package/build/components/RFH/Inputs/Switch/index.js +2 -0
  515. package/build/components/RFH/Inputs/index.js +7 -0
  516. package/build/components/RFH/hooks/index.js +1 -0
  517. package/build/components/RFH/hooks/useRFHForm.js +2 -0
  518. package/build/components/RFH/index.js +3 -1
  519. package/build/components/RadioButton/RadioButton.js +19 -0
  520. package/build/components/RadioButton/index.js +1 -1
  521. package/build/components/RadioButton/style.js +64 -0
  522. package/build/components/RadioButton/type.js +1 -0
  523. package/build/components/RadioGroup/RadioGroup.js +38 -0
  524. package/build/components/RadioGroup/index.js +1 -1
  525. package/build/components/RadioGroup/style.js +16 -0
  526. package/build/components/RadioGroup/type.js +1 -0
  527. package/build/components/RangeCalender/RangeCalender.js +99 -0
  528. package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.js +40 -0
  529. package/build/components/RangeCalender/components/CustomTimepicker/index.js +2 -0
  530. package/build/components/RangeCalender/components/CustomTimepicker/style.js +132 -0
  531. package/build/components/RangeCalender/components/GroupBy/GroupBy.js +33 -0
  532. package/build/components/RangeCalender/components/GroupBy/index.js +2 -0
  533. package/build/components/RangeCalender/components/GroupBy/style.js +39 -0
  534. package/build/components/RangeCalender/components/Hijri/Hijri.js +13 -0
  535. package/build/components/RangeCalender/components/Hijri/index.js +2 -0
  536. package/build/components/RangeCalender/components/Hijri/style.js +25 -0
  537. package/build/components/RangeCalender/components/QuickFilters/QuickFilters.js +47 -0
  538. package/build/components/RangeCalender/components/QuickFilters/index.js +2 -0
  539. package/build/components/RangeCalender/components/QuickFilters/style.js +27 -0
  540. package/build/components/RangeCalender/components/RangeDatepicker/RangeDatepicker.js +31 -0
  541. package/build/components/RangeCalender/components/RangeDatepicker/index.js +3 -0
  542. package/build/components/RangeCalender/components/RangeDatepicker/style.js +9 -0
  543. package/build/components/RangeCalender/components/RangeDatepicker/type.js +1 -0
  544. package/build/components/RangeCalender/components/Timezone/Timezone.js +32 -0
  545. package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.js +38 -0
  546. package/build/components/RangeCalender/components/Timezone/components/UserTimezone.js +14 -0
  547. package/build/components/RangeCalender/components/Timezone/index.js +2 -0
  548. package/build/components/RangeCalender/components/Timezone/style.js +61 -0
  549. package/build/components/RangeCalender/index.js +2 -1
  550. package/build/components/RangeCalender/style.js +193 -0
  551. package/build/components/RangeCalender/type.js +1 -0
  552. package/build/components/RangeCalender/utils.js +26 -0
  553. package/build/components/ReceiptsViewer/ReceiptViewer.js +16 -0
  554. package/build/components/ReceiptsViewer/ReceiptsViewer.js +7 -0
  555. package/build/components/ReceiptsViewer/index.js +1 -1
  556. package/build/components/ReceiptsViewer/style.js +7 -0
  557. package/build/components/ReceiptsViewer/type.js +1 -0
  558. package/build/components/ReferenceTypeFilter/ReferenceTypeFilter.js +36 -0
  559. package/build/components/ReferenceTypeFilter/index.js +1 -1
  560. package/build/components/ReferenceTypeFilter/style.js +34 -0
  561. package/build/components/ResizableHeightInput/ResizableHeightInput.js +24 -0
  562. package/build/components/ResizableHeightInput/index.js +2 -1
  563. package/build/components/ResizableHeightInput/style.js +12 -0
  564. package/build/components/RightLeftExpandingCenterChip/RightLeftExpandingCenterChip.js +113 -0
  565. package/build/components/RightLeftExpandingCenterChip/index.js +2 -1
  566. package/build/components/RightLeftExpandingCenterChip/style.js +130 -0
  567. package/build/components/RightLeftExpandingCenterChip/type.js +1 -0
  568. package/build/components/RightLeftExpandingCenterChip/useRightLeftExpandingCenterChip.js +233 -0
  569. package/build/components/Routes/PrivateRoute.js +10 -0
  570. package/build/components/Routes/PublicRoute.js +6 -0
  571. package/build/components/Routes/index.js +3 -1
  572. package/build/components/SalesChannelFilter/SalesChannelFilter.js +56 -0
  573. package/build/components/SalesChannelFilter/index.js +1 -1
  574. package/build/components/SalesChannelFilter/style.js +29 -0
  575. package/build/components/Sandbox/Sandbox.js +10 -0
  576. package/build/components/Sandbox/index.js +2 -1
  577. package/build/components/Sandbox/style.js +58 -0
  578. package/build/components/ScrollLoader/ScrollLoader.js +69 -0
  579. package/build/components/ScrollLoader/index.js +3 -1
  580. package/build/components/SearchButton/SearchButton.js +57 -0
  581. package/build/components/SearchButton/index.js +2 -1
  582. package/build/components/SearchButton/styles.js +44 -0
  583. package/build/components/SearchListInput/SearchListInput.js +20 -0
  584. package/build/components/SearchListInput/index.js +2 -1
  585. package/build/components/SearchListInput/style.js +15 -0
  586. package/build/components/SelectDropdown/SelectDropdown.js +18 -0
  587. package/build/components/SelectDropdown/index.js +2 -1
  588. package/build/components/SelectDropdown/style.js +18 -0
  589. package/build/components/SelectWithSearch/SelectWithSearch.js +61 -0
  590. package/build/components/SelectWithSearch/index.js +3 -1
  591. package/build/components/SelectWithSearch/style.js +70 -0
  592. package/build/components/SelectWithSearch/type.js +1 -0
  593. package/build/components/SimpleDialog/SimpleDialog.js +9 -0
  594. package/build/components/SimpleDialog/index.js +2 -0
  595. package/build/components/SimpleDialog/style.js +13 -0
  596. package/build/components/SimpleDialog/type.js +1 -0
  597. package/build/components/Skeleton/Skeleton.js +19 -0
  598. package/build/components/Skeleton/index.js +2 -1
  599. package/build/components/SplashScreen/SplashScreen.js +17 -0
  600. package/build/components/SplashScreen/index.js +2 -1
  601. package/build/components/StatusBar/StatusBar.js +54 -0
  602. package/build/components/StatusBar/index.js +2 -1
  603. package/build/components/StatusBar/type.js +1 -0
  604. package/build/components/StatusButton/ChevronIcon.js +18 -0
  605. package/build/components/StatusButton/StatusButton.js +94 -0
  606. package/build/components/StatusButton/constant.js +30 -0
  607. package/build/components/StatusButton/index.js +3 -1
  608. package/build/components/StatusButton/style.js +92 -0
  609. package/build/components/StatusButton/type.js +1 -0
  610. package/build/components/StatusChip/StatusChip.js +58 -0
  611. package/build/components/StatusChip/index.js +2 -1
  612. package/build/components/StatusChip/style.js +37 -0
  613. package/build/components/StatusChip/type.js +1 -0
  614. package/build/components/StatusChipWithCopy/StatusChipWithCopy.js +23 -0
  615. package/build/components/StatusChipWithCopy/index.js +4 -1
  616. package/build/components/StatusChipWithCopy/utils.js +4 -0
  617. package/build/components/StatusFilter/StatusFilter.js +88 -0
  618. package/build/components/StatusFilter/index.js +1 -1
  619. package/build/components/StatusFilter/utils.js +10 -0
  620. package/build/components/StatusGroupChips/StatusGroupChips.js +24 -0
  621. package/build/components/StatusGroupChips/index.js +1 -1
  622. package/build/components/StatusGroupChips/style.js +17 -0
  623. package/build/components/StatusGroupChips/type.js +1 -0
  624. package/build/components/StatusIcons/AgreementIcon/AgreementIcon.js +34 -0
  625. package/build/components/StatusIcons/AgreementIcon/constant.js +32 -0
  626. package/build/components/StatusIcons/AgreementIcon/index.js +3 -0
  627. package/build/components/StatusIcons/AgreementIcon/style.js +37 -0
  628. package/build/components/StatusIcons/AgreementIcon/type.js +1 -0
  629. package/build/components/StatusIcons/AuthIcons/AuthIcons.js +45 -0
  630. package/build/components/StatusIcons/AuthIcons/constants.js +35 -0
  631. package/build/components/StatusIcons/AuthIcons/index.js +3 -0
  632. package/build/components/StatusIcons/AuthIcons/style.js +61 -0
  633. package/build/components/StatusIcons/AuthIcons/type.js +14 -0
  634. package/build/components/StatusIcons/AuthIcons/utils.js +8 -0
  635. package/build/components/StatusIcons/AuthorizationAutoIcons/CaptureAutoIcon.js +82 -0
  636. package/build/components/StatusIcons/AuthorizationAutoIcons/VoidAutoIcon.js +85 -0
  637. package/build/components/StatusIcons/AuthorizationAutoIcons/constant.js +5 -0
  638. package/build/components/StatusIcons/AuthorizationAutoIcons/index.js +4 -0
  639. package/build/components/StatusIcons/AuthorizationAutoIcons/style.js +58 -0
  640. package/build/components/StatusIcons/AuthorizationAutoIcons/type.js +1 -0
  641. package/build/components/StatusIcons/AuthorizationAutoIcons/utils.js +9 -0
  642. package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.js +20 -0
  643. package/build/components/StatusIcons/AuthorizedIcon/index.js +1 -0
  644. package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.js +58 -0
  645. package/build/components/StatusIcons/ChargeStatusIcon/index.js +1 -0
  646. package/build/components/StatusIcons/ChargeStatusIcon/style.js +113 -0
  647. package/build/components/StatusIcons/CustomerInitiated/CustomerInitiatedIcon.js +11 -0
  648. package/build/components/StatusIcons/CustomerInitiated/index.js +1 -0
  649. package/build/components/StatusIcons/DestinationIcon/DestinationIcon.js +22 -0
  650. package/build/components/StatusIcons/DestinationIcon/constant.js +7 -0
  651. package/build/components/StatusIcons/DestinationIcon/index.js +1 -0
  652. package/build/components/StatusIcons/DestinationIcon/style.js +20 -0
  653. package/build/components/StatusIcons/DeviceIcon/DeviceIcon.js +7 -0
  654. package/build/components/StatusIcons/DeviceIcon/index.js +1 -0
  655. package/build/components/StatusIcons/DisputeIcon/DisputeIcon.js +9 -0
  656. package/build/components/StatusIcons/DisputeIcon/index.js +1 -0
  657. package/build/components/StatusIcons/GeographyIcon/GeographyIcon.js +17 -0
  658. package/build/components/StatusIcons/GeographyIcon/index.js +1 -0
  659. package/build/components/StatusIcons/GeographyIcon/style.js +23 -0
  660. package/build/components/StatusIcons/IssuerIcon/IssuerIcon.js +9 -0
  661. package/build/components/StatusIcons/IssuerIcon/index.js +3 -0
  662. package/build/components/StatusIcons/IssuerIcon/style.js +10 -0
  663. package/build/components/StatusIcons/IssuerIcon/type.js +1 -0
  664. package/build/components/StatusIcons/PayoutIcon/PayoutIcon.js +17 -0
  665. package/build/components/StatusIcons/PayoutIcon/index.js +1 -0
  666. package/build/components/StatusIcons/RefundIcon/RefundIcon.js +59 -0
  667. package/build/components/StatusIcons/RefundIcon/index.js +2 -0
  668. package/build/components/StatusIcons/SourceIcons/SourceIcons.js +38 -0
  669. package/build/components/StatusIcons/SourceIcons/components/SourceIcon.js +13 -0
  670. package/build/components/StatusIcons/SourceIcons/components/index.js +1 -0
  671. package/build/components/StatusIcons/SourceIcons/index.js +3 -0
  672. package/build/components/StatusIcons/SourceIcons/style.js +57 -0
  673. package/build/components/StatusIcons/SourceIcons/type.js +1 -0
  674. package/build/components/StatusIcons/SourceIcons/utils.js +8 -0
  675. package/build/components/StatusIcons/index.js +14 -1
  676. package/build/components/StatusLabel/StatusLabel.js +10 -0
  677. package/build/components/StatusLabel/index.js +2 -1
  678. package/build/components/StatusLabel/style.js +20 -0
  679. package/build/components/TableCells/CustomCells/ActionCell/ActionCell.js +97 -0
  680. package/build/components/TableCells/CustomCells/ActionCell/components/ActionIconColumn.js +51 -0
  681. package/build/components/TableCells/CustomCells/ActionCell/components/ActionIconsVariants.js +21 -0
  682. package/build/components/TableCells/CustomCells/ActionCell/components/ActionsColumn.js +74 -0
  683. package/build/components/TableCells/CustomCells/ActionCell/components/index.js +3 -0
  684. package/build/components/TableCells/CustomCells/ActionCell/constant.js +29 -0
  685. package/build/components/TableCells/CustomCells/ActionCell/hooks/useActionCell.js +37 -0
  686. package/build/components/TableCells/CustomCells/ActionCell/index.js +3 -0
  687. package/build/components/TableCells/CustomCells/ActionCell/style.js +29 -0
  688. package/build/components/TableCells/CustomCells/ActionCell/type.js +1 -0
  689. package/build/components/TableCells/CustomCells/AgreementCell/AgreementCell.js +51 -0
  690. package/build/components/TableCells/CustomCells/AgreementCell/constant.js +32 -0
  691. package/build/components/TableCells/CustomCells/AgreementCell/index.js +2 -0
  692. package/build/components/TableCells/CustomCells/AgreementCell/style.js +59 -0
  693. package/build/components/TableCells/CustomCells/AgreementCell/type.js +1 -0
  694. package/build/components/TableCells/CustomCells/AmountCell/AmountCell.js +24 -0
  695. package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.js +10 -0
  696. package/build/components/TableCells/CustomCells/AmountCell/AmountCellText.js +23 -0
  697. package/build/components/TableCells/CustomCells/AmountCell/components/AmountConversionTooltipLabel.js +15 -0
  698. package/build/components/TableCells/CustomCells/AmountCell/components/ConversionTypeLabel.js +7 -0
  699. package/build/components/TableCells/CustomCells/AmountCell/components/CurrencyInfo.js +8 -0
  700. package/build/components/TableCells/CustomCells/AmountCell/components/index.js +3 -0
  701. package/build/components/TableCells/CustomCells/AmountCell/index.js +5 -0
  702. package/build/components/TableCells/CustomCells/AmountCell/style.js +37 -0
  703. package/build/components/TableCells/CustomCells/AmountCell/type.js +1 -0
  704. package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +57 -0
  705. package/build/components/TableCells/CustomCells/ApplicationStatusCell/index.js +2 -0
  706. package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.js +51 -0
  707. package/build/components/TableCells/CustomCells/ApplicationStatusCell/type.js +1 -0
  708. package/build/components/TableCells/CustomCells/AppsCell/AppsCell.js +25 -0
  709. package/build/components/TableCells/CustomCells/AppsCell/index.js +2 -0
  710. package/build/components/TableCells/CustomCells/AppsCell/type.js +1 -0
  711. package/build/components/TableCells/CustomCells/AuthCell/AuthCell.js +30 -0
  712. package/build/components/TableCells/CustomCells/AuthCell/index.js +2 -0
  713. package/build/components/TableCells/CustomCells/AuthCell/style.js +15 -0
  714. package/build/components/TableCells/CustomCells/AuthCell/type.js +1 -0
  715. package/build/components/TableCells/CustomCells/AuthenticationCell/AuthenticationCell.js +66 -0
  716. package/build/components/TableCells/CustomCells/AuthenticationCell/constant.js +50 -0
  717. package/build/components/TableCells/CustomCells/AuthenticationCell/index.js +2 -0
  718. package/build/components/TableCells/CustomCells/AuthenticationCell/style.js +65 -0
  719. package/build/components/TableCells/CustomCells/AuthenticationCell/type.js +1 -0
  720. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/AuthenticationStatusCell.js +31 -0
  721. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/constant.js +20 -0
  722. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.js +2 -0
  723. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.js +57 -0
  724. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/type.js +1 -0
  725. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/AuthenticationTypeCell.js +24 -0
  726. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/constant.js +9 -0
  727. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/index.js +1 -0
  728. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.js +57 -0
  729. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/type.js +1 -0
  730. package/build/components/TableCells/CustomCells/AvatarCell/AvatarCell.js +36 -0
  731. package/build/components/TableCells/CustomCells/AvatarCell/index.js +2 -0
  732. package/build/components/TableCells/CustomCells/AvatarCell/type.js +1 -0
  733. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.js +60 -0
  734. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.js +10 -0
  735. package/build/components/TableCells/CustomCells/BalanceCell/index.js +3 -0
  736. package/build/components/TableCells/CustomCells/BalanceCell/style.js +39 -0
  737. package/build/components/TableCells/CustomCells/BalanceCell/type.js +1 -0
  738. package/build/components/TableCells/CustomCells/BalanceCell/utils.js +9 -0
  739. package/build/components/TableCells/CustomCells/BankCell/BankCell.js +26 -0
  740. package/build/components/TableCells/CustomCells/BankCell/index.js +2 -0
  741. package/build/components/TableCells/CustomCells/BankCell/style.js +37 -0
  742. package/build/components/TableCells/CustomCells/BankCell/type.js +1 -0
  743. package/build/components/TableCells/CustomCells/BankReferenceCell/BankReferenceCell.js +10 -0
  744. package/build/components/TableCells/CustomCells/BankReferenceCell/index.js +1 -0
  745. package/build/components/TableCells/CustomCells/BankReferenceCell/style.js +14 -0
  746. package/build/components/TableCells/CustomCells/BrandCell/BrandCell.js +28 -0
  747. package/build/components/TableCells/CustomCells/BrandCell/index.js +2 -0
  748. package/build/components/TableCells/CustomCells/BrandCell/style.js +20 -0
  749. package/build/components/TableCells/CustomCells/BrandCell/type.js +1 -0
  750. package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.js +21 -0
  751. package/build/components/TableCells/CustomCells/BrandsCell/constants.js +7 -0
  752. package/build/components/TableCells/CustomCells/BrandsCell/index.js +2 -0
  753. package/build/components/TableCells/CustomCells/BrandsCell/style.js +31 -0
  754. package/build/components/TableCells/CustomCells/BrandsCell/type.js +1 -0
  755. package/build/components/TableCells/CustomCells/BusinessStatusCell/BusinessStatusCell.js +39 -0
  756. package/build/components/TableCells/CustomCells/BusinessStatusCell/index.js +2 -0
  757. package/build/components/TableCells/CustomCells/BusinessStatusCell/type.js +1 -0
  758. package/build/components/TableCells/CustomCells/ChannelsCell/ChannelsCell.js +55 -0
  759. package/build/components/TableCells/CustomCells/ChannelsCell/constant.js +6 -0
  760. package/build/components/TableCells/CustomCells/ChannelsCell/index.js +2 -0
  761. package/build/components/TableCells/CustomCells/ChannelsCell/style.js +36 -0
  762. package/build/components/TableCells/CustomCells/ChannelsCell/type.js +1 -0
  763. package/build/components/TableCells/CustomCells/CheckoutStatusCell/CheckoutStatusCell.js +32 -0
  764. package/build/components/TableCells/CustomCells/CheckoutStatusCell/constant.js +5 -0
  765. package/build/components/TableCells/CustomCells/CheckoutStatusCell/index.js +1 -0
  766. package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.js +20 -0
  767. package/build/components/TableCells/CustomCells/CheckoutStatusCell/type.js +1 -0
  768. package/build/components/TableCells/CustomCells/CurrencyCell/CurrencyCell.js +6 -0
  769. package/build/components/TableCells/CustomCells/CurrencyCell/index.js +1 -0
  770. package/build/components/TableCells/CustomCells/CurrencyCell/style.js +12 -0
  771. package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.js +46 -0
  772. package/build/components/TableCells/CustomCells/CustomerCell/CustomerCellSheet.js +8 -0
  773. package/build/components/TableCells/CustomCells/CustomerCell/index.js +3 -0
  774. package/build/components/TableCells/CustomCells/CustomerCell/style.js +24 -0
  775. package/build/components/TableCells/CustomCells/CustomerCell/type.js +1 -0
  776. package/build/components/TableCells/CustomCells/DateCell/DateCell.js +26 -0
  777. package/build/components/TableCells/CustomCells/DateCell/DateViewer.js +29 -0
  778. package/build/components/TableCells/CustomCells/DateCell/index.js +2 -0
  779. package/build/components/TableCells/CustomCells/DateCell/style.js +7 -0
  780. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCell.js +27 -0
  781. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.js +31 -0
  782. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellText.js +35 -0
  783. package/build/components/TableCells/CustomCells/DestinationCell/index.js +4 -0
  784. package/build/components/TableCells/CustomCells/DestinationCell/styled.js +68 -0
  785. package/build/components/TableCells/CustomCells/DestinationCell/type.js +1 -0
  786. package/build/components/TableCells/CustomCells/DestinationCell/utils.js +12 -0
  787. package/build/components/TableCells/CustomCells/DestinationStatusCell/DestinationStatusCell.js +25 -0
  788. package/build/components/TableCells/CustomCells/DestinationStatusCell/constant.js +7 -0
  789. package/build/components/TableCells/CustomCells/DestinationStatusCell/index.js +1 -0
  790. package/build/components/TableCells/CustomCells/DestinationStatusCell/style.js +57 -0
  791. package/build/components/TableCells/CustomCells/DestinationStatusCell/type.js +1 -0
  792. package/build/components/TableCells/CustomCells/DeviceCell/DeviceCell.js +21 -0
  793. package/build/components/TableCells/CustomCells/DeviceCell/index.js +1 -0
  794. package/build/components/TableCells/CustomCells/DeviceCell/style.js +7 -0
  795. package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.js +29 -0
  796. package/build/components/TableCells/CustomCells/DueDateCell/index.js +1 -0
  797. package/build/components/TableCells/CustomCells/DueDateCell/style.js +43 -0
  798. package/build/components/TableCells/CustomCells/DueDateCell/type.js +1 -0
  799. package/build/components/TableCells/CustomCells/DueDateCell/utils.js +53 -0
  800. package/build/components/TableCells/CustomCells/EntityCell/EntityCell.js +23 -0
  801. package/build/components/TableCells/CustomCells/EntityCell/constants.js +7 -0
  802. package/build/components/TableCells/CustomCells/EntityCell/index.js +1 -0
  803. package/build/components/TableCells/CustomCells/EntityCell/style.js +28 -0
  804. package/build/components/TableCells/CustomCells/EntityCell/type.js +1 -0
  805. package/build/components/TableCells/CustomCells/IDButton/IDButton.js +44 -0
  806. package/build/components/TableCells/CustomCells/IDButton/index.js +1 -0
  807. package/build/components/TableCells/CustomCells/IDButton/style.js +15 -0
  808. package/build/components/TableCells/CustomCells/IndividualsCell/IndividualsCell.js +21 -0
  809. package/build/components/TableCells/CustomCells/IndividualsCell/constants.js +7 -0
  810. package/build/components/TableCells/CustomCells/IndividualsCell/index.js +2 -0
  811. package/build/components/TableCells/CustomCells/IndividualsCell/style.js +51 -0
  812. package/build/components/TableCells/CustomCells/IndividualsCell/type.js +1 -0
  813. package/build/components/TableCells/CustomCells/IntentsStatusCell/IntentsStatusCell.js +33 -0
  814. package/build/components/TableCells/CustomCells/IntentsStatusCell/constant.js +7 -0
  815. package/build/components/TableCells/CustomCells/IntentsStatusCell/index.js +1 -0
  816. package/build/components/TableCells/CustomCells/IntentsStatusCell/style.js +20 -0
  817. package/build/components/TableCells/CustomCells/IntentsStatusCell/type.js +1 -0
  818. package/build/components/TableCells/CustomCells/InvoiceStatusCell/ChargeStatusIcon.js +18 -0
  819. package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.js +69 -0
  820. package/build/components/TableCells/CustomCells/InvoiceStatusCell/constant.js +17 -0
  821. package/build/components/TableCells/CustomCells/InvoiceStatusCell/index.js +2 -0
  822. package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.js +50 -0
  823. package/build/components/TableCells/CustomCells/InvoiceStatusCell/type.js +1 -0
  824. package/build/components/TableCells/CustomCells/InvoiceStatusCell/utils.js +40 -0
  825. package/build/components/TableCells/CustomCells/LeadStatusCell/LeadStatusCell.js +25 -0
  826. package/build/components/TableCells/CustomCells/LeadStatusCell/constant.js +9 -0
  827. package/build/components/TableCells/CustomCells/LeadStatusCell/index.js +1 -0
  828. package/build/components/TableCells/CustomCells/LeadStatusCell/style.js +12 -0
  829. package/build/components/TableCells/CustomCells/LeadStatusCell/type.js +1 -0
  830. package/build/components/TableCells/CustomCells/LinkCell/LinkCell.js +23 -0
  831. package/build/components/TableCells/CustomCells/LinkCell/index.js +1 -0
  832. package/build/components/TableCells/CustomCells/LinkCell/style.js +12 -0
  833. package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.js +28 -0
  834. package/build/components/TableCells/CustomCells/MarketPlaceCell/index.js +2 -0
  835. package/build/components/TableCells/CustomCells/MarketPlaceCell/type.js +1 -0
  836. package/build/components/TableCells/CustomCells/MetadataCell/MetadataCell.js +18 -0
  837. package/build/components/TableCells/CustomCells/MetadataCell/index.js +1 -0
  838. package/build/components/TableCells/CustomCells/OrderCell/OrderCell.js +27 -0
  839. package/build/components/TableCells/CustomCells/OrderCell/OrderCellSheet.js +20 -0
  840. package/build/components/TableCells/CustomCells/OrderCell/constant.js +1 -0
  841. package/build/components/TableCells/CustomCells/OrderCell/index.js +2 -0
  842. package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.js +32 -0
  843. package/build/components/TableCells/CustomCells/OrdersCell/index.js +1 -0
  844. package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.js +21 -0
  845. package/build/components/TableCells/CustomCells/PaymentAgreementCell/constant.js +6 -0
  846. package/build/components/TableCells/CustomCells/PaymentAgreementCell/index.js +1 -0
  847. package/build/components/TableCells/CustomCells/PaymentAgreementCell/type.js +1 -0
  848. package/build/components/TableCells/CustomCells/PayoutDateCell/PayoutDateCell.js +35 -0
  849. package/build/components/TableCells/CustomCells/PayoutDateCell/index.js +1 -0
  850. package/build/components/TableCells/CustomCells/PayoutReportCell/PayoutReportCell.js +20 -0
  851. package/build/components/TableCells/CustomCells/PayoutReportCell/index.js +1 -0
  852. package/build/components/TableCells/CustomCells/PayoutReportCell/style.js +18 -0
  853. package/build/components/TableCells/CustomCells/PayoutStatusCell/PayoutStatusCell.js +32 -0
  854. package/build/components/TableCells/CustomCells/PayoutStatusCell/constant.js +12 -0
  855. package/build/components/TableCells/CustomCells/PayoutStatusCell/index.js +2 -0
  856. package/build/components/TableCells/CustomCells/PayoutStatusCell/style.js +57 -0
  857. package/build/components/TableCells/CustomCells/PayoutStatusCell/type.js +1 -0
  858. package/build/components/TableCells/CustomCells/ProductsCell/ProductsCell.js +63 -0
  859. package/build/components/TableCells/CustomCells/ProductsCell/index.js +2 -0
  860. package/build/components/TableCells/CustomCells/ProductsCell/style.js +58 -0
  861. package/build/components/TableCells/CustomCells/ProductsCell/type.js +1 -0
  862. package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.js +23 -0
  863. package/build/components/TableCells/CustomCells/ProviderCell/constants.js +7 -0
  864. package/build/components/TableCells/CustomCells/ProviderCell/index.js +2 -0
  865. package/build/components/TableCells/CustomCells/ProviderCell/style.js +19 -0
  866. package/build/components/TableCells/CustomCells/ProviderCell/type.js +1 -0
  867. package/build/components/TableCells/CustomCells/PurposeCell/PurposeCell.js +20 -0
  868. package/build/components/TableCells/CustomCells/PurposeCell/constants.js +21 -0
  869. package/build/components/TableCells/CustomCells/PurposeCell/index.js +2 -0
  870. package/build/components/TableCells/CustomCells/PurposeCell/style.js +35 -0
  871. package/build/components/TableCells/CustomCells/PurposeCell/type.js +1 -0
  872. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.js +11 -0
  873. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellSheet.js +5 -0
  874. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellText.js +5 -0
  875. package/build/components/TableCells/CustomCells/ReceiptCell/index.js +3 -0
  876. package/build/components/TableCells/CustomCells/ReceiptCell/type.js +1 -0
  877. package/build/components/TableCells/CustomCells/ReferenceCell/ReferenceCell.js +43 -0
  878. package/build/components/TableCells/CustomCells/ReferenceCell/constant.js +7 -0
  879. package/build/components/TableCells/CustomCells/ReferenceCell/index.js +2 -0
  880. package/build/components/TableCells/CustomCells/ReferenceCell/style.js +60 -0
  881. package/build/components/TableCells/CustomCells/ReferenceCell/type.js +1 -0
  882. package/build/components/TableCells/CustomCells/RefundChargeCell/RefundChargeCell.js +96 -0
  883. package/build/components/TableCells/CustomCells/RefundChargeCell/constant.js +14 -0
  884. package/build/components/TableCells/CustomCells/RefundChargeCell/index.js +1 -0
  885. package/build/components/TableCells/CustomCells/RefundChargeCell/style.js +39 -0
  886. package/build/components/TableCells/CustomCells/RefundChargeCell/type.js +1 -0
  887. package/build/components/TableCells/CustomCells/RefundChargeCell/utils.js +9 -0
  888. package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.js +36 -0
  889. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStateIcon.js +15 -0
  890. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.js +60 -0
  891. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatusIcon.js +10 -0
  892. package/build/components/TableCells/CustomCells/RefundStatusCell/components/index.js +3 -0
  893. package/build/components/TableCells/CustomCells/RefundStatusCell/constant.js +20 -0
  894. package/build/components/TableCells/CustomCells/RefundStatusCell/hooks/useRefundStyles.js +54 -0
  895. package/build/components/TableCells/CustomCells/RefundStatusCell/index.js +2 -0
  896. package/build/components/TableCells/CustomCells/RefundStatusCell/style.js +71 -0
  897. package/build/components/TableCells/CustomCells/RefundStatusCell/type.js +1 -0
  898. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +40 -0
  899. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.js +54 -0
  900. package/build/components/TableCells/CustomCells/SalesChannelCell/index.js +3 -0
  901. package/build/components/TableCells/CustomCells/SalesChannelCell/style.js +60 -0
  902. package/build/components/TableCells/CustomCells/SalesChannelCell/type.js +1 -0
  903. package/build/components/TableCells/CustomCells/SalesChannelCell/utils.js +69 -0
  904. package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +53 -0
  905. package/build/components/TableCells/CustomCells/SegmentsCell/constant.js +8 -0
  906. package/build/components/TableCells/CustomCells/SegmentsCell/index.js +2 -0
  907. package/build/components/TableCells/CustomCells/SegmentsCell/style.js +51 -0
  908. package/build/components/TableCells/CustomCells/SegmentsCell/type.js +1 -0
  909. package/build/components/TableCells/CustomCells/SegmentsCell/utils.js +14 -0
  910. package/build/components/TableCells/CustomCells/SourceCell/SourceCell.js +26 -0
  911. package/build/components/TableCells/CustomCells/SourceCell/components/AuthenticationMode/AuthenticationMode.js +9 -0
  912. package/build/components/TableCells/CustomCells/SourceCell/components/AuthenticationMode/index.js +1 -0
  913. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/PaymentCardNumberSource.js +13 -0
  914. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/index.js +1 -0
  915. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/style.js +6 -0
  916. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/PaymentMethodSource.js +11 -0
  917. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/index.js +1 -0
  918. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/PaymentSchemeSource.js +11 -0
  919. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/index.js +1 -0
  920. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/PaymentTypeSource.js +11 -0
  921. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/index.js +1 -0
  922. package/build/components/TableCells/CustomCells/SourceCell/components/index.js +5 -0
  923. package/build/components/TableCells/CustomCells/SourceCell/constant.js +11 -0
  924. package/build/components/TableCells/CustomCells/SourceCell/index.js +2 -0
  925. package/build/components/TableCells/CustomCells/SourceCell/style.js +12 -0
  926. package/build/components/TableCells/CustomCells/SourceCell/type.js +13 -0
  927. package/build/components/TableCells/CustomCells/StatusCell/StatusCell.js +42 -0
  928. package/build/components/TableCells/CustomCells/StatusCell/StatusCellSheet.js +21 -0
  929. package/build/components/TableCells/CustomCells/StatusCell/StatusCellText.js +42 -0
  930. package/build/components/TableCells/CustomCells/StatusCell/constant.js +93 -0
  931. package/build/components/TableCells/CustomCells/StatusCell/index.js +4 -0
  932. package/build/components/TableCells/CustomCells/StatusCell/style.js +69 -0
  933. package/build/components/TableCells/CustomCells/StatusCell/type.js +1 -0
  934. package/build/components/TableCells/CustomCells/StatusCell/useStatusCell.js +8 -0
  935. package/build/components/TableCells/CustomCells/StatusCell/utils.js +9 -0
  936. package/build/components/TableCells/CustomCells/TextTableCell/TextTableCell.js +6 -0
  937. package/build/components/TableCells/CustomCells/TextTableCell/index.js +2 -0
  938. package/build/components/TableCells/CustomCells/TextTableCell/type.js +1 -0
  939. package/build/components/TableCells/CustomCells/TextWithBadgeCell/TextWithBadgeCell.js +29 -0
  940. package/build/components/TableCells/CustomCells/TextWithBadgeCell/index.js +2 -0
  941. package/build/components/TableCells/CustomCells/TextWithBadgeCell/type.js +1 -0
  942. package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.js +31 -0
  943. package/build/components/TableCells/CustomCells/TextWithChipCell/index.js +2 -0
  944. package/build/components/TableCells/CustomCells/TokenStatusCell/TokenStatusCell.js +33 -0
  945. package/build/components/TableCells/CustomCells/TokenStatusCell/constant.js +9 -0
  946. package/build/components/TableCells/CustomCells/TokenStatusCell/index.js +1 -0
  947. package/build/components/TableCells/CustomCells/TokenStatusCell/style.js +57 -0
  948. package/build/components/TableCells/CustomCells/TokenStatusCell/type.js +1 -0
  949. package/build/components/TableCells/CustomCells/WalletCell/WalletCell.js +26 -0
  950. package/build/components/TableCells/CustomCells/WalletCell/index.js +2 -0
  951. package/build/components/TableCells/CustomCells/WalletCell/style.js +26 -0
  952. package/build/components/TableCells/CustomCells/WalletCell/type.js +1 -0
  953. package/build/components/TableCells/CustomCells/index.js +56 -0
  954. package/build/components/TableCells/CustomCells/style.js +140 -0
  955. package/build/components/TableCells/CustomCells/type.js +15 -0
  956. package/build/components/TableCells/TableCell.js +19 -0
  957. package/build/components/TableCells/index.js +3 -1
  958. package/build/components/TableCells/style.js +18 -0
  959. package/build/components/TableCells/type.js +1 -0
  960. package/build/components/TableHeader/FiltersRow.js +24 -0
  961. package/build/components/TableHeader/FiltersRowWrapper.js +18 -0
  962. package/build/components/TableHeader/TableHeader.js +22 -0
  963. package/build/components/TableHeader/TableHeaderWrapper.js +18 -0
  964. package/build/components/TableHeader/TableModeButton.js +11 -0
  965. package/build/components/TableHeader/TableView/ColumnItem.js +29 -0
  966. package/build/components/TableHeader/TableView/CreateViewDialog.js +91 -0
  967. package/build/components/TableHeader/TableView/CustomViews.js +21 -0
  968. package/build/components/TableHeader/TableView/DefaultViews.js +22 -0
  969. package/build/components/TableHeader/TableView/TableView.js +54 -0
  970. package/build/components/TableHeader/TableView/ViewsDropdown.js +153 -0
  971. package/build/components/TableHeader/TableView/ViewsMenu.js +36 -0
  972. package/build/components/TableHeader/TableView/components/ColumnList.js +73 -0
  973. package/build/components/TableHeader/TableView/components/ViewsSubmenu.js +71 -0
  974. package/build/components/TableHeader/TableView/components/index.js +2 -0
  975. package/build/components/TableHeader/TableView/constants.js +39 -0
  976. package/build/components/TableHeader/TableView/hooks/index.js +10 -0
  977. package/build/components/TableHeader/TableView/hooks/useColumnItem.js +29 -0
  978. package/build/components/TableHeader/TableView/hooks/useCreateViewDialog.js +92 -0
  979. package/build/components/TableHeader/TableView/hooks/useCustomTableViews.js +105 -0
  980. package/build/components/TableHeader/TableView/hooks/useDialogPosition.js +16 -0
  981. package/build/components/TableHeader/TableView/hooks/useNestedSubmenu.js +27 -0
  982. package/build/components/TableHeader/TableView/hooks/useOriginalColumns.js +18 -0
  983. package/build/components/TableHeader/TableView/hooks/useSubMenu.js +31 -0
  984. package/build/components/TableHeader/TableView/hooks/useSubmenuHover.js +42 -0
  985. package/build/components/TableHeader/TableView/hooks/useViewColumns.js +45 -0
  986. package/build/components/TableHeader/TableView/hooks/useViewsManager.js +37 -0
  987. package/build/components/TableHeader/TableView/hooks/useViewsMenu.js +162 -0
  988. package/build/components/TableHeader/TableView/index.js +10 -0
  989. package/build/components/TableHeader/TableView/styles.js +427 -0
  990. package/build/components/TableHeader/TableView/types.js +1 -0
  991. package/build/components/TableHeader/TableView/utils/columnState.js +187 -0
  992. package/build/components/TableHeader/TableView/utils/customTableViews.js +30 -0
  993. package/build/components/TableHeader/TableView/utils/index.js +6 -0
  994. package/build/components/TableHeader/TableView/utils/layoutTransform.js +71 -0
  995. package/build/components/TableHeader/TableView/utils/templateState.js +27 -0
  996. package/build/components/TableHeader/TableView/utils/templateToColumnsView.js +153 -0
  997. package/build/components/TableHeader/TableView/utils/viewMenu.js +90 -0
  998. package/build/components/TableHeader/data.js +7 -0
  999. package/build/components/TableHeader/index.js +9 -1
  1000. package/build/components/TableHeader/style.js +43 -0
  1001. package/build/components/TableHeader/type.js +1 -0
  1002. package/build/components/TableReports/DownloadIconButton.js +20 -0
  1003. package/build/components/TableReports/Downloads.js +24 -0
  1004. package/build/components/TableReports/RecordLoading.js +6 -0
  1005. package/build/components/TableReports/TableReports.js +53 -0
  1006. package/build/components/TableReports/components/DownloadButton/DownloadButton.js +16 -0
  1007. package/build/components/TableReports/components/DownloadButton/index.js +2 -0
  1008. package/build/components/TableReports/components/DownloadButton/style.js +15 -0
  1009. package/build/components/TableReports/hooks/index.js +1 -0
  1010. package/build/components/TableReports/hooks/useDownloadReport.js +59 -0
  1011. package/build/components/TableReports/index.js +7 -1
  1012. package/build/components/TableReports/style.js +163 -0
  1013. package/build/components/TableReports/type.js +1 -0
  1014. package/build/components/TableReports/utils.js +32 -0
  1015. package/build/components/TableView/CustomViews.js +80 -0
  1016. package/build/components/TableView/DefaultViews.js +22 -0
  1017. package/build/components/TableView/TableView.js +56 -0
  1018. package/build/components/TableView/data.js +7 -0
  1019. package/build/components/TableView/index.js +3 -1
  1020. package/build/components/TableView/style.js +102 -0
  1021. package/build/components/TapLogo/TapLogo.js +6 -0
  1022. package/build/components/TapLogo/index.js +2 -1
  1023. package/build/components/Text/Text.js +9 -0
  1024. package/build/components/Text/index.js +2 -1
  1025. package/build/components/Timepicker/Timepicker.js +87 -0
  1026. package/build/components/Timepicker/constant.js +3 -0
  1027. package/build/components/Timepicker/index.js +5 -1
  1028. package/build/components/Timepicker/style.js +45 -0
  1029. package/build/components/Timepicker/utils.js +28 -0
  1030. package/build/components/Toaster/Toaster.js +12 -0
  1031. package/build/components/Toaster/index.js +2 -1
  1032. package/build/components/Toaster/style.js +15 -0
  1033. package/build/components/ToggleButtons/ToggleButtons.js +6 -0
  1034. package/build/components/ToggleButtons/index.js +3 -1
  1035. package/build/components/ToggleButtons/style.js +25 -0
  1036. package/build/components/ToggleButtons/type.js +1 -0
  1037. package/build/components/ToggleView/ToggleView.js +32 -0
  1038. package/build/components/ToggleView/ToggleWrapper.js +8 -0
  1039. package/build/components/ToggleView/index.js +3 -1
  1040. package/build/components/ToggleView/style.js +31 -0
  1041. package/build/components/ToggleView/types.js +6 -0
  1042. package/build/components/Toolbar/Toolbar.js +20 -0
  1043. package/build/components/Toolbar/index.js +4 -1
  1044. package/build/components/Toolbar/style.js +98 -0
  1045. package/build/components/Toolbar/type.js +1 -0
  1046. package/build/components/ToolbarIcon/CloseIcon/CloseIcon.js +6 -0
  1047. package/build/components/ToolbarIcon/CloseIcon/index.js +1 -0
  1048. package/build/components/ToolbarIcon/CloseIcon/style.js +7 -0
  1049. package/build/components/ToolbarIcon/ExpandButton/ExpandButton.js +21 -0
  1050. package/build/components/ToolbarIcon/ExpandButton/index.js +1 -0
  1051. package/build/components/ToolbarIcon/ExpandButton/style.js +31 -0
  1052. package/build/components/ToolbarIcon/MaximizeIcon/MaximizeIcon.js +18 -0
  1053. package/build/components/ToolbarIcon/MaximizeIcon/index.js +1 -0
  1054. package/build/components/ToolbarIcon/MaximizeIcon/style.js +7 -0
  1055. package/build/components/ToolbarIcon/MinimizeIcon/MinimizeIcon.js +6 -0
  1056. package/build/components/ToolbarIcon/MinimizeIcon/index.js +1 -0
  1057. package/build/components/ToolbarIcon/MinimizeIcon/style.js +7 -0
  1058. package/build/components/ToolbarIcon/index.js +4 -1
  1059. package/build/components/ToolbarIcon/style.js +20 -0
  1060. package/build/components/Tooltip/Tooltip.js +21 -0
  1061. package/build/components/Tooltip/index.js +2 -0
  1062. package/build/components/Tooltip/styles.js +34 -0
  1063. package/build/components/TooltipChip/TooltipChip.js +20 -0
  1064. package/build/components/TooltipChip/index.js +1 -1
  1065. package/build/components/TooltipChip/style.js +7 -0
  1066. package/build/components/TreeDropdown/TreeDropdown.js +67 -0
  1067. package/build/components/TreeDropdown/TreeNodeItem/SelectionControl.js +17 -0
  1068. package/build/components/TreeDropdown/TreeNodeItem/TreeNodeItem.js +64 -0
  1069. package/build/components/TreeDropdown/TreeNodeItem/index.js +2 -0
  1070. package/build/components/TreeDropdown/TreeNodeItem/style.js +46 -0
  1071. package/build/components/TreeDropdown/TreeNodeList/List.js +17 -0
  1072. package/build/components/TreeDropdown/TreeNodeList/TreeNodeList.js +36 -0
  1073. package/build/components/TreeDropdown/TreeNodeList/index.js +2 -0
  1074. package/build/components/TreeDropdown/TreeNodeList/style.js +60 -0
  1075. package/build/components/TreeDropdown/context/TreeDropdownProvider.js +13 -0
  1076. package/build/components/TreeDropdown/hooks/useSearch.js +38 -0
  1077. package/build/components/TreeDropdown/hooks/useTreeDropdown.js +10 -0
  1078. package/build/components/TreeDropdown/index.js +4 -1
  1079. package/build/components/TreeDropdown/style.js +43 -0
  1080. package/build/components/TreeDropdown/type.js +6 -0
  1081. package/build/components/TreeDropdown/utils.js +161 -0
  1082. package/build/components/VAT/TotalVAT/TotalVAT.js +33 -0
  1083. package/build/components/VAT/TotalVAT/index.js +1 -0
  1084. package/build/components/VAT/TotalVAT/style.js +5 -0
  1085. package/build/components/VAT/VATDropdown/VATDropdown.js +34 -0
  1086. package/build/components/VAT/VATDropdown/index.js +1 -0
  1087. package/build/components/VAT/VATDropdown/style.js +32 -0
  1088. package/build/components/VAT/VATRateDropdown/VATRateDropdown.js +38 -0
  1089. package/build/components/VAT/VATRateDropdown/index.js +1 -0
  1090. package/build/components/VAT/VATRateDropdown/style.js +30 -0
  1091. package/build/components/VAT/index.js +4 -1
  1092. package/build/components/VAT/utils.js +8 -0
  1093. package/build/components/VerificationIcon/VerificationIcon.js +7 -0
  1094. package/build/components/VerificationIcon/VerificationIconWithBg.js +15 -0
  1095. package/build/components/VerificationIcon/constant.js +18 -0
  1096. package/build/components/VerificationIcon/index.js +3 -1
  1097. package/build/components/VerificationIcon/type.js +1 -0
  1098. package/build/components/ViewColumnRadioFilter/ViewColumnRadioFilter.js +28 -0
  1099. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  1100. package/build/components/ViewColumnRadioFilter/style.js +20 -0
  1101. package/build/components/ViewColumnRadioFilter/type.js +1 -0
  1102. package/build/components/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.js +141 -0
  1103. package/build/components/VirtualTables/SheetViewVirtualTable/components/LoadingMainTable.js +21 -0
  1104. package/build/components/VirtualTables/SheetViewVirtualTable/components/MainTable.js +19 -0
  1105. package/build/components/VirtualTables/SheetViewVirtualTable/components/NoDataView.js +13 -0
  1106. package/build/components/VirtualTables/SheetViewVirtualTable/components/PinnedColumn.js +24 -0
  1107. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.js +12 -0
  1108. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.js +62 -0
  1109. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableLoading.js +56 -0
  1110. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableNoData.js +32 -0
  1111. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableRowLoading.js +45 -0
  1112. package/build/components/VirtualTables/SheetViewVirtualTable/components/VirtualTable.js +37 -0
  1113. package/build/components/VirtualTables/SheetViewVirtualTable/components/index.js +9 -0
  1114. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ColumnResize.js +41 -0
  1115. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ResizeOverlay.js +10 -0
  1116. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/index.js +2 -0
  1117. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/constants.js +5 -0
  1118. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/index.js +2 -0
  1119. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResize.js +152 -0
  1120. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResizeWithPinned.js +29 -0
  1121. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/index.js +4 -0
  1122. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/styles.js +55 -0
  1123. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/types/index.js +1 -0
  1124. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/index.js +1 -0
  1125. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.js +127 -0
  1126. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/index.js +7 -0
  1127. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/usePinnedColumns.js +73 -0
  1128. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/usePinnedColumnsWidths.js +15 -0
  1129. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useSynchronizedScroll.js +30 -0
  1130. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableData.js +41 -0
  1131. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableDimensions.js +26 -0
  1132. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableState.js +65 -0
  1133. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useVirtualTableContainer.js +57 -0
  1134. package/build/components/VirtualTables/SheetViewVirtualTable/index.js +5 -0
  1135. package/build/components/VirtualTables/SheetViewVirtualTable/style.js +110 -0
  1136. package/build/components/VirtualTables/SheetViewVirtualTable/types.js +1 -0
  1137. package/build/components/VirtualTables/VirtualTable/VirtualTable.js +113 -0
  1138. package/build/components/VirtualTables/VirtualTableWithCard/VirtualTableWithCard.js +89 -0
  1139. package/build/components/VirtualTables/components/ColumnFilter/ColumnFilter.js +46 -0
  1140. package/build/components/VirtualTables/components/ColumnFilter/Inputs/Inputs.js +51 -0
  1141. package/build/components/VirtualTables/components/ColumnFilter/Inputs/index.js +2 -0
  1142. package/build/components/VirtualTables/components/ColumnFilter/Inputs/style.js +47 -0
  1143. package/build/components/VirtualTables/components/ColumnFilter/List/List.js +61 -0
  1144. package/build/components/VirtualTables/components/ColumnFilter/List/index.js +2 -0
  1145. package/build/components/VirtualTables/components/ColumnFilter/index.js +5 -0
  1146. package/build/components/VirtualTables/components/ColumnFilter/style.js +50 -0
  1147. package/build/components/VirtualTables/components/ColumnFilter/type.js +1 -0
  1148. package/build/components/VirtualTables/components/ColumnSort/ColumnSort.js +41 -0
  1149. package/build/components/VirtualTables/components/ColumnSort/index.js +2 -0
  1150. package/build/components/VirtualTables/components/ColumnSort/style.js +10 -0
  1151. package/build/components/VirtualTables/components/EmptyList/EmptyList.js +23 -0
  1152. package/build/components/VirtualTables/components/EmptyList/index.js +3 -0
  1153. package/build/components/VirtualTables/components/EmptyList/styles.js +39 -0
  1154. package/build/components/VirtualTables/components/ErrorList/ErrorList.js +23 -0
  1155. package/build/components/VirtualTables/components/ErrorList/index.js +2 -0
  1156. package/build/components/VirtualTables/components/ErrorList/styles.js +72 -0
  1157. package/build/components/VirtualTables/components/RowErrorState.js +21 -0
  1158. package/build/components/VirtualTables/components/TableError.js +22 -0
  1159. package/build/components/VirtualTables/components/TableFooter/TableFooter.js +22 -0
  1160. package/build/components/VirtualTables/components/TableFooter/index.js +2 -0
  1161. package/build/components/VirtualTables/components/TableFooter/style.js +53 -0
  1162. package/build/components/VirtualTables/components/TableHeader/TableHeader.js +10 -0
  1163. package/build/components/VirtualTables/components/TableHeader/components/TableCell/TableCell.js +16 -0
  1164. package/build/components/VirtualTables/components/TableHeader/components/TableCell/index.js +2 -0
  1165. package/build/components/VirtualTables/components/TableHeader/components/index.js +1 -0
  1166. package/build/components/VirtualTables/components/TableHeader/constant.js +6 -0
  1167. package/build/components/VirtualTables/components/TableHeader/index.js +3 -0
  1168. package/build/components/VirtualTables/components/TableHeader/style.js +23 -0
  1169. package/build/components/VirtualTables/components/TableHeader/type.js +1 -0
  1170. package/build/components/VirtualTables/components/TableLastItem.js +39 -0
  1171. package/build/components/VirtualTables/components/TableLoading.js +19 -0
  1172. package/build/components/VirtualTables/components/TableLoadingWithCard.js +19 -0
  1173. package/build/components/VirtualTables/components/TableNoData.js +13 -0
  1174. package/build/components/VirtualTables/components/TableNoDataWithCard.js +29 -0
  1175. package/build/components/VirtualTables/components/TableRow.js +93 -0
  1176. package/build/components/VirtualTables/components/TableRowLoading.js +21 -0
  1177. package/build/components/VirtualTables/components/TableRowLoadingWithCard.js +14 -0
  1178. package/build/components/VirtualTables/components/TableRowWithCard.js +9 -0
  1179. package/build/components/VirtualTables/components/index.js +18 -0
  1180. package/build/components/VirtualTables/components/style.js +180 -0
  1181. package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.js +112 -0
  1182. package/build/components/VirtualTables/components/virtualScroll/ListItemWrapperWithCard.js +28 -0
  1183. package/build/components/VirtualTables/components/virtualScroll/VirtualScrollInner.js +20 -0
  1184. package/build/components/VirtualTables/components/virtualScroll/VirtualScrollList.js +79 -0
  1185. package/build/components/VirtualTables/components/virtualScroll/VirtualScrollOuter.js +21 -0
  1186. package/build/components/VirtualTables/components/virtualScroll/index.js +5 -0
  1187. package/build/components/VirtualTables/context/Provider.js +3 -0
  1188. package/build/components/VirtualTables/context/context.js +2 -0
  1189. package/build/components/VirtualTables/context/index.js +2 -0
  1190. package/build/components/VirtualTables/hooks/index.js +1 -0
  1191. package/build/components/VirtualTables/hooks/useColumnFilter.js +22 -0
  1192. package/build/components/VirtualTables/hooks/useScrollBackShadow.js +26 -0
  1193. package/build/components/VirtualTables/index.js +7 -1
  1194. package/build/components/Widget/List.js +23 -0
  1195. package/build/components/Widget/ListItem.js +19 -0
  1196. package/build/components/Widget/Widget.js +19 -0
  1197. package/build/components/Widget/WidgetHeader.js +19 -0
  1198. package/build/components/Widget/index.js +6 -1
  1199. package/build/components/Widget/style.js +71 -0
  1200. package/build/components/Widget/useScrollWithShadow.js +14 -0
  1201. package/build/components/Window/Window.js +43 -0
  1202. package/build/components/Window/index.js +2 -1
  1203. package/build/components/Window/style.js +47 -0
  1204. package/build/components/WindowAppIcon/WindowAppIcon.js +17 -0
  1205. package/build/components/WindowAppIcon/index.js +2 -0
  1206. package/build/components/WindowAppIcon/style.js +25 -0
  1207. package/build/components/WindowBackdrop/WindowBackdrop.js +9 -0
  1208. package/build/components/WindowBackdrop/index.js +1 -1
  1209. package/build/components/WindowSideBar/WindowSideBar.js +11 -0
  1210. package/build/components/WindowSideBar/constant.js +1 -0
  1211. package/build/components/WindowSideBar/index.js +4 -1
  1212. package/build/components/WindowSideBar/style.js +33 -0
  1213. package/build/components/WindowSideBar/type.js +1 -0
  1214. package/build/components/index.js +159 -1
  1215. package/build/constants/api.js +57 -0
  1216. package/build/constants/apps.js +495 -0
  1217. package/build/constants/assets.js +621 -0
  1218. package/build/constants/authentication.js +23 -0
  1219. package/build/constants/charge.js +1 -0
  1220. package/build/constants/chips/index.js +1 -0
  1221. package/build/constants/chips/statusChips.js +5 -0
  1222. package/build/constants/country.js +1 -0
  1223. package/build/constants/currency.js +22 -0
  1224. package/build/constants/document.js +5 -0
  1225. package/build/constants/index.js +21 -1
  1226. package/build/constants/payment.js +53 -0
  1227. package/build/constants/rate.js +6 -0
  1228. package/build/constants/reports.js +119 -0
  1229. package/build/constants/segment.js +12 -0
  1230. package/build/constants/server.js +6 -0
  1231. package/build/constants/servicesTags.js +53 -0
  1232. package/build/constants/style.js +3 -0
  1233. package/build/constants/svgIcons.js +3 -0
  1234. package/build/constants/table/cell/authenticationsTableCellWidth.js +132 -0
  1235. package/build/constants/table/cell/authorizationTableCellWidth.js +247 -0
  1236. package/build/constants/table/cell/chargeTableCellWidth.js +297 -0
  1237. package/build/constants/table/cell/destinationsTableCellWidth.js +197 -0
  1238. package/build/constants/table/cell/index.js +20 -0
  1239. package/build/constants/table/cell/intentsTableCellWidth.js +32 -0
  1240. package/build/constants/table/cell/invoicesTableCellWidth.js +107 -0
  1241. package/build/constants/table/cell/leadsTableCellWidth.js +37 -0
  1242. package/build/constants/table/cell/merchantsTableCellWidth.js +152 -0
  1243. package/build/constants/table/cell/ordersTableCellWidth.js +57 -0
  1244. package/build/constants/table/cell/payoutsTableCellWidth.js +57 -0
  1245. package/build/constants/table/cell/protectAuthorizationsTableCellWidth.js +72 -0
  1246. package/build/constants/table/cell/protectChargesTableCellWidth.js +67 -0
  1247. package/build/constants/table/cell/refundTableCellWidth.js +237 -0
  1248. package/build/constants/table/cell/terminalsTableCellWidth.js +72 -0
  1249. package/build/constants/table/cell/tokensTableCellWidth.js +47 -0
  1250. package/build/constants/table/cell/topupsTableCellWidth.js +57 -0
  1251. package/build/constants/table/cell/walletDetailsTableCellWidth.js +32 -0
  1252. package/build/constants/table/cell/walletStatementTableCellWidth.js +62 -0
  1253. package/build/constants/table/cell/walletTableCellWidth.js +32 -0
  1254. package/build/constants/table.js +8 -0
  1255. package/build/constants/timezones.js +47 -0
  1256. package/build/constants/toggleOptions.js +8 -0
  1257. package/build/hooks/index.js +17 -1
  1258. package/build/hooks/useActionMenu.js +45 -0
  1259. package/build/hooks/useAppEventListener.js +13 -0
  1260. package/build/hooks/useAppEventPublisher.js +7 -0
  1261. package/build/hooks/useAppsInfo.js +21 -0
  1262. package/build/hooks/useBadgesCount.js +15 -0
  1263. package/build/hooks/useCheckUserLoggedIn.js +11 -0
  1264. package/build/hooks/useCountdown.js +50 -0
  1265. package/build/hooks/useDelayToSetValue.js +19 -0
  1266. package/build/hooks/useIsParameterSelected.js +13 -0
  1267. package/build/hooks/useMouseState.js +25 -0
  1268. package/build/hooks/useNetworkState.js +112 -0
  1269. package/build/hooks/useScrolledTo.js +45 -0
  1270. package/build/hooks/useSelectedMerchantDetails.js +15 -0
  1271. package/build/hooks/useStickyHeaderShadow.js +20 -0
  1272. package/build/hooks/useThemeMode.js +8 -0
  1273. package/build/hooks/useToast.js +29 -0
  1274. package/build/hooks/useWindowDimensions.js +21 -0
  1275. package/build/index.js +6 -1
  1276. package/build/theme/components.js +22 -0
  1277. package/build/theme/index.js +5 -1
  1278. package/build/theme/palette.js +106 -0
  1279. package/build/theme/shadows.js +27 -0
  1280. package/build/theme/theme.js +15 -0
  1281. package/build/theme/typography.js +33 -0
  1282. package/build/types/account.js +8 -0
  1283. package/build/types/analytics.js +11 -0
  1284. package/build/types/api.js +1 -0
  1285. package/build/types/appConfig.js +1 -0
  1286. package/build/types/appEvents.js +16 -0
  1287. package/build/types/apps.js +1 -0
  1288. package/build/types/authentication.js +1 -0
  1289. package/build/types/brand.js +13 -0
  1290. package/build/types/cell.js +1 -0
  1291. package/build/types/charge.js +1 -0
  1292. package/build/types/column.js +1 -0
  1293. package/build/types/common.js +1 -0
  1294. package/build/types/currency.js +13 -0
  1295. package/build/types/day.js +1 -0
  1296. package/build/types/destination.js +1 -0
  1297. package/build/types/discount.js +6 -0
  1298. package/build/types/document.js +1 -0
  1299. package/build/types/entity.js +1 -0
  1300. package/build/types/error.js +1 -0
  1301. package/build/types/file.js +1 -0
  1302. package/build/types/filter.js +6 -0
  1303. package/build/types/flag.js +1 -0
  1304. package/build/types/index.js +38 -1
  1305. package/build/types/invoice.js +13 -0
  1306. package/build/types/merchant.js +1 -0
  1307. package/build/types/receipt.js +1 -0
  1308. package/build/types/redux.js +1 -0
  1309. package/build/types/refund.js +1 -0
  1310. package/build/types/reports.js +7 -0
  1311. package/build/types/segment.js +16 -0
  1312. package/build/types/sort.js +1 -0
  1313. package/build/types/table.js +1 -0
  1314. package/build/types/theme.js +10 -0
  1315. package/build/types/toast.js +1 -0
  1316. package/build/types/toggleOptions.js +1 -0
  1317. package/build/types/tsUtils.js +1 -0
  1318. package/build/types/user.js +1 -0
  1319. package/build/types/utilities.js +1 -0
  1320. package/build/types/window.js +1 -0
  1321. package/build/utils/api.js +96 -0
  1322. package/build/utils/app.js +7 -0
  1323. package/build/utils/array.js +20 -0
  1324. package/build/utils/billing.js +33 -0
  1325. package/build/utils/boolean.js +7 -0
  1326. package/build/utils/browser.js +25 -0
  1327. package/build/utils/card.js +15 -0
  1328. package/build/utils/chargeError.js +10 -0
  1329. package/build/utils/color.js +65 -0
  1330. package/build/utils/columnResizeStorage.js +96 -0
  1331. package/build/utils/columns.js +81 -0
  1332. package/build/utils/conversion.js +27 -0
  1333. package/build/utils/country.js +14 -0
  1334. package/build/utils/currency.js +91 -0
  1335. package/build/utils/date.js +287 -0
  1336. package/build/utils/day.js +9 -0
  1337. package/build/utils/download.js +24 -0
  1338. package/build/utils/encrypt.js +46 -0
  1339. package/build/utils/entity.js +13 -0
  1340. package/build/utils/error.js +71 -0
  1341. package/build/utils/extractIdsFromRowData.js +22 -0
  1342. package/build/utils/file.js +16 -0
  1343. package/build/utils/flag.js +13 -0
  1344. package/build/utils/freshdesk.js +56 -0
  1345. package/build/utils/geography.js +10 -0
  1346. package/build/utils/index.js +48 -1
  1347. package/build/utils/language.js +14 -0
  1348. package/build/utils/localStorage.js +213 -0
  1349. package/build/utils/merchant.js +24 -0
  1350. package/build/utils/merchantSource.js +36 -0
  1351. package/build/utils/navigation.js +11 -0
  1352. package/build/utils/number.js +38 -0
  1353. package/build/utils/object.js +15 -0
  1354. package/build/utils/payout.js +172 -0
  1355. package/build/utils/phone.js +8 -0
  1356. package/build/utils/reports.js +3 -0
  1357. package/build/utils/segment.js +63 -0
  1358. package/build/utils/skeletonColumns.js +55 -0
  1359. package/build/utils/source.js +9 -0
  1360. package/build/utils/string.js +73 -0
  1361. package/build/utils/style.js +95 -0
  1362. package/build/utils/table.js +230 -0
  1363. package/build/utils/timezone.js +3 -0
  1364. package/build/utils/toggleOptions.js +10 -0
  1365. package/build/utils/url.js +20 -0
  1366. package/build/utils/user.js +7 -0
  1367. package/build/utils/validation.js +3 -0
  1368. package/package.json +18 -15
  1369. package/build/chunk-23C4BLEJ.js +0 -1
  1370. package/build/chunk-24UTRGGG.js +0 -2
  1371. package/build/chunk-24XGEJR2.js +0 -1
  1372. package/build/chunk-2FDPAJY4.js +0 -1
  1373. package/build/chunk-2LMLVUW4.js +0 -1
  1374. package/build/chunk-2Q6H6K3P.js +0 -1
  1375. package/build/chunk-2T2Z5RPJ.js +0 -1
  1376. package/build/chunk-34II3WB7.js +0 -1
  1377. package/build/chunk-3A4B5D6T.js +0 -1
  1378. package/build/chunk-3ABTBVXY.js +0 -1
  1379. package/build/chunk-3EU4NGZ7.js +0 -1
  1380. package/build/chunk-4A6Z3DYW.js +0 -1
  1381. package/build/chunk-4O4EFXIC.js +0 -1
  1382. package/build/chunk-544TDVOA.js +0 -1
  1383. package/build/chunk-5AIEKGEA.js +0 -1
  1384. package/build/chunk-5QGYWOQI.js +0 -1
  1385. package/build/chunk-5ZTIXOFI.js +0 -1
  1386. package/build/chunk-62CGUEB4.js +0 -1
  1387. package/build/chunk-66JBLKME.js +0 -1
  1388. package/build/chunk-6DLPM4RB.js +0 -1
  1389. package/build/chunk-6ZPCHYOF.js +0 -1
  1390. package/build/chunk-7A7PBYFB.js +0 -1
  1391. package/build/chunk-7IW25XZP.js +0 -1
  1392. package/build/chunk-7NYF2UBV.js +0 -1
  1393. package/build/chunk-A5FGRP2T.js +0 -1
  1394. package/build/chunk-ABDRIOU6.js +0 -2
  1395. package/build/chunk-AMMCJJFH.js +0 -1
  1396. package/build/chunk-ARHJB5QJ.js +0 -1
  1397. package/build/chunk-AUM6AR3E.js +0 -1
  1398. package/build/chunk-B4QKXIT7.js +0 -1
  1399. package/build/chunk-BFGMD3VQ.js +0 -1
  1400. package/build/chunk-BNUBHZV7.js +0 -1
  1401. package/build/chunk-BTANFCN2.js +0 -1
  1402. package/build/chunk-BV5VAMBI.js +0 -1
  1403. package/build/chunk-CQT4MCPB.js +0 -1
  1404. package/build/chunk-CTBYQDKG.js +0 -1
  1405. package/build/chunk-D4S6DH7W.js +0 -1
  1406. package/build/chunk-D5EB3ZRT.js +0 -1
  1407. package/build/chunk-DJYRLVOD.js +0 -1
  1408. package/build/chunk-DQ76BKNS.js +0 -1
  1409. package/build/chunk-DQLGJFLX.js +0 -2
  1410. package/build/chunk-DYWKQE3E.js +0 -1
  1411. package/build/chunk-E6XVMA37.js +0 -1
  1412. package/build/chunk-EAUWAY4T.js +0 -1
  1413. package/build/chunk-EDMW226P.js +0 -1
  1414. package/build/chunk-F4KVGV4T.js +0 -1
  1415. package/build/chunk-FAYAV46R.js +0 -1
  1416. package/build/chunk-FL7ZDVP7.js +0 -1
  1417. package/build/chunk-FQXBL3YF.js +0 -1
  1418. package/build/chunk-G6N4V3PP.js +0 -1
  1419. package/build/chunk-GF7D4WGP.js +0 -1
  1420. package/build/chunk-GI3U6XGW.js +0 -1
  1421. package/build/chunk-GMRNI4U5.js +0 -1
  1422. package/build/chunk-GPFU7WD4.js +0 -1
  1423. package/build/chunk-HBY2XKKF.js +0 -1
  1424. package/build/chunk-HRHKLBHG.js +0 -1
  1425. package/build/chunk-IBPFWRCW.js +0 -1
  1426. package/build/chunk-IXQ7Y6Y5.js +0 -1
  1427. package/build/chunk-J72TLM2F.js +0 -1
  1428. package/build/chunk-JQYBCTVW.js +0 -1
  1429. package/build/chunk-JT54SXJ7.js +0 -1
  1430. package/build/chunk-JWC3XDE4.js +0 -1
  1431. package/build/chunk-JYJ3D2X6.js +0 -1
  1432. package/build/chunk-KGQT7R3W.js +0 -1
  1433. package/build/chunk-KM4UT2GM.js +0 -1
  1434. package/build/chunk-L3M6OM4B.js +0 -1
  1435. package/build/chunk-LDIEOZVR.js +0 -1
  1436. package/build/chunk-LDZG7EXA.js +0 -1
  1437. package/build/chunk-LLPG2AC6.js +0 -3
  1438. package/build/chunk-LMKY6Q27.js +0 -1
  1439. package/build/chunk-LOJTJZSX.js +0 -1
  1440. package/build/chunk-LONKQ3XM.js +0 -1
  1441. package/build/chunk-M7YGOEQF.js +0 -1
  1442. package/build/chunk-MTJECG6U.js +0 -1
  1443. package/build/chunk-MYFLXP7G.js +0 -1
  1444. package/build/chunk-NLAQMZT4.js +0 -1
  1445. package/build/chunk-NLEKLEHC.js +0 -2
  1446. package/build/chunk-NLOKMDQY.js +0 -1
  1447. package/build/chunk-NLPYBEGY.js +0 -1
  1448. package/build/chunk-NQVCWKMH.js +0 -1
  1449. package/build/chunk-OFBKWUDT.js +0 -1
  1450. package/build/chunk-OJJ2Q5XK.js +0 -1
  1451. package/build/chunk-OLPNHTE7.js +0 -1
  1452. package/build/chunk-OYEIM6ED.js +0 -2
  1453. package/build/chunk-P6K4PD7Y.js +0 -1
  1454. package/build/chunk-PX7SYRBV.js +0 -1
  1455. package/build/chunk-QF32XNU6.js +0 -1
  1456. package/build/chunk-QFMHEDCR.js +0 -1
  1457. package/build/chunk-QGXXI4EO.js +0 -1
  1458. package/build/chunk-RQ2V5JZH.js +0 -1
  1459. package/build/chunk-RUU3IQ7Y.js +0 -1
  1460. package/build/chunk-RWXGVZUC.js +0 -1
  1461. package/build/chunk-S2BQCMBY.js +0 -1
  1462. package/build/chunk-SZBR7LB3.js +0 -1
  1463. package/build/chunk-T3BFBXVJ.js +0 -1
  1464. package/build/chunk-TG2IA55S.js +0 -1
  1465. package/build/chunk-TUTEF6YD.js +0 -1
  1466. package/build/chunk-TZAF2TGI.js +0 -1
  1467. package/build/chunk-UB5L7C6S.js +0 -1
  1468. package/build/chunk-UEMTPYYH.js +0 -1
  1469. package/build/chunk-UF4FBI5V.js +0 -1
  1470. package/build/chunk-V44MUKYW.js +0 -1
  1471. package/build/chunk-V5OHALLD.js +0 -1
  1472. package/build/chunk-VJLQXTHX.js +0 -1
  1473. package/build/chunk-VNK7I7AL.js +0 -1
  1474. package/build/chunk-WGCHJPEZ.js +0 -1
  1475. package/build/chunk-WGPV3VEK.js +0 -4
  1476. package/build/chunk-WHWKA4SY.js +0 -1
  1477. package/build/chunk-WX7HFBCU.js +0 -1
  1478. package/build/chunk-X5KEG2KP.js +0 -1
  1479. package/build/chunk-XQVSYDRO.js +0 -1
  1480. package/build/chunk-XRTET45W.js +0 -1
  1481. package/build/chunk-XUDGW7IY.js +0 -1
  1482. package/build/chunk-XXZJ5D5P.js +0 -1
  1483. package/build/chunk-XY57JRPE.js +0 -1
  1484. package/build/chunk-XZORYOIS.js +0 -16
  1485. package/build/chunk-YLE4Q6WH.js +0 -1
  1486. package/build/chunk-YTBVTQNQ.js +0 -1
  1487. package/build/chunk-YVHYNRRL.js +0 -1
  1488. package/build/chunk-ZCSUNBRA.js +0 -1
  1489. package/build/chunk-ZLWJCX4K.js +0 -1
  1490. package/build/chunk-ZMTLSAZW.js +0 -1
  1491. package/build/chunk-ZN4NGPK4.js +0 -2
  1492. package/build/chunk-ZTHZGDV6.js +0 -1
  1493. package/build/chunk-ZUBHIDDI.js +0 -1
  1494. package/build/chunk-ZWJTEKFP.js +0 -1
@@ -0,0 +1,97 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
13
+ import { memo } from 'react';
14
+ import { AnimatePresence, motion } from 'framer-motion';
15
+ import { useTranslation } from 'react-i18next';
16
+ import Dropdown from '../../../DropdownMenu';
17
+ import Tooltip from '../../../Tooltip';
18
+ import { TableCell } from '../../../TableCells';
19
+ import StyledBadge, { BadgeVariants } from '../../../CountBadge';
20
+ import { jsonBlackIcon, rowIdIcon } from '../../../../constants/index.js';
21
+ import ActionIconsVariants from './components/ActionIconsVariants';
22
+ import { actionIcons, colorToVariant, flags } from './constant';
23
+ import { useActionCell } from './hooks/useActionCell';
24
+ import { ActionCellContainer, ActionIcon, ActionsIconContainer } from './style';
25
+ import { IDButton } from '../IDButton';
26
+ import { BadgeWrapper, IdButtonContainer, TextLabel, TransparentButton } from '../style';
27
+ export const ActionCell = memo((_a) => {
28
+ var _b, _c;
29
+ var { flag, actions, flagTooltip, flagsCount, dropdownAction, onCloseDropdown, isDropdownShown = true, row, showJsonViewer = true, isTextShown, showIdButton = true, rowId, onJsonViewClick, renderDropdown, startSlot } = _a, props = __rest(_a, ["flag", "actions", "flagTooltip", "flagsCount", "dropdownAction", "onCloseDropdown", "isDropdownShown", "row", "showJsonViewer", "isTextShown", "showIdButton", "rowId", "onJsonViewClick", "renderDropdown", "startSlot"]);
30
+ const { t } = useTranslation();
31
+ const { open, anchorEl, filteredActions, isAnyActionLoading, isAnyActionHasError, isAnyActionSuccessful, areThereAnyShownActions, handleClick, handleClose, setAnchorEl, } = useActionCell({ actions, isDropdownShown, onCloseDropdown, renderDropdown });
32
+ return (_jsx(TableCell, Object.assign({}, props, { sx: {
33
+ overflow: 'visible',
34
+ } }, { children: _jsxs(ActionCellContainer, Object.assign({ "data-testid": "ActionCell_ActionCellContainer" }, { children: [startSlot, flag && (_jsx(_Fragment, { children: isTextShown ? (_jsx(Tooltip, Object.assign({ title: flagTooltip }, { children: _jsx(TextLabel, Object.assign({ "data-testid": "ActionCell_FlagLabel", sx: {
35
+ textAlign: 'left',
36
+ justifyContent: 'flex-start',
37
+ } }, { children: flagTooltip })) }))) : (_jsx(Tooltip, Object.assign({ title: flagTooltip }, { children: _jsxs(BadgeWrapper, Object.assign({ "data-testid": "ActionCell_FlagBadge", sx: {
38
+ paddingInline: '12px',
39
+ width: 'auto',
40
+ alignItems: 'center',
41
+ position: 'relative',
42
+ zIndex: 21,
43
+ gap: '0px',
44
+ }, whileHover: ['animate', 'fadeIn'], variants: {
45
+ animate: {
46
+ gap: '4px',
47
+ },
48
+ } }, { children: [_jsx(ActionIcon, { "data-testid": "ActionCell_FlagIcon", sx: {
49
+ width: '12px',
50
+ height: '11px',
51
+ }, src: (_b = flags[flag]) === null || _b === void 0 ? void 0 : _b.icon, alt: "flag-icon" }), (flagsCount !== null && flagsCount !== void 0 ? flagsCount : 0) > 1 && (_jsx(motion.div, Object.assign({ "data-testid": "ActionCell_StyledBadge_Container", style: {
52
+ alignItems: 'center',
53
+ justifyContent: 'center',
54
+ gap: '4px',
55
+ display: 'flex',
56
+ zIndex: 10,
57
+ }, initial: { width: 0, opacity: 0 }, transition: {
58
+ animate: {
59
+ duration: 0.5,
60
+ },
61
+ fadeIn: {
62
+ duration: 0.2,
63
+ },
64
+ }, variants: {
65
+ animate: {
66
+ width: 'auto',
67
+ },
68
+ fadeIn: {
69
+ transition: {
70
+ delay: 0.5,
71
+ },
72
+ opacity: 1,
73
+ },
74
+ } }, { children: _jsxs(StyledBadge, Object.assign({ compact: true, variant: colorToVariant[(_c = flags[flag]) === null || _c === void 0 ? void 0 : _c.color] || BadgeVariants.ORANGE, "data-testid": "ActionCell_StyledBadge" }, { children: [flagsCount, "x"] })) })))] })) }))) })), showIdButton && _jsx(IDButton, { id: rowId || row.id, icon: rowIdIcon }), _jsxs("div", Object.assign({ "data-testid": "ActionCell_IconsContainer", style: {
75
+ display: 'flex',
76
+ alignItems: 'center',
77
+ justifyContent: 'center',
78
+ gap: '5px',
79
+ } }, { children: [showJsonViewer && (_jsx(_Fragment, { children: _jsx(TransparentButton, Object.assign({ onClick: onJsonViewClick, type: "button", "data-testid": "ActionCell_TransparentButton" }, { children: _jsx(Tooltip, Object.assign({ title: t('jsonViewer') }, { children: _jsx(IdButtonContainer, Object.assign({ "data-testid": "ActionCell_IdButtonContainer" }, { children: _jsx(motion.img, { src: jsonBlackIcon, alt: "icon" }, "id-icon") })) })) })) })), _jsxs(ActionsIconContainer, Object.assign({ id: "styled-popover", selected: !!dropdownAction || open, "data-testid": "ActionCell_ActionsIconContainer", "data-is-active": areThereAnyShownActions, sx: Object.assign({}, (!areThereAnyShownActions && {
80
+ pointerEvents: 'none',
81
+ })) }, { children: [_jsx(TransparentButton, Object.assign({ onClick: handleClick, "data-testid": "ActionCell_ActionsIconContainer_TransparentButton", "data-is-active": areThereAnyShownActions, sx: Object.assign({}, (!areThereAnyShownActions && {
82
+ pointerEvents: 'none',
83
+ })) }, { children: _jsx(AnimatePresence, Object.assign({ mode: "wait" }, { children: _jsx(ActionIconsVariants, { isAnyActionLoading: isAnyActionLoading, isAnyActionHasError: isAnyActionHasError, isAnyActionSuccessful: isAnyActionSuccessful, areThereAnyShownActions: areThereAnyShownActions }) })) })), renderDropdown ? (renderDropdown(anchorEl, setAnchorEl)) : (_jsxs(_Fragment, { children: [dropdownAction, areThereAnyShownActions && (_jsx(Dropdown, { style: { zIndex: 2000 }, open: open, onClose: handleClose, anchorEl: anchorEl, menuItems: filteredActions.map((action) => {
84
+ var _a;
85
+ return (Object.assign(Object.assign({}, action), { onClick: (e) => {
86
+ var _a;
87
+ (_a = action === null || action === void 0 ? void 0 : action.onClick) === null || _a === void 0 ? void 0 : _a.call(action, e);
88
+ if (!action.hasActionMenu) {
89
+ handleClose();
90
+ }
91
+ }, onRightClick: (e) => {
92
+ var _a;
93
+ (_a = action === null || action === void 0 ? void 0 : action.onRightClick) === null || _a === void 0 ? void 0 : _a.call(action, e);
94
+ handleClose();
95
+ }, icon: action.customIcon || (_jsx(ActionIcon, { icon: action.icon, src: (_a = action.iconSrc) !== null && _a !== void 0 ? _a : (action.icon && actionIcons[action.icon]), initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 } }, `action.label-${action.label.trim()}`)) }));
96
+ }) }))] }))] }))] }))] })) })));
97
+ });
@@ -0,0 +1,51 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { memo } from 'react';
14
+ import { AnimatePresence } from 'framer-motion';
15
+ import Dropdown from '../../../../DropdownMenu';
16
+ import { TableCell } from '../../../../TableCells';
17
+ import ActionIconsVariants from '../components/ActionIconsVariants';
18
+ import { actionIcons } from '../constant';
19
+ import { useActionCell } from '../hooks/useActionCell';
20
+ import { ActionIcon, ActionsIconContainer } from '../style';
21
+ import { TransparentButton } from '../../style';
22
+ function ActionIconColumn(_a) {
23
+ var { actions, dropdownAction, onCloseDropdown, isDropdownShown = true, renderDropdown } = _a, props = __rest(_a, ["actions", "dropdownAction", "onCloseDropdown", "isDropdownShown", "renderDropdown"]);
24
+ const { open, anchorEl, filteredActions, isAnyActionLoading, isAnyActionHasError, isAnyActionSuccessful, areThereAnyShownActions, handleClick, handleClose, setAnchorEl, } = useActionCell({ actions, isDropdownShown, onCloseDropdown, renderDropdown });
25
+ return (_jsx(TableCell, Object.assign({}, props, { sx: {
26
+ overflow: 'visible',
27
+ } }, { children: _jsx("div", Object.assign({ "data-testid": "ActionIconColumn_Container", style: {
28
+ display: 'flex',
29
+ alignItems: 'center',
30
+ justifyContent: 'center',
31
+ gap: '5px',
32
+ } }, { children: _jsxs(ActionsIconContainer, Object.assign({ id: "styled-popover", selected: !!dropdownAction || open, "data-testid": "ActionIconColumn_ActionsIconContainer", "data-is-active": areThereAnyShownActions, sx: Object.assign({}, (!areThereAnyShownActions && {
33
+ pointerEvents: 'none',
34
+ })) }, { children: [_jsx(TransparentButton, Object.assign({ onClick: handleClick, "data-testid": "ActionIconColumn_ActionsIconContainer_TransparentButton", "data-is-active": areThereAnyShownActions, sx: Object.assign({}, (!areThereAnyShownActions && {
35
+ pointerEvents: 'none',
36
+ })) }, { children: _jsx(AnimatePresence, Object.assign({ mode: "wait" }, { children: _jsx(ActionIconsVariants, { isAnyActionLoading: isAnyActionLoading, isAnyActionHasError: isAnyActionHasError, isAnyActionSuccessful: isAnyActionSuccessful, areThereAnyShownActions: areThereAnyShownActions }) })) })), renderDropdown ? (renderDropdown(anchorEl, setAnchorEl)) : (_jsxs(_Fragment, { children: [dropdownAction, areThereAnyShownActions && (_jsx(Dropdown, { style: { zIndex: 2000 }, open: open, onClose: handleClose, anchorEl: anchorEl, menuItems: filteredActions.map((action) => {
37
+ var _a;
38
+ return (Object.assign(Object.assign({}, action), { onClick: (e) => {
39
+ var _a;
40
+ (_a = action === null || action === void 0 ? void 0 : action.onClick) === null || _a === void 0 ? void 0 : _a.call(action, e);
41
+ if (!action.hasActionMenu) {
42
+ handleClose();
43
+ }
44
+ }, onRightClick: (e) => {
45
+ var _a;
46
+ (_a = action === null || action === void 0 ? void 0 : action.onRightClick) === null || _a === void 0 ? void 0 : _a.call(action, e);
47
+ handleClose();
48
+ }, icon: action.customIcon || (_jsx(ActionIcon, { icon: action.icon, src: (_a = action.iconSrc) !== null && _a !== void 0 ? _a : (action.icon && actionIcons[action.icon]), initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 } }, `action.label-${action.label.trim()}`)) }));
49
+ }) }))] }))] })) })) })));
50
+ }
51
+ export default memo(ActionIconColumn);
@@ -0,0 +1,21 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { memo } from 'react';
3
+ import { useTranslation } from 'react-i18next';
4
+ import Tooltip from '../../../../Tooltip';
5
+ import { actionFailIcon, actionSuccessIcon, ellipsisHorizontalIcon, spinnerLoadingIcon } from '../../../../../constants/index.js';
6
+ import { ActionIcon, StyledActionsIcon } from '../style';
7
+ function ActionIconsVariants({ isAnyActionLoading, isAnyActionHasError, isAnyActionSuccessful, areThereAnyShownActions, }) {
8
+ const { t } = useTranslation();
9
+ if (isAnyActionHasError) {
10
+ return _jsx(ActionIcon, { src: actionFailIcon, initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 } }, "fail-icon");
11
+ }
12
+ if (isAnyActionSuccessful) {
13
+ return _jsx(ActionIcon, { src: actionSuccessIcon, initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 } }, "success-icon");
14
+ }
15
+ if (isAnyActionLoading) {
16
+ return _jsx(ActionIcon, { src: spinnerLoadingIcon, className: "spinner-loader" }, "spinner-icon");
17
+ }
18
+ return (_jsx(Tooltip, Object.assign({ title: t('moreActions') }, { children: _jsx(StyledActionsIcon, { alt: "more", src: ellipsisHorizontalIcon, isActive: areThereAnyShownActions }, "ellipsis-icon") })));
19
+ }
20
+ ActionIconsVariants.displayName = 'ActionIconsVariants';
21
+ export default memo(ActionIconsVariants);
@@ -0,0 +1,74 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
13
+ import { memo } from 'react';
14
+ import { motion } from 'framer-motion';
15
+ import Tooltip from '../../../../Tooltip';
16
+ import { TableCell } from '../../../../TableCells';
17
+ import StyledBadge, { BadgeVariants } from '../../../../CountBadge';
18
+ import StatusChip from '../../../../StatusChip';
19
+ import { colorToVariant, flags } from '../constant';
20
+ import { ActionCellContainer, ActionIcon } from '../style';
21
+ import { BadgeWrapper, TextLabel } from '../../style';
22
+ function ActionsColumn(_a) {
23
+ var _b, _c;
24
+ var { flag, flagTooltip, flagsCount, row, showJsonViewer = true, isTextShown, showIdButton = true, rowId, onJsonViewClick, tableMode } = _a, props = __rest(_a, ["flag", "flagTooltip", "flagsCount", "row", "showJsonViewer", "isTextShown", "showIdButton", "rowId", "onJsonViewClick", "tableMode"]);
25
+ return (_jsx(TableCell, Object.assign({}, props, { sx: {
26
+ overflow: 'visible',
27
+ } }, { children: _jsxs(ActionCellContainer, Object.assign({ "data-testid": "ActionsColumn_ActionCellContainer", tableMode: tableMode }, { children: [flag && (_jsx(_Fragment, { children: isTextShown ? (_jsx(Tooltip, Object.assign({ title: flagTooltip }, { children: _jsx(TextLabel, Object.assign({ "data-testid": "ActionsColumn_FlagLabel", sx: {
28
+ textAlign: 'left',
29
+ justifyContent: 'flex-start',
30
+ } }, { children: flagTooltip })) }))) : (_jsx(Tooltip, Object.assign({ title: flagTooltip }, { children: _jsxs(BadgeWrapper, Object.assign({ "data-testid": "ActionsColumn_FlagBadge", sx: {
31
+ paddingInline: '12px',
32
+ width: 'auto',
33
+ alignItems: 'center',
34
+ position: 'relative',
35
+ zIndex: 21,
36
+ gap: '0px',
37
+ }, whileHover: ['animate', 'fadeIn'], variants: {
38
+ animate: {
39
+ gap: '4px',
40
+ },
41
+ } }, { children: [_jsx(ActionIcon, { "data-testid": "ActionsColumn_FlagIcon", sx: {
42
+ width: '12px',
43
+ height: '11px',
44
+ }, src: (_b = flags[flag]) === null || _b === void 0 ? void 0 : _b.icon, alt: "flag-icon" }), (flagsCount !== null && flagsCount !== void 0 ? flagsCount : 0) > 1 && (_jsx(motion.div, Object.assign({ "data-testid": "ActionsColumn_StyledBadge_Container", style: {
45
+ alignItems: 'center',
46
+ justifyContent: 'center',
47
+ gap: '4px',
48
+ display: 'flex',
49
+ zIndex: 10,
50
+ }, initial: { width: 0, opacity: 0 }, transition: {
51
+ animate: {
52
+ duration: 0.5,
53
+ },
54
+ fadeIn: {
55
+ duration: 0.2,
56
+ },
57
+ }, variants: {
58
+ animate: {
59
+ width: 'auto',
60
+ },
61
+ fadeIn: {
62
+ transition: {
63
+ delay: 0.5,
64
+ },
65
+ opacity: 1,
66
+ },
67
+ } }, { children: _jsxs(StyledBadge, Object.assign({ compact: true, variant: colorToVariant[(_c = flags[flag]) === null || _c === void 0 ? void 0 : _c.color] || BadgeVariants.ORANGE, "data-testid": "ActionsColumn_StyledBadge" }, { children: [flagsCount, "x"] })) })))] })) }))) })), showIdButton && _jsx(StatusChip, Object.assign({ minWidth: "213px" }, { children: rowId || row.id })), _jsx("div", Object.assign({ "data-testid": "ActionsColumn_IconsContainer", style: {
68
+ display: 'flex',
69
+ alignItems: 'center',
70
+ justifyContent: 'center',
71
+ gap: '5px',
72
+ } }, { children: showJsonViewer && _jsx(StatusChip, Object.assign({ onClick: onJsonViewClick }, { children: "View API" })) }))] })) })));
73
+ }
74
+ export default memo(ActionsColumn);
@@ -0,0 +1,3 @@
1
+ export { default as ActionIconsVariants } from './ActionIconsVariants';
2
+ export { default as ActionsColumn } from './ActionsColumn';
3
+ export { default as ActionIconColumn } from './ActionIconColumn';
@@ -0,0 +1,29 @@
1
+ import { BadgeVariants } from '../../../CountBadge';
2
+ import { flagIcon, clockIcon, disputeIcon, redFlagIcon, cancelledIcon, closedFlagIcon, orangeFlagIcon, refundInitiatedIcon, viewInvoiceIcon, reverseActionIcon, voidedIcon, capturedDropdownIcon, destinationReversedTableIcon, brandPlaceholderIcon, usersIcon, clipboardIcon, jsonBlackIcon, receiptBillIcon, } from '../../../../constants/index.js';
3
+ export const flags = {
4
+ GRAY: { icon: closedFlagIcon, color: '#CFCFCF' },
5
+ ORANGE: { icon: orangeFlagIcon, color: '#FFD503' },
6
+ RED: { icon: redFlagIcon, color: '#FF0000' },
7
+ };
8
+ export const colorToVariant = {
9
+ gray: BadgeVariants.GRAY,
10
+ red: BadgeVariants.RED,
11
+ orange: BadgeVariants.ORANGE,
12
+ };
13
+ export const actionIcons = {
14
+ flag: flagIcon,
15
+ dispute: disputeIcon,
16
+ refund: refundInitiatedIcon,
17
+ void: voidedIcon,
18
+ capture: capturedDropdownIcon,
19
+ cancel: cancelledIcon,
20
+ clock: clockIcon,
21
+ reverse: reverseActionIcon,
22
+ destination: destinationReversedTableIcon,
23
+ invoice: viewInvoiceIcon,
24
+ users: usersIcon,
25
+ brand: brandPlaceholderIcon,
26
+ clipboard: clipboardIcon,
27
+ viewApi: jsonBlackIcon,
28
+ viewReceipt: receiptBillIcon,
29
+ };
@@ -0,0 +1,37 @@
1
+ import { useEffect, useState } from 'react';
2
+ export function useActionCell({ actions, isDropdownShown, onCloseDropdown, renderDropdown }) {
3
+ const [anchorEl, setAnchorEl] = useState(null);
4
+ const open = Boolean(anchorEl);
5
+ const filteredActions = (actions || []).filter((a) => a.isShown !== false);
6
+ const isAnyActionLoading = filteredActions.some((a) => a.isLoading);
7
+ const isAnyActionHasError = filteredActions.some((a) => a.isError);
8
+ const isAnyActionSuccessful = filteredActions.some((a) => a.isSuccess);
9
+ const areThereAnyShownActions = filteredActions.length > 0 || !!renderDropdown;
10
+ const handleClick = (event) => {
11
+ if (isAnyActionLoading || !areThereAnyShownActions) {
12
+ return;
13
+ }
14
+ setAnchorEl(event.currentTarget);
15
+ };
16
+ const handleClose = () => {
17
+ setAnchorEl(null);
18
+ onCloseDropdown === null || onCloseDropdown === void 0 ? void 0 : onCloseDropdown();
19
+ };
20
+ useEffect(() => {
21
+ if (!isDropdownShown) {
22
+ setAnchorEl(null);
23
+ }
24
+ }, [isDropdownShown]);
25
+ return {
26
+ anchorEl,
27
+ open,
28
+ filteredActions,
29
+ isAnyActionLoading,
30
+ isAnyActionHasError,
31
+ isAnyActionSuccessful,
32
+ areThereAnyShownActions,
33
+ handleClick,
34
+ handleClose,
35
+ setAnchorEl,
36
+ };
37
+ }
@@ -0,0 +1,3 @@
1
+ export * from './ActionCell';
2
+ export * from './components';
3
+ export * from './type';
@@ -0,0 +1,29 @@
1
+ import { styled } from '@mui/material/styles';
2
+ import { motion } from 'framer-motion';
3
+ export const ActionCellContainer = styled('section', {
4
+ shouldForwardProp: (props) => props !== 'tableMode',
5
+ })(({ theme, tableMode }) => ({
6
+ display: 'flex',
7
+ alignItems: 'center',
8
+ justifyContent: 'flex-end',
9
+ textAlign: 'center',
10
+ borderRadius: '50%',
11
+ gap: tableMode === 'sheet' ? '4px' : theme.spacing(1),
12
+ overflow: 'visible',
13
+ }));
14
+ export const ActionsIconContainer = styled('span')(({ selected }) => (Object.assign(Object.assign({ overflow: 'visible', borderRadius: '50%', display: 'flex', justifyContent: 'center', alignItems: 'center', position: 'relative', '&:hover': {
15
+ boxShadow: '0px 0px 20px rgba(0, 0, 0, 0.18);',
16
+ } }, (selected && {
17
+ boxShadow: '0px 0px 20px rgba(0, 0, 0, 0.18);',
18
+ })), { span: {
19
+ flexGrow: 1,
20
+ } })));
21
+ export const StyledActionsIcon = styled('img', {
22
+ shouldForwardProp: (props) => props !== 'isActive',
23
+ })(({ isActive }) => (Object.assign({ width: '18px', height: '18px' }, (!isActive && {
24
+ pointerEvents: 'none',
25
+ filter: 'opacity(0.3)',
26
+ }))));
27
+ export const ActionIcon = styled(motion.img)(({ icon }) => (Object.assign({ width: '13.3px', height: '13.3px' }, (icon === 'cancel' && {
28
+ padding: '1.15px',
29
+ }))));
@@ -0,0 +1,51 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
13
+ import { useMemo } from 'react';
14
+ import { useTranslation } from 'react-i18next';
15
+ import { useTheme } from '@mui/material/styles';
16
+ import { CountAnimatedBadge } from '../../../CountBadge';
17
+ import { AgreementImageWrapper, paymentSourceAnimation } from '../../../CountBadge/style';
18
+ import { TableCell } from '../../../TableCells';
19
+ import Tooltip from '../../../Tooltip';
20
+ import { noAgreementIcon } from '../../../../constants/index.js';
21
+ import { formatOrdinal } from '../../../../utils/index.js';
22
+ import { agreementTypes, badgesTypes } from './constant';
23
+ import { BadgeTextWrapper, TextLabel, PaymentSourcesContainer, StyledSourceCell, StyledSourceImage } from './style';
24
+ function AgreementCell(_a) {
25
+ var { type, hasSavedCard, totalPaymentsCount, isTextShown } = _a, props = __rest(_a, ["type", "hasSavedCard", "totalPaymentsCount", "isTextShown"]);
26
+ const theme = useTheme();
27
+ const { t } = useTranslation();
28
+ const sources = useMemo(() => [
29
+ ...(hasSavedCard ? [badgesTypes.SAVED_TOKEN] : []),
30
+ ...((totalPaymentsCount || 0) > 0 ? [badgesTypes.COUNT] : []),
31
+ ...(type && agreementTypes[type] ? [agreementTypes[type]] : []),
32
+ ], [hasSavedCard, totalPaymentsCount, type]);
33
+ const countBadge = (index) => isTextShown ? (_jsx(AgreementImageWrapper, Object.assign({ "data-testid": "AgreementCell_countBadge", order: index, variants: paymentSourceAnimation(index, isTextShown ? 85 : 0) }, { children: _jsx(Tooltip, Object.assign({ title: t('totalPaymentCount', { amount: formatOrdinal(totalPaymentsCount) }) }, { children: _jsx(BadgeTextWrapper, { children: _jsxs(TextLabel, Object.assign({ "data-testid": "AgreementCell_totalPaymentsCount", sx: {
34
+ color: badgesTypes.COUNT.color,
35
+ } }, { children: ["x", totalPaymentsCount] })) }) })) }), index)) : (_jsx(CountAnimatedBadge, { totalPaymentsCount: totalPaymentsCount, index: index }, index));
36
+ const agreementSources = sources.map((source, index) => {
37
+ return source.label === 'countBadge' ? (countBadge(index)) : (_jsx(Tooltip, Object.assign({ title: t(source.label) }, { children: _jsx(AgreementImageWrapper, Object.assign({ order: index, variants: paymentSourceAnimation(index, index > 1 && isTextShown ? 62 : 0), sx: {
38
+ width: isTextShown ? 'auto' : '36px',
39
+ } }, { children: isTextShown ? (_jsx(BadgeTextWrapper, { children: _jsx(TextLabel, Object.assign({ "data-testid": "AgreementCell_agreementType", sx: {
40
+ color: source.color,
41
+ } }, { children: t(source.label) })) })) : (_jsx(StyledSourceImage, { src: source.icon, alt: "agreement" })) }), source.color) }), source.color));
42
+ });
43
+ const paymentSourcesCount = agreementSources.length;
44
+ const noAgreementBadge = (_jsx(Tooltip, Object.assign({ title: "No agreement" }, { children: _jsx(AgreementImageWrapper, Object.assign({ order: 0, variants: paymentSourceAnimation(0, 0), sx: {
45
+ width: isTextShown ? 'auto' : '36px',
46
+ } }, { children: isTextShown ? (_jsx(BadgeTextWrapper, { children: _jsx(TextLabel, Object.assign({ "data-testid": "AgreementCell_agreementType", sx: {
47
+ color: theme.palette.text.secondary,
48
+ } }, { children: "No agreement" })) })) : (_jsx(StyledSourceImage, { src: noAgreementIcon, alt: "no-agreement" })) }), "no-agreement") }), "no-agreement"));
49
+ return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(StyledSourceCell, Object.assign({ "data-testid": "AgreementCell" }, { children: _jsx(PaymentSourcesContainer, Object.assign({ layout: true, className: "payment-sources-container", "data-testid": "AgreementCell_PaymentSourcesContainer", whileHover: "animate", animate: "start", sourcesCount: paymentSourcesCount || 0, variants: { animate: { width: (paymentSourcesCount || 0) * (6 + 32) } } }, { children: (agreementSources === null || agreementSources === void 0 ? void 0 : agreementSources.length) > 0 ? agreementSources : noAgreementBadge })) })) })));
50
+ }
51
+ export default AgreementCell;
@@ -0,0 +1,32 @@
1
+ import { cardIcon, agreementOrderIcon, agreementSavedCardIcon, agreementSubscriptionIcon, agreementInstallmentIcon } from '../../../../constants/index.js';
2
+ export const agreementTypes = {
3
+ ORDER: {
4
+ label: 'order',
5
+ icon: agreementOrderIcon,
6
+ color: '#5E30EB',
7
+ },
8
+ SAVED_CARD: {
9
+ label: 'cardAgreement',
10
+ icon: agreementSavedCardIcon,
11
+ color: '#76BB40',
12
+ },
13
+ SUBSCRIPTION: {
14
+ label: 'subscription',
15
+ icon: agreementSubscriptionIcon,
16
+ color: '#00C7BE',
17
+ },
18
+ INSTALLMENT: {
19
+ label: 'installment',
20
+ icon: agreementInstallmentIcon,
21
+ color: '#32ADE6',
22
+ },
23
+ };
24
+ export const badgesTypes = Object.assign(Object.assign({}, agreementTypes), { SAVED_TOKEN: {
25
+ label: 'savedToken',
26
+ icon: cardIcon,
27
+ color: '#76BB40',
28
+ }, COUNT: {
29
+ label: 'countBadge',
30
+ icon: 'countBadge',
31
+ color: '#76BB40',
32
+ } });
@@ -0,0 +1,2 @@
1
+ export { default as AgreementCell } from './AgreementCell';
2
+ export * from './type';
@@ -0,0 +1,59 @@
1
+ import { styled } from '@mui/material';
2
+ import { motion } from 'framer-motion';
3
+ export const AgreementCellContainer = styled('span')(({ theme }) => ({
4
+ display: 'flex',
5
+ alignItems: 'center',
6
+ justifyContent: 'flex-start',
7
+ gap: theme.spacing(0.5),
8
+ }));
9
+ export const StyledAgreementCardIcon = styled('img')(() => ({
10
+ width: '35px',
11
+ height: '16px',
12
+ display: 'block',
13
+ }));
14
+ export const CardContainer = styled('span')(() => ({
15
+ display: 'flex',
16
+ alignItems: 'center',
17
+ justifyContent: 'center',
18
+ width: '14.67px',
19
+ height: '10px',
20
+ }));
21
+ export const CardImage = styled('img')(() => ({
22
+ maxWidth: '100%',
23
+ width: '100%',
24
+ }));
25
+ export const TextLabel = styled('span')(({ theme }) => ({
26
+ fontSize: '11px',
27
+ overflow: 'hidden',
28
+ textOverflow: 'ellipsis',
29
+ whiteSpace: 'nowrap',
30
+ padding: '2px 0',
31
+ color: theme.palette.text.primary,
32
+ }));
33
+ export const BadgeTextWrapper = styled('div')(() => ({
34
+ display: 'flex',
35
+ alignItems: 'center',
36
+ justifyContent: 'center',
37
+ paddingInline: '8px',
38
+ }));
39
+ export const PaymentSourcesContainer = styled(motion.span, { shouldForwardProp: (prop) => prop !== 'sourcesCount' })(({ theme, sourcesCount }) => ({
40
+ display: 'flex',
41
+ alignItems: 'center',
42
+ justifyContent: 'flex-start',
43
+ position: 'absolute',
44
+ minWidth: `${sourcesCount * 6 + 36}px `,
45
+ minHeight: '24px',
46
+ cursor: 'pointer',
47
+ backgroundColor: theme.palette.background.paper,
48
+ borderRadius: '16px',
49
+ }));
50
+ export const StyledSourceCell = styled('span')(({ theme }) => ({
51
+ display: 'flex',
52
+ alignItems: 'center',
53
+ justifyContent: 'flex-start',
54
+ gap: theme.spacing(1),
55
+ }));
56
+ export const StyledSourceImage = styled('img')(() => ({
57
+ maxWidth: '36px',
58
+ maxHeight: '24px',
59
+ }));
@@ -0,0 +1,24 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { Box } from '@mui/material';
14
+ import { TableCell } from '../../../TableCells';
15
+ import Tooltip from '../../../Tooltip';
16
+ import { CountryFlag, CurrencySymbol } from '../../../index.js';
17
+ import { AmountCellContainer } from './style';
18
+ import { ConversionTypeLabel, CurrencyInfo } from './components';
19
+ const tableMode = 'default';
20
+ function AmountCell(_a) {
21
+ var { conversionType, amount, currency, tooltipLabel, amountTooltipLabel } = _a, props = __rest(_a, ["conversionType", "amount", "currency", "tooltipLabel", "amountTooltipLabel"]);
22
+ return (_jsx(TableCell, Object.assign({}, props, { children: _jsxs(AmountCellContainer, { children: [_jsx(Tooltip, Object.assign({ title: tooltipLabel || '' }, { children: _jsx(Box, { children: _jsx(ConversionTypeLabel, { tableMode: tableMode, conversionType: conversionType }) }) })), currency && (_jsx(Tooltip, Object.assign({ title: _jsx(CurrencySymbol, { currency: currency }) }, { children: _jsx(CountryFlag, { currencyCode: currency }) }))), _jsx(Tooltip, Object.assign({ title: amountTooltipLabel }, { children: _jsx(CurrencyInfo, { tableMode: tableMode, amount: amount, currency: currency }) }))] }) })));
23
+ }
24
+ export default AmountCell;
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { StatusChipWithCopy } from '../../../index.js';
3
+ import { formatAmountWithCurrency } from '../../../../utils/index.js';
4
+ import { ConversionTypeLabel, CurrencyInfo } from './components';
5
+ const tableMode = 'sheet';
6
+ function AmountCellSheet({ conversionType, amount, currency, selectionProps = {}, chipIndex = 0 }) {
7
+ const { integerAmount, decimalAmount } = formatAmountWithCurrency(amount, currency);
8
+ return (_jsxs(StatusChipWithCopy, Object.assign({ chipIndex: chipIndex, copyText: amount ? `${integerAmount}.${decimalAmount}` : '-', selectionProps: selectionProps }, { children: [_jsx(ConversionTypeLabel, { tableMode: tableMode, conversionType: conversionType }), _jsx(CurrencyInfo, { tableMode: tableMode, amount: amount, currency: currency })] })));
9
+ }
10
+ export default AmountCellSheet;
@@ -0,0 +1,23 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { TableCell } from '../../../TableCells';
14
+ import Tooltip from '../../../Tooltip';
15
+ import { CurrencySymbol } from '../../../index.js';
16
+ import { AmountCellContainer } from './style';
17
+ import { ConversionTypeLabel, CurrencyInfo } from './components';
18
+ const tableMode = 'text';
19
+ function AmountCellText(_a) {
20
+ var { conversionType, amount, currency, tooltipLabel, amountTooltipLabel } = _a, props = __rest(_a, ["conversionType", "amount", "currency", "tooltipLabel", "amountTooltipLabel"]);
21
+ return (_jsx(TableCell, Object.assign({}, props, { children: _jsxs(AmountCellContainer, { children: [_jsx(Tooltip, Object.assign({ title: tooltipLabel || '' }, { children: _jsx(ConversionTypeLabel, { tableMode: tableMode, conversionType: conversionType }) })), _jsx(Tooltip, Object.assign({ title: _jsx(CurrencySymbol, { currency: currency }) }, { children: _jsx("span", {}) })), _jsx(Tooltip, Object.assign({ title: amountTooltipLabel }, { children: _jsx(CurrencyInfo, { tableMode: tableMode, amount: amount, currency: currency }) }))] }) })));
22
+ }
23
+ export default AmountCellText;
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { conversionTypesLabels, formatAmountWithCurrency } from '../../../../../utils/index.js';
3
+ import { CurrencySymbol } from '../../../../index.js';
4
+ import { ConversionTooltip, ConversionTooltipRow } from '../style';
5
+ export const AmountConversionTooltipLabel = ({ type, selectAmount, selectCurrency, requestAmount, requestCurrency, merchantAmount, merchantCurrency, }) => {
6
+ const customerSelectValue = formatAmountWithCurrency(selectAmount, selectCurrency);
7
+ const chargeValue = formatAmountWithCurrency(requestAmount, requestCurrency);
8
+ const settlementValue = formatAmountWithCurrency(merchantAmount, merchantCurrency);
9
+ return (_jsxs(ConversionTooltip, Object.assign({ sx: {
10
+ textAlign: 'right',
11
+ justifyContent: 'flex-end',
12
+ } }, { children: [_jsx("span", Object.assign({ style: {
13
+ fontWeight: 'bold',
14
+ } }, { children: type ? conversionTypesLabels[type] : '' })), _jsxs(ConversionTooltip, { children: [type !== 'fx' && (_jsxs(ConversionTooltipRow, { children: [_jsx("span", { children: "Customer Selected" }), ' ', _jsxs("span", { children: [_jsx(CurrencySymbol, { currency: selectCurrency }), " ", customerSelectValue.integerAmount, ".", customerSelectValue.decimalAmount] })] })), _jsxs(ConversionTooltipRow, { children: [_jsx("span", { children: "Charge" }), ' ', _jsxs("span", { children: [_jsx(CurrencySymbol, { currency: requestCurrency }), " ", chargeValue.integerAmount, ".", chargeValue.decimalAmount] })] }), _jsxs(ConversionTooltipRow, { children: [_jsx("span", { children: "Settlement" }), ' ', _jsxs("span", { children: [_jsx(CurrencySymbol, { currency: merchantCurrency }), " ", settlementValue.integerAmount, ".", settlementValue.decimalAmount] })] })] })] })));
15
+ };
@@ -0,0 +1,7 @@
1
+ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
+ import { ConversionBadge } from '../style';
3
+ export const ConversionTypeLabel = ({ tableMode, conversionType }) => {
4
+ if (!conversionType)
5
+ return _jsx(_Fragment, {});
6
+ return (_jsx(ConversionBadge, Object.assign({ tableMode: tableMode, className: "conversion-type" }, { children: conversionType })));
7
+ };
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { CurrencySymbol } from '../../../../index.js';
3
+ import { CurrencySpan, DecimalSpan } from '../style';
4
+ import { formatAmountWithCurrency } from '../../../../../utils/index.js';
5
+ export const CurrencyInfo = ({ tableMode, amount, currency }) => {
6
+ const { integerAmount, decimalAmount } = formatAmountWithCurrency(amount, currency);
7
+ return (_jsx(CurrencySpan, Object.assign({ tableMode: tableMode }, { children: amount !== undefined ? (_jsxs(_Fragment, { children: [_jsx("span", { children: _jsx(CurrencySymbol, { currency: currency, fontSize: 10 }) }), ' ', integerAmount, decimalAmount && (_jsxs(_Fragment, { children: [".", _jsx(DecimalSpan, { children: decimalAmount })] }))] })) : (_jsx("span", { children: "-" })) })));
8
+ };
@@ -0,0 +1,3 @@
1
+ export * from './AmountConversionTooltipLabel';
2
+ export * from './ConversionTypeLabel';
3
+ export * from './CurrencyInfo';