@remoteoss/remote-flows 0.27.0 → 0.29.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/{ZendeskTriggerButton-DIV8pCPo.d.ts → ZendeskTriggerButton-Dditzyfj.d.ts} +15 -0
- package/dist/{chunk-DZ67OJVF.js → chunk-25U3HC77.js} +2 -2
- package/dist/{chunk-PFT7KJ65.js → chunk-2FZWM6RV.js} +2 -2
- package/dist/{chunk-RAHCZTQ3.js → chunk-2RBD2MJR.js} +2 -2
- package/dist/{chunk-UFBTCHEI.js → chunk-3PTV5YSQ.js} +2 -2
- package/dist/{chunk-HFI2MD3H.js → chunk-3WE5QB4I.js} +2 -2
- package/dist/chunk-43IIMISK.js +2 -0
- package/dist/chunk-43IIMISK.js.map +1 -0
- package/dist/chunk-5Y2RV54X.js +2 -0
- package/dist/chunk-5Y2RV54X.js.map +1 -0
- package/dist/{chunk-SA74WAVS.js → chunk-6IKJCDQU.js} +2 -2
- package/dist/{chunk-R64X3EJF.js → chunk-7JPHJ7SQ.js} +2 -2
- package/dist/{chunk-LRGEEPGK.js → chunk-AWJUS6JD.js} +1 -1
- package/dist/{chunk-LRGEEPGK.js.map → chunk-AWJUS6JD.js.map} +1 -1
- package/dist/{chunk-UTBVLDKY.js → chunk-BSUVUGJG.js} +2 -2
- package/dist/{chunk-QLNFHOLH.js → chunk-CCL5LNHC.js} +2 -2
- package/dist/{chunk-ANQ4HVVK.js → chunk-CDRDLO4A.js} +1 -1
- package/dist/{chunk-ANQ4HVVK.js.map → chunk-CDRDLO4A.js.map} +1 -1
- package/dist/{chunk-LRNSFLHR.js → chunk-CEJ24TSW.js} +2 -2
- package/dist/{chunk-WNTOQYRY.js → chunk-CHAHQRMM.js} +2 -2
- package/dist/{chunk-BMDZJNJV.js → chunk-E5VV7WAZ.js} +2 -2
- package/dist/chunk-EHS4ERDW.js +2 -0
- package/dist/chunk-EHS4ERDW.js.map +1 -0
- package/dist/{chunk-WLBRCGTG.js → chunk-FHQWEM5E.js} +2 -2
- package/dist/{chunk-VLLLNIMN.js → chunk-FTCLM4RE.js} +2 -2
- package/dist/{chunk-VM2DQCZO.js → chunk-GEHM46QD.js} +2 -2
- package/dist/{chunk-SB3IYODL.js → chunk-GWJZTMF4.js} +2 -2
- package/dist/{chunk-E3JFQ7PH.js → chunk-I4XJ764Y.js} +2 -2
- package/dist/{chunk-BO6OKTIG.js → chunk-I5XGKYJR.js} +2 -2
- package/dist/chunk-ID3ZF7QT.js +2 -0
- package/dist/chunk-ID3ZF7QT.js.map +1 -0
- package/dist/{chunk-R645TMO5.js → chunk-IJQDK7KG.js} +2 -2
- package/dist/{chunk-L6FZRTSN.js → chunk-K2I7ZL3Z.js} +2 -2
- package/dist/{chunk-7Y46DL2U.js → chunk-LA6ZJLTB.js} +2 -2
- package/dist/{chunk-RINDVT6U.js → chunk-LAYZ6XET.js} +2 -2
- package/dist/chunk-LWZIOOPO.js +2 -0
- package/dist/chunk-LWZIOOPO.js.map +1 -0
- package/dist/{chunk-NRW33IP5.js → chunk-M22INAKM.js} +2 -2
- package/dist/{chunk-YXWBSRKS.js → chunk-MAVVGCUM.js} +2 -2
- package/dist/{chunk-A2SWQS2N.js → chunk-MB6ZGX2O.js} +2 -2
- package/dist/{chunk-XP7UEI56.js → chunk-NW5EBNKN.js} +2 -2
- package/dist/chunk-NX7MM6XR.js +2 -0
- package/dist/chunk-NX7MM6XR.js.map +1 -0
- package/dist/{chunk-746ELT2W.js → chunk-NZHJMUIX.js} +2 -2
- package/dist/chunk-NZHJMUIX.js.map +1 -0
- package/dist/{chunk-CVIWZYO3.js → chunk-PJY4TN7I.js} +2 -2
- package/dist/{chunk-W55MUSAS.js → chunk-PXX2JSFI.js} +2 -2
- package/dist/{chunk-GD5556B2.js → chunk-QFK2SD24.js} +2 -2
- package/dist/chunk-QM7J43SC.js +2 -0
- package/dist/chunk-QM7J43SC.js.map +1 -0
- package/dist/{chunk-5NPET4ZO.js → chunk-QU4ZTSMT.js} +2 -2
- package/dist/{chunk-N6G4VZXF.js → chunk-RR55GUDT.js} +2 -2
- package/dist/{chunk-N6G4VZXF.js.map → chunk-RR55GUDT.js.map} +1 -1
- package/dist/{chunk-AYLYOLVG.js → chunk-S3KOROEZ.js} +2 -2
- package/dist/{chunk-FEHSJUZJ.js → chunk-SRYUZSIK.js} +2 -2
- package/dist/{chunk-LDJT7TII.js → chunk-T2UJOEUA.js} +2 -2
- package/dist/chunk-TKAZTT3M.js +2 -0
- package/dist/chunk-TKAZTT3M.js.map +1 -0
- package/dist/chunk-UXVCNSHK.js +2 -0
- package/dist/chunk-UXVCNSHK.js.map +1 -0
- package/dist/{chunk-TUFTB5UD.js → chunk-UYHBV7QJ.js} +2 -2
- package/dist/chunk-VDRNNOVA.js +2 -0
- package/dist/chunk-VDRNNOVA.js.map +1 -0
- package/dist/{chunk-4ZGIL6OE.js → chunk-WHVPDECD.js} +2 -2
- package/dist/chunk-XOA7GG4P.js +2 -0
- package/dist/{chunk-E6OBNWMU.js → chunk-ZJ7524CZ.js} +2 -2
- package/dist/chunk-ZPBKMAKR.js +2 -0
- package/dist/chunk-ZPBKMAKR.js.map +1 -0
- package/dist/chunk-ZXGAFQXW.js +2 -0
- package/dist/chunk-ZXGAFQXW.js.map +1 -0
- package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.d.ts +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/index.d.ts +3 -3
- package/dist/flows/ContractAmendment/index.js +1 -1
- package/dist/flows/ContractAmendment/utils.d.ts +1 -1
- package/dist/flows/ContractorOnboarding/ContractorOnboarding.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/ContractorOnboarding.js +1 -1
- package/dist/flows/ContractorOnboarding/api.d.ts +2 -2
- 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 +5 -5
- package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.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/OnboardingInvite.d.ts +3 -3
- package/dist/flows/ContractorOnboarding/components/OnboardingInvite.js +1 -1
- package/dist/flows/ContractorOnboarding/components/PricingPlan.d.ts +5 -5
- 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/context.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/hooks.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/hooks.js +1 -1
- package/dist/flows/ContractorOnboarding/index.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/index.js +1 -1
- package/dist/flows/ContractorOnboarding/types.d.ts +5 -5
- 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/EstimationResults/EstimationResults.d.ts +1 -1
- package/dist/flows/CostCalculator/EstimationResults/EstimationResults.js +1 -1
- package/dist/flows/CostCalculator/Results/CostCalculatorBenefitsBreakdown.js +1 -1
- package/dist/flows/CostCalculator/Results/CostCalculatorContributionsBreakdown.js +1 -1
- package/dist/flows/CostCalculator/Results/CostCalculatorExtraStatutoryPaymentsBreakdown.js +1 -1
- package/dist/flows/CostCalculator/Results/CostCalculatorGrossSalary.js +1 -1
- package/dist/flows/CostCalculator/Results/CostCalculatorResults.d.ts +1 -1
- package/dist/flows/CostCalculator/Results/CostCalculatorResults.js +1 -1
- package/dist/flows/CostCalculator/SummaryResults/SummaryResults.d.ts +1 -1
- package/dist/flows/CostCalculator/api.d.ts +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 +1 -1
- 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 +7 -7
- 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 +4 -4
- 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 +5 -5
- package/dist/flows/Onboarding/utils.js +1 -1
- 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/components/AcknowledgeInformation/AcknowledgeInformationFees.js +1 -1
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.d.ts +5 -5
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.js +1 -1
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.d.ts +5 -5
- package/dist/flows/Termination/components/PaidTimeOff/types.d.ts +5 -5
- package/dist/flows/Termination/components/TerminationDialogInfoContent/TerminationDialogInfoContent.js +1 -1
- package/dist/flows/Termination/context.d.ts +6 -6
- package/dist/flows/Termination/hooks.d.ts +5 -5
- 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/employeeComunication.js +1 -1
- package/dist/flows/Termination/json-schemas/jsonSchema.d.ts +2 -0
- package/dist/flows/Termination/json-schemas/jsonSchema.js +1 -1
- package/dist/flows/Termination/json-schemas/paidTimeOff.d.ts +1 -0
- package/dist/flows/Termination/json-schemas/paidTimeOff.js +1 -1
- package/dist/flows/Termination/json-schemas/schema.js +1 -1
- package/dist/flows/Termination/json-schemas/terminationDetails.d.ts +1 -0
- package/dist/flows/Termination/json-schemas/terminationDetails.js +1 -1
- package/dist/flows/Termination/types.d.ts +4 -4
- package/dist/flows/api.d.ts +4 -4
- package/dist/flows/api.js +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/internals.d.ts +1 -1
- package/dist/internals.js +1 -1
- package/dist/{mutations-C0KsEf83.d.ts → mutations-B3zY0Z8j.d.ts} +1 -1
- package/dist/{remoteFlows-DJcvCgN2.d.ts → remoteFlows-C6LQCoUj.d.ts} +1 -1
- package/dist/{types-CwUhT-vz.d.ts → types-CXFW77uu.d.ts} +2 -2
- package/dist/{types-1tGveWWg.d.ts → types-C_aEj_4p.d.ts} +6 -5
- package/dist/{types-Dad_rgYV.d.ts → types-D0Gtn_LU.d.ts} +23 -16
- package/dist/{types-DegHPy8Q.d.ts → types-DRI6kPSl.d.ts} +4 -4
- package/dist/{types.gen-B73oMrmZ.d.ts → types.gen-B1wPsyg7.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-4T6PRR6R.js +0 -2
- package/dist/chunk-4T6PRR6R.js.map +0 -1
- package/dist/chunk-746ELT2W.js.map +0 -1
- package/dist/chunk-FB2QGVI2.js +0 -2
- package/dist/chunk-FB2QGVI2.js.map +0 -1
- package/dist/chunk-GC23RRCI.js +0 -2
- package/dist/chunk-GC23RRCI.js.map +0 -1
- package/dist/chunk-KOIHMAAP.js +0 -2
- package/dist/chunk-L3C4AHZJ.js +0 -2
- package/dist/chunk-L3C4AHZJ.js.map +0 -1
- package/dist/chunk-N3EIN72T.js +0 -2
- package/dist/chunk-N3EIN72T.js.map +0 -1
- package/dist/chunk-OXCEJQFC.js +0 -2
- package/dist/chunk-OXCEJQFC.js.map +0 -1
- package/dist/chunk-R3LY6TV5.js +0 -2
- package/dist/chunk-R3LY6TV5.js.map +0 -1
- package/dist/chunk-SLMJEZJ7.js +0 -2
- package/dist/chunk-SLMJEZJ7.js.map +0 -1
- package/dist/chunk-WZAWPSKS.js +0 -2
- package/dist/chunk-WZAWPSKS.js.map +0 -1
- package/dist/chunk-ZIPHLBX4.js +0 -2
- package/dist/chunk-ZIPHLBX4.js.map +0 -1
- package/dist/chunk-ZY5U2UNT.js +0 -2
- package/dist/chunk-ZY5U2UNT.js.map +0 -1
- /package/dist/{chunk-DZ67OJVF.js.map → chunk-25U3HC77.js.map} +0 -0
- /package/dist/{chunk-PFT7KJ65.js.map → chunk-2FZWM6RV.js.map} +0 -0
- /package/dist/{chunk-RAHCZTQ3.js.map → chunk-2RBD2MJR.js.map} +0 -0
- /package/dist/{chunk-UFBTCHEI.js.map → chunk-3PTV5YSQ.js.map} +0 -0
- /package/dist/{chunk-HFI2MD3H.js.map → chunk-3WE5QB4I.js.map} +0 -0
- /package/dist/{chunk-SA74WAVS.js.map → chunk-6IKJCDQU.js.map} +0 -0
- /package/dist/{chunk-R64X3EJF.js.map → chunk-7JPHJ7SQ.js.map} +0 -0
- /package/dist/{chunk-UTBVLDKY.js.map → chunk-BSUVUGJG.js.map} +0 -0
- /package/dist/{chunk-QLNFHOLH.js.map → chunk-CCL5LNHC.js.map} +0 -0
- /package/dist/{chunk-LRNSFLHR.js.map → chunk-CEJ24TSW.js.map} +0 -0
- /package/dist/{chunk-WNTOQYRY.js.map → chunk-CHAHQRMM.js.map} +0 -0
- /package/dist/{chunk-BMDZJNJV.js.map → chunk-E5VV7WAZ.js.map} +0 -0
- /package/dist/{chunk-WLBRCGTG.js.map → chunk-FHQWEM5E.js.map} +0 -0
- /package/dist/{chunk-VLLLNIMN.js.map → chunk-FTCLM4RE.js.map} +0 -0
- /package/dist/{chunk-VM2DQCZO.js.map → chunk-GEHM46QD.js.map} +0 -0
- /package/dist/{chunk-SB3IYODL.js.map → chunk-GWJZTMF4.js.map} +0 -0
- /package/dist/{chunk-E3JFQ7PH.js.map → chunk-I4XJ764Y.js.map} +0 -0
- /package/dist/{chunk-BO6OKTIG.js.map → chunk-I5XGKYJR.js.map} +0 -0
- /package/dist/{chunk-R645TMO5.js.map → chunk-IJQDK7KG.js.map} +0 -0
- /package/dist/{chunk-L6FZRTSN.js.map → chunk-K2I7ZL3Z.js.map} +0 -0
- /package/dist/{chunk-7Y46DL2U.js.map → chunk-LA6ZJLTB.js.map} +0 -0
- /package/dist/{chunk-RINDVT6U.js.map → chunk-LAYZ6XET.js.map} +0 -0
- /package/dist/{chunk-NRW33IP5.js.map → chunk-M22INAKM.js.map} +0 -0
- /package/dist/{chunk-YXWBSRKS.js.map → chunk-MAVVGCUM.js.map} +0 -0
- /package/dist/{chunk-A2SWQS2N.js.map → chunk-MB6ZGX2O.js.map} +0 -0
- /package/dist/{chunk-XP7UEI56.js.map → chunk-NW5EBNKN.js.map} +0 -0
- /package/dist/{chunk-CVIWZYO3.js.map → chunk-PJY4TN7I.js.map} +0 -0
- /package/dist/{chunk-W55MUSAS.js.map → chunk-PXX2JSFI.js.map} +0 -0
- /package/dist/{chunk-GD5556B2.js.map → chunk-QFK2SD24.js.map} +0 -0
- /package/dist/{chunk-5NPET4ZO.js.map → chunk-QU4ZTSMT.js.map} +0 -0
- /package/dist/{chunk-AYLYOLVG.js.map → chunk-S3KOROEZ.js.map} +0 -0
- /package/dist/{chunk-FEHSJUZJ.js.map → chunk-SRYUZSIK.js.map} +0 -0
- /package/dist/{chunk-LDJT7TII.js.map → chunk-T2UJOEUA.js.map} +0 -0
- /package/dist/{chunk-TUFTB5UD.js.map → chunk-UYHBV7QJ.js.map} +0 -0
- /package/dist/{chunk-4ZGIL6OE.js.map → chunk-WHVPDECD.js.map} +0 -0
- /package/dist/{chunk-KOIHMAAP.js.map → chunk-XOA7GG4P.js.map} +0 -0
- /package/dist/{chunk-E6OBNWMU.js.map → chunk-ZJ7524CZ.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/lib/uploadConfig.ts"],"sourcesContent":["/**\n * As we aren't exposing the api/v1/upload-config to the Remote API this is a temporary solution to get the upload config.\n */\n\nexport const MAX_FILE_SIZE = 20 * 1024 * 1024; // 20MB\n\nexport const FILE_TYPES = {\n document: '.pdf, .doc, .docx, .xls, .xlsx, .csv',\n};\n"],"mappings":"AAMO,IAAMA,EAAa,CACxB,SAAU,sCACZ","names":["FILE_TYPES"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as F}from"./chunk-CCL5LNHC.js";import{b as u}from"./chunk-CFIJKJXD.js";import{f as l,g as p}from"./chunk-CNDSIADP.js";import{c as f}from"./chunk-PAQW5BFW.js";import{b as _}from"./chunk-TVZAFTPT.js";import{a as r}from"./chunk-P37U34EQ.js";import{useEffect as R}from"react";import{jsx as a}from"react/jsx-runtime";var w=["effective_date","reason_for_change","reason_for_change_description","additional_comments","additional_comments_toggle"];function x({onSubmit:b,onError:m,onSuccess:A}){let{formId:C,contractAmendment:{checkFieldUpdates:h,fields:s,onSubmit:S,stepState:g,initialValues:i,handleValidation:y}}=_(),V=u(y),e=l({resolver:V,defaultValues:g.values?.form||i,shouldUnregister:!0,mode:"onBlur"});R(()=>{let t=e?.watch(o=>{(Object.keys(e.formState.dirtyFields).length>0||e.formState.isDirty)&&h(o)});return()=>t?.unsubscribe()},[]);let v=r(async t=>{let o=!1;for(let[c,P]of Object.entries(t))if(!w.includes(c)&&i[c]!==P){o=!0;break}if(!o)return m?.({message:"no_changes_detected_contract_details"});let d=f(t,s,{isPartialValidation:!1});await b?.(d);let n=await S(t);n.error?m?.(n.error):await A?.(n.data)},"handleSubmit");return a(p,{...e,children:a("form",{id:C,"data-testid":"contract-amendment-form",onSubmit:e.handleSubmit(v),className:"space-y-4 RemoteFlows__ContractAmendmentForm",children:a(F,{fields:s})})})}r(x,"ContractAmendmentForm");export{x as a};
|
|
2
|
+
//# sourceMappingURL=chunk-WHVPDECD.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-RR55GUDT.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-XOA7GG4P.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as l}from"./chunk-ZE3YT3Q6.js";import{a as p}from"./chunk-ZSCKSEAA.js";import{b as i}from"./chunk-CDRDLO4A.js";import{b as m}from"./chunk-WVDTHFGS.js";import{b as a}from"./chunk-43WMZDDH.js";import{a as o}from"./chunk-P37U34EQ.js";import{Info as f}from"lucide-react";import{Fragment as d,jsx as e,jsxs as s}from"react/jsx-runtime";function B({contributionsTotal:u,currency:n,contributionsBreakdown:r}){return s("div",{children:[s("div",{className:"flex justify-between items-center mb-2",children:[e("h3",{className:"font-medium text-primary-foreground",children:"Employer Contributions"}),e("span",{className:"font-semibold text-lg",children:a(u,n)})]}),r?s(d,{children:[e(p,{className:"mb-3"}),e("div",{className:"space-y-3 pl-2",children:r.map((t,c)=>s("div",{className:"flex justify-between items-start text-sm",children:[s("div",{className:"flex items-start gap-2",children:[e("span",{children:t.name}),t.description&&e(l,{content:s(d,{children:[e("span",{children:t.description})," ",t.zendesk_article_url&&e(i,{zendeskId:Number(t.zendesk_article_id),children:"Learn more"})]}),children:s(m,{variant:"ghost",size:"icon",className:"h-4 w-4 p-0",children:[e(f,{className:"h-3 w-3 text-gray-400"}),e("span",{className:"sr-only",children:"Info"})]})})]}),e("span",{children:a(t.amount,n)})]},c))})]}):null]})}o(B,"CostCalculatorContributionsBreakdown");export{B as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZJ7524CZ.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as tt,b as et,c as nt,d as ot,e as rt}from"./chunk-BDPCUDJB.js";import{a as at,b as it}from"./chunk-U6RM2N4A.js";import{c as X,d as Z}from"./chunk-EHS4ERDW.js";import{a as $,f as K,h as Y,l as z}from"./chunk-AWJUS6JD.js";import{a as T}from"./chunk-2YTBWEC7.js";import{a as Q}from"./chunk-PJBAQZ6G.js";import{c as p,d as V}from"./chunk-PAQW5BFW.js";import{g as w}from"./chunk-43WMZDDH.js";import{a as u}from"./chunk-P37U34EQ.js";import{useEffect as Nt,useMemo as m,useRef as qt,useState as k}from"react";var At={select_country:null,basic_information:"employment_basic_information",contract_details:null,pricing_plan:null,contract_preview:null,review:null},xt={employment_basic_information:"basic_information"},te=u(({countryCode:ct,externalId:st,employmentId:f,skipSteps:lt,options:y,initialValues:i})=>{let[r,B]=k(ct||null),[a,mt]=k(f),[M,dt]=k(void 0),v=qt({select_country:{},basic_information:{},contract_details:{},contract_preview:{},pricing_plan:{}}),ut=lt?.includes("select_country")?it:at,{fieldValues:b,stepState:e,setFieldValues:pt,previousStep:ft,nextStep:yt,goToStep:D,setStepValues:J}=Q(ut),{data:c,isLoading:I,refetch:_t}=$(a),{status:_}=c||{},j=_&&X.includes(_),St=_&&!Z.includes(_),gt=m(()=>_==="invited"?"invited":"not_invited",[_]),N=Y(y),q=ot(),A=et(),{mutateAsync:bt}=T(N),{mutateAsync:Ct}=T(q),{mutateAsync:ht}=T(A);f&&c?.country?.code&&!r&&B(c.country.code);let{selectCountryForm:P,isLoading:Ft}=z({jsfModify:y?.jsfModify?.select_country,queryOptions:{enabled:e.currentStep.name==="select_country"}}),Et=At[e.currentStep.name]||"contractor_basic_information",Vt=xt[Et],wt=c?.[Vt]||{},vt=u(({form:t,options:o={},query:S={}})=>{let g=Object.keys(b).length>0?{...i,...e.values?.[e.currentStep.name],...b}:{...i,...wt};return K({countryCode:r,form:t,fieldValues:g,query:S,options:{...o,queryOptions:{enabled:o.queryOptions?.enabled??!0}}})},"useJSONSchema"),Pt=!!(r&&(e.currentStep.name==="basic_information"||f)),Ot=!!(r&&(e.currentStep.name==="contract_details"||f)),{data:s,isLoading:Tt}=vt({form:"contractor_basic_information",options:{jsfModify:y?.jsfModify?.basic_information,queryOptions:{enabled:Pt},jsonSchemaVersion:y?.jsonSchemaVersion}}),{data:l,isLoading:Mt}=rt({countryCode:r,fieldValues:b,options:{queryOptions:{enabled:Ot},jsfModify:y?.jsfModify?.contract_details,jsonSchemaVersion:y?.jsonSchemaVersion}}),{data:d}=tt({fieldValues:b,options:{queryOptions:{enabled:e.currentStep.name==="contract_preview"}}}),{data:Dt,isLoading:It}=nt({employmentId:a,contractDocumentId:M,options:{queryOptions:{enabled:!!M}}}),n=m(()=>({select_country:P?.fields||[],basic_information:s?.fields||[],pricing_plan:[],contract_details:l?.fields||[],contract_preview:d?.fields||[],review:[]}),[P?.fields,s?.fields,l?.fields,d?.fields]),jt={select_country:null,basic_information:s?.meta["x-jsf-fieldsets"],pricing_plan:null,contract_details:l?.meta["x-jsf-fieldsets"],contract_preview:null,review:null},{country:Rt,basic_information:x={},contract_details:O={}}=c||{},U=Rt?.code,C=m(()=>V(n.select_country,{country:r||U||""}),[n.select_country,r,U]),h=m(()=>{let t={...i,...x};return V(n.basic_information,t)},[n.basic_information,x,i]),F=m(()=>{let t={...i,...O};return V(n.contract_details,t)},[n.contract_details,O,i]),H=m(()=>{let t={...i,...O};return V(n.contract_preview,t)},[n.contract_preview,O,i]),Lt=m(()=>({select_country:C,basic_information:h,contract_details:F,contract_preview:H,pricing_plan:{}}),[C,h,F,H]),G=m(()=>!!(!!(f&&j&&e.currentStep.name!=="review")&&!I&&n.basic_information.length>0&&n.contract_details.length>0),[f,j,I,n.basic_information.length,n.contract_details.length,e.currentStep.name]);Nt(()=>{G&&(v.current={select_country:w(C,n.select_country),basic_information:w(h,n.basic_information),contract_details:w(F,n.contract_details),contract_preview:{},pricing_plan:{}},J({select_country:C,basic_information:h,contract_details:F,contract_preview:{},pricing_plan:{},review:{}}),D("review"))},[G,D,C,h,F,J,n.select_country,n.basic_information,n.contract_details]);let kt=u(t=>{D(t)},"goTo"),W=u(t=>P&&e.currentStep.name==="select_country"?t:s&&e.currentStep.name==="basic_information"?p(t,s?.fields,{isPartialValidation:!1}):l&&e.currentStep.name==="contract_details"?p(t,l?.fields,{isPartialValidation:!1}):d&&e.currentStep.name==="contract_preview"?p(t,d?.fields,{isPartialValidation:!1}):e.currentStep.name==="pricing_plan"?t:{},"parseFormValues");async function Bt(t){let o=e.currentStep.name;o in v.current&&(v.current[o]=w(t,n[o]));let S=W(t);switch(e.currentStep.name){case"select_country":return B(S.country),Promise.resolve({data:{countryCode:S.country}});case"basic_information":{let R=!a&&r,g=a&&r&&c?.country&&c?.country.code!==r;if(R||g){let L={basic_information:S,type:"contractor",country_code:r,external_id:st};try{let E=await bt(L),Jt=E.data?.data?.employment?.id;return mt(Jt),E}catch(E){throw console.error("Error creating onboarding:",E),E}}else if(a)return Promise.resolve({data:{employmentId:a}});return}case"contract_details":{let g=await Ct({employmentId:a,payload:{contract_document:S}}),L=g.data?.data?.contract_document?.id;return dt(L),g}case"contract_preview":return ht({employmentId:a,contractDocumentId:M,payload:{signature:t.signature}});case"pricing_plan":return Promise.resolve({data:{pricingPlan:t}});default:throw new Error("Invalid step state")}}return u(Bt,"onSubmit"),{isLoading:Ft||Tt||I||Mt||It,fieldValues:b,stepState:e,checkFieldUpdates:pt,back:ft,next:yt,goTo:kt,onSubmit:Bt,fields:n[e.currentStep.name],meta:{fields:v.current,fieldsets:jt[e.currentStep.name]},parseFormValues:W,handleValidation:u(t=>{if(e.currentStep.name==="select_country")return P.handleValidation(t);if(s&&e.currentStep.name==="basic_information"){let o=p(t,s?.fields,{isPartialValidation:!1});return s?.handleValidation(o)}if(l&&e.currentStep.name==="contract_details"){let o=p(t,l?.fields,{isPartialValidation:!1});return l?.handleValidation(o)}if(d&&e.currentStep.name==="contract_preview"){let o=p(t,d?.fields,{isPartialValidation:!1});return d?.handleValidation(o)}return e.currentStep.name==="pricing_plan"?{formErrors:{},yupError:null}:null},"handleValidation"),initialValues:Lt,employmentId:a,refetchEmployment:_t,isSubmitting:N.isPending||q.isPending||A.isPending,documentPreviewPdf:Dt,canInvite:St,isEmploymentReadOnly:j,invitedStatus:gt,employment:c}},"useContractorOnboarding");export{te as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZPBKMAKR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/flows/ContractorOnboarding/hooks.tsx"],"sourcesContent":["import {\n CreateContractDocument,\n Employment,\n EmploymentCreateParams,\n} from '@/src/client/types.gen';\nimport {\n getInitialValues,\n parseJSFToValidate,\n} from '@/src/components/form/utils';\nimport {\n useContractorOnboardingDetailsSchema,\n useCreateContractorContractDocument,\n useGetContractDocumentSignatureSchema,\n useGetShowContractDocument,\n useSignContractDocument,\n} from '@/src/flows/ContractorOnboarding/api';\nimport { ContractorOnboardingFlowProps } from '@/src/flows/ContractorOnboarding/types';\nimport {\n STEPS,\n STEPS_WITHOUT_SELECT_COUNTRY,\n} from '@/src/flows/ContractorOnboarding/utils';\nimport {\n useCountriesSchemaField,\n useCreateEmployment,\n useEmployment,\n useJSONSchemaForm,\n} from '@/src/flows/Onboarding/api';\nimport {\n disabledInviteButtonEmploymentStatus,\n reviewStepAllowedEmploymentStatus,\n} from '@/src/flows/Onboarding/utils';\nimport { FlowOptions, JSFModify, JSONSchemaFormType } from '@/src/flows/types';\nimport { Step, useStepState } from '@/src/flows/useStepState';\nimport { mutationToPromise } from '@/src/lib/mutations';\nimport { prettifyFormValues } from '@/src/lib/utils';\nimport { $TSFixMe, JSFFieldset, Meta } from '@/src/types/remoteFlows';\nimport { Fields } from '@remoteoss/json-schema-form';\nimport { useEffect, useMemo, useRef, useState } from 'react';\nimport { FieldValues } from 'react-hook-form';\n\ntype useContractorOnboardingProps = Omit<\n ContractorOnboardingFlowProps,\n 'render'\n>;\n\nconst stepToFormSchemaMap: Record<\n keyof typeof STEPS,\n JSONSchemaFormType | null\n> = {\n select_country: null,\n basic_information: 'employment_basic_information',\n contract_details: null,\n pricing_plan: null,\n contract_preview: null,\n review: null,\n};\n\nconst jsonSchemaToEmployment: Partial<\n Record<JSONSchemaFormType, keyof Employment>\n> = {\n employment_basic_information: 'basic_information',\n};\n\nexport const useContractorOnboarding = ({\n countryCode,\n externalId,\n employmentId,\n skipSteps,\n options,\n initialValues: onboardingInitialValues,\n}: useContractorOnboardingProps) => {\n const [internalCountryCode, setInternalCountryCode] = useState<string | null>(\n countryCode || null,\n );\n const [internalEmploymentId, setInternalEmploymentId] = useState<\n string | undefined\n >(employmentId);\n const [internalContractDocumentId, setInternalContractDocumentId] = useState<\n string | undefined\n >(undefined);\n const fieldsMetaRef = useRef<{\n select_country: Meta;\n basic_information: Meta;\n contract_details: Meta;\n contract_preview: Meta;\n pricing_plan: Meta;\n }>({\n select_country: {},\n basic_information: {},\n contract_details: {},\n contract_preview: {},\n pricing_plan: {},\n });\n\n const stepsToUse = skipSteps?.includes('select_country')\n ? STEPS_WITHOUT_SELECT_COUNTRY\n : STEPS;\n\n const {\n fieldValues,\n stepState,\n setFieldValues,\n previousStep,\n nextStep,\n goToStep,\n setStepValues,\n } = useStepState(\n stepsToUse as Record<keyof typeof STEPS, Step<keyof typeof STEPS>>,\n );\n\n const {\n data: employment,\n isLoading: isLoadingEmployment,\n refetch: refetchEmployment,\n } = useEmployment(internalEmploymentId);\n\n const { status: employmentStatus } = employment || {};\n\n const isEmploymentReadOnly =\n employmentStatus &&\n reviewStepAllowedEmploymentStatus.includes(employmentStatus);\n\n const canInvite =\n employmentStatus &&\n !disabledInviteButtonEmploymentStatus.includes(employmentStatus);\n\n const invitedStatus: 'invited' | 'not_invited' = useMemo(() => {\n const isInvited = employmentStatus === 'invited';\n\n return isInvited ? 'invited' : 'not_invited';\n }, [employmentStatus]);\n\n const createEmploymentMutation = useCreateEmployment(options);\n const createContractorContractDocumentMutation =\n useCreateContractorContractDocument();\n const signContractDocumentMutation = useSignContractDocument();\n\n const { mutateAsync: createEmploymentMutationAsync } = mutationToPromise(\n createEmploymentMutation,\n );\n\n const { mutateAsync: createContractorContractDocumentMutationAsync } =\n mutationToPromise(createContractorContractDocumentMutation);\n\n const { mutateAsync: signContractDocumentMutationAsync } = mutationToPromise(\n signContractDocumentMutation,\n );\n\n // if the employment is loaded, country code has not been set yet\n // we set the internal country code with the employment country code\n if (employmentId && employment?.country?.code && !internalCountryCode) {\n setInternalCountryCode(employment.country.code);\n }\n\n const { selectCountryForm, isLoading: isLoadingCountries } =\n useCountriesSchemaField({\n jsfModify: options?.jsfModify?.select_country,\n queryOptions: {\n enabled: stepState.currentStep.name === 'select_country',\n },\n });\n\n const formType =\n stepToFormSchemaMap[stepState.currentStep.name] ||\n 'contractor_basic_information';\n const employmentKey = jsonSchemaToEmployment[formType] as keyof Employment;\n const serverEmploymentData = (employment?.[employmentKey] || {}) as Record<\n string,\n unknown\n >;\n\n const useJSONSchema = ({\n form,\n options: jsonSchemaOptions = {},\n query = {},\n }: {\n form: JSONSchemaFormType;\n options?: {\n jsfModify?: JSFModify;\n queryOptions?: { enabled?: boolean };\n jsonSchemaVersion?: FlowOptions['jsonSchemaVersion'];\n };\n query?: Record<string, string>;\n }) => {\n const hasUserEnteredAnyValues = Object.keys(fieldValues).length > 0;\n // when you write on the fields, the values are stored in the fieldValues state\n // when values are stored in the stepState is when the user has navigated to the step\n // and then we have the values from the server and the onboardingInitialValues that the user can inject,\n const mergedFormValues = hasUserEnteredAnyValues\n ? {\n ...onboardingInitialValues,\n ...stepState.values?.[stepState.currentStep.name], // Restore values for the current step\n ...fieldValues,\n }\n : {\n ...onboardingInitialValues,\n ...serverEmploymentData,\n };\n\n return useJSONSchemaForm({\n countryCode: internalCountryCode as string,\n form: form,\n fieldValues: mergedFormValues,\n query,\n options: {\n ...jsonSchemaOptions,\n queryOptions: {\n enabled: jsonSchemaOptions.queryOptions?.enabled ?? true,\n },\n },\n });\n };\n\n const isBasicInformationDetailsEnabled = Boolean(\n internalCountryCode &&\n (stepState.currentStep.name === 'basic_information' ||\n Boolean(employmentId)),\n );\n\n const isContractorOnboardingDetailsEnabled = Boolean(\n internalCountryCode &&\n (stepState.currentStep.name === 'contract_details' ||\n Boolean(employmentId)),\n );\n\n const {\n data: basicInformationForm,\n isLoading: isLoadingBasicInformationForm,\n } = useJSONSchema({\n form: 'contractor_basic_information',\n options: {\n jsfModify: options?.jsfModify?.basic_information,\n queryOptions: {\n enabled: isBasicInformationDetailsEnabled,\n },\n jsonSchemaVersion: options?.jsonSchemaVersion,\n },\n });\n\n const {\n data: contractorOnboardingDetailsForm,\n isLoading: isLoadingContractorOnboardingDetailsForm,\n } = useContractorOnboardingDetailsSchema({\n countryCode: internalCountryCode as string,\n fieldValues: fieldValues,\n options: {\n queryOptions: {\n enabled: isContractorOnboardingDetailsEnabled,\n },\n jsfModify: options?.jsfModify?.contract_details,\n jsonSchemaVersion: options?.jsonSchemaVersion,\n },\n });\n\n const { data: signatureSchemaForm } = useGetContractDocumentSignatureSchema({\n fieldValues: fieldValues,\n options: {\n queryOptions: {\n enabled: stepState.currentStep.name === 'contract_preview',\n },\n },\n });\n const { data: documentPreviewPdf, isLoading: isLoadingDocumentPreviewForm } =\n useGetShowContractDocument({\n employmentId: internalEmploymentId as string,\n contractDocumentId: internalContractDocumentId as string,\n options: {\n queryOptions: {\n enabled: Boolean(internalContractDocumentId),\n },\n },\n });\n\n const stepFields: Record<keyof typeof STEPS, Fields> = useMemo(\n () => ({\n select_country: selectCountryForm?.fields || [],\n basic_information: basicInformationForm?.fields || [],\n pricing_plan: [],\n contract_details: contractorOnboardingDetailsForm?.fields || [],\n contract_preview: signatureSchemaForm?.fields || [],\n review: [],\n }),\n [\n selectCountryForm?.fields,\n basicInformationForm?.fields,\n contractorOnboardingDetailsForm?.fields,\n signatureSchemaForm?.fields,\n ],\n );\n\n const stepFieldsWithFlatFieldsets: Record<\n keyof typeof STEPS,\n JSFFieldset | null | undefined\n > = {\n select_country: null,\n basic_information: basicInformationForm?.meta['x-jsf-fieldsets'],\n pricing_plan: null,\n contract_details: contractorOnboardingDetailsForm?.meta['x-jsf-fieldsets'],\n contract_preview: null,\n review: null,\n };\n\n const {\n country,\n basic_information: employmentBasicInformation = {},\n contract_details: employmentContractDetails = {},\n } = employment || {};\n\n const employmentCountryCode = country?.code;\n\n const selectCountryInitialValues = useMemo(\n () =>\n getInitialValues(stepFields.select_country, {\n country: internalCountryCode || employmentCountryCode || '',\n }),\n [stepFields.select_country, internalCountryCode, employmentCountryCode],\n );\n\n const basicInformationInitialValues = useMemo(() => {\n const initialValues = {\n ...onboardingInitialValues,\n ...employmentBasicInformation,\n };\n\n return getInitialValues(stepFields.basic_information, initialValues);\n }, [\n stepFields.basic_information,\n employmentBasicInformation,\n onboardingInitialValues,\n ]);\n\n const contractDetailsInitialValues = useMemo(() => {\n const initialValues = {\n ...onboardingInitialValues,\n ...employmentContractDetails,\n };\n\n return getInitialValues(stepFields.contract_details, initialValues);\n }, [\n stepFields.contract_details,\n employmentContractDetails,\n onboardingInitialValues,\n ]);\n\n const contractPreviewInitialValues = useMemo(() => {\n // TODO: TBD not sure if contract preview needs to be populated with anything\n const initialValues = {\n ...onboardingInitialValues,\n ...employmentContractDetails,\n };\n\n return getInitialValues(stepFields.contract_preview, initialValues);\n }, [\n stepFields.contract_preview,\n employmentContractDetails,\n onboardingInitialValues,\n ]);\n\n const initialValues = useMemo(() => {\n return {\n select_country: selectCountryInitialValues,\n basic_information: basicInformationInitialValues,\n contract_details: contractDetailsInitialValues,\n contract_preview: contractPreviewInitialValues,\n pricing_plan: {},\n };\n }, [\n selectCountryInitialValues,\n basicInformationInitialValues,\n contractDetailsInitialValues,\n contractPreviewInitialValues,\n ]);\n\n const isNavigatingToReview = useMemo(() => {\n const shouldHandleReadOnlyEmployment = Boolean(\n employmentId &&\n isEmploymentReadOnly &&\n stepState.currentStep.name !== 'review',\n );\n\n return Boolean(\n shouldHandleReadOnlyEmployment &&\n !isLoadingEmployment &&\n stepFields.basic_information.length > 0 &&\n stepFields.contract_details.length > 0,\n );\n }, [\n employmentId,\n isEmploymentReadOnly,\n isLoadingEmployment,\n stepFields.basic_information.length,\n stepFields.contract_details.length,\n stepState.currentStep.name,\n ]);\n\n useEffect(() => {\n if (isNavigatingToReview) {\n fieldsMetaRef.current = {\n select_country: prettifyFormValues(\n selectCountryInitialValues,\n stepFields.select_country,\n ),\n basic_information: prettifyFormValues(\n basicInformationInitialValues,\n stepFields.basic_information,\n ),\n contract_details: prettifyFormValues(\n contractDetailsInitialValues,\n stepFields.contract_details,\n ),\n // TODO: TBD\n contract_preview: {},\n // TODO: TBD\n pricing_plan: {},\n };\n\n setStepValues({\n select_country: selectCountryInitialValues,\n basic_information: basicInformationInitialValues,\n contract_details: contractDetailsInitialValues,\n contract_preview: {},\n pricing_plan: {},\n review: {},\n });\n goToStep('review');\n }\n }, [\n isNavigatingToReview,\n goToStep,\n selectCountryInitialValues,\n basicInformationInitialValues,\n contractDetailsInitialValues,\n setStepValues,\n stepFields.select_country,\n stepFields.basic_information,\n stepFields.contract_details,\n ]);\n\n const goTo = (step: keyof typeof STEPS) => {\n goToStep(step);\n };\n\n const parseFormValues = (values: FieldValues) => {\n if (selectCountryForm && stepState.currentStep.name === 'select_country') {\n return values;\n }\n\n if (\n basicInformationForm &&\n stepState.currentStep.name === 'basic_information'\n ) {\n return parseJSFToValidate(values, basicInformationForm?.fields, {\n isPartialValidation: false,\n });\n }\n\n if (\n contractorOnboardingDetailsForm &&\n stepState.currentStep.name === 'contract_details'\n ) {\n return parseJSFToValidate(\n values,\n contractorOnboardingDetailsForm?.fields,\n {\n isPartialValidation: false,\n },\n );\n }\n\n if (\n signatureSchemaForm &&\n stepState.currentStep.name === 'contract_preview'\n ) {\n return parseJSFToValidate(values, signatureSchemaForm?.fields, {\n isPartialValidation: false,\n });\n }\n\n if (stepState.currentStep.name === 'pricing_plan') {\n // TODO: TBD\n return values;\n }\n\n return {};\n };\n\n async function onSubmit(values: FieldValues) {\n const currentStepName = stepState.currentStep.name;\n if (currentStepName in fieldsMetaRef.current) {\n fieldsMetaRef.current[\n currentStepName as keyof typeof fieldsMetaRef.current\n ] = prettifyFormValues(values, stepFields[currentStepName]);\n }\n const parsedValues = parseFormValues(values);\n switch (stepState.currentStep.name) {\n case 'select_country': {\n setInternalCountryCode(parsedValues.country);\n return Promise.resolve({ data: { countryCode: parsedValues.country } });\n }\n case 'basic_information': {\n const isEmploymentNotLoaded =\n !internalEmploymentId && internalCountryCode;\n const hasChangedCountry =\n internalEmploymentId &&\n internalCountryCode &&\n employment?.country &&\n employment?.country.code !== internalCountryCode;\n\n if (isEmploymentNotLoaded || hasChangedCountry) {\n const payload: EmploymentCreateParams = {\n basic_information: parsedValues,\n type: 'contractor',\n country_code: internalCountryCode,\n external_id: externalId,\n };\n try {\n const response = await createEmploymentMutationAsync(payload);\n // @ts-expect-error the types from the response are not matching\n const employmentId = response.data?.data?.employment?.id;\n setInternalEmploymentId(employmentId);\n\n return response;\n } catch (error) {\n console.error('Error creating onboarding:', error);\n throw error;\n }\n } else if (internalEmploymentId) {\n // TODO: Provisional it seems you cannot update a contractor employment\n return Promise.resolve({\n data: { employmentId: internalEmploymentId },\n });\n }\n\n return;\n }\n case 'contract_details': {\n const payload: CreateContractDocument = {\n contract_document: parsedValues,\n };\n const response: $TSFixMe =\n await createContractorContractDocumentMutationAsync({\n employmentId: internalEmploymentId as string,\n payload,\n });\n\n const contractDocumentId = response.data?.data?.contract_document?.id;\n setInternalContractDocumentId(contractDocumentId);\n return response;\n }\n\n case 'contract_preview': {\n return signContractDocumentMutationAsync({\n employmentId: internalEmploymentId as string,\n contractDocumentId: internalContractDocumentId as string,\n payload: {\n signature: values.signature,\n },\n });\n }\n\n case 'pricing_plan': {\n // TODO: TBD\n return Promise.resolve({ data: { pricingPlan: values } });\n }\n\n default: {\n throw new Error('Invalid step state');\n }\n }\n }\n\n const isLoading =\n isLoadingCountries ||\n isLoadingBasicInformationForm ||\n isLoadingEmployment ||\n isLoadingContractorOnboardingDetailsForm ||\n isLoadingDocumentPreviewForm;\n\n return {\n /**\n * Loading state indicating if the flow is loading data\n */\n isLoading,\n\n /**\n * Current state of the form fields for the current step.\n */\n fieldValues,\n\n /**\n * Current step state containing the current step and total number of steps\n */\n stepState,\n\n /**\n * Function to update the current form field values\n * @param values - New form values to set\n */\n checkFieldUpdates: setFieldValues,\n\n /**\n * Function to handle going back to the previous step\n * @returns {void}\n */\n back: previousStep,\n\n /**\n * Function to handle going to the next step\n * @returns {void}\n */\n next: nextStep,\n\n /**\n * Function to handle going to a specific step\n * @param step The step to go to.\n * @returns {void}\n */\n goTo: goTo,\n\n /**\n * Function to handle form submission\n * @param values - Form values to submit\n * @returns Promise resolving to the mutation result\n */\n onSubmit,\n\n /**\n * Array of form fields from the onboarding schema\n */\n fields: stepFields[stepState.currentStep.name],\n\n /**\n * Fields metadata for each step\n */\n meta: {\n fields: fieldsMetaRef.current,\n fieldsets: stepFieldsWithFlatFieldsets[stepState.currentStep.name],\n },\n\n /**\n * Function to parse form values before submission\n * @param values - Form values to parse\n * @returns Parsed form values\n */\n parseFormValues,\n\n /**\n * Function to validate form values against the onboarding schema\n * @param values - Form values to validate\n * @returns Validation result or null if no schema is available\n */\n handleValidation: (values: FieldValues) => {\n if (stepState.currentStep.name === 'select_country') {\n return selectCountryForm.handleValidation(values);\n }\n\n if (\n basicInformationForm &&\n stepState.currentStep.name === 'basic_information'\n ) {\n const parsedValues = parseJSFToValidate(\n values,\n basicInformationForm?.fields,\n { isPartialValidation: false },\n );\n return basicInformationForm?.handleValidation(parsedValues);\n }\n\n if (\n contractorOnboardingDetailsForm &&\n stepState.currentStep.name === 'contract_details'\n ) {\n const parsedValues = parseJSFToValidate(\n values,\n contractorOnboardingDetailsForm?.fields,\n { isPartialValidation: false },\n );\n return contractorOnboardingDetailsForm?.handleValidation(parsedValues);\n }\n\n if (\n signatureSchemaForm &&\n stepState.currentStep.name === 'contract_preview'\n ) {\n const parsedValues = parseJSFToValidate(\n values,\n signatureSchemaForm?.fields,\n { isPartialValidation: false },\n );\n return signatureSchemaForm?.handleValidation(parsedValues);\n }\n\n if (stepState.currentStep.name === 'pricing_plan') {\n // TODO: TBD\n return {\n formErrors: {},\n yupError: null,\n };\n }\n\n return null;\n },\n\n /**\n * Initial form values\n */\n initialValues,\n\n /**\n * Employment id\n */\n employmentId: internalEmploymentId,\n\n /**\n * Function to refetch the employment data\n * @returns {void}\n */\n refetchEmployment: refetchEmployment,\n\n /**\n * Loading state indicating if the onboarding mutation is in progress\n */\n isSubmitting:\n createEmploymentMutation.isPending ||\n createContractorContractDocumentMutation.isPending ||\n signContractDocumentMutation.isPending,\n\n /**\n * Document preview PDF data\n */\n documentPreviewPdf,\n\n /**\n * let's the user know if the company can invite employees\n * @returns {boolean}\n */\n canInvite,\n\n /**\n * let's the user know that the employment cannot be edited, happens when employment.status is invited\n * @returns {boolean}\n */\n isEmploymentReadOnly,\n /**\n * let's the user know if the employment is invited or not\n * @returns {'invited' | 'not_invited'}\n */\n invitedStatus,\n\n /**\n * Employment data\n * @returns {Employment}\n */\n employment,\n };\n};\n"],"mappings":"qbAqCA,OAAS,aAAAA,GAAW,WAAAC,EAAS,UAAAC,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E,oBAAqB,EAAM,CAC/B,EACA,OAAOA,GAAiC,iBAAiB8B,CAAY,CACvE,CAEA,GACE3B,GACA/C,EAAU,YAAY,OAAS,mBAC/B,CACA,IAAM0E,EAAeH,EACnBD,EACAvB,GAAqB,OACrB,CAAE,oBAAqB,EAAM,CAC/B,EACA,OAAOA,GAAqB,iBAAiB2B,CAAY,CAC3D,CAEA,OAAI1E,EAAU,YAAY,OAAS,eAE1B,CACL,WAAY,CAAC,EACb,SAAU,IACZ,EAGK,IACT,EAlDkB,oBAuDlB,cAAA6D,GAKA,aAAcvE,EAMd,kBAAmBmB,GAKnB,aACES,EAAyB,WACzBE,EAAyC,WACzCE,EAA6B,UAK/B,mBAAA2B,GAMA,UAAAnC,GAMA,qBAAAF,EAKA,cAAAI,GAMA,WAAAT,CACF,CACF,EAprBuC","names":["useEffect","useMemo","useRef","useState","stepToFormSchemaMap","jsonSchemaToEmployment","useContractorOnboarding","__name","countryCode","externalId","employmentId","skipSteps","options","onboardingInitialValues","internalCountryCode","setInternalCountryCode","useState","internalEmploymentId","setInternalEmploymentId","internalContractDocumentId","setInternalContractDocumentId","fieldsMetaRef","useRef","stepsToUse","STEPS_WITHOUT_SELECT_COUNTRY","STEPS","fieldValues","stepState","setFieldValues","previousStep","nextStep","goToStep","setStepValues","useStepState","employment","isLoadingEmployment","refetchEmployment","useEmployment","employmentStatus","isEmploymentReadOnly","reviewStepAllowedEmploymentStatus","canInvite","disabledInviteButtonEmploymentStatus","invitedStatus","useMemo","createEmploymentMutation","useCreateEmployment","createContractorContractDocumentMutation","useCreateContractorContractDocument","signContractDocumentMutation","useSignContractDocument","createEmploymentMutationAsync","mutationToPromise","createContractorContractDocumentMutationAsync","signContractDocumentMutationAsync","selectCountryForm","isLoadingCountries","useCountriesSchemaField","formType","employmentKey","serverEmploymentData","useJSONSchema","form","jsonSchemaOptions","query","mergedFormValues","useJSONSchemaForm","isBasicInformationDetailsEnabled","isContractorOnboardingDetailsEnabled","basicInformationForm","isLoadingBasicInformationForm","contractorOnboardingDetailsForm","isLoadingContractorOnboardingDetailsForm","useContractorOnboardingDetailsSchema","signatureSchemaForm","useGetContractDocumentSignatureSchema","documentPreviewPdf","isLoadingDocumentPreviewForm","useGetShowContractDocument","stepFields","stepFieldsWithFlatFieldsets","country","employmentBasicInformation","employmentContractDetails","employmentCountryCode","selectCountryInitialValues","getInitialValues","basicInformationInitialValues","initialValues","contractDetailsInitialValues","contractPreviewInitialValues","isNavigatingToReview","useEffect","prettifyFormValues","goTo","step","parseFormValues","values","parseJSFToValidate","onSubmit","currentStepName","parsedValues","isEmploymentNotLoaded","hasChangedCountry","payload","response","error","contractDocumentId"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as e}from"./chunk-VDRNNOVA.js";var n={data:{version:7,schema:{additionalProperties:!1,allOf:[{if:{properties:{will_challenge_termination:{const:"yes"}},required:["will_challenge_termination"]},then:{properties:{will_challenge_termination_description:{type:"string"}},required:["will_challenge_termination_description"]},else:{properties:{will_challenge_termination_description:!1}}}],properties:{termination_reason:{title:"Termination reason",description:"Make sure you choose an accurate termination reason to avoid unfair or unlawful dismissal claims.",type:"string",oneOf:[{const:"gross_misconduct",title:"Gross misconduct"},{const:"performance",title:"Performance"},{const:"workforce_reduction",title:"Workforce Reduction"},{const:"values",title:"Values"},{const:"compliance_issue",title:"Compliance issue"},{const:"incapacity_to_perform_inherent_duties",title:"Incapacity To perform inherent duties"},{const:"mutual_agreement",title:"Mutual agreement"},{const:"cancellation_before_start_date",title:"Decision to cancel hiring before the employee starts"},{const:"job_abandonment",title:"Job abandonment"},{const:"dissatisfaction_with_remote_service",title:"Dissatisfaction with EOR service"},{const:"end_of_fixed_term_contract_compliance_issue",title:"End of fixed-term contract"},{const:"other",title:"Other"}],"x-jsf-presentation":{inputType:"select"}},reason_description:{description:"",maxLength:1e3,title:"Termination reason details",type:"string","x-jsf-presentation":{inputType:"textarea"}},additional_comments:{description:"",maxLength:1e3,title:"Additional details regarding this termination process.",type:"string","x-jsf-presentation":{inputType:"textarea"}},termination_reason_files:{description:"Please upload any supporting documents regarding the termination reason.",title:"Termination reason files",type:"string","x-jsf-presentation":{inputType:"file",accept:e.document,multiple:!0,maxSize:20971520}},risk_assesment_info:{description:"",title:"Risk assessment info",type:"null","x-jsf-presentation":{inputType:"hidden"}},risk_assessment_reasons:{description:"",title:"This employee is...",type:"array",items:{anyOf:[{const:"sick_leave",title:"Currently on or recently returned from sick leave"},{const:"family_leave",title:"Currently on or recently returned from maternity, paternity, or other family leave"},{const:"pregnant_or_breastfeeding",title:"Pregnant or breastfeeding"},{const:"requested_medical_or_family_leave",title:"Requested medical or family leave"},{const:"disabled_or_health_condition",title:"Disabled or has a health condition"},{const:"member_of_union_or_works_council",title:"A member of a union or works council"},{const:"caring_responsibilities",title:"Caring responsibilities"},{const:"reported_concerns_with_workplace",title:"Reported any wrongdoing; raised any allegations of discrimination, harassment, retaliation, etc.; or asserted their employment rights or raised complaints about their working conditions"},{const:"none_of_these",title:"To the best of my knowledge, I am not aware of any of these"}]},"x-jsf-presentation":{inputType:"checkbox",direction:"column"}},will_challenge_termination:{description:"",oneOf:[{const:"yes",description:"",title:"Yes"},{const:"no",description:"",title:"No"}],title:"Do you consider it is likely that the employee will challenge their termination?",type:"string","x-jsf-presentation":{direction:"column",inputType:"radio"}},will_challenge_termination_description:{description:"",maxLength:1e3,title:"Please explain how the employee will challenge their termination",type:["string","null"],"x-jsf-presentation":{inputType:"textarea"}},proposed_termination_date_info:{description:"",title:"Proposed termination date info",type:"null","x-jsf-presentation":{inputType:"hidden"}},proposed_termination_date:{description:"Please note that we cannot commit to a termination date until we conduct a full review of the information you submit.",format:"date",maxLength:255,title:"Proposed termination date",type:"string","x-jsf-presentation":{inputType:"date"}}},required:["termination_reason","reason_description","risk_assessment_reasons","will_challenge_termination","proposed_termination_date"],type:"object","x-jsf-order":["termination_reason","reason_description","additional_comments","termination_reason_files","risk_assesment_info","risk_assessment_reasons","will_challenge_termination","will_challenge_termination_description","proposed_termination_date_info","proposed_termination_date"]}}};export{n as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZXGAFQXW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/flows/Termination/json-schemas/terminationDetails.ts"],"sourcesContent":["import { FILE_TYPES, MAX_FILE_SIZE } from '@/src/lib/uploadConfig';\n\nexport const terminationDetailsSchema = {\n data: {\n version: 7,\n schema: {\n additionalProperties: false,\n allOf: [\n {\n if: {\n properties: {\n will_challenge_termination: {\n const: 'yes',\n },\n },\n required: ['will_challenge_termination'],\n },\n then: {\n properties: {\n will_challenge_termination_description: {\n type: 'string',\n },\n },\n required: ['will_challenge_termination_description'],\n },\n else: {\n properties: {\n will_challenge_termination_description: false,\n },\n },\n },\n ],\n properties: {\n termination_reason: {\n title: 'Termination reason',\n description:\n 'Make sure you choose an accurate termination reason to avoid unfair or unlawful dismissal claims.',\n type: 'string',\n oneOf: [\n {\n const: 'gross_misconduct',\n title: 'Gross misconduct',\n },\n {\n const: 'performance',\n title: 'Performance',\n },\n {\n const: 'workforce_reduction',\n title: 'Workforce Reduction',\n },\n {\n const: 'values',\n title: 'Values',\n },\n {\n const: 'compliance_issue',\n title: 'Compliance issue',\n },\n {\n const: 'incapacity_to_perform_inherent_duties',\n title: 'Incapacity To perform inherent duties',\n },\n {\n const: 'mutual_agreement',\n title: 'Mutual agreement',\n },\n {\n const: 'cancellation_before_start_date',\n title: 'Decision to cancel hiring before the employee starts',\n },\n {\n const: 'job_abandonment',\n title: 'Job abandonment',\n },\n {\n const: 'dissatisfaction_with_remote_service',\n title: 'Dissatisfaction with EOR service',\n },\n {\n const: 'end_of_fixed_term_contract_compliance_issue',\n title: 'End of fixed-term contract',\n },\n {\n const: 'other',\n title: 'Other',\n },\n ],\n 'x-jsf-presentation': {\n inputType: 'select',\n },\n },\n reason_description: {\n description: '',\n maxLength: 1000,\n title: 'Termination reason details',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'textarea',\n },\n },\n additional_comments: {\n description: '',\n maxLength: 1000,\n title: 'Additional details regarding this termination process.',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'textarea',\n },\n },\n termination_reason_files: {\n description:\n 'Please upload any supporting documents regarding the termination reason.',\n title: 'Termination reason files',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'file',\n accept: FILE_TYPES.document,\n multiple: true,\n maxSize: MAX_FILE_SIZE, // maxFileSize doesn't seem to work for some reason, found that this was fixed in @remoteoss/json-schema-form v1\n },\n },\n risk_assesment_info: {\n description: '',\n title: 'Risk assessment info',\n type: 'null',\n 'x-jsf-presentation': {\n inputType: 'hidden',\n },\n },\n risk_assessment_reasons: {\n description: '',\n title: 'This employee is...',\n type: 'array',\n items: {\n anyOf: [\n {\n const: 'sick_leave',\n title: 'Currently on or recently returned from sick leave',\n },\n {\n const: 'family_leave',\n title:\n 'Currently on or recently returned from maternity, paternity, or other family leave',\n },\n {\n const: 'pregnant_or_breastfeeding',\n title: 'Pregnant or breastfeeding',\n },\n {\n const: 'requested_medical_or_family_leave',\n title: 'Requested medical or family leave',\n },\n {\n const: 'disabled_or_health_condition',\n title: 'Disabled or has a health condition',\n },\n {\n const: 'member_of_union_or_works_council',\n title: 'A member of a union or works council',\n },\n {\n const: 'caring_responsibilities',\n title: 'Caring responsibilities',\n },\n {\n const: 'reported_concerns_with_workplace',\n title:\n 'Reported any wrongdoing; raised any allegations of discrimination, harassment, retaliation, etc.; or asserted their employment rights or raised complaints about their working conditions',\n },\n {\n const: 'none_of_these',\n title:\n 'To the best of my knowledge, I am not aware of any of these',\n },\n ],\n },\n 'x-jsf-presentation': {\n inputType: 'checkbox',\n direction: 'column',\n },\n },\n will_challenge_termination: {\n description: '',\n oneOf: [\n {\n const: 'yes',\n description: '',\n title: 'Yes',\n },\n {\n const: 'no',\n description: '',\n title: 'No',\n },\n ],\n title:\n 'Do you consider it is likely that the employee will challenge their termination?',\n type: 'string',\n 'x-jsf-presentation': {\n direction: 'column',\n inputType: 'radio',\n },\n },\n will_challenge_termination_description: {\n description: '',\n maxLength: 1000,\n title:\n 'Please explain how the employee will challenge their termination',\n type: ['string', 'null'],\n 'x-jsf-presentation': {\n inputType: 'textarea',\n },\n },\n proposed_termination_date_info: {\n description: '',\n title: 'Proposed termination date info',\n type: 'null',\n 'x-jsf-presentation': {\n inputType: 'hidden',\n },\n },\n proposed_termination_date: {\n description:\n 'Please note that we cannot commit to a termination date until we conduct a full review of the information you submit.',\n format: 'date',\n maxLength: 255,\n title: 'Proposed termination date',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'date',\n },\n },\n },\n required: [\n 'termination_reason',\n 'reason_description',\n 'risk_assessment_reasons',\n 'will_challenge_termination',\n 'proposed_termination_date',\n ],\n type: 'object',\n 'x-jsf-order': [\n 'termination_reason',\n 'reason_description',\n 'additional_comments',\n 'termination_reason_files',\n 'risk_assesment_info',\n 'risk_assessment_reasons',\n 'will_challenge_termination',\n 'will_challenge_termination_description',\n 'proposed_termination_date_info',\n 'proposed_termination_date',\n ],\n },\n },\n};\n"],"mappings":"wCAEO,IAAMA,EAA2B,CACtC,KAAM,CACJ,QAAS,EACT,OAAQ,CACN,qBAAsB,GACtB,MAAO,CACL,CACE,GAAI,CACF,WAAY,CACV,2BAA4B,CAC1B,MAAO,KACT,CACF,EACA,SAAU,CAAC,4BAA4B,CACzC,EACA,KAAM,CACJ,WAAY,CACV,uCAAwC,CACtC,KAAM,QACR,CACF,EACA,SAAU,CAAC,wCAAwC,CACrD,EACA,KAAM,CACJ,WAAY,CACV,uCAAwC,EAC1C,CACF,CACF,CACF,EACA,WAAY,CACV,mBAAoB,CAClB,MAAO,qBACP,YACE,oGACF,KAAM,SACN,MAAO,CACL,CACE,MAAO,mBACP,MAAO,kBACT,EACA,CACE,MAAO,cACP,MAAO,aACT,EACA,CACE,MAAO,sBACP,MAAO,qBACT,EACA,CACE,MAAO,SACP,MAAO,QACT,EACA,CACE,MAAO,mBACP,MAAO,kBACT,EACA,CACE,MAAO,wCACP,MAAO,uCACT,EACA,CACE,MAAO,mBACP,MAAO,kBACT,EACA,CACE,MAAO,iCACP,MAAO,sDACT,EACA,CACE,MAAO,kBACP,MAAO,iBACT,EACA,CACE,MAAO,sCACP,MAAO,kCACT,EACA,CACE,MAAO,8CACP,MAAO,4BACT,EACA,CACE,MAAO,QACP,MAAO,OACT,CACF,EACA,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,mBAAoB,CAClB,YAAa,GACb,UAAW,IACX,MAAO,6BACP,KAAM,SACN,qBAAsB,CACpB,UAAW,UACb,CACF,EACA,oBAAqB,CACnB,YAAa,GACb,UAAW,IACX,MAAO,yDACP,KAAM,SACN,qBAAsB,CACpB,UAAW,UACb,CACF,EACA,yBAA0B,CACxB,YACE,2EACF,MAAO,2BACP,KAAM,SACN,qBAAsB,CACpB,UAAW,OACX,OAAQC,EAAW,SACnB,SAAU,GACV,QAAS,QACX,CACF,EACA,oBAAqB,CACnB,YAAa,GACb,MAAO,uBACP,KAAM,OACN,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,wBAAyB,CACvB,YAAa,GACb,MAAO,sBACP,KAAM,QACN,MAAO,CACL,MAAO,CACL,CACE,MAAO,aACP,MAAO,mDACT,EACA,CACE,MAAO,eACP,MACE,oFACJ,EACA,CACE,MAAO,4BACP,MAAO,2BACT,EACA,CACE,MAAO,oCACP,MAAO,mCACT,EACA,CACE,MAAO,+BACP,MAAO,oCACT,EACA,CACE,MAAO,mCACP,MAAO,sCACT,EACA,CACE,MAAO,0BACP,MAAO,yBACT,EACA,CACE,MAAO,mCACP,MACE,2LACJ,EACA,CACE,MAAO,gBACP,MACE,6DACJ,CACF,CACF,EACA,qBAAsB,CACpB,UAAW,WACX,UAAW,QACb,CACF,EACA,2BAA4B,CAC1B,YAAa,GACb,MAAO,CACL,CACE,MAAO,MACP,YAAa,GACb,MAAO,KACT,EACA,CACE,MAAO,KACP,YAAa,GACb,MAAO,IACT,CACF,EACA,MACE,mFACF,KAAM,SACN,qBAAsB,CACpB,UAAW,SACX,UAAW,OACb,CACF,EACA,uCAAwC,CACtC,YAAa,GACb,UAAW,IACX,MACE,mEACF,KAAM,CAAC,SAAU,MAAM,EACvB,qBAAsB,CACpB,UAAW,UACb,CACF,EACA,+BAAgC,CAC9B,YAAa,GACb,MAAO,iCACP,KAAM,OACN,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,0BAA2B,CACzB,YACE,wHACF,OAAQ,OACR,UAAW,IACX,MAAO,4BACP,KAAM,SACN,qBAAsB,CACpB,UAAW,MACb,CACF,CACF,EACA,SAAU,CACR,qBACA,qBACA,0BACA,6BACA,2BACF,EACA,KAAM,SACN,cAAe,CACb,qBACA,qBACA,sBACA,2BACA,sBACA,0BACA,6BACA,yCACA,iCACA,2BACF,CACF,CACF,CACF","names":["terminationDetailsSchema","FILE_TYPES"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { d as PostCreateContractAmendmentError, c as ContractAmendmentResponse } from '../../types.gen-
|
|
2
|
+
import { d as PostCreateContractAmendmentError, c as ContractAmendmentResponse } from '../../types.gen-B1wPsyg7.js';
|
|
3
3
|
import { FieldValues } from 'react-hook-form';
|
|
4
4
|
|
|
5
5
|
type ContractAmendmentConfirmationFormProps = {
|
|
@@ -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-B1wPsyg7.js';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
import 'react';
|
|
11
|
-
import '../../mutations-
|
|
12
|
-
import '../../remoteFlows-
|
|
11
|
+
import '../../mutations-B3zY0Z8j.js';
|
|
12
|
+
import '../../remoteFlows-C6LQCoUj.js';
|
|
13
13
|
import 'yup';
|
|
14
14
|
import '../../types-Zg1n_9wh.js';
|
|
15
15
|
import '@remoteoss/json-schema-form';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-FTCLM4RE.js";import"../../chunk-WHVPDECD.js";import"../../chunk-CCL5LNHC.js";import"../../chunk-CFIJKJXD.js";import"../../chunk-TKAZTT3M.js";import"../../chunk-BV3PGYSH.js";import"../../chunk-OW5QGJD4.js";import"../../chunk-CYPGWEOO.js";import"../../chunk-KDUM4EZJ.js";import"../../chunk-SGE4DLC3.js";import"../../chunk-2YTBWEC7.js";import"../../chunk-JTOLQCOG.js";import"../../chunk-D6X2WCEG.js";import"../../chunk-HPHWQU34.js";import"../../chunk-CDRDLO4A.js";import"../../chunk-PD24XKD6.js";import"../../chunk-TWIUL2P3.js";import"../../chunk-ZX5OIIJX.js";import"../../chunk-3O3Q24JL.js";import"../../chunk-PJBAQZ6G.js";import"../../chunk-EKKRQI6B.js";import"../../chunk-WVDTHFGS.js";import"../../chunk-3ZWDIEEM.js";import"../../chunk-LWGVLLBH.js";import"../../chunk-CNDSIADP.js";import"../../chunk-PAQW5BFW.js";import"../../chunk-MQ6F5LE4.js";import"../../chunk-TVZAFTPT.js";import"../../chunk-43WMZDDH.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 { b as PostAutomatableContractAmendmentError, a as ContractAmendmentAutomatableResponse } from '../../types.gen-
|
|
2
|
+
import { b as PostAutomatableContractAmendmentError, a as ContractAmendmentAutomatableResponse } from '../../types.gen-B1wPsyg7.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-WHVPDECD.js";import"../../chunk-CCL5LNHC.js";import"../../chunk-CFIJKJXD.js";import"../../chunk-TKAZTT3M.js";import"../../chunk-BV3PGYSH.js";import"../../chunk-D6X2WCEG.js";import"../../chunk-HPHWQU34.js";import"../../chunk-CDRDLO4A.js";import"../../chunk-PD24XKD6.js";import"../../chunk-TWIUL2P3.js";import"../../chunk-ZX5OIIJX.js";import"../../chunk-3O3Q24JL.js";import"../../chunk-WVDTHFGS.js";import"../../chunk-3ZWDIEEM.js";import"../../chunk-CNDSIADP.js";import"../../chunk-PAQW5BFW.js";import"../../chunk-MQ6F5LE4.js";import"../../chunk-TVZAFTPT.js";import"../../chunk-43WMZDDH.js";import"../../chunk-P37U34EQ.js";export{a as ContractAmendmentForm};
|
|
2
2
|
//# sourceMappingURL=ContractAmendmentForm.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as ContractAmendmentAutomatableResponse, b as PostAutomatableContractAmendmentError, c as ContractAmendmentResponse, d as PostCreateContractAmendmentError } from '../../types.gen-
|
|
1
|
+
import { a as ContractAmendmentAutomatableResponse, b as PostAutomatableContractAmendmentError, c as ContractAmendmentResponse, d as PostCreateContractAmendmentError } from '../../types.gen-B1wPsyg7.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { E as ErrorResponse, S as SuccessResponse } from '../../mutations-
|
|
3
|
+
import { E as ErrorResponse, S as SuccessResponse } from '../../mutations-B3zY0Z8j.js';
|
|
4
4
|
import * as _remoteoss_json_schema_form from '@remoteoss/json-schema-form';
|
|
5
|
-
import '../../remoteFlows-
|
|
5
|
+
import '../../remoteFlows-C6LQCoUj.js';
|
|
6
6
|
import * as react_hook_form from 'react-hook-form';
|
|
7
7
|
import { useContractAmendment } from './hooks.js';
|
|
8
8
|
import { Step } from '../useStepState.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as ContractAmendmentAutomatableResponse, b as PostAutomatableContractAmendmentError, c as ContractAmendmentResponse, d as PostCreateContractAmendmentError } from '../../types.gen-
|
|
2
|
-
import { E as ErrorResponse, S as SuccessResponse } from '../../mutations-
|
|
1
|
+
import { a as ContractAmendmentAutomatableResponse, b as PostAutomatableContractAmendmentError, c as ContractAmendmentResponse, d as PostCreateContractAmendmentError } from '../../types.gen-B1wPsyg7.js';
|
|
2
|
+
import { E as ErrorResponse, S as SuccessResponse } from '../../mutations-B3zY0Z8j.js';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import * as _remoteoss_json_schema_form from '@remoteoss/json-schema-form';
|
|
5
5
|
import { Step } from '../useStepState.js';
|
|
6
6
|
import { ContractAmendmentParams } from './types.js';
|
|
7
7
|
import { FieldValues } from 'react-hook-form';
|
|
8
|
-
import '../../remoteFlows-
|
|
8
|
+
import '../../remoteFlows-C6LQCoUj.js';
|
|
9
9
|
import 'yup';
|
|
10
10
|
import '../../types-Zg1n_9wh.js';
|
|
11
11
|
import '../types.js';
|
|
@@ -4,15 +4,15 @@ 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-B1wPsyg7.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
13
|
import '@remoteoss/json-schema-form';
|
|
14
|
-
import '../../mutations-
|
|
15
|
-
import '../../remoteFlows-
|
|
14
|
+
import '../../mutations-B3zY0Z8j.js';
|
|
15
|
+
import '../../remoteFlows-C6LQCoUj.js';
|
|
16
16
|
import 'yup';
|
|
17
17
|
import '../../types-Zg1n_9wh.js';
|
|
18
18
|
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-FTCLM4RE.js";import{a as b}from"../../chunk-WHVPDECD.js";import"../../chunk-CCL5LNHC.js";import"../../chunk-CFIJKJXD.js";import"../../chunk-TKAZTT3M.js";import"../../chunk-BV3PGYSH.js";import{a as c}from"../../chunk-OW5QGJD4.js";import{a as d}from"../../chunk-CYPGWEOO.js";import"../../chunk-KDUM4EZJ.js";import"../../chunk-SGE4DLC3.js";import"../../chunk-2YTBWEC7.js";import"../../chunk-JTOLQCOG.js";import"../../chunk-D6X2WCEG.js";import"../../chunk-HPHWQU34.js";import"../../chunk-CDRDLO4A.js";import"../../chunk-PD24XKD6.js";import"../../chunk-TWIUL2P3.js";import"../../chunk-ZX5OIIJX.js";import"../../chunk-3O3Q24JL.js";import"../../chunk-PJBAQZ6G.js";import"../../chunk-EKKRQI6B.js";import"../../chunk-WVDTHFGS.js";import"../../chunk-3ZWDIEEM.js";import{a}from"../../chunk-LWGVLLBH.js";import"../../chunk-CNDSIADP.js";import"../../chunk-PAQW5BFW.js";import"../../chunk-MQ6F5LE4.js";import"../../chunk-TVZAFTPT.js";import"../../chunk-43WMZDDH.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,11 +1,11 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { a as ContractorOnboardingFlowProps } from '../../types-
|
|
3
|
-
import '../../types.gen-
|
|
2
|
+
import { a as ContractorOnboardingFlowProps } from '../../types-DRI6kPSl.js';
|
|
3
|
+
import '../../types.gen-B1wPsyg7.js';
|
|
4
4
|
import './components/OnboardingBack.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
import './components/OnboardingSubmit.js';
|
|
7
|
-
import '../../mutations-
|
|
8
|
-
import '../../remoteFlows-
|
|
7
|
+
import '../../mutations-B3zY0Z8j.js';
|
|
8
|
+
import '../../remoteFlows-C6LQCoUj.js';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
import 'yup';
|
|
11
11
|
import '../../types-Zg1n_9wh.js';
|
|
@@ -14,7 +14,7 @@ import '@remoteoss/json-schema-form';
|
|
|
14
14
|
import './utils.js';
|
|
15
15
|
import '../useStepState.js';
|
|
16
16
|
import './components/BasicInformationStep.js';
|
|
17
|
-
import '../../types-
|
|
17
|
+
import '../../types-C_aEj_4p.js';
|
|
18
18
|
import '../Onboarding/components/OnboardingBack.js';
|
|
19
19
|
import '../Onboarding/components/OnboardingInvite.js';
|
|
20
20
|
import '../Onboarding/components/OnboardingSubmit.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-MAVVGCUM.js";import"../../chunk-K2I7ZL3Z.js";import"../../chunk-T2UJOEUA.js";import"../../chunk-CEJ24TSW.js";import"../../chunk-SRYUZSIK.js";import"../../chunk-7JPHJ7SQ.js";import"../../chunk-M22INAKM.js";import"../../chunk-5ZR7EFPY.js";import"../../chunk-E5VV7WAZ.js";import"../../chunk-DPY77ASH.js";import"../../chunk-TOA3JILU.js";import"../../chunk-ZPBKMAKR.js";import"../../chunk-BDPCUDJB.js";import"../../chunk-R2MHAPWD.js";import"../../chunk-U6RM2N4A.js";import"../../chunk-EHS4ERDW.js";import"../../chunk-AWJUS6JD.js";import"../../chunk-WVJDCDGZ.js";import"../../chunk-CCL5LNHC.js";import"../../chunk-CFIJKJXD.js";import"../../chunk-TKAZTT3M.js";import"../../chunk-BV3PGYSH.js";import"../../chunk-2YTBWEC7.js";import"../../chunk-D6X2WCEG.js";import"../../chunk-HPHWQU34.js";import"../../chunk-CDRDLO4A.js";import"../../chunk-PD24XKD6.js";import"../../chunk-TWIUL2P3.js";import"../../chunk-ZX5OIIJX.js";import"../../chunk-3O3Q24JL.js";import"../../chunk-PJBAQZ6G.js";import"../../chunk-Z5WMKCRJ.js";import"../../chunk-WVDTHFGS.js";import"../../chunk-3ZWDIEEM.js";import"../../chunk-CNDSIADP.js";import"../../chunk-PAQW5BFW.js";import"../../chunk-MQ6F5LE4.js";import"../../chunk-43WMZDDH.js";import"../../chunk-P37U34EQ.js";export{a as ContractorOnboardingFlow};
|
|
2
2
|
//# sourceMappingURL=ContractorOnboarding.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as SuccessResponse, e as PostSignContractDocumentError, f as SignContractDocument, F as File, g as CreateContractDocumentResponse, h as PostCreateContractDocumentError, i as CreateContractDocument } from '../../types.gen-
|
|
1
|
+
import { S as SuccessResponse, e as PostSignContractDocumentError, f as SignContractDocument, F as File, g as CreateContractDocumentResponse, h as PostCreateContractDocumentError, i as CreateContractDocument } from '../../types.gen-B1wPsyg7.js';
|
|
2
2
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
3
3
|
import * as _remoteoss_json_schema_form from '@remoteoss/json-schema-form';
|
|
4
4
|
import { FlowOptions } from '../types.js';
|
|
5
|
-
import { J as JSFFieldset } from '../../remoteFlows-
|
|
5
|
+
import { J as JSFFieldset } from '../../remoteFlows-C6LQCoUj.js';
|
|
6
6
|
import { FieldValues } from 'react-hook-form';
|
|
7
7
|
import 'react';
|
|
8
8
|
import 'yup';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { B as BasicInformationFormPayload } from '../../../types-
|
|
3
|
-
import {
|
|
4
|
-
import { N as NormalizedFieldError } from '../../../mutations-
|
|
2
|
+
import { B as BasicInformationFormPayload } from '../../../types-C_aEj_4p.js';
|
|
3
|
+
import { m as EmploymentCreationResponse } from '../../../types.gen-B1wPsyg7.js';
|
|
4
|
+
import { N as NormalizedFieldError } from '../../../mutations-B3zY0Z8j.js';
|
|
5
5
|
import '../../Onboarding/components/OnboardingBack.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import '../../Onboarding/components/OnboardingInvite.js';
|
|
8
|
-
import '../../../remoteFlows-
|
|
8
|
+
import '../../../remoteFlows-C6LQCoUj.js';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
import 'yup';
|
|
11
11
|
import '../../../types-Zg1n_9wh.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-CEJ24TSW.js";import"../../../chunk-M22INAKM.js";import"../../../chunk-TOA3JILU.js";import"../../../chunk-CCL5LNHC.js";import"../../../chunk-CFIJKJXD.js";import"../../../chunk-TKAZTT3M.js";import"../../../chunk-BV3PGYSH.js";import"../../../chunk-2YTBWEC7.js";import"../../../chunk-D6X2WCEG.js";import"../../../chunk-HPHWQU34.js";import"../../../chunk-CDRDLO4A.js";import"../../../chunk-PD24XKD6.js";import"../../../chunk-TWIUL2P3.js";import"../../../chunk-ZX5OIIJX.js";import"../../../chunk-3O3Q24JL.js";import"../../../chunk-WVDTHFGS.js";import"../../../chunk-3ZWDIEEM.js";import"../../../chunk-CNDSIADP.js";import"../../../chunk-PAQW5BFW.js";import"../../../chunk-MQ6F5LE4.js";import"../../../chunk-43WMZDDH.js";import"../../../chunk-P37U34EQ.js";export{a as BasicInformationStep};
|
|
2
2
|
//# sourceMappingURL=BasicInformationStep.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import 'react/jsx-runtime';
|
|
2
|
-
import '../../../mutations-
|
|
3
|
-
export { h as ContractDetailsStep } from '../../../types-
|
|
4
|
-
import '../../../remoteFlows-
|
|
2
|
+
import '../../../mutations-B3zY0Z8j.js';
|
|
3
|
+
export { h as ContractDetailsStep } from '../../../types-DRI6kPSl.js';
|
|
4
|
+
import '../../../remoteFlows-C6LQCoUj.js';
|
|
5
5
|
import 'react-hook-form';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'yup';
|
|
8
|
-
import '../../../types.gen-
|
|
8
|
+
import '../../../types.gen-B1wPsyg7.js';
|
|
9
9
|
import '../../../types-Zg1n_9wh.js';
|
|
10
10
|
import './OnboardingBack.js';
|
|
11
11
|
import './OnboardingSubmit.js';
|
|
@@ -14,7 +14,7 @@ import '@remoteoss/json-schema-form';
|
|
|
14
14
|
import '../utils.js';
|
|
15
15
|
import '../../useStepState.js';
|
|
16
16
|
import './BasicInformationStep.js';
|
|
17
|
-
import '../../../types-
|
|
17
|
+
import '../../../types-C_aEj_4p.js';
|
|
18
18
|
import '../../Onboarding/components/OnboardingBack.js';
|
|
19
19
|
import '../../Onboarding/components/OnboardingInvite.js';
|
|
20
20
|
import '../../Onboarding/components/OnboardingSubmit.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-SRYUZSIK.js";import"../../../chunk-M22INAKM.js";import"../../../chunk-TOA3JILU.js";import"../../../chunk-CCL5LNHC.js";import"../../../chunk-CFIJKJXD.js";import"../../../chunk-TKAZTT3M.js";import"../../../chunk-BV3PGYSH.js";import"../../../chunk-2YTBWEC7.js";import"../../../chunk-D6X2WCEG.js";import"../../../chunk-HPHWQU34.js";import"../../../chunk-CDRDLO4A.js";import"../../../chunk-PD24XKD6.js";import"../../../chunk-TWIUL2P3.js";import"../../../chunk-ZX5OIIJX.js";import"../../../chunk-3O3Q24JL.js";import"../../../chunk-WVDTHFGS.js";import"../../../chunk-3ZWDIEEM.js";import"../../../chunk-CNDSIADP.js";import"../../../chunk-PAQW5BFW.js";import"../../../chunk-MQ6F5LE4.js";import"../../../chunk-43WMZDDH.js";import"../../../chunk-P37U34EQ.js";export{a as ContractDetailsStep};
|
|
2
2
|
//# sourceMappingURL=ContractDetailsStep.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import 'react/jsx-runtime';
|
|
2
|
-
import '../../../mutations-
|
|
3
|
-
export { i as ContractPreviewStep } from '../../../types-
|
|
4
|
-
import '../../../remoteFlows-
|
|
2
|
+
import '../../../mutations-B3zY0Z8j.js';
|
|
3
|
+
export { i as ContractPreviewStep } from '../../../types-DRI6kPSl.js';
|
|
4
|
+
import '../../../remoteFlows-C6LQCoUj.js';
|
|
5
5
|
import 'react-hook-form';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'yup';
|
|
8
|
-
import '../../../types.gen-
|
|
8
|
+
import '../../../types.gen-B1wPsyg7.js';
|
|
9
9
|
import '../../../types-Zg1n_9wh.js';
|
|
10
10
|
import './OnboardingBack.js';
|
|
11
11
|
import './OnboardingSubmit.js';
|
|
@@ -14,7 +14,7 @@ import '@remoteoss/json-schema-form';
|
|
|
14
14
|
import '../utils.js';
|
|
15
15
|
import '../../useStepState.js';
|
|
16
16
|
import './BasicInformationStep.js';
|
|
17
|
-
import '../../../types-
|
|
17
|
+
import '../../../types-C_aEj_4p.js';
|
|
18
18
|
import '../../Onboarding/components/OnboardingBack.js';
|
|
19
19
|
import '../../Onboarding/components/OnboardingInvite.js';
|
|
20
20
|
import '../../Onboarding/components/OnboardingSubmit.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-7JPHJ7SQ.js";import"../../../chunk-M22INAKM.js";import"../../../chunk-TOA3JILU.js";import"../../../chunk-CCL5LNHC.js";import"../../../chunk-CFIJKJXD.js";import"../../../chunk-TKAZTT3M.js";import"../../../chunk-BV3PGYSH.js";import"../../../chunk-2YTBWEC7.js";import"../../../chunk-D6X2WCEG.js";import"../../../chunk-HPHWQU34.js";import"../../../chunk-CDRDLO4A.js";import"../../../chunk-PD24XKD6.js";import"../../../chunk-TWIUL2P3.js";import"../../../chunk-ZX5OIIJX.js";import"../../../chunk-3O3Q24JL.js";import"../../../chunk-WVDTHFGS.js";import"../../../chunk-3ZWDIEEM.js";import"../../../chunk-CNDSIADP.js";import"../../../chunk-PAQW5BFW.js";import"../../../chunk-MQ6F5LE4.js";import"../../../chunk-43WMZDDH.js";import"../../../chunk-P37U34EQ.js";export{a as ContractPreviewStep};
|
|
2
2
|
//# sourceMappingURL=ContractPreviewStep.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { Fields } from '@remoteoss/json-schema-form';
|
|
3
|
-
import { B as BasicInformationFormPayload } from '../../../types-
|
|
4
|
-
import { C as Components } from '../../../remoteFlows-
|
|
5
|
-
import { P as PricingPlanFormPayload, C as ContractorOnboardingContractDetailsFormPayload } from '../../../types-
|
|
6
|
-
import '../../../types.gen-
|
|
3
|
+
import { B as BasicInformationFormPayload } from '../../../types-C_aEj_4p.js';
|
|
4
|
+
import { C as Components } from '../../../remoteFlows-C6LQCoUj.js';
|
|
5
|
+
import { P as PricingPlanFormPayload, C as ContractorOnboardingContractDetailsFormPayload } from '../../../types-DRI6kPSl.js';
|
|
6
|
+
import '../../../types.gen-B1wPsyg7.js';
|
|
7
7
|
import '../../Onboarding/components/OnboardingBack.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import '../../Onboarding/components/OnboardingInvite.js';
|
|
10
|
-
import '../../../mutations-
|
|
10
|
+
import '../../../mutations-B3zY0Z8j.js';
|
|
11
11
|
import 'react-hook-form';
|
|
12
12
|
import 'yup';
|
|
13
13
|
import '../../../types-Zg1n_9wh.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-M22INAKM.js";import"../../../chunk-TOA3JILU.js";import"../../../chunk-CCL5LNHC.js";import"../../../chunk-CFIJKJXD.js";import"../../../chunk-TKAZTT3M.js";import"../../../chunk-BV3PGYSH.js";import"../../../chunk-D6X2WCEG.js";import"../../../chunk-HPHWQU34.js";import"../../../chunk-CDRDLO4A.js";import"../../../chunk-PD24XKD6.js";import"../../../chunk-TWIUL2P3.js";import"../../../chunk-ZX5OIIJX.js";import"../../../chunk-3O3Q24JL.js";import"../../../chunk-WVDTHFGS.js";import"../../../chunk-3ZWDIEEM.js";import"../../../chunk-CNDSIADP.js";import"../../../chunk-PAQW5BFW.js";import"../../../chunk-MQ6F5LE4.js";import"../../../chunk-43WMZDDH.js";import"../../../chunk-P37U34EQ.js";export{a as ContractorOnboardingForm};
|
|
2
2
|
//# sourceMappingURL=ContractorOnboardingForm.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
3
|
-
import { F as FieldError } from '../../../mutations-
|
|
4
|
-
import { S as SuccessResponse } from '../../../types.gen-
|
|
5
|
-
import '../../../remoteFlows-
|
|
3
|
+
import { F as FieldError } from '../../../mutations-B3zY0Z8j.js';
|
|
4
|
+
import { S as SuccessResponse } from '../../../types.gen-B1wPsyg7.js';
|
|
5
|
+
import '../../../remoteFlows-C6LQCoUj.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
import 'yup';
|
|
8
8
|
import '../../../types-Zg1n_9wh.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-E5VV7WAZ.js";import"../../../chunk-TOA3JILU.js";import"../../../chunk-AWJUS6JD.js";import"../../../chunk-WVJDCDGZ.js";import"../../../chunk-2YTBWEC7.js";import"../../../chunk-ZX5OIIJX.js";import"../../../chunk-3O3Q24JL.js";import"../../../chunk-Z5WMKCRJ.js";import"../../../chunk-WVDTHFGS.js";import"../../../chunk-3ZWDIEEM.js";import"../../../chunk-PAQW5BFW.js";import"../../../chunk-43WMZDDH.js";import"../../../chunk-P37U34EQ.js";export{a as OnboardingInvite};
|
|
2
2
|
//# sourceMappingURL=OnboardingInvite.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import 'react/jsx-runtime';
|
|
2
|
-
import '../../../mutations-
|
|
3
|
-
export { g as PricingPlanStep } from '../../../types-
|
|
4
|
-
import '../../../remoteFlows-
|
|
2
|
+
import '../../../mutations-B3zY0Z8j.js';
|
|
3
|
+
export { g as PricingPlanStep } from '../../../types-DRI6kPSl.js';
|
|
4
|
+
import '../../../remoteFlows-C6LQCoUj.js';
|
|
5
5
|
import 'react-hook-form';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'yup';
|
|
8
|
-
import '../../../types.gen-
|
|
8
|
+
import '../../../types.gen-B1wPsyg7.js';
|
|
9
9
|
import '../../../types-Zg1n_9wh.js';
|
|
10
10
|
import './OnboardingBack.js';
|
|
11
11
|
import './OnboardingSubmit.js';
|
|
@@ -14,7 +14,7 @@ import '@remoteoss/json-schema-form';
|
|
|
14
14
|
import '../utils.js';
|
|
15
15
|
import '../../useStepState.js';
|
|
16
16
|
import './BasicInformationStep.js';
|
|
17
|
-
import '../../../types-
|
|
17
|
+
import '../../../types-C_aEj_4p.js';
|
|
18
18
|
import '../../Onboarding/components/OnboardingBack.js';
|
|
19
19
|
import '../../Onboarding/components/OnboardingInvite.js';
|
|
20
20
|
import '../../Onboarding/components/OnboardingSubmit.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-K2I7ZL3Z.js";import"../../../chunk-M22INAKM.js";import"../../../chunk-TOA3JILU.js";import"../../../chunk-CCL5LNHC.js";import"../../../chunk-CFIJKJXD.js";import"../../../chunk-TKAZTT3M.js";import"../../../chunk-BV3PGYSH.js";import"../../../chunk-2YTBWEC7.js";import"../../../chunk-D6X2WCEG.js";import"../../../chunk-HPHWQU34.js";import"../../../chunk-CDRDLO4A.js";import"../../../chunk-PD24XKD6.js";import"../../../chunk-TWIUL2P3.js";import"../../../chunk-ZX5OIIJX.js";import"../../../chunk-3O3Q24JL.js";import"../../../chunk-WVDTHFGS.js";import"../../../chunk-3ZWDIEEM.js";import"../../../chunk-CNDSIADP.js";import"../../../chunk-PAQW5BFW.js";import"../../../chunk-MQ6F5LE4.js";import"../../../chunk-43WMZDDH.js";import"../../../chunk-P37U34EQ.js";export{a as PricingPlanStep};
|
|
2
2
|
//# sourceMappingURL=PricingPlan.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { a as SelectCountryFormPayload, b as SelectCountrySuccess } from '../../../types-
|
|
3
|
-
import { N as NormalizedFieldError } from '../../../mutations-
|
|
4
|
-
import '../../../types.gen-
|
|
2
|
+
import { a as SelectCountryFormPayload, b as SelectCountrySuccess } from '../../../types-C_aEj_4p.js';
|
|
3
|
+
import { N as NormalizedFieldError } from '../../../mutations-B3zY0Z8j.js';
|
|
4
|
+
import '../../../types.gen-B1wPsyg7.js';
|
|
5
5
|
import '../../Onboarding/components/OnboardingBack.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import '../../Onboarding/components/OnboardingInvite.js';
|
|
8
|
-
import '../../../remoteFlows-
|
|
8
|
+
import '../../../remoteFlows-C6LQCoUj.js';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
import 'yup';
|
|
11
11
|
import '../../../types-Zg1n_9wh.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-T2UJOEUA.js";import"../../../chunk-M22INAKM.js";import"../../../chunk-TOA3JILU.js";import"../../../chunk-CCL5LNHC.js";import"../../../chunk-CFIJKJXD.js";import"../../../chunk-TKAZTT3M.js";import"../../../chunk-BV3PGYSH.js";import"../../../chunk-D6X2WCEG.js";import"../../../chunk-HPHWQU34.js";import"../../../chunk-CDRDLO4A.js";import"../../../chunk-PD24XKD6.js";import"../../../chunk-TWIUL2P3.js";import"../../../chunk-ZX5OIIJX.js";import"../../../chunk-3O3Q24JL.js";import"../../../chunk-WVDTHFGS.js";import"../../../chunk-3ZWDIEEM.js";import"../../../chunk-CNDSIADP.js";import"../../../chunk-PAQW5BFW.js";import"../../../chunk-MQ6F5LE4.js";import"../../../chunk-43WMZDDH.js";import"../../../chunk-P37U34EQ.js";export{a as SelectCountryStep};
|
|
2
2
|
//# sourceMappingURL=SelectCountryStep.js.map
|