@tap-payments/os-micro-frontend-shared 0.1.39 → 0.1.40-9.hotfix.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,32 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useCallback, useState } from 'react';
3
+ import dayjs from 'dayjs';
4
+ import Box from '@mui/material/Box';
5
+ import ClickAwayListener from '@mui/material/ClickAwayListener';
6
+ import { calenderIcon, closeIcon, columnIcon, whiteFilterIcon } from '../../constants/index.js';
7
+ import { useTranslation } from 'react-i18next';
8
+ import { Dropdown, Item, Filter, OkayButton, CancelButton, Footer, TitleStyled, FilterHeader, FilterWrapper, SelectedDate } from './style';
9
+ import { Icon, RangeCalender } from '../index.js';
10
+ import { getDefaultDateRange } from '../../utils/index.js';
11
+ export default function DateFilter({ title = 'Date', dateRange, onDateRangeChange, calendarMode, onCalendarModeChange, timezone, browserTimezone, defaultCountryTimezone, onTimezoneChange, timezoneCountriesCodes = [], onConfirm, onClear, }) {
12
+ const { t } = useTranslation();
13
+ const [anchorEl, setAnchorEl] = useState(null);
14
+ const open = Boolean(anchorEl);
15
+ const onOpen = (e) => setAnchorEl(e.currentTarget);
16
+ const onClose = () => setAnchorEl(null);
17
+ const onCancel = () => onClose();
18
+ const handleOkButtonClick = () => {
19
+ onClose();
20
+ onConfirm(dateRange);
21
+ };
22
+ const handleCalendarModeSwitch = useCallback((newMode) => onCalendarModeChange(newMode), [onCalendarModeChange]);
23
+ const getSelectedDateLabel = (dates) => {
24
+ if (!dates)
25
+ return '';
26
+ const [start, end] = dates;
27
+ const startLabel = dayjs(start).format('MMM D');
28
+ const endLabel = dayjs(end).format('MMM D');
29
+ return startLabel === endLabel ? startLabel : `${startLabel} - ${endLabel}`;
30
+ };
31
+ return (_jsx(ClickAwayListener, Object.assign({ onClickAway: onClose }, { children: _jsxs(Box, { children: [_jsxs(Box, Object.assign({ sx: { cursor: 'pointer', display: 'flex', alignItems: 'center', gap: '4px' }, onClick: onOpen }, { children: [title, dateRange ? (_jsxs(FilterWrapper, { children: [_jsx(Box, { component: "img", src: whiteFilterIcon, alt: "filter-icon", sx: { marginInlineEnd: '2px', height: 6 }, onClick: onOpen }), _jsx(Box, { component: "img", src: closeIcon, alt: "close-icon", onClick: onClear })] })) : (_jsx(Box, { component: "img", src: columnIcon, alt: "column-icon", sx: { cursor: 'pointer', marginTop: '2px' } }))] })), _jsxs(Dropdown, Object.assign({ open: open, anchorEl: anchorEl, placement: "bottom-start" }, { children: [_jsxs(Filter, { children: [_jsx(FilterHeader, { children: _jsx(TitleStyled, Object.assign({ component: "span" }, { children: t('filterBy') })) }), _jsx(Item, { children: _jsx(RangeCalender, { defaultDate: dateRange || getDefaultDateRange(0), onDateChange: onDateRangeChange, maxDateRange: 365, mode: calendarMode, onCalendarModeSwitch: handleCalendarModeSwitch, browserTimezone: browserTimezone, defaultCountryTimezone: defaultCountryTimezone, timezone: timezone, onChangeTimezone: onTimezoneChange, timezoneCountriesCodes: timezoneCountriesCodes, mainSx: { width: '100%' }, popperProps: { placement: 'right-start' }, renderCalendarButton: (isOpen, openCal) => (_jsxs(SelectedDate, Object.assign({ open: isOpen, onClick: openCal }, { children: [_jsx("span", { children: getSelectedDateLabel(dateRange) || 'Date' }), _jsx(Icon, { src: calenderIcon, alt: "selected", sx: { width: 16, height: 16 } })] }))) }, getSelectedDateLabel(dateRange)) }), dateRange && (_jsx(TitleStyled, Object.assign({ component: "span", sx: { color: '#1F88D0', padding: '4px 24px' }, onClick: () => onDateRangeChange(undefined) }, { children: "Clear" })))] }), _jsxs(Footer, { children: [_jsx(CancelButton, Object.assign({ onClick: onCancel }, { children: t('cancel') })), _jsx(OkayButton, Object.assign({ onClick: handleOkButtonClick }, { children: t('okay') }))] })] }))] }) })));
32
+ }
@@ -0,0 +1 @@
1
+ export { default as DateFilter, type DateFilterProps } from './DateFilter';
@@ -0,0 +1 @@
1
+ export { default as DateFilter } from './DateFilter';
@@ -0,0 +1,35 @@
1
+ /// <reference types="react" />
2
+ 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"> & {
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 Label: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
6
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
7
+ }, "width" | "minHeight" | "height" | "bottom" | "left" | "right" | "top" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "align" | "className" | "style" | "children" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping"> & {
8
+ component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
+ } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
10
+ export declare const Dropdown: import("@emotion/styled").StyledComponent<Omit<import("../Menu/Menu").MenuProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
11
+ export declare const Item: 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 Footer: 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
+ export declare const OkayButton: import("@emotion/styled").StyledComponent<import("../Button/Button").ButtonI & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
18
+ export declare const CancelButton: import("@emotion/styled").StyledComponent<import("../Button/Button").ButtonI & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
19
+ export declare const Filter: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
20
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
21
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
22
+ export declare const TitleStyled: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
23
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
24
+ }, "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"> & {
25
+ component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
26
+ } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
27
+ export declare const FilterHeader: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
28
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
29
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
30
+ export declare const SelectedDate: import("@emotion/styled").StyledComponent<import("../Button/Button").ButtonI & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
31
+ open: boolean;
32
+ }, {}, {}>;
33
+ export declare const FilterWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
34
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
35
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
@@ -0,0 +1,100 @@
1
+ import Box from '@mui/material/Box';
2
+ import { styled } from '@mui/material/styles';
3
+ import { Button, Menu, Text } from '../index.js';
4
+ export const Content = styled(Box)(() => ({
5
+ paddingBlock: '8px',
6
+ display: 'flex',
7
+ gap: '12px',
8
+ flexDirection: 'column',
9
+ }));
10
+ export const Label = styled(Text)(() => ({
11
+ fontSize: '11px',
12
+ }));
13
+ export const Dropdown = styled(Menu)(() => ({
14
+ marginTop: '8px',
15
+ marginBottom: '8px',
16
+ }));
17
+ export const Item = styled(Box)(() => ({
18
+ display: 'flex',
19
+ alignItems: 'center',
20
+ gap: '4px',
21
+ width: '100%',
22
+ paddingInline: '16px',
23
+ }));
24
+ export const Footer = styled(Box)(({ theme }) => ({
25
+ padding: '8px 16px',
26
+ display: 'flex',
27
+ gap: '8px',
28
+ justifyContent: 'flex-end',
29
+ position: 'sticky',
30
+ bottom: 0,
31
+ backgroundColor: 'white',
32
+ zIndex: 99999,
33
+ borderTop: `1px solid ${theme.palette.divider}`,
34
+ }));
35
+ export const OkayButton = styled(Button)(({ theme }) => ({
36
+ textTransform: 'capitalize',
37
+ minWidth: 'auto',
38
+ width: 70,
39
+ borderRadius: '4px',
40
+ border: `1px solid ${theme.palette.info.dark}`,
41
+ backgroundColor: theme.palette.info.dark,
42
+ fontWeight: 700,
43
+ fontSize: '11px',
44
+ color: theme.palette.common.white,
45
+ '&:hover': {
46
+ backgroundColor: theme.palette.info.dark,
47
+ },
48
+ '&.Mui-disabled': {
49
+ color: '#fff !important',
50
+ opacity: 0.5,
51
+ },
52
+ }));
53
+ export const CancelButton = styled(Button)(({ theme }) => ({
54
+ textTransform: 'capitalize',
55
+ minWidth: 'auto',
56
+ width: 70,
57
+ borderRadius: '4px',
58
+ border: `1px solid ${theme.palette.divider}`,
59
+ backgroundColor: theme.palette.common.white,
60
+ fontWeight: 500,
61
+ fontSize: '11px',
62
+ color: theme.palette.text.primary,
63
+ '&:hover': {
64
+ background: 'transparent',
65
+ },
66
+ }));
67
+ export const Filter = styled(Box)(() => ({
68
+ display: 'flex',
69
+ flexDirection: 'column',
70
+ gap: '8px',
71
+ marginBottom: '8px',
72
+ }));
73
+ export const TitleStyled = styled(Label)(() => ({
74
+ fontSize: '11px',
75
+ fontWeight: 500,
76
+ color: '#8D8D94',
77
+ padding: '8px 16px',
78
+ }));
79
+ export const FilterHeader = styled(Box)(({ theme }) => ({
80
+ borderBlock: `1px solid ${theme.palette.divider}`,
81
+ display: 'flex',
82
+ justifyContent: 'space-between',
83
+ alignItems: 'center',
84
+ gap: '2px',
85
+ width: '100%',
86
+ }));
87
+ export const SelectedDate = styled(Button, { shouldForwardProp: (props) => props !== 'open' })(({ open, theme }) => (Object.assign({ color: theme.palette.text.primary, fontSize: '11px', fontWeight: 500, padding: theme.spacing(1), borderRadius: '4px', border: '1px solid', borderColor: theme.palette.divider, background: theme.palette.common.white, textTransform: 'none', width: '100%', height: 32, justifyContent: 'space-between', gap: '4px' }, (open && { border: '1px solid', borderColor: theme.palette.info.dark, boxShadow: theme.shadows[7] }))));
88
+ export const FilterWrapper = styled(Box)(({ theme }) => ({
89
+ background: theme.palette.grey[700],
90
+ width: 27,
91
+ height: 14,
92
+ display: 'inline-flex',
93
+ alignItems: 'center',
94
+ marginInlineStart: '4px',
95
+ borderRadius: '10px',
96
+ padding: '2px 6px',
97
+ img: {
98
+ cursor: 'pointer',
99
+ },
100
+ }));
@@ -24,6 +24,6 @@ function DeviceIcon(_a) {
24
24
  var { type, isTextShown, tableMode } = _a, props = __rest(_a, ["type", "isTextShown", "tableMode"]);
25
25
  const { t } = useTranslation();
26
26
  const icon = isDeviceIconShown(type) ? DEVICE_ICON[type] : null;
27
- return (_jsx(Tooltip, Object.assign({ title: icon ? capitalizeFirstLetter((type !== null && type !== void 0 ? type : '').toLowerCase()) : t('unKnown') }, { children: isTextShown ? (_jsxs(TextLabel, Object.assign({ tableMode: tableMode }, { children: [" ", type ? capitalize(type) : 'Unknown'] }))) : (_jsx(Box, Object.assign({}, props, { component: "img", src: type ? icon || defaultDeviceIcon : defaultDeviceIcon, alt: type }))) })));
27
+ return (_jsx(Tooltip, Object.assign({ title: icon ? `Device - ${capitalizeFirstLetter((type !== null && type !== void 0 ? type : '').toLowerCase())}` : t('unKnown') }, { children: isTextShown ? (_jsxs(TextLabel, Object.assign({ tableMode: tableMode }, { children: [" ", type ? capitalize(type) : 'Unknown'] }))) : (_jsx(Box, Object.assign({}, props, { component: "img", src: type ? icon || defaultDeviceIcon : defaultDeviceIcon, alt: type }))) })));
28
28
  }
