@tap-payments/os-micro-frontend-shared 0.3.27 → 0.3.29

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 (277) hide show
  1. package/build/_chunks/{chunk-PSHRQQGP.js → chunk-2QZ4IOL5.js} +1 -1
  2. package/build/_chunks/{chunk-6GD44YXR.js → chunk-3B6VYVIY.js} +1 -1
  3. package/build/_chunks/{chunk-N6EO247Q.js → chunk-3EJTIBHC.js} +1 -1
  4. package/build/_chunks/{chunk-UFMSVIL2.js → chunk-3IDHJM4W.js} +1 -1
  5. package/build/_chunks/{chunk-RB3UCTS4.js → chunk-3KA5T7WV.js} +1 -1
  6. package/build/_chunks/{chunk-CF3LQZJP.js → chunk-4BVFIKDI.js} +1 -1
  7. package/build/_chunks/{chunk-7CLEZH4F.js → chunk-4C7A45LE.js} +1 -1
  8. package/build/_chunks/{chunk-QEBUR3NB.js → chunk-4EIPPJUA.js} +1 -1
  9. package/build/_chunks/{chunk-ZGM6B5FF.js → chunk-4N4YBG7Y.js} +1 -1
  10. package/build/_chunks/{chunk-W43VTP5F.js → chunk-4VEXHGOG.js} +1 -1
  11. package/build/_chunks/chunk-4YMQA5DJ.js +1 -0
  12. package/build/_chunks/{chunk-DOKKM4VS.js → chunk-52ZY2SFF.js} +1 -1
  13. package/build/_chunks/{chunk-AC6O7ZD6.js → chunk-53W2AFZS.js} +1 -1
  14. package/build/_chunks/{chunk-NFJH6SWS.js → chunk-57IZKCTX.js} +1 -1
  15. package/build/_chunks/{chunk-6SUZDLL2.js → chunk-5CRSRCD3.js} +1 -1
  16. package/build/_chunks/{chunk-YWD3DAKF.js → chunk-5YY4V2BQ.js} +2 -2
  17. package/build/_chunks/{chunk-D5OT4EKF.js → chunk-65IBAMBY.js} +1 -1
  18. package/build/_chunks/{chunk-SFLM64OS.js → chunk-6F7CGNED.js} +1 -1
  19. package/build/_chunks/{chunk-MZFGRRDG.js → chunk-6LIGMKIB.js} +1 -1
  20. package/build/_chunks/{chunk-B3EEZZ3C.js → chunk-6TGHYOO5.js} +1 -1
  21. package/build/_chunks/{chunk-2UNUKSNY.js → chunk-6YNVC4FT.js} +1 -1
  22. package/build/_chunks/{chunk-66HFOX4X.js → chunk-77LO6FE5.js} +1 -1
  23. package/build/_chunks/{chunk-ZM4PIJQP.js → chunk-7WCLIUSB.js} +1 -1
  24. package/build/_chunks/{chunk-J3D3G6PP.js → chunk-7ZHAFW7H.js} +1 -1
  25. package/build/_chunks/{chunk-KS5BVLWT.js → chunk-A7X2X3UL.js} +1 -1
  26. package/build/_chunks/{chunk-ATGTBEMU.js → chunk-ABRMR2FW.js} +1 -1
  27. package/build/_chunks/{chunk-7FOKZ5QM.js → chunk-AYMUVBOK.js} +1 -1
  28. package/build/_chunks/{chunk-D26RM5RS.js → chunk-B63K56UX.js} +1 -1
  29. package/build/_chunks/{chunk-FM66MJK3.js → chunk-BA7XWXLC.js} +1 -1
  30. package/build/_chunks/{chunk-3P7LMSDF.js → chunk-BFYHQH3M.js} +1 -1
  31. package/build/_chunks/{chunk-5FKYTPYG.js → chunk-BGYQKEH4.js} +1 -1
  32. package/build/_chunks/{chunk-SWCEH7LN.js → chunk-BS3YO47L.js} +1 -1
  33. package/build/_chunks/{chunk-GEPEOUDJ.js → chunk-BVWMYKKV.js} +1 -1
  34. package/build/_chunks/{chunk-MGZ56L2Y.js → chunk-CEYEY7YB.js} +1 -1
  35. package/build/_chunks/{chunk-UAN7O6DQ.js → chunk-CP4AJBXH.js} +1 -1
  36. package/build/_chunks/{chunk-GYSC6BGC.js → chunk-CYFZ7H6K.js} +1 -1
  37. package/build/_chunks/{chunk-KKQRBS5Z.js → chunk-E3LEQY3P.js} +1 -1
  38. package/build/_chunks/{chunk-FL2YYNHM.js → chunk-EATPDOU2.js} +1 -1
  39. package/build/_chunks/{chunk-22E6TC75.js → chunk-EI2QQ3FL.js} +1 -1
  40. package/build/_chunks/chunk-EKOXQUSJ.js +1 -0
  41. package/build/_chunks/{chunk-RPCL3EQA.js → chunk-EONK7NDO.js} +1 -1
  42. package/build/_chunks/{chunk-FI3GFV7P.js → chunk-FHJWJ53U.js} +1 -1
  43. package/build/_chunks/{chunk-MX7A6S24.js → chunk-FJAZ7EJ3.js} +1 -1
  44. package/build/_chunks/{chunk-A5EBGV3E.js → chunk-FU5YS27X.js} +1 -1
  45. package/build/_chunks/{chunk-FSZM5FBN.js → chunk-GD6V56NO.js} +1 -1
  46. package/build/_chunks/{chunk-OZ455RN6.js → chunk-GFRGQBZJ.js} +1 -1
  47. package/build/_chunks/{chunk-4NKDKOS3.js → chunk-GRRMFF24.js} +1 -1
  48. package/build/_chunks/chunk-GXKKW3US.js +2 -0
  49. package/build/_chunks/{chunk-JGVBCPWA.js → chunk-HID43SDT.js} +1 -1
  50. package/build/_chunks/chunk-I5QH3YUQ.js +1 -0
  51. package/build/_chunks/{chunk-4AFKPZHS.js → chunk-I6TVZZRM.js} +1 -1
  52. package/build/_chunks/{chunk-WD4XFWBJ.js → chunk-ICCHS4MG.js} +1 -1
  53. package/build/_chunks/{chunk-LSLFU7HN.js → chunk-IPS2LPDR.js} +1 -1
  54. package/build/_chunks/chunk-ITNYA2BL.js +1 -0
  55. package/build/_chunks/chunk-IUXIBZV3.js +2 -0
  56. package/build/_chunks/{chunk-XLTKAPNT.js → chunk-JEICZHGL.js} +1 -1
  57. package/build/_chunks/{chunk-TU2NHI6C.js → chunk-JQ5V7JJR.js} +1 -1
  58. package/build/_chunks/chunk-JWQBGHVQ.js +1 -0
  59. package/build/_chunks/{chunk-QFWPCD4P.js → chunk-K3QVNBIT.js} +1 -1
  60. package/build/_chunks/{chunk-7EEWV562.js → chunk-KV7RNQIH.js} +1 -1
  61. package/build/_chunks/{chunk-34AUPKZB.js → chunk-L75FKUUD.js} +1 -1
  62. package/build/_chunks/chunk-LZVIK4HM.js +1 -0
  63. package/build/_chunks/chunk-M3V5SG2U.js +1 -0
  64. package/build/_chunks/chunk-MEHO7E4N.js +1 -0
  65. package/build/_chunks/{chunk-LNS7BJ4F.js → chunk-MRIJSE7V.js} +1 -1
  66. package/build/_chunks/{chunk-KHXBM7CB.js → chunk-N44VXGQ6.js} +1 -1
  67. package/build/_chunks/{chunk-2M3I7RSY.js → chunk-N4TBHB3Z.js} +1 -1
  68. package/build/_chunks/{chunk-QTV5VL4G.js → chunk-NAJQUPFB.js} +1 -1
  69. package/build/_chunks/{chunk-UC2FJPBO.js → chunk-O7VXWCQH.js} +1 -1
  70. package/build/_chunks/{chunk-V26PFKTV.js → chunk-OB2LASWR.js} +1 -1
  71. package/build/_chunks/{chunk-IMNAAJZF.js → chunk-ODCGP6QY.js} +1 -1
  72. package/build/_chunks/{chunk-U56RESPD.js → chunk-OY6MZ77P.js} +1 -1
  73. package/build/_chunks/{chunk-VWBG46D2.js → chunk-PASL6KWI.js} +1 -1
  74. package/build/_chunks/{chunk-HHRLMFEG.js → chunk-PCUBROQH.js} +1 -1
  75. package/build/_chunks/{chunk-5D5JGIKP.js → chunk-PKTMWSV2.js} +2 -2
  76. package/build/_chunks/{chunk-WJZDEGYS.js → chunk-PUDF3MGR.js} +1 -1
  77. package/build/_chunks/{chunk-ULEFPLXV.js → chunk-PV7X7SXA.js} +1 -1
  78. package/build/_chunks/{chunk-4ZRX7CL7.js → chunk-QYS2UNHT.js} +1 -1
  79. package/build/_chunks/{chunk-VYGBI7PW.js → chunk-SENINKAQ.js} +1 -1
  80. package/build/_chunks/{chunk-CYXD4T33.js → chunk-SHUHGHAI.js} +1 -1
  81. package/build/_chunks/{chunk-6DR5PDVD.js → chunk-SKAQS5ML.js} +1 -1
  82. package/build/_chunks/chunk-SNYZMQPA.js +1 -0
  83. package/build/_chunks/chunk-ST43DROT.js +2 -0
  84. package/build/_chunks/{chunk-KUXUYG27.js → chunk-T2EPOEFC.js} +1 -1
  85. package/build/_chunks/{chunk-VWUNIAMC.js → chunk-TPMYBLI5.js} +1 -1
  86. package/build/_chunks/{chunk-WS6HU73C.js → chunk-TUR7XO3E.js} +1 -1
  87. package/build/_chunks/{chunk-33OODWZ5.js → chunk-UCZYXKNB.js} +1 -1
  88. package/build/_chunks/chunk-UIPHUTZL.js +1 -0
  89. package/build/_chunks/{chunk-FQVMGPXQ.js → chunk-URKLILFD.js} +1 -1
  90. package/build/_chunks/{chunk-DUWS7SX3.js → chunk-USKDMJPB.js} +1 -1
  91. package/build/_chunks/{chunk-ASTQHVS5.js → chunk-UXF3YGKO.js} +1 -1
  92. package/build/_chunks/{chunk-CKBLMINS.js → chunk-V2XFUF7R.js} +1 -1
  93. package/build/_chunks/{chunk-YJEUSCYD.js → chunk-V7QLQDJ7.js} +1 -1
  94. package/build/_chunks/{chunk-FSX25SGM.js → chunk-VN6QL6H7.js} +1 -1
  95. package/build/_chunks/{chunk-XTKUD6SM.js → chunk-VXRKCZTT.js} +1 -1
  96. package/build/_chunks/{chunk-GKGMLJSE.js → chunk-W43NRJJH.js} +1 -1
  97. package/build/_chunks/{chunk-Z45F23G6.js → chunk-WAJXXB2B.js} +1 -1
  98. package/build/_chunks/{chunk-YPKC2DFD.js → chunk-WG3Q2IKJ.js} +1 -1
  99. package/build/_chunks/{chunk-DEMD3INE.js → chunk-WPNUBJWG.js} +1 -1
  100. package/build/_chunks/{chunk-QN6673G2.js → chunk-WWODNHVW.js} +1 -1
  101. package/build/_chunks/{chunk-3SSCE255.js → chunk-WWUCJ45J.js} +1 -1
  102. package/build/_chunks/{chunk-3L2C5JV5.js → chunk-XF26PMG3.js} +1 -1
  103. package/build/_chunks/{chunk-7GCP7ZAK.js → chunk-XFFKD7WO.js} +1 -1
  104. package/build/_chunks/{chunk-QP7KFNIL.js → chunk-XSXVAK62.js} +1 -1
  105. package/build/_chunks/{chunk-ZC4EFVQ5.js → chunk-YA27C2AC.js} +2 -2
  106. package/build/_chunks/{chunk-ZRS4O5VC.js → chunk-YA2XHXSP.js} +1 -1
  107. package/build/_chunks/{chunk-FTLJXEPS.js → chunk-YEUHJU7X.js} +1 -1
  108. package/build/_chunks/chunk-Z45UP3A4.js +1 -0
  109. package/build/_chunks/{chunk-VKAN33EZ.js → chunk-ZDAQ4LQ3.js} +1 -1
  110. package/build/_chunks/{chunk-T5WYTGIU.js → chunk-ZH7QVAHJ.js} +1 -1
  111. package/build/components/Accordion/index.js +1 -1
  112. package/build/components/AccountDropdown/index.js +1 -1
  113. package/build/components/ActionMenu/index.js +1 -1
  114. package/build/components/ActionsDropdownMenu/index.js +1 -1
  115. package/build/components/ActiveFilterChip/index.js +1 -1
  116. package/build/components/ActivityAreaChart/index.js +1 -1
  117. package/build/components/Amount/index.js +1 -1
  118. package/build/components/AmountConversionFilter/index.js +1 -1
  119. package/build/components/AmountInput/index.js +1 -1
  120. package/build/components/AmountSlider/index.js +1 -1
  121. package/build/components/AmountStatusChip/index.js +1 -1
  122. package/build/components/AnimatedSpinnerIcon/index.js +1 -1
  123. package/build/components/AppServices/index.js +1 -1
  124. package/build/components/AppServicesBar/index.js +1 -1
  125. package/build/components/AppWindowWrapper/index.js +1 -1
  126. package/build/components/AuthenticationTypeChip/index.js +1 -1
  127. package/build/components/Autocomplete/index.js +1 -1
  128. package/build/components/BetaBanner/index.js +1 -1
  129. package/build/components/BrandLogo/index.js +1 -1
  130. package/build/components/Button/index.js +1 -1
  131. package/build/components/Calender/index.js +1 -1
  132. package/build/components/CardEmptyState/index.js +1 -1
  133. package/build/components/Checkbox/index.js +1 -1
  134. package/build/components/Chip/index.js +1 -1
  135. package/build/components/ChipStack/index.js +1 -1
  136. package/build/components/CircularProgressWithLabel/index.js +1 -1
  137. package/build/components/Collapse/index.js +1 -1
  138. package/build/components/ColorPicker/index.js +1 -1
  139. package/build/components/ColumnViews/index.js +1 -1
  140. package/build/components/ConfirmDialog/index.js +1 -1
  141. package/build/components/CopyImage/index.js +1 -1
  142. package/build/components/CountBadge/index.js +1 -1
  143. package/build/components/CountryFilter/index.js +1 -1
  144. package/build/components/CountryFlag/index.js +1 -1
  145. package/build/components/CurrencyAmount/index.js +1 -1
  146. package/build/components/CurrencyFilter/index.js +1 -1
  147. package/build/components/CurrencySymbol/index.js +1 -1
  148. package/build/components/CustomBackdrop/index.js +1 -1
  149. package/build/components/Customer/index.js +1 -1
  150. package/build/components/DateFilter/index.js +1 -1
  151. package/build/components/DeviceIcon/index.js +1 -1
  152. package/build/components/Dialog/index.js +1 -1
  153. package/build/components/Discount/index.js +1 -1
  154. package/build/components/DisplayAmount/index.js +1 -1
  155. package/build/components/Dropdown2/index.js +1 -1
  156. package/build/components/DropdownButton/index.js +1 -1
  157. package/build/components/DropdownMenu/index.js +1 -1
  158. package/build/components/Error/index.js +1 -1
  159. package/build/components/ErrorToast/index.js +1 -1
  160. package/build/components/ExpandableSideBar/index.js +1 -1
  161. package/build/components/FieldFeedback/index.js +1 -1
  162. package/build/components/FileInputPreview/index.js +1 -1
  163. package/build/components/FilePreview/index.js +1 -1
  164. package/build/components/FileUpload/index.js +1 -1
  165. package/build/components/FileUploader/index.js +1 -1
  166. package/build/components/FilterDropdown/index.js +1 -1
  167. package/build/components/Filters/index.js +1 -1
  168. package/build/components/FlagDetails/index.js +1 -1
  169. package/build/components/FlippingCard/index.js +1 -1
  170. package/build/components/HeatMap/index.js +1 -1
  171. package/build/components/IOSSwitch/index.js +1 -1
  172. package/build/components/Icon/index.js +1 -1
  173. package/build/components/IconWithBadge/index.js +1 -1
  174. package/build/components/Input/index.js +1 -1
  175. package/build/components/InputBase/index.js +1 -1
  176. package/build/components/InputNumber/index.js +1 -1
  177. package/build/components/Inputs/index.js +1 -1
  178. package/build/components/JSONViewer/index.js +1 -1
  179. package/build/components/LanguageDropdown/index.js +1 -1
  180. package/build/components/LazyImage/index.js +1 -1
  181. package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
  182. package/build/components/ListColumnFilter/index.js +1 -1
  183. package/build/components/ListHeader/index.js +1 -1
  184. package/build/components/ListLayout/index.js +1 -1
  185. package/build/components/Loader/index.js +1 -1
  186. package/build/components/MFWidgetLoader/index.js +1 -1
  187. package/build/components/MaskedText/index.js +1 -1
  188. package/build/components/Menu/index.js +1 -1
  189. package/build/components/MenuItem/index.js +1 -1
  190. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  191. package/build/components/MerchantLogo/index.js +1 -1
  192. package/build/components/MerchantsDropdown/index.js +1 -1
  193. package/build/components/MultiDatakeyDonut/index.js +1 -1
  194. package/build/components/MultiSelectDropdownButton/index.js +1 -1
  195. package/build/components/MultiSelectWithSearch/index.js +1 -1
  196. package/build/components/NestedDropdown/index.js +1 -1
  197. package/build/components/NoInternet/index.js +1 -1
  198. package/build/components/OpenFileInNewTab/index.js +1 -1
  199. package/build/components/PartnersFilter/index.js +1 -1
  200. package/build/components/PaymentSourceFilter/index.js +1 -1
  201. package/build/components/PhoneFilter/index.js +1 -1
  202. package/build/components/ProgressBar/index.js +1 -1
  203. package/build/components/ProgressRing/index.js +1 -1
  204. package/build/components/RFH/index.js +1 -1
  205. package/build/components/RadioButton/index.js +1 -1
  206. package/build/components/RadioGroup/index.js +1 -1
  207. package/build/components/RangeCalender/index.js +1 -1
  208. package/build/components/ReceiptsViewer/index.js +1 -1
  209. package/build/components/ReferenceTypeFilter/index.js +1 -1
  210. package/build/components/ResizableHeightInput/index.js +1 -1
  211. package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
  212. package/build/components/SalesChannelFilter/index.js +1 -1
  213. package/build/components/ScrollLoader/index.js +1 -1
  214. package/build/components/SearchButton/index.js +1 -1
  215. package/build/components/SearchListInput/index.js +1 -1
  216. package/build/components/SelectDropdown/index.js +1 -1
  217. package/build/components/SelectWithSearch/index.js +1 -1
  218. package/build/components/SimpleDialog/index.js +1 -1
  219. package/build/components/Skeleton/index.js +1 -1
  220. package/build/components/Slider/index.js +1 -1
  221. package/build/components/StatusBar/index.js +1 -1
  222. package/build/components/StatusButton/index.js +1 -1
  223. package/build/components/StatusChip/index.js +1 -1
  224. package/build/components/StatusChipWithCopy/index.js +1 -1
  225. package/build/components/StatusFilter/index.js +1 -1
  226. package/build/components/StatusGroupChips/index.js +1 -1
  227. package/build/components/StatusIcons/index.js +1 -1
  228. package/build/components/StatusLabel/index.js +1 -1
  229. package/build/components/TableCells/index.js +1 -1
  230. package/build/components/TableReports/index.js +1 -1
  231. package/build/components/Timepicker/index.js +1 -1
  232. package/build/components/Toaster/index.js +1 -1
  233. package/build/components/ToggleButtons/index.js +1 -1
  234. package/build/components/ToggleView/index.js +1 -1
  235. package/build/components/Toolbar/index.js +1 -1
  236. package/build/components/ToolbarIcon/index.js +1 -1
  237. package/build/components/TooltipChip/index.js +1 -1
  238. package/build/components/TreeDropdown/index.js +1 -1
  239. package/build/components/VAT/index.js +1 -1
  240. package/build/components/VerificationIcon/index.js +1 -1
  241. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  242. package/build/{utils → components/VirtualTables/SheetViewVirtualTable/features/resize/utils}/columnResizeStorage.d.ts +1 -12
  243. package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/index.d.ts +1 -0
  244. package/build/components/VirtualTables/index.js +1 -1
  245. package/build/components/Widget/index.js +1 -1
  246. package/build/components/Window/index.js +1 -1
  247. package/build/components/WindowAppIcon/index.js +1 -1
  248. package/build/components/WindowBackdrop/index.js +1 -1
  249. package/build/components/WindowSideBar/index.js +1 -1
  250. package/build/components/_v2/index.js +1 -1
  251. package/build/components/index.js +1 -1
  252. package/build/constants/apps.d.ts +305 -0
  253. package/build/constants/assets.d.ts +2 -0
  254. package/build/constants/index.js +1 -1
  255. package/build/hooks/index.js +1 -1
  256. package/build/index.js +1 -1
  257. package/build/types/table.d.ts +12 -0
  258. package/build/utils/index.d.ts +0 -1
  259. package/build/utils/index.js +1 -1
  260. package/build/utils/localStorage.d.ts +1 -1
  261. package/build/utils/number.d.ts +1 -0
  262. package/build/utils/string.d.ts +1 -0
  263. package/package.json +1 -1
  264. package/build/_chunks/chunk-3LIQ643G.js +0 -1
  265. package/build/_chunks/chunk-CLFGDQHO.js +0 -2
  266. package/build/_chunks/chunk-CMXGIGO4.js +0 -1
  267. package/build/_chunks/chunk-DRF3LFBX.js +0 -1
  268. package/build/_chunks/chunk-FKUGVREF.js +0 -1
  269. package/build/_chunks/chunk-GHLRF3MC.js +0 -1
  270. package/build/_chunks/chunk-JUPUIKIE.js +0 -1
  271. package/build/_chunks/chunk-KBSVOKU2.js +0 -1
  272. package/build/_chunks/chunk-NDUDVUKF.js +0 -1
  273. package/build/_chunks/chunk-NO3HOZ2C.js +0 -1
  274. package/build/_chunks/chunk-UNG2J6ET.js +0 -1
  275. package/build/_chunks/chunk-UXNHJGII.js +0 -2
  276. package/build/_chunks/chunk-VK5KUW6D.js +0 -2
  277. package/build/_chunks/chunk-YZE7KSZC.js +0 -1
