@tap-payments/os-micro-frontend-shared 0.3.224 → 0.3.225-test.2

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 (221) hide show
  1. package/build/_chunks/{chunk-KV7KQ6MZ.js → chunk-2BBA55M3.js} +1 -1
  2. package/build/_chunks/{chunk-64ILCI3S.js → chunk-2ZWFGV3F.js} +1 -1
  3. package/build/_chunks/chunk-3I7Q6P3F.js +1 -0
  4. package/build/_chunks/{chunk-BIJMWICZ.js → chunk-3MX37GZ7.js} +1 -1
  5. package/build/_chunks/{chunk-7GVPGH6A.js → chunk-5A3ZU24R.js} +1 -1
  6. package/build/_chunks/{chunk-MHZSYMQP.js → chunk-5NWZSJEV.js} +1 -1
  7. package/build/_chunks/{chunk-DBFH6OKQ.js → chunk-6F3QB4JU.js} +2 -2
  8. package/build/_chunks/{chunk-KSTOW7O3.js → chunk-6QHZAVV2.js} +1 -1
  9. package/build/_chunks/{chunk-OBHJVUFA.js → chunk-6W3US26G.js} +1 -1
  10. package/build/_chunks/{chunk-W3D5YN4V.js → chunk-6XP6LAYC.js} +1 -1
  11. package/build/_chunks/{chunk-4AFJCOBN.js → chunk-75IIJ5YW.js} +1 -1
  12. package/build/_chunks/{chunk-WE7NB24K.js → chunk-7PORSSYZ.js} +1 -1
  13. package/build/_chunks/{chunk-W4PURLBP.js → chunk-7W5I7BNS.js} +1 -1
  14. package/build/_chunks/{chunk-VQ4INPUZ.js → chunk-BT7QXEEC.js} +1 -1
  15. package/build/_chunks/{chunk-P57UJVYY.js → chunk-BWMUGH7D.js} +1 -1
  16. package/build/_chunks/{chunk-5DLQTR4L.js → chunk-CF7FJLH7.js} +1 -1
  17. package/build/_chunks/{chunk-GIUONT72.js → chunk-CJQNU6AL.js} +1 -1
  18. package/build/_chunks/{chunk-TY3LDUTP.js → chunk-CUN74BRZ.js} +1 -1
  19. package/build/_chunks/{chunk-GNNMQUBT.js → chunk-E4U5H5AD.js} +1 -1
  20. package/build/_chunks/{chunk-TIO3V7XA.js → chunk-EQWBC5CH.js} +1 -1
  21. package/build/_chunks/{chunk-UO33K26R.js → chunk-EWD4KDIM.js} +1 -1
  22. package/build/_chunks/{chunk-EI4VQCCM.js → chunk-F7JKAS5Y.js} +1 -1
  23. package/build/_chunks/{chunk-4SWNFKMX.js → chunk-FRHT4WYE.js} +1 -1
  24. package/build/_chunks/{chunk-FTG5LY7I.js → chunk-GBX2WJF7.js} +1 -1
  25. package/build/_chunks/{chunk-LIHS4ZYZ.js → chunk-GDS3EXWW.js} +1 -1
  26. package/build/_chunks/{chunk-U62XSJM5.js → chunk-GYNSTPMG.js} +1 -1
  27. package/build/_chunks/{chunk-DKMFQFZU.js → chunk-HS6GKFBH.js} +1 -1
  28. package/build/_chunks/{chunk-KS7YB4UX.js → chunk-IKC4WBT5.js} +1 -1
  29. package/build/_chunks/{chunk-OAEOQ7AZ.js → chunk-IMYF5VGM.js} +1 -1
  30. package/build/_chunks/{chunk-MBTSXCJW.js → chunk-IXUOS7BH.js} +1 -1
  31. package/build/_chunks/chunk-J3ZBLABV.js +1 -0
  32. package/build/_chunks/{chunk-XBUO2UHM.js → chunk-JADN4RVW.js} +1 -1
  33. package/build/_chunks/{chunk-5EP3LEOE.js → chunk-JKSQYXDY.js} +1 -1
  34. package/build/_chunks/{chunk-YPVFVBG3.js → chunk-JNOU3LRW.js} +1 -1
  35. package/build/_chunks/{chunk-HKQY74IJ.js → chunk-KIKP7C33.js} +1 -1
  36. package/build/_chunks/{chunk-UD33MPJX.js → chunk-KTC27FFB.js} +1 -1
  37. package/build/_chunks/{chunk-32CPM4J3.js → chunk-LJW2H2XL.js} +1 -1
  38. package/build/_chunks/{chunk-LOGPCQ24.js → chunk-M27SVGQU.js} +1 -1
  39. package/build/_chunks/{chunk-QZAVOGKZ.js → chunk-MCHLV3GW.js} +1 -1
  40. package/build/_chunks/{chunk-6VQVT7U4.js → chunk-MQV5C7RO.js} +1 -1
  41. package/build/_chunks/{chunk-MMFW3YZV.js → chunk-MT6C56MW.js} +1 -1
  42. package/build/_chunks/chunk-MWNS7Z2C.js +1 -0
  43. package/build/_chunks/{chunk-O4UZRDVR.js → chunk-MY2XGM5P.js} +1 -1
  44. package/build/_chunks/chunk-MZTBBFA7.js +1 -0
  45. package/build/_chunks/{chunk-VTJJFPK5.js → chunk-NBG5MZSN.js} +1 -1
  46. package/build/_chunks/{chunk-PHVELRMX.js → chunk-NJDDCJNI.js} +1 -1
  47. package/build/_chunks/{chunk-BL45EG5I.js → chunk-NQJCXG6I.js} +1 -1
  48. package/build/_chunks/{chunk-WAY7BWQL.js → chunk-PPK7KIEQ.js} +1 -1
  49. package/build/_chunks/{chunk-44UNMXKS.js → chunk-Q7CRGZ2S.js} +2 -2
  50. package/build/_chunks/{chunk-MQOX7MKN.js → chunk-QEL46FXD.js} +1 -1
  51. package/build/_chunks/{chunk-GAL3X7PR.js → chunk-R5Q7KZLL.js} +1 -1
  52. package/build/_chunks/{chunk-CAKSLKXG.js → chunk-RSMSWHS5.js} +1 -1
  53. package/build/_chunks/chunk-S4YR44CB.js +2 -0
  54. package/build/_chunks/{chunk-JORNMG4I.js → chunk-SK3LVT5J.js} +1 -1
  55. package/build/_chunks/chunk-TQJTUYWX.js +1 -0
  56. package/build/_chunks/{chunk-XSRIBZ5H.js → chunk-TSAKIFYQ.js} +1 -1
  57. package/build/_chunks/{chunk-F2LUAXXO.js → chunk-TXKTCFKO.js} +1 -1
  58. package/build/_chunks/{chunk-ND2SYD7Y.js → chunk-U5NVLQNN.js} +1 -1
  59. package/build/_chunks/{chunk-AFDB2YM6.js → chunk-U6NZQDEH.js} +1 -1
  60. package/build/_chunks/{chunk-TKU4GMEV.js → chunk-UJ4MDCBB.js} +1 -1
  61. package/build/_chunks/{chunk-33C463YL.js → chunk-USMVTPUL.js} +1 -1
  62. package/build/_chunks/{chunk-T5WRDF6Z.js → chunk-WAWQR2DA.js} +1 -1
  63. package/build/_chunks/{chunk-KD4RSWN6.js → chunk-X2II7JE5.js} +1 -1
  64. package/build/_chunks/{chunk-TH5E43JD.js → chunk-XRSBXMMZ.js} +1 -1
  65. package/build/_chunks/{chunk-DPOBKAVX.js → chunk-XS6A547O.js} +1 -1
  66. package/build/_chunks/{chunk-FNWPZLRV.js → chunk-XWOMR2DZ.js} +1 -1
  67. package/build/_chunks/{chunk-QGQRTANO.js → chunk-Y3UJY4BI.js} +1 -1
  68. package/build/_chunks/{chunk-R5PUIGMB.js → chunk-Y4BRXVRK.js} +2 -2
  69. package/build/_chunks/{chunk-FAKPBQH3.js → chunk-Y64KM7GD.js} +1 -1
  70. package/build/_chunks/{chunk-545BCGVE.js → chunk-YLASBEZC.js} +1 -1
  71. package/build/_chunks/{chunk-DEQ2OTPX.js → chunk-YMPXNONU.js} +1 -1
  72. package/build/_chunks/{chunk-FKG3SYY6.js → chunk-YVABI6IZ.js} +1 -1
  73. package/build/_chunks/{chunk-ZGZK4AZ3.js → chunk-YZIGCUO6.js} +1 -1
  74. package/build/_chunks/{chunk-SWXXEAIZ.js → chunk-ZFIY23WW.js} +1 -1
  75. package/build/_chunks/{chunk-JEYLI22W.js → chunk-ZRBA5PR7.js} +1 -1
  76. package/build/components/ActionsDropdownMenu/index.js +1 -1
  77. package/build/components/ActiveFilterChip/index.js +1 -1
  78. package/build/components/AmountInput/index.js +1 -1
  79. package/build/components/AnimatedSpinnerIcon/index.js +1 -1
  80. package/build/components/AppServices/index.js +1 -1
  81. package/build/components/AppServicesBar/index.js +1 -1
  82. package/build/components/AppWindowWrapper/index.js +1 -1
  83. package/build/components/AreaChart/index.js +1 -1
  84. package/build/components/Autocomplete/index.js +1 -1
  85. package/build/components/BrandLogo/index.js +1 -1
  86. package/build/components/Calender/index.js +1 -1
  87. package/build/components/ChipStack/index.js +1 -1
  88. package/build/components/ColorPicker/index.js +1 -1
  89. package/build/components/ColumnViews/index.js +1 -1
  90. package/build/components/ConfirmDialog/index.js +1 -1
  91. package/build/components/CountryFilter/index.js +1 -1
  92. package/build/components/CountryFlag/index.js +1 -1
  93. package/build/components/CurrenciesMenu/CountryFlag.d.ts +10 -0
  94. package/build/components/CurrenciesMenu/CurrenciesMenu.d.ts +4 -0
  95. package/build/components/CurrenciesMenu/OptionContent.d.ts +5 -0
  96. package/build/components/CurrenciesMenu/OptionRow.d.ts +5 -0
  97. package/build/components/CurrenciesMenu/constants.d.ts +15 -0
  98. package/build/components/CurrenciesMenu/icons.d.ts +3 -0
  99. package/build/components/CurrenciesMenu/index.d.ts +4 -0
  100. package/build/components/CurrenciesMenu/index.js +1 -0
  101. package/build/components/CurrenciesMenu/style.d.ts +32 -0
  102. package/build/components/CurrenciesMenu/type.d.ts +64 -0
  103. package/build/components/CurrenciesMenu/utils.d.ts +9 -0
  104. package/build/components/CurrencyAmount/index.js +1 -1
  105. package/build/components/CurrencySymbol/index.js +1 -1
  106. package/build/components/CustomBackdrop/index.js +1 -1
  107. package/build/components/Customer/index.js +1 -1
  108. package/build/components/DateFilter/index.js +1 -1
  109. package/build/components/DeviceIcon/index.js +1 -1
  110. package/build/components/DisplayAmount/index.js +1 -1
  111. package/build/components/DropdownMenu/index.js +1 -1
  112. package/build/components/EmptyState/index.js +1 -1
  113. package/build/components/Error/index.js +1 -1
  114. package/build/components/ErrorToast/index.js +1 -1
  115. package/build/components/ExpandableSideBar/index.js +1 -1
  116. package/build/components/FileDropbox/FileDropbox.d.ts +4 -0
  117. package/build/components/FileDropbox/constants.d.ts +13 -0
  118. package/build/components/FileDropbox/index.d.ts +3 -0
  119. package/build/components/FileDropbox/index.js +1 -0
  120. package/build/components/FileDropbox/style.d.ts +19 -0
  121. package/build/components/FileDropbox/type.d.ts +65 -0
  122. package/build/components/FilePreview/FilePreview.d.ts +3 -3
  123. package/build/components/FilePreview/constants.d.ts +10 -0
  124. package/build/components/FilePreview/index.d.ts +3 -3
  125. package/build/components/FilePreview/index.js +1 -1
  126. package/build/components/FilePreview/style.d.ts +8 -21
  127. package/build/components/FilePreview/type.d.ts +19 -6
  128. package/build/components/FileUploader/FileUploader.d.ts +3 -3
  129. package/build/components/FileUploader/constants.d.ts +11 -0
  130. package/build/components/FileUploader/index.d.ts +3 -3
  131. package/build/components/FileUploader/index.js +1 -1
  132. package/build/components/FileUploader/style.d.ts +7 -22
  133. package/build/components/FileUploader/type.d.ts +31 -10
  134. package/build/components/FilterDropdown/index.js +1 -1
  135. package/build/components/Filters/index.js +1 -1
  136. package/build/components/FlippingCard/index.js +1 -1
  137. package/build/components/FormSelect/index.js +1 -1
  138. package/build/components/GroupedSelect/index.js +1 -1
  139. package/build/components/HeatMap/index.js +1 -1
  140. package/build/components/IconWithBadge/index.js +1 -1
  141. package/build/components/InputBase/index.js +1 -1
  142. package/build/components/Inputs/index.js +1 -1
  143. package/build/components/JSONViewer/index.js +1 -1
  144. package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
  145. package/build/components/ListColumnFilter/index.js +1 -1
  146. package/build/components/ListHeader/index.js +1 -1
  147. package/build/components/ListLayout/index.js +1 -1
  148. package/build/components/Loader/index.js +1 -1
  149. package/build/components/MFWidgetLoader/index.js +1 -1
  150. package/build/components/MaskedText/index.js +1 -1
  151. package/build/components/MerchantLogo/index.js +1 -1
  152. package/build/components/MerchantsDropdown/index.js +1 -1
  153. package/build/components/MultiSelect/index.js +1 -1
  154. package/build/components/NestedDropdown/index.js +1 -1
  155. package/build/components/NestedMultiSelect/index.js +1 -1
  156. package/build/components/OpenFileInNewTab/index.js +1 -1
  157. package/build/components/PaymentSourceFilter/index.js +1 -1
  158. package/build/components/PhoneFilter/index.js +1 -1
  159. package/build/components/PhoneInput/index.js +1 -1
  160. package/build/components/ProgressRing/index.js +1 -1
  161. package/build/components/RHFGroupedSelect/index.js +1 -1
  162. package/build/components/RHFInput/index.js +1 -1
  163. package/build/components/RHFPhoneInput/index.js +1 -1
  164. package/build/components/RHFSwitch/index.js +1 -1
  165. package/build/components/RadioGroup/index.js +1 -1
  166. package/build/components/RangeCalender/index.js +1 -1
  167. package/build/components/RatingCount/index.js +1 -1
  168. package/build/components/ReferenceTypeFilter/index.js +1 -1
  169. package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
  170. package/build/components/SearchButton/index.js +1 -1
  171. package/build/components/SearchInput/index.js +1 -1
  172. package/build/components/SheetViewChip/index.js +1 -1
  173. package/build/components/StatusBar/index.js +1 -1
  174. package/build/components/StatusButton/index.js +1 -1
  175. package/build/components/StatusFilter/StatusFilter.d.ts +1 -2
  176. package/build/components/StatusFilter/index.d.ts +1 -1
  177. package/build/components/StatusFilter/index.js +1 -1
  178. package/build/components/StatusIcons/index.js +1 -1
  179. package/build/components/StatusLabel/index.js +1 -1
  180. package/build/components/TableCells/index.js +1 -1
  181. package/build/components/TableReports/index.js +1 -1
  182. package/build/components/TextInput/index.js +1 -1
  183. package/build/components/Timepicker/index.js +1 -1
  184. package/build/components/ToggleView/index.js +1 -1
  185. package/build/components/Toolbar/index.js +1 -1
  186. package/build/components/TreeDropdown/index.js +1 -1
  187. package/build/components/VerificationIcon/index.js +1 -1
  188. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  189. package/build/components/VirtualTables/index.js +1 -1
  190. package/build/components/Widget/index.js +1 -1
  191. package/build/components/WindowSideBar/index.js +1 -1
  192. package/build/components/index.d.ts +4 -5
  193. package/build/components/index.js +1 -1
  194. package/build/components/primitives/index.js +1 -1
  195. package/build/hooks/index.js +1 -1
  196. package/build/index.js +1 -1
  197. package/build/utils/file.d.ts +2 -0
  198. package/build/utils/index.js +1 -1
  199. package/package.json +2 -2
  200. package/build/_chunks/chunk-4XXNGLS6.js +0 -1
  201. package/build/_chunks/chunk-6YJ5EJTE.js +0 -2
  202. package/build/_chunks/chunk-AIT2A7YM.js +0 -1
  203. package/build/_chunks/chunk-J4V7VRJY.js +0 -1
  204. package/build/_chunks/chunk-OYJYQKLK.js +0 -1
  205. package/build/components/FileInputPreview/FileInputPreview.d.ts +0 -5
  206. package/build/components/FileInputPreview/index.d.ts +0 -1
  207. package/build/components/FileInputPreview/index.js +0 -1
  208. package/build/components/FileInputPreview/style.d.ts +0 -9
  209. package/build/components/FileInputPreview/type.d.ts +0 -21
  210. package/build/components/FileInputPreview/utils.d.ts +0 -3
  211. package/build/components/FileUpload/FileUpload.d.ts +0 -4
  212. package/build/components/FileUpload/FileUploadBase.d.ts +0 -4
  213. package/build/components/FileUpload/index.d.ts +0 -3
  214. package/build/components/FileUpload/index.js +0 -1
  215. package/build/components/FileUpload/style.d.ts +0 -39
  216. package/build/components/FileUpload/type.d.ts +0 -24
  217. package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.d.ts +0 -12
  218. package/build/components/MerchantCurrencyDropdown/SelectedCurrency.d.ts +0 -6
  219. package/build/components/MerchantCurrencyDropdown/index.d.ts +0 -1
  220. package/build/components/MerchantCurrencyDropdown/index.js +0 -1
  221. package/build/components/MerchantCurrencyDropdown/style.d.ts +0 -13
