@tap-payments/os-micro-frontend-shared 0.3.106 → 0.3.107

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 (263) hide show
  1. package/build/_chunks/{chunk-WLN5MH7Q.js → chunk-22NHUVWR.js} +1 -1
  2. package/build/_chunks/{chunk-U4OIINQS.js → chunk-24UKDWP6.js} +1 -1
  3. package/build/_chunks/{chunk-2URYOZDK.js → chunk-267K7HC7.js} +1 -1
  4. package/build/_chunks/{chunk-SNVWV24N.js → chunk-2FEHXYYV.js} +1 -1
  5. package/build/_chunks/{chunk-6HRUFV7R.js → chunk-2S7T2TKQ.js} +1 -1
  6. package/build/_chunks/{chunk-W2H6IWZG.js → chunk-3JIZVYUQ.js} +1 -1
  7. package/build/_chunks/{chunk-6RR2HVVH.js → chunk-3JYJEVAJ.js} +1 -1
  8. package/build/_chunks/{chunk-FL5LDNGF.js → chunk-3MSCEP3Y.js} +1 -1
  9. package/build/_chunks/{chunk-KX2BF6PF.js → chunk-3SFNJ5ZH.js} +1 -1
  10. package/build/_chunks/{chunk-PBSVNHNP.js → chunk-3XPVTQOE.js} +1 -1
  11. package/build/_chunks/{chunk-3RN4VS2A.js → chunk-4ZBTAIZH.js} +1 -1
  12. package/build/_chunks/{chunk-QRBC5OMU.js → chunk-5HTJ2EF5.js} +1 -1
  13. package/build/_chunks/{chunk-3DRFJJMY.js → chunk-5ILJVOJ3.js} +1 -1
  14. package/build/_chunks/{chunk-FW7YEFEU.js → chunk-5K7D5UDX.js} +1 -1
  15. package/build/_chunks/{chunk-SHIFO5OL.js → chunk-5M7XCBNB.js} +1 -1
  16. package/build/_chunks/{chunk-7DQSIC32.js → chunk-5VMO7Y3P.js} +1 -1
  17. package/build/_chunks/{chunk-4CG3ZZDN.js → chunk-6BEMQUU2.js} +1 -1
  18. package/build/_chunks/chunk-6D4EXZHG.js +1 -0
  19. package/build/_chunks/{chunk-U66PAUOJ.js → chunk-7SWJ6S4I.js} +1 -1
  20. package/build/_chunks/{chunk-WQ2ZKEE2.js → chunk-7W6DMBRI.js} +1 -1
  21. package/build/_chunks/{chunk-2DJDRUSK.js → chunk-7W7XQHQ3.js} +1 -1
  22. package/build/_chunks/{chunk-H6JVR7TE.js → chunk-A3GALHIN.js} +1 -1
  23. package/build/_chunks/{chunk-PYKAJVGM.js → chunk-APQITSBN.js} +1 -1
  24. package/build/_chunks/{chunk-ENKTOZNN.js → chunk-BM6CZOF4.js} +1 -1
  25. package/build/_chunks/{chunk-O64XSJ27.js → chunk-BNAUJXLF.js} +1 -1
  26. package/build/_chunks/{chunk-RJHL56V6.js → chunk-BT7ZCQ5W.js} +1 -1
  27. package/build/_chunks/{chunk-ZV6H5GJQ.js → chunk-CE7DD3CT.js} +1 -1
  28. package/build/_chunks/{chunk-7WM3CNHR.js → chunk-CMDTZEAR.js} +1 -1
  29. package/build/_chunks/{chunk-UUHNIRZS.js → chunk-DDG5PVQI.js} +1 -1
  30. package/build/_chunks/{chunk-5A37FHVI.js → chunk-DDXRTENV.js} +1 -1
  31. package/build/_chunks/{chunk-EFNBCE3Q.js → chunk-DGEOPYLN.js} +1 -1
  32. package/build/_chunks/{chunk-FAVGOJZA.js → chunk-DIKAJBYT.js} +1 -1
  33. package/build/_chunks/{chunk-X4BDH3EM.js → chunk-DLMKONKP.js} +1 -1
  34. package/build/_chunks/{chunk-SOHQD2C2.js → chunk-E4MWP5C3.js} +1 -1
  35. package/build/_chunks/{chunk-XFLDD4BU.js → chunk-EAQ6VE2H.js} +1 -1
  36. package/build/_chunks/{chunk-VZLAS3TE.js → chunk-EPC45OR7.js} +1 -1
  37. package/build/_chunks/{chunk-CSFTX2YE.js → chunk-G5R64IJZ.js} +1 -1
  38. package/build/_chunks/{chunk-VTWQYQCU.js → chunk-GPUQR54W.js} +1 -1
  39. package/build/_chunks/{chunk-QHLMVGLX.js → chunk-GQBSHUNH.js} +1 -1
  40. package/build/_chunks/{chunk-N7IRLMDJ.js → chunk-GYLFNIDE.js} +1 -1
  41. package/build/_chunks/{chunk-ORJV6QRA.js → chunk-H7CJUZ3L.js} +1 -1
  42. package/build/_chunks/{chunk-UMECRSX4.js → chunk-HB6PLBGB.js} +1 -1
  43. package/build/_chunks/{chunk-6JHLNVBE.js → chunk-HCFFRE73.js} +1 -1
  44. package/build/_chunks/{chunk-RBMEJEZV.js → chunk-HJM4PVKH.js} +1 -1
  45. package/build/_chunks/{chunk-CH32XKY3.js → chunk-HWOKW33H.js} +1 -1
  46. package/build/_chunks/{chunk-LXTJ4Y3F.js → chunk-I4K5C7BA.js} +1 -1
  47. package/build/_chunks/{chunk-DAIQGBXL.js → chunk-IDOCXRAN.js} +1 -1
  48. package/build/_chunks/{chunk-YT5J4H4M.js → chunk-IPWVKXKT.js} +1 -1
  49. package/build/_chunks/{chunk-UZ7IGYUB.js → chunk-JKCCQTSL.js} +1 -1
  50. package/build/_chunks/{chunk-ZTAZTGYI.js → chunk-JVF6ZYAB.js} +1 -1
  51. package/build/_chunks/{chunk-ILVXBGF7.js → chunk-JWFFEVIE.js} +1 -1
  52. package/build/_chunks/{chunk-UJ2DJEXB.js → chunk-KECBKDID.js} +1 -1
  53. package/build/_chunks/{chunk-MBVNBOTO.js → chunk-KTTWX4DF.js} +1 -1
  54. package/build/_chunks/{chunk-OFTHZIEK.js → chunk-LHMYVXNA.js} +1 -1
  55. package/build/_chunks/{chunk-JM5IA7JY.js → chunk-LSXQEKL6.js} +1 -1
  56. package/build/_chunks/{chunk-NJAOU5JO.js → chunk-M2QXWHR4.js} +1 -1
  57. package/build/_chunks/{chunk-ZT5JEK76.js → chunk-ME6UTFJ7.js} +1 -1
  58. package/build/_chunks/{chunk-HJB5LTJ6.js → chunk-MWDULTQV.js} +1 -1
  59. package/build/_chunks/{chunk-QN3NB6G6.js → chunk-MZC55VKA.js} +1 -1
  60. package/build/_chunks/{chunk-HYYMDGXL.js → chunk-NIO7SLTK.js} +1 -1
  61. package/build/_chunks/{chunk-GDRULHIO.js → chunk-NKL4FJXQ.js} +1 -1
  62. package/build/_chunks/{chunk-OVCLT2PR.js → chunk-NOO37SWH.js} +1 -1
  63. package/build/_chunks/{chunk-QT5V7RKT.js → chunk-O5LA63YT.js} +1 -1
  64. package/build/_chunks/chunk-ON6WNBSV.js +2 -0
  65. package/build/_chunks/chunk-OSJ5S522.js +1 -0
  66. package/build/_chunks/{chunk-AZO46RL2.js → chunk-OZULYD7W.js} +1 -1
  67. package/build/_chunks/{chunk-ALAQ4OGP.js → chunk-PF4QELVH.js} +1 -1
  68. package/build/_chunks/{chunk-7ZQDTP3A.js → chunk-PFFMW4SQ.js} +1 -1
  69. package/build/_chunks/{chunk-3B4VLJAT.js → chunk-PFXZLBIR.js} +1 -1
  70. package/build/_chunks/{chunk-BRJUOZAR.js → chunk-PQTCZFRP.js} +1 -1
  71. package/build/_chunks/{chunk-WHRM3BY2.js → chunk-PSH5GSMY.js} +1 -1
  72. package/build/_chunks/{chunk-NUPS6QXF.js → chunk-PWCRGP6W.js} +1 -1
  73. package/build/_chunks/{chunk-UKCKIBEM.js → chunk-Q7IWHH4T.js} +1 -1
  74. package/build/_chunks/{chunk-BUUAMKOW.js → chunk-QICYP3HI.js} +1 -1
  75. package/build/_chunks/{chunk-OAO3D26Y.js → chunk-QJXWU7QS.js} +1 -1
  76. package/build/_chunks/{chunk-TNHGKIES.js → chunk-QLMXLB5M.js} +1 -1
  77. package/build/_chunks/{chunk-3XRFB3UM.js → chunk-QOJFHHFI.js} +1 -1
  78. package/build/_chunks/{chunk-ZSHKYTTS.js → chunk-QWPC3D5E.js} +1 -1
  79. package/build/_chunks/{chunk-VN5DAG2K.js → chunk-RNX3322N.js} +1 -1
  80. package/build/_chunks/{chunk-MRMCVAX3.js → chunk-S4M5NQDS.js} +1 -1
  81. package/build/_chunks/{chunk-JTD5P66J.js → chunk-S6KO5UGV.js} +1 -1
  82. package/build/_chunks/{chunk-E3RBUAO4.js → chunk-SFFYXAJO.js} +1 -1
  83. package/build/_chunks/{chunk-327QVW5F.js → chunk-SQ2NZRC4.js} +1 -1
  84. package/build/_chunks/{chunk-LBOWOARJ.js → chunk-T37TUJCV.js} +1 -1
  85. package/build/_chunks/{chunk-PNTX5DLB.js → chunk-TDIUBX7Z.js} +1 -1
  86. package/build/_chunks/{chunk-CL5ZISJA.js → chunk-TDZPTIUN.js} +1 -1
  87. package/build/_chunks/{chunk-GL3B4MGM.js → chunk-TOZXLHUL.js} +1 -1
  88. package/build/_chunks/{chunk-JCHC3KCO.js → chunk-U7GSDCDC.js} +1 -1
  89. package/build/_chunks/{chunk-ECGUNJUQ.js → chunk-UJCJJ5AF.js} +1 -1
  90. package/build/_chunks/{chunk-HACMRTPO.js → chunk-UWT2LTRT.js} +1 -1
  91. package/build/_chunks/{chunk-PDGOTCJV.js → chunk-UZNTMAXT.js} +1 -1
  92. package/build/_chunks/{chunk-R63STWJD.js → chunk-V25PWANP.js} +1 -1
  93. package/build/_chunks/{chunk-G5VZYUJN.js → chunk-VEAFWDPV.js} +1 -1
  94. package/build/_chunks/{chunk-77L4KS3S.js → chunk-VRCF7JRE.js} +1 -1
  95. package/build/_chunks/{chunk-XT6RYYAO.js → chunk-VYKDF5LJ.js} +1 -1
  96. package/build/_chunks/{chunk-6HQIRWDM.js → chunk-WQA4OJHE.js} +1 -1
  97. package/build/_chunks/{chunk-4XIHALPL.js → chunk-WQQOF46P.js} +1 -1
  98. package/build/_chunks/{chunk-T6VB4OLQ.js → chunk-X6V35ICL.js} +1 -1
  99. package/build/_chunks/{chunk-DDIYVI7K.js → chunk-XIJA22ZF.js} +1 -1
  100. package/build/_chunks/{chunk-AIGCY6VB.js → chunk-XISXXFJF.js} +1 -1
  101. package/build/_chunks/{chunk-ULK7ATNW.js → chunk-XU755ICW.js} +1 -1
  102. package/build/_chunks/{chunk-TSHS6YYS.js → chunk-Y3ZKYCYK.js} +1 -1
  103. package/build/_chunks/{chunk-AXSJJIFG.js → chunk-YTVH2LIF.js} +1 -1
  104. package/build/_chunks/{chunk-NVR43UIF.js → chunk-YU6WPYGE.js} +1 -1
  105. package/build/_chunks/{chunk-HNDW25YY.js → chunk-Z6B55IOO.js} +1 -1
  106. package/build/_chunks/{chunk-G25DS3VG.js → chunk-ZOT3OAVG.js} +1 -1
  107. package/build/_v2/components/primitives/Checkbox/icons.d.ts +9 -6
  108. package/build/components/Accordion/index.js +1 -1
  109. package/build/components/AccountDropdown/index.js +1 -1
  110. package/build/components/ActionMenu/index.js +1 -1
  111. package/build/components/ActionsDropdownMenu/index.js +1 -1
  112. package/build/components/ActiveFilterChip/index.js +1 -1
  113. package/build/components/ActivityAreaChart/index.js +1 -1
  114. package/build/components/Amount/index.js +1 -1
  115. package/build/components/AmountConversionFilter/index.js +1 -1
  116. package/build/components/AmountInput/index.js +1 -1
  117. package/build/components/AmountSlider/index.js +1 -1
  118. package/build/components/AmountStatusChip/index.js +1 -1
  119. package/build/components/AnimatedSpinnerIcon/index.js +1 -1
  120. package/build/components/AppServices/index.js +1 -1
  121. package/build/components/AppServicesBar/index.js +1 -1
  122. package/build/components/AppWindowWrapper/index.js +1 -1
  123. package/build/components/AuthenticationTypeChip/index.js +1 -1
  124. package/build/components/Autocomplete/index.js +1 -1
  125. package/build/components/BetaBanner/index.js +1 -1
  126. package/build/components/BrandLogo/index.js +1 -1
  127. package/build/components/Button/index.js +1 -1
  128. package/build/components/Calender/index.js +1 -1
  129. package/build/components/CardEmptyState/index.js +1 -1
  130. package/build/components/Checkbox/Checkbox.d.ts +1 -1
  131. package/build/components/Checkbox/icons.d.ts +10 -0
  132. package/build/components/Checkbox/index.js +1 -1
  133. package/build/components/Chip/index.js +1 -1
  134. package/build/components/ChipStack/index.js +1 -1
  135. package/build/components/CircularProgressWithLabel/index.js +1 -1
  136. package/build/components/Collapse/index.js +1 -1
  137. package/build/components/ColorPicker/index.js +1 -1
  138. package/build/components/ColumnViews/index.js +1 -1
  139. package/build/components/ConfirmDialog/index.js +1 -1
  140. package/build/components/CopyImage/index.js +1 -1
  141. package/build/components/CountBadge/index.js +1 -1
  142. package/build/components/CountryFilter/index.js +1 -1
  143. package/build/components/CountryFlag/index.js +1 -1
  144. package/build/components/CurrencyAmount/index.js +1 -1
  145. package/build/components/CurrencyFilter/index.js +1 -1
  146. package/build/components/CurrencySymbol/index.js +1 -1
  147. package/build/components/CustomBackdrop/index.js +1 -1
  148. package/build/components/Customer/index.js +1 -1
  149. package/build/components/DateFilter/index.js +1 -1
  150. package/build/components/DeviceIcon/index.js +1 -1
  151. package/build/components/Dialog/index.js +1 -1
  152. package/build/components/Discount/index.js +1 -1
  153. package/build/components/DisplayAmount/index.js +1 -1
  154. package/build/components/Dropdown2/index.js +1 -1
  155. package/build/components/DropdownButton/index.js +1 -1
  156. package/build/components/DropdownMenu/index.js +1 -1
  157. package/build/components/DropdownMenu/styles.d.ts +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/FlippingCard/index.js +1 -1
  169. package/build/components/HeatMap/index.js +1 -1
  170. package/build/components/IOSSwitch/index.js +1 -1
  171. package/build/components/Icon/index.js +1 -1
  172. package/build/components/IconWithBadge/index.js +1 -1
  173. package/build/components/Input/index.js +1 -1
  174. package/build/components/InputBase/index.js +1 -1
  175. package/build/components/InputNumber/index.js +1 -1
  176. package/build/components/Inputs/index.js +1 -1
  177. package/build/components/JSONViewer/index.js +1 -1
  178. package/build/components/LanguageDropdown/index.js +1 -1
  179. package/build/components/LazyImage/index.js +1 -1
  180. package/build/components/LazyRemote/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/MenuItem/style.d.ts +1 -1
  191. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  192. package/build/components/MerchantLogo/index.js +1 -1
  193. package/build/components/MerchantsDropdown/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/MultiSelectWithSearch/style.d.ts +1 -1
  197. package/build/components/NestedDropdown/index.js +1 -1
  198. package/build/components/NestedDropdown/styles.d.ts +1 -1
  199. package/build/components/NoInternet/index.js +1 -1
  200. package/build/components/OpenFileInNewTab/index.js +1 -1
  201. package/build/components/PartnersFilter/index.js +1 -1
  202. package/build/components/PaymentSourceFilter/index.js +1 -1
  203. package/build/components/PhoneFilter/index.js +1 -1
  204. package/build/components/ProgressBar/index.js +1 -1
  205. package/build/components/ProgressRing/index.js +1 -1
  206. package/build/components/RFH/Inputs/MultiSelect/style.d.ts +2 -2
  207. package/build/components/RFH/index.js +1 -1
  208. package/build/components/RadioButton/index.js +1 -1
  209. package/build/components/RadioGroup/index.js +1 -1
  210. package/build/components/RangeCalender/index.js +1 -1
  211. package/build/components/ReceiptsViewer/index.js +1 -1
  212. package/build/components/ReferenceTypeFilter/index.js +1 -1
  213. package/build/components/ResizableHeightInput/index.js +1 -1
  214. package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
  215. package/build/components/SalesChannelFilter/index.js +1 -1
  216. package/build/components/ScrollLoader/index.js +1 -1
  217. package/build/components/SearchButton/index.js +1 -1
  218. package/build/components/SearchListInput/index.js +1 -1
  219. package/build/components/SelectDropdown/index.js +1 -1
  220. package/build/components/SelectWithSearch/index.js +1 -1
  221. package/build/components/SelectWithSearch/style.d.ts +1 -1
  222. package/build/components/Skeleton/index.js +1 -1
  223. package/build/components/Slider/index.js +1 -1
  224. package/build/components/StatusBar/index.js +1 -1
  225. package/build/components/StatusButton/index.js +1 -1
  226. package/build/components/StatusChip/index.js +1 -1
  227. package/build/components/StatusChipWithCopy/index.js +1 -1
  228. package/build/components/StatusFilter/index.js +1 -1
  229. package/build/components/StatusGroupChips/index.js +1 -1
  230. package/build/components/StatusIcons/index.js +1 -1
  231. package/build/components/StatusLabel/index.js +1 -1
  232. package/build/components/TableCells/index.js +1 -1
  233. package/build/components/TableReports/index.js +1 -1
  234. package/build/components/Timepicker/index.js +1 -1
  235. package/build/components/Toaster/index.js +1 -1
  236. package/build/components/ToggleButtons/index.js +1 -1
  237. package/build/components/ToggleView/index.js +1 -1
  238. package/build/components/Toolbar/index.js +1 -1
  239. package/build/components/ToolbarIcon/index.js +1 -1
  240. package/build/components/TooltipChip/index.js +1 -1
  241. package/build/components/TreeDropdown/TreeNodeItem/style.d.ts +1 -1
  242. package/build/components/TreeDropdown/index.js +1 -1
  243. package/build/components/VAT/index.js +1 -1
  244. package/build/components/VerificationIcon/index.js +1 -1
  245. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  246. package/build/components/VirtualTables/components/style.d.ts +1 -1
  247. package/build/components/VirtualTables/index.js +1 -1
  248. package/build/components/Widget/index.js +1 -1
  249. package/build/components/Window/index.js +1 -1
  250. package/build/components/WindowAppIcon/index.js +1 -1
  251. package/build/components/WindowBackdrop/index.js +1 -1
  252. package/build/components/WindowSideBar/index.js +1 -1
  253. package/build/components/index.js +1 -1
  254. package/build/constants/index.d.ts +0 -1
  255. package/build/constants/index.js +1 -1
  256. package/build/hooks/index.js +1 -1
  257. package/build/index.js +1 -1
  258. package/build/utils/index.js +1 -1
  259. package/package.json +1 -1
  260. package/build/_chunks/chunk-HLDCR3QB.js +0 -1
  261. package/build/_chunks/chunk-USOYWGPF.js +0 -2
  262. package/build/_chunks/chunk-Z6TE6TOI.js +0 -1
  263. package/build/constants/svgIcons.d.ts +0 -3
