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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1494) hide show
  1. package/build/chunk-23C4BLEJ.js +1 -0
  2. package/build/chunk-24UTRGGG.js +2 -0
  3. package/build/chunk-24XGEJR2.js +1 -0
  4. package/build/chunk-2FDPAJY4.js +1 -0
  5. package/build/chunk-2LMLVUW4.js +1 -0
  6. package/build/chunk-2Q6H6K3P.js +1 -0
  7. package/build/chunk-2T2Z5RPJ.js +1 -0
  8. package/build/chunk-34II3WB7.js +1 -0
  9. package/build/chunk-3A4B5D6T.js +1 -0
  10. package/build/chunk-3ABTBVXY.js +1 -0
  11. package/build/chunk-3EU4NGZ7.js +1 -0
  12. package/build/chunk-4A6Z3DYW.js +1 -0
  13. package/build/chunk-4O4EFXIC.js +1 -0
  14. package/build/chunk-544TDVOA.js +1 -0
  15. package/build/chunk-5AIEKGEA.js +1 -0
  16. package/build/chunk-5QGYWOQI.js +1 -0
  17. package/build/chunk-5ZTIXOFI.js +1 -0
  18. package/build/chunk-62CGUEB4.js +1 -0
  19. package/build/chunk-66JBLKME.js +1 -0
  20. package/build/chunk-6DLPM4RB.js +1 -0
  21. package/build/chunk-6ZPCHYOF.js +1 -0
  22. package/build/chunk-7A7PBYFB.js +1 -0
  23. package/build/chunk-7IW25XZP.js +1 -0
  24. package/build/chunk-7NYF2UBV.js +1 -0
  25. package/build/chunk-A5FGRP2T.js +1 -0
  26. package/build/chunk-ABDRIOU6.js +2 -0
  27. package/build/chunk-AMMCJJFH.js +1 -0
  28. package/build/chunk-ARHJB5QJ.js +1 -0
  29. package/build/chunk-AUM6AR3E.js +1 -0
  30. package/build/chunk-B4QKXIT7.js +1 -0
  31. package/build/chunk-BFGMD3VQ.js +1 -0
  32. package/build/chunk-BNUBHZV7.js +1 -0
  33. package/build/chunk-BTANFCN2.js +1 -0
  34. package/build/chunk-BV5VAMBI.js +1 -0
  35. package/build/chunk-CQT4MCPB.js +1 -0
  36. package/build/chunk-CTBYQDKG.js +1 -0
  37. package/build/chunk-D4S6DH7W.js +1 -0
  38. package/build/chunk-D5EB3ZRT.js +1 -0
  39. package/build/chunk-DJYRLVOD.js +1 -0
  40. package/build/chunk-DQ76BKNS.js +1 -0
  41. package/build/chunk-DQLGJFLX.js +2 -0
  42. package/build/chunk-DYWKQE3E.js +1 -0
  43. package/build/chunk-E6XVMA37.js +1 -0
  44. package/build/chunk-EAUWAY4T.js +1 -0
  45. package/build/chunk-EDMW226P.js +1 -0
  46. package/build/chunk-F4KVGV4T.js +1 -0
  47. package/build/chunk-FAYAV46R.js +1 -0
  48. package/build/chunk-FL7ZDVP7.js +1 -0
  49. package/build/chunk-FQXBL3YF.js +1 -0
  50. package/build/chunk-G6N4V3PP.js +1 -0
  51. package/build/chunk-GF7D4WGP.js +1 -0
  52. package/build/chunk-GI3U6XGW.js +1 -0
  53. package/build/chunk-GMRNI4U5.js +1 -0
  54. package/build/chunk-GPFU7WD4.js +1 -0
  55. package/build/chunk-HBY2XKKF.js +1 -0
  56. package/build/chunk-HRHKLBHG.js +1 -0
  57. package/build/chunk-IBPFWRCW.js +1 -0
  58. package/build/chunk-IXQ7Y6Y5.js +1 -0
  59. package/build/chunk-J72TLM2F.js +1 -0
  60. package/build/chunk-JQYBCTVW.js +1 -0
  61. package/build/chunk-JT54SXJ7.js +1 -0
  62. package/build/chunk-JWC3XDE4.js +1 -0
  63. package/build/chunk-JYJ3D2X6.js +1 -0
  64. package/build/chunk-KGQT7R3W.js +1 -0
  65. package/build/chunk-KM4UT2GM.js +1 -0
  66. package/build/chunk-L3M6OM4B.js +1 -0
  67. package/build/chunk-LDIEOZVR.js +1 -0
  68. package/build/chunk-LDZG7EXA.js +1 -0
  69. package/build/chunk-LLPG2AC6.js +3 -0
  70. package/build/chunk-LMKY6Q27.js +1 -0
  71. package/build/chunk-LOJTJZSX.js +1 -0
  72. package/build/chunk-LONKQ3XM.js +1 -0
  73. package/build/chunk-M7YGOEQF.js +1 -0
  74. package/build/chunk-MTJECG6U.js +1 -0
  75. package/build/chunk-MYFLXP7G.js +1 -0
  76. package/build/chunk-NLAQMZT4.js +1 -0
  77. package/build/chunk-NLEKLEHC.js +2 -0
  78. package/build/chunk-NLOKMDQY.js +1 -0
  79. package/build/chunk-NLPYBEGY.js +1 -0
  80. package/build/chunk-NQVCWKMH.js +1 -0
  81. package/build/chunk-OFBKWUDT.js +1 -0
  82. package/build/chunk-OJJ2Q5XK.js +1 -0
  83. package/build/chunk-OLPNHTE7.js +1 -0
  84. package/build/chunk-OYEIM6ED.js +2 -0
  85. package/build/chunk-P6K4PD7Y.js +1 -0
  86. package/build/chunk-PX7SYRBV.js +1 -0
  87. package/build/chunk-QF32XNU6.js +1 -0
  88. package/build/chunk-QFMHEDCR.js +1 -0
  89. package/build/chunk-QGXXI4EO.js +1 -0
  90. package/build/chunk-RQ2V5JZH.js +1 -0
  91. package/build/chunk-RUU3IQ7Y.js +1 -0
  92. package/build/chunk-RWXGVZUC.js +1 -0
  93. package/build/chunk-S2BQCMBY.js +1 -0
  94. package/build/chunk-SZBR7LB3.js +1 -0
  95. package/build/chunk-T3BFBXVJ.js +1 -0
  96. package/build/chunk-TG2IA55S.js +1 -0
  97. package/build/chunk-TUTEF6YD.js +1 -0
  98. package/build/chunk-TZAF2TGI.js +1 -0
  99. package/build/chunk-UB5L7C6S.js +1 -0
  100. package/build/chunk-UEMTPYYH.js +1 -0
  101. package/build/chunk-UF4FBI5V.js +1 -0
  102. package/build/chunk-V44MUKYW.js +1 -0
  103. package/build/chunk-V5OHALLD.js +1 -0
  104. package/build/chunk-VJLQXTHX.js +1 -0
  105. package/build/chunk-VNK7I7AL.js +1 -0
  106. package/build/chunk-WGCHJPEZ.js +1 -0
  107. package/build/chunk-WGPV3VEK.js +4 -0
  108. package/build/chunk-WHWKA4SY.js +1 -0
  109. package/build/chunk-WX7HFBCU.js +1 -0
  110. package/build/chunk-X5KEG2KP.js +1 -0
  111. package/build/chunk-XQVSYDRO.js +1 -0
  112. package/build/chunk-XRTET45W.js +1 -0
  113. package/build/chunk-XUDGW7IY.js +1 -0
  114. package/build/chunk-XXZJ5D5P.js +1 -0
  115. package/build/chunk-XY57JRPE.js +1 -0
  116. package/build/chunk-XZORYOIS.js +16 -0
  117. package/build/chunk-YLE4Q6WH.js +1 -0
  118. package/build/chunk-YTBVTQNQ.js +1 -0
  119. package/build/chunk-YVHYNRRL.js +1 -0
  120. package/build/chunk-ZCSUNBRA.js +1 -0
  121. package/build/chunk-ZLWJCX4K.js +1 -0
  122. package/build/chunk-ZMTLSAZW.js +1 -0
  123. package/build/chunk-ZN4NGPK4.js +2 -0
  124. package/build/chunk-ZTHZGDV6.js +1 -0
  125. package/build/chunk-ZUBHIDDI.js +1 -0
  126. package/build/chunk-ZWJTEKFP.js +1 -0
  127. package/build/components/AccordionAdapter/index.js +1 -2
  128. package/build/components/AccountDropdown/index.js +1 -2
  129. package/build/components/ActivityAreaChart/index.js +1 -4
  130. package/build/components/Amount/index.js +1 -1
  131. package/build/components/AmountConversionFilter/index.js +1 -1
  132. package/build/components/AmountInput/index.js +1 -2
  133. package/build/components/AmountStatusChip/index.js +1 -2
  134. package/build/components/AnimatedSpinnerIcon/index.js +1 -2
  135. package/build/components/AppServices/index.js +1 -2
  136. package/build/components/AppServicesActionMenu/index.js +1 -3
  137. package/build/components/AppServicesBar/index.js +1 -3
  138. package/build/components/AppWindowWrapper/index.js +1 -7
  139. package/build/components/AuthenticationTypeChip/index.js +1 -2
  140. package/build/components/Autocomplete/index.js +1 -1
  141. package/build/components/BackgroundAnimation/index.js +1 -3
  142. package/build/components/BetaBanner/index.js +1 -2
  143. package/build/components/BrandLogo/index.js +1 -1
  144. package/build/components/Button/index.js +1 -4
  145. package/build/components/Calender/index.js +1 -2
  146. package/build/components/CardEmptyState/index.js +1 -2
  147. package/build/components/CardHeadline/index.js +1 -2
  148. package/build/components/Checkbox/index.js +1 -2
  149. package/build/components/Chip/index.js +1 -4
  150. package/build/components/CircularProgressWithLabel/index.js +1 -2
  151. package/build/components/Collapse/index.js +1 -2
  152. package/build/components/ColorPicker/index.js +1 -2
  153. package/build/components/ConfirmDialog/index.js +1 -4
  154. package/build/components/ControlPanelContainer/index.js +1 -2
  155. package/build/components/CopyImage/index.js +1 -2
  156. package/build/components/CountBadge/index.js +1 -5
  157. package/build/components/CountryFilter/index.js +1 -1
  158. package/build/components/CountryFlag/index.js +1 -2
  159. package/build/components/CurrencyFilter/index.js +1 -1
  160. package/build/components/CurrencySymbol/index.js +1 -2
  161. package/build/components/CustomBackdrop/index.js +1 -2
  162. package/build/components/Customer/index.js +1 -2
  163. package/build/components/DateButton/index.js +1 -2
  164. package/build/components/DateFilter/index.js +1 -1
  165. package/build/components/DeviceIcon/index.js +1 -4
  166. package/build/components/Dialog/index.js +1 -4
  167. package/build/components/Discount/index.js +1 -4
  168. package/build/components/DisplayAmount/index.js +1 -2
  169. package/build/components/DockButton/index.js +1 -2
  170. package/build/components/Dropdown2/index.js +1 -2
  171. package/build/components/DropdownButton/index.js +1 -3
  172. package/build/components/Error/index.js +1 -2
  173. package/build/components/ErrorBoundary/index.js +1 -2
  174. package/build/components/ErrorToast/index.js +1 -2
  175. package/build/components/ExpandableSideBar/index.js +1 -2
  176. package/build/components/FileInputPreview/index.js +1 -1
  177. package/build/components/FilePreview/index.js +1 -3
  178. package/build/components/FileUpload/index.js +1 -2
  179. package/build/components/FileUploader/index.js +1 -2
  180. package/build/components/FilterDropdown/index.js +1 -3
  181. package/build/components/FilteredIds/index.js +1 -2
  182. package/build/components/Filters/index.js +1 -1
  183. package/build/components/FlagDetails/index.js +1 -2
  184. package/build/components/FlippingCard/index.js +1 -2
  185. package/build/components/HeatMap/index.js +1 -3
  186. package/build/components/IOSSwitch/index.js +1 -2
  187. package/build/components/Icon/index.js +1 -2
  188. package/build/components/IconGallery/index.js +1 -2
  189. package/build/components/IconWithBadge/index.js +1 -2
  190. package/build/components/IconWithHoverOverlays/index.js +1 -2
  191. package/build/components/IconWithLabel/index.js +1 -2
  192. package/build/components/IconsDropdown/index.js +1 -2
  193. package/build/components/ImageWrapper/index.js +1 -2
  194. package/build/components/Input/index.js +1 -2
  195. package/build/components/InputBase/index.js +1 -4
  196. package/build/components/InputNumber/index.js +1 -2
  197. package/build/components/Inputs/index.js +1 -5
  198. package/build/components/JSONViewer/index.js +1 -7
  199. package/build/components/LabeledIconDropdown/index.js +1 -2
  200. package/build/components/LanguageDropdown/index.js +1 -2
  201. package/build/components/LazyImage/index.js +1 -3
  202. package/build/components/LeftPeekRightExpandingChip/index.js +1 -2
  203. package/build/components/ListColumnFilter/index.js +1 -1
  204. package/build/components/ListLayout/index.js +1 -2
  205. package/build/components/Loader/index.js +1 -2
  206. package/build/components/Loaders/index.js +1 -2
  207. package/build/components/MFWidgetLoader/index.js +1 -2
  208. package/build/components/MUIThemeProvider/index.js +1 -2
  209. package/build/components/MainContainer/index.js +1 -2
  210. package/build/components/MaskedText/index.js +1 -2
  211. package/build/components/Menu/index.js +1 -2
  212. package/build/components/MenuItem/index.js +1 -2
  213. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  214. package/build/components/MerchantLogo/index.js +1 -1
  215. package/build/components/MerchantsDropdown/index.js +1 -1
  216. package/build/components/MultiDatakeyDonut/index.js +1 -1
  217. package/build/components/MultiSelectDropdownButton/index.js +1 -3
  218. package/build/components/MultiSelectStatusButton/index.js +1 -2
  219. package/build/components/MultiSelectWithSearch/index.js +1 -4
  220. package/build/components/NestedDropdown/index.js +1 -5
  221. package/build/components/NoInternet/index.js +1 -2
  222. package/build/components/OTPInput/index.js +1 -2
  223. package/build/components/OpenFileInNewTab/index.js +1 -1
  224. package/build/components/PartnersFilter/index.js +1 -1
  225. package/build/components/PaymentSourceFilter/index.js +1 -6
  226. package/build/components/PhoneFilter/index.js +1 -1
  227. package/build/components/ProgressBar/index.js +1 -2
  228. package/build/components/ProgressRing/index.js +1 -2
  229. package/build/components/RFH/index.js +1 -3
  230. package/build/components/RadioButton/index.js +1 -1
  231. package/build/components/RadioGroup/index.js +1 -1
  232. package/build/components/RangeCalender/index.js +1 -2
  233. package/build/components/ReceiptsViewer/index.js +1 -1
  234. package/build/components/ReferenceTypeFilter/index.js +1 -1
  235. package/build/components/ResizableHeightInput/index.js +1 -2
  236. package/build/components/RightLeftExpandingCenterChip/index.js +1 -2
  237. package/build/components/Routes/index.js +1 -3
  238. package/build/components/SalesChannelFilter/index.js +1 -1
  239. package/build/components/Sandbox/index.js +1 -2
  240. package/build/components/ScrollLoader/index.js +1 -3
  241. package/build/components/SearchButton/index.js +1 -2
  242. package/build/components/SearchListInput/index.js +1 -2
  243. package/build/components/SelectDropdown/index.js +1 -2
  244. package/build/components/SelectWithSearch/index.js +1 -3
  245. package/build/components/Skeleton/index.js +1 -2
  246. package/build/components/SplashScreen/index.js +1 -2
  247. package/build/components/StatusBar/index.js +1 -2
  248. package/build/components/StatusButton/index.js +1 -3
  249. package/build/components/StatusChip/index.js +1 -2
  250. package/build/components/StatusChipWithCopy/index.js +1 -4
  251. package/build/components/StatusFilter/index.js +1 -1
  252. package/build/components/StatusGroupChips/index.js +1 -1
  253. package/build/components/StatusIcons/index.js +1 -14
  254. package/build/components/StatusLabel/index.js +1 -2
  255. package/build/components/TableCells/index.js +1 -3
  256. package/build/components/TableHeader/index.js +1 -9
  257. package/build/components/TableReports/index.js +1 -7
  258. package/build/components/TableView/index.js +1 -3
  259. package/build/components/TapLogo/index.js +1 -2
  260. package/build/components/Text/index.js +1 -2
  261. package/build/components/Timepicker/index.js +1 -5
  262. package/build/components/Toaster/index.js +1 -2
  263. package/build/components/ToggleButtons/index.js +1 -3
  264. package/build/components/ToggleView/index.js +1 -3
  265. package/build/components/Toolbar/index.js +1 -4
  266. package/build/components/ToolbarIcon/index.js +1 -4
  267. package/build/components/TooltipChip/index.js +1 -1
  268. package/build/components/TreeDropdown/index.js +1 -4
  269. package/build/components/VAT/index.js +1 -4
  270. package/build/components/VerificationIcon/index.js +1 -3
  271. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  272. package/build/components/VirtualTables/index.js +1 -7
  273. package/build/components/Widget/index.js +1 -6
  274. package/build/components/Window/index.js +1 -2
  275. package/build/components/WindowBackdrop/index.js +1 -1
  276. package/build/components/WindowSideBar/index.js +1 -4
  277. package/build/components/index.js +1 -159
  278. package/build/constants/index.js +1 -21
  279. package/build/hooks/index.js +1 -17
  280. package/build/index.js +1 -6
  281. package/build/theme/index.js +1 -5
  282. package/build/types/index.js +1 -38
  283. package/build/utils/index.js +1 -48
  284. package/package.json +15 -18
  285. package/build/components/AccordionAdapter/AccordionAdapter.js +0 -23
  286. package/build/components/AccordionAdapter/style.js +0 -38
  287. package/build/components/AccountDropdown/Dropdown.js +0 -17
  288. package/build/components/AccountDropdown/style.js +0 -26
  289. package/build/components/ActionMenu/ActionMenu.js +0 -101
  290. package/build/components/ActionMenu/ActionMenuDropDown.js +0 -24
  291. package/build/components/ActionMenu/ActionMenuItem.js +0 -20
  292. package/build/components/ActionMenu/index.js +0 -4
  293. package/build/components/ActionMenu/style.js +0 -179
  294. package/build/components/ActionMenu/type.js +0 -1
  295. package/build/components/ActivityAreaChart/ActivityAreaChart.js +0 -43
  296. package/build/components/ActivityAreaChart/components/ChartTooltip.js +0 -24
  297. package/build/components/ActivityAreaChart/components/LoadingChart.js +0 -18
  298. package/build/components/ActivityAreaChart/components/index.js +0 -2
  299. package/build/components/ActivityAreaChart/styles.js +0 -46
  300. package/build/components/ActivityAreaChart/types.js +0 -1
  301. package/build/components/ActivityAreaChart/utils.js +0 -27
  302. package/build/components/Amount/TotalAmount/Loading.js +0 -9
  303. package/build/components/Amount/TotalAmount/TotalAmount.js +0 -62
  304. package/build/components/Amount/TotalAmount/index.js +0 -1
  305. package/build/components/Amount/TotalAmount/style.js +0 -26
  306. package/build/components/AmountConversionFilter/AmountConversionFilter.js +0 -18
  307. package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.js +0 -39
  308. package/build/components/AmountConversionFilter/style.js +0 -47
  309. package/build/components/AmountInput/AmountInput.js +0 -44
  310. package/build/components/AmountInput/style.js +0 -30
  311. package/build/components/AmountStatusChip/AmountStatusChip.js +0 -20
  312. package/build/components/AmountStatusChip/style.js +0 -13
  313. package/build/components/AnimatedSpinnerIcon/AnimatedSpinnerIcon.js +0 -7
  314. package/build/components/AnimatedSpinnerIcon/style.js +0 -8
  315. package/build/components/AppServices/AppServices.js +0 -82
  316. package/build/components/AppServices/ServiceItem.js +0 -36
  317. package/build/components/AppServices/style.js +0 -33
  318. package/build/components/AppServicesActionMenu/AppServicesActionMenu.js +0 -44
  319. package/build/components/AppServicesActionMenu/ServicesSubmenu.js +0 -12
  320. package/build/components/AppServicesActionMenu/style.js +0 -45
  321. package/build/components/AppServicesActionMenu/types.js +0 -1
  322. package/build/components/AppServicesBar/AppServicesBar.js +0 -18
  323. package/build/components/AppServicesBar/style.js +0 -6
  324. package/build/components/AppWindowWrapper/AppWindow/AppWindow.js +0 -82
  325. package/build/components/AppWindowWrapper/AppWindow/constant.js +0 -6
  326. package/build/components/AppWindowWrapper/AppWindow/index.js +0 -4
  327. package/build/components/AppWindowWrapper/AppWindow/style.js +0 -77
  328. package/build/components/AppWindowWrapper/AppWindow/type.js +0 -1
  329. package/build/components/AppWindowWrapper/AppWindowWrapper.js +0 -22
  330. package/build/components/AppWindowWrapper/context/Provider.js +0 -71
  331. package/build/components/AppWindowWrapper/context/context.js +0 -30
  332. package/build/components/AppWindowWrapper/context/index.js +0 -2
  333. package/build/components/AppWindowWrapper/context/type.js +0 -1
  334. package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.js +0 -31
  335. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.js +0 -10
  336. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/index.js +0 -2
  337. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/type.js +0 -1
  338. package/build/components/AppWindowWrapper/headers/AccountHeader/index.js +0 -3
  339. package/build/components/AppWindowWrapper/headers/AccountHeader/type.js +0 -1
  340. package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeader.js +0 -23
  341. package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeaderBase.js +0 -20
  342. package/build/components/AppWindowWrapper/headers/AppWindowHeader/index.js +0 -4
  343. package/build/components/AppWindowWrapper/headers/AppWindowHeader/type.js +0 -1
  344. package/build/components/AppWindowWrapper/type.js +0 -1
  345. package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.js +0 -21
  346. package/build/components/AuthenticationTypeChip/constants.js +0 -13
  347. package/build/components/Autocomplete/Autocomplete.js +0 -33
  348. package/build/components/Autocomplete/style.js +0 -47
  349. package/build/components/BackgroundAnimation/BackgroundAnimation.js +0 -52
  350. package/build/components/BackgroundAnimation/Blob/Blob.js +0 -34
  351. package/build/components/BackgroundAnimation/Blob/index.js +0 -2
  352. package/build/components/BackgroundAnimation/Blob/type.js +0 -1
  353. package/build/components/BetaBanner/BetaBanner.js +0 -5
  354. package/build/components/BetaBanner/style.js +0 -18
  355. package/build/components/BrandLogo/BrandLogo.js +0 -35
  356. package/build/components/BrandLogo/Loading.js +0 -3
  357. package/build/components/Button/Button.js +0 -19
  358. package/build/components/Button/PlusButton/PlusButton.js +0 -21
  359. package/build/components/Button/PlusButton/index.js +0 -2
  360. package/build/components/Button/StyledButton/StyledButton.js +0 -20
  361. package/build/components/Button/StyledButton/index.js +0 -2
  362. package/build/components/Button/StyledButton/style.js +0 -13
  363. package/build/components/Button/style.js +0 -23
  364. package/build/components/Calender/Calender.js +0 -71
  365. package/build/components/Calender/style.js +0 -171
  366. package/build/components/CardEmptyState/CardEmptyState.js +0 -20
  367. package/build/components/CardEmptyState/style.js +0 -35
  368. package/build/components/CardEmptyState/type.js +0 -1
  369. package/build/components/CardHeadline/CardHeadline.js +0 -15
  370. package/build/components/Checkbox/Checkbox.js +0 -14
  371. package/build/components/Chip/Chip.js +0 -20
  372. package/build/components/Chip/GroupIconChip.js +0 -17
  373. package/build/components/Chip/GroupIconChips.js +0 -36
  374. package/build/components/Chip/style.js +0 -76
  375. package/build/components/Chip/type.js +0 -1
  376. package/build/components/CircularProgressWithLabel/CircularProgressWithLabel.js +0 -7
  377. package/build/components/CircularProgressWithLabel/style.js +0 -31
  378. package/build/components/Collapse/Collapse.js +0 -17
  379. package/build/components/ColorPicker/ColorPicker.js +0 -35
  380. package/build/components/ColorPicker/ColorPickerPanel.js +0 -56
  381. package/build/components/ColorPicker/ColorSchemeSelect.js +0 -35
  382. package/build/components/ColorPicker/HexaFields.js +0 -83
  383. package/build/components/ColorPicker/RGBAFields.js +0 -37
  384. package/build/components/ColorPicker/style.js +0 -157
  385. package/build/components/ConfirmDialog/ConfirmDialog.js +0 -8
  386. package/build/components/ConfirmDialog/context/Provider.js +0 -18
  387. package/build/components/ConfirmDialog/context/context.js +0 -14
  388. package/build/components/ConfirmDialog/context/index.js +0 -2
  389. package/build/components/ConfirmDialog/hooks/index.js +0 -1
  390. package/build/components/ConfirmDialog/hooks/useDialog.js +0 -22
  391. package/build/components/ConfirmDialog/styles.js +0 -42
  392. package/build/components/ConfirmDialog/type.js +0 -1
  393. package/build/components/ControlPanelContainer/ControlPanelContainer.js +0 -5
  394. package/build/components/ControlPanelContainer/style.js +0 -9
  395. package/build/components/CopyImage/CopyImage.js +0 -11
  396. package/build/components/CountBadge/CountBadge.js +0 -51
  397. package/build/components/CountBadge/CountBadgeAnimated.js +0 -15
  398. package/build/components/CountBadge/style.js +0 -29
  399. package/build/components/CountBadge/type.js +0 -16
  400. package/build/components/CountryFilter/CountryFilter.js +0 -71
  401. package/build/components/CountryFilter/style.js +0 -7
  402. package/build/components/CountryFlag/CountryFlag.js +0 -23
  403. package/build/components/CurrencyFilter/CurrencyFilter.js +0 -27
  404. package/build/components/CurrencySymbol/CurrencySymbol.js +0 -17
  405. package/build/components/CurrencySymbol/style.js +0 -27
  406. package/build/components/CustomBackdrop/CustomBackdrop.js +0 -8
  407. package/build/components/CustomBackdrop/style.js +0 -9
  408. package/build/components/Customer/CustomerDropdown/CustomerDropdown.js +0 -39
  409. package/build/components/Customer/CustomerDropdown/index.js +0 -1
  410. package/build/components/Customer/CustomerDropdown/style.js +0 -30
  411. package/build/components/Customer/CustomerForms/CustomerEmailForm.js +0 -76
  412. package/build/components/Customer/CustomerForms/CustomerFullInfo.js +0 -72
  413. package/build/components/Customer/CustomerForms/CustomerFullInfoForm.js +0 -74
  414. package/build/components/Customer/CustomerForms/CustomerPhoneNumberForm.js +0 -71
  415. package/build/components/Customer/CustomerForms/index.js +0 -9
  416. package/build/components/Customer/CustomerForms/style.js +0 -71
  417. package/build/components/Customer/CustomerForms/validation.js +0 -42
  418. package/build/components/DateButton/DateButton.js +0 -9
  419. package/build/components/DateFilter/DateFilter.js +0 -32
  420. package/build/components/DateFilter/style.js +0 -100
  421. package/build/components/DeviceIcon/DeviceIcon.js +0 -29
  422. package/build/components/DeviceIcon/constants.js +0 -6
  423. package/build/components/DeviceIcon/style.js +0 -18
  424. package/build/components/DeviceIcon/utils.js +0 -4
  425. package/build/components/Dialog/Dialog.js +0 -9
  426. package/build/components/Dialog/components/DialogToolbar.js +0 -31
  427. package/build/components/Dialog/components/index.js +0 -2
  428. package/build/components/Dialog/constant.js +0 -1
  429. package/build/components/Dialog/style.js +0 -50
  430. package/build/components/Discount/DiscountDropdown/DiscountDropdown.js +0 -67
  431. package/build/components/Discount/DiscountDropdown/index.js +0 -2
  432. package/build/components/Discount/DiscountDropdown/style.js +0 -40
  433. package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.js +0 -53
  434. package/build/components/Discount/DiscountRateDropdown/index.js +0 -2
  435. package/build/components/Discount/DiscountRateDropdown/style.js +0 -33
  436. package/build/components/Discount/TotalDiscount/TotalDiscount.js +0 -30
  437. package/build/components/Discount/TotalDiscount/index.js +0 -1
  438. package/build/components/Discount/TotalDiscount/style.js +0 -5
  439. package/build/components/Discount/utils.js +0 -12
  440. package/build/components/DisplayAmount/DisplayAmount.js +0 -21
  441. package/build/components/DisplayAmount/style.js +0 -14
  442. package/build/components/DockButton/DockButton.js +0 -27
  443. package/build/components/DockButton/style.js +0 -25
  444. package/build/components/DockButton/type.js +0 -1
  445. package/build/components/Dropdown2/Dropdown2.js +0 -29
  446. package/build/components/Dropdown2/style.js +0 -24
  447. package/build/components/DropdownButton/ChevronIcon.js +0 -16
  448. package/build/components/DropdownButton/DropdownButton.js +0 -50
  449. package/build/components/DropdownButton/constants.js +0 -5
  450. package/build/components/DropdownButton/style.js +0 -70
  451. package/build/components/DropdownButton/type.js +0 -1
  452. package/build/components/DropdownMenu/DropdownMenu.js +0 -43
  453. package/build/components/DropdownMenu/index.js +0 -3
  454. package/build/components/DropdownMenu/styles.js +0 -158
  455. package/build/components/DropdownMenu/type.js +0 -1
  456. package/build/components/Error/Error.js +0 -20
  457. package/build/components/Error/style.js +0 -13
  458. package/build/components/ErrorBoundary/AppError.js +0 -16
  459. package/build/components/ErrorBoundary/ErrorBoundary.js +0 -25
  460. package/build/components/ErrorBoundary/style.js +0 -19
  461. package/build/components/ErrorToast/ErrorToast.js +0 -7
  462. package/build/components/ErrorToast/style.js +0 -33
  463. package/build/components/ErrorToast/type.js +0 -1
  464. package/build/components/ExpandableSideBar/ExpandableSideBar.js +0 -35
  465. package/build/components/ExpandableSideBar/constant.js +0 -1
  466. package/build/components/ExpandableSideBar/style.js +0 -47
  467. package/build/components/ExpandableSideBar/type.js +0 -1
  468. package/build/components/FileInputPreview/FileInputPreview.js +0 -51
  469. package/build/components/FileInputPreview/style.js +0 -20
  470. package/build/components/FileInputPreview/type.js +0 -1
  471. package/build/components/FileInputPreview/utils.js +0 -14
  472. package/build/components/FilePreview/FilePreview.js +0 -18
  473. package/build/components/FilePreview/style.js +0 -55
  474. package/build/components/FilePreview/type.js +0 -1
  475. package/build/components/FileUpload/FileUpload.js +0 -41
  476. package/build/components/FileUpload/style.js +0 -106
  477. package/build/components/FileUploader/FileUploader.js +0 -13
  478. package/build/components/FileUploader/style.js +0 -55
  479. package/build/components/FileUploader/type.js +0 -1
  480. package/build/components/FilterDropdown/FilterDropdown.js +0 -58
  481. package/build/components/FilterDropdown/components/BrandItem/BrandItem.js +0 -39
  482. package/build/components/FilterDropdown/components/BrandItem/index.js +0 -2
  483. package/build/components/FilterDropdown/components/BrandItem/style.js +0 -9
  484. package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.js +0 -54
  485. package/build/components/FilterDropdown/components/CountriesItem/index.js +0 -1
  486. package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.js +0 -59
  487. package/build/components/FilterDropdown/components/CurrenciesItem/index.js +0 -1
  488. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.js +0 -39
  489. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.js +0 -2
  490. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.js +0 -23
  491. package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.js +0 -60
  492. package/build/components/FilterDropdown/components/MerchantItem/index.js +0 -2
  493. package/build/components/FilterDropdown/components/MerchantsFilterItem/MerchantsFilterItem.js +0 -45
  494. package/build/components/FilterDropdown/components/MerchantsFilterItem/index.js +0 -4
  495. package/build/components/FilterDropdown/components/MerchantsFilterItem/type.js +0 -7
  496. package/build/components/FilterDropdown/components/MerchantsFilterItem/utils.js +0 -55
  497. package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.js +0 -68
  498. package/build/components/FilterDropdown/components/RetailersItem/index.js +0 -1
  499. package/build/components/FilterDropdown/components/RetailersItem/style.js +0 -8
  500. package/build/components/FilterDropdown/components/index.js +0 -6
  501. package/build/components/FilterDropdown/style.js +0 -73
  502. package/build/components/FilterDropdown/type.js +0 -1
  503. package/build/components/FilteredIds/FilteredIds.js +0 -16
  504. package/build/components/FilteredIds/style.js +0 -33
  505. package/build/components/FilteredIds/type.js +0 -1
  506. package/build/components/Filters/style.js +0 -51
  507. package/build/components/FlagDetails/FlagDetails.js +0 -31
  508. package/build/components/FlippingCard/FlippingCard.js +0 -7
  509. package/build/components/FlippingCard/style.js +0 -26
  510. package/build/components/HeatMap/HeatMap.js +0 -20
  511. package/build/components/HeatMap/constant.js +0 -1
  512. package/build/components/HeatMap/style.js +0 -34
  513. package/build/components/HeatMap/type.js +0 -1
  514. package/build/components/HeatMap/utils.js +0 -9
  515. package/build/components/IOSSwitch/IOSSwitch.js +0 -7
  516. package/build/components/IOSSwitch/styles.js +0 -49
  517. package/build/components/Icon/Icon.js +0 -12
  518. package/build/components/Icon/type.js +0 -1
  519. package/build/components/IconGallery/IconGallery.js +0 -13
  520. package/build/components/IconGallery/styles.js +0 -21
  521. package/build/components/IconGallery/type.js +0 -1
  522. package/build/components/IconWithBadge/IconWithBadge.js +0 -21
  523. package/build/components/IconWithBadge/style.js +0 -11
  524. package/build/components/IconWithBadge/type.js +0 -1
  525. package/build/components/IconWithHoverOverlays/IconWithHoverOverlays.js +0 -19
  526. package/build/components/IconWithHoverOverlays/style.js +0 -45
  527. package/build/components/IconWithLabel/IconWithLabel.js +0 -7
  528. package/build/components/IconWithLabel/style.js +0 -21
  529. package/build/components/IconsDropdown/IconsDropdown.js +0 -31
  530. package/build/components/IconsDropdown/style.js +0 -47
  531. package/build/components/ImageWrapper/ImageWrapper.js +0 -16
  532. package/build/components/Input/Input.js +0 -22
  533. package/build/components/Input/style.js +0 -18
  534. package/build/components/InputBase/AmountInputBase/AmountInputBase.js +0 -30
  535. package/build/components/InputBase/AmountInputBase/CurrencyList/CurrencyList.js +0 -50
  536. package/build/components/InputBase/AmountInputBase/CurrencyList/index.js +0 -2
  537. package/build/components/InputBase/AmountInputBase/CurrencyList/style.js +0 -42
  538. package/build/components/InputBase/AmountInputBase/InputNumber/InputNumber.js +0 -24
  539. package/build/components/InputBase/AmountInputBase/InputNumber/index.js +0 -3
  540. package/build/components/InputBase/AmountInputBase/InputNumber/style.js +0 -24
  541. package/build/components/InputBase/AmountInputBase/InputNumber/type.js +0 -1
  542. package/build/components/InputBase/AmountInputBase/index.js +0 -4
  543. package/build/components/InputBase/AmountInputBase/style.js +0 -26
  544. package/build/components/InputBase/InputBase/InputBase.js +0 -28
  545. package/build/components/InputBase/InputBase/index.js +0 -2
  546. package/build/components/InputBase/InputBase/style.js +0 -68
  547. package/build/components/InputBase/PhoneInputBase/CountriesList/CountriesList.js +0 -65
  548. package/build/components/InputBase/PhoneInputBase/CountriesList/index.js +0 -2
  549. package/build/components/InputBase/PhoneInputBase/CountriesList/style.js +0 -49
  550. package/build/components/InputBase/PhoneInputBase/PhoneInputBase.js +0 -27
  551. package/build/components/InputBase/PhoneInputBase/index.js +0 -3
  552. package/build/components/InputBase/PhoneInputBase/style.js +0 -23
  553. package/build/components/InputBase/SelectBase/SelectBase.js +0 -45
  554. package/build/components/InputBase/SelectBase/SelectBaseMultiple.js +0 -64
  555. package/build/components/InputBase/SelectBase/index.js +0 -3
  556. package/build/components/InputBase/SelectBase/style.js +0 -109
  557. package/build/components/InputNumber/InputNumber.js +0 -40
  558. package/build/components/InputNumber/style.js +0 -20
  559. package/build/components/Inputs/CountriesDropDown/CountriesDropdown.js +0 -59
  560. package/build/components/Inputs/CountriesDropDown/index.js +0 -3
  561. package/build/components/Inputs/CountriesDropDown/style.js +0 -68
  562. package/build/components/Inputs/FileInput/FileInput.js +0 -13
  563. package/build/components/Inputs/FileInput/index.js +0 -2
  564. package/build/components/Inputs/FileInput/style.js +0 -41
  565. package/build/components/Inputs/FileInput/type.js +0 -1
  566. package/build/components/Inputs/Input/Input.js +0 -23
  567. package/build/components/Inputs/Input/index.js +0 -2
  568. package/build/components/Inputs/Input/style.js +0 -85
  569. package/build/components/Inputs/Input/type.js +0 -1
  570. package/build/components/Inputs/SearchInput/SearchInput.js +0 -24
  571. package/build/components/Inputs/SearchInput/index.js +0 -2
  572. package/build/components/Inputs/SearchInput/styles.js +0 -17
  573. package/build/components/Inputs/Select/Select.js +0 -67
  574. package/build/components/Inputs/Select/index.js +0 -2
  575. package/build/components/Inputs/Select/style.js +0 -24
  576. package/build/components/Inputs/Select/type.js +0 -1
  577. package/build/components/JSONViewer/JSONViewer.js +0 -285
  578. package/build/components/JSONViewer/JSONViewerList.js +0 -10
  579. package/build/components/JSONViewer/components/FooterButton/FooterButton.js +0 -44
  580. package/build/components/JSONViewer/components/FooterButton/index.js +0 -2
  581. package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.js +0 -9
  582. package/build/components/JSONViewer/components/JSONTitleBar/index.js +0 -3
  583. package/build/components/JSONViewer/components/JSONTitleBar/type.js +0 -1
  584. package/build/components/JSONViewer/components/index.js +0 -2
  585. package/build/components/JSONViewer/context/Provider.js +0 -44
  586. package/build/components/JSONViewer/context/context.js +0 -7
  587. package/build/components/JSONViewer/context/index.js +0 -2
  588. package/build/components/JSONViewer/hooks/index.js +0 -1
  589. package/build/components/JSONViewer/hooks/useJsonViewerContext.js +0 -18
  590. package/build/components/JSONViewer/style.js +0 -176
  591. package/build/components/JSONViewer/type.js +0 -1
  592. package/build/components/LabeledIconDropdown/LabeledIconDropdown.js +0 -51
  593. package/build/components/LabeledIconDropdown/style.js +0 -104
  594. package/build/components/LanguageDropdown/LanguageDropdown.js +0 -24
  595. package/build/components/LanguageDropdown/style.js +0 -5
  596. package/build/components/LazyImage/LazyImage.js +0 -39
  597. package/build/components/LeftPeekRightExpandingChip/LeftPeekRightExpandingChip.js +0 -30
  598. package/build/components/LeftPeekRightExpandingChip/style.js +0 -65
  599. package/build/components/LeftPeekRightExpandingChip/type.js +0 -1
  600. package/build/components/LeftPeekRightExpandingChip/useLeftPeekRightExpandingChip.js +0 -134
  601. package/build/components/ListColumnFilter/ListColumnFilter.js +0 -36
  602. package/build/components/ListColumnFilter/style.js +0 -35
  603. package/build/components/ListLayout/ListLayout.js +0 -20
  604. package/build/components/ListLayout/styles.js +0 -9
  605. package/build/components/Loader/Loader.js +0 -7
  606. package/build/components/Loader/style.js +0 -15
  607. package/build/components/Loaders/TapLoader.js +0 -29
  608. package/build/components/MFWidgetLoader/DefaultMFWidgetLoader.js +0 -12
  609. package/build/components/MFWidgetLoader/MFWidgetLoader.js +0 -10
  610. package/build/components/MFWidgetLoader/ReportsMFWidgetLoader.js +0 -8
  611. package/build/components/MUIThemeProvider/MUIThemeProvider.js +0 -9
  612. package/build/components/MainContainer/MainContainer.js +0 -8
  613. package/build/components/MaskedText/MaskedText.js +0 -9
  614. package/build/components/MaskedText/type.js +0 -1
  615. package/build/components/Menu/Menu.js +0 -29
  616. package/build/components/Menu/style.js +0 -23
  617. package/build/components/MenuItem/MenuItem.js +0 -21
  618. package/build/components/MenuItem/style.js +0 -30
  619. package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.js +0 -38
  620. package/build/components/MerchantCurrencyDropdown/SelectedCurrency.js +0 -6
  621. package/build/components/MerchantCurrencyDropdown/style.js +0 -64
  622. package/build/components/MerchantLogo/MerchantLogo.js +0 -17
  623. package/build/components/MerchantLogo/style.js +0 -13
  624. package/build/components/MerchantsDropdown/BrandItem.js +0 -71
  625. package/build/components/MerchantsDropdown/EntityItem.js +0 -69
  626. package/build/components/MerchantsDropdown/EntityList.js +0 -7
  627. package/build/components/MerchantsDropdown/MerchantItem.js +0 -27
  628. package/build/components/MerchantsDropdown/MerchantsDropdown.js +0 -67
  629. package/build/components/MerchantsDropdown/MerchantsList.js +0 -18
  630. package/build/components/MerchantsDropdown/hooks.js +0 -54
  631. package/build/components/MerchantsDropdown/style.js +0 -155
  632. package/build/components/MerchantsDropdown/type.js +0 -1
  633. package/build/components/MultiDatakeyDonut/MultiDatakeyDonut.js +0 -19
  634. package/build/components/MultiDatakeyDonut/style.js +0 -23
  635. package/build/components/MultiSelectDropdownButton/MultiSelectDropdownButton.js +0 -32
  636. package/build/components/MultiSelectDropdownButton/components/StatusButton.js +0 -34
  637. package/build/components/MultiSelectDropdownButton/style.js +0 -8
  638. package/build/components/MultiSelectDropdownButton/type.js +0 -1
  639. package/build/components/MultiSelectStatusButton/MultiSelectStatusButton.js +0 -93
  640. package/build/components/MultiSelectStatusButton/style.js +0 -77
  641. package/build/components/MultiSelectStatusButton/type.js +0 -1
  642. package/build/components/MultiSelectWithSearch/ChildMenuItem.js +0 -45
  643. package/build/components/MultiSelectWithSearch/MultiSelectWithSearch.js +0 -52
  644. package/build/components/MultiSelectWithSearch/ParentMenuItem.js +0 -27
  645. package/build/components/MultiSelectWithSearch/style.js +0 -88
  646. package/build/components/MultiSelectWithSearch/type.js +0 -1
  647. package/build/components/MultiSelectWithSearch/utils.js +0 -12
  648. package/build/components/NestedDropdown/Dropdown.js +0 -60
  649. package/build/components/NestedDropdown/NestedDropdown.js +0 -49
  650. package/build/components/NestedDropdown/NestedMenuItem.js +0 -48
  651. package/build/components/NestedDropdown/styles.js +0 -100
  652. package/build/components/NestedDropdown/types.js +0 -1
  653. package/build/components/NoInternet/NoInternet.js +0 -6
  654. package/build/components/NoInternet/style.js +0 -32
  655. package/build/components/OTPInput/OTPInput.js +0 -36
  656. package/build/components/OTPInput/style.js +0 -28
  657. package/build/components/OpenFileInNewTab/OpenFileInNewTab.js +0 -26
  658. package/build/components/OpenFileInNewTab/style.js +0 -8
  659. package/build/components/PartnersFilter/PartnersFilter.js +0 -50
  660. package/build/components/PaymentSourceFilter/AuthenticationMode.js +0 -59
  661. package/build/components/PaymentSourceFilter/PaymentIcon.js +0 -9
  662. package/build/components/PaymentSourceFilter/PaymentInitiated.js +0 -29
  663. package/build/components/PaymentSourceFilter/PaymentMethod.js +0 -55
  664. package/build/components/PaymentSourceFilter/PaymentMethods.js +0 -50
  665. package/build/components/PaymentSourceFilter/PaymentSchemes.js +0 -54
  666. package/build/components/PaymentSourceFilter/PaymentSourceFilter.js +0 -16
  667. package/build/components/PaymentSourceFilter/style.js +0 -22
  668. package/build/components/PaymentSourceFilter/type.js +0 -1
  669. package/build/components/PhoneFilter/PhoneFilter.js +0 -13
  670. package/build/components/ProgressBar/ProgressBar.js +0 -6
  671. package/build/components/ProgressBar/style.js +0 -19
  672. package/build/components/ProgressRing/LoadingSkeleton.js +0 -6
  673. package/build/components/ProgressRing/ProgressRing.js +0 -17
  674. package/build/components/ProgressRing/style.js +0 -37
  675. package/build/components/RFH/Forms/DefaultForm.js +0 -7
  676. package/build/components/RFH/Forms/index.js +0 -1
  677. package/build/components/RFH/Inputs/AmountInput/AmountInput.js +0 -35
  678. package/build/components/RFH/Inputs/AmountInput/index.js +0 -3
  679. package/build/components/RFH/Inputs/AmountInput/type.js +0 -1
  680. package/build/components/RFH/Inputs/AmountInput/utils.js +0 -3
  681. package/build/components/RFH/Inputs/FormInput/FormInput.js +0 -32
  682. package/build/components/RFH/Inputs/FormInput/index.js +0 -2
  683. package/build/components/RFH/Inputs/FormSelect/FormSelect.js +0 -25
  684. package/build/components/RFH/Inputs/FormSelect/index.js +0 -2
  685. package/build/components/RFH/Inputs/FormSelect/type.js +0 -1
  686. package/build/components/RFH/Inputs/MultiSelect/MultiSelect.js +0 -66
  687. package/build/components/RFH/Inputs/MultiSelect/index.js +0 -2
  688. package/build/components/RFH/Inputs/MultiSelect/style.js +0 -56
  689. package/build/components/RFH/Inputs/PhoneInput/PhoneInput.js +0 -30
  690. package/build/components/RFH/Inputs/PhoneInput/index.js +0 -2
  691. package/build/components/RFH/Inputs/SelectWithAccordion/SelectWithAccordion.js +0 -62
  692. package/build/components/RFH/Inputs/SelectWithAccordion/index.js +0 -2
  693. package/build/components/RFH/Inputs/SelectWithAccordion/style.js +0 -70
  694. package/build/components/RFH/Inputs/SelectWithAccordion/type.js +0 -1
  695. package/build/components/RFH/Inputs/Switch/Switch.js +0 -22
  696. package/build/components/RFH/Inputs/Switch/index.js +0 -2
  697. package/build/components/RFH/Inputs/index.js +0 -7
  698. package/build/components/RFH/hooks/index.js +0 -1
  699. package/build/components/RFH/hooks/useRFHForm.js +0 -2
  700. package/build/components/RadioButton/RadioButton.js +0 -19
  701. package/build/components/RadioButton/style.js +0 -64
  702. package/build/components/RadioButton/type.js +0 -1
  703. package/build/components/RadioGroup/RadioGroup.js +0 -38
  704. package/build/components/RadioGroup/style.js +0 -16
  705. package/build/components/RadioGroup/type.js +0 -1
  706. package/build/components/RangeCalender/RangeCalender.js +0 -99
  707. package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.js +0 -40
  708. package/build/components/RangeCalender/components/CustomTimepicker/index.js +0 -2
  709. package/build/components/RangeCalender/components/CustomTimepicker/style.js +0 -132
  710. package/build/components/RangeCalender/components/GroupBy/GroupBy.js +0 -33
  711. package/build/components/RangeCalender/components/GroupBy/index.js +0 -2
  712. package/build/components/RangeCalender/components/GroupBy/style.js +0 -39
  713. package/build/components/RangeCalender/components/Hijri/Hijri.js +0 -13
  714. package/build/components/RangeCalender/components/Hijri/index.js +0 -2
  715. package/build/components/RangeCalender/components/Hijri/style.js +0 -25
  716. package/build/components/RangeCalender/components/QuickFilters/QuickFilters.js +0 -47
  717. package/build/components/RangeCalender/components/QuickFilters/index.js +0 -2
  718. package/build/components/RangeCalender/components/QuickFilters/style.js +0 -27
  719. package/build/components/RangeCalender/components/RangeDatepicker/RangeDatepicker.js +0 -31
  720. package/build/components/RangeCalender/components/RangeDatepicker/index.js +0 -3
  721. package/build/components/RangeCalender/components/RangeDatepicker/style.js +0 -9
  722. package/build/components/RangeCalender/components/RangeDatepicker/type.js +0 -1
  723. package/build/components/RangeCalender/components/Timezone/Timezone.js +0 -32
  724. package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.js +0 -38
  725. package/build/components/RangeCalender/components/Timezone/components/UserTimezone.js +0 -14
  726. package/build/components/RangeCalender/components/Timezone/index.js +0 -2
  727. package/build/components/RangeCalender/components/Timezone/style.js +0 -61
  728. package/build/components/RangeCalender/style.js +0 -193
  729. package/build/components/RangeCalender/type.js +0 -1
  730. package/build/components/RangeCalender/utils.js +0 -26
  731. package/build/components/ReceiptsViewer/ReceiptViewer.js +0 -16
  732. package/build/components/ReceiptsViewer/ReceiptsViewer.js +0 -7
  733. package/build/components/ReceiptsViewer/style.js +0 -7
  734. package/build/components/ReceiptsViewer/type.js +0 -1
  735. package/build/components/ReferenceTypeFilter/ReferenceTypeFilter.js +0 -36
  736. package/build/components/ReferenceTypeFilter/style.js +0 -34
  737. package/build/components/ResizableHeightInput/ResizableHeightInput.js +0 -24
  738. package/build/components/ResizableHeightInput/style.js +0 -12
  739. package/build/components/RightLeftExpandingCenterChip/RightLeftExpandingCenterChip.js +0 -113
  740. package/build/components/RightLeftExpandingCenterChip/style.js +0 -130
  741. package/build/components/RightLeftExpandingCenterChip/type.js +0 -1
  742. package/build/components/RightLeftExpandingCenterChip/useRightLeftExpandingCenterChip.js +0 -233
  743. package/build/components/Routes/PrivateRoute.js +0 -10
  744. package/build/components/Routes/PublicRoute.js +0 -6
  745. package/build/components/SalesChannelFilter/SalesChannelFilter.js +0 -56
  746. package/build/components/SalesChannelFilter/style.js +0 -29
  747. package/build/components/Sandbox/Sandbox.js +0 -10
  748. package/build/components/Sandbox/style.js +0 -58
  749. package/build/components/ScrollLoader/ScrollLoader.js +0 -69
  750. package/build/components/SearchButton/SearchButton.js +0 -57
  751. package/build/components/SearchButton/styles.js +0 -44
  752. package/build/components/SearchListInput/SearchListInput.js +0 -20
  753. package/build/components/SearchListInput/style.js +0 -15
  754. package/build/components/SelectDropdown/SelectDropdown.js +0 -18
  755. package/build/components/SelectDropdown/style.js +0 -18
  756. package/build/components/SelectWithSearch/SelectWithSearch.js +0 -61
  757. package/build/components/SelectWithSearch/style.js +0 -70
  758. package/build/components/SelectWithSearch/type.js +0 -1
  759. package/build/components/SimpleDialog/SimpleDialog.js +0 -9
  760. package/build/components/SimpleDialog/index.js +0 -2
  761. package/build/components/SimpleDialog/style.js +0 -13
  762. package/build/components/SimpleDialog/type.js +0 -1
  763. package/build/components/Skeleton/Skeleton.js +0 -19
  764. package/build/components/SplashScreen/SplashScreen.js +0 -17
  765. package/build/components/StatusBar/StatusBar.js +0 -54
  766. package/build/components/StatusBar/type.js +0 -1
  767. package/build/components/StatusButton/ChevronIcon.js +0 -18
  768. package/build/components/StatusButton/StatusButton.js +0 -94
  769. package/build/components/StatusButton/constant.js +0 -30
  770. package/build/components/StatusButton/style.js +0 -92
  771. package/build/components/StatusButton/type.js +0 -1
  772. package/build/components/StatusChip/StatusChip.js +0 -58
  773. package/build/components/StatusChip/style.js +0 -37
  774. package/build/components/StatusChip/type.js +0 -1
  775. package/build/components/StatusChipWithCopy/StatusChipWithCopy.js +0 -23
  776. package/build/components/StatusChipWithCopy/utils.js +0 -4
  777. package/build/components/StatusFilter/StatusFilter.js +0 -88
  778. package/build/components/StatusFilter/utils.js +0 -10
  779. package/build/components/StatusGroupChips/StatusGroupChips.js +0 -24
  780. package/build/components/StatusGroupChips/style.js +0 -17
  781. package/build/components/StatusGroupChips/type.js +0 -1
  782. package/build/components/StatusIcons/AgreementIcon/AgreementIcon.js +0 -34
  783. package/build/components/StatusIcons/AgreementIcon/constant.js +0 -32
  784. package/build/components/StatusIcons/AgreementIcon/index.js +0 -3
  785. package/build/components/StatusIcons/AgreementIcon/style.js +0 -37
  786. package/build/components/StatusIcons/AgreementIcon/type.js +0 -1
  787. package/build/components/StatusIcons/AuthIcons/AuthIcons.js +0 -45
  788. package/build/components/StatusIcons/AuthIcons/constants.js +0 -35
  789. package/build/components/StatusIcons/AuthIcons/index.js +0 -3
  790. package/build/components/StatusIcons/AuthIcons/style.js +0 -61
  791. package/build/components/StatusIcons/AuthIcons/type.js +0 -14
  792. package/build/components/StatusIcons/AuthIcons/utils.js +0 -8
  793. package/build/components/StatusIcons/AuthorizationAutoIcons/CaptureAutoIcon.js +0 -82
  794. package/build/components/StatusIcons/AuthorizationAutoIcons/VoidAutoIcon.js +0 -85
  795. package/build/components/StatusIcons/AuthorizationAutoIcons/constant.js +0 -5
  796. package/build/components/StatusIcons/AuthorizationAutoIcons/index.js +0 -4
  797. package/build/components/StatusIcons/AuthorizationAutoIcons/style.js +0 -58
  798. package/build/components/StatusIcons/AuthorizationAutoIcons/type.js +0 -1
  799. package/build/components/StatusIcons/AuthorizationAutoIcons/utils.js +0 -9
  800. package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.js +0 -20
  801. package/build/components/StatusIcons/AuthorizedIcon/index.js +0 -1
  802. package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.js +0 -58
  803. package/build/components/StatusIcons/ChargeStatusIcon/index.js +0 -1
  804. package/build/components/StatusIcons/ChargeStatusIcon/style.js +0 -113
  805. package/build/components/StatusIcons/CustomerInitiated/CustomerInitiatedIcon.js +0 -11
  806. package/build/components/StatusIcons/CustomerInitiated/index.js +0 -1
  807. package/build/components/StatusIcons/DestinationIcon/DestinationIcon.js +0 -22
  808. package/build/components/StatusIcons/DestinationIcon/constant.js +0 -7
  809. package/build/components/StatusIcons/DestinationIcon/index.js +0 -1
  810. package/build/components/StatusIcons/DestinationIcon/style.js +0 -20
  811. package/build/components/StatusIcons/DeviceIcon/DeviceIcon.js +0 -7
  812. package/build/components/StatusIcons/DeviceIcon/index.js +0 -1
  813. package/build/components/StatusIcons/DisputeIcon/DisputeIcon.js +0 -9
  814. package/build/components/StatusIcons/DisputeIcon/index.js +0 -1
  815. package/build/components/StatusIcons/GeographyIcon/GeographyIcon.js +0 -17
  816. package/build/components/StatusIcons/GeographyIcon/index.js +0 -1
  817. package/build/components/StatusIcons/GeographyIcon/style.js +0 -23
  818. package/build/components/StatusIcons/IssuerIcon/IssuerIcon.js +0 -9
  819. package/build/components/StatusIcons/IssuerIcon/index.js +0 -3
  820. package/build/components/StatusIcons/IssuerIcon/style.js +0 -10
  821. package/build/components/StatusIcons/IssuerIcon/type.js +0 -1
  822. package/build/components/StatusIcons/PayoutIcon/PayoutIcon.js +0 -17
  823. package/build/components/StatusIcons/PayoutIcon/index.js +0 -1
  824. package/build/components/StatusIcons/RefundIcon/RefundIcon.js +0 -59
  825. package/build/components/StatusIcons/RefundIcon/index.js +0 -2
  826. package/build/components/StatusIcons/SourceIcons/SourceIcons.js +0 -38
  827. package/build/components/StatusIcons/SourceIcons/components/SourceIcon.js +0 -13
  828. package/build/components/StatusIcons/SourceIcons/components/index.js +0 -1
  829. package/build/components/StatusIcons/SourceIcons/index.js +0 -3
  830. package/build/components/StatusIcons/SourceIcons/style.js +0 -57
  831. package/build/components/StatusIcons/SourceIcons/type.js +0 -1
  832. package/build/components/StatusIcons/SourceIcons/utils.js +0 -8
  833. package/build/components/StatusLabel/StatusLabel.js +0 -10
  834. package/build/components/StatusLabel/style.js +0 -20
  835. package/build/components/TableCells/CustomCells/ActionCell/ActionCell.js +0 -97
  836. package/build/components/TableCells/CustomCells/ActionCell/components/ActionIconColumn.js +0 -51
  837. package/build/components/TableCells/CustomCells/ActionCell/components/ActionIconsVariants.js +0 -21
  838. package/build/components/TableCells/CustomCells/ActionCell/components/ActionsColumn.js +0 -74
  839. package/build/components/TableCells/CustomCells/ActionCell/components/index.js +0 -3
  840. package/build/components/TableCells/CustomCells/ActionCell/constant.js +0 -29
  841. package/build/components/TableCells/CustomCells/ActionCell/hooks/useActionCell.js +0 -37
  842. package/build/components/TableCells/CustomCells/ActionCell/index.js +0 -3
  843. package/build/components/TableCells/CustomCells/ActionCell/style.js +0 -29
  844. package/build/components/TableCells/CustomCells/ActionCell/type.js +0 -1
  845. package/build/components/TableCells/CustomCells/AgreementCell/AgreementCell.js +0 -51
  846. package/build/components/TableCells/CustomCells/AgreementCell/constant.js +0 -32
  847. package/build/components/TableCells/CustomCells/AgreementCell/index.js +0 -2
  848. package/build/components/TableCells/CustomCells/AgreementCell/style.js +0 -59
  849. package/build/components/TableCells/CustomCells/AgreementCell/type.js +0 -1
  850. package/build/components/TableCells/CustomCells/AmountCell/AmountCell.js +0 -24
  851. package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.js +0 -10
  852. package/build/components/TableCells/CustomCells/AmountCell/AmountCellText.js +0 -23
  853. package/build/components/TableCells/CustomCells/AmountCell/components/AmountConversionTooltipLabel.js +0 -15
  854. package/build/components/TableCells/CustomCells/AmountCell/components/ConversionTypeLabel.js +0 -7
  855. package/build/components/TableCells/CustomCells/AmountCell/components/CurrencyInfo.js +0 -8
  856. package/build/components/TableCells/CustomCells/AmountCell/components/index.js +0 -3
  857. package/build/components/TableCells/CustomCells/AmountCell/index.js +0 -5
  858. package/build/components/TableCells/CustomCells/AmountCell/style.js +0 -37
  859. package/build/components/TableCells/CustomCells/AmountCell/type.js +0 -1
  860. package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +0 -57
  861. package/build/components/TableCells/CustomCells/ApplicationStatusCell/index.js +0 -2
  862. package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.js +0 -51
  863. package/build/components/TableCells/CustomCells/ApplicationStatusCell/type.js +0 -1
  864. package/build/components/TableCells/CustomCells/AppsCell/AppsCell.js +0 -25
  865. package/build/components/TableCells/CustomCells/AppsCell/index.js +0 -2
  866. package/build/components/TableCells/CustomCells/AppsCell/type.js +0 -1
  867. package/build/components/TableCells/CustomCells/AuthCell/AuthCell.js +0 -30
  868. package/build/components/TableCells/CustomCells/AuthCell/index.js +0 -2
  869. package/build/components/TableCells/CustomCells/AuthCell/style.js +0 -15
  870. package/build/components/TableCells/CustomCells/AuthCell/type.js +0 -1
  871. package/build/components/TableCells/CustomCells/AuthenticationCell/AuthenticationCell.js +0 -66
  872. package/build/components/TableCells/CustomCells/AuthenticationCell/constant.js +0 -50
  873. package/build/components/TableCells/CustomCells/AuthenticationCell/index.js +0 -2
  874. package/build/components/TableCells/CustomCells/AuthenticationCell/style.js +0 -65
  875. package/build/components/TableCells/CustomCells/AuthenticationCell/type.js +0 -1
  876. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/AuthenticationStatusCell.js +0 -31
  877. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/constant.js +0 -20
  878. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.js +0 -2
  879. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.js +0 -57
  880. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/type.js +0 -1
  881. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/AuthenticationTypeCell.js +0 -24
  882. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/constant.js +0 -9
  883. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/index.js +0 -1
  884. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.js +0 -57
  885. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/type.js +0 -1
  886. package/build/components/TableCells/CustomCells/AvatarCell/AvatarCell.js +0 -36
  887. package/build/components/TableCells/CustomCells/AvatarCell/index.js +0 -2
  888. package/build/components/TableCells/CustomCells/AvatarCell/type.js +0 -1
  889. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.js +0 -60
  890. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.js +0 -10
  891. package/build/components/TableCells/CustomCells/BalanceCell/index.js +0 -3
  892. package/build/components/TableCells/CustomCells/BalanceCell/style.js +0 -39
  893. package/build/components/TableCells/CustomCells/BalanceCell/type.js +0 -1
  894. package/build/components/TableCells/CustomCells/BalanceCell/utils.js +0 -9
  895. package/build/components/TableCells/CustomCells/BankCell/BankCell.js +0 -26
  896. package/build/components/TableCells/CustomCells/BankCell/index.js +0 -2
  897. package/build/components/TableCells/CustomCells/BankCell/style.js +0 -37
  898. package/build/components/TableCells/CustomCells/BankCell/type.js +0 -1
  899. package/build/components/TableCells/CustomCells/BankReferenceCell/BankReferenceCell.js +0 -10
  900. package/build/components/TableCells/CustomCells/BankReferenceCell/index.js +0 -1
  901. package/build/components/TableCells/CustomCells/BankReferenceCell/style.js +0 -14
  902. package/build/components/TableCells/CustomCells/BrandCell/BrandCell.js +0 -28
  903. package/build/components/TableCells/CustomCells/BrandCell/index.js +0 -2
  904. package/build/components/TableCells/CustomCells/BrandCell/style.js +0 -20
  905. package/build/components/TableCells/CustomCells/BrandCell/type.js +0 -1
  906. package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.js +0 -21
  907. package/build/components/TableCells/CustomCells/BrandsCell/constants.js +0 -7
  908. package/build/components/TableCells/CustomCells/BrandsCell/index.js +0 -2
  909. package/build/components/TableCells/CustomCells/BrandsCell/style.js +0 -31
  910. package/build/components/TableCells/CustomCells/BrandsCell/type.js +0 -1
  911. package/build/components/TableCells/CustomCells/BusinessStatusCell/BusinessStatusCell.js +0 -39
  912. package/build/components/TableCells/CustomCells/BusinessStatusCell/index.js +0 -2
  913. package/build/components/TableCells/CustomCells/BusinessStatusCell/type.js +0 -1
  914. package/build/components/TableCells/CustomCells/ChannelsCell/ChannelsCell.js +0 -55
  915. package/build/components/TableCells/CustomCells/ChannelsCell/constant.js +0 -6
  916. package/build/components/TableCells/CustomCells/ChannelsCell/index.js +0 -2
  917. package/build/components/TableCells/CustomCells/ChannelsCell/style.js +0 -36
  918. package/build/components/TableCells/CustomCells/ChannelsCell/type.js +0 -1
  919. package/build/components/TableCells/CustomCells/CheckoutStatusCell/CheckoutStatusCell.js +0 -32
  920. package/build/components/TableCells/CustomCells/CheckoutStatusCell/constant.js +0 -5
  921. package/build/components/TableCells/CustomCells/CheckoutStatusCell/index.js +0 -1
  922. package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.js +0 -20
  923. package/build/components/TableCells/CustomCells/CheckoutStatusCell/type.js +0 -1
  924. package/build/components/TableCells/CustomCells/CurrencyCell/CurrencyCell.js +0 -6
  925. package/build/components/TableCells/CustomCells/CurrencyCell/index.js +0 -1
  926. package/build/components/TableCells/CustomCells/CurrencyCell/style.js +0 -12
  927. package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.js +0 -46
  928. package/build/components/TableCells/CustomCells/CustomerCell/CustomerCellSheet.js +0 -8
  929. package/build/components/TableCells/CustomCells/CustomerCell/index.js +0 -3
  930. package/build/components/TableCells/CustomCells/CustomerCell/style.js +0 -24
  931. package/build/components/TableCells/CustomCells/CustomerCell/type.js +0 -1
  932. package/build/components/TableCells/CustomCells/DateCell/DateCell.js +0 -26
  933. package/build/components/TableCells/CustomCells/DateCell/DateViewer.js +0 -29
  934. package/build/components/TableCells/CustomCells/DateCell/index.js +0 -2
  935. package/build/components/TableCells/CustomCells/DateCell/style.js +0 -7
  936. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCell.js +0 -27
  937. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.js +0 -31
  938. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellText.js +0 -35
  939. package/build/components/TableCells/CustomCells/DestinationCell/index.js +0 -4
  940. package/build/components/TableCells/CustomCells/DestinationCell/styled.js +0 -68
  941. package/build/components/TableCells/CustomCells/DestinationCell/type.js +0 -1
  942. package/build/components/TableCells/CustomCells/DestinationCell/utils.js +0 -12
  943. package/build/components/TableCells/CustomCells/DestinationStatusCell/DestinationStatusCell.js +0 -25
  944. package/build/components/TableCells/CustomCells/DestinationStatusCell/constant.js +0 -7
  945. package/build/components/TableCells/CustomCells/DestinationStatusCell/index.js +0 -1
  946. package/build/components/TableCells/CustomCells/DestinationStatusCell/style.js +0 -57
  947. package/build/components/TableCells/CustomCells/DestinationStatusCell/type.js +0 -1
  948. package/build/components/TableCells/CustomCells/DeviceCell/DeviceCell.js +0 -21
  949. package/build/components/TableCells/CustomCells/DeviceCell/index.js +0 -1
  950. package/build/components/TableCells/CustomCells/DeviceCell/style.js +0 -7
  951. package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.js +0 -29
  952. package/build/components/TableCells/CustomCells/DueDateCell/index.js +0 -1
  953. package/build/components/TableCells/CustomCells/DueDateCell/style.js +0 -43
  954. package/build/components/TableCells/CustomCells/DueDateCell/type.js +0 -1
  955. package/build/components/TableCells/CustomCells/DueDateCell/utils.js +0 -53
  956. package/build/components/TableCells/CustomCells/EntityCell/EntityCell.js +0 -23
  957. package/build/components/TableCells/CustomCells/EntityCell/constants.js +0 -7
  958. package/build/components/TableCells/CustomCells/EntityCell/index.js +0 -1
  959. package/build/components/TableCells/CustomCells/EntityCell/style.js +0 -28
  960. package/build/components/TableCells/CustomCells/EntityCell/type.js +0 -1
  961. package/build/components/TableCells/CustomCells/IDButton/IDButton.js +0 -44
  962. package/build/components/TableCells/CustomCells/IDButton/index.js +0 -1
  963. package/build/components/TableCells/CustomCells/IDButton/style.js +0 -15
  964. package/build/components/TableCells/CustomCells/IndividualsCell/IndividualsCell.js +0 -21
  965. package/build/components/TableCells/CustomCells/IndividualsCell/constants.js +0 -7
  966. package/build/components/TableCells/CustomCells/IndividualsCell/index.js +0 -2
  967. package/build/components/TableCells/CustomCells/IndividualsCell/style.js +0 -51
  968. package/build/components/TableCells/CustomCells/IndividualsCell/type.js +0 -1
  969. package/build/components/TableCells/CustomCells/IntentsStatusCell/IntentsStatusCell.js +0 -33
  970. package/build/components/TableCells/CustomCells/IntentsStatusCell/constant.js +0 -7
  971. package/build/components/TableCells/CustomCells/IntentsStatusCell/index.js +0 -1
  972. package/build/components/TableCells/CustomCells/IntentsStatusCell/style.js +0 -20
  973. package/build/components/TableCells/CustomCells/IntentsStatusCell/type.js +0 -1
  974. package/build/components/TableCells/CustomCells/InvoiceStatusCell/ChargeStatusIcon.js +0 -18
  975. package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.js +0 -69
  976. package/build/components/TableCells/CustomCells/InvoiceStatusCell/constant.js +0 -17
  977. package/build/components/TableCells/CustomCells/InvoiceStatusCell/index.js +0 -2
  978. package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.js +0 -50
  979. package/build/components/TableCells/CustomCells/InvoiceStatusCell/type.js +0 -1
  980. package/build/components/TableCells/CustomCells/InvoiceStatusCell/utils.js +0 -40
  981. package/build/components/TableCells/CustomCells/LeadStatusCell/LeadStatusCell.js +0 -25
  982. package/build/components/TableCells/CustomCells/LeadStatusCell/constant.js +0 -9
  983. package/build/components/TableCells/CustomCells/LeadStatusCell/index.js +0 -1
  984. package/build/components/TableCells/CustomCells/LeadStatusCell/style.js +0 -12
  985. package/build/components/TableCells/CustomCells/LeadStatusCell/type.js +0 -1
  986. package/build/components/TableCells/CustomCells/LinkCell/LinkCell.js +0 -23
  987. package/build/components/TableCells/CustomCells/LinkCell/index.js +0 -1
  988. package/build/components/TableCells/CustomCells/LinkCell/style.js +0 -12
  989. package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.js +0 -28
  990. package/build/components/TableCells/CustomCells/MarketPlaceCell/index.js +0 -2
  991. package/build/components/TableCells/CustomCells/MarketPlaceCell/type.js +0 -1
  992. package/build/components/TableCells/CustomCells/MetadataCell/MetadataCell.js +0 -18
  993. package/build/components/TableCells/CustomCells/MetadataCell/index.js +0 -1
  994. package/build/components/TableCells/CustomCells/OrderCell/OrderCell.js +0 -27
  995. package/build/components/TableCells/CustomCells/OrderCell/OrderCellSheet.js +0 -20
  996. package/build/components/TableCells/CustomCells/OrderCell/constant.js +0 -1
  997. package/build/components/TableCells/CustomCells/OrderCell/index.js +0 -2
  998. package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.js +0 -32
  999. package/build/components/TableCells/CustomCells/OrdersCell/index.js +0 -1
  1000. package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.js +0 -21
  1001. package/build/components/TableCells/CustomCells/PaymentAgreementCell/constant.js +0 -6
  1002. package/build/components/TableCells/CustomCells/PaymentAgreementCell/index.js +0 -1
  1003. package/build/components/TableCells/CustomCells/PaymentAgreementCell/type.js +0 -1
  1004. package/build/components/TableCells/CustomCells/PayoutDateCell/PayoutDateCell.js +0 -35
  1005. package/build/components/TableCells/CustomCells/PayoutDateCell/index.js +0 -1
  1006. package/build/components/TableCells/CustomCells/PayoutReportCell/PayoutReportCell.js +0 -20
  1007. package/build/components/TableCells/CustomCells/PayoutReportCell/index.js +0 -1
  1008. package/build/components/TableCells/CustomCells/PayoutReportCell/style.js +0 -18
  1009. package/build/components/TableCells/CustomCells/PayoutStatusCell/PayoutStatusCell.js +0 -32
  1010. package/build/components/TableCells/CustomCells/PayoutStatusCell/constant.js +0 -12
  1011. package/build/components/TableCells/CustomCells/PayoutStatusCell/index.js +0 -2
  1012. package/build/components/TableCells/CustomCells/PayoutStatusCell/style.js +0 -57
  1013. package/build/components/TableCells/CustomCells/PayoutStatusCell/type.js +0 -1
  1014. package/build/components/TableCells/CustomCells/ProductsCell/ProductsCell.js +0 -63
  1015. package/build/components/TableCells/CustomCells/ProductsCell/index.js +0 -2
  1016. package/build/components/TableCells/CustomCells/ProductsCell/style.js +0 -58
  1017. package/build/components/TableCells/CustomCells/ProductsCell/type.js +0 -1
  1018. package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.js +0 -23
  1019. package/build/components/TableCells/CustomCells/ProviderCell/constants.js +0 -7
  1020. package/build/components/TableCells/CustomCells/ProviderCell/index.js +0 -2
  1021. package/build/components/TableCells/CustomCells/ProviderCell/style.js +0 -19
  1022. package/build/components/TableCells/CustomCells/ProviderCell/type.js +0 -1
  1023. package/build/components/TableCells/CustomCells/PurposeCell/PurposeCell.js +0 -20
  1024. package/build/components/TableCells/CustomCells/PurposeCell/constants.js +0 -21
  1025. package/build/components/TableCells/CustomCells/PurposeCell/index.js +0 -2
  1026. package/build/components/TableCells/CustomCells/PurposeCell/style.js +0 -35
  1027. package/build/components/TableCells/CustomCells/PurposeCell/type.js +0 -1
  1028. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.js +0 -11
  1029. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellSheet.js +0 -5
  1030. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellText.js +0 -5
  1031. package/build/components/TableCells/CustomCells/ReceiptCell/index.js +0 -3
  1032. package/build/components/TableCells/CustomCells/ReceiptCell/type.js +0 -1
  1033. package/build/components/TableCells/CustomCells/ReferenceCell/ReferenceCell.js +0 -43
  1034. package/build/components/TableCells/CustomCells/ReferenceCell/constant.js +0 -7
  1035. package/build/components/TableCells/CustomCells/ReferenceCell/index.js +0 -2
  1036. package/build/components/TableCells/CustomCells/ReferenceCell/style.js +0 -60
  1037. package/build/components/TableCells/CustomCells/ReferenceCell/type.js +0 -1
  1038. package/build/components/TableCells/CustomCells/RefundChargeCell/RefundChargeCell.js +0 -96
  1039. package/build/components/TableCells/CustomCells/RefundChargeCell/constant.js +0 -14
  1040. package/build/components/TableCells/CustomCells/RefundChargeCell/index.js +0 -1
  1041. package/build/components/TableCells/CustomCells/RefundChargeCell/style.js +0 -39
  1042. package/build/components/TableCells/CustomCells/RefundChargeCell/type.js +0 -1
  1043. package/build/components/TableCells/CustomCells/RefundChargeCell/utils.js +0 -9
  1044. package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.js +0 -36
  1045. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStateIcon.js +0 -15
  1046. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.js +0 -60
  1047. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatusIcon.js +0 -10
  1048. package/build/components/TableCells/CustomCells/RefundStatusCell/components/index.js +0 -3
  1049. package/build/components/TableCells/CustomCells/RefundStatusCell/constant.js +0 -20
  1050. package/build/components/TableCells/CustomCells/RefundStatusCell/hooks/useRefundStyles.js +0 -54
  1051. package/build/components/TableCells/CustomCells/RefundStatusCell/index.js +0 -2
  1052. package/build/components/TableCells/CustomCells/RefundStatusCell/style.js +0 -71
  1053. package/build/components/TableCells/CustomCells/RefundStatusCell/type.js +0 -1
  1054. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +0 -40
  1055. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.js +0 -54
  1056. package/build/components/TableCells/CustomCells/SalesChannelCell/index.js +0 -3
  1057. package/build/components/TableCells/CustomCells/SalesChannelCell/style.js +0 -60
  1058. package/build/components/TableCells/CustomCells/SalesChannelCell/type.js +0 -1
  1059. package/build/components/TableCells/CustomCells/SalesChannelCell/utils.js +0 -69
  1060. package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +0 -53
  1061. package/build/components/TableCells/CustomCells/SegmentsCell/constant.js +0 -8
  1062. package/build/components/TableCells/CustomCells/SegmentsCell/index.js +0 -2
  1063. package/build/components/TableCells/CustomCells/SegmentsCell/style.js +0 -51
  1064. package/build/components/TableCells/CustomCells/SegmentsCell/type.js +0 -1
  1065. package/build/components/TableCells/CustomCells/SegmentsCell/utils.js +0 -14
  1066. package/build/components/TableCells/CustomCells/SourceCell/SourceCell.js +0 -26
  1067. package/build/components/TableCells/CustomCells/SourceCell/components/AuthenticationMode/AuthenticationMode.js +0 -9
  1068. package/build/components/TableCells/CustomCells/SourceCell/components/AuthenticationMode/index.js +0 -1
  1069. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/PaymentCardNumberSource.js +0 -13
  1070. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/index.js +0 -1
  1071. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/style.js +0 -6
  1072. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/PaymentMethodSource.js +0 -11
  1073. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/index.js +0 -1
  1074. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/PaymentSchemeSource.js +0 -11
  1075. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/index.js +0 -1
  1076. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/PaymentTypeSource.js +0 -11
  1077. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/index.js +0 -1
  1078. package/build/components/TableCells/CustomCells/SourceCell/components/index.js +0 -5
  1079. package/build/components/TableCells/CustomCells/SourceCell/constant.js +0 -11
  1080. package/build/components/TableCells/CustomCells/SourceCell/index.js +0 -2
  1081. package/build/components/TableCells/CustomCells/SourceCell/style.js +0 -12
  1082. package/build/components/TableCells/CustomCells/SourceCell/type.js +0 -13
  1083. package/build/components/TableCells/CustomCells/StatusCell/StatusCell.js +0 -42
  1084. package/build/components/TableCells/CustomCells/StatusCell/StatusCellSheet.js +0 -21
  1085. package/build/components/TableCells/CustomCells/StatusCell/StatusCellText.js +0 -42
  1086. package/build/components/TableCells/CustomCells/StatusCell/constant.js +0 -93
  1087. package/build/components/TableCells/CustomCells/StatusCell/index.js +0 -4
  1088. package/build/components/TableCells/CustomCells/StatusCell/style.js +0 -69
  1089. package/build/components/TableCells/CustomCells/StatusCell/type.js +0 -1
  1090. package/build/components/TableCells/CustomCells/StatusCell/useStatusCell.js +0 -8
  1091. package/build/components/TableCells/CustomCells/StatusCell/utils.js +0 -9
  1092. package/build/components/TableCells/CustomCells/TextTableCell/TextTableCell.js +0 -6
  1093. package/build/components/TableCells/CustomCells/TextTableCell/index.js +0 -2
  1094. package/build/components/TableCells/CustomCells/TextTableCell/type.js +0 -1
  1095. package/build/components/TableCells/CustomCells/TextWithBadgeCell/TextWithBadgeCell.js +0 -29
  1096. package/build/components/TableCells/CustomCells/TextWithBadgeCell/index.js +0 -2
  1097. package/build/components/TableCells/CustomCells/TextWithBadgeCell/type.js +0 -1
  1098. package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.js +0 -31
  1099. package/build/components/TableCells/CustomCells/TextWithChipCell/index.js +0 -2
  1100. package/build/components/TableCells/CustomCells/TokenStatusCell/TokenStatusCell.js +0 -33
  1101. package/build/components/TableCells/CustomCells/TokenStatusCell/constant.js +0 -9
  1102. package/build/components/TableCells/CustomCells/TokenStatusCell/index.js +0 -1
  1103. package/build/components/TableCells/CustomCells/TokenStatusCell/style.js +0 -57
  1104. package/build/components/TableCells/CustomCells/TokenStatusCell/type.js +0 -1
  1105. package/build/components/TableCells/CustomCells/WalletCell/WalletCell.js +0 -26
  1106. package/build/components/TableCells/CustomCells/WalletCell/index.js +0 -2
  1107. package/build/components/TableCells/CustomCells/WalletCell/style.js +0 -26
  1108. package/build/components/TableCells/CustomCells/WalletCell/type.js +0 -1
  1109. package/build/components/TableCells/CustomCells/index.js +0 -56
  1110. package/build/components/TableCells/CustomCells/style.js +0 -140
  1111. package/build/components/TableCells/CustomCells/type.js +0 -15
  1112. package/build/components/TableCells/TableCell.js +0 -19
  1113. package/build/components/TableCells/style.js +0 -18
  1114. package/build/components/TableCells/type.js +0 -1
  1115. package/build/components/TableHeader/FiltersRow.js +0 -24
  1116. package/build/components/TableHeader/FiltersRowWrapper.js +0 -18
  1117. package/build/components/TableHeader/TableHeader.js +0 -22
  1118. package/build/components/TableHeader/TableHeaderWrapper.js +0 -18
  1119. package/build/components/TableHeader/TableModeButton.js +0 -11
  1120. package/build/components/TableHeader/TableView/ColumnItem.js +0 -29
  1121. package/build/components/TableHeader/TableView/CreateViewDialog.js +0 -91
  1122. package/build/components/TableHeader/TableView/CustomViews.js +0 -21
  1123. package/build/components/TableHeader/TableView/DefaultViews.js +0 -22
  1124. package/build/components/TableHeader/TableView/TableView.js +0 -54
  1125. package/build/components/TableHeader/TableView/ViewsDropdown.js +0 -153
  1126. package/build/components/TableHeader/TableView/ViewsMenu.js +0 -36
  1127. package/build/components/TableHeader/TableView/components/ColumnList.js +0 -73
  1128. package/build/components/TableHeader/TableView/components/ViewsSubmenu.js +0 -71
  1129. package/build/components/TableHeader/TableView/components/index.js +0 -2
  1130. package/build/components/TableHeader/TableView/constants.js +0 -39
  1131. package/build/components/TableHeader/TableView/hooks/index.js +0 -10
  1132. package/build/components/TableHeader/TableView/hooks/useColumnItem.js +0 -29
  1133. package/build/components/TableHeader/TableView/hooks/useCreateViewDialog.js +0 -92
  1134. package/build/components/TableHeader/TableView/hooks/useCustomTableViews.js +0 -105
  1135. package/build/components/TableHeader/TableView/hooks/useDialogPosition.js +0 -16
  1136. package/build/components/TableHeader/TableView/hooks/useNestedSubmenu.js +0 -27
  1137. package/build/components/TableHeader/TableView/hooks/useOriginalColumns.js +0 -18
  1138. package/build/components/TableHeader/TableView/hooks/useSubMenu.js +0 -31
  1139. package/build/components/TableHeader/TableView/hooks/useSubmenuHover.js +0 -42
  1140. package/build/components/TableHeader/TableView/hooks/useViewColumns.js +0 -45
  1141. package/build/components/TableHeader/TableView/hooks/useViewsManager.js +0 -37
  1142. package/build/components/TableHeader/TableView/hooks/useViewsMenu.js +0 -162
  1143. package/build/components/TableHeader/TableView/index.js +0 -10
  1144. package/build/components/TableHeader/TableView/styles.js +0 -427
  1145. package/build/components/TableHeader/TableView/types.js +0 -1
  1146. package/build/components/TableHeader/TableView/utils/columnState.js +0 -187
  1147. package/build/components/TableHeader/TableView/utils/customTableViews.js +0 -30
  1148. package/build/components/TableHeader/TableView/utils/index.js +0 -6
  1149. package/build/components/TableHeader/TableView/utils/layoutTransform.js +0 -71
  1150. package/build/components/TableHeader/TableView/utils/templateState.js +0 -27
  1151. package/build/components/TableHeader/TableView/utils/templateToColumnsView.js +0 -153
  1152. package/build/components/TableHeader/TableView/utils/viewMenu.js +0 -90
  1153. package/build/components/TableHeader/data.js +0 -7
  1154. package/build/components/TableHeader/style.js +0 -43
  1155. package/build/components/TableHeader/type.js +0 -1
  1156. package/build/components/TableReports/DownloadIconButton.js +0 -20
  1157. package/build/components/TableReports/Downloads.js +0 -24
  1158. package/build/components/TableReports/RecordLoading.js +0 -6
  1159. package/build/components/TableReports/TableReports.js +0 -53
  1160. package/build/components/TableReports/components/DownloadButton/DownloadButton.js +0 -16
  1161. package/build/components/TableReports/components/DownloadButton/index.js +0 -2
  1162. package/build/components/TableReports/components/DownloadButton/style.js +0 -15
  1163. package/build/components/TableReports/hooks/index.js +0 -1
  1164. package/build/components/TableReports/hooks/useDownloadReport.js +0 -59
  1165. package/build/components/TableReports/style.js +0 -163
  1166. package/build/components/TableReports/type.js +0 -1
  1167. package/build/components/TableReports/utils.js +0 -32
  1168. package/build/components/TableView/CustomViews.js +0 -80
  1169. package/build/components/TableView/DefaultViews.js +0 -22
  1170. package/build/components/TableView/TableView.js +0 -56
  1171. package/build/components/TableView/data.js +0 -7
  1172. package/build/components/TableView/style.js +0 -102
  1173. package/build/components/TapLogo/TapLogo.js +0 -6
  1174. package/build/components/Text/Text.js +0 -9
  1175. package/build/components/Timepicker/Timepicker.js +0 -87
  1176. package/build/components/Timepicker/constant.js +0 -3
  1177. package/build/components/Timepicker/style.js +0 -45
  1178. package/build/components/Timepicker/utils.js +0 -28
  1179. package/build/components/Toaster/Toaster.js +0 -12
  1180. package/build/components/Toaster/style.js +0 -15
  1181. package/build/components/ToggleButtons/ToggleButtons.js +0 -6
  1182. package/build/components/ToggleButtons/style.js +0 -25
  1183. package/build/components/ToggleButtons/type.js +0 -1
  1184. package/build/components/ToggleView/ToggleView.js +0 -32
  1185. package/build/components/ToggleView/ToggleWrapper.js +0 -8
  1186. package/build/components/ToggleView/style.js +0 -31
  1187. package/build/components/ToggleView/types.js +0 -6
  1188. package/build/components/Toolbar/Toolbar.js +0 -20
  1189. package/build/components/Toolbar/style.js +0 -98
  1190. package/build/components/Toolbar/type.js +0 -1
  1191. package/build/components/ToolbarIcon/CloseIcon/CloseIcon.js +0 -6
  1192. package/build/components/ToolbarIcon/CloseIcon/index.js +0 -1
  1193. package/build/components/ToolbarIcon/CloseIcon/style.js +0 -7
  1194. package/build/components/ToolbarIcon/ExpandButton/ExpandButton.js +0 -21
  1195. package/build/components/ToolbarIcon/ExpandButton/index.js +0 -1
  1196. package/build/components/ToolbarIcon/ExpandButton/style.js +0 -31
  1197. package/build/components/ToolbarIcon/MaximizeIcon/MaximizeIcon.js +0 -18
  1198. package/build/components/ToolbarIcon/MaximizeIcon/index.js +0 -1
  1199. package/build/components/ToolbarIcon/MaximizeIcon/style.js +0 -7
  1200. package/build/components/ToolbarIcon/MinimizeIcon/MinimizeIcon.js +0 -6
  1201. package/build/components/ToolbarIcon/MinimizeIcon/index.js +0 -1
  1202. package/build/components/ToolbarIcon/MinimizeIcon/style.js +0 -7
  1203. package/build/components/ToolbarIcon/style.js +0 -20
  1204. package/build/components/Tooltip/Tooltip.js +0 -21
  1205. package/build/components/Tooltip/index.js +0 -2
  1206. package/build/components/Tooltip/styles.js +0 -34
  1207. package/build/components/TooltipChip/TooltipChip.js +0 -20
  1208. package/build/components/TooltipChip/style.js +0 -7
  1209. package/build/components/TreeDropdown/TreeDropdown.js +0 -67
  1210. package/build/components/TreeDropdown/TreeNodeItem/SelectionControl.js +0 -17
  1211. package/build/components/TreeDropdown/TreeNodeItem/TreeNodeItem.js +0 -64
  1212. package/build/components/TreeDropdown/TreeNodeItem/index.js +0 -2
  1213. package/build/components/TreeDropdown/TreeNodeItem/style.js +0 -46
  1214. package/build/components/TreeDropdown/TreeNodeList/List.js +0 -17
  1215. package/build/components/TreeDropdown/TreeNodeList/TreeNodeList.js +0 -36
  1216. package/build/components/TreeDropdown/TreeNodeList/index.js +0 -2
  1217. package/build/components/TreeDropdown/TreeNodeList/style.js +0 -60
  1218. package/build/components/TreeDropdown/context/TreeDropdownProvider.js +0 -13
  1219. package/build/components/TreeDropdown/hooks/useSearch.js +0 -38
  1220. package/build/components/TreeDropdown/hooks/useTreeDropdown.js +0 -10
  1221. package/build/components/TreeDropdown/style.js +0 -43
  1222. package/build/components/TreeDropdown/type.js +0 -6
  1223. package/build/components/TreeDropdown/utils.js +0 -161
  1224. package/build/components/VAT/TotalVAT/TotalVAT.js +0 -33
  1225. package/build/components/VAT/TotalVAT/index.js +0 -1
  1226. package/build/components/VAT/TotalVAT/style.js +0 -5
  1227. package/build/components/VAT/VATDropdown/VATDropdown.js +0 -34
  1228. package/build/components/VAT/VATDropdown/index.js +0 -1
  1229. package/build/components/VAT/VATDropdown/style.js +0 -32
  1230. package/build/components/VAT/VATRateDropdown/VATRateDropdown.js +0 -38
  1231. package/build/components/VAT/VATRateDropdown/index.js +0 -1
  1232. package/build/components/VAT/VATRateDropdown/style.js +0 -30
  1233. package/build/components/VAT/utils.js +0 -8
  1234. package/build/components/VerificationIcon/VerificationIcon.js +0 -7
  1235. package/build/components/VerificationIcon/VerificationIconWithBg.js +0 -15
  1236. package/build/components/VerificationIcon/constant.js +0 -18
  1237. package/build/components/VerificationIcon/type.js +0 -1
  1238. package/build/components/ViewColumnRadioFilter/ViewColumnRadioFilter.js +0 -28
  1239. package/build/components/ViewColumnRadioFilter/style.js +0 -20
  1240. package/build/components/ViewColumnRadioFilter/type.js +0 -1
  1241. package/build/components/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.js +0 -141
  1242. package/build/components/VirtualTables/SheetViewVirtualTable/components/LoadingMainTable.js +0 -21
  1243. package/build/components/VirtualTables/SheetViewVirtualTable/components/MainTable.js +0 -19
  1244. package/build/components/VirtualTables/SheetViewVirtualTable/components/NoDataView.js +0 -13
  1245. package/build/components/VirtualTables/SheetViewVirtualTable/components/PinnedColumn.js +0 -24
  1246. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.js +0 -12
  1247. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.js +0 -62
  1248. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableLoading.js +0 -56
  1249. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableNoData.js +0 -32
  1250. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableRowLoading.js +0 -45
  1251. package/build/components/VirtualTables/SheetViewVirtualTable/components/VirtualTable.js +0 -37
  1252. package/build/components/VirtualTables/SheetViewVirtualTable/components/index.js +0 -9
  1253. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ColumnResize.js +0 -41
  1254. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ResizeOverlay.js +0 -10
  1255. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/index.js +0 -2
  1256. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/constants.js +0 -5
  1257. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/index.js +0 -2
  1258. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResize.js +0 -152
  1259. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResizeWithPinned.js +0 -29
  1260. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/index.js +0 -4
  1261. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/styles.js +0 -55
  1262. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/types/index.js +0 -1
  1263. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/index.js +0 -1
  1264. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.js +0 -127
  1265. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/index.js +0 -7
  1266. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/usePinnedColumns.js +0 -73
  1267. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/usePinnedColumnsWidths.js +0 -15
  1268. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useSynchronizedScroll.js +0 -30
  1269. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableData.js +0 -41
  1270. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableDimensions.js +0 -26
  1271. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableState.js +0 -65
  1272. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useVirtualTableContainer.js +0 -57
  1273. package/build/components/VirtualTables/SheetViewVirtualTable/index.js +0 -5
  1274. package/build/components/VirtualTables/SheetViewVirtualTable/style.js +0 -110
  1275. package/build/components/VirtualTables/SheetViewVirtualTable/types.js +0 -1
  1276. package/build/components/VirtualTables/VirtualTable/VirtualTable.js +0 -113
  1277. package/build/components/VirtualTables/VirtualTableWithCard/VirtualTableWithCard.js +0 -89
  1278. package/build/components/VirtualTables/components/ColumnFilter/ColumnFilter.js +0 -46
  1279. package/build/components/VirtualTables/components/ColumnFilter/Inputs/Inputs.js +0 -51
  1280. package/build/components/VirtualTables/components/ColumnFilter/Inputs/index.js +0 -2
  1281. package/build/components/VirtualTables/components/ColumnFilter/Inputs/style.js +0 -47
  1282. package/build/components/VirtualTables/components/ColumnFilter/List/List.js +0 -61
  1283. package/build/components/VirtualTables/components/ColumnFilter/List/index.js +0 -2
  1284. package/build/components/VirtualTables/components/ColumnFilter/index.js +0 -5
  1285. package/build/components/VirtualTables/components/ColumnFilter/style.js +0 -50
  1286. package/build/components/VirtualTables/components/ColumnFilter/type.js +0 -1
  1287. package/build/components/VirtualTables/components/ColumnSort/ColumnSort.js +0 -41
  1288. package/build/components/VirtualTables/components/ColumnSort/index.js +0 -2
  1289. package/build/components/VirtualTables/components/ColumnSort/style.js +0 -10
  1290. package/build/components/VirtualTables/components/EmptyList/EmptyList.js +0 -23
  1291. package/build/components/VirtualTables/components/EmptyList/index.js +0 -3
  1292. package/build/components/VirtualTables/components/EmptyList/styles.js +0 -39
  1293. package/build/components/VirtualTables/components/ErrorList/ErrorList.js +0 -23
  1294. package/build/components/VirtualTables/components/ErrorList/index.js +0 -2
  1295. package/build/components/VirtualTables/components/ErrorList/styles.js +0 -72
  1296. package/build/components/VirtualTables/components/RowErrorState.js +0 -21
  1297. package/build/components/VirtualTables/components/TableError.js +0 -22
  1298. package/build/components/VirtualTables/components/TableFooter/TableFooter.js +0 -22
  1299. package/build/components/VirtualTables/components/TableFooter/index.js +0 -2
  1300. package/build/components/VirtualTables/components/TableFooter/style.js +0 -53
  1301. package/build/components/VirtualTables/components/TableHeader/TableHeader.js +0 -10
  1302. package/build/components/VirtualTables/components/TableHeader/components/TableCell/TableCell.js +0 -16
  1303. package/build/components/VirtualTables/components/TableHeader/components/TableCell/index.js +0 -2
  1304. package/build/components/VirtualTables/components/TableHeader/components/index.js +0 -1
  1305. package/build/components/VirtualTables/components/TableHeader/constant.js +0 -6
  1306. package/build/components/VirtualTables/components/TableHeader/index.js +0 -3
  1307. package/build/components/VirtualTables/components/TableHeader/style.js +0 -23
  1308. package/build/components/VirtualTables/components/TableHeader/type.js +0 -1
  1309. package/build/components/VirtualTables/components/TableLastItem.js +0 -39
  1310. package/build/components/VirtualTables/components/TableLoading.js +0 -19
  1311. package/build/components/VirtualTables/components/TableLoadingWithCard.js +0 -19
  1312. package/build/components/VirtualTables/components/TableNoData.js +0 -13
  1313. package/build/components/VirtualTables/components/TableNoDataWithCard.js +0 -29
  1314. package/build/components/VirtualTables/components/TableRow.js +0 -93
  1315. package/build/components/VirtualTables/components/TableRowLoading.js +0 -21
  1316. package/build/components/VirtualTables/components/TableRowLoadingWithCard.js +0 -14
  1317. package/build/components/VirtualTables/components/TableRowWithCard.js +0 -9
  1318. package/build/components/VirtualTables/components/index.js +0 -18
  1319. package/build/components/VirtualTables/components/style.js +0 -180
  1320. package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.js +0 -112
  1321. package/build/components/VirtualTables/components/virtualScroll/ListItemWrapperWithCard.js +0 -28
  1322. package/build/components/VirtualTables/components/virtualScroll/VirtualScrollInner.js +0 -20
  1323. package/build/components/VirtualTables/components/virtualScroll/VirtualScrollList.js +0 -79
  1324. package/build/components/VirtualTables/components/virtualScroll/VirtualScrollOuter.js +0 -21
  1325. package/build/components/VirtualTables/components/virtualScroll/index.js +0 -5
  1326. package/build/components/VirtualTables/context/Provider.js +0 -3
  1327. package/build/components/VirtualTables/context/context.js +0 -2
  1328. package/build/components/VirtualTables/context/index.js +0 -2
  1329. package/build/components/VirtualTables/hooks/index.js +0 -1
  1330. package/build/components/VirtualTables/hooks/useColumnFilter.js +0 -22
  1331. package/build/components/VirtualTables/hooks/useScrollBackShadow.js +0 -26
  1332. package/build/components/Widget/List.js +0 -23
  1333. package/build/components/Widget/ListItem.js +0 -19
  1334. package/build/components/Widget/Widget.js +0 -19
  1335. package/build/components/Widget/WidgetHeader.js +0 -19
  1336. package/build/components/Widget/style.js +0 -71
  1337. package/build/components/Widget/useScrollWithShadow.js +0 -14
  1338. package/build/components/Window/Window.js +0 -43
  1339. package/build/components/Window/style.js +0 -47
  1340. package/build/components/WindowAppIcon/WindowAppIcon.js +0 -17
  1341. package/build/components/WindowAppIcon/index.js +0 -2
  1342. package/build/components/WindowAppIcon/style.js +0 -25
  1343. package/build/components/WindowBackdrop/WindowBackdrop.js +0 -9
  1344. package/build/components/WindowSideBar/WindowSideBar.js +0 -11
  1345. package/build/components/WindowSideBar/constant.js +0 -1
  1346. package/build/components/WindowSideBar/style.js +0 -33
  1347. package/build/components/WindowSideBar/type.js +0 -1
  1348. package/build/constants/api.js +0 -57
  1349. package/build/constants/apps.js +0 -495
  1350. package/build/constants/assets.js +0 -621
  1351. package/build/constants/authentication.js +0 -23
  1352. package/build/constants/charge.js +0 -1
  1353. package/build/constants/chips/index.js +0 -1
  1354. package/build/constants/chips/statusChips.js +0 -5
  1355. package/build/constants/country.js +0 -1
  1356. package/build/constants/currency.js +0 -22
  1357. package/build/constants/document.js +0 -5
  1358. package/build/constants/payment.js +0 -53
  1359. package/build/constants/rate.js +0 -6
  1360. package/build/constants/reports.js +0 -119
  1361. package/build/constants/segment.js +0 -12
  1362. package/build/constants/server.js +0 -6
  1363. package/build/constants/servicesTags.js +0 -53
  1364. package/build/constants/style.js +0 -3
  1365. package/build/constants/svgIcons.js +0 -3
  1366. package/build/constants/table/cell/authenticationsTableCellWidth.js +0 -132
  1367. package/build/constants/table/cell/authorizationTableCellWidth.js +0 -247
  1368. package/build/constants/table/cell/chargeTableCellWidth.js +0 -297
  1369. package/build/constants/table/cell/destinationsTableCellWidth.js +0 -197
  1370. package/build/constants/table/cell/index.js +0 -20
  1371. package/build/constants/table/cell/intentsTableCellWidth.js +0 -32
  1372. package/build/constants/table/cell/invoicesTableCellWidth.js +0 -107
  1373. package/build/constants/table/cell/leadsTableCellWidth.js +0 -37
  1374. package/build/constants/table/cell/merchantsTableCellWidth.js +0 -152
  1375. package/build/constants/table/cell/ordersTableCellWidth.js +0 -57
  1376. package/build/constants/table/cell/payoutsTableCellWidth.js +0 -57
  1377. package/build/constants/table/cell/protectAuthorizationsTableCellWidth.js +0 -72
  1378. package/build/constants/table/cell/protectChargesTableCellWidth.js +0 -67
  1379. package/build/constants/table/cell/refundTableCellWidth.js +0 -237
  1380. package/build/constants/table/cell/terminalsTableCellWidth.js +0 -72
  1381. package/build/constants/table/cell/tokensTableCellWidth.js +0 -47
  1382. package/build/constants/table/cell/topupsTableCellWidth.js +0 -57
  1383. package/build/constants/table/cell/walletDetailsTableCellWidth.js +0 -32
  1384. package/build/constants/table/cell/walletStatementTableCellWidth.js +0 -62
  1385. package/build/constants/table/cell/walletTableCellWidth.js +0 -32
  1386. package/build/constants/table.js +0 -8
  1387. package/build/constants/timezones.js +0 -47
  1388. package/build/constants/toggleOptions.js +0 -8
  1389. package/build/hooks/useActionMenu.js +0 -45
  1390. package/build/hooks/useAppEventListener.js +0 -13
  1391. package/build/hooks/useAppEventPublisher.js +0 -7
  1392. package/build/hooks/useAppsInfo.js +0 -21
  1393. package/build/hooks/useBadgesCount.js +0 -15
  1394. package/build/hooks/useCheckUserLoggedIn.js +0 -11
  1395. package/build/hooks/useCountdown.js +0 -50
  1396. package/build/hooks/useDelayToSetValue.js +0 -19
  1397. package/build/hooks/useIsParameterSelected.js +0 -13
  1398. package/build/hooks/useMouseState.js +0 -25
  1399. package/build/hooks/useNetworkState.js +0 -112
  1400. package/build/hooks/useScrolledTo.js +0 -45
  1401. package/build/hooks/useSelectedMerchantDetails.js +0 -15
  1402. package/build/hooks/useStickyHeaderShadow.js +0 -20
  1403. package/build/hooks/useThemeMode.js +0 -8
  1404. package/build/hooks/useToast.js +0 -29
  1405. package/build/hooks/useWindowDimensions.js +0 -21
  1406. package/build/theme/components.js +0 -22
  1407. package/build/theme/palette.js +0 -106
  1408. package/build/theme/shadows.js +0 -27
  1409. package/build/theme/theme.js +0 -15
  1410. package/build/theme/typography.js +0 -33
  1411. package/build/types/account.js +0 -8
  1412. package/build/types/analytics.js +0 -11
  1413. package/build/types/api.js +0 -1
  1414. package/build/types/appConfig.js +0 -1
  1415. package/build/types/appEvents.js +0 -16
  1416. package/build/types/apps.js +0 -1
  1417. package/build/types/authentication.js +0 -1
  1418. package/build/types/brand.js +0 -13
  1419. package/build/types/cell.js +0 -1
  1420. package/build/types/charge.js +0 -1
  1421. package/build/types/column.js +0 -1
  1422. package/build/types/common.js +0 -1
  1423. package/build/types/currency.js +0 -13
  1424. package/build/types/day.js +0 -1
  1425. package/build/types/destination.js +0 -1
  1426. package/build/types/discount.js +0 -6
  1427. package/build/types/document.js +0 -1
  1428. package/build/types/entity.js +0 -1
  1429. package/build/types/error.js +0 -1
  1430. package/build/types/file.js +0 -1
  1431. package/build/types/filter.js +0 -6
  1432. package/build/types/flag.js +0 -1
  1433. package/build/types/invoice.js +0 -13
  1434. package/build/types/merchant.js +0 -1
  1435. package/build/types/receipt.js +0 -1
  1436. package/build/types/redux.js +0 -1
  1437. package/build/types/refund.js +0 -1
  1438. package/build/types/reports.js +0 -7
  1439. package/build/types/segment.js +0 -16
  1440. package/build/types/sort.js +0 -1
  1441. package/build/types/table.js +0 -1
  1442. package/build/types/theme.js +0 -10
  1443. package/build/types/toast.js +0 -1
  1444. package/build/types/toggleOptions.js +0 -1
  1445. package/build/types/tsUtils.js +0 -1
  1446. package/build/types/user.js +0 -1
  1447. package/build/types/utilities.js +0 -1
  1448. package/build/types/window.js +0 -1
  1449. package/build/utils/api.js +0 -96
  1450. package/build/utils/app.js +0 -7
  1451. package/build/utils/array.js +0 -20
  1452. package/build/utils/billing.js +0 -33
  1453. package/build/utils/boolean.js +0 -7
  1454. package/build/utils/browser.js +0 -25
  1455. package/build/utils/card.js +0 -15
  1456. package/build/utils/chargeError.js +0 -10
  1457. package/build/utils/color.js +0 -65
  1458. package/build/utils/columnResizeStorage.js +0 -96
  1459. package/build/utils/columns.js +0 -81
  1460. package/build/utils/conversion.js +0 -27
  1461. package/build/utils/country.js +0 -14
  1462. package/build/utils/currency.js +0 -91
  1463. package/build/utils/date.js +0 -287
  1464. package/build/utils/day.js +0 -9
  1465. package/build/utils/download.js +0 -24
  1466. package/build/utils/encrypt.js +0 -46
  1467. package/build/utils/entity.js +0 -13
  1468. package/build/utils/error.js +0 -71
  1469. package/build/utils/extractIdsFromRowData.js +0 -22
  1470. package/build/utils/file.js +0 -16
  1471. package/build/utils/flag.js +0 -13
  1472. package/build/utils/freshdesk.js +0 -56
  1473. package/build/utils/geography.js +0 -10
  1474. package/build/utils/language.js +0 -14
  1475. package/build/utils/localStorage.js +0 -213
  1476. package/build/utils/merchant.js +0 -24
  1477. package/build/utils/merchantSource.js +0 -36
  1478. package/build/utils/navigation.js +0 -11
  1479. package/build/utils/number.js +0 -38
  1480. package/build/utils/object.js +0 -15
  1481. package/build/utils/payout.js +0 -172
  1482. package/build/utils/phone.js +0 -8
  1483. package/build/utils/reports.js +0 -3
  1484. package/build/utils/segment.js +0 -63
  1485. package/build/utils/skeletonColumns.js +0 -55
  1486. package/build/utils/source.js +0 -9
  1487. package/build/utils/string.js +0 -73
  1488. package/build/utils/style.js +0 -95
  1489. package/build/utils/table.js +0 -230
  1490. package/build/utils/timezone.js +0 -3
  1491. package/build/utils/toggleOptions.js +0 -10
  1492. package/build/utils/url.js +0 -20
  1493. package/build/utils/user.js +0 -7
  1494. package/build/utils/validation.js +0 -3
