@tap-payments/os-micro-frontend-shared 0.3.24 → 0.3.26

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 (278) hide show
  1. package/build/_chunks/{chunk-3YKJUWWB.js → chunk-2F5UHWUK.js} +1 -1
  2. package/build/_chunks/{chunk-HJKPNO3I.js → chunk-2SAVSJOF.js} +2 -2
  3. package/build/_chunks/{chunk-KLCY2YI6.js → chunk-36PSBV34.js} +1 -1
  4. package/build/_chunks/{chunk-AUPWLCLI.js → chunk-3H2FKFEM.js} +1 -1
  5. package/build/_chunks/chunk-3LIQ643G.js +1 -0
  6. package/build/_chunks/{chunk-BUZSH442.js → chunk-3S4LF7G5.js} +1 -1
  7. package/build/_chunks/{chunk-ANOXSE2S.js → chunk-4J7JR6L4.js} +1 -1
  8. package/build/_chunks/{chunk-YSC5EG4X.js → chunk-4ZMVLRYE.js} +1 -1
  9. package/build/_chunks/{chunk-WSEANWV7.js → chunk-53CXIVBW.js} +1 -1
  10. package/build/_chunks/{chunk-AJTE7RIV.js → chunk-57KAR2NJ.js} +1 -1
  11. package/build/_chunks/{chunk-VGVSJ6N7.js → chunk-57OJVP24.js} +1 -1
  12. package/build/_chunks/{chunk-QGHEU5F7.js → chunk-5E376TB7.js} +1 -1
  13. package/build/_chunks/{chunk-63D5FBGI.js → chunk-5GFL3K4W.js} +1 -1
  14. package/build/_chunks/{chunk-RLMN26CG.js → chunk-5P5I4QIT.js} +1 -1
  15. package/build/_chunks/{chunk-Q5WIAW5Y.js → chunk-6OVHJZE7.js} +1 -1
  16. package/build/_chunks/{chunk-FPMFUWBJ.js → chunk-6S7FTOOW.js} +1 -1
  17. package/build/_chunks/{chunk-SITDNHYH.js → chunk-6YSSPM35.js} +1 -1
  18. package/build/_chunks/{chunk-CNP2ZH3D.js → chunk-76XVB4PW.js} +1 -1
  19. package/build/_chunks/{chunk-YUVBOGSF.js → chunk-7HNHGPPK.js} +1 -1
  20. package/build/_chunks/{chunk-ETFM7U4Z.js → chunk-A57CAC7Y.js} +1 -1
  21. package/build/_chunks/{chunk-RII5BIQS.js → chunk-A6EHZVAH.js} +1 -1
  22. package/build/_chunks/{chunk-6FAL5LD2.js → chunk-ACJR7NZD.js} +1 -1
  23. package/build/_chunks/{chunk-N7RBYF54.js → chunk-ADOTWCIC.js} +1 -1
  24. package/build/_chunks/chunk-AOHCQL6Y.js +1 -0
  25. package/build/_chunks/{chunk-CIA54DVF.js → chunk-B7UKE6SE.js} +1 -1
  26. package/build/_chunks/{chunk-K64WFXBV.js → chunk-BTXYSJYN.js} +1 -1
  27. package/build/_chunks/{chunk-R2GDIHAA.js → chunk-BZQ5W767.js} +1 -1
  28. package/build/_chunks/chunk-CAAZPM5F.js +1 -0
  29. package/build/_chunks/{chunk-LTBQB6YT.js → chunk-CFVDYNS6.js} +2 -2
  30. package/build/_chunks/{chunk-NNPPEW63.js → chunk-CQDV6ZUO.js} +1 -1
  31. package/build/_chunks/{chunk-WXY33BTH.js → chunk-CYEKBQ6T.js} +1 -1
  32. package/build/_chunks/{chunk-KEZQE3CD.js → chunk-D5QHIC6H.js} +1 -1
  33. package/build/_chunks/{chunk-NARYDOW3.js → chunk-DTWPSNLN.js} +1 -1
  34. package/build/_chunks/{chunk-MFVDLYWK.js → chunk-EL5ND3BO.js} +1 -1
  35. package/build/_chunks/{chunk-TL3CMNPD.js → chunk-ELZWDVNL.js} +1 -1
  36. package/build/_chunks/{chunk-WBFA4U2R.js → chunk-EXYXUDM2.js} +1 -1
  37. package/build/_chunks/{chunk-ACGGYCQB.js → chunk-EZXI6AWM.js} +1 -1
  38. package/build/_chunks/{chunk-6EPTWQND.js → chunk-FAEP7AKK.js} +1 -1
  39. package/build/_chunks/{chunk-EM6JDDXZ.js → chunk-FBSJM6TS.js} +1 -1
  40. package/build/_chunks/chunk-GAHD5K3C.js +1 -0
  41. package/build/_chunks/{chunk-BETTYIWS.js → chunk-GKHGFWGS.js} +1 -1
  42. package/build/_chunks/{chunk-T26A5J3X.js → chunk-GZW6P2JM.js} +1 -1
  43. package/build/_chunks/{chunk-GIP3WZ3B.js → chunk-HCWNPVT5.js} +1 -1
  44. package/build/_chunks/{chunk-AQH3MJQ4.js → chunk-HO53XW44.js} +1 -1
  45. package/build/_chunks/{chunk-N25BR34L.js → chunk-IE4OP26Q.js} +1 -1
  46. package/build/_chunks/{chunk-PDMBTTEG.js → chunk-IJZ2DNTJ.js} +1 -1
  47. package/build/_chunks/{chunk-4RIEICQI.js → chunk-IKSZIBOG.js} +1 -1
  48. package/build/_chunks/{chunk-6ELD5RYQ.js → chunk-ITVV5ET6.js} +1 -1
  49. package/build/_chunks/chunk-IVN25H55.js +1 -0
  50. package/build/_chunks/{chunk-V34LNH5V.js → chunk-IZUBEMHY.js} +1 -1
  51. package/build/_chunks/{chunk-Z2W2KHAP.js → chunk-J42N6DXP.js} +1 -1
  52. package/build/_chunks/{chunk-DWA6Z5XA.js → chunk-K3YIFU5D.js} +1 -1
  53. package/build/_chunks/{chunk-4NAWPFUX.js → chunk-KIFH24WH.js} +2 -2
  54. package/build/_chunks/{chunk-INCH7SIB.js → chunk-KLW5ETPS.js} +1 -1
  55. package/build/_chunks/{chunk-PHQHA2GI.js → chunk-KWOTUJAR.js} +1 -1
  56. package/build/_chunks/{chunk-4I6A3XUI.js → chunk-MDJAYVJ2.js} +1 -1
  57. package/build/_chunks/{chunk-UWSQZIBH.js → chunk-MIPQ47DY.js} +1 -1
  58. package/build/_chunks/{chunk-NEV27NX5.js → chunk-NAEGTUUJ.js} +1 -1
  59. package/build/_chunks/chunk-NLKH4VHH.js +1 -0
  60. package/build/_chunks/{chunk-V7TNYS2C.js → chunk-OKBR62OT.js} +1 -1
  61. package/build/_chunks/{chunk-LKUYGY5S.js → chunk-OVCGWCUR.js} +1 -1
  62. package/build/_chunks/{chunk-5K4H4NAK.js → chunk-OZGP5TFX.js} +1 -1
  63. package/build/_chunks/{chunk-FB45RTTM.js → chunk-P2B2SJ5V.js} +1 -1
  64. package/build/_chunks/{chunk-3QR5AG2I.js → chunk-PBHG7PBH.js} +1 -1
  65. package/build/_chunks/{chunk-3PS6MAKA.js → chunk-PRF6A3QO.js} +1 -1
  66. package/build/_chunks/{chunk-ANQGH3DN.js → chunk-PYBWJIF7.js} +1 -1
  67. package/build/_chunks/{chunk-2BKMXGJD.js → chunk-QN6673G2.js} +1 -1
  68. package/build/_chunks/{chunk-B2VJES6J.js → chunk-QNAPE7OZ.js} +1 -1
  69. package/build/_chunks/{chunk-QTBWOL4I.js → chunk-QP7KFNIL.js} +1 -1
  70. package/build/_chunks/{chunk-WCONVMTO.js → chunk-QWKBL7HI.js} +1 -1
  71. package/build/_chunks/{chunk-HOXTV7TY.js → chunk-RBR2CSI7.js} +1 -1
  72. package/build/_chunks/{chunk-EFAPSF5T.js → chunk-REIAIVH2.js} +1 -1
  73. package/build/_chunks/{chunk-PYLNZMVW.js → chunk-SBXIDSB4.js} +1 -1
  74. package/build/_chunks/{chunk-OKRK373K.js → chunk-SJHTKY6A.js} +1 -1
  75. package/build/_chunks/chunk-SQSHZHNU.js +2 -0
  76. package/build/_chunks/{chunk-B4G67NIW.js → chunk-SW5LLESH.js} +1 -1
  77. package/build/_chunks/{chunk-U4PD2XXV.js → chunk-T2BNZF7B.js} +1 -1
  78. package/build/_chunks/{chunk-UUN4QNJO.js → chunk-T6LARU2R.js} +1 -1
  79. package/build/_chunks/{chunk-M2ECD4A4.js → chunk-T7PCBIIS.js} +1 -1
  80. package/build/_chunks/{chunk-TGFF3I35.js → chunk-TAKCEGAL.js} +1 -1
  81. package/build/_chunks/{chunk-Y4L5NLFN.js → chunk-TCN5LUDZ.js} +1 -1
  82. package/build/_chunks/chunk-TCRSTQKE.js +1 -0
  83. package/build/_chunks/{chunk-EU5WSDTU.js → chunk-TTVZUQ33.js} +1 -1
  84. package/build/_chunks/chunk-TYXU3I32.js +1 -0
  85. package/build/_chunks/{chunk-AORE7STJ.js → chunk-U56RESPD.js} +1 -1
  86. package/build/_chunks/chunk-UOATUOCC.js +1 -0
  87. package/build/_chunks/{chunk-KMSWSXXF.js → chunk-UPRQPEXX.js} +1 -1
  88. package/build/_chunks/{chunk-RYJOZPAF.js → chunk-UQRG4LEP.js} +1 -1
  89. package/build/_chunks/chunk-UXNHJGII.js +2 -0
  90. package/build/_chunks/{chunk-3MSVD6QL.js → chunk-UZBGADMN.js} +1 -1
  91. package/build/_chunks/{chunk-RNL5KELU.js → chunk-V22AOA37.js} +1 -1
  92. package/build/_chunks/chunk-VHRTL7LZ.js +2 -0
  93. package/build/_chunks/{chunk-Q2HXR4MO.js → chunk-WFHF7CQR.js} +1 -1
  94. package/build/_chunks/{chunk-YNBDZCSW.js → chunk-WJGQOZIZ.js} +1 -1
  95. package/build/_chunks/{chunk-JJHSKRKJ.js → chunk-WM7IZGJP.js} +1 -1
  96. package/build/_chunks/{chunk-YCM3BGDH.js → chunk-WVIBFXIO.js} +1 -1
  97. package/build/_chunks/{chunk-66CBZLKZ.js → chunk-WWYXYRCB.js} +1 -1
  98. package/build/_chunks/{chunk-TTIELNXM.js → chunk-WXFUEGNW.js} +1 -1
  99. package/build/_chunks/{chunk-K5DEXBVY.js → chunk-WXJFYBUD.js} +1 -1
  100. package/build/_chunks/{chunk-4X7USAUR.js → chunk-X3X62AY2.js} +1 -1
  101. package/build/_chunks/{chunk-BWYFOV6L.js → chunk-X7YUC7WB.js} +1 -1
  102. package/build/_chunks/{chunk-WRZT6EBD.js → chunk-XI75MANX.js} +1 -1
  103. package/build/_chunks/{chunk-ZUGUIE2D.js → chunk-XIC3RPJG.js} +1 -1
  104. package/build/_chunks/{chunk-VD7NFBT3.js → chunk-XSXYUQNS.js} +1 -1
  105. package/build/_chunks/{chunk-5B2GMIJG.js → chunk-XVYGJ4M3.js} +1 -1
  106. package/build/_chunks/{chunk-LC5CY47F.js → chunk-Y3KC3YZF.js} +1 -1
  107. package/build/_chunks/chunk-YYCKRXKM.js +1 -0
  108. package/build/_chunks/{chunk-AMFEEOVW.js → chunk-Z4GHQG4Y.js} +1 -1
  109. package/build/_chunks/chunk-Z7XRCWOW.js +1 -0
  110. package/build/_chunks/chunk-ZLF47R2G.js +1 -0
  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/CustomCells/ApplicationStatusCell/ApplicationStatusCell.d.ts +1 -1
  230. package/build/components/TableCells/CustomCells/ApplicationStatusCell/type.d.ts +1 -0
  231. package/build/components/TableCells/index.js +1 -1
  232. package/build/components/TableReports/index.js +1 -1
  233. package/build/components/Timepicker/index.js +1 -1
  234. package/build/components/Toaster/index.js +1 -1
  235. package/build/components/ToggleButtons/index.js +1 -1
  236. package/build/components/ToggleView/index.js +1 -1
  237. package/build/components/Toolbar/index.js +1 -1
  238. package/build/components/ToolbarIcon/index.js +1 -1
  239. package/build/components/TooltipChip/index.js +1 -1
  240. package/build/components/TreeDropdown/index.js +1 -1
  241. package/build/components/VAT/index.js +1 -1
  242. package/build/components/VerificationIcon/index.js +1 -1
  243. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  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/assets.d.ts +1 -0
  253. package/build/constants/index.js +1 -1
  254. package/build/hooks/index.js +1 -1
  255. package/build/index.js +1 -1
  256. package/build/types/merchant.d.ts +1 -1
  257. package/build/utils/api.d.ts +0 -3
  258. package/build/utils/app.d.ts +0 -3
  259. package/build/utils/array.d.ts +0 -2
  260. package/build/utils/index.d.ts +0 -1
  261. package/build/utils/index.js +1 -1
  262. package/package.json +1 -1
  263. package/build/_chunks/chunk-62FH55I3.js +0 -2
  264. package/build/_chunks/chunk-6EJ42B4G.js +0 -1
  265. package/build/_chunks/chunk-77SJFMLW.js +0 -1
  266. package/build/_chunks/chunk-CA2AMSNS.js +0 -1
  267. package/build/_chunks/chunk-EAUSNSJY.js +0 -1
  268. package/build/_chunks/chunk-IV4LKDLY.js +0 -1
  269. package/build/_chunks/chunk-OLL5IVBN.js +0 -1
  270. package/build/_chunks/chunk-Q7UPYTDR.js +0 -2
  271. package/build/_chunks/chunk-QGR7WLJZ.js +0 -1
  272. package/build/_chunks/chunk-QHB72HWR.js +0 -1
  273. package/build/_chunks/chunk-TSOE254C.js +0 -1
  274. package/build/_chunks/chunk-UD4KYRMR.js +0 -1
  275. package/build/_chunks/chunk-XEL3GMIT.js +0 -2
  276. package/build/_chunks/chunk-XQKDP3ZC.js +0 -1
  277. package/build/_chunks/chunk-ZI2RJPEY.js +0 -1
  278. package/build/utils/axios.d.ts +0 -1