@@ -1 +1 @@
1
- import {Mc}from'./chunk-VTWQYQCU.js';import {createContext,useState,useMemo,useContext,useId}from'react';import {styled,Dialog,DialogContent,Button}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var x=styled(Dialog)(({theme:o})=>({"& .MuiDialog-paper":{boxShadow:o.shadows[13],borderRadius:o.spacing(1)},"& .MuiModal-backdrop":{background:"rgba(0, 0, 0, 0.20)"}})),u=styled(DialogContent)(({theme:o})=>({padding:o.spacing(2)})),y=styled("div")(({theme:o})=>({display:"flex",flexDirection:"column",gap:o.spacing(2),minWidth:"256px",padding:"16px"})),h=styled("p")(({theme:o})=>({fontSize:"13px",fontWeight:700,lineHeight:o.typography.h6.lineHeight,borderBottom:`1px solid ${o.palette.divider}`,margin:0,padding:"16px 16px 16px 12px",color:o.palette.text.primary})),P=styled("p")(({theme:o})=>({fontSize:o.typography.fontSize,fontWeight:o.typography.fontWeightMedium,lineHeight:o.typography.body1.lineHeight,margin:0})),R=styled("div")(({theme:o})=>({display:"flex",gap:o.spacing(1),justifyContent:"flex-end"})),c=styled(Button)(({theme:o})=>({paddingInline:o.spacing(3),paddingBlock:o.spacing(1),borderRadius:o.spacing(.5),fontSize:"11px",fontWeight:o.typography.fontWeightMedium,boxShadow:"none",border:`1px solid ${o.palette.divider}`,color:o.palette.text.primary,textTransform:"none","&:hover":{boxShadow:"none"}}));var a=createContext([{onClose:()=>{},open:false,message:"",title:"",confirmText:"",cancelText:"",onConfirm:()=>{},onCancel:()=>{}},()=>{}]);function K({children:o}){let[i,r]=useState({onClose:()=>{},open:false,message:"",title:"",onConfirm:()=>{},onCancel:()=>{},cancelText:"",confirmText:""}),n=useMemo(()=>[i,r],[i]);return jsxs(a.Provider,{value:n,children:[o,jsx(b,{})]})}var S=()=>{let[o,i]=useContext(a);return {...o,isConfirmed:({message:n,title:l,confirmText:p,cancelText:s,style:m})=>new Promise((f,v)=>{i({...o,open:true,message:n,title:l,cancelText:s,confirmText:p,style:m,onConfirm:f,onCancel:v});}).then(()=>(i({...o,open:false}),true),()=>(i({...o,open:false}),false))}};function d(){let o=Mc(useId(),"confirm-dialog"),{open:i,onClose:r,onConfirm:n,onCancel:l,confirmText:p,cancelText:s,message:m,title:g,style:f}=S();return jsx(x,{open:i,onClose:r,sx:f,id:o,"data-testid":"ConfirmDialog",children:jsxs(u,{children:[g&&jsx(h,{className:"title",children:g}),jsxs(y,{children:[jsx(P,{className:"message",children:m}),jsxs(R,{children:[jsx(c,{className:"cancel",onClick:l,children:s||"No"}),jsx(c,{className:"confirm",onClick:n,children:p||"Yes"})]})]})]})})}var b=d;export{a,K as b,S as c,b as d};
1
+ import {Mc}from'./chunk-GPUQR54W.js';import {createContext,useState,useMemo,useContext,useId}from'react';import {styled,Dialog,DialogContent,Button}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var x=styled(Dialog)(({theme:o})=>({"& .MuiDialog-paper":{boxShadow:o.shadows[13],borderRadius:o.spacing(1)},"& .MuiModal-backdrop":{background:"rgba(0, 0, 0, 0.20)"}})),u=styled(DialogContent)(({theme:o})=>({padding:o.spacing(2)})),y=styled("div")(({theme:o})=>({display:"flex",flexDirection:"column",gap:o.spacing(2),minWidth:"256px",padding:"16px"})),h=styled("p")(({theme:o})=>({fontSize:"13px",fontWeight:700,lineHeight:o.typography.h6.lineHeight,borderBottom:`1px solid ${o.palette.divider}`,margin:0,padding:"16px 16px 16px 12px",color:o.palette.text.primary})),P=styled("p")(({theme:o})=>({fontSize:o.typography.fontSize,fontWeight:o.typography.fontWeightMedium,lineHeight:o.typography.body1.lineHeight,margin:0})),R=styled("div")(({theme:o})=>({display:"flex",gap:o.spacing(1),justifyContent:"flex-end"})),c=styled(Button)(({theme:o})=>({paddingInline:o.spacing(3),paddingBlock:o.spacing(1),borderRadius:o.spacing(.5),fontSize:"11px",fontWeight:o.typography.fontWeightMedium,boxShadow:"none",border:`1px solid ${o.palette.divider}`,color:o.palette.text.primary,textTransform:"none","&:hover":{boxShadow:"none"}}));var a=createContext([{onClose:()=>{},open:false,message:"",title:"",confirmText:"",cancelText:"",onConfirm:()=>{},onCancel:()=>{}},()=>{}]);function K({children:o}){let[i,r]=useState({onClose:()=>{},open:false,message:"",title:"",onConfirm:()=>{},onCancel:()=>{},cancelText:"",confirmText:""}),n=useMemo(()=>[i,r],[i]);return jsxs(a.Provider,{value:n,children:[o,jsx(b,{})]})}var S=()=>{let[o,i]=useContext(a);return {...o,isConfirmed:({message:n,title:l,confirmText:p,cancelText:s,style:m})=>new Promise((f,v)=>{i({...o,open:true,message:n,title:l,cancelText:s,confirmText:p,style:m,onConfirm:f,onCancel:v});}).then(()=>(i({...o,open:false}),true),()=>(i({...o,open:false}),false))}};function d(){let o=Mc(useId(),"confirm-dialog"),{open:i,onClose:r,onConfirm:n,onCancel:l,confirmText:p,cancelText:s,message:m,title:g,style:f}=S();return jsx(x,{open:i,onClose:r,sx:f,id:o,"data-testid":"ConfirmDialog",children:jsxs(u,{children:[g&&jsx(h,{className:"title",children:g}),jsxs(y,{children:[jsx(P,{className:"message",children:m}),jsxs(R,{children:[jsx(c,{className:"cancel",onClick:l,children:s||"No"}),jsx(c,{className:"confirm",onClick:n,children:p||"Yes"})]})]})]})})}var b=d;export{a,K as b,S as c,b as d};
@@ -1 +1 @@
1
- import {Mc}from'./chunk-VTWQYQCU.js';import {useId,useState,useRef,useCallback,useEffect}from'react';import v from'@mui/material/Stack';import {jsx}from'react/jsx-runtime';var E=50,g=(t,s=E)=>{let e=t.scrollTop+t.clientHeight;return t.scrollHeight-e<=s},H=t=>{let{component:s=v,loadMoreItems:e,hasMore:l,loading:i,isFetchingNextPage:a,children:S,...R}=t,C=Mc(useId(),"scroll-loader"),[m,L]=useState(false),p=useRef(e),r=useRef(null);p.current=e;let k=s,n=useCallback(()=>{l&&!a&&p.current();},[l,a]),c=useCallback(()=>{let o=r.current;if(!o)return;g(o)&&n();},[n]);return useEffect(()=>{let o=r.current;if(o)return o.addEventListener("scroll",c),()=>o.removeEventListener("scroll",c)},[c]),useEffect(()=>{let o=r.current;if(!o||i||m)return;let d=setTimeout(()=>{L(true),g(o)&&n();},1e3);return ()=>{clearTimeout(d);}},[i,n,m]),jsx(k,{id:C,"data-testid":"ScrollLoader",overflow:"auto",ref:r,style:{overflow:"auto",height:"100%",maxHeight:"100%"},...R,children:S})},I=H;var q=I;export{q as a};
1
+ import {Mc}from'./chunk-GPUQR54W.js';import {useId,useState,useRef,useCallback,useEffect}from'react';import v from'@mui/material/Stack';import {jsx}from'react/jsx-runtime';var E=50,g=(t,s=E)=>{let e=t.scrollTop+t.clientHeight;return t.scrollHeight-e<=s},H=t=>{let{component:s=v,loadMoreItems:e,hasMore:l,loading:i,isFetchingNextPage:a,children:S,...R}=t,C=Mc(useId(),"scroll-loader"),[m,L]=useState(false),p=useRef(e),r=useRef(null);p.current=e;let k=s,n=useCallback(()=>{l&&!a&&p.current();},[l,a]),c=useCallback(()=>{let o=r.current;if(!o)return;g(o)&&n();},[n]);return useEffect(()=>{let o=r.current;if(o)return o.addEventListener("scroll",c),()=>o.removeEventListener("scroll",c)},[c]),useEffect(()=>{let o=r.current;if(!o||i||m)return;let d=setTimeout(()=>{L(true),g(o)&&n();},1e3);return ()=>{clearTimeout(d);}},[i,n,m]),jsx(k,{id:C,"data-testid":"ScrollLoader",overflow:"auto",ref:r,style:{overflow:"auto",height:"100%",maxHeight:"100%"},...R,children:S})},I=H;var q=I;export{q as a};
@@ -1 +1 @@
1
- import {b}from'./chunk-E3RBUAO4.js';import {Mc}from'./chunk-VTWQYQCU.js';import {ji}from'./chunk-2RALOOEZ.js';import {memo,useId,useState,useRef,useEffect}from'react';import {useTheme}from'@mui/material';import {motion,AnimatePresence}from'framer-motion';import {useTranslation}from'react-i18next';import K from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var h=styled(motion.input)(({theme:t})=>({padding:"8px",paddingRight:"24px",borderRadius:"4px",height:32,color:t.palette.text.primary,fontSize:"11px",outline:0,zIndex:10,background:t.palette.common.white,display:"flex",minWidth:0,flexGrow:1,boxShadow:`0px 0px 4px 0px ${t.palette.info.dark}80`,border:`1px solid ${t.palette.info.dark}`,"::placeholder":{color:"#D5D5D5"}})),x=styled(motion.img)(()=>({position:"absolute",zIndex:11,cursor:"pointer"})),I=styled(b)(()=>({minWidth:"auto",borderRadius:"4px",paddingInline:"8px",position:"relative",zIndex:11})),g=styled(K)(()=>({display:"flex",alignItems:"center",justifyContent:"flex-start",position:"relative",zIndex:3,height:32,gap:8}));function j({onSearchChange:t,placeholder:v,...b}){let w=Mc(useId(),"search-button"),[e,p]=useState(false),[C,i]=useState(false),[r,l]=useState(""),c=useRef(null);useEffect(()=>{e&&c.current?.focus();},[e]);let{t:B}=useTranslation(),E=useTheme(),T=()=>{i(true),p(false),t?.(""),l("");},k=()=>{i(false),p(true),P();},P=()=>{r&&t?.(r);},R=a=>{a.key==="Enter"&&t?.(r);},z=a=>{l(a.currentTarget.value);},D={duration:.18,ease:"easeInOut"},W={duration:.05,ease:"easeIn"},A=e||C;return jsxs(g,{id:w,"data-testid":"SearchButton",children:[jsx(AnimatePresence,{initial:false,onExitComplete:()=>i(false),children:e&&jsxs(Fragment,{children:[jsx(h,{ref:c,initial:{width:30},animate:{width:200},exit:{width:30,border:`1px solid ${E.palette.divider}`,boxShadow:"none"},transition:D,style:{willChange:"width"},placeholder:v??(B("search")||""),onKeyDown:R,onChange:z}),jsx(x,{style:{right:48},initial:{opacity:1},exit:{opacity:0},transition:W,src:ji,alt:"close",onClick:T})]})}),jsx(I,{...b,variant:A?"active":"inActive",icon:"search",onClick:k})]})}var y=memo(j);var pt=y;export{pt as a};
1
+ import {b}from'./chunk-SFFYXAJO.js';import {Mc}from'./chunk-GPUQR54W.js';import {ji}from'./chunk-2RALOOEZ.js';import {memo,useId,useState,useRef,useEffect}from'react';import {useTheme}from'@mui/material';import {motion,AnimatePresence}from'framer-motion';import {useTranslation}from'react-i18next';import K from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var h=styled(motion.input)(({theme:t})=>({padding:"8px",paddingRight:"24px",borderRadius:"4px",height:32,color:t.palette.text.primary,fontSize:"11px",outline:0,zIndex:10,background:t.palette.common.white,display:"flex",minWidth:0,flexGrow:1,boxShadow:`0px 0px 4px 0px ${t.palette.info.dark}80`,border:`1px solid ${t.palette.info.dark}`,"::placeholder":{color:"#D5D5D5"}})),x=styled(motion.img)(()=>({position:"absolute",zIndex:11,cursor:"pointer"})),I=styled(b)(()=>({minWidth:"auto",borderRadius:"4px",paddingInline:"8px",position:"relative",zIndex:11})),g=styled(K)(()=>({display:"flex",alignItems:"center",justifyContent:"flex-start",position:"relative",zIndex:3,height:32,gap:8}));function j({onSearchChange:t,placeholder:v,...b}){let w=Mc(useId(),"search-button"),[e,p]=useState(false),[C,i]=useState(false),[r,l]=useState(""),c=useRef(null);useEffect(()=>{e&&c.current?.focus();},[e]);let{t:B}=useTranslation(),E=useTheme(),T=()=>{i(true),p(false),t?.(""),l("");},k=()=>{i(false),p(true),P();},P=()=>{r&&t?.(r);},R=a=>{a.key==="Enter"&&t?.(r);},z=a=>{l(a.currentTarget.value);},D={duration:.18,ease:"easeInOut"},W={duration:.05,ease:"easeIn"},A=e||C;return jsxs(g,{id:w,"data-testid":"SearchButton",children:[jsx(AnimatePresence,{initial:false,onExitComplete:()=>i(false),children:e&&jsxs(Fragment,{children:[jsx(h,{ref:c,initial:{width:30},animate:{width:200},exit:{width:30,border:`1px solid ${E.palette.divider}`,boxShadow:"none"},transition:D,style:{willChange:"width"},placeholder:v??(B("search")||""),onKeyDown:R,onChange:z}),jsx(x,{style:{right:48},initial:{opacity:1},exit:{opacity:0},transition:W,src:ji,alt:"close",onClick:T})]})}),jsx(I,{...b,variant:A?"active":"inActive",icon:"search",onClick:k})]})}var y=memo(j);var pt=y;export{pt as a};
@@ -1 +1 @@
1
- import {Mc}from'./chunk-VTWQYQCU.js';import {pj}from'./chunk-2RALOOEZ.js';import {memo,useId}from'react';import f from'@mui/material/ButtonBase';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';import {Box}from'@mui/material';var d=styled(f,{shouldForwardProp:t=>t!=="variant"&&t!=="size"&&t!=="width"&&t!=="height"})(({theme:t,variant:o="confirm",size:e="default",width:n,height:r})=>({textTransform:"capitalize",borderRadius:"4px",lineHeight:"100%",gap:"8px","&.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"},...n!==void 0&&{width:n},...r!==void 0&&{height:r}}));function u({children:t,sx:o,...e}){let n=Mc(useId(),"button");return jsx(d,{id:n,"data-testid":"Button",sx:o,...e,children:t})}u.displayName="Button";var p=memo(u);function s({...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:pj,alt:"Plus Button",width:24,height:24})})}s.displayName="PlusButton";var l=memo(s);var y=l;var q=p;export{y as a,q as b};
1
+ import {Mc}from'./chunk-GPUQR54W.js';import {pj}from'./chunk-2RALOOEZ.js';import {memo,useId}from'react';import f from'@mui/material/ButtonBase';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';import {Box}from'@mui/material';var d=styled(f,{shouldForwardProp:t=>t!=="variant"&&t!=="size"&&t!=="width"&&t!=="height"})(({theme:t,variant:o="confirm",size:e="default",width:n,height:r})=>({textTransform:"capitalize",borderRadius:"4px",lineHeight:"100%",gap:"8px","&.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"},...n!==void 0&&{width:n},...r!==void 0&&{height:r}}));function u({children:t,sx:o,...e}){let n=Mc(useId(),"button");return jsx(d,{id:n,"data-testid":"Button",sx:o,...e,children:t})}u.displayName="Button";var p=memo(u);function s({...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:pj,alt:"Plus Button",width:24,height:24})})}s.displayName="PlusButton";var l=memo(s);var y=l;var q=p;export{y as a,q as b};
@@ -1 +1 @@
1
- import {a}from'./chunk-GNY2VGGW.js';import {a as a$1}from'./chunk-Z6TE6TOI.js';import {Mc}from'./chunk-VTWQYQCU.js';import {tb}from'./chunk-2RALOOEZ.js';import {memo,useState,useRef,useEffect,useMemo,useId}from'react';import Z from'@mui/material/Popper';import {styled,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var z=styled(a)(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.subtitle1.fontSize,color:e.palette.grey[700],paddingInlineStart:e.spacing(2),paddingTop:e.spacing(1),paddingBottom:e.spacing(1),paddingInlineEnd:e.spacing(1)})),L=styled(Box,{shouldForwardProp:e=>e!=="disabled"})(({theme:e,disabled:r})=>({fontWeight:e.typography.fontWeightMedium,padding:e.spacing(1),position:"relative",display:"flex",alignItems:"center",textTransform:"capitalize",cursor:r?"not-allowed":"pointer",flex:1,zIndex:99999,".MuiButtonBase-root":{width:"16px",marginInlineEnd:"4px"}})),k=styled(Box)(({theme:e})=>({borderRadius:e.spacing(.5),background:e.palette.background.default,width:"max-content",cursor:"pointer",zIndex:99999,boxShadow:e.shadows[11],display:"flex",flexDirection:"column",".nested-menu-item + .nested-menu-item":{borderTop:`1px solid ${e.palette.divider}`,zIndex:99999},".nested-menu-item:hover":{transition:e.transitions.create(["boxShadow","border"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.complex}),boxShadow:e.shadows[6],border:"none",position:"relative"}})),B=styled(Box)(({theme:e})=>({...e.typography.subtitle1,color:e.palette.text.primary,width:"100%"})),R=styled(a$1)(()=>({padding:0,paddingRight:"4px",".MuiSvgIcon-root":{width:12,height:12}})),H=styled(Box)(()=>({display:"flex",gap:"4px",alignItems:"center",flexGrow:1})),$=styled(Box)(()=>({display:"flex",gap:"12px",justifyContent:"space-between",flexGrow:1,alignItems:"center"})),A=styled(Box)(({theme:e})=>({borderRadius:"50%",background:e.palette.divider,width:13,height:14,fontSize:"8px",fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",lineHeight:"10px"})),G=styled(Box)(()=>({display:"flex",alignItems:"center",gap:"8px",flex:1,position:"relative",left:4})),F=styled(Box)(()=>({flex:"1 0 auto"})),O=styled(Box)(()=>({position:"relative",zIndex:999999}));function j({label:e,icon:r,name:s,menuItems:t,setSelected:y,onSelect:P,selected:p,displayChildrenCount:C,disabled:i,placement:x="right",sx:g,menuSx:I}){let[u,S]=useState(null),l=useRef(null),[a,n]=useState(false),h=o=>{!i&&p!==void 0&&(y({name:o,selected:!p}),p||n(false));};return useEffect(()=>{n(!!(t?.some(o=>o.selected)&&!t?.every(o=>o.selected)));},[]),jsxs(L,{"data-testid":"NestedDropdown_MenuItem",ref:l,className:`nested-menu-item ${u?"active":""} ${i?"disabled":""}`,onMouseEnter:o=>{!u&&t?.length&&S(o.currentTarget);},onMouseLeave:()=>{u&&S(null);},onClick:o=>{i||(o.stopPropagation(),h(s));},sx:{...t?.length&&{cursor:i?"not-allowed":"pointer"},zIndex:99999,...g},disabled:i,children:[p!==void 0&&jsx(R,{size:"small",indeterminate:a,checked:p,disabled:i}),jsxs(H,{children:[r&&r,jsxs($,{children:[e&&jsx(B,{children:e}),!!t?.length&&jsxs(G,{children:[C&&jsx(A,{children:t.length}),jsx("img",{src:tb,className:"arrow-icon",alt:"arrow",style:{height:12}})]})]})]}),t?.length&&jsx(Z,{open:!!(u&&t?.length),anchorEl:u,placement:x==="left"?"left-start":"right-start",sx:{zIndex:99999,...I},children:jsx(V,{className:"child-dropdown",menuItems:t,placement:x,onChildrenChange:o=>{let w=o.every(d=>d.selected);p!==void 0&&!i&&(w&&y({name:s,selected:true}),o.every(d=>!d.selected)&&y({name:s,selected:false}),n(o?.some(d=>d.selected)&&!o.every(d=>!d.selected)&&!w));},onSelect:o=>{P(o,s);}})})]})}var M=memo(j);function te({title:e,menuItems:r,onChildrenChange:s,onSelect:t,className:y,updatedList:P,footer:p,header:C,placement:i="right",...x}){let[g,I]=useState({name:"",selected:false}),[u,S]=useState();return useEffect(()=>{S(r);},[r]),useEffect(()=>{if(g.name){let{name:l,selected:a}=g,n=[],h=d=>d?.map(m=>(n.push({name:m.name,selected:a}),{...m,selected:a,...m.menuItems?.length&&{menuItems:h(m.menuItems)}})),w=(d=>d.map(m=>m.name===l?(n.push({name:m.name,selected:a}),{...m,selected:a,...m.menuItems?.length&&{menuItems:h(m.menuItems)}}):m))(u);S(w),P&&P(w),s&&s(w),t&&t(n);}},[g]),jsxs(k,{component:"article",className:`tap-dropdown ${y||""}`,...x,children:[jsx(O,{children:e&&jsx(z,{component:"p",children:e})}),C,jsx(F,{children:u?.map((l,a)=>jsx(M,{setSelected:({name:n,selected:h})=>{I({name:n,selected:h});},onSelect:n=>{t&&t(n);},placement:i,...l},`${l.name}-${a}`))}),p&&p]})}var V=memo(te);var K=(e,{menuItemSx:r,menuSx:s})=>(e.forEach(t=>{t.sx={...r,...t.sx},t.menuSx={...s,...t.menuSx},t.menuItems?.length&&K(t.menuItems,{menuItemSx:r,menuSx:s});}),e);function le({title:e,menuItems:r,onSelect:s,updatedList:t,header:y,placement:P="right",menuItemSx:p={},menuSx:C={},...i}){let x=useMemo(()=>K(r,{menuItemSx:p,menuSx:C}),[r,p,C]),[g,I]=useState(x),u=Mc(useId(),"nested-dropdown");useEffect(()=>{I(x);},[x]);let S=l=>{let a=h=>h.map(o=>({...o,selected:l.find(w=>o.name===w.name)?.selected??o.selected,...o.menuItems?.length&&{menuItems:a(o.menuItems)}})),n=a(g);I(n),t&&t(n);};return jsx(V,{id:u,"data-testid":"NestedDropdown",placement:P,menuItems:g,title:e,header:y,onSelect:l=>{s&&s(l),S(l);},...i})}var Q=memo(le);var Ne=Q;export{M as a,V as b,Ne as c};
1
+ import {a}from'./chunk-GNY2VGGW.js';import {a as a$1}from'./chunk-ON6WNBSV.js';import {Mc}from'./chunk-GPUQR54W.js';import {tb}from'./chunk-2RALOOEZ.js';import {memo,useState,useRef,useEffect,useMemo,useId}from'react';import Z from'@mui/material/Popper';import {styled,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var z=styled(a)(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.subtitle1.fontSize,color:e.palette.grey[700],paddingInlineStart:e.spacing(2),paddingTop:e.spacing(1),paddingBottom:e.spacing(1),paddingInlineEnd:e.spacing(1)})),L=styled(Box,{shouldForwardProp:e=>e!=="disabled"})(({theme:e,disabled:r})=>({fontWeight:e.typography.fontWeightMedium,padding:e.spacing(1),position:"relative",display:"flex",alignItems:"center",textTransform:"capitalize",cursor:r?"not-allowed":"pointer",flex:1,zIndex:99999,".MuiButtonBase-root":{width:"16px",marginInlineEnd:"4px"}})),k=styled(Box)(({theme:e})=>({borderRadius:e.spacing(.5),background:e.palette.background.default,width:"max-content",cursor:"pointer",zIndex:99999,boxShadow:e.shadows[11],display:"flex",flexDirection:"column",".nested-menu-item + .nested-menu-item":{borderTop:`1px solid ${e.palette.divider}`,zIndex:99999},".nested-menu-item:hover":{transition:e.transitions.create(["boxShadow","border"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.complex}),boxShadow:e.shadows[6],border:"none",position:"relative"}})),B=styled(Box)(({theme:e})=>({...e.typography.subtitle1,color:e.palette.text.primary,width:"100%"})),R=styled(a$1)(()=>({padding:0,paddingRight:"4px",".MuiSvgIcon-root":{width:12,height:12}})),H=styled(Box)(()=>({display:"flex",gap:"4px",alignItems:"center",flexGrow:1})),$=styled(Box)(()=>({display:"flex",gap:"12px",justifyContent:"space-between",flexGrow:1,alignItems:"center"})),A=styled(Box)(({theme:e})=>({borderRadius:"50%",background:e.palette.divider,width:13,height:14,fontSize:"8px",fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",lineHeight:"10px"})),G=styled(Box)(()=>({display:"flex",alignItems:"center",gap:"8px",flex:1,position:"relative",left:4})),F=styled(Box)(()=>({flex:"1 0 auto"})),O=styled(Box)(()=>({position:"relative",zIndex:999999}));function j({label:e,icon:r,name:s,menuItems:t,setSelected:y,onSelect:P,selected:p,displayChildrenCount:C,disabled:i,placement:x="right",sx:g,menuSx:I}){let[u,S]=useState(null),l=useRef(null),[a,n]=useState(false),h=o=>{!i&&p!==void 0&&(y({name:o,selected:!p}),p||n(false));};return useEffect(()=>{n(!!(t?.some(o=>o.selected)&&!t?.every(o=>o.selected)));},[]),jsxs(L,{"data-testid":"NestedDropdown_MenuItem",ref:l,className:`nested-menu-item ${u?"active":""} ${i?"disabled":""}`,onMouseEnter:o=>{!u&&t?.length&&S(o.currentTarget);},onMouseLeave:()=>{u&&S(null);},onClick:o=>{i||(o.stopPropagation(),h(s));},sx:{...t?.length&&{cursor:i?"not-allowed":"pointer"},zIndex:99999,...g},disabled:i,children:[p!==void 0&&jsx(R,{size:"small",indeterminate:a,checked:p,disabled:i}),jsxs(H,{children:[r&&r,jsxs($,{children:[e&&jsx(B,{children:e}),!!t?.length&&jsxs(G,{children:[C&&jsx(A,{children:t.length}),jsx("img",{src:tb,className:"arrow-icon",alt:"arrow",style:{height:12}})]})]})]}),t?.length&&jsx(Z,{open:!!(u&&t?.length),anchorEl:u,placement:x==="left"?"left-start":"right-start",sx:{zIndex:99999,...I},children:jsx(V,{className:"child-dropdown",menuItems:t,placement:x,onChildrenChange:o=>{let w=o.every(d=>d.selected);p!==void 0&&!i&&(w&&y({name:s,selected:true}),o.every(d=>!d.selected)&&y({name:s,selected:false}),n(o?.some(d=>d.selected)&&!o.every(d=>!d.selected)&&!w));},onSelect:o=>{P(o,s);}})})]})}var M=memo(j);function te({title:e,menuItems:r,onChildrenChange:s,onSelect:t,className:y,updatedList:P,footer:p,header:C,placement:i="right",...x}){let[g,I]=useState({name:"",selected:false}),[u,S]=useState();return useEffect(()=>{S(r);},[r]),useEffect(()=>{if(g.name){let{name:l,selected:a}=g,n=[],h=d=>d?.map(m=>(n.push({name:m.name,selected:a}),{...m,selected:a,...m.menuItems?.length&&{menuItems:h(m.menuItems)}})),w=(d=>d.map(m=>m.name===l?(n.push({name:m.name,selected:a}),{...m,selected:a,...m.menuItems?.length&&{menuItems:h(m.menuItems)}}):m))(u);S(w),P&&P(w),s&&s(w),t&&t(n);}},[g]),jsxs(k,{component:"article",className:`tap-dropdown ${y||""}`,...x,children:[jsx(O,{children:e&&jsx(z,{component:"p",children:e})}),C,jsx(F,{children:u?.map((l,a)=>jsx(M,{setSelected:({name:n,selected:h})=>{I({name:n,selected:h});},onSelect:n=>{t&&t(n);},placement:i,...l},`${l.name}-${a}`))}),p&&p]})}var V=memo(te);var K=(e,{menuItemSx:r,menuSx:s})=>(e.forEach(t=>{t.sx={...r,...t.sx},t.menuSx={...s,...t.menuSx},t.menuItems?.length&&K(t.menuItems,{menuItemSx:r,menuSx:s});}),e);function le({title:e,menuItems:r,onSelect:s,updatedList:t,header:y,placement:P="right",menuItemSx:p={},menuSx:C={},...i}){let x=useMemo(()=>K(r,{menuItemSx:p,menuSx:C}),[r,p,C]),[g,I]=useState(x),u=Mc(useId(),"nested-dropdown");useEffect(()=>{I(x);},[x]);let S=l=>{let a=h=>h.map(o=>({...o,selected:l.find(w=>o.name===w.name)?.selected??o.selected,...o.menuItems?.length&&{menuItems:a(o.menuItems)}})),n=a(g);I(n),t&&t(n);};return jsx(V,{id:u,"data-testid":"NestedDropdown",placement:P,menuItems:g,title:e,header:y,onSelect:l=>{s&&s(l),S(l);},...i})}var Q=memo(le);var Ne=Q;export{M as a,V as b,Ne as c};
@@ -1 +1 @@
1
- import {Mc}from'./chunk-VTWQYQCU.js';import {useId,useState,useEffect}from'react';import {LazyLoadImage}from'react-lazy-load-image-component';import {jsx}from'react/jsx-runtime';var l=LazyLoadImage,r={opacity:()=>import('react-lazy-load-image-component/src/effects/opacity.css'),blur:()=>import('react-lazy-load-image-component/src/effects/blur.css'),"black-and-white":()=>import('react-lazy-load-image-component/src/effects/black-and-white.css')},u=f=>{let m=Mc(useId(),"lazy-image"),{wrapperProps:t,...o}=f,{effect:e}=o,{style:p}=t||{},[c,a]=useState(!!e);return useEffect(()=>{if(!e||!(e in r))return;let i=r[e];a(true),i().finally(()=>{a(false);});},[e]),c?null:jsx(l,{...o,id:m,"data-testid":"LazyImage",wrapperProps:{...t,style:{display:"flex",justifyContent:"center",alignItems:"center",...p}}})},n=u;var A=n;export{A as a};
1
+ import {Mc}from'./chunk-GPUQR54W.js';import {useId,useState,useEffect}from'react';import {LazyLoadImage}from'react-lazy-load-image-component';import {jsx}from'react/jsx-runtime';var l=LazyLoadImage,r={opacity:()=>import('react-lazy-load-image-component/src/effects/opacity.css'),blur:()=>import('react-lazy-load-image-component/src/effects/blur.css'),"black-and-white":()=>import('react-lazy-load-image-component/src/effects/black-and-white.css')},u=f=>{let m=Mc(useId(),"lazy-image"),{wrapperProps:t,...o}=f,{effect:e}=o,{style:p}=t||{},[c,a]=useState(!!e);return useEffect(()=>{if(!e||!(e in r))return;let i=r[e];a(true),i().finally(()=>{a(false);});},[e]),c?null:jsx(l,{...o,id:m,"data-testid":"LazyImage",wrapperProps:{...t,style:{display:"flex",justifyContent:"center",alignItems:"center",...p}}})},n=u;var A=n;export{A as a};
@@ -1,2 +1,2 @@
1
- import {f}from'./chunk-4XIHALPL.js';import {Mc}from'./chunk-VTWQYQCU.js';import {memo,useId,useState,useRef,useMemo}from'react';import {useTheme}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import C from'@mui/material/Box';import v from'@mui/material/Button';import {styled,alpha}from'@mui/material/styles';function m({isActive:o}){let[t,r]=useState(false),a=useTheme(),s=()=>{r(true);},p=()=>{r(false);},l=o?a.palette.common.white:a.palette.grey[700],c=t?a.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:c,fillOpacity:"0.1",onMouseEnter:s,onMouseLeave:p}),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:l})]})})}var y=o=>({...o.typography.subtitle1,borderRadius:"50px",borderWidth:"1px",borderStyle:"solid",minWidth:"135.11px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",textTransform:"none",transition:"none",paddingInline:o.spacing(2)}),B=styled(v)(({theme:o})=>({...y(o),background:o.palette.background.gradient.shadedBlue,color:o.palette.common.white,"&:hover":{background:o.palette.background.gradient.shadedBlue,opacity:.8}})),b=styled(v)(({theme:o})=>({...y(o),backgroundColor:o.palette.common.white,borderColor:o.palette.grey[100],color:o.palette.text.primary,"&:hover":{backgroundColor:o.palette.common.white,opacity:.7}}));styled(C)(({theme:o,variant:t})=>({borderRadius:"50px",backgroundColor:t==="active"?alpha(o.palette.text.primary,.1):o.palette.grey[100],display:"flex",justifyContent:"center",alignItems:"center",paddingInline:o.spacing(.5),paddingBlock:o.spacing(.25),color:t==="active"?o.palette.common.white:o.palette.text.primary,fontSize:"8px",fontWeight:700,lineHeight:"10px"}));styled("img")(({theme:o,variant:t})=>({fill:t==="active"?o.palette.common.white:o.palette.text.primary,color:t==="active"?o.palette.common.white:o.palette.text.primary,maxWidth:"14px",maxHeight:"14px"}));styled("p")(({theme:o})=>({fontSize:"0.6875rem",color:o.palette.background.default,fontStyle:"normal",margin:"auto",textTransform:"capitalize"}));var I=styled(f)(({theme:o})=>({backgroundColor:"white",boxShadow:o.shadows[21],borderRadius:"0.25rem","& .MuiPaper-root":{borderRadius:"0.25rem",width:"12.5rem"}})),D=styled("span")(()=>({width:"27px",height:"100%",maxHeight:"100%",position:"absolute",top:"0",right:"0",bottom:"0",overflow:"hidden"})),L=styled(C)(()=>({display:"flex",alignItems:"center",justifyContent:"center",width:"100%"})),k=styled(C)(()=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"0.5rem"}));var M={active:B,inActive:b};function R({variant:o="inActive",label:t,dropdownOptions:r,...a}){let s=Mc(useId(),"dropdown-button"),[p,l]=useState(null),c=useRef(null),f=!!p,g=()=>{l(null);},H=M[o],d=r&&r.length>0,h=d?jsx(m,{isActive:o==="active"}):null,T=n=>{n.stopPropagation(),n.preventDefault(),d&&l(c.current);},P=useMemo(()=>(r||[]).map(n=>({...n,onClick:A=>{n?.onClick?.(A),g();}})),[r]);return jsxs(Fragment,{children:[jsx(H,{id:s,"data-testid":"StatusButton",...a,ref:c,onClick:n=>{a?.onClick?.(n),T(n);},sx:{...d&&{paddingInlineEnd:"27px"}},children:jsxs(L,{children:[jsx(k,{children:t}),h&&jsx(D,{children:h})]})}),f&&jsx(I,{open:f,onClose:g,anchorEl:p,menuItems:P})]})}R.displayName="DropdownButton";var E=memo(R);var go=E;
1
+ import {f}from'./chunk-WQQOF46P.js';import {Mc}from'./chunk-GPUQR54W.js';import {memo,useId,useState,useRef,useMemo}from'react';import {useTheme}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import C from'@mui/material/Box';import v from'@mui/material/Button';import {styled,alpha}from'@mui/material/styles';function m({isActive:o}){let[t,r]=useState(false),a=useTheme(),s=()=>{r(true);},p=()=>{r(false);},l=o?a.palette.common.white:a.palette.grey[700],c=t?a.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:c,fillOpacity:"0.1",onMouseEnter:s,onMouseLeave:p}),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:l})]})})}var y=o=>({...o.typography.subtitle1,borderRadius:"50px",borderWidth:"1px",borderStyle:"solid",minWidth:"135.11px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",textTransform:"none",transition:"none",paddingInline:o.spacing(2)}),B=styled(v)(({theme:o})=>({...y(o),background:o.palette.background.gradient.shadedBlue,color:o.palette.common.white,"&:hover":{background:o.palette.background.gradient.shadedBlue,opacity:.8}})),b=styled(v)(({theme:o})=>({...y(o),backgroundColor:o.palette.common.white,borderColor:o.palette.grey[100],color:o.palette.text.primary,"&:hover":{backgroundColor:o.palette.common.white,opacity:.7}}));styled(C)(({theme:o,variant:t})=>({borderRadius:"50px",backgroundColor:t==="active"?alpha(o.palette.text.primary,.1):o.palette.grey[100],display:"flex",justifyContent:"center",alignItems:"center",paddingInline:o.spacing(.5),paddingBlock:o.spacing(.25),color:t==="active"?o.palette.common.white:o.palette.text.primary,fontSize:"8px",fontWeight:700,lineHeight:"10px"}));styled("img")(({theme:o,variant:t})=>({fill:t==="active"?o.palette.common.white:o.palette.text.primary,color:t==="active"?o.palette.common.white:o.palette.text.primary,maxWidth:"14px",maxHeight:"14px"}));styled("p")(({theme:o})=>({fontSize:"0.6875rem",color:o.palette.background.default,fontStyle:"normal",margin:"auto",textTransform:"capitalize"}));var I=styled(f)(({theme:o})=>({backgroundColor:"white",boxShadow:o.shadows[21],borderRadius:"0.25rem","& .MuiPaper-root":{borderRadius:"0.25rem",width:"12.5rem"}})),D=styled("span")(()=>({width:"27px",height:"100%",maxHeight:"100%",position:"absolute",top:"0",right:"0",bottom:"0",overflow:"hidden"})),L=styled(C)(()=>({display:"flex",alignItems:"center",justifyContent:"center",width:"100%"})),k=styled(C)(()=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"0.5rem"}));var M={active:B,inActive:b};function R({variant:o="inActive",label:t,dropdownOptions:r,...a}){let s=Mc(useId(),"dropdown-button"),[p,l]=useState(null),c=useRef(null),f=!!p,g=()=>{l(null);},H=M[o],d=r&&r.length>0,h=d?jsx(m,{isActive:o==="active"}):null,T=n=>{n.stopPropagation(),n.preventDefault(),d&&l(c.current);},P=useMemo(()=>(r||[]).map(n=>({...n,onClick:A=>{n?.onClick?.(A),g();}})),[r]);return jsxs(Fragment,{children:[jsx(H,{id:s,"data-testid":"StatusButton",...a,ref:c,onClick:n=>{a?.onClick?.(n),T(n);},sx:{...d&&{paddingInlineEnd:"27px"}},children:jsxs(L,{children:[jsx(k,{children:t}),h&&jsx(D,{children:h})]})}),f&&jsx(I,{open:f,onClose:g,anchorEl:p,menuItems:P})]})}R.displayName="DropdownButton";var E=memo(R);var go=E;
2
2
  export{m as a,go as b};
