@tap-payments/os-micro-frontend-shared 0.3.198-test.1 → 0.3.199

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 (232) hide show
  1. package/build/_chunks/chunk-3B4WT3AY.js +1 -0
  2. package/build/_chunks/chunk-4UESUTQ3.js +1 -0
  3. package/build/_chunks/{chunk-G46W3J6M.js → chunk-64YP7EIR.js} +1 -1
  4. package/build/_chunks/chunk-6XECEWPN.js +1 -0
  5. package/build/_chunks/{chunk-6VG2JLMP.js → chunk-7K5742TG.js} +1 -1
  6. package/build/_chunks/{chunk-62RCSXPH.js → chunk-7KVWQHNV.js} +1 -1
  7. package/build/_chunks/chunk-A4Y3L4EM.js +1 -0
  8. package/build/_chunks/chunk-AIKY3BXO.js +1 -0
  9. package/build/_chunks/{chunk-NE3MRFGA.js → chunk-APMAMMOZ.js} +1 -1
  10. package/build/_chunks/{chunk-FHAQOHUN.js → chunk-AQI2GP5C.js} +1 -1
  11. package/build/_chunks/{chunk-V6MH4TYN.js → chunk-AVQUPT7Q.js} +1 -1
  12. package/build/_chunks/{chunk-QY5TKKQD.js → chunk-CPXBAREN.js} +1 -1
  13. package/build/_chunks/{chunk-HRFLXJTK.js → chunk-CVEKXQG7.js} +1 -1
  14. package/build/_chunks/{chunk-IK3VIJKY.js → chunk-DSS6DKAJ.js} +1 -1
  15. package/build/_chunks/chunk-E7VBBAFI.js +2 -0
  16. package/build/_chunks/{chunk-6GKTVCNG.js → chunk-GJYXQOBC.js} +1 -1
  17. package/build/_chunks/{chunk-MBLLG7YE.js → chunk-HK574PGH.js} +1 -1
  18. package/build/_chunks/{chunk-DH46TMJ2.js → chunk-ICIEVSK6.js} +1 -1
  19. package/build/_chunks/{chunk-MK4BXHKR.js → chunk-IK4NIWK3.js} +1 -1
  20. package/build/_chunks/chunk-JBCDII7Y.js +1 -0
  21. package/build/_chunks/{chunk-FIVX2ICZ.js → chunk-JCC5EN6X.js} +1 -1
  22. package/build/_chunks/chunk-JFD456Y4.js +1 -0
  23. package/build/_chunks/chunk-JJ5UUOVE.js +1 -0
  24. package/build/_chunks/{chunk-7PFZNTQK.js → chunk-JKCOX623.js} +1 -1
  25. package/build/_chunks/{chunk-SRF3QHE4.js → chunk-L5SXTPQF.js} +1 -1
  26. package/build/_chunks/chunk-L75MJYKH.js +1 -0
  27. package/build/_chunks/chunk-MX6II55S.js +2 -0
  28. package/build/_chunks/{chunk-SAHG6AVN.js → chunk-NGNDLXSN.js} +1 -1
  29. package/build/_chunks/{chunk-U5C3KT22.js → chunk-NXHZMUHX.js} +1 -1
  30. package/build/_chunks/{chunk-NDK5O5R5.js → chunk-OCW4NMSW.js} +1 -1
  31. package/build/_chunks/{chunk-B4YY6HW6.js → chunk-ON7MQW7I.js} +1 -1
  32. package/build/_chunks/{chunk-LY2XMIYP.js → chunk-OSRQZQQZ.js} +1 -1
  33. package/build/_chunks/chunk-PDXWQNZW.js +1 -0
  34. package/build/_chunks/{chunk-OZBKRQH6.js → chunk-PTLEH5QC.js} +1 -1
  35. package/build/_chunks/{chunk-IBPTRKMJ.js → chunk-QZDGNK3H.js} +1 -1
  36. package/build/_chunks/chunk-R6ZVSLSQ.js +1 -0
  37. package/build/_chunks/{chunk-WQRH5WP7.js → chunk-SQ4J2HHV.js} +1 -1
  38. package/build/_chunks/{chunk-ZNHBLDSE.js → chunk-SS3YHZOA.js} +1 -1
  39. package/build/_chunks/{chunk-P7JHJG5K.js → chunk-SVCHQL7X.js} +1 -1
  40. package/build/_chunks/{chunk-EHBXU45G.js → chunk-UHFA7Y4Y.js} +1 -1
  41. package/build/_chunks/{chunk-WWH6R4VG.js → chunk-VTAEL4NV.js} +1 -1
  42. package/build/_chunks/chunk-WCEIDCEK.js +15 -0
  43. package/build/_chunks/{chunk-X2XT6RTC.js → chunk-WDJPGLUC.js} +1 -1
  44. package/build/_chunks/{chunk-GY25J56W.js → chunk-WIA7MI5M.js} +1 -1
  45. package/build/_chunks/{chunk-XVORT2DK.js → chunk-XUYSRIOL.js} +1 -1
  46. package/build/_chunks/chunk-YYHBNKPF.js +1 -0
  47. package/build/_chunks/{chunk-H5WQWHTF.js → chunk-Z5J75KNQ.js} +1 -1
  48. package/build/_chunks/{chunk-L7CJCUUA.js → chunk-ZNFO7RVR.js} +1 -1
  49. package/build/components/ActionMenu/index.js +1 -1
  50. package/build/components/ActiveFilterChip/index.js +1 -1
  51. package/build/components/AmountConversionFilter/index.js +1 -1
  52. package/build/components/AmountInput/AmountInput.d.ts +1 -1
  53. package/build/components/AmountInput/index.js +1 -1
  54. package/build/components/AmountInput/style.d.ts +4 -3
  55. package/build/components/AmountSlider/index.js +1 -1
  56. package/build/components/AppServices/index.js +1 -1
  57. package/build/components/AppServicesBar/index.js +1 -1
  58. package/build/components/AppWindowWrapper/index.js +1 -1
  59. package/build/components/BrandLogo/index.js +1 -1
  60. package/build/components/Calender/index.js +1 -1
  61. package/build/components/ChipStack/index.js +1 -1
  62. package/build/components/ColorPicker/index.js +1 -1
  63. package/build/components/ColumnViews/index.js +1 -1
  64. package/build/components/ConfirmDialog/index.js +1 -1
  65. package/build/components/CountryFilter/index.js +1 -1
  66. package/build/components/CurrencyFilter/index.js +1 -1
  67. package/build/components/Customer/CustomerForms/style.d.ts +7 -6
  68. package/build/components/Customer/index.js +1 -1
  69. package/build/components/DateFilter/index.js +1 -1
  70. package/build/components/DeviceIcon/index.js +1 -1
  71. package/build/components/Discount/index.js +1 -1
  72. package/build/components/Dropdown2/index.js +1 -1
  73. package/build/components/DropdownMenu/index.js +1 -1
  74. package/build/components/ExpandableSideBar/index.js +1 -1
  75. package/build/components/FileInputPreview/index.js +1 -1
  76. package/build/components/FileUpload/index.js +1 -1
  77. package/build/components/FileUploader/index.js +1 -1
  78. package/build/components/FilterDropdown/index.js +1 -1
  79. package/build/components/Filters/index.js +1 -1
  80. package/build/components/HeatMap/index.js +1 -1
  81. package/build/components/IconWithBadge/index.js +1 -1
  82. package/build/components/Input/Input.d.ts +11 -0
  83. package/build/components/Input/index.d.ts +2 -0
  84. package/build/components/Input/index.js +1 -0
  85. package/build/components/Input/style.d.ts +3 -0
  86. package/build/components/InputBase/AmountInputBase/AmountInputBase.d.ts +19 -0
  87. package/build/components/InputBase/AmountInputBase/CurrencyList/CurrencyList.d.ts +15 -0
  88. package/build/components/InputBase/AmountInputBase/CurrencyList/index.d.ts +2 -0
  89. package/build/components/InputBase/AmountInputBase/CurrencyList/style.d.ts +8 -0
  90. package/build/components/InputBase/AmountInputBase/InputNumber/InputNumber.d.ts +4 -0
  91. package/build/components/InputBase/AmountInputBase/InputNumber/index.d.ts +3 -0
  92. package/build/components/InputBase/AmountInputBase/InputNumber/style.d.ts +8 -0
  93. package/build/components/InputBase/AmountInputBase/InputNumber/type.d.ts +5 -0
  94. package/build/components/InputBase/AmountInputBase/index.d.ts +5 -0
  95. package/build/components/InputBase/AmountInputBase/style.d.ts +14 -0
  96. package/build/components/InputBase/InputBase/InputBase.d.ts +11 -0
  97. package/build/components/InputBase/InputBase/index.d.ts +3 -0
  98. package/build/components/InputBase/InputBase/style.d.ts +15 -0
  99. package/build/components/{PhoneInput → InputBase/PhoneInputBase}/CountriesList/CountriesList.d.ts +1 -1
  100. package/build/components/{PhoneInput → InputBase/PhoneInputBase}/CountriesList/style.d.ts +4 -3
  101. package/build/components/{PhoneInput/PhoneInput.d.ts → InputBase/PhoneInputBase/PhoneInputBase.d.ts} +5 -9
  102. package/build/components/InputBase/PhoneInputBase/index.d.ts +3 -0
  103. package/build/components/{PhoneInput → InputBase/PhoneInputBase}/style.d.ts +5 -4
  104. package/build/components/InputBase/index.d.ts +3 -0
  105. package/build/components/InputBase/index.js +1 -1
  106. package/build/components/InputNumber/InputNumber.d.ts +8 -0
  107. package/build/components/InputNumber/index.d.ts +2 -0
  108. package/build/components/InputNumber/index.js +1 -0
  109. package/build/components/InputNumber/style.d.ts +4 -0
  110. package/build/components/Inputs/CountriesDropDown/style.d.ts +8 -6
  111. package/build/components/Inputs/FileInput/FileInput.d.ts +3 -0
  112. package/build/components/Inputs/FileInput/index.d.ts +2 -0
  113. package/build/components/Inputs/FileInput/style.d.ts +13 -0
  114. package/build/components/Inputs/FileInput/type.d.ts +3 -0
  115. package/build/components/Inputs/Input/Input.d.ts +3 -0
  116. package/build/components/Inputs/Input/index.d.ts +3 -0
  117. package/build/components/Inputs/Input/style.d.ts +14 -0
  118. package/build/components/Inputs/Input/type.d.ts +9 -0
  119. package/build/components/Inputs/SearchInput/SearchInput.d.ts +7 -0
  120. package/build/components/Inputs/SearchInput/index.d.ts +2 -0
  121. package/build/components/Inputs/SearchInput/styles.d.ts +3 -0
  122. package/build/components/Inputs/index.d.ts +3 -0
  123. package/build/components/Inputs/index.js +1 -1
  124. package/build/components/JSONViewer/index.js +1 -1
  125. package/build/components/LanguageDropdown/index.js +1 -1
  126. package/build/components/ListColumnFilter/index.js +1 -1
  127. package/build/components/ListHeader/index.js +1 -1
  128. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  129. package/build/components/MerchantLogo/index.js +1 -1
  130. package/build/components/MerchantsDropdown/index.js +1 -1
  131. package/build/components/MultiSelectDropdownButton/index.js +1 -1
  132. package/build/components/NestedDropdown/index.js +1 -1
  133. package/build/components/NestedMultiSelect/index.js +1 -1
  134. package/build/components/PartnersFilter/index.js +1 -1
  135. package/build/components/PaymentSourceFilter/index.js +1 -1
  136. package/build/components/PhoneFilter/index.js +1 -1
  137. package/build/components/ProgressRing/index.js +1 -1
  138. package/build/components/RFH/Inputs/AmountInput/AmountInput.d.ts +7 -0
  139. package/build/components/RFH/Inputs/AmountInput/index.d.ts +3 -0
  140. package/build/components/RFH/Inputs/AmountInput/type.d.ts +5 -0
  141. package/build/components/RFH/Inputs/AmountInput/utils.d.ts +1 -0
  142. package/build/components/RFH/Inputs/FormInput/FormInput.d.ts +8 -0
  143. package/build/components/RFH/Inputs/FormInput/index.d.ts +3 -0
  144. package/build/components/RFH/Inputs/PhoneInput/PhoneInput.d.ts +11 -0
  145. package/build/components/RFH/Inputs/PhoneInput/index.d.ts +2 -0
  146. package/build/components/RFH/Inputs/index.d.ts +3 -0
  147. package/build/components/RFH/index.js +1 -1
  148. package/build/components/RadioGroup/index.js +1 -1
  149. package/build/components/RangeCalender/index.js +1 -1
  150. package/build/components/RatingCount/index.js +1 -1
  151. package/build/components/ReceiptsViewer/index.js +1 -1
  152. package/build/components/ReferenceTypeFilter/index.js +1 -1
  153. package/build/components/ReferenceTypeFilter/style.d.ts +3 -3
  154. package/build/components/SalesChannelFilter/index.js +1 -1
  155. package/build/components/SearchButton/index.js +1 -1
  156. package/build/components/SearchListInput/SearchListInput.d.ts +11 -0
  157. package/build/components/SearchListInput/index.d.ts +2 -0
  158. package/build/components/SearchListInput/index.js +1 -0
  159. package/build/components/SearchListInput/style.d.ts +7 -0
  160. package/build/components/SelectDropdown/index.js +1 -1
  161. package/build/components/StatusBar/index.js +1 -1
  162. package/build/components/StatusButton/index.js +1 -1
  163. package/build/components/StatusFilter/index.js +1 -1
  164. package/build/components/StatusIcons/index.js +1 -1
  165. package/build/components/StatusLabel/index.js +1 -1
  166. package/build/components/TableCells/index.js +1 -1
  167. package/build/components/TableReports/index.js +1 -1
  168. package/build/components/Timepicker/index.js +1 -1
  169. package/build/components/Timepicker/style.d.ts +4 -3
  170. package/build/components/Toolbar/index.js +1 -1
  171. package/build/components/TreeDropdown/TreeNodeList/style.d.ts +4 -1
  172. package/build/components/TreeDropdown/index.js +1 -1
  173. package/build/components/VAT/index.js +1 -1
  174. package/build/components/VerificationIcon/index.js +1 -1
  175. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  176. package/build/components/VirtualTables/components/ColumnFilter/Inputs/style.d.ts +3 -3
  177. package/build/components/VirtualTables/index.js +1 -1
  178. package/build/components/Widget/index.js +1 -1
  179. package/build/components/WindowAppIcon/index.js +1 -1
  180. package/build/components/WindowSideBar/index.js +1 -1
  181. package/build/components/index.d.ts +4 -7
  182. package/build/components/index.js +1 -1
  183. package/build/components/primitives/Input/constants.d.ts +1 -6
  184. package/build/components/primitives/Input/style.d.ts +15 -2
  185. package/build/components/primitives/Input/type.d.ts +2 -13
  186. package/build/components/primitives/index.js +1 -1
  187. package/build/index.js +1 -1
  188. package/package.json +2 -2
  189. package/build/_chunks/chunk-D6R7GY6M.js +0 -1
  190. package/build/_chunks/chunk-DW3XTMLI.js +0 -1
  191. package/build/_chunks/chunk-EUH7QDKT.js +0 -1
  192. package/build/_chunks/chunk-FISIWHEX.js +0 -1
  193. package/build/_chunks/chunk-FNZIQGLE.js +0 -1
  194. package/build/_chunks/chunk-FOJGCMU4.js +0 -1
  195. package/build/_chunks/chunk-FT6CIAN4.js +0 -1
  196. package/build/_chunks/chunk-G7F3SNY2.js +0 -1
  197. package/build/_chunks/chunk-I3EHQJQN.js +0 -1
  198. package/build/_chunks/chunk-LAZS2HBW.js +0 -1
  199. package/build/_chunks/chunk-ME4KOQDO.js +0 -15
  200. package/build/_chunks/chunk-RQBLNWQJ.js +0 -2
  201. package/build/_chunks/chunk-SBYZSKAZ.js +0 -1
  202. package/build/_chunks/chunk-TONNIP5G.js +0 -2
  203. package/build/_chunks/chunk-ULAOHMAN.js +0 -1
  204. package/build/_chunks/chunk-UTEFZXLZ.js +0 -1
  205. package/build/_chunks/chunk-ZIGIBQWM.js +0 -1
  206. package/build/components/Icon/Icon.d.ts +0 -4
  207. package/build/components/Icon/index.d.ts +0 -3
  208. package/build/components/Icon/index.js +0 -1
  209. package/build/components/Icon/type.d.ts +0 -9
  210. package/build/components/PhoneInput/index.d.ts +0 -3
  211. package/build/components/PhoneInput/index.js +0 -1
  212. package/build/components/RHFInput/RHFInput.d.ts +0 -8
  213. package/build/components/RHFInput/index.d.ts +0 -3
  214. package/build/components/RHFInput/index.js +0 -1
  215. package/build/components/RHFPhoneInput/RHFPhoneInput.d.ts +0 -11
  216. package/build/components/RHFPhoneInput/index.d.ts +0 -3
  217. package/build/components/RHFPhoneInput/index.js +0 -1
  218. package/build/components/SearchInput/SearchInput.d.ts +0 -4
  219. package/build/components/SearchInput/constants.d.ts +0 -10
  220. package/build/components/SearchInput/icons.d.ts +0 -4
  221. package/build/components/SearchInput/index.d.ts +0 -4
  222. package/build/components/SearchInput/index.js +0 -1
  223. package/build/components/SearchInput/style.d.ts +0 -10
  224. package/build/components/SearchInput/type.d.ts +0 -10
  225. package/build/components/TextInput/TextInput.d.ts +0 -4
  226. package/build/components/TextInput/constants.d.ts +0 -9
  227. package/build/components/TextInput/index.d.ts +0 -4
  228. package/build/components/TextInput/index.js +0 -1
  229. package/build/components/TextInput/style.d.ts +0 -16
  230. package/build/components/TextInput/type.d.ts +0 -37
  231. package/build/components/TextInput/utils.d.ts +0 -5
  232. /package/build/components/{PhoneInput → InputBase/PhoneInputBase}/CountriesList/index.d.ts +0 -0
