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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1300) hide show
  1. package/build/components/AccordionAdapter/style.d.ts +2 -2
  2. package/build/components/AccountDropdown/style.d.ts +1 -1
  3. package/build/components/ActionMenu/ActionMenuDropDown.js +4 -3
  4. package/build/components/ActionMenu/ActionMenuItem.js +4 -4
  5. package/build/components/ActionMenu/style.d.ts +1 -2
  6. package/build/components/ActionMenu/style.js +0 -4
  7. package/build/components/ActivityAreaChart/components/ChartTooltip.js +4 -3
  8. package/build/components/ActivityAreaChart/styles.d.ts +3 -4
  9. package/build/components/ActivityAreaChart/styles.js +0 -6
  10. package/build/components/Amount/TotalAmount/Loading.d.ts +1 -0
  11. package/build/components/Amount/TotalAmount/Loading.js +9 -0
  12. package/build/components/Amount/TotalAmount/TotalAmount.d.ts +15 -0
  13. package/build/components/Amount/TotalAmount/TotalAmount.js +62 -0
  14. package/build/components/Amount/TotalAmount/index.d.ts +1 -0
  15. package/build/components/Amount/TotalAmount/index.js +1 -0
  16. package/build/components/Amount/TotalAmount/style.d.ts +11 -0
  17. package/build/components/Amount/TotalAmount/style.js +26 -0
  18. package/build/components/Amount/index.d.ts +1 -0
  19. package/build/components/Amount/index.js +1 -0
  20. package/build/components/AmountConversionFilter/AmountConversionFilter.d.ts +19 -0
  21. package/build/components/AmountConversionFilter/AmountConversionFilter.js +18 -0
  22. package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.d.ts +9 -0
  23. package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.js +39 -0
  24. package/build/components/AmountConversionFilter/index.d.ts +1 -0
  25. package/build/components/AmountConversionFilter/index.js +1 -0
  26. package/build/components/AmountConversionFilter/style.d.ts +7 -0
  27. package/build/components/AmountConversionFilter/style.js +47 -0
  28. package/build/components/AmountInput/AmountInput.d.ts +14 -0
  29. package/build/components/AmountInput/AmountInput.js +44 -0
  30. package/build/components/AmountInput/index.d.ts +2 -0
  31. package/build/components/AmountInput/index.js +2 -0
  32. package/build/components/AmountInput/style.d.ts +8 -0
  33. package/build/components/AmountInput/style.js +30 -0
  34. package/build/components/AmountStatusChip/AmountStatusChip.d.ts +9 -0
  35. package/build/components/AmountStatusChip/AmountStatusChip.js +20 -0
  36. package/build/components/AmountStatusChip/index.d.ts +3 -0
  37. package/build/components/AmountStatusChip/index.js +2 -0
  38. package/build/components/AmountStatusChip/style.d.ts +3 -0
  39. package/build/components/AmountStatusChip/style.js +13 -0
  40. package/build/components/AnimatedSpinnerIcon/AnimatedSpinnerIcon.d.ts +8 -0
  41. package/build/components/AnimatedSpinnerIcon/AnimatedSpinnerIcon.js +7 -0
  42. package/build/components/AnimatedSpinnerIcon/index.d.ts +2 -0
  43. package/build/components/AnimatedSpinnerIcon/index.js +2 -0
  44. package/build/components/AnimatedSpinnerIcon/style.d.ts +280 -0
  45. package/build/components/AnimatedSpinnerIcon/style.js +8 -0
  46. package/build/components/AppServices/AppServices.d.ts +9 -5
  47. package/build/components/AppServices/AppServices.js +13 -20
  48. package/build/components/AppServices/ServiceItem.d.ts +2 -4
  49. package/build/components/AppServices/ServiceItem.js +6 -10
  50. package/build/components/AppServices/style.d.ts +1 -1
  51. package/build/components/AppServicesBar/AppServicesBar.d.ts +22 -0
  52. package/build/components/AppServicesBar/AppServicesBar.js +18 -0
  53. package/build/components/AppServicesBar/index.d.ts +3 -0
  54. package/build/components/AppServicesBar/index.js +3 -0
  55. package/build/components/AppServicesBar/style.d.ts +4 -0
  56. package/build/components/AppServicesBar/style.js +6 -0
  57. package/build/components/AppWindowWrapper/AppWindow/AppWindow.d.ts +1 -1
  58. package/build/components/AppWindowWrapper/AppWindow/AppWindow.js +2 -2
  59. package/build/components/AppWindowWrapper/AppWindow/style.d.ts +2 -2
  60. package/build/components/AppWindowWrapper/AppWindow/type.d.ts +2 -0
  61. package/build/components/AppWindowWrapper/context/Provider.d.ts +1 -1
  62. package/build/components/AppWindowWrapper/context/Provider.js +4 -3
  63. package/build/components/AppWindowWrapper/context/type.d.ts +4 -0
  64. package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.d.ts +1 -1
  65. package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.js +2 -2
  66. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.d.ts +1 -1
  67. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.js +2 -2
  68. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/type.d.ts +3 -2
  69. package/build/components/AppWindowWrapper/headers/AccountHeader/type.d.ts +2 -1
  70. package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeaderBase.d.ts +1 -1
  71. package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeaderBase.js +2 -2
  72. package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.d.ts +9 -0
  73. package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.js +21 -0
  74. package/build/components/AuthenticationTypeChip/constants.d.ts +16 -0
  75. package/build/components/AuthenticationTypeChip/constants.js +13 -0
  76. package/build/components/AuthenticationTypeChip/index.d.ts +3 -0
  77. package/build/components/AuthenticationTypeChip/index.js +2 -0
  78. package/build/components/Autocomplete/Autocomplete.d.ts +10 -0
  79. package/build/components/Autocomplete/Autocomplete.js +33 -0
  80. package/build/components/Autocomplete/index.d.ts +2 -0
  81. package/build/components/Autocomplete/index.js +1 -0
  82. package/build/components/Autocomplete/style.d.ts +4 -0
  83. package/build/components/Autocomplete/style.js +47 -0
  84. package/build/components/BackgroundAnimation/BackgroundAnimation.js +28 -0
  85. package/build/components/BackgroundAnimation/Blob/Blob.js +2 -0
  86. package/build/components/BetaBanner/BetaBanner.d.ts +1 -0
  87. package/build/components/BetaBanner/BetaBanner.js +5 -0
  88. package/build/components/BetaBanner/index.d.ts +2 -0
  89. package/build/components/BetaBanner/index.js +2 -0
  90. package/build/components/BetaBanner/style.d.ts +6 -0
  91. package/build/components/BetaBanner/style.js +18 -0
  92. package/build/components/BrandLogo/BrandLogo.d.ts +12 -0
  93. package/build/components/BrandLogo/BrandLogo.js +35 -0
  94. package/build/components/BrandLogo/Loading.d.ts +6 -0
  95. package/build/components/BrandLogo/Loading.js +3 -0
  96. package/build/components/BrandLogo/index.d.ts +1 -0
  97. package/build/components/BrandLogo/index.js +1 -0
  98. package/build/components/Button/style.d.ts +1 -1
  99. package/build/components/Calender/style.d.ts +4 -4
  100. package/build/components/Chip/style.d.ts +10 -10
  101. package/build/components/Chip/style.js +1 -0
  102. package/build/components/CircularProgressWithLabel/style.d.ts +1 -1
  103. package/build/components/ColorPicker/ColorPicker.d.ts +14 -0
  104. package/build/components/ColorPicker/ColorPicker.js +35 -0
  105. package/build/components/ColorPicker/ColorPickerPanel.d.ts +8 -0
  106. package/build/components/ColorPicker/ColorPickerPanel.js +56 -0
  107. package/build/components/ColorPicker/ColorSchemeSelect.d.ts +7 -0
  108. package/build/components/ColorPicker/ColorSchemeSelect.js +35 -0
  109. package/build/components/ColorPicker/HexaFields.d.ts +8 -0
  110. package/build/components/ColorPicker/HexaFields.js +83 -0
  111. package/build/components/ColorPicker/RGBAFields.d.ts +8 -0
  112. package/build/components/ColorPicker/RGBAFields.js +37 -0
  113. package/build/components/ColorPicker/index.d.ts +2 -0
  114. package/build/components/ColorPicker/index.js +2 -0
  115. package/build/components/ColorPicker/style.d.ts +30 -0
  116. package/build/components/ColorPicker/style.js +157 -0
  117. package/build/components/ConfirmDialog/context/index.d.ts +1 -1
  118. package/build/components/ConfirmDialog/context/index.js +1 -1
  119. package/build/components/ConfirmDialog/styles.d.ts +1 -1
  120. package/build/components/CountBadge/style.d.ts +10 -10
  121. package/build/components/CountryFilter/CountryFilter.d.ts +13 -0
  122. package/build/components/CountryFilter/CountryFilter.js +71 -0
  123. package/build/components/CountryFilter/index.d.ts +1 -0
  124. package/build/components/CountryFilter/index.js +1 -0
  125. package/build/components/CountryFilter/style.d.ts +6 -0
  126. package/build/components/CountryFilter/style.js +7 -0
  127. package/build/components/CountryFlag/CountryFlag.d.ts +3 -2
  128. package/build/components/CountryFlag/CountryFlag.js +4 -3
  129. package/build/components/CurrencyFilter/CurrencyFilter.d.ts +10 -0
  130. package/build/components/CurrencyFilter/CurrencyFilter.js +27 -0
  131. package/build/components/CurrencyFilter/index.d.ts +1 -0
  132. package/build/components/CurrencyFilter/index.js +1 -0
  133. package/build/components/CurrencySymbol/CurrencySymbol.d.ts +7 -0
  134. package/build/components/CurrencySymbol/CurrencySymbol.js +17 -0
  135. package/build/components/CurrencySymbol/index.d.ts +2 -0
  136. package/build/components/CurrencySymbol/index.js +2 -0
  137. package/build/components/{CurrencyIcon → CurrencySymbol}/style.d.ts +6 -1
  138. package/build/components/CurrencySymbol/style.js +27 -0
  139. package/build/components/Customer/CustomerDropdown/CustomerDropdown.d.ts +8 -0
  140. package/build/components/Customer/CustomerDropdown/CustomerDropdown.js +39 -0
  141. package/build/components/Customer/CustomerDropdown/index.d.ts +1 -0
  142. package/build/components/Customer/CustomerDropdown/index.js +1 -0
  143. package/build/components/Customer/CustomerDropdown/style.d.ts +10 -0
  144. package/build/components/Customer/CustomerDropdown/style.js +30 -0
  145. package/build/components/Customer/CustomerForms/CustomerEmailForm.d.ts +12 -0
  146. package/build/components/Customer/CustomerForms/CustomerEmailForm.js +76 -0
  147. package/build/components/Customer/CustomerForms/CustomerFullInfo.d.ts +13 -0
  148. package/build/components/Customer/CustomerForms/CustomerFullInfo.js +72 -0
  149. package/build/components/Customer/CustomerForms/CustomerFullInfoForm.d.ts +12 -0
  150. package/build/components/Customer/CustomerForms/CustomerFullInfoForm.js +74 -0
  151. package/build/components/Customer/CustomerForms/CustomerPhoneNumberForm.d.ts +12 -0
  152. package/build/components/Customer/CustomerForms/CustomerPhoneNumberForm.js +71 -0
  153. package/build/components/Customer/CustomerForms/index.d.ts +9 -0
  154. package/build/components/Customer/CustomerForms/index.js +9 -0
  155. package/build/components/Customer/CustomerForms/style.d.ts +25 -0
  156. package/build/components/Customer/CustomerForms/style.js +71 -0
  157. package/build/components/Customer/CustomerForms/validation.d.ts +30 -0
  158. package/build/components/Customer/CustomerForms/validation.js +42 -0
  159. package/build/components/Customer/index.d.ts +2 -0
  160. package/build/components/Customer/index.js +2 -0
  161. package/build/components/DateFilter/DateFilter.d.ts +16 -0
  162. package/build/components/DateFilter/DateFilter.js +32 -0
  163. package/build/components/DateFilter/index.d.ts +1 -0
  164. package/build/components/DateFilter/index.js +1 -0
  165. package/build/components/DateFilter/style.d.ts +35 -0
  166. package/build/components/DateFilter/style.js +100 -0
  167. package/build/components/DeviceIcon/DeviceIcon.js +1 -1
  168. package/build/components/Dialog/style.d.ts +10 -10
  169. package/build/components/Dialog/style.js +1 -0
  170. package/build/components/Discount/DiscountDropdown/DiscountDropdown.d.ts +13 -0
  171. package/build/components/Discount/DiscountDropdown/DiscountDropdown.js +67 -0
  172. package/build/components/Discount/DiscountDropdown/index.d.ts +2 -0
  173. package/build/components/Discount/DiscountDropdown/index.js +2 -0
  174. package/build/components/Discount/DiscountDropdown/style.d.ts +12 -0
  175. package/build/components/Discount/DiscountDropdown/style.js +40 -0
  176. package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.d.ts +12 -0
  177. package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.js +53 -0
  178. package/build/components/Discount/DiscountRateDropdown/index.d.ts +2 -0
  179. package/build/components/Discount/DiscountRateDropdown/index.js +2 -0
  180. package/build/components/Discount/DiscountRateDropdown/style.d.ts +7 -0
  181. package/build/components/Discount/DiscountRateDropdown/style.js +33 -0
  182. package/build/components/Discount/TotalDiscount/TotalDiscount.d.ts +12 -0
  183. package/build/components/Discount/TotalDiscount/TotalDiscount.js +30 -0
  184. package/build/components/Discount/TotalDiscount/index.d.ts +1 -0
  185. package/build/components/Discount/TotalDiscount/index.js +1 -0
  186. package/build/components/Discount/TotalDiscount/style.d.ts +12 -0
  187. package/build/components/Discount/TotalDiscount/style.js +5 -0
  188. package/build/components/Discount/index.d.ts +4 -0
  189. package/build/components/Discount/index.js +4 -0
  190. package/build/components/Discount/utils.d.ts +8 -0
  191. package/build/components/Discount/utils.js +12 -0
  192. package/build/components/DisplayAmount/DisplayAmount.d.ts +9 -0
  193. package/build/components/DisplayAmount/DisplayAmount.js +21 -0
  194. package/build/components/DisplayAmount/index.d.ts +2 -0
  195. package/build/components/DisplayAmount/index.js +2 -0
  196. package/build/components/DisplayAmount/style.d.ts +5 -0
  197. package/build/components/DisplayAmount/style.js +14 -0
  198. package/build/components/DockButton/style.d.ts +1 -1
  199. package/build/components/Dropdown2/style.js +2 -0
  200. package/build/components/DropdownButton/constants.d.ts +2 -2
  201. package/build/components/DropdownButton/style.d.ts +2 -2
  202. package/build/components/DropdownMenu/styles.d.ts +2 -2
  203. package/build/components/Error/Error.d.ts +1 -1
  204. package/build/components/ErrorBoundary/style.d.ts +1 -1
  205. package/build/components/ErrorToast/ErrorToast.d.ts +3 -0
  206. package/build/components/ErrorToast/ErrorToast.js +7 -0
  207. package/build/components/ErrorToast/index.d.ts +2 -0
  208. package/build/components/ErrorToast/index.js +2 -0
  209. package/build/components/ErrorToast/style.d.ts +9 -0
  210. package/build/components/ErrorToast/style.js +33 -0
  211. package/build/components/ErrorToast/type.d.ts +10 -0
  212. package/build/components/FileInputPreview/FileInputPreview.d.ts +5 -0
  213. package/build/components/FileInputPreview/FileInputPreview.js +51 -0
  214. package/build/components/FileInputPreview/index.d.ts +1 -0
  215. package/build/components/FileInputPreview/index.js +1 -0
  216. package/build/components/FileInputPreview/style.d.ts +9 -0
  217. package/build/components/FileInputPreview/style.js +20 -0
  218. package/build/components/FileInputPreview/type.d.ts +21 -0
  219. package/build/components/FileInputPreview/utils.d.ts +3 -0
  220. package/build/components/FileInputPreview/utils.js +14 -0
  221. package/build/components/FilePreview/FilePreview.d.ts +3 -0
  222. package/build/components/FilePreview/FilePreview.js +18 -0
  223. package/build/components/FilePreview/index.d.ts +3 -0
  224. package/build/components/FilePreview/index.js +3 -0
  225. package/build/components/FilePreview/style.d.ts +20 -0
  226. package/build/components/FilePreview/style.js +55 -0
  227. package/build/components/FilePreview/type.d.ts +12 -0
  228. package/build/components/FilePreview/type.js +1 -0
  229. package/build/components/FileUpload/style.d.ts +3 -3
  230. package/build/components/FileUploader/FileUploader.d.ts +1 -1
  231. package/build/components/FileUploader/FileUploader.js +3 -3
  232. package/build/components/FileUploader/style.d.ts +1 -1
  233. package/build/components/FileUploader/style.js +1 -1
  234. package/build/components/FileUploader/type.d.ts +5 -0
  235. package/build/components/FilterDropdown/FilterDropdown.d.ts +10 -0
  236. package/build/components/FilterDropdown/FilterDropdown.js +54 -0
  237. package/build/components/FilterDropdown/components/BrandItem/BrandItem.d.ts +12 -0
  238. package/build/components/FilterDropdown/components/BrandItem/BrandItem.js +39 -0
  239. package/build/components/FilterDropdown/components/BrandItem/index.d.ts +2 -0
  240. package/build/components/FilterDropdown/components/BrandItem/index.js +2 -0
  241. package/build/components/FilterDropdown/components/BrandItem/style.d.ts +4 -0
  242. package/build/components/FilterDropdown/components/BrandItem/style.js +9 -0
  243. package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.d.ts +12 -0
  244. package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.js +54 -0
  245. package/build/components/FilterDropdown/components/CountriesItem/index.d.ts +1 -0
  246. package/build/components/FilterDropdown/components/CountriesItem/index.js +1 -0
  247. package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.d.ts +12 -0
  248. package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.js +59 -0
  249. package/build/components/FilterDropdown/components/CurrenciesItem/index.d.ts +1 -0
  250. package/build/components/FilterDropdown/components/CurrenciesItem/index.js +1 -0
  251. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.d.ts +11 -0
  252. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.js +39 -0
  253. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.d.ts +2 -0
  254. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.js +2 -0
  255. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.d.ts +12 -0
  256. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.js +23 -0
  257. package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.d.ts +13 -0
  258. package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.js +60 -0
  259. package/build/components/FilterDropdown/components/MerchantItem/index.d.ts +2 -0
  260. package/build/components/FilterDropdown/components/MerchantItem/index.js +2 -0
  261. package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.d.ts +14 -0
  262. package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.js +68 -0
  263. package/build/components/FilterDropdown/components/RetailersItem/index.d.ts +1 -0
  264. package/build/components/FilterDropdown/components/RetailersItem/index.js +1 -0
  265. package/build/components/FilterDropdown/components/RetailersItem/style.d.ts +4 -0
  266. package/build/components/FilterDropdown/components/RetailersItem/style.js +8 -0
  267. package/build/components/FilterDropdown/components/index.d.ts +4 -0
  268. package/build/components/FilterDropdown/components/index.js +4 -0
  269. package/build/components/FilterDropdown/index.d.ts +3 -0
  270. package/build/components/FilterDropdown/index.js +3 -0
  271. package/build/components/FilterDropdown/style.d.ts +20 -0
  272. package/build/components/FilterDropdown/style.js +60 -0
  273. package/build/components/FilterDropdown/type.d.ts +4 -0
  274. package/build/components/FilterDropdown/type.js +1 -0
  275. package/build/components/FilteredIds/FilteredIds.js +1 -1
  276. package/build/components/FilteredIds/style.d.ts +0 -1
  277. package/build/components/FilteredIds/style.js +4 -5
  278. package/build/components/Filters/index.d.ts +1 -0
  279. package/build/components/Filters/index.js +1 -0
  280. package/build/components/Filters/style.d.ts +15 -0
  281. package/build/components/Filters/style.js +51 -0
  282. package/build/components/FlippingCard/style.d.ts +10 -10
  283. package/build/components/HeatMap/constant.js +1 -1
  284. package/build/components/Icon/type.d.ts +2 -1
  285. package/build/components/IconWithHoverOverlays/IconWithHoverOverlays.js +1 -1
  286. package/build/components/IconWithLabel/style.d.ts +1 -1
  287. package/build/components/IconsDropdown/style.d.ts +2 -2
  288. package/build/components/ImageWrapper/ImageWrapper.d.ts +10 -10
  289. package/build/components/InputBase/AmountInputBase/CurrencyList/style.js +3 -0
  290. package/build/components/InputBase/InputBase/InputBase.d.ts +2 -2
  291. package/build/components/InputBase/InputBase/InputBase.js +3 -3
  292. package/build/components/InputBase/PhoneInputBase/CountriesList/CountriesList.js +10 -9
  293. package/build/components/InputBase/PhoneInputBase/CountriesList/style.js +3 -0
  294. package/build/components/InputBase/SelectBase/SelectBase.js +5 -2
  295. package/build/components/InputBase/SelectBase/SelectBaseMultiple.js +3 -0
  296. package/build/components/InputBase/SelectBase/style.d.ts +1 -1
  297. package/build/components/InputBase/SelectBase/style.js +3 -2
  298. package/build/components/InputNumber/InputNumber.js +2 -0
  299. package/build/components/Inputs/CountriesDropDown/CountriesDropdown.d.ts +5 -4
  300. package/build/components/Inputs/CountriesDropDown/CountriesDropdown.js +3 -3
  301. package/build/components/Inputs/FileInput/style.d.ts +1 -1
  302. package/build/components/Inputs/Input/style.js +6 -2
  303. package/build/components/Inputs/Select/Select.js +1 -0
  304. package/build/components/Inputs/Select/style.js +3 -2
  305. package/build/components/JSONViewer/JSONViewer.js +11 -3
  306. package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.d.ts +1 -1
  307. package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.js +1 -1
  308. package/build/components/JSONViewer/context/Provider.js +2 -0
  309. package/build/components/JSONViewer/style.d.ts +21 -21
  310. package/build/components/LabeledIconDropdown/style.d.ts +3 -3
  311. package/build/components/LanguageDropdown/LanguageDropdown.d.ts +6 -0
  312. package/build/components/LanguageDropdown/LanguageDropdown.js +24 -0
  313. package/build/components/LanguageDropdown/index.d.ts +2 -0
  314. package/build/components/LanguageDropdown/index.js +2 -0
  315. package/build/components/LanguageDropdown/style.d.ts +6 -0
  316. package/build/components/LanguageDropdown/style.js +5 -0
  317. package/build/components/LazyImage/LazyImage.d.ts +3 -0
  318. package/build/components/LazyImage/LazyImage.js +39 -0
  319. package/build/components/LazyImage/index.d.ts +3 -0
  320. package/build/components/LazyImage/index.js +3 -0
  321. package/build/components/LeftPeekRightExpandingChip/LeftPeekRightExpandingChip.d.ts +10 -0
  322. package/build/components/LeftPeekRightExpandingChip/LeftPeekRightExpandingChip.js +14 -1
  323. package/build/components/LeftPeekRightExpandingChip/style.d.ts +30 -30
  324. package/build/components/LeftPeekRightExpandingChip/style.js +1 -0
  325. package/build/components/LeftPeekRightExpandingChip/useLeftPeekRightExpandingChip.js +30 -2
  326. package/build/components/ListColumnFilter/ListColumnFilter.d.ts +16 -0
  327. package/build/components/ListColumnFilter/ListColumnFilter.js +36 -0
  328. package/build/components/ListColumnFilter/index.d.ts +1 -0
  329. package/build/components/ListColumnFilter/index.js +1 -0
  330. package/build/components/ListColumnFilter/style.d.ts +15 -0
  331. package/build/components/ListColumnFilter/style.js +35 -0
  332. package/build/components/ListLayout/ListLayout.d.ts +10 -0
  333. package/build/components/ListLayout/ListLayout.js +20 -0
  334. package/build/components/ListLayout/index.d.ts +2 -0
  335. package/build/components/ListLayout/index.js +2 -0
  336. package/build/components/ListLayout/styles.d.ts +4 -0
  337. package/build/components/ListLayout/styles.js +9 -0
  338. package/build/components/MFWidgetLoader/DefaultMFWidgetLoader.d.ts +1 -0
  339. package/build/components/MFWidgetLoader/DefaultMFWidgetLoader.js +12 -0
  340. package/build/components/MFWidgetLoader/MFWidgetLoader.d.ts +5 -0
  341. package/build/components/MFWidgetLoader/MFWidgetLoader.js +10 -0
  342. package/build/components/MFWidgetLoader/ReportsMFWidgetLoader.d.ts +1 -0
  343. package/build/components/MFWidgetLoader/ReportsMFWidgetLoader.js +8 -0
  344. package/build/components/MFWidgetLoader/index.d.ts +2 -0
  345. package/build/components/MFWidgetLoader/index.js +2 -0
  346. package/build/components/Menu/Menu.d.ts +4 -4
  347. package/build/components/Menu/Menu.js +15 -6
  348. package/build/components/Menu/style.d.ts +4 -2
  349. package/build/components/Menu/style.js +10 -1
  350. package/build/components/MenuItem/MenuItem.d.ts +3 -2
  351. package/build/components/MenuItem/MenuItem.js +4 -2
  352. package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.d.ts +12 -0
  353. package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.js +38 -0
  354. package/build/components/MerchantCurrencyDropdown/SelectedCurrency.d.ts +5 -0
  355. package/build/components/MerchantCurrencyDropdown/SelectedCurrency.js +6 -0
  356. package/build/components/MerchantCurrencyDropdown/index.d.ts +1 -0
  357. package/build/components/MerchantCurrencyDropdown/index.js +1 -0
  358. package/build/components/MerchantCurrencyDropdown/style.d.ts +13 -0
  359. package/build/components/MerchantCurrencyDropdown/style.js +64 -0
  360. package/build/components/MerchantLogo/MerchantLogo.d.ts +10 -0
  361. package/build/components/MerchantLogo/MerchantLogo.js +17 -0
  362. package/build/components/MerchantLogo/index.d.ts +1 -0
  363. package/build/components/MerchantLogo/index.js +1 -0
  364. package/build/components/MerchantLogo/style.d.ts +5 -0
  365. package/build/components/MerchantLogo/style.js +13 -0
  366. package/build/components/MerchantsDropdown/BrandItem.d.ts +13 -0
  367. package/build/components/MerchantsDropdown/BrandItem.js +71 -0
  368. package/build/components/MerchantsDropdown/EntityItem.d.ts +14 -0
  369. package/build/components/MerchantsDropdown/EntityItem.js +69 -0
  370. package/build/components/MerchantsDropdown/EntityList.d.ts +11 -0
  371. package/build/components/MerchantsDropdown/EntityList.js +7 -0
  372. package/build/components/MerchantsDropdown/MerchantItem.d.ts +13 -0
  373. package/build/components/MerchantsDropdown/MerchantItem.js +27 -0
  374. package/build/components/MerchantsDropdown/MerchantsDropdown.d.ts +5 -0
  375. package/build/components/MerchantsDropdown/MerchantsDropdown.js +67 -0
  376. package/build/components/MerchantsDropdown/MerchantsList.d.ts +12 -0
  377. package/build/components/MerchantsDropdown/MerchantsList.js +18 -0
  378. package/build/components/MerchantsDropdown/hooks.d.ts +19 -0
  379. package/build/components/MerchantsDropdown/hooks.js +54 -0
  380. package/build/components/MerchantsDropdown/index.d.ts +1 -0
  381. package/build/components/MerchantsDropdown/index.js +1 -0
  382. package/build/components/MerchantsDropdown/style.d.ts +38 -0
  383. package/build/components/MerchantsDropdown/style.js +155 -0
  384. package/build/components/MerchantsDropdown/type.d.ts +15 -0
  385. package/build/components/MerchantsDropdown/type.js +1 -0
  386. package/build/components/MultiSelectDropdownButton/MultiSelectDropdownButton.js +1 -1
  387. package/build/components/MultiSelectDropdownButton/components/StatusButton.d.ts +10 -0
  388. package/build/components/MultiSelectDropdownButton/components/StatusButton.js +34 -0
  389. package/build/components/MultiSelectStatusButton/MultiSelectStatusButton.js +3 -0
  390. package/build/components/MultiSelectStatusButton/style.d.ts +1 -1
  391. package/build/components/MultiSelectWithSearch/style.d.ts +3 -3
  392. package/build/components/NestedDropdown/Dropdown.js +5 -2
  393. package/build/components/NestedDropdown/NestedDropdown.d.ts +4 -2
  394. package/build/components/NestedDropdown/NestedDropdown.js +13 -2
  395. package/build/components/NestedDropdown/NestedMenuItem.d.ts +4 -1
  396. package/build/components/NestedDropdown/NestedMenuItem.js +2 -4
  397. package/build/components/NestedDropdown/styles.d.ts +1 -1
  398. package/build/components/NestedDropdown/types.d.ts +1 -1
  399. package/build/components/OpenFileInNewTab/OpenFileInNewTab.d.ts +7 -0
  400. package/build/components/OpenFileInNewTab/OpenFileInNewTab.js +26 -0
  401. package/build/components/OpenFileInNewTab/index.d.ts +1 -0
  402. package/build/components/OpenFileInNewTab/index.js +1 -0
  403. package/build/components/OpenFileInNewTab/style.d.ts +2 -0
  404. package/build/components/OpenFileInNewTab/style.js +8 -0
  405. package/build/components/PartnersFilter/PartnersFilter.d.ts +10 -0
  406. package/build/components/PartnersFilter/PartnersFilter.js +50 -0
  407. package/build/components/PartnersFilter/index.d.ts +1 -0
  408. package/build/components/PartnersFilter/index.js +1 -0
  409. package/build/components/PaymentSourceFilter/PaymentIcon.d.ts +5 -0
  410. package/build/components/PaymentSourceFilter/PaymentIcon.js +9 -0
  411. package/build/components/PaymentSourceFilter/PaymentInitiated.d.ts +8 -0
  412. package/build/components/PaymentSourceFilter/PaymentInitiated.js +29 -0
  413. package/build/components/PaymentSourceFilter/PaymentMethod.d.ts +6 -0
  414. package/build/components/PaymentSourceFilter/PaymentMethod.js +55 -0
  415. package/build/components/PaymentSourceFilter/PaymentMethods.d.ts +7 -0
  416. package/build/components/PaymentSourceFilter/PaymentMethods.js +50 -0
  417. package/build/components/PaymentSourceFilter/PaymentSchemes.d.ts +7 -0
  418. package/build/components/PaymentSourceFilter/PaymentSchemes.js +54 -0
  419. package/build/components/PaymentSourceFilter/PaymentSourceFilter.d.ts +15 -0
  420. package/build/components/PaymentSourceFilter/PaymentSourceFilter.js +15 -0
  421. package/build/components/PaymentSourceFilter/index.d.ts +2 -0
  422. package/build/components/PaymentSourceFilter/index.js +1 -0
  423. package/build/components/PaymentSourceFilter/style.d.ts +5 -0
  424. package/build/components/PaymentSourceFilter/style.js +22 -0
  425. package/build/components/PaymentSourceFilter/type.d.ts +10 -0
  426. package/build/components/PaymentSourceFilter/type.js +1 -0
  427. package/build/components/PhoneFilter/PhoneFilter.d.ts +9 -0
  428. package/build/components/PhoneFilter/PhoneFilter.js +13 -0
  429. package/build/components/PhoneFilter/index.d.ts +1 -0
  430. package/build/components/PhoneFilter/index.js +1 -0
  431. package/build/components/ProgressBar/style.d.ts +1 -1
  432. package/build/components/ProgressRing/style.d.ts +2 -2
  433. package/build/components/RFH/Inputs/FormInput/FormInput.d.ts +1 -5
  434. package/build/components/RFH/Inputs/FormInput/FormInput.js +8 -3
  435. package/build/components/RFH/Inputs/MultiSelect/MultiSelect.js +1 -0
  436. package/build/components/RFH/Inputs/SelectWithAccordion/SelectWithAccordion.js +3 -3
  437. package/build/components/RFH/Inputs/SelectWithAccordion/style.d.ts +3 -3
  438. package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
  439. package/build/components/RadioGroup/RadioGroup.js +13 -6
  440. package/build/components/RadioGroup/style.js +1 -0
  441. package/build/components/RadioGroup/type.d.ts +4 -2
  442. package/build/components/RangeCalender/RangeCalender.d.ts +2 -27
  443. package/build/components/RangeCalender/RangeCalender.js +19 -16
  444. package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.d.ts +2 -6
  445. package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.js +34 -27
  446. package/build/components/RangeCalender/components/CustomTimepicker/style.d.ts +1 -1
  447. package/build/components/RangeCalender/components/GroupBy/GroupBy.js +2 -2
  448. package/build/components/RangeCalender/components/QuickFilters/style.d.ts +1 -1
  449. package/build/components/RangeCalender/components/RangeDatepicker/RangeDatepicker.d.ts +1 -9
  450. package/build/components/RangeCalender/components/RangeDatepicker/RangeDatepicker.js +3 -1
  451. package/build/components/RangeCalender/components/RangeDatepicker/index.d.ts +1 -0
  452. package/build/components/RangeCalender/components/RangeDatepicker/index.js +1 -0
  453. package/build/components/RangeCalender/components/RangeDatepicker/style.d.ts +1 -1
  454. package/build/components/RangeCalender/components/RangeDatepicker/type.d.ts +9 -0
  455. package/build/components/RangeCalender/components/RangeDatepicker/type.js +1 -0
  456. package/build/components/RangeCalender/components/Timezone/Timezone.d.ts +3 -2
  457. package/build/components/RangeCalender/components/Timezone/Timezone.js +4 -4
  458. package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.d.ts +3 -6
  459. package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.js +10 -9
  460. package/build/components/RangeCalender/components/Timezone/components/UserTimezone.js +1 -1
  461. package/build/components/RangeCalender/style.d.ts +3 -3
  462. package/build/components/RangeCalender/style.js +1 -1
  463. package/build/components/RangeCalender/type.d.ts +26 -0
  464. package/build/components/RangeCalender/utils.d.ts +5 -1
  465. package/build/components/RangeCalender/utils.js +11 -0
  466. package/build/components/ReceiptsViewer/ReceiptViewer.d.ts +2 -0
  467. package/build/components/ReceiptsViewer/ReceiptViewer.js +16 -0
  468. package/build/components/ReceiptsViewer/ReceiptsViewer.d.ts +11 -0
  469. package/build/components/ReceiptsViewer/ReceiptsViewer.js +7 -0
  470. package/build/components/ReceiptsViewer/index.d.ts +1 -0
  471. package/build/components/ReceiptsViewer/index.js +1 -0
  472. package/build/components/ReceiptsViewer/style.d.ts +4 -0
  473. package/build/components/ReceiptsViewer/style.js +7 -0
  474. package/build/components/ReceiptsViewer/type.d.ts +11 -0
  475. package/build/components/ReceiptsViewer/type.js +1 -0
  476. package/build/components/ReferenceTypeFilter/ReferenceTypeFilter.d.ts +19 -0
  477. package/build/components/ReferenceTypeFilter/ReferenceTypeFilter.js +36 -0
  478. package/build/components/ReferenceTypeFilter/index.d.ts +1 -0
  479. package/build/components/ReferenceTypeFilter/index.js +1 -0
  480. package/build/components/ReferenceTypeFilter/style.d.ts +14 -0
  481. package/build/components/ReferenceTypeFilter/style.js +34 -0
  482. package/build/components/RightLeftExpandingCenterChip/RightLeftExpandingCenterChip.d.ts +33 -1
  483. package/build/components/RightLeftExpandingCenterChip/RightLeftExpandingCenterChip.js +76 -17
  484. package/build/components/RightLeftExpandingCenterChip/style.d.ts +134 -132
  485. package/build/components/RightLeftExpandingCenterChip/style.js +28 -11
  486. package/build/components/RightLeftExpandingCenterChip/type.d.ts +2 -1
  487. package/build/components/RightLeftExpandingCenterChip/useRightLeftExpandingCenterChip.d.ts +15 -5
  488. package/build/components/RightLeftExpandingCenterChip/useRightLeftExpandingCenterChip.js +89 -21
  489. package/build/components/SalesChannelFilter/SalesChannelFilter.d.ts +11 -0
  490. package/build/components/SalesChannelFilter/SalesChannelFilter.js +56 -0
  491. package/build/components/SalesChannelFilter/index.d.ts +1 -0
  492. package/build/components/SalesChannelFilter/index.js +1 -0
  493. package/build/components/SalesChannelFilter/style.d.ts +15 -0
  494. package/build/components/SalesChannelFilter/style.js +29 -0
  495. package/build/components/ScrollLoader/ScrollLoader.js +2 -1
  496. package/build/components/SearchButton/styles.d.ts +26 -26
  497. package/build/components/SearchListInput/SearchListInput.d.ts +10 -0
  498. package/build/components/SearchListInput/SearchListInput.js +20 -0
  499. package/build/components/SearchListInput/index.d.ts +2 -0
  500. package/build/components/SearchListInput/index.js +2 -0
  501. package/build/components/SearchListInput/style.d.ts +7 -0
  502. package/build/components/SearchListInput/style.js +15 -0
  503. package/build/components/SelectDropdown/SelectDropdown.d.ts +3 -1
  504. package/build/components/SelectDropdown/SelectDropdown.js +4 -3
  505. package/build/components/SelectDropdown/style.d.ts +1 -1
  506. package/build/components/SelectWithSearch/SelectWithSearch.d.ts +1 -1
  507. package/build/components/SelectWithSearch/SelectWithSearch.js +7 -6
  508. package/build/components/SelectWithSearch/style.d.ts +3 -3
  509. package/build/components/SelectWithSearch/type.d.ts +1 -0
  510. package/build/components/StatusBar/StatusBar.d.ts +3 -1
  511. package/build/components/StatusBar/StatusBar.js +13 -18
  512. package/build/components/StatusBar/type.d.ts +2 -1
  513. package/build/components/StatusBar/type.js +0 -6
  514. package/build/components/StatusButton/StatusButton.js +29 -9
  515. package/build/components/StatusButton/constant.d.ts +5 -0
  516. package/build/components/StatusButton/constant.js +8 -1
  517. package/build/components/StatusButton/style.d.ts +10 -4
  518. package/build/components/StatusButton/style.js +11 -0
  519. package/build/components/StatusButton/type.d.ts +16 -2
  520. package/build/components/StatusChip/StatusChip.d.ts +1 -1
  521. package/build/components/StatusChip/StatusChip.js +26 -13
  522. package/build/components/StatusChip/style.d.ts +6 -0
  523. package/build/components/StatusChip/style.js +17 -13
  524. package/build/components/StatusChip/type.d.ts +6 -0
  525. package/build/components/StatusChipWithCopy/StatusChipWithCopy.d.ts +3 -1
  526. package/build/components/StatusChipWithCopy/StatusChipWithCopy.js +2 -2
  527. package/build/components/StatusFilter/StatusFilter.d.ts +15 -0
  528. package/build/components/StatusFilter/StatusFilter.js +88 -0
  529. package/build/components/StatusFilter/index.d.ts +1 -0
  530. package/build/components/StatusFilter/index.js +1 -0
  531. package/build/components/StatusFilter/utils.d.ts +4 -0
  532. package/build/components/StatusFilter/utils.js +10 -0
  533. package/build/components/StatusIcons/AuthIcons/constants.js +5 -0
  534. package/build/components/StatusIcons/AuthIcons/style.d.ts +20 -20
  535. package/build/components/StatusIcons/AuthorizationAutoIcons/CaptureAutoIcon.d.ts +1 -1
  536. package/build/components/StatusIcons/AuthorizationAutoIcons/CaptureAutoIcon.js +23 -3
  537. package/build/components/StatusIcons/AuthorizationAutoIcons/VoidAutoIcon.d.ts +1 -1
  538. package/build/components/StatusIcons/AuthorizationAutoIcons/VoidAutoIcon.js +24 -4
  539. package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +10 -10
  540. package/build/components/StatusIcons/AuthorizationAutoIcons/style.js +1 -1
  541. package/build/components/StatusIcons/AuthorizationAutoIcons/type.d.ts +3 -0
  542. package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.d.ts +4 -2
  543. package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.js +9 -4
  544. package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.d.ts +5 -1
  545. package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.js +23 -19
  546. package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +60 -60
  547. package/build/components/StatusIcons/DestinationIcon/DestinationIcon.d.ts +5 -2
  548. package/build/components/StatusIcons/DestinationIcon/DestinationIcon.js +14 -6
  549. package/build/components/StatusIcons/GeographyIcon/GeographyIcon.d.ts +1 -1
  550. package/build/components/StatusIcons/GeographyIcon/GeographyIcon.js +4 -6
  551. package/build/components/StatusIcons/IssuerIcon/IssuerIcon.js +1 -1
  552. package/build/components/StatusIcons/PayoutIcon/PayoutIcon.d.ts +5 -1
  553. package/build/components/StatusIcons/PayoutIcon/PayoutIcon.js +8 -3
  554. package/build/components/StatusIcons/RefundIcon/RefundIcon.d.ts +5 -1
  555. package/build/components/StatusIcons/RefundIcon/RefundIcon.js +18 -10
  556. package/build/components/StatusIcons/SourceIcons/components/SourceIcon.d.ts +6 -2
  557. package/build/components/StatusIcons/SourceIcons/components/SourceIcon.js +2 -2
  558. package/build/components/StatusIcons/SourceIcons/index.d.ts +1 -0
  559. package/build/components/StatusIcons/SourceIcons/index.js +1 -0
  560. package/build/components/StatusIcons/SourceIcons/style.d.ts +10 -10
  561. package/build/components/StatusIcons/index.d.ts +1 -1
  562. package/build/components/StatusIcons/index.js +1 -1
  563. package/build/components/StatusLabel/style.d.ts +1 -1
  564. package/build/components/TableCells/CustomCells/ActionCell/ActionCell.d.ts +2 -3
  565. package/build/components/TableCells/CustomCells/ActionCell/ActionCell.js +19 -17
  566. package/build/components/TableCells/CustomCells/ActionCell/{ActionIconColumn.d.ts → components/ActionIconColumn.d.ts} +1 -1
  567. package/build/components/TableCells/CustomCells/ActionCell/{ActionIconColumn.js → components/ActionIconColumn.js} +20 -17
  568. package/build/components/TableCells/CustomCells/ActionCell/{ActionsColumn.d.ts → components/ActionsColumn.d.ts} +2 -2
  569. package/build/components/TableCells/CustomCells/ActionCell/{ActionsColumn.js → components/ActionsColumn.js} +7 -7
  570. package/build/components/TableCells/CustomCells/ActionCell/components/index.d.ts +2 -0
  571. package/build/components/TableCells/CustomCells/ActionCell/components/index.js +2 -0
  572. package/build/components/TableCells/CustomCells/ActionCell/constant.d.ts +2 -0
  573. package/build/components/TableCells/CustomCells/ActionCell/constant.js +3 -1
  574. package/build/components/TableCells/CustomCells/ActionCell/hooks/useActionCell.d.ts +3 -1
  575. package/build/components/TableCells/CustomCells/ActionCell/index.d.ts +1 -3
  576. package/build/components/TableCells/CustomCells/ActionCell/index.js +1 -3
  577. package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +13 -13
  578. package/build/components/TableCells/CustomCells/AgreementCell/AgreementCell.js +1 -2
  579. package/build/components/TableCells/CustomCells/AgreementCell/style.d.ts +266 -0
  580. package/build/components/TableCells/CustomCells/AgreementCell/style.js +22 -0
  581. package/build/components/TableCells/CustomCells/AmountCell/AmountCell.d.ts +2 -2
  582. package/build/components/TableCells/CustomCells/AmountCell/AmountCell.js +8 -10
  583. package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.d.ts +3 -0
  584. package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.js +10 -0
  585. package/build/components/TableCells/CustomCells/AmountCell/AmountCellText.d.ts +3 -0
  586. package/build/components/TableCells/CustomCells/AmountCell/AmountCellText.js +23 -0
  587. package/build/components/TableCells/CustomCells/AmountCell/{AmountConversionTooltipLabel.js → components/AmountConversionTooltipLabel.js} +4 -4
  588. package/build/components/TableCells/CustomCells/AmountCell/components/ConversionTypeLabel.d.ts +7 -0
  589. package/build/components/TableCells/CustomCells/AmountCell/components/ConversionTypeLabel.js +7 -0
  590. package/build/components/TableCells/CustomCells/AmountCell/components/CurrencyInfo.d.ts +7 -0
  591. package/build/components/TableCells/CustomCells/AmountCell/components/CurrencyInfo.js +8 -0
  592. package/build/components/TableCells/CustomCells/AmountCell/components/index.d.ts +3 -0
  593. package/build/components/TableCells/CustomCells/AmountCell/components/index.js +3 -0
  594. package/build/components/TableCells/CustomCells/AmountCell/index.d.ts +3 -1
  595. package/build/components/TableCells/CustomCells/AmountCell/index.js +3 -1
  596. package/build/components/TableCells/CustomCells/AmountCell/style.d.ts +0 -1
  597. package/build/components/TableCells/CustomCells/AmountCell/style.js +0 -6
  598. package/build/components/TableCells/CustomCells/AmountCell/type.d.ts +22 -0
  599. package/build/components/TableCells/CustomCells/AmountCell/type.js +1 -0
  600. package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +14 -12
  601. package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +10 -10
  602. package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +20 -20
  603. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/constant.d.ts +2 -0
  604. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/constant.js +6 -4
  605. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.d.ts +1 -0
  606. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.js +1 -0
  607. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +50 -50
  608. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +50 -50
  609. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.d.ts +1 -1
  610. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.js +11 -21
  611. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.d.ts +3 -0
  612. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.js +10 -0
  613. package/build/components/TableCells/CustomCells/BalanceCell/index.d.ts +1 -0
  614. package/build/components/TableCells/CustomCells/BalanceCell/index.js +1 -0
  615. package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +10 -10
  616. package/build/components/TableCells/CustomCells/BalanceCell/style.js +1 -1
  617. package/build/components/TableCells/CustomCells/BalanceCell/type.d.ts +9 -4
  618. package/build/components/TableCells/CustomCells/BankCell/BankCell.js +3 -7
  619. package/build/components/TableCells/CustomCells/BrandCell/BrandCell.js +1 -0
  620. package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.d.ts +1 -1
  621. package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.js +4 -6
  622. package/build/components/TableCells/CustomCells/BrandsCell/style.d.ts +10 -3
  623. package/build/components/TableCells/CustomCells/BrandsCell/style.js +21 -19
  624. package/build/components/TableCells/CustomCells/BrandsCell/type.d.ts +2 -1
  625. package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +10 -10
  626. package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +10 -10
  627. package/build/components/TableCells/CustomCells/CurrencyCell/CurrencyCell.js +3 -4
  628. package/build/components/TableCells/CustomCells/CurrencyCell/style.d.ts +0 -2
  629. package/build/components/TableCells/CustomCells/CurrencyCell/style.js +0 -10
  630. package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.d.ts +2 -2
  631. package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.js +2 -5
  632. package/build/components/TableCells/CustomCells/CustomerCell/CustomerCellSheet.d.ts +3 -0
  633. package/build/components/TableCells/CustomCells/CustomerCell/CustomerCellSheet.js +8 -0
  634. package/build/components/TableCells/CustomCells/CustomerCell/index.d.ts +1 -0
  635. package/build/components/TableCells/CustomCells/CustomerCell/index.js +1 -0
  636. package/build/components/TableCells/CustomCells/CustomerCell/type.d.ts +15 -0
  637. package/build/components/TableCells/CustomCells/DateCell/DateCell.d.ts +9 -3
  638. package/build/components/TableCells/CustomCells/DateCell/DateCell.js +13 -16
  639. package/build/components/TableCells/CustomCells/DateCell/DateViewer.d.ts +3 -0
  640. package/build/components/TableCells/CustomCells/DateCell/DateViewer.js +29 -0
  641. package/build/components/TableCells/CustomCells/DateCell/index.d.ts +1 -0
  642. package/build/components/TableCells/CustomCells/DateCell/index.js +1 -0
  643. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCell.d.ts +2 -2
  644. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCell.js +8 -31
  645. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.d.ts +3 -0
  646. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.js +31 -0
  647. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellText.d.ts +3 -0
  648. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellText.js +35 -0
  649. package/build/components/TableCells/CustomCells/DestinationCell/index.d.ts +3 -1
  650. package/build/components/TableCells/CustomCells/DestinationCell/index.js +3 -1
  651. package/build/components/TableCells/CustomCells/DestinationCell/type.d.ts +34 -0
  652. package/build/components/TableCells/CustomCells/DestinationCell/type.js +1 -0
  653. package/build/components/TableCells/CustomCells/DestinationCell/utils.js +3 -3
  654. package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +50 -50
  655. package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.d.ts +1 -1
  656. package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.js +13 -170
  657. package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +15 -10
  658. package/build/components/TableCells/CustomCells/DueDateCell/style.js +7 -0
  659. package/build/components/TableCells/CustomCells/DueDateCell/type.d.ts +0 -2
  660. package/build/components/TableCells/CustomCells/DueDateCell/utils.d.ts +8 -0
  661. package/build/components/TableCells/CustomCells/DueDateCell/utils.js +43 -1
  662. package/build/components/TableCells/CustomCells/EntityCell/EntityCell.js +5 -5
  663. package/build/components/TableCells/CustomCells/EntityCell/constants.js +3 -3
  664. package/build/components/TableCells/CustomCells/EntityCell/style.d.ts +10 -5
  665. package/build/components/TableCells/CustomCells/EntityCell/style.js +12 -36
  666. package/build/components/TableCells/CustomCells/IDButton/IDButton.d.ts +3 -2
  667. package/build/components/TableCells/CustomCells/IDButton/IDButton.js +7 -7
  668. package/build/components/TableCells/CustomCells/IDButton/style.d.ts +20 -20
  669. package/build/components/TableCells/CustomCells/IDButton/style.js +1 -1
  670. package/build/components/TableCells/CustomCells/IndividualsCell/IndividualsCell.js +1 -1
  671. package/build/components/TableCells/CustomCells/IndividualsCell/constants.js +3 -3
  672. package/build/components/TableCells/CustomCells/IndividualsCell/style.js +1 -1
  673. package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +10 -10
  674. package/build/components/TableCells/CustomCells/InvoiceStatusCell/ChargeStatusIcon.d.ts +11 -0
  675. package/build/components/TableCells/CustomCells/InvoiceStatusCell/ChargeStatusIcon.js +18 -0
  676. package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.d.ts +2 -2
  677. package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.js +39 -59
  678. package/build/components/TableCells/CustomCells/InvoiceStatusCell/constant.js +4 -4
  679. package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +12 -10
  680. package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.js +18 -0
  681. package/build/components/TableCells/CustomCells/InvoiceStatusCell/type.d.ts +2 -1
  682. package/build/components/TableCells/CustomCells/LeadStatusCell/constant.d.ts +1 -0
  683. package/build/components/TableCells/CustomCells/LeadStatusCell/constant.js +1 -0
  684. package/build/components/TableCells/CustomCells/LinkCell/LinkCell.d.ts +7 -0
  685. package/build/components/TableCells/CustomCells/LinkCell/LinkCell.js +23 -0
  686. package/build/components/TableCells/CustomCells/LinkCell/index.d.ts +1 -0
  687. package/build/components/TableCells/CustomCells/LinkCell/index.js +1 -0
  688. package/build/components/TableCells/CustomCells/LinkCell/style.d.ts +4 -0
  689. package/build/components/TableCells/CustomCells/LinkCell/style.js +12 -0
  690. package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.d.ts +1 -1
  691. package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.js +13 -14
  692. package/build/components/TableCells/CustomCells/MarketPlaceCell/type.d.ts +2 -2
  693. package/build/components/TableCells/CustomCells/OrderCell/OrderCell.d.ts +1 -1
  694. package/build/components/TableCells/CustomCells/OrderCell/OrderCell.js +1 -4
  695. package/build/components/TableCells/CustomCells/OrderCell/OrderCellSheet.d.ts +3 -0
  696. package/build/components/TableCells/CustomCells/OrderCell/OrderCellSheet.js +20 -0
  697. package/build/components/TableCells/CustomCells/OrderCell/index.d.ts +1 -0
  698. package/build/components/TableCells/CustomCells/OrderCell/index.js +1 -0
  699. package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.d.ts +22 -0
  700. package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.js +32 -0
  701. package/build/components/TableCells/CustomCells/OrdersCell/index.d.ts +1 -0
  702. package/build/components/TableCells/CustomCells/OrdersCell/index.js +1 -0
  703. package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.d.ts +3 -0
  704. package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.js +21 -0
  705. package/build/components/TableCells/CustomCells/PaymentAgreementCell/constant.d.ts +6 -0
  706. package/build/components/TableCells/CustomCells/PaymentAgreementCell/constant.js +6 -0
  707. package/build/components/TableCells/CustomCells/PaymentAgreementCell/index.d.ts +1 -0
  708. package/build/components/TableCells/CustomCells/PaymentAgreementCell/index.js +1 -0
  709. package/build/components/TableCells/CustomCells/PaymentAgreementCell/type.d.ts +6 -0
  710. package/build/components/TableCells/CustomCells/PaymentAgreementCell/type.js +1 -0
  711. package/build/components/TableCells/CustomCells/PayoutDateCell/PayoutDateCell.d.ts +2 -2
  712. package/build/components/TableCells/CustomCells/PayoutReportCell/PayoutReportCell.js +5 -6
  713. package/build/components/TableCells/CustomCells/PayoutReportCell/style.d.ts +274 -1
  714. package/build/components/TableCells/CustomCells/PayoutReportCell/style.js +2 -1
  715. package/build/components/TableCells/CustomCells/PayoutStatusCell/PayoutStatusCell.js +8 -2
  716. package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +50 -50
  717. package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +10 -10
  718. package/build/components/TableCells/CustomCells/ProductsCell/style.js +1 -1
  719. package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.d.ts +2 -0
  720. package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.js +23 -0
  721. package/build/components/TableCells/CustomCells/ProviderCell/constants.d.ts +2 -0
  722. package/build/components/TableCells/CustomCells/ProviderCell/constants.js +7 -0
  723. package/build/components/TableCells/CustomCells/ProviderCell/index.d.ts +2 -0
  724. package/build/components/TableCells/CustomCells/ProviderCell/index.js +2 -0
  725. package/build/components/TableCells/CustomCells/ProviderCell/style.d.ts +5 -0
  726. package/build/components/TableCells/CustomCells/ProviderCell/style.js +19 -0
  727. package/build/components/TableCells/CustomCells/ProviderCell/type.d.ts +5 -0
  728. package/build/components/TableCells/CustomCells/ProviderCell/type.js +1 -0
  729. package/build/components/TableCells/CustomCells/PurposeCell/PurposeCell.d.ts +2 -0
  730. package/build/components/TableCells/CustomCells/PurposeCell/PurposeCell.js +20 -0
  731. package/build/components/TableCells/CustomCells/PurposeCell/constants.d.ts +8 -0
  732. package/build/components/TableCells/CustomCells/PurposeCell/constants.js +21 -0
  733. package/build/components/TableCells/CustomCells/PurposeCell/index.d.ts +2 -0
  734. package/build/components/TableCells/CustomCells/PurposeCell/index.js +2 -0
  735. package/build/components/TableCells/CustomCells/PurposeCell/style.d.ts +9 -0
  736. package/build/components/TableCells/CustomCells/PurposeCell/style.js +35 -0
  737. package/build/components/TableCells/CustomCells/PurposeCell/type.d.ts +5 -0
  738. package/build/components/TableCells/CustomCells/PurposeCell/type.js +1 -0
  739. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.d.ts +2 -5
  740. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.js +3 -7
  741. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellSheet.d.ts +2 -0
  742. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellSheet.js +5 -0
  743. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellText.d.ts +2 -0
  744. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellText.js +5 -0
  745. package/build/components/TableCells/CustomCells/ReceiptCell/index.d.ts +2 -0
  746. package/build/components/TableCells/CustomCells/ReceiptCell/index.js +2 -0
  747. package/build/components/TableCells/CustomCells/ReceiptCell/type.d.ts +3 -0
  748. package/build/components/TableCells/CustomCells/ReceiptCell/type.js +1 -0
  749. package/build/components/TableCells/CustomCells/ReferenceCell/ReferenceCell.js +3 -1
  750. package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +10 -10
  751. package/build/components/TableCells/CustomCells/ReferenceCell/style.js +3 -1
  752. package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +20 -20
  753. package/build/components/TableCells/CustomCells/RefundChargeCell/style.js +1 -1
  754. package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.d.ts +1 -1
  755. package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.js +6 -2
  756. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStateIcon.js +4 -7
  757. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.d.ts +1 -1
  758. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.js +8 -2
  759. package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +11 -11
  760. package/build/components/TableCells/CustomCells/RefundStatusCell/style.js +3 -3
  761. package/build/components/TableCells/CustomCells/RefundStatusCell/type.d.ts +1 -0
  762. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.d.ts +1 -1
  763. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +12 -8
  764. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.d.ts +3 -0
  765. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.js +54 -0
  766. package/build/components/TableCells/CustomCells/SalesChannelCell/index.d.ts +1 -0
  767. package/build/components/TableCells/CustomCells/SalesChannelCell/index.js +1 -0
  768. package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +15 -11
  769. package/build/components/TableCells/CustomCells/SalesChannelCell/style.js +13 -7
  770. package/build/components/TableCells/CustomCells/SalesChannelCell/type.d.ts +4 -2
  771. package/build/components/TableCells/CustomCells/SalesChannelCell/utils.d.ts +3 -0
  772. package/build/components/TableCells/CustomCells/SalesChannelCell/utils.js +69 -0
  773. package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.d.ts +1 -1
  774. package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +24 -18
  775. package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +10 -10
  776. package/build/components/TableCells/CustomCells/SegmentsCell/type.d.ts +3 -5
  777. package/build/components/TableCells/CustomCells/SegmentsCell/utils.d.ts +2 -0
  778. package/build/components/TableCells/CustomCells/SegmentsCell/utils.js +14 -0
  779. package/build/components/TableCells/CustomCells/SourceCell/SourceCell.d.ts +5 -3
  780. package/build/components/TableCells/CustomCells/SourceCell/SourceCell.js +24 -76
  781. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/PaymentCardNumberSource.d.ts +10 -0
  782. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/PaymentCardNumberSource.js +13 -0
  783. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/index.d.ts +1 -0
  784. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/index.js +1 -0
  785. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/style.d.ts +2 -0
  786. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/style.js +6 -0
  787. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/PaymentMethodSource.d.ts +3 -0
  788. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/PaymentMethodSource.js +11 -0
  789. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/index.d.ts +1 -0
  790. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/index.js +1 -0
  791. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/PaymentSchemeSource.d.ts +5 -0
  792. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/PaymentSchemeSource.js +11 -0
  793. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/index.d.ts +1 -0
  794. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/index.js +1 -0
  795. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/PaymentTypeSource.d.ts +3 -0
  796. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/PaymentTypeSource.js +11 -0
  797. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/index.d.ts +1 -0
  798. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/index.js +1 -0
  799. package/build/components/TableCells/CustomCells/SourceCell/components/index.d.ts +4 -0
  800. package/build/components/TableCells/CustomCells/SourceCell/components/index.js +4 -0
  801. package/build/components/TableCells/CustomCells/SourceCell/constant.d.ts +4 -0
  802. package/build/components/TableCells/CustomCells/SourceCell/constant.js +11 -0
  803. package/build/components/TableCells/CustomCells/SourceCell/index.d.ts +1 -1
  804. package/build/components/TableCells/CustomCells/SourceCell/index.js +1 -1
  805. package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +6 -268
  806. package/build/components/TableCells/CustomCells/SourceCell/style.js +8 -38
  807. package/build/components/TableCells/CustomCells/SourceCell/type.d.ts +17 -0
  808. package/build/components/TableCells/CustomCells/SourceCell/type.js +12 -0
  809. package/build/components/TableCells/CustomCells/StatusCell/StatusCell.d.ts +1 -4
  810. package/build/components/TableCells/CustomCells/StatusCell/StatusCell.js +6 -11
  811. package/build/components/TableCells/CustomCells/StatusCell/StatusCellSheet.d.ts +4 -0
  812. package/build/components/TableCells/CustomCells/StatusCell/StatusCellSheet.js +21 -0
  813. package/build/components/TableCells/CustomCells/StatusCell/StatusCellText.d.ts +6 -0
  814. package/build/components/TableCells/CustomCells/StatusCell/StatusCellText.js +42 -0
  815. package/build/components/TableCells/CustomCells/StatusCell/index.d.ts +2 -0
  816. package/build/components/TableCells/CustomCells/StatusCell/index.js +2 -0
  817. package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +62 -62
  818. package/build/components/TableCells/CustomCells/StatusCell/style.js +3 -1
  819. package/build/components/TableCells/CustomCells/StatusCell/type.d.ts +2 -4
  820. package/build/components/TableCells/CustomCells/StatusCell/useStatusCell.d.ts +6 -0
  821. package/build/components/TableCells/CustomCells/StatusCell/useStatusCell.js +8 -0
  822. package/build/components/TableCells/CustomCells/StatusCell/utils.d.ts +2 -1
  823. package/build/components/TableCells/CustomCells/StatusCell/utils.js +2 -1
  824. package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.d.ts +21 -0
  825. package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.js +31 -0
  826. package/build/components/TableCells/CustomCells/TextWithChipCell/index.d.ts +2 -0
  827. package/build/components/TableCells/CustomCells/TextWithChipCell/index.js +2 -0
  828. package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +50 -50
  829. package/build/components/TableCells/CustomCells/WalletCell/WalletCell.js +2 -6
  830. package/build/components/TableCells/CustomCells/index.d.ts +7 -3
  831. package/build/components/TableCells/CustomCells/index.js +7 -3
  832. package/build/components/TableCells/CustomCells/style.d.ts +11 -12
  833. package/build/components/TableCells/CustomCells/style.js +3 -7
  834. package/build/components/TableCells/CustomCells/type.d.ts +7 -65
  835. package/build/components/TableHeader/FiltersRow.d.ts +1 -1
  836. package/build/components/TableHeader/FiltersRow.js +17 -4
  837. package/build/components/TableHeader/FiltersRowWrapper.d.ts +5 -0
  838. package/build/components/TableHeader/FiltersRowWrapper.js +18 -0
  839. package/build/components/TableHeader/TableHeader.d.ts +5 -4
  840. package/build/components/TableHeader/TableHeader.js +21 -6
  841. package/build/components/TableHeader/TableHeaderWrapper.d.ts +5 -0
  842. package/build/components/TableHeader/TableHeaderWrapper.js +18 -0
  843. package/build/components/TableHeader/TableModeButton.d.ts +9 -0
  844. package/build/components/TableHeader/TableModeButton.js +11 -0
  845. package/build/components/TableHeader/TableView/ColumnItem.d.ts +14 -0
  846. package/build/components/TableHeader/TableView/ColumnItem.js +29 -0
  847. package/build/components/TableHeader/TableView/CustomViews.d.ts +5 -0
  848. package/build/components/TableHeader/TableView/CustomViews.js +21 -0
  849. package/build/components/TableHeader/TableView/DefaultViews.d.ts +13 -0
  850. package/build/components/TableHeader/TableView/DefaultViews.js +22 -0
  851. package/build/components/TableHeader/TableView/TableView.d.ts +12 -0
  852. package/build/components/TableHeader/TableView/TableView.js +55 -0
  853. package/build/components/TableHeader/TableView/hooks/index.d.ts +3 -0
  854. package/build/components/TableHeader/TableView/hooks/index.js +3 -0
  855. package/build/components/TableHeader/TableView/hooks/useColumnItem.d.ts +21 -0
  856. package/build/components/TableHeader/TableView/hooks/useColumnItem.js +29 -0
  857. package/build/components/TableHeader/TableView/hooks/useSubMenu.d.ts +10 -0
  858. package/build/components/TableHeader/TableView/hooks/useSubMenu.js +31 -0
  859. package/build/components/TableHeader/TableView/hooks/useViewColumns.d.ts +13 -0
  860. package/build/components/TableHeader/TableView/hooks/useViewColumns.js +45 -0
  861. package/build/components/TableHeader/TableView/index.d.ts +3 -0
  862. package/build/components/TableHeader/TableView/index.js +3 -0
  863. package/build/components/TableHeader/TableView/style.d.ts +24 -0
  864. package/build/components/TableHeader/TableView/style.js +102 -0
  865. package/build/components/TableHeader/TableView/type.d.ts +10 -0
  866. package/build/components/TableHeader/TableView/type.js +1 -0
  867. package/build/components/TableHeader/data.d.ts +5 -0
  868. package/build/components/TableHeader/data.js +7 -0
  869. package/build/components/TableHeader/index.d.ts +6 -2
  870. package/build/components/TableHeader/index.js +6 -2
  871. package/build/components/TableHeader/style.d.ts +2 -2
  872. package/build/components/TableHeader/style.js +1 -1
  873. package/build/components/TableHeader/type.d.ts +19 -11
  874. package/build/components/TableHeader/type.js +0 -7
  875. package/build/components/TableReports/DownloadIconButton.d.ts +6 -0
  876. package/build/components/TableReports/DownloadIconButton.js +20 -0
  877. package/build/components/TableReports/Downloads.d.ts +10 -0
  878. package/build/components/TableReports/Downloads.js +24 -0
  879. package/build/components/TableReports/RecordLoading.d.ts +1 -0
  880. package/build/components/TableReports/RecordLoading.js +6 -0
  881. package/build/components/TableReports/TableReports.d.ts +5 -0
  882. package/build/components/TableReports/TableReports.js +53 -0
  883. package/build/components/TableReports/components/DownloadButton/DownloadButton.d.ts +8 -0
  884. package/build/components/TableReports/components/DownloadButton/DownloadButton.js +16 -0
  885. package/build/components/TableReports/components/DownloadButton/index.d.ts +2 -0
  886. package/build/components/TableReports/components/DownloadButton/index.js +2 -0
  887. package/build/components/TableReports/components/DownloadButton/style.d.ts +263 -0
  888. package/build/components/TableReports/components/DownloadButton/style.js +15 -0
  889. package/build/components/TableReports/hooks/index.d.ts +1 -0
  890. package/build/components/TableReports/hooks/index.js +1 -0
  891. package/build/components/TableReports/hooks/useDownloadReport.d.ts +11 -0
  892. package/build/components/TableReports/hooks/useDownloadReport.js +59 -0
  893. package/build/components/TableReports/index.d.ts +7 -0
  894. package/build/components/TableReports/index.js +7 -0
  895. package/build/components/TableReports/style.d.ts +323 -0
  896. package/build/components/TableReports/style.js +163 -0
  897. package/build/components/TableReports/type.d.ts +32 -0
  898. package/build/components/TableReports/type.js +1 -0
  899. package/build/components/TableReports/utils.d.ts +2 -0
  900. package/build/components/TableReports/utils.js +32 -0
  901. package/build/components/TableView/CustomViews.js +2 -0
  902. package/build/components/TableView/TableView.js +1 -0
  903. package/build/components/Timepicker/Timepicker.d.ts +2 -1
  904. package/build/components/Timepicker/Timepicker.js +9 -7
  905. package/build/components/Timepicker/index.d.ts +1 -0
  906. package/build/components/Timepicker/index.js +1 -0
  907. package/build/components/Timepicker/style.d.ts +3 -2
  908. package/build/components/Timepicker/style.js +1 -1
  909. package/build/components/Timepicker/utils.js +9 -5
  910. package/build/components/Toaster/Toaster.d.ts +1 -0
  911. package/build/components/Toaster/Toaster.js +12 -0
  912. package/build/components/Toaster/index.d.ts +2 -0
  913. package/build/components/Toaster/index.js +2 -0
  914. package/build/components/ToggleView/ToggleView.d.ts +16 -0
  915. package/build/components/ToggleView/ToggleView.js +32 -0
  916. package/build/components/ToggleView/ToggleWrapper.d.ts +4 -0
  917. package/build/components/ToggleView/ToggleWrapper.js +8 -0
  918. package/build/components/ToggleView/index.d.ts +3 -0
  919. package/build/components/ToggleView/index.js +3 -0
  920. package/build/components/ToggleView/style.d.ts +14 -0
  921. package/build/components/ToggleView/style.js +31 -0
  922. package/build/components/ToggleView/types.d.ts +6 -0
  923. package/build/components/ToggleView/types.js +6 -0
  924. package/build/components/Toolbar/style.d.ts +5 -2
  925. package/build/components/Toolbar/style.js +6 -1
  926. package/build/components/ToolbarIcon/ExpandButton/style.d.ts +1 -1
  927. package/build/components/Tooltip/Tooltip.js +5 -2
  928. package/build/components/TreeDropdown/TreeDropdown.d.ts +4 -0
  929. package/build/components/TreeDropdown/TreeDropdown.js +67 -0
  930. package/build/components/TreeDropdown/TreeNodeItem/SelectionControl.d.ts +8 -0
  931. package/build/components/TreeDropdown/TreeNodeItem/SelectionControl.js +17 -0
  932. package/build/components/TreeDropdown/TreeNodeItem/TreeNodeItem.d.ts +12 -0
  933. package/build/components/TreeDropdown/TreeNodeItem/TreeNodeItem.js +64 -0
  934. package/build/components/TreeDropdown/TreeNodeItem/index.d.ts +2 -0
  935. package/build/components/TreeDropdown/TreeNodeItem/index.js +2 -0
  936. package/build/components/TreeDropdown/TreeNodeItem/style.d.ts +14 -0
  937. package/build/components/TreeDropdown/TreeNodeItem/style.js +46 -0
  938. package/build/components/TreeDropdown/TreeNodeList/List.d.ts +6 -0
  939. package/build/components/TreeDropdown/TreeNodeList/List.js +17 -0
  940. package/build/components/TreeDropdown/TreeNodeList/TreeNodeList.d.ts +17 -0
  941. package/build/components/TreeDropdown/TreeNodeList/TreeNodeList.js +36 -0
  942. package/build/components/TreeDropdown/TreeNodeList/index.d.ts +2 -0
  943. package/build/components/TreeDropdown/TreeNodeList/index.js +2 -0
  944. package/build/components/TreeDropdown/TreeNodeList/style.d.ts +7 -0
  945. package/build/components/TreeDropdown/TreeNodeList/style.js +60 -0
  946. package/build/components/TreeDropdown/context/TreeDropdownProvider.d.ts +15 -0
  947. package/build/components/TreeDropdown/context/TreeDropdownProvider.js +13 -0
  948. package/build/components/TreeDropdown/hooks/useSearch.d.ts +17 -0
  949. package/build/components/TreeDropdown/hooks/useSearch.js +38 -0
  950. package/build/components/TreeDropdown/hooks/useTreeDropdown.d.ts +12 -0
  951. package/build/components/TreeDropdown/hooks/useTreeDropdown.js +10 -0
  952. package/build/components/TreeDropdown/index.d.ts +4 -0
  953. package/build/components/TreeDropdown/index.js +4 -0
  954. package/build/components/TreeDropdown/style.d.ts +9 -0
  955. package/build/components/TreeDropdown/style.js +43 -0
  956. package/build/components/TreeDropdown/type.d.ts +89 -0
  957. package/build/components/TreeDropdown/type.js +6 -0
  958. package/build/components/TreeDropdown/utils.d.ts +21 -0
  959. package/build/components/TreeDropdown/utils.js +161 -0
  960. package/build/components/VAT/TotalVAT/TotalVAT.d.ts +12 -0
  961. package/build/components/VAT/TotalVAT/TotalVAT.js +33 -0
  962. package/build/components/VAT/TotalVAT/index.d.ts +1 -0
  963. package/build/components/VAT/TotalVAT/index.js +1 -0
  964. package/build/components/VAT/TotalVAT/style.d.ts +12 -0
  965. package/build/components/VAT/TotalVAT/style.js +5 -0
  966. package/build/components/VAT/VATDropdown/VATDropdown.d.ts +11 -0
  967. package/build/components/VAT/VATDropdown/VATDropdown.js +34 -0
  968. package/build/components/VAT/VATDropdown/index.d.ts +1 -0
  969. package/build/components/VAT/VATDropdown/index.js +1 -0
  970. package/build/components/VAT/VATDropdown/style.d.ts +7 -0
  971. package/build/components/VAT/VATDropdown/style.js +32 -0
  972. package/build/components/VAT/VATRateDropdown/VATRateDropdown.d.ts +10 -0
  973. package/build/components/VAT/VATRateDropdown/VATRateDropdown.js +38 -0
  974. package/build/components/VAT/VATRateDropdown/index.d.ts +1 -0
  975. package/build/components/VAT/VATRateDropdown/index.js +1 -0
  976. package/build/components/VAT/VATRateDropdown/style.d.ts +7 -0
  977. package/build/components/VAT/VATRateDropdown/style.js +30 -0
  978. package/build/components/VAT/index.d.ts +4 -0
  979. package/build/components/VAT/index.js +4 -0
  980. package/build/components/VAT/utils.d.ts +7 -0
  981. package/build/components/VAT/utils.js +8 -0
  982. package/build/components/VerificationIcon/VerificationIcon.d.ts +5 -0
  983. package/build/components/VerificationIcon/VerificationIcon.js +7 -0
  984. package/build/components/VerificationIcon/VerificationIconWithBg.d.ts +5 -0
  985. package/build/components/VerificationIcon/VerificationIconWithBg.js +15 -0
  986. package/build/components/VerificationIcon/constant.d.ts +2 -0
  987. package/build/components/VerificationIcon/constant.js +18 -0
  988. package/build/components/VerificationIcon/index.d.ts +3 -0
  989. package/build/components/VerificationIcon/index.js +3 -0
  990. package/build/components/VerificationIcon/type.d.ts +2 -0
  991. package/build/components/VerificationIcon/type.js +1 -0
  992. package/build/components/ViewColumnRadioFilter/ViewColumnRadioFilter.d.ts +2 -0
  993. package/build/components/ViewColumnRadioFilter/ViewColumnRadioFilter.js +28 -0
  994. package/build/components/ViewColumnRadioFilter/index.d.ts +1 -0
  995. package/build/components/ViewColumnRadioFilter/index.js +1 -0
  996. package/build/components/ViewColumnRadioFilter/style.d.ts +3 -0
  997. package/build/components/ViewColumnRadioFilter/style.js +20 -0
  998. package/build/components/ViewColumnRadioFilter/type.d.ts +9 -0
  999. package/build/components/ViewColumnRadioFilter/type.js +1 -0
  1000. package/build/components/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.d.ts +1 -1
  1001. package/build/components/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.js +60 -10
  1002. package/build/components/VirtualTables/SheetViewVirtualTable/components/LoadingMainTable.js +2 -0
  1003. package/build/components/VirtualTables/SheetViewVirtualTable/components/MainTable.d.ts +1 -1
  1004. package/build/components/VirtualTables/SheetViewVirtualTable/components/MainTable.js +7 -3
  1005. package/build/components/VirtualTables/SheetViewVirtualTable/components/NoDataView.d.ts +1 -1
  1006. package/build/components/VirtualTables/SheetViewVirtualTable/components/NoDataView.js +2 -2
  1007. package/build/components/VirtualTables/SheetViewVirtualTable/components/PinnedColumn.d.ts +1 -1
  1008. package/build/components/VirtualTables/SheetViewVirtualTable/components/PinnedColumn.js +7 -3
  1009. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.d.ts +1 -1
  1010. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.js +2 -2
  1011. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.d.ts +4 -1
  1012. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.js +25 -12
  1013. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableLoading.js +41 -4
  1014. package/build/components/VirtualTables/SheetViewVirtualTable/components/VirtualTable.d.ts +3 -1
  1015. package/build/components/VirtualTables/SheetViewVirtualTable/components/VirtualTable.js +8 -4
  1016. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ColumnResize.d.ts +5 -0
  1017. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ColumnResize.js +41 -0
  1018. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ResizeOverlay.d.ts +5 -0
  1019. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ResizeOverlay.js +10 -0
  1020. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/index.d.ts +2 -0
  1021. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/index.js +2 -0
  1022. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/constants.d.ts +5 -0
  1023. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/constants.js +5 -0
  1024. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/index.d.ts +2 -0
  1025. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/index.js +2 -0
  1026. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResize.d.ts +16 -0
  1027. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResize.js +152 -0
  1028. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResizeWithPinned.d.ts +64 -0
  1029. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResizeWithPinned.js +29 -0
  1030. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/index.d.ts +4 -0
  1031. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/index.js +4 -0
  1032. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/styles.d.ts +17 -0
  1033. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/styles.js +55 -0
  1034. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/types/index.d.ts +45 -0
  1035. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/types/index.js +1 -0
  1036. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/index.d.ts +1 -0
  1037. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/index.js +1 -0
  1038. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.d.ts +18 -0
  1039. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.js +127 -0
  1040. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/index.d.ts +1 -0
  1041. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/index.js +1 -0
  1042. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/usePinnedColumns.js +2 -0
  1043. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableData.js +1 -0
  1044. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableDimensions.d.ts +12 -0
  1045. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableDimensions.js +26 -0
  1046. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableState.d.ts +2 -0
  1047. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableState.js +17 -2
  1048. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useVirtualTableContainer.d.ts +3 -1
  1049. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useVirtualTableContainer.js +7 -5
  1050. package/build/components/VirtualTables/SheetViewVirtualTable/style.d.ts +2 -2
  1051. package/build/components/VirtualTables/SheetViewVirtualTable/style.js +2 -2
  1052. package/build/components/VirtualTables/SheetViewVirtualTable/types.d.ts +11 -0
  1053. package/build/components/VirtualTables/VirtualTable/VirtualTable.d.ts +1 -1
  1054. package/build/components/VirtualTables/VirtualTable/VirtualTable.js +24 -6
  1055. package/build/components/VirtualTables/VirtualTableWithCard/VirtualTableWithCard.d.ts +1 -1
  1056. package/build/components/VirtualTables/VirtualTableWithCard/VirtualTableWithCard.js +8 -3
  1057. package/build/components/VirtualTables/components/ColumnFilter/ColumnFilter.d.ts +1 -1
  1058. package/build/components/VirtualTables/components/ColumnFilter/ColumnFilter.js +18 -30
  1059. package/build/components/VirtualTables/components/ColumnFilter/Inputs/Inputs.js +4 -1
  1060. package/build/components/VirtualTables/components/ColumnFilter/Inputs/style.d.ts +1 -1
  1061. package/build/components/VirtualTables/components/ColumnFilter/List/List.js +1 -1
  1062. package/build/components/VirtualTables/components/ColumnFilter/style.d.ts +2 -2
  1063. package/build/components/VirtualTables/components/ColumnFilter/type.d.ts +2 -0
  1064. package/build/components/VirtualTables/components/ErrorList/styles.d.ts +1 -1
  1065. package/build/components/VirtualTables/components/TableFooter/TableFooter.d.ts +1 -1
  1066. package/build/components/VirtualTables/components/TableFooter/TableFooter.js +2 -2
  1067. package/build/components/VirtualTables/components/TableFooter/style.d.ts +2 -2
  1068. package/build/components/VirtualTables/components/TableHeader/TableHeader.d.ts +1 -1
  1069. package/build/components/VirtualTables/components/TableHeader/TableHeader.js +2 -2
  1070. package/build/components/VirtualTables/components/TableHeader/components/TableCell/TableCell.d.ts +2 -1
  1071. package/build/components/VirtualTables/components/TableHeader/components/TableCell/TableCell.js +4 -2
  1072. package/build/components/VirtualTables/components/TableHeader/style.d.ts +2 -2
  1073. package/build/components/VirtualTables/components/TableHeader/type.d.ts +1 -0
  1074. package/build/components/VirtualTables/components/TableRow.d.ts +4 -3
  1075. package/build/components/VirtualTables/components/TableRow.js +74 -34
  1076. package/build/components/VirtualTables/components/style.d.ts +15 -16
  1077. package/build/components/VirtualTables/components/style.js +19 -3
  1078. package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.d.ts +1 -0
  1079. package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.js +5 -3
  1080. package/build/components/VirtualTables/components/virtualScroll/ListItemWrapperWithCard.js +2 -0
  1081. package/build/components/VirtualTables/components/virtualScroll/VirtualScrollList.js +16 -1
  1082. package/build/components/VirtualTables/hooks/useColumnFilter.d.ts +10 -0
  1083. package/build/components/VirtualTables/hooks/useColumnFilter.js +22 -0
  1084. package/build/components/Widget/List.d.ts +2 -1
  1085. package/build/components/Widget/List.js +2 -2
  1086. package/build/components/Widget/style.d.ts +1 -1
  1087. package/build/components/Widget/useScrollWithShadow.js +5 -4
  1088. package/build/components/Window/Window.d.ts +4 -2
  1089. package/build/components/Window/Window.js +8 -6
  1090. package/build/components/Window/style.d.ts +21 -21
  1091. package/build/components/Window/style.js +1 -1
  1092. package/build/components/WindowAppIcon/style.d.ts +1 -1
  1093. package/build/components/WindowBackdrop/WindowBackdrop.d.ts +6 -0
  1094. package/build/components/WindowBackdrop/WindowBackdrop.js +9 -0
  1095. package/build/components/WindowBackdrop/index.d.ts +1 -0
  1096. package/build/components/WindowBackdrop/index.js +1 -0
  1097. package/build/components/WindowSideBar/WindowSideBar.d.ts +4 -8
  1098. package/build/components/WindowSideBar/index.d.ts +1 -0
  1099. package/build/components/WindowSideBar/type.d.ts +10 -0
  1100. package/build/components/WindowSideBar/type.js +1 -0
  1101. package/build/components/index.d.ts +57 -4
  1102. package/build/components/index.js +57 -4
  1103. package/build/constants/api.d.ts +3 -3
  1104. package/build/constants/api.js +3 -3
  1105. package/build/constants/apps.d.ts +290 -0
  1106. package/build/constants/apps.js +139 -8
  1107. package/build/constants/assets.d.ts +78 -0
  1108. package/build/constants/assets.js +85 -3
  1109. package/build/constants/authentication.d.ts +2 -0
  1110. package/build/constants/authentication.js +14 -0
  1111. package/build/constants/chips/index.d.ts +1 -0
  1112. package/build/constants/chips/index.js +1 -0
  1113. package/build/{components/StatusChip/constants.d.ts → constants/chips/statusChips.d.ts} +1 -1
  1114. package/build/{components/StatusChip/constants.js → constants/chips/statusChips.js} +1 -1
  1115. package/build/constants/country.d.ts +1 -0
  1116. package/build/constants/country.js +1 -0
  1117. package/build/constants/currency.js +1 -0
  1118. package/build/constants/document.d.ts +5 -0
  1119. package/build/constants/document.js +5 -0
  1120. package/build/constants/index.d.ts +7 -0
  1121. package/build/constants/index.js +7 -0
  1122. package/build/constants/payment.d.ts +10 -0
  1123. package/build/constants/payment.js +22 -7
  1124. package/build/constants/rate.d.ts +6 -0
  1125. package/build/constants/rate.js +6 -0
  1126. package/build/constants/reports.d.ts +48 -0
  1127. package/build/constants/reports.js +109 -0
  1128. package/build/constants/segment.d.ts +13 -0
  1129. package/build/constants/segment.js +12 -0
  1130. package/build/constants/server.js +3 -3
  1131. package/build/constants/table/cell/authenticationsTableCellWidth.d.ts +26 -6
  1132. package/build/constants/table/cell/authenticationsTableCellWidth.js +26 -6
  1133. package/build/constants/table/cell/authorizationTableCellWidth.d.ts +103 -18
  1134. package/build/constants/table/cell/authorizationTableCellWidth.js +103 -18
  1135. package/build/constants/table/cell/chargeTableCellWidth.d.ts +46 -16
  1136. package/build/constants/table/cell/chargeTableCellWidth.js +46 -16
  1137. package/build/constants/table/cell/destinationsTableCellWidth.d.ts +105 -15
  1138. package/build/constants/table/cell/destinationsTableCellWidth.js +105 -15
  1139. package/build/constants/table/cell/invoicesTableCellWidth.d.ts +28 -8
  1140. package/build/constants/table/cell/invoicesTableCellWidth.js +28 -8
  1141. package/build/constants/table/cell/merchantsTableCellWidth.d.ts +98 -18
  1142. package/build/constants/table/cell/merchantsTableCellWidth.js +98 -18
  1143. package/build/constants/table/cell/payoutsTableCellWidth.d.ts +2 -2
  1144. package/build/constants/table/cell/payoutsTableCellWidth.js +2 -2
  1145. package/build/constants/table/cell/refundTableCellWidth.d.ts +114 -19
  1146. package/build/constants/table/cell/refundTableCellWidth.js +114 -19
  1147. package/build/constants/table/cell/terminalsTableCellWidth.d.ts +12 -12
  1148. package/build/constants/table/cell/terminalsTableCellWidth.js +12 -12
  1149. package/build/constants/table/cell/walletTableCellWidth.d.ts +1 -1
  1150. package/build/constants/table/cell/walletTableCellWidth.js +1 -1
  1151. package/build/constants/table.d.ts +2 -0
  1152. package/build/constants/table.js +2 -0
  1153. package/build/constants/timezones.js +3 -1
  1154. package/build/hooks/index.d.ts +7 -1
  1155. package/build/hooks/index.js +7 -1
  1156. package/build/hooks/useAppEventListener.d.ts +2 -0
  1157. package/build/hooks/useAppEventListener.js +13 -0
  1158. package/build/hooks/useAppEventPublisher.d.ts +2 -0
  1159. package/build/hooks/useAppEventPublisher.js +7 -0
  1160. package/build/hooks/useAppsInfo.d.ts +17 -0
  1161. package/build/hooks/useAppsInfo.js +21 -0
  1162. package/build/hooks/useCountdown.js +4 -0
  1163. package/build/hooks/useNetworkState.d.ts +12 -0
  1164. package/build/hooks/useNetworkState.js +112 -0
  1165. package/build/hooks/useScrolledTo.d.ts +13 -0
  1166. package/build/hooks/useScrolledTo.js +45 -0
  1167. package/build/hooks/useSelectedMerchantDetails.d.ts +10 -0
  1168. package/build/hooks/useSelectedMerchantDetails.js +15 -0
  1169. package/build/hooks/useStickyHeaderShadow.js +6 -0
  1170. package/build/hooks/useToast.d.ts +12 -0
  1171. package/build/hooks/useToast.js +29 -0
  1172. package/build/theme/shadows.js +1 -1
  1173. package/build/types/account.d.ts +2 -1
  1174. package/build/types/account.js +1 -0
  1175. package/build/types/appEvents.d.ts +51 -0
  1176. package/build/types/appEvents.js +16 -0
  1177. package/build/types/apps.d.ts +80 -10
  1178. package/build/types/brand.d.ts +3 -1
  1179. package/build/types/charge.d.ts +125 -0
  1180. package/build/types/column.d.ts +4 -1
  1181. package/build/types/common.d.ts +7 -0
  1182. package/build/types/common.js +1 -0
  1183. package/build/types/destination.d.ts +14 -0
  1184. package/build/types/discount.d.ts +5 -0
  1185. package/build/types/discount.js +6 -0
  1186. package/build/types/document.d.ts +2 -0
  1187. package/build/types/document.js +1 -0
  1188. package/build/types/entity.d.ts +29 -2
  1189. package/build/types/filter.d.ts +5 -0
  1190. package/build/types/filter.js +6 -0
  1191. package/build/types/flag.d.ts +27 -0
  1192. package/build/types/flag.js +1 -0
  1193. package/build/types/index.d.ts +12 -1
  1194. package/build/types/index.js +12 -1
  1195. package/build/types/invoice.d.ts +1 -6
  1196. package/build/types/invoice.js +0 -6
  1197. package/build/types/merchant.d.ts +109 -88
  1198. package/build/types/receipt.d.ts +4 -0
  1199. package/build/types/receipt.js +1 -0
  1200. package/build/types/refund.d.ts +440 -0
  1201. package/build/types/reports.d.ts +27 -0
  1202. package/build/types/reports.js +7 -0
  1203. package/build/types/segment.d.ts +15 -0
  1204. package/build/types/segment.js +16 -1
  1205. package/build/types/table.d.ts +16 -8
  1206. package/build/types/toast.d.ts +16 -0
  1207. package/build/types/toast.js +1 -0
  1208. package/build/types/tsUtils.d.ts +12 -0
  1209. package/build/types/tsUtils.js +1 -0
  1210. package/build/types/user.d.ts +67 -21
  1211. package/build/types/utilities.d.ts +24 -0
  1212. package/build/types/utilities.js +1 -0
  1213. package/build/types/window.d.ts +4 -0
  1214. package/build/types/window.js +1 -0
  1215. package/build/utils/api.js +3 -0
  1216. package/build/utils/array.js +5 -1
  1217. package/build/utils/billing.js +1 -0
  1218. package/build/utils/boolean.d.ts +1 -0
  1219. package/build/utils/boolean.js +7 -0
  1220. package/build/utils/color.d.ts +11 -0
  1221. package/build/utils/color.js +27 -0
  1222. package/build/utils/columnResizeStorage.d.ts +16 -0
  1223. package/build/utils/columnResizeStorage.js +96 -0
  1224. package/build/utils/columns.d.ts +2 -2
  1225. package/build/utils/columns.js +3 -4
  1226. package/build/utils/country.d.ts +2 -1
  1227. package/build/utils/country.js +6 -3
  1228. package/build/utils/currency.d.ts +0 -1
  1229. package/build/utils/currency.js +8 -8
  1230. package/build/utils/date.d.ts +12 -0
  1231. package/build/utils/date.js +66 -6
  1232. package/build/utils/encrypt.js +3 -1
  1233. package/build/utils/error.js +2 -0
  1234. package/build/utils/freshdesk.js +2 -0
  1235. package/build/utils/geography.js +1 -1
  1236. package/build/utils/index.d.ts +4 -0
  1237. package/build/utils/index.js +4 -0
  1238. package/build/utils/localStorage.d.ts +10 -1
  1239. package/build/utils/localStorage.js +51 -0
  1240. package/build/utils/merchant.js +3 -0
  1241. package/build/utils/merchantSource.d.ts +30 -0
  1242. package/build/utils/merchantSource.js +36 -0
  1243. package/build/utils/navigation.d.ts +1 -1
  1244. package/build/utils/number.d.ts +2 -0
  1245. package/build/utils/number.js +8 -0
  1246. package/build/utils/object.d.ts +1 -0
  1247. package/build/utils/object.js +4 -3
  1248. package/build/utils/segment.d.ts +59 -2
  1249. package/build/utils/segment.js +48 -0
  1250. package/build/utils/source.d.ts +1 -0
  1251. package/build/utils/source.js +5 -0
  1252. package/build/utils/string.d.ts +8 -0
  1253. package/build/utils/string.js +14 -0
  1254. package/build/utils/style.d.ts +19 -1
  1255. package/build/utils/style.js +49 -16
  1256. package/build/utils/table.d.ts +15 -2
  1257. package/build/utils/table.js +155 -3
  1258. package/build/utils/timezone.d.ts +2 -0
  1259. package/build/utils/timezone.js +3 -0
  1260. package/build/utils/url.d.ts +1 -0
  1261. package/build/utils/url.js +12 -0
  1262. package/package.json +35 -2
  1263. package/build/components/CurrencyIcon/CurrencyIcon.d.ts +0 -5
  1264. package/build/components/CurrencyIcon/CurrencyIcon.js +0 -15
  1265. package/build/components/CurrencyIcon/index.d.ts +0 -2
  1266. package/build/components/CurrencyIcon/index.js +0 -2
  1267. package/build/components/CurrencyIcon/style.js +0 -13
  1268. package/build/components/Notifications/Notifications.d.ts +0 -1
  1269. package/build/components/Notifications/Notifications.js +0 -12
  1270. package/build/components/Notifications/index.d.ts +0 -2
  1271. package/build/components/Notifications/index.js +0 -2
  1272. package/build/components/TableCells/CustomCells/SourceCell/utils.d.ts +0 -1
  1273. package/build/components/TableCells/CustomCells/SourceCell/utils.js +0 -8
  1274. package/build/components/TableCells/CustomCells/SourceMergedCell/CollapsedViewIcon.d.ts +0 -11
  1275. package/build/components/TableCells/CustomCells/SourceMergedCell/CollapsedViewIcon.js +0 -51
  1276. package/build/components/TableCells/CustomCells/SourceMergedCell/SourceMergedCell.d.ts +0 -3
  1277. package/build/components/TableCells/CustomCells/SourceMergedCell/SourceMergedCell.js +0 -99
  1278. package/build/components/TableCells/CustomCells/SourceMergedCell/index.d.ts +0 -3
  1279. package/build/components/TableCells/CustomCells/SourceMergedCell/index.js +0 -3
  1280. package/build/components/TableCells/CustomCells/SourceMergedCell/style.d.ts +0 -1622
  1281. package/build/components/TableCells/CustomCells/SourceMergedCell/style.js +0 -95
  1282. package/build/components/TableCells/CustomCells/SourceMergedCell/type.d.ts +0 -19
  1283. package/build/components/TableCells/CustomCells/SourceMergedCell/utils.d.ts +0 -12
  1284. package/build/components/TableCells/CustomCells/SourceMergedCell/utils.js +0 -12
  1285. package/build/components/TableCells/CustomCells/TerminalsBrandCell/TerminalsBrandCell.d.ts +0 -12
  1286. package/build/components/TableCells/CustomCells/TerminalsBrandCell/TerminalsBrandCell.js +0 -20
  1287. package/build/components/TableCells/CustomCells/TerminalsBrandCell/index.d.ts +0 -1
  1288. package/build/components/TableCells/CustomCells/TerminalsBrandCell/index.js +0 -1
  1289. package/build/components/TableCells/CustomCells/TerminalsPlatformCell/TerminalsPlatformCell.d.ts +0 -12
  1290. package/build/components/TableCells/CustomCells/TerminalsPlatformCell/TerminalsPlatformCell.js +0 -19
  1291. package/build/components/TableCells/CustomCells/TerminalsPlatformCell/index.d.ts +0 -1
  1292. package/build/components/TableCells/CustomCells/TerminalsPlatformCell/index.js +0 -1
  1293. package/build/hooks/useCheckInternetConnection.d.ts +0 -1
  1294. package/build/hooks/useCheckInternetConnection.js +0 -17
  1295. package/build/types/source.d.ts +0 -1
  1296. /package/build/components/{TableCells/CustomCells/SourceMergedCell → ErrorToast}/type.js +0 -0
  1297. /package/build/{types/source.js → components/FileInputPreview/type.js} +0 -0
  1298. /package/build/components/TableCells/CustomCells/AmountCell/{AmountConversionTooltipLabel.d.ts → components/AmountConversionTooltipLabel.d.ts} +0 -0
  1299. /package/build/components/{Notifications → Toaster}/style.d.ts +0 -0
  1300. /package/build/components/{Notifications → Toaster}/style.js +0 -0
