@remoteoss/remote-flows 1.23.0 → 1.24.1

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 (288) hide show
  1. package/README.md +0 -4
  2. package/dist/CheckboxFieldDefault-55JIXW4D.js +2 -0
  3. package/dist/CountryFieldDefault-NX5GNCKS.js +2 -0
  4. package/dist/DatePickerFieldDefault-PRJ4Z72O.js +2 -0
  5. package/dist/EmailFieldDefault-TFQ5SQVC.js +2 -0
  6. package/dist/FileUploadFieldDefault-7ETO2SEZ.js +2 -0
  7. package/dist/MultiSelectFieldDefault-5TL5SL7W.js +2 -0
  8. package/dist/NumberFieldDefault-L7J22NRQ.js +2 -0
  9. package/dist/RadioGroupFieldDefault-B2ZRFHJ4.js +2 -0
  10. package/dist/SelectFieldDefault-AT6LLZNX.js +2 -0
  11. package/dist/TextAreaFieldDefault-2TV3WHKH.js +2 -0
  12. package/dist/TextFieldDefault-2GEILZPU.js +2 -0
  13. package/dist/WorkScheduleFieldDefault-XH4AEXSM.js +2 -0
  14. package/dist/{chunk-3MLYDDLK.js → chunk-2AYGZ4RY.js} +2 -2
  15. package/dist/{chunk-ITTXYDGV.js → chunk-2K2RK7RF.js} +2 -2
  16. package/dist/{chunk-VXMLYWZ2.js → chunk-2V4CTIAG.js} +2 -2
  17. package/dist/{chunk-2PDHYTZ2.js → chunk-4FMQTOXJ.js} +2 -2
  18. package/dist/{chunk-HVOYAQHI.js → chunk-6GCLDEJP.js} +2 -2
  19. package/dist/chunk-6GCLDEJP.js.map +1 -0
  20. package/dist/{chunk-HJ7WOTV7.js → chunk-6H4634RG.js} +2 -2
  21. package/dist/{chunk-4Q2FKKQU.js → chunk-6QEF52IP.js} +2 -2
  22. package/dist/{chunk-RKGD6XC7.js → chunk-7BGANM2R.js} +2 -2
  23. package/dist/{chunk-X6CON4YE.js → chunk-7QXULBD7.js} +2 -2
  24. package/dist/{chunk-S42DBWAF.js → chunk-7SO6WCYM.js} +2 -2
  25. package/dist/{chunk-AKFNSADJ.js → chunk-7V2QPZ2F.js} +2 -2
  26. package/dist/{chunk-6ORP3EVR.js → chunk-7ZFZYZSP.js} +2 -2
  27. package/dist/{chunk-VHLCM6IM.js → chunk-ADTGWDQ7.js} +2 -2
  28. package/dist/{chunk-AOSXULKY.js → chunk-AS6KFUXS.js} +2 -2
  29. package/dist/{chunk-JVHQ5EG3.js → chunk-AS77PXWM.js} +2 -2
  30. package/dist/{chunk-TGQTFWAB.js → chunk-B4E43MXD.js} +2 -2
  31. package/dist/chunk-BI4RFXFL.js +2 -0
  32. package/dist/chunk-BI4RFXFL.js.map +1 -0
  33. package/dist/{chunk-EFRT6C7V.js → chunk-BNQFPYNQ.js} +2 -2
  34. package/dist/{chunk-D5ABWBC6.js → chunk-BZAO32QW.js} +2 -2
  35. package/dist/{chunk-O6H66UM2.js → chunk-C32W6TCT.js} +2 -2
  36. package/dist/chunk-C4MRFGQG.js +2 -0
  37. package/dist/chunk-C4MRFGQG.js.map +1 -0
  38. package/dist/{chunk-6PYJAPM2.js → chunk-CKVI2UDU.js} +2 -2
  39. package/dist/chunk-CWAFRJAQ.js +2 -0
  40. package/dist/chunk-CWAFRJAQ.js.map +1 -0
  41. package/dist/{chunk-JEGVULKU.js → chunk-D5AO6SOM.js} +2 -2
  42. package/dist/{chunk-JEGVULKU.js.map → chunk-D5AO6SOM.js.map} +1 -1
  43. package/dist/chunk-DZXU45AS.js +2 -0
  44. package/dist/chunk-DZXU45AS.js.map +1 -0
  45. package/dist/{chunk-MGY23P25.js → chunk-ECGWCDC3.js} +2 -2
  46. package/dist/chunk-FAIEJW57.js +2 -0
  47. package/dist/{chunk-YHQQSL4Q.js.map → chunk-FAIEJW57.js.map} +1 -1
  48. package/dist/{chunk-YHCH57B7.js → chunk-G5O2CM6V.js} +2 -2
  49. package/dist/{chunk-JIW2JK7J.js → chunk-GOTY4N6S.js} +2 -2
  50. package/dist/{chunk-WQ4H5V7U.js → chunk-H2RAK6F7.js} +1 -1
  51. package/dist/chunk-H2RAK6F7.js.map +1 -0
  52. package/dist/{chunk-DNVTXLTP.js → chunk-H5PRUDCX.js} +2 -2
  53. package/dist/chunk-H5QXOIKS.js +2 -0
  54. package/dist/{chunk-TFSRZOMP.js.map → chunk-H5QXOIKS.js.map} +1 -1
  55. package/dist/{chunk-D4TLSPX5.js → chunk-HDH5PEOK.js} +2 -2
  56. package/dist/chunk-HDH5PEOK.js.map +1 -0
  57. package/dist/{chunk-4J36XOH2.js → chunk-HIFEVMKP.js} +2 -2
  58. package/dist/{chunk-JNMD7SWN.js → chunk-HNCOYMS5.js} +2 -2
  59. package/dist/{chunk-KEFIHTZ2.js → chunk-IJ2BGCAF.js} +2 -2
  60. package/dist/{chunk-2MTSUYN6.js → chunk-JF3KLAB5.js} +2 -2
  61. package/dist/{chunk-U33Q35CB.js → chunk-JI5PQLWS.js} +2 -2
  62. package/dist/{chunk-CJG77FUT.js → chunk-JKB4KOVF.js} +2 -2
  63. package/dist/{chunk-H3HNBOAE.js → chunk-JQJBDHAL.js} +2 -2
  64. package/dist/{chunk-GRE4RCPB.js → chunk-JTMJKRH7.js} +2 -2
  65. package/dist/chunk-JTMJKRH7.js.map +1 -0
  66. package/dist/{chunk-TJHW5QSC.js → chunk-K4YQQMHD.js} +2 -2
  67. package/dist/{chunk-D5K4NBOG.js → chunk-K5Y67GIG.js} +2 -2
  68. package/dist/{chunk-4EFT4EBW.js → chunk-KKMW7Q42.js} +2 -2
  69. package/dist/{chunk-5MDNW5H7.js → chunk-KM7CQTD5.js} +2 -2
  70. package/dist/{chunk-OIBZ7VUR.js → chunk-KXT6ACFL.js} +2 -2
  71. package/dist/{chunk-JAZLNJM3.js → chunk-LSVH4U4W.js} +2 -2
  72. package/dist/{chunk-ZEJRVVLJ.js → chunk-MG4PHNSS.js} +2 -2
  73. package/dist/{chunk-YIOLMWB5.js → chunk-MSEHAEEK.js} +2 -2
  74. package/dist/{chunk-S5VSWHJY.js → chunk-NAF6LRSS.js} +2 -2
  75. package/dist/{chunk-JJMBP6FU.js → chunk-NKMO2WW3.js} +2 -2
  76. package/dist/{chunk-TV2NNJVO.js → chunk-NNFWLL7F.js} +2 -2
  77. package/dist/{chunk-FXTOBTW4.js → chunk-OK2NP3L5.js} +2 -2
  78. package/dist/{chunk-WWXX3PU7.js → chunk-OQ5WZBDA.js} +2 -2
  79. package/dist/{chunk-HFQAVCD2.js → chunk-OWUINMZP.js} +2 -2
  80. package/dist/{chunk-5QOEBELF.js → chunk-PZAYG2DF.js} +2 -2
  81. package/dist/{chunk-KO264IE2.js → chunk-QLYFMDLB.js} +2 -2
  82. package/dist/{chunk-UEDPRIG7.js → chunk-R3BBN7TV.js} +2 -2
  83. package/dist/{chunk-HNTEGDI2.js → chunk-RDYN6W2A.js} +2 -2
  84. package/dist/{chunk-V3ZGBTES.js → chunk-SADMJJDB.js} +2 -2
  85. package/dist/{chunk-GECXYMDU.js → chunk-SXKIRVA2.js} +2 -2
  86. package/dist/{chunk-UVBIRNQ4.js → chunk-SXM3GJ5M.js} +2 -2
  87. package/dist/{chunk-M7KQPXCS.js → chunk-T4YYYCSD.js} +2 -2
  88. package/dist/{chunk-7DRY6YCN.js → chunk-TNYFIB6U.js} +2 -2
  89. package/dist/{chunk-NI3CJNG3.js → chunk-UJXUKEQU.js} +2 -2
  90. package/dist/chunk-UMLRTS3B.js +2 -0
  91. package/dist/chunk-UMLRTS3B.js.map +1 -0
  92. package/dist/{chunk-DPRCPBRB.js → chunk-UOA5WU4S.js} +2 -2
  93. package/dist/{chunk-X6PTF3PD.js → chunk-UQBKFWUI.js} +2 -2
  94. package/dist/{chunk-SQPCNBJC.js → chunk-VB6KFDBL.js} +2 -2
  95. package/dist/{chunk-ROQYHTFQ.js → chunk-VK7T332E.js} +2 -2
  96. package/dist/{chunk-4EU3AWEX.js → chunk-VWBA3U4U.js} +2 -2
  97. package/dist/{chunk-IN74TK34.js → chunk-VY6W6W6F.js} +2 -2
  98. package/dist/chunk-W6OOI5NF.js +2 -0
  99. package/dist/{chunk-PVZTOW7Z.js.map → chunk-W6OOI5NF.js.map} +1 -1
  100. package/dist/{chunk-K5HZE7M6.js → chunk-WFZGKBFS.js} +2 -2
  101. package/dist/{chunk-TRBEYNRN.js → chunk-WRRTZ2AL.js} +2 -2
  102. package/dist/{chunk-R7G5G45H.js → chunk-XBPTFEGC.js} +2 -2
  103. package/dist/chunk-XGRFWXUU.js +2 -0
  104. package/dist/chunk-XGRFWXUU.js.map +1 -0
  105. package/dist/chunk-YMJ3HQTG.js +2 -0
  106. package/dist/chunk-YMJ3HQTG.js.map +1 -0
  107. package/dist/{chunk-VL5TI4XT.js → chunk-YOFBRZUZ.js} +2 -2
  108. package/dist/default-components.js +1 -1
  109. package/dist/default-components.js.map +1 -1
  110. package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.js +1 -1
  111. package/dist/flows/ContractAmendment/ContractAmendmentFlow.js +1 -1
  112. package/dist/flows/ContractAmendment/ContractAmendmentForm.js +1 -1
  113. package/dist/flows/ContractAmendment/hooks.js +1 -1
  114. package/dist/flows/ContractAmendment/index.js +1 -1
  115. package/dist/flows/ContractAmendment/utils.js +1 -1
  116. package/dist/flows/ContractorOnboarding/ContractorOnboarding.js +1 -1
  117. package/dist/flows/ContractorOnboarding/api.js +1 -1
  118. package/dist/flows/ContractorOnboarding/components/BasicInformationStep.js +1 -1
  119. package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.js +1 -1
  120. package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.js +1 -1
  121. package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.js +1 -1
  122. package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.js +1 -1
  123. package/dist/flows/ContractorOnboarding/components/OnboardingInvite.js +1 -1
  124. package/dist/flows/ContractorOnboarding/components/PricingPlan.js +1 -1
  125. package/dist/flows/ContractorOnboarding/components/SelectCountryStep.js +1 -1
  126. package/dist/flows/ContractorOnboarding/hooks.js +1 -1
  127. package/dist/flows/ContractorOnboarding/index.js +1 -1
  128. package/dist/flows/ContractorOnboarding/jsfModify.js +1 -1
  129. package/dist/flows/CostCalculator/CostCalculatorFlow.js +1 -1
  130. package/dist/flows/CostCalculator/CostCalculatorForm.js +1 -1
  131. package/dist/flows/CostCalculator/EstimationResults/EstimationResults.js +1 -1
  132. package/dist/flows/CostCalculator/SummaryResults/SummaryResults.js +1 -1
  133. package/dist/flows/CostCalculator/api.js +1 -1
  134. package/dist/flows/CostCalculator/components/SalaryField.js +1 -1
  135. package/dist/flows/CostCalculator/hooks.js +1 -1
  136. package/dist/flows/CostCalculator/index.js +1 -1
  137. package/dist/flows/CostCalculator/utils.js +1 -1
  138. package/dist/flows/CreateCompany/CreateCompany.js +1 -1
  139. package/dist/flows/CreateCompany/api.js +1 -1
  140. package/dist/flows/CreateCompany/components/AddressDetailsStep.js +1 -1
  141. package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.js +1 -1
  142. package/dist/flows/CreateCompany/components/CreateCompanyForm.js +1 -1
  143. package/dist/flows/CreateCompany/hooks.js +1 -1
  144. package/dist/flows/CreateCompany/index.js +1 -1
  145. package/dist/flows/Onboarding/OnboardingFlow.js +1 -1
  146. package/dist/flows/Onboarding/api.js +1 -1
  147. package/dist/flows/Onboarding/components/AnnualGrossSalary.js +1 -1
  148. package/dist/flows/Onboarding/components/BasicInformationStep.js +1 -1
  149. package/dist/flows/Onboarding/components/BenefitsStep.js +1 -1
  150. package/dist/flows/Onboarding/components/ContractDetailsStep.js +1 -1
  151. package/dist/flows/Onboarding/components/OnboardingForm.js +1 -1
  152. package/dist/flows/Onboarding/components/OnboardingInvite.js +1 -1
  153. package/dist/flows/Onboarding/components/SelectCountryStep.js +1 -1
  154. package/dist/flows/Onboarding/hooks.js +1 -1
  155. package/dist/flows/Onboarding/index.js +1 -1
  156. package/dist/flows/Termination/AdditionalDetailsForm.js +1 -1
  157. package/dist/flows/Termination/EmployeeComunicationForm.js +1 -1
  158. package/dist/flows/Termination/PaidTimeOffForm.js +1 -1
  159. package/dist/flows/Termination/TerminationDetailsForm.js +1 -1
  160. package/dist/flows/Termination/TerminationFlow.js +1 -1
  161. package/dist/flows/Termination/TerminationForm.js +1 -1
  162. package/dist/flows/Termination/api.js +1 -1
  163. package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformation.js +1 -1
  164. package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformationFees.js +1 -1
  165. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.js +1 -1
  166. package/dist/flows/Termination/components/TerminationDialogInfoContent/TerminationDialogInfoContent.js +1 -1
  167. package/dist/flows/Termination/hooks.js +1 -1
  168. package/dist/flows/Termination/index.js +1 -1
  169. package/dist/index.css +1 -1
  170. package/dist/index.css.map +1 -1
  171. package/dist/index.js +2 -2
  172. package/dist/index.js.map +1 -1
  173. package/dist/internals.d.ts +4 -2
  174. package/dist/internals.js +1 -1
  175. package/dist/styles.css +1 -1
  176. package/dist/styles.css.map +1 -1
  177. package/package.json +12 -9
  178. package/dist/CheckboxFieldDefault-SZZQUVAM.js +0 -2
  179. package/dist/CountryFieldDefault-IBVQJVMW.js +0 -2
  180. package/dist/DatePickerFieldDefault-5LEOVIM2.js +0 -2
  181. package/dist/EmailFieldDefault-2PMSDIXF.js +0 -2
  182. package/dist/FileUploadFieldDefault-Y2ZYBSTV.js +0 -2
  183. package/dist/MultiSelectFieldDefault-UK7652MS.js +0 -2
  184. package/dist/NumberFieldDefault-C5V6POQ7.js +0 -2
  185. package/dist/RadioGroupFieldDefault-DNESPKMT.js +0 -2
  186. package/dist/SelectFieldDefault-4KQUV57C.js +0 -2
  187. package/dist/TextAreaFieldDefault-5P2MEQUR.js +0 -2
  188. package/dist/TextFieldDefault-PMCQSPPT.js +0 -2
  189. package/dist/WorkScheduleFieldDefault-SR3G37MN.js +0 -2
  190. package/dist/chunk-6AAV34CT.js +0 -2
  191. package/dist/chunk-6AAV34CT.js.map +0 -1
  192. package/dist/chunk-7EONM7HL.js +0 -2
  193. package/dist/chunk-7EONM7HL.js.map +0 -1
  194. package/dist/chunk-D4TLSPX5.js.map +0 -1
  195. package/dist/chunk-EOMVTXER.js +0 -2
  196. package/dist/chunk-EOMVTXER.js.map +0 -1
  197. package/dist/chunk-GRE4RCPB.js.map +0 -1
  198. package/dist/chunk-HVOYAQHI.js.map +0 -1
  199. package/dist/chunk-LU265KXN.js +0 -2
  200. package/dist/chunk-LU265KXN.js.map +0 -1
  201. package/dist/chunk-PVZTOW7Z.js +0 -2
  202. package/dist/chunk-RGLQY27T.js +0 -2
  203. package/dist/chunk-RGLQY27T.js.map +0 -1
  204. package/dist/chunk-TFSRZOMP.js +0 -2
  205. package/dist/chunk-U4QOJDBZ.js +0 -2
  206. package/dist/chunk-U4QOJDBZ.js.map +0 -1
  207. package/dist/chunk-UTLIN5S6.js +0 -2
  208. package/dist/chunk-UTLIN5S6.js.map +0 -1
  209. package/dist/chunk-VKQQKGGY.js +0 -2
  210. package/dist/chunk-VKQQKGGY.js.map +0 -1
  211. package/dist/chunk-WQ4H5V7U.js.map +0 -1
  212. package/dist/chunk-YHQQSL4Q.js +0 -2
  213. /package/dist/{CheckboxFieldDefault-SZZQUVAM.js.map → CheckboxFieldDefault-55JIXW4D.js.map} +0 -0
  214. /package/dist/{CountryFieldDefault-IBVQJVMW.js.map → CountryFieldDefault-NX5GNCKS.js.map} +0 -0
  215. /package/dist/{DatePickerFieldDefault-5LEOVIM2.js.map → DatePickerFieldDefault-PRJ4Z72O.js.map} +0 -0
  216. /package/dist/{EmailFieldDefault-2PMSDIXF.js.map → EmailFieldDefault-TFQ5SQVC.js.map} +0 -0
  217. /package/dist/{FileUploadFieldDefault-Y2ZYBSTV.js.map → FileUploadFieldDefault-7ETO2SEZ.js.map} +0 -0
  218. /package/dist/{MultiSelectFieldDefault-UK7652MS.js.map → MultiSelectFieldDefault-5TL5SL7W.js.map} +0 -0
  219. /package/dist/{NumberFieldDefault-C5V6POQ7.js.map → NumberFieldDefault-L7J22NRQ.js.map} +0 -0
  220. /package/dist/{RadioGroupFieldDefault-DNESPKMT.js.map → RadioGroupFieldDefault-B2ZRFHJ4.js.map} +0 -0
  221. /package/dist/{SelectFieldDefault-4KQUV57C.js.map → SelectFieldDefault-AT6LLZNX.js.map} +0 -0
  222. /package/dist/{TextAreaFieldDefault-5P2MEQUR.js.map → TextAreaFieldDefault-2TV3WHKH.js.map} +0 -0
  223. /package/dist/{TextFieldDefault-PMCQSPPT.js.map → TextFieldDefault-2GEILZPU.js.map} +0 -0
  224. /package/dist/{WorkScheduleFieldDefault-SR3G37MN.js.map → WorkScheduleFieldDefault-XH4AEXSM.js.map} +0 -0
  225. /package/dist/{chunk-3MLYDDLK.js.map → chunk-2AYGZ4RY.js.map} +0 -0
  226. /package/dist/{chunk-ITTXYDGV.js.map → chunk-2K2RK7RF.js.map} +0 -0
  227. /package/dist/{chunk-VXMLYWZ2.js.map → chunk-2V4CTIAG.js.map} +0 -0
  228. /package/dist/{chunk-2PDHYTZ2.js.map → chunk-4FMQTOXJ.js.map} +0 -0
  229. /package/dist/{chunk-HJ7WOTV7.js.map → chunk-6H4634RG.js.map} +0 -0
  230. /package/dist/{chunk-4Q2FKKQU.js.map → chunk-6QEF52IP.js.map} +0 -0
  231. /package/dist/{chunk-RKGD6XC7.js.map → chunk-7BGANM2R.js.map} +0 -0
  232. /package/dist/{chunk-X6CON4YE.js.map → chunk-7QXULBD7.js.map} +0 -0
  233. /package/dist/{chunk-S42DBWAF.js.map → chunk-7SO6WCYM.js.map} +0 -0
  234. /package/dist/{chunk-AKFNSADJ.js.map → chunk-7V2QPZ2F.js.map} +0 -0
  235. /package/dist/{chunk-6ORP3EVR.js.map → chunk-7ZFZYZSP.js.map} +0 -0
  236. /package/dist/{chunk-VHLCM6IM.js.map → chunk-ADTGWDQ7.js.map} +0 -0
  237. /package/dist/{chunk-AOSXULKY.js.map → chunk-AS6KFUXS.js.map} +0 -0
  238. /package/dist/{chunk-JVHQ5EG3.js.map → chunk-AS77PXWM.js.map} +0 -0
  239. /package/dist/{chunk-TGQTFWAB.js.map → chunk-B4E43MXD.js.map} +0 -0
  240. /package/dist/{chunk-EFRT6C7V.js.map → chunk-BNQFPYNQ.js.map} +0 -0
  241. /package/dist/{chunk-D5ABWBC6.js.map → chunk-BZAO32QW.js.map} +0 -0
  242. /package/dist/{chunk-O6H66UM2.js.map → chunk-C32W6TCT.js.map} +0 -0
  243. /package/dist/{chunk-6PYJAPM2.js.map → chunk-CKVI2UDU.js.map} +0 -0
  244. /package/dist/{chunk-MGY23P25.js.map → chunk-ECGWCDC3.js.map} +0 -0
  245. /package/dist/{chunk-YHCH57B7.js.map → chunk-G5O2CM6V.js.map} +0 -0
  246. /package/dist/{chunk-JIW2JK7J.js.map → chunk-GOTY4N6S.js.map} +0 -0
  247. /package/dist/{chunk-DNVTXLTP.js.map → chunk-H5PRUDCX.js.map} +0 -0
  248. /package/dist/{chunk-4J36XOH2.js.map → chunk-HIFEVMKP.js.map} +0 -0
  249. /package/dist/{chunk-JNMD7SWN.js.map → chunk-HNCOYMS5.js.map} +0 -0
  250. /package/dist/{chunk-KEFIHTZ2.js.map → chunk-IJ2BGCAF.js.map} +0 -0
  251. /package/dist/{chunk-2MTSUYN6.js.map → chunk-JF3KLAB5.js.map} +0 -0
  252. /package/dist/{chunk-U33Q35CB.js.map → chunk-JI5PQLWS.js.map} +0 -0
  253. /package/dist/{chunk-CJG77FUT.js.map → chunk-JKB4KOVF.js.map} +0 -0
  254. /package/dist/{chunk-H3HNBOAE.js.map → chunk-JQJBDHAL.js.map} +0 -0
  255. /package/dist/{chunk-TJHW5QSC.js.map → chunk-K4YQQMHD.js.map} +0 -0
  256. /package/dist/{chunk-D5K4NBOG.js.map → chunk-K5Y67GIG.js.map} +0 -0
  257. /package/dist/{chunk-4EFT4EBW.js.map → chunk-KKMW7Q42.js.map} +0 -0
  258. /package/dist/{chunk-5MDNW5H7.js.map → chunk-KM7CQTD5.js.map} +0 -0
  259. /package/dist/{chunk-OIBZ7VUR.js.map → chunk-KXT6ACFL.js.map} +0 -0
  260. /package/dist/{chunk-JAZLNJM3.js.map → chunk-LSVH4U4W.js.map} +0 -0
  261. /package/dist/{chunk-ZEJRVVLJ.js.map → chunk-MG4PHNSS.js.map} +0 -0
  262. /package/dist/{chunk-YIOLMWB5.js.map → chunk-MSEHAEEK.js.map} +0 -0
  263. /package/dist/{chunk-S5VSWHJY.js.map → chunk-NAF6LRSS.js.map} +0 -0
  264. /package/dist/{chunk-JJMBP6FU.js.map → chunk-NKMO2WW3.js.map} +0 -0
  265. /package/dist/{chunk-TV2NNJVO.js.map → chunk-NNFWLL7F.js.map} +0 -0
  266. /package/dist/{chunk-FXTOBTW4.js.map → chunk-OK2NP3L5.js.map} +0 -0
  267. /package/dist/{chunk-WWXX3PU7.js.map → chunk-OQ5WZBDA.js.map} +0 -0
  268. /package/dist/{chunk-HFQAVCD2.js.map → chunk-OWUINMZP.js.map} +0 -0
  269. /package/dist/{chunk-5QOEBELF.js.map → chunk-PZAYG2DF.js.map} +0 -0
  270. /package/dist/{chunk-KO264IE2.js.map → chunk-QLYFMDLB.js.map} +0 -0
  271. /package/dist/{chunk-UEDPRIG7.js.map → chunk-R3BBN7TV.js.map} +0 -0
  272. /package/dist/{chunk-HNTEGDI2.js.map → chunk-RDYN6W2A.js.map} +0 -0
  273. /package/dist/{chunk-V3ZGBTES.js.map → chunk-SADMJJDB.js.map} +0 -0
  274. /package/dist/{chunk-GECXYMDU.js.map → chunk-SXKIRVA2.js.map} +0 -0
  275. /package/dist/{chunk-UVBIRNQ4.js.map → chunk-SXM3GJ5M.js.map} +0 -0
  276. /package/dist/{chunk-M7KQPXCS.js.map → chunk-T4YYYCSD.js.map} +0 -0
  277. /package/dist/{chunk-7DRY6YCN.js.map → chunk-TNYFIB6U.js.map} +0 -0
  278. /package/dist/{chunk-NI3CJNG3.js.map → chunk-UJXUKEQU.js.map} +0 -0
  279. /package/dist/{chunk-DPRCPBRB.js.map → chunk-UOA5WU4S.js.map} +0 -0
  280. /package/dist/{chunk-X6PTF3PD.js.map → chunk-UQBKFWUI.js.map} +0 -0
  281. /package/dist/{chunk-SQPCNBJC.js.map → chunk-VB6KFDBL.js.map} +0 -0
  282. /package/dist/{chunk-ROQYHTFQ.js.map → chunk-VK7T332E.js.map} +0 -0
  283. /package/dist/{chunk-4EU3AWEX.js.map → chunk-VWBA3U4U.js.map} +0 -0
  284. /package/dist/{chunk-IN74TK34.js.map → chunk-VY6W6W6F.js.map} +0 -0
  285. /package/dist/{chunk-K5HZE7M6.js.map → chunk-WFZGKBFS.js.map} +0 -0
  286. /package/dist/{chunk-TRBEYNRN.js.map → chunk-WRRTZ2AL.js.map} +0 -0
  287. /package/dist/{chunk-R7G5G45H.js.map → chunk-XBPTFEGC.js.map} +0 -0
  288. /package/dist/{chunk-VL5TI4XT.js.map → chunk-YOFBRZUZ.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{k as g}from"./chunk-WQ4H5V7U.js";import{a as m,f as u}from"./chunk-VIGKOVHP.js";import{b as f,d as b}from"./chunk-KQPDXXG3.js";import{a as e}from"./chunk-P37U34EQ.js";var P={disclaimerCostCalculator:4668194326797,engagingContractors:43161434169613,employeeOnboardingTimeline:4411262104589,extraPayments:4466822781709,internationalPricing:4410698586893,pricingPlanOptions:43161720465421,ir35Status:42810224523917,remoteFxRate:33271144977421,terminationEmployeeCommunication:4411585179661,terminationNoticePeriods:5831900985613,involuntaryOffboardingServiceCharge:4406932229133,reconciliationInvoice:17604014808589},l=e(r=>`https://support.remote.com/hc/en-us/articles/${r}`,"buildZendeskURL");import{useQuery as y}from"@tanstack/react-query";var k=e((r,t)=>{let{client:i}=b();return y({queryKey:["zendesk-article",r],queryFn:e(async()=>{let n=await g({client:i,path:{id:Number(r)}});if(n.error)throw new Error(n.error.message||"Failed to fetch article");return n},"queryFn"),select:e(n=>{let o=n.data?.data.help_center_article;return o&&{...o,body:u(o.body||"")}},"select"),retry:!1,...t})},"useZendeskArticle");import{jsx as R}from"react/jsx-runtime";var C=e(({Trigger:r,zendeskId:t,open:i,onClose:n})=>{let{components:o}=f(),c=l(t),s=e(()=>{n?.()},"handleClose"),{data:a,isLoading:h,error:w}=k(t,{enabled:i}),p=o?.zendeskDrawer;if(!p)throw new Error("Zendesk drawer component not found");return R(p,{open:i,onClose:s,data:a,isLoading:h,error:w,zendeskURL:c,Trigger:r})},"ZendeskDrawer");import{useState as x}from"react";import{jsx as d}from"react/jsx-runtime";var Z="RemoteFlows__ZendeskTriggerButton text-blue-500 hover:underline inline-block text-xs bg-transparent border-none cursor-pointer p-0";function Q({zendeskId:r,className:t,onClick:i,children:n,external:o=!1}){let[c,s]=x(!1),a=e(()=>{o||s(!0),i?.(r)},"handleClick");return o?d("a",{href:l(r),target:"_blank",rel:"noopener noreferrer",onClick:a,className:m(Z,t),children:n}):d(C,{zendeskId:r,open:c,onClose:()=>s(!1),Trigger:d("button",{onClick:a,className:m(Z,t),children:n})})}e(Q,"ZendeskTriggerButton");export{P as a,Q as b};
2
- //# sourceMappingURL=chunk-YHCH57B7.js.map
1
+ import{a as m,f as u}from"./chunk-VIGKOVHP.js";import{k as g}from"./chunk-H2RAK6F7.js";import{b as f,d as b}from"./chunk-KQPDXXG3.js";import{a as e}from"./chunk-P37U34EQ.js";var P={disclaimerCostCalculator:4668194326797,engagingContractors:43161434169613,employeeOnboardingTimeline:4411262104589,extraPayments:4466822781709,internationalPricing:4410698586893,pricingPlanOptions:43161720465421,ir35Status:42810224523917,remoteFxRate:33271144977421,terminationEmployeeCommunication:4411585179661,terminationNoticePeriods:5831900985613,involuntaryOffboardingServiceCharge:4406932229133,reconciliationInvoice:17604014808589},l=e(r=>`https://support.remote.com/hc/en-us/articles/${r}`,"buildZendeskURL");import{useQuery as y}from"@tanstack/react-query";var k=e((r,t)=>{let{client:i}=b();return y({queryKey:["zendesk-article",r],queryFn:e(async()=>{let n=await g({client:i,path:{id:Number(r)}});if(n.error)throw new Error(n.error.message||"Failed to fetch article");return n},"queryFn"),select:e(n=>{let o=n.data?.data.help_center_article;return o&&{...o,body:u(o.body||"")}},"select"),retry:!1,...t})},"useZendeskArticle");import{jsx as R}from"react/jsx-runtime";var C=e(({Trigger:r,zendeskId:t,open:i,onClose:n})=>{let{components:o}=f(),c=l(t),s=e(()=>{n?.()},"handleClose"),{data:a,isLoading:h,error:w}=k(t,{enabled:i}),p=o?.zendeskDrawer;if(!p)throw new Error("Zendesk drawer component not found");return R(p,{open:i,onClose:s,data:a,isLoading:h,error:w,zendeskURL:c,Trigger:r})},"ZendeskDrawer");import{useState as x}from"react";import{jsx as d}from"react/jsx-runtime";var Z="RemoteFlows__ZendeskTriggerButton text-blue-500 hover:underline inline-block text-xs bg-transparent border-none cursor-pointer p-0";function Q({zendeskId:r,className:t,onClick:i,children:n,external:o=!1}){let[c,s]=x(!1),a=e(()=>{o||s(!0),i?.(r)},"handleClick");return o?d("a",{href:l(r),target:"_blank",rel:"noopener noreferrer",onClick:a,className:m(Z,t),children:n}):d(C,{zendeskId:r,open:c,onClose:()=>s(!1),Trigger:d("button",{onClick:a,className:m(Z,t),children:n})})}e(Q,"ZendeskTriggerButton");export{P as a,Q as b};
2
+ //# sourceMappingURL=chunk-G5O2CM6V.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 w,b as f}from"./chunk-YHCH57B7.js";import{a as C}from"./chunk-TFSRZOMP.js";import{b as B}from"./chunk-MP3VDCI7.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-JIW2JK7J.js.map
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
@@ -3,4 +3,4 @@ import{a as t}from"./chunk-P37U34EQ.js";var N=t((e,r,o)=>{typeof o=="string"||o
3
3
  `);A=F.pop()??"";for(let oe of F){let ne=oe.split(`
4
4
  `),I=[],V;for(let b of ne)if(b.startsWith("data:"))I.push(b.replace(/^data:\s*/,""));else if(b.startsWith("event:"))V=b.replace(/^event:\s*/,"");else if(b.startsWith("id:"))E=b.replace(/^id:\s*/,"");else if(b.startsWith("retry:")){let H=Number.parseInt(b.replace(/^retry:\s*/,""),10);Number.isNaN(H)||(m=H)}let P,M=!1;if(I.length){let b=I.join(`
5
5
  `);try{P=JSON.parse(b),M=!0}catch{P=b}}M&&(i&&await i(P),a&&(P=await a(P))),o?.({data:P,event:V,id:E,retry:m}),I.length&&(yield P)}}}finally{T.removeEventListener("abort",W),w.releaseLock()}break}catch(x){if(r?.(x),c!==void 0&&C>=c)break;let O=Math.min(m*2**(C-1),p??3e4);await g(O)}}},"createStream")()}},"createSseClient");var se=t(e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},"separatorArrayExplode"),ae=t(e=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},"separatorArrayNoExplode"),ie=t(e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},"separatorObjectExplode"),k=t(({allowReserved:e,explode:r,name:o,style:a,value:i})=>{if(!r){let p=(e?i:i.map(l=>encodeURIComponent(l))).join(ae(a));switch(a){case"label":return`.${p}`;case"matrix":return`;${o}=${p}`;case"simple":return p;default:return`${o}=${p}`}}let h=se(a),c=i.map(p=>a==="label"||a==="simple"?e?p:encodeURIComponent(p):R({allowReserved:e,name:o,value:p})).join(h);return a==="label"||a==="matrix"?h+c:c},"serializeArrayParam"),R=t(({allowReserved:e,name:r,value:o})=>{if(o==null)return"";if(typeof o=="object")throw new Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return`${r}=${e?o:encodeURIComponent(o)}`},"serializePrimitiveParam"),U=t(({allowReserved:e,explode:r,name:o,style:a,value:i,valueOnly:h})=>{if(i instanceof Date)return h?i.toISOString():`${o}=${i.toISOString()}`;if(a!=="deepObject"&&!r){let l=[];Object.entries(i).forEach(([s,E])=>{l=[...l,s,e?E:encodeURIComponent(E)]});let d=l.join(",");switch(a){case"form":return`${o}=${d}`;case"label":return`.${d}`;case"matrix":return`;${o}=${d}`;default:return d}}let c=ie(a),p=Object.entries(i).map(([l,d])=>R({allowReserved:e,name:a==="deepObject"?`${o}[${l}]`:l,value:d})).join(c);return a==="label"||a==="matrix"?c+p:p},"serializeObjectParam");var pe=/\{[^{}]+\}/g,ce=t(({path:e,url:r})=>{let o=r,a=r.match(pe);if(a)for(let i of a){let h=!1,c=i.substring(1,i.length-1),p="simple";c.endsWith("*")&&(h=!0,c=c.substring(0,c.length-1)),c.startsWith(".")?(c=c.substring(1),p="label"):c.startsWith(";")&&(c=c.substring(1),p="matrix");let l=e[c];if(l==null)continue;if(Array.isArray(l)){o=o.replace(i,k({explode:h,name:c,style:p,value:l}));continue}if(typeof l=="object"){o=o.replace(i,U({explode:h,name:c,style:p,value:l,valueOnly:!0}));continue}if(p==="matrix"){o=o.replace(i,`;${R({name:c,value:l})}`);continue}let d=encodeURIComponent(p==="label"?`.${l}`:l);o=o.replace(i,d)}return o},"defaultPathSerializer"),$=t(({baseUrl:e,path:r,query:o,querySerializer:a,url:i})=>{let h=i.startsWith("/")?i:`/${i}`,c=(e??"")+h;r&&(c=ce({path:r,url:c}));let p=o?a(o):"";return p.startsWith("?")&&(p=p.substring(1)),p&&(c+=`?${p}`),c},"getUrl");function J(e){let r=e.body!==void 0;if(r&&e.bodySerializer)return"serializedBody"in e?e.serializedBody!==void 0&&e.serializedBody!==""?e.serializedBody:null:e.body!==""?e.body:null;if(r)return e.body}t(J,"getValidRequestBody");var K=t(async(e,r)=>{let o=typeof r=="function"?await r(e):r;if(o)return e.scheme==="bearer"?`Bearer ${o}`:e.scheme==="basic"?`Basic ${btoa(o)}`:o},"getAuthToken");var X=t(({parameters:e={},...r}={})=>t(a=>{let i=[];if(a&&typeof a=="object")for(let h in a){let c=a[h];if(c==null)continue;let p=e[h]||r;if(Array.isArray(c)){let l=k({allowReserved:p.allowReserved,explode:!0,name:h,style:"form",value:c,...p.array});l&&i.push(l)}else if(typeof c=="object"){let l=U({allowReserved:p.allowReserved,explode:!0,name:h,style:"deepObject",value:c,...p.object});l&&i.push(l)}else{let l=R({allowReserved:p.allowReserved,name:h,value:c});l&&i.push(l)}}return i.join("&")},"querySerializer"),"createQuerySerializer"),Y=t(e=>{if(!e)return"stream";let r=e.split(";")[0]?.trim();if(r){if(r.startsWith("application/json")||r.endsWith("+json"))return"json";if(r==="multipart/form-data")return"formData";if(["application/","audio/","image/","video/"].some(o=>r.startsWith(o)))return"blob";if(r.startsWith("text/"))return"text"}},"getParseAs"),le=t((e,r)=>r?!!(e.headers.has(r)||e.query?.[r]||e.headers.get("Cookie")?.includes(`${r}=`)):!1,"checkForExistence"),Z=t(async({security:e,...r})=>{for(let o of e){if(le(r,o.name))continue;let a=await K(o,r.auth);if(!a)continue;let i=o.name??"Authorization";switch(o.in){case"query":r.query||(r.query={}),r.query[i]=a;break;case"cookie":r.headers.append("Cookie",`${i}=${a}`);break;case"header":default:r.headers.set(i,a);break}}},"setAuthParams"),z=t(e=>$({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:X(e.querySerializer),url:e.url}),"buildUrl"),_=t((e,r)=>{let o={...e,...r};return o.baseUrl?.endsWith("/")&&(o.baseUrl=o.baseUrl.substring(0,o.baseUrl.length-1)),o.headers=q(e.headers,r.headers),o},"mergeConfigs"),he=t(e=>{let r=[];return e.forEach((o,a)=>{r.push([a,o])}),r},"headersEntries"),q=t((...e)=>{let r=new Headers;for(let o of e){if(!o)continue;let a=o instanceof Headers?he(o):Object.entries(o);for(let[i,h]of a)if(h===null)r.delete(i);else if(Array.isArray(h))for(let c of h)r.append(i,c);else h!==void 0&&r.set(i,typeof h=="object"?JSON.stringify(h):h)}return r},"mergeHeaders"),G=class{static{t(this,"Interceptors")}fns=[];clear(){this.fns=[]}eject(r){let o=this.getInterceptorIndex(r);this.fns[o]&&(this.fns[o]=null)}exists(r){let o=this.getInterceptorIndex(r);return!!this.fns[o]}getInterceptorIndex(r){return typeof r=="number"?this.fns[r]?r:-1:this.fns.indexOf(r)}update(r,o){let a=this.getInterceptorIndex(r);return this.fns[a]?(this.fns[a]=o,r):!1}use(r){return this.fns.push(r),this.fns.length-1}},ee=t(()=>({error:new G,request:new G,response:new G}),"createInterceptors"),me=X({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),de={"Content-Type":"application/json"},S=t((e={})=>({...j,headers:de,parseAs:"auto",querySerializer:me,...e}),"createConfig");var L=t((e={})=>{let r=_(S(),e),o=t(()=>({...r}),"getConfig"),a=t(d=>(r=_(r,d),o()),"setConfig"),i=ee(),h=t(async d=>{let s={...r,...d,fetch:d.fetch??r.fetch??globalThis.fetch,headers:q(r.headers,d.headers),serializedBody:void 0};s.security&&await Z({...s,security:s.security}),s.requestValidator&&await s.requestValidator(s),s.body!==void 0&&s.bodySerializer&&(s.serializedBody=s.bodySerializer(s.body)),(s.body===void 0||s.serializedBody==="")&&s.headers.delete("Content-Type");let E=z(s);return{opts:s,url:E}},"beforeRequest"),c=t(async d=>{let{opts:s,url:E}=await h(d),g={redirect:"follow",...s,body:J(s)},f=new Request(E,g);for(let y of i.request.fns)y&&(f=await y(f,s));let v=s.fetch,m;try{m=await v(f)}catch(y){let u=y;for(let w of i.error.fns)w&&(u=await w(y,void 0,f,s));if(u=u||{},s.throwOnError)throw u;return s.responseStyle==="data"?void 0:{error:u,request:f,response:void 0}}for(let y of i.response.fns)y&&(m=await y(m,f,s));let C={request:f,response:m};if(m.ok){let y=(s.parseAs==="auto"?Y(m.headers.get("Content-Type")):s.parseAs)??"json";if(m.status===204||m.headers.get("Content-Length")==="0"){let w;switch(y){case"arrayBuffer":case"blob":case"text":w=await m[y]();break;case"formData":w=new FormData;break;case"stream":w=m.body;break;case"json":default:w={};break}return s.responseStyle==="data"?w:{data:w,...C}}let u;switch(y){case"arrayBuffer":case"blob":case"formData":case"json":case"text":u=await m[y]();break;case"stream":return s.responseStyle==="data"?m.body:{data:m.body,...C}}return y==="json"&&(s.responseValidator&&await s.responseValidator(u),s.responseTransformer&&(u=await s.responseTransformer(u))),s.responseStyle==="data"?u:{data:u,...C}}let T=await m.text(),D;try{D=JSON.parse(T)}catch{}let x=D??T,O=x;for(let y of i.error.fns)y&&(O=await y(x,m,f,s));if(O=O||{},s.throwOnError)throw O;return s.responseStyle==="data"?void 0:{error:O,...C}},"request"),p=t(d=>s=>c({...s,method:d}),"makeMethodFn"),l=t(d=>async s=>{let{opts:E,url:g}=await h(s);return Q({...E,body:E.body,headers:E.headers,method:d,onRequest:t(async(f,v)=>{let m=new Request(f,v);for(let C of i.request.fns)C&&(m=await C(m,E));return m},"onRequest"),url:g})},"makeSseFn");return{buildUrl:z,connect:p("CONNECT"),delete:p("DELETE"),get:p("GET"),getConfig:o,head:p("HEAD"),interceptors:i,options:p("OPTIONS"),patch:p("PATCH"),post:p("POST"),put:p("PUT"),request:c,setConfig:a,sse:{connect:l("CONNECT"),delete:l("DELETE"),get:l("GET"),head:l("HEAD"),options:l("OPTIONS"),patch:l("PATCH"),post:l("POST"),put:l("PUT"),trace:l("TRACE")},trace:p("TRACE")}},"createClient");var n=L(S({baseUrl:"https://gateway.remote.com/"}));var He=t(e=>(e?.client??n).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/offboardings",...e,headers:{"Content-Type":"application/json",...e?.headers}}),"postCreateOffboarding");var Ne=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/cancel-onboarding/{employment_id}",...e}),"postUpdateCancelOnboarding"),Qe=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/contract-amendments/schema",...e}),"getShowContractAmendmentSchema");var $e=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/companies/{company_id}/pricing-plans",...e}),"getIndexCompanyPricingPlan");var Je=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/currency-converter/raw",...e,headers:{"Content-Type":"application/json",...e.headers}}),"postConvertRawCurrencyConverter"),Ke=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/countries/{country_code}/contractor-contract-details",...e}),"getShowContractorContractDetailsCountry");var Xe=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/employments",...e,headers:{"Content-Type":"application/json",...e.headers}}),"postCreateEmployment2"),Ye=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/companies/{company_id}/employments/{employment_id}/onboarding-reserves-status",...e}),"getShowCompanyEmploymentOnboardingReservesStatus"),Ze=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/help-center-articles/{id}",...e}),"getShowHelpCenterArticle");var et=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/sdk/telemetry-errors",...e,headers:{"Content-Type":"application/json",...e.headers}}),"postReportErrorsTelemetry");var tt=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/cost-calculator/estimation",...e,headers:{"Content-Type":"application/json",...e.headers}}),"postCreateEstimation");var rt=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/employments/{employment_id}/benefit-offers",...e}),"getIndexBenefitOffer"),ot=t(e=>(e.client??n).put({security:[{scheme:"bearer",type:"http"}],url:"/v1/employments/{employment_id}/benefit-offers",...e,headers:{"Content-Type":"application/json",...e.headers}}),"putUpdateBenefitOffer");var nt=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/contractors/employments/{employment_id}/contractor-subscriptions",...e}),"getIndexSubscription");var st=t(e=>(e?.client??n).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/payroll-calendars",...e}),"getIndexEorPayrollCalendar");var at=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/contractors/employments/{employment_id}/contract-documents/{id}",...e}),"getShowContractDocument"),it=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/employments/{employment_id}/contract-documents",...e}),"getIndexEmploymentContractDocument");var pt=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/contractors/employments/{employment_id}/contractor-currencies",...e}),"getIndexContractorCurrency");var ct=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/magic-link",...e,headers:{"Content-Type":"application/json",...e.headers}}),"postGenerateMagicLink");var lt=t(e=>(e?.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/cost-calculator/estimation-pdf",...e,headers:{"Content-Type":"application/json",...e?.headers}}),"postCreateEstimationPdf");var ht=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/risk-reserve",...e,headers:{"Content-Type":"application/json",...e.headers}}),"postCreateRiskReserve");var mt=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/companies/{company_id}",...e}),"getShowCompany"),dt=t(e=>(e.client??n).patch({security:[{scheme:"bearer",type:"http"}],url:"/v1/companies/{company_id}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"patchUpdateCompany2");var yt=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/contract-amendments",...e,headers:{"Content-Type":"application/json",...e.headers}}),"postCreateContractAmendment");var ut=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/countries/{country_code}/{form}",...e}),"getShowFormCountry"),Et=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/files/{id}",...e}),"getShowFile");var Ct=t(e=>(e?.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/cost-calculator/countries",...e}),"getIndexCountry");var wt=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/leave-policies/summary/{employment_id}",...e}),"getIndexLeavePoliciesSummary");var ft=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/employments/{employment_id}/benefit-offers/schema",...e}),"getShowSchema"),bt=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/contractors/eligibility-questionnaire",...e,headers:{"Content-Type":"application/json",...e.headers}}),"postCreateEligibilityQuestionnaire");var Ot=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/employments/{employment_id}",...e}),"getShowEmployment"),Tt=t(e=>(e.client??n).patch({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/employments/{employment_id}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"patchUpdateEmployment2");var xt=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/cost-calculator/regions/{slug}/fields",...e}),"getShowRegionField");var Pt=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/employments/{employment_id}/contract-eligibility",...e,headers:{"Content-Type":"application/json",...e.headers}}),"postCreateContractEligibility"),Rt=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/countries",...e}),"getSupportedCountry");var gt=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/companies/{company_id}/legal-entities",...e}),"getIndexCompanyLegalEntities");var Dt=t(e=>(e?.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/cost-calculator/estimation-csv",...e,headers:{"Content-Type":"application/json",...e?.headers}}),"postCreateEstimationCsv");var Gt=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/contractors/employments/{employment_id}/contract-documents",...e,headers:{"Content-Type":"application/json",...e.headers}}),"postCreateContractDocument");var St=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/currency-converter/effective",...e,headers:{"Content-Type":"application/json",...e.headers}}),"postConvertWithSpreadCurrencyConverter");var vt=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/contract-amendments/automatable",...e,headers:{"Content-Type":"application/json",...e.headers}}),"postAutomatableContractAmendment");var It=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/employments/{employment_id}/files",...e}),"getIndexEmploymentFile");var kt=t(e=>(e?.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/company-currencies",...e}),"getIndexCompanyCurrency");var Ut=t(e=>(e.client??n).post({...B,security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/documents",...e,headers:{"Content-Type":null,...e.headers}}),"postUploadEmployeeFileFile"),qt=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/employments/{employment_id}/invite",...e}),"postInviteEmploymentInvitation");var At=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/contractors/employments/{employment_id}/contract-documents/{contract_document_id}/sign",...e,headers:{"Content-Type":"application/json",...e.headers}}),"postSignContractDocument"),Bt=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/identity/current",...e}),"getCurrentIdentity");var jt=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/contractors/schemas/eligibility-questionnaire",...e}),"getShowEligibilityQuestionnaire");var zt=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/contractors/employments/{employment_id}/contractor-plus-subscription",...e,headers:{"Content-Type":"application/json",...e.headers}}),"postManageContractorPlusSubscriptionSubscription"),_t=t(e=>(e.client??n).get({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/timeoff",...e}),"getIndexTimeoff");var Lt=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/companies",...e,headers:{"Content-Type":"application/json",...e.headers}}),"postCreateCompany");var Wt=t(e=>(e.client??n).delete({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/contractors/employments/{employment_id}/contractor-cor-subscription",...e}),"deleteDeleteContractorCorSubscriptionSubscription"),Ft=t(e=>(e.client??n).post({security:[{scheme:"bearer",type:"http"},{scheme:"bearer",type:"http"}],url:"/v1/contractors/employments/{employment_id}/contractor-cor-subscription",...e}),"postManageContractorCorSubscriptionSubscription");export{L as a,n as b,He as c,Ne as d,Qe as e,$e as f,Je as g,Ke as h,Xe as i,Ye as j,Ze as k,et as l,tt as m,rt as n,ot as o,nt as p,st as q,at as r,it as s,pt as t,ct as u,lt as v,ht as w,mt as x,dt as y,yt as z,ut as A,Et as B,Ct as C,wt as D,ft as E,bt as F,Ot as G,Tt as H,xt as I,Pt as J,Rt as K,gt as L,Dt as M,Gt as N,St as O,vt as P,It as Q,kt as R,Ut as S,qt as T,At as U,Bt as V,jt as W,zt as X,_t as Y,Lt as Z,Wt as _,Ft as $};
6
- //# sourceMappingURL=chunk-WQ4H5V7U.js.map
6
+ //# sourceMappingURL=chunk-H2RAK6F7.js.map