@@ -1,2 +1,2 @@
1
- import {Mc}from'./chunk-VTWQYQCU.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=Mc(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 {Mc}from'./chunk-GPUQR54W.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=Mc(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 {Mc}from'./chunk-VTWQYQCU.js';import {dc}from'./chunk-2RALOOEZ.js';import {useId}from'react';import {motion}from'framer-motion';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var e=styled(motion.img,{shouldForwardProp:n=>n!=="width"&&n!=="height"})(({width:n,height:i})=>({width:n||"16px",height:i||"16px"}));var h=({width:n,height:i,sx:p}={})=>{let m=Mc(useId(),"animated-spinner-icon");return jsx(e,{id:m,"data-testid":"AnimatedSpinnerIcon",src:dc,alt:"Loading",className:"spinner-loader",width:n,height:i,sx:p,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}})},r=h;var u=r;export{u as a};
1
+ import {Mc}from'./chunk-GPUQR54W.js';import {dc}from'./chunk-2RALOOEZ.js';import {useId}from'react';import {motion}from'framer-motion';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var e=styled(motion.img,{shouldForwardProp:n=>n!=="width"&&n!=="height"})(({width:n,height:i})=>({width:n||"16px",height:i||"16px"}));var h=({width:n,height:i,sx:p}={})=>{let m=Mc(useId(),"animated-spinner-icon");return jsx(e,{id:m,"data-testid":"AnimatedSpinnerIcon",src:dc,alt:"Loading",className:"spinner-loader",width:n,height:i,sx:p,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}})},r=h;var u=r;export{u as a};
@@ -1,4 +1,4 @@
1
- import {b}from'./chunk-MUR4ILTY.js';import {Mc}from'./chunk-VTWQYQCU.js';import {ub}from'./chunk-2RALOOEZ.js';import {useId,useCallback}from'react';import v,{autocompleteClasses}from'@mui/material/Autocomplete';import y from'@mui/material/Box';import M from'@mui/material/TextField';import R from'@mui/material/Popper';import {keyframes,styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var T=keyframes`
1
+ import {b}from'./chunk-MUR4ILTY.js';import {Mc}from'./chunk-GPUQR54W.js';import {ub}from'./chunk-2RALOOEZ.js';import {useId,useCallback}from'react';import v,{autocompleteClasses}from'@mui/material/Autocomplete';import y from'@mui/material/Box';import M from'@mui/material/TextField';import R from'@mui/material/Popper';import {keyframes,styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var T=keyframes`
2
2
  0% {
3
3
  transform: rotate(-90deg);
4
4
  }
@@ -1,3 +1,3 @@
1
- import {a}from'./chunk-KHM5KW53.js';import {Mc}from'./chunk-VTWQYQCU.js';import {oi}from'./chunk-2RALOOEZ.js';import {useState,useId}from'react';import T from'@mui/material/Skeleton';import i from'@mui/material/Box';import {styled,Box}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var h=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"center",borderRadius:12,border:"1.03px solid"})),c=styled(Box)`
1
+ import {a}from'./chunk-KHM5KW53.js';import {Mc}from'./chunk-GPUQR54W.js';import {oi}from'./chunk-2RALOOEZ.js';import {useState,useId}from'react';import T from'@mui/material/Skeleton';import i from'@mui/material/Box';import {styled,Box}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var h=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"center",borderRadius:12,border:"1.03px solid"})),c=styled(Box)`
2
2
  position: absolute;