@@ -1 +1 @@
1
- import'./chunk-XEL3GMIT.js';import {memo,useState,useRef,useMemo,useEffect}from'react';import {useTheme}from'@mui/material';import {motion}from'framer-motion';import {Resizable}from're-resizable';import X from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var b={boxShadow:"rgba(17, 17, 26, 0.05) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px",display:"flex",flexDirection:"column",overflow:"visible",width:"-webkit-fill-available",height:"100% !important",margin:"auto"},x={position:"fixed",right:0,left:24,top:88,overflow:"visible",borderRadius:"12px"},C={width:"inherit",height:"inherit",gridRowStart:1,gridColumnStart:1,position:"relative",display:"flex",justifyContent:"center"},S=styled(motion.div,{shouldForwardProp:t=>t!=="maximized"})(({maximized:t})=>({overflow:"hidden",display:"flex",flexDirection:"column",width:"100%",height:"100%",zIndex:1,borderRadius:"12px",...t&&{transform:"translate(0,0) !important"}})),R=styled(X)(()=>({flexGrow:1})),w=styled(motion.div)(()=>({width:"inherit",height:"100%",overflow:"hidden",flexGrow:1,position:"relative",display:"grid",gridTemplateColumns:"1fr"}));function V({children:t,id:l,onResize:v,isMaximized:e,isMinimized:y,dragControls:H,onClick:n,options:{width:r,height:E,minHeight:D,minWidth:A,maxHeight:P,maxWidth:z,order:s,openOrder:i=1},sandboxMode:d=false,sx:T}){let m=useTheme(),[I,f]=useState(true),_=useRef(null),N=useRef(null),g=useRef(),G=()=>{f(true);},L=()=>{n?.(),f(false);},k=useMemo(()=>({...b,maxWidth:r,borderRadius:e?"0 !important":12,...!e&&{top:0},background:d?m.palette.common.lightOrange:m.palette.background.transparent[0],backdropFilter:"blur(32px)"}),[r,e,d]);return useEffect(()=>{g.current?.updateSize({width:e?"100vw":r,height:e?"100vh":"100%"});},[e,r]),jsx(R,{id:"app-container-wrapper","data-testid":"AppContainerWrapper",sx:T,children:jsx(w,{"data-testid":"AppContainerContainer",children:jsx(motion.div,{id:"app-content","data-add-id":l,"data-testid":"AppContent",ref:N,initial:C,children:jsx(S,{id:"content-wrapper",drag:!e&&I,dragMomentum:false,dragConstraints:false,onDragStart:n,onDragEnter:n,onClick:n,dragControls:H,dragListener:false,style:{...s&&{zIndex:Number(s)+3},...x,height:E},initial:{marginInline:"auto",scale:0,left:0,...!e&&{left:48*(i-1)}},animate:{width:r,...e&&{width:"100vw"},scale:+!y,top:e?0:88+24*(i-1),left:e?0:48*(i-1)},ref:_,maximized:e,transition:{duration:e?.3:0},children:jsx(Resizable,{"data-id":l,ref:u=>{g.current=u;},style:k,minHeight:D,minWidth:A,maxHeight:P,maxWidth:z,onResizeStart:L,onResizeStop:G,onResize:(u,Y,B)=>{v?.(B);},children:t})})})})})}var W=memo(V);var ge=W;export{ge as a};
1
+ import'./chunk-UXNHJGII.js';import {memo,useState,useRef,useMemo,useEffect}from'react';import {useTheme}from'@mui/material';import {motion}from'framer-motion';import {Resizable}from're-resizable';import X from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var b={boxShadow:"rgba(17, 17, 26, 0.05) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px",display:"flex",flexDirection:"column",overflow:"visible",width:"-webkit-fill-available",height:"100% !important",margin:"auto"},x={position:"fixed",right:0,left:24,top:88,overflow:"visible",borderRadius:"12px"},C={width:"inherit",height:"inherit",gridRowStart:1,gridColumnStart:1,position:"relative",display:"flex",justifyContent:"center"},S=styled(motion.div,{shouldForwardProp:t=>t!=="maximized"})(({maximized:t})=>({overflow:"hidden",display:"flex",flexDirection:"column",width:"100%",height:"100%",zIndex:1,borderRadius:"12px",...t&&{transform:"translate(0,0) !important"}})),R=styled(X)(()=>({flexGrow:1})),w=styled(motion.div)(()=>({width:"inherit",height:"100%",overflow:"hidden",flexGrow:1,position:"relative",display:"grid",gridTemplateColumns:"1fr"}));function V({children:t,id:l,onResize:v,isMaximized:e,isMinimized:y,dragControls:H,onClick:n,options:{width:r,height:E,minHeight:D,minWidth:A,maxHeight:P,maxWidth:z,order:s,openOrder:i=1},sandboxMode:d=false,sx:T}){let m=useTheme(),[I,f]=useState(true),_=useRef(null),N=useRef(null),g=useRef(),G=()=>{f(true);},L=()=>{n?.(),f(false);},k=useMemo(()=>({...b,maxWidth:r,borderRadius:e?"0 !important":12,...!e&&{top:0},background:d?m.palette.common.lightOrange:m.palette.background.transparent[0],backdropFilter:"blur(32px)"}),[r,e,d]);return useEffect(()=>{g.current?.updateSize({width:e?"100vw":r,height:e?"100vh":"100%"});},[e,r]),jsx(R,{id:"app-container-wrapper","data-testid":"AppContainerWrapper",sx:T,children:jsx(w,{"data-testid":"AppContainerContainer",children:jsx(motion.div,{id:"app-content","data-add-id":l,"data-testid":"AppContent",ref:N,initial:C,children:jsx(S,{id:"content-wrapper",drag:!e&&I,dragMomentum:false,dragConstraints:false,onDragStart:n,onDragEnter:n,onClick:n,dragControls:H,dragListener:false,style:{...s&&{zIndex:Number(s)+3},...x,height:E},initial:{marginInline:"auto",scale:0,left:0,...!e&&{left:48*(i-1)}},animate:{width:r,...e&&{width:"100vw"},scale:+!y,top:e?0:88+24*(i-1),left:e?0:48*(i-1)},ref:_,maximized:e,transition:{duration:e?.3:0},children:jsx(Resizable,{"data-id":l,ref:u=>{g.current=u;},style:k,minHeight:D,minWidth:A,maxHeight:P,maxWidth:z,onResizeStart:L,onResizeStop:G,onResize:(u,Y,B)=>{v?.(B);},children:t})})})})})}var W=memo(V);var ge=W;export{ge as a};
@@ -1 +1 @@
1
- import {a as a$2}from'./chunk-LKUYGY5S.js';import {a as a$3}from'./chunk-ACGGYCQB.js';import {a as a$1}from'./chunk-TGRKEJOI.js';import {a}from'./chunk-GNY2VGGW.js';import {Lc,Bd}from'./chunk-62FH55I3.js';import {oi,pi,vi,Vd}from'./chunk-XEL3GMIT.js';import {forwardRef,useState,useImperativeHandle,useEffect,useMemo,memo,useId}from'react';import {Button}from'@mui/material';import p from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {useTranslation}from'react-i18next';import {useDropzone}from'react-dropzone';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var G=styled(p)(()=>({textAlign:"center",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:"32px"})),u=styled(p)(()=>({paddingInline:"40px"})),d=styled(a,{shouldForwardProp:e=>e!=="isError"})(({theme:e,isError:i})=>({color:i?"#FF2000":e.palette.text.primary,fontSize:"18px",fontWeight:600,lineHeight:"20px",marginBottom:"8px"})),J=styled(p)(({theme:e})=>({color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"20px",padding:"4px 12px",borderRadius:"4px",border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,cursor:"pointer"})),g=styled(a)(({theme:e})=>({color:alpha(e.palette.text.primary,.7),fontSize:"12px",fontWeight:500,lineHeight:"20px"})),F=styled(p,{shouldForwardProp:e=>e!=="width"})(({theme:e,width:i})=>({width:i||431,minHeight:176,border:`1px dashed ${e.palette.secondary.light}`,borderRadius:"8px",padding:"24px 0",display:"flex",alignItems:"center",justifyContent:"center"})),h=styled(p)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"24px",color:e.palette.text.primary,fontSize:"14px",lineHeight:"20px",cursor:"default"})),K=styled("span")(()=>({fontWeight:600,textDecorationLine:"underline",cursor:"pointer"})),b=styled(p)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"8px",color:e.palette.text.primary})),z=styled(p)(({theme:e})=>({color:alpha(e.palette.text.primary,.7),fontSize:"12px",fontWeight:500,lineHeight:"20px"})),L=styled(Button)(({theme:e,disabled:i})=>({borderRadius:"4px",minWidth:"105px",background:i?alpha(e.palette.info.dark,.4):e.palette.info.dark,color:e.palette.common.white,padding:"4px 8px",fontSize:"9px",fontWeight:600,height:"32px",display:"flex",alignItems:"center",justifyContent:"center",textTransform:"none","&:hover":{background:e.palette.info.dark,opacity:.8},"&.Mui-disabled":{color:e.palette.common.white}})),O=styled(p)(()=>({display:"flex",gap:"8px",justifyContent:"center",alignItems:"center",padding:"6px",boxShadow:"0px 4px 40px 0px rgba(0, 0, 0, 0.19)",borderRadius:"4px"}));var X=forwardRef(({accept:e,footer:i,options:x,isCreateLoading:U,progress:te,error:R,errorHint:oe,subtitleComponent:S,isSuccess:P,onConfirm:re,isSendDisabled:ie,errorActionComponent:le,title:l,width:B,successFooter:pe,progressVariant:ne},ae)=>{let{t:n}=useTranslation(),[a,H]=useState([]),{getRootProps:de,getInputProps:se,open:f,acceptedFiles:j,isDragReject:M,fileRejections:s}=useDropzone(x);useImperativeHandle(ae,()=>({open:f}),[f]),useEffect(()=>{H(j);},[j]);let C=Lc(x?.maxSize||0,0).toUpperCase(),m=useMemo(()=>{let me=s.length&&s[0].errors.some(k=>k.code==="file-invalid-type"),ce=s.length&&s[0].errors.some(k=>k.code==="file-too-large");return M||me?n("invalidFileType"):ce?`File is larger than ${C}`:R},[M,R,s,C,n]),W=useMemo(()=>a.length?jsxs(b,{sx:{fontWeight:600},children:[jsx(p,{children:a[0].name}),jsx(z,{children:Lc(a[0].size)})]}):null,[a]);return P&&a.length&&!U?jsxs(Fragment,{children:[jsxs(u,{children:[typeof l=="string"?jsx(d,{children:l}):l??jsx(d,{children:"File uploaded"}),S]}),jsx(F,{width:B,children:jsxs(h,{children:[P&&jsx(p,{component:"img",src:oi,width:56,height:56}),W]})}),pe??jsxs(O,{children:[jsx(a$1,{onClick:()=>{H([]);},children:jsx(a$2,{src:pi,alt:"delete",sx:{width:14,height:14}})}),jsx(L,{disabled:ie,onClick:()=>{re?.(a);},children:"Bulk Send"})]})]}):U&&a.length?jsxs(Fragment,{children:[jsxs(u,{children:[l&&typeof l!="string"?l:jsxs(Fragment,{children:[jsx(d,{children:l??n("uploading")}),jsx(g,{children:n("wait")})]}),S]}),jsx(F,{width:B,children:jsxs(h,{children:[U&&jsx(a$3,{size:56,value:te,variant:ne}),W]})}),i]}):jsxs(Fragment,{children:[jsxs(u,{children:[m?jsx(d,{isError:true,children:m}):typeof l=="string"?jsx(d,{children:l}):l??jsx(d,{children:n("uploadBulkFile")}),S||!!m&&jsx(g,{children:"Supported formats: xls, xlxs"})]}),jsxs(F,{width:B,...de(),children:[jsx("input",{...se()}),jsxs(h,{"data-slot":"content",children:[jsx(p,{component:"img",src:m?vi:Vd,width:56,height:56}),oe,W,m?jsx(Fragment,{children:le||jsx(J,{onClick:f,children:n("uploadAgain")})}):jsxs(b,{children:[jsxs(p,{children:[jsx(K,{onClick:f,children:"Click to upload"})," or drag and drop"]}),jsxs(z,{children:["Maximum file size ",C]}),e&&jsx(g,{children:n("supportedFormats",{accept:e})})]})]})]}),i]})});X.displayName="FileUploadBase";var Y=memo(X);var _=forwardRef((e,i)=>{let x=Bd(useId(),"file-upload");return jsx(G,{id:x,"data-testid":"FileUpload","data-slot":"file-upload-wrapper",children:jsx(Y,{...e,ref:i})})});_.displayName="FileUpload";var ee=memo(_);var Qe=ee;export{Qe as a};
1
+ import {a as a$2}from'./chunk-OVCGWCUR.js';import {a as a$3}from'./chunk-EZXI6AWM.js';import {a as a$1}from'./chunk-TGRKEJOI.js';import {a}from'./chunk-GNY2VGGW.js';import {Dc,sd}from'./chunk-VHRTL7LZ.js';import {pi,qi,wi,Vd}from'./chunk-UXNHJGII.js';import {forwardRef,useState,useImperativeHandle,useEffect,useMemo,memo,useId}from'react';import {Button}from'@mui/material';import p from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {useTranslation}from'react-i18next';import {useDropzone}from'react-dropzone';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var G=styled(p)(()=>({textAlign:"center",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:"32px"})),u=styled(p)(()=>({paddingInline:"40px"})),d=styled(a,{shouldForwardProp:e=>e!=="isError"})(({theme:e,isError:i})=>({color:i?"#FF2000":e.palette.text.primary,fontSize:"18px",fontWeight:600,lineHeight:"20px",marginBottom:"8px"})),J=styled(p)(({theme:e})=>({color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"20px",padding:"4px 12px",borderRadius:"4px",border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,cursor:"pointer"})),g=styled(a)(({theme:e})=>({color:alpha(e.palette.text.primary,.7),fontSize:"12px",fontWeight:500,lineHeight:"20px"})),F=styled(p,{shouldForwardProp:e=>e!=="width"})(({theme:e,width:i})=>({width:i||431,minHeight:176,border:`1px dashed ${e.palette.secondary.light}`,borderRadius:"8px",padding:"24px 0",display:"flex",alignItems:"center",justifyContent:"center"})),h=styled(p)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"24px",color:e.palette.text.primary,fontSize:"14px",lineHeight:"20px",cursor:"default"})),K=styled("span")(()=>({fontWeight:600,textDecorationLine:"underline",cursor:"pointer"})),b=styled(p)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"8px",color:e.palette.text.primary})),z=styled(p)(({theme:e})=>({color:alpha(e.palette.text.primary,.7),fontSize:"12px",fontWeight:500,lineHeight:"20px"})),L=styled(Button)(({theme:e,disabled:i})=>({borderRadius:"4px",minWidth:"105px",background:i?alpha(e.palette.info.dark,.4):e.palette.info.dark,color:e.palette.common.white,padding:"4px 8px",fontSize:"9px",fontWeight:600,height:"32px",display:"flex",alignItems:"center",justifyContent:"center",textTransform:"none","&:hover":{background:e.palette.info.dark,opacity:.8},"&.Mui-disabled":{color:e.palette.common.white}})),O=styled(p)(()=>({display:"flex",gap:"8px",justifyContent:"center",alignItems:"center",padding:"6px",boxShadow:"0px 4px 40px 0px rgba(0, 0, 0, 0.19)",borderRadius:"4px"}));var X=forwardRef(({accept:e,footer:i,options:x,isCreateLoading:U,progress:te,error:R,errorHint:oe,subtitleComponent:S,isSuccess:P,onConfirm:re,isSendDisabled:ie,errorActionComponent:le,title:l,width:B,successFooter:pe,progressVariant:ne},ae)=>{let{t:n}=useTranslation(),[a,H]=useState([]),{getRootProps:de,getInputProps:se,open:f,acceptedFiles:j,isDragReject:M,fileRejections:s}=useDropzone(x);useImperativeHandle(ae,()=>({open:f}),[f]),useEffect(()=>{H(j);},[j]);let C=Dc(x?.maxSize||0,0).toUpperCase(),m=useMemo(()=>{let me=s.length&&s[0].errors.some(k=>k.code==="file-invalid-type"),ce=s.length&&s[0].errors.some(k=>k.code==="file-too-large");return M||me?n("invalidFileType"):ce?`File is larger than ${C}`:R},[M,R,s,C,n]),W=useMemo(()=>a.length?jsxs(b,{sx:{fontWeight:600},children:[jsx(p,{children:a[0].name}),jsx(z,{children:Dc(a[0].size)})]}):null,[a]);return P&&a.length&&!U?jsxs(Fragment,{children:[jsxs(u,{children:[typeof l=="string"?jsx(d,{children:l}):l??jsx(d,{children:"File uploaded"}),S]}),jsx(F,{width:B,children:jsxs(h,{children:[P&&jsx(p,{component:"img",src:pi,width:56,height:56}),W]})}),pe??jsxs(O,{children:[jsx(a$1,{onClick:()=>{H([]);},children:jsx(a$2,{src:qi,alt:"delete",sx:{width:14,height:14}})}),jsx(L,{disabled:ie,onClick:()=>{re?.(a);},children:"Bulk Send"})]})]}):U&&a.length?jsxs(Fragment,{children:[jsxs(u,{children:[l&&typeof l!="string"?l:jsxs(Fragment,{children:[jsx(d,{children:l??n("uploading")}),jsx(g,{children:n("wait")})]}),S]}),jsx(F,{width:B,children:jsxs(h,{children:[U&&jsx(a$3,{size:56,value:te,variant:ne}),W]})}),i]}):jsxs(Fragment,{children:[jsxs(u,{children:[m?jsx(d,{isError:true,children:m}):typeof l=="string"?jsx(d,{children:l}):l??jsx(d,{children:n("uploadBulkFile")}),S||!!m&&jsx(g,{children:"Supported formats: xls, xlxs"})]}),jsxs(F,{width:B,...de(),children:[jsx("input",{...se()}),jsxs(h,{"data-slot":"content",children:[jsx(p,{component:"img",src:m?wi:Vd,width:56,height:56}),oe,W,m?jsx(Fragment,{children:le||jsx(J,{onClick:f,children:n("uploadAgain")})}):jsxs(b,{children:[jsxs(p,{children:[jsx(K,{onClick:f,children:"Click to upload"})," or drag and drop"]}),jsxs(z,{children:["Maximum file size ",C]}),e&&jsx(g,{children:n("supportedFormats",{accept:e})})]})]})]}),i]})});X.displayName="FileUploadBase";var Y=memo(X);var _=forwardRef((e,i)=>{let x=sd(useId(),"file-upload");return jsx(G,{id:x,"data-testid":"FileUpload","data-slot":"file-upload-wrapper",children:jsx(Y,{...e,ref:i})})});_.displayName="FileUpload";var ee=memo(_);var Qe=ee;export{Qe as a};
@@ -1 +1 @@
1
- import {Bd}from'./chunk-62FH55I3.js';import {s,r}from'./chunk-XEL3GMIT.js';import {useId}from'react';import S from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,Fragment}from'react/jsx-runtime';var c=styled(S)(()=>({height:10}));styled("span")(({theme:o})=>({fontSize:o.typography.body2.fontSize,lineHeight:"17px",fontWeight:"700"}));styled("span")(()=>({fontWeight:"400"}));var l=styled("span")(({symbol:o,fontSize:e,color:t})=>({display:"inline-block",height:e,width:e,backgroundColor:t,maskImage:`url("${o}")`,maskSize:"contain",maskRepeat:"no-repeat",maskPosition:"center",WebkitMaskImage:`url("${o}")`,WebkitMaskSize:"contain",WebkitMaskRepeat:"no-repeat",WebkitMaskPosition:"center"}));var u={SAR:r,AED:s};function g({currency:o,fontSize:e,color:t,sx:m={}}){let a=Bd(useId(),"currency-symbol"),n=u[o];return n?t?jsx(l,{id:a,"data-testid":"CurrencySymbol",symbol:n,fontSize:e,color:t,"aria-label":o,role:"img",sx:m}):jsx(c,{id:a,"data-testid":"CurrencySymbol",component:"img",src:n,alt:o,sx:{height:e,...m}}):jsx(Fragment,{children:o})}var b=g;var B=b;export{B as a};
1
+ import {sd}from'./chunk-VHRTL7LZ.js';import {s,r}from'./chunk-UXNHJGII.js';import {useId}from'react';import S from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,Fragment}from'react/jsx-runtime';var c=styled(S)(()=>({height:10}));styled("span")(({theme:o})=>({fontSize:o.typography.body2.fontSize,lineHeight:"17px",fontWeight:"700"}));styled("span")(()=>({fontWeight:"400"}));var l=styled("span")(({symbol:o,fontSize:e,color:t})=>({display:"inline-block",height:e,width:e,backgroundColor:t,maskImage:`url("${o}")`,maskSize:"contain",maskRepeat:"no-repeat",maskPosition:"center",WebkitMaskImage:`url("${o}")`,WebkitMaskSize:"contain",WebkitMaskRepeat:"no-repeat",WebkitMaskPosition:"center"}));var u={SAR:r,AED:s};function g({currency:o,fontSize:e,color:t,sx:m={}}){let a=sd(useId(),"currency-symbol"),n=u[o];return n?t?jsx(l,{id:a,"data-testid":"CurrencySymbol",symbol:n,fontSize:e,color:t,"aria-label":o,role:"img",sx:m}):jsx(c,{id:a,"data-testid":"CurrencySymbol",component:"img",src:n,alt:o,sx:{height:e,...m}}):jsx(Fragment,{children:o})}var b=g;var B=b;export{B as a};
@@ -1 +1 @@
1
- import {Bd}from'./chunk-62FH55I3.js';import {ni}from'./chunk-XEL3GMIT.js';import {memo,useId}from'react';import l from'@mui/material/ButtonBase';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';import {Box}from'@mui/material';var i=styled(l,{shouldForwardProp:t=>t!=="variant"})(({theme:t,variant:o="confirm",size:e="default"})=>({textTransform:"capitalize",borderRadius:"4px",lineHeight:"100%","&.Mui-disabled":{opacity:.5},...o==="confirm"&&{color:t.palette.common.white,background:t.palette.info.dark},...o==="cancel"&&{color:t.palette.grey[700],border:`1px solid ${t.palette.divider}`},...e==="small"&&{height:24,width:"auto",padding:"8px 16px",fontWeight:600,fontSize:"10px"},...e==="default"&&{height:32,width:75,fontWeight:700,padding:"8px 24px",fontSize:"11px"}}));function a({children:t,sx:o,...e}){let s=Bd(useId(),"button");return jsx(i,{id:s,"data-testid":"Button",sx:o,...e,children:t})}a.displayName="Button";var p=memo(a);function d({...t}){return jsx(Box,{component:"button","data-testid":"PlusButton",...t,sx:{cursor:"pointer",padding:0,margin:0,background:"transparent",border:"none",width:24,height:24,...t.sx},children:jsx("img",{src:ni,alt:"Plus Button",width:24,height:24})})}d.displayName="PlusButton";var m=memo(d);var P=m;var $=p;export{P as a,$ as b};
1
+ import {sd}from'./chunk-VHRTL7LZ.js';import {oi}from'./chunk-UXNHJGII.js';import {memo,useId}from'react';import l from'@mui/material/ButtonBase';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';import {Box}from'@mui/material';var i=styled(l,{shouldForwardProp:t=>t!=="variant"})(({theme:t,variant:o="confirm",size:e="default"})=>({textTransform:"capitalize",borderRadius:"4px",lineHeight:"100%","&.Mui-disabled":{opacity:.5},...o==="confirm"&&{color:t.palette.common.white,background:t.palette.info.dark},...o==="cancel"&&{color:t.palette.grey[700],border:`1px solid ${t.palette.divider}`},...e==="small"&&{height:24,width:"auto",padding:"8px 16px",fontWeight:600,fontSize:"10px"},...e==="default"&&{height:32,width:75,fontWeight:700,padding:"8px 24px",fontSize:"11px"}}));function a({children:t,sx:o,...e}){let s=sd(useId(),"button");return jsx(i,{id:s,"data-testid":"Button",sx:o,...e,children:t})}a.displayName="Button";var p=memo(a);function d({...t}){return jsx(Box,{component:"button","data-testid":"PlusButton",...t,sx:{cursor:"pointer",padding:0,margin:0,background:"transparent",border:"none",width:24,height:24,...t.sx},children:jsx("img",{src:oi,alt:"Plus Button",width:24,height:24})})}d.displayName="PlusButton";var m=memo(d);var P=m;var $=p;export{P as a,$ as b};
@@ -1 +1 @@
1
- import {Bd}from'./chunk-62FH55I3.js';import {memo,useId}from'react';import f from'@mui/material/Box';import a from'@mui/material/Input';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var p=styled(a,{shouldForwardProp:o=>o!=="isError"})(({theme:o})=>({padding:"8px",border:`1px solid ${o.palette.divider}`,borderRadius:"4px",height:32,color:o.palette.text.primary,fontSize:"11px",outline:0,maxWidth:"100%",display:"flex",flexGrow:1,"::placeholder":{color:o.palette.grey[700],fontWeight:400}}));function i({isError:o,...t}){let l=Bd(useId(),"input");return jsx(f,{id:l,"data-testid":"Input",sx:{flexGrow:1},onClick:d=>{d.stopPropagation();},children:jsx(p,{...t,placeholder:t.placeholder,isError:o,disableUnderline:true})})}i.displayName="Input";var n=memo(i);var S=n;export{S as a};
1
+ import {sd}from'./chunk-VHRTL7LZ.js';import {memo,useId}from'react';import f from'@mui/material/Box';import a from'@mui/material/Input';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var p=styled(a,{shouldForwardProp:o=>o!=="isError"})(({theme:o})=>({padding:"8px",border:`1px solid ${o.palette.divider}`,borderRadius:"4px",height:32,color:o.palette.text.primary,fontSize:"11px",outline:0,maxWidth:"100%",display:"flex",flexGrow:1,"::placeholder":{color:o.palette.grey[700],fontWeight:400}}));function i({isError:o,...t}){let l=sd(useId(),"input");return jsx(f,{id:l,"data-testid":"Input",sx:{flexGrow:1},onClick:d=>{d.stopPropagation();},children:jsx(p,{...t,placeholder:t.placeholder,isError:o,disableUnderline:true})})}i.displayName="Input";var n=memo(i);var S=n;export{S as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-ZI2RJPEY.js';import {a}from'./chunk-M2ECD4A4.js';import {a as a$2}from'./chunk-6EPTWQND.js';import {Bd}from'./chunk-62FH55I3.js';import {zb}from'./chunk-XEL3GMIT.js';import {Box}from'@mui/material';import r from'@mui/material/Box';import {styled}from'@mui/material/styles';import {useId,useState}from'react';import {jsxs,jsx}from'react/jsx-runtime';var h=styled(r,{shouldForwardProp:o=>o!=="open"})(({theme:o,open:a})=>({minWidth:105,height:32,cursor:"pointer",display:"flex",justifyContent:"space-between",alignItems:"center",gap:"1px",border:`1px solid ${o.palette.divider}`,borderRadius:"4px",padding:"7px 8px",paddingRight:"4px",...a&&{boxShadow:o.shadows[7],borderColor:o.palette.info.dark}})),w=styled(r)(()=>({display:"flex",flexDirection:"column",gap:"1px"})),b=styled(r)(()=>({fontWeight:600,fontSize:"8px",color:"#8D8D94"})),v=styled(r)(({theme:o})=>({fontWeight:500,fontSize:"11px",lineHeight:1.1,color:o.palette.text.primary}));function i({defaultValue:o,label:a$3,onChange:D,options:l}){let M=Bd(useId(),"dropdown2"),[d,s]=useState(null),[y,E]=useState(o),t=!!d,W=e=>{t||s(e.currentTarget);},m=()=>{t&&s(null);},k=e=>{E(e),D?.(e),m();};return jsxs(h,{onClick:W,open:t,id:M,"data-testid":"Dropdown2",children:[jsxs(w,{children:[jsx(b,{children:a$3}),jsx(v,{children:y})]}),jsx(Box,{component:"img",src:zb,alt:"down arrow",sx:{width:15,...t&&{transform:"rotate(180deg)"}}}),jsx(a,{open:t,anchorEl:d,sx:{minWidth:105,marginTop:"8px",marginBottom:"8px"},placement:"top",children:l.map((e,B)=>jsx(a$1,{onClick:()=>{k(e.value);},sx:T=>({...B!==l.length-1&&{borderBottom:`1px solid ${T.palette.divider}`}}),children:e.label},e.value))}),t&&jsx(a$2,{onClick:m})]})}var Q=i;export{Q as a};
1
+ import {a as a$1}from'./chunk-ZLF47R2G.js';import {a}from'./chunk-T7PCBIIS.js';import {a as a$2}from'./chunk-FAEP7AKK.js';import {sd}from'./chunk-VHRTL7LZ.js';import {zb}from'./chunk-UXNHJGII.js';import {Box}from'@mui/material';import r from'@mui/material/Box';import {styled}from'@mui/material/styles';import {useId,useState}from'react';import {jsxs,jsx}from'react/jsx-runtime';var h=styled(r,{shouldForwardProp:o=>o!=="open"})(({theme:o,open:a})=>({minWidth:105,height:32,cursor:"pointer",display:"flex",justifyContent:"space-between",alignItems:"center",gap:"1px",border:`1px solid ${o.palette.divider}`,borderRadius:"4px",padding:"7px 8px",paddingRight:"4px",...a&&{boxShadow:o.shadows[7],borderColor:o.palette.info.dark}})),w=styled(r)(()=>({display:"flex",flexDirection:"column",gap:"1px"})),b=styled(r)(()=>({fontWeight:600,fontSize:"8px",color:"#8D8D94"})),v=styled(r)(({theme:o})=>({fontWeight:500,fontSize:"11px",lineHeight:1.1,color:o.palette.text.primary}));function i({defaultValue:o,label:a$3,onChange:D,options:l}){let M=sd(useId(),"dropdown2"),[d,s]=useState(null),[y,E]=useState(o),t=!!d,W=e=>{t||s(e.currentTarget);},m=()=>{t&&s(null);},k=e=>{E(e),D?.(e),m();};return jsxs(h,{onClick:W,open:t,id:M,"data-testid":"Dropdown2",children:[jsxs(w,{children:[jsx(b,{children:a$3}),jsx(v,{children:y})]}),jsx(Box,{component:"img",src:zb,alt:"down arrow",sx:{width:15,...t&&{transform:"rotate(180deg)"}}}),jsx(a,{open:t,anchorEl:d,sx:{minWidth:105,marginTop:"8px",marginBottom:"8px"},placement:"top",children:l.map((e,B)=>jsx(a$1,{onClick:()=>{k(e.value);},sx:T=>({...B!==l.length-1&&{borderBottom:`1px solid ${T.palette.divider}`}}),children:e.label},e.value))}),t&&jsx(a$2,{onClick:m})]})}var Q=i;export{Q as a};