29
29
  export default memo(DeviceIcon);
@@ -1,11 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  export declare const DialogWrapper: import("@emotion/styled").StyledComponent<{
3
3
  hidden?: boolean | undefined;
4
- id?: string | undefined;
5
- slot?: string | undefined;
6
- title?: string | undefined;
7
4
  color?: string | undefined;
8
- className?: string | undefined;
5
+ content?: string | undefined;
6
+ translate?: "yes" | "no" | undefined;
7
+ id?: string | undefined;
9
8
  defaultChecked?: boolean | undefined;
10
9
  defaultValue?: string | number | readonly string[] | undefined;
11
10
  suppressContentEditableWarning?: boolean | undefined;
@@ -13,20 +12,21 @@ export declare const DialogWrapper: import("@emotion/styled").StyledComponent<{
13
12
  accessKey?: string | undefined;
14
13
  autoCapitalize?: (string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined;
15
14
  autoFocus?: boolean | undefined;
15
+ className?: string | undefined;
16
16
  contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
17
17
  contextMenu?: string | undefined;
18
18
  dir?: string | undefined;
19
19
  draggable?: (boolean | "false" | "true") | undefined;
20
- enterKeyHint?: "search" | "done" | "next" | "enter" | "go" | "previous" | "send" | undefined;
20
+ enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
21
21
  lang?: string | undefined;
22
22
  nonce?: string | undefined;
23
+ slot?: string | undefined;
23
24
  spellCheck?: (boolean | "false" | "true") | undefined;
24
25
  tabIndex?: number | undefined;
25
- translate?: "yes" | "no" | undefined;
26
+ title?: string | undefined;
26
27
  radioGroup?: string | undefined;
27
28
  role?: import("react").AriaRole | undefined;
28
29
  about?: string | undefined;
29
- content?: string | undefined;
30
30
  datatype?: string | undefined;
31
31
  inlist?: any;
32
32
  prefix?: string | undefined;
@@ -46,7 +46,7 @@ export declare const DialogWrapper: import("@emotion/styled").StyledComponent<{
46
46
  results?: number | undefined;
47
47
  security?: string | undefined;
48
48
  unselectable?: "off" | "on" | undefined;
49
- inputMode?: "none" | "email" | "search" | "numeric" | "url" | "text" | "tel" | "decimal" | undefined;
49
+ inputMode?: "none" | "text" | "email" | "search" | "numeric" | "url" | "tel" | "decimal" | undefined;
50
50
  is?: string | undefined;
51
51
  exportparts?: string | undefined;
52
52
  part?: string | undefined;
@@ -62,7 +62,7 @@ export declare const DialogWrapper: import("@emotion/styled").StyledComponent<{
62
62
  "aria-colindextext"?: string | undefined;
63
63
  "aria-colspan"?: number | undefined;
64
64
  "aria-controls"?: string | undefined;
65
- "aria-current"?: boolean | "date" | "false" | "true" | "time" | "page" | "step" | "location" | undefined;
65
+ "aria-current"?: boolean | "page" | "date" | "false" | "true" | "time" | "step" | "location" | undefined;
66
66
  "aria-describedby"?: string | undefined;
67
67
  "aria-description"?: string | undefined;
68
68
  "aria-details"?: string | undefined;
@@ -72,7 +72,7 @@ export declare const DialogWrapper: import("@emotion/styled").StyledComponent<{
72
72
  "aria-expanded"?: (boolean | "false" | "true") | undefined;
73
73
  "aria-flowto"?: string | undefined;
74
74
  "aria-grabbed"?: (boolean | "false" | "true") | undefined;
75
- "aria-haspopup"?: boolean | "false" | "true" | "dialog" | "menu" | "grid" | "listbox" | "tree" | undefined;
75
+ "aria-haspopup"?: boolean | "grid" | "false" | "true" | "dialog" | "listbox" | "menu" | "tree" | undefined;
76
76
  "aria-hidden"?: (boolean | "false" | "true") | undefined;
77
77
  "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
78
78
  "aria-keyshortcuts"?: string | undefined;
@@ -28,6 +28,7 @@ export const DialogContent = styled(Box)(({ theme }) => ({
28
28
  export const DialogHeader = styled(Box)(({ theme }) => ({
29
29
  minHeight: 95,
30
30
  background: theme.palette.grey[400],
31
+ // backdropFilter: 'blur(4px)',
31
32
  paddingInline: '24px',
32
33
  paddingTop: '23px',
33
34
  paddingBottom: '23px',
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { BoxProps } from '@mui/material/Box';
3
+ import { Currency, Discount } from '../../../types/index.js';
4
+ interface DiscountDropdownProps extends BoxProps {
5
+ discount: Discount;
6
+ maxDiscount?: number;
7
+ selectedCurrency: Currency;
8
+ setDiscount: (value: Discount) => void;
9
+ setIsOpen: (value: boolean) => void;
10
+ }
11
+ declare function DiscountDropdown({ discount, maxDiscount, setDiscount, setIsOpen, selectedCurrency, ...props }: Readonly<DiscountDropdownProps>): import("react/jsx-runtime").JSX.Element;
12
+ declare const _default: import("react").MemoExoticComponent<typeof DiscountDropdown>;
13
+ export default _default;
@@ -0,0 +1,67 @@
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, useState } from 'react';
14
+ import { useTranslation } from 'react-i18next';
15
+ import Box from '@mui/material/Box';
16
+ import { DISCOUNT_TYPE } from '../../../types/index.js';
17
+ import { checkIcon, rightArrow } from '../../../constants/index.js';
18
+ import { AmountInput } from '../../index.js';
19
+ import { Wrapper, Option, Dropdown } from './style';
20
+ import DiscountRateDropdown from '../DiscountRateDropdown';
21
+ function DiscountDropdown(_a) {
22
+ var { discount, maxDiscount, setDiscount, setIsOpen, selectedCurrency } = _a, props = __rest(_a, ["discount", "maxDiscount", "setDiscount", "setIsOpen", "selectedCurrency"]);
23
+ const [isRatDropdownOpen, setIsRatDropdownOpen] = useState(false);
24
+ const [isFlatDropdownOpen, setIsFlatDropdownOpen] = useState(false);
25
+ const { t } = useTranslation();
26
+ const isNoDiscount = discount.type === DISCOUNT_TYPE.NO_DISCOUNT;
27
+ const isPercent = discount.type === DISCOUNT_TYPE.PERCENT;
28
+ const handleSelectDiscount = (newDiscount) => {
29
+ setDiscount(newDiscount);
30
+ };
31
+ const onClickNoneDiscount = (e) => {
32
+ e.stopPropagation();
33
+ setIsOpen(false);
34
+ handleSelectDiscount({
35
+ type: DISCOUNT_TYPE.NO_DISCOUNT,
36
+ value: 0,
37
+ percentage: 0,
38
+ flat: 0,
39
+ });
40
+ if (isRatDropdownOpen)
41
+ setIsRatDropdownOpen(false);
42
+ if (isFlatDropdownOpen)
43
+ setIsFlatDropdownOpen(false);
44
+ };
45
+ const openRatDropdown = (e) => {
46
+ e.stopPropagation();
47
+ setIsRatDropdownOpen(true);
48
+ if (isFlatDropdownOpen)
49
+ setIsFlatDropdownOpen(false);
50
+ };
51
+ const openFLatDropdown = (e) => {
52
+ e.stopPropagation();
53
+ setIsFlatDropdownOpen(true);
54
+ if (isRatDropdownOpen)
55
+ setIsRatDropdownOpen(false);
56
+ };
57
+ return (_jsxs(Wrapper, Object.assign({ sx: Object.assign(Object.assign({}, props.sx), (isFlatDropdownOpen && { borderBottomRightRadius: 0 })) }, { children: [_jsxs(Option, Object.assign({ className: "option", onClick: onClickNoneDiscount, sx: { justifyContent: 'flex-start' } }, { children: [isNoDiscount ? _jsx("img", { src: checkIcon, alt: "c" }) : _jsx(Box, { width: "12px" }), _jsx("span", { children: t('none') })] })), _jsxs(Option, Object.assign({ className: "option", onClick: openRatDropdown, sx: (theme) => (Object.assign({ justifyContent: 'space-between', position: 'relative' }, (isRatDropdownOpen && { boxShadow: theme.shadows[3] }))) }, { children: [_jsxs(Box, Object.assign({ sx: { display: 'flex', alignItems: 'center', gap: '6px' } }, { children: [isPercent ? _jsx("img", { src: checkIcon, alt: "check" }) : _jsx(Box, { width: "12px" }), _jsx("span", { children: "%" })] })), _jsx("img", { src: rightArrow, alt: "r" }), _jsx(DiscountRateDropdown, { sx: {
58
+ position: 'absolute',
59
+ left: '100%',
60
+ top: 0,
61
+ display: isRatDropdownOpen ? 'block' : 'none',
62
+ borderTopLeftRadius: 0,
63
+ }, setIsOpen: setIsOpen, discount: discount, setDiscount: setDiscount })] })), _jsxs(Option, Object.assign({ className: "option", onClick: openFLatDropdown, sx: (theme) => (Object.assign({ justifyContent: 'space-between', position: 'relative' }, (isFlatDropdownOpen && { boxShadow: theme.shadows[3] }))) }, { children: [_jsxs(Box, Object.assign({ sx: { display: 'flex', alignItems: 'center', gap: '6px' } }, { children: [discount.type === DISCOUNT_TYPE.FLAT ? _jsx("img", { src: checkIcon, alt: "c" }) : _jsx(Box, { width: "12px" }), _jsx("span", { children: t('flat') })] })), _jsx("img", { src: rightArrow, alt: "r" }), _jsx(Dropdown, Object.assign({ isOpen: isFlatDropdownOpen }, { children: _jsx(AmountInput, { selectedCurrency: selectedCurrency, sx: { height: 24, width: '100%', input: { height: 20, width: '100%', textAlign: 'right', flexGrow: 1 } }, amount: discount.type === DISCOUNT_TYPE.FLAT ? Number(discount.flat) : '', setAmount: (value) => {
64
+ handleSelectDiscount(Object.assign(Object.assign({}, discount), { type: DISCOUNT_TYPE.FLAT, flat: Number(value) }));
65
+ }, maxAmount: maxDiscount }) }))] }))] })));
66
+ }
67
+ export default memo(DiscountDropdown);
@@ -0,0 +1,2 @@
1
+ export { default } from './DiscountDropdown';
2
+ export * from './DiscountDropdown';
@@ -0,0 +1,2 @@
1
+ export { default } from './DiscountDropdown';
2
+ export * from './DiscountDropdown';
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ export declare const Wrapper: 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 Option: 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 Dropdown: 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
+ isOpen: boolean;
12
+ }, {}, {}>;
@@ -0,0 +1,40 @@
1
+ import Box from '@mui/material/Box';
2
+ import { styled } from '@mui/material/styles';
3
+ export const Wrapper = styled(Box)(({ theme }) => ({
4
+ width: 106,
5
+ boxShadow: theme.shadows[16],
6
+ borderRadius: 4,
7
+ backgroundColor: theme.palette.common.white,
8
+ '.option + .option': {
9
+ borderTop: `1px solid ${theme.palette.divider}`,
10
+ },
11
+ zIndex: 3,
12
+ }));
13
+ export const Option = styled(Box)(({ theme }) => ({
14
+ fontSize: '11px',
15
+ padding: theme.spacing(1),
16
+ display: 'flex',
17
+ justifyContent: 'flex-end',
18
+ alignItems: 'center',
19
+ gap: theme.spacing(1),
20
+ cursor: 'pointer',
21
+ height: 40,
22
+ input: {
23
+ height: 24,
24
+ width: 47,
25
+ textAlign: 'right',
26
+ },
27
+ }));
28
+ export const Dropdown = styled(Box, { shouldForwardProp: (props) => props !== 'isOpen' })(({ isOpen, theme }) => ({
29
+ display: isOpen ? 'block' : 'none',
30
+ position: 'absolute',
31
+ left: '100%',
32
+ top: 0,
33
+ background: theme.palette.common.white,
34
+ padding: '8px',
35
+ borderTopRightRadius: '4px',
36
+ borderBottomRightRadius: '4px',
37
+ overflow: 'hidden',
38
+ minWidth: 112,
39
+ height: 39,
40
+ }));
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { BoxProps } from '@mui/material/Box';
3
+ import { Discount } from '../../../types/index.js';
4
+ interface DiscountRateDropdownProps extends BoxProps {
5
+ discount: Discount;
6
+ setDiscount: (value: Discount) => void;
7
+ setIsDropdownOpen?: (value: boolean) => void;
8
+ setIsOpen: (value: boolean) => void;
9
+ }
10
+ declare function DiscountRateDropdown({ discount, setDiscount, setIsDropdownOpen, setIsOpen, ...props }: Readonly<DiscountRateDropdownProps>): import("react/jsx-runtime").JSX.Element;
11
+ declare const _default: import("react").MemoExoticComponent<typeof DiscountRateDropdown>;
12
+ export default _default;
@@ -0,0 +1,53 @@
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 } from 'react';
14
+ import { DISCOUNT_TYPE } from '../../../types/index.js';
15
+ import { Input } from '../../index.js';
16
+ import { checkIcon, RATES } from '../../../constants/index.js';
17
+ import { removeAllCharsFromNumber } from '../../../utils/index.js';
18
+ import { Wrapper, Option } from './style';
19
+ function DiscountRateDropdown(_a) {
20
+ var { discount, setDiscount, setIsDropdownOpen, setIsOpen } = _a, props = __rest(_a, ["discount", "setDiscount", "setIsDropdownOpen", "setIsOpen"]);
21
+ const { percentage, value } = discount;
22
+ const isFivePercent = percentage === RATES.FIVE;
23
+ const isTenPercent = percentage === RATES.TEN;
24
+ const isFifteenPercent = percentage === RATES.FIFTEEN;
25
+ const isCustomPercent = percentage !== RATES.FIVE && percentage !== RATES.TEN && percentage !== RATES.FIFTEEN && percentage !== RATES.ZERO && value !== RATES.ZERO;
26
+ const discountRATES = [
27
+ { label: '5%', value: RATES.FIVE, selected: isFivePercent },
28
+ { label: '10%', value: RATES.TEN, selected: isTenPercent },
29
+ { label: '15%', value: RATES.FIFTEEN, selected: isFifteenPercent },
30
+ ];
31
+ const selectRate = (percentageValue) => {
32
+ setDiscount({ value, percentage: percentageValue, type: DISCOUNT_TYPE.PERCENT });
33
+ setIsOpen(false);
34
+ };
35
+ const handleCustomRate = (e) => {
36
+ if (Number(e.target.value || !Number(e.target.value)) > 100)
37
+ return false;
38
+ setDiscount({
39
+ value: Number(e.target.value),
40
+ percentage: Number(removeAllCharsFromNumber(e.target.value)),
41
+ type: DISCOUNT_TYPE.PERCENT,
42
+ });
43
+ };
44
+ const renderSelectedIcon = (selected) => {
45
+ return selected ? _jsx("img", { src: checkIcon, alt: "c" }) : _jsx("span", {});
46
+ };
47
+ return (_jsxs(Wrapper, Object.assign({ sx: props.sx }, { children: [discountRATES.map((discountI) => (_jsxs(Option, Object.assign({ className: "option", onClick: () => {
48
+ selectRate(discountI.value);
49
+ if (setIsDropdownOpen)
50
+ setIsDropdownOpen(false);
51
+ } }, { children: [renderSelectedIcon(discountI.selected), _jsx("span", { children: discountI.label })] }), discountI.value))), _jsxs(Option, Object.assign({ className: "option" }, { children: [renderSelectedIcon(isCustomPercent), _jsx(Input, { placeholder: "%", sx: { input: { width: '100% !important' } }, value: isCustomPercent ? percentage : '', onChange: handleCustomRate })] }))] })));
52
+ }
53
+ export default memo(DiscountRateDropdown);
@@ -0,0 +1,2 @@
1
+ export { default } from './DiscountRateDropdown';
2
+ export * from './DiscountRateDropdown';
@@ -0,0 +1,2 @@
1
+ export { default } from './DiscountRateDropdown';
2
+ export * from './DiscountRateDropdown';
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ export declare const Wrapper: 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 Option: 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>, {}, {}>;
@@ -0,0 +1,33 @@
1
+ import Box from '@mui/material/Box';
2
+ import { styled } from '@mui/material/styles';
3
+ export const Wrapper = styled(Box)(({ theme }) => ({
4
+ width: 112,
5
+ boxShadow: theme.shadows[16],
6
+ borderRadius: 4,
7
+ backgroundColor: theme.palette.common.white,
8
+ '.option + .option': {
9
+ borderTop: `1px solid ${theme.palette.divider}`,
10
+ },
11
+ zIndex: 3,
12
+ }));
13
+ export const Option = styled(Box)(({ theme }) => ({
14
+ fontSize: '11px',
15
+ paddingInlineStart: theme.spacing(2),
16
+ paddingInlineEnd: theme.spacing(1),
17
+ paddingTop: theme.spacing(1.5),
18
+ paddingBottom: theme.spacing(1.5),
19
+ display: 'flex',
20
+ justifyContent: 'space-between',
21
+ alignItems: 'center',
22
+ gap: theme.spacing(1),
23
+ cursor: 'pointer',
24
+ height: 40,
25
+ input: {
26
+ height: 24,
27
+ width: 47,
28
+ textAlign: 'right',
29
+ },
30
+ '&:hover': {
31
+ boxShadow: theme.shadows[3],
32
+ },
33
+ }));
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { Currency, Discount } from '../../../types/index.js';
3
+ interface TotalDiscountProps {
4
+ selectedCurrency: Currency;
5
+ totalGrossAmount: number;
6
+ totalDiscount: Discount;
7
+ isDisabled: boolean;
8
+ onChangeTotalDiscount: (newDiscount: Discount) => void;
9
+ }
10
+ declare function TotalDiscount({ selectedCurrency, totalGrossAmount, totalDiscount, onChangeTotalDiscount, isDisabled }: Readonly<TotalDiscountProps>): import("react/jsx-runtime").JSX.Element;
11
+ declare const _default: import("react").MemoExoticComponent<typeof TotalDiscount>;
12
+ export default _default;
@@ -0,0 +1,30 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { memo, useRef, useState } from 'react';
3
+ import { useTranslation } from 'react-i18next';
4
+ import Box from '@mui/material/Box';
5
+ import Popper from '@mui/material/Popper';
6
+ import { CustomBackdrop, DisplayAmount } from '../../index.js';
7
+ import { actionsIcon, activeActionIcon, discountIcon } from '../../../constants/index.js';
8
+ import { LabelWrapper, Label } from './style';
9
+ import DiscountDropdown from '../DiscountDropdown';
10
+ import { getDiscountValue } from '../utils';
11
+ function TotalDiscount({ selectedCurrency, totalGrossAmount, totalDiscount, onChangeTotalDiscount, isDisabled }) {
12
+ const [isOpen, setIsOpen] = useState(false);
13
+ const discountButtonRef = useRef();
14
+ const { t } = useTranslation();
15
+ const toggleDropdown = () => {
16
+ if (!isDisabled)
17
+ setIsOpen(!isOpen);
18
+ };
19
+ const handleDiscount = (newDiscount) => {
20
+ onChangeTotalDiscount(Object.assign(Object.assign({}, newDiscount), { value: getDiscountValue(totalGrossAmount, newDiscount) }));
21
+ };
22
+ const getLabel = () => {
23
+ var _a;
24
+ if (totalDiscount.value === 0)
25
+ return t('noDiscount');
26
+ return (_jsxs(Box, Object.assign({ sx: { display: 'flex', gap: '2px' } }, { children: [_jsx("span", { children: "-" }), _jsx(DisplayAmount, { amount: totalDiscount.value, currencyCode: (_a = selectedCurrency === null || selectedCurrency === void 0 ? void 0 : selectedCurrency.code) === null || _a === void 0 ? void 0 : _a.english })] })));
27
+ };
28
+ return (_jsxs(LabelWrapper, Object.assign({ isOpen: isOpen, isDisabled: isDisabled, onClick: toggleDropdown, ref: discountButtonRef, sx: Object.assign({}, (isDisabled && { pointerEvents: 'none', opacity: 0.7 })) }, { children: [_jsx("img", { src: discountIcon, alt: "p" }), _jsx(Label, Object.assign({ isDisabled: isDisabled }, { children: getLabel() })), _jsx(Box, { component: "img", src: isOpen ? activeActionIcon : actionsIcon, alt: "a" }), isOpen && _jsx(CustomBackdrop, { onClick: toggleDropdown }), _jsx(Popper, Object.assign({ open: Boolean(isOpen), anchorEl: discountButtonRef.current, placement: "bottom-start" }, { children: _jsx(DiscountDropdown, { sx: { position: 'absolute', top: 8, left: 0, display: isOpen ? 'block' : 'none' }, selectedCurrency: selectedCurrency, discount: totalDiscount, setDiscount: handleDiscount, setIsOpen: setIsOpen, maxDiscount: Number(totalGrossAmount) }) }))] })));
29
+ }
30
+ export default memo(TotalDiscount);
@@ -0,0 +1 @@
1
+ export { default } from './TotalDiscount';
@@ -0,0 +1 @@
1
+ export { default } from './TotalDiscount';
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ export declare const LabelWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").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").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
5
+ isDisabled?: boolean | undefined;
6
+ isOpen?: boolean | undefined;
7
+ }, {}, {}>;
8
+ export declare const Label: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").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").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
11
+ isDisabled: boolean;
12
+ }, {}, {}>;