@@ -1,2 +1,2 @@
1
- import {h,g,a,f,e as e$1,d,c}from'./chunk-UC2FJPBO.js';import {e}from'./chunk-NDUDVUKF.js';import {rd,jb,q}from'./chunk-VK5KUW6D.js';import {lk,ga,Qa,Bf,Xj,Va,Pa,Kf,Jf,Lf,If,Nf,wb,vb,nj,Xi,db,ij,A,v,z,C,Gg,Wi,t,oj}from'./chunk-UXNHJGII.js';import {memo,useId,useState,useRef,useEffect,useMemo,useCallback}from'react';import {useTranslation}from'react-i18next';import {useTheme}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function L({isActive:p,disableHover:o}){let[s,C]=useState(false),c=useTheme(),e=()=>{o||C(true);},i=()=>{C(false);},I=p?c.palette.common.white:c.palette.grey[700],u=s?c.palette.common.black:"transparent";return jsx("svg",{width:"27",height:"30",viewBox:"0 0 27 32",xmlns:"http://www.w3.org/2000/svg",children:jsxs("g",{id:"Group 140343",children:[jsx("path",{id:"Active",d:"M0 0H11C19.8366 0 27 7.16344 27 16C27 24.8366 19.8366 32 11 32H0V0Z",fill:u,fillOpacity:"0.1",onMouseEnter:e,onMouseLeave:i}),jsx("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M15.6941 15.0078C15.6494 15.0193 15.6083 15.043 15.5758 15.0769L12.5026 18.1501L12.5025 18.1501L15.5756 15.0769C15.6082 15.043 15.6493 15.0193 15.6941 15.0078ZM12.5619 18.7465C12.5426 18.7512 12.5227 18.7536 12.5026 18.7536C12.4363 18.7536 12.3727 18.7273 12.3258 18.6804L9.07581 15.4304C9.04012 15.3957 9.01559 15.3512 9.00535 15.3025C8.99511 15.2538 8.99963 15.2032 9.01833 15.1571C9.03703 15.111 9.06907 15.0715 9.11033 15.0437C9.13446 15.0275 9.16112 15.0156 9.18904 15.0086C9.16105 15.0156 9.13433 15.0275 9.11013 15.0438C9.06887 15.0716 9.03684 15.111 9.01814 15.1571C8.99944 15.2032 8.99492 15.2539 9.00516 15.3026C9.0154 15.3513 9.03993 15.3958 9.07562 15.4305L12.3256 18.6805C12.3725 18.7273 12.4361 18.7537 12.5024 18.7537C12.5226 18.7537 12.5426 18.7512 12.5619 18.7465ZM16.1965 15.342C16.1781 15.4301 16.1338 15.5105 16.0693 15.5731L12.8205 18.8219C12.7361 18.9063 12.6217 18.9537 12.5024 18.9537C12.3831 18.9537 12.2686 18.9062 12.1842 18.8219L8.93507 15.5728C8.87148 15.5105 8.82775 15.4308 8.80944 15.3437C8.79101 15.2561 8.79914 15.165 8.8328 15.082C8.86646 14.999 8.92412 14.9279 8.99839 14.8779C9.07266 14.8279 9.16022 14.8011 9.24978 14.8011C9.30998 14.8011 9.36958 14.8132 9.42503 14.8366C9.47997 14.8599 9.52973 14.8938 9.57144 14.9364L12.5024 17.8673L15.433 14.9368C15.5151 14.852 15.6273 14.803 15.7454 14.8002C15.836 14.798 15.9252 14.8233 16.0013 14.8728C16.0773 14.9222 16.1367 14.9935 16.1715 15.0772C16.2063 15.1609 16.2151 15.2533 16.1965 15.342Z",fill:I})]})})}var vt={inProgress:oj,initiated:oj,abandoned:t,cancelled:Wi,reversed:Gg,reports:C,search:z,chevronDown:v,unAuthorized:A,unSettled:ij,unCaptured:db,captured:Xi,authorized:nj,openFlag:vb,closedFlag:wb,unauthenticated:Nf,authenticated:If,paidOut:Lf,scheduled:Jf,checked:Kf,dashedChecked:Pa,deactivated:Va,destination:Xj,destinationReversed:Bf,outstanding:Qa,active:ga,inactive:lk};var Nt=memo(p=>{let{variant:o="inActive",badgeCount:s,icon:C,label:c$1,dropdownOptions:e$2,selectedStatus:i,onButtonBodyClick:I,iconMapper:u=vt,buttonSx:Bt,...bt}=p,St=rd(useId(),"status-button"),[Lt,M]=useState(0),{t:E}=useTranslation(),y=useRef(null),[T,f$1]=useState(null),[n,A]=useState(i??e$2?.[0]?.status);useEffect(()=>{i!==void 0&&A(i);},[i]);let d$1=useMemo(()=>!!e$2?.length,[e$2]),h$1=!!T&&Lt>1,l=o==="active",x=useMemo(()=>l?"active":"inActive",[l]),m=useMemo(()=>n?e$2?.find(t=>t.status===n):null,[n,e$2]),kt=useMemo(()=>{if(m?.icon)return jsx(h,{variant:o,children:m.icon});let t=n&&u[n]?n:C;if(t&&u[t])return jsx(g,{icon:t,variant:o,src:u[t],alt:`${t}-icon`})},[m,n,u,C,o]),wt=useMemo(()=>!s||Number.isNaN(jb(s))?null:jsx(e,{variant:x,children:q(Number(s))}),[s,x]),H=useMemo(()=>d$1?jsx(L,{isActive:l}):null,[d$1,l]);useEffect(()=>{l||(M(0),f$1(null));},[l]);let g$1=useCallback(()=>{f$1(null);},[]),P=useCallback(()=>{d$1&&f$1(h$1?null:y.current);},[d$1,h$1]),Mt=useCallback(t=>{t.stopPropagation(),p?.onClick?.(t),I?.(n||e$2?.[0]?.status||"all"),P(),M(B=>B+1);},[p,I,n,e$2,P]),D=useCallback(t=>B=>{t?.onClick?.(B),A(t.status),g$1();},[g$1]),Et=useMemo(()=>e$2?.map(t=>({...t,onClick:D(t)}))||[],[e$2,D]),yt=a[o],Tt=useMemo(()=>m?.label||(n?E(n):c$1),[m,n,E,c$1]);return jsxs(Fragment,{children:[jsx(yt,{id:St,"data-testid":"StatusButton",...bt,ref:y,onClick:Mt,statusVariant:o,sx:{...d$1&&{paddingInlineEnd:"27px"},...Bt},children:jsxs(f,{children:[jsxs(e$1,{variant:o,children:[kt,Tt,wt]}),H&&jsx(d,{children:H})]})}),h$1&&d$1&&jsx(c,{open:h$1,onClose:g$1,anchorEl:T,menuItems:Et})]})}),gt=Nt;var en=gt;
1
+ import {h,g,a,f,e as e$1,d,c}from'./chunk-O7VXWCQH.js';import {e}from'./chunk-Z45UP3A4.js';import {pd,kb,r}from'./chunk-ST43DROT.js';import {nk,ga,Qa,Df,Zj,Va,Pa,Mf,Lf,Nf,Kf,Pf,wb,vb,pj,Zi,db,kj,A,v,z,C,Ig,Yi,t,qj}from'./chunk-IUXIBZV3.js';import {memo,useId,useState,useRef,useEffect,useMemo,useCallback}from'react';import {useTranslation}from'react-i18next';import {useTheme}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function L({isActive:p,disableHover:o}){let[s,C]=useState(false),c=useTheme(),e=()=>{o||C(true);},i=()=>{C(false);},I=p?c.palette.common.white:c.palette.grey[700],u=s?c.palette.common.black:"transparent";return jsx("svg",{width:"27",height:"30",viewBox:"0 0 27 32",xmlns:"http://www.w3.org/2000/svg",children:jsxs("g",{id:"Group 140343",children:[jsx("path",{id:"Active",d:"M0 0H11C19.8366 0 27 7.16344 27 16C27 24.8366 19.8366 32 11 32H0V0Z",fill:u,fillOpacity:"0.1",onMouseEnter:e,onMouseLeave:i}),jsx("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M15.6941 15.0078C15.6494 15.0193 15.6083 15.043 15.5758 15.0769L12.5026 18.1501L12.5025 18.1501L15.5756 15.0769C15.6082 15.043 15.6493 15.0193 15.6941 15.0078ZM12.5619 18.7465C12.5426 18.7512 12.5227 18.7536 12.5026 18.7536C12.4363 18.7536 12.3727 18.7273 12.3258 18.6804L9.07581 15.4304C9.04012 15.3957 9.01559 15.3512 9.00535 15.3025C8.99511 15.2538 8.99963 15.2032 9.01833 15.1571C9.03703 15.111 9.06907 15.0715 9.11033 15.0437C9.13446 15.0275 9.16112 15.0156 9.18904 15.0086C9.16105 15.0156 9.13433 15.0275 9.11013 15.0438C9.06887 15.0716 9.03684 15.111 9.01814 15.1571C8.99944 15.2032 8.99492 15.2539 9.00516 15.3026C9.0154 15.3513 9.03993 15.3958 9.07562 15.4305L12.3256 18.6805C12.3725 18.7273 12.4361 18.7537 12.5024 18.7537C12.5226 18.7537 12.5426 18.7512 12.5619 18.7465ZM16.1965 15.342C16.1781 15.4301 16.1338 15.5105 16.0693 15.5731L12.8205 18.8219C12.7361 18.9063 12.6217 18.9537 12.5024 18.9537C12.3831 18.9537 12.2686 18.9062 12.1842 18.8219L8.93507 15.5728C8.87148 15.5105 8.82775 15.4308 8.80944 15.3437C8.79101 15.2561 8.79914 15.165 8.8328 15.082C8.86646 14.999 8.92412 14.9279 8.99839 14.8779C9.07266 14.8279 9.16022 14.8011 9.24978 14.8011C9.30998 14.8011 9.36958 14.8132 9.42503 14.8366C9.47997 14.8599 9.52973 14.8938 9.57144 14.9364L12.5024 17.8673L15.433 14.9368C15.5151 14.852 15.6273 14.803 15.7454 14.8002C15.836 14.798 15.9252 14.8233 16.0013 14.8728C16.0773 14.9222 16.1367 14.9935 16.1715 15.0772C16.2063 15.1609 16.2151 15.2533 16.1965 15.342Z",fill:I})]})})}var vt={inProgress:qj,initiated:qj,abandoned:t,cancelled:Yi,reversed:Ig,reports:C,search:z,chevronDown:v,unAuthorized:A,unSettled:kj,unCaptured:db,captured:Zi,authorized:pj,openFlag:vb,closedFlag:wb,unauthenticated:Pf,authenticated:Kf,paidOut:Nf,scheduled:Lf,checked:Mf,dashedChecked:Pa,deactivated:Va,destination:Zj,destinationReversed:Df,outstanding:Qa,active:ga,inactive:nk};var Nt=memo(p=>{let{variant:o="inActive",badgeCount:s,icon:C,label:c$1,dropdownOptions:e$2,selectedStatus:i,onButtonBodyClick:I,iconMapper:u=vt,buttonSx:Bt,...bt}=p,St=pd(useId(),"status-button"),[Lt,M]=useState(0),{t:E}=useTranslation(),y=useRef(null),[T,f$1]=useState(null),[n,A]=useState(i??e$2?.[0]?.status);useEffect(()=>{i!==void 0&&A(i);},[i]);let d$1=useMemo(()=>!!e$2?.length,[e$2]),h$1=!!T&&Lt>1,l=o==="active",x=useMemo(()=>l?"active":"inActive",[l]),m=useMemo(()=>n?e$2?.find(t=>t.status===n):null,[n,e$2]),kt=useMemo(()=>{if(m?.icon)return jsx(h,{variant:o,children:m.icon});let t=n&&u[n]?n:C;if(t&&u[t])return jsx(g,{icon:t,variant:o,src:u[t],alt:`${t}-icon`})},[m,n,u,C,o]),wt=useMemo(()=>!s||Number.isNaN(kb(s))?null:jsx(e,{variant:x,children:r(Number(s))}),[s,x]),H=useMemo(()=>d$1?jsx(L,{isActive:l}):null,[d$1,l]);useEffect(()=>{l||(M(0),f$1(null));},[l]);let g$1=useCallback(()=>{f$1(null);},[]),P=useCallback(()=>{d$1&&f$1(h$1?null:y.current);},[d$1,h$1]),Mt=useCallback(t=>{t.stopPropagation(),p?.onClick?.(t),I?.(n||e$2?.[0]?.status||"all"),P(),M(B=>B+1);},[p,I,n,e$2,P]),D=useCallback(t=>B=>{t?.onClick?.(B),A(t.status),g$1();},[g$1]),Et=useMemo(()=>e$2?.map(t=>({...t,onClick:D(t)}))||[],[e$2,D]),yt=a[o],Tt=useMemo(()=>m?.label||(n?E(n):c$1),[m,n,E,c$1]);return jsxs(Fragment,{children:[jsx(yt,{id:St,"data-testid":"StatusButton",...bt,ref:y,onClick:Mt,statusVariant:o,sx:{...d$1&&{paddingInlineEnd:"27px"},...Bt},children:jsxs(f,{children:[jsxs(e$1,{variant:o,children:[kt,Tt,wt]}),H&&jsx(d,{children:H})]})}),h$1&&d$1&&jsx(c,{open:h$1,onClose:g$1,anchorEl:T,menuItems:Et})]})}),gt=Nt;var en=gt;
2
2
  export{L as a,en as b};