@@ -1 +0,0 @@
1
- import {j,b,d as d$1,n}from'./chunk-TIO3V7XA.js';import {Wb,zc}from'./chunk-4XXNGLS6.js';import {Bj,Cj,Ij,Oe as Oe$1}from'./chunk-V2RLDP5A.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(j,{shouldForwardProp:e=>e!=="isError"})(({theme:e,isError:i})=>({color:i?"#FF2000":e.v2.palette.base.black,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(j)(({theme:e})=>({color:alpha(e.v2.palette.base.black,.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"})),w=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"})),O=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}})),Q=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 Y=forwardRef(({accept:e,footer:i,options:x,isCreateLoading:U,progress:oe,error:R,errorHint:te,subtitleComponent:S,isSuccess:P,onConfirm:re,isSendDisabled:ie,errorActionComponent:le,title:l,width:b$1,successFooter:pe,progressVariant:ae},ne)=>{let{t:a}=useTranslation(),[n$1,H]=useState([]),{getRootProps:de,getInputProps:se,open:f,acceptedFiles:v,isDragReject:j,fileRejections:s}=useDropzone(x);useImperativeHandle(ne,()=>({open:f}),[f]),useEffect(()=>{H(v);},[v]);let B=Wb(x?.maxSize||0,0).toUpperCase(),c=useMemo(()=>{let ce=s.length&&s[0].errors.some(k=>k.code==="file-invalid-type"),me=s.length&&s[0].errors.some(k=>k.code==="file-too-large");return j||ce?a("invalidFileType"):me?`File is larger than ${B}`:R},[j,R,s,B,a]),C=useMemo(()=>n$1.length?jsxs(w,{sx:{fontWeight:600},children:[jsx(p,{children:n$1[0].name}),jsx(z,{children:Wb(n$1[0].size)})]}):null,[n$1]);return P&&n$1.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$1,children:jsxs(h,{children:[P&&jsx(p,{component:"img",src:Bj,width:56,height:56}),C]})}),pe??jsxs(Q,{children:[jsx(b,{variant:"secondary",size:"md",icon:jsx(d$1,{src:Cj,alt:"delete"}),onClick:()=>{H([]);},"aria-label":"delete"}),jsx(O,{disabled:ie,onClick:()=>{re?.(n$1);},children:"Bulk Send"})]})]}):U&&n$1.length?jsxs(Fragment,{children:[jsxs(u,{children:[l&&typeof l!="string"?l:jsxs(Fragment,{children:[jsx(d,{children:l??a("uploading")}),jsx(g,{children:a("wait")})]}),S]}),jsx(F,{width:b$1,children:jsxs(h,{children:[U&&jsx(n,{size:56,value:oe,variant:ae??"determinate"}),C]})}),i]}):jsxs(Fragment,{children:[jsxs(u,{children:[c?jsx(d,{isError:true,children:c}):typeof l=="string"?jsx(d,{children:l}):l??jsx(d,{children:a("uploadBulkFile")}),S||!!c&&jsx(g,{children:"Supported formats: xls, xlxs"})]}),jsxs(F,{width:b$1,...de(),children:[jsx("input",{...se()}),jsxs(h,{"data-slot":"content",children:[jsx(p,{component:"img",src:c?Ij:Oe$1,width:56,height:56}),te,C,c?jsx(Fragment,{children:le||jsx(J,{onClick:f,children:a("uploadAgain")})}):jsxs(w,{children:[jsxs(p,{children:[jsx(K,{onClick:f,children:"Click to upload"})," or drag and drop"]}),jsxs(z,{children:["Maximum file size ",B]}),e&&jsx(g,{children:a("supportedFormats",{accept:e})})]})]})]}),i]})});Y.displayName="FileUploadBase";var Z=memo(Y);var L=forwardRef((e,i)=>{let x=zc(useId(),"file-upload");return jsx(G,{id:x,"data-testid":"FileUpload","data-slot":"file-upload-wrapper",children:jsx(Z,{...e,ref:i})})});L.displayName="FileUpload";var ee=memo(L);var Oe=ee;export{Oe as a};
@@ -1 +0,0 @@
1
- import {j}from'./chunk-TIO3V7XA.js';import {zc}from'./chunk-4XXNGLS6.js';import {Ij,Oe,Eb}from'./chunk-V2RLDP5A.js';import {useId,useCallback}from'react';import S from'@mui/material/Box';import A from'@mui/material/Stack';import {Box}from'@mui/material';import {styled,alpha}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var I=styled(Box,{shouldForwardProp:t=>t!=="disabled"})(({theme:t,disabled:a})=>({width:"100%",borderRadius:"4px",padding:"4px 8px",display:"flex",alignItems:"center",justifyContent:"flex-start",background:t.palette.grey[400],gap:"8px",cursor:a?"default":"pointer",position:"relative",'& [data-slot="input"]':{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,whiteSpace:"nowrap"},...a&&{'& [data-slot="content"], & [data-slot="icon-wrapper"]':{cursor:"default",opacity:.6}}})),b=styled(Box)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",color:t.palette.text.primary,cursor:"pointer",gap:"8px"})),s=styled("span")(({theme:t})=>({fontWeight:500,color:t.palette.text.primary,cursor:"pointer",fontSize:"9px"})),c=styled(Box)(({theme:t})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",gap:"4px",color:t.palette.text.primary})),w=styled(Box)(({theme:t})=>({color:alpha(t.palette.text.primary,.3),fontSize:"8px",fontWeight:500})),F=styled(Box)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",width:32,height:32,flexShrink:0,padding:"7px",background:t.palette.common.white,borderRadius:"4px",border:`1px solid ${t.palette.divider}`})),U=styled(j)(()=>({color:"#FF3D00",fontSize:"8px",fontWeight:500})),k=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",backgroundColor:"transparent",border:"none",width:16,height:16}));var H=({getRootProps:t,getInputProps:a,open:W,onChangeFiles:B,processFiles:x,disabled:i,errorMessage:l,onResetError:d,maxFileSize:M,preventDuplicates:T,label:v="Click to upload",hintText:E,sx:j})=>{let z=zc(useId(),"file-uploader"),m=a(),D=useCallback(p=>{p.stopPropagation(),d?.(p);},[d]);return jsxs(I,{id:z,"data-testid":"FileUploader_root",...t(),sx:j,disabled:i,onClick:i?void 0:W,children:[jsx("input",{"data-slot":"input",...m,onChange:p=>{if(m.onChange?.(p),!x)return;let f=x(Array.from(p.target.files||[]));(f.length>0||!T)&&B?.(f);},disabled:i}),jsxs(b,{"data-slot":"content",flex:1,children:[jsx(F,{"data-slot":"icon-wrapper",children:jsx(S,{component:"img",src:l?Ij:Oe,width:16,height:16})}),l?jsxs(A,{direction:"row",alignItems:"center",flex:1,children:[jsxs(c,{flex:1,children:[jsx(U,{children:l}),jsx(s,{children:"Click to upload again"})]}),d&&jsx(k,{component:"button","data-slot":"close-icon-wrapper",onClick:D,children:jsx(S,{component:"img",src:Eb,width:10,height:10})})]}):jsxs(c,{children:[jsx(s,{children:v}),jsx(w,{children:E||`PDF, JPG or PNG files up to ${M}`})]})]})]})},P=H;var ot=P;export{ot as a};
@@ -1 +0,0 @@
1
- import {zc,Xb}from'./chunk-4XXNGLS6.js';import {Eb}from'./chunk-V2RLDP5A.js';import {useId}from'react';import p from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,Fragment,jsxs}from'react/jsx-runtime';var x=styled(p,{shouldForwardProp:e=>e!=="disabled"})(({theme:e,disabled:n})=>({width:"100%",borderRadius:"4px",padding:"4px 8px",display:"flex",alignItems:"center",justifyContent:"flex-start",background:e.palette.grey[400],gap:"8px",...n&&{opacity:.6,cursor:"default"}})),f=styled(p)(()=>({width:"100%",minWidth:0,display:"flex",alignItems:"center",justifyContent:"space-between",gap:"8px"})),u=styled(p)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",flex:1,minWidth:0,overflow:"hidden",color:e.palette.text.primary,cursor:"pointer",gap:"8px"})),w=styled("span")(({theme:e})=>({display:"block",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:500,color:e.palette.text.primary,cursor:"pointer",fontSize:"9px"})),g=styled(p)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",flex:1,minWidth:0,overflow:"hidden",gap:"4px",color:e.palette.text.primary})),h=styled(p)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",width:32,height:32,flexShrink:0,overflow:"hidden",background:e.palette.common.white,borderRadius:"4px",border:`1px solid ${e.palette.divider}`})),y=styled(p)(()=>({display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:"auto",cursor:"pointer"}));var R=({files:e,disabled:n,sx:F,onRemoveFile:W,getFilePreview:b,renderBrandLogo:C,renderOpenFileInNewTab:v})=>{let P=zc(useId(),"file-preview");return jsx(Fragment,{children:e?.map((t,d)=>{let a=Xb(t)?b(t.file):null,k=Xb(t)&&t.file.type.includes("application/pdf"),l=Xb(t)?t.file:t;return jsx(x,{id:`${P}-${d}`,"data-testid":"FilePreview",sx:F,disabled:n,children:jsxs(f,{"data-slot":"file-wrapper",children:[jsxs(u,{"data-slot":"file-Content",children:[jsx(h,{"data-slot":"file-icon-wrapper",children:Xb(t)&&a?jsx(p,{component:"img",src:a,width:32,height:32,sx:{borderRadius:"50%",objectFit:k?"none":"cover"},onError:j=>{j.currentTarget.src=l.name;}}):C?.(l.id)}),jsxs(g,{"data-slot":"text-wrapper",children:[jsx(w,{"data-slot":"filename",children:l.name}),!Xb(t)&&!a&&v?.(l.id)]})]}),!n&&jsx(y,{"data-slot":"close-icon-wrapper",onClick:()=>{W?.(t);},children:jsx(p,{component:"img",src:Eb,width:10,height:10})})]})},d)})})},T=R;export{x as a,f as b,u as c,w as d,g as e,h as f,y as g,T as h};
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { FileInputPreviewProps } from './type';
3
- declare function FileInputPreview({ options, error, files, label, disabled, hideUpload, preventDuplicates, onChangeFiles, onRemoveFile, renderBrandLogo, renderOpenFileInNewTab, }: Readonly<FileInputPreviewProps>): import("react").JSX.Element;
4
- declare const _default: import("react").MemoExoticComponent<typeof FileInputPreview>;
5
- export default _default;
@@ -1 +0,0 @@
1
- export { default as FileInputPreview } from './FileInputPreview';
@@ -1 +0,0 @@
1
- export{Kc as FileInputPreview}from'../../_chunks/chunk-6YJ5EJTE.js';import'../../_chunks/chunk-TH5E43JD.js';import'../../_chunks/chunk-FKG3SYY6.js';import'../../_chunks/chunk-33C463YL.js';import'../../_chunks/chunk-XB7FBOZY.js';import'../../_chunks/chunk-JEYLI22W.js';import'../../_chunks/chunk-ZGZK4AZ3.js';import'../../_chunks/chunk-4SWNFKMX.js';import'../../_chunks/chunk-DPOBKAVX.js';import'../../_chunks/chunk-QGQRTANO.js';import'../../_chunks/chunk-XBUO2UHM.js';import'../../_chunks/chunk-KV7KQ6MZ.js';import'../../_chunks/chunk-GIUONT72.js';import'../../_chunks/chunk-MBTSXCJW.js';import'../../_chunks/chunk-GNNMQUBT.js';import'../../_chunks/chunk-545BCGVE.js';import'../../_chunks/chunk-W4PURLBP.js';import'../../_chunks/chunk-XSRIBZ5H.js';import'../../_chunks/chunk-MMFW3YZV.js';import'../../_chunks/chunk-OAEOQ7AZ.js';import'../../_chunks/chunk-DEQ2OTPX.js';import'../../_chunks/chunk-P57UJVYY.js';import'../../_chunks/chunk-WAY7BWQL.js';import'../../_chunks/chunk-EI4VQCCM.js';import'../../_chunks/chunk-PHVELRMX.js';import'../../_chunks/chunk-FNWPZLRV.js';import'../../_chunks/chunk-F2LUAXXO.js';import'../../_chunks/chunk-AFDB2YM6.js';import'../../_chunks/chunk-MAZVGT6F.js';import'../../_chunks/chunk-DKMFQFZU.js';import'../../_chunks/chunk-KD4RSWN6.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-UO33K26R.js';import'../../_chunks/chunk-MQOX7MKN.js';import'../../_chunks/chunk-YPVFVBG3.js';import'../../_chunks/chunk-O4UZRDVR.js';import'../../_chunks/chunk-KS7YB4UX.js';import'../../_chunks/chunk-32CPM4J3.js';import'../../_chunks/chunk-LOGPCQ24.js';import'../../_chunks/chunk-DBFH6OKQ.js';import'../../_chunks/chunk-SWXXEAIZ.js';import'../../_chunks/chunk-TY3LDUTP.js';import'../../_chunks/chunk-KSTOW7O3.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-VTJJFPK5.js';import'../../_chunks/chunk-7GVPGH6A.js';import'../../_chunks/chunk-R5PUIGMB.js';import'../../_chunks/chunk-FAKPBQH3.js';import'../../_chunks/chunk-5DLQTR4L.js';import'../../_chunks/chunk-HKQY74IJ.js';import'../../_chunks/chunk-U62XSJM5.js';import'../../_chunks/chunk-OYJYQKLK.js';import'../../_chunks/chunk-AIT2A7YM.js';import'../../_chunks/chunk-J4V7VRJY.js';import'../../_chunks/chunk-BL45EG5I.js';import'../../_chunks/chunk-VQ4INPUZ.js';import'../../_chunks/chunk-6VQVT7U4.js';import'../../_chunks/chunk-ND2SYD7Y.js';import'../../_chunks/chunk-64ILCI3S.js';import'../../_chunks/chunk-CAKSLKXG.js';import'../../_chunks/chunk-5EP3LEOE.js';import'../../_chunks/chunk-WE7NB24K.js';import'../../_chunks/chunk-4AFJCOBN.js';import'../../_chunks/chunk-JORNMG4I.js';import'../../_chunks/chunk-T5WRDF6Z.js';import'../../_chunks/chunk-TKU4GMEV.js';import'../../_chunks/chunk-QZAVOGKZ.js';import'../../_chunks/chunk-UD33MPJX.js';import'../../_chunks/chunk-MHZSYMQP.js';import'../../_chunks/chunk-GAL3X7PR.js';import'../../_chunks/chunk-FTG5LY7I.js';import'../../_chunks/chunk-JQTHWXQR.js';import'../../_chunks/chunk-TIO3V7XA.js';import'../../_chunks/chunk-W3D5YN4V.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-44UNMXKS.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-OBHJVUFA.js';import'../../_chunks/chunk-BIJMWICZ.js';import'../../_chunks/chunk-LIHS4ZYZ.js';import'../../_chunks/chunk-4XXNGLS6.js';import'../../_chunks/chunk-V2RLDP5A.js';import'../../_chunks/chunk-ZDBICST5.js';
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Wrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
5
- disabled?: boolean | undefined;
6
- }, {}, {}>;
7
- export declare const Title: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
8
- ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
9
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
@@ -1,21 +0,0 @@
1
- /// <reference types="react" />
2
- import { DropzoneProps } from 'react-dropzone';
3
- import { FileType } from '../../types/index.js';
4
- import { SxProps } from '@mui/material/styles';
5
- export interface FileInputPreviewProps {
6
- accept?: string;
7
- options?: DropzoneProps;
8
- error?: string;
9
- files: FileType[];
10
- label?: string | null;
11
- disabled?: boolean;
12
- hideUpload?: boolean;
13
- preventDuplicates?: boolean;
14
- sx?: SxProps;
15
- hideTitle?: boolean;
16
- hidePreview?: boolean;
17
- onChangeFiles: (files: FileType[]) => void;
18
- onRemoveFile?: (file: FileType) => void;
19
- renderBrandLogo: (fileId: string) => React.ReactNode;
20
- renderOpenFileInNewTab: (fileId: string) => React.ReactNode;
21
- }
@@ -1,3 +0,0 @@
1
- import { FileType } from '../../types/index.js';
2
- export declare const areFilesEqual: (file1: File, file2: File) => boolean;
3
- export declare const isDuplicateFile: (newFile: File, existingFiles: FileType[]) => boolean;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { FileUploadProps, FileUploadRef } from './type';
3
- declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<FileUploadProps & import("react").RefAttributes<FileUploadRef>>>;
4
- export default _default;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { FileUploadProps, FileUploadRef } from './type';
3
- declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<FileUploadProps & import("react").RefAttributes<FileUploadRef>>>;
4
- export default _default;
@@ -1,3 +0,0 @@
1
- import FileUpload from './FileUpload';
2
- export default FileUpload;
3
- export type { FileUploadProps, FileUploadRef } from './type';
@@ -1 +0,0 @@
1
- export{a as default}from'../../_chunks/chunk-AIT2A7YM.js';import'../../_chunks/chunk-TIO3V7XA.js';import'../../_chunks/chunk-4XXNGLS6.js';import'../../_chunks/chunk-V2RLDP5A.js';import'../../_chunks/chunk-ZDBICST5.js';
@@ -1,39 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Wrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
5
- export declare const StyledFileUploadHeader: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
7
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
8
- export declare const Title: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
9
- ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
10
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
11
- isError?: boolean | undefined;
12
- }, {}, {}>;
13
- export declare const UploadAgain: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
14
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
15
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
16
- export declare const Format: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
17
- ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
18
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
19
- export declare const FileUploader: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
20
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
21
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
22
- width?: string | number | undefined;
23
- }, {}, {}>;
24
- export declare const Content: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
25
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
26
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
27
- export declare const Upload: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
28
- export declare const TextWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
29
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
30
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
31
- export declare const Maximum: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
32
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
33
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
34
- export declare const StyledButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
35
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
36
- }, "color" | "disabled" | "classes" | "className" | "style" | "tabIndex" | "children" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "variant" | "size" | "startIcon" | "endIcon" | "fullWidth" | "href" | "disableFocusRipple" | "disableElevation"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
37
- export declare const SendBulkContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
38
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
39
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -1,24 +0,0 @@
1
- /// <reference types="react" />
2
- import { DropzoneProps } from 'react-dropzone';
3
- import { CircularProgressProps } from '@mui/material/CircularProgress';
4
- export interface FileUploadProps {
5
- accept?: string;
6
- options?: DropzoneProps;
7
- footer?: React.ReactNode;
8
- isCreateLoading?: boolean;
9
- progress?: number;
10
- progressVariant?: CircularProgressProps['variant'];
11
- error?: string;
12
- errorHint?: React.ReactNode;
13
- subtitleComponent?: React.ReactNode;
14
- isSuccess?: boolean;
15
- errorActionComponent?: React.ReactNode;
16
- onConfirm?: (acceptedFiles: File[]) => void;
17
- isSendDisabled?: boolean;
18
- title?: React.ReactNode;
19
- width?: number | string;
20
- successFooter?: React.ReactNode;
21
- }
22
- export interface FileUploadRef {
23
- open: () => void;
24
- }
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import { Currency } from '../../types/index.js';
3
- interface MerchantCurrencyDropdownProps {
4
- merchantCurrencies: Currency[];
5
- selectedCurrency?: Currency;
6
- isLoading?: boolean;
7
- isDisabled?: boolean;
8
- onChangeCurrency?: (currency: Currency) => void;
9
- }
10
- declare function MerchantCurrencyDropdown({ merchantCurrencies, isLoading, onChangeCurrency, isDisabled, selectedCurrency, }: Readonly<MerchantCurrencyDropdownProps>): import("react").JSX.Element;
11
- declare const _default: import("react").MemoExoticComponent<typeof MerchantCurrencyDropdown>;
12
- export default _default;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- interface SelectedCurrencyProps {
3
- selectedCurrencyCode: string;
4
- }
5
- export default function SelectedCurrency({ selectedCurrencyCode }: Readonly<SelectedCurrencyProps>): import("react").JSX.Element;
6
- export {};
@@ -1 +0,0 @@
1
- export { default as MerchantCurrencyDropdown } from './MerchantCurrencyDropdown';
@@ -1 +0,0 @@
1
- export{Jc as MerchantCurrencyDropdown}from'../../_chunks/chunk-6YJ5EJTE.js';import'../../_chunks/chunk-TH5E43JD.js';import'../../_chunks/chunk-FKG3SYY6.js';import'../../_chunks/chunk-33C463YL.js';import'../../_chunks/chunk-XB7FBOZY.js';import'../../_chunks/chunk-JEYLI22W.js';import'../../_chunks/chunk-ZGZK4AZ3.js';import'../../_chunks/chunk-4SWNFKMX.js';import'../../_chunks/chunk-DPOBKAVX.js';import'../../_chunks/chunk-QGQRTANO.js';import'../../_chunks/chunk-XBUO2UHM.js';import'../../_chunks/chunk-KV7KQ6MZ.js';import'../../_chunks/chunk-GIUONT72.js';import'../../_chunks/chunk-MBTSXCJW.js';import'../../_chunks/chunk-GNNMQUBT.js';import'../../_chunks/chunk-545BCGVE.js';import'../../_chunks/chunk-W4PURLBP.js';import'../../_chunks/chunk-XSRIBZ5H.js';import'../../_chunks/chunk-MMFW3YZV.js';import'../../_chunks/chunk-OAEOQ7AZ.js';import'../../_chunks/chunk-DEQ2OTPX.js';import'../../_chunks/chunk-P57UJVYY.js';import'../../_chunks/chunk-WAY7BWQL.js';import'../../_chunks/chunk-EI4VQCCM.js';import'../../_chunks/chunk-PHVELRMX.js';import'../../_chunks/chunk-FNWPZLRV.js';import'../../_chunks/chunk-F2LUAXXO.js';import'../../_chunks/chunk-AFDB2YM6.js';import'../../_chunks/chunk-MAZVGT6F.js';import'../../_chunks/chunk-DKMFQFZU.js';import'../../_chunks/chunk-KD4RSWN6.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-UO33K26R.js';import'../../_chunks/chunk-MQOX7MKN.js';import'../../_chunks/chunk-YPVFVBG3.js';import'../../_chunks/chunk-O4UZRDVR.js';import'../../_chunks/chunk-KS7YB4UX.js';import'../../_chunks/chunk-32CPM4J3.js';import'../../_chunks/chunk-LOGPCQ24.js';import'../../_chunks/chunk-DBFH6OKQ.js';import'../../_chunks/chunk-SWXXEAIZ.js';import'../../_chunks/chunk-TY3LDUTP.js';import'../../_chunks/chunk-KSTOW7O3.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-VTJJFPK5.js';import'../../_chunks/chunk-7GVPGH6A.js';import'../../_chunks/chunk-R5PUIGMB.js';import'../../_chunks/chunk-FAKPBQH3.js';import'../../_chunks/chunk-5DLQTR4L.js';import'../../_chunks/chunk-HKQY74IJ.js';import'../../_chunks/chunk-U62XSJM5.js';import'../../_chunks/chunk-OYJYQKLK.js';import'../../_chunks/chunk-AIT2A7YM.js';import'../../_chunks/chunk-J4V7VRJY.js';import'../../_chunks/chunk-BL45EG5I.js';import'../../_chunks/chunk-VQ4INPUZ.js';import'../../_chunks/chunk-6VQVT7U4.js';import'../../_chunks/chunk-ND2SYD7Y.js';import'../../_chunks/chunk-64ILCI3S.js';import'../../_chunks/chunk-CAKSLKXG.js';import'../../_chunks/chunk-5EP3LEOE.js';import'../../_chunks/chunk-WE7NB24K.js';import'../../_chunks/chunk-4AFJCOBN.js';import'../../_chunks/chunk-JORNMG4I.js';import'../../_chunks/chunk-T5WRDF6Z.js';import'../../_chunks/chunk-TKU4GMEV.js';import'../../_chunks/chunk-QZAVOGKZ.js';import'../../_chunks/chunk-UD33MPJX.js';import'../../_chunks/chunk-MHZSYMQP.js';import'../../_chunks/chunk-GAL3X7PR.js';import'../../_chunks/chunk-FTG5LY7I.js';import'../../_chunks/chunk-JQTHWXQR.js';import'../../_chunks/chunk-TIO3V7XA.js';import'../../_chunks/chunk-W3D5YN4V.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-44UNMXKS.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-OBHJVUFA.js';import'../../_chunks/chunk-BIJMWICZ.js';import'../../_chunks/chunk-LIHS4ZYZ.js';import'../../_chunks/chunk-4XXNGLS6.js';import'../../_chunks/chunk-V2RLDP5A.js';import'../../_chunks/chunk-ZDBICST5.js';
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const CurrencyDropdownContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
5
- export declare const BrandsDropdown: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
7
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
8
- export declare const CurrencyBox: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
10
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
11
- export declare const Label: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
12
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
13
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;