@@ -1,153 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import React, { useMemo } from 'react';
3
- import Popper from '@mui/material/Popper';
4
- import Box from '@mui/material/Box';
5
- import Typography from '@mui/material/Typography';
6
- import Divider from '@mui/material/Divider';
7
- import Button from '@mui/material/Button';
8
- import { useTranslation } from 'react-i18next';
9
- import { bluePlusIcon, editIcon, smallBlueCheckIcon, blackRightArrowIcon } from '../../../constants/index.js';
10
- import { Menu, Tooltip } from '../../index.js';
11
- import { useSubmenuHover, useOriginalColumns } from './hooks';
12
- import { MAX_CUSTOM_VIEWS, INDEX_COLUMN_CONFIG } from './constants';
13
- import { ViewsSubmenu } from './components/ViewsSubmenu';
14
- import { ListStyled, DropdownStyled, MenuItem as StyledMenuItem, Space, SpaceAfter, SubmenuContainer, SaveCustomViewBox, SaveCustomViewInnerBox, ButtonsContainer, CancelButtonSx, OkayButtonSx, ModifiedTextSx, } from './styles';
15
- import { deepCloneColumns, toggleSingleColumn, toggleSubItem, getSubmenuItems, hasSubmenu, areAllCurrentColumnsSelected, areSomeCurrentColumnsSelected, toggleAllCurrentColumns, areColumnsEqual, } from './utils';
16
- import { getSubmenuItemsForDisplay } from './utils/viewMenu';
17
- function ViewsDropdown({ open, selectedViewInfo, setSelectedViewInfo, anchorEl, onClose, onCreateCustomView, customViews = [], onEditCustomView, onSaveDefaultColumns, defaultColumns = [], updateSelectedView, baseDefaultColumns = [], defaultTemplate, }) {
18
- const { t } = useTranslation();
19
- const { hoveredColumn: hoveredViewId, anchorEl: submenuAnchorEl, openSubmenu, closeSubmenu, cancelClose, forceClose } = useSubmenuHover();
20
- const [hoveredCustomId, setHoveredCustomId] = React.useState(null);
21
- const [draftColumns, setDraftColumns] = React.useState(null);
22
- const { originalColumns, saveOriginalState, clearOriginalState } = useOriginalColumns(defaultColumns);
23
- const views = useMemo(() => {
24
- const list = [];
25
- if (defaultTemplate)
26
- list.push(defaultTemplate);
27
- return [...list, ...customViews];
28
- }, [defaultTemplate, customViews]);
29
- const submenuColumns = useMemo(() => {
30
- if (!hoveredViewId)
31
- return [];
32
- if (draftColumns === null || draftColumns === void 0 ? void 0 : draftColumns.length)
33
- return draftColumns;
34
- const view = views.find((v) => v.id === hoveredViewId);
35
- return view ? getSubmenuItems(view, defaultColumns) : [];
36
- }, [hoveredViewId, defaultColumns, views, draftColumns]);
37
- const allSelected = useMemo(() => areAllCurrentColumnsSelected(submenuColumns), [submenuColumns]);
38
- const someSelected = useMemo(() => areSomeCurrentColumnsSelected(submenuColumns, allSelected), [submenuColumns, allSelected]);
39
- const draftHasChanges = useMemo(() => {
40
- if (!originalColumns.length)
41
- return false;
42
- const current = (draftColumns === null || draftColumns === void 0 ? void 0 : draftColumns.length) ? draftColumns : defaultColumns;
43
- return !areColumnsEqual(current, originalColumns);
44
- }, [defaultColumns, originalColumns, draftColumns]);
45
- const modifiedFromBase = useMemo(() => {
46
- if (!baseDefaultColumns.length)
47
- return false;
48
- const current = (draftColumns === null || draftColumns === void 0 ? void 0 : draftColumns.length) ? draftColumns : defaultColumns;
49
- return !areColumnsEqual(current, baseDefaultColumns);
50
- }, [baseDefaultColumns, defaultColumns, draftColumns]);
51
- const atCustomViewLimit = customViews.length >= MAX_CUSTOM_VIEWS;
52
- function selectView(item) {
53
- var _a;
54
- forceClose();
55
- setDraftColumns(null);
56
- clearOriginalState();
57
- let payload;
58
- if (item.default) {
59
- const cols = defaultColumns.length ? defaultColumns : (_a = defaultTemplate === null || defaultTemplate === void 0 ? void 0 : defaultTemplate.submenu) !== null && _a !== void 0 ? _a : [];
60
- payload = Object.assign(Object.assign({}, item), { submenu: deepCloneColumns(cols), columns: cols.map((c) => c.name) });
61
- }
62
- else if (item.isCustom) {
63
- payload = item;
64
- }
65
- setSelectedViewInfo(item, payload);
66
- }
67
- function openTemplateSubmenu(viewId, el) {
68
- saveOriginalState();
69
- setDraftColumns(deepCloneColumns(defaultColumns));
70
- openSubmenu(viewId, el);
71
- }
72
- function discardAndClose() {
73
- setDraftColumns(null);
74
- clearOriginalState();
75
- forceClose();
76
- onClose === null || onClose === void 0 ? void 0 : onClose();
77
- }
78
- function applyAndClose() {
79
- const isDefaultView = selectedViewInfo.id === (defaultTemplate === null || defaultTemplate === void 0 ? void 0 : defaultTemplate.id) || selectedViewInfo.id === 'default' || (defaultTemplate === null || defaultTemplate === void 0 ? void 0 : defaultTemplate.default) === true;
80
- const colsToApply = (draftColumns === null || draftColumns === void 0 ? void 0 : draftColumns.length) ? draftColumns : defaultColumns;
81
- if (isDefaultView && defaultTemplate && colsToApply.length) {
82
- if (draftHasChanges) {
83
- onSaveDefaultColumns === null || onSaveDefaultColumns === void 0 ? void 0 : onSaveDefaultColumns(colsToApply);
84
- }
85
- updateSelectedView === null || updateSelectedView === void 0 ? void 0 : updateSelectedView(Object.assign(Object.assign({}, defaultTemplate), { id: String(defaultTemplate.id), submenu: deepCloneColumns(colsToApply), columns: colsToApply.map((c) => c.name) }));
86
- }
87
- setDraftColumns(null);
88
- clearOriginalState();
89
- forceClose();
90
- onClose === null || onClose === void 0 ? void 0 : onClose();
91
- }
92
- function toggleColumn(columnName) {
93
- if (!draftColumns)
94
- return;
95
- setDraftColumns(toggleSingleColumn(draftColumns, columnName));
96
- }
97
- function toggleNested(columnName, subItemName) {
98
- if (!draftColumns)
99
- return;
100
- setDraftColumns(toggleSubItem(draftColumns, columnName, subItemName));
101
- }
102
- function reorderColumns(names) {
103
- if (!draftColumns)
104
- return;
105
- const indexColumn = INDEX_COLUMN_CONFIG;
106
- const reordered = names.map((name) => draftColumns.find((c) => c.name === name)).filter((c) => Boolean(c));
107
- setDraftColumns([indexColumn, ...reordered]);
108
- }
109
- function selectAllColumns() {
110
- if (!draftColumns)
111
- return;
112
- setDraftColumns(toggleAllCurrentColumns(draftColumns, !allSelected));
113
- }
114
- function resetToBaseDefault() {
115
- if (!baseDefaultColumns.length)
116
- return;
117
- setDraftColumns(deepCloneColumns(baseDefaultColumns));
118
- }
119
- function goToCreateCustomView(e) {
120
- e.stopPropagation();
121
- const colsToUse = (draftColumns === null || draftColumns === void 0 ? void 0 : draftColumns.length) ? draftColumns : defaultColumns;
122
- onCreateCustomView === null || onCreateCustomView === void 0 ? void 0 : onCreateCustomView(true, colsToUse);
123
- setDraftColumns(null);
124
- clearOriginalState();
125
- forceClose();
126
- }
127
- return (_jsxs(DropdownStyled, Object.assign({ "data-testid": "ViewsDropdown" }, { children: [_jsx(Popper, Object.assign({ open: open, anchorEl: anchorEl, placement: "bottom-start" }, { children: _jsxs(ListStyled, { children: [_jsx(Typography, Object.assign({ sx: { paddingX: 1.25, py: 1.1, fontWeight: 500, fontSize: 11, color: '#8D8D94' } }, { children: "View" })), _jsx(Divider, {}), views.map((item) => (_jsxs(StyledMenuItem, Object.assign({ onMouseEnter: (e) => {
128
- if (item.isCustom)
129
- setHoveredCustomId(item.id);
130
- else if (hasSubmenu(item, defaultColumns))
131
- openTemplateSubmenu(item.id, e.currentTarget);
132
- }, onMouseLeave: () => {
133
- if (item.isCustom)
134
- setHoveredCustomId(null);
135
- else if (hasSubmenu(item, defaultColumns))
136
- closeSubmenu();
137
- }, onClick: () => selectView(item), sx: { position: 'relative', cursor: 'pointer', pr: 1.5 } }, { children: [item.id === selectedViewInfo.id ? _jsx("img", { style: { width: 15, height: 15 }, src: smallBlueCheckIcon, alt: "check" }) : _jsx(Space, {}), _jsxs("span", Object.assign({ style: { flex: 1, fontSize: 11 } }, { children: [item.label, item.default && item.id === selectedViewInfo.id && modifiedFromBase && _jsx("span", Object.assign({ style: ModifiedTextSx }, { children: "(Modified)" }))] })), item.isCustom && hoveredCustomId === item.id && (_jsx("img", { src: editIcon, alt: "edit", style: { width: 12, height: 12, cursor: 'pointer' }, onClick: (e) => {
138
- e.stopPropagation();
139
- onClose === null || onClose === void 0 ? void 0 : onClose();
140
- onEditCustomView === null || onEditCustomView === void 0 ? void 0 : onEditCustomView(item);
141
- } })), !item.isCustom && hasSubmenu(item, defaultColumns) && _jsx("img", { src: blackRightArrowIcon, alt: "arrow", style: { height: 12 } })] }), item.id))), _jsx(Tooltip, Object.assign({ title: "Limit reached. Delete a view to create a new one.", placement: "left", disableHoverListener: !atCustomViewLimit }, { children: _jsxs(StyledMenuItem, Object.assign({ sx: {
142
- border: 'none',
143
- opacity: atCustomViewLimit ? 0.5 : 1,
144
- cursor: atCustomViewLimit ? 'not-allowed' : 'pointer',
145
- }, onClick: (e) => {
146
- e.stopPropagation();
147
- if (atCustomViewLimit)
148
- return;
149
- onCreateCustomView === null || onCreateCustomView === void 0 ? void 0 : onCreateCustomView(false);
150
- forceClose();
151
- } }, { children: [_jsx(Space, {}), _jsxs(Box, Object.assign({ sx: { display: 'flex', alignItems: 'center', gap: 0.5 } }, { children: [_jsx("img", { src: bluePlusIcon, alt: "", style: { opacity: atCustomViewLimit ? 0.5 : 1, width: 10, height: 10 } }), _jsx("span", Object.assign({ style: { color: atCustomViewLimit ? '#999' : '#1F88D0', fontSize: 11, fontWeight: 500 } }, { children: t('New Custom View') }))] })), _jsx(SpaceAfter, {})] })) }))] }) })), hoveredViewId && submenuAnchorEl && submenuColumns.length > 0 && (_jsx(Menu, Object.assign({ open: true, anchorEl: submenuAnchorEl, placement: "auto-end", onMouseEnter: cancelClose, onMouseLeave: discardAndClose }, { children: _jsxs(SubmenuContainer, { children: [_jsx(ViewsSubmenu, { columns: getSubmenuItemsForDisplay(submenuColumns), allCurrentSelected: allSelected, someCurrentSelected: someSelected, onSelectAll: selectAllColumns, onReset: resetToBaseDefault, onColumnToggle: toggleColumn, onNestedItemToggle: toggleNested, onReorder: reorderColumns, anchorEl: submenuAnchorEl, isModified: modifiedFromBase }), _jsx(SaveCustomViewBox, { children: _jsx(Tooltip, Object.assign({ title: "Limit reached. Delete a view to create a new one.", placement: "left", disableHoverListener: !atCustomViewLimit }, { children: _jsxs(SaveCustomViewInnerBox, Object.assign({ disabled: atCustomViewLimit, onClick: atCustomViewLimit ? undefined : goToCreateCustomView }, { children: [_jsx(Typography, Object.assign({ sx: { fontSize: 11, color: 'text.secondary' } }, { children: "Save as a custom view" })), _jsxs(Box, Object.assign({ sx: { display: 'flex', alignItems: 'center', gap: 0.5 } }, { children: [_jsx("img", { src: bluePlusIcon, alt: "", style: { width: 10, height: 10, opacity: atCustomViewLimit ? 0.5 : 1 } }), _jsx(Typography, Object.assign({ sx: { fontSize: 10, fontWeight: 600, color: atCustomViewLimit ? '#999' : '#1F88D0' } }, { children: "Custom View" }))] }))] })) })) }), _jsxs(ButtonsContainer, { children: [_jsx(Button, Object.assign({ variant: "text", onClick: discardAndClose, sx: CancelButtonSx }, { children: "Cancel" })), _jsx(Button, Object.assign({ variant: "contained", onClick: applyAndClose, sx: OkayButtonSx }, { children: "Okay" }))] })] }) })))] })));
152
- }
153
- export default React.memo(ViewsDropdown);
@@ -1,36 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { memo, useCallback } from 'react';
3
- import { useTranslation } from 'react-i18next';
4
- import ClickAwayListener from '@mui/material/ClickAwayListener';
5
- import { Icon, StyledButton } from '../../index.js';
6
- import { viewIcon } from '../../../constants/index.js';
7
- import ViewsDropdown from './ViewsDropdown';
8
- import CreateViewDialog from './CreateViewDialog';
9
- import { ViewWrapper } from './styles';
10
- import { useViewsManager } from './hooks';
11
- import { useViewsMenu } from './hooks/useViewsMenu';
12
- function ViewsMenu({ onViewChange, templates, onCreateCustomView, onEditCustomView, onDeleteCustomView, onUpdateDefaultView, tableMode = 'default', lang = 'en', }) {
13
- const { t } = useTranslation();
14
- const { defaultColumns, defaultTemplate, customViews, allTemplates, baseDefaultColumns } = useViewsManager({
15
- tableMode,
16
- templates,
17
- lang,
18
- });
19
- const { anchorEl, isCreateDialogOpen, editingView, selectedViewInfo, shouldUseCurrentState, currentViewColumns, initialColumnsForCreate, handleViewButtonClick, handleCloseViewDropdown, handleSelectedViewInfo, handleOpenCreateDialog, handleOpenEditDialog, handleCloseCreateDialog, handleSaveView, handleDeleteView, updateSelectedView, } = useViewsMenu({
20
- mode: tableMode,
21
- onViewChange,
22
- onCreateCustomView,
23
- onEditCustomView,
24
- onDeleteCustomView,
25
- defaultColumns,
26
- defaultTemplate,
27
- allTemplates,
28
- });
29
- const handleSaveDefaultColumns = useCallback((columns) => {
30
- if (!(defaultTemplate === null || defaultTemplate === void 0 ? void 0 : defaultTemplate.id))
31
- return;
32
- onUpdateDefaultView === null || onUpdateDefaultView === void 0 ? void 0 : onUpdateDefaultView(columns);
33
- }, [defaultTemplate, onUpdateDefaultView]);
34
- return (_jsxs(_Fragment, { children: [_jsx(ClickAwayListener, Object.assign({ onClickAway: handleCloseViewDropdown }, { children: _jsxs(ViewWrapper, Object.assign({ sx: { width: '32px' }, "data-testid": "ViewsMenu" }, { children: [_jsx(StyledButton, Object.assign({ title: t('tableView'), "data-testid": "ViewsMenu_button", onClick: handleViewButtonClick }, { children: _jsx(Icon, { src: viewIcon, alt: "view", sx: { width: 14, height: 14 } }) })), _jsx(ViewsDropdown, { open: Boolean(anchorEl), anchorEl: anchorEl, onClose: handleCloseViewDropdown, setSelectedViewInfo: handleSelectedViewInfo, selectedViewInfo: selectedViewInfo, onCreateCustomView: handleOpenCreateDialog, customViews: customViews, onEditCustomView: handleOpenEditDialog, onSaveDefaultColumns: handleSaveDefaultColumns, defaultColumns: defaultColumns, updateSelectedView: updateSelectedView, baseDefaultColumns: baseDefaultColumns, mode: tableMode, defaultTemplate: defaultTemplate })] })) })), _jsx(CreateViewDialog, { open: isCreateDialogOpen, onClose: handleCloseCreateDialog, availableColumns: defaultColumns, defaultColumns: defaultColumns, onCreate: handleSaveView, editingView: editingView, onDelete: handleDeleteView, tableViews: shouldUseCurrentState ? initialColumnsForCreate !== null && initialColumnsForCreate !== void 0 ? initialColumnsForCreate : currentViewColumns : undefined, mode: tableMode })] }));
35
- }
36
- export default memo(ViewsMenu);
@@ -1,73 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import React from 'react';
3
- import { Box, Typography, Link, Popper, Divider } from '@mui/material';
4
- import { Reorder } from 'framer-motion';
5
- import { dragIcon, rightArrow, viewIcon } from '../../../../constants/index.js';
6
- import { Checkbox, MenuItem } from '../../../index.js';
7
- import { isDateColumn, getColumnCheckState } from '../utils';
8
- import { ColumnListContainer, SelectAllHeader, ColumnItemRow, DragIconWrapper, CheckboxWrapper, SubmenuPaper, checkboxSx } from '../styles';
9
- export const ColumnList = ({ selectedColumns, columnNames, allSelected, someSelected, hoveredColumn, anchorEl, onReorder, onColumnToggle, onSubItemToggle, onSelectAll, onResetToDefault, onSubmenuEnter, onSubmenuLeave, onCancelClose, }) => {
10
- return (_jsxs(ColumnListContainer, { children: [_jsxs(SelectAllHeader, { children: [_jsx(DragIconWrapper, { children: _jsx("img", { src: viewIcon, alt: "drag", style: { width: 16, height: 16, opacity: 0.5 } }) }), _jsx(CheckboxWrapper, Object.assign({ onClick: (e) => {
11
- e.stopPropagation();
12
- onSelectAll();
13
- } }, { children: _jsx(Checkbox, { checked: allSelected, indeterminate: someSelected, size: "small", sx: checkboxSx, onChange: (e) => {
14
- e.stopPropagation();
15
- onSelectAll();
16
- }, onClick: (e) => {
17
- e.stopPropagation();
18
- } }) })), _jsx(Typography, Object.assign({ onClick: (e) => {
19
- e.stopPropagation();
20
- onSelectAll();
21
- }, sx: { flex: 1, fontSize: 13, fontWeight: 500, color: 'text.primary', ml: 0.75, cursor: 'pointer' } }, { children: "Select All" })), _jsx(Link, Object.assign({ component: "button", type: "button", onClick: (e) => {
22
- e.stopPropagation();
23
- onResetToDefault();
24
- }, underline: "none", sx: { fontSize: 13, fontWeight: 500, cursor: 'pointer', color: 'common.blue' } }, { children: "Reset to default" }))] }), _jsx(Box, Object.assign({ sx: { flex: 1, overflowY: 'auto', minHeight: 0 } }, { children: _jsx(Reorder.Group, Object.assign({ axis: "y", onReorder: onReorder, values: columnNames, style: { listStyle: 'none', padding: 0, margin: 0 } }, { children: selectedColumns.map((column) => {
25
- var _a;
26
- const isDate = isDateColumn(column.name);
27
- const hasSubmenu = column.menuItems && column.menuItems.length > 0;
28
- const { checked, indeterminate } = getColumnCheckState(column);
29
- return (_jsxs(Reorder.Item, Object.assign({ value: column.name, drag: !isDate, dragListener: !isDate, transition: { duration: 0 }, whileDrag: { zIndex: 9999, boxShadow: '0 4px 12px rgba(0,0,0,0.15)', scale: 1 }, style: {
30
- listStyle: 'none',
31
- margin: 0,
32
- padding: 0,
33
- position: 'relative',
34
- zIndex: 1,
35
- backgroundColor: '#fff',
36
- width: '100%',
37
- willChange: 'transform',
38
- }, onDragStart: (e) => {
39
- const target = e.target;
40
- if (target.closest('[role="checkbox"]') ||
41
- target.closest('input[type="checkbox"]') ||
42
- target.closest('[class*="CheckboxWrapper"]')) {
43
- e.preventDefault();
44
- }
45
- } }, { children: [_jsxs(ColumnItemRow, Object.assign({ isHovered: hoveredColumn === column.name, isDate: isDate, onMouseEnter: (e) => hasSubmenu && onSubmenuEnter(column.name, e.currentTarget), onMouseLeave: () => hasSubmenu && onSubmenuLeave(), onClick: (e) => {
46
- if (e.target.closest('[role="checkbox"]') || e.target.closest('input[type="checkbox"]')) {
47
- e.stopPropagation();
48
- }
49
- }, sx: { width: '100%', position: 'relative' } }, { children: [_jsx(DragIconWrapper, { children: _jsx("img", { src: dragIcon, alt: "drag", draggable: false, style: { width: 16, height: 16, cursor: isDate ? 'default' : 'grab', pointerEvents: 'none' } }) }), _jsx(CheckboxWrapper, Object.assign({ onMouseDown: (e) => {
50
- e.stopPropagation();
51
- }, onPointerDown: (e) => {
52
- e.stopPropagation();
53
- } }, { children: _jsx(Checkbox, { checked: checked, indeterminate: indeterminate, onChange: (e) => {
54
- e.stopPropagation();
55
- onColumnToggle(column.name);
56
- }, onClick: (e) => {
57
- e.stopPropagation();
58
- }, disabled: isDate, size: "small", sx: checkboxSx }) })), _jsx(Typography, Object.assign({ sx: { flex: 1, fontSize: 13, fontWeight: 400, color: 'text.primary', ml: 1 } }, { children: column.label || column.name })), hasSubmenu && (_jsx(Box, Object.assign({ sx: { display: 'flex', alignItems: 'center', ml: 1, flexShrink: 0 } }, { children: _jsx("img", { src: rightArrow, alt: "arrow", style: { width: 12, height: 12 } }) })))] })), hasSubmenu && (_jsx(Popper, Object.assign({ open: hoveredColumn === column.name, anchorEl: anchorEl, placement: "right-start", sx: { zIndex: 10000 }, modifiers: [
59
- {
60
- name: 'offset',
61
- options: {
62
- offset: [0, 0],
63
- },
64
- },
65
- ] }, { children: _jsxs(Box, Object.assign({ onMouseEnter: onCancelClose, onMouseLeave: onSubmenuLeave, sx: { display: 'flex', pl: 0.5 } }, { children: [_jsx(Box, { sx: { width: 8, height: '100%', position: 'absolute', left: -8, top: 0, bottom: 0 } }), _jsx(SubmenuPaper, { children: (_a = column.menuItems) === null || _a === void 0 ? void 0 : _a.map((subItem, subItemIndex) => {
66
- var _a, _b;
67
- return (_jsxs(React.Fragment, { children: [_jsx(MenuItem, Object.assign({ isSelected: subItem.selected, isDisabled: isDate, onClick: () => {
68
- if (!isDate)
69
- onSubItemToggle(column.name, subItem.name);
70
- } }, { children: subItem.label || subItem.name })), subItemIndex < ((_b = (_a = column.menuItems) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) - 1 && _jsx(Divider, {})] }, subItem.name));
71
- }) })] })) })))] }), column.name));
72
- }) })) }))] }));
73
- };
@@ -1,71 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import React, { useMemo } from 'react';
3
- import { Box, Typography, Divider, Popper } from '@mui/material';
4
- import { Reorder } from 'framer-motion';
5
- import { Checkbox, MenuItem } from '../../../index.js';
6
- import { blackRightArrowIcon } from '../../../../constants/index.js';
7
- import { getColumnCheckState, isDateColumn } from '../utils';
8
- import { ResetHeaderBox, ResetCheckboxSx, ColumnItemsContainer, SubmenuPaper } from '../styles';
9
- import { useNestedSubmenu } from '../hooks/useNestedSubmenu';
10
- export const ViewsSubmenu = ({ columns, allCurrentSelected, someCurrentSelected, onSelectAll, onReset, onColumnToggle, onNestedItemToggle, onReorder, isModified = false, }) => {
11
- const { hoveredNestedColumn, nestedSubmenuAnchorEl, openNestedSubmenu, closeNestedSubmenu, cancelNestedClose } = useNestedSubmenu();
12
- const columnNames = useMemo(() => columns.map((col) => col.name), [columns]);
13
- return (_jsxs(_Fragment, { children: [_jsxs(ResetHeaderBox, { children: [_jsx(Box, Object.assign({ sx: { display: 'flex', alignItems: 'center', gap: 1 } }, { children: _jsx(Checkbox, { checked: allCurrentSelected, indeterminate: someCurrentSelected, onChange: (e) => {
14
- e.stopPropagation();
15
- onSelectAll();
16
- }, onClick: (e) => {
17
- e.stopPropagation();
18
- }, sx: ResetCheckboxSx }) })), _jsx(Typography, Object.assign({ component: "button", disabled: !isModified, onClick: (e) => {
19
- e.stopPropagation();
20
- if (isModified)
21
- onReset();
22
- }, sx: {
23
- fontSize: 11,
24
- fontWeight: 500,
25
- color: '#1F88D0',
26
- background: 'none',
27
- border: 'none',
28
- cursor: isModified ? 'pointer' : 'default',
29
- padding: 0,
30
- opacity: isModified ? 1 : 0.5,
31
- pointerEvents: isModified ? 'auto' : 'none',
32
- '&:hover': isModified ? { textDecoration: 'underline' } : undefined,
33
- } }, { children: "Reset" }))] }), _jsx(Divider, {}), _jsx(ColumnItemsContainer, { children: _jsx(Reorder.Group, Object.assign({ axis: "y", onReorder: onReorder, values: columnNames, style: { listStyle: 'none', padding: 0, margin: 0 } }, { children: columns.map((column, columnIndex) => {
34
- var _a;
35
- const hasNestedSubmenu = column.menuItems && column.menuItems.length > 0;
36
- const { checked, indeterminate } = getColumnCheckState(column);
37
- const isDate = isDateColumn(column.name);
38
- return (_jsxs(Reorder.Item, Object.assign({ value: column.name, drag: !isDate, dragListener: !isDate, transition: { duration: 0 }, whileDrag: { zIndex: 9999, boxShadow: '0 4px 12px rgba(0,0,0,0.15)', scale: 1.02 }, style: {
39
- listStyle: 'none',
40
- margin: 0,
41
- padding: 0,
42
- position: 'relative',
43
- zIndex: 1,
44
- backgroundColor: '#fff',
45
- width: '100%',
46
- willChange: 'transform',
47
- }, onDragStart: (e) => {
48
- const target = e.target;
49
- if (target.closest('[role="checkbox"]') ||
50
- target.closest('input[type="checkbox"]') ||
51
- target.closest('[class*="CheckboxWrapper"]')) {
52
- e.preventDefault();
53
- }
54
- } }, { children: [_jsxs(Box, Object.assign({ sx: { position: 'relative' }, onMouseEnter: (e) => hasNestedSubmenu && openNestedSubmenu(column.name, e.currentTarget), onMouseLeave: () => hasNestedSubmenu && closeNestedSubmenu() }, { children: [_jsxs(Box, Object.assign({ sx: {
55
- display: 'flex',
56
- alignItems: 'center',
57
- justifyContent: 'space-between',
58
- width: '100%',
59
- } }, { children: [_jsx(MenuItem, Object.assign({ isSelected: hasNestedSubmenu ? checked : column.selected, isIndeterminate: hasNestedSubmenu ? indeterminate : false, isDisabled: isDate, onClick: () => {
60
- if (!isDate) {
61
- onColumnToggle(column.name);
62
- }
63
- }, sx: { flex: 1, display: 'flex', alignItems: 'center' } }, { children: _jsx("span", { children: column.label || column.name }) })), hasNestedSubmenu && (_jsx(Box, Object.assign({ sx: { display: 'flex', alignItems: 'center', pr: 1, pointerEvents: 'none' } }, { children: _jsx("img", { src: blackRightArrowIcon, alt: "arrow", style: { height: 12 } }) })))] })), hasNestedSubmenu && (_jsx(Popper, Object.assign({ open: hoveredNestedColumn === column.name, anchorEl: nestedSubmenuAnchorEl, placement: "right-start", sx: { zIndex: 10000 } }, { children: _jsxs(Box, Object.assign({ onMouseEnter: cancelNestedClose, onMouseLeave: closeNestedSubmenu, sx: { display: 'flex', pl: 0.5 } }, { children: [_jsx(Box, { sx: { width: 8, height: '100%', position: 'absolute', left: -8, top: 0, bottom: 0 } }), _jsx(SubmenuPaper, { children: (_a = column.menuItems) === null || _a === void 0 ? void 0 : _a.map((subItem, subItemIndex) => {
64
- var _a, _b;
65
- return (_jsxs(React.Fragment, { children: [_jsx(MenuItem, Object.assign({ isSelected: subItem.selected, isDisabled: isDate, onClick: () => {
66
- if (!isDate)
67
- onNestedItemToggle(column.name, subItem.name);
68
- } }, { children: subItem.label || subItem.name })), subItemIndex < ((_b = (_a = column.menuItems) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) - 1 && _jsx(Divider, {})] }, subItem.name));
69
- }) })] })) })))] })), columnIndex < columns.length - 1 && _jsx(Divider, {})] }), column.name));
70
- }) })) })] }));
71
- };
@@ -1,2 +0,0 @@
1
- export { ColumnList } from './ColumnList';
2
- export { ViewsSubmenu } from './ViewsSubmenu';
@@ -1,39 +0,0 @@
1
- export const DIALOG_WIDTH = 450;
2
- export const DIALOG_HEIGHT = 600;
3
- export const SUBMENU_CLOSE_DELAY = 150;
4
- export const MAX_CUSTOM_VIEWS = 3;
5
- export const TEMPLATE_NAME_MAX_LENGTH = 20;
6
- export const INDEX_COLUMN_CONFIG = {
7
- name: 'index',
8
- label: '',
9
- selected: true,
10
- menuItems: undefined,
11
- order: 0,
12
- pinned: 'start',
13
- isDefaultPinned: true,
14
- pinnable: true,
15
- };
16
- export const DATE_COLUMN_CONFIG = {
17
- name: 'date',
18
- label: 'Date',
19
- selected: true,
20
- menuItems: undefined,
21
- order: 1,
22
- pinned: 'start',
23
- isDefaultPinned: true,
24
- pinnable: true,
25
- };
26
- export const CUSTOM_TABLE_REQUIRED_COLUMN_LABELS = {
27
- date: 'Date',
28
- index: 'Index',
29
- };
30
- export const CUSTOM_TABLE_MODE_ALIASES = {
31
- sheet: ['sheet'],
32
- default: ['advanced', 'default'],
33
- text: ['text'],
34
- };
35
- export const OTHER_SECTION_CODE = {
36
- sheet: 'Advanced',
37
- default: 'Sheet',
38
- text: 'text',
39
- };
@@ -1,10 +0,0 @@
1
- export { useSubMenu } from './useSubMenu';
2
- export { useViewColumns } from './useViewColumns';
3
- export { useColumnItem } from './useColumnItem';
4
- export { useViewsManager } from './useViewsManager';
5
- export { useViewsMenu } from './useViewsMenu';
6
- export { useSubmenuHover } from './useSubmenuHover';
7
- export { useOriginalColumns } from './useOriginalColumns';
8
- export { useNestedSubmenu } from './useNestedSubmenu';
9
- export { useCreateViewDialog } from './useCreateViewDialog';
10
- export { useCustomTableViews } from './useCustomTableViews';
@@ -1,29 +0,0 @@
1
- import { useCallback, useMemo } from 'react';
2
- export function useColumnItem({ column, index, openSubMenuName, toggleColumnSelection, handleSubMenuOpen, handleSubMenuClose, }) {
3
- const hasSubmenuItems = column.menuItems && column.menuItems.length > 0;
4
- const isSubmenuOpen = openSubMenuName === column.name;
5
- const isFirstItem = index === 0;
6
- const isIndeterminate = useMemo(() => { var _a, _b; return Boolean(column.selected && ((_a = column.menuItems) === null || _a === void 0 ? void 0 : _a.some((item) => item.selected)) && !((_b = column.menuItems) === null || _b === void 0 ? void 0 : _b.every((item) => item.selected))); }, [column.selected, column.menuItems]);
7
- const handleColumnClick = useCallback(() => {
8
- toggleColumnSelection(column.name);
9
- }, [toggleColumnSelection, column.name]);
10
- const handleMouseEnter = useCallback((event) => {
11
- if (hasSubmenuItems) {
12
- handleSubMenuOpen(event, column.name);
13
- }
14
- }, [hasSubmenuItems, handleSubMenuOpen, column.name]);
15
- const handleMouseLeave = useCallback(() => {
16
- if (!hasSubmenuItems) {
17
- handleSubMenuClose();
18
- }
19
- }, [hasSubmenuItems, handleSubMenuClose]);
20
- return {
21
- isIndeterminate,
22
- hasSubmenuItems,
23
- isSubmenuOpen,
24
- isFirstItem,
25
- handleColumnClick,
26
- handleMouseEnter,
27
- handleMouseLeave,
28
- };
29
- }
@@ -1,92 +0,0 @@
1
- import { useState, useEffect, useMemo, useRef } from 'react';
2
- import { INDEX_COLUMN_CONFIG, DATE_COLUMN_CONFIG, TEMPLATE_NAME_MAX_LENGTH } from '../constants';
3
- import { initializeEditingColumns, initializeCreateColumns, initializeCreateColumnsWithCurrentState, toggleColumn, toggleSubItem, toggleAllColumns, areAllColumnsSelected, areSomeColumnsSelected, isValidTemplateName, deepCloneColumns, } from '../utils';
4
- import { useSubmenuHover } from './useSubmenuHover';
5
- export const useCreateViewDialog = ({ open, availableColumns, defaultColumns, editingView, tableViews = [] }) => {
6
- const [templateName, setTemplateName] = useState(() => (editingView === null || editingView === void 0 ? void 0 : editingView.label) || '');
7
- const [selectedColumns, setSelectedColumns] = useState([]);
8
- const previousOpenRef = useRef(false);
9
- const initialColumnsRef = useRef([]);
10
- const { hoveredColumn, anchorEl, openSubmenu, closeSubmenu, cancelClose } = useSubmenuHover();
11
- const indexColumn = INDEX_COLUMN_CONFIG;
12
- const dateColumn = DATE_COLUMN_CONFIG;
13
- useEffect(() => {
14
- var _a, _b;
15
- if (!open) {
16
- previousOpenRef.current = false;
17
- return;
18
- }
19
- const wasClosed = !previousOpenRef.current;
20
- if (wasClosed && open) {
21
- if (editingView) {
22
- const savedColumns = editingView.submenu && editingView.submenu.length > 0 ? editingView.submenu : defaultColumns;
23
- const otherColumns = initializeEditingColumns(savedColumns, availableColumns);
24
- const withoutIndexAndDate = otherColumns.filter((c) => { var _a, _b; return ((_a = c.name) !== null && _a !== void 0 ? _a : '').toLowerCase() !== 'index' && ((_b = c.name) !== null && _b !== void 0 ? _b : '').toLowerCase() !== 'date'; });
25
- const columnsToSet = [indexColumn, dateColumn, ...withoutIndexAndDate];
26
- setSelectedColumns(columnsToSet);
27
- initialColumnsRef.current = deepCloneColumns(columnsToSet);
28
- const nameToSet = ((_a = editingView.label) === null || _a === void 0 ? void 0 : _a.trim()) || '';
29
- setTemplateName(nameToSet);
30
- }
31
- else {
32
- const otherColumns = tableViews && tableViews.length > 0
33
- ? initializeCreateColumnsWithCurrentState(availableColumns, tableViews)
34
- : initializeCreateColumns(availableColumns);
35
- const withoutIndexAndDate = otherColumns.filter((c) => { var _a, _b; return ((_a = c.name) !== null && _a !== void 0 ? _a : '').toLowerCase() !== 'index' && ((_b = c.name) !== null && _b !== void 0 ? _b : '').toLowerCase() !== 'date'; });
36
- const columnsToSet = [indexColumn, dateColumn, ...withoutIndexAndDate];
37
- setSelectedColumns(columnsToSet);
38
- initialColumnsRef.current = deepCloneColumns(columnsToSet);
39
- setTemplateName('');
40
- }
41
- }
42
- else if (open && editingView) {
43
- const nameToSet = ((_b = editingView.label) === null || _b === void 0 ? void 0 : _b.trim()) || '';
44
- setTemplateName(nameToSet);
45
- }
46
- previousOpenRef.current = open;
47
- // eslint-disable-next-line react-hooks/exhaustive-deps -- intentionally depend on editingView fields only to avoid unnecessary resets when object reference changes
48
- }, [open, editingView === null || editingView === void 0 ? void 0 : editingView.id, editingView === null || editingView === void 0 ? void 0 : editingView.label, editingView === null || editingView === void 0 ? void 0 : editingView.submenu, availableColumns, defaultColumns, tableViews, indexColumn, dateColumn]);
49
- const columnNames = useMemo(() => selectedColumns.map((col) => col.name), [selectedColumns]);
50
- const allSelected = useMemo(() => areAllColumnsSelected(selectedColumns), [selectedColumns]);
51
- const someSelected = useMemo(() => areSomeColumnsSelected(selectedColumns, allSelected), [selectedColumns, allSelected]);
52
- const isNameValid = useMemo(() => isValidTemplateName(templateName, TEMPLATE_NAME_MAX_LENGTH), [templateName]);
53
- const handleReorder = (reorderedNames) => {
54
- const reorderedColumns = reorderedNames
55
- .map((name) => selectedColumns.find((col) => col.name === name))
56
- .filter((col) => Boolean(col));
57
- setSelectedColumns([indexColumn, ...reorderedColumns]);
58
- };
59
- const handleColumnToggle = (columnName) => {
60
- setSelectedColumns((prev) => toggleColumn(prev, columnName));
61
- };
62
- const handleSubItemToggle = (columnName, subItemName) => {
63
- setSelectedColumns((prev) => toggleSubItem(prev, columnName, subItemName));
64
- };
65
- const handleSelectAll = () => {
66
- setSelectedColumns((prev) => toggleAllColumns(prev, !allSelected));
67
- };
68
- const handleResetToDefault = () => {
69
- if (initialColumnsRef.current.length > 0) {
70
- setSelectedColumns(deepCloneColumns(initialColumnsRef.current));
71
- }
72
- };
73
- return {
74
- templateName,
75
- setTemplateName,
76
- selectedColumns,
77
- columnNames,
78
- allSelected,
79
- someSelected,
80
- isNameValid,
81
- hoveredColumn,
82
- anchorEl,
83
- openSubmenu,
84
- closeSubmenu,
85
- cancelClose,
86
- handleReorder,
87
- handleColumnToggle,
88
- handleSubItemToggle,
89
- handleSelectAll,
90
- handleResetToDefault,
91
- };
92
- };
@@ -1,105 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- import { useCallback, useMemo, useState } from 'react';
11
- import { OTHER_SECTION_CODE } from '../constants';
12
- import { handleTemplateUpdate, mapColumnsToLayoutSection, convertTemplateToColumnsView, replaceTemplateInList, updateCurrentTemplate, addRequiredColumns, } from '../utils';
13
- import { updateColumnSelection } from '../../../../utils/index.js';
14
- export function useCustomTableViews({ templates, setTemplates, createTemplate, updateTemplate, deleteTemplate, tableMode, lang = 'en', columnModifiers, }) {
15
- const defaultTemplate = useMemo(() => templates.find((t) => t.default), [templates]);
16
- const [selectedTemplateId, setSelectedTemplateId] = useState(() => defaultTemplate === null || defaultTemplate === void 0 ? void 0 : defaultTemplate.id);
17
- const onCreateCustomView = useCallback(({ name, layout }) => __awaiter(this, void 0, void 0, function* () {
18
- var _a, _b, _c, _d;
19
- const created = yield createTemplate({ name, layout: [layout] });
20
- if (created) {
21
- const otherCode = (_a = OTHER_SECTION_CODE[tableMode]) !== null && _a !== void 0 ? _a : OTHER_SECTION_CODE.default;
22
- const hasOtherSection = (_b = created.layout) === null || _b === void 0 ? void 0 : _b.some((s) => { var _a; return ((_a = s.code) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === otherCode.toLowerCase(); });
23
- const templateWithOtherLayout = hasOtherSection
24
- ? created
25
- : Object.assign(Object.assign({}, created), { layout: [...((_c = created.layout) !== null && _c !== void 0 ? _c : []), { code: otherCode, columns: [] }] });
26
- const normalized = handleTemplateUpdate(templateWithOtherLayout);
27
- setTemplates((prev) => [...prev, normalized]);
28
- setSelectedTemplateId(normalized.id);
29
- return { id: created.id, name: (_d = created.name) !== null && _d !== void 0 ? _d : '' };
30
- }
31
- }), [createTemplate, setTemplates, tableMode]);
32
- const onDeleteCustomView = useCallback((templateId) => __awaiter(this, void 0, void 0, function* () {
33
- yield deleteTemplate(templateId);
34
- setTemplates((prev) => prev.filter((t) => t.id !== templateId));
35
- setSelectedTemplateId((current) => (current === templateId ? defaultTemplate === null || defaultTemplate === void 0 ? void 0 : defaultTemplate.id : current));
36
- }), [deleteTemplate, setTemplates, defaultTemplate]);
37
- const onUpdateDefaultView = useCallback((columns) => {
38
- const defaultTemplate = templates.find((t) => t.default);
39
- if (!defaultTemplate)
40
- return;
41
- const layout = mapColumnsToLayoutSection(columns, tableMode, lang);
42
- const { name, layout: mergedLayout } = updateCurrentTemplate(defaultTemplate, { layout });
43
- const updatedDefault = Object.assign(Object.assign({}, defaultTemplate), { name, layout: mergedLayout });
44
- setTemplates((prev) => replaceTemplateInList(prev, (t) => t.default, updatedDefault));
45
- }, [templates, tableMode, lang, setTemplates]);
46
- const onEditCustomView = useCallback((viewId, data) => __awaiter(this, void 0, void 0, function* () {
47
- const template = templates.find((t) => t.id === viewId);
48
- const { name, layout } = updateCurrentTemplate(template, data);
49
- const updated = yield updateTemplate(viewId, { name, layout });
50
- if (updated) {
51
- const normalized = handleTemplateUpdate(updated);
52
- setTemplates((prev) => replaceTemplateInList(prev, (t) => t.id === viewId, normalized));
53
- setSelectedTemplateId(normalized.id);
54
- }
55
- }), [templates, updateTemplate, setTemplates]);
56
- const customViews = useMemo(() => ({
57
- templates,
58
- onCreateCustomView,
59
- onEditCustomView,
60
- onDeleteCustomView,
61
- onUpdateDefaultView,
62
- }), [templates, onCreateCustomView, onEditCustomView, onDeleteCustomView, onUpdateDefaultView]);
63
- const onViewChange = useCallback((view) => {
64
- var _a;
65
- if (!defaultTemplate) {
66
- setSelectedTemplateId(undefined);
67
- return;
68
- }
69
- if (!(view === null || view === void 0 ? void 0 : view.id) || view.id === 'default') {
70
- setSelectedTemplateId(defaultTemplate.id);
71
- return;
72
- }
73
- const matchingTemplate = templates.find((t) => t.id === view.id);
74
- setSelectedTemplateId((_a = matchingTemplate === null || matchingTemplate === void 0 ? void 0 : matchingTemplate.id) !== null && _a !== void 0 ? _a : defaultTemplate.id);
75
- }, [templates, defaultTemplate]);
76
- const columnsViewData = useMemo(() => {
77
- var _a;
78
- const selectedTemplate = (_a = templates.find((t) => (selectedTemplateId ? t.id === selectedTemplateId : false))) !== null && _a !== void 0 ? _a : defaultTemplate;
79
- let templateColumnsView = [];
80
- if (selectedTemplate) {
81
- templateColumnsView = convertTemplateToColumnsView(selectedTemplate, tableMode);
82
- }
83
- if (templateColumnsView.length === 0) {
84
- return [];
85
- }
86
- if (columnModifiers === null || columnModifiers === void 0 ? void 0 : columnModifiers.length) {
87
- let result = templateColumnsView;
88
- for (const mod of columnModifiers) {
89
- result = updateColumnSelection({
90
- columnsViewData: result,
91
- columnsName: mod.columnsName,
92
- selected: mod.selected,
93
- });
94
- }
95
- return addRequiredColumns(result, tableMode);
96
- }
97
- return addRequiredColumns(templateColumnsView, tableMode);
98
- }, [tableMode, templates, selectedTemplateId, defaultTemplate, columnModifiers]);
99
- return {
100
- customViews,
101
- onViewChange,
102
- columnsViewData,
103
- selectedViewId: selectedTemplateId,
104
- };
105
- }