@remoteoss/remote-flows 1.6.0 → 1.8.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-NLDQHAWN.js +2 -0
- package/dist/CheckboxFieldDefault-QXABRJXG.js +2 -0
- package/dist/CountryFieldDefault-Q6N5AQVO.js +2 -0
- package/dist/DatePickerFieldDefault-HUP4TK2U.js +2 -0
- package/dist/DrawerDefault-5EYKRPS7.js +2 -0
- package/dist/EmailFieldDefault-3ES7SMDC.js +2 -0
- package/dist/FieldsetToggleButtonDefault-TPLNRX3E.js +2 -0
- package/dist/FileUploadFieldDefault-PNM6H64X.js +2 -0
- package/dist/MultiSelectFieldDefault-THD7TDWF.js +2 -0
- package/dist/NumberFieldDefault-PCH6RRDK.js +2 -0
- package/dist/PDFPreviewDefault-474JH3KB.js +2 -0
- package/dist/RadioGroupFieldDefault-E35Y2AK6.js +2 -0
- package/dist/SelectFieldDefault-NHDJRM5H.js +2 -0
- package/dist/StatementDefault-CSHXL3G2.js +2 -0
- package/dist/TableFieldDefault-N7MO2QJI.js +2 -0
- package/dist/TextAreaFieldDefault-OG4UM4DG.js +2 -0
- package/dist/TextFieldDefault-FECR4GRK.js +2 -0
- package/dist/WorkScheduleFieldDefault-G2MR2DBY.js +2 -0
- package/dist/ZendeskDrawerDefault-W3RCTVCH.js +2 -0
- package/dist/{chunk-4ZE3SM7X.js → chunk-25III46F.js} +2 -2
- package/dist/{chunk-2BTW5VQM.js → chunk-3JJEKIQ2.js} +2 -2
- package/dist/{chunk-X7EZIAZ3.js → chunk-3QNS3IZB.js} +2 -2
- package/dist/{chunk-I42KSW2T.js → chunk-3UJC7KHD.js} +2 -2
- package/dist/{chunk-QAN3JZ45.js → chunk-3WBZPCT5.js} +2 -2
- package/dist/chunk-3X36ZFNP.js +2 -0
- package/dist/chunk-3X36ZFNP.js.map +1 -0
- package/dist/chunk-4DLVQKMI.js +2 -0
- package/dist/{chunk-UIE54LHV.js.map → chunk-4DLVQKMI.js.map} +1 -1
- package/dist/chunk-4TRBNEI5.js +2 -0
- package/dist/{chunk-GBU46SLB.js.map → chunk-4TRBNEI5.js.map} +1 -1
- package/dist/{chunk-QVUSRZ2Z.js → chunk-5IHRUTHD.js} +2 -2
- package/dist/chunk-6FKIWCCE.js +2 -0
- package/dist/chunk-6FKIWCCE.js.map +1 -0
- package/dist/{chunk-6PCNMM3O.js → chunk-6JFRVHLF.js} +2 -2
- package/dist/chunk-6K3XJV4Z.js +2 -0
- package/dist/chunk-6K3XJV4Z.js.map +1 -0
- package/dist/{chunk-BLAVAEPN.js → chunk-7GI4ZVUE.js} +2 -2
- package/dist/{chunk-QAVVHKBD.js → chunk-7PKH5MYL.js} +2 -2
- package/dist/{chunk-R3V5AHPG.js → chunk-7QRAEME3.js} +2 -2
- package/dist/{chunk-CB3JGUXW.js → chunk-7SYE5KEV.js} +2 -2
- package/dist/{chunk-U7CW67TM.js → chunk-A24VPRL7.js} +2 -2
- package/dist/{chunk-OZQVMA77.js → chunk-A54D24NT.js} +2 -2
- package/dist/{chunk-5XAHIRL6.js → chunk-AFEID3JA.js} +2 -2
- package/dist/{chunk-TN37JYBC.js → chunk-AN5U7FWW.js} +2 -2
- package/dist/chunk-AQHD46DV.js +2 -0
- package/dist/chunk-AQHD46DV.js.map +1 -0
- package/dist/{chunk-GH3FNNAU.js → chunk-C2NROAMW.js} +2 -2
- package/dist/{chunk-B4L4JBSX.js → chunk-C4NXXY3X.js} +2 -2
- package/dist/{chunk-MM645EUX.js → chunk-CAV5SWVS.js} +2 -2
- package/dist/{chunk-5H3G7L52.js → chunk-CKA37AR5.js} +2 -2
- package/dist/{chunk-WMVZY6FJ.js → chunk-CNCOVTDL.js} +2 -2
- package/dist/{chunk-H3ZZYAI6.js → chunk-D4FBB5XW.js} +2 -2
- package/dist/{chunk-6ARN2SX2.js → chunk-EBFCYC35.js} +2 -2
- package/dist/{chunk-NIJG4TPU.js → chunk-EW36MHXP.js} +2 -2
- package/dist/chunk-EYHFPHIA.js +2 -0
- package/dist/chunk-EYHFPHIA.js.map +1 -0
- package/dist/{chunk-R3C7KEKY.js → chunk-F2VYTYIQ.js} +2 -2
- package/dist/{chunk-DMHT7EDE.js → chunk-FFHBDVTJ.js} +2 -2
- package/dist/{chunk-IEYH33EJ.js → chunk-FGJ46XOX.js} +2 -2
- package/dist/{chunk-LGIJO73Z.js → chunk-FJPY27YJ.js} +2 -2
- package/dist/{chunk-H3ZACNQ6.js → chunk-FLW5LACO.js} +2 -2
- package/dist/{chunk-LMCS6CV5.js → chunk-FSHTBJ6O.js} +2 -2
- package/dist/chunk-FYFW7DCQ.js +2 -0
- package/dist/chunk-FYFW7DCQ.js.map +1 -0
- package/dist/{chunk-CBISFVN7.js → chunk-FZ452U6M.js} +2 -2
- package/dist/chunk-GCWEOZBS.js +2 -0
- package/dist/chunk-GCWEOZBS.js.map +1 -0
- package/dist/{chunk-LYFET6KE.js → chunk-H2OBH7SK.js} +2 -2
- package/dist/{chunk-JVBZ42B2.js → chunk-H5VA2OWQ.js} +2 -2
- package/dist/chunk-HI2BVEWW.js +2 -0
- package/dist/chunk-HI2BVEWW.js.map +1 -0
- package/dist/{chunk-KOJ7XDQ3.js → chunk-I25DQACP.js} +2 -2
- package/dist/chunk-IEX4KZUY.js +2 -0
- package/dist/chunk-IEX4KZUY.js.map +1 -0
- package/dist/{chunk-B5YG3EGS.js → chunk-ILX4QHHH.js} +2 -2
- package/dist/{chunk-WSEW5QVP.js → chunk-IWXQUASB.js} +2 -2
- package/dist/chunk-JIZKHO7L.js +2 -0
- package/dist/chunk-JIZKHO7L.js.map +1 -0
- package/dist/{chunk-AYDY7FWS.js → chunk-JKEUTGPQ.js} +2 -2
- package/dist/{chunk-LAV3X727.js → chunk-JQ2ESL5O.js} +2 -2
- package/dist/chunk-JTLXUYOR.js +6 -0
- package/dist/chunk-JTLXUYOR.js.map +1 -0
- package/dist/{chunk-QN2JIZ46.js → chunk-JTSHX4RB.js} +2 -2
- package/dist/{chunk-UUMEBIYK.js → chunk-JVGFK6NK.js} +2 -2
- package/dist/{chunk-KNXCEMKN.js → chunk-JZNJIXGW.js} +2 -2
- package/dist/chunk-JZPN7DHV.js +2 -0
- package/dist/chunk-JZPN7DHV.js.map +1 -0
- package/dist/{chunk-CDFKL7PW.js → chunk-KAGAWJSJ.js} +2 -2
- package/dist/chunk-KRFK2QRV.js +2 -0
- package/dist/chunk-KRFK2QRV.js.map +1 -0
- package/dist/{chunk-2RLH6ZLY.js → chunk-KWJI2HKR.js} +2 -2
- package/dist/{chunk-L5IKPX6D.js → chunk-KXF27FC4.js} +2 -2
- package/dist/chunk-L34CQIPW.js +2 -0
- package/dist/chunk-L34CQIPW.js.map +1 -0
- package/dist/{chunk-ZDQ7TY2L.js → chunk-LGX2ABTK.js} +2 -2
- package/dist/{chunk-ZXNQJZCZ.js → chunk-LJJKRBFU.js} +2 -2
- package/dist/{chunk-MORWF4JC.js → chunk-ML56EPFW.js} +2 -2
- package/dist/{chunk-JSQCYWZR.js → chunk-MLXUOIBE.js} +2 -2
- package/dist/{chunk-JSQCYWZR.js.map → chunk-MLXUOIBE.js.map} +1 -1
- package/dist/{chunk-ARYTUUI7.js → chunk-MZNUCWQU.js} +2 -2
- package/dist/chunk-N4W7JU2D.js +2 -0
- package/dist/{chunk-3UDG4IJO.js.map → chunk-N4W7JU2D.js.map} +1 -1
- package/dist/chunk-NQURNHBL.js +2 -0
- package/dist/chunk-NQURNHBL.js.map +1 -0
- package/dist/chunk-OE7PRSME.js +2 -0
- package/dist/chunk-OE7PRSME.js.map +1 -0
- package/dist/{chunk-ABWZQODX.js → chunk-OJCKJPY5.js} +2 -2
- package/dist/{chunk-5RYRPEXE.js → chunk-OVTH3ZHO.js} +2 -2
- package/dist/chunk-OZWDFGLQ.js +2 -0
- package/dist/chunk-OZWDFGLQ.js.map +1 -0
- package/dist/chunk-P3QDMRCC.js +2 -0
- package/dist/chunk-P3QDMRCC.js.map +1 -0
- package/dist/chunk-PBJWPR2W.js +2 -0
- package/dist/chunk-PBJWPR2W.js.map +1 -0
- package/dist/{chunk-GL75LB2U.js → chunk-PGRQG254.js} +2 -2
- package/dist/chunk-Q3ALCPJN.js +2 -0
- package/dist/chunk-Q3ALCPJN.js.map +1 -0
- package/dist/{chunk-WCM4IVY5.js → chunk-Q4GRM3SL.js} +2 -2
- package/dist/{chunk-DJ2OL5GS.js → chunk-QMYU2SQX.js} +2 -2
- package/dist/{chunk-Y4TYVMFP.js → chunk-QS6RZEWL.js} +2 -2
- package/dist/{chunk-7GV5R7MH.js → chunk-RZS2WEOI.js} +2 -2
- package/dist/{chunk-HBU6CWZL.js → chunk-RZYFAL5X.js} +2 -2
- package/dist/{chunk-NN5RHS7I.js → chunk-S6OVT37M.js} +2 -2
- package/dist/{chunk-SPYWBPYJ.js → chunk-SNMKN5AK.js} +2 -2
- package/dist/chunk-SQWCXYE2.js +2 -0
- package/dist/chunk-SQWCXYE2.js.map +1 -0
- package/dist/{chunk-XFNPJE6N.js → chunk-SXB2L4I5.js} +2 -2
- package/dist/chunk-SXB2L4I5.js.map +1 -0
- package/dist/{chunk-TATL6AQD.js → chunk-THPH57GK.js} +2 -2
- package/dist/{chunk-Y7WX5NK5.js → chunk-TZPHBNNS.js} +2 -2
- package/dist/{chunk-OEJNLCZV.js → chunk-UBRRCAAI.js} +2 -2
- package/dist/chunk-UMOL4GLZ.js +2 -0
- package/dist/chunk-UMOL4GLZ.js.map +1 -0
- package/dist/chunk-UOY6KW7W.js +2 -0
- package/dist/chunk-UOY6KW7W.js.map +1 -0
- package/dist/{chunk-GNPHI7PB.js → chunk-VAWEOFUO.js} +2 -2
- package/dist/{chunk-DYG225ZX.js → chunk-VC6X3C2I.js} +2 -2
- package/dist/{chunk-FXQAB3WS.js → chunk-VIQQ3IHI.js} +2 -2
- package/dist/{chunk-JTCF2KPH.js → chunk-W6H74RYW.js} +2 -2
- package/dist/{chunk-GPRN5IXM.js → chunk-WD5DNUSS.js} +2 -2
- package/dist/chunk-WGMEOF72.js +2 -0
- package/dist/{chunk-54ZROEOA.js.map → chunk-WGMEOF72.js.map} +1 -1
- package/dist/{chunk-K5CZDOJG.js → chunk-WT6E5LO4.js} +2 -2
- package/dist/{chunk-7RSKNOPP.js → chunk-X64YQ67A.js} +2 -2
- package/dist/{chunk-4RFJXFQX.js → chunk-XDZFLJ5F.js} +2 -2
- package/dist/{chunk-ZLPAQQZI.js → chunk-XIEA775Q.js} +2 -2
- package/dist/{chunk-A2X35B6C.js → chunk-XOK3XCYN.js} +2 -2
- package/dist/{chunk-4Z2ZRDMG.js → chunk-XSG4QXPY.js} +2 -2
- package/dist/{chunk-VIS2PVMT.js → chunk-XVU376WG.js} +2 -2
- package/dist/chunk-YHD2RXJC.js +2 -0
- package/dist/chunk-YHD2RXJC.js.map +1 -0
- package/dist/{chunk-VMAPQGL4.js → chunk-YHIADGM3.js} +2 -2
- package/dist/{chunk-IF42CZJH.js → chunk-YRC6EEM3.js} +2 -2
- package/dist/{chunk-HMCTBCYH.js → chunk-YUQ3GDQI.js} +2 -2
- package/dist/{chunk-QBMOVG2D.js → chunk-YZ3POA3F.js} +2 -2
- package/dist/{chunk-BQXYHK4Z.js → chunk-ZCZX54AU.js} +2 -2
- package/dist/{chunk-XJPB4XV6.js → chunk-ZTBFYRNL.js} +2 -2
- package/dist/chunk-ZVUQDK2E.js +2 -0
- package/dist/default-components.d.ts +2 -2
- package/dist/default-components.js +1 -1
- package/dist/default-components.js.map +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.d.ts +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.js +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentFlow.d.ts +3 -3
- package/dist/flows/ContractAmendment/ContractAmendmentFlow.js +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentForm.d.ts +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentForm.js +1 -1
- package/dist/flows/ContractAmendment/context.d.ts +3 -3
- package/dist/flows/ContractAmendment/hooks.d.ts +3 -3
- package/dist/flows/ContractAmendment/hooks.js +1 -1
- package/dist/flows/ContractAmendment/index.d.ts +3 -3
- package/dist/flows/ContractAmendment/index.js +1 -1
- package/dist/flows/ContractAmendment/types.d.ts +2 -2
- package/dist/flows/ContractAmendment/utils.d.ts +2 -2
- package/dist/flows/ContractorOnboarding/ContractorOnboarding.d.ts +6 -6
- package/dist/flows/ContractorOnboarding/ContractorOnboarding.js +1 -1
- package/dist/flows/ContractorOnboarding/api.d.ts +295 -3
- package/dist/flows/ContractorOnboarding/api.js +1 -1
- package/dist/flows/ContractorOnboarding/components/BasicInformationStep.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/components/BasicInformationStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.d.ts +6 -6
- package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractPreviewHeader.d.ts +2 -2
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStatement.d.ts +2 -2
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStatement.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.d.ts +6 -6
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractReviewButton.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.js +1 -1
- package/dist/flows/ContractorOnboarding/components/OnboardingBack.js +1 -1
- package/dist/flows/ContractorOnboarding/components/OnboardingInvite.d.ts +3 -3
- package/dist/flows/ContractorOnboarding/components/OnboardingInvite.js +1 -1
- package/dist/flows/ContractorOnboarding/components/OnboardingSubmit.js +1 -1
- package/dist/flows/ContractorOnboarding/components/PricingPlan.d.ts +6 -6
- package/dist/flows/ContractorOnboarding/components/PricingPlan.js +1 -1
- package/dist/flows/ContractorOnboarding/components/SelectCountryStep.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/components/SelectCountryStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/StatementOfWorkDisclaimer.d.ts +7 -0
- package/dist/flows/ContractorOnboarding/components/StatementOfWorkDisclaimer.js +2 -0
- package/dist/flows/ContractorOnboarding/components/StatementOfWorkDisclaimer.js.map +1 -0
- package/dist/flows/ContractorOnboarding/constants.d.ts +2 -1
- package/dist/flows/ContractorOnboarding/constants.js +1 -1
- package/dist/flows/ContractorOnboarding/context.d.ts +20 -7
- package/dist/flows/ContractorOnboarding/context.js +1 -1
- package/dist/flows/ContractorOnboarding/hooks.d.ts +6 -6
- package/dist/flows/ContractorOnboarding/hooks.js +1 -1
- package/dist/flows/ContractorOnboarding/index.d.ts +6 -6
- package/dist/flows/ContractorOnboarding/index.js +1 -1
- package/dist/flows/ContractorOnboarding/jsfModify.d.ts +46 -0
- package/dist/flows/ContractorOnboarding/jsfModify.js +2 -0
- package/dist/flows/ContractorOnboarding/jsfModify.js.map +1 -0
- package/dist/flows/ContractorOnboarding/types.d.ts +6 -6
- package/dist/flows/ContractorOnboarding/utils.d.ts +3 -11
- package/dist/flows/ContractorOnboarding/utils.js +1 -1
- package/dist/flows/CostCalculator/CostCalculatorFlow.d.ts +3 -3
- package/dist/flows/CostCalculator/CostCalculatorFlow.js +1 -1
- package/dist/flows/CostCalculator/CostCalculatorForm.d.ts +3 -3
- 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 +2 -2
- package/dist/flows/CostCalculator/components/SalaryField.js +1 -1
- package/dist/flows/CostCalculator/context.d.ts +3 -3
- package/dist/flows/CostCalculator/hooks.d.ts +3 -3
- package/dist/flows/CostCalculator/hooks.js +1 -1
- package/dist/flows/CostCalculator/index.d.ts +3 -3
- package/dist/flows/CostCalculator/index.js +1 -1
- package/dist/flows/CostCalculator/types.d.ts +2 -2
- package/dist/flows/CostCalculator/utils.d.ts +3 -3
- package/dist/flows/CostCalculator/utils.js +1 -1
- package/dist/flows/Onboarding/OnboardingFlow.d.ts +4 -4
- package/dist/flows/Onboarding/OnboardingFlow.js +1 -1
- package/dist/flows/Onboarding/api.d.ts +6 -6
- package/dist/flows/Onboarding/api.js +1 -1
- package/dist/flows/Onboarding/components/AnnualGrossSalary.d.ts +2 -2
- package/dist/flows/Onboarding/components/AnnualGrossSalary.js +1 -1
- package/dist/flows/Onboarding/components/BasicInformationStep.d.ts +4 -4
- package/dist/flows/Onboarding/components/BasicInformationStep.js +1 -1
- package/dist/flows/Onboarding/components/BenefitsStep.d.ts +4 -4
- package/dist/flows/Onboarding/components/BenefitsStep.js +1 -1
- package/dist/flows/Onboarding/components/ContractDetailsStep.d.ts +4 -4
- package/dist/flows/Onboarding/components/ContractDetailsStep.js +1 -1
- package/dist/flows/Onboarding/components/OnboardingForm.d.ts +4 -4
- package/dist/flows/Onboarding/components/OnboardingForm.js +1 -1
- package/dist/flows/Onboarding/components/OnboardingInvite.d.ts +3 -3
- package/dist/flows/Onboarding/components/OnboardingInvite.js +1 -1
- package/dist/flows/Onboarding/components/ReviewStep.d.ts +4 -4
- package/dist/flows/Onboarding/components/SaveDraftButton.d.ts +3 -3
- package/dist/flows/Onboarding/components/SelectCountryStep.d.ts +4 -4
- package/dist/flows/Onboarding/components/SelectCountryStep.js +1 -1
- package/dist/flows/Onboarding/context.d.ts +7 -7
- package/dist/flows/Onboarding/hooks.d.ts +4 -4
- package/dist/flows/Onboarding/hooks.js +1 -1
- package/dist/flows/Onboarding/index.d.ts +4 -4
- package/dist/flows/Onboarding/index.js +1 -1
- package/dist/flows/Onboarding/types.d.ts +4 -4
- package/dist/flows/Onboarding/utils.d.ts +4 -4
- package/dist/flows/Termination/AdditionalDetailsForm.d.ts +4 -4
- package/dist/flows/Termination/AdditionalDetailsForm.js +1 -1
- package/dist/flows/Termination/EmployeeComunicationForm.d.ts +4 -4
- package/dist/flows/Termination/EmployeeComunicationForm.js +1 -1
- package/dist/flows/Termination/PaidTimeOffForm.d.ts +4 -4
- package/dist/flows/Termination/PaidTimeOffForm.js +1 -1
- package/dist/flows/Termination/TerminationDetailsForm.d.ts +4 -4
- package/dist/flows/Termination/TerminationDetailsForm.js +1 -1
- package/dist/flows/Termination/TerminationFlow.d.ts +4 -4
- package/dist/flows/Termination/TerminationFlow.js +1 -1
- package/dist/flows/Termination/TerminationForm.d.ts +4 -4
- package/dist/flows/Termination/TerminationForm.js +1 -1
- package/dist/flows/Termination/api.d.ts +5 -5
- 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 +6 -6
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.js +1 -1
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.d.ts +6 -6
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.js +1 -1
- package/dist/flows/Termination/components/PaidTimeOff/types.d.ts +6 -6
- 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 +4 -4
- package/dist/flows/Termination/hooks.d.ts +4 -4
- package/dist/flows/Termination/hooks.js +1 -1
- package/dist/flows/Termination/index.d.ts +6 -6
- package/dist/flows/Termination/index.js +1 -1
- package/dist/flows/Termination/json-schemas/jsonSchema.js +1 -1
- package/dist/flows/Termination/json-schemas/schema.d.ts +4 -4
- package/dist/flows/Termination/json-schemas/schema.js +1 -1
- package/dist/flows/Termination/types.d.ts +4 -4
- package/dist/flows/Termination/utils.d.ts +4 -4
- package/dist/flows/Termination/utils.js +1 -1
- package/dist/flows/types.d.ts +12 -3
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +16 -10
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/internals.d.ts +8 -6
- package/dist/internals.js +1 -1
- package/dist/{mutations-RAaSN-UD.d.ts → mutations-S_wSmzKg.d.ts} +1 -1
- package/dist/{remoteFlows-CViOHRks.d.ts → remoteFlows-Cng6gLYk.d.ts} +2 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/dist/{types-CT6RmdGQ.d.ts → types-B4TFqbOW.d.ts} +1 -1
- package/dist/{types-B4e4Ghcm.d.ts → types-BMqZxk-s.d.ts} +9 -6
- package/dist/{types-I5boK4UQ.d.ts → types-Cmjevabw.d.ts} +18 -8
- package/dist/{types-BbsaQKNh.d.ts → types-DDr_JprX.d.ts} +2 -2
- package/dist/{types.gen-CfehsV7Z.d.ts → types.gen-DblP0ILg.d.ts} +89 -2
- package/dist/{utils-1gq7Z97P.d.ts → utils-CCnKZ-KY.d.ts} +1 -1
- package/package.json +3 -3
- package/dist/ButtonDefault-MJNBS6JN.js +0 -2
- package/dist/CheckboxFieldDefault-5UCOCDE6.js +0 -2
- package/dist/CountryFieldDefault-Z5J24TWP.js +0 -2
- package/dist/DatePickerFieldDefault-JFEA44AU.js +0 -2
- package/dist/DrawerDefault-TPMJO4JW.js +0 -2
- package/dist/EmailFieldDefault-LIG2I3KN.js +0 -2
- package/dist/FieldsetToggleButtonDefault-ONS2KHTB.js +0 -2
- package/dist/FileUploadFieldDefault-Y3DOJH6L.js +0 -2
- package/dist/MultiSelectFieldDefault-LMXRGP3B.js +0 -2
- package/dist/NumberFieldDefault-O7WYKNXV.js +0 -2
- package/dist/PDFPreviewDefault-WZKNJUIU.js +0 -2
- package/dist/RadioGroupFieldDefault-NOPVRTEG.js +0 -2
- package/dist/SelectFieldDefault-RM72IEHN.js +0 -2
- package/dist/StatementDefault-CIHGUOWH.js +0 -2
- package/dist/TableFieldDefault-42PHYI5U.js +0 -2
- package/dist/TextAreaFieldDefault-7WGZ3OOS.js +0 -2
- package/dist/TextFieldDefault-NW25MQKP.js +0 -2
- package/dist/WorkScheduleFieldDefault-RP5SBJS7.js +0 -2
- package/dist/ZendeskDrawerDefault-H7UH2G35.js +0 -2
- package/dist/chunk-3DZAHNEC.js +0 -2
- package/dist/chunk-3DZAHNEC.js.map +0 -1
- package/dist/chunk-3UDG4IJO.js +0 -2
- package/dist/chunk-42R2H2DW.js +0 -2
- package/dist/chunk-54ZROEOA.js +0 -2
- package/dist/chunk-CYNDNCGT.js +0 -2
- package/dist/chunk-CYNDNCGT.js.map +0 -1
- package/dist/chunk-DJW3HOMC.js +0 -2
- package/dist/chunk-DJW3HOMC.js.map +0 -1
- package/dist/chunk-EAV5VOMZ.js +0 -2
- package/dist/chunk-EAV5VOMZ.js.map +0 -1
- package/dist/chunk-ERSXMU5E.js +0 -2
- package/dist/chunk-ERSXMU5E.js.map +0 -1
- package/dist/chunk-FJYLDNMA.js +0 -2
- package/dist/chunk-FJYLDNMA.js.map +0 -1
- package/dist/chunk-GBU46SLB.js +0 -2
- package/dist/chunk-HNFHAEJR.js +0 -2
- package/dist/chunk-HNFHAEJR.js.map +0 -1
- package/dist/chunk-JLFS6WPS.js +0 -2
- package/dist/chunk-JLFS6WPS.js.map +0 -1
- package/dist/chunk-LOHRUY4J.js +0 -2
- package/dist/chunk-LOHRUY4J.js.map +0 -1
- package/dist/chunk-NUQUGTH6.js +0 -2
- package/dist/chunk-NUQUGTH6.js.map +0 -1
- package/dist/chunk-OGKPDOQG.js +0 -2
- package/dist/chunk-OGKPDOQG.js.map +0 -1
- package/dist/chunk-SNZ4CEPI.js +0 -2
- package/dist/chunk-SNZ4CEPI.js.map +0 -1
- package/dist/chunk-SWFDRZPG.js +0 -2
- package/dist/chunk-SWFDRZPG.js.map +0 -1
- package/dist/chunk-T6Q7IALZ.js +0 -6
- package/dist/chunk-T6Q7IALZ.js.map +0 -1
- package/dist/chunk-TL2OPQIV.js +0 -2
- package/dist/chunk-TL2OPQIV.js.map +0 -1
- package/dist/chunk-TOA3JILU.js +0 -2
- package/dist/chunk-TOA3JILU.js.map +0 -1
- package/dist/chunk-UIE54LHV.js +0 -2
- package/dist/chunk-W5OCDCU7.js +0 -2
- package/dist/chunk-W5OCDCU7.js.map +0 -1
- package/dist/chunk-XFNPJE6N.js.map +0 -1
- package/dist/chunk-XXIUJVIY.js +0 -2
- package/dist/chunk-XXIUJVIY.js.map +0 -1
- package/dist/chunk-YVYFLXNY.js +0 -2
- package/dist/chunk-YVYFLXNY.js.map +0 -1
- package/dist/chunk-ZI4PNJ5M.js +0 -2
- package/dist/chunk-ZI4PNJ5M.js.map +0 -1
- /package/dist/{ButtonDefault-MJNBS6JN.js.map → ButtonDefault-NLDQHAWN.js.map} +0 -0
- /package/dist/{CheckboxFieldDefault-5UCOCDE6.js.map → CheckboxFieldDefault-QXABRJXG.js.map} +0 -0
- /package/dist/{CountryFieldDefault-Z5J24TWP.js.map → CountryFieldDefault-Q6N5AQVO.js.map} +0 -0
- /package/dist/{DatePickerFieldDefault-JFEA44AU.js.map → DatePickerFieldDefault-HUP4TK2U.js.map} +0 -0
- /package/dist/{DrawerDefault-TPMJO4JW.js.map → DrawerDefault-5EYKRPS7.js.map} +0 -0
- /package/dist/{EmailFieldDefault-LIG2I3KN.js.map → EmailFieldDefault-3ES7SMDC.js.map} +0 -0
- /package/dist/{FieldsetToggleButtonDefault-ONS2KHTB.js.map → FieldsetToggleButtonDefault-TPLNRX3E.js.map} +0 -0
- /package/dist/{FileUploadFieldDefault-Y3DOJH6L.js.map → FileUploadFieldDefault-PNM6H64X.js.map} +0 -0
- /package/dist/{MultiSelectFieldDefault-LMXRGP3B.js.map → MultiSelectFieldDefault-THD7TDWF.js.map} +0 -0
- /package/dist/{NumberFieldDefault-O7WYKNXV.js.map → NumberFieldDefault-PCH6RRDK.js.map} +0 -0
- /package/dist/{PDFPreviewDefault-WZKNJUIU.js.map → PDFPreviewDefault-474JH3KB.js.map} +0 -0
- /package/dist/{RadioGroupFieldDefault-NOPVRTEG.js.map → RadioGroupFieldDefault-E35Y2AK6.js.map} +0 -0
- /package/dist/{SelectFieldDefault-RM72IEHN.js.map → SelectFieldDefault-NHDJRM5H.js.map} +0 -0
- /package/dist/{StatementDefault-CIHGUOWH.js.map → StatementDefault-CSHXL3G2.js.map} +0 -0
- /package/dist/{TableFieldDefault-42PHYI5U.js.map → TableFieldDefault-N7MO2QJI.js.map} +0 -0
- /package/dist/{TextAreaFieldDefault-7WGZ3OOS.js.map → TextAreaFieldDefault-OG4UM4DG.js.map} +0 -0
- /package/dist/{TextFieldDefault-NW25MQKP.js.map → TextFieldDefault-FECR4GRK.js.map} +0 -0
- /package/dist/{WorkScheduleFieldDefault-RP5SBJS7.js.map → WorkScheduleFieldDefault-G2MR2DBY.js.map} +0 -0
- /package/dist/{ZendeskDrawerDefault-H7UH2G35.js.map → ZendeskDrawerDefault-W3RCTVCH.js.map} +0 -0
- /package/dist/{chunk-4ZE3SM7X.js.map → chunk-25III46F.js.map} +0 -0
- /package/dist/{chunk-2BTW5VQM.js.map → chunk-3JJEKIQ2.js.map} +0 -0
- /package/dist/{chunk-X7EZIAZ3.js.map → chunk-3QNS3IZB.js.map} +0 -0
- /package/dist/{chunk-I42KSW2T.js.map → chunk-3UJC7KHD.js.map} +0 -0
- /package/dist/{chunk-QAN3JZ45.js.map → chunk-3WBZPCT5.js.map} +0 -0
- /package/dist/{chunk-QVUSRZ2Z.js.map → chunk-5IHRUTHD.js.map} +0 -0
- /package/dist/{chunk-6PCNMM3O.js.map → chunk-6JFRVHLF.js.map} +0 -0
- /package/dist/{chunk-BLAVAEPN.js.map → chunk-7GI4ZVUE.js.map} +0 -0
- /package/dist/{chunk-QAVVHKBD.js.map → chunk-7PKH5MYL.js.map} +0 -0
- /package/dist/{chunk-R3V5AHPG.js.map → chunk-7QRAEME3.js.map} +0 -0
- /package/dist/{chunk-CB3JGUXW.js.map → chunk-7SYE5KEV.js.map} +0 -0
- /package/dist/{chunk-U7CW67TM.js.map → chunk-A24VPRL7.js.map} +0 -0
- /package/dist/{chunk-OZQVMA77.js.map → chunk-A54D24NT.js.map} +0 -0
- /package/dist/{chunk-5XAHIRL6.js.map → chunk-AFEID3JA.js.map} +0 -0
- /package/dist/{chunk-TN37JYBC.js.map → chunk-AN5U7FWW.js.map} +0 -0
- /package/dist/{chunk-GH3FNNAU.js.map → chunk-C2NROAMW.js.map} +0 -0
- /package/dist/{chunk-B4L4JBSX.js.map → chunk-C4NXXY3X.js.map} +0 -0
- /package/dist/{chunk-MM645EUX.js.map → chunk-CAV5SWVS.js.map} +0 -0
- /package/dist/{chunk-5H3G7L52.js.map → chunk-CKA37AR5.js.map} +0 -0
- /package/dist/{chunk-WMVZY6FJ.js.map → chunk-CNCOVTDL.js.map} +0 -0
- /package/dist/{chunk-H3ZZYAI6.js.map → chunk-D4FBB5XW.js.map} +0 -0
- /package/dist/{chunk-6ARN2SX2.js.map → chunk-EBFCYC35.js.map} +0 -0
- /package/dist/{chunk-NIJG4TPU.js.map → chunk-EW36MHXP.js.map} +0 -0
- /package/dist/{chunk-R3C7KEKY.js.map → chunk-F2VYTYIQ.js.map} +0 -0
- /package/dist/{chunk-DMHT7EDE.js.map → chunk-FFHBDVTJ.js.map} +0 -0
- /package/dist/{chunk-IEYH33EJ.js.map → chunk-FGJ46XOX.js.map} +0 -0
- /package/dist/{chunk-LGIJO73Z.js.map → chunk-FJPY27YJ.js.map} +0 -0
- /package/dist/{chunk-H3ZACNQ6.js.map → chunk-FLW5LACO.js.map} +0 -0
- /package/dist/{chunk-LMCS6CV5.js.map → chunk-FSHTBJ6O.js.map} +0 -0
- /package/dist/{chunk-CBISFVN7.js.map → chunk-FZ452U6M.js.map} +0 -0
- /package/dist/{chunk-LYFET6KE.js.map → chunk-H2OBH7SK.js.map} +0 -0
- /package/dist/{chunk-JVBZ42B2.js.map → chunk-H5VA2OWQ.js.map} +0 -0
- /package/dist/{chunk-KOJ7XDQ3.js.map → chunk-I25DQACP.js.map} +0 -0
- /package/dist/{chunk-B5YG3EGS.js.map → chunk-ILX4QHHH.js.map} +0 -0
- /package/dist/{chunk-WSEW5QVP.js.map → chunk-IWXQUASB.js.map} +0 -0
- /package/dist/{chunk-AYDY7FWS.js.map → chunk-JKEUTGPQ.js.map} +0 -0
- /package/dist/{chunk-LAV3X727.js.map → chunk-JQ2ESL5O.js.map} +0 -0
- /package/dist/{chunk-QN2JIZ46.js.map → chunk-JTSHX4RB.js.map} +0 -0
- /package/dist/{chunk-UUMEBIYK.js.map → chunk-JVGFK6NK.js.map} +0 -0
- /package/dist/{chunk-KNXCEMKN.js.map → chunk-JZNJIXGW.js.map} +0 -0
- /package/dist/{chunk-CDFKL7PW.js.map → chunk-KAGAWJSJ.js.map} +0 -0
- /package/dist/{chunk-2RLH6ZLY.js.map → chunk-KWJI2HKR.js.map} +0 -0
- /package/dist/{chunk-L5IKPX6D.js.map → chunk-KXF27FC4.js.map} +0 -0
- /package/dist/{chunk-ZDQ7TY2L.js.map → chunk-LGX2ABTK.js.map} +0 -0
- /package/dist/{chunk-ZXNQJZCZ.js.map → chunk-LJJKRBFU.js.map} +0 -0
- /package/dist/{chunk-MORWF4JC.js.map → chunk-ML56EPFW.js.map} +0 -0
- /package/dist/{chunk-ARYTUUI7.js.map → chunk-MZNUCWQU.js.map} +0 -0
- /package/dist/{chunk-ABWZQODX.js.map → chunk-OJCKJPY5.js.map} +0 -0
- /package/dist/{chunk-5RYRPEXE.js.map → chunk-OVTH3ZHO.js.map} +0 -0
- /package/dist/{chunk-GL75LB2U.js.map → chunk-PGRQG254.js.map} +0 -0
- /package/dist/{chunk-WCM4IVY5.js.map → chunk-Q4GRM3SL.js.map} +0 -0
- /package/dist/{chunk-DJ2OL5GS.js.map → chunk-QMYU2SQX.js.map} +0 -0
- /package/dist/{chunk-Y4TYVMFP.js.map → chunk-QS6RZEWL.js.map} +0 -0
- /package/dist/{chunk-7GV5R7MH.js.map → chunk-RZS2WEOI.js.map} +0 -0
- /package/dist/{chunk-HBU6CWZL.js.map → chunk-RZYFAL5X.js.map} +0 -0
- /package/dist/{chunk-NN5RHS7I.js.map → chunk-S6OVT37M.js.map} +0 -0
- /package/dist/{chunk-SPYWBPYJ.js.map → chunk-SNMKN5AK.js.map} +0 -0
- /package/dist/{chunk-TATL6AQD.js.map → chunk-THPH57GK.js.map} +0 -0
- /package/dist/{chunk-Y7WX5NK5.js.map → chunk-TZPHBNNS.js.map} +0 -0
- /package/dist/{chunk-OEJNLCZV.js.map → chunk-UBRRCAAI.js.map} +0 -0
- /package/dist/{chunk-GNPHI7PB.js.map → chunk-VAWEOFUO.js.map} +0 -0
- /package/dist/{chunk-DYG225ZX.js.map → chunk-VC6X3C2I.js.map} +0 -0
- /package/dist/{chunk-FXQAB3WS.js.map → chunk-VIQQ3IHI.js.map} +0 -0
- /package/dist/{chunk-JTCF2KPH.js.map → chunk-W6H74RYW.js.map} +0 -0
- /package/dist/{chunk-GPRN5IXM.js.map → chunk-WD5DNUSS.js.map} +0 -0
- /package/dist/{chunk-K5CZDOJG.js.map → chunk-WT6E5LO4.js.map} +0 -0
- /package/dist/{chunk-7RSKNOPP.js.map → chunk-X64YQ67A.js.map} +0 -0
- /package/dist/{chunk-4RFJXFQX.js.map → chunk-XDZFLJ5F.js.map} +0 -0
- /package/dist/{chunk-ZLPAQQZI.js.map → chunk-XIEA775Q.js.map} +0 -0
- /package/dist/{chunk-A2X35B6C.js.map → chunk-XOK3XCYN.js.map} +0 -0
- /package/dist/{chunk-4Z2ZRDMG.js.map → chunk-XSG4QXPY.js.map} +0 -0
- /package/dist/{chunk-VIS2PVMT.js.map → chunk-XVU376WG.js.map} +0 -0
- /package/dist/{chunk-VMAPQGL4.js.map → chunk-YHIADGM3.js.map} +0 -0
- /package/dist/{chunk-IF42CZJH.js.map → chunk-YRC6EEM3.js.map} +0 -0
- /package/dist/{chunk-HMCTBCYH.js.map → chunk-YUQ3GDQI.js.map} +0 -0
- /package/dist/{chunk-QBMOVG2D.js.map → chunk-YZ3POA3F.js.map} +0 -0
- /package/dist/{chunk-BQXYHK4Z.js.map → chunk-ZCZX54AU.js.map} +0 -0
- /package/dist/{chunk-XJPB4XV6.js.map → chunk-ZTBFYRNL.js.map} +0 -0
- /package/dist/{chunk-42R2H2DW.js.map → chunk-ZVUQDK2E.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as R,b as x,c as N,d as A}from"./chunk-QVUSRZ2Z.js";import{a as w,b as f}from"./chunk-SWFDRZPG.js";import{a as C}from"./chunk-NUQUGTH6.js";import{b as B}from"./chunk-LYFET6KE.js";import{a as i,b as t,e as F}from"./chunk-ERSXMU5E.js";import{a as d}from"./chunk-P37U34EQ.js";import{MoreHorizontal as P}from"lucide-react";import{useState as U}from"react";import{Fragment as $,jsx as g,jsxs as T}from"react/jsx-runtime";function E({actions:e=[],className:n,label:l,"data-testid":a}){let[m,_]=U(!1);return T("div",{className:i("relative",n),children:[g(B,{"data-testid":a,variant:"ghost","aria-label":l,className:"h-8 w-8 p-0",onClick:()=>_(!m),children:g(P,{className:"h-4 w-4"})}),m&&T($,{children:[g("div",{className:"fixed inset-0 z-40",onClick:()=>_(!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":`${a}-${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(),_(!1)},disabled:c.disabled,children:c.label},u))})]})]})}d(E,"ActionsDropdown");import{ChevronDown as O,Info as Z}from"lucide-react";import K from"react-flagpack";import{useState as z}from"react";import{jsx as j,jsxs as L}from"react/jsx-runtime";var I=d(({children:e,content:n})=>L("div",{className:"relative inline-block group",children:[e,L("div",{className:"absolute bottom-full right-0 mb-2 px-3 py-2 bg-gray-900 text-white text-xs rounded-md opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-200 z-50 w-64 whitespace-normal break-words",children:[n,j("div",{className:"absolute top-full right-3 border-4 border-transparent border-t-gray-900"})]})]}),"BasicTooltip");import{Fragment as b,jsx as o,jsxs as r}from"react/jsx-runtime";var V={GB:"GB-UKM"},Y=d(({title:e,country:n,region:l,annualGrossSalary:a,onDelete:m,onExportPdf:_,onEdit:c})=>{let u=[{label:"Edit",onClick:c},{label:"Export",onClick:_},{label:"Delete",onClick:m}];return r("div",{className:"RemoteFlows__EstimationResults__Header flex justify-between",children:[r("div",{className:"flex flex-row items-center gap-6",children:[o("div",{className:"RemoteFlows__EstimationResultsHeader__FlagContainer flex h-16 w-16 items-center justify-center rounded-lg bg-[#F4F4F5]",children:o(K,{code:V[n.alpha_2_code]||n.alpha_2_code})}),r("div",{className:"space-y-1",children:[o("h2",{"data-testid":"estimation-results-header-title",className:"RemoteFlows__EstimationResultsHeader__Title text-lg font-medium leading-none text-[#181818]",children:e}),r("p",{className:"RemoteFlows__EstimationResultsHeader__Country text-xs text-[#71717A]",children:[n.name," ",l?` (${l.name})`:""]}),r("p",{"data-testid":"estimation-results-header-annual-gross-salary",className:"RemoteFlows__EstimationResultsHeader__AnnualGrossSalary text-xs text-[#71717A]",children:[o("span",{className:"text-[#181818]",children:"Employee annual gross salary:"})," ",a]})]})]}),o(E,{label:"Actions",className:"RemoteFlows__EstimationResults__ActionsDropdown",actions:u})]})},"EstimationResultsHeader"),q=d(()=>({steps:[{id:"add-employment-details",title:"Add employment details",description:"You add employee employments details."},{id:"invite-employee",title:"Invite employee",description:"Hire receives an email invitation from Remote to start the self-enrollment process."},{id:"verify-information",title:"Verify information",description:"Remote prepares the Employment Agreement and verifies all the information."},{id:"sign-contract",title:"Sign contract",description:"All parties sign the Employment Agreement and are ready to start. \u{1F389}"}],helpText:"For customers who accept Remote's Terms of Service (ToS), the employee onboarding timeline starts once the employee has been invited to the platform and completed self enrollment.",zendeskArticleId:w.employeeOnboardingTimeline}),"getOnboardingTimelineData");function J({minimumOnboardingDays:e,data:n,className:l}){return o(R,{type:"single",collapsible:!0,className:i("RemoteFlows__EstimationResults__OnboardingTimeline w-full",l),children:r(x,{value:"timeline",className:"RemoteFlows__OnboardingTimeline__AccordionItem border-border",children:[o(N,{className:"RemoteFlows__OnboardingTimeline__AccordionTrigger hover:no-underline px-0 py-4",children:r("div",{className:"flex items-center justify-between w-full",children:[o("span",{className:"RemoteFlows__OnboardingTimeline__Title text-base font-medium text-[#0F172A]",children:"Onboarding timeline"}),e!=null&&r("span",{className:"RemoteFlows__OnboardingTimeline__Description text-base text-muted-foreground mr-4",children:[e," days"]})]})}),r(A,{className:"px-0 pb-4",children:[o("ul",{className:"RemoteFlows__OnboardingTimeline__List list-disc list-inside space-y-2",children:n.steps.map(a=>r("li",{children:[o("strong",{className:"font-medium text-[#09090B]",children:a.title})," ","- ",a.description]},a.id))}),r("p",{className:"RemoteFlows__OnboardingTimeline__HelpText text-xs text-muted-foreground mt-4",children:[n.helpText,n.zendeskArticleId&&o(f,{zendeskId:n.zendeskArticleId,children:"Learn more"})]})]})]})})}d(J,"OnboardingTimeline");function Q({className:e,countryBenefitsUrl:n,countryGuideUrl:l,country:a}){return o(R,{type:"single",collapsible:!0,className:i("RemoteFlows__EstimationResults__HiringSection w-full",e),children:r(x,{value:"timeline",className:"RemoteFlows__HiringSection__AccordionItem border-border",children:[o(N,{className:"RemoteFlows__HiringSection__AccordionTrigger hover:no-underline px-0 py-4",children:o("div",{className:"flex items-center justify-between w-full",children:r("span",{className:"text-base font-medium text-[#0F172A]",children:["Hiring in ",a.name]})})}),o(A,{children:r("div",{className:"flex flex-col gap-1",children:[l&&o("a",{href:l,target:"_blank",className:"RemoteFlows__Link",children:"Explore our complete guide \u2197"}),n&&o("a",{href:n,target:"_blank",className:"RemoteFlows__Link",children:"Explore our available benefits \u2197"})]})})]})})}d(Q,"HiringSection");function W({isMultipleCurrency:e,className:n}){return r("div",{className:i("RemoteFlows__EstimationResults__Headers grid grid-cols-3 items-center",n),children:[o("span",{"aria-hidden":!0}),e?r(b,{children:[o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Employee currency"}),o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Employer currency"})]}):r(b,{children:[o("span",{}),o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Amount"})]})]})}d(W,"EstimationHeaders");function S({label:e,amounts:n,className:l,children:a}){let[m,_]=z(!0);return r("div",{className:i("RemoteFlows__EstimationResults__Row",l),children:[r("div",{className:"RemoteFlows__EstimationRow__Grid grid grid-cols-3 items-center",children:[r("div",{className:"RemoteFlows__EstimationRow__LabelContainer flex items-center gap-2",children:[o("span",{className:i("RemoteFlows__EstimationRow__Title min-w-[140px] font-medium text-[#09090B]"),children:e}),o("button",{onClick:()=>_(!m),className:"RemoteFlows__EstimationRow__CollapseButton p-1 hover:bg-gray-100 rounded",children:o(O,{className:`h-4 w-4 text-muted-foreground transition-transform ${m?"rotate-180":""}`})})]}),Array.isArray(n)?n.map((c,u)=>o("span",{className:i("RemoteFlows__EstimationRow__RegionalAmount text-right font-medium text-[#09090B]"),children:c},u)):r(b,{children:[o("span",{}),o("span",{className:i("RemoteFlows__EstimationRow__EmployerAmount text-right font-medium text-[#09090B]"),children:n})]})]}),m&&a&&o("div",{className:"RemoteFlows__EstimationRow__CollapsibleContent mt-4",children:a})]})}d(S,"EstimationRow");function X({item:e,isMultipleCurrency:n,level:l=0}){let[a,m]=z(!1),_=e.children&&e.children.length>0,c=l>0,u=e.isCollapsible||_;return r("li",{className:i("RemoteFlows__BreakdownList__Item pb-3",c&&"pb-1"),children:[r("div",{className:i(n?"RemoteFlows__BreakdownList__Grid grid grid-cols-3 items-center justify-between":"RemoteFlows__BreakdownList__Grid grid grid-cols-2 items-center justify-between"),children:[r("div",{className:i("RemoteFlows__BreakdownList__LabelContainer flex items-center gap-2",c&&"pl-3"),children:[!c&&o("span",{className:"RemoteFlows__BreakdownList__Bullet w-1 h-1 bg-[#09090B] rounded-full flex-shrink-0","aria-hidden":"true"}),u?r("button",{onClick:()=>m(!a),className:"RemoteFlows__BreakdownList__CollapseButton flex items-center gap-2 hover:bg-gray-100 rounded p-1",children:[o("span",{className:i(c?"RemoteFlows__BreakdownList__Text--Nested text-xs text-[#71717A]":"RemoteFlows__BreakdownList__Text--NotNested text-sm text-[#09090B]"),children:e.label}),o(O,{className:`RemoteFlows__BreakdownList__ChevronDown h-3 w-3 text-muted-foreground transition-transform ${a?"rotate-180":""}`})]}):o("span",{className:i(c?"RemoteFlows__BreakdownList__Text--Nested text-xs text-[#71717A]":"RemoteFlows__BreakdownList__Text--NotNested text-sm text-[#09090B] p-1"),children:e.label}),e.tooltip&&o(I,{content:r(b,{children:[o("span",{dangerouslySetInnerHTML:{__html:F(e.tooltip)}})," ",e.zendeskId&&o(f,{zendeskId:Number(e.zendeskId),children:"Learn more"})]}),children:o("button",{className:"RemoteFlows__BreakdownList__InfoButton p-1 hover:bg-gray-100 rounded",children:o(Z,{className:i("RemoteFlows__BreakdownList__InfoButton__Icon text-muted-foreground",c?"h-3 w-3":"h-4 w-4")})})})]}),n?r(b,{children:[o("span",{"data-testid":e.dataSelector&&e.dataSelector+"-employee-amount",className:i("RemoteFlows__BreakdownList__RegionalAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__RegionalAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__RegionalAmountText--NotNested text-[#09090B]"),children:e.regionalAmount||"\u2014"}),o("span",{"data-testid":e.dataSelector&&e.dataSelector+"-employer-amount",className:i("RemoteFlows__BreakdownList__EmployerAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__EmployerAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__EmployerAmountText--NotNested text-[#09090B]"),children:e.employerAmount||"\u2014"})]}):o("span",{"data-testid":e.dataSelector,className:i("RemoteFlows__BreakdownList__RegionalAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__RegionalAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__RegionalAmountText--NotNested text-[#09090B]"),children:e.regionalAmount||"\u2014"})]}),_&&a&&o("div",{className:"mt-1",children:o(h,{items:e.children,isMultipleCurrency:n,level:l+1})})]})}d(X,"BreakdownListItem");function h({items:e,isMultipleCurrency:n,className:l,level:a}){return o("ul",{className:i("RemoteFlows__BreakdownList list-none",l),children:e.map((m,_)=>o(X,{item:m,isMultipleCurrency:n,level:a},_))})}d(h,"BreakdownList");var Re=d(({estimation:e,title:n,components:l,onDelete:a,onExportPdf:m,onEdit:_})=>{let c=l?.HiringSection||Q,u=l?.OnboardingTimeline||J,H=l?.Header||Y,v=l?.Footer,D=q(),p=e.employer_currency_costs.currency.code!==e.regional_currency_costs.currency.code,k=e.employer_currency_costs.monthly_management_fee,M=e.region.code!==e.country.code,G=t(e.regional_currency_costs.annual_gross_salary,e.regional_currency_costs.currency.symbol);return r(C,{className:"RemoteFlows__EstimationResults__Card p-10",children:[o("div",{className:"RemoteFlows__Separator",children:o(H,{title:n,annualGrossSalary:G,region:M?e.region:void 0,country:e.country,onDelete:a,onExportPdf:m,onEdit:_})}),r("div",{className:"RemoteFlows__Separator",children:[o(W,{isMultipleCurrency:p,className:"mb-3"}),o(S,{label:"Monthly total cost",amounts:p?[t(e.regional_currency_costs.monthly_total,e.regional_currency_costs.currency.symbol),t(e.employer_currency_costs.monthly_total,e.employer_currency_costs.currency.symbol)]:t(e.regional_currency_costs.monthly_total,e.regional_currency_costs.currency.symbol),children:o(h,{items:[{label:"Gross monthly salary",regionalAmount:t(e.regional_currency_costs.monthly_gross_salary,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.monthly_gross_salary,e.employer_currency_costs.currency.symbol),zendeskId:w.extraPayments.toString(),tooltip:"This country respects extra payments on top of the gross salary."},{label:"Mandatory employer costs",regionalAmount:t(e.regional_currency_costs.monthly_contributions_total,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.monthly_contributions_total,e.employer_currency_costs.currency.symbol),children:e.employer_currency_costs.monthly_contributions_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.monthly_contributions_breakdown?.[y]?.amount,e.regional_currency_costs.currency.symbol),employerAmount:t(s.amount,e.employer_currency_costs.currency.symbol),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Benefits",regionalAmount:t(e.regional_currency_costs.monthly_benefits_total,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.monthly_benefits_total,e.employer_currency_costs.currency.symbol),children:e.employer_currency_costs.monthly_benefits_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.monthly_benefits_breakdown?.[y]?.amount,e.regional_currency_costs.currency.symbol),employerAmount:t(s.amount,e.employer_currency_costs.currency.symbol),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},...k?[{label:"Monthly fee",regionalAmount:t(e.regional_currency_costs.monthly_management_fee,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.monthly_management_fee,e.employer_currency_costs.currency.symbol),tooltip:"Discounts may be available based on your commitment and team size. Speak to your account or customer success manager to learn more."}]:[]],isMultipleCurrency:p})})]}),o("div",{className:"RemoteFlows__Separator",children:o(S,{label:"Annual total cost",amounts:p?[t(e.regional_currency_costs.annual_total,e.regional_currency_costs.currency.symbol),t(e.employer_currency_costs.annual_total,e.employer_currency_costs.currency.symbol)]:t(e.regional_currency_costs.annual_total,e.regional_currency_costs.currency.symbol),children:o(h,{items:[{label:"Gross annual salary",dataSelector:"annual-gross-salary",regionalAmount:t(e.regional_currency_costs.annual_gross_salary,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.annual_gross_salary,e.employer_currency_costs.currency.symbol)},{label:"Mandatory employer costs",regionalAmount:t(e.regional_currency_costs.annual_contributions_total,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.annual_contributions_total,e.employer_currency_costs.currency.symbol),children:e.employer_currency_costs.annual_contributions_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.annual_contributions_breakdown?.[y]?.amount,e.regional_currency_costs.currency.symbol),employerAmount:t(s.amount,e.employer_currency_costs.currency.symbol),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Benefits",regionalAmount:t(e.regional_currency_costs.annual_benefits_total,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.annual_benefits_total,e.employer_currency_costs.currency.symbol),children:e.employer_currency_costs.annual_benefits_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.annual_benefits_breakdown?.[y]?.amount,e.regional_currency_costs.currency.symbol),employerAmount:t(s.amount,e.employer_currency_costs.currency.symbol),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Extra statutory payments",regionalAmount:t(e.regional_currency_costs.extra_statutory_payments_total,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.extra_statutory_payments_total,e.employer_currency_costs.currency.symbol),children:e.employer_currency_costs.extra_statutory_payments_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.extra_statutory_payments_breakdown?.[y]?.amount,e.regional_currency_costs.currency.symbol),employerAmount:t(s.amount,e.employer_currency_costs.currency.symbol),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},...k?[{label:"Annual fee",regionalAmount:t(e.regional_currency_costs.annual_management_fee,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.annual_management_fee,e.employer_currency_costs.currency.symbol),tooltip:"Discounts may be available based on your commitment and team size. Speak to your account or customer success manager to learn more."}]:[]],isMultipleCurrency:p})})}),o("div",{className:"RemoteFlows__Separator",children:o(u,{minimumOnboardingDays:e.minimum_onboarding_time,data:D})}),o(c,{countryBenefitsUrl:e.country_benefits_details_url,countryGuideUrl:e.country_guide_url,country:e.country}),v&&o(v,{})]})},"EstimationResults");export{Re as a};
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as R,b as x,c as N,d as A}from"./chunk-5IHRUTHD.js";import{a as w,b as f}from"./chunk-AQHD46DV.js";import{a as C}from"./chunk-YHD2RXJC.js";import{b as B}from"./chunk-H2OBH7SK.js";import{a as i,b as t,e as F}from"./chunk-GCWEOZBS.js";import{a as d}from"./chunk-P37U34EQ.js";import{MoreHorizontal as P}from"lucide-react";import{useState as U}from"react";import{Fragment as $,jsx as g,jsxs as T}from"react/jsx-runtime";function E({actions:e=[],className:n,label:l,"data-testid":a}){let[m,_]=U(!1);return T("div",{className:i("relative",n),children:[g(B,{"data-testid":a,variant:"ghost","aria-label":l,className:"h-8 w-8 p-0",onClick:()=>_(!m),children:g(P,{className:"h-4 w-4"})}),m&&T($,{children:[g("div",{className:"fixed inset-0 z-40",onClick:()=>_(!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":`${a}-${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(),_(!1)},disabled:c.disabled,children:c.label},u))})]})]})}d(E,"ActionsDropdown");import{ChevronDown as O,Info as Z}from"lucide-react";import K from"react-flagpack";import{useState as z}from"react";import{jsx as j,jsxs as L}from"react/jsx-runtime";var I=d(({children:e,content:n})=>L("div",{className:"relative inline-block group",children:[e,L("div",{className:"absolute bottom-full right-0 mb-2 px-3 py-2 bg-gray-900 text-white text-xs rounded-md opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-200 z-50 w-64 whitespace-normal break-words",children:[n,j("div",{className:"absolute top-full right-3 border-4 border-transparent border-t-gray-900"})]})]}),"BasicTooltip");import{Fragment as b,jsx as o,jsxs as r}from"react/jsx-runtime";var V={GB:"GB-UKM"},Y=d(({title:e,country:n,region:l,annualGrossSalary:a,onDelete:m,onExportPdf:_,onEdit:c})=>{let u=[{label:"Edit",onClick:c},{label:"Export",onClick:_},{label:"Delete",onClick:m}];return r("div",{className:"RemoteFlows__EstimationResults__Header flex justify-between",children:[r("div",{className:"flex flex-row items-center gap-6",children:[o("div",{className:"RemoteFlows__EstimationResultsHeader__FlagContainer flex h-16 w-16 items-center justify-center rounded-lg bg-[#F4F4F5]",children:o(K,{code:V[n.alpha_2_code]||n.alpha_2_code})}),r("div",{className:"space-y-1",children:[o("h2",{"data-testid":"estimation-results-header-title",className:"RemoteFlows__EstimationResultsHeader__Title text-lg font-medium leading-none text-[#181818]",children:e}),r("p",{className:"RemoteFlows__EstimationResultsHeader__Country text-xs text-[#71717A]",children:[n.name," ",l?` (${l.name})`:""]}),r("p",{"data-testid":"estimation-results-header-annual-gross-salary",className:"RemoteFlows__EstimationResultsHeader__AnnualGrossSalary text-xs text-[#71717A]",children:[o("span",{className:"text-[#181818]",children:"Employee annual gross salary:"})," ",a]})]})]}),o(E,{label:"Actions",className:"RemoteFlows__EstimationResults__ActionsDropdown",actions:u})]})},"EstimationResultsHeader"),q=d(()=>({steps:[{id:"add-employment-details",title:"Add employment details",description:"You add employee employments details."},{id:"invite-employee",title:"Invite employee",description:"Hire receives an email invitation from Remote to start the self-enrollment process."},{id:"verify-information",title:"Verify information",description:"Remote prepares the Employment Agreement and verifies all the information."},{id:"sign-contract",title:"Sign contract",description:"All parties sign the Employment Agreement and are ready to start. \u{1F389}"}],helpText:"For customers who accept Remote's Terms of Service (ToS), the employee onboarding timeline starts once the employee has been invited to the platform and completed self enrollment.",zendeskArticleId:w.employeeOnboardingTimeline}),"getOnboardingTimelineData");function J({minimumOnboardingDays:e,data:n,className:l}){return o(R,{type:"single",collapsible:!0,className:i("RemoteFlows__EstimationResults__OnboardingTimeline w-full",l),children:r(x,{value:"timeline",className:"RemoteFlows__OnboardingTimeline__AccordionItem border-border",children:[o(N,{className:"RemoteFlows__OnboardingTimeline__AccordionTrigger hover:no-underline px-0 py-4",children:r("div",{className:"flex items-center justify-between w-full",children:[o("span",{className:"RemoteFlows__OnboardingTimeline__Title text-base font-medium text-[#0F172A]",children:"Onboarding timeline"}),e!=null&&r("span",{className:"RemoteFlows__OnboardingTimeline__Description text-base text-muted-foreground mr-4",children:[e," days"]})]})}),r(A,{className:"px-0 pb-4",children:[o("ul",{className:"RemoteFlows__OnboardingTimeline__List list-disc list-inside space-y-2",children:n.steps.map(a=>r("li",{children:[o("strong",{className:"font-medium text-[#09090B]",children:a.title})," ","- ",a.description]},a.id))}),r("p",{className:"RemoteFlows__OnboardingTimeline__HelpText text-xs text-muted-foreground mt-4",children:[n.helpText,n.zendeskArticleId&&o(f,{zendeskId:n.zendeskArticleId,children:"Learn more"})]})]})]})})}d(J,"OnboardingTimeline");function Q({className:e,countryBenefitsUrl:n,countryGuideUrl:l,country:a}){return o(R,{type:"single",collapsible:!0,className:i("RemoteFlows__EstimationResults__HiringSection w-full",e),children:r(x,{value:"timeline",className:"RemoteFlows__HiringSection__AccordionItem border-border",children:[o(N,{className:"RemoteFlows__HiringSection__AccordionTrigger hover:no-underline px-0 py-4",children:o("div",{className:"flex items-center justify-between w-full",children:r("span",{className:"text-base font-medium text-[#0F172A]",children:["Hiring in ",a.name]})})}),o(A,{children:r("div",{className:"flex flex-col gap-1",children:[l&&o("a",{href:l,target:"_blank",className:"RemoteFlows__Link",children:"Explore our complete guide \u2197"}),n&&o("a",{href:n,target:"_blank",className:"RemoteFlows__Link",children:"Explore our available benefits \u2197"})]})})]})})}d(Q,"HiringSection");function W({isMultipleCurrency:e,className:n}){return r("div",{className:i("RemoteFlows__EstimationResults__Headers grid grid-cols-3 items-center",n),children:[o("span",{"aria-hidden":!0}),e?r(b,{children:[o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Employee currency"}),o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Employer currency"})]}):r(b,{children:[o("span",{}),o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Amount"})]})]})}d(W,"EstimationHeaders");function S({label:e,amounts:n,className:l,children:a}){let[m,_]=z(!0);return r("div",{className:i("RemoteFlows__EstimationResults__Row",l),children:[r("div",{className:"RemoteFlows__EstimationRow__Grid grid grid-cols-3 items-center",children:[r("div",{className:"RemoteFlows__EstimationRow__LabelContainer flex items-center gap-2",children:[o("span",{className:i("RemoteFlows__EstimationRow__Title min-w-[140px] font-medium text-[#09090B]"),children:e}),o("button",{onClick:()=>_(!m),className:"RemoteFlows__EstimationRow__CollapseButton p-1 hover:bg-gray-100 rounded",children:o(O,{className:`h-4 w-4 text-muted-foreground transition-transform ${m?"rotate-180":""}`})})]}),Array.isArray(n)?n.map((c,u)=>o("span",{className:i("RemoteFlows__EstimationRow__RegionalAmount text-right font-medium text-[#09090B]"),children:c},u)):r(b,{children:[o("span",{}),o("span",{className:i("RemoteFlows__EstimationRow__EmployerAmount text-right font-medium text-[#09090B]"),children:n})]})]}),m&&a&&o("div",{className:"RemoteFlows__EstimationRow__CollapsibleContent mt-4",children:a})]})}d(S,"EstimationRow");function X({item:e,isMultipleCurrency:n,level:l=0}){let[a,m]=z(!1),_=e.children&&e.children.length>0,c=l>0,u=e.isCollapsible||_;return r("li",{className:i("RemoteFlows__BreakdownList__Item pb-3",c&&"pb-1"),children:[r("div",{className:i(n?"RemoteFlows__BreakdownList__Grid grid grid-cols-3 items-center justify-between":"RemoteFlows__BreakdownList__Grid grid grid-cols-2 items-center justify-between"),children:[r("div",{className:i("RemoteFlows__BreakdownList__LabelContainer flex items-center gap-2",c&&"pl-3"),children:[!c&&o("span",{className:"RemoteFlows__BreakdownList__Bullet w-1 h-1 bg-[#09090B] rounded-full flex-shrink-0","aria-hidden":"true"}),u?r("button",{onClick:()=>m(!a),className:"RemoteFlows__BreakdownList__CollapseButton flex items-center gap-2 hover:bg-gray-100 rounded p-1",children:[o("span",{className:i(c?"RemoteFlows__BreakdownList__Text--Nested text-xs text-[#71717A]":"RemoteFlows__BreakdownList__Text--NotNested text-sm text-[#09090B]"),children:e.label}),o(O,{className:`RemoteFlows__BreakdownList__ChevronDown h-3 w-3 text-muted-foreground transition-transform ${a?"rotate-180":""}`})]}):o("span",{className:i(c?"RemoteFlows__BreakdownList__Text--Nested text-xs text-[#71717A]":"RemoteFlows__BreakdownList__Text--NotNested text-sm text-[#09090B] p-1"),children:e.label}),e.tooltip&&o(I,{content:r(b,{children:[o("span",{dangerouslySetInnerHTML:{__html:F(e.tooltip)}})," ",e.zendeskId&&o(f,{zendeskId:Number(e.zendeskId),children:"Learn more"})]}),children:o("button",{className:"RemoteFlows__BreakdownList__InfoButton p-1 hover:bg-gray-100 rounded",children:o(Z,{className:i("RemoteFlows__BreakdownList__InfoButton__Icon text-muted-foreground",c?"h-3 w-3":"h-4 w-4")})})})]}),n?r(b,{children:[o("span",{"data-testid":e.dataSelector&&e.dataSelector+"-employee-amount",className:i("RemoteFlows__BreakdownList__RegionalAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__RegionalAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__RegionalAmountText--NotNested text-[#09090B]"),children:e.regionalAmount||"\u2014"}),o("span",{"data-testid":e.dataSelector&&e.dataSelector+"-employer-amount",className:i("RemoteFlows__BreakdownList__EmployerAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__EmployerAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__EmployerAmountText--NotNested text-[#09090B]"),children:e.employerAmount||"\u2014"})]}):o("span",{"data-testid":e.dataSelector,className:i("RemoteFlows__BreakdownList__RegionalAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__RegionalAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__RegionalAmountText--NotNested text-[#09090B]"),children:e.regionalAmount||"\u2014"})]}),_&&a&&o("div",{className:"mt-1",children:o(h,{items:e.children,isMultipleCurrency:n,level:l+1})})]})}d(X,"BreakdownListItem");function h({items:e,isMultipleCurrency:n,className:l,level:a}){return o("ul",{className:i("RemoteFlows__BreakdownList list-none",l),children:e.map((m,_)=>o(X,{item:m,isMultipleCurrency:n,level:a},_))})}d(h,"BreakdownList");var Re=d(({estimation:e,title:n,components:l,onDelete:a,onExportPdf:m,onEdit:_})=>{let c=l?.HiringSection||Q,u=l?.OnboardingTimeline||J,H=l?.Header||Y,v=l?.Footer,D=q(),p=e.employer_currency_costs.currency.code!==e.regional_currency_costs.currency.code,k=e.employer_currency_costs.monthly_management_fee,M=e.region.code!==e.country.code,G=t(e.regional_currency_costs.annual_gross_salary,e.regional_currency_costs.currency.symbol);return r(C,{className:"RemoteFlows__EstimationResults__Card p-10",children:[o("div",{className:"RemoteFlows__Separator",children:o(H,{title:n,annualGrossSalary:G,region:M?e.region:void 0,country:e.country,onDelete:a,onExportPdf:m,onEdit:_})}),r("div",{className:"RemoteFlows__Separator",children:[o(W,{isMultipleCurrency:p,className:"mb-3"}),o(S,{label:"Monthly total cost",amounts:p?[t(e.regional_currency_costs.monthly_total,e.regional_currency_costs.currency.symbol),t(e.employer_currency_costs.monthly_total,e.employer_currency_costs.currency.symbol)]:t(e.regional_currency_costs.monthly_total,e.regional_currency_costs.currency.symbol),children:o(h,{items:[{label:"Gross monthly salary",regionalAmount:t(e.regional_currency_costs.monthly_gross_salary,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.monthly_gross_salary,e.employer_currency_costs.currency.symbol),zendeskId:w.extraPayments.toString(),tooltip:"This country respects extra payments on top of the gross salary."},{label:"Mandatory employer costs",regionalAmount:t(e.regional_currency_costs.monthly_contributions_total,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.monthly_contributions_total,e.employer_currency_costs.currency.symbol),children:e.employer_currency_costs.monthly_contributions_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.monthly_contributions_breakdown?.[y]?.amount,e.regional_currency_costs.currency.symbol),employerAmount:t(s.amount,e.employer_currency_costs.currency.symbol),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Benefits",regionalAmount:t(e.regional_currency_costs.monthly_benefits_total,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.monthly_benefits_total,e.employer_currency_costs.currency.symbol),children:e.employer_currency_costs.monthly_benefits_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.monthly_benefits_breakdown?.[y]?.amount,e.regional_currency_costs.currency.symbol),employerAmount:t(s.amount,e.employer_currency_costs.currency.symbol),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},...k?[{label:"Monthly fee",regionalAmount:t(e.regional_currency_costs.monthly_management_fee,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.monthly_management_fee,e.employer_currency_costs.currency.symbol),tooltip:"Discounts may be available based on your commitment and team size. Speak to your account or customer success manager to learn more."}]:[]],isMultipleCurrency:p})})]}),o("div",{className:"RemoteFlows__Separator",children:o(S,{label:"Annual total cost",amounts:p?[t(e.regional_currency_costs.annual_total,e.regional_currency_costs.currency.symbol),t(e.employer_currency_costs.annual_total,e.employer_currency_costs.currency.symbol)]:t(e.regional_currency_costs.annual_total,e.regional_currency_costs.currency.symbol),children:o(h,{items:[{label:"Gross annual salary",dataSelector:"annual-gross-salary",regionalAmount:t(e.regional_currency_costs.annual_gross_salary,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.annual_gross_salary,e.employer_currency_costs.currency.symbol)},{label:"Mandatory employer costs",regionalAmount:t(e.regional_currency_costs.annual_contributions_total,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.annual_contributions_total,e.employer_currency_costs.currency.symbol),children:e.employer_currency_costs.annual_contributions_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.annual_contributions_breakdown?.[y]?.amount,e.regional_currency_costs.currency.symbol),employerAmount:t(s.amount,e.employer_currency_costs.currency.symbol),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Benefits",regionalAmount:t(e.regional_currency_costs.annual_benefits_total,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.annual_benefits_total,e.employer_currency_costs.currency.symbol),children:e.employer_currency_costs.annual_benefits_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.annual_benefits_breakdown?.[y]?.amount,e.regional_currency_costs.currency.symbol),employerAmount:t(s.amount,e.employer_currency_costs.currency.symbol),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Extra statutory payments",regionalAmount:t(e.regional_currency_costs.extra_statutory_payments_total,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.extra_statutory_payments_total,e.employer_currency_costs.currency.symbol),children:e.employer_currency_costs.extra_statutory_payments_breakdown?.map((s,y)=>({label:s.name,regionalAmount:t(e.regional_currency_costs.extra_statutory_payments_breakdown?.[y]?.amount,e.regional_currency_costs.currency.symbol),employerAmount:t(s.amount,e.employer_currency_costs.currency.symbol),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},...k?[{label:"Annual fee",regionalAmount:t(e.regional_currency_costs.annual_management_fee,e.regional_currency_costs.currency.symbol),employerAmount:t(e.employer_currency_costs.annual_management_fee,e.employer_currency_costs.currency.symbol),tooltip:"Discounts may be available based on your commitment and team size. Speak to your account or customer success manager to learn more."}]:[]],isMultipleCurrency:p})})}),o("div",{className:"RemoteFlows__Separator",children:o(u,{minimumOnboardingDays:e.minimum_onboarding_time,data:D})}),o(c,{countryBenefitsUrl:e.country_benefits_details_url,countryGuideUrl:e.country_guide_url,country:e.country}),v&&o(v,{})]})},"EstimationResults");export{Re as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XOK3XCYN.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{i as C,j as a,k as d,l as i,m as u}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{i as C,j as a,k as d,l as i,m as u}from"./chunk-3QNS3IZB.js";import{a as c}from"./chunk-VIQQ3IHI.js";import{a as h}from"./chunk-GCWEOZBS.js";import{a as _}from"./chunk-P37U34EQ.js";import{Fragment as v,jsx as o,jsxs as r}from"react/jsx-runtime";var L=_(({field:l,fieldState:k,fieldData:p})=>{let{name:m,label:s,description:n,options:t,multiple:F}=p;return r(C,{"data-field":m,className:h(`RemoteFlows__CheckBoxField__Item__${m}`),children:[o(d,{children:r(v,{children:[t&&F?o(a,{children:s}):null,t&&F?t.map(e=>r("div",{className:"flex space-x-2",children:[o(c,{id:e.value,onCheckedChange:b=>{l.onChange(b===!0,e.value)},checked:l.value?.includes(e.value),className:"RemoteFlows__CheckBox__Input"}),o(a,{htmlFor:e.value,className:"mb-0 RemoteFlows__CheckBox__Label",children:e.label})]},e.value)):r("div",{className:"flex space-x-2",children:[o(c,{id:m,onCheckedChange:e=>{l.onChange(e===!0,null)},checked:l.value,className:"RemoteFlows__CheckBox__Input"}),o(a,{htmlFor:m,className:"mb-0 RemoteFlows__CheckBox__Label",children:s})]})]})}),n&&o(i,{children:n}),k.error&&o(u,{})]})},"CheckboxFieldDefault");export{L as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XSG4QXPY.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as i}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as i}from"./chunk-25III46F.js";import{b as e}from"./chunk-MRYRNB7Y.js";import{a as m}from"./chunk-P37U34EQ.js";import{jsx as u}from"react/jsx-runtime";function p({onSubmit:n}){let{terminationBag:o}=e(),a=m(async t=>{let r=await o?.parseFormValues(t);await n?.(r),o?.next()},"handleSubmit");return u(i,{defaultValues:o.fieldValues,onSubmit:a})}m(p,"EmployeeCommunicationForm");export{p as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XVU376WG.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as r}from"./chunk-GCWEOZBS.js";import{a as t}from"./chunk-P37U34EQ.js";import{jsx as a}from"react/jsx-runtime";function s({className:e,direction:o="col",...n}){return a("div",{"data-slot":"card",className:r("RemoteFlows__Card bg-white text-card-foreground rounded-[10px] gap-4 border border-gray-200 px-10 py-14",o==="row"?"flex flex-row":"flex flex-col",e),...n})}t(s,"Card");function p({className:e,...o}){return a("header",{"data-slot":"card-header",className:r("flex flex-col gap-1.5 px-6",e),...o})}t(p,"CardHeader");function l({className:e,as:o,...n}){return a(o||"h2",{"data-slot":"card-title",className:r("leading-none font-semibold",e),...n})}t(l,"CardTitle");function i({className:e,...o}){return a("p",{"data-slot":"card-description",className:r("text-sm",e),...o})}t(i,"CardDescription");function m({className:e,...o}){return a("div",{"data-slot":"card-content",className:r("px-6",e),...o})}t(m,"CardContent");function f({className:e,...o}){return a("footer",{"data-slot":"card-footer",className:r("flex items-center px-6",e),...o})}t(f,"CardFooter");export{s as a,p as b,l as c,i as d,m as e,f};
|
|
2
|
+
//# sourceMappingURL=chunk-YHD2RXJC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/ui/card.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { cn } from '@/src/lib/utils';\n\ninterface CardProps extends React.ComponentProps<'div'> {\n direction?: 'row' | 'col';\n}\n\nfunction Card({ className, direction = 'col', ...props }: CardProps) {\n return (\n <div\n data-slot='card'\n className={cn(\n 'RemoteFlows__Card bg-white text-card-foreground rounded-[10px] gap-4 border border-gray-200 px-10 py-14',\n direction === 'row' ? 'flex flex-row' : 'flex flex-col',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction CardHeader({ className, ...props }: React.ComponentProps<'header'>) {\n return (\n <header\n data-slot='card-header'\n className={cn('flex flex-col gap-1.5 px-6', className)}\n {...props}\n />\n );\n}\n\nfunction CardTitle<T extends React.ElementType = 'h2'>({\n className,\n as,\n ...props\n}: React.ComponentProps<'h2'> & {\n as?: T;\n} & Omit<React.ComponentPropsWithoutRef<T>, 'children' | 'className'>) {\n const Component = as || 'h2';\n\n return (\n <Component\n data-slot='card-title'\n className={cn('leading-none font-semibold', className)}\n {...props}\n />\n );\n}\n\nfunction CardDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return (\n <p\n data-slot='card-description'\n className={cn('text-sm', className)}\n {...props}\n />\n );\n}\n\nfunction CardContent({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot='card-content'\n className={cn('px-6', className)}\n {...props}\n />\n );\n}\n\nfunction CardFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <footer\n data-slot='card-footer'\n className={cn('flex items-center px-6', className)}\n {...props}\n />\n );\n}\n\nexport {\n Card,\n CardHeader,\n CardFooter,\n CardTitle,\n CardDescription,\n CardContent,\n};\n"],"mappings":"gFAUI,cAAAA,MAAA,oBAFJ,SAASC,EAAK,CAAE,UAAAC,EAAW,UAAAC,EAAY,MAAO,GAAGC,CAAM,EAAc,CACnE,OACEJ,EAAC,OACC,YAAU,OACV,UAAWK,EACT,0GACAF,IAAc,MAAQ,gBAAkB,gBACxCD,CACF,EACC,GAAGE,EACN,CAEJ,CAZSE,EAAAL,EAAA,QAcT,SAASM,EAAW,CAAE,UAAAL,EAAW,GAAGE,CAAM,EAAmC,CAC3E,OACEJ,EAAC,UACC,YAAU,cACV,UAAWK,EAAG,6BAA8BH,CAAS,EACpD,GAAGE,EACN,CAEJ,CARSE,EAAAC,EAAA,cAUT,SAASC,EAA8C,CACrD,UAAAN,EACA,GAAAO,EACA,GAAGL,CACL,EAEuE,CAGrE,OACEJ,EAHgBS,GAAM,KAGrB,CACC,YAAU,aACV,UAAWJ,EAAG,6BAA8BH,CAAS,EACpD,GAAGE,EACN,CAEJ,CAhBSE,EAAAE,EAAA,aAkBT,SAASE,EAAgB,CAAE,UAAAR,EAAW,GAAGE,CAAM,EAA8B,CAC3E,OACEJ,EAAC,KACC,YAAU,mBACV,UAAWK,EAAG,UAAWH,CAAS,EACjC,GAAGE,EACN,CAEJ,CARSE,EAAAI,EAAA,mBAUT,SAASC,EAAY,CAAE,UAAAT,EAAW,GAAGE,CAAM,EAAgC,CACzE,OACEJ,EAAC,OACC,YAAU,eACV,UAAWK,EAAG,OAAQH,CAAS,EAC9B,GAAGE,EACN,CAEJ,CARSE,EAAAK,EAAA,eAUT,SAASC,EAAW,CAAE,UAAAV,EAAW,GAAGE,CAAM,EAAgC,CACxE,OACEJ,EAAC,UACC,YAAU,cACV,UAAWK,EAAG,yBAA0BH,CAAS,EAChD,GAAGE,EACN,CAEJ,CARSE,EAAAM,EAAA","names":["jsx","Card","className","direction","props","cn","__name","CardHeader","CardTitle","as","CardDescription","CardContent","CardFooter"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as x,c as y,d as k}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as x,c as y,d as k}from"./chunk-A54D24NT.js";import{b as h}from"./chunk-PGRQG254.js";import{b as C}from"./chunk-H2OBH7SK.js";import{a as m}from"./chunk-GCWEOZBS.js";import{a as r}from"./chunk-P37U34EQ.js";import{Fragment as z,useState as G}from"react";import{Check as L,ChevronDownIcon as B,X as M}from"lucide-react";import{Command as i}from"cmdk";import{SearchIcon as H}from"lucide-react";import{jsx as d,jsxs as X}from"react/jsx-runtime";function b({className:t,...o}){return d(i,{"data-slot":"command",className:m("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",t),...o})}r(b,"Command");function P({className:t,...o}){return d(i.List,{"data-slot":"command-list",className:m("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",t),...o})}r(P,"CommandList");function _({...t}){return d(i.Empty,{"data-slot":"command-empty",className:"py-6 text-center text-sm",...t})}r(_,"CommandEmpty");function w({className:t,...o}){return d(i.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(w,"CommandGroup");function N({className:t,...o}){return d(i.Separator,{"data-slot":"command-separator",className:m("bg-border -mx-1 h-px",t),...o})}r(N,"CommandSeparator");function D({className:t,...o}){return d(i.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(D,"CommandItem");import{jsx as a,jsxs as s}from"react/jsx-runtime";function Z({options:t,selected:o,onChange:u,placeholder:S,...I}){let[g,R]=G(!1),f=r(e=>{u(o.filter(n=>n.value!==e.value))},"handleUnselect"),O=t.some(e=>e.category),E=t.reduce((e,n)=>{let p=n.category||"Uncategorized";return e[p]||(e[p]=[]),e[p].push(n),e},{});return s(x,{open:g,onOpenChange:R,...I,children:[a(y,{children:s(C,{variant:"outline",role:"combobox","aria-expanded":g,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=>s(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"&&f(e)},onMouseDown:n=>{n.preventDefault(),n.stopPropagation()},onClick:()=>f(e),children:a(M,{className:"h-3 w-3 text-muted-foreground hover:text-foreground"})})]},e.label)):a("span",{className:"text-foreground",children:S})}),a(B,{className:"size-4"})]})}),a(k,{align:"start",className:"w-full p-0",children:a(b,{children:s(P,{children:[a(_,{children:"No item found."}),Object.entries(E).map(([e,n],p)=>s(z,{children:[p>0&&a(N,{}),a(w,{heading:O?e:void 0,children:n.map(l=>{let v=o.some(c=>c.value===l.value);return s(D,{onSelect:()=>{u(v?o.filter(c=>c.value!==l.value):[...o,l])},children:[a(L,{className:m("mr-2 h-4 w-4",v?"opacity-100":"opacity-0")}),l.label]},l.label)})})]},e))]})})})]})}r(Z,"MultiSelect");export{Z as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YHIADGM3.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as t}from"./chunk-ZXGAFQXW.js";import{a}from"./chunk-LMYJ6V44.js";import{a as e}from"./chunk-TC7EQZJK.js";import{a as r}from"./chunk-NX7MM6XR.js";var i={data:{version:7,schema:{additionalProperties:!1,allOf:[...e.data.schema.allOf,...t.data.schema.allOf,...r.data.schema.allOf,...a.data.schema.allOf],properties:{...e.data.schema.properties,...t.data.schema.properties,...r.data.schema.properties,...a.data.schema.properties},required:[...e.data.schema.required,...t.data.schema.required,...r.data.schema.required,...a.data.schema.required],type:"object","x-jsf-order":[...e.data.schema["x-jsf-order"],...t.data.schema["x-jsf-order"],...r.data.schema["x-jsf-order"],...a.data.schema["x-jsf-order"]]}}};export{i as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YRC6EEM3.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as t}from"./chunk-GCWEOZBS.js";import{a as e}from"./chunk-P37U34EQ.js";import*as o from"@radix-ui/react-label";import{jsx as r}from"react/jsx-runtime";function l({className:a,...i}){return r(o.Root,{"data-slot":"label",className:t("flex items-center gap-2 text-sm leading-none select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50",a),...i})}e(l,"Label");export{l as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YUQ3GDQI.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as p}from"./chunk-KSHK3ZPX.js";import{a as F}from"./chunk-WGMEOF72.js";import{g as C}from"./chunk-3QNS3IZB.js";import{h as E}from"./chunk-GCWEOZBS.js";import{b as f}from"./chunk-3X36ZFNP.js";import{a as n}from"./chunk-P37U34EQ.js";import{useEffect as R}from"react";import{jsx as u}from"react/jsx-runtime";function T({onSubmit:S,onError:w,onSuccess:y,onErrorWithFields:c,shouldResetForm:d,resetFields:a}){let{form:e,formId:V,costCalculatorBag:o}=p(),{formState:{isSubmitSuccessful:s}}=e;R(()=>{if(s&&d){o?.resetForm(),e.reset();return}if(s&&a){let t={...e.getValues()};a.forEach(r=>{t[r]=""}),o?.resetForm(),e.reset(t)}},[s,e,d,o,a]);let b=n(async i=>{try{let t=await o?.parseFormValues(i);o?.meta?.fields&&(o.meta.fields=E(i,o.fields),o.meta.fields.employer_currency_slug=o.meta.fields.currency);let r=await o?.onSubmit(t);if(await S?.(t),r?.data&&!r.error){let l={data:{...r.data.data,employments:r.data.data.employments?.map(m=>({...m,title:t.estimation_title}))}};await y?.(l)}else throw{data:null,error:r?.error,fieldErrors:r?.fieldErrors,rawError:r?.rawError}}catch(t){let r=t,l=r.fieldErrors;if(c){let m=o?.meta?.fields,h=f(l,m);c({error:r.error,rawError:r.rawError,fieldErrors:h})}else w?.(r.error)}},"handleSubmit");return u(C,{...e,children:u("form",{id:V,onSubmit:e.handleSubmit(b),className:"space-y-4 RemoteFlows__CostCalculatorForm",children:u(F,{fields:o?.fields??[]})})})}n(T,"CostCalculatorForm");export{T as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YZ3POA3F.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as e}from"./chunk-25III46F.js";import{b as a}from"./chunk-MRYRNB7Y.js";import{a as i}from"./chunk-P37U34EQ.js";import{jsx as s}from"react/jsx-runtime";function d({onSubmit:m}){let{terminationBag:o}=a(),r=i(async t=>{let n=await o?.parseFormValues(t);await m?.(n),o?.next()},"handleSubmit");return s(e,{defaultValues:o.fieldValues,onSubmit:r})}i(d,"PaidTimeOffForm");export{d as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZCZX54AU.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as x,h as _}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{c as x,h as _}from"./chunk-3QNS3IZB.js";import{b as C}from"./chunk-KQPDXXG3.js";import{a}from"./chunk-P37U34EQ.js";import D from"lodash.groupby";import $ from"lodash.capitalize";var S=60,F=["monday","tuesday","wednesday","thursday","friday","saturday","sunday"];function M(e){if(e<60)return`${e}m`;let s=Math.floor(e/S),n=e%S;return n>0?`${s}h${n}m`:`${s}h`}a(M,"convertBreakDurationToHours");function O(e){let s=e.reduce((n,u)=>u.hours+n,0);return Number(s.toFixed(2))}a(O,"calculateTotalWorkHours");function H(e,s){let n=s.map(({day:c})=>c.toLowerCase()),u=n.indexOf(e),i=null;for(;u<n.length&&!i;){let c=n[u],k=n[u+1],r=F.indexOf(c)+1;F[r]===k||(i=c),u+=1}return i}a(H,"findLastConsecutiveDay");function N(e){return e.start_time&&e.end_time&&(typeof e.hours=="number"?e.hours:Number.parseInt(e.hours))>0}a(N,"shouldSummarizeSchedule");function T(e){return Number.parseInt(e.break_duration_minutes)>0}a(T,"shouldSummarizeBreaks");function I(e){let s=e.filter(N),n=D(s,r=>`${r.start_time}|${r.end_time}`),u=e.filter(T),i=D(u,"break_duration_minutes"),c=Object.keys(n).map(r=>{let o=n[r],y=o[0].day,[p,h]=r.split("|"),t=`from <span>${p.replace(":","h")}</span> to <span>${h.replace(":","h")}</span>`,d=H(y,o),m=(d?o.findIndex(f=>f.day===d):-1)===o.length-1;return o.length===1?`${$(y)}, ${t}`:!m||!d?o.reduce((f,b,v)=>{let g=$(b.day);return v===o.length-1?`${f}and ${g}, ${t}`:`${f}<span>${g}</span>, `},""):`<span>${$(y)}</span> to <span>${$(d)}</span>, ${t}`}),k=Object.keys(i).reverse().map((r,o)=>{let y=o===0,p=i[r],h=M(parseInt(r,10));if(Object.keys(i).length===1)return`With ${h} daily breaks`;if(p.length===1){let t=`${h} break on ${$(p[0].day)}.`;return y?`With ${t}`:t}return p.reduce((t,d,l)=>{let m=$(d.day);return l===0?`${t} ${m}`:l===p.length-1?`${t}, and ${m}.`:`${t}, ${m}`},y?`With ${h} break on`:`${h} break on`)});return{workHoursSummary:c,breakSummary:k}}a(I,"buildWorkScheduleSummary");function P(e){let{checked:s,start_time:n,end_time:u,break_duration_minutes:i}=e;if(!s)return 0;let[c,k]=n.split(":").map(Number),[r,o]=u.split(":").map(Number),y=c*60+k,t=(r*60+o-y-Number.parseInt(i||"0"))/60;return t===Math.floor(t)?t:Number(t.toFixed(2))}a(P,"calculateHours");var w={monday:"Mon",tuesday:"Tue",wednesday:"Wed",thursday:"Thu",friday:"Fri",saturday:"Sat",sunday:"Sun"};function R(e){return w[e]}a(R,"getShortWeekday");import{jsx as W}from"react/jsx-runtime";function U({name:e,defaultValue:s,description:n,label:u,onChange:i,multiple:c,options:k,component:r,...o}){let{components:y}=C(),{control:p}=x(),h=a((t,d,l)=>{if(c&&l){let m=t.value?[...t.value]:[];d?m.includes(l)||t.onChange([...m,l]):t.onChange(m.filter(f=>f!==l))}else t.onChange(d)},"handleCheckboxChange");return W(_,{control:p,name:e,defaultValue:s,render:({field:t,fieldState:d})=>{let l=r||y?.checkbox;if(!l)throw new Error(`Checkbox component not found for field ${e}`);let m={name:e,description:n,label:u,defaultValue:s,multiple:c,options:k,...o};return W(l,{field:{...t,onChange:a((f,b)=>{h(t,f,b),i?.(f,b)},"onChange")},fieldState:d,fieldData:m})}})}a(U,"CheckBoxField");export{F as a,O as b,I as c,P as d,R as e,U as f};
|
|
2
|
+
//# sourceMappingURL=chunk-ZTBFYRNL.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as e}from"./chunk-ZXGAFQXW.js";import{a as i}from"./chunk-LMYJ6V44.js";import{a as o}from"./chunk-TC7EQZJK.js";import{a as m}from"./chunk-NX7MM6XR.js";var p={employee_communication:o,termination_details:e,paid_time_off:m,additional_information:i};export{p as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZVUQDK2E.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as Components } from './remoteFlows-
|
|
1
|
+
import { C as Components } from './remoteFlows-Cng6gLYk.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'yup';
|
|
4
|
-
import './types.gen-
|
|
4
|
+
import './types.gen-DblP0ILg.js';
|
|
5
5
|
import './types-ZWIpiFgj.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as n}from"./chunk-3JJEKIQ2.js";import{a as F}from"./chunk-CNCOVTDL.js";import{a as s}from"./chunk-XSG4QXPY.js";import{a as c}from"./chunk-TZPHBNNS.js";import{a as b}from"./chunk-JQ2ESL5O.js";import{a as k}from"./chunk-C4NXXY3X.js";import{a as m}from"./chunk-JZNJIXGW.js";import{a as i}from"./chunk-7SYE5KEV.js";import{a as f}from"./chunk-H5VA2OWQ.js";import{a}from"./chunk-FZ452U6M.js";import{a as u}from"./chunk-D4FBB5XW.js";import{a as p}from"./chunk-THPH57GK.js";import{a as D}from"./chunk-C2NROAMW.js";import{a as e}from"./chunk-3UJC7KHD.js";import{a as t}from"./chunk-VC6X3C2I.js";import{a as o}from"./chunk-KXF27FC4.js";import{a as r}from"./chunk-FFHBDVTJ.js";import"./chunk-3WBZPCT5.js";import"./chunk-YHIADGM3.js";import"./chunk-A54D24NT.js";import{a as l}from"./chunk-CKA37AR5.js";import"./chunk-ZTBFYRNL.js";import{a as d}from"./chunk-AN5U7FWW.js";import"./chunk-MZNUCWQU.js";import"./chunk-AQHD46DV.js";import"./chunk-3QNS3IZB.js";import"./chunk-JTLXUYOR.js";import"./chunk-VIQQ3IHI.js";import"./chunk-FLW5LACO.js";import"./chunk-JTSHX4RB.js";import"./chunk-ILX4QHHH.js";import"./chunk-OVTH3ZHO.js";import"./chunk-F2VYTYIQ.js";import"./chunk-PGRQG254.js";import"./chunk-7QRAEME3.js";import"./chunk-FJPY27YJ.js";import"./chunk-H2OBH7SK.js";import"./chunk-YUQ3GDQI.js";import"./chunk-GCWEOZBS.js";import"./chunk-3X36ZFNP.js";import"./chunk-KQPDXXG3.js";import"./chunk-P37U34EQ.js";var V={button:b,checkbox:s,countries:r,date:m,drawer:D,email:f,fieldsetToggle:d,file:e,"multi-select":u,number:i,radio:a,select:o,statement:l,textarea:t,text:p,zendeskDrawer:n,table:F,"work-schedule":c,pdfViewer:k};export{V as defaultComponents};
|
|
2
2
|
//# sourceMappingURL=default-components.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/default-components.ts"],"sourcesContent":["import { Components } from '@/src/types/remoteFlows';\nimport { FileUploadFieldDefault } from '@/src/components/form/fields/default/FileUploadFieldDefault';\nimport { TextAreaFieldDefault } from '@/src/components/form/fields/default/TextAreaFieldDefault';\nimport { SelectFieldDefault } from '@/src/components/form/fields/default/SelectFieldDefault';\nimport { CountryFieldDefault } from '@/src/components/form/fields/default/CountryFieldDefault';\nimport { StatementDefault } from '@/src/components/form/fields/default/StatementDefault';\nimport { DatePickerFieldDefault } from '@/src/components/form/fields/default/DatePickerFieldDefault';\nimport { NumberFieldDefault } from '@/src/components/form/fields/default/NumberFieldDefault';\nimport { EmailFieldDefault } from '@/src/components/form/fields/default/EmailFieldDefault';\nimport { RadioGroupFieldDefault } from '@/src/components/form/fields/default/RadioGroupFieldDefault';\nimport { MultiSelectFieldDefault } from '@/src/components/form/fields/default/MultiSelectFieldDefault';\nimport { TextFieldDefault } from '@/src/components/form/fields/default/TextFieldDefault';\nimport { FieldsetToggleButtonDefault } from '@/src/components/form/fields/default/FieldsetToggleButtonDefault';\nimport { DrawerDefault } from '@/src/components/shared/drawer/DrawerDefault';\nimport { ZendeskDrawerDefault } from '@/src/components/shared/zendesk-drawer/ZendeskDrawerDefault';\nimport { TableFieldDefault } from '@/src/components/shared/table/TableFieldDefault';\nimport { CheckboxFieldDefault } from '@/src/components/form/fields/default/CheckboxFieldDefault';\nimport { WorkScheduleFieldDefault } from '@/src/components/form/fields/default/WorkScheduleFieldDefault';\nimport { ButtonDefault } from '@/src/components/form/fields/default/ButtonDefault';\nimport { PDFPreviewDefault } from '@/src/components/shared/pdf-preview/PDFPreviewDefault';\n/**\n * Default field components for RemoteFlows.\n *\n * This module acts as a reference for our users to know what are the components that are really overrided\n *\n */\nexport const defaultComponents: Components = {\n button: ButtonDefault,\n checkbox: CheckboxFieldDefault,\n countries: CountryFieldDefault,\n date: DatePickerFieldDefault,\n drawer: DrawerDefault,\n email: EmailFieldDefault,\n fieldsetToggle: FieldsetToggleButtonDefault,\n file: FileUploadFieldDefault,\n // TODO: we have doubts multi-select, it's actually used\n 'multi-select': MultiSelectFieldDefault,\n number: NumberFieldDefault,\n radio: RadioGroupFieldDefault,\n select: SelectFieldDefault,\n statement: StatementDefault,\n textarea: TextAreaFieldDefault,\n text: TextFieldDefault,\n zendeskDrawer: ZendeskDrawerDefault,\n table: TableFieldDefault,\n 'work-schedule': WorkScheduleFieldDefault,\n pdfViewer: PDFPreviewDefault,\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/default-components.ts"],"sourcesContent":["import { Components } from '@/src/types/remoteFlows';\nimport { FileUploadFieldDefault } from '@/src/components/form/fields/default/FileUploadFieldDefault';\nimport { TextAreaFieldDefault } from '@/src/components/form/fields/default/TextAreaFieldDefault';\nimport { SelectFieldDefault } from '@/src/components/form/fields/default/SelectFieldDefault';\nimport { CountryFieldDefault } from '@/src/components/form/fields/default/CountryFieldDefault';\nimport { StatementDefault } from '@/src/components/form/fields/default/StatementDefault';\nimport { DatePickerFieldDefault } from '@/src/components/form/fields/default/DatePickerFieldDefault';\nimport { NumberFieldDefault } from '@/src/components/form/fields/default/NumberFieldDefault';\nimport { EmailFieldDefault } from '@/src/components/form/fields/default/EmailFieldDefault';\nimport { RadioGroupFieldDefault } from '@/src/components/form/fields/default/RadioGroupFieldDefault';\nimport { MultiSelectFieldDefault } from '@/src/components/form/fields/default/MultiSelectFieldDefault';\nimport { TextFieldDefault } from '@/src/components/form/fields/default/TextFieldDefault';\nimport { FieldsetToggleButtonDefault } from '@/src/components/form/fields/default/FieldsetToggleButtonDefault';\nimport { DrawerDefault } from '@/src/components/shared/drawer/DrawerDefault';\nimport { ZendeskDrawerDefault } from '@/src/components/shared/zendesk-drawer/ZendeskDrawerDefault';\nimport { TableFieldDefault } from '@/src/components/shared/table/TableFieldDefault';\nimport { CheckboxFieldDefault } from '@/src/components/form/fields/default/CheckboxFieldDefault';\nimport { WorkScheduleFieldDefault } from '@/src/components/form/fields/default/WorkScheduleFieldDefault';\nimport { ButtonDefault } from '@/src/components/form/fields/default/ButtonDefault';\nimport { PDFPreviewDefault } from '@/src/components/shared/pdf-preview/PDFPreviewDefault';\n/**\n * Default field components for RemoteFlows.\n *\n * This module acts as a reference for our users to know what are the components that are really overrided\n *\n */\nexport const defaultComponents: Components = {\n button: ButtonDefault,\n checkbox: CheckboxFieldDefault,\n countries: CountryFieldDefault,\n date: DatePickerFieldDefault,\n drawer: DrawerDefault,\n email: EmailFieldDefault,\n fieldsetToggle: FieldsetToggleButtonDefault,\n file: FileUploadFieldDefault,\n // TODO: we have doubts multi-select, it's actually used\n 'multi-select': MultiSelectFieldDefault,\n number: NumberFieldDefault,\n radio: RadioGroupFieldDefault,\n select: SelectFieldDefault,\n statement: StatementDefault,\n textarea: TextAreaFieldDefault,\n text: TextFieldDefault,\n zendeskDrawer: ZendeskDrawerDefault,\n table: TableFieldDefault,\n 'work-schedule': WorkScheduleFieldDefault,\n pdfViewer: PDFPreviewDefault,\n};\n"],"mappings":"u3CA0BO,IAAMA,EAAgC,CAC3C,OAAQC,EACR,SAAUC,EACV,UAAWC,EACX,KAAMC,EACN,OAAQC,EACR,MAAOC,EACP,eAAgBC,EAChB,KAAMC,EAEN,eAAgBC,EAChB,OAAQC,EACR,MAAOC,EACP,OAAQC,EACR,UAAWC,EACX,SAAUC,EACV,KAAMC,EACN,cAAeC,EACf,MAAOC,EACP,gBAAiBC,EACjB,UAAWC,CACb","names":["defaultComponents","ButtonDefault","CheckboxFieldDefault","CountryFieldDefault","DatePickerFieldDefault","DrawerDefault","EmailFieldDefault","FieldsetToggleButtonDefault","FileUploadFieldDefault","MultiSelectFieldDefault","NumberFieldDefault","RadioGroupFieldDefault","SelectFieldDefault","StatementDefault","TextAreaFieldDefault","TextFieldDefault","ZendeskDrawerDefault","TableFieldDefault","WorkScheduleFieldDefault","PDFPreviewDefault"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { P as PostCreateContractAmendmentError, b as ContractAmendmentResponse } from '../../types.gen-
|
|
2
|
+
import { P as PostCreateContractAmendmentError, b as ContractAmendmentResponse } from '../../types.gen-DblP0ILg.js';
|
|
3
3
|
import { FieldValues } from 'react-hook-form';
|
|
4
4
|
|
|
5
5
|
type ContractAmendmentConfirmationFormProps = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-I25DQACP.js";import"../../chunk-HRG5MSVG.js";import"../../chunk-3QNS3IZB.js";import"../../chunk-YUQ3GDQI.js";import"../../chunk-GCWEOZBS.js";import"../../chunk-3X36ZFNP.js";import"../../chunk-TVZAFTPT.js";import"../../chunk-P37U34EQ.js";export{a as ContractAmendmentConfirmationForm};
|
|
2
2
|
//# sourceMappingURL=ContractAmendmentConfirmationForm.js.map
|
|
@@ -5,11 +5,11 @@ import { ContractAmendmentForm } from './ContractAmendmentForm.js';
|
|
|
5
5
|
import { ContractAmendmentSubmit } from './ContractAmendmentSubmit.js';
|
|
6
6
|
import { useContractAmendment } from './hooks.js';
|
|
7
7
|
import { ContractAmendmentParams } from './types.js';
|
|
8
|
-
import '../../types.gen-
|
|
8
|
+
import '../../types.gen-DblP0ILg.js';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
import 'react';
|
|
11
|
-
import '../../mutations-
|
|
12
|
-
import '../../remoteFlows-
|
|
11
|
+
import '../../mutations-S_wSmzKg.js';
|
|
12
|
+
import '../../remoteFlows-Cng6gLYk.js';
|
|
13
13
|
import 'yup';
|
|
14
14
|
import '../../types-ZWIpiFgj.js';
|
|
15
15
|
import '@remoteoss/json-schema-form';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-KAGAWJSJ.js";import"../../chunk-I25DQACP.js";import"../../chunk-FSHTBJ6O.js";import"../../chunk-LNV36S6D.js";import"../../chunk-WGMEOF72.js";import"../../chunk-6FKIWCCE.js";import"../../chunk-EYHFPHIA.js";import"../../chunk-U6LRMWRI.js";import"../../chunk-EBFCYC35.js";import"../../chunk-QMYU2SQX.js";import"../../chunk-ZCXTTVGV.js";import"../../chunk-UOY6KW7W.js";import"../../chunk-HRG5MSVG.js";import"../../chunk-ZTBFYRNL.js";import"../../chunk-AN5U7FWW.js";import"../../chunk-MZNUCWQU.js";import"../../chunk-AQHD46DV.js";import"../../chunk-3QNS3IZB.js";import"../../chunk-JTLXUYOR.js";import"../../chunk-H2OBH7SK.js";import"../../chunk-YUQ3GDQI.js";import"../../chunk-GCWEOZBS.js";import"../../chunk-3X36ZFNP.js";import"../../chunk-5BRMLRS7.js";import"../../chunk-Z5WMKCRJ.js";import"../../chunk-D5AR26AI.js";import"../../chunk-TVZAFTPT.js";import"../../chunk-KQPDXXG3.js";import"../../chunk-P37U34EQ.js";export{a as ContractAmendmentFlow};
|
|
2
2
|
//# sourceMappingURL=ContractAmendmentFlow.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { c as PostAutomatableContractAmendmentError, C as ContractAmendmentAutomatableResponse } from '../../types.gen-
|
|
2
|
+
import { c as PostAutomatableContractAmendmentError, C as ContractAmendmentAutomatableResponse } from '../../types.gen-DblP0ILg.js';
|
|
3
3
|
import { FieldValues } from 'react-hook-form';
|
|
4
4
|
|
|
5
5
|
type ContractAmendmentFormProps = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-FSHTBJ6O.js";import"../../chunk-LNV36S6D.js";import"../../chunk-WGMEOF72.js";import"../../chunk-6FKIWCCE.js";import"../../chunk-EYHFPHIA.js";import"../../chunk-HRG5MSVG.js";import"../../chunk-ZTBFYRNL.js";import"../../chunk-AN5U7FWW.js";import"../../chunk-MZNUCWQU.js";import"../../chunk-AQHD46DV.js";import"../../chunk-3QNS3IZB.js";import"../../chunk-JTLXUYOR.js";import"../../chunk-H2OBH7SK.js";import"../../chunk-YUQ3GDQI.js";import"../../chunk-GCWEOZBS.js";import"../../chunk-3X36ZFNP.js";import"../../chunk-TVZAFTPT.js";import"../../chunk-KQPDXXG3.js";import"../../chunk-P37U34EQ.js";export{a as ContractAmendmentForm};
|
|
2
2
|
//# sourceMappingURL=ContractAmendmentForm.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as ContractAmendmentAutomatableResponse, N as NotFoundResponse, U as UnprocessableEntityResponse, a as UnauthorizedResponse, b as ContractAmendmentResponse } from '../../types.gen-
|
|
1
|
+
import { C as ContractAmendmentAutomatableResponse, N as NotFoundResponse, U as UnprocessableEntityResponse, a as UnauthorizedResponse, b as ContractAmendmentResponse } from '../../types.gen-DblP0ILg.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { E as ErrorResponse, S as SuccessResponse } from '../../mutations-
|
|
4
|
-
import '../../remoteFlows-
|
|
3
|
+
import { E as ErrorResponse, S as SuccessResponse } from '../../mutations-S_wSmzKg.js';
|
|
4
|
+
import '../../remoteFlows-Cng6gLYk.js';
|
|
5
5
|
import * as react_hook_form from 'react-hook-form';
|
|
6
6
|
import { useContractAmendment } from './hooks.js';
|
|
7
7
|
import * as _remoteoss_json_schema_form from '@remoteoss/json-schema-form';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { C as ContractAmendmentAutomatableResponse, N as NotFoundResponse, U as UnprocessableEntityResponse, a as UnauthorizedResponse, b as ContractAmendmentResponse } from '../../types.gen-
|
|
2
|
-
import { E as ErrorResponse, S as SuccessResponse } from '../../mutations-
|
|
1
|
+
import { C as ContractAmendmentAutomatableResponse, N as NotFoundResponse, U as UnprocessableEntityResponse, a as UnauthorizedResponse, b as ContractAmendmentResponse } from '../../types.gen-DblP0ILg.js';
|
|
2
|
+
import { E as ErrorResponse, S as SuccessResponse } from '../../mutations-S_wSmzKg.js';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import * as _remoteoss_json_schema_form from '@remoteoss/json-schema-form';
|
|
5
5
|
import * as _remoteoss_json_schema_form_v0_deprecated from '@remoteoss/json-schema-form-v0-deprecated';
|
|
6
6
|
import { Step } from '../useStepState.js';
|
|
7
7
|
import { FieldValues } from 'react-hook-form';
|
|
8
8
|
import { ContractAmendmentParams } from './types.js';
|
|
9
|
-
import '../../remoteFlows-
|
|
9
|
+
import '../../remoteFlows-Cng6gLYk.js';
|
|
10
10
|
import 'yup';
|
|
11
11
|
import '../../types-ZWIpiFgj.js';
|
|
12
12
|
import '../types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-EBFCYC35.js";import"../../chunk-QMYU2SQX.js";import"../../chunk-ZCXTTVGV.js";import"../../chunk-UOY6KW7W.js";import"../../chunk-HRG5MSVG.js";import"../../chunk-JTLXUYOR.js";import"../../chunk-3X36ZFNP.js";import"../../chunk-5BRMLRS7.js";import"../../chunk-Z5WMKCRJ.js";import"../../chunk-KQPDXXG3.js";import"../../chunk-P37U34EQ.js";export{a as useContractAmendment};
|
|
2
2
|
//# sourceMappingURL=hooks.js.map
|
|
@@ -4,17 +4,17 @@ export { ContractAmendmentForm } from './ContractAmendmentForm.js';
|
|
|
4
4
|
export { ContractAmendmentSubmit } from './ContractAmendmentSubmit.js';
|
|
5
5
|
export { useContractAmendment } from './hooks.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
|
-
import '../../types.gen-
|
|
7
|
+
import '../../types.gen-DblP0ILg.js';
|
|
8
8
|
import 'react-hook-form';
|
|
9
9
|
import './ContractAmendmentBack.js';
|
|
10
10
|
import 'react';
|
|
11
11
|
import './types.js';
|
|
12
12
|
import '../types.js';
|
|
13
|
-
import '../../remoteFlows-
|
|
13
|
+
import '../../remoteFlows-Cng6gLYk.js';
|
|
14
14
|
import 'yup';
|
|
15
15
|
import '../../types-ZWIpiFgj.js';
|
|
16
16
|
import '@remoteoss/remote-json-schema-form-kit';
|
|
17
|
-
import '../../mutations-
|
|
17
|
+
import '../../mutations-S_wSmzKg.js';
|
|
18
18
|
import '@remoteoss/json-schema-form';
|
|
19
19
|
import '@remoteoss/json-schema-form-v0-deprecated';
|
|
20
20
|
import '../useStepState.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../chunk-A7ZJQCNU.js";import{a as e}from"../../chunk-
|
|
1
|
+
import"../../chunk-A7ZJQCNU.js";import{a as e}from"../../chunk-KAGAWJSJ.js";import{a}from"../../chunk-I25DQACP.js";import{a as b}from"../../chunk-FSHTBJ6O.js";import"../../chunk-LNV36S6D.js";import"../../chunk-WGMEOF72.js";import"../../chunk-6FKIWCCE.js";import"../../chunk-EYHFPHIA.js";import{a as c}from"../../chunk-U6LRMWRI.js";import{a as d}from"../../chunk-EBFCYC35.js";import"../../chunk-QMYU2SQX.js";import"../../chunk-ZCXTTVGV.js";import"../../chunk-UOY6KW7W.js";import"../../chunk-HRG5MSVG.js";import"../../chunk-ZTBFYRNL.js";import"../../chunk-AN5U7FWW.js";import"../../chunk-MZNUCWQU.js";import"../../chunk-AQHD46DV.js";import"../../chunk-3QNS3IZB.js";import"../../chunk-JTLXUYOR.js";import"../../chunk-H2OBH7SK.js";import"../../chunk-YUQ3GDQI.js";import"../../chunk-GCWEOZBS.js";import"../../chunk-3X36ZFNP.js";import"../../chunk-5BRMLRS7.js";import"../../chunk-Z5WMKCRJ.js";import"../../chunk-D5AR26AI.js";import"../../chunk-TVZAFTPT.js";import"../../chunk-KQPDXXG3.js";import"../../chunk-P37U34EQ.js";export{a as ContractAmendmentConfirmationForm,e as ContractAmendmentFlow,b as ContractAmendmentForm,c as ContractAmendmentSubmit,d as useContractAmendment};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FlowOptions } from '../types.js';
|
|
2
|
-
import '../../remoteFlows-
|
|
2
|
+
import '../../remoteFlows-Cng6gLYk.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'yup';
|
|
5
|
-
import '../../types.gen-
|
|
5
|
+
import '../../types.gen-DblP0ILg.js';
|
|
6
6
|
import '../../types-ZWIpiFgj.js';
|
|
7
7
|
import 'react-hook-form';
|
|
8
8
|
import '@remoteoss/remote-json-schema-form-kit';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as Employment } from '../../types.gen-
|
|
2
|
-
import { J as JSFFields } from '../../remoteFlows-
|
|
1
|
+
import { E as Employment } from '../../types.gen-DblP0ILg.js';
|
|
2
|
+
import { J as JSFFields } from '../../remoteFlows-Cng6gLYk.js';
|
|
3
3
|
import { Step } from '../useStepState.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'yup';
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
3
|
-
import '../../types.gen-
|
|
2
|
+
import { C as ContractorOnboardingFlowProps } from '../../types-Cmjevabw.js';
|
|
3
|
+
import '../../types.gen-DblP0ILg.js';
|
|
4
4
|
import './components/OnboardingBack.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
import './components/OnboardingSubmit.js';
|
|
7
|
-
import '../../
|
|
8
|
-
import '../../remoteFlows-CViOHRks.js';
|
|
7
|
+
import '../../remoteFlows-Cng6gLYk.js';
|
|
9
8
|
import 'yup';
|
|
10
9
|
import '../../types-ZWIpiFgj.js';
|
|
11
10
|
import 'react-hook-form';
|
|
11
|
+
import '../../mutations-S_wSmzKg.js';
|
|
12
12
|
import '@tanstack/query-core';
|
|
13
13
|
import '@remoteoss/remote-json-schema-form-kit';
|
|
14
14
|
import './utils.js';
|
|
15
|
-
import '../types.js';
|
|
16
15
|
import '../useStepState.js';
|
|
17
16
|
import './components/BasicInformationStep.js';
|
|
18
|
-
import '../../types-
|
|
17
|
+
import '../../types-BMqZxk-s.js';
|
|
19
18
|
import '../Onboarding/components/OnboardingBack.js';
|
|
20
19
|
import '../Onboarding/components/OnboardingInvite.js';
|
|
21
20
|
import '../Onboarding/components/OnboardingSubmit.js';
|
|
21
|
+
import '../types.js';
|
|
22
22
|
import '../Onboarding/components/SaveDraftButton.js';
|
|
23
23
|
import './components/ContractReviewButton.js';
|
|
24
24
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-PBJWPR2W.js";import"../../chunk-P3QDMRCC.js";import"../../chunk-VAWEOFUO.js";import"../../chunk-4TRBNEI5.js";import"../../chunk-WD5DNUSS.js";import"../../chunk-SQWCXYE2.js";import"../../chunk-HI2BVEWW.js";import"../../chunk-JZPN7DHV.js";import"../../chunk-6K3XJV4Z.js";import"../../chunk-OZWDFGLQ.js";import"../../chunk-OE7PRSME.js";import"../../chunk-KRFK2QRV.js";import"../../chunk-4WSJ2A6Q.js";import"../../chunk-Q3ALCPJN.js";import"../../chunk-FYFW7DCQ.js";import"../../chunk-UMOL4GLZ.js";import"../../chunk-A24VPRL7.js";import"../../chunk-WVJDCDGZ.js";import"../../chunk-H6YNMT4M.js";import"../../chunk-L34CQIPW.js";import"../../chunk-AP56UUME.js";import"../../chunk-IJCTN52C.js";import"../../chunk-NQURNHBL.js";import"../../chunk-3UDRMQNE.js";import"../../chunk-WT6E5LO4.js";import"../../chunk-JIZKHO7L.js";import"../../chunk-VDRNNOVA.js";import"../../chunk-N4W7JU2D.js";import"../../chunk-LNV36S6D.js";import"../../chunk-WGMEOF72.js";import"../../chunk-6FKIWCCE.js";import"../../chunk-EYHFPHIA.js";import"../../chunk-UOY6KW7W.js";import"../../chunk-HRG5MSVG.js";import"../../chunk-ZTBFYRNL.js";import"../../chunk-AN5U7FWW.js";import"../../chunk-MZNUCWQU.js";import"../../chunk-AQHD46DV.js";import"../../chunk-3QNS3IZB.js";import"../../chunk-JTLXUYOR.js";import"../../chunk-FJPY27YJ.js";import"../../chunk-H2OBH7SK.js";import"../../chunk-YUQ3GDQI.js";import"../../chunk-GCWEOZBS.js";import"../../chunk-3X36ZFNP.js";import"../../chunk-5BRMLRS7.js";import"../../chunk-Z5WMKCRJ.js";import"../../chunk-KQPDXXG3.js";import"../../chunk-P37U34EQ.js";export{a as ContractorOnboardingFlow};
|
|
2
2
|
//# sourceMappingURL=ContractorOnboarding.js.map
|