@@ -1 +1 @@
1
- import {rd,gb}from'./chunk-VK5KUW6D.js';import {memo,useId}from'react';import d from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var r=styled("span")(()=>({fontWeight:400})),p=styled(d)(()=>({fontWeight:700,fontSize:"11px",display:"flex",alignItems:"center",cursor:"default",whiteSpace:"nowrap",overflow:"auto"}));function a({amount:i,currencyCode:s,...u}){let l=rd(useId(),"display-amount"),{integerAmount:c,decimalAmount:f}=gb(i,s);return jsxs(p,{...u,id:l,"data-testid":"DisplayAmount",children:[jsx("span",{children:c}),jsx("span",{children:"."}),jsx(r,{children:f})]})}a.displayName="DisplayAmount";var m=memo(a);var P=m;export{P as a};
1
+ import {pd,hb}from'./chunk-ST43DROT.js';import {memo,useId}from'react';import d from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var r=styled("span")(()=>({fontWeight:400})),p=styled(d)(()=>({fontWeight:700,fontSize:"11px",display:"flex",alignItems:"center",cursor:"default",whiteSpace:"nowrap",overflow:"auto"}));function a({amount:i,currencyCode:s,...u}){let l=pd(useId(),"display-amount"),{integerAmount:c,decimalAmount:f}=hb(i,s);return jsxs(p,{...u,id:l,"data-testid":"DisplayAmount",children:[jsx("span",{children:c}),jsx("span",{children:"."}),jsx(r,{children:f})]})}a.displayName="DisplayAmount";var m=memo(a);var P=m;export{P as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-FI3GFV7P.js';import {rd,Mc}from'./chunk-VK5KUW6D.js';import {ph,mj,ga,ed,Hi,D,$j,B,sb}from'./chunk-UXNHJGII.js';import {useId,useMemo,useState,useCallback}from'react';import {useTranslation}from'react-i18next';import b from'@mui/material/Box';import V from'@mui/material/Popper';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var L=styled(b)(({theme:n})=>({background:n.palette.common.white,borderRadius:"4px",filter:"drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.16))",minWidth:148,width:"max-content",marginTop:"8px"})),l=styled(b,{shouldForwardProp:n=>n!=="open"})(({theme:n,open:s})=>({display:"flex",alignItems:"center",justifyContent:"space-between",height:32,padding:"8px 8px 8px 12px",cursor:"pointer",fontSize:"11px",fontWeight:500,color:n.palette.text.primary,"&:hover":{boxShadow:n.shadows[3]},...s&&{boxShadow:n.shadows[3]}})),u=styled(b)(()=>({display:"flex",alignItems:"center",gap:"8px"})),d=styled("img")(()=>({width:16,height:16,objectFit:"contain"})),$=styled(b)(()=>({height:27,display:"flex",alignItems:"center",padding:"0 12px",fontFamily:"Tap Sans",fontWeight:500,fontSize:"11px",lineHeight:"100%",letterSpacing:"0%",color:"#8D8D94",pointerEvents:"none",userSelect:"none"}));var F={refund:$j,flag:D,viewReceipt:Hi,viewApi:ed,capture:ga,void:mj,clipboard:ph};var X=({anchorEl:n,onClose:s,actions:h=[],linkedActions:M=[]})=>{let v=rd(useId(),"actions-dropdown-menu"),{t:E}=useTranslation(),I=!!n,f=useMemo(()=>h.filter(e=>e.isShown!==false),[h]),g=useMemo(()=>M.filter(e=>e.isShown!==false),[M]);return I?jsxs(b,{id:v,"data-testid":"ActionsDropdownMenu",children:[jsx(a,{onClick:s}),jsx(V,{open:I,anchorEl:n,placement:"bottom-end",sx:{zIndex:1e3},children:jsxs(L,{children:[f.map((e,r)=>jsx(l,{onClick:p=>{p.stopPropagation(),e.onClick?.(p);},sx:r===f.length-1&&g.length>0?{borderBottom:"1px solid",borderColor:"divider"}:void 0,children:jsxs(u,{children:[jsx(d,{src:F[e.icon]??e.icon??B,alt:"action-icon"}),jsx("span",{children:e.label})]})},`direct-${r}`)),g.length>0&&jsx($,{children:E("linkedActions")}),g.map(({render:e,icon:r,label:p,onClick:T,onRightClick:i},c)=>{let m=e?.();return e&&!m?null:m?jsx(b,{children:m},`linked-${c}`):jsxs(l,{onClick:a=>{a.stopPropagation(),T?.(a),s();},onContextMenu:i?a=>{i(a);}:void 0,children:[jsxs(u,{children:[r&&jsx(d,{src:r,alt:"linked-action-icon"}),jsx("span",{children:p})]}),jsx("img",{src:sb,alt:""})]},`linked-${c}`)})]})})]}):null};var ne=({appCode:n,appIcon:s,appName:h,appInfo:M,menuItems:v})=>{let[E,I]=useState(null),f=!!E,g=useCallback(i=>{let c=i.currentTarget.firstElementChild;I(c);},[]),e=useCallback(()=>{I(null);},[]),r=useMemo(()=>v?.filter(({isShown:i=true})=>i),[v]);if(!r?.length)return null;let p=M?.iconUrl??s,T=Mc(M?.name)??h;return jsxs(b,{onMouseEnter:g,onMouseLeave:e,children:[jsxs(l,{open:f,children:[jsxs(u,{children:[p&&jsx(d,{src:p,alt:"app"}),jsx("span",{children:T})]}),jsx("img",{src:sb,alt:""})]}),jsx(V,{open:f,anchorEl:E,placement:"left-start",sx:{zIndex:1301},children:jsx(L,{sx:{marginTop:0},children:r.map(({render:i,label:c,icon:m,onClick:a,onContextMenu:k},J)=>jsx(b,{children:i?.()??jsx(l,{onClick:C=>{C.stopPropagation(),a?.(C);},onContextMenu:k?C=>{k(C);}:void 0,children:jsxs(u,{children:[m&&jsx(d,{src:m,alt:"icon"}),jsx("span",{children:c})]})})},`app-${J}`))})})]})};export{X as a,ne as b};
1
+ import {a}from'./chunk-FHJWJ53U.js';import {pd,Oc}from'./chunk-ST43DROT.js';import {rh,oj,ga,ed,Ji,D,bk,B,sb}from'./chunk-IUXIBZV3.js';import {useId,useMemo,useState,useCallback}from'react';import {useTranslation}from'react-i18next';import b from'@mui/material/Box';import V from'@mui/material/Popper';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var L=styled(b)(({theme:n})=>({background:n.palette.common.white,borderRadius:"4px",filter:"drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.16))",minWidth:148,width:"max-content",marginTop:"8px"})),l=styled(b,{shouldForwardProp:n=>n!=="open"})(({theme:n,open:s})=>({display:"flex",alignItems:"center",justifyContent:"space-between",height:32,padding:"8px 8px 8px 12px",cursor:"pointer",fontSize:"11px",fontWeight:500,color:n.palette.text.primary,"&:hover":{boxShadow:n.shadows[3]},...s&&{boxShadow:n.shadows[3]}})),u=styled(b)(()=>({display:"flex",alignItems:"center",gap:"8px"})),d=styled("img")(()=>({width:16,height:16,objectFit:"contain"})),$=styled(b)(()=>({height:27,display:"flex",alignItems:"center",padding:"0 12px",fontFamily:"Tap Sans",fontWeight:500,fontSize:"11px",lineHeight:"100%",letterSpacing:"0%",color:"#8D8D94",pointerEvents:"none",userSelect:"none"}));var F={refund:bk,flag:D,viewReceipt:Ji,viewApi:ed,capture:ga,void:oj,clipboard:rh};var X=({anchorEl:n,onClose:s,actions:h=[],linkedActions:M=[]})=>{let v=pd(useId(),"actions-dropdown-menu"),{t:E}=useTranslation(),I=!!n,f=useMemo(()=>h.filter(e=>e.isShown!==false),[h]),g=useMemo(()=>M.filter(e=>e.isShown!==false),[M]);return I?jsxs(b,{id:v,"data-testid":"ActionsDropdownMenu",children:[jsx(a,{onClick:s}),jsx(V,{open:I,anchorEl:n,placement:"bottom-end",sx:{zIndex:1e3},children:jsxs(L,{children:[f.map((e,r)=>jsx(l,{onClick:p=>{p.stopPropagation(),e.onClick?.(p);},sx:r===f.length-1&&g.length>0?{borderBottom:"1px solid",borderColor:"divider"}:void 0,children:jsxs(u,{children:[jsx(d,{src:F[e.icon]??e.icon??B,alt:"action-icon"}),jsx("span",{children:e.label})]})},`direct-${r}`)),g.length>0&&jsx($,{children:E("linkedActions")}),g.map(({render:e,icon:r,label:p,onClick:T,onRightClick:i},c)=>{let m=e?.();return e&&!m?null:m?jsx(b,{children:m},`linked-${c}`):jsxs(l,{onClick:a=>{a.stopPropagation(),T?.(a),s();},onContextMenu:i?a=>{i(a);}:void 0,children:[jsxs(u,{children:[r&&jsx(d,{src:r,alt:"linked-action-icon"}),jsx("span",{children:p})]}),jsx("img",{src:sb,alt:""})]},`linked-${c}`)})]})})]}):null};var ne=({appCode:n,appIcon:s,appName:h,appInfo:M,menuItems:v})=>{let[E,I]=useState(null),f=!!E,g=useCallback(i=>{let c=i.currentTarget.firstElementChild;I(c);},[]),e=useCallback(()=>{I(null);},[]),r=useMemo(()=>v?.filter(({isShown:i=true})=>i),[v]);if(!r?.length)return null;let p=M?.iconUrl??s,T=Oc(M?.name)??h;return jsxs(b,{onMouseEnter:g,onMouseLeave:e,children:[jsxs(l,{open:f,children:[jsxs(u,{children:[p&&jsx(d,{src:p,alt:"app"}),jsx("span",{children:T})]}),jsx("img",{src:sb,alt:""})]}),jsx(V,{open:f,anchorEl:E,placement:"left-start",sx:{zIndex:1301},children:jsx(L,{sx:{marginTop:0},children:r.map(({render:i,label:c,icon:m,onClick:a,onContextMenu:k},J)=>jsx(b,{children:i?.()??jsx(l,{onClick:C=>{C.stopPropagation(),a?.(C);},onContextMenu:k?C=>{k(C);}:void 0,children:jsxs(u,{children:[m&&jsx(d,{src:m,alt:"icon"}),jsx("span",{children:c})]})})},`app-${J}`))})})]})};export{X as a,ne as b};
@@ -1 +1 @@
1
- import {rd}from'./chunk-VK5KUW6D.js';import {useId,useState,useRef,useMemo,useCallback,useEffect}from'react';import re from'@mui/material/Box';import {motion,AnimatePresence}from'framer-motion';import {styled}from'@mui/material/styles';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var v=3,h=24,B=styled("div")(()=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center"})),G=styled(motion.div)(()=>({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center"})),O=styled("div")(()=>({position:"relative",display:"inline-block",width:0,height:24,pointerEvents:"none"})),j=styled(motion.div)(({theme:i})=>({border:`1px solid ${i.palette.divider}`,borderRadius:12,height:24,display:"flex",alignItems:"center",justifyContent:"center",background:i.palette.background.paper,fontSize:12,position:"absolute",top:0,left:0,boxSizing:"border-box",whiteSpace:"nowrap",lineHeight:1,transition:"width 180ms ease-out, padding 180ms ease-out"})),F=styled(motion.div)(({theme:i})=>({border:`1px solid ${i.palette.divider}`,borderRadius:12,height:24,minWidth:24,display:"inline-flex",alignItems:"center",justifyContent:"center",background:i.palette.background.paper,overflow:"hidden",position:"relative",boxSizing:"border-box",whiteSpace:"nowrap",fontSize:12,lineHeight:1})),U={position:"relative",overflow:"visible",zIndex:1,display:"flex",alignItems:"center",justifyContent:"center"};function q({icons:i}){let[s,I]=useState(false),[l,R]=useState([]),P=useRef(null),S=useRef(null),y=useRef([]),e=useRef(null),u=i??[],b=Math.max(0,(u.length??1)-1),T=u[b],o=u.slice(0,b),{peekItems:w,mainShiftX:m,guardLeft:A,guardWidth:H}=useMemo(()=>{let t=o.length,D=l.length===t&&l.every(n=>n>0),g=-6*t,p=D?l.reduce((n,a)=>n+a,0):t*h,x=Math.max(0,t-1)*v,d=Math.round(s?g+p+v*t:0),E=t-1,C=-6*(E+1),z=[];for(let n=0;n<t;n++){let a=t-1-n,Z=-6*(n+1),ee=D?l.slice(0,a).reduce((_,ne)=>_+ne,0)+v*a:(h+v)*a,te=Math.round(n===E?C:C+ee);z.push({key:`peek-${n}`,rIdx:n,origIdx:a,offX:Z,hoverX:te,zIndex:t-n,refCb:_=>{y.current[a]=_;},content:o[a]});}let V=C,Y=p+x;return {peekItems:z,mainShiftX:d,guardLeft:V,guardWidth:Y}},[o,l,s]),r=useCallback(()=>{e.current&&(clearTimeout(e.current),e.current=null);},[]),f=useCallback(()=>{let g=o.map((p,x)=>{let d=y.current[x];if(!d)return h;let E=d.scrollWidth||h,C=Math.max(h,E+12+2);return Math.ceil(C)});R(p=>p.length===g.length&&p.every((x,d)=>x===g[d])?p:g);},[o.length]),K=useCallback(()=>{r(),I(true);},[r]),Q=useCallback(()=>{r(),e.current=setTimeout(()=>I(false),120);},[r]);return useEffect(()=>()=>r(),[r]),useEffect(()=>{f();},[o.length]),useEffect(()=>{if(!s)return;let t=window.requestAnimationFrame(()=>{f();});return ()=>window.cancelAnimationFrame(t)},[s,f]),{isHovering:s,handleMouseEnter:K,handleRootMouseLeave:Q,rootRef:P,mainChipRef:S,peekItems:w,mainShiftX:m,mainIcon:T,guardLeft:A,guardWidth:H}}function J({icons:i=[],expandedZIndex:s=1e3,sx:I}){let l=rd(useId(),"left-peek-right-expanding-chip"),{handleMouseEnter:R,handleRootMouseLeave:P,rootRef:S,mainChipRef:y,isHovering:e,peekItems:u,mainShiftX:b,mainIcon:T}=q({icons:i});return jsx(re,{id:l,sx:{...U,...I},"data-testid":"LeftPeekRightExpandingChipBox",children:jsx(B,{ref:S,onMouseLeave:P,onMouseEnter:R,children:jsxs(G,{"data-testid":"Container",initial:false,children:[jsx(O,{"data-testid":"PeekStack",onMouseEnter:R,onMouseLeave:P,style:{pointerEvents:e?"auto":"none"},children:jsx(AnimatePresence,{initial:false,children:u.map(({key:o,rIdx:w,offX:m,hoverX:A,zIndex:H,refCb:r,content:f})=>jsx(j,{"data-testid":`LeftPeekChip-${w}`,ref:r,initial:{opacity:0,scale:.95,x:m,y:0},animate:{opacity:1,scale:1,x:e?A:m,y:0},exit:{opacity:0,scale:.95,x:m,y:0},transition:{duration:.18,ease:"easeOut"},style:{zIndex:H,width:e?"auto":24,minWidth:24,padding:e?"0 6px":0,whiteSpace:"nowrap",overflow:e?"visible":"hidden",pointerEvents:e?"auto":"none"},children:e&&jsx(Fragment,{children:f})},o))})}),jsx(F,{"data-testid":"MainChip",ref:y,style:{zIndex:s+10,padding:"0 6px"},initial:false,animate:{x:e?b:0},transition:{duration:.18,ease:"easeOut"},children:T})]})})})}export{J as a};
1
+ import {pd}from'./chunk-ST43DROT.js';import {useId,useState,useRef,useMemo,useCallback,useEffect}from'react';import re from'@mui/material/Box';import {motion,AnimatePresence}from'framer-motion';import {styled}from'@mui/material/styles';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var v=3,h=24,B=styled("div")(()=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center"})),G=styled(motion.div)(()=>({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center"})),O=styled("div")(()=>({position:"relative",display:"inline-block",width:0,height:24,pointerEvents:"none"})),j=styled(motion.div)(({theme:i})=>({border:`1px solid ${i.palette.divider}`,borderRadius:12,height:24,display:"flex",alignItems:"center",justifyContent:"center",background:i.palette.background.paper,fontSize:12,position:"absolute",top:0,left:0,boxSizing:"border-box",whiteSpace:"nowrap",lineHeight:1,transition:"width 180ms ease-out, padding 180ms ease-out"})),F=styled(motion.div)(({theme:i})=>({border:`1px solid ${i.palette.divider}`,borderRadius:12,height:24,minWidth:24,display:"inline-flex",alignItems:"center",justifyContent:"center",background:i.palette.background.paper,overflow:"hidden",position:"relative",boxSizing:"border-box",whiteSpace:"nowrap",fontSize:12,lineHeight:1})),U={position:"relative",overflow:"visible",zIndex:1,display:"flex",alignItems:"center",justifyContent:"center"};function q({icons:i}){let[s,I]=useState(false),[l,R]=useState([]),P=useRef(null),S=useRef(null),y=useRef([]),e=useRef(null),u=i??[],b=Math.max(0,(u.length??1)-1),T=u[b],o=u.slice(0,b),{peekItems:w,mainShiftX:m,guardLeft:A,guardWidth:H}=useMemo(()=>{let t=o.length,D=l.length===t&&l.every(n=>n>0),g=-6*t,p=D?l.reduce((n,a)=>n+a,0):t*h,x=Math.max(0,t-1)*v,d=Math.round(s?g+p+v*t:0),E=t-1,C=-6*(E+1),z=[];for(let n=0;n<t;n++){let a=t-1-n,Z=-6*(n+1),ee=D?l.slice(0,a).reduce((_,ne)=>_+ne,0)+v*a:(h+v)*a,te=Math.round(n===E?C:C+ee);z.push({key:`peek-${n}`,rIdx:n,origIdx:a,offX:Z,hoverX:te,zIndex:t-n,refCb:_=>{y.current[a]=_;},content:o[a]});}let V=C,Y=p+x;return {peekItems:z,mainShiftX:d,guardLeft:V,guardWidth:Y}},[o,l,s]),r=useCallback(()=>{e.current&&(clearTimeout(e.current),e.current=null);},[]),f=useCallback(()=>{let g=o.map((p,x)=>{let d=y.current[x];if(!d)return h;let E=d.scrollWidth||h,C=Math.max(h,E+12+2);return Math.ceil(C)});R(p=>p.length===g.length&&p.every((x,d)=>x===g[d])?p:g);},[o.length]),K=useCallback(()=>{r(),I(true);},[r]),Q=useCallback(()=>{r(),e.current=setTimeout(()=>I(false),120);},[r]);return useEffect(()=>()=>r(),[r]),useEffect(()=>{f();},[o.length]),useEffect(()=>{if(!s)return;let t=window.requestAnimationFrame(()=>{f();});return ()=>window.cancelAnimationFrame(t)},[s,f]),{isHovering:s,handleMouseEnter:K,handleRootMouseLeave:Q,rootRef:P,mainChipRef:S,peekItems:w,mainShiftX:m,mainIcon:T,guardLeft:A,guardWidth:H}}function J({icons:i=[],expandedZIndex:s=1e3,sx:I}){let l=pd(useId(),"left-peek-right-expanding-chip"),{handleMouseEnter:R,handleRootMouseLeave:P,rootRef:S,mainChipRef:y,isHovering:e,peekItems:u,mainShiftX:b,mainIcon:T}=q({icons:i});return jsx(re,{id:l,sx:{...U,...I},"data-testid":"LeftPeekRightExpandingChipBox",children:jsx(B,{ref:S,onMouseLeave:P,onMouseEnter:R,children:jsxs(G,{"data-testid":"Container",initial:false,children:[jsx(O,{"data-testid":"PeekStack",onMouseEnter:R,onMouseLeave:P,style:{pointerEvents:e?"auto":"none"},children:jsx(AnimatePresence,{initial:false,children:u.map(({key:o,rIdx:w,offX:m,hoverX:A,zIndex:H,refCb:r,content:f})=>jsx(j,{"data-testid":`LeftPeekChip-${w}`,ref:r,initial:{opacity:0,scale:.95,x:m,y:0},animate:{opacity:1,scale:1,x:e?A:m,y:0},exit:{opacity:0,scale:.95,x:m,y:0},transition:{duration:.18,ease:"easeOut"},style:{zIndex:H,width:e?"auto":24,minWidth:24,padding:e?"0 6px":0,whiteSpace:"nowrap",overflow:e?"visible":"hidden",pointerEvents:e?"auto":"none"},children:e&&jsx(Fragment,{children:f})},o))})}),jsx(F,{"data-testid":"MainChip",ref:y,style:{zIndex:s+10,padding:"0 6px"},initial:false,animate:{x:e?b:0},transition:{duration:.18,ease:"easeOut"},children:T})]})})})}export{J as a};
@@ -1 +1 @@
1
- import {rd}from'./chunk-VK5KUW6D.js';import {useId}from'react';import {styled,DialogContent,Dialog}from'@mui/material';import {jsx}from'react/jsx-runtime';var i=styled(DialogContent)(({theme:o})=>({padding:o.spacing(2)})),a=styled(Dialog)(({theme:o})=>({"& .MuiDialog-paper":{boxShadow:o.shadows[13],borderRadius:o.spacing(1)},"& .MuiModal-backdrop":{background:"rgba(0, 0, 0, 0.20)"}}));function e(o){let{onClose:n,selectedValue:d,open:r,sx:s,children:g,...m}=o,D=rd(useId(),"simple-dialog");return jsx(a,{id:D,"data-testid":"SimpleDialog",onClose:()=>{n(d);},open:r,sx:s,...m,children:jsx(i,{children:g})})}var k=e;export{k as a};
1
+ import {pd}from'./chunk-ST43DROT.js';import {useId}from'react';import {styled,DialogContent,Dialog}from'@mui/material';import {jsx}from'react/jsx-runtime';var i=styled(DialogContent)(({theme:o})=>({padding:o.spacing(2)})),a=styled(Dialog)(({theme:o})=>({"& .MuiDialog-paper":{boxShadow:o.shadows[13],borderRadius:o.spacing(1)},"& .MuiModal-backdrop":{background:"rgba(0, 0, 0, 0.20)"}}));function e(o){let{onClose:n,selectedValue:d,open:r,sx:s,children:g,...m}=o,D=pd(useId(),"simple-dialog");return jsx(a,{id:D,"data-testid":"SimpleDialog",onClose:()=>{n(d);},open:r,sx:s,...m,children:jsx(i,{children:g})})}var k=e;export{k as a};
@@ -1 +1 @@
1
- import {b}from'./chunk-WJZDEGYS.js';import {rd}from'./chunk-VK5KUW6D.js';import {memo,useId}from'react';import {styled}from'@mui/material/styles';import {Box}from'@mui/material';import {jsx,jsxs}from'react/jsx-runtime';var p=styled(b)(()=>({backgroundColor:"#EFF1F2",border:"none",display:"flex",alignItems:"center",justifyContent:"center"})),i=styled("span")(()=>({display:"flex",alignItems:"center"}));function C({amount:s,currency:t,...a}){let u=rd(useId(),"amount-status-chip");return jsx(p,{id:u,"data-testid":"AmountStatusChip",disableAnimation:true,expandDirection:"left",...a,children:jsxs(Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",gap:"4px"},children:[t&&jsx(i,{children:t}),s]})})}var m=memo(C);var L=m;export{L as a};
1
+ import {b}from'./chunk-PUDF3MGR.js';import {pd}from'./chunk-ST43DROT.js';import {memo,useId}from'react';import {styled}from'@mui/material/styles';import {Box}from'@mui/material';import {jsx,jsxs}from'react/jsx-runtime';var p=styled(b)(()=>({backgroundColor:"#EFF1F2",border:"none",display:"flex",alignItems:"center",justifyContent:"center"})),i=styled("span")(()=>({display:"flex",alignItems:"center"}));function C({amount:s,currency:t,...a}){let u=pd(useId(),"amount-status-chip");return jsx(p,{id:u,"data-testid":"AmountStatusChip",disableAnimation:true,expandDirection:"left",...a,children:jsxs(Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",gap:"4px"},children:[t&&jsx(i,{children:t}),s]})})}var m=memo(C);var L=m;export{L as a};
@@ -0,0 +1 @@
1
+ import {e as e$2}from'./chunk-ICCHS4MG.js';import {a as a$1}from'./chunk-BVWMYKKV.js';import {a as a$2}from'./chunk-FHJWJ53U.js';import {a,f,e as e$1}from'./chunk-O7VXWCQH.js';import {e}from'./chunk-Z45UP3A4.js';import {kb,r,pd}from'./chunk-ST43DROT.js';import {zb}from'./chunk-IUXIBZV3.js';import {memo,useRef,useMemo,useCallback,useId,useState}from'react';import {styled,Typography,Box,Popper}from'@mui/material';import {useTranslation}from'react-i18next';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var O=styled(Typography)(()=>({display:"block",textAlign:"center",fontSize:"10px",fontWeight:500,color:"#8D8D94",padding:"24px 0"})),A=styled(Box,{shouldForwardProp:t=>t!=="isDisabled"})(({isDisabled:t})=>({display:"flex",justifyContent:"space-between",alignItems:"center",gap:"4px",...t&&{"& img":{opacity:.3}}}));var tt=memo(t=>{let{variant:e$2="inActive",badgeCount:o,label:r$1,...n}=t,s=useRef(null),m=useMemo(()=>!o||Number.isNaN(kb(o))?null:jsx(e,{variant:"inActive",children:r(Number(o))}),[o]),u=useCallback(p=>{p.stopPropagation(),t?.onClick?.(p);},[t]),l=a[e$2];return jsx(l,{"data-testid":"MultiSelectStatusButton",...n,ref:s,onClick:u,statusVariant:e$2,children:jsx(f,{children:jsxs(e$1,{variant:e$2,children:[r$1,m]})})})}),V=tt;function W(t){let e=new Set;return t.filter(o=>e.has(o.value)?false:(e.add(o.value),true))}function h(t,e){let o=e.toLowerCase();return t.reduce((r,n)=>{if(n.options?.length){let s=h(n.options,e);s.length&&r.push({...n,options:s});}else (n.placeholder?.toLowerCase().includes(o)||n.value.toLowerCase().includes(o))&&r.push(n);return r},[])}function it({buttonLabel:t,onClear:e,onConfirm:o,dropdownItems:r,apiKey:n,data:s,styles:m,buttonDisabled:u,searchable:l,searchPlaceholder:p}){let{t:Q}=useTranslation(),Y=p??`${Q("search")}...`,$=pd(useId(),"multi-select-dropdown-button"),[C,b]=useState(null),[a,d]=useState(""),G=c=>{b(c.currentTarget);},g=()=>{b(null),d("");},x=!!C,L=s?.[n],J=Array.isArray(L)?L.length:0,S=useMemo(()=>{if(!r)return r;let c=W(r);return !l||!a?c:h(c,a)},[l,a,r]),v=l&&!!a&&S?.length===0,U=l?jsxs(Fragment,{children:[jsx(a$1,{name:"multi-select-search",value:a,placeholder:Y,onSearchChange:d,onSearchReset:()=>d(""),sx:{pt:0}}),v&&jsx(O,{children:"No results found"})]}):void 0;return jsxs("div",{id:$,"data-testid":"MultiSelectDropdownButton",children:[jsx(V,{onClick:G,label:jsxs(A,{isDisabled:u,children:[t,jsx("img",{src:zb,alt:"arrow-down"})]}),disabled:u,badgeCount:J}),x&&jsx(a$2,{onClick:g}),jsx(Popper,{open:x,anchorEl:C,placement:"bottom-start",sx:{zIndex:9999},children:jsx(e$2,{onCloseDropdown:g,filter:{apiKey:n,data:s,onClear:e,onConfirm:o,options:S,type:"list"},styles:{...m,height:v?"auto":"300px",overflowY:"scroll",maxWidth:"200px"},header:U,searchable:l})})]})}var z=memo(it);var At=z;export{At as a};
@@ -1,2 +1,2 @@
1
- import {rd}from'./chunk-VK5KUW6D.js';import {memo,useId}from'react';import {Box}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import W from'@mui/material/Accordion';import $ from'@mui/material/AccordionDetails';import T from'@mui/material/AccordionSummary';import {styled}from'@mui/material/styles';function f({sx:o}){return jsx(Box,{component:"span",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",transition:"transform 0.2s ease",transform:"rotate(0deg)",...o},children:jsx("svg",{width:"9",height:"5",viewBox:"0 0 9 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M0.0501709 0.427246C0.0493864 0.478467 0.0592757 0.529176 0.0784912 0.57666C0.0976579 0.623937 0.125505 0.667471 0.161499 0.703613L3.82556 4.47803C3.86116 4.51465 3.90353 4.54403 3.95056 4.56396C3.99773 4.58391 4.04876 4.59422 4.09998 4.59424C4.15123 4.59424 4.20218 4.58392 4.24939 4.56396C4.29655 4.54401 4.33969 4.51476 4.37537 4.47803L8.03845 0.703613C8.07407 0.667816 8.10232 0.625348 8.12146 0.578613C8.14069 0.531638 8.15017 0.480932 8.14978 0.430176C8.14935 0.379519 8.13942 0.329298 8.11951 0.282715C8.09956 0.236042 8.06999 0.19405 8.03357 0.158691C7.99716 0.123349 7.95384 0.0952198 7.90662 0.0766602C7.8595 0.0582058 7.80878 0.0491929 7.75818 0.050293C7.70763 0.0514427 7.65792 0.0629948 7.61169 0.0834961C7.56537 0.104067 7.52346 0.13358 7.48865 0.17041L4.09998 3.65967L0.711304 0.17041C0.65912 0.115154 0.592066 0.0759001 0.517944 0.059082C0.443585 0.0422622 0.365385 0.0481013 0.294312 0.0756836C0.22324 0.103266 0.162075 0.15178 0.11853 0.214355C0.0750125 0.276905 0.05135 0.351058 0.0501709 0.427246Z",fill:"#20232B",stroke:"#20232B",strokeWidth:"0.1"})})})}f.displayName="AccordionExpandIcon";var i=memo(f);var A="#f2f2f2",G="#fbfbfb",u=styled(W)(({theme:o})=>({overflow:"hidden",border:`1px solid ${A}`,borderWidth:1,borderRadius:o.shape.borderRadius,margin:0,background:o.palette.background.paper,"&:before":{content:"unset"},"&.Mui-expanded":{margin:0}})),g=styled(T)(()=>({background:G,minHeight:"40px",height:"40px",padding:"10px","&.Mui-expanded":{minHeight:"40px",height:"40px"},"& .MuiAccordionSummary-content":{margin:0,display:"flex",flexDirection:"row",alignItems:"center",flexGrow:1,minWidth:0,gap:10},"& .MuiAccordionSummary-expandIconWrapper":{marginLeft:8}})),h=styled($)(()=>({padding:0,borderTop:`1px solid ${A}`}));function C({expanded:o,onChange:I,label:w,content:S,labelStartAdornment:a,labelEndAdornment:p,slotProps:r={},disabled:L=false,expandIcon:B}){let e=rd(useId()),E=`accordion-${e}`,l=`accordion-content-${e}`,s=`accordion-label-${e}`,{showArrow:m,...P}=r?.label??{},R=m===true||m===void 0,k=jsxs(Fragment,{children:[a!=null&&jsx(Box,{component:"span",sx:{flexShrink:0},children:a}),jsx(Box,{component:"span",sx:{minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},children:w}),p!=null&&jsx(Box,{component:"span",sx:{flexShrink:0,marginLeft:"auto"},children:p})]}),v=B??(R?jsx(i,{}):null);return jsxs(u,{id:E,"data-testid":"Accordion",disabled:L,expanded:o,onChange:()=>I(!o),...r.root,children:[jsx(g,{"aria-controls":l,"aria-expanded":o,expandIcon:v,id:s,...P,children:k}),jsx(h,{id:l,role:"region","aria-labelledby":s,...r.content,children:S})]})}C.displayName="Accordion";var b=memo(C);var io=b;
1
+ import {pd}from'./chunk-ST43DROT.js';import {memo,useId}from'react';import {Box}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import W from'@mui/material/Accordion';import $ from'@mui/material/AccordionDetails';import T from'@mui/material/AccordionSummary';import {styled}from'@mui/material/styles';function f({sx:o}){return jsx(Box,{component:"span",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",transition:"transform 0.2s ease",transform:"rotate(0deg)",...o},children:jsx("svg",{width:"9",height:"5",viewBox:"0 0 9 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M0.0501709 0.427246C0.0493864 0.478467 0.0592757 0.529176 0.0784912 0.57666C0.0976579 0.623937 0.125505 0.667471 0.161499 0.703613L3.82556 4.47803C3.86116 4.51465 3.90353 4.54403 3.95056 4.56396C3.99773 4.58391 4.04876 4.59422 4.09998 4.59424C4.15123 4.59424 4.20218 4.58392 4.24939 4.56396C4.29655 4.54401 4.33969 4.51476 4.37537 4.47803L8.03845 0.703613C8.07407 0.667816 8.10232 0.625348 8.12146 0.578613C8.14069 0.531638 8.15017 0.480932 8.14978 0.430176C8.14935 0.379519 8.13942 0.329298 8.11951 0.282715C8.09956 0.236042 8.06999 0.19405 8.03357 0.158691C7.99716 0.123349 7.95384 0.0952198 7.90662 0.0766602C7.8595 0.0582058 7.80878 0.0491929 7.75818 0.050293C7.70763 0.0514427 7.65792 0.0629948 7.61169 0.0834961C7.56537 0.104067 7.52346 0.13358 7.48865 0.17041L4.09998 3.65967L0.711304 0.17041C0.65912 0.115154 0.592066 0.0759001 0.517944 0.059082C0.443585 0.0422622 0.365385 0.0481013 0.294312 0.0756836C0.22324 0.103266 0.162075 0.15178 0.11853 0.214355C0.0750125 0.276905 0.05135 0.351058 0.0501709 0.427246Z",fill:"#20232B",stroke:"#20232B",strokeWidth:"0.1"})})})}f.displayName="AccordionExpandIcon";var i=memo(f);var A="#f2f2f2",G="#fbfbfb",u=styled(W)(({theme:o})=>({overflow:"hidden",border:`1px solid ${A}`,borderWidth:1,borderRadius:o.shape.borderRadius,margin:0,background:o.palette.background.paper,"&:before":{content:"unset"},"&.Mui-expanded":{margin:0}})),g=styled(T)(()=>({background:G,minHeight:"40px",height:"40px",padding:"10px","&.Mui-expanded":{minHeight:"40px",height:"40px"},"& .MuiAccordionSummary-content":{margin:0,display:"flex",flexDirection:"row",alignItems:"center",flexGrow:1,minWidth:0,gap:10},"& .MuiAccordionSummary-expandIconWrapper":{marginLeft:8}})),h=styled($)(()=>({padding:0,borderTop:`1px solid ${A}`}));function C({expanded:o,onChange:I,label:w,content:S,labelStartAdornment:a,labelEndAdornment:p,slotProps:r={},disabled:L=false,expandIcon:B}){let e=pd(useId()),E=`accordion-${e}`,l=`accordion-content-${e}`,s=`accordion-label-${e}`,{showArrow:m,...P}=r?.label??{},R=m===true||m===void 0,k=jsxs(Fragment,{children:[a!=null&&jsx(Box,{component:"span",sx:{flexShrink:0},children:a}),jsx(Box,{component:"span",sx:{minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},children:w}),p!=null&&jsx(Box,{component:"span",sx:{flexShrink:0,marginLeft:"auto"},children:p})]}),v=B??(R?jsx(i,{}):null);return jsxs(u,{id:E,"data-testid":"Accordion",disabled:L,expanded:o,onChange:()=>I(!o),...r.root,children:[jsx(g,{"aria-controls":l,"aria-expanded":o,expandIcon:v,id:s,...P,children:k}),jsx(h,{id:l,role:"region","aria-labelledby":s,...r.content,children:S})]})}C.displayName="Accordion";var b=memo(C);var io=b;
2
2
  export{i as a,io as b};
@@ -1 +1 @@
1
- import {rd}from'./chunk-VK5KUW6D.js';import {memo,useId}from'react';import s from'react-dom';import {styled,Box}from'@mui/material';import {jsx}from'react/jsx-runtime';var t=styled(Box)(()=>({position:"fixed",top:0,bottom:0,right:0,left:0,zIndex:999}));function a(m){let p=rd(useId(),"custom-backdrop");return s.createPortal(jsx(t,{...m,id:p,"data-testid":"CustomBackdrop"}),document.body)}var r=memo(a);var b=r;export{b as a};
1
+ import {pd}from'./chunk-ST43DROT.js';import {memo,useId}from'react';import s from'react-dom';import {styled,Box}from'@mui/material';import {jsx}from'react/jsx-runtime';var t=styled(Box)(()=>({position:"fixed",top:0,bottom:0,right:0,left:0,zIndex:999}));function a(m){let p=pd(useId(),"custom-backdrop");return s.createPortal(jsx(t,{...m,id:p,"data-testid":"CustomBackdrop"}),document.body)}var r=memo(a);var b=r;export{b as a};
@@ -1 +1 @@
1
- import {rd}from'./chunk-VK5KUW6D.js';import {memo,useId}from'react';import {createPortal}from'react-dom';import e from'@mui/material/Backdrop';import {alpha}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';function n(r){let p=rd(useId(),"window-backdrop");return createPortal(jsx(e,{id:p,sx:{zIndex:1,backgroundColor:d=>alpha(d.palette.common.black,.3)},...r}),document.body)}var i=memo(n);export{i as a};
1
+ import {pd}from'./chunk-ST43DROT.js';import {memo,useId}from'react';import {createPortal}from'react-dom';import e from'@mui/material/Backdrop';import {alpha}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';function n(r){let p=pd(useId(),"window-backdrop");return createPortal(jsx(e,{id:p,sx:{zIndex:1,backgroundColor:d=>alpha(d.palette.common.black,.3)},...r}),document.body)}var i=memo(n);export{i as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-Z45F23G6.js';import {memo}from'react';import t from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var d=styled(t)(({theme:o})=>({display:"flex",gap:o.spacing(1),insetInlineStart:o.spacing(1.25),zIndex:1}));styled(t)(({theme:o})=>({width:12,height:12,borderRadius:"50%",cursor:"pointer",backgroundColor:`${o.palette.grey[200]}14`,display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s ease-in-out",img:{opacity:"0",transition:"all 0.2s ease-in-out"},"&:active":{backgroundColor:`${o.palette.grey[200]} !important`}}));var l=styled(t)(({theme:o})=>({display:"flex",height:"2rem",justifyContent:"space-between",alignItems:"center",width:"100%",paddingLeft:o.spacing(1.25),paddingRight:o.spacing(1.25),"& > *":{flex:"1 1 0px;"}})),p=styled("div",{shouldForwardProp:o=>o!=="sandboxMode"&&o!=="maximized"&&o!=="isDragging"})(({maximized:o,isDragging:r})=>({...!o&&{borderTopRightRadius:12,borderTopLeftRadius:12},...r&&{cursor:"move"},margin:0})),I=styled(t,{shouldForwardProp:o=>o!=="maximized"&&o!=="isDragging"})(({isDragging:o})=>({...o&&{cursor:"move"},margin:0})),s=styled(t,{shouldForwardProp:o=>o!=="maximized"&&o!=="isHovered"})(({theme:o,maximized:r})=>({height:32,position:"relative",display:"flex",width:"100%",justifyContent:"center",transition:"all 0.5s ease-in-out",borderTopLeftRadius:"12px",borderTopRightRadius:"12px",...r&&{display:"block !important",position:"fixed",right:0,left:0,zIndex:999,background:"transparent",".toolbar-wrapper":{display:"flex",justifyContent:"space-between",gap:10,alignItems:"center",position:"absolute",right:0,left:0,height:"2rem",".action-box":{visibility:"hidden"}},"&:hover":{".toolbar-wrapper":{top:0},".action-box":{visibility:"visible"}}},":hover":{".header-icon":{backgroundColor:`${o.palette.grey[200]}40`},".header-icon img":{opacity:1}}})),f=styled(p)(()=>({position:"sticky",top:0,left:0,right:0,zIndex:1e3,background:"#eaeaea",backdropFilter:"blur(32px)"}));function v({onMouseEnter:o,onMouseLeave:r,isMaximized:g,isHovered:m,children:w,rightActions:x,leftActions:a$1,title:b,icon:y,...u}){return jsx(s,{onMouseEnter:o,onMouseLeave:r,maximized:g,id:"toolbar","data-testid":"Toolbar",isHovered:m,...u,children:jsxs(l,{className:"toolbar-wrapper",children:[a$1?jsx(d,{className:"action-box",children:a$1}):jsx("div",{}),jsx(a,{title:b,icon:y}),x||jsx("div",{})]})})}var c=memo(v);var D=c;export{p as a,I as b,f as c,D as d};
1
+ import {a}from'./chunk-WAJXXB2B.js';import {memo}from'react';import t from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var d=styled(t)(({theme:o})=>({display:"flex",gap:o.spacing(1),insetInlineStart:o.spacing(1.25),zIndex:1}));styled(t)(({theme:o})=>({width:12,height:12,borderRadius:"50%",cursor:"pointer",backgroundColor:`${o.palette.grey[200]}14`,display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s ease-in-out",img:{opacity:"0",transition:"all 0.2s ease-in-out"},"&:active":{backgroundColor:`${o.palette.grey[200]} !important`}}));var l=styled(t)(({theme:o})=>({display:"flex",height:"2rem",justifyContent:"space-between",alignItems:"center",width:"100%",paddingLeft:o.spacing(1.25),paddingRight:o.spacing(1.25),"& > *":{flex:"1 1 0px;"}})),p=styled("div",{shouldForwardProp:o=>o!=="sandboxMode"&&o!=="maximized"&&o!=="isDragging"})(({maximized:o,isDragging:r})=>({...!o&&{borderTopRightRadius:12,borderTopLeftRadius:12},...r&&{cursor:"move"},margin:0})),I=styled(t,{shouldForwardProp:o=>o!=="maximized"&&o!=="isDragging"})(({isDragging:o})=>({...o&&{cursor:"move"},margin:0})),s=styled(t,{shouldForwardProp:o=>o!=="maximized"&&o!=="isHovered"})(({theme:o,maximized:r})=>({height:32,position:"relative",display:"flex",width:"100%",justifyContent:"center",transition:"all 0.5s ease-in-out",borderTopLeftRadius:"12px",borderTopRightRadius:"12px",...r&&{display:"block !important",position:"fixed",right:0,left:0,zIndex:999,background:"transparent",".toolbar-wrapper":{display:"flex",justifyContent:"space-between",gap:10,alignItems:"center",position:"absolute",right:0,left:0,height:"2rem",".action-box":{visibility:"hidden"}},"&:hover":{".toolbar-wrapper":{top:0},".action-box":{visibility:"visible"}}},":hover":{".header-icon":{backgroundColor:`${o.palette.grey[200]}40`},".header-icon img":{opacity:1}}})),f=styled(p)(()=>({position:"sticky",top:0,left:0,right:0,zIndex:1e3,background:"#eaeaea",backdropFilter:"blur(32px)"}));function v({onMouseEnter:o,onMouseLeave:r,isMaximized:g,isHovered:m,children:w,rightActions:x,leftActions:a$1,title:b,icon:y,...u}){return jsx(s,{onMouseEnter:o,onMouseLeave:r,maximized:g,id:"toolbar","data-testid":"Toolbar",isHovered:m,...u,children:jsxs(l,{className:"toolbar-wrapper",children:[a$1?jsx(d,{className:"action-box",children:a$1}):jsx("div",{}),jsx(a,{title:b,icon:y}),x||jsx("div",{})]})})}var c=memo(v);var D=c;export{p as a,I as b,f as c,D as d};
@@ -1 +1 @@
1
- import {a}from'./chunk-U56RESPD.js';import {d}from'./chunk-A5EBGV3E.js';import {rd}from'./chunk-VK5KUW6D.js';import {memo,useState,useId}from'react';import l from'@mui/material/Box';import {styled}from'@mui/material/styles';import {motion}from'framer-motion';import {jsx}from'react/jsx-runtime';var c=styled(motion.div)(({theme:o})=>({borderRadius:"8px",position:"fixed",display:"flex",flexDirection:"column",maxHeight:"calc(100vh - 46px)",width:416,margin:"auto",background:o.palette.grey[400],boxShadow:o.shadows[3]})),C=styled(l)(({theme:o})=>({background:o.palette.common.white,flex:1,paddingTop:"31px",paddingBottom:"31px",display:"flex",justifyContent:"flex-start",alignItems:"center",flexDirection:"column",position:"relative",overflow:"auto"})),b=styled(l)(({theme:o})=>({minHeight:95,background:o.palette.grey[400],paddingInline:"24px",paddingTop:"23px",paddingBottom:"23px",gap:"15px",position:"relative",zIndex:2})),h=styled(l)(({theme:o})=>({display:"flex",flexDirection:"column",padding:"18px 24px",boxShadow:o.shadows[15],position:"relative",gap:8,minHeight:68,backgroundColor:o.palette.common.white,borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px"}));function p({children:o,index:e,dialogRef:a,height:t,onClick:r,order:s,dragControls:d,style:m}){let n=rd(useId(),"dialog");return jsx(c,{id:n,"data-testid":"Dialog",drag:true,dragListener:false,dragMomentum:false,dragControls:d,initial:{top:"50%",left:`calc(50% + ${e*10}px - ${416/2}px)`},transition:{duration:.1},animate:{...t&&{top:`calc(50% + ${e*10}px - ${t/2}px)`},zIndex:2+s},onClick:r,ref:a,style:m,children:o})}function L({title:o,onCloseDialog:e,...a$1}){let[t,r]=useState(false);return jsx(d,{onMouseEnter:()=>{r(true);},onMouseLeave:()=>{r(false);},isHovered:t,title:o,leftActions:jsx(a,{onClick:n=>{n.stopPropagation(),e();}}),...a$1})}var M=memo(L);var K=p;export{C as a,b,h as c,M as d,K as e};
1
+ import {a}from'./chunk-OY6MZ77P.js';import {d}from'./chunk-FU5YS27X.js';import {pd}from'./chunk-ST43DROT.js';import {memo,useState,useId}from'react';import l from'@mui/material/Box';import {styled}from'@mui/material/styles';import {motion}from'framer-motion';import {jsx}from'react/jsx-runtime';var c=styled(motion.div)(({theme:o})=>({borderRadius:"8px",position:"fixed",display:"flex",flexDirection:"column",maxHeight:"calc(100vh - 46px)",width:416,margin:"auto",background:o.palette.grey[400],boxShadow:o.shadows[3]})),C=styled(l)(({theme:o})=>({background:o.palette.common.white,flex:1,paddingTop:"31px",paddingBottom:"31px",display:"flex",justifyContent:"flex-start",alignItems:"center",flexDirection:"column",position:"relative",overflow:"auto"})),b=styled(l)(({theme:o})=>({minHeight:95,background:o.palette.grey[400],paddingInline:"24px",paddingTop:"23px",paddingBottom:"23px",gap:"15px",position:"relative",zIndex:2})),h=styled(l)(({theme:o})=>({display:"flex",flexDirection:"column",padding:"18px 24px",boxShadow:o.shadows[15],position:"relative",gap:8,minHeight:68,backgroundColor:o.palette.common.white,borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px"}));function p({children:o,index:e,dialogRef:a,height:t,onClick:r,order:s,dragControls:d,style:m}){let n=pd(useId(),"dialog");return jsx(c,{id:n,"data-testid":"Dialog",drag:true,dragListener:false,dragMomentum:false,dragControls:d,initial:{top:"50%",left:`calc(50% + ${e*10}px - ${416/2}px)`},transition:{duration:.1},animate:{...t&&{top:`calc(50% + ${e*10}px - ${t/2}px)`},zIndex:2+s},onClick:r,ref:a,style:m,children:o})}function L({title:o,onCloseDialog:e,...a$1}){let[t,r]=useState(false);return jsx(d,{onMouseEnter:()=>{r(true);},onMouseLeave:()=>{r(false);},isHovered:t,title:o,leftActions:jsx(a,{onClick:n=>{n.stopPropagation(),e();}}),...a$1})}var M=memo(L);var K=p;export{C as a,b,h as c,M as d,K as e};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-IWLYUUDJ.js';import {rd}from'./chunk-VK5KUW6D.js';import {forwardRef,useId,useMemo,Children,useCallback,memo}from'react';import C from'@mui/material/Popper';import y from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var a=styled(y,{shouldForwardProp:o=>o!=="showShadow"})(({theme:o,showShadow:e})=>({borderRadius:o.spacing(.5),background:o.palette.background.default,width:"max-content",cursor:"pointer",boxShadow:o.shadows[11],display:"flex",flexDirection:"column",overflowY:"scroll",maxHeight:"432px","&:focus":{outline:"none"},".menu-item + .menu-item":{borderTop:`1px solid ${o.palette.divider}`},"&::after":{content:'""',width:"100%",height:"34px",position:"fixed",bottom:0,pointerEvents:"none",zIndex:999999,background:"linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%)",transition:o.transitions.create("opacity",{duration:250}),...e?{opacity:1}:{opacity:0}}}));var R=forwardRef(({open:o,anchorEl:e,children:r,sx:c,placement:m,popperSx:u,dropdownProps:w,...f},h)=>{let x=rd(useId(),"menu"),{onScrollHandler:t,showShadow:S}=a$1(),{onScroll:n,...P}=w||{},b=useMemo(()=>Children.count(r),[r])>12&&S,g=useCallback(p=>{t(p),n?.(p);},[t,n]);return jsx(C,{ref:h,id:x,"data-testid":"Menu",open:o,anchorEl:e,placement:m||"bottom-start",sx:u,...f,children:jsx(a,{showShadow:b,onScroll:g,className:"MuiPopper-dropdown",sx:c,...P,children:r})},"menu")}),l=memo(R);var K=l;export{K as a};
1
+ import {a as a$1}from'./chunk-IWLYUUDJ.js';import {pd}from'./chunk-ST43DROT.js';import {forwardRef,useId,useMemo,Children,useCallback,memo}from'react';import C from'@mui/material/Popper';import y from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var a=styled(y,{shouldForwardProp:o=>o!=="showShadow"})(({theme:o,showShadow:e})=>({borderRadius:o.spacing(.5),background:o.palette.background.default,width:"max-content",cursor:"pointer",boxShadow:o.shadows[11],display:"flex",flexDirection:"column",overflowY:"scroll",maxHeight:"432px","&:focus":{outline:"none"},".menu-item + .menu-item":{borderTop:`1px solid ${o.palette.divider}`},"&::after":{content:'""',width:"100%",height:"34px",position:"fixed",bottom:0,pointerEvents:"none",zIndex:999999,background:"linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%)",transition:o.transitions.create("opacity",{duration:250}),...e?{opacity:1}:{opacity:0}}}));var R=forwardRef(({open:o,anchorEl:e,children:r,sx:c,placement:m,popperSx:u,dropdownProps:w,...f},h)=>{let x=pd(useId(),"menu"),{onScrollHandler:t,showShadow:S}=a$1(),{onScroll:n,...P}=w||{},b=useMemo(()=>Children.count(r),[r])>12&&S,g=useCallback(p=>{t(p),n?.(p);},[t,n]);return jsx(C,{ref:h,id:x,"data-testid":"Menu",open:o,anchorEl:e,placement:m||"bottom-start",sx:u,...f,children:jsx(a,{showShadow:b,onScroll:g,className:"MuiPopper-dropdown",sx:c,...P,children:r})},"menu")}),l=memo(R);var K=l;export{K as a};
@@ -1 +1 @@
1
- import {rd}from'./chunk-VK5KUW6D.js';import {w}from'./chunk-UXNHJGII.js';import {memo,useId,useCallback}from'react';import {Slider}from'@mui/material';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var p=["0px 0px 1.25px 0px rgba(0, 0, 0, 0.1)","0px 1.25px 1.25px 0px rgba(0, 0, 0, 0.09)","0px 3.75px 2.5px 0px rgba(0, 0, 0, 0.05)","0px 7.5px 2.5px 0px rgba(0, 0, 0, 0.01)","0px 11.25px 3.75px 0px rgba(0, 0, 0, 0)"].join(", "),d=styled(Slider)(({theme:e})=>({color:e.palette.info.dark,height:8,padding:0,"& .MuiSlider-rail":{backgroundColor:"#CFCFCF",opacity:1},"& .MuiSlider-thumb":{height:20,width:20,backgroundColor:e.palette.common.white,border:"none",backgroundImage:`url(${w})`,backgroundRepeat:"no-repeat",backgroundPosition:"center",boxShadow:p,"&:focus, &:hover, &.Mui-active, &.Mui-focusVisible":{boxShadow:p}}}));function t({value:e,min:a,max:n,step:l,disabled:m,onChange:r}){let u=rd(useId(),"slider"),b=useCallback((k,x)=>{r(x);},[r]);return jsx(d,{id:u,"data-testid":"Slider",value:e,min:a,max:n,step:l,disabled:m,onChange:b})}t.displayName="Slider";var h=memo(t);export{h as a};
1
+ import {pd}from'./chunk-ST43DROT.js';import {w}from'./chunk-IUXIBZV3.js';import {memo,useId,useCallback}from'react';import {Slider}from'@mui/material';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var p=["0px 0px 1.25px 0px rgba(0, 0, 0, 0.1)","0px 1.25px 1.25px 0px rgba(0, 0, 0, 0.09)","0px 3.75px 2.5px 0px rgba(0, 0, 0, 0.05)","0px 7.5px 2.5px 0px rgba(0, 0, 0, 0.01)","0px 11.25px 3.75px 0px rgba(0, 0, 0, 0)"].join(", "),d=styled(Slider)(({theme:e})=>({color:e.palette.info.dark,height:8,padding:0,"& .MuiSlider-rail":{backgroundColor:"#CFCFCF",opacity:1},"& .MuiSlider-thumb":{height:20,width:20,backgroundColor:e.palette.common.white,border:"none",backgroundImage:`url(${w})`,backgroundRepeat:"no-repeat",backgroundPosition:"center",boxShadow:p,"&:focus, &:hover, &.Mui-active, &.Mui-focusVisible":{boxShadow:p}}}));function t({value:e,min:a,max:n,step:l,disabled:m,onChange:r}){let u=pd(useId(),"slider"),b=useCallback((k,x)=>{r(x);},[r]);return jsx(d,{id:u,"data-testid":"Slider",value:e,min:a,max:n,step:l,disabled:m,onChange:b})}t.displayName="Slider";var h=memo(t);export{h as a};