@@ -0,0 +1,69 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { memo, useState, useCallback, useMemo } from 'react';
3
+ import Box from '@mui/material/Box';
4
+ import { useTranslation } from 'react-i18next';
5
+ import { CountryFlag } from '../index.js';
6
+ import { blueCheckIcon, rightArrow } from '../../constants/index.js';
7
+ import { getNameText } from '../../utils/index.js';
8
+ import { Counter, CountingInfo, Content, StyledMenu, StyledChildMenuItem, MenuItemStatusClasses } from './style';
9
+ import MerchantsList from './MerchantsList';
10
+ function EntityItem(props) {
11
+ var _a, _b, _c;
12
+ const { entity, brandId, selectedValue, onValueChange, onlyOne, menuFlipped } = props;
13
+ const [merchantAnchorElement, setMerchantAnchorElement] = useState(null);
14
+ const { i18n } = useTranslation();
15
+ const [subMenuFlipped, setSubMenuFlipped] = useState(false);
16
+ const isMenuOpen = Boolean(merchantAnchorElement);
17
+ const hasMerchants = ((_b = (_a = entity.merchants) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) > 0;
18
+ const isSelected = brandId === (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.brandId) && entity.id === (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.entityId);
19
+ const handleMouseEnter = useCallback((event) => {
20
+ if (hasMerchants) {
21
+ setMerchantAnchorElement(event.currentTarget);
22
+ }
23
+ }, [hasMerchants]);
24
+ const handleMouseLeave = useCallback(() => {
25
+ if (merchantAnchorElement) {
26
+ setMerchantAnchorElement(null);
27
+ }
28
+ }, [merchantAnchorElement]);
29
+ const handleSelectMerchant = useCallback((entityId, merchant) => {
30
+ onValueChange({
31
+ merchantId: merchant.id,
32
+ brandId,
33
+ entityId,
34
+ legacyId: merchant.legacy_id,
35
+ });
36
+ }, [brandId, onValueChange]);
37
+ const menuItemClassNames = useMemo(() => {
38
+ const classNames = [];
39
+ if (isSelected)
40
+ classNames.push(MenuItemStatusClasses.SELECTED);
41
+ if (onlyOne)
42
+ classNames.push(MenuItemStatusClasses.ONLY_ONE);
43
+ if (menuFlipped)
44
+ classNames.push(MenuItemStatusClasses.FLIPPED);
45
+ if (isMenuOpen)
46
+ classNames.push(MenuItemStatusClasses.SUBMENU_OPEN);
47
+ if (subMenuFlipped)
48
+ classNames.push(MenuItemStatusClasses.SUBMENU_FLIPPED);
49
+ return classNames.join(' ');
50
+ }, [isSelected, isMenuOpen, subMenuFlipped, onlyOne, menuFlipped]);
51
+ return (_jsxs(StyledChildMenuItem, Object.assign({ "data-testid": "EntityItem", className: menuItemClassNames, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, hideCheckbox: true }, { children: [_jsxs(Content, { children: [_jsxs(CountingInfo, { children: [isSelected ? _jsx("img", { src: blueCheckIcon, alt: "Selected" }) : _jsx(Box, { width: 15 }), _jsx(CountryFlag, { countryCode: entity.country }), _jsx("span", { children: getNameText(entity.legal_name, i18n.language) })] }), hasMerchants && (_jsxs(CountingInfo, { children: [_jsx(Counter, { children: (_c = entity.merchants) === null || _c === void 0 ? void 0 : _c.length }), _jsx("img", { src: rightArrow, className: "arrow-icon", alt: "Expand" })] }))] }), _jsx(StyledMenu, Object.assign({ open: isMenuOpen, anchorEl: merchantAnchorElement, placement: "right-start", modifiers: [
52
+ {
53
+ name: 'placementTracker',
54
+ enabled: true,
55
+ phase: 'write',
56
+ fn({ state }) {
57
+ setSubMenuFlipped(state.placement === 'left-start');
58
+ },
59
+ },
60
+ ], sx: {
61
+ '& .MuiPopper-dropdown': {
62
+ minWidth: '141px',
63
+ },
64
+ } }, { children: _jsx(MerchantsList, { items: entity.merchants || [], onItemClick: (event, selected) => {
65
+ event.stopPropagation();
66
+ handleSelectMerchant(entity.id, selected);
67
+ }, menuFlipped: subMenuFlipped, value: selectedValue }) }))] })));
68
+ }
69
+ export default memo(EntityItem);
@@ -0,0 +1,11 @@
1
+ import { Brand, Entity as EntityType, EntityDetails, MerchantInfo } from '../../types/index.js';
2
+ import { MerchantsDropdownProps } from './type';
3
+ type EntityListProps = {
4
+ items: (EntityDetails & EntityType)[];
5
+ brand: Brand;
6
+ menuFlipped?: boolean;
7
+ value?: MerchantInfo;
8
+ onChange: MerchantsDropdownProps['onValueChange'];
9
+ };
10
+ declare const EntityList: (props: EntityListProps) => import("react/jsx-runtime").JSX.Element;
11
+ export default EntityList;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import EntityItem from './EntityItem';
3
+ const EntityList = (props) => {
4
+ const { items, brand, value, onChange, menuFlipped } = props;
5
+ return (_jsx(_Fragment, { children: items.map((entity) => (_jsx(EntityItem, { entity: entity, brandId: brand.id, selectedValue: value, onValueChange: onChange, onlyOne: items.length === 1, menuFlipped: menuFlipped }, entity.id))) }));
6
+ };
7
+ export default EntityList;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { MenuItem } from '../index.js';
3
+ import { Merchant, MerchantInfo as MerchantInfoType } from '../../types/index.js';
4
+ type MerchantItemProps = {
5
+ merchant: Merchant;
6
+ selectedValue?: MerchantInfoType;
7
+ onClick: React.ComponentProps<typeof MenuItem>['onClick'];
8
+ onlyOne?: boolean;
9
+ menuFlipped?: boolean;
10
+ className?: string;
11
+ };
12
+ declare const MerchantItem: (props: MerchantItemProps) => import("react/jsx-runtime").JSX.Element;
13
+ export default MerchantItem;
@@ -0,0 +1,27 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useMemo } from 'react';
3
+ import Typography from '@mui/material/Typography';
4
+ import Box from '@mui/material/Box';
5
+ import { alpha } from '@mui/material/styles';
6
+ import { blueCheckIcon } from '../../constants/index.js';
7
+ import { MenuItemStatusClasses, MerchantInfo, StyledChildMenuItem } from './style';
8
+ const MerchantItem = (props) => {
9
+ const { merchant, selectedValue, onClick, onlyOne, menuFlipped } = props;
10
+ const isSelected = merchant.id === (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.merchantId);
11
+ const menuItemClassNames = useMemo(() => {
12
+ const classNames = [];
13
+ if (isSelected)
14
+ classNames.push(MenuItemStatusClasses.SELECTED);
15
+ if (onlyOne)
16
+ classNames.push(MenuItemStatusClasses.ONLY_ONE);
17
+ if (menuFlipped)
18
+ classNames.push(MenuItemStatusClasses.FLIPPED);
19
+ return classNames.join(' ');
20
+ }, [isSelected, onlyOne, menuFlipped]);
21
+ return (_jsxs(StyledChildMenuItem, Object.assign({ "data-testid": "MerchantItem", className: menuItemClassNames, sx: {
22
+ py: '4.5px',
23
+ pl: 1,
24
+ pr: 2,
25
+ }, onClick: onClick, hideCheckbox: true }, { children: [isSelected ? _jsx("img", { src: blueCheckIcon, alt: "Selected" }) : _jsx(Box, { width: 15 }), _jsxs(MerchantInfo, { children: [_jsx(Typography, Object.assign({ component: "span", fontSize: 11 }, { children: merchant.display_name })), _jsx(Typography, Object.assign({ color: (theme) => alpha(theme.palette.text.primary, 0.5), fontSize: 8 }, { children: merchant.legacy_id }))] })] }), merchant.id));
26
+ };
27
+ export default MerchantItem;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { MerchantsDropdownProps } from './type';
3
+ declare function MerchantsDropdown({ brands, isLoading, label, sx, selectedValue, isDisabled, isFetchingNextPage, renderBrandLogo, onValueChange, showSearchInput, }: Readonly<MerchantsDropdownProps>): import("react/jsx-runtime").JSX.Element;
4
+ declare const _default: import("react").MemoExoticComponent<typeof MerchantsDropdown>;
5
+ export default _default;
@@ -0,0 +1,67 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { memo, useMemo, useCallback, useRef, useState } from 'react';
3
+ import ClickAwayListener from '@mui/material/ClickAwayListener';
4
+ import { Loader, LastRowContent, SearchListInput } from '../index.js';
5
+ import { downArrowIcon } from '../../constants/index.js';
6
+ import { getNameText } from '../../utils/index.js';
7
+ import BrandItem from './BrandItem';
8
+ import { SelectedBrand, Label, CollapseIcon, LoadingRow, StyledMenu } from './style';
9
+ import { useDropdownMenu, useDefaultMerchantSelection, getIsSingleMerchant } from './hooks';
10
+ /**
11
+ * Renders the arrow icon based on loading state and merchant count
12
+ */
13
+ const DropdownArrowIcon = ({ isLoading, isSingleMerchant, isOpen }) => {
14
+ if (isLoading) {
15
+ return _jsx(Loader, {});
16
+ }
17
+ if (!isSingleMerchant) {
18
+ return _jsx(CollapseIcon, { src: downArrowIcon, alt: "Toggle dropdown", expanded: isOpen });
19
+ }
20
+ return null;
21
+ };
22
+ function MerchantsDropdown({ brands, isLoading = true, label, sx, selectedValue, isDisabled, isFetchingNextPage, renderBrandLogo, onValueChange, showSearchInput, }) {
23
+ var _a;
24
+ const { anchorElement, isOpen, openMenu, closeMenu } = useDropdownMenu();
25
+ const controllerRef = useRef(null);
26
+ const [searchInputValue, setSearchInputValue] = useState('');
27
+ useDefaultMerchantSelection(brands, selectedValue, onValueChange);
28
+ const isSingleMerchant = useMemo(() => getIsSingleMerchant(brands), [brands]);
29
+ const shouldDisableInteraction = isSingleMerchant || isDisabled || isLoading;
30
+ const handleContainerClick = useCallback((event) => {
31
+ if (!shouldDisableInteraction) {
32
+ openMenu(event);
33
+ }
34
+ }, [shouldDisableInteraction, openMenu]);
35
+ const handleClickAway = useCallback(() => {
36
+ if (isOpen) {
37
+ closeMenu();
38
+ }
39
+ }, [isOpen, closeMenu]);
40
+ const handleSearchInputChange = (value) => {
41
+ setSearchInputValue(value);
42
+ };
43
+ const handleSearchInputReset = () => {
44
+ setSearchInputValue('');
45
+ };
46
+ const filteredBrands = useMemo(() => {
47
+ if (!searchInputValue.trim())
48
+ return brands;
49
+ return brands.filter((brand) => {
50
+ var _a, _b, _c;
51
+ return ((_b = (_a = getNameText(brand.name)) === null || _a === void 0 ? void 0 : _a.trim().toLowerCase()) === null || _b === void 0 ? void 0 : _b.includes(searchInputValue.trim().toLowerCase())) ||
52
+ ((_c = brand === null || brand === void 0 ? void 0 : brand.id) === null || _c === void 0 ? void 0 : _c.toLowerCase().includes(searchInputValue.trim().toLowerCase()));
53
+ });
54
+ }, [searchInputValue, brands]);
55
+ const displayBrands = useMemo(() => (showSearchInput ? filteredBrands : brands), [brands, filteredBrands, showSearchInput]);
56
+ return (_jsx(ClickAwayListener, Object.assign({ onClickAway: handleClickAway }, { children: _jsxs(SelectedBrand, Object.assign({ isOpen: isOpen, onClick: handleContainerClick, sx: Object.assign(Object.assign({}, (shouldDisableInteraction && {
57
+ pointerEvents: 'none',
58
+ opacity: 0.7,
59
+ })), sx), ref: controllerRef }, { children: [_jsx(Label, Object.assign({ noWrap: true, sx: Object.assign({}, ((label === null || label === void 0 ? void 0 : label.length) > 16 && {
60
+ width: 100,
61
+ })) }, { children: label })), _jsx(DropdownArrowIcon, { isLoading: isLoading, isSingleMerchant: isSingleMerchant, isOpen: isOpen }), _jsxs(StyledMenu, Object.assign({ open: isOpen, anchorEl: anchorElement, sx: {
62
+ '& .MuiPopper-dropdown': Object.assign(Object.assign({ mt: '5px', overflowY: 'auto', maxHeight: 432 }, (controllerRef.current && {
63
+ width: (_a = controllerRef.current.offsetWidth) !== null && _a !== void 0 ? _a : 'auto',
64
+ })), { minWidth: 180 }),
65
+ } }, { children: [showSearchInput && brands.length > 1 && (_jsx(SearchListInput, { placeholder: "Brands", name: "brands", value: searchInputValue, onSearchChange: handleSearchInputChange, onSearchReset: handleSearchInputReset, sx: { px: '8px' } })), displayBrands === null || displayBrands === void 0 ? void 0 : displayBrands.map((brand) => (_jsx(BrandItem, { brand: brand, selectedValue: selectedValue, onClose: closeMenu, onValueChange: onValueChange, renderBrandLogo: renderBrandLogo }, brand.id))), isFetchingNextPage && (_jsx(LoadingRow, { children: _jsx(LastRowContent, { isLoadingRow: true }) }))] }))] })) })));
66
+ }
67
+ export default memo(MerchantsDropdown);
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { Merchant, MerchantInfo as MerchantInfoType } from '../../types/index.js';
3
+ import MerchantItem from './MerchantItem';
4
+ type OnItemClick = Exclude<React.ComponentProps<typeof MerchantItem>['onClick'], undefined>;
5
+ type MerchantsListProps = {
6
+ items: Merchant[];
7
+ onItemClick?: (event: Parameters<OnItemClick>[0], selected: Merchant) => void;
8
+ menuFlipped?: boolean;
9
+ value?: MerchantInfoType;
10
+ };
11
+ declare const MerchantsList: (props: MerchantsListProps) => import("react/jsx-runtime").JSX.Element;
12
+ export default MerchantsList;
@@ -0,0 +1,18 @@
1
+ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { useMemo } from 'react';
3
+ import MerchantItem from './MerchantItem';
4
+ import { MenuItemStatusClasses } from './style';
5
+ const MerchantsList = (props) => {
6
+ const { items, value, onItemClick, menuFlipped } = props;
7
+ const onlyOne = items.length === 1;
8
+ const menuItemClassNames = useMemo(() => {
9
+ const classNames = [];
10
+ if (onlyOne)
11
+ classNames.push(MenuItemStatusClasses.ONLY_ONE);
12
+ if (menuFlipped)
13
+ classNames.push(MenuItemStatusClasses.FLIPPED);
14
+ return classNames.join(' ');
15
+ }, [onlyOne, menuFlipped]);
16
+ return (_jsx(_Fragment, { children: items.map((merchant) => (_jsx(MerchantItem, { className: menuItemClassNames, onlyOne: items.length === 1, selectedValue: value, merchant: merchant, onClick: (e) => onItemClick === null || onItemClick === void 0 ? void 0 : onItemClick(e, merchant), menuFlipped: menuFlipped }, merchant.id))) }));
17
+ };
18
+ export default MerchantsList;
@@ -0,0 +1,19 @@
1
+ import { MouseEvent } from 'react';
2
+ import { Brand, MerchantInfo } from '../../types/index.js';
3
+ /**
4
+ * Custom hook to handle dropdown menu state
5
+ */
6
+ export declare const useDropdownMenu: () => {
7
+ anchorElement: HTMLElement | null;
8
+ isOpen: boolean;
9
+ openMenu: (event: MouseEvent<HTMLElement>) => void;
10
+ closeMenu: () => void;
11
+ };
12
+ /**
13
+ * Custom hook to handle default merchant selection
14
+ */
15
+ export declare const useDefaultMerchantSelection: (brandsList: Brand[], selectedValue: MerchantInfo | undefined, onValueChange: (merchant: Required<MerchantInfo>) => void) => void;
16
+ /**
17
+ * Check if only one merchant exists across all brands
18
+ */
19
+ export declare const getIsSingleMerchant: (brandsList: Brand[]) => boolean;
@@ -0,0 +1,54 @@
1
+ import { useState, useEffect, useCallback } from 'react';
2
+ /**
3
+ * Custom hook to handle dropdown menu state
4
+ */
5
+ export const useDropdownMenu = () => {
6
+ const [anchorElement, setAnchorElement] = useState(null);
7
+ const isOpen = Boolean(anchorElement);
8
+ const openMenu = useCallback((event) => {
9
+ setAnchorElement(event.currentTarget);
10
+ }, []);
11
+ const closeMenu = useCallback(() => {
12
+ setAnchorElement(null);
13
+ }, []);
14
+ return {
15
+ anchorElement,
16
+ isOpen,
17
+ openMenu,
18
+ closeMenu,
19
+ };
20
+ };
21
+ /**
22
+ * Custom hook to handle default merchant selection
23
+ */
24
+ export const useDefaultMerchantSelection = (brandsList, selectedValue, onValueChange) => {
25
+ useEffect(() => {
26
+ var _a;
27
+ // Skip if a merchant is already selected
28
+ if (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.merchantId)
29
+ return;
30
+ // Find the first brand with entities that have merchants
31
+ const defaultBrand = brandsList.find((brand) => { var _a; return ((_a = brand.entities) === null || _a === void 0 ? void 0 : _a.length) > 0 && brand.entities.some((entity) => { var _a, _b; return ((_b = (_a = entity.merchants) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) > 0; }); });
32
+ if (!defaultBrand)
33
+ return;
34
+ // Find the first entity with merchants
35
+ const defaultEntity = defaultBrand.entities.find((entity) => { var _a, _b; return ((_b = (_a = entity.merchants) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) > 0; });
36
+ if (!((_a = defaultEntity === null || defaultEntity === void 0 ? void 0 : defaultEntity.merchants) === null || _a === void 0 ? void 0 : _a[0]))
37
+ return;
38
+ // Set the default selection
39
+ const defaultMerchant = defaultEntity.merchants[0];
40
+ onValueChange({
41
+ merchantId: defaultMerchant.id,
42
+ brandId: defaultBrand.id,
43
+ entityId: defaultEntity.id,
44
+ legacyId: defaultMerchant.legacy_id,
45
+ });
46
+ }, [brandsList, selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.merchantId, onValueChange]);
47
+ };
48
+ /**
49
+ * Check if only one merchant exists across all brands
50
+ */
51
+ export const getIsSingleMerchant = (brandsList) => {
52
+ var _a, _b;
53
+ return brandsList.length === 1 && ((_a = brandsList[0].entities) === null || _a === void 0 ? void 0 : _a.length) === 1 && ((_b = brandsList[0].entities[0].merchants) === null || _b === void 0 ? void 0 : _b.length) === 1;
54
+ };
@@ -0,0 +1 @@
1
+ export { default as MerchantsDropdown } from './MerchantsDropdown';
@@ -0,0 +1 @@
1
+ export { default as MerchantsDropdown } from './MerchantsDropdown';
@@ -0,0 +1,38 @@
1
+ /// <reference types="react" />
2
+ export declare const Counter: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
5
+ export declare const CountingInfo: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
7
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
8
+ export declare const Content: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
10
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
11
+ export declare const MerchantInfo: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
12
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
13
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
14
+ export declare const SelectedBrand: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
15
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
16
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
17
+ isOpen: boolean;
18
+ }, {}, {}>;
19
+ export declare const Label: import("@emotion/styled").StyledComponent<import("@mui/material/Typography").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
20
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
21
+ }, "width" | "minHeight" | "height" | "bottom" | "left" | "right" | "top" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "align" | "className" | "style" | "children" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
22
+ export declare const CollapseIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
23
+ expanded: boolean;
24
+ }, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
25
+ export declare const LoadingRow: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
26
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
27
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
28
+ export declare const StyledMenu: import("@emotion/styled").StyledComponent<Omit<import("../Menu/Menu").MenuProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
29
+ export declare enum MenuItemStatusClasses {
30
+ SELECTED = "Mui-selected",
31
+ ONLY_ONE = "Mui-only-one",
32
+ FLIPPED = "Mui-flipped",
33
+ SUBMENU_OPEN = "Mui-Submenu-open",
34
+ SUBMENU_FLIPPED = "Mui-Submenu-flipped"
35
+ }
36
+ export declare const StyledMenuItem: import("@emotion/styled").StyledComponent<import("../MenuItem/MenuItem").MenuItemProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
37
+ export declare const StyledChildMenuItem: import("@emotion/styled").StyledComponent<import("../MenuItem/MenuItem").MenuItemProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
38
+ export declare const StyledMenuItemHeader: import("@emotion/styled").StyledComponent<import("../MenuItem/MenuItem").MenuItemProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
@@ -0,0 +1,155 @@
1
+ import Typography from '@mui/material/Typography';
2
+ import Box from '@mui/material/Box';
3
+ import { styled } from '@mui/material/styles';
4
+ import { Menu, MenuItem } from '../index.js';
5
+ export const Counter = styled(Box)(({ theme }) => ({
6
+ borderRadius: '50%',
7
+ background: theme.palette.divider,
8
+ width: 13,
9
+ height: 14,
10
+ fontSize: '8px',
11
+ fontWeight: 700,
12
+ display: 'flex',
13
+ alignItems: 'center',
14
+ justifyContent: 'center',
15
+ lineHeight: '10px',
16
+ }));
17
+ export const CountingInfo = styled(Box)(() => ({
18
+ display: 'flex',
19
+ alignItems: 'center',
20
+ gap: '4px',
21
+ '.arrow-icon': {
22
+ height: 12,
23
+ },
24
+ }));
25
+ export const Content = styled(Box)(() => ({
26
+ display: 'flex',
27
+ gap: '12px',
28
+ justifyContent: 'space-between',
29
+ flexGrow: 1,
30
+ width: '100%',
31
+ alignItems: 'center',
32
+ }));
33
+ export const MerchantInfo = styled(Box)(() => ({
34
+ display: 'flex',
35
+ flexDirection: 'column',
36
+ }));
37
+ export const SelectedBrand = styled(Box, { shouldForwardProp: (prop) => prop !== 'isOpen' })(({ isOpen, theme }) => (Object.assign(Object.assign({ display: 'flex', alignItems: 'center', justifyContent: 'space-between', gap: '5px', cursor: 'pointer', padding: '8px', border: `1px solid ${theme.palette.divider}`, color: theme.palette.text.primary, background: theme.palette.common.white, borderRadius: '4px', height: 32, width: 'fit-content', minWidth: '89px', img: {
38
+ marginTop: '1px',
39
+ } }, (isOpen && {
40
+ borderColor: theme.palette.info.dark,
41
+ })), { '&:hover': {
42
+ background: theme.palette.divider,
43
+ } })));
44
+ export const Label = styled(Typography)(({ theme }) => ({
45
+ fontSize: '11px',
46
+ fontWeight: 500,
47
+ color: theme.palette.text.primary,
48
+ }));
49
+ export const CollapseIcon = styled('img', { shouldForwardProp: (props) => props !== 'expanded' })(({ theme, expanded }) => ({
50
+ transform: !expanded ? 'rotate(0deg)' : 'rotate(180deg)',
51
+ marginLeft: 'auto',
52
+ transition: theme.transitions.create('transform', {
53
+ duration: theme.transitions.duration.shortest,
54
+ }),
55
+ }));
56
+ export const LoadingRow = styled(Box)(() => ({
57
+ display: 'flex',
58
+ justifyContent: 'center',
59
+ alignItems: 'center',
60
+ paddingBlock: '4px',
61
+ borderTop: '1px solid #F2F2F2',
62
+ }));
63
+ export const StyledMenu = styled(Menu)({
64
+ '& .MuiPopper-dropdown': {
65
+ maxHeight: 700,
66
+ overflow: 'visible',
67
+ },
68
+ });
69
+ export var MenuItemStatusClasses;
70
+ (function (MenuItemStatusClasses) {
71
+ MenuItemStatusClasses["SELECTED"] = "Mui-selected";
72
+ MenuItemStatusClasses["ONLY_ONE"] = "Mui-only-one";
73
+ MenuItemStatusClasses["FLIPPED"] = "Mui-flipped";
74
+ MenuItemStatusClasses["SUBMENU_OPEN"] = "Mui-Submenu-open";
75
+ MenuItemStatusClasses["SUBMENU_FLIPPED"] = "Mui-Submenu-flipped";
76
+ })(MenuItemStatusClasses || (MenuItemStatusClasses = {}));
77
+ export const StyledMenuItem = styled(MenuItem)({
78
+ '--menuitem-border-rad': '4px',
79
+ backgroundColor: '#fff',
80
+ minHeight: 36,
81
+ '&:first-of-type': {
82
+ borderTopLeftRadius: 'var(--menuitem-border-rad)',
83
+ borderTopRightRadius: 'var(--menuitem-border-rad)',
84
+ },
85
+ '&:last-of-type': {
86
+ borderBottomLeftRadius: 'var(--menuitem-border-rad)',
87
+ borderBottomRightRadius: 'var(--menuitem-border-rad)',
88
+ },
89
+ '&.Mui-Submenu-open': {
90
+ borderTopRightRadius: 0,
91
+ borderBottomRightRadius: 0,
92
+ '&.Mui-Submenu-flipped': {
93
+ borderTopLeftRadius: 0,
94
+ borderBottomLeftRadius: 0,
95
+ borderTopRightRadius: 'var(--menuitem-border-rad)',
96
+ borderBottomRightRadius: 'var(--menuitem-border-rad)',
97
+ },
98
+ },
99
+ '&.Mui-selected': {
100
+ boxShadow: '0px 0px 16px rgba(0, 0, 0, 0.13)',
101
+ zIndex: 1,
102
+ },
103
+ });
104
+ export const StyledChildMenuItem = styled(StyledMenuItem)({
105
+ '&:first-of-type': {
106
+ borderTopLeftRadius: 0,
107
+ borderTopRightRadius: 'var(--menuitem-border-rad)',
108
+ '&.Mui-flipped': {
109
+ borderTopLeftRadius: 'var(--menuitem-border-rad)',
110
+ borderTopRightRadius: 0,
111
+ },
112
+ },
113
+ '&:last-of-type': {
114
+ borderBottomLeftRadius: 'var(--menuitem-border-rad)',
115
+ borderBottomRightRadius: 'var(--menuitem-border-rad)',
116
+ },
117
+ '&.Mui-Submenu-open': {
118
+ borderTopRightRadius: 0,
119
+ borderBottomRightRadius: 0,
120
+ '&.Mui-Submenu-flipped': {
121
+ borderTopLeftRadius: 0,
122
+ borderBottomLeftRadius: 0,
123
+ borderTopRightRadius: 'var(--menuitem-border-rad)',
124
+ borderBottomRightRadius: 'var(--menuitem-border-rad)',
125
+ },
126
+ },
127
+ '&.Mui-only-one': {
128
+ borderTopLeftRadius: 0,
129
+ borderBottomLeftRadius: 0,
130
+ borderTopRightRadius: 'var(--menuitem-border-rad)',
131
+ borderBottomRightRadius: 'var(--menuitem-border-rad)',
132
+ '&.Mui-flipped': {
133
+ borderTopLeftRadius: 'var(--menuitem-border-rad)',
134
+ borderBottomLeftRadius: 'var(--menuitem-border-rad)',
135
+ borderTopRightRadius: 0,
136
+ borderBottomRightRadius: 0,
137
+ },
138
+ '&.Mui-Submenu-open': {
139
+ borderTopRightRadius: 0,
140
+ borderBottomRightRadius: 0,
141
+ '&.Mui-Submenu-flipped': {
142
+ borderTopLeftRadius: 0,
143
+ borderBottomLeftRadius: 0,
144
+ borderTopRightRadius: 'var(--menuitem-border-rad)',
145
+ borderBottomRightRadius: 'var(--menuitem-border-rad)',
146
+ },
147
+ },
148
+ },
149
+ });
150
+ export const StyledMenuItemHeader = styled(StyledChildMenuItem)({
151
+ backgroundColor: '#FAFAFA',
152
+ color: '#8D8D94',
153
+ padding: '10px 16px',
154
+ borderBottom: '1px solid #F2F2F2',
155
+ });
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import { SxProps } from '@mui/material/styles';
3
+ import { Brand, MerchantInfo } from '../../types/index.js';
4
+ export interface MerchantsDropdownProps {
5
+ brands: Brand[];
6
+ label: string;
7
+ sx?: SxProps;
8
+ selectedValue?: MerchantInfo;
9
+ isLoading?: boolean;
10
+ isFetchingNextPage?: boolean;
11
+ isDisabled?: boolean;
12
+ onValueChange: (merchant: Required<MerchantInfo>) => void;
13
+ renderBrandLogo: (fileId: string) => React.ReactNode;
14
+ showSearchInput?: boolean;
15
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -3,7 +3,7 @@ import { memo, useState } from 'react';
3
3
  import { Popper } from '@mui/material';
4
4
  import { ButtonLabel } from './style';
5
5
  import CustomBackdrop from '../CustomBackdrop';
6
- import StatusButton from '../StatusButton';
6
+ import StatusButton from './components/StatusButton';
7
7
  import ListColumnFilter from '../VirtualTables/components/ColumnFilter/List';
8
8
  import { downArrowIcon } from '../../constants/index.js';
9
9
  function MultiSelectDropdownButton({ buttonLabel, onClear, onConfirm, dropdownItems, apiKey, data, styles, buttonDisabled, }) {
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from 'react';
2
+ import { ButtonProps } from '@mui/material';
3
+ import { StatusButtonVariant } from '../../StatusButton/style';
4
+ interface StatusButtonProps extends Omit<ButtonProps, 'variant' | 'children'> {
5
+ variant?: StatusButtonVariant;
6
+ badgeCount: number;
7
+ label: ReactNode;
8
+ }
9
+ declare const StatusButton: import("react").MemoExoticComponent<(props: StatusButtonProps) => import("react/jsx-runtime").JSX.Element>;
10
+ export default StatusButton;
@@ -0,0 +1,34 @@
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 { memo, useCallback, useMemo, useRef } from 'react';
14
+ import StyledBadge, { BadgeVariants } from '../../CountBadge';
15
+ import { convertToNumber, formatNumber } from '../../../utils/index.js';
16
+ import { Label, LabelWrapper, statusButtonVariants } from '../../StatusButton/style';
17
+ const StatusButton = memo((props) => {
18
+ const { variant = 'inActive', badgeCount, label } = props, restProps = __rest(props, ["variant", "badgeCount", "label"]);
19
+ const buttonRef = useRef(null);
20
+ // Memoized computed values
21
+ const statusBadge = useMemo(() => {
22
+ if (!badgeCount || Number.isNaN(convertToNumber(badgeCount)))
23
+ return null;
24
+ return _jsx(StyledBadge, Object.assign({ variant: BadgeVariants.INACTIVE }, { children: formatNumber(Number(badgeCount)) }));
25
+ }, [badgeCount]);
26
+ const handleButtonClick = useCallback((e) => {
27
+ var _a;
28
+ e.stopPropagation();
29
+ (_a = props === null || props === void 0 ? void 0 : props.onClick) === null || _a === void 0 ? void 0 : _a.call(props, e);
30
+ }, [props]);
31
+ const ButtonComponent = statusButtonVariants[variant];
32
+ return (_jsx(ButtonComponent, Object.assign({ "data-testid": "MultiSelectStatusButton" }, restProps, { ref: buttonRef, onClick: handleButtonClick }, { children: _jsx(LabelWrapper, { children: _jsxs(Label, Object.assign({ variant: variant }, { children: [label, statusBadge] })) }) })));
33
+ });
34
+ export default StatusButton;
@@ -13,6 +13,7 @@ function MultiSelectStatusButton({ options = [], selectedValues, onSelectionChan
13
13
  const [dropdownWidth, setDropdownWidth] = useState(0);
14
14
  const [isHovered, setIsHovered] = useState(false);
15
15
  const isOpen = Boolean(anchorEl);
16
+ // Update internal state when props change (but only when dropdown is closed)
16
17
  useEffect(() => {
17
18
  if (!isOpen) {
18
19
  setInternalSelectedValues(selectedValues);
@@ -27,10 +28,12 @@ function MultiSelectStatusButton({ options = [], selectedValues, onSelectionChan
27
28
  return;
28
29
  }
29
30
  setAnchorEl(buttonRef.current);
31
+ // Set initial dropdown width to prevent shrinking
30
32
  const buttonWidth = ((_a = buttonRef.current) === null || _a === void 0 ? void 0 : _a.clientWidth) || 200;
31
33
  setDropdownWidth(Math.max(buttonWidth, 200));
32
34
  };
33
35
  const handleClose = () => {
36
+ // To prevent unnecessary updates, we check if the selection has actually changed.
34
37
  const hasChanged = JSON.stringify([...internalSelectedValues].sort()) !== JSON.stringify([...selectedValues].sort());
35
38
  if (hasChanged) {
36
39
  onSelectionChange(internalSelectedValues);