@@ -1 +0,0 @@
1
- import {b}from'./chunk-FNZIQGLE.js';import {useFormContext,Controller}from'react-hook-form';import {jsx}from'react/jsx-runtime';function p({phoneName:h,countries:s,countryName:n,helperText:a,isCountriesLoading:P,disabled:i,feedback:l,id:m="RHFPhoneInput",...I}){let{control:c,watch:d,setValue:y}=useFormContext(),C=d(n),f=o=>{y(n,o);};return jsx(Controller,{name:h,control:c,render:({field:{onChange:o,value:F},fieldState:e})=>jsx(b,{id:m,...I,phoneValue:F,countries:s,error:!!e.error,helperText:a??e.error?.message,feedback:l,onPhoneChange:R=>{o(R);},disabled:i,countryValue:C,onCountryChange:f,isCountriesLoading:P})})}p.displayName="RHFPhoneInput";var u=p;var E=u;export{E as a};
@@ -1 +0,0 @@
1
- import {j as j$1,L,R as R$1}from'./chunk-RQBLNWQJ.js';import {yc,Ka}from'./chunk-QMBLENVJ.js';import {dl,el}from'./chunk-UVKRET3U.js';import {useId,useState,useEffect}from'react';import te from'@mui/material/ClickAwayListener';import g from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var S=styled(g)(()=>({width:157,padding:"16px",display:"flex",alignItems:"center",justifyContent:"center",gap:"16px"})),z=styled(j$1,{shouldForwardProp:r=>r!=="open"&&r!=="size"})(({theme:r,open:o,size:i})=>{let{base:a,grey:p,brand:b}=r.v2.palette;return {fontSize:"11px",fontWeight:500,background:a.white,border:`1px solid ${p[100]}`,borderRadius:"19px",height:i==="large"?32:24,width:i==="large"?74:58,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{boxShadow:"0px 0px 4px 0px #1F88D080",borderColor:b[500]}}}),f=styled(g)(()=>({textAlign:"center",cursor:"pointer",userSelect:"none"})),F=styled(j$1,{shouldForwardProp:r=>r!=="selected"})(({theme:r,selected:o})=>{let{base:i,grey:a,brand:p}=r.v2.palette;return {fontSize:"11px",fontWeight:500,background:i.white,border:`1px solid ${a[100]}`,borderRadius:"4px",height:24,width:33,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{borderColor:"transparent",color:p[500],backgroundColor:alpha(p[500],.1)}}}),$=styled(g)(()=>({display:"flex",flexDirection:"column",gap:"4px"})),j=styled(g)(()=>({display:"flex",alignItems:"center",justifyContent:"center",gap:"4px"})),k=styled(g)(()=>({display:"flex",flexDirection:"column",justifyContent:"center",gap:"6px"})),H=styled(L)(()=>({flexGrow:1,maxWidth:"100%",".MuiInput-input":{fontWeight:"500",fontSize:"11px"},height:32,width:32}));var _=r=>r===0?12:r<=12?r:r-12,ue=r=>r>=12?"PM":"AM",R=()=>new Date().getMinutes(),N=()=>{let r=new Date().getHours();return _(r)},ce=(r,o)=>o==="AM"&&r===12?0:o==="PM"&&r!==12?r+12:r;var G=["AM","PM"],x=12,h=59;function O({onChange:r,defaultTime:o,enableRealTimeChange:i,size:a="large"}){let p=yc(useId(),"time-picker"),[b,I]=useState(null),[u,U]=useState(o?.period??(new Date().getHours()>=12?"PM":"AM")),[c,y]=useState(o?.hour??N()),[l,C]=useState(o?.minute??R()),v=!!b;useEffect(()=>{i&&r?.({hour:c,minute:l,period:u});},[c,l,u,i]);let q=e=>{I(e.currentTarget);},J=()=>{I(null),r?.({hour:c,minute:l,period:u});},K=e=>{U(e);},s=e=>e<10?`0${e}`:e.toString(),Q=e=>{let m=Ka(s(Number(e.target.value)));if(m>12){e.preventDefault();return}y(m);},D=()=>{y(e=>e===12?1:e+1);},E=()=>{y(e=>e===1?12:e-1);},V=e=>{let m=Ka(s(Number(e.target.value)));if(m>59){e.preventDefault();return}C(m);},X=()=>{C(e=>e===59?(D(),0):e+1);},Y=()=>{C(e=>e===0?(E(),59):e-1);};return jsx(te,{onClickAway:J,children:jsxs(g,{id:p,"data-testid":"TimePicker",children:[jsx(z,{size:a,open:v,onClick:q,children:`${s(c)}:${s(l)}${u.toLowerCase()}`}),jsx(R$1,{open:v,anchorEl:b,placement:"top-start",sx:{marginTop:"8px",marginBottom:"8px"},children:jsxs(S,{children:[jsxs(j,{children:[jsxs(k,{children:[jsx(f,{onClick:D,children:jsx("img",{src:dl,alt:"arrow"})}),jsx(H,{type:"number",hideArrows:true,disableFocusRing:true,value:s(c),onChange:Q}),jsx(f,{onClick:E,children:jsx("img",{src:el,alt:"arrow"})})]}),jsx(j$1,{children:":"}),jsxs(k,{children:[jsx(f,{onClick:X,children:jsx("img",{src:dl,alt:"arrow"})}),jsx(H,{type:"number",hideArrows:true,disableFocusRing:true,value:s(l),onChange:V}),jsx(f,{onClick:Y,children:jsx("img",{src:el,alt:"arrow"})})]})]}),jsx($,{children:G.map(e=>jsx(F,{onClick:()=>{K(e);},selected:u===e,children:e},e))})]})})]})})}var ve=O;export{_ as a,ue as b,R as c,N as d,ce as e,G as f,x as g,h,O as i,ve as j};
@@ -1 +0,0 @@
1
- import {a}from'./chunk-G7F3SNY2.js';import {j,p}from'./chunk-RQBLNWQJ.js';import {yc}from'./chunk-QMBLENVJ.js';import {Bk,zk,xk,uk,kk,mk,Ck,jk,ik,Ak,Nh,sb,nk,qb,ok,qk,rk,wk,vk,pk}from'./chunk-UVKRET3U.js';import {useId}from'react';import W from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var R={ABANDONED:Nh,IN_PROGRESS:Ck,VOID:Ak,CANCELLED:ik,CAPTURED:jk,INITIATED:Ck,FAILED:mk,DECLINED:kk,RESTRICTED:uk,TIMEDOUT:xk,UNKNOWN:zk,AUTHORIZED:Bk},O={UNKNOWN:{gatewayIcon:nk,acquirerIcon:sb,color:"#FF7A00",background:"#FF7A001A"},TIMEDOUT:{gatewayIcon:nk,acquirerIcon:sb,color:"#FF7A00",background:"#FFF3E5"},FAILED:{gatewayIcon:nk,acquirerIcon:sb,color:"#FF7A00",background:"#FFF3E5"},DECLINED:{gatewayIcon:ok,acquirerIcon:qb,color:"#FF3D00",background:"#FFEAE5"},RESTRICTED:{gatewayIcon:ok,acquirerIcon:qb,color:"#FF3D00",background:"#FFEAE5"},ABANDONED:{gatewayIcon:nk,acquirerIcon:sb,color:"#FFD600",background:"#FFFBE5"},CANCELLED:{gatewayIcon:nk,acquirerIcon:sb,color:"#FFD600",background:"#FFFBE5"},INITIATED:{color:"#8D8D94",background:"transparent",gatewayIcon:nk,acquirerIcon:sb}},K={PENDING:rk,REFUNDED:qk},M={PENDING:{color:"#FF7A00",backgroundColor:"#FF7A000D"},REFUNDED:{color:"#4E1FD0",backgroundColor:"#4E1FD00D"}},Z={PAID_OUT:pk,SETTLED:vk,PENDING:wk},_={AUTHORIZED:Bk},L={CAPTURED:{color:"#1F88D0",background:"#1F88D00D"}};var q=styled(W)(()=>({display:"flex",gap:"4px",alignItems:"center",justifyContent:"center",borderRadius:"56px",padding:"2px 4px",cursor:"default"})),U=styled(j)(({theme:r})=>({color:r.v2.palette.base.white,fontWeight:600,fontSize:"8px",padding:"3px 2.57px",borderRadius:"4px",lineHeight:"100%"}));function d({tooltip:r,status:e,statusCode:P}){let h=yc(useId(),"status-label"),I=O[e]??L[e]??null;return jsx(p,{title:r,children:jsxs(q,{id:h,"data-testid":"StatusLabel",sx:{backgroundColor:I?.background||"transparent"},children:[jsx(a,{src:R[e]}),jsx(U,{sx:B=>({backgroundColor:I?.color||B.palette.info.dark}),children:P})]})})}var uo=d;export{R as a,O as b,K as c,M as d,Z as e,_ as f,L as g,uo as h};
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { IconProps } from './type';
3
- declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<HTMLImageElement>>>;
4
- export default _default;
@@ -1,3 +0,0 @@
1
- import Icon from './Icon';
2
- export type { IconProps } from './type';
3
- export default Icon;
@@ -1 +0,0 @@
1
- export{a as default}from'../../_chunks/chunk-G7F3SNY2.js';import'../../_chunks/chunk-QMBLENVJ.js';import'../../_chunks/chunk-UVKRET3U.js';import'../../_chunks/chunk-65DHLOE2.js';
@@ -1,9 +0,0 @@
1
- import type { SxProps } from '@mui/material/styles';
2
- import { Theme } from '@mui/system';
3
- import { HTMLAttributes } from 'react';
4
- export interface IconProps extends HTMLAttributes<HTMLImageElement> {
5
- src: string;
6
- onClick?: () => void;
7
- sx?: SxProps<Theme>;
8
- alt?: string;
9
- }
@@ -1,3 +0,0 @@
1
- export { default, default as PhoneInput } from './PhoneInput';
2
- export type { PhoneInputProps } from './PhoneInput';
3
- export { default as CountriesList } from './CountriesList';
@@ -1 +0,0 @@
1
- export{a as CountriesList,b as PhoneInput,b as default}from'../../_chunks/chunk-FNZIQGLE.js';import'../../_chunks/chunk-FT6CIAN4.js';import'../../_chunks/chunk-74MOID4D.js';import'../../_chunks/chunk-RQBLNWQJ.js';import'../../_chunks/chunk-QMBLENVJ.js';import'../../_chunks/chunk-UVKRET3U.js';import'../../_chunks/chunk-65DHLOE2.js';
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- import { TextInputProps } from '../TextInput';
3
- export interface RHFInputProps extends Omit<TextInputProps, 'name'> {
4
- name: string;
5
- hideArrows?: boolean;
6
- }
7
- declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<RHFInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>>;
8
- export default _default;
@@ -1,3 +0,0 @@
1
- import RHFInput, { RHFInputProps } from './RHFInput';
2
- export type { RHFInputProps };
3
- export default RHFInput;
@@ -1 +0,0 @@
1
- export{a as default}from'../../_chunks/chunk-FISIWHEX.js';import'../../_chunks/chunk-FT6CIAN4.js';import'../../_chunks/chunk-RQBLNWQJ.js';import'../../_chunks/chunk-QMBLENVJ.js';import'../../_chunks/chunk-UVKRET3U.js';import'../../_chunks/chunk-65DHLOE2.js';
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import type { PhoneInputProps } from '../PhoneInput/PhoneInput';
3
- export interface RHFPhoneInputProps extends Omit<PhoneInputProps, 'name' | 'error' | 'hasError' | 'onChangeCountry'> {
4
- countryName: string;
5
- phoneName: string;
6
- }
7
- declare function RHFPhoneInput({ phoneName, countries, countryName, helperText, isCountriesLoading, disabled, feedback, id, ...props }: Readonly<RHFPhoneInputProps>): import("react").JSX.Element;
8
- declare namespace RHFPhoneInput {
9
- var displayName: string;
10
- }
11
- export default RHFPhoneInput;
@@ -1,3 +0,0 @@
1
- import RHFPhoneInput, { RHFPhoneInputProps } from './RHFPhoneInput';
2
- export type { RHFPhoneInputProps };
3
- export default RHFPhoneInput;
@@ -1 +0,0 @@
1
- export{a as default}from'../../_chunks/chunk-ULAOHMAN.js';import'../../_chunks/chunk-FNZIQGLE.js';import'../../_chunks/chunk-FT6CIAN4.js';import'../../_chunks/chunk-74MOID4D.js';import'../../_chunks/chunk-RQBLNWQJ.js';import'../../_chunks/chunk-QMBLENVJ.js';import'../../_chunks/chunk-UVKRET3U.js';import'../../_chunks/chunk-65DHLOE2.js';
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import type { SearchInputProps } from './type';
3
- declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<SearchInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>>;
4
- export default _default;
@@ -1,10 +0,0 @@
1
- export declare const searchInputClassNamePrefix: "os-shared-SearchInput";
2
- export declare const searchInputClassNames: {
3
- readonly root: "os-shared-SearchInput-root";
4
- readonly searchAdornment: "os-shared-SearchInput-searchAdornment";
5
- readonly searchButton: "os-shared-SearchInput-searchButton";
6
- readonly clearButton: "os-shared-SearchInput-clearButton";
7
- readonly searchIcon: "os-shared-SearchInput-searchIcon";
8
- readonly clearIcon: "os-shared-SearchInput-clearIcon";
9
- };
10
- export type SearchInputClassNames = (typeof searchInputClassNames)[keyof typeof searchInputClassNames];
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { type SvgIconProps } from '@mui/material/SvgIcon';
3
- export declare const SearchInputSearchIcon: (props: SvgIconProps) => import("react").JSX.Element;
4
- export declare const SearchInputClearIcon: (props: SvgIconProps) => import("react").JSX.Element;
@@ -1,4 +0,0 @@
1
- export { default, default as SearchInput } from './SearchInput';
2
- export type { SearchInputProps } from './type';
3
- export { searchInputClassNames } from './constants';
4
- export type { SearchInputClassNames } from './constants';
@@ -1 +0,0 @@
1
- export{b as SearchInput,b as default,a as searchInputClassNames}from'../../_chunks/chunk-LAZS2HBW.js';import'../../_chunks/chunk-RQBLNWQJ.js';import'../../_chunks/chunk-QMBLENVJ.js';import'../../_chunks/chunk-UVKRET3U.js';import'../../_chunks/chunk-65DHLOE2.js';
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const SearchInputSearchAdornmentStyled: import("@emotion/styled").StyledComponent<import("@mui/material/InputAdornment").InputAdornmentOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
- }, "position" | "classes" | "className" | "style" | "children" | "sx" | "variant" | "disableTypography" | "disablePointerEvents"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
5
- export declare const SearchInputSearchButtonStyled: import("@emotion/styled").StyledComponent<import("@mui/material/IconButton").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
6
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
7
- }, "color" | "disabled" | "edge" | "classes" | "className" | "style" | "tabIndex" | "children" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "size" | "disableFocusRipple"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
8
- export declare const SearchInputClearButtonStyled: import("@emotion/styled").StyledComponent<import("@mui/material/IconButton").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
9
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
10
- }, "color" | "disabled" | "edge" | "classes" | "className" | "style" | "tabIndex" | "children" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "size" | "disableFocusRipple"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
@@ -1,10 +0,0 @@
1
- import type { InputProps } from '../primitives';
2
- export interface SearchInputProps extends Omit<InputProps, 'type'> {
3
- /**
4
- * Shows a clear (×) button at the trailing edge whenever the field has a
5
- * value; clicking it empties the field and fires `onChange` with `''`.
6
- */
7
- clearable?: boolean;
8
- /** Fired when the clear button empties the field (`clearable`). */
9
- onClear?: () => void;
10
- }
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import type { TextInputProps } from './type';
3
- declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<TextInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>>;
4
- export default _default;
@@ -1,9 +0,0 @@
1
- export declare const textInputClassNamePrefix: "os-shared-TextInput";
2
- export declare const textInputClassNames: {
3
- readonly root: "os-shared-TextInput-root";
4
- readonly field: "os-shared-TextInput-field";
5
- readonly label: "os-shared-TextInput-label";
6
- readonly input: "os-shared-TextInput-input";
7
- readonly helperText: "os-shared-TextInput-helperText";
8
- };
9
- export type TextInputClassNames = (typeof textInputClassNames)[keyof typeof textInputClassNames];
@@ -1,4 +0,0 @@
1
- export { default, default as TextInput } from './TextInput';
2
- export type { TextInputProps } from './type';
3
- export { textInputClassNames } from './constants';
4
- export type { TextInputClassNames } from './constants';
@@ -1 +0,0 @@
1
- export{b as TextInput,b as default,a as textInputClassNames}from'../../_chunks/chunk-FT6CIAN4.js';import'../../_chunks/chunk-RQBLNWQJ.js';import'../../_chunks/chunk-QMBLENVJ.js';import'../../_chunks/chunk-UVKRET3U.js';import'../../_chunks/chunk-65DHLOE2.js';
@@ -1,16 +0,0 @@
1
- /// <reference types="react" />
2
- import { type SxProps, type Theme } from '@mui/material/styles';
3
- import { type FieldFeedbackType } from '../primitives';
4
- export declare const StyledWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
6
- }, keyof import("@mui/system").BoxOwnProps<Theme>> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
7
- /**
8
- * `sx` override that joins the primitive field with a visible `FieldFeedback`
9
- * strip below it: feedback-tinted border, square bottom corners, no bottom
10
- * border, and no focus glow (the strip sits flush). Applied via `sx` — not a
11
- * styled wrapper — so it wins over the shell's own border rules.
12
- */
13
- export declare function getTextInputSx(theme: Theme, feedbackType: FieldFeedbackType | undefined): SxProps<Theme>;
14
- export declare const StyledHelperText: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme> & {
15
- $error?: boolean | undefined;
16
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
@@ -1,37 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import type { InputProps as MuiInputProps } from '@mui/material/Input';
3
- import type { InputLabelProps as MuiInputLabelProps } from '@mui/material/InputLabel';
4
- import type { FieldFeedbackProps, InputProps as PrimitiveInputProps } from '../primitives';
5
- export interface TextInputProps extends Omit<PrimitiveInputProps, 'onChange' | 'label'> {
6
- /**
7
- * Floating label. Only usable string labels render — any other value falls
8
- * back to `placeholder`, mirroring the legacy TextField contract.
9
- */
10
- label?: ReactNode;
11
- /**
12
- * Value change handler — receives the raw string value (not the change event).
13
- * Use for uncontrolled-by-event consumers and RHF wrappers (`RHFInput`).
14
- */
15
- onChange?: (value: string) => void;
16
- /** Show the red error border. Suppressed while `feedback` is provided (feedback owns the border). */
17
- error?: boolean;
18
- /** Inline feedback strip rendered below the field. Takes precedence over `error`/`helperText`. */
19
- feedback?: FieldFeedbackProps | null;
20
- /** Plain helper line rendered below the field when `feedback` is not provided. */
21
- helperText?: ReactNode;
22
- /**
23
- * Legacy TextField input slot. `startAdornment`, `endAdornment`, `readOnly`,
24
- * `inputProps`, `disabled` and `sx` are mapped onto the primitive field;
25
- * `disableUnderline` is ignored (the primitive never underlines) and remaining
26
- * keys are dropped.
27
- * @deprecated Prefer the top-level `startAdornment` / `endAdornment` / `readOnly` / `inputProps` props.
28
- */
29
- InputProps?: Partial<MuiInputProps>;
30
- /**
31
- * Legacy TextField label slot. The primitive floats its label automatically via
32
- * `FormControl` context, so these overrides are accepted for backwards
33
- * compatibility but ignored at runtime.
34
- * @deprecated No replacement — remove usage.
35
- */
36
- InputLabelProps?: Partial<MuiInputLabelProps>;
37
- }
@@ -1,5 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- export declare function resolveLabelledText(label: ReactNode, placeholder: string | null | undefined): {
3
- resolvedLabel: string | undefined;
4
- resolvedPlaceholder: string | undefined;
5
- };