@remoteoss/remote-flows 1.49.1 → 1.50.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/README.md +1 -0
- package/dist/CheckboxFieldDefault-JOUZXB4Y.js +2 -0
- package/dist/CountryFieldDefault-IZQOFNX5.js +2 -0
- package/dist/DatePickerFieldDefault-AWV7LUPI.js +2 -0
- package/dist/FileUploadFieldDefault-NZ33IMPU.js +2 -0
- package/dist/ForcedValueFieldDefault-RY5AN7O6.js +2 -0
- package/dist/MultiSelectFieldDefault-DOZQUBEE.js +2 -0
- package/dist/RadioGroupFieldDefault-GFDO56LK.js +2 -0
- package/dist/SelectFieldDefault-E4KFZBJ7.js +2 -0
- package/dist/TelFieldDefault-2EPAKDTW.js +2 -0
- package/dist/TextAreaFieldDefault-WZIVM4RZ.js +2 -0
- package/dist/TextFieldDefault-YVXZO4AN.js +2 -0
- package/dist/TimeFieldDefault-JN4MDIO6.js +2 -0
- package/dist/chunk-25MUO3XP.js +2 -0
- package/dist/chunk-25MUO3XP.js.map +1 -0
- package/dist/{chunk-EQIWABAZ.js → chunk-2UH6Y56R.js} +2 -2
- package/dist/{chunk-D737GUYZ.js → chunk-3G4HOZCM.js} +2 -2
- package/dist/{chunk-G3KQCVQQ.js → chunk-3OKB5OHA.js} +2 -2
- package/dist/{chunk-ANZ2YYUE.js → chunk-46BOEYFO.js} +2 -2
- package/dist/{chunk-VYAJQ25J.js → chunk-4CNDASPA.js} +2 -2
- package/dist/{chunk-QSF4XFSV.js → chunk-4IGLIHGF.js} +2 -2
- package/dist/{chunk-WZOVZYNI.js → chunk-4WSYC3Q5.js} +2 -2
- package/dist/{chunk-PYNHR7NL.js → chunk-53QBSOMG.js} +2 -2
- package/dist/{chunk-3LELUHRO.js → chunk-5HDMU73I.js} +2 -2
- package/dist/{chunk-JQ3SLOUP.js → chunk-5JXLXWTD.js} +2 -2
- package/dist/{chunk-F3UUYQGY.js → chunk-5PUW4YCY.js} +2 -2
- package/dist/chunk-5YI7MY5T.js +2 -0
- package/dist/chunk-5YI7MY5T.js.map +1 -0
- package/dist/{chunk-6IQJJCQ3.js → chunk-6CBC5OAQ.js} +2 -2
- package/dist/{chunk-JKHJR6HK.js → chunk-753FEV2S.js} +2 -2
- package/dist/{chunk-JKHJR6HK.js.map → chunk-753FEV2S.js.map} +1 -1
- package/dist/{chunk-YRC6EEM3.js → chunk-77AA65OH.js} +2 -2
- package/dist/{chunk-YRC6EEM3.js.map → chunk-77AA65OH.js.map} +1 -1
- package/dist/{chunk-ZXGAFQXW.js → chunk-7B3ATY3M.js} +2 -2
- package/dist/{chunk-ZXGAFQXW.js.map → chunk-7B3ATY3M.js.map} +1 -1
- package/dist/{chunk-5FGYC2RF.js → chunk-7FKNXW2I.js} +2 -2
- package/dist/{chunk-Z7VNXKWB.js → chunk-AAXPKULB.js} +2 -2
- package/dist/chunk-AXZ4IDY7.js +2 -0
- package/dist/chunk-AXZ4IDY7.js.map +1 -0
- package/dist/{chunk-FDTOQHOJ.js → chunk-BB3M25A3.js} +2 -2
- package/dist/chunk-BHHK7QQZ.js +2 -0
- package/dist/chunk-BHHK7QQZ.js.map +1 -0
- package/dist/{chunk-OTBCLDGR.js → chunk-BLKWR77C.js} +2 -2
- package/dist/chunk-BTCC6PNG.js +2 -0
- package/dist/chunk-BTCC6PNG.js.map +1 -0
- package/dist/{chunk-5WTCN4WO.js → chunk-C7MVEDVY.js} +2 -2
- package/dist/{chunk-WDPJIOLG.js → chunk-CCGAAOXN.js} +2 -2
- package/dist/{chunk-EYZVDP6A.js → chunk-CD6H4MBI.js} +2 -2
- package/dist/{chunk-4YFJOHSM.js → chunk-CONMRDRL.js} +2 -2
- package/dist/{chunk-F2SGCGXL.js → chunk-CUO7OGD5.js} +2 -2
- package/dist/{chunk-F3DZUA7W.js → chunk-D6PMXNBM.js} +2 -2
- package/dist/chunk-DDMXUBCN.js +2 -0
- package/dist/chunk-DDMXUBCN.js.map +1 -0
- package/dist/{chunk-K67Q5476.js → chunk-DOPQK5RP.js} +2 -2
- package/dist/{chunk-C5T75DEZ.js → chunk-DP6L72YF.js} +2 -2
- package/dist/{chunk-ALHHN2LG.js → chunk-DYIMRD6T.js} +2 -2
- package/dist/{chunk-TC7EQZJK.js → chunk-E5ATCB4A.js} +2 -2
- package/dist/{chunk-TC7EQZJK.js.map → chunk-E5ATCB4A.js.map} +1 -1
- package/dist/{chunk-5TOSVOLY.js → chunk-ED35NFA6.js} +2 -2
- package/dist/{chunk-V3C32X6R.js → chunk-EMMFAZZC.js} +2 -2
- package/dist/{chunk-2GTY2DMO.js → chunk-ERBEPQJP.js} +2 -2
- package/dist/{chunk-2GTY2DMO.js.map → chunk-ERBEPQJP.js.map} +1 -1
- package/dist/{chunk-3BQVEYHE.js → chunk-EVUTX6TJ.js} +2 -2
- package/dist/chunk-F37FQXEZ.js +2 -0
- package/dist/chunk-F37FQXEZ.js.map +1 -0
- package/dist/chunk-FQBOMXMX.js +2 -0
- package/dist/chunk-FQBOMXMX.js.map +1 -0
- package/dist/{chunk-R2D32OB6.js → chunk-FSCAWXCB.js} +2 -2
- package/dist/{chunk-7XDU2VWN.js → chunk-FV6NNYDP.js} +2 -2
- package/dist/{chunk-JLM4O7ZW.js → chunk-G6EKGJBB.js} +2 -2
- package/dist/{chunk-YUUUI4FY.js → chunk-G75LPZV5.js} +2 -2
- package/dist/{chunk-3RQSRU7O.js → chunk-GE74QKS6.js} +2 -2
- package/dist/{chunk-H5OZSXSY.js → chunk-GHZABLDV.js} +2 -2
- package/dist/chunk-GIZQZBHB.js +2 -0
- package/dist/chunk-GIZQZBHB.js.map +1 -0
- package/dist/{chunk-BTZ57COZ.js → chunk-GTS7KFEM.js} +2 -2
- package/dist/{chunk-WYIU74JN.js → chunk-H47XUL2L.js} +2 -2
- package/dist/chunk-H6XROFQT.js +2 -0
- package/dist/chunk-H6XROFQT.js.map +1 -0
- package/dist/{chunk-VQRE3YLW.js → chunk-I4DU34BA.js} +2 -2
- package/dist/chunk-ICYCECFS.js +2 -0
- package/dist/{chunk-XFD3ULUF.js.map → chunk-ICYCECFS.js.map} +1 -1
- package/dist/{chunk-S2QXSX4Q.js → chunk-ILEO7LN4.js} +2 -2
- package/dist/{chunk-7NDAFJXR.js → chunk-ILMRP364.js} +2 -2
- package/dist/{chunk-J4CHUIPC.js → chunk-ITCWBZDM.js} +2 -2
- package/dist/{chunk-PNNOU6BC.js → chunk-JI3PAIMV.js} +2 -2
- package/dist/{chunk-WGDZTF7Y.js → chunk-JLZFNUBH.js} +2 -2
- package/dist/{chunk-IUBHVGVV.js → chunk-JVXI4RZU.js} +2 -2
- package/dist/{chunk-LMYJ6V44.js → chunk-JVZ5LUV4.js} +2 -2
- package/dist/{chunk-LMYJ6V44.js.map → chunk-JVZ5LUV4.js.map} +1 -1
- package/dist/{chunk-4Y2INBAI.js → chunk-KGNLBYM5.js} +2 -2
- package/dist/{chunk-ORP6DY5I.js → chunk-L2YOD4GP.js} +2 -2
- package/dist/{chunk-IAR6BWUY.js → chunk-LADLAP2S.js} +2 -2
- package/dist/chunk-LSUBNZ64.js +2 -0
- package/dist/chunk-LSUBNZ64.js.map +1 -0
- package/dist/{chunk-QHJ3BYJN.js → chunk-LXGL7HF5.js} +2 -2
- package/dist/{chunk-2LSLWFZS.js → chunk-MEYX4D5K.js} +2 -2
- package/dist/{chunk-LCUYP6VW.js → chunk-MXAFJYLQ.js} +2 -2
- package/dist/{chunk-UAEQLFPK.js → chunk-N7HCQXUM.js} +2 -2
- package/dist/chunk-NAFECQWK.js +2 -0
- package/dist/{chunk-JRRPMAUO.js → chunk-NFWKD7UR.js} +2 -2
- package/dist/{chunk-6S5Q2OKC.js → chunk-NTPHMYYC.js} +2 -2
- package/dist/chunk-NYR6FVCU.js +2 -0
- package/dist/{chunk-ILX6RI7K.js.map → chunk-NYR6FVCU.js.map} +1 -1
- package/dist/chunk-OHVXJXF4.js +1 -0
- package/dist/chunk-OHVXJXF4.js.map +1 -0
- package/dist/{chunk-POWC7LZN.js → chunk-OKBPMWVB.js} +2 -2
- package/dist/{chunk-BWM2MYPE.js → chunk-OWOIDZHI.js} +2 -2
- package/dist/{chunk-6IDUDCVS.js → chunk-P2WUHKEU.js} +2 -2
- package/dist/{chunk-3LMZ3SOP.js → chunk-P6FFLJDP.js} +2 -2
- package/dist/{chunk-MZK2U65W.js → chunk-PKJZ2N4C.js} +2 -2
- package/dist/{chunk-NX7MM6XR.js → chunk-PKQG25GH.js} +2 -2
- package/dist/{chunk-NX7MM6XR.js.map → chunk-PKQG25GH.js.map} +1 -1
- package/dist/{chunk-CFPKRLGM.js → chunk-QFTBKRUI.js} +2 -2
- package/dist/chunk-QQV5REGG.js +8 -0
- package/dist/chunk-QQV5REGG.js.map +1 -0
- package/dist/{chunk-ZQVVHVAG.js → chunk-R4ZUOFYN.js} +2 -2
- package/dist/chunk-R5ADEPLC.js +2 -0
- package/dist/chunk-R5ADEPLC.js.map +1 -0
- package/dist/{chunk-TXOCMI5I.js → chunk-RFMYNPR7.js} +2 -2
- package/dist/chunk-ROO2IFBF.js +2 -0
- package/dist/chunk-ROO2IFBF.js.map +1 -0
- package/dist/{chunk-2LR5N626.js → chunk-RYZ7TJVS.js} +2 -2
- package/dist/{chunk-UU2IFOXR.js → chunk-RZL44CPH.js} +2 -2
- package/dist/{chunk-C2HZNBMZ.js → chunk-SLRPDXK6.js} +2 -2
- package/dist/{chunk-5WIBTOCI.js → chunk-SRNXXOUH.js} +2 -2
- package/dist/{chunk-5WIBTOCI.js.map → chunk-SRNXXOUH.js.map} +1 -1
- package/dist/{chunk-5MH23AST.js → chunk-STHZZZRL.js} +2 -2
- package/dist/{chunk-CHIWBD6E.js → chunk-SUYI33NX.js} +2 -2
- package/dist/chunk-SVU7GWUR.js +2 -0
- package/dist/chunk-SVU7GWUR.js.map +1 -0
- package/dist/{chunk-3VTHNE4H.js → chunk-SZI67IXU.js} +2 -2
- package/dist/chunk-T5H35HYL.js +2 -0
- package/dist/{chunk-KPDYUFCB.js.map → chunk-T5H35HYL.js.map} +1 -1
- package/dist/chunk-TDKKCSKV.js +2 -0
- package/dist/{chunk-7IIQUZTH.js.map → chunk-TDKKCSKV.js.map} +1 -1
- package/dist/{chunk-QEHEOSJT.js → chunk-TJZ5BJV3.js} +2 -2
- package/dist/chunk-TRDNTXE7.js +2 -0
- package/dist/chunk-TRDNTXE7.js.map +1 -0
- package/dist/{chunk-WHDUZGVW.js → chunk-TX6RWQUR.js} +2 -2
- package/dist/chunk-U4H7URYB.js +2 -0
- package/dist/chunk-U4H7URYB.js.map +1 -0
- package/dist/{chunk-RKP7EEAB.js → chunk-UGQNOBQH.js} +2 -2
- package/dist/chunk-UWHJF45X.js +2 -0
- package/dist/chunk-UWHJF45X.js.map +1 -0
- package/dist/{chunk-BFXBFGBH.js → chunk-UYOKK4QW.js} +2 -2
- package/dist/{chunk-BFXBFGBH.js.map → chunk-UYOKK4QW.js.map} +1 -1
- package/dist/{chunk-SUVBETJS.js → chunk-V3AVEPNA.js} +2 -2
- package/dist/{chunk-KZ5ZQTBF.js → chunk-V6PPOGPT.js} +2 -2
- package/dist/{chunk-IJCTN52C.js → chunk-VDJJEIOD.js} +2 -2
- package/dist/{chunk-IJCTN52C.js.map → chunk-VDJJEIOD.js.map} +1 -1
- package/dist/chunk-VKUGCD5J.js +2 -0
- package/dist/chunk-VKUGCD5J.js.map +1 -0
- package/dist/{chunk-XTLTKB3S.js → chunk-VRPZ4GHN.js} +2 -2
- package/dist/{chunk-IRUWMZVH.js → chunk-VVZTXCX2.js} +2 -2
- package/dist/{chunk-SNGQ2MKL.js → chunk-VYTUM3RI.js} +2 -2
- package/dist/{chunk-FT4ZNBTA.js → chunk-WGO25FWG.js} +2 -2
- package/dist/{chunk-TLJXBZII.js → chunk-WKWL57L6.js} +2 -2
- package/dist/chunk-WRTUY6K3.js +2 -0
- package/dist/chunk-WRTUY6K3.js.map +1 -0
- package/dist/{chunk-5FJ64F6D.js → chunk-WVE2IOLY.js} +2 -2
- package/dist/{chunk-LCUURLXS.js → chunk-XDLVDPQ7.js} +2 -2
- package/dist/{chunk-WB52GW3H.js → chunk-XEVHXHHC.js} +2 -2
- package/dist/{chunk-JMFCG5KA.js → chunk-XMIVJW5E.js} +2 -2
- package/dist/{chunk-WH3QR2W5.js → chunk-XMVV6S77.js} +2 -2
- package/dist/{chunk-AP56UUME.js → chunk-Y2NCUO3F.js} +2 -2
- package/dist/{chunk-AP56UUME.js.map → chunk-Y2NCUO3F.js.map} +1 -1
- package/dist/{chunk-A5XRBDDO.js → chunk-YHZZHQP5.js} +2 -2
- package/dist/{chunk-PJTMFMRJ.js → chunk-YME2HZZJ.js} +2 -2
- package/dist/{chunk-B3ESNTKY.js → chunk-Z7XLK4JL.js} +2 -2
- package/dist/chunk-ZD4H63AL.js +2 -0
- package/dist/chunk-ZD4H63AL.js.map +1 -0
- package/dist/{chunk-5J7DLDLW.js → chunk-ZODT3MJM.js} +2 -2
- package/dist/{chunk-6L77BWCI.js → chunk-ZOTKZZ67.js} +2 -2
- package/dist/{chunk-BYTVIOOL.js → chunk-ZREW7KZA.js} +2 -2
- package/dist/createInvoiceSchedule-BweQB6DI.d.ts +195 -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/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 +4 -4
- 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 +3 -3
- package/dist/flows/ContractAmendment/utils.d.ts +2 -2
- package/dist/flows/ContractorOnboarding/ContractorOnboarding.d.ts +6 -5
- package/dist/flows/ContractorOnboarding/ContractorOnboarding.js +1 -1
- package/dist/flows/ContractorOnboarding/api.d.ts +173 -413
- 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 -5
- package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractOriginStep.d.ts +3 -3
- package/dist/flows/ContractorOnboarding/components/ContractOriginStep.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/ContractPreviewStep.d.ts +6 -5
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.d.ts +6 -5
- package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.js +1 -1
- package/dist/flows/ContractorOnboarding/components/CreateInvoiceScheduleStep.d.ts +3 -3
- package/dist/flows/ContractorOnboarding/components/CreateInvoiceScheduleStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.d.ts +6 -5
- package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/InvoiceScheduleStep.d.ts +6 -5
- package/dist/flows/ContractorOnboarding/components/InvoiceScheduleStep.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/PreviewInvoiceButton.d.ts +29 -0
- package/dist/flows/ContractorOnboarding/components/PreviewInvoiceButton.js +2 -0
- package/dist/flows/ContractorOnboarding/components/PreviewInvoiceButton.js.map +1 -0
- package/dist/flows/ContractorOnboarding/components/PricingPlan.d.ts +6 -5
- package/dist/flows/ContractorOnboarding/components/PricingPlan.js +1 -1
- package/dist/flows/ContractorOnboarding/components/SaveDraftButton.d.ts +3 -3
- package/dist/flows/ContractorOnboarding/components/SelectCountryStep.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/components/SelectCountryStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/SkipInvoiceScheduleButton.d.ts +24 -0
- package/dist/flows/ContractorOnboarding/components/SkipInvoiceScheduleButton.js +2 -0
- package/dist/flows/ContractorOnboarding/components/SkipInvoiceScheduleButton.js.map +1 -0
- package/dist/flows/ContractorOnboarding/context.d.ts +14 -5
- package/dist/flows/ContractorOnboarding/hooks.d.ts +6 -5
- package/dist/flows/ContractorOnboarding/hooks.js +1 -1
- package/dist/flows/ContractorOnboarding/index.d.ts +6 -5
- package/dist/flows/ContractorOnboarding/index.js +1 -1
- package/dist/flows/ContractorOnboarding/invoiceScheduleConstants.d.ts +1 -0
- package/dist/flows/ContractorOnboarding/invoiceScheduleConstants.js +1 -1
- package/dist/flows/ContractorOnboarding/jsfModify.d.ts +6 -5
- package/dist/flows/ContractorOnboarding/jsfModify.js +1 -1
- package/dist/flows/ContractorOnboarding/json-schemas/contractOrigin.d.ts +3 -0
- package/dist/flows/ContractorOnboarding/json-schemas/contractOrigin.js +1 -1
- package/dist/flows/ContractorOnboarding/json-schemas/createInvoiceSchedule.d.ts +1 -103
- package/dist/flows/ContractorOnboarding/json-schemas/createInvoiceSchedule.js +1 -1
- package/dist/flows/ContractorOnboarding/json-schemas/invoiceSchedule.d.ts +3 -0
- package/dist/flows/ContractorOnboarding/json-schemas/invoiceSchedule.js +1 -1
- package/dist/flows/ContractorOnboarding/json-schemas/selectContractorSubscriptionStep.d.ts +3 -0
- package/dist/flows/ContractorOnboarding/json-schemas/selectContractorSubscriptionStep.js +1 -1
- package/dist/flows/ContractorOnboarding/json-schemas/signature.d.ts +3 -0
- package/dist/flows/ContractorOnboarding/json-schemas/signature.js +1 -1
- package/dist/flows/ContractorOnboarding/types.d.ts +6 -5
- package/dist/flows/ContractorOnboarding/utils.d.ts +31 -21
- 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/EstimationResults/EstimationResults.d.ts +3 -3
- package/dist/flows/CostCalculator/EstimationResults/EstimationResults.js +1 -1
- package/dist/flows/CostCalculator/SummaryResults/SummaryResults.d.ts +3 -3
- package/dist/flows/CostCalculator/api.d.ts +3 -3
- 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 +3 -3
- package/dist/flows/CostCalculator/utils.d.ts +3 -3
- package/dist/flows/CostCalculator/utils.js +1 -1
- package/dist/flows/CreateCompany/CreateCompany.d.ts +4 -4
- package/dist/flows/CreateCompany/CreateCompany.js +1 -1
- package/dist/flows/CreateCompany/api.d.ts +3 -3
- package/dist/flows/CreateCompany/api.js +1 -1
- package/dist/flows/CreateCompany/components/AddressDetailsStep.d.ts +4 -4
- package/dist/flows/CreateCompany/components/AddressDetailsStep.js +1 -1
- package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.d.ts +4 -4
- package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.js +1 -1
- package/dist/flows/CreateCompany/components/CreateCompanyForm.d.ts +2 -2
- package/dist/flows/CreateCompany/components/CreateCompanyForm.js +1 -1
- package/dist/flows/CreateCompany/context.d.ts +4 -4
- package/dist/flows/CreateCompany/hooks.d.ts +4 -4
- package/dist/flows/CreateCompany/hooks.js +1 -1
- package/dist/flows/CreateCompany/index.d.ts +4 -4
- package/dist/flows/CreateCompany/index.js +1 -1
- package/dist/flows/CreateCompany/json-schemas/companyBasicInformationStep.d.ts +3 -0
- package/dist/flows/CreateCompany/json-schemas/companyBasicInformationStep.js +1 -1
- package/dist/flows/CreateCompany/types.d.ts +4 -4
- package/dist/flows/InvoiceSchedule/InvoiceScheduleFlow.d.ts +44 -0
- package/dist/flows/InvoiceSchedule/InvoiceScheduleFlow.js +2 -0
- package/dist/flows/InvoiceSchedule/InvoiceScheduleFlow.js.map +1 -0
- package/dist/flows/InvoiceSchedule/InvoiceScheduleForm.d.ts +35 -0
- package/dist/flows/InvoiceSchedule/InvoiceScheduleForm.js +2 -0
- package/dist/flows/InvoiceSchedule/InvoiceScheduleForm.js.map +1 -0
- package/dist/flows/InvoiceSchedule/InvoiceScheduleSubmitButton.d.ts +6 -0
- package/dist/flows/InvoiceSchedule/InvoiceScheduleSubmitButton.js +2 -0
- package/dist/flows/InvoiceSchedule/InvoiceScheduleSubmitButton.js.map +1 -0
- package/dist/flows/InvoiceSchedule/api.d.ts +47 -0
- package/dist/flows/InvoiceSchedule/api.js +2 -0
- package/dist/flows/InvoiceSchedule/api.js.map +1 -0
- package/dist/flows/InvoiceSchedule/components/ContractorSelectField.d.ts +20 -0
- package/dist/flows/InvoiceSchedule/components/ContractorSelectField.js +2 -0
- package/dist/flows/InvoiceSchedule/components/ContractorSelectField.js.map +1 -0
- package/dist/flows/InvoiceSchedule/context.d.ts +61 -0
- package/dist/flows/InvoiceSchedule/context.js +2 -0
- package/dist/flows/InvoiceSchedule/context.js.map +1 -0
- package/dist/flows/InvoiceSchedule/hooks.d.ts +108 -0
- package/dist/flows/InvoiceSchedule/hooks.js +2 -0
- package/dist/flows/InvoiceSchedule/hooks.js.map +1 -0
- package/dist/flows/InvoiceSchedule/index.d.ts +18 -0
- package/dist/flows/InvoiceSchedule/index.js +2 -0
- package/dist/flows/InvoiceSchedule/index.js.map +1 -0
- package/dist/flows/InvoiceSchedule/types.d.ts +78 -0
- package/dist/flows/InvoiceSchedule/types.js +1 -0
- package/dist/flows/InvoiceSchedule/types.js.map +1 -0
- package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundFlow.d.ts +3 -3
- package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundFlow.js +1 -1
- package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundForm.d.ts +2 -2
- package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundForm.js +1 -1
- package/dist/flows/JsonSchemaPlayground/context.d.ts +3 -3
- package/dist/flows/JsonSchemaPlayground/hooks.d.ts +3 -3
- package/dist/flows/JsonSchemaPlayground/index.d.ts +3 -3
- package/dist/flows/JsonSchemaPlayground/index.js +1 -1
- package/dist/flows/JsonSchemaPlayground/types.d.ts +3 -3
- package/dist/flows/Onboarding/OnboardingFlow.d.ts +4 -4
- package/dist/flows/Onboarding/OnboardingFlow.js +1 -1
- package/dist/flows/Onboarding/api.d.ts +4 -4
- 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/EmploymentAgreementInfoContent.js +1 -1
- package/dist/flows/Onboarding/components/EngagementAgreementDetailsStep.d.ts +4 -4
- package/dist/flows/Onboarding/components/EngagementAgreementDetailsStep.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/PreOnboardingRequirements.d.ts +4 -4
- package/dist/flows/Onboarding/components/PreOnboardingRequirements.js +1 -1
- package/dist/flows/Onboarding/components/PreviewEmploymentAgreementStep.js +1 -1
- package/dist/flows/Onboarding/components/ReviewStep.d.ts +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 +5 -5
- 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/PayrollAdminOnboarding/PayrollAdminOnboardingFlow.d.ts +5 -5
- package/dist/flows/PayrollAdminOnboarding/PayrollAdminOnboardingFlow.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/api.d.ts +2 -2
- package/dist/flows/PayrollAdminOnboarding/api.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/AdministrativeDetailsStep.d.ts +3 -3
- package/dist/flows/PayrollAdminOnboarding/components/AdministrativeDetailsStep.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/ContractDetailsStep.d.ts +3 -3
- package/dist/flows/PayrollAdminOnboarding/components/ContractDetailsStep.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/InvitationStep.d.ts +3 -3
- package/dist/flows/PayrollAdminOnboarding/components/InvitationStep.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/PayrollAdminForm.d.ts +2 -2
- package/dist/flows/PayrollAdminOnboarding/components/PayrollAdminForm.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/SelectCountryStep.d.ts +3 -3
- package/dist/flows/PayrollAdminOnboarding/components/SelectCountryStep.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/useStepSubmitHandler.d.ts +3 -3
- package/dist/flows/PayrollAdminOnboarding/context.d.ts +5 -5
- package/dist/flows/PayrollAdminOnboarding/hooks.d.ts +6 -6
- package/dist/flows/PayrollAdminOnboarding/hooks.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/index.d.ts +5 -5
- package/dist/flows/PayrollAdminOnboarding/index.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/types.d.ts +5 -5
- package/dist/flows/PayrollEmployeeOnboarding/PayrollEmployeeOnboardingFlow.d.ts +5 -5
- package/dist/flows/PayrollEmployeeOnboarding/PayrollEmployeeOnboardingFlow.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/api.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/api.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/BankAccountStep.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/components/BankAccountStep.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/FederalTaxesStep.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/components/FederalTaxesStep.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/HomeAddressStep.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/components/HomeAddressStep.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/PayrollEmployeeForm.d.ts +2 -2
- package/dist/flows/PayrollEmployeeOnboarding/components/PayrollEmployeeForm.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/PersonalDetailsStep.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/components/PersonalDetailsStep.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/StateTaxesStep.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/components/StateTaxesStep.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/useEmployeeStepSubmitHandler.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/context.d.ts +5 -5
- package/dist/flows/PayrollEmployeeOnboarding/hooks.d.ts +6 -6
- package/dist/flows/PayrollEmployeeOnboarding/hooks.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/index.d.ts +5 -5
- package/dist/flows/PayrollEmployeeOnboarding/index.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/types.d.ts +5 -5
- 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/AcknowledgeInformationFees.js +1 -1
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.d.ts +6 -6
- 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/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/additionalInformation.d.ts +3 -0
- package/dist/flows/Termination/json-schemas/additionalInformation.js +1 -1
- package/dist/flows/Termination/json-schemas/defaultSchema.d.ts +3 -0
- package/dist/flows/Termination/json-schemas/defaultSchema.js +1 -1
- package/dist/flows/Termination/json-schemas/employeeComunication.d.ts +3 -0
- package/dist/flows/Termination/json-schemas/employeeComunication.js +1 -1
- package/dist/flows/Termination/json-schemas/jsonSchema.d.ts +3 -0
- package/dist/flows/Termination/json-schemas/jsonSchema.js +1 -1
- package/dist/flows/Termination/json-schemas/paidTimeOff.d.ts +3 -0
- package/dist/flows/Termination/json-schemas/paidTimeOff.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/json-schemas/terminationDetails.d.ts +3 -0
- package/dist/flows/Termination/json-schemas/terminationDetails.js +1 -1
- package/dist/flows/Termination/types.d.ts +4 -4
- package/dist/flows/Termination/utils.d.ts +4 -4
- package/dist/flows/types.d.ts +3 -3
- package/dist/flows/utils.d.ts +2 -2
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +23 -15
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/internals.d.ts +4 -4
- package/dist/internals.js +1 -1
- package/dist/{mutations-DQjVuza-.d.ts → mutations-Dg60ZjS0.d.ts} +1 -1
- package/dist/{remoteFlows-B_JbhzWp.d.ts → remoteFlows-7WBvzlJt.d.ts} +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/dist/{types-B0iYt6RL.d.ts → types--IwjF9ei.d.ts} +68 -5
- package/dist/{types-Clzf4xjV.d.ts → types-1IycaCkN.d.ts} +4 -6
- package/dist/{types-D3U8Wi3X.d.ts → types-CI8Tx4se.d.ts} +3 -3
- package/dist/{types-B93nzmoE.d.ts → types-CJHW5xRl.d.ts} +1 -1
- package/dist/{types-1mH_uuoA.d.ts → types-CT7w2kHS.d.ts} +2 -2
- package/dist/{types-CdC2MYpf.d.ts → types-CgNwKzZf.d.ts} +4 -4
- package/dist/{types-BFzhRUSU.d.ts → types-DPlWZa2M.d.ts} +4 -4
- package/dist/{types-CoYsxVTI.d.ts → types-DmvLgred.d.ts} +1 -1
- package/dist/types.gen-Dtb8ECVb.d.ts +308 -0
- package/dist/{types.gen-BmtA4XNd.d.ts → types.gen-TcbORUL-.d.ts} +216 -17
- package/dist/{utils-DJgzqxq4.d.ts → utils-DSHROBN2.d.ts} +1 -1
- package/package.json +3 -3
- package/dist/CheckboxFieldDefault-JXNMWIRK.js +0 -2
- package/dist/CountryFieldDefault-SO4WS7KE.js +0 -2
- package/dist/DatePickerFieldDefault-AZHJN2U6.js +0 -2
- package/dist/FileUploadFieldDefault-K6PF6RP7.js +0 -2
- package/dist/ForcedValueFieldDefault-BEOC4MYU.js +0 -2
- package/dist/MultiSelectFieldDefault-QKXVTGF2.js +0 -2
- package/dist/RadioGroupFieldDefault-ZHHXDUUU.js +0 -2
- package/dist/SelectFieldDefault-FWQ7D6DU.js +0 -2
- package/dist/TelFieldDefault-RA7IBELJ.js +0 -2
- package/dist/TextAreaFieldDefault-NEFWXEE2.js +0 -2
- package/dist/TextFieldDefault-RXNU36AX.js +0 -2
- package/dist/TimeFieldDefault-KIJNBWYF.js +0 -2
- package/dist/chunk-7IIQUZTH.js +0 -2
- package/dist/chunk-DLIVHNTT.js +0 -2
- package/dist/chunk-DLIVHNTT.js.map +0 -1
- package/dist/chunk-FGYOG6XG.js +0 -2
- package/dist/chunk-FGYOG6XG.js.map +0 -1
- package/dist/chunk-HDFAFTHC.js +0 -2
- package/dist/chunk-HDFAFTHC.js.map +0 -1
- package/dist/chunk-ILX6RI7K.js +0 -2
- package/dist/chunk-IXS65MGJ.js +0 -2
- package/dist/chunk-IXS65MGJ.js.map +0 -1
- package/dist/chunk-KPDYUFCB.js +0 -2
- package/dist/chunk-NPVSJYM6.js +0 -2
- package/dist/chunk-NPVSJYM6.js.map +0 -1
- package/dist/chunk-QSBXRKYE.js +0 -2
- package/dist/chunk-UOJOO2DM.js +0 -2
- package/dist/chunk-UOJOO2DM.js.map +0 -1
- package/dist/chunk-VNMUML3T.js +0 -8
- package/dist/chunk-VNMUML3T.js.map +0 -1
- package/dist/chunk-XFD3ULUF.js +0 -2
- package/dist/chunk-XXQBX7ND.js +0 -2
- package/dist/chunk-XXQBX7ND.js.map +0 -1
- /package/dist/{CheckboxFieldDefault-JXNMWIRK.js.map → CheckboxFieldDefault-JOUZXB4Y.js.map} +0 -0
- /package/dist/{CountryFieldDefault-SO4WS7KE.js.map → CountryFieldDefault-IZQOFNX5.js.map} +0 -0
- /package/dist/{DatePickerFieldDefault-AZHJN2U6.js.map → DatePickerFieldDefault-AWV7LUPI.js.map} +0 -0
- /package/dist/{FileUploadFieldDefault-K6PF6RP7.js.map → FileUploadFieldDefault-NZ33IMPU.js.map} +0 -0
- /package/dist/{ForcedValueFieldDefault-BEOC4MYU.js.map → ForcedValueFieldDefault-RY5AN7O6.js.map} +0 -0
- /package/dist/{MultiSelectFieldDefault-QKXVTGF2.js.map → MultiSelectFieldDefault-DOZQUBEE.js.map} +0 -0
- /package/dist/{RadioGroupFieldDefault-ZHHXDUUU.js.map → RadioGroupFieldDefault-GFDO56LK.js.map} +0 -0
- /package/dist/{SelectFieldDefault-FWQ7D6DU.js.map → SelectFieldDefault-E4KFZBJ7.js.map} +0 -0
- /package/dist/{TelFieldDefault-RA7IBELJ.js.map → TelFieldDefault-2EPAKDTW.js.map} +0 -0
- /package/dist/{TextAreaFieldDefault-NEFWXEE2.js.map → TextAreaFieldDefault-WZIVM4RZ.js.map} +0 -0
- /package/dist/{TextFieldDefault-RXNU36AX.js.map → TextFieldDefault-YVXZO4AN.js.map} +0 -0
- /package/dist/{TimeFieldDefault-KIJNBWYF.js.map → TimeFieldDefault-JN4MDIO6.js.map} +0 -0
- /package/dist/{chunk-EQIWABAZ.js.map → chunk-2UH6Y56R.js.map} +0 -0
- /package/dist/{chunk-D737GUYZ.js.map → chunk-3G4HOZCM.js.map} +0 -0
- /package/dist/{chunk-G3KQCVQQ.js.map → chunk-3OKB5OHA.js.map} +0 -0
- /package/dist/{chunk-ANZ2YYUE.js.map → chunk-46BOEYFO.js.map} +0 -0
- /package/dist/{chunk-VYAJQ25J.js.map → chunk-4CNDASPA.js.map} +0 -0
- /package/dist/{chunk-QSF4XFSV.js.map → chunk-4IGLIHGF.js.map} +0 -0
- /package/dist/{chunk-WZOVZYNI.js.map → chunk-4WSYC3Q5.js.map} +0 -0
- /package/dist/{chunk-PYNHR7NL.js.map → chunk-53QBSOMG.js.map} +0 -0
- /package/dist/{chunk-3LELUHRO.js.map → chunk-5HDMU73I.js.map} +0 -0
- /package/dist/{chunk-JQ3SLOUP.js.map → chunk-5JXLXWTD.js.map} +0 -0
- /package/dist/{chunk-F3UUYQGY.js.map → chunk-5PUW4YCY.js.map} +0 -0
- /package/dist/{chunk-6IQJJCQ3.js.map → chunk-6CBC5OAQ.js.map} +0 -0
- /package/dist/{chunk-5FGYC2RF.js.map → chunk-7FKNXW2I.js.map} +0 -0
- /package/dist/{chunk-Z7VNXKWB.js.map → chunk-AAXPKULB.js.map} +0 -0
- /package/dist/{chunk-FDTOQHOJ.js.map → chunk-BB3M25A3.js.map} +0 -0
- /package/dist/{chunk-OTBCLDGR.js.map → chunk-BLKWR77C.js.map} +0 -0
- /package/dist/{chunk-5WTCN4WO.js.map → chunk-C7MVEDVY.js.map} +0 -0
- /package/dist/{chunk-WDPJIOLG.js.map → chunk-CCGAAOXN.js.map} +0 -0
- /package/dist/{chunk-EYZVDP6A.js.map → chunk-CD6H4MBI.js.map} +0 -0
- /package/dist/{chunk-4YFJOHSM.js.map → chunk-CONMRDRL.js.map} +0 -0
- /package/dist/{chunk-F2SGCGXL.js.map → chunk-CUO7OGD5.js.map} +0 -0
- /package/dist/{chunk-F3DZUA7W.js.map → chunk-D6PMXNBM.js.map} +0 -0
- /package/dist/{chunk-K67Q5476.js.map → chunk-DOPQK5RP.js.map} +0 -0
- /package/dist/{chunk-C5T75DEZ.js.map → chunk-DP6L72YF.js.map} +0 -0
- /package/dist/{chunk-ALHHN2LG.js.map → chunk-DYIMRD6T.js.map} +0 -0
- /package/dist/{chunk-5TOSVOLY.js.map → chunk-ED35NFA6.js.map} +0 -0
- /package/dist/{chunk-V3C32X6R.js.map → chunk-EMMFAZZC.js.map} +0 -0
- /package/dist/{chunk-3BQVEYHE.js.map → chunk-EVUTX6TJ.js.map} +0 -0
- /package/dist/{chunk-R2D32OB6.js.map → chunk-FSCAWXCB.js.map} +0 -0
- /package/dist/{chunk-7XDU2VWN.js.map → chunk-FV6NNYDP.js.map} +0 -0
- /package/dist/{chunk-JLM4O7ZW.js.map → chunk-G6EKGJBB.js.map} +0 -0
- /package/dist/{chunk-YUUUI4FY.js.map → chunk-G75LPZV5.js.map} +0 -0
- /package/dist/{chunk-3RQSRU7O.js.map → chunk-GE74QKS6.js.map} +0 -0
- /package/dist/{chunk-H5OZSXSY.js.map → chunk-GHZABLDV.js.map} +0 -0
- /package/dist/{chunk-BTZ57COZ.js.map → chunk-GTS7KFEM.js.map} +0 -0
- /package/dist/{chunk-WYIU74JN.js.map → chunk-H47XUL2L.js.map} +0 -0
- /package/dist/{chunk-VQRE3YLW.js.map → chunk-I4DU34BA.js.map} +0 -0
- /package/dist/{chunk-S2QXSX4Q.js.map → chunk-ILEO7LN4.js.map} +0 -0
- /package/dist/{chunk-7NDAFJXR.js.map → chunk-ILMRP364.js.map} +0 -0
- /package/dist/{chunk-J4CHUIPC.js.map → chunk-ITCWBZDM.js.map} +0 -0
- /package/dist/{chunk-PNNOU6BC.js.map → chunk-JI3PAIMV.js.map} +0 -0
- /package/dist/{chunk-WGDZTF7Y.js.map → chunk-JLZFNUBH.js.map} +0 -0
- /package/dist/{chunk-IUBHVGVV.js.map → chunk-JVXI4RZU.js.map} +0 -0
- /package/dist/{chunk-4Y2INBAI.js.map → chunk-KGNLBYM5.js.map} +0 -0
- /package/dist/{chunk-ORP6DY5I.js.map → chunk-L2YOD4GP.js.map} +0 -0
- /package/dist/{chunk-IAR6BWUY.js.map → chunk-LADLAP2S.js.map} +0 -0
- /package/dist/{chunk-QHJ3BYJN.js.map → chunk-LXGL7HF5.js.map} +0 -0
- /package/dist/{chunk-2LSLWFZS.js.map → chunk-MEYX4D5K.js.map} +0 -0
- /package/dist/{chunk-LCUYP6VW.js.map → chunk-MXAFJYLQ.js.map} +0 -0
- /package/dist/{chunk-UAEQLFPK.js.map → chunk-N7HCQXUM.js.map} +0 -0
- /package/dist/{chunk-QSBXRKYE.js.map → chunk-NAFECQWK.js.map} +0 -0
- /package/dist/{chunk-JRRPMAUO.js.map → chunk-NFWKD7UR.js.map} +0 -0
- /package/dist/{chunk-6S5Q2OKC.js.map → chunk-NTPHMYYC.js.map} +0 -0
- /package/dist/{chunk-POWC7LZN.js.map → chunk-OKBPMWVB.js.map} +0 -0
- /package/dist/{chunk-BWM2MYPE.js.map → chunk-OWOIDZHI.js.map} +0 -0
- /package/dist/{chunk-6IDUDCVS.js.map → chunk-P2WUHKEU.js.map} +0 -0
- /package/dist/{chunk-3LMZ3SOP.js.map → chunk-P6FFLJDP.js.map} +0 -0
- /package/dist/{chunk-MZK2U65W.js.map → chunk-PKJZ2N4C.js.map} +0 -0
- /package/dist/{chunk-CFPKRLGM.js.map → chunk-QFTBKRUI.js.map} +0 -0
- /package/dist/{chunk-ZQVVHVAG.js.map → chunk-R4ZUOFYN.js.map} +0 -0
- /package/dist/{chunk-TXOCMI5I.js.map → chunk-RFMYNPR7.js.map} +0 -0
- /package/dist/{chunk-2LR5N626.js.map → chunk-RYZ7TJVS.js.map} +0 -0
- /package/dist/{chunk-UU2IFOXR.js.map → chunk-RZL44CPH.js.map} +0 -0
- /package/dist/{chunk-C2HZNBMZ.js.map → chunk-SLRPDXK6.js.map} +0 -0
- /package/dist/{chunk-5MH23AST.js.map → chunk-STHZZZRL.js.map} +0 -0
- /package/dist/{chunk-CHIWBD6E.js.map → chunk-SUYI33NX.js.map} +0 -0
- /package/dist/{chunk-3VTHNE4H.js.map → chunk-SZI67IXU.js.map} +0 -0
- /package/dist/{chunk-QEHEOSJT.js.map → chunk-TJZ5BJV3.js.map} +0 -0
- /package/dist/{chunk-WHDUZGVW.js.map → chunk-TX6RWQUR.js.map} +0 -0
- /package/dist/{chunk-RKP7EEAB.js.map → chunk-UGQNOBQH.js.map} +0 -0
- /package/dist/{chunk-SUVBETJS.js.map → chunk-V3AVEPNA.js.map} +0 -0
- /package/dist/{chunk-KZ5ZQTBF.js.map → chunk-V6PPOGPT.js.map} +0 -0
- /package/dist/{chunk-XTLTKB3S.js.map → chunk-VRPZ4GHN.js.map} +0 -0
- /package/dist/{chunk-IRUWMZVH.js.map → chunk-VVZTXCX2.js.map} +0 -0
- /package/dist/{chunk-SNGQ2MKL.js.map → chunk-VYTUM3RI.js.map} +0 -0
- /package/dist/{chunk-FT4ZNBTA.js.map → chunk-WGO25FWG.js.map} +0 -0
- /package/dist/{chunk-TLJXBZII.js.map → chunk-WKWL57L6.js.map} +0 -0
- /package/dist/{chunk-5FJ64F6D.js.map → chunk-WVE2IOLY.js.map} +0 -0
- /package/dist/{chunk-LCUURLXS.js.map → chunk-XDLVDPQ7.js.map} +0 -0
- /package/dist/{chunk-WB52GW3H.js.map → chunk-XEVHXHHC.js.map} +0 -0
- /package/dist/{chunk-JMFCG5KA.js.map → chunk-XMIVJW5E.js.map} +0 -0
- /package/dist/{chunk-WH3QR2W5.js.map → chunk-XMVV6S77.js.map} +0 -0
- /package/dist/{chunk-A5XRBDDO.js.map → chunk-YHZZHQP5.js.map} +0 -0
- /package/dist/{chunk-PJTMFMRJ.js.map → chunk-YME2HZZJ.js.map} +0 -0
- /package/dist/{chunk-B3ESNTKY.js.map → chunk-Z7XLK4JL.js.map} +0 -0
- /package/dist/{chunk-5J7DLDLW.js.map → chunk-ZODT3MJM.js.map} +0 -0
- /package/dist/{chunk-6L77BWCI.js.map → chunk-ZOTKZZ67.js.map} +0 -0
- /package/dist/{chunk-BYTVIOOL.js.map → chunk-ZREW7KZA.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/flows/ContractorOnboarding/json-schemas/contractOrigin.ts"],"sourcesContent":["export const contractOriginSchema = {\n type: 'object',\n properties: {\n contract_origin: {\n description: '',\n oneOf: [\n {\n const: 'provided_by_remote',\n description:\n 'Create a new terms and conditions and statement of work. This should only be used if you do not have an agreement in place with a contractor or want to renegotiate an agreement.',\n title: 'Contractor services agreement',\n },\n {\n const: 'provided_by_customer',\n description: 'Use your own agreement outside Remote.',\n title: 'Without an agreement',\n },\n ],\n title: 'Contract options',\n type: 'string',\n 'x-jsf-presentation': {\n direction: 'column',\n inputType: 'radio',\n },\n },\n },\n required: ['contract_origin'],\n};\n"],"mappings":"AAAO,IAAMA,EAAuB,CAClC,KAAM,SACN,WAAY,CACV,gBAAiB,CACf,YAAa,GACb,MAAO,CACL,CACE,MAAO,qBACP,YACE,oLACF,MAAO,+BACT,EACA,CACE,MAAO,uBACP,YAAa,yCACb,MAAO,sBACT,CACF,EACA,MAAO,mBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,SACX,UAAW,OACb,CACF,CACF,EACA,SAAU,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"sources":["../src/flows/ContractorOnboarding/json-schemas/contractOrigin.ts"],"sourcesContent":["export const contractOriginSchema = {\n type: 'object',\n properties: {\n contract_origin: {\n description: '',\n oneOf: [\n {\n const: 'provided_by_remote',\n description:\n 'Create a new terms and conditions and statement of work. This should only be used if you do not have an agreement in place with a contractor or want to renegotiate an agreement.',\n title: 'Contractor services agreement',\n },\n {\n const: 'provided_by_customer',\n description: 'Use your own agreement outside Remote.',\n title: 'Without an agreement',\n },\n ],\n title: 'Contract options',\n type: 'string',\n 'x-jsf-presentation': {\n direction: 'column',\n inputType: 'radio',\n },\n },\n },\n required: ['contract_origin'],\n 'x-rmt-meta': {\n jsfVersion: '1',\n },\n};\n"],"mappings":"AAAO,IAAMA,EAAuB,CAClC,KAAM,SACN,WAAY,CACV,gBAAiB,CACf,YAAa,GACb,MAAO,CACL,CACE,MAAO,qBACP,YACE,oLACF,MAAO,+BACT,EACA,CACE,MAAO,uBACP,YAAa,yCACb,MAAO,sBACT,CACF,EACA,MAAO,mBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,SACX,UAAW,OACb,CACF,CACF,EACA,SAAU,CAAC,iBAAiB,EAC5B,aAAc,CACZ,WAAY,GACd,CACF","names":["contractOriginSchema"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as s}from"./chunk-H47XUL2L.js";import{b as e}from"./chunk-Q3ALCPJN.js";import{x as a}from"./chunk-C4HFMTSB.js";import{a as n}from"./chunk-P37U34EQ.js";import{jsx as S}from"react/jsx-runtime";function w({components:c,onSubmit:m,onSuccess:d,onError:p}){let{contractorOnboardingBag:r}=e(),u=n(async(i,l)=>{try{let t=await r.parseFormValues(i);await m?.(t);let o=await r.onSubmit(i);if(o?.data){await d?.(o.data),r?.next();return}}catch(t){let o=a(t,r.meta?.fields?.contract_origin,l);p?.(o)}},"handleSubmit"),g=r.stepState.values?.contract_origin||r.initialValues.contract_origin;return S(s,{components:c,defaultValues:g,onSubmit:u})}n(w,"ContractOriginStep");export{w as a};
|
|
2
|
+
//# sourceMappingURL=chunk-V3AVEPNA.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as _}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as _}from"./chunk-JLZFNUBH.js";import{a as c}from"./chunk-2QVO3BVI.js";import{j as i,k as p,l as a,n as s,o as F}from"./chunk-AUPAAQUT.js";import{a as n}from"./chunk-P37U34EQ.js";import{jsx as e,jsxs as d}from"react/jsx-runtime";function w({field:o,fieldState:C,fieldData:m}){let{name:t,label:r,description:l}=m;return d(i,{"data-field":t,className:`RemoteFlows__TimeField__Item__${t}`,children:[r&&e(p,{className:"RemoteFlows__TimeField__Label",children:r}),e(a,{children:e(c,{...o,type:"time",value:o.value??"",onChange:T=>{o.onChange(T)},className:"RemoteFlows__TimeField__Input",placeholder:r})}),(l||m.meta?.helpCenter)&&e(s,{className:"RemoteFlows__TimeField__Description",helpCenter:e(_,{helpCenter:m.meta?.helpCenter}),children:l}),C.error&&e(F,{className:"RemoteFlows__TimeField__Error"})]})}n(w,"TimeFieldDefault");export{w as a};
|
|
2
|
+
//# sourceMappingURL=chunk-V6PPOGPT.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={type:"object",properties:{contract_preview_header:{type:"null",title:"Sign contractor services agreement",description:"Before we can move forward, we'll need you to sign the contractor Service Agreement.","x-jsf-presentation":{inputType:"hidden",meta:{ignoreValue:!0}}},contract_preview_statement:{type:"null",title:"Review document here",description:"Preview or download the agreement before signing. Once signed, you\u2019ll be able to view the fully signed document under the contractor profile.","x-jsf-presentation":{inputType:"hidden",meta:{ignoreValue:!0}}},review_completed:{type:"boolean","x-jsf-presentation":{inputType:"hidden"},default:!1},signature:{type:"string","x-jsf-presentation":{inputType:"text"},title:"Enter full name",description:"By signing, you agree to this legally binding document and acknowledge the information within is accurate to the best of your knowledge. After you sign, this document will be sent to the recipient to collect their signature."}},required:["signature"]};export{e as a};
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
var e={type:"object",properties:{contract_preview_header:{type:"null",title:"Sign contractor services agreement",description:"Before we can move forward, we'll need you to sign the contractor Service Agreement.","x-jsf-presentation":{inputType:"hidden",meta:{ignoreValue:!0}}},contract_preview_statement:{type:"null",title:"Review document here",description:"Preview or download the agreement before signing. Once signed, you\u2019ll be able to view the fully signed document under the contractor profile.","x-jsf-presentation":{inputType:"hidden",meta:{ignoreValue:!0}}},review_completed:{type:"boolean","x-jsf-presentation":{inputType:"hidden"},default:!1},signature:{type:"string","x-jsf-presentation":{inputType:"text"},title:"Enter full name",description:"By signing, you agree to this legally binding document and acknowledge the information within is accurate to the best of your knowledge. After you sign, this document will be sent to the recipient to collect their signature."}},required:["signature"],"x-rmt-meta":{jsfVersion:"1"}};export{e as a};
|
|
2
|
+
//# sourceMappingURL=chunk-VDJJEIOD.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/flows/ContractorOnboarding/json-schemas/signature.ts"],"sourcesContent":["export const signatureSchema = {\n type: 'object',\n properties: {\n contract_preview_header: {\n type: 'null',\n title: 'Sign contractor services agreement',\n description:\n \"Before we can move forward, we'll need you to sign the contractor Service Agreement.\",\n 'x-jsf-presentation': {\n inputType: 'hidden',\n meta: {\n ignoreValue: true,\n },\n },\n },\n contract_preview_statement: {\n type: 'null',\n title: 'Review document here',\n description:\n 'Preview or download the agreement before signing. Once signed, you’ll be able to view the fully signed document under the contractor profile.',\n 'x-jsf-presentation': {\n inputType: 'hidden',\n meta: {\n ignoreValue: true,\n },\n },\n },\n review_completed: {\n type: 'boolean',\n 'x-jsf-presentation': {\n inputType: 'hidden',\n },\n default: false,\n },\n signature: {\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'text',\n },\n title: 'Enter full name',\n description:\n 'By signing, you agree to this legally binding document and acknowledge the information within is accurate to the best of your knowledge. After you sign, this document will be sent to the recipient to collect their signature.',\n },\n },\n required: ['signature'],\n};\n"],"mappings":"AAAO,IAAMA,EAAkB,CAC7B,KAAM,SACN,WAAY,CACV,wBAAyB,CACvB,KAAM,OACN,MAAO,qCACP,YACE,uFACF,qBAAsB,CACpB,UAAW,SACX,KAAM,CACJ,YAAa,EACf,CACF,CACF,EACA,2BAA4B,CAC1B,KAAM,OACN,MAAO,uBACP,YACE,qJACF,qBAAsB,CACpB,UAAW,SACX,KAAM,CACJ,YAAa,EACf,CACF,CACF,EACA,iBAAkB,CAChB,KAAM,UACN,qBAAsB,CACpB,UAAW,QACb,EACA,QAAS,EACX,EACA,UAAW,CACT,KAAM,SACN,qBAAsB,CACpB,UAAW,MACb,EACA,MAAO,kBACP,YACE,kOACJ,CACF,EACA,SAAU,CAAC,WAAW,
|
|
1
|
+
{"version":3,"sources":["../src/flows/ContractorOnboarding/json-schemas/signature.ts"],"sourcesContent":["export const signatureSchema = {\n type: 'object',\n properties: {\n contract_preview_header: {\n type: 'null',\n title: 'Sign contractor services agreement',\n description:\n \"Before we can move forward, we'll need you to sign the contractor Service Agreement.\",\n 'x-jsf-presentation': {\n inputType: 'hidden',\n meta: {\n ignoreValue: true,\n },\n },\n },\n contract_preview_statement: {\n type: 'null',\n title: 'Review document here',\n description:\n 'Preview or download the agreement before signing. Once signed, you’ll be able to view the fully signed document under the contractor profile.',\n 'x-jsf-presentation': {\n inputType: 'hidden',\n meta: {\n ignoreValue: true,\n },\n },\n },\n review_completed: {\n type: 'boolean',\n 'x-jsf-presentation': {\n inputType: 'hidden',\n },\n default: false,\n },\n signature: {\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'text',\n },\n title: 'Enter full name',\n description:\n 'By signing, you agree to this legally binding document and acknowledge the information within is accurate to the best of your knowledge. After you sign, this document will be sent to the recipient to collect their signature.',\n },\n },\n required: ['signature'],\n 'x-rmt-meta': {\n jsfVersion: '1',\n },\n};\n"],"mappings":"AAAO,IAAMA,EAAkB,CAC7B,KAAM,SACN,WAAY,CACV,wBAAyB,CACvB,KAAM,OACN,MAAO,qCACP,YACE,uFACF,qBAAsB,CACpB,UAAW,SACX,KAAM,CACJ,YAAa,EACf,CACF,CACF,EACA,2BAA4B,CAC1B,KAAM,OACN,MAAO,uBACP,YACE,qJACF,qBAAsB,CACpB,UAAW,SACX,KAAM,CACJ,YAAa,EACf,CACF,CACF,EACA,iBAAkB,CAChB,KAAM,UACN,qBAAsB,CACpB,UAAW,QACb,EACA,QAAS,EACX,EACA,UAAW,CACT,KAAM,SACN,qBAAsB,CACpB,UAAW,MACb,EACA,MAAO,kBACP,YACE,kOACJ,CACF,EACA,SAAU,CAAC,WAAW,EACtB,aAAc,CACZ,WAAY,GACd,CACF","names":["signatureSchema"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as s}from"./chunk-KVUKJU5U.js";import{a as i}from"./chunk-PKJZ2N4C.js";import{a as v}from"./chunk-BHHK7QQZ.js";import{a as B}from"./chunk-XEVHXHHC.js";import{a as l}from"./chunk-GE74QKS6.js";import{a as b}from"./chunk-EVUTX6TJ.js";import{a as n}from"./chunk-CW7CHRMN.js";import{a as f}from"./chunk-D6PMXNBM.js";import{a as c}from"./chunk-DB4JHJ3Z.js";import{a as C}from"./chunk-DDMXUBCN.js";import{a as p}from"./chunk-TX6RWQUR.js";import{a}from"./chunk-4WSYC3Q5.js";import{a as u}from"./chunk-GTS7KFEM.js";import{a as g}from"./chunk-V3AVEPNA.js";import{a as S}from"./chunk-FV6NNYDP.js";import{a as d}from"./chunk-SVVZOMLQ.js";import{a as e}from"./chunk-Q3ALCPJN.js";import{a as m}from"./chunk-25MUO3XP.js";import{a as o}from"./chunk-P37U34EQ.js";import{useId as D,useRef as V,useMemo as x}from"react";import{jsx as E}from"react/jsx-runtime";var j=o(({render:I,employmentId:O,externalId:w,countryCode:P,skipSteps:R,initialValues:h,options:k})=>{let F=D(),t=V(void 0),y=x(()=>({setValue:t}),[]),r=m({options:{...k,onContractReviewed:o(()=>{t.current&&t.current("review_completed",!0)},"onContractReviewed")},employmentId:O,externalId:w,countryCode:P,skipSteps:R,initialValues:h});return E(e.Provider,{value:{contractorOnboardingBag:r,formId:F,formRef:y},children:I({contractorOnboardingBag:r,components:{BasicInformationStep:a,SelectCountryStep:i,BackButton:n,SubmitButton:c,PricingPlanStep:p,EligibilityQuestionnaireStep:l,ContractOriginStep:g,InvoiceScheduleStep:b,CreateInvoiceScheduleStep:B,ContractDetailsStep:u,ContractPreviewStep:S,OnboardingInvite:f,ContractReviewButton:d,SaveDraftButton:s,SkipInvoiceScheduleButton:v,PreviewInvoiceButton:C}})})},"ContractorOnboardingFlow");export{j as a};
|
|
2
|
+
//# sourceMappingURL=chunk-VKUGCD5J.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/flows/ContractorOnboarding/ContractorOnboarding.tsx"],"sourcesContent":["import { UseFormSetValue } from 'react-hook-form';\nimport { useId, useRef, useMemo } from 'react';\nimport { OnboardingBack } from '@/src/flows/ContractorOnboarding/components/OnboardingBack';\nimport { SelectCountryStep } from '@/src/flows/ContractorOnboarding/components/SelectCountryStep';\nimport { ContractorOnboardingContext } from '@/src/flows/ContractorOnboarding/context';\nimport { useContractorOnboarding } from '@/src/flows/ContractorOnboarding/hooks';\nimport { ContractorOnboardingFlowProps } from '@/src/flows/ContractorOnboarding/types';\nimport { BasicInformationStep } from '@/src/flows/ContractorOnboarding/components/BasicInformationStep';\nimport { OnboardingSubmit } from '@/src/flows/ContractorOnboarding/components/OnboardingSubmit';\nimport { PricingPlanStep } from '@/src/flows/ContractorOnboarding/components/PricingPlan';\nimport { ContractDetailsStep } from '@/src/flows/ContractorOnboarding/components/ContractDetailsStep';\nimport { ContractPreviewStep } from '@/src/flows/ContractorOnboarding/components/ContractPreviewStep';\nimport { OnboardingInvite } from '@/src/flows/ContractorOnboarding/components/OnboardingInvite';\nimport { ContractReviewButton } from '@/src/flows/ContractorOnboarding/components/ContractReviewButton';\nimport { EligibilityQuestionnaireStep } from '@/src/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep';\nimport { SaveDraftButton } from '@/src/flows/ContractorOnboarding/components/SaveDraftButton';\nimport { SkipInvoiceScheduleButton } from '@/src/flows/ContractorOnboarding/components/SkipInvoiceScheduleButton';\nimport { PreviewInvoiceButton } from '@/src/flows/ContractorOnboarding/components/PreviewInvoiceButton';\nimport { ContractOriginStep } from '@/src/flows/ContractorOnboarding/components/ContractOriginStep';\nimport { InvoiceScheduleStep } from '@/src/flows/ContractorOnboarding/components/InvoiceScheduleStep';\nimport { CreateInvoiceScheduleStep } from '@/src/flows/ContractorOnboarding/components/CreateInvoiceScheduleStep';\n\nexport const ContractorOnboardingFlow = ({\n render,\n employmentId,\n externalId,\n countryCode,\n skipSteps,\n initialValues,\n options,\n}: ContractorOnboardingFlowProps) => {\n const formId = useId();\n // Store form's setValue method in ref to allow sibling components\n // to update form state directly (e.g., ContractReviewButton setting review_completed)\n const setValueRef = useRef<\n UseFormSetValue<Record<string, unknown>> | undefined\n >(undefined);\n const formRef = useMemo(() => ({ setValue: setValueRef }), []);\n\n const contractorOnboardingBag = useContractorOnboarding({\n options: {\n ...options,\n onContractReviewed: () => {\n // Sync with internal form when contract is marked as reviewed\n if (setValueRef.current) {\n setValueRef.current('review_completed', true);\n }\n },\n },\n employmentId,\n externalId,\n countryCode,\n skipSteps,\n initialValues,\n });\n\n return (\n <ContractorOnboardingContext.Provider\n value={{ contractorOnboardingBag, formId, formRef }}\n >\n {render({\n contractorOnboardingBag,\n components: {\n BasicInformationStep: BasicInformationStep,\n SelectCountryStep: SelectCountryStep,\n BackButton: OnboardingBack,\n SubmitButton: OnboardingSubmit,\n PricingPlanStep: PricingPlanStep,\n EligibilityQuestionnaireStep: EligibilityQuestionnaireStep,\n ContractOriginStep: ContractOriginStep,\n InvoiceScheduleStep: InvoiceScheduleStep,\n CreateInvoiceScheduleStep: CreateInvoiceScheduleStep,\n ContractDetailsStep: ContractDetailsStep,\n ContractPreviewStep: ContractPreviewStep,\n OnboardingInvite: OnboardingInvite,\n ContractReviewButton: ContractReviewButton,\n SaveDraftButton: SaveDraftButton,\n SkipInvoiceScheduleButton: SkipInvoiceScheduleButton,\n PreviewInvoiceButton: PreviewInvoiceButton,\n },\n })}\n </ContractorOnboardingContext.Provider>\n );\n};\n"],"mappings":"mvBACA,OAAS,SAAAA,EAAO,UAAAC,EAAQ,WAAAC,MAAe,QAwDnC,cAAAC,MAAA,oBAnCG,IAAMC,EAA2BC,EAAA,CAAC,CACvC,OAAAC,EACA,aAAAC,EACA,WAAAC,EACA,YAAAC,EACA,UAAAC,EACA,cAAAC,EACA,QAAAC,CACF,IAAqC,CACnC,IAAMC,EAASC,EAAM,EAGfC,EAAcC,EAElB,MAAS,EACLC,EAAUC,EAAQ,KAAO,CAAE,SAAUH,CAAY,GAAI,CAAC,CAAC,EAEvDI,EAA0BC,EAAwB,CACtD,QAAS,CACP,GAAGR,EACH,mBAAoBP,EAAA,IAAM,CAEpBU,EAAY,SACdA,EAAY,QAAQ,mBAAoB,EAAI,CAEhD,EALoB,qBAMtB,EACA,aAAAR,EACA,WAAAC,EACA,YAAAC,EACA,UAAAC,EACA,cAAAC,CACF,CAAC,EAED,OACER,EAACkB,EAA4B,SAA5B,CACC,MAAO,CAAE,wBAAAF,EAAyB,OAAAN,EAAQ,QAAAI,CAAQ,EAEjD,SAAAX,EAAO,CACN,wBAAAa,EACA,WAAY,CACV,qBAAsBG,EACtB,kBAAmBC,EACnB,WAAYC,EACZ,aAAcC,EACd,gBAAiBC,EACjB,6BAA8BC,EAC9B,mBAAoBC,EACpB,oBAAqBC,EACrB,0BAA2BC,EAC3B,oBAAqBC,EACrB,oBAAqBC,EACrB,iBAAkBC,EAClB,qBAAsBC,EACtB,gBAAiBC,EACjB,0BAA2BC,EAC3B,qBAAsBC,CACxB,CACF,CAAC,EACH,CAEJ,EA7DwC","names":["useId","useRef","useMemo","jsx","ContractorOnboardingFlow","__name","render","employmentId","externalId","countryCode","skipSteps","initialValues","options","formId","useId","setValueRef","useRef","formRef","useMemo","contractorOnboardingBag","useContractorOnboarding","ContractorOnboardingContext","BasicInformationStep","SelectCountryStep","OnboardingBack","OnboardingSubmit","PricingPlanStep","EligibilityQuestionnaireStep","ContractOriginStep","InvoiceScheduleStep","CreateInvoiceScheduleStep","ContractDetailsStep","ContractPreviewStep","OnboardingInvite","ContractReviewButton","SaveDraftButton","SkipInvoiceScheduleButton","PreviewInvoiceButton"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as c}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as c}from"./chunk-JLZFNUBH.js";import{a as _}from"./chunk-FB3PEQTO.js";import{j as a,k as i,l as s,n,o as F}from"./chunk-AUPAAQUT.js";import{n as p}from"./chunk-C4HFMTSB.js";import{a as t}from"./chunk-P37U34EQ.js";import{jsx as e,jsxs as U}from"react/jsx-runtime";function R({field:l,fieldState:C,fieldData:o}){let{name:r,label:d,description:m,multiple:f,accept:u}=o;return U(a,{"data-field":r,className:`RemoteFlows__FileUpload__Item__${r}`,children:[e(i,{className:"RemoteFlows__FileUpload__Label",children:d}),e(s,{children:e(_,{onChange:l.onChange,multiple:f,className:p("RemoteFlows__FileUpload__Input"),accept:u,files:l.value})}),(m||o.meta?.helpCenter)&&e("div",{className:"flex items-center justify-between",children:e(n,{className:"RemoteFlows__FileUpload__Description",helpCenter:e(c,{helpCenter:o.meta?.helpCenter}),children:m})}),C.error&&e(F,{className:"RemoteFlows__FileUpload__Error"})]})}t(R,"FileUploadFieldDefault");export{R as a};
|
|
2
|
+
//# sourceMappingURL=chunk-VRPZ4GHN.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as i,c as m,d as s,e as f}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as i,c as m,d as s,e as f}from"./chunk-LADLAP2S.js";import{a as n}from"./chunk-NW3D7CPK.js";import{a}from"./chunk-P37U34EQ.js";import{useState as O}from"react";var B=a(({proposedTerminationDate:e,employeeName:y,employmentId:o,employment:r,render:d})=>{let[t,u]=O(!1),l=m({employmentId:o}),p=n(e).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}),c=i({employmentId:o,options:{enabled:t}}),D=s({employmentId:o,date:e}),P=f({employmentId:o,proposedTerminationDate:e,employment:r});return d({leavePoliciesSummaryQuery:l,timeoffQuery:c||{data:{bookedDays:0,timeoffs:[]}},bookedTimeBeforeAndAfterTerminationQuery:D,formattedProposedTerminationDate:p,employeeName:y,proposedTerminationDate:e,summaryData:P??{data:{entitledDays:"0 days",bookedDays:"0 days",usedDays:"0 days",approvedDaysBeforeTermination:"0 days",approvedDaysAfterTermination:"0 days",remainingDays:"0 days",isUnlimitedPto:!1},isLoading:!1,isError:!1,error:null},employment:r,open:t,onOpenChange:a(()=>{u(T=>!T)},"onOpenChange")})},"PaidTimeOffContainer");export{B as a};
|
|
2
|
+
//# sourceMappingURL=chunk-VVZTXCX2.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as t}from"./chunk-XMVV6S77.js";import{b as o}from"./chunk-PGWKJ6FK.js";import{a as n}from"./chunk-P37U34EQ.js";import{jsx as r}from"react/jsx-runtime";function u(){let{onboardingBag:e}=o();return r(t,{defaultValues:{},onSubmit:n(async()=>{e?.next()},"handleSubmit")})}n(u,"PreviewEmploymentAgreementStep");export{u as a};
|
|
2
|
+
//# sourceMappingURL=chunk-VYTUM3RI.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as n}from"./chunk-53QBSOMG.js";import{b as i}from"./chunk-76ZDXC2T.js";import{x as a}from"./chunk-C4HFMTSB.js";import{a as o}from"./chunk-P37U34EQ.js";import{jsx as c}from"react/jsx-runtime";function C({onSubmit:m,onSuccess:l,onError:t}){let{createCompanyBag:e}=i(),p=o(async d=>{try{await m?.(d);let r=await e.onSubmit(d);if(r?.data){await l?.(r?.data);return}if(r?.error){let s=a(r,e.meta?.fields?.address_details);t?.(s)}}catch(r){let s=a(r,e.meta?.fields?.address_details);t?.(s)}},"handleSubmit"),u=e.stepState.values?.address_details||e.initialValues.address_details;return c(n,{defaultValues:u,onSubmit:p})}o(C,"AddressDetailsStep");export{C as a};
|
|
2
|
+
//# sourceMappingURL=chunk-WGO25FWG.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as n}from"./chunk-XDLVDPQ7.js";import{b as e}from"./chunk-MRYRNB7Y.js";import{a as r}from"./chunk-P37U34EQ.js";import{jsx as u}from"react/jsx-runtime";function F({onSubmit:t,onSuccess:s,onError:m}){let{terminationBag:o}=e(),d=r(async a=>{let l=await o?.parseFormValues(a,!0);await t?.(l);let i=await o?.onSubmit(a);i?.error?m?.(i.rawError):i?.data&&await s?.(i.data)},"handleSubmit");return u(n,{defaultValues:o.fieldValues,fields:o?.fields,onSubmit:d})}r(F,"AdditionalDetailsForm");export{F as a};
|
|
2
|
+
//# sourceMappingURL=chunk-WKWL57L6.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{b as L}from"./chunk-UWHJF45X.js";import{a as P}from"./chunk-U4H7URYB.js";import{a as h,b,c as S,d as v,e as w,g as N}from"./chunk-ROO2IFBF.js";import{a as y,b as x,c as I}from"./chunk-B3MEKP45.js";import{j as C,k as f,l as _,n as g,o as F}from"./chunk-AUPAAQUT.js";import{n as i}from"./chunk-C4HFMTSB.js";import{a as u}from"./chunk-P37U34EQ.js";import{useMemo as J,useState as n}from"react";import{CheckIcon as j,ChevronDownIcon as A}from"lucide-react";import{jsx as o,jsxs as t}from"react/jsx-runtime";var B=300;function Z({value:s,setValue:R,label:a,description:c,name:l}){let[d,p]=n(!1),[D,E]=n(""),[k,z]=n(""),T=P(async e=>{z(e)},B),{data:r,isFetching:M}=L({search:k}),m=J(()=>r?.contractors??[],[r]),[O,$]=n(null),G=m.find(e=>e.id===s)?.fullName??O??a;return t(C,{"data-field":l,className:`RemoteFlows__ContractorSelectField__Item__${l}`,children:[o(f,{className:"RemoteFlows__ContractorSelectField__Label",children:a}),o(_,{children:t(y,{open:d,onOpenChange:p,children:[t(x,{type:"button",role:"combobox","aria-expanded":d,"aria-label":a,"data-testid":l,className:i("border-input aria-invalid:ring-destructive/20 aria-invalid:border-destructive relative flex w-full items-center justify-between rounded-xl border bg-transparent px-4 py-7 text-sm whitespace-nowrap transition-[color] outline-none disabled:cursor-not-allowed disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","focus-visible:border-focused","RemoteFlows__ContractorSelectField__Trigger"),children:[o("span",{className:i("line-clamp-1 text-left",s?"font-medium":"text-muted-foreground RemoteFlows__ContractorSelectField__Placeholder"),children:G}),o(A,{className:"size-4 opacity-50"})]}),o(I,{align:"start",className:"w-(--radix-popover-trigger-width) p-0 RemoteFlows__ContractorSelectField__Content",children:t(h,{shouldFilter:!1,children:[o(b,{placeholder:"Search contractors\u2026",value:D,onValueChange:e=>{E(e),T(e)}}),t(S,{children:[o(v,{children:M?"Searching\u2026":"No contractors found."}),o(w,{children:m.map(e=>o(N,{value:e.id,className:"RemoteFlows__ContractorSelectField__Item",onSelect:()=>{R(e.id),$(e.fullName),p(!1)},children:t("span",{className:"flex w-full items-center justify-between gap-2",children:[e.fullName,e.id===s&&o(j,{className:"size-4 shrink-0"})]})},e.id))})]})]})})]})}),c&&t(g,{children:[c,r?.isTruncated?` Showing ${m.length} of ${r.totalCount}; type to narrow the list.`:""]}),o(F,{})]})}u(Z,"ContractorSelectField");export{Z as a};
|
|
2
|
+
//# sourceMappingURL=chunk-WRTUY6K3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/flows/InvoiceSchedule/components/ContractorSelectField.tsx"],"sourcesContent":["import { useMemo, useState } from 'react';\nimport { CheckIcon, ChevronDownIcon } from 'lucide-react';\nimport {\n FormControl,\n FormDescription,\n FormItem,\n FormLabel,\n FormMessage,\n} from '@/src/components/ui/form';\nimport {\n Command,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n} from '@/src/components/ui/command';\nimport {\n Popover,\n PopoverContent,\n PopoverTrigger,\n} from '@/src/components/ui/popover';\nimport { useDebounce } from '@/src/common/hooks';\nimport { useContractors } from '@/src/flows/InvoiceSchedule/api';\nimport { cn } from '@/src/lib/utils';\nimport { JSFCustomComponentProps } from '@/src/types/remoteFlows';\n\nconst SEARCH_DEBOUNCE_MS = 300;\n\n/**\n * Searchable contractor picker for the standalone invoice-schedule screen.\n *\n * A plain select would need every contractor loaded up front, which does not scale for the\n * companies that need this screen most. This queries `GET /v1/employments?name=` as the user\n * types instead — matched per word, ignoring case and accents — so the list stays small.\n *\n * Filtering is left to the API (`shouldFilter={false}`): cmdk's own client-side filter would\n * otherwise re-filter the already-filtered results against the raw input and hide valid\n * matches, since the API matches each word independently while cmdk matches the whole string.\n */\nexport function ContractorSelectField({\n value,\n setValue,\n label,\n description,\n name,\n}: JSFCustomComponentProps) {\n const [open, setOpen] = useState(false);\n const [search, setSearch] = useState('');\n const [debouncedSearch, setDebouncedSearch] = useState('');\n\n const onSearchChange = useDebounce(async (next: string) => {\n setDebouncedSearch(next);\n }, SEARCH_DEBOUNCE_MS);\n\n const { data, isFetching } = useContractors({ search: debouncedSearch });\n\n const contractors = useMemo(() => data?.contractors ?? [], [data]);\n\n // Keep the chosen contractor's name visible on the trigger even once the search that\n // surfaced them has been narrowed away.\n const [selectedLabel, setSelectedLabel] = useState<string | null>(null);\n const selected = contractors.find((c) => c.id === value);\n const triggerLabel = selected?.fullName ?? selectedLabel ?? label;\n\n return (\n <FormItem\n data-field={name}\n className={`RemoteFlows__ContractorSelectField__Item__${name}`}\n >\n <FormLabel className='RemoteFlows__ContractorSelectField__Label'>\n {label}\n </FormLabel>\n <FormControl>\n <Popover open={open} onOpenChange={setOpen}>\n {/* PopoverTrigger ships unstyled, so it borrows SelectTrigger's classes verbatim\n to sit flush with the other inputs on the form. */}\n <PopoverTrigger\n type='button'\n role='combobox'\n aria-expanded={open}\n aria-label={label}\n data-testid={name}\n className={cn(\n \"border-input aria-invalid:ring-destructive/20 aria-invalid:border-destructive relative flex w-full items-center justify-between rounded-xl border bg-transparent px-4 py-7 text-sm whitespace-nowrap transition-[color] outline-none disabled:cursor-not-allowed disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n 'focus-visible:border-focused',\n 'RemoteFlows__ContractorSelectField__Trigger',\n )}\n >\n <span\n className={cn(\n 'line-clamp-1 text-left',\n // A chosen contractor reads as a value; the untouched field reads as a\n // placeholder, matching how the other selects distinguish the two.\n value\n ? 'font-medium'\n : 'text-muted-foreground RemoteFlows__ContractorSelectField__Placeholder',\n )}\n >\n {triggerLabel}\n </span>\n <ChevronDownIcon className='size-4 opacity-50' />\n </PopoverTrigger>\n <PopoverContent\n align='start'\n className='w-(--radix-popover-trigger-width) p-0 RemoteFlows__ContractorSelectField__Content'\n >\n <Command shouldFilter={false}>\n <CommandInput\n placeholder='Search contractors…'\n value={search}\n onValueChange={(next: string) => {\n setSearch(next);\n onSearchChange(next);\n }}\n />\n <CommandList>\n <CommandEmpty>\n {isFetching ? 'Searching…' : 'No contractors found.'}\n </CommandEmpty>\n <CommandGroup>\n {contractors.map((contractor) => (\n <CommandItem\n key={contractor.id}\n value={contractor.id}\n className='RemoteFlows__ContractorSelectField__Item'\n onSelect={() => {\n setValue(contractor.id);\n setSelectedLabel(contractor.fullName);\n setOpen(false);\n }}\n >\n <span className='flex w-full items-center justify-between gap-2'>\n {contractor.fullName}\n {contractor.id === value && (\n <CheckIcon className='size-4 shrink-0' />\n )}\n </span>\n </CommandItem>\n ))}\n </CommandGroup>\n </CommandList>\n </Command>\n </PopoverContent>\n </Popover>\n </FormControl>\n {description && (\n <FormDescription>\n {description}\n {data?.isTruncated\n ? ` Showing ${contractors.length} of ${data.totalCount}; type to narrow the list.`\n : ''}\n </FormDescription>\n )}\n <FormMessage />\n </FormItem>\n );\n}\n"],"mappings":"gWAAA,OAAS,WAAAA,EAAS,YAAAC,MAAgB,QAClC,OAAS,aAAAC,EAAW,mBAAAC,MAAuB,eAqErC,cAAAC,EAOI,QAAAC,MAPJ,oBA3CN,IAAMC,EAAqB,IAapB,SAASC,EAAsB,CACpC,MAAAC,EACA,SAAAC,EACA,MAAAC,EACA,YAAAC,EACA,KAAAC,CACF,EAA4B,CAC1B,GAAM,CAACC,EAAMC,CAAO,EAAIC,EAAS,EAAK,EAChC,CAACC,EAAQC,CAAS,EAAIF,EAAS,EAAE,EACjC,CAACG,EAAiBC,CAAkB,EAAIJ,EAAS,EAAE,EAEnDK,EAAiBC,EAAY,MAAOC,GAAiB,CACzDH,EAAmBG,CAAI,CACzB,EAAGhB,CAAkB,EAEf,CAAE,KAAAiB,EAAM,WAAAC,CAAW,EAAIC,EAAe,CAAE,OAAQP,CAAgB,CAAC,EAEjEQ,EAAcC,EAAQ,IAAMJ,GAAM,aAAe,CAAC,EAAG,CAACA,CAAI,CAAC,EAI3D,CAACK,EAAeC,CAAgB,EAAId,EAAwB,IAAI,EAEhEe,EADWJ,EAAY,KAAMK,GAAMA,EAAE,KAAOvB,CAAK,GACxB,UAAYoB,GAAiBlB,EAE5D,OACEL,EAAC2B,EAAA,CACC,aAAYpB,EACZ,UAAW,6CAA6CA,CAAI,GAE5D,UAAAR,EAAC6B,EAAA,CAAU,UAAU,4CAClB,SAAAvB,EACH,EACAN,EAAC8B,EAAA,CACC,SAAA7B,EAAC8B,EAAA,CAAQ,KAAMtB,EAAM,aAAcC,EAGjC,UAAAT,EAAC+B,EAAA,CACC,KAAK,SACL,KAAK,WACL,gBAAevB,EACf,aAAYH,EACZ,cAAaE,EACb,UAAWyB,EACT,yWACA,+BACA,6CACF,EAEA,UAAAjC,EAAC,QACC,UAAWiC,EACT,yBAGA7B,EACI,cACA,uEACN,EAEC,SAAAsB,EACH,EACA1B,EAACkC,EAAA,CAAgB,UAAU,oBAAoB,GACjD,EACAlC,EAACmC,EAAA,CACC,MAAM,QACN,UAAU,oFAEV,SAAAlC,EAACmC,EAAA,CAAQ,aAAc,GACrB,UAAApC,EAACqC,EAAA,CACC,YAAY,2BACZ,MAAOzB,EACP,cAAgBM,GAAiB,CAC/BL,EAAUK,CAAI,EACdF,EAAeE,CAAI,CACrB,EACF,EACAjB,EAACqC,EAAA,CACC,UAAAtC,EAACuC,EAAA,CACE,SAAAnB,EAAa,kBAAe,wBAC/B,EACApB,EAACwC,EAAA,CACE,SAAAlB,EAAY,IAAKmB,GAChBzC,EAAC0C,EAAA,CAEC,MAAOD,EAAW,GAClB,UAAU,2CACV,SAAU,IAAM,CACdpC,EAASoC,EAAW,EAAE,EACtBhB,EAAiBgB,EAAW,QAAQ,EACpC/B,EAAQ,EAAK,CACf,EAEA,SAAAT,EAAC,QAAK,UAAU,iDACb,UAAAwC,EAAW,SACXA,EAAW,KAAOrC,GACjBJ,EAAC2C,EAAA,CAAU,UAAU,kBAAkB,GAE3C,GAdKF,EAAW,EAelB,CACD,EACH,GACF,GACF,EACF,GACF,EACF,EACClC,GACCN,EAAC2C,EAAA,CACE,UAAArC,EACAY,GAAM,YACH,YAAYG,EAAY,MAAM,OAAOH,EAAK,UAAU,6BACpD,IACN,EAEFnB,EAAC6C,EAAA,EAAY,GACf,CAEJ,CArHgBC,EAAA3C,EAAA","names":["useMemo","useState","CheckIcon","ChevronDownIcon","jsx","jsxs","SEARCH_DEBOUNCE_MS","ContractorSelectField","value","setValue","label","description","name","open","setOpen","useState","search","setSearch","debouncedSearch","setDebouncedSearch","onSearchChange","useDebounce","next","data","isFetching","useContractors","contractors","useMemo","selectedLabel","setSelectedLabel","triggerLabel","c","FormItem","FormLabel","FormControl","Popover","PopoverTrigger","cn","ChevronDownIcon","PopoverContent","Command","CommandInput","CommandList","CommandEmpty","CommandGroup","contractor","CommandItem","CheckIcon","FormDescription","FormMessage","__name"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as m}from"./chunk-DOPQK5RP.js";import{a}from"./chunk-P6FFLJDP.js";import{a as i}from"./chunk-Z4Q2UO2Y.js";import{a as y}from"./chunk-WSRH5UQP.js";import{a as p}from"./chunk-NFWKD7UR.js";import{a as n}from"./chunk-ZODT3MJM.js";import{a as l}from"./chunk-QFTBKRUI.js";import{a as t}from"./chunk-SS2SYDCB.js";import{a as e}from"./chunk-Z7XLK4JL.js";import{a as r}from"./chunk-P37U34EQ.js";import{useId as u}from"react";import{jsx as E}from"react/jsx-runtime";var I=r(({employmentId:s,countryCode:d,jurisdiction:f,initialValues:P,options:b,render:g})=>{let c=u(),o=e({employmentId:s,countryCode:d,jurisdiction:f,initialValues:P,options:b});return E(t.Provider,{value:{formId:c,employeeBag:o},children:g({employeeBag:o,components:{PersonalDetailsStep:m,HomeAddressStep:l,BankAccountStep:p,FederalTaxesStep:n,StateTaxesStep:a,SubmitButton:i,BackButton:y}})})},"PayrollEmployeeOnboardingFlow");export{I as a};
|
|
2
|
+
//# sourceMappingURL=chunk-WVE2IOLY.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as l}from"./chunk-MRYRNB7Y.js";import{a as n}from"./chunk-UZFEJMO6.js";import{a as t}from"./chunk-I4DU34BA.js";import{h as a}from"./chunk-AUPAAQUT.js";import{a as r}from"./chunk-P37U34EQ.js";import{jsx as e}from"react/jsx-runtime";function S({defaultValues:s,fields:i,onSubmit:d}){let{formId:F,terminationBag:o}=l(),m=n({handleValidation:o.handleValidation,defaultValues:s,checkFieldUpdates:o.checkFieldUpdates}),u=i||(o?.fields??[]);return e(a,{...m,children:e("form",{id:F,onSubmit:m.handleSubmit(d),className:"space-y-4 RemoteFlows__TerminationForm",children:e(t,{fields:u})})})}r(S,"TerminationForm");export{S as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XDLVDPQ7.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as s}from"./chunk-H47XUL2L.js";import{b as a}from"./chunk-Q3ALCPJN.js";import{x as i}from"./chunk-C4HFMTSB.js";import{a as t}from"./chunk-P37U34EQ.js";import{jsx as f}from"react/jsx-runtime";function h({components:c,onSubmit:d,onSuccess:m,onError:u}){let{contractorOnboardingBag:r}=a(),l=t(async(n,S)=>{try{let o=await r.parseFormValues(n);await d?.(o);let e=await r.onSubmit(n);if(e?.data){await m?.(e.data),r?.next();return}}catch(o){let e=i(o,r.meta?.fields?.create_invoice_schedule,S);u?.(e)}},"handleSubmit"),p=r.stepState.values?.create_invoice_schedule||r.initialValues.create_invoice_schedule;return f(s,{components:c,defaultValues:p,onSubmit:l})}t(h,"CreateInvoiceScheduleStep");export{h as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XEVHXHHC.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as e}from"./chunk-ED35NFA6.js";import{a as n}from"./chunk-P37U34EQ.js";import{jsx as o,jsxs as t}from"react/jsx-runtime";var a=n(({involuntaryOffboardingServiceChargeZendeskId:r,reconciliationInvoiceZendeskId:i})=>t("p",{className:"RemoteFlows__AcknowledgeInformationFees text-xs text-[#71717A]",children:["You'll receive an"," ",o(e,{zendeskId:r,className:"align-baseline",children:"involuntary offboarding service charge \u2197"})," ","on your"," ",o(e,{zendeskId:i,children:"reconciliation invoice \u2197"})]}),"AcknowledgeInformationFees");export{a};
|
|
2
|
+
//# sourceMappingURL=chunk-XMIVJW5E.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as f}from"./chunk-PGWKJ6FK.js";import{a as l}from"./chunk-UZFEJMO6.js";import{a as d}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as f}from"./chunk-PGWKJ6FK.js";import{a as l}from"./chunk-UZFEJMO6.js";import{a as d}from"./chunk-I4DU34BA.js";import{h as m}from"./chunk-AUPAAQUT.js";import{c as s}from"./chunk-C4HFMTSB.js";import{a as t}from"./chunk-P37U34EQ.js";import{useEffect as k}from"react";import{jsx as c}from"react/jsx-runtime";import{createElement as w}from"react";function R({defaultValues:p,onSubmit:F,components:u}){let{formId:S,onboardingBag:e}=f(),r=l({handleValidation:e.handleValidation,defaultValues:p,checkFieldUpdates:e.checkFieldUpdates});k(()=>{e.employmentId&&e?.checkFieldUpdates(r.getValues())},[]);let g=t(async(a,y)=>{let n=y?.nativeEvent;if(n?.isDraftSubmission){let{onSuccess:E,onError:i}=n.draftCallbacks;try{let o=await e.onSubmit(a);if(o?.data)E?.();else if(o?.error){let b=e.stepState.currentStep.name,h=e.meta?.fields?.[b],P=s(o?.fieldErrors||[],h);i?.({error:o.error,rawError:o.rawError,fieldErrors:P})}}catch(o){i?.({error:o,rawError:o,fieldErrors:[]})}}else await F(a)},"handleSubmit");return w(m,{...r,key:`form-${e.stepState.currentStep.name}`},c("form",{id:S,onSubmit:r.handleSubmit(g),className:"space-y-4 RemoteFlows__OnboardingForm",children:c(d,{components:u,fields:e.fields,fieldsets:e.meta.fieldsets,fieldValues:e.fieldValues})}))}t(R,"OnboardingForm");export{R as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XMVV6S77.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={data:{version:7,schema:{additionalProperties:!1,properties:{subscription:{title:"Payment terms",type:"string",oneOf:[],"x-jsf-presentation":{inputType:"radio"}}},required:["subscription"],type:"object","x-jsf-order":["subscription"]}}};export{e as a};
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
var e={data:{version:7,schema:{additionalProperties:!1,properties:{subscription:{title:"Payment terms",type:"string",oneOf:[],"x-jsf-presentation":{inputType:"radio"}}},required:["subscription"],type:"object","x-jsf-order":["subscription"],"x-rmt-meta":{jsfVersion:"1"}}}};export{e as a};
|
|
2
|
+
//# sourceMappingURL=chunk-Y2NCUO3F.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/flows/ContractorOnboarding/json-schemas/selectContractorSubscriptionStep.ts"],"sourcesContent":["export const selectContractorSubscriptionStepSchema = {\n data: {\n version: 7,\n schema: {\n additionalProperties: false,\n properties: {\n subscription: {\n title: 'Payment terms',\n type: 'string',\n oneOf: [],\n 'x-jsf-presentation': {\n inputType: 'radio',\n },\n },\n },\n required: ['subscription'],\n type: 'object',\n 'x-jsf-order': ['subscription'],\n },\n },\n};\n"],"mappings":"AAAO,IAAMA,EAAyC,CACpD,KAAM,CACJ,QAAS,EACT,OAAQ,CACN,qBAAsB,GACtB,WAAY,CACV,aAAc,CACZ,MAAO,gBACP,KAAM,SACN,MAAO,CAAC,EACR,qBAAsB,CACpB,UAAW,OACb,CACF,CACF,EACA,SAAU,CAAC,cAAc,EACzB,KAAM,SACN,cAAe,CAAC,cAAc,
|
|
1
|
+
{"version":3,"sources":["../src/flows/ContractorOnboarding/json-schemas/selectContractorSubscriptionStep.ts"],"sourcesContent":["export const selectContractorSubscriptionStepSchema = {\n data: {\n version: 7,\n schema: {\n additionalProperties: false,\n properties: {\n subscription: {\n title: 'Payment terms',\n type: 'string',\n oneOf: [],\n 'x-jsf-presentation': {\n inputType: 'radio',\n },\n },\n },\n required: ['subscription'],\n type: 'object',\n 'x-jsf-order': ['subscription'],\n 'x-rmt-meta': {\n jsfVersion: '1',\n },\n },\n },\n};\n"],"mappings":"AAAO,IAAMA,EAAyC,CACpD,KAAM,CACJ,QAAS,EACT,OAAQ,CACN,qBAAsB,GACtB,WAAY,CACV,aAAc,CACZ,MAAO,gBACP,KAAM,SACN,MAAO,CAAC,EACR,qBAAsB,CACpB,UAAW,OACb,CACF,CACF,EACA,SAAU,CAAC,cAAc,EACzB,KAAM,SACN,cAAe,CAAC,cAAc,EAC9B,aAAc,CACZ,WAAY,GACd,CACF,CACF,CACF","names":["selectContractorSubscriptionStepSchema"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as d,d as S}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{c as d,d as S}from"./chunk-ITCWBZDM.js";import{a as u}from"./chunk-HN5HLFTB.js";import{a as f}from"./chunk-KSHK3ZPX.js";import{b as C}from"./chunk-KFYWUBRS.js";import{f as y}from"./chunk-AUPAAQUT.js";import{a as o}from"./chunk-P37U34EQ.js";import{useEffect as T,useId as U,useState as I}from"react";import{jsx as k}from"react/jsx-runtime";var l=o((n,e,r)=>r&&r[e]?r[e]:n[e]?n[e]/100:0,"getDefaultManagementFee"),A=o((n,e,r,g)=>!e&&!r?.management_fee&&n?l(u,n,g):e&&!r?.management_fee?"":r?.management_fee,"getManagementFee"),W=o(({estimationOptions:n=d,defaultValues:e={countryRegionSlug:"",regionSlug:"",currencySlug:"",salary:"",benefits:{},management:{management_fee:""}},options:r,render:g,version:_="standard"})=>{let p=U(),[R,m]=I("USD"),F=o(s=>{m(s);let a=l(u,s,n.managementFees);a&&c.setValue("management.management_fee",a.toString())},"onCurrencyChange"),t=S({defaultRegion:e.countryRegionSlug,defaultCurrency:e.currencySlug,defaultSalary:e.salary,estimationOptions:n,version:_,options:{...r,onCurrencyChange:F}}),K=C(t.handleValidation),b=A(R,e.currencySlug,e.management,n.managementFees),{countryRegionSlug:v,currencySlug:h,salary:D,benefits:P,hiringBudget:B,age:E,contractDurationType:M,regionSlug:w,...x}=e,c=y({resolver:K,defaultValues:{country:v,currency:h,region:w,salary:D,salary_conversion:"",salary_converted:void 0,hiring_budget:B||"employee_annual_salary",age:E,contract_duration_type:M,management:{management_fee:b?.toString()||""},benefits:P,estimation_title:n.title,...x},shouldUnregister:!1,mode:"onBlur"});return T(()=>{if(e.currencySlug&&t.currencies&&n.includeManagementFee&&!e.management?.management_fee){let a=t.currencies.find(i=>i.value===e.currencySlug)?.label;if(a){m(a);let i=l(u,a,n.managementFees);c.setValue("management.management_fee",i?.toString()||"")}}},[e.currencySlug,t.currencies,n.includeManagementFee,n.managementFees,e.management?.management_fee,c]),k(f.Provider,{value:{form:c,formId:p,costCalculatorBag:t},children:g(t)})},"CostCalculatorFlow");export{W as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YHZZHQP5.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as l}from"./chunk-WCJZAOZR.js";import{a as i}from"./chunk-UZFEJMO6.js";import{a as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as l}from"./chunk-WCJZAOZR.js";import{a as i}from"./chunk-UZFEJMO6.js";import{a as t}from"./chunk-I4DU34BA.js";import{h as m}from"./chunk-AUPAAQUT.js";import{a as r}from"./chunk-P37U34EQ.js";import{jsx as s}from"react/jsx-runtime";import{createElement as u}from"react";function S({onSubmit:n,defaultValues:a}){let{formId:d,adminBag:o}=l(),e=i({handleValidation:o.handleValidation,defaultValues:a??{},checkFieldUpdates:o.setFieldValues});return u(m,{...e,key:`form-${o.stepState.currentStep.name}`},s("form",{id:d,onSubmit:e.handleSubmit(f=>n(f,e)),className:"space-y-4 RemoteFlows__PayrollAdminForm",children:s(t,{fields:o.fields,fieldsets:o.meta["x-jsf-fieldsets"],fieldValues:o.fieldValues})}))}r(S,"PayrollAdminForm");export{S as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YME2HZZJ.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as R}from"./chunk-NXSRNOBC.js";import{a as m,b as $,c as I,d as ee,e as ae,f as te}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as R}from"./chunk-NXSRNOBC.js";import{a as m,b as $,c as I,d as ee,e as ae,f as te}from"./chunk-ZOTKZZ67.js";import{a as Z}from"./chunk-TJZ5BJV3.js";import{c as z}from"./chunk-KMLI4ISS.js";import{a as Q}from"./chunk-OKBPMWVB.js";import{a as Y,b as p,h as O}from"./chunk-C4HFMTSB.js";import{a as q}from"./chunk-M3TA5X2H.js";import{a as g}from"./chunk-P37U34EQ.js";import{useMemo as h,useCallback as b,useState as Te,useEffect as we}from"react";var se={name:{"x-jsf-presentation":{inputType:"hidden"}}},Ae={fields:{...se,mobile_number:{description:"Enter 10 digits, no country code (e.g. 5389274785)"}}},Pe={fields:{...se,mobile_number:{"x-jsf-presentation":{inputType:"tel"}}}};function Fe(t){return t==="USA"?Ae:Pe}g(Fe,"getPersonalDetailsJsfModify");var ke=g(({hasBankSubstep:t,federalTaxesVisible:y,stateTaxesVisible:E})=>({personal_details:{index:0,name:"personal_details"},home_address:{index:1,name:"home_address"},bank_account:{index:2,name:"bank_account",visible:t},federal_taxes:{index:3,name:"federal_taxes",visible:y},state_taxes:{index:4,name:"state_taxes",visible:E}}),"buildEmployeeSteps");var Ke=g(({employmentId:t,countryCode:y,jurisdiction:E,initialValues:ne,options:oe})=>{let[f,V]=Te({}),{updateErrorContext:L}=z({flow:"payroll_employee_onboarding"}),{data:T,isLoading:re}=Q({employmentId:t,enabled:!y}),r=y??T?.country?.code,ie=T?.work_address_details?.state,le=T?.address_details?.state,i=E??(ie||le),de=b(e=>{L({step:e.name})},[L]),{data:x,isLoading:ce,refetch:c}=Z(t),M=h(()=>x?.find(a=>a.type==="self_onboarding")?.sub_steps??[],[x]),v=x?.find(e=>e.type==="completion")?.sub_steps?.[0]?.status==="completed",l=r==="USA",d=v??!1,U=M.some(e=>e.type==="employee_provides_bank_details"),ue=h(()=>ke({hasBankSubstep:U,federalTaxesVisible:l&&d,stateTaxesVisible:l&&!!i&&d}),[U,l,d,i]),{stepState:D,nextStep:pe,previousStep:me,goToStep:fe,setStepValues:_e,fieldValues:u,setFieldValues:Se}=q(ue,de),n=D.currentStep.name;we(()=>{n!=="federal_taxes"&&n!=="state_taxes"||V(e=>{if(!e[n])return e;let a={...e};return delete a[n],a})},[n]);let w=m(r,"global_payroll_personal_details",u,{enabled:n==="personal_details",employmentId:t},Fe(r)),A=m(r,"address_details",u,{enabled:n==="home_address",employmentId:t}),P=m(r,"global_payroll_bank_account_details",u,{enabled:n==="bank_account",employmentId:t}),_=m(r,"global_payroll_federal_taxes",u,{enabled:l&&d&&n==="federal_taxes",employmentId:t}),S=m(r,"global_payroll_state_taxes",u,{enabled:l&&!!i&&d&&n==="state_taxes",employmentId:t,jurisdiction:i}),o=h(()=>({personal_details:w.data,home_address:A.data,bank_account:P.data,federal_taxes:_.data,state_taxes:S.data})[n],[n,w.data,A.data,P.data,_.data,S.data]),be=h(()=>{let e=l?f.federal_taxes?f.federal_taxes:d?_.isError?"schema_unavailable":null:"pending_enrollment":"unsupported_country",a=l?i?f.state_taxes?f.state_taxes:d?S.isError?"schema_unavailable":null:"pending_enrollment":"no_jurisdiction":"unsupported_country";return{federal_taxes:{isAvailable:e===null,unavailableReason:e},state_taxes:{isAvailable:a===null,unavailableReason:a}}},[l,d,i,f,_.isError,S.isError]),ye=w.isLoading||A.isLoading||P.isLoading||_.isLoading||S.isLoading,J=$(t),K=I(t),B=ee(t),G=ae(t),N=te(i,t),{mutateAsyncOrThrow:j}=p(J),{mutateAsyncOrThrow:C}=p(K),{mutateAsyncOrThrow:H}=p(B),{mutateAsyncOrThrow:W}=p(G),{mutateAsyncOrThrow:X}=p(N),xe=J.isPending||K.isPending||B.isPending||G.isPending||N.isPending,ge=b(async e=>{if(!o)return null;let a=await O(e,o.fields,{isPartialValidation:!1});return o.handleValidation(a)},[o]),F=b(async e=>o?O(e,o.fields,{isPartialValidation:!1}):e,[o]),k=b((e,a)=>{if(!Y(a))return!1;let s=typeof a.rawError=="object"&&a.rawError!==null&&"message"in a.rawError?String(a.rawError.message??""):"";return/tax task not found/i.test(s)?(V(Ee=>({...Ee,[e]:"pending_enrollment"})),!0):!1},[]),he=b(async e=>{let a=await F(e);switch(n){case"personal_details":{let s=await j(a);return await c(),s}case"home_address":{let s=await C(a);return await c(),s}case"bank_account":{let s=await H(a);return await c(),s}case"federal_taxes":try{let s=await W(a);return await c(),s}catch(s){throw k("federal_taxes",s)?new R:s}case"state_taxes":try{let s=await X(a);return await c(),s}catch(s){throw k("state_taxes",s)?new R:s}default:return}},[n,F,j,C,H,W,X,c,k]);return{stepState:D,isLoading:re||ce||ye,isSubmitting:xe,isComplete:v??!1,employmentId:t,countryCode:r,jurisdiction:i,initialValues:ne,options:oe,apiSteps:x,selfOnboardingSubsteps:M,taxStepsAvailability:be,refetchSteps:c,fields:o?.fields??[],meta:o?.meta??{},fieldValues:u,setFieldValues:Se,handleValidation:ge,parseFormValues:F,onSubmit:he,next:pe,back:me,goToStep:fe,setStepValues:_e}},"usePayrollEmployeeOnboarding");export{Ke as a};
|
|
2
|
+
//# sourceMappingURL=chunk-Z7XLK4JL.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{b as s,c as p,f as c,h as u}from"./chunk-H6XROFQT.js";import{a as i}from"./chunk-P37U34EQ.js";function m(){let t={};for(let e=1;e<=s;e++)t[`item_${e}_description`]={title:`Item ${e} description`,type:"string","x-jsf-presentation":{inputType:"text"}},t[`item_${e}_amount`]={title:`Item ${e} amount`,type:"integer","x-jsf-presentation":{inputType:"money"},"x-jsf-logic-computedAttrs":{"x-jsf-presentation":{additionalProps:{currency:"currency_selected"}}}};return t}i(m,"invoiceItemProperties");function y(){let t=[];for(let e=2;e<=s;e++){let n=e-1;t.push({if:{properties:{[`item_${n}_description`]:{type:"string",minLength:1},[`item_${n}_amount`]:{type:"integer",minimum:1}},required:[`item_${n}_description`,`item_${n}_amount`]},then:{},else:{properties:{[`item_${e}_description`]:!1,[`item_${e}_amount`]:!1}}})}return t}i(y,"invoiceItemRevealConditionals");function f(){return{custom_day_1:{description:"First day of the month an invoice is generated. Leave both days blank to use the cycle derived from the start date. One of the two days must be the start date\u2019s day.",title:"First invoice day",type:"integer",minimum:1,maximum:31,"x-jsf-presentation":{inputType:"number"}},custom_day_2:{description:"Second day of the month an invoice is generated.",title:"Second invoice day",type:"integer",minimum:1,maximum:31,"x-jsf-presentation":{inputType:"number"}}}}i(f,"semiMonthlyDayProperties");function _(){return{if:{properties:{periodicity:{const:"semi_monthly"}},required:["periodicity"]},then:{},else:{properties:{custom_day_1:!1,custom_day_2:!1}}}}i(_,"semiMonthlyConditional");function h(){return{if:{properties:{periodicity:{const:c.const}},required:["periodicity"]},then:{properties:{nr_occurrences:!1}},else:{}}}i(h,"occurrencesConditional");var g=Array.from({length:s},(t,e)=>e+1).flatMap(t=>[`item_${t}_description`,`item_${t}_amount`]);function v({includeOneTime:t,isContractorOfRecord:e}){return e?[c]:t?[c,...p]:[...p]}i(v,"periodicityOptions");function x({currencies:t,includeOneTime:e=!1,isContractorOfRecord:n=!1,includeContractorSelect:o=!1,includeCustomDays:a=!1,contractors:d}={}){return{type:"object","x-jsf-presentation":{title:"Create invoice schedule",description:"Fill out the invoice details and specify the recurrence options."},properties:{...o?{employment_id:{description:"Who would you like to set up automatic invoicing with?",title:"Contractor",type:"string","x-jsf-presentation":{inputType:"select",options:d?.map(({value:r,label:l})=>({value:r,label:l}))}}}:{},currency:{description:"The currency this invoice schedule will be issued in.",title:"Invoice currency",type:"string",oneOf:t?.length?t.map(r=>({const:r,title:r})):[{const:u,title:o?"Select a contractor first":"Loading currencies\u2026",disabled:!0}],"x-jsf-presentation":{inputType:"select"}},periodicity:{description:"How often invoices are generated for this schedule.",title:"Frequency",type:"string",oneOf:v({includeOneTime:e,isContractorOfRecord:n}),"x-jsf-presentation":{inputType:"select"}},start_date:{description:"Date the first invoice will be generated.",title:"Start date",type:"string",format:"date","x-jsf-presentation":{inputType:"date"}},...a?f():{},...m(),number:{description:"Optional identifier shown on generated invoices.",title:"Invoice number",type:"string",maxLength:10,"x-jsf-presentation":{inputType:"text"}},note:{description:"Shown on generated invoices.",title:"Additional notes",type:"string","x-jsf-presentation":{inputType:"textarea"}},nr_occurrences:{description:"Number of invoices to generate. Leave blank for the schedule to repeat indefinitely.",title:"Number of occurrences",type:"integer",minimum:1,"x-jsf-presentation":{inputType:"number"}}},required:[...o?["employment_id"]:[],"currency","periodicity","start_date","item_1_description","item_1_amount"],"x-jsf-order":[...o?["employment_id"]:[],"currency","periodicity","start_date",...a?["custom_day_1","custom_day_2"]:[],...g,"number","note","nr_occurrences"],"x-jsf-logic":{computedValues:{currency_selected:{rule:{var:"currency"}}}},"x-rmt-meta":{jsfVersion:"1"},allOf:[...y(),...a?[_()]:[],...e||n?[h()]:[]]}}i(x,"buildCreateInvoiceScheduleSchema");var O=x();export{x as a,O as b};
|
|
2
|
+
//# sourceMappingURL=chunk-ZD4H63AL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/common/invoice-schedules/json-schema.ts"],"sourcesContent":["import {\n INVOICE_ITEM_SLOTS,\n ONE_TIME_PERIODICITY_OPTION,\n PLACEHOLDER_OPTION,\n RECURRING_PERIODICITY_OPTIONS,\n} from '@/src/common/invoice-schedules/constants';\n\nfunction invoiceItemProperties() {\n const properties: Record<string, object> = {};\n\n for (let slot = 1; slot <= INVOICE_ITEM_SLOTS; slot++) {\n properties[`item_${slot}_description`] = {\n title: `Item ${slot} description`,\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'text',\n },\n };\n properties[`item_${slot}_amount`] = {\n title: `Item ${slot} amount`,\n type: 'integer',\n 'x-jsf-presentation': {\n inputType: 'money',\n },\n 'x-jsf-logic-computedAttrs': {\n 'x-jsf-presentation': {\n additionalProps: {\n currency: 'currency_selected',\n },\n },\n },\n };\n }\n\n return properties;\n}\n\n// Slot 1 is required (see the base required array below).\n// Slots 2..N are optional and only revealed once the previous slot has been filled in,\n// since the form-kit has no built-in \"add another row\" renderer for a true items array.\nfunction invoiceItemRevealConditionals() {\n const conditionals = [];\n\n for (let slot = 2; slot <= INVOICE_ITEM_SLOTS; slot++) {\n const previousSlot = slot - 1;\n\n conditionals.push({\n if: {\n properties: {\n [`item_${previousSlot}_description`]: {\n type: 'string',\n minLength: 1,\n },\n // Integer cents, like the slot itself — `createHeadlessForm` converts the money\n // input's major units before the conditionals are evaluated. `minimum: 1` is\n // therefore one cent, so any non-zero amount reveals the next row.\n [`item_${previousSlot}_amount`]: { type: 'integer', minimum: 1 },\n },\n required: [\n `item_${previousSlot}_description`,\n `item_${previousSlot}_amount`,\n ],\n },\n then: {},\n else: {\n properties: {\n [`item_${slot}_description`]: false,\n [`item_${slot}_amount`]: false,\n },\n },\n });\n }\n\n return conditionals;\n}\n\n// Only offered when asked for, so the in-flow onboarding step keeps the field set it\n// shipped with — the same reason `includeOneTime` is opt-in.\nfunction semiMonthlyDayProperties() {\n return {\n custom_day_1: {\n description:\n 'First day of the month an invoice is generated. Leave both days blank to use the cycle derived from the start date. One of the two days must be the start date\\u2019s day.',\n title: 'First invoice day',\n type: 'integer',\n minimum: 1,\n maximum: 31,\n 'x-jsf-presentation': {\n inputType: 'number',\n },\n },\n custom_day_2: {\n description: 'Second day of the month an invoice is generated.',\n title: 'Second invoice day',\n type: 'integer',\n minimum: 1,\n maximum: 31,\n 'x-jsf-presentation': {\n inputType: 'number',\n },\n },\n };\n}\n\n// The two custom-day fields only mean anything for a semi-monthly schedule; the API rejects\n// them for any other periodicity. Hide them unless semi-monthly is selected.\nfunction semiMonthlyConditional() {\n return {\n if: {\n properties: { periodicity: { const: 'semi_monthly' } },\n required: ['periodicity'],\n },\n then: {},\n else: {\n properties: {\n custom_day_1: false,\n custom_day_2: false,\n },\n },\n };\n}\n\n// `nr_occurrences` is meaningless for a one-off — the payload builder pins it to 1 — so\n// hide the field rather than letting a user contradict their own choice.\nfunction occurrencesConditional() {\n return {\n if: {\n properties: {\n periodicity: { const: ONE_TIME_PERIODICITY_OPTION.const },\n },\n required: ['periodicity'],\n },\n then: {\n properties: {\n nr_occurrences: false,\n },\n },\n else: {},\n };\n}\n\nconst itemFieldOrder = Array.from(\n { length: INVOICE_ITEM_SLOTS },\n (_, index) => index + 1,\n).flatMap((slot) => [`item_${slot}_description`, `item_${slot}_amount`]);\n\n/**\n * Options offered for `periodicity`.\n *\n * Contractor of Record only supports one-off invoicing, so a CoR contractor is offered\n * nothing else — matching the Remote platform. See the \"How invoice scheduling works for\n * Contractor of Record\" help centre article.\n *\n * Note this is a client-side restriction only: the public API does not currently reject a\n * recurring schedule for a CoR employment on the single-create path (the bulk CSV importer\n * does). Surfacing it here matches the platform; it is not a substitute for the API check.\n */\nfunction periodicityOptions({\n includeOneTime,\n isContractorOfRecord,\n}: {\n includeOneTime: boolean;\n isContractorOfRecord: boolean;\n}) {\n if (isContractorOfRecord) {\n return [ONE_TIME_PERIODICITY_OPTION];\n }\n\n return includeOneTime\n ? [ONE_TIME_PERIODICITY_OPTION, ...RECURRING_PERIODICITY_OPTIONS]\n : [...RECURRING_PERIODICITY_OPTIONS];\n}\n\nexport type ContractorOption = {\n /** Employment id, submitted as `employment_id`. */\n value: string;\n /** Contractor's name. */\n label: string;\n};\n\ntype CreateInvoiceScheduleSchemaOptions = {\n /**\n * Currency codes the contractor can be invoiced in. Replaces the placeholder `oneOf`.\n */\n currencies?: string[];\n /**\n * Offer \"One time\" alongside the recurring cadences. Off by default so the in-flow\n * onboarding step keeps the field set it shipped with.\n */\n includeOneTime?: boolean;\n /**\n * Restrict to one-off only. Derive from the employment's `contractor_type === 'cor'`.\n */\n isContractorOfRecord?: boolean;\n /**\n * Offer the two semi-monthly day fields, which map to `custom_days`. Off by default so\n * the in-flow onboarding step keeps the field set it shipped with.\n */\n includeCustomDays?: boolean;\n /**\n * Prepend a contractor picker. This is the only structural difference between the in-flow\n * onboarding step, which already knows its employment, and the standalone screen, which\n * chooses the contractor in the form itself.\n */\n includeContractorSelect?: boolean;\n /**\n * Contractors to offer in the picker. Only read when `includeContractorSelect` is set.\n */\n contractors?: ContractorOption[];\n};\n\n/**\n * Builds the create-invoice-schedule JSON schema.\n *\n * Hardcoded rather than fetched: there is no JSON-schema endpoint for invoice schedules,\n * so this mirrors the shape the platform renders and the fields\n * `POST /v1/contractor-invoice-schedules` accepts.\n */\nexport function buildCreateInvoiceScheduleSchema({\n currencies,\n includeOneTime = false,\n isContractorOfRecord = false,\n includeContractorSelect = false,\n includeCustomDays = false,\n contractors,\n}: CreateInvoiceScheduleSchemaOptions = {}) {\n return {\n type: 'object',\n 'x-jsf-presentation': {\n title: 'Create invoice schedule',\n description:\n 'Fill out the invoice details and specify the recurrence options.',\n },\n properties: {\n ...(includeContractorSelect\n ? {\n employment_id: {\n description:\n 'Who would you like to set up automatic invoicing with?',\n title: 'Contractor',\n type: 'string',\n // Deliberately unconstrained by a `oneOf`. The picker queries the API by name\n // as the user types, so it can legitimately surface a contractor that is not\n // in whatever page of results happened to be loaded here — enumerating them\n // would reject a valid selection, which is exactly the large-company case the\n // search exists for. Existence is the API's to enforce on submit.\n 'x-jsf-presentation': {\n inputType: 'select',\n options: contractors?.map(({ value, label }) => ({\n value,\n label,\n })),\n },\n },\n }\n : {}),\n currency: {\n description: 'The currency this invoice schedule will be issued in.',\n title: 'Invoice currency',\n type: 'string',\n oneOf: currencies?.length\n ? currencies.map((code) => ({ const: code, title: code }))\n : [\n {\n const: PLACEHOLDER_OPTION,\n title: includeContractorSelect\n ? 'Select a contractor first'\n : 'Loading currencies…',\n // Unselectable, so it cannot be submitted as a real currency if the list\n // never arrives. Nothing is then selected, so the field's `required` rule\n // reports a normal error on submit.\n disabled: true,\n },\n ],\n 'x-jsf-presentation': {\n inputType: 'select',\n },\n },\n periodicity: {\n description: 'How often invoices are generated for this schedule.',\n title: 'Frequency',\n type: 'string',\n oneOf: periodicityOptions({ includeOneTime, isContractorOfRecord }),\n 'x-jsf-presentation': {\n inputType: 'select',\n },\n },\n start_date: {\n description: 'Date the first invoice will be generated.',\n title: 'Start date',\n type: 'string',\n format: 'date',\n 'x-jsf-presentation': {\n inputType: 'date',\n },\n },\n ...(includeCustomDays ? semiMonthlyDayProperties() : {}),\n ...invoiceItemProperties(),\n number: {\n description: 'Optional identifier shown on generated invoices.',\n title: 'Invoice number',\n type: 'string',\n maxLength: 10,\n 'x-jsf-presentation': {\n inputType: 'text',\n },\n },\n note: {\n description: 'Shown on generated invoices.',\n title: 'Additional notes',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'textarea',\n },\n },\n nr_occurrences: {\n description:\n 'Number of invoices to generate. Leave blank for the schedule to repeat indefinitely.',\n title: 'Number of occurrences',\n type: 'integer',\n minimum: 1,\n 'x-jsf-presentation': {\n inputType: 'number',\n },\n },\n },\n required: [\n ...(includeContractorSelect ? ['employment_id'] : []),\n 'currency',\n 'periodicity',\n 'start_date',\n 'item_1_description',\n 'item_1_amount',\n ],\n 'x-jsf-order': [\n ...(includeContractorSelect ? ['employment_id'] : []),\n 'currency',\n 'periodicity',\n 'start_date',\n ...(includeCustomDays ? ['custom_day_1', 'custom_day_2'] : []),\n ...itemFieldOrder,\n 'number',\n 'note',\n 'nr_occurrences',\n ],\n 'x-jsf-logic': {\n computedValues: {\n currency_selected: {\n rule: { var: 'currency' },\n },\n },\n },\n // Carried over when this schema moved here: the static ContractorOnboarding schemas\n // were migrated to JSF v1 on main.\n 'x-rmt-meta': {\n jsfVersion: '1',\n },\n allOf: [\n ...invoiceItemRevealConditionals(),\n ...(includeCustomDays ? [semiMonthlyConditional()] : []),\n ...(includeOneTime || isContractorOfRecord\n ? [occurrencesConditional()]\n : []),\n ],\n };\n}\n\n/**\n * The schema as the in-flow onboarding step renders it (no one-off option).\n * Currencies are substituted at runtime — see `useGetCreateInvoiceScheduleSchema`.\n */\nexport const createInvoiceScheduleSchema = buildCreateInvoiceScheduleSchema();\n"],"mappings":"qGAOA,SAASA,GAAwB,CAC/B,IAAMC,EAAqC,CAAC,EAE5C,QAASC,EAAO,EAAGA,GAAQC,EAAoBD,IAC7CD,EAAW,QAAQC,CAAI,cAAc,EAAI,CACvC,MAAO,QAAQA,CAAI,eACnB,KAAM,SACN,qBAAsB,CACpB,UAAW,MACb,CACF,EACAD,EAAW,QAAQC,CAAI,SAAS,EAAI,CAClC,MAAO,QAAQA,CAAI,UACnB,KAAM,UACN,qBAAsB,CACpB,UAAW,OACb,EACA,4BAA6B,CAC3B,qBAAsB,CACpB,gBAAiB,CACf,SAAU,mBACZ,CACF,CACF,CACF,EAGF,OAAOD,CACT,CA5BSG,EAAAJ,EAAA,yBAiCT,SAASK,GAAgC,CACvC,IAAMC,EAAe,CAAC,EAEtB,QAASJ,EAAO,EAAGA,GAAQC,EAAoBD,IAAQ,CACrD,IAAMK,EAAeL,EAAO,EAE5BI,EAAa,KAAK,CAChB,GAAI,CACF,WAAY,CACV,CAAC,QAAQC,CAAY,cAAc,EAAG,CACpC,KAAM,SACN,UAAW,CACb,EAIA,CAAC,QAAQA,CAAY,SAAS,EAAG,CAAE,KAAM,UAAW,QAAS,CAAE,CACjE,EACA,SAAU,CACR,QAAQA,CAAY,eACpB,QAAQA,CAAY,SACtB,CACF,EACA,KAAM,CAAC,EACP,KAAM,CACJ,WAAY,CACV,CAAC,QAAQL,CAAI,cAAc,EAAG,GAC9B,CAAC,QAAQA,CAAI,SAAS,EAAG,EAC3B,CACF,CACF,CAAC,CACH,CAEA,OAAOI,CACT,CAlCSF,EAAAC,EAAA,iCAsCT,SAASG,GAA2B,CAClC,MAAO,CACL,aAAc,CACZ,YACE,6KACF,MAAO,oBACP,KAAM,UACN,QAAS,EACT,QAAS,GACT,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,aAAc,CACZ,YAAa,mDACb,MAAO,qBACP,KAAM,UACN,QAAS,EACT,QAAS,GACT,qBAAsB,CACpB,UAAW,QACb,CACF,CACF,CACF,CAxBSJ,EAAAI,EAAA,4BA4BT,SAASC,GAAyB,CAChC,MAAO,CACL,GAAI,CACF,WAAY,CAAE,YAAa,CAAE,MAAO,cAAe,CAAE,EACrD,SAAU,CAAC,aAAa,CAC1B,EACA,KAAM,CAAC,EACP,KAAM,CACJ,WAAY,CACV,aAAc,GACd,aAAc,EAChB,CACF,CACF,CACF,CAdSL,EAAAK,EAAA,0BAkBT,SAASC,GAAyB,CAChC,MAAO,CACL,GAAI,CACF,WAAY,CACV,YAAa,CAAE,MAAOC,EAA4B,KAAM,CAC1D,EACA,SAAU,CAAC,aAAa,CAC1B,EACA,KAAM,CACJ,WAAY,CACV,eAAgB,EAClB,CACF,EACA,KAAM,CAAC,CACT,CACF,CAfSP,EAAAM,EAAA,0BAiBT,IAAME,EAAiB,MAAM,KAC3B,CAAE,OAAQT,CAAmB,EAC7B,CAACU,EAAGC,IAAUA,EAAQ,CACxB,EAAE,QAASZ,GAAS,CAAC,QAAQA,CAAI,eAAgB,QAAQA,CAAI,SAAS,CAAC,EAavE,SAASa,EAAmB,CAC1B,eAAAC,EACA,qBAAAC,CACF,EAGG,CACD,OAAIA,EACK,CAACN,CAA2B,EAG9BK,EACH,CAACL,EAA6B,GAAGO,CAA6B,EAC9D,CAAC,GAAGA,CAA6B,CACvC,CAdSd,EAAAW,EAAA,sBA6DF,SAASI,EAAiC,CAC/C,WAAAC,EACA,eAAAJ,EAAiB,GACjB,qBAAAC,EAAuB,GACvB,wBAAAI,EAA0B,GAC1B,kBAAAC,EAAoB,GACpB,YAAAC,CACF,EAAwC,CAAC,EAAG,CAC1C,MAAO,CACL,KAAM,SACN,qBAAsB,CACpB,MAAO,0BACP,YACE,kEACJ,EACA,WAAY,CACV,GAAIF,EACA,CACE,cAAe,CACb,YACE,yDACF,MAAO,aACP,KAAM,SAMN,qBAAsB,CACpB,UAAW,SACX,QAASE,GAAa,IAAI,CAAC,CAAE,MAAAC,EAAO,MAAAC,CAAM,KAAO,CAC/C,MAAAD,EACA,MAAAC,CACF,EAAE,CACJ,CACF,CACF,EACA,CAAC,EACL,SAAU,CACR,YAAa,wDACb,MAAO,mBACP,KAAM,SACN,MAAOL,GAAY,OACfA,EAAW,IAAKM,IAAU,CAAE,MAAOA,EAAM,MAAOA,CAAK,EAAE,EACvD,CACE,CACE,MAAOC,EACP,MAAON,EACH,4BACA,2BAIJ,SAAU,EACZ,CACF,EACJ,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,YAAa,CACX,YAAa,sDACb,MAAO,YACP,KAAM,SACN,MAAON,EAAmB,CAAE,eAAAC,EAAgB,qBAAAC,CAAqB,CAAC,EAClE,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,WAAY,CACV,YAAa,4CACb,MAAO,aACP,KAAM,SACN,OAAQ,OACR,qBAAsB,CACpB,UAAW,MACb,CACF,EACA,GAAIK,EAAoBd,EAAyB,EAAI,CAAC,EACtD,GAAGR,EAAsB,EACzB,OAAQ,CACN,YAAa,mDACb,MAAO,iBACP,KAAM,SACN,UAAW,GACX,qBAAsB,CACpB,UAAW,MACb,CACF,EACA,KAAM,CACJ,YAAa,+BACb,MAAO,mBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,UACb,CACF,EACA,eAAgB,CACd,YACE,uFACF,MAAO,wBACP,KAAM,UACN,QAAS,EACT,qBAAsB,CACpB,UAAW,QACb,CACF,CACF,EACA,SAAU,CACR,GAAIqB,EAA0B,CAAC,eAAe,EAAI,CAAC,EACnD,WACA,cACA,aACA,qBACA,eACF,EACA,cAAe,CACb,GAAIA,EAA0B,CAAC,eAAe,EAAI,CAAC,EACnD,WACA,cACA,aACA,GAAIC,EAAoB,CAAC,eAAgB,cAAc,EAAI,CAAC,EAC5D,GAAGV,EACH,SACA,OACA,gBACF,EACA,cAAe,CACb,eAAgB,CACd,kBAAmB,CACjB,KAAM,CAAE,IAAK,UAAW,CAC1B,CACF,CACF,EAGA,aAAc,CACZ,WAAY,GACd,EACA,MAAO,CACL,GAAGP,EAA8B,EACjC,GAAIiB,EAAoB,CAACb,EAAuB,CAAC,EAAI,CAAC,EACtD,GAAIO,GAAkBC,EAClB,CAACP,EAAuB,CAAC,EACzB,CAAC,CACP,CACF,CACF,CAnJgBN,EAAAe,EAAA,oCAyJT,IAAMS,EAA8BT,EAAiC","names":["invoiceItemProperties","properties","slot","INVOICE_ITEM_SLOTS","__name","invoiceItemRevealConditionals","conditionals","previousSlot","semiMonthlyDayProperties","semiMonthlyConditional","occurrencesConditional","ONE_TIME_PERIODICITY_OPTION","itemFieldOrder","_","index","periodicityOptions","includeOneTime","isContractorOfRecord","RECURRING_PERIODICITY_OPTIONS","buildCreateInvoiceScheduleSchema","currencies","includeContractorSelect","includeCustomDays","contractors","value","label","code","PLACEHOLDER_OPTION","createInvoiceScheduleSchema"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as l}from"./chunk-JVXI4RZU.js";import{a as o}from"./chunk-YPBPOUGX.js";import{b as a}from"./chunk-SS2SYDCB.js";import{a as t}from"./chunk-P37U34EQ.js";import{jsx as n}from"react/jsx-runtime";function u(r){let{employeeBag:e}=a(),s=o(r);return e.taxStepsAvailability.federal_taxes.isAvailable?n(l,{onSubmit:s,defaultValues:{...e.initialValues?.federal_taxes,...e.stepState.values?.federal_taxes}}):null}t(u,"FederalTaxesStep");export{u as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZODT3MJM.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as _}from"./chunk-XFVXRCMH.js";import{
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as _}from"./chunk-XFVXRCMH.js";import{H as p,M as y,Q as f,ba as h,l as c,xa as g}from"./chunk-QQV5REGG.js";import{e as r}from"./chunk-H2O4CVKF.js";import{a as t}from"./chunk-P37U34EQ.js";import{useMutation as a,useQuery as F}from"@tanstack/react-query";var A=t((e,n,o,s,i)=>{let{client:x}=r(),d=s?.employmentId,u=s?.jurisdiction;return F({queryKey:["gp-employee-form-schema",e,n,d,u],enabled:!!e&&(s?.enabled??!0),retry:!1,queryFn:t(async()=>{let l={...d?{employment_id:d}:{},...u?{jurisdiction:u}:{}},m=await y({client:x,headers:{Authorization:""},path:{country_code:e,form:n},...Object.keys(l).length>0?{query:l}:{}});if(m.error||!m.data)throw new Error(`Failed to fetch ${n} schema`);return m},"queryFn"),select:t(({data:l})=>_(l?.data||{},o,i?{jsfModify:i}:void 0),"select")})},"useGPEmployeeFormSchema"),E=t(e=>{let{client:n}=r();return a({mutationFn:t(o=>{let{name:s,...i}=o;return h({client:n,headers:{Authorization:"","x-rf-employment-id":e},body:{personal_details:i}})},"mutationFn")})},"useGPUpdatePersonalDetails"),P=t(e=>{let{client:n}=r();return a({mutationFn:t(o=>p({client:n,headers:{Authorization:"","x-rf-employment-id":e},body:{address_details:o}}),"mutationFn")})},"useGPUpdateHomeAddress"),C=t(e=>{let{client:n}=r();return a({mutationFn:t(o=>c({client:n,headers:{Authorization:"","x-rf-employment-id":e},body:{bank_account_details:o}}),"mutationFn")})},"useGPUpdateBankAccount"),R=t(e=>{let{client:n}=r();return a({mutationFn:t(o=>f({client:n,headers:{Authorization:"","x-rf-employment-id":e},body:{federal_taxes:o}}),"mutationFn")})},"useGPUpdateFederalTaxes"),G=t((e,n)=>{let{client:o}=r();return a({mutationFn:t(s=>{if(!e)throw new Error("A `jurisdiction` (US state code) is required to submit state taxes.");return g({client:o,headers:{Authorization:"","x-rf-employment-id":n},path:{jurisdiction:e},body:{state_taxes:s}})},"mutationFn")})},"useGPUpdateStateTaxes");export{A as a,E as b,P as c,C as d,R as e,G as f};
|
|
2
|
+
//# sourceMappingURL=chunk-ZOTKZZ67.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as m}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as m}from"./chunk-XMVV6S77.js";import{b as a}from"./chunk-PGWKJ6FK.js";import{c as s,i as t}from"./chunk-C4HFMTSB.js";import{a as e}from"./chunk-P37U34EQ.js";import{jsx as E}from"react/jsx-runtime";function P({components:d,onSubmit:l,onError:i,onSuccess:f}){let{onboardingBag:o}=a(),p=o.fields??[],c=t(p,o.initialValues.benefits);return E(m,{defaultValues:c,components:d,onSubmit:e(async n=>{try{await l?.(n);let r=await o.onSubmit(n);if(r?.data){await f?.(r.data),o?.next();return}if(r?.error){let u=s(r?.fieldErrors||[],o.meta?.fields?.benefits);i?.({error:r.error,rawError:r.rawError,fieldErrors:u})}}catch(r){i?.({error:r,rawError:r,fieldErrors:[]})}},"handleSubmit")})}e(P,"BenefitsStep");export{P as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZREW7KZA.js.map
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
type ContractorOption = {
|
|
2
|
+
/** Employment id, submitted as `employment_id`. */
|
|
3
|
+
value: string;
|
|
4
|
+
/** Contractor's name. */
|
|
5
|
+
label: string;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* The schema as the in-flow onboarding step renders it (no one-off option).
|
|
9
|
+
* Currencies are substituted at runtime — see `useGetCreateInvoiceScheduleSchema`.
|
|
10
|
+
*/
|
|
11
|
+
declare const createInvoiceScheduleSchema: {
|
|
12
|
+
type: string;
|
|
13
|
+
'x-jsf-presentation': {
|
|
14
|
+
title: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
properties: {
|
|
18
|
+
number: {
|
|
19
|
+
description: string;
|
|
20
|
+
title: string;
|
|
21
|
+
type: string;
|
|
22
|
+
maxLength: number;
|
|
23
|
+
'x-jsf-presentation': {
|
|
24
|
+
inputType: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
note: {
|
|
28
|
+
description: string;
|
|
29
|
+
title: string;
|
|
30
|
+
type: string;
|
|
31
|
+
'x-jsf-presentation': {
|
|
32
|
+
inputType: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
nr_occurrences: {
|
|
36
|
+
description: string;
|
|
37
|
+
title: string;
|
|
38
|
+
type: string;
|
|
39
|
+
minimum: number;
|
|
40
|
+
'x-jsf-presentation': {
|
|
41
|
+
inputType: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
custom_day_1?: {
|
|
45
|
+
description: string;
|
|
46
|
+
title: string;
|
|
47
|
+
type: string;
|
|
48
|
+
minimum: number;
|
|
49
|
+
maximum: number;
|
|
50
|
+
'x-jsf-presentation': {
|
|
51
|
+
inputType: string;
|
|
52
|
+
};
|
|
53
|
+
} | undefined;
|
|
54
|
+
custom_day_2?: {
|
|
55
|
+
description: string;
|
|
56
|
+
title: string;
|
|
57
|
+
type: string;
|
|
58
|
+
minimum: number;
|
|
59
|
+
maximum: number;
|
|
60
|
+
'x-jsf-presentation': {
|
|
61
|
+
inputType: string;
|
|
62
|
+
};
|
|
63
|
+
} | undefined;
|
|
64
|
+
currency: {
|
|
65
|
+
description: string;
|
|
66
|
+
title: string;
|
|
67
|
+
type: string;
|
|
68
|
+
oneOf: {
|
|
69
|
+
const: string;
|
|
70
|
+
title: string;
|
|
71
|
+
}[] | {
|
|
72
|
+
const: string;
|
|
73
|
+
title: string;
|
|
74
|
+
disabled: boolean;
|
|
75
|
+
}[];
|
|
76
|
+
'x-jsf-presentation': {
|
|
77
|
+
inputType: string;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
periodicity: {
|
|
81
|
+
description: string;
|
|
82
|
+
title: string;
|
|
83
|
+
type: string;
|
|
84
|
+
oneOf: ({
|
|
85
|
+
readonly const: "weekly";
|
|
86
|
+
readonly title: "Weekly";
|
|
87
|
+
} | {
|
|
88
|
+
readonly const: "bi_weekly";
|
|
89
|
+
readonly title: "Bi-weekly";
|
|
90
|
+
} | {
|
|
91
|
+
readonly const: "semi_monthly";
|
|
92
|
+
readonly title: "Semi-monthly";
|
|
93
|
+
} | {
|
|
94
|
+
readonly const: "monthly";
|
|
95
|
+
readonly title: "Monthly";
|
|
96
|
+
} | {
|
|
97
|
+
readonly const: "one_time";
|
|
98
|
+
readonly title: "One time";
|
|
99
|
+
})[];
|
|
100
|
+
'x-jsf-presentation': {
|
|
101
|
+
inputType: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
start_date: {
|
|
105
|
+
description: string;
|
|
106
|
+
title: string;
|
|
107
|
+
type: string;
|
|
108
|
+
format: string;
|
|
109
|
+
'x-jsf-presentation': {
|
|
110
|
+
inputType: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
employment_id?: {
|
|
114
|
+
description: string;
|
|
115
|
+
title: string;
|
|
116
|
+
type: string;
|
|
117
|
+
'x-jsf-presentation': {
|
|
118
|
+
inputType: string;
|
|
119
|
+
options: {
|
|
120
|
+
value: string;
|
|
121
|
+
label: string;
|
|
122
|
+
}[] | undefined;
|
|
123
|
+
};
|
|
124
|
+
} | undefined;
|
|
125
|
+
};
|
|
126
|
+
required: string[];
|
|
127
|
+
'x-jsf-order': string[];
|
|
128
|
+
'x-jsf-logic': {
|
|
129
|
+
computedValues: {
|
|
130
|
+
currency_selected: {
|
|
131
|
+
rule: {
|
|
132
|
+
var: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
'x-rmt-meta': {
|
|
138
|
+
jsfVersion: string;
|
|
139
|
+
};
|
|
140
|
+
allOf: ({
|
|
141
|
+
if: {
|
|
142
|
+
properties: {
|
|
143
|
+
[x: string]: {
|
|
144
|
+
type: string;
|
|
145
|
+
minLength: number;
|
|
146
|
+
minimum?: undefined;
|
|
147
|
+
} | {
|
|
148
|
+
type: string;
|
|
149
|
+
minimum: number;
|
|
150
|
+
minLength?: undefined;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
required: string[];
|
|
154
|
+
};
|
|
155
|
+
then: {};
|
|
156
|
+
else: {
|
|
157
|
+
properties: {
|
|
158
|
+
[x: string]: boolean;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
} | {
|
|
162
|
+
if: {
|
|
163
|
+
properties: {
|
|
164
|
+
periodicity: {
|
|
165
|
+
const: string;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
required: string[];
|
|
169
|
+
};
|
|
170
|
+
then: {};
|
|
171
|
+
else: {
|
|
172
|
+
properties: {
|
|
173
|
+
custom_day_1: boolean;
|
|
174
|
+
custom_day_2: boolean;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
} | {
|
|
178
|
+
if: {
|
|
179
|
+
properties: {
|
|
180
|
+
periodicity: {
|
|
181
|
+
const: "one_time";
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
required: string[];
|
|
185
|
+
};
|
|
186
|
+
then: {
|
|
187
|
+
properties: {
|
|
188
|
+
nr_occurrences: boolean;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
else: {};
|
|
192
|
+
})[];
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
export { type ContractorOption as C, createInvoiceScheduleSchema as c };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as Components } from './remoteFlows-
|
|
1
|
+
import { C as Components } from './remoteFlows-7WBvzlJt.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'yup';
|
|
4
|
-
import './types.gen-
|
|
4
|
+
import './types.gen-TcbORUL-.js';
|
|
5
5
|
import 'react-hook-form';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as T}from"./chunk-PUK2TIQX.js";import{a as g}from"./chunk-JXPMQMTT.js";import{a as b}from"./chunk-IHGCXP2X.js";import{a as w}from"./chunk-SLRPDXK6.js";import{a as x}from"./chunk-V6PPOGPT.js";import{a as d}from"./chunk-STHZZZRL.js";import{a as p}from"./chunk-P2WUHKEU.js";import{a as n}from"./chunk-S64P7IA7.js";import{a as F}from"./chunk-JGKYFH4L.js";import{a as s}from"./chunk-5FEJD2N7.js";import{a as c}from"./chunk-WYP2CB4I.js";import{a as k}from"./chunk-GHZABLDV.js";import{a as r}from"./chunk-LXGL7HF5.js";import{a as o}from"./chunk-KGNLBYM5.js";import{a as l}from"./chunk-NTPHMYYC.js";import"./chunk-5YI7MY5T.js";import{a as m}from"./chunk-CEFR62S6.js";import{a as i}from"./chunk-6CBC5OAQ.js";import{a as f}from"./chunk-GMSYO53D.js";import{a}from"./chunk-GBVBMT3H.js";import{a as u}from"./chunk-G6EKGJBB.js";import{a as e}from"./chunk-VRPZ4GHN.js";import{a as t}from"./chunk-OWOIDZHI.js";import"./chunk-ROO2IFBF.js";import"./chunk-B3MEKP45.js";import"./chunk-JLZFNUBH.js";import"./chunk-2QVO3BVI.js";import"./chunk-5IIFCA3F.js";import"./chunk-JJUOWS3K.js";import"./chunk-QRSWXKRV.js";import"./chunk-SXW4FROO.js";import"./chunk-D7MYOH3P.js";import"./chunk-FB3PEQTO.js";import"./chunk-XNV6ZN7J.js";import"./chunk-2W354SK7.js";import"./chunk-4BHEQMZV.js";import{a as D}from"./chunk-BUR3X6FL.js";import"./chunk-LKHRHBFP.js";import"./chunk-A7U3KJIP.js";import"./chunk-ED35NFA6.js";import"./chunk-GPWQPJQ7.js";import"./chunk-AUPAAQUT.js";import"./chunk-QQV5REGG.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";var K={button:g,checkbox:k,countries:l,date:i,drawer:n,email:a,fieldsetToggle:D,file:e,forcedValue:t,"multi-select":d,number:f,radio:u,select:o,statement:m,textarea:r,text:p,zendeskDrawer:F,zendeskTriggerButton:s,table:c,"work-schedule":T,pdfViewer:b,tel:w,time:x};export{K as defaultComponents};
|
|
2
2
|
//# sourceMappingURL=default-components.js.map
|