@remoteoss/remote-flows 1.24.1 → 1.26.0

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 (502) hide show
  1. package/dist/ButtonDefault-EPOEMC2J.js +2 -0
  2. package/dist/CheckboxFieldDefault-SQULI7DO.js +2 -0
  3. package/dist/CountryFieldDefault-4YHZACZ5.js +2 -0
  4. package/dist/DatePickerFieldDefault-B7WY5H6M.js +2 -0
  5. package/dist/DrawerDefault-WN7Z4LY7.js +2 -0
  6. package/dist/EmailFieldDefault-LTDNKVUW.js +2 -0
  7. package/dist/FieldsetToggleButtonDefault-4RZ3GTDF.js +2 -0
  8. package/dist/FileUploadFieldDefault-HSLW6SHB.js +2 -0
  9. package/dist/MultiSelectFieldDefault-GSJWVA5H.js +2 -0
  10. package/dist/NumberFieldDefault-NVOVVUNK.js +2 -0
  11. package/dist/RadioGroupFieldDefault-G637DHSW.js +2 -0
  12. package/dist/SelectFieldDefault-WU4CDEZD.js +2 -0
  13. package/dist/StatementDefault-T3RCCUE5.js +2 -0
  14. package/dist/TableFieldDefault-S5XRYF36.js +2 -0
  15. package/dist/TelFieldDefault-D5EW44ZU.js +2 -0
  16. package/dist/TextAreaFieldDefault-32E5FGS7.js +2 -0
  17. package/dist/TextFieldDefault-FCVIHZTV.js +2 -0
  18. package/dist/WorkScheduleFieldDefault-5JZPKI2P.js +2 -0
  19. package/dist/ZendeskDrawerDefault-WQ32QQVE.js +2 -0
  20. package/dist/ZendeskDrawerDefault-WQ32QQVE.js.map +1 -0
  21. package/dist/chunk-2P4RPBIO.js +2 -0
  22. package/dist/{chunk-ECGWCDC3.js.map → chunk-2P4RPBIO.js.map} +1 -1
  23. package/dist/{chunk-BYDQHL6O.js → chunk-2UZ72KAQ.js} +2 -2
  24. package/dist/{chunk-ADTGWDQ7.js → chunk-33IPP266.js} +2 -2
  25. package/dist/{chunk-UJXUKEQU.js → chunk-36NGPS63.js} +2 -2
  26. package/dist/{chunk-OQ5WZBDA.js → chunk-3SECILYU.js} +2 -2
  27. package/dist/{chunk-C4MRFGQG.js → chunk-3VWXALRD.js} +2 -2
  28. package/dist/{chunk-IJ2BGCAF.js → chunk-45K26OSG.js} +2 -2
  29. package/dist/{chunk-IJ2BGCAF.js.map → chunk-45K26OSG.js.map} +1 -1
  30. package/dist/chunk-4EDPYN5F.js +2 -0
  31. package/dist/chunk-4EDPYN5F.js.map +1 -0
  32. package/dist/{chunk-VB6KFDBL.js → chunk-5EDCZGZV.js} +2 -2
  33. package/dist/{chunk-6QEF52IP.js → chunk-5EHJ5HTV.js} +2 -2
  34. package/dist/{chunk-YOFBRZUZ.js → chunk-5F5BHJQO.js} +2 -2
  35. package/dist/chunk-5F5H7LZT.js +2 -0
  36. package/dist/chunk-5F5H7LZT.js.map +1 -0
  37. package/dist/chunk-626FTNKA.js +2 -0
  38. package/dist/chunk-626FTNKA.js.map +1 -0
  39. package/dist/{chunk-3DMWQJ5W.js → chunk-64AJX2DH.js} +2 -2
  40. package/dist/chunk-6I5FRZSX.js +2 -0
  41. package/dist/{chunk-K5Y67GIG.js.map → chunk-6I5FRZSX.js.map} +1 -1
  42. package/dist/{chunk-MSBCYMSH.js → chunk-6SDLOAEO.js} +2 -2
  43. package/dist/{chunk-TNN3W5TU.js → chunk-6Y4QJ7WK.js} +2 -2
  44. package/dist/chunk-72RFYT5Y.js +2 -0
  45. package/dist/chunk-72RFYT5Y.js.map +1 -0
  46. package/dist/{chunk-L3LOATSG.js → chunk-75P5LUKA.js} +2 -2
  47. package/dist/{chunk-56UXOD27.js → chunk-7N2A2ZJ5.js} +2 -2
  48. package/dist/{chunk-H5PRUDCX.js → chunk-7VKV5G6N.js} +2 -2
  49. package/dist/{chunk-FAIEJW57.js → chunk-7X56CYUV.js} +2 -2
  50. package/dist/chunk-7X56CYUV.js.map +1 -0
  51. package/dist/chunk-7Z4MWUCV.js +2 -0
  52. package/dist/{chunk-JI5PQLWS.js.map → chunk-7Z4MWUCV.js.map} +1 -1
  53. package/dist/{chunk-SNECOPBD.js → chunk-ACKYD4QC.js} +2 -2
  54. package/dist/{chunk-G5O2CM6V.js → chunk-AMSYQQG7.js} +2 -2
  55. package/dist/{chunk-AS77PXWM.js → chunk-AXGWQVCT.js} +2 -2
  56. package/dist/{chunk-NAMR4DA5.js → chunk-B5UGFNCU.js} +2 -2
  57. package/dist/{chunk-WD2JGIDK.js → chunk-BAE2OWEH.js} +2 -2
  58. package/dist/{chunk-LSVH4U4W.js → chunk-BAKE7YEE.js} +2 -2
  59. package/dist/chunk-BFSBZTDB.js +2 -0
  60. package/dist/{chunk-EIVCBH53.js.map → chunk-BFSBZTDB.js.map} +1 -1
  61. package/dist/{chunk-2AYGZ4RY.js → chunk-BI3PHE5N.js} +2 -2
  62. package/dist/{chunk-7BGANM2R.js → chunk-BMLTMXEK.js} +2 -2
  63. package/dist/{chunk-4FMQTOXJ.js → chunk-BS4A6UYL.js} +2 -2
  64. package/dist/{chunk-2V4CTIAG.js → chunk-BTP3NN3N.js} +2 -2
  65. package/dist/{chunk-SXKIRVA2.js → chunk-C6ARUHCB.js} +2 -2
  66. package/dist/chunk-CEIDSIMA.js +2 -0
  67. package/dist/chunk-CEIDSIMA.js.map +1 -0
  68. package/dist/chunk-CLAVZQBC.js +2 -0
  69. package/dist/chunk-CLAVZQBC.js.map +1 -0
  70. package/dist/chunk-CUSAI2ZT.js +2 -0
  71. package/dist/chunk-CUSAI2ZT.js.map +1 -0
  72. package/dist/{chunk-KKMW7Q42.js → chunk-DEVQ2NNK.js} +2 -2
  73. package/dist/{chunk-42R2H2DW.js → chunk-DN6BXTAC.js} +1 -1
  74. package/dist/chunk-DN6BXTAC.js.map +1 -0
  75. package/dist/{chunk-SNBAM7SA.js → chunk-DYNVJFJH.js} +2 -2
  76. package/dist/{chunk-KXT6ACFL.js → chunk-EC6ZM3SX.js} +2 -2
  77. package/dist/chunk-ERY43GUW.js +2 -0
  78. package/dist/chunk-ERY43GUW.js.map +1 -0
  79. package/dist/chunk-FFVTWWGX.js +2 -0
  80. package/dist/chunk-FFVTWWGX.js.map +1 -0
  81. package/dist/{chunk-SADMJJDB.js → chunk-FIM36WNY.js} +2 -2
  82. package/dist/{chunk-6JTHV4QS.js → chunk-FOBUW3RN.js} +2 -2
  83. package/dist/{chunk-TQXCLXWH.js → chunk-FTC4EFBO.js} +2 -2
  84. package/dist/{chunk-NKMO2WW3.js → chunk-FZO24P53.js} +2 -2
  85. package/dist/{chunk-C32W6TCT.js → chunk-FZVUO3UU.js} +2 -2
  86. package/dist/chunk-GCPDTL2M.js +2 -0
  87. package/dist/chunk-GCPDTL2M.js.map +1 -0
  88. package/dist/{chunk-VY6W6W6F.js → chunk-GHYCSTSK.js} +2 -2
  89. package/dist/{chunk-SXM3GJ5M.js → chunk-HMVU7HJL.js} +2 -2
  90. package/dist/{chunk-QLYFMDLB.js → chunk-I2DXGO23.js} +2 -2
  91. package/dist/{chunk-K4YQQMHD.js → chunk-IK27ZFUU.js} +2 -2
  92. package/dist/{chunk-CKVI2UDU.js → chunk-INV4YWPR.js} +2 -2
  93. package/dist/{chunk-7SO6WCYM.js → chunk-IY3ASS7L.js} +2 -2
  94. package/dist/{chunk-JF3KLAB5.js → chunk-JFD2OJ6L.js} +2 -2
  95. package/dist/{chunk-NAF6LRSS.js → chunk-JMDINYDB.js} +2 -2
  96. package/dist/{chunk-RDYN6W2A.js → chunk-JWP4HAIS.js} +2 -2
  97. package/dist/{chunk-R4X2WQXX.js → chunk-JXWFFVQO.js} +2 -2
  98. package/dist/{chunk-PZAYG2DF.js → chunk-K56VMRZ5.js} +2 -2
  99. package/dist/chunk-KFYWUBRS.js +2 -0
  100. package/dist/{chunk-LNV36S6D.js.map → chunk-KFYWUBRS.js.map} +1 -1
  101. package/dist/{chunk-2K2RK7RF.js → chunk-KJMPEOZ7.js} +2 -2
  102. package/dist/{chunk-KM7CQTD5.js → chunk-KKCYP5TA.js} +2 -2
  103. package/dist/{chunk-KM7CQTD5.js.map → chunk-KKCYP5TA.js.map} +1 -1
  104. package/dist/chunk-KLN2FG5Y.js +2 -0
  105. package/dist/{chunk-JTMJKRH7.js.map → chunk-KLN2FG5Y.js.map} +1 -1
  106. package/dist/chunk-KMBA73YG.js +2 -0
  107. package/dist/chunk-KMBA73YG.js.map +1 -0
  108. package/dist/{chunk-L5DII4MV.js → chunk-KVMWDA6O.js} +2 -2
  109. package/dist/{chunk-DXIJUMLU.js → chunk-LBJAKZ6V.js} +2 -2
  110. package/dist/{chunk-VWBA3U4U.js → chunk-LFYDEIZG.js} +2 -2
  111. package/dist/chunk-LX3JPBUV.js +2 -0
  112. package/dist/{chunk-YMJ3HQTG.js.map → chunk-LX3JPBUV.js.map} +1 -1
  113. package/dist/{chunk-HIFEVMKP.js → chunk-NORWRQQM.js} +2 -2
  114. package/dist/chunk-NUD662HZ.js +2 -0
  115. package/dist/{chunk-TNYFIB6U.js.map → chunk-NUD662HZ.js.map} +1 -1
  116. package/dist/{chunk-HNCOYMS5.js → chunk-O6H23YQW.js} +2 -2
  117. package/dist/chunk-OCTM6K3V.js +2 -0
  118. package/dist/{chunk-6GCLDEJP.js.map → chunk-OCTM6K3V.js.map} +1 -1
  119. package/dist/{chunk-RAH453TV.js → chunk-OJTYP5W7.js} +2 -2
  120. package/dist/chunk-OSQ6VUDM.js +2 -0
  121. package/dist/chunk-OSQ6VUDM.js.map +1 -0
  122. package/dist/{chunk-VPSESR6G.js → chunk-OXCSFW3F.js} +2 -2
  123. package/dist/{chunk-T4YYYCSD.js → chunk-P4TKMCSQ.js} +2 -2
  124. package/dist/chunk-P4TKMCSQ.js.map +1 -0
  125. package/dist/chunk-POKPAJNL.js +2 -0
  126. package/dist/{chunk-B4E43MXD.js.map → chunk-POKPAJNL.js.map} +1 -1
  127. package/dist/{chunk-AYC6DTFV.js → chunk-PX6B2DBO.js} +2 -2
  128. package/dist/{chunk-BNQFPYNQ.js → chunk-PZFFXEI3.js} +2 -2
  129. package/dist/{chunk-7QXULBD7.js → chunk-QLJMIWS4.js} +2 -2
  130. package/dist/chunk-R47Q7R6C.js +8 -0
  131. package/dist/chunk-R47Q7R6C.js.map +1 -0
  132. package/dist/{chunk-NNFWLL7F.js → chunk-R5WFXN2Z.js} +2 -2
  133. package/dist/{chunk-UQBKFWUI.js → chunk-R7WSWTCF.js} +2 -2
  134. package/dist/{chunk-XBPTFEGC.js → chunk-RD5FPT3Y.js} +2 -2
  135. package/dist/{chunk-JQJBDHAL.js → chunk-RPCS3K2I.js} +2 -2
  136. package/dist/{chunk-H5QXOIKS.js → chunk-RRZ2GPQS.js} +2 -2
  137. package/dist/{chunk-YWOJ4NKF.js → chunk-RUYVQ6R6.js} +2 -2
  138. package/dist/{chunk-7V2QPZ2F.js → chunk-SJVCXKRO.js} +2 -2
  139. package/dist/{chunk-VK7T332E.js → chunk-SP2V52RP.js} +2 -2
  140. package/dist/chunk-T4Y4D743.js +2 -0
  141. package/dist/chunk-T4Y4D743.js.map +1 -0
  142. package/dist/{chunk-MSEHAEEK.js → chunk-TFJOJCCS.js} +2 -2
  143. package/dist/chunk-TIJRONPS.js +2 -0
  144. package/dist/chunk-TIJRONPS.js.map +1 -0
  145. package/dist/{chunk-BZAO32QW.js → chunk-TUPZTWGP.js} +2 -2
  146. package/dist/chunk-TVBZT6FA.js +2 -0
  147. package/dist/chunk-TVBZT6FA.js.map +1 -0
  148. package/dist/chunk-TXEONNPV.js +2 -0
  149. package/dist/chunk-TXEONNPV.js.map +1 -0
  150. package/dist/{chunk-WRRTZ2AL.js → chunk-UBNSYRKM.js} +2 -2
  151. package/dist/{chunk-3C6N7DK6.js → chunk-UN4RAIAR.js} +2 -2
  152. package/dist/{chunk-AS6KFUXS.js → chunk-UZNF4JV3.js} +2 -2
  153. package/dist/{chunk-3BBQDNZD.js → chunk-V5OIMFSH.js} +2 -2
  154. package/dist/{chunk-7ZFZYZSP.js → chunk-VDVWAYXP.js} +2 -2
  155. package/dist/{chunk-7G5JSUZU.js → chunk-VHAJRKCI.js} +2 -2
  156. package/dist/{chunk-OK2NP3L5.js → chunk-VLVKKSJP.js} +2 -2
  157. package/dist/{chunk-OK2NP3L5.js.map → chunk-VLVKKSJP.js.map} +1 -1
  158. package/dist/{chunk-BAMGHBLT.js → chunk-VSXPCSKU.js} +2 -2
  159. package/dist/{chunk-UMVA4SIV.js → chunk-W2ZXKNL4.js} +2 -2
  160. package/dist/{chunk-MP3VDCI7.js → chunk-XADVV6OP.js} +2 -2
  161. package/dist/{chunk-R3BBN7TV.js → chunk-XHZHFM2J.js} +2 -2
  162. package/dist/{chunk-W6OOI5NF.js → chunk-XUT44QU6.js} +2 -2
  163. package/dist/{chunk-GOTY4N6S.js → chunk-XXXLKG43.js} +2 -2
  164. package/dist/{chunk-547UHEDI.js → chunk-YYMGZZTO.js} +2 -2
  165. package/dist/{chunk-MG4PHNSS.js → chunk-ZS7YCDY6.js} +2 -2
  166. package/dist/{chunk-JKB4KOVF.js → chunk-ZYAMVSAL.js} +2 -2
  167. package/dist/default-components.d.ts +2 -3
  168. package/dist/default-components.js +1 -1
  169. package/dist/default-components.js.map +1 -1
  170. package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.d.ts +1 -1
  171. package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.js +1 -1
  172. package/dist/flows/ContractAmendment/ContractAmendmentFlow.d.ts +3 -4
  173. package/dist/flows/ContractAmendment/ContractAmendmentFlow.js +1 -1
  174. package/dist/flows/ContractAmendment/ContractAmendmentForm.d.ts +1 -1
  175. package/dist/flows/ContractAmendment/ContractAmendmentForm.js +1 -1
  176. package/dist/flows/ContractAmendment/context.d.ts +3 -4
  177. package/dist/flows/ContractAmendment/hooks.d.ts +3 -4
  178. package/dist/flows/ContractAmendment/hooks.js +1 -1
  179. package/dist/flows/ContractAmendment/index.d.ts +3 -4
  180. package/dist/flows/ContractAmendment/index.js +1 -1
  181. package/dist/flows/ContractAmendment/types.d.ts +2 -3
  182. package/dist/flows/ContractAmendment/utils.d.ts +2 -3
  183. package/dist/flows/ContractAmendment/utils.js +1 -1
  184. package/dist/flows/ContractorOnboarding/ContractorOnboarding.d.ts +5 -6
  185. package/dist/flows/ContractorOnboarding/ContractorOnboarding.js +1 -1
  186. package/dist/flows/ContractorOnboarding/api.d.ts +3 -4
  187. package/dist/flows/ContractorOnboarding/api.js +1 -1
  188. package/dist/flows/ContractorOnboarding/components/BasicInformationStep.d.ts +4 -5
  189. package/dist/flows/ContractorOnboarding/components/BasicInformationStep.js +1 -1
  190. package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.d.ts +5 -6
  191. package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.js +1 -1
  192. package/dist/flows/ContractorOnboarding/components/ContractPreviewHeader.d.ts +2 -3
  193. package/dist/flows/ContractorOnboarding/components/ContractPreviewStatement.d.ts +2 -3
  194. package/dist/flows/ContractorOnboarding/components/ContractPreviewStatement.js +1 -1
  195. package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.d.ts +5 -6
  196. package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.js +1 -1
  197. package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.d.ts +5 -6
  198. package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.js +1 -1
  199. package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.d.ts +5 -6
  200. package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.js +1 -1
  201. package/dist/flows/ContractorOnboarding/components/OnboardingInvite.d.ts +3 -4
  202. package/dist/flows/ContractorOnboarding/components/OnboardingInvite.js +1 -1
  203. package/dist/flows/ContractorOnboarding/components/PricingPlan.d.ts +5 -6
  204. package/dist/flows/ContractorOnboarding/components/PricingPlan.js +1 -1
  205. package/dist/flows/ContractorOnboarding/components/SaveDraftButton.d.ts +3 -4
  206. package/dist/flows/ContractorOnboarding/components/SelectCountryStep.d.ts +4 -5
  207. package/dist/flows/ContractorOnboarding/components/SelectCountryStep.js +1 -1
  208. package/dist/flows/ContractorOnboarding/components/StatementOfWorkDisclaimer.js +1 -1
  209. package/dist/flows/ContractorOnboarding/context.d.ts +6 -7
  210. package/dist/flows/ContractorOnboarding/hooks.d.ts +5 -6
  211. package/dist/flows/ContractorOnboarding/hooks.js +1 -1
  212. package/dist/flows/ContractorOnboarding/index.d.ts +5 -6
  213. package/dist/flows/ContractorOnboarding/index.js +1 -1
  214. package/dist/flows/ContractorOnboarding/jsfModify.d.ts +5 -6
  215. package/dist/flows/ContractorOnboarding/jsfModify.js +1 -1
  216. package/dist/flows/ContractorOnboarding/types.d.ts +5 -6
  217. package/dist/flows/ContractorOnboarding/utils.d.ts +4 -5
  218. package/dist/flows/CostCalculator/CostCalculatorFlow.d.ts +3 -4
  219. package/dist/flows/CostCalculator/CostCalculatorFlow.js +1 -1
  220. package/dist/flows/CostCalculator/CostCalculatorForm.d.ts +3 -4
  221. package/dist/flows/CostCalculator/CostCalculatorForm.js +1 -1
  222. package/dist/flows/CostCalculator/CostCalculatorResetButton.js +1 -1
  223. package/dist/flows/CostCalculator/CostCalculatorSubmitButton.js +1 -1
  224. package/dist/flows/CostCalculator/EstimationResults/EstimationResults.d.ts +2 -3
  225. package/dist/flows/CostCalculator/EstimationResults/EstimationResults.js +1 -1
  226. package/dist/flows/CostCalculator/SummaryResults/SummaryResults.d.ts +2 -3
  227. package/dist/flows/CostCalculator/SummaryResults/SummaryResults.js +1 -1
  228. package/dist/flows/CostCalculator/api.d.ts +2 -3
  229. package/dist/flows/CostCalculator/api.js +1 -1
  230. package/dist/flows/CostCalculator/components/SalaryField.d.ts +2 -3
  231. package/dist/flows/CostCalculator/components/SalaryField.js +1 -1
  232. package/dist/flows/CostCalculator/context.d.ts +3 -4
  233. package/dist/flows/CostCalculator/hooks.d.ts +3 -4
  234. package/dist/flows/CostCalculator/hooks.js +1 -1
  235. package/dist/flows/CostCalculator/index.d.ts +3 -4
  236. package/dist/flows/CostCalculator/index.js +1 -1
  237. package/dist/flows/CostCalculator/types.d.ts +2 -3
  238. package/dist/flows/CostCalculator/utils.d.ts +3 -4
  239. package/dist/flows/CostCalculator/utils.js +1 -1
  240. package/dist/flows/CreateCompany/CreateCompany.d.ts +4 -5
  241. package/dist/flows/CreateCompany/CreateCompany.js +1 -1
  242. package/dist/flows/CreateCompany/api.d.ts +2 -3
  243. package/dist/flows/CreateCompany/api.js +1 -1
  244. package/dist/flows/CreateCompany/components/AddressDetailsStep.d.ts +4 -5
  245. package/dist/flows/CreateCompany/components/AddressDetailsStep.js +1 -1
  246. package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.d.ts +4 -5
  247. package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.js +1 -1
  248. package/dist/flows/CreateCompany/components/CreateCompanyForm.d.ts +2 -3
  249. package/dist/flows/CreateCompany/components/CreateCompanyForm.js +1 -1
  250. package/dist/flows/CreateCompany/context.d.ts +4 -5
  251. package/dist/flows/CreateCompany/hooks.d.ts +4 -5
  252. package/dist/flows/CreateCompany/hooks.js +1 -1
  253. package/dist/flows/CreateCompany/index.d.ts +4 -5
  254. package/dist/flows/CreateCompany/index.js +1 -1
  255. package/dist/flows/CreateCompany/types.d.ts +4 -5
  256. package/dist/flows/Onboarding/OnboardingFlow.d.ts +4 -5
  257. package/dist/flows/Onboarding/OnboardingFlow.js +1 -1
  258. package/dist/flows/Onboarding/api.d.ts +5 -9
  259. package/dist/flows/Onboarding/api.js +1 -1
  260. package/dist/flows/Onboarding/components/AnnualGrossSalary.d.ts +2 -3
  261. package/dist/flows/Onboarding/components/AnnualGrossSalary.js +1 -1
  262. package/dist/flows/Onboarding/components/BasicInformationStep.d.ts +4 -5
  263. package/dist/flows/Onboarding/components/BasicInformationStep.js +1 -1
  264. package/dist/flows/Onboarding/components/BenefitsStep.d.ts +4 -5
  265. package/dist/flows/Onboarding/components/BenefitsStep.js +1 -1
  266. package/dist/flows/Onboarding/components/ContractDetailsStep.d.ts +4 -5
  267. package/dist/flows/Onboarding/components/ContractDetailsStep.js +1 -1
  268. package/dist/flows/Onboarding/components/OnboardingForm.d.ts +4 -5
  269. package/dist/flows/Onboarding/components/OnboardingForm.js +1 -1
  270. package/dist/flows/Onboarding/components/OnboardingInvite.d.ts +3 -4
  271. package/dist/flows/Onboarding/components/OnboardingInvite.js +1 -1
  272. package/dist/flows/Onboarding/components/ReviewStep.d.ts +4 -5
  273. package/dist/flows/Onboarding/components/SaveDraftButton.d.ts +3 -4
  274. package/dist/flows/Onboarding/components/SelectCountryStep.d.ts +4 -5
  275. package/dist/flows/Onboarding/components/SelectCountryStep.js +1 -1
  276. package/dist/flows/Onboarding/context.d.ts +14 -8
  277. package/dist/flows/Onboarding/hooks.d.ts +4 -5
  278. package/dist/flows/Onboarding/hooks.js +1 -1
  279. package/dist/flows/Onboarding/index.d.ts +4 -5
  280. package/dist/flows/Onboarding/index.js +1 -1
  281. package/dist/flows/Onboarding/types.d.ts +4 -5
  282. package/dist/flows/Onboarding/utils.d.ts +4 -5
  283. package/dist/flows/Onboarding/utils.js +1 -1
  284. package/dist/flows/Termination/AdditionalDetailsForm.d.ts +4 -5
  285. package/dist/flows/Termination/AdditionalDetailsForm.js +1 -1
  286. package/dist/flows/Termination/EmployeeComunicationForm.d.ts +4 -5
  287. package/dist/flows/Termination/EmployeeComunicationForm.js +1 -1
  288. package/dist/flows/Termination/PaidTimeOffForm.d.ts +4 -5
  289. package/dist/flows/Termination/PaidTimeOffForm.js +1 -1
  290. package/dist/flows/Termination/TerminationDetailsForm.d.ts +4 -5
  291. package/dist/flows/Termination/TerminationDetailsForm.js +1 -1
  292. package/dist/flows/Termination/TerminationFlow.d.ts +4 -5
  293. package/dist/flows/Termination/TerminationFlow.js +1 -1
  294. package/dist/flows/Termination/TerminationForm.d.ts +4 -5
  295. package/dist/flows/Termination/TerminationForm.js +1 -1
  296. package/dist/flows/Termination/api.d.ts +5 -6
  297. package/dist/flows/Termination/api.js +1 -1
  298. package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformation.js +1 -1
  299. package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformationFees.js +1 -1
  300. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.d.ts +6 -7
  301. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.js +1 -1
  302. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.d.ts +6 -7
  303. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.js +1 -1
  304. package/dist/flows/Termination/components/PaidTimeOff/types.d.ts +6 -7
  305. package/dist/flows/Termination/components/TerminationDialogInfoContent/TerminationDialogInfoContent.js +1 -1
  306. package/dist/flows/Termination/components/TerminationReasonsDetailContent/TerminationReasonsDetailContent.js +1 -1
  307. package/dist/flows/Termination/context.d.ts +4 -5
  308. package/dist/flows/Termination/hooks.d.ts +4 -5
  309. package/dist/flows/Termination/hooks.js +1 -1
  310. package/dist/flows/Termination/index.d.ts +6 -7
  311. package/dist/flows/Termination/index.js +1 -1
  312. package/dist/flows/Termination/json-schemas/schema.d.ts +7 -8
  313. package/dist/flows/Termination/json-schemas/schema.js +1 -1
  314. package/dist/flows/Termination/types.d.ts +4 -5
  315. package/dist/flows/Termination/utils.d.ts +4 -5
  316. package/dist/flows/Termination/utils.js +1 -1
  317. package/dist/flows/types.d.ts +2 -3
  318. package/dist/flows/utils.d.ts +6 -2
  319. package/dist/flows/utils.js +1 -1
  320. package/dist/index.css +2 -2
  321. package/dist/index.css.map +1 -1
  322. package/dist/index.d.ts +11 -12
  323. package/dist/index.js +2 -2
  324. package/dist/index.js.map +1 -1
  325. package/dist/internals.d.ts +6 -7
  326. package/dist/internals.js +1 -1
  327. package/dist/{mutations-BsydWn3-.d.ts → mutations-BlHJKh7X.d.ts} +1 -1
  328. package/dist/{remoteFlows-BVt9wH8Z.d.ts → remoteFlows-BgpcnCNA.d.ts} +44 -4
  329. package/dist/styles.css +2 -2
  330. package/dist/styles.css.map +1 -1
  331. package/dist/{types-BUI5G3ML.d.ts → types-BBgv8INf.d.ts} +6 -6
  332. package/dist/{types-C0ri3b3L.d.ts → types-CRnEmzMD.d.ts} +1 -1
  333. package/dist/{types-BfQMv-8p.d.ts → types-DEzrQ-MU.d.ts} +2 -2
  334. package/dist/{types-uW0BsP56.d.ts → types-nfUNaXC-.d.ts} +3 -3
  335. package/dist/{types-C0m9mu0v.d.ts → types-x02L1Qo9.d.ts} +41 -11
  336. package/dist/{types.gen-Oz2Tvvr6.d.ts → types.gen-Dgw1W-SB.d.ts} +74 -21
  337. package/dist/{utils-Db2G1Kxo.d.ts → utils-Dg9zSNDT.d.ts} +1 -1
  338. package/package.json +31 -38
  339. package/dist/ButtonDefault-2YV2Z474.js +0 -2
  340. package/dist/CheckboxFieldDefault-55JIXW4D.js +0 -2
  341. package/dist/CountryFieldDefault-NX5GNCKS.js +0 -2
  342. package/dist/DatePickerFieldDefault-PRJ4Z72O.js +0 -2
  343. package/dist/DrawerDefault-AAUS7T5W.js +0 -2
  344. package/dist/EmailFieldDefault-TFQ5SQVC.js +0 -2
  345. package/dist/FieldsetToggleButtonDefault-MFLN2WWT.js +0 -2
  346. package/dist/FileUploadFieldDefault-7ETO2SEZ.js +0 -2
  347. package/dist/MultiSelectFieldDefault-5TL5SL7W.js +0 -2
  348. package/dist/NumberFieldDefault-L7J22NRQ.js +0 -2
  349. package/dist/RadioGroupFieldDefault-B2ZRFHJ4.js +0 -2
  350. package/dist/SelectFieldDefault-AT6LLZNX.js +0 -2
  351. package/dist/StatementDefault-DORMITL7.js +0 -2
  352. package/dist/TableFieldDefault-URJVK7YR.js +0 -2
  353. package/dist/TextAreaFieldDefault-2TV3WHKH.js +0 -2
  354. package/dist/TextFieldDefault-2GEILZPU.js +0 -2
  355. package/dist/WorkScheduleFieldDefault-XH4AEXSM.js +0 -2
  356. package/dist/ZendeskDrawerDefault-A5PVWI4R.js +0 -2
  357. package/dist/chunk-3NESYBEJ.js +0 -2
  358. package/dist/chunk-3NESYBEJ.js.map +0 -1
  359. package/dist/chunk-42R2H2DW.js.map +0 -1
  360. package/dist/chunk-6GCLDEJP.js +0 -2
  361. package/dist/chunk-6H4634RG.js +0 -2
  362. package/dist/chunk-6H4634RG.js.map +0 -1
  363. package/dist/chunk-B4E43MXD.js +0 -2
  364. package/dist/chunk-BI4RFXFL.js +0 -2
  365. package/dist/chunk-BI4RFXFL.js.map +0 -1
  366. package/dist/chunk-CWAFRJAQ.js +0 -2
  367. package/dist/chunk-CWAFRJAQ.js.map +0 -1
  368. package/dist/chunk-D5AO6SOM.js +0 -2
  369. package/dist/chunk-D5AO6SOM.js.map +0 -1
  370. package/dist/chunk-DZXU45AS.js +0 -2
  371. package/dist/chunk-DZXU45AS.js.map +0 -1
  372. package/dist/chunk-ECGWCDC3.js +0 -2
  373. package/dist/chunk-EIVCBH53.js +0 -2
  374. package/dist/chunk-FAIEJW57.js.map +0 -1
  375. package/dist/chunk-H2RAK6F7.js +0 -6
  376. package/dist/chunk-H2RAK6F7.js.map +0 -1
  377. package/dist/chunk-HDH5PEOK.js +0 -2
  378. package/dist/chunk-HDH5PEOK.js.map +0 -1
  379. package/dist/chunk-JI5PQLWS.js +0 -2
  380. package/dist/chunk-JTMJKRH7.js +0 -2
  381. package/dist/chunk-K5Y67GIG.js +0 -2
  382. package/dist/chunk-LNV36S6D.js +0 -2
  383. package/dist/chunk-LXOYWRNU.js +0 -2
  384. package/dist/chunk-LXOYWRNU.js.map +0 -1
  385. package/dist/chunk-OWUINMZP.js +0 -2
  386. package/dist/chunk-OWUINMZP.js.map +0 -1
  387. package/dist/chunk-T4YYYCSD.js.map +0 -1
  388. package/dist/chunk-TNYFIB6U.js +0 -2
  389. package/dist/chunk-UMLRTS3B.js +0 -2
  390. package/dist/chunk-UMLRTS3B.js.map +0 -1
  391. package/dist/chunk-UOA5WU4S.js +0 -2
  392. package/dist/chunk-UOA5WU4S.js.map +0 -1
  393. package/dist/chunk-VIGKOVHP.js +0 -2
  394. package/dist/chunk-VIGKOVHP.js.map +0 -1
  395. package/dist/chunk-WFZGKBFS.js +0 -2
  396. package/dist/chunk-WFZGKBFS.js.map +0 -1
  397. package/dist/chunk-X6ZAR7ZL.js +0 -2
  398. package/dist/chunk-X6ZAR7ZL.js.map +0 -1
  399. package/dist/chunk-XGRFWXUU.js +0 -2
  400. package/dist/chunk-XGRFWXUU.js.map +0 -1
  401. package/dist/chunk-YMJ3HQTG.js +0 -2
  402. package/dist/chunk-Z5WMKCRJ.js +0 -2
  403. package/dist/chunk-Z5WMKCRJ.js.map +0 -1
  404. package/dist/types-ZWIpiFgj.d.ts +0 -4
  405. /package/dist/{ButtonDefault-2YV2Z474.js.map → ButtonDefault-EPOEMC2J.js.map} +0 -0
  406. /package/dist/{CheckboxFieldDefault-55JIXW4D.js.map → CheckboxFieldDefault-SQULI7DO.js.map} +0 -0
  407. /package/dist/{CountryFieldDefault-NX5GNCKS.js.map → CountryFieldDefault-4YHZACZ5.js.map} +0 -0
  408. /package/dist/{DatePickerFieldDefault-PRJ4Z72O.js.map → DatePickerFieldDefault-B7WY5H6M.js.map} +0 -0
  409. /package/dist/{DrawerDefault-AAUS7T5W.js.map → DrawerDefault-WN7Z4LY7.js.map} +0 -0
  410. /package/dist/{EmailFieldDefault-TFQ5SQVC.js.map → EmailFieldDefault-LTDNKVUW.js.map} +0 -0
  411. /package/dist/{FieldsetToggleButtonDefault-MFLN2WWT.js.map → FieldsetToggleButtonDefault-4RZ3GTDF.js.map} +0 -0
  412. /package/dist/{FileUploadFieldDefault-7ETO2SEZ.js.map → FileUploadFieldDefault-HSLW6SHB.js.map} +0 -0
  413. /package/dist/{MultiSelectFieldDefault-5TL5SL7W.js.map → MultiSelectFieldDefault-GSJWVA5H.js.map} +0 -0
  414. /package/dist/{NumberFieldDefault-L7J22NRQ.js.map → NumberFieldDefault-NVOVVUNK.js.map} +0 -0
  415. /package/dist/{RadioGroupFieldDefault-B2ZRFHJ4.js.map → RadioGroupFieldDefault-G637DHSW.js.map} +0 -0
  416. /package/dist/{SelectFieldDefault-AT6LLZNX.js.map → SelectFieldDefault-WU4CDEZD.js.map} +0 -0
  417. /package/dist/{StatementDefault-DORMITL7.js.map → StatementDefault-T3RCCUE5.js.map} +0 -0
  418. /package/dist/{TableFieldDefault-URJVK7YR.js.map → TableFieldDefault-S5XRYF36.js.map} +0 -0
  419. /package/dist/{TextAreaFieldDefault-2TV3WHKH.js.map → TelFieldDefault-D5EW44ZU.js.map} +0 -0
  420. /package/dist/{TextFieldDefault-2GEILZPU.js.map → TextAreaFieldDefault-32E5FGS7.js.map} +0 -0
  421. /package/dist/{WorkScheduleFieldDefault-XH4AEXSM.js.map → TextFieldDefault-FCVIHZTV.js.map} +0 -0
  422. /package/dist/{ZendeskDrawerDefault-A5PVWI4R.js.map → WorkScheduleFieldDefault-5JZPKI2P.js.map} +0 -0
  423. /package/dist/{chunk-BYDQHL6O.js.map → chunk-2UZ72KAQ.js.map} +0 -0
  424. /package/dist/{chunk-ADTGWDQ7.js.map → chunk-33IPP266.js.map} +0 -0
  425. /package/dist/{chunk-UJXUKEQU.js.map → chunk-36NGPS63.js.map} +0 -0
  426. /package/dist/{chunk-OQ5WZBDA.js.map → chunk-3SECILYU.js.map} +0 -0
  427. /package/dist/{chunk-C4MRFGQG.js.map → chunk-3VWXALRD.js.map} +0 -0
  428. /package/dist/{chunk-VB6KFDBL.js.map → chunk-5EDCZGZV.js.map} +0 -0
  429. /package/dist/{chunk-6QEF52IP.js.map → chunk-5EHJ5HTV.js.map} +0 -0
  430. /package/dist/{chunk-YOFBRZUZ.js.map → chunk-5F5BHJQO.js.map} +0 -0
  431. /package/dist/{chunk-3DMWQJ5W.js.map → chunk-64AJX2DH.js.map} +0 -0
  432. /package/dist/{chunk-MSBCYMSH.js.map → chunk-6SDLOAEO.js.map} +0 -0
  433. /package/dist/{chunk-TNN3W5TU.js.map → chunk-6Y4QJ7WK.js.map} +0 -0
  434. /package/dist/{chunk-L3LOATSG.js.map → chunk-75P5LUKA.js.map} +0 -0
  435. /package/dist/{chunk-56UXOD27.js.map → chunk-7N2A2ZJ5.js.map} +0 -0
  436. /package/dist/{chunk-H5PRUDCX.js.map → chunk-7VKV5G6N.js.map} +0 -0
  437. /package/dist/{chunk-SNECOPBD.js.map → chunk-ACKYD4QC.js.map} +0 -0
  438. /package/dist/{chunk-G5O2CM6V.js.map → chunk-AMSYQQG7.js.map} +0 -0
  439. /package/dist/{chunk-AS77PXWM.js.map → chunk-AXGWQVCT.js.map} +0 -0
  440. /package/dist/{chunk-NAMR4DA5.js.map → chunk-B5UGFNCU.js.map} +0 -0
  441. /package/dist/{chunk-WD2JGIDK.js.map → chunk-BAE2OWEH.js.map} +0 -0
  442. /package/dist/{chunk-LSVH4U4W.js.map → chunk-BAKE7YEE.js.map} +0 -0
  443. /package/dist/{chunk-2AYGZ4RY.js.map → chunk-BI3PHE5N.js.map} +0 -0
  444. /package/dist/{chunk-7BGANM2R.js.map → chunk-BMLTMXEK.js.map} +0 -0
  445. /package/dist/{chunk-4FMQTOXJ.js.map → chunk-BS4A6UYL.js.map} +0 -0
  446. /package/dist/{chunk-2V4CTIAG.js.map → chunk-BTP3NN3N.js.map} +0 -0
  447. /package/dist/{chunk-SXKIRVA2.js.map → chunk-C6ARUHCB.js.map} +0 -0
  448. /package/dist/{chunk-KKMW7Q42.js.map → chunk-DEVQ2NNK.js.map} +0 -0
  449. /package/dist/{chunk-SNBAM7SA.js.map → chunk-DYNVJFJH.js.map} +0 -0
  450. /package/dist/{chunk-KXT6ACFL.js.map → chunk-EC6ZM3SX.js.map} +0 -0
  451. /package/dist/{chunk-SADMJJDB.js.map → chunk-FIM36WNY.js.map} +0 -0
  452. /package/dist/{chunk-6JTHV4QS.js.map → chunk-FOBUW3RN.js.map} +0 -0
  453. /package/dist/{chunk-TQXCLXWH.js.map → chunk-FTC4EFBO.js.map} +0 -0
  454. /package/dist/{chunk-NKMO2WW3.js.map → chunk-FZO24P53.js.map} +0 -0
  455. /package/dist/{chunk-C32W6TCT.js.map → chunk-FZVUO3UU.js.map} +0 -0
  456. /package/dist/{chunk-VY6W6W6F.js.map → chunk-GHYCSTSK.js.map} +0 -0
  457. /package/dist/{chunk-SXM3GJ5M.js.map → chunk-HMVU7HJL.js.map} +0 -0
  458. /package/dist/{chunk-QLYFMDLB.js.map → chunk-I2DXGO23.js.map} +0 -0
  459. /package/dist/{chunk-K4YQQMHD.js.map → chunk-IK27ZFUU.js.map} +0 -0
  460. /package/dist/{chunk-CKVI2UDU.js.map → chunk-INV4YWPR.js.map} +0 -0
  461. /package/dist/{chunk-7SO6WCYM.js.map → chunk-IY3ASS7L.js.map} +0 -0
  462. /package/dist/{chunk-JF3KLAB5.js.map → chunk-JFD2OJ6L.js.map} +0 -0
  463. /package/dist/{chunk-NAF6LRSS.js.map → chunk-JMDINYDB.js.map} +0 -0
  464. /package/dist/{chunk-RDYN6W2A.js.map → chunk-JWP4HAIS.js.map} +0 -0
  465. /package/dist/{chunk-R4X2WQXX.js.map → chunk-JXWFFVQO.js.map} +0 -0
  466. /package/dist/{chunk-PZAYG2DF.js.map → chunk-K56VMRZ5.js.map} +0 -0
  467. /package/dist/{chunk-2K2RK7RF.js.map → chunk-KJMPEOZ7.js.map} +0 -0
  468. /package/dist/{chunk-L5DII4MV.js.map → chunk-KVMWDA6O.js.map} +0 -0
  469. /package/dist/{chunk-DXIJUMLU.js.map → chunk-LBJAKZ6V.js.map} +0 -0
  470. /package/dist/{chunk-VWBA3U4U.js.map → chunk-LFYDEIZG.js.map} +0 -0
  471. /package/dist/{chunk-HIFEVMKP.js.map → chunk-NORWRQQM.js.map} +0 -0
  472. /package/dist/{chunk-HNCOYMS5.js.map → chunk-O6H23YQW.js.map} +0 -0
  473. /package/dist/{chunk-RAH453TV.js.map → chunk-OJTYP5W7.js.map} +0 -0
  474. /package/dist/{chunk-VPSESR6G.js.map → chunk-OXCSFW3F.js.map} +0 -0
  475. /package/dist/{chunk-AYC6DTFV.js.map → chunk-PX6B2DBO.js.map} +0 -0
  476. /package/dist/{chunk-BNQFPYNQ.js.map → chunk-PZFFXEI3.js.map} +0 -0
  477. /package/dist/{chunk-7QXULBD7.js.map → chunk-QLJMIWS4.js.map} +0 -0
  478. /package/dist/{chunk-NNFWLL7F.js.map → chunk-R5WFXN2Z.js.map} +0 -0
  479. /package/dist/{chunk-UQBKFWUI.js.map → chunk-R7WSWTCF.js.map} +0 -0
  480. /package/dist/{chunk-XBPTFEGC.js.map → chunk-RD5FPT3Y.js.map} +0 -0
  481. /package/dist/{chunk-JQJBDHAL.js.map → chunk-RPCS3K2I.js.map} +0 -0
  482. /package/dist/{chunk-H5QXOIKS.js.map → chunk-RRZ2GPQS.js.map} +0 -0
  483. /package/dist/{chunk-YWOJ4NKF.js.map → chunk-RUYVQ6R6.js.map} +0 -0
  484. /package/dist/{chunk-7V2QPZ2F.js.map → chunk-SJVCXKRO.js.map} +0 -0
  485. /package/dist/{chunk-VK7T332E.js.map → chunk-SP2V52RP.js.map} +0 -0
  486. /package/dist/{chunk-MSEHAEEK.js.map → chunk-TFJOJCCS.js.map} +0 -0
  487. /package/dist/{chunk-BZAO32QW.js.map → chunk-TUPZTWGP.js.map} +0 -0
  488. /package/dist/{chunk-WRRTZ2AL.js.map → chunk-UBNSYRKM.js.map} +0 -0
  489. /package/dist/{chunk-3C6N7DK6.js.map → chunk-UN4RAIAR.js.map} +0 -0
  490. /package/dist/{chunk-AS6KFUXS.js.map → chunk-UZNF4JV3.js.map} +0 -0
  491. /package/dist/{chunk-3BBQDNZD.js.map → chunk-V5OIMFSH.js.map} +0 -0
  492. /package/dist/{chunk-7ZFZYZSP.js.map → chunk-VDVWAYXP.js.map} +0 -0
  493. /package/dist/{chunk-7G5JSUZU.js.map → chunk-VHAJRKCI.js.map} +0 -0
  494. /package/dist/{chunk-BAMGHBLT.js.map → chunk-VSXPCSKU.js.map} +0 -0
  495. /package/dist/{chunk-UMVA4SIV.js.map → chunk-W2ZXKNL4.js.map} +0 -0
  496. /package/dist/{chunk-MP3VDCI7.js.map → chunk-XADVV6OP.js.map} +0 -0
  497. /package/dist/{chunk-R3BBN7TV.js.map → chunk-XHZHFM2J.js.map} +0 -0
  498. /package/dist/{chunk-W6OOI5NF.js.map → chunk-XUT44QU6.js.map} +0 -0
  499. /package/dist/{chunk-GOTY4N6S.js.map → chunk-XXXLKG43.js.map} +0 -0
  500. /package/dist/{chunk-547UHEDI.js.map → chunk-YYMGZZTO.js.map} +0 -0
  501. /package/dist/{chunk-MG4PHNSS.js.map → chunk-ZS7YCDY6.js.map} +0 -0
  502. /package/dist/{chunk-JKB4KOVF.js.map → chunk-ZYAMVSAL.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../node_modules/lodash/isObject.js","../node_modules/lodash/_freeGlobal.js","../node_modules/lodash/_root.js","../node_modules/lodash/now.js","../node_modules/lodash/_trimmedEndIndex.js","../node_modules/lodash/_baseTrim.js","../node_modules/lodash/_Symbol.js","../node_modules/lodash/_getRawTag.js","../node_modules/lodash/_objectToString.js","../node_modules/lodash/_baseGetTag.js","../node_modules/lodash/isObjectLike.js","../node_modules/lodash/isSymbol.js","../node_modules/lodash/toNumber.js","../node_modules/lodash/debounce.js","../src/components/form/fields/CurrencyConversionField.tsx","../src/common/hooks.ts"],"sourcesContent":["/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","import { ReactNode, useState, useCallback, useEffect, useRef } from 'react';\nimport { useFormContext } from 'react-hook-form';\nimport { TextField } from '@/src/components/form/fields/TextField';\nimport { useConvertCurrency } from '@/src/flows/Onboarding/api';\nimport { JSFField } from '@/src/types/remoteFlows';\nimport { useFormFields } from '@/src/context';\nimport { useDebounce } from '@/src/common/hooks';\nimport { FormDescription } from '@/src/components/ui/form';\nimport {\n convertFromCents,\n convertToCents,\n round,\n} from '@/src/components/form/utils';\n\ntype DescriptionWithConversionProps = {\n description: ReactNode;\n showConversion: boolean;\n targetCurrency: string;\n className: string;\n onClick: (evt: React.MouseEvent<HTMLButtonElement>) => void;\n};\n\nconst DescriptionWithConversion = ({\n description,\n showConversion,\n targetCurrency,\n className,\n onClick,\n}: DescriptionWithConversionProps) => {\n const { components } = useFormFields();\n const label = showConversion\n ? `Hide ${targetCurrency} conversion`\n : `Show ${targetCurrency} conversion`;\n\n const CustomButton = components?.button;\n if (!CustomButton) {\n throw new Error(`Button component not found`);\n }\n\n return (\n <span className={className}>\n <FormDescription as='span'>{description}</FormDescription>{' '}\n <CustomButton\n className={`${className.replace('-description', '-button')}`}\n data-type='inline'\n onClick={onClick}\n >\n {label}\n </CustomButton>\n </span>\n );\n};\n\nexport type CurrencyConversionFieldProps = JSFField & {\n sourceCurrency: string;\n targetCurrency: string;\n mainFieldName?: string;\n conversionFieldName: string;\n conversionProperties?: {\n label?: string;\n description?: ReactNode;\n };\n useProxy?: boolean;\n classNamePrefix: string;\n conversionType?: 'spread' | 'no_spread';\n};\n\nexport const CurrencyConversionField = ({\n sourceCurrency,\n targetCurrency,\n mainFieldName,\n conversionFieldName,\n conversionProperties,\n classNamePrefix,\n description,\n conversionType = 'spread',\n ...props\n}: CurrencyConversionFieldProps) => {\n const [showConversion, setShowConversion] = useState(false);\n const { setValue, watch } = useFormContext();\n const fieldValue = watch(mainFieldName || props.name);\n const isFirstRender = useRef(true);\n\n const canShowConversion =\n sourceCurrency && targetCurrency && sourceCurrency !== targetCurrency;\n\n const { mutateAsync: convertCurrency } = useConvertCurrency({\n type: conversionType,\n });\n\n // we keep track of the last input the user used, so we can make sure\n // we keep consistent currency rates\n const lastInputFieldName = `${props.name}_converted`;\n useEffect(() => {\n setValue(lastInputFieldName, mainFieldName || props.name);\n }, [setValue, mainFieldName, props.name, lastInputFieldName]);\n\n useEffect(() => {\n if (isFirstRender.current) {\n isFirstRender.current = false;\n return;\n }\n\n // when source currency changes, reset the conversion field\n setValue(conversionFieldName, '');\n }, [sourceCurrency, conversionFieldName, setValue]);\n\n const convertCurrencyCallback = useCallback(\n async (amount: number | null, fromCurrency: string, toCurrency: string) => {\n if (!amount || isNaN(amount) || amount <= 0) return;\n\n return convertCurrency({\n source_currency: fromCurrency,\n target_currency: toCurrency,\n amount,\n });\n },\n [convertCurrency],\n );\n\n const debouncedConvertCurrency = useDebounce(async (value: string) => {\n // The SDK sets the employer billing currency in the salary field, but internally we don't do it like this, is set based on the employee billing currency\n // That's why we need to do 1 / exchange rate to get the correct amount, if currencies were different, it would be done in the debouncedConvertCurrencyReverse\n // THE BE always transforms from the target currency to the source currency\n const amountInCents = convertToCents(value);\n const conversion = await convertCurrencyCallback(\n amountInCents,\n targetCurrency,\n sourceCurrency,\n );\n\n const exchangeRate =\n 1 / (conversion?.data?.data.conversion_data?.exchange_rate ?? 1);\n\n const amount = round(Number(amountInCents) * exchangeRate);\n\n setValue(conversionFieldName, convertFromCents(amount));\n }, 500);\n\n const debouncedConvertCurrencyReverse = useDebounce(async (value: string) => {\n const amount = convertToCents(value);\n const conversion = await convertCurrencyCallback(\n amount,\n targetCurrency,\n sourceCurrency,\n );\n\n const conversionAmount =\n conversion?.data?.data.conversion_data.target_amount;\n\n setValue(mainFieldName || props.name, convertFromCents(conversionAmount));\n }, 500);\n\n const handleMainFieldChange = (evt: React.ChangeEvent<HTMLInputElement>) => {\n setValue(lastInputFieldName, mainFieldName || props.name);\n if (showConversion) {\n debouncedConvertCurrency(evt.target.value);\n }\n };\n\n const handleConversionFieldChange = (\n evt: React.ChangeEvent<HTMLInputElement>,\n ) => {\n setValue(lastInputFieldName, conversionFieldName);\n debouncedConvertCurrencyReverse(evt.target.value);\n };\n\n const toggleConversion = (evt: React.MouseEvent<HTMLButtonElement>) => {\n evt.preventDefault();\n setShowConversion((prev) => !prev);\n\n if (!showConversion && fieldValue) {\n debouncedConvertCurrency(fieldValue);\n }\n };\n\n const extraDescription = canShowConversion ? (\n <DescriptionWithConversion\n targetCurrency={targetCurrency}\n description={description}\n showConversion={showConversion}\n className={`${classNamePrefix}-description`}\n onClick={toggleConversion}\n />\n ) : (\n description\n );\n\n return (\n <>\n <TextField\n {...props}\n name={mainFieldName || props.name}\n additionalProps={{ currency: sourceCurrency }}\n description={extraDescription}\n type='text'\n inputMode='decimal'\n pattern='^[0-9.]*$'\n maxLength={15}\n onChange={handleMainFieldChange}\n />\n {showConversion && (\n <TextField\n additionalProps={{ currency: targetCurrency }}\n name={conversionFieldName}\n label={conversionProperties?.label || 'Conversion'}\n description={conversionProperties?.description}\n type='text'\n inputMode='decimal'\n pattern='^[0-9.]*$'\n maxLength={15}\n onChange={handleConversionFieldChange}\n />\n )}\n <input\n type='hidden'\n name={lastInputFieldName}\n value={watch(lastInputFieldName) || mainFieldName || props.name}\n />\n </>\n );\n};\n","import { useCallback, useEffect, useRef } from 'react';\nimport debounce from 'lodash/debounce';\n\nexport function useDebounce(\n callback: (value: string) => Promise<void>,\n delay: number,\n) {\n const callbackRef = useRef(callback);\n\n useEffect(() => {\n callbackRef.current = callback;\n }, [callback]);\n\n const debouncedFn = useRef(\n debounce((value: string) => {\n callbackRef.current(value);\n }, delay),\n ).current;\n\n return useCallback(\n (value: string) => {\n debouncedFn(value);\n },\n [debouncedFn],\n );\n}\n"],"mappings":"oRAAA,IAAAA,EAAAC,EAAA,CAAAC,GAAAC,IAAA,cAyBA,SAASC,GAASC,EAAO,CACvB,IAAIC,EAAO,OAAOD,EAClB,OAAOA,GAAS,OAASC,GAAQ,UAAYA,GAAQ,WACvD,CAHSC,EAAAH,GAAA,YAKTD,EAAO,QAAUC,KC9BjB,IAAAI,EAAAC,EAAA,CAAAC,GAAAC,IAAA,cACA,IAAIC,GAAa,OAAO,QAAU,UAAY,QAAU,OAAO,SAAW,QAAU,OAEpFD,EAAO,QAAUC,KCHjB,IAAAC,EAAAC,EAAA,CAAAC,GAAAC,IAAA,kBAAIC,GAAa,IAGbC,GAAW,OAAO,MAAQ,UAAY,MAAQ,KAAK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AAaA,GAAsB,YACnC,KAAK,OACL,UAAU,UACV,QAAQ,YACR,UAAW,GACX,SAAUkC,EACZ,EAEFpD,EAAC,SACC,KAAK,SACL,KAAMiC,EACN,MAAOR,EAAMQ,CAAkB,GAAKjB,GAAiBK,EAAM,KAC7D,GACF,CAEJ,EA1JuC","names":["require_isObject","__commonJSMin","exports","module","isObject","value","type","__name","require_freeGlobal","__commonJSMin","exports","module","freeGlobal","require_root","__commonJSMin","exports","module","freeGlobal","freeSelf","root","require_now","__commonJSMin","exports","module","root","now","__name","require_trimmedEndIndex","__commonJSMin","exports","module","reWhitespace","trimmedEndIndex","string","index","__name","require_baseTrim","__commonJSMin","exports","module","trimmedEndIndex","reTrimStart","baseTrim","string","__name","require_Symbol","__commonJSMin","exports","module","root","Symbol","require_getRawTag","__commonJSMin","exports","module","Symbol","objectProto","hasOwnProperty","nativeObjectToString","symToStringTag","getRawTag","value","isOwn","tag","unmasked","result","__name","require_objectToString","__commonJSMin","exports","module","objectProto","nativeObjectToString","objectToString","value","__name","require_baseGetTag","__commonJSMin","exports","module","Symbol","getRawTag","objectToString","nullTag","undefinedTag","symToStringTag","baseGetTag","value","__name","require_isObjectLike","__commonJSMin","exports","module","isObjectLike","value","__name","require_isSymbol","__commonJSMin","exports","module","baseGetTag","isObjectLike","symbolTag","isSymbol","value","__name","require_toNumber","__commonJSMin","exports","module","baseTrim","isObject","isSymbol","NAN","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","toNumber","value","other","isBinary","__name","require_debounce","__commonJSMin","exports","module","isObject","now","toNumber","FUNC_ERROR_TEXT","nativeMax","nativeMin","debounce","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","args","thisArg","__name","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","cancel","flush","debounced","isInvoking","useState","useCallback","useEffect","useRef","import_debounce","useCallback","useEffect","useRef","useDebounce","callback","delay","callbackRef","useRef","useEffect","debouncedFn","debounce","value","useCallback","__name","Fragment","jsx","jsxs","DescriptionWithConversion","__name","description","showConversion","targetCurrency","className","onClick","components","useFormFields","label","CustomButton","FormDescription","CurrencyConversionField","sourceCurrency","mainFieldName","conversionFieldName","conversionProperties","classNamePrefix","conversionType","props","setShowConversion","useState","setValue","watch","useFormContext","fieldValue","isFirstRender","useRef","canShowConversion","convertCurrency","useConvertCurrency","lastInputFieldName","useEffect","convertCurrencyCallback","useCallback","amount","fromCurrency","toCurrency","debouncedConvertCurrency","useDebounce","value","amountInCents","convertToCents","exchangeRate","round","convertFromCents","debouncedConvertCurrencyReverse","conversionAmount","handleMainFieldChange","evt","handleConversionFieldChange","toggleConversion","prev","extraDescription","TextField"]}
1
+ {"version":3,"sources":["../node_modules/lodash/isObject.js","../node_modules/lodash/_freeGlobal.js","../node_modules/lodash/_root.js","../node_modules/lodash/now.js","../node_modules/lodash/_trimmedEndIndex.js","../node_modules/lodash/_baseTrim.js","../node_modules/lodash/_Symbol.js","../node_modules/lodash/_getRawTag.js","../node_modules/lodash/_objectToString.js","../node_modules/lodash/_baseGetTag.js","../node_modules/lodash/isObjectLike.js","../node_modules/lodash/isSymbol.js","../node_modules/lodash/toNumber.js","../node_modules/lodash/debounce.js","../src/components/form/fields/CurrencyConversionField.tsx","../src/common/hooks.ts"],"sourcesContent":["/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","import { ReactNode, useState, useCallback, useEffect, useRef } from 'react';\nimport { useFormContext } from 'react-hook-form';\nimport { TextField } from '@/src/components/form/fields/TextField';\nimport { useConvertCurrency } from '@/src/flows/Onboarding/api';\nimport { JSFField } from '@/src/types/remoteFlows';\nimport { useFormFields } from '@/src/context';\nimport { useDebounce } from '@/src/common/hooks';\nimport { FormDescription } from '@/src/components/ui/form';\nimport {\n convertFromCents,\n convertToCents,\n round,\n} from '@/src/components/form/utils';\n\ntype DescriptionWithConversionProps = {\n description: ReactNode;\n showConversion: boolean;\n targetCurrency: string;\n className: string;\n onClick: (evt: React.MouseEvent<HTMLButtonElement>) => void;\n};\n\nconst DescriptionWithConversion = ({\n description,\n showConversion,\n targetCurrency,\n className,\n onClick,\n}: DescriptionWithConversionProps) => {\n const { components } = useFormFields();\n const label = showConversion\n ? `Hide ${targetCurrency} conversion`\n : `Show ${targetCurrency} conversion`;\n\n const CustomButton = components?.button;\n if (!CustomButton) {\n throw new Error(`Button component not found`);\n }\n\n return (\n <span className={className}>\n <FormDescription as='span'>{description}</FormDescription>{' '}\n <CustomButton\n className={`${className.replace('-description', '-button')}`}\n data-type='inline'\n onClick={onClick}\n >\n {label}\n </CustomButton>\n </span>\n );\n};\n\nexport type CurrencyConversionFieldProps = JSFField & {\n sourceCurrency: string;\n targetCurrency: string;\n mainFieldName?: string;\n conversionFieldName: string;\n conversionProperties?: {\n label?: string;\n description?: ReactNode;\n };\n useProxy?: boolean;\n classNamePrefix: string;\n conversionType?: 'spread' | 'no_spread';\n};\n\nexport const CurrencyConversionField = ({\n sourceCurrency,\n targetCurrency,\n mainFieldName,\n conversionFieldName,\n conversionProperties,\n classNamePrefix,\n description,\n conversionType = 'spread',\n ...props\n}: CurrencyConversionFieldProps) => {\n const [showConversion, setShowConversion] = useState(false);\n const { setValue, watch } = useFormContext();\n const fieldValue = watch(mainFieldName || props.name);\n const isFirstRender = useRef(true);\n\n const canShowConversion =\n sourceCurrency && targetCurrency && sourceCurrency !== targetCurrency;\n\n const { mutateAsync: convertCurrency } = useConvertCurrency({\n type: conversionType,\n });\n\n // we keep track of the last input the user used, so we can make sure\n // we keep consistent currency rates\n const lastInputFieldName = `${props.name}_converted`;\n useEffect(() => {\n setValue(lastInputFieldName, mainFieldName || props.name);\n }, [setValue, mainFieldName, props.name, lastInputFieldName]);\n\n useEffect(() => {\n if (isFirstRender.current) {\n isFirstRender.current = false;\n return;\n }\n\n // when source currency changes, reset the conversion field\n setValue(conversionFieldName, '');\n }, [sourceCurrency, conversionFieldName, setValue]);\n\n const convertCurrencyCallback = useCallback(\n async (amount: number | null, fromCurrency: string, toCurrency: string) => {\n if (!amount || isNaN(amount) || amount <= 0) return;\n\n return convertCurrency({\n source_currency: fromCurrency,\n target_currency: toCurrency,\n amount,\n });\n },\n [convertCurrency],\n );\n\n const debouncedConvertCurrency = useDebounce(async (value: string) => {\n // The SDK sets the employer billing currency in the salary field, but internally we don't do it like this, is set based on the employee billing currency\n // That's why we need to do 1 / exchange rate to get the correct amount, if currencies were different, it would be done in the debouncedConvertCurrencyReverse\n // THE BE always transforms from the target currency to the source currency\n const amountInCents = convertToCents(value);\n const conversion = await convertCurrencyCallback(\n amountInCents,\n targetCurrency,\n sourceCurrency,\n );\n\n const exchangeRate =\n 1 / (conversion?.data?.data.conversion_data?.exchange_rate ?? 1);\n\n const amount = round(Number(amountInCents) * exchangeRate);\n\n setValue(conversionFieldName, convertFromCents(amount));\n }, 500);\n\n const debouncedConvertCurrencyReverse = useDebounce(async (value: string) => {\n const amount = convertToCents(value);\n const conversion = await convertCurrencyCallback(\n amount,\n targetCurrency,\n sourceCurrency,\n );\n\n const conversionAmount =\n conversion?.data?.data.conversion_data.target_amount;\n\n setValue(mainFieldName || props.name, convertFromCents(conversionAmount));\n }, 500);\n\n const handleMainFieldChange = (evt: React.ChangeEvent<HTMLInputElement>) => {\n setValue(lastInputFieldName, mainFieldName || props.name);\n if (showConversion) {\n debouncedConvertCurrency(evt.target.value);\n }\n };\n\n const handleConversionFieldChange = (\n evt: React.ChangeEvent<HTMLInputElement>,\n ) => {\n setValue(lastInputFieldName, conversionFieldName);\n debouncedConvertCurrencyReverse(evt.target.value);\n };\n\n const toggleConversion = (evt: React.MouseEvent<HTMLButtonElement>) => {\n evt.preventDefault();\n setShowConversion((prev) => !prev);\n\n if (!showConversion && fieldValue) {\n debouncedConvertCurrency(fieldValue);\n }\n };\n\n const extraDescription = canShowConversion ? (\n <DescriptionWithConversion\n targetCurrency={targetCurrency}\n description={description}\n showConversion={showConversion}\n className={`${classNamePrefix}-description`}\n onClick={toggleConversion}\n />\n ) : (\n description\n );\n\n return (\n <>\n <TextField\n {...props}\n name={mainFieldName || props.name}\n additionalProps={{ currency: sourceCurrency }}\n description={extraDescription}\n type='text'\n inputMode='decimal'\n pattern='^[0-9.]*$'\n maxLength={15}\n onChange={handleMainFieldChange}\n />\n {showConversion && (\n <TextField\n additionalProps={{ currency: targetCurrency }}\n name={conversionFieldName}\n label={conversionProperties?.label || 'Conversion'}\n description={conversionProperties?.description}\n type='text'\n inputMode='decimal'\n pattern='^[0-9.]*$'\n maxLength={15}\n onChange={handleConversionFieldChange}\n />\n )}\n <input\n type='hidden'\n name={lastInputFieldName}\n value={watch(lastInputFieldName) || mainFieldName || props.name}\n />\n </>\n );\n};\n","import { useCallback, useEffect, useRef } from 'react';\nimport debounce from 'lodash/debounce';\n\nexport function useDebounce(\n callback: (value: string) => Promise<void>,\n delay: number,\n) {\n const callbackRef = useRef(callback);\n\n useEffect(() => {\n callbackRef.current = callback;\n }, [callback]);\n\n const debouncedFn = useRef(\n // WE NEED TO FIX: react-hooks/refs - Passing a ref to a function may read its value during render\n // eslint-disable-next-line react-hooks/refs\n debounce((value: string) => {\n callbackRef.current(value);\n }, delay),\n ).current;\n\n return useCallback(\n (value: string) => {\n debouncedFn(value);\n },\n [debouncedFn],\n );\n}\n"],"mappings":"oRAAA,IAAAA,EAAAC,EAAA,CAAAC,GAAAC,IAAA,cAyBA,SAASC,GAASC,EAAO,CACvB,IAAIC,EAAO,OAAOD,EAClB,OAAOA,GAAS,OAASC,GAAQ,UAAYA,GAAQ,WACvD,CAHSC,EAAAH,GAAA,YAKTD,EAAO,QAAUC,KC9BjB,IAAAI,EAAAC,EAAA,CAA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iB,CAAE,SAAUN,CAAe,EAC5C,YAAawC,EACb,KAAK,OACL,UAAU,UACV,QAAQ,YACR,UAAW,GACX,SAAUL,EACZ,EACC7C,GACCL,EAACwD,EAAA,CACC,gBAAiB,CAAE,SAAUlD,CAAe,EAC5C,KAAMW,EACN,MAAOC,GAAsB,OAAS,aACtC,YAAaA,GAAsB,YACnC,KAAK,OACL,UAAU,UACV,QAAQ,YACR,UAAW,GACX,SAAUkC,EACZ,EAEFpD,EAAC,SACC,KAAK,SACL,KAAMiC,EACN,MAAOR,EAAMQ,CAAkB,GAAKjB,GAAiBK,EAAM,KAC7D,GACF,CAEJ,EA1JuC","names":["require_isObject","__commonJSMin","exports","module","isObject","value","type","__name","require_freeGlobal","__commonJSMin","exports","module","freeGlobal","require_root","__commonJSMin","exports","module","freeGlobal","freeSelf","root","require_now","__commonJSMin","exports","module","root","now","__name","require_trimmedEndIndex","__commonJSMin","exports","module","reWhitespace","trimmedEndIndex","string","index","__name","require_baseTrim","__commonJSMin","exports","module","trimmedEndIndex","reTrimStart","baseTrim","string","__name","require_Symbol","__commonJSMin","exports","module","root","Symbol","require_getRawTag","__commonJSMin","exports","module","Symbol","objectProto","hasOwnProperty","nativeObjectToString","symToStringTag","getRawTag","value","isOwn","tag","unmasked","result","__name","require_objectToString","__commonJSMin","exports","module","objectProto","nativeObjectToString","objectToString","value","__name","require_baseGetTag","__commonJSMin","exports","module","Symbol","getRawTag","objectToString","nullTag","undefinedTag","symToStringTag","baseGetTag","value","__name","require_isObjectLike","__commonJSMin","exports","module","isObjectLike","value","__name","require_isSymbol","__commonJSMin","exports","module","baseGetTag","isObjectLike","symbolTag","isSymbol","value","__name","require_toNumber","__commonJSMin","exports","module","baseTrim","isObject","isSymbol","NAN","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","toNumber","value","other","isBinary","__name","require_debounce","__commonJSMin","exports","module","isObject","now","toNumber","FUNC_ERROR_TEXT","nativeMax","nativeMin","debounce","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","args","thisArg","__name","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","cancel","flush","debounced","isInvoking","useState","useCallback","useEffect","useRef","import_debounce","useCallback","useEffect","useRef","useDebounce","callback","delay","callbackRef","useRef","useEffect","debouncedFn","debounce","value","useCallback","__name","Fragment","jsx","jsxs","DescriptionWithConversion","__name","description","showConversion","targetCurrency","className","onClick","components","useFormFields","label","CustomButton","FormDescription","CurrencyConversionField","sourceCurrency","mainFieldName","conversionFieldName","conversionProperties","classNamePrefix","conversionType","props","setShowConversion","useState","setValue","watch","useFormContext","fieldValue","isFirstRender","useRef","canShowConversion","convertCurrency","useConvertCurrency","lastInputFieldName","useEffect","convertCurrencyCallback","useCallback","amount","fromCurrency","toCurrency","debouncedConvertCurrency","useDebounce","value","amountInCents","convertToCents","exchangeRate","round","convertFromCents","debouncedConvertCurrencyReverse","conversionAmount","handleMainFieldChange","evt","handleConversionFieldChange","toggleConversion","prev","extraDescription","TextField"]}
@@ -1,2 +1,2 @@
1
- import{a as t,b as n,c as l,d as i,e as s,f as d}from"./chunk-56UXOD27.js";import{a}from"./chunk-P37U34EQ.js";import{jsx as e,jsxs as r}from"react/jsx-runtime";function h({open:w,onClose:D,data:o,isLoading:m,error:p,zendeskURL:f,Trigger:c}){return r(t,{open:w,onOpenChange:g=>!g&&D(),direction:"right",children:[e(n,{asChild:!0,children:c}),e(l,{className:"h-full w-[540px] mt-0 ml-auto RemoteFlows_ZendeskDrawer",children:r("div",{className:"h-full flex flex-col",children:[r(i,{children:[e(s,{children:o?.title}),r(d,{children:["For more details see our"," ",e("a",{href:f,target:"_blank",rel:"noopener noreferrer",children:"help article"})," "]})]}),m&&e("div",{children:"Loading..."}),p&&e("div",{className:"text-sm p-4 text-red-500",children:"Error loading article"}),e("div",{className:"flex-1 overflow-y-auto p-4 RemoteFlows_ZendeskDrawer__Content",dangerouslySetInnerHTML:{__html:o?.body||""}})]})})]})}a(h,"ZendeskDrawerDefault");export{h as a};
2
- //# sourceMappingURL=chunk-BAMGHBLT.js.map
1
+ import{a as t,b as n,c as l,d as i,e as s,f as d}from"./chunk-7N2A2ZJ5.js";import{a}from"./chunk-P37U34EQ.js";import{jsx as e,jsxs as r}from"react/jsx-runtime";function h({open:w,onClose:D,data:o,isLoading:m,error:p,zendeskURL:f,Trigger:c}){return r(t,{open:w,onOpenChange:g=>!g&&D(),direction:"right",children:[e(n,{asChild:!0,children:c}),e(l,{className:"h-full w-[540px] mt-0 ml-auto RemoteFlows_ZendeskDrawer",children:r("div",{className:"h-full flex flex-col",children:[r(i,{children:[e(s,{children:o?.title}),r(d,{children:["For more details see our"," ",e("a",{href:f,target:"_blank",rel:"noopener noreferrer",children:"help article"})," "]})]}),m&&e("div",{children:"Loading..."}),p&&e("div",{className:"text-sm p-4 text-red-500",children:"Error loading article"}),e("div",{className:"flex-1 overflow-y-auto p-4 RemoteFlows_ZendeskDrawer__Content",dangerouslySetInnerHTML:{__html:o?.body||""}})]})})]})}a(h,"ZendeskDrawerDefault");export{h as a};
2
+ //# sourceMappingURL=chunk-VSXPCSKU.js.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-VIGKOVHP.js";import{a as n}from"./chunk-P37U34EQ.js";import{Fragment as s,jsx as o,jsxs as t}from"react/jsx-runtime";var a=[{label:"Misconduct",description:"The employee is being dismissed due to unacceptable or improper behavior."},{label:"Performance",description:"When dismissing an employee for poor performance, employers are required by law to do so fairly. This means giving the employee reasonable opportunity to improve their performance prior to termination."},{label:"Workforce reduction",description:"The employee\u2019s position is being made redundant, and a layoff is underway."},{label:"Values",description:"The employee is misaligned with the company\u2019s values."},{label:"Compliance issue",description:"Use this option if the employee violated key policies, processes or procedures. For example, they failed to comply with their employment agreement\u2019s confidentiality clause."},{label:"Incapacity to perform inherent duties",description:"Use this option if the employee is physically or mentally unable to fulfill the work requirements of their role."},{label:"Mutual agreement",description:"Employee and employer made a mutual decision to end the relationship."},{label:"Decision to cancel hiring before the employee started",description:"Use this option only if the employee has not started work yet."},{label:"Job abandonment",description:"The employee has failed to appear for work; the Employer has been unsuccessful in establishing communications with the employee and does not know the employee\u2019s whereabouts."},{label:"Dissatisfaction with EOR service",description:t("span",{children:["We\u2019re sorry to see you go. If there is anything we can do to improve or if there is any remaining feedback you want to give us, please reach out to"," ",o("a",{href:"mailto:help@remote.com",target:"_blank",rel:"noopener noreferrer",children:"help@remote.com"}),"."]})},{label:"End of fixed-term contract",description:"Use this option when the employee fixed-term contract is coming to an end and will not be renewed or extended."}],r=n(()=>t(s,{children:[t("h3",{className:e("RemoteFlows__TerminationReasonsDetailContent__Title"),children:[" ","Why is this important?"]}),o("p",{className:e("RemoteFlows__TerminationReasonsDetailContent__Description"),children:"We're here to help you follow all applicable labor laws when terminating an employee. Here are all the legal reasons for termination. Please read them to make sure you enter the correct reason in the platform."}),o("h4",{className:e("RemoteFlows__TerminationReasonsDetailContent__Subtitle"),children:"Termination Reasons"}),o("ul",{className:e("RemoteFlows__TerminationReasonsDetailContent__List list-disc list-inside"),children:a.map(i=>t("li",{className:e("RemoteFlows__TerminationReasonsDetailContent__ListItem"),children:[o("span",{className:e("RemoteFlows__TerminationReasonsDetailContent__ListItemLabel"),children:i.label}),o("span",{className:e("RemoteFlows__TerminationReasonsDetailContent__ListItemDescription"),children:i.description})]},i.label))})]}),"TerminationReasonsDetailContent");export{r as a};
2
- //# sourceMappingURL=chunk-UMVA4SIV.js.map
1
+ import{c as e}from"./chunk-OSQ6VUDM.js";import{a as n}from"./chunk-P37U34EQ.js";import{Fragment as s,jsx as o,jsxs as t}from"react/jsx-runtime";var a=[{label:"Misconduct",description:"The employee is being dismissed due to unacceptable or improper behavior."},{label:"Performance",description:"When dismissing an employee for poor performance, employers are required by law to do so fairly. This means giving the employee reasonable opportunity to improve their performance prior to termination."},{label:"Workforce reduction",description:"The employee\u2019s position is being made redundant, and a layoff is underway."},{label:"Values",description:"The employee is misaligned with the company\u2019s values."},{label:"Compliance issue",description:"Use this option if the employee violated key policies, processes or procedures. For example, they failed to comply with their employment agreement\u2019s confidentiality clause."},{label:"Incapacity to perform inherent duties",description:"Use this option if the employee is physically or mentally unable to fulfill the work requirements of their role."},{label:"Mutual agreement",description:"Employee and employer made a mutual decision to end the relationship."},{label:"Decision to cancel hiring before the employee started",description:"Use this option only if the employee has not started work yet."},{label:"Job abandonment",description:"The employee has failed to appear for work; the Employer has been unsuccessful in establishing communications with the employee and does not know the employee\u2019s whereabouts."},{label:"Dissatisfaction with EOR service",description:t("span",{children:["We\u2019re sorry to see you go. If there is anything we can do to improve or if there is any remaining feedback you want to give us, please reach out to"," ",o("a",{href:"mailto:help@remote.com",target:"_blank",rel:"noopener noreferrer",children:"help@remote.com"}),"."]})},{label:"End of fixed-term contract",description:"Use this option when the employee fixed-term contract is coming to an end and will not be renewed or extended."}],r=n(()=>t(s,{children:[t("h3",{className:e("RemoteFlows__TerminationReasonsDetailContent__Title"),children:[" ","Why is this important?"]}),o("p",{className:e("RemoteFlows__TerminationReasonsDetailContent__Description"),children:"We're here to help you follow all applicable labor laws when terminating an employee. Here are all the legal reasons for termination. Please read them to make sure you enter the correct reason in the platform."}),o("h4",{className:e("RemoteFlows__TerminationReasonsDetailContent__Subtitle"),children:"Termination Reasons"}),o("ul",{className:e("RemoteFlows__TerminationReasonsDetailContent__List list-disc list-inside"),children:a.map(i=>t("li",{className:e("RemoteFlows__TerminationReasonsDetailContent__ListItem"),children:[o("span",{className:e("RemoteFlows__TerminationReasonsDetailContent__ListItemLabel"),children:i.label}),o("span",{className:e("RemoteFlows__TerminationReasonsDetailContent__ListItemDescription"),children:i.description})]},i.label))})]}),"TerminationReasonsDetailContent");export{r as a};
2
+ //# sourceMappingURL=chunk-W2ZXKNL4.js.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-VIGKOVHP.js";import{a as t}from"./chunk-P37U34EQ.js";import{cva as a}from"class-variance-authority";import{jsx as u}from"react/jsx-runtime";var i=a("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none aria-invalid:ring-destructive/20 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90 RemoteFlows_ButtonDefault",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 RemoteFlows_ButtonDestructive",outline:"border border-input bg-background shadow-xs RemoteFlows_ButtonOutline",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80 RemoteFlows_ButtonSecondary",ghost:"hover:bg-accent hover:text-accent-foreground RemoteFlows_ButtonGhost",link:"text-link-button-primary underline-offset-4 hover:underline button-link RemoteFlows_ButtonLink"},size:{default:"h-9 px-4 py-7 has-[>svg]:px-3 RemoteFlows_ButtonDefault",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5 RemoteFlows_ButtonSm",lg:"h-10 rounded-md px-6 has-[>svg]:px-4 RemoteFlows_ButtonLg",icon:"size-9 RemoteFlows_ButtonIcon",link:"px-0 RemoteFlows_ButtonLink"}},defaultVariants:{variant:"default",size:"default"}});function m({className:o,variant:n,size:r,...s}){return u("button",{"data-slot":"button",className:e(i({variant:n,size:r,className:o}),"RemoteFlows__Button"),...s})}t(m,"Button");export{i as a,m as b};
2
- //# sourceMappingURL=chunk-MP3VDCI7.js.map
1
+ import{c as e}from"./chunk-OSQ6VUDM.js";import{a as t}from"./chunk-P37U34EQ.js";import{cva as a}from"class-variance-authority";import{jsx as u}from"react/jsx-runtime";var i=a("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none aria-invalid:ring-destructive/20 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90 RemoteFlows_ButtonDefault",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 RemoteFlows_ButtonDestructive",outline:"border border-input bg-background shadow-xs RemoteFlows_ButtonOutline",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80 RemoteFlows_ButtonSecondary",ghost:"hover:bg-accent hover:text-accent-foreground RemoteFlows_ButtonGhost",link:"text-link-button-primary underline-offset-4 hover:underline button-link RemoteFlows_ButtonLink"},size:{default:"h-9 px-4 py-7 has-[>svg]:px-3 RemoteFlows_ButtonDefault",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5 RemoteFlows_ButtonSm",lg:"h-10 rounded-md px-6 has-[>svg]:px-4 RemoteFlows_ButtonLg",icon:"size-9 RemoteFlows_ButtonIcon",link:"px-0 RemoteFlows_ButtonLink"}},defaultVariants:{variant:"default",size:"default"}});function m({className:o,variant:n,size:r,...s}){return u("button",{"data-slot":"button",className:e(i({variant:n,size:r,className:o}),"RemoteFlows__Button"),...s})}t(m,"Button");export{i as a,m as b};
2
+ //# sourceMappingURL=chunk-XADVV6OP.js.map
@@ -1,2 +1,2 @@
1
- import{a as m}from"./chunk-7ZFZYZSP.js";import{a as r}from"./chunk-HNCOYMS5.js";import{a}from"./chunk-U6LRMWRI.js";import{a as c}from"./chunk-PZAYG2DF.js";import{a as e}from"./chunk-D5AR26AI.js";import{a as o}from"./chunk-TVZAFTPT.js";import{a as n}from"./chunk-P37U34EQ.js";import{useId as f}from"react";import{jsx as s}from"react/jsx-runtime";function k({employmentId:d,countryCode:C,options:p,render:A}){let t=c({employmentId:d,countryCode:C,options:p}),i=f();return s(o.Provider,{value:{formId:i,contractAmendmentBag:t},children:A({contractAmendmentBag:t,components:{Form:r,SubmitButton:a,ConfirmationForm:m,BackButton:e}})})}n(k,"ContractAmendmentFlow");export{k as a};
2
- //# sourceMappingURL=chunk-R3BBN7TV.js.map
1
+ import{a as m}from"./chunk-VDVWAYXP.js";import{a as r}from"./chunk-O6H23YQW.js";import{a}from"./chunk-U6LRMWRI.js";import{a as c}from"./chunk-K56VMRZ5.js";import{a as e}from"./chunk-D5AR26AI.js";import{a as o}from"./chunk-TVZAFTPT.js";import{a as n}from"./chunk-P37U34EQ.js";import{useId as f}from"react";import{jsx as s}from"react/jsx-runtime";function k({employmentId:d,countryCode:C,options:p,render:A}){let t=c({employmentId:d,countryCode:C,options:p}),i=f();return s(o.Provider,{value:{formId:i,contractAmendmentBag:t},children:A({contractAmendmentBag:t,components:{Form:r,SubmitButton:a,ConfirmationForm:m,BackButton:e}})})}n(k,"ContractAmendmentFlow");export{k as a};
2
+ //# sourceMappingURL=chunk-XHZHFM2J.js.map
@@ -1,2 +1,2 @@
1
- import{a as f}from"./chunk-C4MRFGQG.js";import{a as u,b as R}from"./chunk-SNBAM7SA.js";import{j as a,k as c,l,m,n as _}from"./chunk-CWAFRJAQ.js";import{a as F}from"./chunk-VIGKOVHP.js";import{a as p}from"./chunk-P37U34EQ.js";import{Fragment as g}from"react";import{jsx as e,jsxs as t}from"react/jsx-runtime";var w=p(({field:s,fieldData:i,fieldState:C})=>{let{name:r,label:d,description:n,options:b}=i;return e("fieldset",{className:F("space-y-3",`RemoteFlows__RadioGroupField__Item__${r}`),"data-field":r,children:t(a,{children:[e("legend",{children:d}),n&&e(m,{helpCenter:e(f,{helpCenter:i.meta?.helpCenter}),children:n}),e(l,{children:e(u,{"aria-label":d||r,onValueChange:o=>{s.onChange(o)},value:s.value,className:"flex flex-col space-y-3",children:b?.map(o=>e(g,{children:t(a,{"data-field":r,className:"flex items-start space-x-3 space-y-0 gap-0 RemoteFlows__RadioField__Item",children:[e(l,{children:e(R,{value:o.value,className:"RemoteFlows__RadioField__Input",disabled:o.disabled})}),t("div",{children:[e(c,{className:"font-normal mb-0 RemoteFlows__RadioField__Label",children:o.label}),o.description&&e(m,{className:"mt-2",children:o.description})]})]})},o.value))})}),C.error&&e(_,{})]})})},"RadioGroupFieldDefault");export{w as a};
2
- //# sourceMappingURL=chunk-W6OOI5NF.js.map
1
+ import{a as f}from"./chunk-3VWXALRD.js";import{a as u,b as R}from"./chunk-DYNVJFJH.js";import{j as a,k as c,l,m,n as _}from"./chunk-72RFYT5Y.js";import{c as F}from"./chunk-OSQ6VUDM.js";import{a as p}from"./chunk-P37U34EQ.js";import{Fragment as g}from"react";import{jsx as e,jsxs as t}from"react/jsx-runtime";var w=p(({field:s,fieldData:i,fieldState:C})=>{let{name:r,label:d,description:n,options:b}=i;return e("fieldset",{className:F("space-y-3",`RemoteFlows__RadioGroupField__Item__${r}`),"data-field":r,children:t(a,{children:[e("legend",{children:d}),n&&e(m,{helpCenter:e(f,{helpCenter:i.meta?.helpCenter}),children:n}),e(l,{children:e(u,{"aria-label":d||r,onValueChange:o=>{s.onChange(o)},value:s.value,className:"flex flex-col space-y-3",children:b?.map(o=>e(g,{children:t(a,{"data-field":r,className:"flex items-start space-x-3 space-y-0 gap-0 RemoteFlows__RadioField__Item",children:[e(l,{children:e(R,{value:o.value,className:"RemoteFlows__RadioField__Input",disabled:o.disabled})}),t("div",{children:[e(c,{className:"font-normal mb-0 RemoteFlows__RadioField__Label",children:o.label}),o.description&&e(m,{className:"mt-2",children:o.description})]})]})},o.value))})}),C.error&&e(_,{})]})})},"RadioGroupFieldDefault");export{w as a};
2
+ //# sourceMappingURL=chunk-XUT44QU6.js.map
@@ -1,2 +1,2 @@
1
- import{a as R,b as x,c as N,d as A}from"./chunk-AYC6DTFV.js";import{a as C}from"./chunk-H5QXOIKS.js";import{b as B}from"./chunk-MP3VDCI7.js";import{a as w,b as f}from"./chunk-G5O2CM6V.js";import{a as i,b as t,e as F}from"./chunk-VIGKOVHP.js";import{a as m}from"./chunk-P37U34EQ.js";import{MoreHorizontal as P}from"lucide-react";import{useState as U}from"react";import{Fragment as $,jsx as g,jsxs as T}from"react/jsx-runtime";function E({actions:e=[],className:n,label:a,"data-testid":l}){let[_,d]=U(!1);return T("div",{className:i("relative",n),children:[g(B,{"data-testid":l,variant:"ghost","aria-label":a,className:"h-8 w-8 p-0",onClick:()=>d(!_),children:g(P,{className:"h-4 w-4"})}),_&&T($,{children:[g("div",{className:"fixed inset-0 z-40",onClick:()=>d(!1)}),g("div",{className:"absolute right-0 top-1/2 mt-1 bg-white border border-gray-200 rounded-md shadow-lg z-50 min-w-[120px]",children:e.map((c,u)=>g("button",{"data-testid":`${l}-${c.label.toLowerCase().replace(" ","-")}`,className:i("w-full text-left px-2 py-1.5 text-sm hover:bg-gray-100",c.disabled&&"opacity-50 cursor-not-allowed"),onClick:()=>{c.onClick(),d(!1)},disabled:c.disabled,children:c.label},u))})]})]})}m(E,"ActionsDropdown");import{ChevronDown as O,Info as Z}from"lucide-react";import K from"react-flagpack";import{useState as z}from"react";import{jsx as j,jsxs as L}from"react/jsx-runtime";var I=m(({children:e,content:n})=>L("div",{className:"relative inline-block group",children:[e,L("div",{className:"absolute bottom-full right-0 mb-2 px-3 py-2 bg-gray-900 text-white text-xs rounded-md opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-200 z-50 w-64 whitespace-normal break-words",children:[n,j("div",{className:"absolute top-full right-3 border-4 border-transparent border-t-gray-900"})]})]}),"BasicTooltip");import{Fragment as b,jsx as o,jsxs as r}from"react/jsx-runtime";var V={GB:"GB-UKM"},Y=m(({title:e,country:n,region:a,annualGrossSalary:l,onDelete:_,onExportPdf:d,onEdit:c})=>{let u=[{label:"Edit",onClick:c},{label:"Export",onClick:d},{label:"Delete",onClick:_}];return r("div",{className:"RemoteFlows__EstimationResults__Header flex justify-between",children:[r("div",{className:"flex flex-row items-center gap-6",children:[o("div",{className:"RemoteFlows__EstimationResultsHeader__FlagContainer flex h-16 w-16 items-center justify-center rounded-lg bg-[#F4F4F5]",children:o(K,{code:V[n.alpha_2_code]||n.alpha_2_code})}),r("div",{className:"space-y-1",children:[o("h2",{"data-testid":"estimation-results-header-title",className:"RemoteFlows__EstimationResultsHeader__Title text-lg font-medium leading-none text-[#181818]",children:e}),r("p",{className:"RemoteFlows__EstimationResultsHeader__Country text-xs text-[#71717A]",children:[n.name," ",a?` (${a.name})`:""]}),r("p",{"data-testid":"estimation-results-header-annual-gross-salary",className:"RemoteFlows__EstimationResultsHeader__AnnualGrossSalary text-xs text-[#71717A]",children:[o("span",{className:"text-[#181818]",children:"Employee annual gross salary:"})," ",l]})]})]}),o(E,{label:"Actions",className:"RemoteFlows__EstimationResults__ActionsDropdown",actions:u})]})},"EstimationResultsHeader"),q=m(()=>({steps:[{id:"add-employment-details",title:"Add employment details",description:"You add employee employments details."},{id:"invite-employee",title:"Invite employee",description:"Hire receives an email invitation from Remote to start the self-enrollment process."},{id:"verify-information",title:"Verify information",description:"Remote prepares the Employment Agreement and verifies all the information."},{id:"sign-contract",title:"Sign contract",description:"All parties sign the Employment Agreement and are ready to start. \u{1F389}"}],helpText:"For customers who accept Remote's Terms of Service (ToS), the employee onboarding timeline starts once the employee has been invited to the platform and completed self enrollment.",zendeskArticleId:w.employeeOnboardingTimeline}),"getOnboardingTimelineData");function J({minimumOnboardingDays:e,data:n,className:a}){return o(R,{collapsible:!0,className:i("RemoteFlows__EstimationResults__OnboardingTimeline w-full",a),children:r(x,{value:"timeline",className:"RemoteFlows__OnboardingTimeline__AccordionItem border-border",children:[o(N,{className:"RemoteFlows__OnboardingTimeline__AccordionTrigger hover:no-underline px-0 py-4",children:r("div",{className:"flex items-center justify-between w-full",children:[o("span",{className:"RemoteFlows__OnboardingTimeline__Title text-base font-medium text-[#0F172A]",children:"Onboarding timeline"}),e!=null&&r("span",{className:"RemoteFlows__OnboardingTimeline__Description text-base text-muted-foreground mr-4",children:[e," days"]})]})}),r(A,{className:"px-0 pb-4",children:[o("ul",{className:"RemoteFlows__OnboardingTimeline__List list-disc list-inside space-y-2",children:n.steps.map(l=>r("li",{children:[o("strong",{className:"font-medium text-[#09090B]",children:l.title})," ","- ",l.description]},l.id))}),r("p",{className:"RemoteFlows__OnboardingTimeline__HelpText text-xs text-muted-foreground mt-4",children:[n.helpText,n.zendeskArticleId&&o(f,{zendeskId:n.zendeskArticleId,children:"Learn more"})]})]})]})})}m(J,"OnboardingTimeline");function Q({className:e,countryBenefitsUrl:n,countryGuideUrl:a,country:l}){return o(R,{collapsible:!0,className:i("RemoteFlows__EstimationResults__HiringSection w-full",e),children:r(x,{value:"timeline",className:"RemoteFlows__HiringSection__AccordionItem border-border",children:[o(N,{className:"RemoteFlows__HiringSection__AccordionTrigger hover:no-underline px-0 py-4",children:o("div",{className:"flex items-center justify-between w-full",children:r("span",{className:"text-base font-medium text-[#0F172A]",children:["Hiring in ",l.name]})})}),o(A,{children:r("div",{className:"flex flex-col gap-1",children:[a&&o("a",{href:a,target:"_blank",className:"RemoteFlows__Link",children:"Explore our complete guide \u2197"}),n&&o("a",{href:n,target:"_blank",className:"RemoteFlows__Link",children:"Explore our available benefits \u2197"})]})})]})})}m(Q,"HiringSection");function W({isMultipleCurrency:e,className:n}){return r("div",{className:i("RemoteFlows__EstimationResults__Headers grid grid-cols-3 items-center",n),children:[o("span",{"aria-hidden":!0}),e?r(b,{children:[o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Employee currency"}),o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Employer currency"})]}):r(b,{children:[o("span",{}),o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Amount"})]})]})}m(W,"EstimationHeaders");function S({label:e,amounts:n,className:a,children:l}){let[_,d]=z(!0);return r("div",{className:i("RemoteFlows__EstimationResults__Row",a),children:[r("div",{className:"RemoteFlows__EstimationRow__Grid grid grid-cols-3 items-center",children:[r("div",{className:"RemoteFlows__EstimationRow__LabelContainer flex items-center gap-2",children:[o("span",{className:i("RemoteFlows__EstimationRow__Title min-w-[140px] font-medium text-[#09090B]"),children:e}),o("button",{onClick:()=>d(!_),className:"RemoteFlows__EstimationRow__CollapseButton p-1 hover:bg-gray-100 rounded",children:o(O,{className:`h-4 w-4 text-muted-foreground transition-transform ${_?"rotate-180":""}`})})]}),Array.isArray(n)?n.map((c,u)=>o("span",{className:i("RemoteFlows__EstimationRow__RegionalAmount text-right font-medium text-[#09090B]"),children:c},u)):r(b,{children:[o("span",{}),o("span",{className:i("RemoteFlows__EstimationRow__EmployerAmount text-right font-medium text-[#09090B]"),children:n})]})]}),_&&l&&o("div",{className:"RemoteFlows__EstimationRow__CollapsibleContent mt-4",children:l})]})}m(S,"EstimationRow");function X({item:e,isMultipleCurrency:n,level:a=0}){let[l,_]=z(!1),d=e.children&&e.children.length>0,c=a>0,u=e.isCollapsible||d;return r("li",{className:i("RemoteFlows__BreakdownList__Item pb-3",c&&"pb-1"),children:[r("div",{className:i(n?"RemoteFlows__BreakdownList__Grid grid grid-cols-3 items-center justify-between":"RemoteFlows__BreakdownList__Grid grid grid-cols-2 items-center justify-between"),children:[r("div",{className:i("RemoteFlows__BreakdownList__LabelContainer flex items-center gap-2",c&&"pl-3"),children:[!c&&o("span",{className:"RemoteFlows__BreakdownList__Bullet w-1 h-1 bg-[#09090B] rounded-full flex-shrink-0","aria-hidden":"true"}),u?r("button",{onClick:()=>_(!l),className:"RemoteFlows__BreakdownList__CollapseButton flex items-center gap-2 hover:bg-gray-100 rounded p-1",children:[o("span",{className:i(c?"RemoteFlows__BreakdownList__Text--Nested text-xs text-[#71717A]":"RemoteFlows__BreakdownList__Text--NotNested text-sm text-[#09090B]"),children:e.label}),o(O,{className:`RemoteFlows__BreakdownList__ChevronDown h-3 w-3 text-muted-foreground transition-transform ${l?"rotate-180":""}`})]}):o("span",{className:i(c?"RemoteFlows__BreakdownList__Text--Nested text-xs text-[#71717A]":"RemoteFlows__BreakdownList__Text--NotNested text-sm text-[#09090B] p-1"),children:e.label}),e.tooltip&&o(I,{content:r(b,{children:[o("span",{dangerouslySetInnerHTML:{__html:F(e.tooltip)}})," ",e.zendeskId&&o(f,{zendeskId:Number(e.zendeskId),children:"Learn more"})]}),children:o("button",{className:"RemoteFlows__BreakdownList__InfoButton p-1 hover:bg-gray-100 rounded",children:o(Z,{className:i("RemoteFlows__BreakdownList__InfoButton__Icon text-muted-foreground",c?"h-3 w-3":"h-4 w-4")})})})]}),n?r(b,{children:[o("span",{"data-testid":e.dataSelector&&e.dataSelector+"-employee-amount",className:i("RemoteFlows__BreakdownList__RegionalAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__RegionalAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__RegionalAmountText--NotNested text-[#09090B]"),children:e.regionalAmount||"\u2014"}),o("span",{"data-testid":e.dataSelector&&e.dataSelector+"-employer-amount",className:i("RemoteFlows__BreakdownList__EmployerAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__EmployerAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__EmployerAmountText--NotNested text-[#09090B]"),children:e.employerAmount||"\u2014"})]}):o("span",{"data-testid":e.dataSelector,className:i("RemoteFlows__BreakdownList__RegionalAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__RegionalAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__RegionalAmountText--NotNested text-[#09090B]"),children:e.regionalAmount||"\u2014"})]}),d&&l&&o("div",{className:"mt-1",children:o(h,{items:e.children,isMultipleCurrency:n,level:a+1})})]})}m(X,"BreakdownListItem");function h({items:e,isMultipleCurrency:n,className:a,level:l}){return o("ul",{className:i("RemoteFlows__BreakdownList list-none",a),children:e.map((_,d)=>o(X,{item:_,isMultipleCurrency:n,level:l},d))})}m(h,"BreakdownList");var Re=m(({estimation:e,title:n,components:a,onDelete:l,onExportPdf:_,onEdit:d})=>{let c=a?.HiringSection||Q,u=a?.OnboardingTimeline||J,H=a?.Header||Y,v=a?.Footer,D=q(),p=e.employer_currency_costs.currency.code!==e.regional_currency_costs.currency.code,k=e.employer_currency_costs.monthly_management_fee,M=e.region.code!==e.country.code,G=t(e.regional_currency_costs.annual_gross_salary,e.regional_currency_costs.currency.code);return r(C,{className:"RemoteFlows__EstimationResults__Card p-10",children:[o("div",{className:"RemoteFlows__Separator",children:o(H,{title:n,annualGrossSalary:G,region:M?e.region:void 0,country:e.country,onDelete:l,onExportPdf:_,onEdit:d})}),r("div",{className:"RemoteFlows__Separator",children:[o(W,{isMultipleCurrency:p,className:"mb-3"}),o(S,{label:"Monthly total cost",amounts:p?[t(e.regional_currency_costs.monthly_total,e.regional_currency_costs.currency.code),t(e.employer_currency_costs.monthly_total,e.employer_currency_costs.currency.code)]:t(e.regional_currency_costs.monthly_total,e.regional_currency_costs.currency.code),children:o(h,{items:[{label:"Gross monthly salary",regionalAmount:t(e.regional_currency_costs.monthly_gross_salary,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.monthly_gross_salary,e.employer_currency_costs.currency.code),zendeskId:w.extraPayments.toString(),tooltip:"This country respects extra payments on top of the gross salary."},{label:"Mandatory employer costs",regionalAmount:t(e.regional_currency_costs.monthly_contributions_total,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.monthly_contributions_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.monthly_contributions_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.monthly_contributions_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:t(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Benefits",regionalAmount:t(e.regional_currency_costs.monthly_benefits_total,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.monthly_benefits_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.monthly_benefits_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.monthly_benefits_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:t(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},...k?[{label:"Monthly fee",regionalAmount:t(e.regional_currency_costs.monthly_management_fee,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.monthly_management_fee,e.employer_currency_costs.currency.code),tooltip:"Discounts may be available based on your commitment and team size. Speak to your account or customer success manager to learn more."}]:[]],isMultipleCurrency:p})})]}),o("div",{className:"RemoteFlows__Separator",children:o(S,{label:"Annual total cost",amounts:p?[t(e.regional_currency_costs.annual_total,e.regional_currency_costs.currency.code),t(e.employer_currency_costs.annual_total,e.employer_currency_costs.currency.code)]:t(e.regional_currency_costs.annual_total,e.regional_currency_costs.currency.code),children:o(h,{items:[{label:"Gross annual salary",dataSelector:"annual-gross-salary",regionalAmount:t(e.regional_currency_costs.annual_gross_salary,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.annual_gross_salary,e.employer_currency_costs.currency.code)},{label:"Mandatory employer costs",regionalAmount:t(e.regional_currency_costs.annual_contributions_total,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.annual_contributions_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.annual_contributions_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.annual_contributions_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:t(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Benefits",regionalAmount:t(e.regional_currency_costs.annual_benefits_total,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.annual_benefits_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.annual_benefits_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.annual_benefits_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:t(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Extra statutory payments",regionalAmount:t(e.regional_currency_costs.extra_statutory_payments_total,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.extra_statutory_payments_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.extra_statutory_payments_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.extra_statutory_payments_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:t(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},...k?[{label:"Annual fee",regionalAmount:t(e.regional_currency_costs.annual_management_fee,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.annual_management_fee,e.employer_currency_costs.currency.code),tooltip:"Discounts may be available based on your commitment and team size. Speak to your account or customer success manager to learn more."}]:[]],isMultipleCurrency:p})})}),o("div",{className:"RemoteFlows__Separator",children:o(u,{minimumOnboardingDays:e.minimum_onboarding_time,data:D})}),o(c,{countryBenefitsUrl:e.country_benefits_details_url,countryGuideUrl:e.country_guide_url,country:e.country}),v&&o(v,{})]})},"EstimationResults");export{Re as a};
2
- //# sourceMappingURL=chunk-GOTY4N6S.js.map
1
+ import{a as R,b as x,c as N,d as A}from"./chunk-PX6B2DBO.js";import{a as C}from"./chunk-RRZ2GPQS.js";import{b as B}from"./chunk-XADVV6OP.js";import{a as w,b as f}from"./chunk-AMSYQQG7.js";import{c as i,d as t,g as F}from"./chunk-OSQ6VUDM.js";import{a as m}from"./chunk-P37U34EQ.js";import{MoreHorizontal as P}from"lucide-react";import{useState as U}from"react";import{Fragment as $,jsx as g,jsxs as T}from"react/jsx-runtime";function E({actions:e=[],className:n,label:a,"data-testid":l}){let[_,d]=U(!1);return T("div",{className:i("relative",n),children:[g(B,{"data-testid":l,variant:"ghost","aria-label":a,className:"h-8 w-8 p-0",onClick:()=>d(!_),children:g(P,{className:"h-4 w-4"})}),_&&T($,{children:[g("div",{className:"fixed inset-0 z-40",onClick:()=>d(!1)}),g("div",{className:"absolute right-0 top-1/2 mt-1 bg-white border border-gray-200 rounded-md shadow-lg z-50 min-w-[120px]",children:e.map((c,u)=>g("button",{"data-testid":`${l}-${c.label.toLowerCase().replace(" ","-")}`,className:i("w-full text-left px-2 py-1.5 text-sm hover:bg-gray-100",c.disabled&&"opacity-50 cursor-not-allowed"),onClick:()=>{c.onClick(),d(!1)},disabled:c.disabled,children:c.label},u))})]})]})}m(E,"ActionsDropdown");import{ChevronDown as O,Info as Z}from"lucide-react";import K from"react-flagpack";import{useState as z}from"react";import{jsx as j,jsxs as L}from"react/jsx-runtime";var I=m(({children:e,content:n})=>L("div",{className:"relative inline-block group",children:[e,L("div",{className:"absolute bottom-full right-0 mb-2 px-3 py-2 bg-gray-900 text-white text-xs rounded-md opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-200 z-50 w-64 whitespace-normal break-words",children:[n,j("div",{className:"absolute top-full right-3 border-4 border-transparent border-t-gray-900"})]})]}),"BasicTooltip");import{Fragment as b,jsx as o,jsxs as r}from"react/jsx-runtime";var V={GB:"GB-UKM"},Y=m(({title:e,country:n,region:a,annualGrossSalary:l,onDelete:_,onExportPdf:d,onEdit:c})=>{let u=[{label:"Edit",onClick:c},{label:"Export",onClick:d},{label:"Delete",onClick:_}];return r("div",{className:"RemoteFlows__EstimationResults__Header flex justify-between",children:[r("div",{className:"flex flex-row items-center gap-6",children:[o("div",{className:"RemoteFlows__EstimationResultsHeader__FlagContainer flex h-16 w-16 items-center justify-center rounded-lg bg-[#F4F4F5]",children:o(K,{code:V[n.alpha_2_code]||n.alpha_2_code})}),r("div",{className:"space-y-1",children:[o("h2",{"data-testid":"estimation-results-header-title",className:"RemoteFlows__EstimationResultsHeader__Title text-lg font-medium leading-none text-[#181818]",children:e}),r("p",{className:"RemoteFlows__EstimationResultsHeader__Country text-xs text-[#71717A]",children:[n.name," ",a?` (${a.name})`:""]}),r("p",{"data-testid":"estimation-results-header-annual-gross-salary",className:"RemoteFlows__EstimationResultsHeader__AnnualGrossSalary text-xs text-[#71717A]",children:[o("span",{className:"text-[#181818]",children:"Employee annual gross salary:"})," ",l]})]})]}),o(E,{label:"Actions",className:"RemoteFlows__EstimationResults__ActionsDropdown",actions:u})]})},"EstimationResultsHeader"),q=m(()=>({steps:[{id:"add-employment-details",title:"Add employment details",description:"You add employee employments details."},{id:"invite-employee",title:"Invite employee",description:"Hire receives an email invitation from Remote to start the self-enrollment process."},{id:"verify-information",title:"Verify information",description:"Remote prepares the Employment Agreement and verifies all the information."},{id:"sign-contract",title:"Sign contract",description:"All parties sign the Employment Agreement and are ready to start. \u{1F389}"}],helpText:"For customers who accept Remote's Terms of Service (ToS), the employee onboarding timeline starts once the employee has been invited to the platform and completed self enrollment.",zendeskArticleId:w.employeeOnboardingTimeline}),"getOnboardingTimelineData");function J({minimumOnboardingDays:e,data:n,className:a}){return o(R,{collapsible:!0,className:i("RemoteFlows__EstimationResults__OnboardingTimeline w-full",a),children:r(x,{value:"timeline",className:"RemoteFlows__OnboardingTimeline__AccordionItem border-border",children:[o(N,{className:"RemoteFlows__OnboardingTimeline__AccordionTrigger hover:no-underline px-0 py-4",children:r("div",{className:"flex items-center justify-between w-full",children:[o("span",{className:"RemoteFlows__OnboardingTimeline__Title text-base font-medium text-[#0F172A]",children:"Onboarding timeline"}),e!=null&&r("span",{className:"RemoteFlows__OnboardingTimeline__Description text-base text-muted-foreground mr-4",children:[e," days"]})]})}),r(A,{className:"px-0 pb-4",children:[o("ul",{className:"RemoteFlows__OnboardingTimeline__List list-disc list-inside space-y-2",children:n.steps.map(l=>r("li",{children:[o("strong",{className:"font-medium text-[#09090B]",children:l.title})," ","- ",l.description]},l.id))}),r("p",{className:"RemoteFlows__OnboardingTimeline__HelpText text-xs text-muted-foreground mt-4",children:[n.helpText,n.zendeskArticleId&&o(f,{zendeskId:n.zendeskArticleId,children:"Learn more"})]})]})]})})}m(J,"OnboardingTimeline");function Q({className:e,countryBenefitsUrl:n,countryGuideUrl:a,country:l}){return o(R,{collapsible:!0,className:i("RemoteFlows__EstimationResults__HiringSection w-full",e),children:r(x,{value:"timeline",className:"RemoteFlows__HiringSection__AccordionItem border-border",children:[o(N,{className:"RemoteFlows__HiringSection__AccordionTrigger hover:no-underline px-0 py-4",children:o("div",{className:"flex items-center justify-between w-full",children:r("span",{className:"text-base font-medium text-[#0F172A]",children:["Hiring in ",l.name]})})}),o(A,{children:r("div",{className:"flex flex-col gap-1",children:[a&&o("a",{href:a,target:"_blank",className:"RemoteFlows__Link",children:"Explore our complete guide \u2197"}),n&&o("a",{href:n,target:"_blank",className:"RemoteFlows__Link",children:"Explore our available benefits \u2197"})]})})]})})}m(Q,"HiringSection");function W({isMultipleCurrency:e,className:n}){return r("div",{className:i("RemoteFlows__EstimationResults__Headers grid grid-cols-3 items-center",n),children:[o("span",{"aria-hidden":!0}),e?r(b,{children:[o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Employee currency"}),o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Employer currency"})]}):r(b,{children:[o("span",{}),o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Amount"})]})]})}m(W,"EstimationHeaders");function S({label:e,amounts:n,className:a,children:l}){let[_,d]=z(!0);return r("div",{className:i("RemoteFlows__EstimationResults__Row",a),children:[r("div",{className:"RemoteFlows__EstimationRow__Grid grid grid-cols-3 items-center",children:[r("div",{className:"RemoteFlows__EstimationRow__LabelContainer flex items-center gap-2",children:[o("span",{className:i("RemoteFlows__EstimationRow__Title min-w-[140px] font-medium text-[#09090B]"),children:e}),o("button",{onClick:()=>d(!_),className:"RemoteFlows__EstimationRow__CollapseButton p-1 hover:bg-gray-100 rounded",children:o(O,{className:`h-4 w-4 text-muted-foreground transition-transform ${_?"rotate-180":""}`})})]}),Array.isArray(n)?n.map((c,u)=>o("span",{className:i("RemoteFlows__EstimationRow__RegionalAmount text-right font-medium text-[#09090B]"),children:c},u)):r(b,{children:[o("span",{}),o("span",{className:i("RemoteFlows__EstimationRow__EmployerAmount text-right font-medium text-[#09090B]"),children:n})]})]}),_&&l&&o("div",{className:"RemoteFlows__EstimationRow__CollapsibleContent mt-4",children:l})]})}m(S,"EstimationRow");function X({item:e,isMultipleCurrency:n,level:a=0}){let[l,_]=z(!1),d=e.children&&e.children.length>0,c=a>0,u=e.isCollapsible||d;return r("li",{className:i("RemoteFlows__BreakdownList__Item pb-3",c&&"pb-1"),children:[r("div",{className:i(n?"RemoteFlows__BreakdownList__Grid grid grid-cols-3 items-center justify-between":"RemoteFlows__BreakdownList__Grid grid grid-cols-2 items-center justify-between"),children:[r("div",{className:i("RemoteFlows__BreakdownList__LabelContainer flex items-center gap-2",c&&"pl-3"),children:[!c&&o("span",{className:"RemoteFlows__BreakdownList__Bullet w-1 h-1 bg-[#09090B] rounded-full flex-shrink-0","aria-hidden":"true"}),u?r("button",{onClick:()=>_(!l),className:"RemoteFlows__BreakdownList__CollapseButton flex items-center gap-2 hover:bg-gray-100 rounded p-1",children:[o("span",{className:i(c?"RemoteFlows__BreakdownList__Text--Nested text-xs text-[#71717A]":"RemoteFlows__BreakdownList__Text--NotNested text-sm text-[#09090B]"),children:e.label}),o(O,{className:`RemoteFlows__BreakdownList__ChevronDown h-3 w-3 text-muted-foreground transition-transform ${l?"rotate-180":""}`})]}):o("span",{className:i(c?"RemoteFlows__BreakdownList__Text--Nested text-xs text-[#71717A]":"RemoteFlows__BreakdownList__Text--NotNested text-sm text-[#09090B] p-1"),children:e.label}),e.tooltip&&o(I,{content:r(b,{children:[o("span",{dangerouslySetInnerHTML:{__html:F(e.tooltip)}})," ",e.zendeskId&&o(f,{zendeskId:Number(e.zendeskId),children:"Learn more"})]}),children:o("button",{className:"RemoteFlows__BreakdownList__InfoButton p-1 hover:bg-gray-100 rounded",children:o(Z,{className:i("RemoteFlows__BreakdownList__InfoButton__Icon text-muted-foreground",c?"h-3 w-3":"h-4 w-4")})})})]}),n?r(b,{children:[o("span",{"data-testid":e.dataSelector&&e.dataSelector+"-employee-amount",className:i("RemoteFlows__BreakdownList__RegionalAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__RegionalAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__RegionalAmountText--NotNested text-[#09090B]"),children:e.regionalAmount||"\u2014"}),o("span",{"data-testid":e.dataSelector&&e.dataSelector+"-employer-amount",className:i("RemoteFlows__BreakdownList__EmployerAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__EmployerAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__EmployerAmountText--NotNested text-[#09090B]"),children:e.employerAmount||"\u2014"})]}):o("span",{"data-testid":e.dataSelector,className:i("RemoteFlows__BreakdownList__RegionalAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__RegionalAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__RegionalAmountText--NotNested text-[#09090B]"),children:e.regionalAmount||"\u2014"})]}),d&&l&&o("div",{className:"mt-1",children:o(h,{items:e.children,isMultipleCurrency:n,level:a+1})})]})}m(X,"BreakdownListItem");function h({items:e,isMultipleCurrency:n,className:a,level:l}){return o("ul",{className:i("RemoteFlows__BreakdownList list-none",a),children:e.map((_,d)=>o(X,{item:_,isMultipleCurrency:n,level:l},d))})}m(h,"BreakdownList");var Re=m(({estimation:e,title:n,components:a,onDelete:l,onExportPdf:_,onEdit:d})=>{let c=a?.HiringSection||Q,u=a?.OnboardingTimeline||J,H=a?.Header||Y,v=a?.Footer,D=q(),p=e.employer_currency_costs.currency.code!==e.regional_currency_costs.currency.code,k=e.employer_currency_costs.monthly_management_fee,M=e.region.code!==e.country.code,G=t(e.regional_currency_costs.annual_gross_salary,e.regional_currency_costs.currency.code);return r(C,{className:"RemoteFlows__EstimationResults__Card p-10",children:[o("div",{className:"RemoteFlows__Separator",children:o(H,{title:n,annualGrossSalary:G,region:M?e.region:void 0,country:e.country,onDelete:l,onExportPdf:_,onEdit:d})}),r("div",{className:"RemoteFlows__Separator",children:[o(W,{isMultipleCurrency:p,className:"mb-3"}),o(S,{label:"Monthly total cost",amounts:p?[t(e.regional_currency_costs.monthly_total,e.regional_currency_costs.currency.code),t(e.employer_currency_costs.monthly_total,e.employer_currency_costs.currency.code)]:t(e.regional_currency_costs.monthly_total,e.regional_currency_costs.currency.code),children:o(h,{items:[{label:"Gross monthly salary",regionalAmount:t(e.regional_currency_costs.monthly_gross_salary,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.monthly_gross_salary,e.employer_currency_costs.currency.code),zendeskId:w.extraPayments.toString(),tooltip:"This country respects extra payments on top of the gross salary."},{label:"Mandatory employer costs",regionalAmount:t(e.regional_currency_costs.monthly_contributions_total,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.monthly_contributions_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.monthly_contributions_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.monthly_contributions_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:t(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Benefits",regionalAmount:t(e.regional_currency_costs.monthly_benefits_total,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.monthly_benefits_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.monthly_benefits_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.monthly_benefits_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:t(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},...k?[{label:"Monthly fee",regionalAmount:t(e.regional_currency_costs.monthly_management_fee,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.monthly_management_fee,e.employer_currency_costs.currency.code),tooltip:"Discounts may be available based on your commitment and team size. Speak to your account or customer success manager to learn more."}]:[]],isMultipleCurrency:p})})]}),o("div",{className:"RemoteFlows__Separator",children:o(S,{label:"Annual total cost",amounts:p?[t(e.regional_currency_costs.annual_total,e.regional_currency_costs.currency.code),t(e.employer_currency_costs.annual_total,e.employer_currency_costs.currency.code)]:t(e.regional_currency_costs.annual_total,e.regional_currency_costs.currency.code),children:o(h,{items:[{label:"Gross annual salary",dataSelector:"annual-gross-salary",regionalAmount:t(e.regional_currency_costs.annual_gross_salary,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.annual_gross_salary,e.employer_currency_costs.currency.code)},{label:"Mandatory employer costs",regionalAmount:t(e.regional_currency_costs.annual_contributions_total,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.annual_contributions_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.annual_contributions_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.annual_contributions_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:t(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Benefits",regionalAmount:t(e.regional_currency_costs.annual_benefits_total,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.annual_benefits_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.annual_benefits_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.annual_benefits_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:t(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Extra statutory payments",regionalAmount:t(e.regional_currency_costs.extra_statutory_payments_total,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.extra_statutory_payments_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.extra_statutory_payments_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.extra_statutory_payments_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:t(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},...k?[{label:"Annual fee",regionalAmount:t(e.regional_currency_costs.annual_management_fee,e.regional_currency_costs.currency.code),employerAmount:t(e.employer_currency_costs.annual_management_fee,e.employer_currency_costs.currency.code),tooltip:"Discounts may be available based on your commitment and team size. Speak to your account or customer success manager to learn more."}]:[]],isMultipleCurrency:p})})}),o("div",{className:"RemoteFlows__Separator",children:o(u,{minimumOnboardingDays:e.minimum_onboarding_time,data:D})}),o(c,{countryBenefitsUrl:e.country_benefits_details_url,countryGuideUrl:e.country_guide_url,country:e.country}),v&&o(v,{})]})},"EstimationResults");export{Re as a};
2
+ //# sourceMappingURL=chunk-XXXLKG43.js.map
@@ -1,2 +1,2 @@
1
- import{a as n}from"./chunk-VIGKOVHP.js";import{a as i}from"./chunk-P37U34EQ.js";import*as o from"@radix-ui/react-dialog";import{XIcon as s}from"lucide-react";import{jsx as a,jsxs as l}from"react/jsx-runtime";function p({...t}){return a(o.Root,{"data-slot":"dialog",...t})}i(p,"Dialog");function f({...t}){return a(o.Trigger,{"data-slot":"dialog-trigger",...t})}i(f,"DialogTrigger");function g({...t}){return a(o.Portal,{"data-slot":"dialog-portal",...t})}i(g,"DialogPortal");function d({className:t,...e}){return a(o.Overlay,{"data-slot":"dialog-overlay",className:n("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...e})}i(d,"DialogOverlay");function u({className:t,children:e,...r}){return l(g,{"data-slot":"dialog-portal",children:[a(d,{}),l(o.Content,{"data-slot":"dialog-content",className:n("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",t),...r,children:[e,l(o.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 RemoteFlows__Dialog__Close",children:[a(s,{}),a("span",{className:"sr-only",children:"Close"})]})]})]})}i(u,"DialogContent");function v({className:t,...e}){return a("div",{"data-slot":"dialog-header",className:n("flex flex-col gap-2 text-center sm:text-left",t),...e})}i(v,"DialogHeader");function D({className:t,...e}){return a("div",{"data-slot":"dialog-footer",className:n("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...e})}i(D,"DialogFooter");function P({className:t,...e}){return a(o.Title,{"data-slot":"dialog-title",className:n("text-lg leading-none font-semibold",t),...e})}i(P,"DialogTitle");function C({className:t,...e}){return a(o.Description,{"data-slot":"dialog-description",className:n("text-muted-foreground text-sm",t),...e})}i(C,"DialogDescription");export{p as a,f as b,u as c,v as d,D as e,P as f,C as g};
2
- //# sourceMappingURL=chunk-547UHEDI.js.map
1
+ import{c as n}from"./chunk-OSQ6VUDM.js";import{a as i}from"./chunk-P37U34EQ.js";import*as o from"@radix-ui/react-dialog";import{XIcon as s}from"lucide-react";import{jsx as a,jsxs as l}from"react/jsx-runtime";function p({...t}){return a(o.Root,{"data-slot":"dialog",...t})}i(p,"Dialog");function f({...t}){return a(o.Trigger,{"data-slot":"dialog-trigger",...t})}i(f,"DialogTrigger");function g({...t}){return a(o.Portal,{"data-slot":"dialog-portal",...t})}i(g,"DialogPortal");function d({className:t,...e}){return a(o.Overlay,{"data-slot":"dialog-overlay",className:n("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...e})}i(d,"DialogOverlay");function u({className:t,children:e,...r}){return l(g,{"data-slot":"dialog-portal",children:[a(d,{}),l(o.Content,{"data-slot":"dialog-content",className:n("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",t),...r,children:[e,l(o.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 RemoteFlows__Dialog__Close",children:[a(s,{}),a("span",{className:"sr-only",children:"Close"})]})]})]})}i(u,"DialogContent");function v({className:t,...e}){return a("div",{"data-slot":"dialog-header",className:n("flex flex-col gap-2 text-center sm:text-left",t),...e})}i(v,"DialogHeader");function D({className:t,...e}){return a("div",{"data-slot":"dialog-footer",className:n("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...e})}i(D,"DialogFooter");function P({className:t,...e}){return a(o.Title,{"data-slot":"dialog-title",className:n("text-lg leading-none font-semibold",t),...e})}i(P,"DialogTitle");function C({className:t,...e}){return a(o.Description,{"data-slot":"dialog-description",className:n("text-muted-foreground text-sm",t),...e})}i(C,"DialogDescription");export{p as a,f as b,u as c,v as d,D as e,P as f,C as g};
2
+ //# sourceMappingURL=chunk-YYMGZZTO.js.map
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk-WFZGKBFS.js";import{b as e}from"./chunk-Q3ALCPJN.js";import{k as n}from"./chunk-VIGKOVHP.js";import{a as t}from"./chunk-P37U34EQ.js";import{jsx as f}from"react/jsx-runtime";function b({onSubmit:m,onSuccess:d,onError:c}){let{contractorOnboardingBag:o}=e(),p=t(async i=>{try{let a=await o.parseFormValues(i);await m?.(a);let r=await o.onSubmit(i);if(r?.data){await d?.(r?.data),o?.next();return}}catch(a){let r=n(a,o.meta?.fields?.basic_information);c?.(r)}},"handleSubmit"),l=o.stepState.values?.basic_information||o.initialValues.basic_information;return f(s,{defaultValues:l,onSubmit:p})}t(b,"BasicInformationStep");export{b as a};
2
- //# sourceMappingURL=chunk-MG4PHNSS.js.map
1
+ import{a as s}from"./chunk-T4Y4D743.js";import{b as e}from"./chunk-Q3ALCPJN.js";import{m as n}from"./chunk-OSQ6VUDM.js";import{a as t}from"./chunk-P37U34EQ.js";import{jsx as f}from"react/jsx-runtime";function b({onSubmit:m,onSuccess:d,onError:c}){let{contractorOnboardingBag:o}=e(),p=t(async i=>{try{let a=await o.parseFormValues(i);await m?.(a);let r=await o.onSubmit(i);if(r?.data){await d?.(r?.data),o?.next();return}}catch(a){let r=n(a,o.meta?.fields?.basic_information);c?.(r)}},"handleSubmit"),l=o.stepState.values?.basic_information||o.initialValues.basic_information;return f(s,{defaultValues:l,onSubmit:p})}t(b,"BasicInformationStep");export{b as a};
2
+ //# sourceMappingURL=chunk-ZS7YCDY6.js.map
@@ -1,2 +1,2 @@
1
- import{b as e}from"./chunk-G5O2CM6V.js";import{a as n}from"./chunk-P37U34EQ.js";import{jsx as o,jsxs as t}from"react/jsx-runtime";var a=n(({involuntaryOffboardingServiceChargeZendeskId:r,reconciliationInvoiceZendeskId:i})=>t("p",{className:"RemoteFlows__AcknowledgeInformationFees text-xs text-[#71717A]",children:["You'll receive an"," ",o(e,{zendeskId:r,className:"align-baseline",children:"involuntary offboarding service charge \u2197"})," ","on your"," ",o(e,{zendeskId:i,children:"reconciliation invoice \u2197"})]}),"AcknowledgeInformationFees");export{a};
2
- //# sourceMappingURL=chunk-JKB4KOVF.js.map
1
+ import{b as e}from"./chunk-AMSYQQG7.js";import{a as n}from"./chunk-P37U34EQ.js";import{jsx as o,jsxs as t}from"react/jsx-runtime";var a=n(({involuntaryOffboardingServiceChargeZendeskId:r,reconciliationInvoiceZendeskId:i})=>t("p",{className:"RemoteFlows__AcknowledgeInformationFees text-xs text-[#71717A]",children:["You'll receive an"," ",o(e,{zendeskId:r,className:"align-baseline",children:"involuntary offboarding service charge \u2197"})," ","on your"," ",o(e,{zendeskId:i,children:"reconciliation invoice \u2197"})]}),"AcknowledgeInformationFees");export{a};
2
+ //# sourceMappingURL=chunk-ZYAMVSAL.js.map
@@ -1,8 +1,7 @@
1
- import { C as Components } from './remoteFlows-BVt9wH8Z.js';
1
+ import { C as Components } from './remoteFlows-BgpcnCNA.js';
2
2
  import 'react';
3
3
  import 'yup';
4
- import './types.gen-Oz2Tvvr6.js';
5
- import './types-ZWIpiFgj.js';
4
+ import './types.gen-Dgw1W-SB.js';
6
5
  import 'react-hook-form';
7
6
 
8
7
  /**
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk-YMJ3HQTG.js";import{a as c}from"./chunk-ECGWCDC3.js";import{a as b}from"./chunk-NAMR4DA5.js";import{a as k}from"./chunk-IHGCXP2X.js";import{a as f}from"./chunk-HIFEVMKP.js";import{a}from"./chunk-W6OOI5NF.js";import{a as u}from"./chunk-FAIEJW57.js";import{a as p}from"./chunk-KXT6ACFL.js";import{a as D}from"./chunk-EIVCBH53.js";import{a as n}from"./chunk-BAMGHBLT.js";import{a as F}from"./chunk-TQXCLXWH.js";import{a as e}from"./chunk-2V4CTIAG.js";import{a as t}from"./chunk-OWUINMZP.js";import{a as o}from"./chunk-CKVI2UDU.js";import{a as r}from"./chunk-T4YYYCSD.js";import"./chunk-VPSESR6G.js";import{a as l}from"./chunk-L3LOATSG.js";import{a as m}from"./chunk-UOA5WU4S.js";import"./chunk-C4MRFGQG.js";import"./chunk-MSBCYMSH.js";import{a as i}from"./chunk-NNFWLL7F.js";import"./chunk-R4X2WQXX.js";import"./chunk-SNBAM7SA.js";import"./chunk-7G5JSUZU.js";import"./chunk-56UXOD27.js";import"./chunk-3NESYBEJ.js";import"./chunk-DXIJUMLU.js";import"./chunk-6JTHV4QS.js";import"./chunk-547UHEDI.js";import"./chunk-TNN3W5TU.js";import"./chunk-AS6KFUXS.js";import{a as d}from"./chunk-BYDQHL6O.js";import"./chunk-MP3VDCI7.js";import"./chunk-6H4634RG.js";import"./chunk-G5O2CM6V.js";import"./chunk-CWAFRJAQ.js";import"./chunk-VIGKOVHP.js";import"./chunk-H2RAK6F7.js";import"./chunk-X6ZAR7ZL.js";import"./chunk-KQPDXXG3.js";import"./chunk-P37U34EQ.js";var V={button:b,checkbox:s,countries:r,date:m,drawer:D,email:f,fieldsetToggle:d,file:e,"multi-select":u,number:i,radio:a,select:o,statement:l,textarea:t,text:p,zendeskDrawer:n,table:F,"work-schedule":c,pdfViewer:k};export{V as defaultComponents};
1
+ import{a as s}from"./chunk-LX3JPBUV.js";import{a as c}from"./chunk-2P4RPBIO.js";import{a as b}from"./chunk-B5UGFNCU.js";import{a as k}from"./chunk-IHGCXP2X.js";import{a as w}from"./chunk-CUSAI2ZT.js";import{a as f}from"./chunk-NORWRQQM.js";import{a}from"./chunk-XUT44QU6.js";import{a as u}from"./chunk-7X56CYUV.js";import{a as p}from"./chunk-EC6ZM3SX.js";import{a as D}from"./chunk-BFSBZTDB.js";import{a as n}from"./chunk-VSXPCSKU.js";import{a as F}from"./chunk-FTC4EFBO.js";import{a as e}from"./chunk-BTP3NN3N.js";import{a as t}from"./chunk-5F5H7LZT.js";import{a as o}from"./chunk-INV4YWPR.js";import{a as r}from"./chunk-P4TKMCSQ.js";import"./chunk-OXCSFW3F.js";import{a as l}from"./chunk-75P5LUKA.js";import{a as m}from"./chunk-GCPDTL2M.js";import"./chunk-6SDLOAEO.js";import"./chunk-3VWXALRD.js";import{a as i}from"./chunk-R5WFXN2Z.js";import"./chunk-JXWFFVQO.js";import"./chunk-DYNVJFJH.js";import"./chunk-VHAJRKCI.js";import"./chunk-7N2A2ZJ5.js";import"./chunk-KMBA73YG.js";import"./chunk-LBJAKZ6V.js";import"./chunk-FOBUW3RN.js";import"./chunk-YYMGZZTO.js";import"./chunk-6Y4QJ7WK.js";import"./chunk-UZNF4JV3.js";import{a as d}from"./chunk-2UZ72KAQ.js";import"./chunk-XADVV6OP.js";import"./chunk-CLAVZQBC.js";import"./chunk-AMSYQQG7.js";import"./chunk-72RFYT5Y.js";import"./chunk-R47Q7R6C.js";import"./chunk-OSQ6VUDM.js";import"./chunk-KQPDXXG3.js";import"./chunk-P37U34EQ.js";var Z={button:b,checkbox:s,countries:r,date:m,drawer:D,email:f,fieldsetToggle:d,file:e,"multi-select":u,number:i,radio:a,select:o,statement:l,textarea:t,text:p,zendeskDrawer:n,table:F,"work-schedule":c,pdfViewer:k,tel:w};export{Z as defaultComponents};
2
2
  //# sourceMappingURL=default-components.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/default-components.ts"],"sourcesContent":["import { Components } from '@/src/types/remoteFlows';\nimport { FileUploadFieldDefault } from '@/src/components/form/fields/default/FileUploadFieldDefault';\nimport { TextAreaFieldDefault } from '@/src/components/form/fields/default/TextAreaFieldDefault';\nimport { SelectFieldDefault } from '@/src/components/form/fields/default/SelectFieldDefault';\nimport { CountryFieldDefault } from '@/src/components/form/fields/default/CountryFieldDefault';\nimport { StatementDefault } from '@/src/components/form/fields/default/StatementDefault';\nimport { DatePickerFieldDefault } from '@/src/components/form/fields/default/DatePickerFieldDefault';\nimport { NumberFieldDefault } from '@/src/components/form/fields/default/NumberFieldDefault';\nimport { EmailFieldDefault } from '@/src/components/form/fields/default/EmailFieldDefault';\nimport { RadioGroupFieldDefault } from '@/src/components/form/fields/default/RadioGroupFieldDefault';\nimport { MultiSelectFieldDefault } from '@/src/components/form/fields/default/MultiSelectFieldDefault';\nimport { TextFieldDefault } from '@/src/components/form/fields/default/TextFieldDefault';\nimport { FieldsetToggleButtonDefault } from '@/src/components/form/fields/default/FieldsetToggleButtonDefault';\nimport { DrawerDefault } from '@/src/components/shared/drawer/DrawerDefault';\nimport { ZendeskDrawerDefault } from '@/src/components/shared/zendesk-drawer/ZendeskDrawerDefault';\nimport { TableFieldDefault } from '@/src/components/shared/table/TableFieldDefault';\nimport { CheckboxFieldDefault } from '@/src/components/form/fields/default/CheckboxFieldDefault';\nimport { WorkScheduleFieldDefault } from '@/src/components/form/fields/default/WorkScheduleFieldDefault';\nimport { ButtonDefault } from '@/src/components/form/fields/default/ButtonDefault';\nimport { PDFPreviewDefault } from '@/src/components/shared/pdf-preview/PDFPreviewDefault';\n/**\n * Default field components for RemoteFlows.\n *\n * This module acts as a reference for our users to know what are the components that are really overrided\n *\n */\nexport const defaultComponents: Components = {\n button: ButtonDefault,\n checkbox: CheckboxFieldDefault,\n countries: CountryFieldDefault,\n date: DatePickerFieldDefault,\n drawer: DrawerDefault,\n email: EmailFieldDefault,\n fieldsetToggle: FieldsetToggleButtonDefault,\n file: FileUploadFieldDefault,\n // TODO: we have doubts multi-select, it's actually used\n 'multi-select': MultiSelectFieldDefault,\n number: NumberFieldDefault,\n radio: RadioGroupFieldDefault,\n select: SelectFieldDefault,\n statement: StatementDefault,\n textarea: TextAreaFieldDefault,\n text: TextFieldDefault,\n zendeskDrawer: ZendeskDrawerDefault,\n table: TableFieldDefault,\n 'work-schedule': WorkScheduleFieldDefault,\n pdfViewer: PDFPreviewDefault,\n};\n"],"mappings":"21CA0BO,IAAMA,EAAgC,CAC3C,OAAQC,EACR,SAAUC,EACV,UAAWC,EACX,KAAMC,EACN,OAAQC,EACR,MAAOC,EACP,eAAgBC,EAChB,KAAMC,EAEN,eAAgBC,EAChB,OAAQC,EACR,MAAOC,EACP,OAAQC,EACR,UAAWC,EACX,SAAUC,EACV,KAAMC,EACN,cAAeC,EACf,MAAOC,EACP,gBAAiBC,EACjB,UAAWC,CACb","names":["defaultComponents","ButtonDefault","CheckboxFieldDefault","CountryFieldDefault","DatePickerFieldDefault","DrawerDefault","EmailFieldDefault","FieldsetToggleButtonDefault","FileUploadFieldDefault","MultiSelectFieldDefault","NumberFieldDefault","RadioGroupFieldDefault","SelectFieldDefault","StatementDefault","TextAreaFieldDefault","TextFieldDefault","ZendeskDrawerDefault","TableFieldDefault","WorkScheduleFieldDefault","PDFPreviewDefault"]}
1
+ {"version":3,"sources":["../src/default-components.ts"],"sourcesContent":["import { Components } from '@/src/types/remoteFlows';\nimport { FileUploadFieldDefault } from '@/src/components/form/fields/default/FileUploadFieldDefault';\nimport { TextAreaFieldDefault } from '@/src/components/form/fields/default/TextAreaFieldDefault';\nimport { SelectFieldDefault } from '@/src/components/form/fields/default/SelectFieldDefault';\nimport { CountryFieldDefault } from '@/src/components/form/fields/default/CountryFieldDefault';\nimport { StatementDefault } from '@/src/components/form/fields/default/StatementDefault';\nimport { DatePickerFieldDefault } from '@/src/components/form/fields/default/DatePickerFieldDefault';\nimport { NumberFieldDefault } from '@/src/components/form/fields/default/NumberFieldDefault';\nimport { EmailFieldDefault } from '@/src/components/form/fields/default/EmailFieldDefault';\nimport { RadioGroupFieldDefault } from '@/src/components/form/fields/default/RadioGroupFieldDefault';\nimport { MultiSelectFieldDefault } from '@/src/components/form/fields/default/MultiSelectFieldDefault';\nimport { TextFieldDefault } from '@/src/components/form/fields/default/TextFieldDefault';\nimport { FieldsetToggleButtonDefault } from '@/src/components/form/fields/default/FieldsetToggleButtonDefault';\nimport { DrawerDefault } from '@/src/components/shared/drawer/DrawerDefault';\nimport { ZendeskDrawerDefault } from '@/src/components/shared/zendesk-drawer/ZendeskDrawerDefault';\nimport { TableFieldDefault } from '@/src/components/shared/table/TableFieldDefault';\nimport { CheckboxFieldDefault } from '@/src/components/form/fields/default/CheckboxFieldDefault';\nimport { WorkScheduleFieldDefault } from '@/src/components/form/fields/default/WorkScheduleFieldDefault';\nimport { ButtonDefault } from '@/src/components/form/fields/default/ButtonDefault';\nimport { PDFPreviewDefault } from '@/src/components/shared/pdf-preview/PDFPreviewDefault';\nimport { TelFieldDefault } from '@/src/components/form/fields/default/TelFieldDefault';\n\n/**\n * Default field components for RemoteFlows.\n *\n * This module acts as a reference for our users to know what are the components that are really overrided\n *\n */\nexport const defaultComponents: Components = {\n button: ButtonDefault,\n checkbox: CheckboxFieldDefault,\n countries: CountryFieldDefault,\n date: DatePickerFieldDefault,\n drawer: DrawerDefault,\n email: EmailFieldDefault,\n fieldsetToggle: FieldsetToggleButtonDefault,\n file: FileUploadFieldDefault,\n // TODO: we have doubts multi-select, it's actually used\n 'multi-select': MultiSelectFieldDefault,\n number: NumberFieldDefault,\n radio: RadioGroupFieldDefault,\n select: SelectFieldDefault,\n statement: StatementDefault,\n textarea: TextAreaFieldDefault,\n text: TextFieldDefault,\n zendeskDrawer: ZendeskDrawerDefault,\n table: TableFieldDefault,\n 'work-schedule': WorkScheduleFieldDefault,\n pdfViewer: PDFPreviewDefault,\n tel: TelFieldDefault,\n};\n"],"mappings":"u2CA4BO,IAAMA,EAAgC,CAC3C,OAAQC,EACR,SAAUC,EACV,UAAWC,EACX,KAAMC,EACN,OAAQC,EACR,MAAOC,EACP,eAAgBC,EAChB,KAAMC,EAEN,eAAgBC,EAChB,OAAQC,EACR,MAAOC,EACP,OAAQC,EACR,UAAWC,EACX,SAAUC,EACV,KAAMC,EACN,cAAeC,EACf,MAAOC,EACP,gBAAiBC,EACjB,UAAWC,EACX,IAAKC,CACP","names":["defaultComponents","ButtonDefault","CheckboxFieldDefault","CountryFieldDefault","DatePickerFieldDefault","DrawerDefault","EmailFieldDefault","FieldsetToggleButtonDefault","FileUploadFieldDefault","MultiSelectFieldDefault","NumberFieldDefault","RadioGroupFieldDefault","SelectFieldDefault","StatementDefault","TextAreaFieldDefault","TextFieldDefault","ZendeskDrawerDefault","TableFieldDefault","WorkScheduleFieldDefault","PDFPreviewDefault","TelFieldDefault"]}
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { P as PostCreateContractAmendmentError, b as ContractAmendmentResponse } from '../../types.gen-Oz2Tvvr6.js';
2
+ import { P as PostCreateContractAmendmentError, b as ContractAmendmentResponse } from '../../types.gen-Dgw1W-SB.js';
3
3
  import { FieldValues } from 'react-hook-form';
4
4
 
5
5
  type ContractAmendmentConfirmationFormProps = {
@@ -1,2 +1,2 @@
1
- import{a}from"../../chunk-7ZFZYZSP.js";import"../../chunk-D5AO6SOM.js";import"../../chunk-CWAFRJAQ.js";import"../../chunk-VIGKOVHP.js";import"../../chunk-X6ZAR7ZL.js";import"../../chunk-TVZAFTPT.js";import"../../chunk-P37U34EQ.js";export{a as ContractAmendmentConfirmationForm};
1
+ import{a}from"../../chunk-VDVWAYXP.js";import"../../chunk-FFVTWWGX.js";import"../../chunk-72RFYT5Y.js";import"../../chunk-OSQ6VUDM.js";import"../../chunk-TVZAFTPT.js";import"../../chunk-P37U34EQ.js";export{a as ContractAmendmentConfirmationForm};
2
2
  //# sourceMappingURL=ContractAmendmentConfirmationForm.js.map
@@ -5,13 +5,12 @@ import { ContractAmendmentForm } from './ContractAmendmentForm.js';
5
5
  import { ContractAmendmentSubmit } from './ContractAmendmentSubmit.js';
6
6
  import { useContractAmendment } from './hooks.js';
7
7
  import { ContractAmendmentParams } from './types.js';
8
- import '../../types.gen-Oz2Tvvr6.js';
8
+ import '../../types.gen-Dgw1W-SB.js';
9
9
  import 'react-hook-form';
10
10
  import 'react';
11
- import '../../mutations-BsydWn3-.js';
12
- import '../../remoteFlows-BVt9wH8Z.js';
11
+ import '../../mutations-BlHJKh7X.js';
12
+ import '../../remoteFlows-BgpcnCNA.js';
13
13
  import 'yup';
14
- import '../../types-ZWIpiFgj.js';
15
14
  import '@remoteoss/json-schema-form';
16
15
  import '@remoteoss/json-schema-form-v0-deprecated';
17
16
  import '../useStepState.js';
@@ -1,2 +1,2 @@
1
- import{a}from"../../chunk-R3BBN7TV.js";import"../../chunk-7ZFZYZSP.js";import"../../chunk-HNCOYMS5.js";import"../../chunk-LNV36S6D.js";import"../../chunk-U6LRMWRI.js";import"../../chunk-PZAYG2DF.js";import"../../chunk-VB6KFDBL.js";import"../../chunk-MSEHAEEK.js";import"../../chunk-BI4RFXFL.js";import"../../chunk-XGRFWXUU.js";import"../../chunk-SNECOPBD.js";import"../../chunk-NAF6LRSS.js";import"../../chunk-D5AO6SOM.js";import"../../chunk-AS6KFUXS.js";import"../../chunk-BYDQHL6O.js";import"../../chunk-MP3VDCI7.js";import"../../chunk-6H4634RG.js";import"../../chunk-G5O2CM6V.js";import"../../chunk-CWAFRJAQ.js";import"../../chunk-VIGKOVHP.js";import"../../chunk-H2RAK6F7.js";import"../../chunk-X6ZAR7ZL.js";import"../../chunk-TSPDJUGG.js";import"../../chunk-Z5WMKCRJ.js";import"../../chunk-D5AR26AI.js";import"../../chunk-TVZAFTPT.js";import"../../chunk-KQPDXXG3.js";import"../../chunk-P37U34EQ.js";export{a as ContractAmendmentFlow};
1
+ import{a}from"../../chunk-XHZHFM2J.js";import"../../chunk-VDVWAYXP.js";import"../../chunk-O6H23YQW.js";import"../../chunk-KFYWUBRS.js";import"../../chunk-U6LRMWRI.js";import"../../chunk-K56VMRZ5.js";import"../../chunk-5EDCZGZV.js";import"../../chunk-TFJOJCCS.js";import"../../chunk-4EDPYN5F.js";import"../../chunk-CEIDSIMA.js";import"../../chunk-ACKYD4QC.js";import"../../chunk-JMDINYDB.js";import"../../chunk-FFVTWWGX.js";import"../../chunk-UZNF4JV3.js";import"../../chunk-2UZ72KAQ.js";import"../../chunk-XADVV6OP.js";import"../../chunk-CLAVZQBC.js";import"../../chunk-AMSYQQG7.js";import"../../chunk-72RFYT5Y.js";import"../../chunk-R47Q7R6C.js";import"../../chunk-OSQ6VUDM.js";import"../../chunk-TSPDJUGG.js";import"../../chunk-626FTNKA.js";import"../../chunk-D5AR26AI.js";import"../../chunk-TVZAFTPT.js";import"../../chunk-KQPDXXG3.js";import"../../chunk-P37U34EQ.js";export{a as ContractAmendmentFlow};
2
2
  //# sourceMappingURL=ContractAmendmentFlow.js.map
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { c as PostAutomatableContractAmendmentError, C as ContractAmendmentAutomatableResponse } from '../../types.gen-Oz2Tvvr6.js';
2
+ import { c as PostAutomatableContractAmendmentError, C as ContractAmendmentAutomatableResponse } from '../../types.gen-Dgw1W-SB.js';
3
3
  import { FieldValues } from 'react-hook-form';
4
4
 
5
5
  type ContractAmendmentFormProps = {
@@ -1,2 +1,2 @@
1
- import{a}from"../../chunk-HNCOYMS5.js";import"../../chunk-LNV36S6D.js";import"../../chunk-BI4RFXFL.js";import"../../chunk-XGRFWXUU.js";import"../../chunk-SNECOPBD.js";import"../../chunk-D5AO6SOM.js";import"../../chunk-AS6KFUXS.js";import"../../chunk-BYDQHL6O.js";import"../../chunk-MP3VDCI7.js";import"../../chunk-6H4634RG.js";import"../../chunk-G5O2CM6V.js";import"../../chunk-CWAFRJAQ.js";import"../../chunk-VIGKOVHP.js";import"../../chunk-H2RAK6F7.js";import"../../chunk-X6ZAR7ZL.js";import"../../chunk-TVZAFTPT.js";import"../../chunk-KQPDXXG3.js";import"../../chunk-P37U34EQ.js";export{a as ContractAmendmentForm};
1
+ import{a}from"../../chunk-O6H23YQW.js";import"../../chunk-KFYWUBRS.js";import"../../chunk-4EDPYN5F.js";import"../../chunk-CEIDSIMA.js";import"../../chunk-ACKYD4QC.js";import"../../chunk-FFVTWWGX.js";import"../../chunk-UZNF4JV3.js";import"../../chunk-2UZ72KAQ.js";import"../../chunk-XADVV6OP.js";import"../../chunk-CLAVZQBC.js";import"../../chunk-AMSYQQG7.js";import"../../chunk-72RFYT5Y.js";import"../../chunk-R47Q7R6C.js";import"../../chunk-OSQ6VUDM.js";import"../../chunk-TVZAFTPT.js";import"../../chunk-KQPDXXG3.js";import"../../chunk-P37U34EQ.js";export{a as ContractAmendmentForm};
2
2
  //# sourceMappingURL=ContractAmendmentForm.js.map
@@ -1,14 +1,13 @@
1
- import { C as ContractAmendmentAutomatableResponse, N as NotFoundResponse, U as UnprocessableEntityResponse, a as UnauthorizedResponse, b as ContractAmendmentResponse } from '../../types.gen-Oz2Tvvr6.js';
1
+ import { C as ContractAmendmentAutomatableResponse, N as NotFoundResponse, U as UnprocessableEntityResponse, a as UnauthorizedResponse, b as ContractAmendmentResponse } from '../../types.gen-Dgw1W-SB.js';
2
2
  import * as React from 'react';
3
- import { E as ErrorResponse, S as SuccessResponse } from '../../mutations-BsydWn3-.js';
4
- import '../../remoteFlows-BVt9wH8Z.js';
3
+ import { E as ErrorResponse, S as SuccessResponse } from '../../mutations-BlHJKh7X.js';
4
+ import '../../remoteFlows-BgpcnCNA.js';
5
5
  import * as react_hook_form from 'react-hook-form';
6
6
  import { useContractAmendment } from './hooks.js';
7
7
  import * as _remoteoss_json_schema_form from '@remoteoss/json-schema-form';
8
8
  import * as _remoteoss_json_schema_form_v0_deprecated from '@remoteoss/json-schema-form-v0-deprecated';
9
9
  import { Step } from '../useStepState.js';
10
10
  import 'yup';
11
- import '../../types-ZWIpiFgj.js';
12
11
  import './types.js';
13
12
  import '../types.js';
14
13
  import '@remoteoss/remote-json-schema-form-kit';
@@ -1,14 +1,13 @@
1
- import { C as ContractAmendmentAutomatableResponse, N as NotFoundResponse, U as UnprocessableEntityResponse, a as UnauthorizedResponse, b as ContractAmendmentResponse } from '../../types.gen-Oz2Tvvr6.js';
2
- import { E as ErrorResponse, S as SuccessResponse } from '../../mutations-BsydWn3-.js';
1
+ import { C as ContractAmendmentAutomatableResponse, N as NotFoundResponse, U as UnprocessableEntityResponse, a as UnauthorizedResponse, b as ContractAmendmentResponse } from '../../types.gen-Dgw1W-SB.js';
2
+ import { E as ErrorResponse, S as SuccessResponse } from '../../mutations-BlHJKh7X.js';
3
3
  import * as React from 'react';
4
4
  import * as _remoteoss_json_schema_form from '@remoteoss/json-schema-form';
5
5
  import * as _remoteoss_json_schema_form_v0_deprecated from '@remoteoss/json-schema-form-v0-deprecated';
6
6
  import { Step } from '../useStepState.js';
7
7
  import { FieldValues } from 'react-hook-form';
8
8
  import { ContractAmendmentParams } from './types.js';
9
- import '../../remoteFlows-BVt9wH8Z.js';
9
+ import '../../remoteFlows-BgpcnCNA.js';
10
10
  import 'yup';
11
- import '../../types-ZWIpiFgj.js';
12
11
  import '../types.js';
13
12
  import '@remoteoss/remote-json-schema-form-kit';
14
13
 
@@ -1,2 +1,2 @@
1
- import{a}from"../../chunk-PZAYG2DF.js";import"../../chunk-VB6KFDBL.js";import"../../chunk-MSEHAEEK.js";import"../../chunk-NAF6LRSS.js";import"../../chunk-D5AO6SOM.js";import"../../chunk-H2RAK6F7.js";import"../../chunk-X6ZAR7ZL.js";import"../../chunk-TSPDJUGG.js";import"../../chunk-Z5WMKCRJ.js";import"../../chunk-KQPDXXG3.js";import"../../chunk-P37U34EQ.js";export{a as useContractAmendment};
1
+ import{a}from"../../chunk-K56VMRZ5.js";import"../../chunk-5EDCZGZV.js";import"../../chunk-TFJOJCCS.js";import"../../chunk-JMDINYDB.js";import"../../chunk-FFVTWWGX.js";import"../../chunk-R47Q7R6C.js";import"../../chunk-OSQ6VUDM.js";import"../../chunk-TSPDJUGG.js";import"../../chunk-626FTNKA.js";import"../../chunk-KQPDXXG3.js";import"../../chunk-P37U34EQ.js";export{a as useContractAmendment};
2
2
  //# sourceMappingURL=hooks.js.map
@@ -4,17 +4,16 @@ export { ContractAmendmentForm } from './ContractAmendmentForm.js';
4
4
  export { ContractAmendmentSubmit } from './ContractAmendmentSubmit.js';
5
5
  export { useContractAmendment } from './hooks.js';
6
6
  import 'react/jsx-runtime';
7
- import '../../types.gen-Oz2Tvvr6.js';
7
+ import '../../types.gen-Dgw1W-SB.js';
8
8
  import 'react-hook-form';
9
9
  import './ContractAmendmentBack.js';
10
10
  import 'react';
11
11
  import './types.js';
12
12
  import '../types.js';
13
- import '../../remoteFlows-BVt9wH8Z.js';
13
+ import '../../remoteFlows-BgpcnCNA.js';
14
14
  import 'yup';
15
- import '../../types-ZWIpiFgj.js';
16
15
  import '@remoteoss/remote-json-schema-form-kit';
17
- import '../../mutations-BsydWn3-.js';
16
+ import '../../mutations-BlHJKh7X.js';
18
17
  import '@remoteoss/json-schema-form';
19
18
  import '@remoteoss/json-schema-form-v0-deprecated';
20
19
  import '../useStepState.js';
@@ -1,2 +1,2 @@
1
- import"../../chunk-A7ZJQCNU.js";import{a as e}from"../../chunk-R3BBN7TV.js";import{a}from"../../chunk-7ZFZYZSP.js";import{a as b}from"../../chunk-HNCOYMS5.js";import"../../chunk-LNV36S6D.js";import{a as c}from"../../chunk-U6LRMWRI.js";import{a as d}from"../../chunk-PZAYG2DF.js";import"../../chunk-VB6KFDBL.js";import"../../chunk-MSEHAEEK.js";import"../../chunk-BI4RFXFL.js";import"../../chunk-XGRFWXUU.js";import"../../chunk-SNECOPBD.js";import"../../chunk-NAF6LRSS.js";import"../../chunk-D5AO6SOM.js";import"../../chunk-AS6KFUXS.js";import"../../chunk-BYDQHL6O.js";import"../../chunk-MP3VDCI7.js";import"../../chunk-6H4634RG.js";import"../../chunk-G5O2CM6V.js";import"../../chunk-CWAFRJAQ.js";import"../../chunk-VIGKOVHP.js";import"../../chunk-H2RAK6F7.js";import"../../chunk-X6ZAR7ZL.js";import"../../chunk-TSPDJUGG.js";import"../../chunk-Z5WMKCRJ.js";import"../../chunk-D5AR26AI.js";import"../../chunk-TVZAFTPT.js";import"../../chunk-KQPDXXG3.js";import"../../chunk-P37U34EQ.js";export{a as ContractAmendmentConfirmationForm,e as ContractAmendmentFlow,b as ContractAmendmentForm,c as ContractAmendmentSubmit,d as useContractAmendment};
1
+ import"../../chunk-A7ZJQCNU.js";import{a as e}from"../../chunk-XHZHFM2J.js";import{a}from"../../chunk-VDVWAYXP.js";import{a as b}from"../../chunk-O6H23YQW.js";import"../../chunk-KFYWUBRS.js";import{a as c}from"../../chunk-U6LRMWRI.js";import{a as d}from"../../chunk-K56VMRZ5.js";import"../../chunk-5EDCZGZV.js";import"../../chunk-TFJOJCCS.js";import"../../chunk-4EDPYN5F.js";import"../../chunk-CEIDSIMA.js";import"../../chunk-ACKYD4QC.js";import"../../chunk-JMDINYDB.js";import"../../chunk-FFVTWWGX.js";import"../../chunk-UZNF4JV3.js";import"../../chunk-2UZ72KAQ.js";import"../../chunk-XADVV6OP.js";import"../../chunk-CLAVZQBC.js";import"../../chunk-AMSYQQG7.js";import"../../chunk-72RFYT5Y.js";import"../../chunk-R47Q7R6C.js";import"../../chunk-OSQ6VUDM.js";import"../../chunk-TSPDJUGG.js";import"../../chunk-626FTNKA.js";import"../../chunk-D5AR26AI.js";import"../../chunk-TVZAFTPT.js";import"../../chunk-KQPDXXG3.js";import"../../chunk-P37U34EQ.js";export{a as ContractAmendmentConfirmationForm,e as ContractAmendmentFlow,b as ContractAmendmentForm,c as ContractAmendmentSubmit,d as useContractAmendment};
2
2
  //# sourceMappingURL=index.js.map