3
3
  `;function d({mainIcon:B,overlayIcon:p,mainIconAlt:u="main icon",mainIconSize:t=20,containerSize:a$1=24,overlayPosition:b={top:10,left:17},borderColor:w="#F2F2F2",label:y="",sx:I,onError:W,containerSx:C}){let[e,s]=useState(true),F=Mc(useId(),"icon-with-badge");return jsx(a,{title:y,children:jsx(i,{id:F,"data-testid":"IconWithBadge",display:"flex",alignItems:"center",gap:1,sx:{position:"relative",...C},children:jsxs(h,{style:{borderColor:w,width:a$1,height:a$1},children:[t&&e&&jsx(i,{width:t,height:t,children:e&&jsx(T,{variant:"circular",width:`${t}px`,height:`${t}px`})}),jsxs(Fragment,{children:[p&&jsx(c,{sx:b,children:p}),jsx(i,{width:t,height:t,component:"img",src:B||oi,alt:u,sx:{borderRadius:"50%",objectFit:"scale-down",opacity:e?0:1,...I},onError:n=>{s(false),n.currentTarget.src=oi,W?.(n);},onLoad:()=>{s(false);}})]})]})})})}var M=d;export{M as a};
@@ -1 +1 @@
1
- import'./chunk-UZ7IGYUB.js';import {b as b$1}from'./chunk-FL5LDNGF.js';import {Mc}from'./chunk-VTWQYQCU.js';import {memo,useId,useState,useEffect}from'react';import d from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsx,Fragment}from'react/jsx-runtime';var s="32px";var f=styled(d,{shouldForwardProp:e=>e!=="isMaximized"})(({theme:e,isMaximized:r})=>({background:alpha(e.palette.common.white,.7),backdropFilter:"blur(8px)",width:183,position:"sticky",padding:"16px 8px",paddingTop:r?s:"16px",height:"100%",overflow:"auto"})),b=styled(d)(()=>({display:"flex",flexDirection:"column",gap:"8px"})),g=styled(d,{shouldForwardProp:e=>e!=="isActive"})(({theme:e,isActive:r})=>({background:r?"linear-gradient(270deg, #147DC5 0.67%, #3DA6E1 98.91%)":"transparent",borderRadius:"4px",padding:"4px 8px",color:r?e.palette.common.white:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px",cursor:"pointer",fontWeight:600})),S=styled(d,{shouldForwardProp:e=>e!=="isActive"})(({theme:e,isActive:r})=>({background:r?"#FFFFFF":"transparent",borderRadius:"4px",padding:"4px 8px",color:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px",cursor:"pointer",fontWeight:600}));function H({sections:e,isMaximized:r,onClick:x,activeSection:h,activeSubSection:E}){let A=Mc(useId(),"expandable-side-bar"),i=h||e?.[0]?.id,k=E||e?.[0]?.subSections?.[0]?.id,[I,c]=useState({});return useEffect(()=>{e?.length&&c(t=>{let o=false,a={...t};for(let l of e)l.id in a||(a[l.id]=i===l.id,o=true);return o?a:t});},[e,i]),useEffect(()=>{i&&c(t=>({...t,[i]:true}));},[i]),jsx(f,{isMaximized:r,id:A,"data-testid":"ExpandableSideBar",children:jsx(b,{children:e?.map(t=>jsx(b$1,{expanded:I[t.id]??false,onChange:o=>c(a=>({...a,[t.id]:o})),label:jsx(S,{onClick:()=>{x?.(t.id,t.subSections?.[0]?.id);},isActive:i===t.id,children:t.title}),content:jsx(Fragment,{children:t.subSections?.map(o=>jsx(g,{onClick:()=>{x?.(t.id,o.id);},isActive:k===o.id,children:o.title},`${t.id}-${o.id}`))}),slotProps:{root:{component:"section",sx:{background:"transparent",border:"none !important","&.MuiAccordion-root":{borderRadius:"4px !important"}}},label:{sx:{padding:0,paddingRight:1,minHeight:0,marginBottom:"4px",borderRadius:"4px !important","& .MuiAccordionSummary-content":{margin:"0 !important"}}},content:{sx:{borderTop:"none",padding:0}}}},`${t.id}`))})})}var B=memo(H);var K=B;export{K as a};
1
+ import'./chunk-JKCCQTSL.js';import {b as b$1}from'./chunk-3MSCEP3Y.js';import {Mc}from'./chunk-GPUQR54W.js';import {memo,useId,useState,useEffect}from'react';import d from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsx,Fragment}from'react/jsx-runtime';var s="32px";var f=styled(d,{shouldForwardProp:e=>e!=="isMaximized"})(({theme:e,isMaximized:r})=>({background:alpha(e.palette.common.white,.7),backdropFilter:"blur(8px)",width:183,position:"sticky",padding:"16px 8px",paddingTop:r?s:"16px",height:"100%",overflow:"auto"})),b=styled(d)(()=>({display:"flex",flexDirection:"column",gap:"8px"})),g=styled(d,{shouldForwardProp:e=>e!=="isActive"})(({theme:e,isActive:r})=>({background:r?"linear-gradient(270deg, #147DC5 0.67%, #3DA6E1 98.91%)":"transparent",borderRadius:"4px",padding:"4px 8px",color:r?e.palette.common.white:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px",cursor:"pointer",fontWeight:600})),S=styled(d,{shouldForwardProp:e=>e!=="isActive"})(({theme:e,isActive:r})=>({background:r?"#FFFFFF":"transparent",borderRadius:"4px",padding:"4px 8px",color:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px",cursor:"pointer",fontWeight:600}));function H({sections:e,isMaximized:r,onClick:x,activeSection:h,activeSubSection:E}){let A=Mc(useId(),"expandable-side-bar"),i=h||e?.[0]?.id,k=E||e?.[0]?.subSections?.[0]?.id,[I,c]=useState({});return useEffect(()=>{e?.length&&c(t=>{let o=false,a={...t};for(let l of e)l.id in a||(a[l.id]=i===l.id,o=true);return o?a:t});},[e,i]),useEffect(()=>{i&&c(t=>({...t,[i]:true}));},[i]),jsx(f,{isMaximized:r,id:A,"data-testid":"ExpandableSideBar",children:jsx(b,{children:e?.map(t=>jsx(b$1,{expanded:I[t.id]??false,onChange:o=>c(a=>({...a,[t.id]:o})),label:jsx(S,{onClick:()=>{x?.(t.id,t.subSections?.[0]?.id);},isActive:i===t.id,children:t.title}),content:jsx(Fragment,{children:t.subSections?.map(o=>jsx(g,{onClick:()=>{x?.(t.id,o.id);},isActive:k===o.id,children:o.title},`${t.id}-${o.id}`))}),slotProps:{root:{component:"section",sx:{background:"transparent",border:"none !important","&.MuiAccordion-root":{borderRadius:"4px !important"}}},label:{sx:{padding:0,paddingRight:1,minHeight:0,marginBottom:"4px",borderRadius:"4px !important","& .MuiAccordionSummary-content":{margin:"0 !important"}}},content:{sx:{borderTop:"none",padding:0}}}},`${t.id}`))})})}var B=memo(H);var K=B;export{K as a};
@@ -1 +1 @@
1
- import {Mc}from'./chunk-VTWQYQCU.js';import {useId}from'react';import {styled,Box}from'@mui/material';import {jsx}from'react/jsx-runtime';var g=styled(Box)(({theme:o})=>({backgroundColor:o.palette.action.hover,display:"flex",alignItems:"center",gap:"0.5px",padding:"1.5px",borderRadius:"3px"})),p=styled(Box,{shouldForwardProp:o=>o!=="active"})(({active:o})=>({fontSize:8,fontWeight:500,width:21,height:21,borderRadius:"1.5px",backgroundColor:o?"white":"transparent",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",boxShadow:o?"0px 0px 3px 0px #00000033":"none",transition:"background-color 0.2s ease, box-shadow 0.2s ease"}));var T=({options:o,activeKey:a,onChange:i,containerProps:d,buttonProps:u})=>{let m=Mc(useId(),"toggle-buttons");return jsx(g,{id:m,"data-testid":"ToggleButtons",...d,children:o.map(t=>jsx(p,{active:a===t.key,onClick:()=>i(t.key),...u,children:t.content},t.key))})},l=T;var w=l;export{w as a};
1
+ import {Mc}from'./chunk-GPUQR54W.js';import {useId}from'react';import {styled,Box}from'@mui/material';import {jsx}from'react/jsx-runtime';var g=styled(Box)(({theme:o})=>({backgroundColor:o.palette.action.hover,display:"flex",alignItems:"center",gap:"0.5px",padding:"1.5px",borderRadius:"3px"})),p=styled(Box,{shouldForwardProp:o=>o!=="active"})(({active:o})=>({fontSize:8,fontWeight:500,width:21,height:21,borderRadius:"1.5px",backgroundColor:o?"white":"transparent",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",boxShadow:o?"0px 0px 3px 0px #00000033":"none",transition:"background-color 0.2s ease, box-shadow 0.2s ease"}));var T=({options:o,activeKey:a,onChange:i,containerProps:d,buttonProps:u})=>{let m=Mc(useId(),"toggle-buttons");return jsx(g,{id:m,"data-testid":"ToggleButtons",...d,children:o.map(t=>jsx(p,{active:a===t.key,onClick:()=>i(t.key),...u,children:t.content},t.key))})},l=T;var w=l;export{w as a};