@remoteoss/remote-flows 1.47.1 → 1.48.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.
- package/dist/ButtonDefault-N32RTG32.js +2 -0
- package/dist/CheckboxFieldDefault-6B33T4XR.js +2 -0
- package/dist/CountryFieldDefault-TVGOKASR.js +2 -0
- package/dist/DatePickerFieldDefault-TH427OH5.js +2 -0
- package/dist/DrawerDefault-E67XIROQ.js +2 -0
- package/dist/EmailFieldDefault-QVKXB67I.js +2 -0
- package/dist/FieldsetToggleButtonDefault-SHDKV2VO.js +2 -0
- package/dist/FileUploadFieldDefault-WB7ITN3G.js +2 -0
- package/dist/ForcedValueFieldDefault-QH76S3ZL.js +2 -0
- package/dist/MultiSelectFieldDefault-T26SUE3J.js +2 -0
- package/dist/NumberFieldDefault-O7OKTFG4.js +2 -0
- package/dist/RadioGroupFieldDefault-ZNWHLCZP.js +2 -0
- package/dist/SelectFieldDefault-LFXATOYZ.js +2 -0
- package/dist/StatementDefault-33EDZARR.js +2 -0
- package/dist/TableFieldDefault-BJIHEN3V.js +2 -0
- package/dist/TelFieldDefault-4FJVSZRV.js +2 -0
- package/dist/TextAreaFieldDefault-QRU4Z4V2.js +2 -0
- package/dist/TextFieldDefault-LFKGGEU3.js +2 -0
- package/dist/TimeFieldDefault-RU75LZ2T.js +2 -0
- package/dist/WorkScheduleFieldDefault-23WY3SVD.js +2 -0
- package/dist/ZendeskDrawerDefault-DC4SUPEC.js +2 -0
- package/dist/{chunk-OHNH7V7X.js → chunk-2FI5CCXQ.js} +2 -2
- package/dist/chunk-2HQDOWW2.js +2 -0
- package/dist/chunk-2HQDOWW2.js.map +1 -0
- package/dist/{chunk-LQFLXXBR.js → chunk-2QVO3BVI.js} +2 -2
- package/dist/{chunk-DDH7MZ7M.js → chunk-2W354SK7.js} +2 -2
- package/dist/{chunk-6PDBJULN.js → chunk-32UP2UFU.js} +2 -2
- package/dist/{chunk-CD2QYFEH.js → chunk-364G255Q.js} +2 -2
- package/dist/{chunk-YDL42SVF.js → chunk-36JXX3VA.js} +2 -2
- package/dist/{chunk-WDO7XH6B.js → chunk-3OLZMSGR.js} +2 -2
- package/dist/{chunk-Y62UA5CG.js → chunk-3YILMVSP.js} +2 -2
- package/dist/{chunk-RRERBS7F.js → chunk-4BHEQMZV.js} +2 -2
- package/dist/{chunk-MJ6Z7ARR.js → chunk-4E5YP5GD.js} +2 -2
- package/dist/{chunk-C6AWXQ67.js → chunk-4F7TGLUT.js} +2 -2
- package/dist/chunk-4IDFJ6DS.js +2 -0
- package/dist/chunk-4IDFJ6DS.js.map +1 -0
- package/dist/{chunk-2NWQ32VQ.js → chunk-5BJXFWKN.js} +2 -2
- package/dist/{chunk-6QEAL5BB.js → chunk-5IIFCA3F.js} +2 -2
- package/dist/{chunk-Y7PBPPUC.js → chunk-5IMEZZMR.js} +2 -2
- package/dist/{chunk-AES7DMIQ.js → chunk-5OEO67O2.js} +2 -2
- package/dist/{chunk-SU4FMKBZ.js → chunk-5X2OXK7T.js} +2 -2
- package/dist/{chunk-ATRYDXM2.js → chunk-5YOH2HJ5.js} +2 -2
- package/dist/{chunk-ELXRJXQZ.js → chunk-6VBUWE25.js} +2 -2
- package/dist/{chunk-BGEDMAHU.js → chunk-6VEWI4G2.js} +2 -2
- package/dist/{chunk-NGV62VYV.js → chunk-76TJCXAW.js} +2 -2
- package/dist/{chunk-LT5KIEQH.js → chunk-7EOTDIJI.js} +2 -2
- package/dist/{chunk-P32JWGIE.js → chunk-7G6XS63Q.js} +2 -2
- package/dist/{chunk-FPV6S2OQ.js → chunk-7PWXGPXZ.js} +2 -2
- package/dist/{chunk-AAOU5HS2.js → chunk-7RLRU3VM.js} +2 -2
- package/dist/{chunk-2DRF5M3J.js → chunk-7UWA3JTM.js} +2 -2
- package/dist/{chunk-62VYULBI.js → chunk-7YACR6OA.js} +2 -2
- package/dist/{chunk-HOEP5XXW.js → chunk-7ZQYMDNU.js} +2 -2
- package/dist/{chunk-BODQC6OK.js → chunk-A7U3KJIP.js} +2 -2
- package/dist/{chunk-WQS5JWRA.js → chunk-AFKB7Z3G.js} +2 -2
- package/dist/{chunk-PMCCHSXD.js → chunk-APUJLKUM.js} +2 -2
- package/dist/{chunk-LKTCYO6Y.js → chunk-ASKPQZY2.js} +2 -2
- package/dist/{chunk-4FGKIGKF.js → chunk-AUPAAQUT.js} +2 -2
- package/dist/{chunk-ZHFUFIWX.js → chunk-B3MEKP45.js} +2 -2
- package/dist/{chunk-4X7TVFHA.js → chunk-B4O5YUYL.js} +2 -2
- package/dist/{chunk-4EZST3RL.js → chunk-B7XTWLRI.js} +2 -2
- package/dist/{chunk-Y3G3JGLP.js → chunk-BHTFKQJO.js} +2 -2
- package/dist/{chunk-UCBZMQGL.js → chunk-BUR3X6FL.js} +2 -2
- package/dist/{chunk-W3GEGGZY.js → chunk-BXR3EF3L.js} +2 -2
- package/dist/{chunk-ZG2AYULT.js → chunk-C3YSF5RT.js} +2 -2
- package/dist/chunk-C4HFMTSB.js +2 -0
- package/dist/chunk-C4HFMTSB.js.map +1 -0
- package/dist/{chunk-FQFIRIKU.js → chunk-CEFR62S6.js} +2 -2
- package/dist/{chunk-LVZ5DNTO.js → chunk-CETQLSZY.js} +2 -2
- package/dist/{chunk-KV2B2CRW.js → chunk-CHTCJQJ3.js} +2 -2
- package/dist/{chunk-ZF46HCMZ.js → chunk-CNQXPZJB.js} +2 -2
- package/dist/{chunk-QO7HHRNA.js → chunk-D7MYOH3P.js} +2 -2
- package/dist/{chunk-JNXNTCPZ.js → chunk-DH2NHUZU.js} +2 -2
- package/dist/{chunk-QVULYOKK.js → chunk-DHS5QMH6.js} +2 -2
- package/dist/{chunk-7FBX3RI4.js → chunk-EACCMXD5.js} +2 -2
- package/dist/{chunk-MJZCTG7C.js → chunk-EP3DUVMU.js} +2 -2
- package/dist/{chunk-QXXVWOOB.js → chunk-FJNQ64SB.js} +2 -2
- package/dist/{chunk-E5MKB67X.js → chunk-FLX72WFD.js} +2 -2
- package/dist/{chunk-DO352QQL.js → chunk-FXVLXN2B.js} +2 -2
- package/dist/{chunk-3HGUMECW.js → chunk-GBVBMT3H.js} +2 -2
- package/dist/{chunk-2W7O4FMW.js → chunk-GMCJXDUP.js} +2 -2
- package/dist/{chunk-R4JUCNE4.js → chunk-GMSYO53D.js} +2 -2
- package/dist/{chunk-KCE6IU5X.js → chunk-GSGCFKOZ.js} +2 -2
- package/dist/{chunk-75HIK6IG.js → chunk-GTZ35W3E.js} +2 -2
- package/dist/{chunk-KLBFDP5I.js → chunk-GVQ7UXVW.js} +2 -2
- package/dist/{chunk-2EM7DTD6.js → chunk-H3JVB7GS.js} +2 -2
- package/dist/{chunk-TZIDQ5O3.js → chunk-HBONR7VY.js} +2 -2
- package/dist/{chunk-75ZSFK7I.js → chunk-HCL7WLOR.js} +2 -2
- package/dist/{chunk-NDWVOVDM.js → chunk-HDFAFTHC.js} +2 -2
- package/dist/{chunk-NFLN2YB6.js → chunk-HI6GH4J7.js} +2 -2
- package/dist/{chunk-JH3WUGO5.js → chunk-HKNQKO5Y.js} +2 -2
- package/dist/{chunk-HYWQLLZC.js → chunk-HMJ4PIDI.js} +2 -2
- package/dist/{chunk-WE2AFK6Y.js → chunk-HNJ7ZFEU.js} +2 -2
- package/dist/{chunk-NOQWN76W.js → chunk-ISETCY2V.js} +2 -2
- package/dist/{chunk-KTOVE7ZS.js → chunk-JBAKDTGM.js} +2 -2
- package/dist/{chunk-STJU6LZF.js → chunk-JGKYFH4L.js} +2 -2
- package/dist/{chunk-DLSHZLHX.js → chunk-JJUOWS3K.js} +2 -2
- package/dist/{chunk-C6I7R7ZH.js → chunk-JP5GXWXT.js} +2 -2
- package/dist/{chunk-3ISSVSL5.js → chunk-JXPMQMTT.js} +2 -2
- package/dist/{chunk-O4MWPCG5.js → chunk-KBD6W5FL.js} +2 -2
- package/dist/{chunk-RKXF7Q7V.js → chunk-KBYI7L5E.js} +2 -2
- package/dist/{chunk-2BYDZSR5.js → chunk-KFTMJ253.js} +2 -2
- package/dist/{chunk-VZ34NZXF.js → chunk-LFUMRNDK.js} +2 -2
- package/dist/{chunk-BC4V2YAK.js → chunk-LKHRHBFP.js} +2 -2
- package/dist/{chunk-QZZJE6P7.js → chunk-LWLFJAG6.js} +2 -2
- package/dist/{chunk-CT7POXIP.js → chunk-MS63VN5N.js} +2 -2
- package/dist/{chunk-KR7PDSUA.js → chunk-NKGJZNXL.js} +2 -2
- package/dist/{chunk-A75HEHRS.js → chunk-OK2ZZ6NK.js} +2 -2
- package/dist/{chunk-BQDYFFER.js → chunk-OKABTWB3.js} +2 -2
- package/dist/{chunk-VMRTLZQL.js → chunk-OLBMZGOC.js} +2 -2
- package/dist/{chunk-WJ7BE4TU.js → chunk-ONUE4K6F.js} +2 -2
- package/dist/{chunk-EHAAVSJM.js → chunk-OPGC7BSY.js} +2 -2
- package/dist/{chunk-HQLGDW2G.js → chunk-OV4ARZIX.js} +2 -2
- package/dist/{chunk-LUADE5XK.js → chunk-PJ2MZ6FH.js} +2 -2
- package/dist/{chunk-VUKUBHHU.js → chunk-PQHXX3ZN.js} +2 -2
- package/dist/{chunk-NQWB6O7Z.js → chunk-PUK2TIQX.js} +2 -2
- package/dist/{chunk-CM4UUBU5.js → chunk-PVORGGT3.js} +2 -2
- package/dist/{chunk-MW5JVH3X.js → chunk-PZWP6ZVL.js} +2 -2
- package/dist/{chunk-DGHXBSBS.js → chunk-Q2JINYSB.js} +2 -2
- package/dist/{chunk-FHDMPQNW.js → chunk-Q2MGM4I2.js} +2 -2
- package/dist/{chunk-WOARN6WG.js → chunk-Q4X35JRA.js} +2 -2
- package/dist/{chunk-ULCAT6MG.js → chunk-QA6YA4OB.js} +2 -2
- package/dist/{chunk-HLLM7OZN.js → chunk-QJHSN6MG.js} +2 -2
- package/dist/{chunk-UWSG45OM.js → chunk-QN6OMOUW.js} +2 -2
- package/dist/{chunk-HFFQ642D.js → chunk-QRSWXKRV.js} +2 -2
- package/dist/{chunk-ORXD3SB2.js → chunk-RDDQ5XMI.js} +2 -2
- package/dist/{chunk-RT7MYFKW.js → chunk-RJ7BWEDB.js} +2 -2
- package/dist/{chunk-WXLKMK53.js → chunk-RPRRMRCO.js} +2 -2
- package/dist/{chunk-SYSVKYHX.js → chunk-S64P7IA7.js} +2 -2
- package/dist/{chunk-XI5G4SGA.js → chunk-SL5WZ76A.js} +2 -2
- package/dist/{chunk-4AJD5YEN.js → chunk-SNEUIWQE.js} +2 -2
- package/dist/{chunk-AHUSQVQY.js → chunk-SWLNTVAX.js} +2 -2
- package/dist/{chunk-GPY3JZJJ.js → chunk-SXW4FROO.js} +2 -2
- package/dist/{chunk-5EWUWRPW.js → chunk-TFBJMECV.js} +2 -2
- package/dist/{chunk-XDPAVB5E.js → chunk-TVNBMBTY.js} +2 -2
- package/dist/{chunk-OEPT3ASY.js → chunk-TYCOSAU4.js} +2 -2
- package/dist/{chunk-CZU4U3LY.js → chunk-U74P6WCT.js} +2 -2
- package/dist/{chunk-CNXDC3M7.js → chunk-UEJU2A57.js} +2 -2
- package/dist/{chunk-H3JAWJOE.js → chunk-UOA3M7EJ.js} +2 -2
- package/dist/{chunk-IUJRGT3T.js → chunk-UTQDJNOV.js} +2 -2
- package/dist/{chunk-G3QDDD53.js → chunk-UZFEJMO6.js} +2 -2
- package/dist/{chunk-PXBJVZ6I.js → chunk-VBWACHT3.js} +2 -2
- package/dist/{chunk-LZM3BNK3.js → chunk-VT5V3C6T.js} +2 -2
- package/dist/{chunk-OEQXIWJJ.js → chunk-VWWVLK5C.js} +2 -2
- package/dist/{chunk-IQZ63FQX.js → chunk-VY64RMAF.js} +2 -2
- package/dist/{chunk-BGSB3XPW.js → chunk-W5WYIDDY.js} +2 -2
- package/dist/{chunk-EGIXB43W.js → chunk-WLZRAEPQ.js} +2 -2
- package/dist/{chunk-73ALSVRF.js → chunk-WXKFXIMQ.js} +2 -2
- package/dist/{chunk-OGRQ3NTD.js → chunk-WXTEP5PE.js} +2 -2
- package/dist/{chunk-V2ZDW66A.js → chunk-WYP2CB4I.js} +2 -2
- package/dist/{chunk-37CRJPVL.js → chunk-X536XUYT.js} +2 -2
- package/dist/{chunk-DLCEEROX.js → chunk-XAIBLWDF.js} +2 -2
- package/dist/{chunk-6FWHB4ET.js → chunk-XCQI5O67.js} +2 -2
- package/dist/{chunk-S5BNS2JE.js → chunk-XFVXRCMH.js} +2 -2
- package/dist/{chunk-DOVE5SYY.js → chunk-XNV6ZN7J.js} +2 -2
- package/dist/{chunk-X7KIEFEN.js → chunk-YPBPOUGX.js} +2 -2
- package/dist/{chunk-DWJGC5YG.js → chunk-YQZ3B2CT.js} +2 -2
- package/dist/{chunk-DAYIMXLP.js → chunk-YZMAY2I6.js} +2 -2
- package/dist/{chunk-I5L5SRSG.js → chunk-ZGGEJ3FD.js} +2 -2
- package/dist/{chunk-DSUJKXRQ.js → chunk-ZMBPKARZ.js} +2 -2
- package/dist/{chunk-DKOETPI4.js → chunk-ZNHBMI37.js} +2 -2
- package/dist/default-components.d.ts +1 -1
- package/dist/default-components.js +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.js +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentFlow.d.ts +2 -2
- package/dist/flows/ContractAmendment/ContractAmendmentFlow.js +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentForm.js +1 -1
- package/dist/flows/ContractAmendment/context.d.ts +2 -2
- package/dist/flows/ContractAmendment/hooks.d.ts +2 -2
- package/dist/flows/ContractAmendment/hooks.js +1 -1
- package/dist/flows/ContractAmendment/index.d.ts +2 -2
- package/dist/flows/ContractAmendment/index.js +1 -1
- package/dist/flows/ContractAmendment/types.d.ts +2 -2
- package/dist/flows/ContractAmendment/utils.d.ts +1 -1
- package/dist/flows/ContractAmendment/utils.js +1 -1
- package/dist/flows/ContractorOnboarding/ContractorOnboarding.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/ContractorOnboarding.js +1 -1
- package/dist/flows/ContractorOnboarding/api.d.ts +2 -2
- package/dist/flows/ContractorOnboarding/api.js +1 -1
- package/dist/flows/ContractorOnboarding/components/BasicInformationStep.d.ts +3 -3
- package/dist/flows/ContractorOnboarding/components/BasicInformationStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractOriginStep.d.ts +2 -2
- package/dist/flows/ContractorOnboarding/components/ContractOriginStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractPreviewHeader.d.ts +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStatement.d.ts +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStatement.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.js +1 -1
- package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/OnboardingInvite.d.ts +2 -2
- package/dist/flows/ContractorOnboarding/components/OnboardingInvite.js +1 -1
- package/dist/flows/ContractorOnboarding/components/PricingPlan.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/components/PricingPlan.js +1 -1
- package/dist/flows/ContractorOnboarding/components/SaveDraftButton.d.ts +2 -2
- package/dist/flows/ContractorOnboarding/components/SelectCountryStep.d.ts +3 -3
- package/dist/flows/ContractorOnboarding/components/SelectCountryStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/StatementOfWorkDisclaimer.js +1 -1
- package/dist/flows/ContractorOnboarding/context.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/hooks.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/hooks.js +1 -1
- package/dist/flows/ContractorOnboarding/index.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/index.js +1 -1
- package/dist/flows/ContractorOnboarding/jsfModify.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/jsfModify.js +1 -1
- package/dist/flows/ContractorOnboarding/types.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/utils.d.ts +3 -3
- package/dist/flows/CostCalculator/CostCalculatorFlow.d.ts +2 -2
- package/dist/flows/CostCalculator/CostCalculatorFlow.js +1 -1
- package/dist/flows/CostCalculator/CostCalculatorForm.d.ts +2 -2
- package/dist/flows/CostCalculator/CostCalculatorForm.js +1 -1
- package/dist/flows/CostCalculator/CostCalculatorResetButton.js +1 -1
- package/dist/flows/CostCalculator/CostCalculatorSubmitButton.js +1 -1
- package/dist/flows/CostCalculator/EstimationResults/EstimationResults.d.ts +2 -2
- package/dist/flows/CostCalculator/EstimationResults/EstimationResults.js +1 -1
- package/dist/flows/CostCalculator/SummaryResults/SummaryResults.d.ts +2 -2
- package/dist/flows/CostCalculator/SummaryResults/SummaryResults.js +1 -1
- package/dist/flows/CostCalculator/api.d.ts +2 -2
- package/dist/flows/CostCalculator/api.js +1 -1
- package/dist/flows/CostCalculator/components/SalaryField.d.ts +1 -1
- package/dist/flows/CostCalculator/components/SalaryField.js +1 -1
- package/dist/flows/CostCalculator/context.d.ts +2 -2
- package/dist/flows/CostCalculator/hooks.d.ts +2 -2
- package/dist/flows/CostCalculator/hooks.js +1 -1
- package/dist/flows/CostCalculator/index.d.ts +2 -2
- package/dist/flows/CostCalculator/index.js +1 -1
- package/dist/flows/CostCalculator/types.d.ts +2 -2
- package/dist/flows/CostCalculator/utils.d.ts +2 -2
- package/dist/flows/CostCalculator/utils.js +1 -1
- package/dist/flows/CreateCompany/CreateCompany.d.ts +3 -3
- package/dist/flows/CreateCompany/CreateCompany.js +1 -1
- package/dist/flows/CreateCompany/api.d.ts +2 -2
- package/dist/flows/CreateCompany/api.js +1 -1
- package/dist/flows/CreateCompany/components/AddressDetailsStep.d.ts +3 -3
- package/dist/flows/CreateCompany/components/AddressDetailsStep.js +1 -1
- package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.d.ts +3 -3
- package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.js +1 -1
- package/dist/flows/CreateCompany/components/CreateCompanyForm.d.ts +1 -1
- package/dist/flows/CreateCompany/components/CreateCompanyForm.js +1 -1
- package/dist/flows/CreateCompany/context.d.ts +3 -3
- package/dist/flows/CreateCompany/hooks.d.ts +3 -3
- package/dist/flows/CreateCompany/hooks.js +1 -1
- package/dist/flows/CreateCompany/index.d.ts +3 -3
- package/dist/flows/CreateCompany/index.js +1 -1
- package/dist/flows/CreateCompany/types.d.ts +3 -3
- package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundFlow.d.ts +2 -2
- package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundFlow.js +1 -1
- package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundForm.d.ts +1 -1
- package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundForm.js +1 -1
- package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundResetButton.js +1 -1
- package/dist/flows/JsonSchemaPlayground/context.d.ts +2 -2
- package/dist/flows/JsonSchemaPlayground/hooks.d.ts +2 -2
- package/dist/flows/JsonSchemaPlayground/hooks.js +1 -1
- package/dist/flows/JsonSchemaPlayground/index.d.ts +2 -2
- package/dist/flows/JsonSchemaPlayground/index.js +1 -1
- package/dist/flows/JsonSchemaPlayground/types.d.ts +2 -2
- package/dist/flows/Onboarding/OnboardingFlow.d.ts +3 -3
- package/dist/flows/Onboarding/OnboardingFlow.js +1 -1
- package/dist/flows/Onboarding/api.d.ts +3 -3
- package/dist/flows/Onboarding/api.js +1 -1
- package/dist/flows/Onboarding/components/AnnualGrossSalary.d.ts +1 -1
- package/dist/flows/Onboarding/components/AnnualGrossSalary.js +1 -1
- package/dist/flows/Onboarding/components/BasicInformationStep.d.ts +3 -3
- package/dist/flows/Onboarding/components/BasicInformationStep.js +1 -1
- package/dist/flows/Onboarding/components/BenefitsStep.d.ts +3 -3
- package/dist/flows/Onboarding/components/BenefitsStep.js +1 -1
- package/dist/flows/Onboarding/components/ContractDetailsStep.d.ts +3 -3
- package/dist/flows/Onboarding/components/ContractDetailsStep.js +1 -1
- package/dist/flows/Onboarding/components/EmploymentAgreementInfoContent.js +1 -1
- package/dist/flows/Onboarding/components/EngagementAgreementDetailsStep.d.ts +3 -3
- package/dist/flows/Onboarding/components/EngagementAgreementDetailsStep.js +1 -1
- package/dist/flows/Onboarding/components/OnboardingForm.d.ts +3 -3
- package/dist/flows/Onboarding/components/OnboardingForm.js +1 -1
- package/dist/flows/Onboarding/components/OnboardingInvite.d.ts +2 -2
- package/dist/flows/Onboarding/components/OnboardingInvite.js +1 -1
- package/dist/flows/Onboarding/components/PreOnboardingRequirements.d.ts +3 -3
- package/dist/flows/Onboarding/components/PreOnboardingRequirements.js +1 -1
- package/dist/flows/Onboarding/components/PreviewEmploymentAgreementStep.js +1 -1
- package/dist/flows/Onboarding/components/ReviewStep.d.ts +3 -3
- package/dist/flows/Onboarding/components/SaveDraftButton.d.ts +2 -2
- package/dist/flows/Onboarding/components/SelectCountryStep.d.ts +3 -3
- package/dist/flows/Onboarding/components/SelectCountryStep.js +1 -1
- package/dist/flows/Onboarding/context.d.ts +3 -3
- package/dist/flows/Onboarding/hooks.d.ts +3 -3
- package/dist/flows/Onboarding/hooks.js +1 -1
- package/dist/flows/Onboarding/index.d.ts +3 -3
- package/dist/flows/Onboarding/index.js +1 -1
- package/dist/flows/Onboarding/types.d.ts +3 -3
- package/dist/flows/Onboarding/utils.d.ts +3 -3
- package/dist/flows/PayrollAdminOnboarding/PayrollAdminOnboardingFlow.d.ts +3 -3
- package/dist/flows/PayrollAdminOnboarding/PayrollAdminOnboardingFlow.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/api.d.ts +1 -1
- package/dist/flows/PayrollAdminOnboarding/api.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/AdministrativeDetailsStep.d.ts +2 -2
- package/dist/flows/PayrollAdminOnboarding/components/AdministrativeDetailsStep.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/ContractDetailsStep.d.ts +2 -2
- package/dist/flows/PayrollAdminOnboarding/components/ContractDetailsStep.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/InvitationStep.d.ts +2 -2
- package/dist/flows/PayrollAdminOnboarding/components/InvitationStep.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/PayrollAdminForm.d.ts +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/PayrollAdminForm.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/SelectCountryStep.d.ts +2 -2
- package/dist/flows/PayrollAdminOnboarding/components/SelectCountryStep.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/useStepSubmitHandler.d.ts +2 -2
- package/dist/flows/PayrollAdminOnboarding/components/useStepSubmitHandler.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/context.d.ts +3 -3
- package/dist/flows/PayrollAdminOnboarding/hooks.d.ts +3 -3
- package/dist/flows/PayrollAdminOnboarding/hooks.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/index.d.ts +3 -3
- package/dist/flows/PayrollAdminOnboarding/index.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/types.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/PayrollEmployeeOnboardingFlow.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/PayrollEmployeeOnboardingFlow.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/api.d.ts +2 -2
- package/dist/flows/PayrollEmployeeOnboarding/api.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/BankAccountStep.d.ts +2 -2
- package/dist/flows/PayrollEmployeeOnboarding/components/BankAccountStep.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/FederalTaxesStep.d.ts +2 -2
- package/dist/flows/PayrollEmployeeOnboarding/components/FederalTaxesStep.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/HomeAddressStep.d.ts +2 -2
- package/dist/flows/PayrollEmployeeOnboarding/components/HomeAddressStep.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/PayrollEmployeeForm.d.ts +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/PayrollEmployeeForm.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/PersonalDetailsStep.d.ts +2 -2
- package/dist/flows/PayrollEmployeeOnboarding/components/PersonalDetailsStep.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/StateTaxesStep.d.ts +2 -2
- package/dist/flows/PayrollEmployeeOnboarding/components/StateTaxesStep.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/useEmployeeStepSubmitHandler.d.ts +2 -2
- package/dist/flows/PayrollEmployeeOnboarding/components/useEmployeeStepSubmitHandler.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/context.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/hooks.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/hooks.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/index.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/index.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/types.d.ts +3 -3
- package/dist/flows/Termination/AdditionalDetailsForm.d.ts +3 -3
- package/dist/flows/Termination/AdditionalDetailsForm.js +1 -1
- package/dist/flows/Termination/EmployeeComunicationForm.d.ts +3 -3
- package/dist/flows/Termination/EmployeeComunicationForm.js +1 -1
- package/dist/flows/Termination/PaidTimeOffForm.d.ts +3 -3
- package/dist/flows/Termination/PaidTimeOffForm.js +1 -1
- package/dist/flows/Termination/TerminationDetailsForm.d.ts +3 -3
- package/dist/flows/Termination/TerminationDetailsForm.js +1 -1
- package/dist/flows/Termination/TerminationFlow.d.ts +3 -3
- package/dist/flows/Termination/TerminationFlow.js +1 -1
- package/dist/flows/Termination/TerminationForm.d.ts +3 -3
- package/dist/flows/Termination/TerminationForm.js +1 -1
- package/dist/flows/Termination/api.d.ts +4 -4
- package/dist/flows/Termination/api.js +1 -1
- package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformation.js +1 -1
- package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformationFees.js +1 -1
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.d.ts +4 -4
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.js +1 -1
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.d.ts +4 -4
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.js +1 -1
- package/dist/flows/Termination/components/PaidTimeOff/types.d.ts +4 -4
- package/dist/flows/Termination/components/TerminationDialogInfoContent/TerminationDialogInfoContent.js +1 -1
- package/dist/flows/Termination/components/TerminationReasonsDetailContent/TerminationReasonsDetailContent.js +1 -1
- package/dist/flows/Termination/context.d.ts +3 -3
- package/dist/flows/Termination/hooks.d.ts +3 -3
- package/dist/flows/Termination/hooks.js +1 -1
- package/dist/flows/Termination/index.d.ts +4 -4
- package/dist/flows/Termination/index.js +1 -1
- package/dist/flows/Termination/json-schemas/schema.d.ts +3 -3
- package/dist/flows/Termination/types.d.ts +3 -3
- package/dist/flows/Termination/utils.d.ts +3 -3
- package/dist/flows/Termination/utils.js +1 -1
- package/dist/flows/types.d.ts +2 -2
- package/dist/flows/utils.d.ts +1 -1
- package/dist/index.d.ts +10 -10
- package/dist/index.js +2 -2
- package/dist/internals.d.ts +3 -3
- package/dist/internals.js +1 -1
- package/dist/{mutations-CrU9zAmc.d.ts → mutations-D7wGden5.d.ts} +1 -1
- package/dist/{remoteFlows-Bj_CV1Kz.d.ts → remoteFlows-Do_hGrKi.d.ts} +23 -1
- package/dist/{types-hMyVACN6.d.ts → types-BSn99OzF.d.ts} +1 -1
- package/dist/{types-CrefIfI4.d.ts → types-BgwIacP2.d.ts} +1 -1
- package/dist/{types-DKSx7WoE.d.ts → types-BpETJhdu.d.ts} +2 -2
- package/dist/{types-T42SC9k7.d.ts → types-CZpddZC4.d.ts} +3 -3
- package/dist/{types-DoaH0jUN.d.ts → types-CiQ08J9g.d.ts} +1 -1
- package/dist/{types-COPUHO0i.d.ts → types-CzmaeZs2.d.ts} +2 -2
- package/dist/{types-BJWaoke6.d.ts → types-aNjp47fZ.d.ts} +1 -1
- package/dist/{utils-C02FAkSq.d.ts → utils-BU5K1WH5.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/ButtonDefault-HBOULH5V.js +0 -2
- package/dist/CheckboxFieldDefault-ASWSMSJD.js +0 -2
- package/dist/CountryFieldDefault-JNRZX632.js +0 -2
- package/dist/DatePickerFieldDefault-ARSIRGKX.js +0 -2
- package/dist/DrawerDefault-O7NUFWJ4.js +0 -2
- package/dist/EmailFieldDefault-7USH7I6B.js +0 -2
- package/dist/FieldsetToggleButtonDefault-MIRCZJKA.js +0 -2
- package/dist/FileUploadFieldDefault-CFK64E3M.js +0 -2
- package/dist/ForcedValueFieldDefault-IB7EX73O.js +0 -2
- package/dist/MultiSelectFieldDefault-HP5FIBJY.js +0 -2
- package/dist/NumberFieldDefault-P7TLA6SH.js +0 -2
- package/dist/RadioGroupFieldDefault-DRF3H2ZB.js +0 -2
- package/dist/SelectFieldDefault-ANJ24D2G.js +0 -2
- package/dist/StatementDefault-RDC5G24K.js +0 -2
- package/dist/TableFieldDefault-ES7OIYX5.js +0 -2
- package/dist/TelFieldDefault-ZKHU4DKH.js +0 -2
- package/dist/TextAreaFieldDefault-JICC77TL.js +0 -2
- package/dist/TextFieldDefault-RJSD2YDR.js +0 -2
- package/dist/TimeFieldDefault-3SO5KXVJ.js +0 -2
- package/dist/WorkScheduleFieldDefault-JAU2YFQF.js +0 -2
- package/dist/ZendeskDrawerDefault-HGKAUCUV.js +0 -2
- package/dist/chunk-BS2YN6CS.js +0 -2
- package/dist/chunk-BS2YN6CS.js.map +0 -1
- package/dist/chunk-NRH6RION.js +0 -2
- package/dist/chunk-NRH6RION.js.map +0 -1
- package/dist/chunk-NXRWBI36.js +0 -2
- package/dist/chunk-NXRWBI36.js.map +0 -1
- /package/dist/{ButtonDefault-HBOULH5V.js.map → ButtonDefault-N32RTG32.js.map} +0 -0
- /package/dist/{CheckboxFieldDefault-ASWSMSJD.js.map → CheckboxFieldDefault-6B33T4XR.js.map} +0 -0
- /package/dist/{CountryFieldDefault-JNRZX632.js.map → CountryFieldDefault-TVGOKASR.js.map} +0 -0
- /package/dist/{DatePickerFieldDefault-ARSIRGKX.js.map → DatePickerFieldDefault-TH427OH5.js.map} +0 -0
- /package/dist/{DrawerDefault-O7NUFWJ4.js.map → DrawerDefault-E67XIROQ.js.map} +0 -0
- /package/dist/{EmailFieldDefault-7USH7I6B.js.map → EmailFieldDefault-QVKXB67I.js.map} +0 -0
- /package/dist/{FieldsetToggleButtonDefault-MIRCZJKA.js.map → FieldsetToggleButtonDefault-SHDKV2VO.js.map} +0 -0
- /package/dist/{FileUploadFieldDefault-CFK64E3M.js.map → FileUploadFieldDefault-WB7ITN3G.js.map} +0 -0
- /package/dist/{ForcedValueFieldDefault-IB7EX73O.js.map → ForcedValueFieldDefault-QH76S3ZL.js.map} +0 -0
- /package/dist/{MultiSelectFieldDefault-HP5FIBJY.js.map → MultiSelectFieldDefault-T26SUE3J.js.map} +0 -0
- /package/dist/{NumberFieldDefault-P7TLA6SH.js.map → NumberFieldDefault-O7OKTFG4.js.map} +0 -0
- /package/dist/{RadioGroupFieldDefault-DRF3H2ZB.js.map → RadioGroupFieldDefault-ZNWHLCZP.js.map} +0 -0
- /package/dist/{SelectFieldDefault-ANJ24D2G.js.map → SelectFieldDefault-LFXATOYZ.js.map} +0 -0
- /package/dist/{StatementDefault-RDC5G24K.js.map → StatementDefault-33EDZARR.js.map} +0 -0
- /package/dist/{TableFieldDefault-ES7OIYX5.js.map → TableFieldDefault-BJIHEN3V.js.map} +0 -0
- /package/dist/{TelFieldDefault-ZKHU4DKH.js.map → TelFieldDefault-4FJVSZRV.js.map} +0 -0
- /package/dist/{TextAreaFieldDefault-JICC77TL.js.map → TextAreaFieldDefault-QRU4Z4V2.js.map} +0 -0
- /package/dist/{TextFieldDefault-RJSD2YDR.js.map → TextFieldDefault-LFKGGEU3.js.map} +0 -0
- /package/dist/{TimeFieldDefault-3SO5KXVJ.js.map → TimeFieldDefault-RU75LZ2T.js.map} +0 -0
- /package/dist/{WorkScheduleFieldDefault-JAU2YFQF.js.map → WorkScheduleFieldDefault-23WY3SVD.js.map} +0 -0
- /package/dist/{ZendeskDrawerDefault-HGKAUCUV.js.map → ZendeskDrawerDefault-DC4SUPEC.js.map} +0 -0
- /package/dist/{chunk-OHNH7V7X.js.map → chunk-2FI5CCXQ.js.map} +0 -0
- /package/dist/{chunk-LQFLXXBR.js.map → chunk-2QVO3BVI.js.map} +0 -0
- /package/dist/{chunk-DDH7MZ7M.js.map → chunk-2W354SK7.js.map} +0 -0
- /package/dist/{chunk-6PDBJULN.js.map → chunk-32UP2UFU.js.map} +0 -0
- /package/dist/{chunk-CD2QYFEH.js.map → chunk-364G255Q.js.map} +0 -0
- /package/dist/{chunk-YDL42SVF.js.map → chunk-36JXX3VA.js.map} +0 -0
- /package/dist/{chunk-WDO7XH6B.js.map → chunk-3OLZMSGR.js.map} +0 -0
- /package/dist/{chunk-Y62UA5CG.js.map → chunk-3YILMVSP.js.map} +0 -0
- /package/dist/{chunk-RRERBS7F.js.map → chunk-4BHEQMZV.js.map} +0 -0
- /package/dist/{chunk-MJ6Z7ARR.js.map → chunk-4E5YP5GD.js.map} +0 -0
- /package/dist/{chunk-C6AWXQ67.js.map → chunk-4F7TGLUT.js.map} +0 -0
- /package/dist/{chunk-2NWQ32VQ.js.map → chunk-5BJXFWKN.js.map} +0 -0
- /package/dist/{chunk-6QEAL5BB.js.map → chunk-5IIFCA3F.js.map} +0 -0
- /package/dist/{chunk-Y7PBPPUC.js.map → chunk-5IMEZZMR.js.map} +0 -0
- /package/dist/{chunk-AES7DMIQ.js.map → chunk-5OEO67O2.js.map} +0 -0
- /package/dist/{chunk-SU4FMKBZ.js.map → chunk-5X2OXK7T.js.map} +0 -0
- /package/dist/{chunk-ATRYDXM2.js.map → chunk-5YOH2HJ5.js.map} +0 -0
- /package/dist/{chunk-ELXRJXQZ.js.map → chunk-6VBUWE25.js.map} +0 -0
- /package/dist/{chunk-BGEDMAHU.js.map → chunk-6VEWI4G2.js.map} +0 -0
- /package/dist/{chunk-NGV62VYV.js.map → chunk-76TJCXAW.js.map} +0 -0
- /package/dist/{chunk-LT5KIEQH.js.map → chunk-7EOTDIJI.js.map} +0 -0
- /package/dist/{chunk-P32JWGIE.js.map → chunk-7G6XS63Q.js.map} +0 -0
- /package/dist/{chunk-FPV6S2OQ.js.map → chunk-7PWXGPXZ.js.map} +0 -0
- /package/dist/{chunk-AAOU5HS2.js.map → chunk-7RLRU3VM.js.map} +0 -0
- /package/dist/{chunk-2DRF5M3J.js.map → chunk-7UWA3JTM.js.map} +0 -0
- /package/dist/{chunk-62VYULBI.js.map → chunk-7YACR6OA.js.map} +0 -0
- /package/dist/{chunk-HOEP5XXW.js.map → chunk-7ZQYMDNU.js.map} +0 -0
- /package/dist/{chunk-BODQC6OK.js.map → chunk-A7U3KJIP.js.map} +0 -0
- /package/dist/{chunk-WQS5JWRA.js.map → chunk-AFKB7Z3G.js.map} +0 -0
- /package/dist/{chunk-PMCCHSXD.js.map → chunk-APUJLKUM.js.map} +0 -0
- /package/dist/{chunk-LKTCYO6Y.js.map → chunk-ASKPQZY2.js.map} +0 -0
- /package/dist/{chunk-4FGKIGKF.js.map → chunk-AUPAAQUT.js.map} +0 -0
- /package/dist/{chunk-ZHFUFIWX.js.map → chunk-B3MEKP45.js.map} +0 -0
- /package/dist/{chunk-4X7TVFHA.js.map → chunk-B4O5YUYL.js.map} +0 -0
- /package/dist/{chunk-4EZST3RL.js.map → chunk-B7XTWLRI.js.map} +0 -0
- /package/dist/{chunk-Y3G3JGLP.js.map → chunk-BHTFKQJO.js.map} +0 -0
- /package/dist/{chunk-UCBZMQGL.js.map → chunk-BUR3X6FL.js.map} +0 -0
- /package/dist/{chunk-W3GEGGZY.js.map → chunk-BXR3EF3L.js.map} +0 -0
- /package/dist/{chunk-ZG2AYULT.js.map → chunk-C3YSF5RT.js.map} +0 -0
- /package/dist/{chunk-FQFIRIKU.js.map → chunk-CEFR62S6.js.map} +0 -0
- /package/dist/{chunk-LVZ5DNTO.js.map → chunk-CETQLSZY.js.map} +0 -0
- /package/dist/{chunk-KV2B2CRW.js.map → chunk-CHTCJQJ3.js.map} +0 -0
- /package/dist/{chunk-ZF46HCMZ.js.map → chunk-CNQXPZJB.js.map} +0 -0
- /package/dist/{chunk-QO7HHRNA.js.map → chunk-D7MYOH3P.js.map} +0 -0
- /package/dist/{chunk-JNXNTCPZ.js.map → chunk-DH2NHUZU.js.map} +0 -0
- /package/dist/{chunk-QVULYOKK.js.map → chunk-DHS5QMH6.js.map} +0 -0
- /package/dist/{chunk-7FBX3RI4.js.map → chunk-EACCMXD5.js.map} +0 -0
- /package/dist/{chunk-MJZCTG7C.js.map → chunk-EP3DUVMU.js.map} +0 -0
- /package/dist/{chunk-QXXVWOOB.js.map → chunk-FJNQ64SB.js.map} +0 -0
- /package/dist/{chunk-E5MKB67X.js.map → chunk-FLX72WFD.js.map} +0 -0
- /package/dist/{chunk-DO352QQL.js.map → chunk-FXVLXN2B.js.map} +0 -0
- /package/dist/{chunk-3HGUMECW.js.map → chunk-GBVBMT3H.js.map} +0 -0
- /package/dist/{chunk-2W7O4FMW.js.map → chunk-GMCJXDUP.js.map} +0 -0
- /package/dist/{chunk-R4JUCNE4.js.map → chunk-GMSYO53D.js.map} +0 -0
- /package/dist/{chunk-KCE6IU5X.js.map → chunk-GSGCFKOZ.js.map} +0 -0
- /package/dist/{chunk-75HIK6IG.js.map → chunk-GTZ35W3E.js.map} +0 -0
- /package/dist/{chunk-KLBFDP5I.js.map → chunk-GVQ7UXVW.js.map} +0 -0
- /package/dist/{chunk-2EM7DTD6.js.map → chunk-H3JVB7GS.js.map} +0 -0
- /package/dist/{chunk-TZIDQ5O3.js.map → chunk-HBONR7VY.js.map} +0 -0
- /package/dist/{chunk-75ZSFK7I.js.map → chunk-HCL7WLOR.js.map} +0 -0
- /package/dist/{chunk-NDWVOVDM.js.map → chunk-HDFAFTHC.js.map} +0 -0
- /package/dist/{chunk-NFLN2YB6.js.map → chunk-HI6GH4J7.js.map} +0 -0
- /package/dist/{chunk-JH3WUGO5.js.map → chunk-HKNQKO5Y.js.map} +0 -0
- /package/dist/{chunk-HYWQLLZC.js.map → chunk-HMJ4PIDI.js.map} +0 -0
- /package/dist/{chunk-WE2AFK6Y.js.map → chunk-HNJ7ZFEU.js.map} +0 -0
- /package/dist/{chunk-NOQWN76W.js.map → chunk-ISETCY2V.js.map} +0 -0
- /package/dist/{chunk-KTOVE7ZS.js.map → chunk-JBAKDTGM.js.map} +0 -0
- /package/dist/{chunk-STJU6LZF.js.map → chunk-JGKYFH4L.js.map} +0 -0
- /package/dist/{chunk-DLSHZLHX.js.map → chunk-JJUOWS3K.js.map} +0 -0
- /package/dist/{chunk-C6I7R7ZH.js.map → chunk-JP5GXWXT.js.map} +0 -0
- /package/dist/{chunk-3ISSVSL5.js.map → chunk-JXPMQMTT.js.map} +0 -0
- /package/dist/{chunk-O4MWPCG5.js.map → chunk-KBD6W5FL.js.map} +0 -0
- /package/dist/{chunk-RKXF7Q7V.js.map → chunk-KBYI7L5E.js.map} +0 -0
- /package/dist/{chunk-2BYDZSR5.js.map → chunk-KFTMJ253.js.map} +0 -0
- /package/dist/{chunk-VZ34NZXF.js.map → chunk-LFUMRNDK.js.map} +0 -0
- /package/dist/{chunk-BC4V2YAK.js.map → chunk-LKHRHBFP.js.map} +0 -0
- /package/dist/{chunk-QZZJE6P7.js.map → chunk-LWLFJAG6.js.map} +0 -0
- /package/dist/{chunk-CT7POXIP.js.map → chunk-MS63VN5N.js.map} +0 -0
- /package/dist/{chunk-KR7PDSUA.js.map → chunk-NKGJZNXL.js.map} +0 -0
- /package/dist/{chunk-A75HEHRS.js.map → chunk-OK2ZZ6NK.js.map} +0 -0
- /package/dist/{chunk-BQDYFFER.js.map → chunk-OKABTWB3.js.map} +0 -0
- /package/dist/{chunk-VMRTLZQL.js.map → chunk-OLBMZGOC.js.map} +0 -0
- /package/dist/{chunk-WJ7BE4TU.js.map → chunk-ONUE4K6F.js.map} +0 -0
- /package/dist/{chunk-EHAAVSJM.js.map → chunk-OPGC7BSY.js.map} +0 -0
- /package/dist/{chunk-HQLGDW2G.js.map → chunk-OV4ARZIX.js.map} +0 -0
- /package/dist/{chunk-LUADE5XK.js.map → chunk-PJ2MZ6FH.js.map} +0 -0
- /package/dist/{chunk-VUKUBHHU.js.map → chunk-PQHXX3ZN.js.map} +0 -0
- /package/dist/{chunk-NQWB6O7Z.js.map → chunk-PUK2TIQX.js.map} +0 -0
- /package/dist/{chunk-CM4UUBU5.js.map → chunk-PVORGGT3.js.map} +0 -0
- /package/dist/{chunk-MW5JVH3X.js.map → chunk-PZWP6ZVL.js.map} +0 -0
- /package/dist/{chunk-DGHXBSBS.js.map → chunk-Q2JINYSB.js.map} +0 -0
- /package/dist/{chunk-FHDMPQNW.js.map → chunk-Q2MGM4I2.js.map} +0 -0
- /package/dist/{chunk-WOARN6WG.js.map → chunk-Q4X35JRA.js.map} +0 -0
- /package/dist/{chunk-ULCAT6MG.js.map → chunk-QA6YA4OB.js.map} +0 -0
- /package/dist/{chunk-HLLM7OZN.js.map → chunk-QJHSN6MG.js.map} +0 -0
- /package/dist/{chunk-UWSG45OM.js.map → chunk-QN6OMOUW.js.map} +0 -0
- /package/dist/{chunk-HFFQ642D.js.map → chunk-QRSWXKRV.js.map} +0 -0
- /package/dist/{chunk-ORXD3SB2.js.map → chunk-RDDQ5XMI.js.map} +0 -0
- /package/dist/{chunk-RT7MYFKW.js.map → chunk-RJ7BWEDB.js.map} +0 -0
- /package/dist/{chunk-WXLKMK53.js.map → chunk-RPRRMRCO.js.map} +0 -0
- /package/dist/{chunk-SYSVKYHX.js.map → chunk-S64P7IA7.js.map} +0 -0
- /package/dist/{chunk-XI5G4SGA.js.map → chunk-SL5WZ76A.js.map} +0 -0
- /package/dist/{chunk-4AJD5YEN.js.map → chunk-SNEUIWQE.js.map} +0 -0
- /package/dist/{chunk-AHUSQVQY.js.map → chunk-SWLNTVAX.js.map} +0 -0
- /package/dist/{chunk-GPY3JZJJ.js.map → chunk-SXW4FROO.js.map} +0 -0
- /package/dist/{chunk-5EWUWRPW.js.map → chunk-TFBJMECV.js.map} +0 -0
- /package/dist/{chunk-XDPAVB5E.js.map → chunk-TVNBMBTY.js.map} +0 -0
- /package/dist/{chunk-OEPT3ASY.js.map → chunk-TYCOSAU4.js.map} +0 -0
- /package/dist/{chunk-CZU4U3LY.js.map → chunk-U74P6WCT.js.map} +0 -0
- /package/dist/{chunk-CNXDC3M7.js.map → chunk-UEJU2A57.js.map} +0 -0
- /package/dist/{chunk-H3JAWJOE.js.map → chunk-UOA3M7EJ.js.map} +0 -0
- /package/dist/{chunk-IUJRGT3T.js.map → chunk-UTQDJNOV.js.map} +0 -0
- /package/dist/{chunk-G3QDDD53.js.map → chunk-UZFEJMO6.js.map} +0 -0
- /package/dist/{chunk-PXBJVZ6I.js.map → chunk-VBWACHT3.js.map} +0 -0
- /package/dist/{chunk-LZM3BNK3.js.map → chunk-VT5V3C6T.js.map} +0 -0
- /package/dist/{chunk-OEQXIWJJ.js.map → chunk-VWWVLK5C.js.map} +0 -0
- /package/dist/{chunk-IQZ63FQX.js.map → chunk-VY64RMAF.js.map} +0 -0
- /package/dist/{chunk-BGSB3XPW.js.map → chunk-W5WYIDDY.js.map} +0 -0
- /package/dist/{chunk-EGIXB43W.js.map → chunk-WLZRAEPQ.js.map} +0 -0
- /package/dist/{chunk-73ALSVRF.js.map → chunk-WXKFXIMQ.js.map} +0 -0
- /package/dist/{chunk-OGRQ3NTD.js.map → chunk-WXTEP5PE.js.map} +0 -0
- /package/dist/{chunk-V2ZDW66A.js.map → chunk-WYP2CB4I.js.map} +0 -0
- /package/dist/{chunk-37CRJPVL.js.map → chunk-X536XUYT.js.map} +0 -0
- /package/dist/{chunk-DLCEEROX.js.map → chunk-XAIBLWDF.js.map} +0 -0
- /package/dist/{chunk-6FWHB4ET.js.map → chunk-XCQI5O67.js.map} +0 -0
- /package/dist/{chunk-S5BNS2JE.js.map → chunk-XFVXRCMH.js.map} +0 -0
- /package/dist/{chunk-DOVE5SYY.js.map → chunk-XNV6ZN7J.js.map} +0 -0
- /package/dist/{chunk-X7KIEFEN.js.map → chunk-YPBPOUGX.js.map} +0 -0
- /package/dist/{chunk-DWJGC5YG.js.map → chunk-YQZ3B2CT.js.map} +0 -0
- /package/dist/{chunk-DAYIMXLP.js.map → chunk-YZMAY2I6.js.map} +0 -0
- /package/dist/{chunk-I5L5SRSG.js.map → chunk-ZGGEJ3FD.js.map} +0 -0
- /package/dist/{chunk-DSUJKXRQ.js.map → chunk-ZMBPKARZ.js.map} +0 -0
- /package/dist/{chunk-DKOETPI4.js.map → chunk-ZNHBMI37.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as y,b,c as k}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as y,b,c as k}from"./chunk-B3MEKP45.js";import{b as h}from"./chunk-D7MYOH3P.js";import{b as x}from"./chunk-LKHRHBFP.js";import{n as m}from"./chunk-C4HFMTSB.js";import{a as r}from"./chunk-P37U34EQ.js";import{Fragment as M,useState as T}from"react";import{Check as A,ChevronDownIcon as F,X as H}from"lucide-react";import{Command as s}from"cmdk";import{SearchIcon as X}from"lucide-react";import{jsx as p,jsxs as q}from"react/jsx-runtime";function P({className:t,...o}){return p(s,{"data-slot":"command",className:m("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",t),...o})}r(P,"Command");function _({className:t,...o}){return p(s.List,{"data-slot":"command-list",className:m("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",t),...o})}r(_,"CommandList");function w({...t}){return p(s.Empty,{"data-slot":"command-empty",className:"py-6 text-center text-sm",...t})}r(w,"CommandEmpty");function N({className:t,...o}){return p(s.Group,{"data-slot":"command-group",className:m("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",t),...o})}r(N,"CommandGroup");function D({className:t,...o}){return p(s.Separator,{"data-slot":"command-separator",className:m("bg-border -mx-1 h-px",t),...o})}r(D,"CommandSeparator");function S({className:t,...o}){return p(s.Item,{"data-slot":"command-item",className:m("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...o})}r(S,"CommandItem");import{jsx as a,jsxs as l}from"react/jsx-runtime";function ae({options:t,selected:o,onChange:g,placeholder:I,...R}){let[f,O]=T(!1),v=r(e=>{g(o.filter(n=>n.value!==e.value))},"handleUnselect"),E=t.some(e=>e.category),z=t.reduce((e,n)=>{let c=n.category||"Uncategorized";return e[c]||(e[c]=[]),e[c].push(n),e},{});return l(y,{open:f,onOpenChange:O,...R,children:[a(b,{children:l(x,{variant:"outline",role:"combobox","aria-expanded":f,className:"w-full justify-between font-normal",type:"button",children:[a("div",{className:"flex gap-1 flex-wrap overflow-x-auto max-h-[2.5rem] items-center",children:o.length>0?o.map(e=>l(h,{variant:"secondary",className:"mr-1 mb-1",children:[e.label,a("div",{role:"button",tabIndex:0,"aria-label":`remove ${e.label}`,className:"ml-1 ring-offset-background rounded-full outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 cursor-pointer",onKeyDown:n=>{n.key==="Enter"&&v(e)},onMouseDown:n=>{n.preventDefault(),n.stopPropagation()},onClick:()=>v(e),children:a(H,{className:"h-3 w-3 text-muted-foreground hover:text-foreground"})})]},e.label)):a("span",{className:"text-foreground",children:I})}),a(F,{className:"size-4"})]})}),a(k,{align:"start",className:"w-full p-0",children:a(P,{children:l(_,{children:[a(w,{children:"No item found."}),Object.entries(z).map(([e,n],c)=>l(M,{children:[c>0&&a(D,{}),a(N,{heading:E?e:void 0,children:n.map(i=>{let C=o.some(u=>u.value===i.value);return l(S,{onSelect:()=>{let u=[i];Array.isArray(i.value)&&(u=i.value.map(d=>({label:d,value:d}))),g(C?o.filter(d=>d.value!==i.value):[...o,...u].filter((d,G,L)=>G===L.findIndex(B=>B.value===d.value)))},children:[a(A,{className:m("mr-2 h-4 w-4",C?"opacity-100":"opacity-0")}),i.label]},i.label)})})]},e))]})})})]})}r(ae,"MultiSelect");export{ae as a};
|
|
2
|
+
//# sourceMappingURL=chunk-HDFAFTHC.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as o,b as r}from"./chunk-PB6UQ4A4.js";import{a as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as o,b as r}from"./chunk-PB6UQ4A4.js";import{a as t}from"./chunk-PVORGGT3.js";import{a as e}from"./chunk-P37U34EQ.js";import{jsx as a}from"react/jsx-runtime";var n={[o]:" Remote provides its Contractor Services Agreement (CSA) \u201Cas is\u201D; it does not constitute legal advice or create an attorney-client relationship with Remote. Remote is not liable for the content You enter herein and You are encouraged to seek independent legal advice tailored to the specific relationship between You and Your Contractor. By use of the CSA, You release Remote from liability for any claim for damages or losses which may arise related to Your use thereof.",[r]:"Remote provides its Contractor Services Agreement (CSA) \u201Cas is\u201D; it does not constitute legal advice or create an attorney-client relationship with Remote. Remote is not liable for the content You enter herein and You are encouraged to seek independent legal advice tailored to the specific relationship between You and Your Contractor."},d=e(({subscription:i})=>a(t,{title:"Contractor Services Agreement",description:n[i],severity:"info"}),"StatementOfWorkDisclaimer");export{d as a};
|
|
2
|
+
//# sourceMappingURL=chunk-HI6GH4J7.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as y}from"./chunk-SGE4DLC3.js";import{a as g}from"./chunk-OL5C4QEH.js";import{b as N}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as y}from"./chunk-SGE4DLC3.js";import{a as g}from"./chunk-OL5C4QEH.js";import{b as N}from"./chunk-LKHRHBFP.js";import{n as w}from"./chunk-C4HFMTSB.js";import{b as D}from"./chunk-H2O4CVKF.js";import{a as d}from"./chunk-P37U34EQ.js";import{forwardRef as S}from"react";import{jsx as B}from"react/jsx-runtime";var b=S(({data:a=[],columns:s,className:o=""},n)=>{let{components:m}=D(),i=m?.table;if(!i)throw new Error("Table component not found");return B(i,{ref:n,data:a,columns:s,className:o})});b.displayName="Table";import{Fragment as c,jsx as e,jsxs as t}from"react/jsx-runtime";var _="RemoteFlows__SummaryRow flex justify-between items-center py-2 text-xs",F="RemoteFlows__SummaryRowBorder border-b border-b-1 border-b-[#E4E4E7]",l=d(({children:a,withBorder:s=!1,className:o=""})=>e("div",{className:w(_,s&&F,o),children:a}),"SummaryRow"),k=d(({usedDays:a,bookedDays:s,approvedDaysBeforeTermination:o,approvedDaysAfterTermination:n,remainingDays:m,proposedTerminationDate:i,isUnlimitedPto:f,currentEntitlementDays:p})=>{let r=new Date(i).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"});return t("div",{children:[t(l,{withBorder:!0,children:[e("label",{children:"Number of days entitled to per year"}),e("p",{"data-testid":"entitled-days",className:"font-bold",children:f?"Unlimited":p})]}),t(l,{children:[e("label",{children:"Total days booked"}),e("p",{"data-testid":"booked-days",className:"font-bold",children:s})]}),t(l,{children:[e("label",{children:"Number of days already used"}),e("p",{"data-testid":"used-days",className:"font-bold",children:a})]}),t(l,{children:[t("label",{children:["Approved for use before ",r]}),e("p",{"data-testid":"approved-days-before-termination",className:"font-bold",children:o})]}),t(l,{withBorder:!0,children:[t("label",{children:["Approved for use after ",r]}),e("p",{"data-testid":"approved-days-after-termination",className:"font-bold",children:n})]}),t(l,{children:[e("label",{children:"Total days remaining unused"}),e("p",{"data-testid":"remaining-days",className:"font-bold",children:m})]}),e(l,{className:"mb-2 py-0",children:t("p",{className:"text-xs text-[#222E39]",children:["Unused days expire on ",r]})})]})},"SummaryTimeOff"),O=[{id:"formattedDate",label:"Dates",className:"w-[250px]",cellClassName:"font-medium"},{id:"duration",label:"Duration",render:d(a=>y({number:a,singular:"day",plural:"days",followCopyGuidelines:!1,showNumber:!0}),"render")},{id:"status",label:"Status"}],C=d(({employeeName:a,timeoffQuery:s,entitledDays:o,countryName:n,currentEntitlementDays:m,formattedProposedTerminationDate:i,onOpenChange:f,open:p})=>{let{data:r,isLoading:u}=s;return e(g,{open:p,onOpenChange:f,title:`${a} paid time off breakdown`,trigger:e(N,{variant:"link",className:"text-xs text-[#3B82F6] font-bold p-0",children:"See detailed time off breakdown \u2197"}),className:"h-full w-[540px] mt-0 ml-auto px-4 RemoteFlows_DrawerTimeOff",children:!u&&e(c,{children:Array.isArray(r?.timeoffs)&&r?.timeoffs?.length>0?t(c,{children:[e("p",{className:"text-[#09090B] font-medium mb-4",children:"This list is for your information only."}),t("p",{className:"text-xs text-[#09090B] mb-1 flex items-center justify-between gap-2",children:[t("span",{children:["Annual entitlement for ",n]}),e("span",{className:"font-bold",children:o})]}),t("p",{className:"text-xs text-[#09090B] mb-6 flex items-center justify-between gap-2",children:[t("span",{children:["Entitlement up to ",i]}),e("span",{className:"font-bold",children:m})]}),e("div",{className:"mb-2",children:e(b,{data:r?.timeoffs,columns:O})}),t("p",{className:"text-xs",children:["Total of"," ",y({number:r?.bookedDays,singular:"day",plural:"days",followCopyGuidelines:!1,showNumber:!0})," ","booked"]})]}):t(c,{children:[e("p",{className:"font-medium mb-1 text-[#09090B]",children:"No recorded time off"}),t("p",{className:"text-sm text-[#09090B]",children:["According to our records, ",a," has not taken any time off this year."]})]})})})},"DrawerTimeOff"),H=d(({employeeName:a,proposedTerminationDate:s,summaryData:o,formattedProposedTerminationDate:n,timeoffQuery:m,employment:i,onOpenChange:f,open:p})=>{let{entitledDays:r,bookedDays:u,usedDays:x,approvedDaysBeforeTermination:R,approvedDaysAfterTermination:P,remainingDays:v,currentEntitlementDays:T,isUnlimitedPto:h}=o.data;return t("div",{className:"RemoteFlows__PaidTimeOff__Container py-3",children:[e("h3",{className:"RemoteFlows__PaidTimeOff__Title mb-2",children:"Paid time off"}),t("p",{className:"RemoteFlows__PaidTimeOff__Description text-sm mb-2",children:["The proposed termination date for ",a," is"," ",n,". You will need to pay them for any unused accrued days. Below is a breakdown of their time off entitlement and usage for the current annual leave period:"]}),t("div",{className:"mb-2",children:[!o?.isLoading&&!o?.isError&&o?.data&&e(k,{usedDays:x,bookedDays:u,currentEntitlementDays:T,approvedDaysBeforeTermination:R,approvedDaysAfterTermination:P,remainingDays:v,proposedTerminationDate:s,isUnlimitedPto:h}),e(C,{employeeName:a,timeoffQuery:m,entitledDays:r,currentEntitlementDays:T,countryName:i?.country?.name??"Unknown",onOpenChange:f,formattedProposedTerminationDate:n,open:p})]})]})},"PaidTimeOff");export{H as a};
|
|
2
|
+
//# sourceMappingURL=chunk-HKNQKO5Y.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as R}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as R}from"./chunk-XFVXRCMH.js";import{h as b,i as V}from"./chunk-C4HFMTSB.js";import{a as d}from"./chunk-P37U34EQ.js";import{useState as I,useCallback as r,useMemo as c}from"react";var U=d(p=>{let{defaultSchema:F="simple-user-profile",initialValues:S={},schemas:h={},onSubmit:f,onError:u,onSchemaChange:g}=p,[i,t]=I({selectedSchema:F,submittedResults:[],isLoading:!1,isSubmitting:!1,resetKey:0,fieldsVersion:0}),l=c(()=>({...S}),[S]),m=c(()=>h?.[i.selectedSchema],[h,i.selectedSchema]),a=c(()=>{try{t(s=>({...s,isLoading:!0}));let e=R(m.schema,l,{transformMoneyFields:!1});return t(s=>({...s,isLoading:!1})),e}catch(e){throw t(s=>({...s,isLoading:!1})),u?.(e),e}},[m.schema,l,u]),J=r(e=>{t(s=>({...s,selectedSchema:e})),g?.(e),t(s=>({...s,resetKey:s.resetKey+1}))},[g]),P=r(async e=>{t(s=>({...s,isSubmitting:!0}));try{await f?.(e);let s={success:!0,data:e,timestamp:new Date().toISOString()};return t(n=>({...n,isSubmitting:!1,submittedResults:[s,...n.submittedResults]})),s}catch(s){let n={success:!1,data:e,timestamp:new Date().toISOString()};throw t(o=>({...o,isSubmitting:!1,submittedResults:[n,...o.submittedResults]})),u?.(s),s}},[f,u]),w=r(()=>{t(e=>({...e,resetKey:e.resetKey+1}))},[]),K=r(()=>{t(e=>({...e,submittedResults:[]}))},[]),y=r(async e=>{if(!a.fields)return null;let s=await b(e,a.fields,{isPartialValidation:!1}),n=await a.handleValidation(s);return t(o=>({...o,fieldsVersion:o.fieldsVersion+1})),n},[a]),L=c(()=>V(a.fields,l),[a.fields,l]);return{selectedSchema:i.selectedSchema,resetKey:i.resetKey,isLoading:i.isLoading,isSubmitting:i.isSubmitting,submittedResults:i.submittedResults,fieldValues:l,initialValues:L,currentSchemaData:m,fields:a.fields,meta:a.meta,handleSchemaChange:J,handleSubmit:P,handleReset:w,clearResults:K,checkFieldUpdates:d(async e=>{await y(e)},"checkFieldUpdates"),handleValidation:y}},"useJsonSchemaPlayground");export{U as a};
|
|
2
|
+
//# sourceMappingURL=chunk-HMJ4PIDI.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as I}from"./chunk-A3LRPGV3.js";import{a as N,b as j,c as D,d as O}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as I}from"./chunk-A3LRPGV3.js";import{a as N,b as j,c as D,d as O}from"./chunk-FJNQ64SB.js";import{b as v}from"./chunk-NW3D7CPK.js";import{b as C,h as p,i as b,u as R,v as F}from"./chunk-C4HFMTSB.js";import{a as k}from"./chunk-XPVYX7LE.js";import{a as c}from"./chunk-P37U34EQ.js";import{useMemo as S,useRef as ee,useState as A}from"react";var pe=c(({countryCode:L,options:u,initialValues:l})=>{let P=N(),g=j(),{mutateAsync:q}=C(P),{mutateAsync:J}=C(g),[y,U]=A(L||null),[f,B]=A(null),w=ee({company_basic_information:{},address_details:{}}),{fieldValues:V,stepState:a,setFieldValues:W,previousStep:z,nextStep:G,goToStep:H}=k(I),{companyBasicInformationForm:d,isLoading:K}=D({jsfModify:u?.jsfModify?.company_basic_information,queryOptions:{enabled:a.currentStep.name==="company_basic_information"}}),{data:s,isLoading:Q}=O({countryCode:y,fieldValues:a.currentStep.name==="address_details"?{...a.values?.address_details||{},...V}:a.values?.address_details||{},options:{...u,jsfModify:u?.jsfModify?.address_details,queryOptions:{enabled:a.currentStep.name==="address_details"&&!!y&&!!f}}}),i=S(()=>({company_basic_information:d?.fields||[],address_details:s?.fields||[]}),[d?.fields,s?.fields]),X={company_basic_information:null,address_details:s?.meta?.["x-jsf-fieldsets"]||null},h=S(()=>b(i.company_basic_information,{...l,country_code:y||l?.country_code||""}),[i.company_basic_information,y,l]),E=S(()=>b(i.address_details,l||{}),[i.address_details,l]),Y=S(()=>({company_basic_information:h,address_details:E}),[h,E]),Z=c(o=>{H(o)},"goTo"),M=c(async o=>{let r=a.currentStep.name,e=i[r];return d&&r==="company_basic_information"?await p(o,e,{isPartialValidation:!1}):s&&r==="address_details"?await p(o,e,{isPartialValidation:!1}):{}},"parseFormValues");async function $(o){let r=a.currentStep.name,e=await M(o);switch(r in w.current&&(w.current[r]=R(e,i[r])),a.currentStep.name){case"company_basic_information":{if(U(e.country_code),f)return Promise.resolve({data:{countryCode:e.country_code??"",companyOwnerEmail:e.company_owner_email??"",companyOwnerName:e.company_owner_name??"",desiredCurrency:e.desired_currency??"",name:e.name??"",phoneNumber:e.phone_number??"",taxNumber:e.tax_number??""}});let x={country_code:e.country_code,company_owner_email:e.company_owner_email,company_owner_name:e.company_owner_name,desired_currency:e.desired_currency,name:e.name,phone_number:e.phone_number,tax_number:e.tax_number,terms_of_service_accepted_at:v()},n=await q(x);if(n.error)return Promise.resolve({data:null,error:n.error,rawError:n.rawError,fieldErrors:n.fieldErrors});let m=n.data?.data,_,t;if(m)if("data"in m&&m.data){let T=m.data.company;t=T,_=T?.id}else"company"in m&&(t=m.company,_=t?.id);return _&&B(_),Promise.resolve({data:{countryCode:t?.country_code??e.country_code??"",companyOwnerEmail:t?.company_owner_email??e.company_owner_email??"",companyOwnerName:t?.company_owner_name??e.company_owner_name??"",desiredCurrency:t?.desired_currency??e.desired_currency??"",name:t?.name??e.name??"",phoneNumber:t?.phone_number??e.phone_number??"",taxNumber:t?.tax_number??e.tax_number??""}})}case"address_details":{if(!f)throw F("Company ID is required to update address details");let n=await J({companyId:f,payload:{address_details:e},jsonSchemaVersion:u?.jsonSchemaVersion?.form_schema?.address_details});return n.error?Promise.resolve({data:null,error:n.error,rawError:n.rawError,fieldErrors:n.fieldErrors}):Promise.resolve({data:n.data})}default:throw F("Invalid step state")}}return c($,"onSubmit"),{isLoading:K||Q,isSubmitting:P.isPending||g.isPending,fieldValues:V,stepState:a,checkFieldUpdates:W,back:z,next:G,goTo:Z,onSubmit:$,fields:i[a.currentStep.name],meta:{fields:w.current,fieldsets:X[a.currentStep.name]},parseFormValues:M,handleValidation:c(async o=>{if(a.currentStep.name==="company_basic_information"&&d){let r=await p(o,d.fields,{isPartialValidation:!1});return d.handleValidation(r)}if(a.currentStep.name==="address_details"&&s){let r=await p(o,s.fields,{isPartialValidation:!1});return s.handleValidation(r)}return null},"handleValidation"),initialValues:Y}},"useCreateCompany");export{pe as a};
|
|
2
|
+
//# sourceMappingURL=chunk-HNJ7ZFEU.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as s}from"./chunk-SS2SYDCB.js";import{a as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as s}from"./chunk-SS2SYDCB.js";import{a as t}from"./chunk-UZFEJMO6.js";import{a as l}from"./chunk-TYCOSAU4.js";import{h as m}from"./chunk-AUPAAQUT.js";import{a as r}from"./chunk-P37U34EQ.js";import{jsx as i}from"react/jsx-runtime";import{createElement as p}from"react";function c({onSubmit:a,defaultValues:n}){let{formId:d,employeeBag:e}=s(),o=t({handleValidation:e.handleValidation,defaultValues:n??{},checkFieldUpdates:e.setFieldValues});return p(m,{...o,key:`form-${e.stepState.currentStep.name}`},i("form",{id:d,onSubmit:o.handleSubmit(f=>a(f,o)),className:"space-y-4 RemoteFlows__PayrollEmployeeForm",children:i(l,{fields:e.fields,fieldsets:e.meta["x-jsf-fieldsets"],fieldValues:e.fieldValues})}))}r(c,"PayrollEmployeeForm");export{c as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ISETCY2V.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as e}from"./chunk-APUJLKUM.js";import{a as n}from"./chunk-5OEO67O2.js";import{b as a}from"./chunk-WCJZAOZR.js";import{a as o}from"./chunk-P37U34EQ.js";import{jsx as i}from"react/jsx-runtime";function d(r){let{adminBag:t}=a(),l=e(r),s={...t.initialValues?.contract_details,...t.stepState.values?.contract_details};return i(n,{onSubmit:l,defaultValues:s})}o(d,"ContractDetailsStep");export{d as a};
|
|
2
|
+
//# sourceMappingURL=chunk-JBAKDTGM.js.map
|
|
@@ -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-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as t,b as n,c as l,d as i,e as s,f as d}from"./chunk-5IIFCA3F.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-JGKYFH4L.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n as o}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{n as o}from"./chunk-C4HFMTSB.js";import*as t from"react";import*as e from"@radix-ui/react-checkbox";import{Check as s}from"lucide-react";import{jsx as i}from"react/jsx-runtime";var m=t.forwardRef(({className:r,...c},a)=>i(e.Root,{ref:a,className:o("peer h-4 w-4 shrink-0 rounded-sm border border-input ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-checkbox data-[state=checked]:text-primary",r),...c,children:i(e.Indicator,{className:o("flex items-center justify-center text-current"),children:i(s,{className:"h-4 w-4"})})}));m.displayName=e.Root.displayName;export{m as a};
|
|
2
|
+
//# sourceMappingURL=chunk-JJUOWS3K.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as m}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as m}from"./chunk-WXTEP5PE.js";import{b as s}from"./chunk-PGWKJ6FK.js";import{c as i}from"./chunk-C4HFMTSB.js";import{a}from"./chunk-P37U34EQ.js";import{jsx as c}from"react/jsx-runtime";function F({onSubmit:d,onSuccess:l,onError:n}){let{onboardingBag:r}=s(),g=a(async t=>{try{let o=await r.parseFormValues(t);await d?.(o);let e=await r.onSubmit(t);if(e?.data){await l?.(e?.data),r?.next();return}if(e?.error){let E=i(e?.fieldErrors||[],r.meta?.fields?.engagement_agreement_details);n?.({error:e?.error,rawError:e?.rawError,fieldErrors:E})}}catch(o){n?.({error:o,rawError:o,fieldErrors:[]})}},"handleSubmit"),u=r.stepState.values?.engagement_agreement_details||r.initialValues.engagement_agreement_details;return c(m,{defaultValues:u,onSubmit:g})}a(F,"EngagementAgreementDetailsStep");export{F as a};
|
|
2
|
+
//# sourceMappingURL=chunk-JP5GXWXT.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as t}from"./chunk-LKHRHBFP.js";import{a as n}from"./chunk-P37U34EQ.js";import{jsx as r}from"react/jsx-runtime";var u=n(p=>{let{"data-type":e,...o}=p;return e==="inline"?r(t,{size:"link",variant:"link",...o}):r(t,{...o})},"ButtonDefault");export{u as a};
|
|
2
|
+
//# sourceMappingURL=chunk-JXPMQMTT.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as s}from"./chunk-MS63VN5N.js";import{b as a}from"./chunk-Q3ALCPJN.js";import{x as n}from"./chunk-C4HFMTSB.js";import{a as e}from"./chunk-P37U34EQ.js";import{jsx as E}from"react/jsx-runtime";function S({onSubmit:l,onSuccess:u,onError:m}){let{contractorOnboardingBag:i}=a(),d=e(async(t,b)=>{try{let o=await i.parseFormValues(t);await l?.(o);let r=await i.onSubmit(t);if(r?.data){await u?.(r?.data),r?._skipNextStep||i?.next();return}}catch(o){let r=n(o,i.meta?.fields?.eligibility_questionnaire,b);m?.(r)}},"handleSubmit"),p=i.stepState.values?.eligibility_questionnaire||i.initialValues.eligibility_questionnaire;return E(s,{defaultValues:p,onSubmit:d})}e(S,"EligibilityQuestionnaireStep");export{S as a};
|
|
2
|
+
//# sourceMappingURL=chunk-KBD6W5FL.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as o}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{c as o}from"./chunk-3OLZMSGR.js";import{a as r}from"./chunk-P37U34EQ.js";import{jsx as n}from"react/jsx-runtime";function i({helpCenter:e,className:t}){return!e||!e.id||!e.callToAction?null:n(o,{zendeskId:e.id,className:t,children:e.callToAction})}r(i,"HelpCenter");export{i as a};
|
|
2
|
+
//# sourceMappingURL=chunk-KBYI7L5E.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as y}from"./chunk-Q3ALCPJN.js";import{d as p,e as v}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as y}from"./chunk-Q3ALCPJN.js";import{d as p,e as v}from"./chunk-QN6OMOUW.js";import{b as n,w as u}from"./chunk-C4HFMTSB.js";import{b as l}from"./chunk-H2O4CVKF.js";import{a as r}from"./chunk-P37U34EQ.js";import O from"lodash.omit";import{jsx as C}from"react/jsx-runtime";function T({onSubmit:f,onSuccess:i,onError:s,render:w,...o}){let{components:E}=l(),{contractorOnboardingBag:e}=y(),a=p(),m=v(),{mutateAsyncOrThrow:g}=n(a),{mutateAsyncOrThrow:I}=n(m),c=e.employment?.contractor_type==="cor"&&!e.isEmploymentReadOnly,R=r(async()=>{try{if(await f?.(),c&&e.employmentId){let t=await I({employment_slug:e.employmentId});if(t?.data){await i?.({data:t,employmentStatus:"created_awaiting_reserve"}),e.refetchEmployment();return}}else if(e.employmentId){let t=await g({employment_id:e.employmentId});t&&(await i?.({data:t,employmentStatus:"invited"}),e.refetchEmployment())}}catch(t){u(t)?s?.(O(t,"response")):s?.({error:t,rawError:t,fieldErrors:[]})}},"handleSubmit"),d=E?.button;if(!d)throw new Error("Button component not found");let b=a.isPending||m.isPending||!e.canInvite||o.disabled;return C(d,{...o,disabled:b,onClick:t=>{R(),o.onClick?.(t)},children:w({status:c?"create_reserve":"invite"})})}r(T,"OnboardingInvite");export{T as a};
|
|
2
|
+
//# sourceMappingURL=chunk-KFTMJ253.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as s}from"./chunk-4MI7BMM5.js";import{n as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as s}from"./chunk-4MI7BMM5.js";import{n as e}from"./chunk-C4HFMTSB.js";import{b as r}from"./chunk-H2O4CVKF.js";import{a as n}from"./chunk-P37U34EQ.js";import{jsx as a}from"react/jsx-runtime";function B({children:u,...t}){let{formId:m,playgroundBag:i}=s(),{components:c}=r(),o=c?.button;if(!o)throw new Error("Button component not found");return a(o,{...t,type:"reset",className:e("RemoteFlows__JsonSchemaPlayground__ResetButton",t.className),form:m,onClick:l=>{i.handleReset(),t.onClick?.(l)},children:u})}n(B,"JsonSchemaPlaygroundResetButton");export{B as a};
|
|
2
|
+
//# sourceMappingURL=chunk-LFUMRNDK.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{n as e}from"./chunk-C4HFMTSB.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-LKHRHBFP.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as R,b as x,c as N,d as A}from"./chunk-HQLGDW2G.js";import{a as T}from"./chunk-ZE3YT3Q6.js";import{a as C}from"./chunk-AHUSQVQY.js";import{b as B}from"./chunk-BC4V2YAK.js";import{a as w,c as f}from"./chunk-WDO7XH6B.js";import{n as i,o as n,r as F}from"./chunk-NXRWBI36.js";import{a as m}from"./chunk-P37U34EQ.js";import{MoreHorizontal as G}from"lucide-react";import{useState as P}from"react";import{Fragment as U,jsx as g,jsxs as E}from"react/jsx-runtime";function L({actions:e=[],className:r,label:a,"data-testid":l}){let[_,d]=P(!1);return E("div",{className:i("relative",r),children:[g(B,{"data-testid":l,variant:"ghost","aria-label":a,className:"h-8 w-8 p-0",onClick:()=>d(!_),children:g(G,{className:"h-4 w-4"})}),_&&E(U,{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(L,"ActionsDropdown");import{ChevronDown as S,Info as $}from"lucide-react";import j from"react-flagpack";import{useState as O}from"react";import{Fragment as b,jsx as o,jsxs as t}from"react/jsx-runtime";var Z={GB:"GB-UKM"},K=m(({title:e,country:r,region:a,annualGrossSalary:l,onDelete:_,onExportPdf:d,onEdit:c})=>{let u=[{label:"Edit",onClick:c},{label:"Export",onClick:d},{label:"Delete",onClick:_}];return t("div",{className:"RemoteFlows__EstimationResults__Header flex justify-between",children:[t("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(j,{code:Z[r.alpha_2_code]||r.alpha_2_code})}),t("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}),t("p",{className:"RemoteFlows__EstimationResultsHeader__Country text-xs text-[#71717A]",children:[r.name," ",a?` (${a.name})`:""]}),t("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(L,{label:"Actions",className:"RemoteFlows__EstimationResults__ActionsDropdown",actions:u})]})},"EstimationResultsHeader"),V=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 Y({minimumOnboardingDays:e,data:r,className:a}){return o(R,{collapsible:!0,className:i("RemoteFlows__EstimationResults__OnboardingTimeline w-full",a),children:t(x,{value:"timeline",className:"RemoteFlows__OnboardingTimeline__AccordionItem border-border",children:[o(N,{className:"RemoteFlows__OnboardingTimeline__AccordionTrigger hover:no-underline px-0 py-4",children:t("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&&t("span",{className:"RemoteFlows__OnboardingTimeline__Description text-base text-muted-foreground mr-4",children:[e," days"]})]})}),t(A,{className:"px-0 pb-4",children:[o("ul",{className:"RemoteFlows__OnboardingTimeline__List list-disc list-inside space-y-2",children:r.steps.map(l=>t("li",{children:[o("strong",{className:"font-medium text-[#09090B]",children:l.title})," ","- ",l.description]},l.id))}),t("p",{className:"RemoteFlows__OnboardingTimeline__HelpText text-xs text-muted-foreground mt-4",children:[r.helpText,r.zendeskArticleId&&o(f,{zendeskId:r.zendeskArticleId,children:"Learn more"})]})]})]})})}m(Y,"OnboardingTimeline");function q({className:e,countryBenefitsUrl:r,countryGuideUrl:a,country:l}){return o(R,{collapsible:!0,className:i("RemoteFlows__EstimationResults__HiringSection w-full",e),children:t(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:t("span",{className:"text-base font-medium text-[#0F172A]",children:["Hiring in ",l.name]})})}),o(A,{children:t("div",{className:"flex flex-col gap-1",children:[a&&o("a",{href:a,target:"_blank",className:"RemoteFlows__Link",children:"Explore our complete guide \u2197"}),r&&o("a",{href:r,target:"_blank",className:"RemoteFlows__Link",children:"Explore our available benefits \u2197"})]})})]})})}m(q,"HiringSection");function J({isMultipleCurrency:e,className:r}){return t("div",{className:i("RemoteFlows__EstimationResults__Headers grid grid-cols-3 items-center",r),children:[o("span",{"aria-hidden":!0}),e?t(b,{children:[o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Employee currency"}),o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Employer currency"})]}):t(b,{children:[o("span",{}),o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Amount"})]})]})}m(J,"EstimationHeaders");function I({label:e,amounts:r,className:a,children:l}){let[_,d]=O(!0);return t("div",{className:i("RemoteFlows__EstimationResults__Row",a),children:[t("div",{className:"RemoteFlows__EstimationRow__Grid grid grid-cols-3 items-center",children:[t("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(S,{className:`h-4 w-4 text-muted-foreground transition-transform ${_?"rotate-180":""}`})})]}),Array.isArray(r)?r.map((c,u)=>o("span",{className:i("RemoteFlows__EstimationRow__RegionalAmount text-right font-medium text-[#09090B]"),children:c},u)):t(b,{children:[o("span",{}),o("span",{className:i("RemoteFlows__EstimationRow__EmployerAmount text-right font-medium text-[#09090B]"),children:r})]})]}),_&&l&&o("div",{className:"RemoteFlows__EstimationRow__CollapsibleContent mt-4",children:l})]})}m(I,"EstimationRow");function Q({item:e,isMultipleCurrency:r,level:a=0}){let[l,_]=O(!1),d=e.children&&e.children.length>0,c=a>0,u=e.isCollapsible||d;return t("li",{className:i("RemoteFlows__BreakdownList__Item pb-3",c&&"pb-1"),children:[t("div",{className:i(r?"RemoteFlows__BreakdownList__Grid grid grid-cols-3 items-center justify-between":"RemoteFlows__BreakdownList__Grid grid grid-cols-2 items-center justify-between"),children:[t("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?t("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(S,{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(T,{content:t(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($,{className:i("RemoteFlows__BreakdownList__InfoButton__Icon text-muted-foreground",c?"h-3 w-3":"h-4 w-4")})})})]}),r?t(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(k,{items:e.children,isMultipleCurrency:r,level:a+1})})]})}m(Q,"BreakdownListItem");function k({items:e,isMultipleCurrency:r,className:a,level:l}){return o("ul",{className:i("RemoteFlows__BreakdownList list-none",a),children:e.map((_,d)=>o(Q,{item:_,isMultipleCurrency:r,level:l},d))})}m(k,"BreakdownList");var pe=m(({estimation:e,title:r,components:a,onDelete:l,onExportPdf:_,onEdit:d})=>{let c=a?.HiringSection||q,u=a?.OnboardingTimeline||Y,z=a?.Header||K,h=a?.Footer,H=V(),p=e.employer_currency_costs.currency.code!==e.regional_currency_costs.currency.code,v=e.employer_currency_costs.monthly_management_fee,D=e.region.code!==e.country.code,M=n(e.regional_currency_costs.annual_gross_salary,e.regional_currency_costs.currency.code);return t(C,{className:"RemoteFlows__EstimationResults__Card p-10",children:[o("div",{className:"RemoteFlows__Separator",children:o(z,{title:r,annualGrossSalary:M,region:D?e.region:void 0,country:e.country,onDelete:l,onExportPdf:_,onEdit:d})}),t("div",{className:"RemoteFlows__Separator",children:[o(J,{isMultipleCurrency:p,className:"mb-3"}),o(I,{label:"Monthly total cost",amounts:p?[n(e.regional_currency_costs.monthly_total,e.regional_currency_costs.currency.code),n(e.employer_currency_costs.monthly_total,e.employer_currency_costs.currency.code)]:n(e.regional_currency_costs.monthly_total,e.regional_currency_costs.currency.code),children:o(k,{items:[{label:"Gross monthly salary",regionalAmount:n(e.regional_currency_costs.monthly_gross_salary,e.regional_currency_costs.currency.code),employerAmount:n(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:n(e.regional_currency_costs.monthly_contributions_total,e.regional_currency_costs.currency.code),employerAmount:n(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:n(e.regional_currency_costs.monthly_contributions_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Benefits",regionalAmount:n(e.regional_currency_costs.monthly_benefits_total,e.regional_currency_costs.currency.code),employerAmount:n(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:n(e.regional_currency_costs.monthly_benefits_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},...v?[{label:"Monthly fee",regionalAmount:n(e.regional_currency_costs.monthly_management_fee,e.regional_currency_costs.currency.code),employerAmount:n(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(I,{label:"Annual total cost",amounts:p?[n(e.regional_currency_costs.annual_total,e.regional_currency_costs.currency.code),n(e.employer_currency_costs.annual_total,e.employer_currency_costs.currency.code)]:n(e.regional_currency_costs.annual_total,e.regional_currency_costs.currency.code),children:o(k,{items:[{label:"Gross annual salary",dataSelector:"annual-gross-salary",regionalAmount:n(e.regional_currency_costs.annual_gross_salary,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.annual_gross_salary,e.employer_currency_costs.currency.code)},{label:"Mandatory employer costs",regionalAmount:n(e.regional_currency_costs.annual_contributions_total,e.regional_currency_costs.currency.code),employerAmount:n(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:n(e.regional_currency_costs.annual_contributions_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Benefits",regionalAmount:n(e.regional_currency_costs.annual_benefits_total,e.regional_currency_costs.currency.code),employerAmount:n(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:n(e.regional_currency_costs.annual_benefits_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(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:n(e.regional_currency_costs.extra_statutory_payments_total,e.regional_currency_costs.currency.code),employerAmount:n(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:n(e.regional_currency_costs.extra_statutory_payments_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},...v?[{label:"Annual fee",regionalAmount:n(e.regional_currency_costs.annual_management_fee,e.regional_currency_costs.currency.code),employerAmount:n(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:H})}),o(c,{countryBenefitsUrl:e.country_benefits_details_url,countryGuideUrl:e.country_guide_url,country:e.country}),h&&o(h,{})]})},"EstimationResults");export{pe as a};
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as R,b as x,c as N,d as A}from"./chunk-OV4ARZIX.js";import{a as T}from"./chunk-ZE3YT3Q6.js";import{a as C}from"./chunk-SWLNTVAX.js";import{b as B}from"./chunk-LKHRHBFP.js";import{a as w,c as f}from"./chunk-3OLZMSGR.js";import{n as i,o as n,r as F}from"./chunk-C4HFMTSB.js";import{a as m}from"./chunk-P37U34EQ.js";import{MoreHorizontal as G}from"lucide-react";import{useState as P}from"react";import{Fragment as U,jsx as g,jsxs as E}from"react/jsx-runtime";function L({actions:e=[],className:r,label:a,"data-testid":l}){let[_,d]=P(!1);return E("div",{className:i("relative",r),children:[g(B,{"data-testid":l,variant:"ghost","aria-label":a,className:"h-8 w-8 p-0",onClick:()=>d(!_),children:g(G,{className:"h-4 w-4"})}),_&&E(U,{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(L,"ActionsDropdown");import{ChevronDown as S,Info as $}from"lucide-react";import j from"react-flagpack";import{useState as O}from"react";import{Fragment as b,jsx as o,jsxs as t}from"react/jsx-runtime";var Z={GB:"GB-UKM"},K=m(({title:e,country:r,region:a,annualGrossSalary:l,onDelete:_,onExportPdf:d,onEdit:c})=>{let u=[{label:"Edit",onClick:c},{label:"Export",onClick:d},{label:"Delete",onClick:_}];return t("div",{className:"RemoteFlows__EstimationResults__Header flex justify-between",children:[t("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(j,{code:Z[r.alpha_2_code]||r.alpha_2_code})}),t("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}),t("p",{className:"RemoteFlows__EstimationResultsHeader__Country text-xs text-[#71717A]",children:[r.name," ",a?` (${a.name})`:""]}),t("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(L,{label:"Actions",className:"RemoteFlows__EstimationResults__ActionsDropdown",actions:u})]})},"EstimationResultsHeader"),V=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 Y({minimumOnboardingDays:e,data:r,className:a}){return o(R,{collapsible:!0,className:i("RemoteFlows__EstimationResults__OnboardingTimeline w-full",a),children:t(x,{value:"timeline",className:"RemoteFlows__OnboardingTimeline__AccordionItem border-border",children:[o(N,{className:"RemoteFlows__OnboardingTimeline__AccordionTrigger hover:no-underline px-0 py-4",children:t("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&&t("span",{className:"RemoteFlows__OnboardingTimeline__Description text-base text-muted-foreground mr-4",children:[e," days"]})]})}),t(A,{className:"px-0 pb-4",children:[o("ul",{className:"RemoteFlows__OnboardingTimeline__List list-disc list-inside space-y-2",children:r.steps.map(l=>t("li",{children:[o("strong",{className:"font-medium text-[#09090B]",children:l.title})," ","- ",l.description]},l.id))}),t("p",{className:"RemoteFlows__OnboardingTimeline__HelpText text-xs text-muted-foreground mt-4",children:[r.helpText,r.zendeskArticleId&&o(f,{zendeskId:r.zendeskArticleId,children:"Learn more"})]})]})]})})}m(Y,"OnboardingTimeline");function q({className:e,countryBenefitsUrl:r,countryGuideUrl:a,country:l}){return o(R,{collapsible:!0,className:i("RemoteFlows__EstimationResults__HiringSection w-full",e),children:t(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:t("span",{className:"text-base font-medium text-[#0F172A]",children:["Hiring in ",l.name]})})}),o(A,{children:t("div",{className:"flex flex-col gap-1",children:[a&&o("a",{href:a,target:"_blank",className:"RemoteFlows__Link",children:"Explore our complete guide \u2197"}),r&&o("a",{href:r,target:"_blank",className:"RemoteFlows__Link",children:"Explore our available benefits \u2197"})]})})]})})}m(q,"HiringSection");function J({isMultipleCurrency:e,className:r}){return t("div",{className:i("RemoteFlows__EstimationResults__Headers grid grid-cols-3 items-center",r),children:[o("span",{"aria-hidden":!0}),e?t(b,{children:[o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Employee currency"}),o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Employer currency"})]}):t(b,{children:[o("span",{}),o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Amount"})]})]})}m(J,"EstimationHeaders");function I({label:e,amounts:r,className:a,children:l}){let[_,d]=O(!0);return t("div",{className:i("RemoteFlows__EstimationResults__Row",a),children:[t("div",{className:"RemoteFlows__EstimationRow__Grid grid grid-cols-3 items-center",children:[t("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(S,{className:`h-4 w-4 text-muted-foreground transition-transform ${_?"rotate-180":""}`})})]}),Array.isArray(r)?r.map((c,u)=>o("span",{className:i("RemoteFlows__EstimationRow__RegionalAmount text-right font-medium text-[#09090B]"),children:c},u)):t(b,{children:[o("span",{}),o("span",{className:i("RemoteFlows__EstimationRow__EmployerAmount text-right font-medium text-[#09090B]"),children:r})]})]}),_&&l&&o("div",{className:"RemoteFlows__EstimationRow__CollapsibleContent mt-4",children:l})]})}m(I,"EstimationRow");function Q({item:e,isMultipleCurrency:r,level:a=0}){let[l,_]=O(!1),d=e.children&&e.children.length>0,c=a>0,u=e.isCollapsible||d;return t("li",{className:i("RemoteFlows__BreakdownList__Item pb-3",c&&"pb-1"),children:[t("div",{className:i(r?"RemoteFlows__BreakdownList__Grid grid grid-cols-3 items-center justify-between":"RemoteFlows__BreakdownList__Grid grid grid-cols-2 items-center justify-between"),children:[t("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?t("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(S,{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(T,{content:t(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($,{className:i("RemoteFlows__BreakdownList__InfoButton__Icon text-muted-foreground",c?"h-3 w-3":"h-4 w-4")})})})]}),r?t(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(k,{items:e.children,isMultipleCurrency:r,level:a+1})})]})}m(Q,"BreakdownListItem");function k({items:e,isMultipleCurrency:r,className:a,level:l}){return o("ul",{className:i("RemoteFlows__BreakdownList list-none",a),children:e.map((_,d)=>o(Q,{item:_,isMultipleCurrency:r,level:l},d))})}m(k,"BreakdownList");var pe=m(({estimation:e,title:r,components:a,onDelete:l,onExportPdf:_,onEdit:d})=>{let c=a?.HiringSection||q,u=a?.OnboardingTimeline||Y,z=a?.Header||K,h=a?.Footer,H=V(),p=e.employer_currency_costs.currency.code!==e.regional_currency_costs.currency.code,v=e.employer_currency_costs.monthly_management_fee,D=e.region.code!==e.country.code,M=n(e.regional_currency_costs.annual_gross_salary,e.regional_currency_costs.currency.code);return t(C,{className:"RemoteFlows__EstimationResults__Card p-10",children:[o("div",{className:"RemoteFlows__Separator",children:o(z,{title:r,annualGrossSalary:M,region:D?e.region:void 0,country:e.country,onDelete:l,onExportPdf:_,onEdit:d})}),t("div",{className:"RemoteFlows__Separator",children:[o(J,{isMultipleCurrency:p,className:"mb-3"}),o(I,{label:"Monthly total cost",amounts:p?[n(e.regional_currency_costs.monthly_total,e.regional_currency_costs.currency.code),n(e.employer_currency_costs.monthly_total,e.employer_currency_costs.currency.code)]:n(e.regional_currency_costs.monthly_total,e.regional_currency_costs.currency.code),children:o(k,{items:[{label:"Gross monthly salary",regionalAmount:n(e.regional_currency_costs.monthly_gross_salary,e.regional_currency_costs.currency.code),employerAmount:n(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:n(e.regional_currency_costs.monthly_contributions_total,e.regional_currency_costs.currency.code),employerAmount:n(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:n(e.regional_currency_costs.monthly_contributions_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Benefits",regionalAmount:n(e.regional_currency_costs.monthly_benefits_total,e.regional_currency_costs.currency.code),employerAmount:n(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:n(e.regional_currency_costs.monthly_benefits_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},...v?[{label:"Monthly fee",regionalAmount:n(e.regional_currency_costs.monthly_management_fee,e.regional_currency_costs.currency.code),employerAmount:n(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(I,{label:"Annual total cost",amounts:p?[n(e.regional_currency_costs.annual_total,e.regional_currency_costs.currency.code),n(e.employer_currency_costs.annual_total,e.employer_currency_costs.currency.code)]:n(e.regional_currency_costs.annual_total,e.regional_currency_costs.currency.code),children:o(k,{items:[{label:"Gross annual salary",dataSelector:"annual-gross-salary",regionalAmount:n(e.regional_currency_costs.annual_gross_salary,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.annual_gross_salary,e.employer_currency_costs.currency.code)},{label:"Mandatory employer costs",regionalAmount:n(e.regional_currency_costs.annual_contributions_total,e.regional_currency_costs.currency.code),employerAmount:n(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:n(e.regional_currency_costs.annual_contributions_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Benefits",regionalAmount:n(e.regional_currency_costs.annual_benefits_total,e.regional_currency_costs.currency.code),employerAmount:n(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:n(e.regional_currency_costs.annual_benefits_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(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:n(e.regional_currency_costs.extra_statutory_payments_total,e.regional_currency_costs.currency.code),employerAmount:n(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:n(e.regional_currency_costs.extra_statutory_payments_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},...v?[{label:"Annual fee",regionalAmount:n(e.regional_currency_costs.annual_management_fee,e.regional_currency_costs.currency.code),employerAmount:n(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:H})}),o(c,{countryBenefitsUrl:e.country_benefits_details_url,countryGuideUrl:e.country_guide_url,country:e.country}),h&&o(h,{})]})},"EstimationResults");export{pe as a};
|
|
2
|
+
//# sourceMappingURL=chunk-LWLFJAG6.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as c}from"./chunk-Q3ALCPJN.js";import{a as d}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as c}from"./chunk-Q3ALCPJN.js";import{a as d}from"./chunk-UZFEJMO6.js";import{a as l}from"./chunk-TYCOSAU4.js";import{h as m}from"./chunk-AUPAAQUT.js";import{c as s}from"./chunk-C4HFMTSB.js";import{a}from"./chunk-P37U34EQ.js";import{useEffect as f}from"react";import{jsx as F}from"react/jsx-runtime";import{createElement as V}from"react";function B({defaultValues:p,onSubmit:u,components:S}){let{formId:y,contractorOnboardingBag:o,formRef:t}=c(),r=d({handleValidation:o.handleValidation,defaultValues:p,checkFieldUpdates:o.checkFieldUpdates});f(()=>{t?.setValue&&(t.setValue.current=r.setValue)},[r.setValue,t]),f(()=>{o.employmentId&&o?.checkFieldUpdates(r.getValues())},[]);let g=a(async(n,b)=>{let i=b?.nativeEvent;if(i?.isDraftSubmission){let{onSuccess:P,onError:E}=i.draftCallbacks;try{await o.onSubmit(n),P?.()}catch(e){let C=o.stepState.currentStep.name,h=o.meta?.fields?.[C],O=s(e?.fieldErrors||[],h);E?.({error:e?.error||e,rawError:e?.rawError||e,fieldErrors:O})}}else await u(n,r)},"handleSubmit");return V(m,{...r,key:`form-${o.stepState.currentStep.name}`},F("form",{id:y,onSubmit:r.handleSubmit(g),className:"space-y-4 RemoteFlows__OnboardingForm",children:F(l,{components:S,fields:o.fields,fieldsets:o.meta.fieldsets,fieldValues:o.fieldValues})}))}a(B,"ContractorOnboardingForm");export{B as a};
|
|
2
|
+
//# sourceMappingURL=chunk-MS63VN5N.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as w}from"./chunk-PGWKJ6FK.js";import{r as k,s as A,t as y,u as D,v as _,w as M}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as w}from"./chunk-PGWKJ6FK.js";import{r as k,s as A,t as y,u as D,v as _,w as M}from"./chunk-QN6OMOUW.js";import{b as d}from"./chunk-C4HFMTSB.js";import{a as r}from"./chunk-P37U34EQ.js";import{useState as E}from"react";var H=r(({employmentId:t})=>{let{onboardingBag:m}=w(),[i,v]=E({}),[s,B]=E(),C=!!(m.options?.features?.includes("pre_onboarding_requirements")&&t),{data:a,isLoading:L,refetch:b}=k(t,{queryOptions:{enabled:C}}),q=new Map;for(let e of a??[])e.depends_on_requirement&&q.set(e.depends_on_requirement.slug,e);let f=s?i[s]:void 0,{data:T,isLoading:x}=y(t,f,{queryOptions:{enabled:!!f}}),p=A(),l=D(),R=_(),O=M(),{mutateAsyncOrThrow:N}=d(p),{mutateAsyncOrThrow:$}=d(l),{mutateAsyncOrThrow:G}=d(R),{mutateAsyncOrThrow:F}=d(O),I=r(async e=>{let o=a?.find(n=>n.slug===e);if(o?.status==="blocked"){let n=o.depends_on_requirement?.name;throw new Error(`Cannot create document for blocked requirement. ${n?`${n} must be completed first.`:"A dependent requirement must be completed first."}`)}let c=i[e];if(B(e),c)return null;let u=await N({employmentId:t,body:{requirement_slug:e,employment_id:t}}),g=u?.data.pre_onboarding_document.id;return g&&v(n=>({...n,[e]:g})),u},"onCreateDocument"),S=r(async e=>{let o=a?.find(n=>n.slug===e),c=o?.status==="blocked",u=P(e);if(c){let n=o?.depends_on_requirement?.name;throw new Error(`Cannot acknowledge blocked requirement. ${n?`${n} must be completed first.`:"A dependent requirement must be completed first."}`)}if(u)throw new Error("Cannot uncheck this acknowledgement because other requirements depend on it and are already in progress or completed.");if(h)throw new Error("Cannot acknowledge requirement while pending acknowledgement");o?.status==="finished"?await F({employmentId:t,requirementSlug:e}):await G({employmentId:t,requirementSlug:e}),await b()},"onAcknowledgeRequirement"),j=r(async e=>{if(!s)throw new Error("No active requirement selected");let o=i[s];if(!o)throw new Error("No document to sign");if(!e)throw new Error("Signature is required");let c=await $({employmentId:t,documentId:o,signature:e});return await b(),c},"onSignDocument"),P=r(e=>q.get(e)?.status==="finished","isAckLocked"),z=r(e=>s===e&&(p.isPending||x),"isRequirementLoading"),h=R.isPending||O.isPending;return{requirements:a,isLoadingRequirements:L,documentPreview:T,isSigning:l.isPending,onCreateDocument:I,onSignDocument:j,onAcknowledgeRequirement:S,isPendingAcknowledgement:h,isAckLocked:P,isRequirementLoading:z}},"usePreOnboardingRequirements"),V=r(({render:t})=>{let{onboardingBag:m}=w(),i=H({employmentId:m.employmentId});return t(i)},"PreOnboardingRequirements");export{H as a,V as b};
|
|
2
|
+
//# sourceMappingURL=chunk-NKGJZNXL.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as s}from"./chunk-MS63VN5N.js";import{b as n}from"./chunk-Q3ALCPJN.js";import{x as i}from"./chunk-C4HFMTSB.js";import{a as t}from"./chunk-P37U34EQ.js";import{jsx as c}from"react/jsx-runtime";function F({onSubmit:m,onSuccess:d,onError:p}){let{contractorOnboardingBag:r}=n(),l=t(async(a,v)=>{try{let e=await r.parseFormValues(a);await m?.(e);let o=await r.onSubmit(a);if(o?.data){await d?.(o?.data),r?.next();return}}catch(e){let o=i(e,r.meta?.fields?.contract_preview,v);p?.(o)}},"handleSubmit"),u=r.stepState.values?.contract_preview||r.initialValues.contract_preview;return c("div",{className:"space-y-4",children:c(s,{defaultValues:u,onSubmit:l})})}t(F,"ContractPreviewStep");export{F as a};
|
|
2
|
+
//# sourceMappingURL=chunk-OK2ZZ6NK.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as s}from"./chunk-MS63VN5N.js";import{b as e}from"./chunk-Q3ALCPJN.js";import{x as a}from"./chunk-C4HFMTSB.js";import{a as i}from"./chunk-P37U34EQ.js";import{jsx as g}from"react/jsx-runtime";function E({components:m,onSubmit:p,onSuccess:l,onError:c}){let{contractorOnboardingBag:r}=e(),d=i(async(t,P)=>{try{let n=await r.parseFormValues(t);await p?.(n);let o=await r.onSubmit(t);if(o?.data){await l?.(o?.data),r?.next();return}}catch(n){let o=a(n,r.meta?.fields?.pricing_plan,P);c?.(o)}},"handleSubmit"),u=r.stepState.values?.pricing_plan||r.initialValues.pricing_plan;return g(s,{components:m,defaultValues:u,onSubmit:d})}i(E,"PricingPlanStep");export{E as a};
|
|
2
|
+
//# sourceMappingURL=chunk-OKABTWB3.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as l}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as l}from"./chunk-WXTEP5PE.js";import{b as s}from"./chunk-PGWKJ6FK.js";import{c as n}from"./chunk-C4HFMTSB.js";import{a as t}from"./chunk-P37U34EQ.js";import{jsx as E}from"react/jsx-runtime";function S({onSubmit:d,onError:a,onSuccess:m}){let{onboardingBag:r}=s(),c=t(async i=>{try{let e=await r.parseFormValues(i);await d?.(e);let o=await r.onSubmit(i);if(o?.data){await m?.(o.data),r?.next();return}if(o?.error){let p=n(o?.fieldErrors||[],r.meta?.fields?.contract_details);a?.({error:o.error,rawError:o.rawError,fieldErrors:p})}}catch(e){a?.({error:e,rawError:e,fieldErrors:[]})}},"handleSubmit");return E(l,{defaultValues:r.stepState.values?.contract_details||r.initialValues.contract_details,onSubmit:c})}t(S,"ContractDetailsStep");export{S as a};
|
|
2
|
+
//# sourceMappingURL=chunk-OLBMZGOC.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a}from"./chunk-YPBPOUGX.js";import{a as l}from"./chunk-ISETCY2V.js";import{b as t}from"./chunk-SS2SYDCB.js";import{a as o}from"./chunk-P37U34EQ.js";import{jsx as s}from"react/jsx-runtime";function u(n){let{employeeBag:e}=t(),r=a(n);return s(l,{onSubmit:r,defaultValues:{...e.initialValues?.personal_details,...e.stepState.values?.personal_details}})}o(u,"PersonalDetailsStep");export{u as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ONUE4K6F.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as m,b as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as m,b as s}from"./chunk-3OLZMSGR.js";import{n as e}from"./chunk-C4HFMTSB.js";import{a as t}from"./chunk-P37U34EQ.js";import{Fragment as a,jsx as n,jsxs as o}from"react/jsx-runtime";var l=t(()=>o(a,{children:[n("div",{className:e("RemoteFlows__EmploymentAgreementInfoContent__InfoBox"),children:n("p",{className:e("RemoteFlows__EmploymentAgreementInfoContent__InfoBoxText"),children:"You are previewing a draft version of our employment agreement template for this specific hire in this specific country, based on the selections you made on the previous screens."})}),n("p",{className:e("RemoteFlows__EmploymentAgreementInfoContent__Description"),children:"Remote's agreements are drafted by local employment and labor law experts to ensure compliance, balance, and efficiency."}),o("div",{children:[n("p",{className:e("RemoteFlows__EmploymentAgreementInfoContent__WarningTitle"),children:"We strongly discourage customizations or redlining."}),n("p",{className:e("RemoteFlows__EmploymentAgreementInfoContent__Description"),children:"Modifying agreements can:"}),o("ul",{className:e("RemoteFlows__EmploymentAgreementInfoContent__List list-disc list-inside"),children:[n("li",{className:e("RemoteFlows__EmploymentAgreementInfoContent__ListItem"),children:"Create compliance risks"}),n("li",{className:e("RemoteFlows__EmploymentAgreementInfoContent__ListItem"),children:"Jeopardize enforceability"}),n("li",{className:e("RemoteFlows__EmploymentAgreementInfoContent__ListItem"),children:"Increase the risk of misemployment"})]})]}),n("p",{className:e("RemoteFlows__EmploymentAgreementInfoContent__Description"),children:"If you have questions or believe a change is necessary, please do not invite the employee. Instead, save this invitation as a draft and contact your Account Executive or Customer Success Manager at Remote."}),o("p",{className:e("RemoteFlows__EmploymentAgreementInfoContent__Description"),children:["If neither is available, please reach out to"," ",n("a",{href:"mailto:help@remote.com",className:e("RemoteFlows__EmploymentAgreementInfoContent__Link"),target:"_blank",rel:"noopener noreferrer",children:"help@remote.com \u2197"}),". Our Legal team will review and, where possible, align your needs with local compliance requirements, before inviting the employee, ensuring a smooth onboarding process."]}),o("p",{className:e("RemoteFlows__EmploymentAgreementInfoContent__Description"),children:["For guidance, see our"," ",n("a",{className:e("RemoteFlows__EmploymentAgreementInfoContent__Link"),href:s(m.employmentAgreements),target:"_blank",rel:"noopener noreferrer",children:"Agreement Engagement Guide \u2197"})," ","to understand what can (and can't) be modified."]})]}),"EmploymentAgreementInfoContent");export{l as a};
|
|
2
|
+
//# sourceMappingURL=chunk-OPGC7BSY.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n as g}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{n as g}from"./chunk-C4HFMTSB.js";import{a as d}from"./chunk-P37U34EQ.js";import*as e from"react";import{ChevronDownIcon as h}from"lucide-react";import{jsx as l,jsxs as y}from"react/jsx-runtime";var x=e.createContext(null),R=d(()=>{let t=e.useContext(x);if(!t)throw new Error("Accordion components must be used within Accordion");return t},"useAccordion");function P({collapsible:t=!1,defaultValue:u,value:r,onValueChange:o,className:n,children:i,...c}){let[s,p]=e.useState(u),m=r!==void 0,a=m?r:s,f=e.useCallback(A=>{let v;a===A?v=t?"":A:v=A,m||p(v),o&&o(v)},[a,t,m,o]),C=e.useMemo(()=>({openItem:a,toggleItem:f,collapsible:t}),[a,f,t]);return l(x.Provider,{value:C,children:l("div",{"data-slot":"accordion",className:n,...c,children:i})})}d(P,"Accordion");var I=e.createContext(null),b=d(()=>{let t=e.useContext(I);if(!t)throw new Error("AccordionItem components must be used within AccordionItem");return t},"useAccordionItem");function E({value:t,className:u,children:r,...o}){let{openItem:n}=R(),i=n===t,c=e.useId(),s=e.useMemo(()=>({value:t,isOpen:i,contentId:c}),[t,i,c]);return l(I.Provider,{value:s,children:l("div",{"data-slot":"accordion-item",className:g("border-b last:border-b-0",u),...o,children:r})})}d(E,"AccordionItem");function T({className:t,iconClassName:u,children:r,onClick:o,...n}){let{toggleItem:i}=R(),{value:c,isOpen:s,contentId:p}=b(),m=e.useId(),a=d(f=>{i(c),o?.(f)},"handleClick");return l("div",{className:"flex items-center",children:y("button",{id:m,type:"button","data-slot":"accordion-trigger","data-state":s?"open":"closed","aria-expanded":s,"aria-controls":p,className:g("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",t),onClick:a,...n,children:[r,l(h,{className:g("text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200 mt-1",u)})]})})}d(T,"AccordionTrigger");function V({className:t,children:u,...r}){let{isOpen:o,contentId:n}=b(),[i,c]=e.useState(o),[s,p]=e.useState(o);return e.useLayoutEffect(()=>{if(o){c(!0);let a=requestAnimationFrame(()=>{window.getComputedStyle(document.getElementById(n)).height,p(!0)});return()=>cancelAnimationFrame(a)}p(!1);let m=setTimeout(()=>c(!1),200);return()=>clearTimeout(m)},[o,n]),i?l("div",{id:n,role:"region","data-slot":"accordion-content","data-state":o?"open":"closed",className:g("overflow-hidden text-sm transition-all duration-200 ease-out",s?"max-h-[2000px] opacity-100":"max-h-0 opacity-0"),...r,children:l("div",{className:g("pt-0 pb-4",t),children:u})}):null}d(V,"AccordionContent");export{P as a,E as b,T as c,V as d};
|
|
2
|
+
//# sourceMappingURL=chunk-OV4ARZIX.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./chunk-CW7CHRMN.js";import{a as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as e}from"./chunk-CW7CHRMN.js";import{a as s}from"./chunk-KFTMJ253.js";import{a as p}from"./chunk-DB4JHJ3Z.js";import{a as c}from"./chunk-OKABTWB3.js";import{a as g}from"./chunk-KVUKJU5U.js";import{a as i}from"./chunk-CHTCJQJ3.js";import{a as f}from"./chunk-76TJCXAW.js";import{a as l}from"./chunk-B7XTWLRI.js";import{a as u}from"./chunk-OK2ZZ6NK.js";import{a as d}from"./chunk-SVVZOMLQ.js";import{a as S}from"./chunk-KBD6W5FL.js";import{a as m}from"./chunk-4E5YP5GD.js";import{a as n}from"./chunk-Q3ALCPJN.js";import{a}from"./chunk-7RLRU3VM.js";import{a as o}from"./chunk-P37U34EQ.js";import{useId as F,useRef as y,useMemo as D}from"react";import{jsx as V}from"react/jsx-runtime";var L=o(({render:C,employmentId:b,externalId:v,countryCode:O,skipSteps:B,initialValues:w,options:P})=>{let R=F(),t=y(void 0),I=D(()=>({setValue:t}),[]),r=a({options:{...P,onContractReviewed:o(()=>{t.current&&t.current("review_completed",!0)},"onContractReviewed")},employmentId:b,externalId:v,countryCode:O,skipSteps:B,initialValues:w});return V(n.Provider,{value:{contractorOnboardingBag:r,formId:R,formRef:I},children:C({contractorOnboardingBag:r,components:{BasicInformationStep:m,SelectCountryStep:i,BackButton:e,SubmitButton:p,PricingPlanStep:c,EligibilityQuestionnaireStep:S,ContractOriginStep:l,ContractDetailsStep:f,ContractPreviewStep:u,OnboardingInvite:s,ContractReviewButton:d,SaveDraftButton:g}})})},"ContractorOnboardingFlow");export{L as a};
|
|
2
|
+
//# sourceMappingURL=chunk-PJ2MZ6FH.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as c}from"./chunk-QXW2MAFG.js";import{a as f}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as c}from"./chunk-QXW2MAFG.js";import{a as f}from"./chunk-GVQ7UXVW.js";import{a as m}from"./chunk-B7BJXPGT.js";import{a}from"./chunk-DH2NHUZU.js";import{a as i}from"./chunk-G6F6ZZES.js";import{b as d}from"./chunk-NKGJZNXL.js";import{a as l}from"./chunk-Q4X35JRA.js";import{a as S}from"./chunk-FHYOWPXB.js";import{a as n}from"./chunk-WXKFXIMQ.js";import{a as s}from"./chunk-7G6XS63Q.js";import{a as p}from"./chunk-OLBMZGOC.js";import{a as g}from"./chunk-JP5GXWXT.js";import{a as t}from"./chunk-CETQLSZY.js";import{a as r}from"./chunk-PGWKJ6FK.js";import{a as o}from"./chunk-P37U34EQ.js";import{useId as h,useState as A}from"react";import{jsx as E}from"react/jsx-runtime";var V=o(({employmentId:u,companyId:b,countryCode:v,type:O="employee",externalId:w,skipSteps:B,initialValues:I,render:C,options:P})=>{let D=h(),e=t({companyId:b,countryCode:v,employmentId:u,type:O,options:P,skipSteps:B,externalId:w,initialValues:I}),[R,y]=A({showReserveInvoice:!1,showInviteSuccessful:!1});return E(r.Provider,{value:{formId:D,onboardingBag:e,creditScore:R,setCreditScore:y},children:C({onboardingBag:e,components:{BasicInformationStep:n,EngagementAgreementDetailsStep:g,ContractDetailsStep:p,BenefitsStep:s,SubmitButton:i,SaveDraftButton:c,BackButton:m,OnboardingInvite:a,SelectCountryStep:f,ReviewStep:S,PreOnboardingRequirements:d,PreviewEmploymentAgreementStep:l}})})},"OnboardingFlow");export{V as a};
|
|
2
|
+
//# sourceMappingURL=chunk-PQHXX3ZN.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as T,b as E,c as j,d as $,f as O}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as T,b as E,c as j,d as $,f as O}from"./chunk-XNV6ZN7J.js";import{a as V,d as w,e as x,f as B}from"./chunk-4BHEQMZV.js";import{b as F}from"./chunk-LKHRHBFP.js";import{a as N}from"./chunk-A7U3KJIP.js";import{a as y,b as k,d as D,e as R,f as H,h as C}from"./chunk-AUPAAQUT.js";import{a as s}from"./chunk-P37U34EQ.js";import*as l from"yup";var P=s((t,a,r)=>{if(t&&"reportValidity"in t){let o=y(r,a);t.setCustomValidity(o&&o.message||""),t.reportValidity()}},"r"),b=s((t,a)=>{for(let r in a.fields){let o=a.fields[r];o&&o.ref&&"reportValidity"in o.ref?P(o.ref,r,t):o&&o.refs&&o.refs.forEach(u=>P(u,r,t))}},"o"),q=s((t,a)=>{a.shouldUseNativeValidation&&b(t,a);let r={};for(let o in t){let u=y(a.fields,o),i=Object.assign(t[o]||{},{ref:u&&u.ref});if(A(a.names||Object.keys(t),o)){let n=Object.assign({},y(r,o));k(n,"root",i),k(r,o,n)}else k(r,o,i)}return r},"s"),A=s((t,a)=>{let r=M(a).replace(/[.*+?^${}()|\\]/g,"\\$&");return t.some(o=>M(o).match(`^${r}\\.\\d+`))},"i");function M(t){return t.replace(/[\[\]]/g,"")}s(M,"n");function L(t,a,r){return r===void 0&&(r={}),function(o,u,i){try{return Promise.resolve((function(n,_){try{var p=(a!=null&&a.context&&process.env.NODE_ENV==="development"&&console.warn("You should not used the yup options context. Please, use the 'useForm' context object instead"),Promise.resolve(t[r.mode==="sync"?"validateSync":"validate"](o,Object.assign({abortEarly:!1},a,{context:u}))).then(function(m){return i.shouldUseNativeValidation&&b({},i),{values:r.raw?Object.assign({},o):m,errors:{}}}))}catch(m){return _(m)}return p&&p.then?p.then(void 0,_):p})(0,function(n){if(!n.inner)throw n;return{values:{},errors:q((_=n,p=!i.shouldUseNativeValidation&&i.criteriaMode==="all",(_.inner||[]).reduce(function(m,c){if(m[c.path]||(m[c.path]={message:c.message,type:c.type}),p){var S=m[c.path].types,g=S&&S[c.type];m[c.path]=D(c.path,p,m,c.type,g?[].concat(g,c.message):c.message)}return m},{})),i)};var _,p}))}catch(n){return Promise.reject(n)}}}s(L,"o");import{Fragment as Y,useState as z}from"react";import{jsx as e,jsxs as d}from"react/jsx-runtime";var K=l.object({day:l.string().required(),checked:l.boolean().required(),start_time:l.string().matches(/^([01]\d|2[0-3]):([0-5]\d)$/,"Invalid time format (HH:mm)").when("checked",{is:!0,then:s(t=>t.required("Required"),"then"),otherwise:s(t=>t.optional().nullable(),"otherwise")}),end_time:l.string().matches(/^([01]\d|2[0-3]):([0-5]\d)$/,"Invalid time format (HH:mm)").when("checked",{is:!0,then:s(t=>t.required("Required"),"then"),otherwise:s(t=>t.optional().nullable(),"otherwise")}),hours:l.number().default(0),break_duration_minutes:l.string().default("0")}),G=l.object({schedule:l.array(K)});function J({defaultSchedule:t,onSubmit:a}){let[r,o]=z(!1),u=V.map(f=>{let h=t.find(v=>v.day.toLowerCase()===x(f).toLowerCase()||v.day.toLowerCase()===f.toLowerCase());return h?{...h,day:x(f),checked:!0}:{...t[0],checked:!1,day:x(f)}}),i=H({defaultValues:{schedule:u},resolver:L(G)}),{handleSubmit:n,watch:_,reset:p,control:m,formState:c}=i,{fields:S}=R({name:"schedule",control:m}),g=_("schedule");function I(f){let h=f.schedule.filter(({checked:v})=>v).map(v=>({...v,hours:w(v)}));a(h),o(!1)}s(I,"handleSubmitWorkingHours");function U(){p(),o(!1)}return s(U,"handleCancel"),e("div",{className:"flex items-center justify-between",children:d(T,{open:r,onOpenChange:o,children:[e(E,{asChild:!0,children:e(F,{variant:"link",className:"flex items-center p-0 RemoteFlows__WorkScheduleSelectionForm__Trigger",children:"Edit Schedule"})}),d(j,{className:"max-w-5xl max-h-[90vh] overflow-y-auto px-8 py-4 RemoteFlows__WorkScheduleSelectionForm__Content",children:[e($,{children:e(O,{className:"RemoteFlows__WorkScheduleSelectionForm__Title",children:"Edit employee working hours"})}),e(C,{...i,children:d("form",{className:"space-y-4 RemoteFlows__WorkScheduleSelectionForm__Form",children:[d("div",{className:"rounded-lg",children:[e("p",{className:"text-gray-600 text-sm mb-4 RemoteFlows__WorkScheduleSelectionForm__Description",children:"The times displayed are in the employee's time zone in the 24-hour format."}),d("div",{className:"grid grid-cols-12 gap-4 text-sm font-medium text-gray-500 uppercase tracking-wide RemoteFlows__WorkScheduleSelectionForm__Header",children:[e("div",{className:"col-span-2"}),e("div",{className:"col-span-3 text-center",children:"START"}),e("div",{className:"col-span-1 text-center"}),e("div",{className:"col-span-3 text-center",children:"END"}),e("div",{className:"col-span-2 text-center",children:"HOURS"})]}),e("div",{className:"RemoteFlows__WorkScheduleSelectionForm__Rows",children:S.map((f,h)=>{let v=g[h],W=w(v);return d(Y,{children:[d("div",{className:"grid grid-cols-12 gap-4 items-center py-2 RemoteFlows__WorkScheduleSelectionForm__Row-Hours",children:[e("div",{className:"col-span-2 flex items-center gap-3",children:e(B,{label:f.day,name:`schedule.${h}.checked`})}),e("div",{className:"col-span-3",children:e(N,{name:`schedule.${h}.start_time`,includeErrorMessage:!1})}),e("div",{className:"col-span-1 text-center text-gray-500",children:"to"}),e("div",{className:"col-span-3",children:e(N,{name:`schedule.${h}.end_time`,includeErrorMessage:!1})}),e("div",{className:"col-span-2 text-center text-gray-600",children:isNaN(W)?"-":`${W} hours`})]}),d("div",{className:"grid grid-cols-12 gap-4 items-center py-2 RemoteFlows__WorkScheduleSelectionForm__Row-Break",children:[e("div",{className:"col-span-2 text-gray-500",children:"Break"}),e("div",{className:"col-span-2",children:e(N,{name:`schedule.${h}.break_duration_minutes`,includeErrorMessage:!1})}),e("div",{className:"col-span-2 text-gray-500",children:"minutes"}),e("div",{className:"col-span-4"})]})]},f.id)})})]}),Object.keys(c.errors).length>0&&e("p",{className:"text-destructive text-sm mb-0",children:"Invalid time format (HH:mm)"}),d("div",{className:"flex gap-4 pt-4",children:[e(F,{type:"button",className:"reset-button",variant:"outline",onClick:U,children:"Cancel"}),e(F,{type:"button",className:"submit-button",onClick:n(I),children:"Save Schedule"})]})]})})]})]})})}s(J,"WorkScheduleSelectionForm");var he=s(({fieldData:t})=>{let{defaultFormattedValue:a,currentSchedule:r,onSubmit:o}=t,{workHoursSummary:u,breakSummary:i,totalWorkHours:n}=a;return d("div",{className:"flex flex-col gap-3 RemoteFlows__WorkScheduleField",children:[e("p",{className:"text-sm RemoteFlows__WorkScheduleField__Title",children:"Work hours"}),d("div",{className:"flex flex-col gap-1 RemoteFlows__WorkScheduleField__Summary",children:[e("p",{className:"text-sm text-gray-500 RemoteFlows__WorkScheduleField__Summary__WorkHours",dangerouslySetInnerHTML:{__html:u.join(", ")}}),e("p",{className:"text-sm text-gray-500 RemoteFlows__WorkScheduleField__Summary__Break",children:i.join()}),d("p",{className:"text-sm text-gray-500 RemoteFlows__WorkScheduleField__Summary__Total",children:["Total of ",e("span",{children:n})," hours per week"]}),e(J,{defaultSchedule:r,onSubmit:o})]})]})},"WorkScheduleFieldDefault");export{he as a};
|
|
2
|
+
//# sourceMappingURL=chunk-PUK2TIQX.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{r as t}from"./chunk-C4HFMTSB.js";import{b as m}from"./chunk-H2O4CVKF.js";import{a as e}from"./chunk-P37U34EQ.js";import{jsx as s}from"react/jsx-runtime";function f({title:o,description:r,severity:p}){let{components:a}=m(),n=a.statement;if(!n)throw new Error("Statement component not found");return s(n,{data:{title:o?t(o):void 0,description:t(r),severity:p}})}e(f,"Statement");export{f as a};
|
|
2
|
+
//# sourceMappingURL=chunk-PVORGGT3.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as i}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as i}from"./chunk-UEJU2A57.js";import{a as d}from"./chunk-KGSH67IW.js";import{a}from"./chunk-FLX72WFD.js";import{a as p}from"./chunk-JK4CPPN4.js";import{a as m}from"./chunk-JBAKDTGM.js";import{a as l}from"./chunk-6VEWI4G2.js";import{a as n}from"./chunk-WCJZAOZR.js";import{a as t}from"./chunk-UTQDJNOV.js";import{a as r}from"./chunk-P37U34EQ.js";import{useId as c}from"react";import{jsx as u}from"react/jsx-runtime";var D=r(({companyId:e,legalEntityId:s,countryCode:f,employmentId:P,initialValues:y,options:b,render:g})=>{let A=c(),o=t({companyId:e,legalEntityId:s,countryCode:f,employmentId:P,initialValues:y,options:b});return u(n.Provider,{value:{formId:A,adminBag:o},children:g({adminBag:o,components:{SelectCountryStep:i,ContractDetailsStep:m,AdministrativeDetailsStep:a,InvitationStep:l,SubmitButton:d,BackButton:p}})})},"PayrollAdminOnboardingFlow");export{D as a};
|
|
2
|
+
//# sourceMappingURL=chunk-PZWP6ZVL.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as _}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as _}from"./chunk-HDFAFTHC.js";import{a as C}from"./chunk-KBYI7L5E.js";import{j as i,k as c,l as a,n as F,o as u}from"./chunk-AUPAAQUT.js";import{a as p}from"./chunk-P37U34EQ.js";import{useEffect as O,useState as g}from"react";import{jsx as o,jsxs as I}from"react/jsx-runtime";var w=p(({field:t,fieldState:d,fieldData:r})=>{let[f,n]=g([]),{name:m,label:h,description:s,options:l}=r,v=f||l?.filter(e=>t.value?.includes(e.value));return O(()=>{n(l?.filter(e=>t.value?.includes(e.value))||[])},[t.value,l]),I(i,{"data-field":m,className:`RemoteFlows__SelectField__Item__${m}`,children:[o(c,{className:"RemoteFlows__SelectField__Label",children:h}),o(a,{children:o(_,{options:l||[],selected:v,onChange:e=>{let S=e.map(({value:b})=>b);t.onChange(S),n(e)}})}),(s||r.meta?.helpCenter)&&o(F,{helpCenter:o(C,{helpCenter:r.meta?.helpCenter}),children:s}),d.error&&o(u,{})]})},"MultiSelectFieldDefault");export{w as a};
|
|
2
|
+
//# sourceMappingURL=chunk-Q2JINYSB.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as m}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as m}from"./chunk-ONUE4K6F.js";import{a}from"./chunk-XAIBLWDF.js";import{a as i}from"./chunk-Z4Q2UO2Y.js";import{a as y}from"./chunk-WSRH5UQP.js";import{a as p}from"./chunk-FXVLXN2B.js";import{a as n}from"./chunk-4F7TGLUT.js";import{a as l}from"./chunk-32UP2UFU.js";import{a as t}from"./chunk-SS2SYDCB.js";import{a as e}from"./chunk-RJ7BWEDB.js";import{a as r}from"./chunk-P37U34EQ.js";import{useId as u}from"react";import{jsx as E}from"react/jsx-runtime";var I=r(({employmentId:s,countryCode:d,jurisdiction:f,initialValues:P,options:b,render:g})=>{let c=u(),o=e({employmentId:s,countryCode:d,jurisdiction:f,initialValues:P,options:b});return E(t.Provider,{value:{formId:c,employeeBag:o},children:g({employeeBag:o,components:{PersonalDetailsStep:m,HomeAddressStep:l,BankAccountStep:p,FederalTaxesStep:n,StateTaxesStep:a,SubmitButton:i,BackButton:y}})})},"PayrollEmployeeOnboardingFlow");export{I as a};
|
|
2
|
+
//# sourceMappingURL=chunk-Q2MGM4I2.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as t}from"./chunk-WXTEP5PE.js";import{b as o}from"./chunk-PGWKJ6FK.js";import{a as n}from"./chunk-P37U34EQ.js";import{jsx as r}from"react/jsx-runtime";function u(){let{onboardingBag:e}=o();return r(t,{defaultValues:{},onSubmit:n(async()=>{e?.next()},"handleSubmit")})}n(u,"PreviewEmploymentAgreementStep");export{u as a};
|
|
2
|
+
//# sourceMappingURL=chunk-Q4X35JRA.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as b}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as b}from"./chunk-KBYI7L5E.js";import{j as _,k as d,l as x,n as u,o as f}from"./chunk-AUPAAQUT.js";import{n as a}from"./chunk-C4HFMTSB.js";import{a as c}from"./chunk-P37U34EQ.js";import*as g from"react";import{jsx as h}from"react/jsx-runtime";var s=g.forwardRef(({className:e,...r},t)=>h("textarea",{className:a("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:t,...r}));s.displayName="Textarea";import{jsx as o,jsxs as l}from"react/jsx-runtime";function y({field:e,fieldState:r,fieldData:t}){let{name:i,label:p,description:n,maxLength:m}=t,F=e.value?.length??0;return l(_,{"data-field":i,className:`RemoteFlows__TextArea__Item__${i}`,children:[o(d,{className:"RemoteFlows__TextArea__Label",children:p}),o(x,{children:o(s,{...e,value:e.value??"",onChange:T=>{e.onChange(T)},className:a(r.error&&"border-red-500 focus-visible:ring-red-500","RemoteFlows__TextArea__Input"),placeholder:p})}),(n||m)&&l("div",{className:"flex items-center justify-between",children:[n&&o(u,{className:"RemoteFlows__TextArea__Description",helpCenter:o(b,{helpCenter:t.meta?.helpCenter}),children:n}),m&&l("span",{className:"text-sm ml-auto RemoteFlows__TextArea__MaxLength",children:[F,"/",m]})]}),r.error&&o(f,{className:"RemoteFlows__TextArea__Error"})]})}c(y,"TextAreaFieldDefault");export{y as a};
|
|
2
|
+
//# sourceMappingURL=chunk-QA6YA4OB.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as n,c as i}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as n,c as i}from"./chunk-3OLZMSGR.js";import{n as e}from"./chunk-C4HFMTSB.js";import{a as o}from"./chunk-P37U34EQ.js";import{Fragment as s,jsx as t,jsxs as r}from"react/jsx-runtime";var l=["You submit your termination request.","Remote reviews your request along with the employment agreement, local labor laws, and any collective bargaining agreements in place.","A lifecycle specialist contacts you if they need additional details. Sometimes they will request a call.","Depending on the country-specific laws and the terms of the employment agreement, Remote may need to seek additional legal advice. We\u2019ll let you know if there are additional charges before proceeding.","Terms and conditions for the termination are finalized.","You verbally communicate the termination to the employee.","Remote shares termination documents with the employee.","The employee signs the termination documents if required.","Remote processes the final salary and offboards the employee."],f=o(()=>r(s,{children:[t("h3",{className:e("RemoteFlows__TerminationDialogInfoContent__Title"),children:"Please read carefully before you continue"}),t("p",{className:e("RemoteFlows__TerminationDialogInfoContent__Description"),children:"Please do not inform the employee of the termination. Remote will lead communication with them after you submit this form and they finalize the termination terms."}),t("p",{className:e("RemoteFlows__TerminationDialogInfoContent__Description RemoteFlows__TerminationDialogInfoContent__FollowUpDescription"),children:"If you already informed them, that's okay. Remote will ask for the details regarding that communication and they'll take it from there."}),t(i,{className:e("RemoteFlows__TerminationDialogInfoContent__ZendeskTriggerButton text-sm"),zendeskId:n.terminationEmployeeCommunication,children:"Learn more about employee communication"}),t("h3",{className:e("RemoteFlows__TerminationDialogInfoContent__ProcessTitle"),children:"The termination process"}),t("ul",{className:e("RemoteFlows__TerminationDialogInfoContent__ProcessList list-disc list-inside"),children:l.map((a,m)=>t("li",{className:e("RemoteFlows__TerminationDialogInfoContent__ProcessListItem"),children:a},m))})]}),"TerminationDialogInfoContent");export{f as a};
|
|
2
|
+
//# sourceMappingURL=chunk-QJHSN6MG.js.map
|