@remoteoss/remote-flows 1.49.0 → 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-X7HD2YL7.js → chunk-2UH6Y56R.js} +2 -2
- package/dist/{chunk-TZRUHUW5.js → chunk-3G4HOZCM.js} +2 -2
- package/dist/{chunk-OUUH3EQY.js → chunk-3OKB5OHA.js} +2 -2
- package/dist/{chunk-PRFHWAQZ.js → chunk-46BOEYFO.js} +2 -2
- package/dist/{chunk-J5BG6GTH.js → chunk-4CNDASPA.js} +2 -2
- package/dist/{chunk-QSF4XFSV.js → chunk-4IGLIHGF.js} +2 -2
- package/dist/{chunk-36GVXD2Z.js → chunk-4WSYC3Q5.js} +2 -2
- package/dist/{chunk-7GO4BHOI.js → chunk-53QBSOMG.js} +2 -2
- package/dist/{chunk-YLSASLPB.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-IF42CZJH.js → chunk-77AA65OH.js} +2 -2
- package/dist/{chunk-IF42CZJH.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-GKSG4TTI.js → chunk-7FKNXW2I.js} +2 -2
- package/dist/{chunk-6WO4PRGN.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-VQVE3QA2.js → chunk-BLKWR77C.js} +2 -2
- package/dist/chunk-BTCC6PNG.js +2 -0
- package/dist/chunk-BTCC6PNG.js.map +1 -0
- package/dist/{chunk-6THYSEJ7.js → chunk-C7MVEDVY.js} +2 -2
- package/dist/{chunk-NF2WEMTU.js → chunk-CCGAAOXN.js} +2 -2
- package/dist/{chunk-ZYDBHR63.js → chunk-CD6H4MBI.js} +2 -2
- package/dist/{chunk-MXF3IXNU.js → chunk-CONMRDRL.js} +2 -2
- package/dist/{chunk-I4CKTODX.js → chunk-CUO7OGD5.js} +2 -2
- package/dist/{chunk-KX4JZXZV.js → chunk-D6PMXNBM.js} +2 -2
- package/dist/chunk-DDMXUBCN.js +2 -0
- package/dist/chunk-DDMXUBCN.js.map +1 -0
- package/dist/{chunk-SXPBC2FP.js → chunk-DOPQK5RP.js} +2 -2
- package/dist/{chunk-TWLFK7DD.js → chunk-DP6L72YF.js} +2 -2
- package/dist/chunk-DYIMRD6T.js +2 -0
- package/dist/chunk-DYIMRD6T.js.map +1 -0
- 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-IUY4BDUY.js → chunk-EMMFAZZC.js} +2 -2
- package/dist/{chunk-KPJ5YKXS.js → chunk-ERBEPQJP.js} +2 -2
- package/dist/{chunk-KPJ5YKXS.js.map → chunk-ERBEPQJP.js.map} +1 -1
- package/dist/{chunk-MYO3DIES.js → chunk-EVUTX6TJ.js} +2 -2
- package/dist/chunk-F37FQXEZ.js +2 -0
- package/dist/chunk-F37FQXEZ.js.map +1 -0
- package/dist/{chunk-2HQDOWW2.js → chunk-FB3PEQTO.js} +1 -1
- package/dist/chunk-FB3PEQTO.js.map +1 -0
- package/dist/chunk-FQBOMXMX.js +2 -0
- package/dist/chunk-FQBOMXMX.js.map +1 -0
- package/dist/{chunk-4XK4QHOA.js → chunk-FSCAWXCB.js} +2 -2
- package/dist/{chunk-V2KDZU2F.js → chunk-FV6NNYDP.js} +2 -2
- package/dist/{chunk-JLM4O7ZW.js → chunk-G6EKGJBB.js} +2 -2
- package/dist/{chunk-BVMAUJC2.js → chunk-G75LPZV5.js} +2 -2
- package/dist/{chunk-KJCCB44M.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-RK5ZEDOE.js → chunk-GTS7KFEM.js} +2 -2
- package/dist/{chunk-MZUPTP2B.js → chunk-H47XUL2L.js} +2 -2
- package/dist/chunk-H6XROFQT.js +2 -0
- package/dist/chunk-H6XROFQT.js.map +1 -0
- package/dist/{chunk-TO2GYQR2.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-XTVXWH3Q.js → chunk-ILMRP364.js} +2 -2
- package/dist/{chunk-BQNZUM27.js → chunk-ITCWBZDM.js} +2 -2
- package/dist/{chunk-B5GH36QL.js → chunk-JI3PAIMV.js} +2 -2
- package/dist/{chunk-WGDZTF7Y.js → chunk-JLZFNUBH.js} +2 -2
- package/dist/{chunk-4O5HJBUC.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-EEZFRK2I.js → chunk-L2YOD4GP.js} +2 -2
- package/dist/{chunk-2IL6T6EB.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-OU2JUD4J.js → chunk-MEYX4D5K.js} +2 -2
- package/dist/{chunk-D5LOZT54.js → chunk-MXAFJYLQ.js} +2 -2
- package/dist/{chunk-LF3FMXGV.js → chunk-N7HCQXUM.js} +2 -2
- package/dist/chunk-NAFECQWK.js +2 -0
- package/dist/{chunk-5BIMRKQB.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-SH35XDFY.js → chunk-P6FFLJDP.js} +2 -2
- package/dist/{chunk-4ONGXCN3.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-RRZRQAIT.js → chunk-QFTBKRUI.js} +2 -2
- package/dist/chunk-QQV5REGG.js +8 -0
- package/dist/chunk-QQV5REGG.js.map +1 -0
- package/dist/{chunk-ZZLLPFLS.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-U6SMLAQI.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-F7ZDULRC.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-CSXL7LMW.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-UUN3PLDE.js → chunk-TX6RWQUR.js} +2 -2
- package/dist/chunk-U4H7URYB.js +2 -0
- package/dist/chunk-U4H7URYB.js.map +1 -0
- package/dist/{chunk-HDOEUCXY.js → chunk-U7JAGEOV.js} +2 -2
- package/dist/chunk-U7JAGEOV.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-LBNS4VT7.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-DSYQY3K6.js → chunk-VRPZ4GHN.js} +2 -2
- package/dist/{chunk-PFNDDLHG.js → chunk-VVZTXCX2.js} +2 -2
- package/dist/{chunk-FORYAPUZ.js → chunk-VYTUM3RI.js} +2 -2
- package/dist/{chunk-GM3UWUVL.js → chunk-WGO25FWG.js} +2 -2
- package/dist/{chunk-QYKJU45J.js → chunk-WKWL57L6.js} +2 -2
- package/dist/chunk-WRTUY6K3.js +2 -0
- package/dist/chunk-WRTUY6K3.js.map +1 -0
- package/dist/{chunk-X7FILZJH.js → chunk-WVE2IOLY.js} +2 -2
- package/dist/{chunk-5IRUNNZB.js → chunk-XDLVDPQ7.js} +2 -2
- package/dist/{chunk-6AHENEHD.js → chunk-XEVHXHHC.js} +2 -2
- package/dist/{chunk-JMFCG5KA.js → chunk-XMIVJW5E.js} +2 -2
- package/dist/{chunk-CNSE26GY.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-AP6MKHTF.js → chunk-YHZZHQP5.js} +2 -2
- package/dist/{chunk-ZAOE2DGD.js → chunk-YME2HZZJ.js} +2 -2
- package/dist/{chunk-5AF5WV3R.js → chunk-Z7XLK4JL.js} +2 -2
- package/dist/chunk-ZD4H63AL.js +2 -0
- package/dist/chunk-ZD4H63AL.js.map +1 -0
- package/dist/{chunk-64C6G646.js → chunk-ZODT3MJM.js} +2 -2
- package/dist/{chunk-6L77BWCI.js → chunk-ZOTKZZ67.js} +2 -2
- package/dist/{chunk-GJJFAGAC.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/Onboarding/utils.js +1 -1
- 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-QHOKNCU2.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-2HQDOWW2.js.map +0 -1
- package/dist/chunk-7HGU72GB.js +0 -2
- package/dist/chunk-7HGU72GB.js.map +0 -1
- package/dist/chunk-7IIQUZTH.js +0 -2
- package/dist/chunk-CQVOBIXJ.js +0 -2
- package/dist/chunk-CQVOBIXJ.js.map +0 -1
- package/dist/chunk-CRH5V5JI.js +0 -2
- package/dist/chunk-CRH5V5JI.js.map +0 -1
- package/dist/chunk-CSXL7LMW.js +0 -2
- package/dist/chunk-DN6BXTAC.js +0 -2
- package/dist/chunk-HDFAFTHC.js +0 -2
- package/dist/chunk-HDFAFTHC.js.map +0 -1
- package/dist/chunk-HDOEUCXY.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-NPVSJYM6.js +0 -2
- package/dist/chunk-NPVSJYM6.js.map +0 -1
- package/dist/chunk-R4J4TF5F.js +0 -2
- package/dist/chunk-R4J4TF5F.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-QHOKNCU2.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-X7HD2YL7.js.map → chunk-2UH6Y56R.js.map} +0 -0
- /package/dist/{chunk-TZRUHUW5.js.map → chunk-3G4HOZCM.js.map} +0 -0
- /package/dist/{chunk-OUUH3EQY.js.map → chunk-3OKB5OHA.js.map} +0 -0
- /package/dist/{chunk-PRFHWAQZ.js.map → chunk-46BOEYFO.js.map} +0 -0
- /package/dist/{chunk-J5BG6GTH.js.map → chunk-4CNDASPA.js.map} +0 -0
- /package/dist/{chunk-QSF4XFSV.js.map → chunk-4IGLIHGF.js.map} +0 -0
- /package/dist/{chunk-36GVXD2Z.js.map → chunk-4WSYC3Q5.js.map} +0 -0
- /package/dist/{chunk-7GO4BHOI.js.map → chunk-53QBSOMG.js.map} +0 -0
- /package/dist/{chunk-YLSASLPB.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-GKSG4TTI.js.map → chunk-7FKNXW2I.js.map} +0 -0
- /package/dist/{chunk-6WO4PRGN.js.map → chunk-AAXPKULB.js.map} +0 -0
- /package/dist/{chunk-FDTOQHOJ.js.map → chunk-BB3M25A3.js.map} +0 -0
- /package/dist/{chunk-VQVE3QA2.js.map → chunk-BLKWR77C.js.map} +0 -0
- /package/dist/{chunk-6THYSEJ7.js.map → chunk-C7MVEDVY.js.map} +0 -0
- /package/dist/{chunk-NF2WEMTU.js.map → chunk-CCGAAOXN.js.map} +0 -0
- /package/dist/{chunk-ZYDBHR63.js.map → chunk-CD6H4MBI.js.map} +0 -0
- /package/dist/{chunk-MXF3IXNU.js.map → chunk-CONMRDRL.js.map} +0 -0
- /package/dist/{chunk-I4CKTODX.js.map → chunk-CUO7OGD5.js.map} +0 -0
- /package/dist/{chunk-KX4JZXZV.js.map → chunk-D6PMXNBM.js.map} +0 -0
- /package/dist/{chunk-SXPBC2FP.js.map → chunk-DOPQK5RP.js.map} +0 -0
- /package/dist/{chunk-TWLFK7DD.js.map → chunk-DP6L72YF.js.map} +0 -0
- /package/dist/{chunk-5TOSVOLY.js.map → chunk-ED35NFA6.js.map} +0 -0
- /package/dist/{chunk-IUY4BDUY.js.map → chunk-EMMFAZZC.js.map} +0 -0
- /package/dist/{chunk-MYO3DIES.js.map → chunk-EVUTX6TJ.js.map} +0 -0
- /package/dist/{chunk-4XK4QHOA.js.map → chunk-FSCAWXCB.js.map} +0 -0
- /package/dist/{chunk-V2KDZU2F.js.map → chunk-FV6NNYDP.js.map} +0 -0
- /package/dist/{chunk-JLM4O7ZW.js.map → chunk-G6EKGJBB.js.map} +0 -0
- /package/dist/{chunk-BVMAUJC2.js.map → chunk-G75LPZV5.js.map} +0 -0
- /package/dist/{chunk-KJCCB44M.js.map → chunk-GE74QKS6.js.map} +0 -0
- /package/dist/{chunk-H5OZSXSY.js.map → chunk-GHZABLDV.js.map} +0 -0
- /package/dist/{chunk-RK5ZEDOE.js.map → chunk-GTS7KFEM.js.map} +0 -0
- /package/dist/{chunk-MZUPTP2B.js.map → chunk-H47XUL2L.js.map} +0 -0
- /package/dist/{chunk-TO2GYQR2.js.map → chunk-I4DU34BA.js.map} +0 -0
- /package/dist/{chunk-S2QXSX4Q.js.map → chunk-ILEO7LN4.js.map} +0 -0
- /package/dist/{chunk-XTVXWH3Q.js.map → chunk-ILMRP364.js.map} +0 -0
- /package/dist/{chunk-BQNZUM27.js.map → chunk-ITCWBZDM.js.map} +0 -0
- /package/dist/{chunk-B5GH36QL.js.map → chunk-JI3PAIMV.js.map} +0 -0
- /package/dist/{chunk-WGDZTF7Y.js.map → chunk-JLZFNUBH.js.map} +0 -0
- /package/dist/{chunk-4O5HJBUC.js.map → chunk-JVXI4RZU.js.map} +0 -0
- /package/dist/{chunk-4Y2INBAI.js.map → chunk-KGNLBYM5.js.map} +0 -0
- /package/dist/{chunk-EEZFRK2I.js.map → chunk-L2YOD4GP.js.map} +0 -0
- /package/dist/{chunk-2IL6T6EB.js.map → chunk-LADLAP2S.js.map} +0 -0
- /package/dist/{chunk-QHJ3BYJN.js.map → chunk-LXGL7HF5.js.map} +0 -0
- /package/dist/{chunk-OU2JUD4J.js.map → chunk-MEYX4D5K.js.map} +0 -0
- /package/dist/{chunk-D5LOZT54.js.map → chunk-MXAFJYLQ.js.map} +0 -0
- /package/dist/{chunk-LF3FMXGV.js.map → chunk-N7HCQXUM.js.map} +0 -0
- /package/dist/{chunk-DN6BXTAC.js.map → chunk-NAFECQWK.js.map} +0 -0
- /package/dist/{chunk-5BIMRKQB.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-SH35XDFY.js.map → chunk-P6FFLJDP.js.map} +0 -0
- /package/dist/{chunk-4ONGXCN3.js.map → chunk-PKJZ2N4C.js.map} +0 -0
- /package/dist/{chunk-RRZRQAIT.js.map → chunk-QFTBKRUI.js.map} +0 -0
- /package/dist/{chunk-ZZLLPFLS.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-U6SMLAQI.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-F7ZDULRC.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-UUN3PLDE.js.map → chunk-TX6RWQUR.js.map} +0 -0
- /package/dist/{chunk-RKP7EEAB.js.map → chunk-UGQNOBQH.js.map} +0 -0
- /package/dist/{chunk-LBNS4VT7.js.map → chunk-V3AVEPNA.js.map} +0 -0
- /package/dist/{chunk-KZ5ZQTBF.js.map → chunk-V6PPOGPT.js.map} +0 -0
- /package/dist/{chunk-DSYQY3K6.js.map → chunk-VRPZ4GHN.js.map} +0 -0
- /package/dist/{chunk-PFNDDLHG.js.map → chunk-VVZTXCX2.js.map} +0 -0
- /package/dist/{chunk-FORYAPUZ.js.map → chunk-VYTUM3RI.js.map} +0 -0
- /package/dist/{chunk-GM3UWUVL.js.map → chunk-WGO25FWG.js.map} +0 -0
- /package/dist/{chunk-QYKJU45J.js.map → chunk-WKWL57L6.js.map} +0 -0
- /package/dist/{chunk-X7FILZJH.js.map → chunk-WVE2IOLY.js.map} +0 -0
- /package/dist/{chunk-5IRUNNZB.js.map → chunk-XDLVDPQ7.js.map} +0 -0
- /package/dist/{chunk-6AHENEHD.js.map → chunk-XEVHXHHC.js.map} +0 -0
- /package/dist/{chunk-JMFCG5KA.js.map → chunk-XMIVJW5E.js.map} +0 -0
- /package/dist/{chunk-CNSE26GY.js.map → chunk-XMVV6S77.js.map} +0 -0
- /package/dist/{chunk-AP6MKHTF.js.map → chunk-YHZZHQP5.js.map} +0 -0
- /package/dist/{chunk-ZAOE2DGD.js.map → chunk-YME2HZZJ.js.map} +0 -0
- /package/dist/{chunk-5AF5WV3R.js.map → chunk-Z7XLK4JL.js.map} +0 -0
- /package/dist/{chunk-64C6G646.js.map → chunk-ZODT3MJM.js.map} +0 -0
- /package/dist/{chunk-6L77BWCI.js.map → chunk-ZOTKZZ67.js.map} +0 -0
- /package/dist/{chunk-GJJFAGAC.js.map → chunk-ZREW7KZA.js.map} +0 -0
|
@@ -249,6 +249,13 @@ type Employment = {
|
|
|
249
249
|
* The employee's full name.
|
|
250
250
|
*/
|
|
251
251
|
full_name: string;
|
|
252
|
+
/**
|
|
253
|
+
* A reference code for the employment record in the calling integration's own system.
|
|
254
|
+
* Private to that integration — no other integration can read or overwrite it.
|
|
255
|
+
* Null when the integration has not set one.
|
|
256
|
+
*
|
|
257
|
+
*/
|
|
258
|
+
partner_external_id?: string | null;
|
|
252
259
|
/**
|
|
253
260
|
* For the employment types `contractor`, `global_payroll_employee` and `direct_employee`, only [List employments](#operation/get_index_employment) and
|
|
254
261
|
* [Show employment](#operation/get_show_employment) operations are available.
|
|
@@ -342,6 +349,9 @@ type Employment = {
|
|
|
342
349
|
/**
|
|
343
350
|
* Employment basic information. Its properties may vary depending on the country.
|
|
344
351
|
*
|
|
352
|
+
* When present, `login_email` indicates which address the employee logs in with:
|
|
353
|
+
* `"personal"` or `"work"`.
|
|
354
|
+
*
|
|
345
355
|
*/
|
|
346
356
|
basic_information?: {
|
|
347
357
|
[key: string]: unknown;
|
|
@@ -375,7 +385,7 @@ type Employment = {
|
|
|
375
385
|
/**
|
|
376
386
|
* A unique reference code for the employment record in a non-Remote system. While uniqueness is recommended, it is not strictly enforced within Remote's system.
|
|
377
387
|
*/
|
|
378
|
-
external_id?: string;
|
|
388
|
+
external_id?: string | null;
|
|
379
389
|
/**
|
|
380
390
|
* For the employment models `peo` and `global_payroll`, only [List employments](#operation/get_index_employment) and
|
|
381
391
|
* [Show employment](#operation/get_show_employment) operations are available.
|
|
@@ -561,6 +571,9 @@ type EmploymentBasicResponse = {
|
|
|
561
571
|
* Employment basic information. As its properties may vary depending on the country,
|
|
562
572
|
* you must query the [Show form schema](#tag/Countries/operation/get_show_form_country) endpoint
|
|
563
573
|
* passing the country code and `basic_information` as path parameters.
|
|
574
|
+
*
|
|
575
|
+
* When present, `login_email` indicates which address the employee logs in with: `"personal"` or
|
|
576
|
+
* `"work"`.
|
|
564
577
|
*/
|
|
565
578
|
basic_information?: {
|
|
566
579
|
[key: string]: unknown;
|
|
@@ -591,6 +604,13 @@ type EmploymentBasicResponse = {
|
|
|
591
604
|
* The email the employee uses to log in to Remote.
|
|
592
605
|
*/
|
|
593
606
|
login_email?: string;
|
|
607
|
+
/**
|
|
608
|
+
* A reference code for the employment record in the calling integration's own system.
|
|
609
|
+
* Private to that integration — no other integration can read or overwrite it.
|
|
610
|
+
* Null when the integration has not set one.
|
|
611
|
+
*
|
|
612
|
+
*/
|
|
613
|
+
partner_external_id?: string | null;
|
|
594
614
|
/**
|
|
595
615
|
* The employee's personal email address.
|
|
596
616
|
*/
|
|
@@ -799,10 +819,11 @@ type CompanyCreationResponse = {
|
|
|
799
819
|
*
|
|
800
820
|
* - `draft`: The document is being prepared and has not been sent for signing.
|
|
801
821
|
* - `awaiting_signatures`: The document has been sent and is waiting for one or more parties to sign.
|
|
822
|
+
* - `deadline_passed`: The signing deadline passed before all required signatures were collected.
|
|
802
823
|
* - `finished`: All required signatures have been collected and the contract is fully executed.
|
|
803
824
|
*
|
|
804
825
|
*/
|
|
805
|
-
type ContractorContractDocumentStatus = 'draft' | 'awaiting_signatures' | 'finished';
|
|
826
|
+
type ContractorContractDocumentStatus = 'draft' | 'awaiting_signatures' | 'deadline_passed' | 'finished';
|
|
806
827
|
/**
|
|
807
828
|
* CostCalculatorEstimateParams
|
|
808
829
|
*
|
|
@@ -968,6 +989,7 @@ type ResignationOffboarding = {
|
|
|
968
989
|
*/
|
|
969
990
|
type ContractorInvoiceSchedule = {
|
|
970
991
|
currency: CurrencyCode;
|
|
992
|
+
custom_days?: ContractorInvoiceScheduleCustomDays;
|
|
971
993
|
/**
|
|
972
994
|
* Employment identifier.
|
|
973
995
|
*/
|
|
@@ -1012,7 +1034,7 @@ type ContractorInvoiceSchedule = {
|
|
|
1012
1034
|
/**
|
|
1013
1035
|
* File
|
|
1014
1036
|
*
|
|
1015
|
-
* A file associated with an employment, such as a contract, tax
|
|
1037
|
+
* A file associated with an employment, such as a contract, tax document, or identity document.
|
|
1016
1038
|
*/
|
|
1017
1039
|
type File = {
|
|
1018
1040
|
/**
|
|
@@ -1029,7 +1051,7 @@ type File = {
|
|
|
1029
1051
|
*/
|
|
1030
1052
|
sub_type?: string | null;
|
|
1031
1053
|
/**
|
|
1032
|
-
* The broad category of the file (e.g., "id", "contract", "
|
|
1054
|
+
* The broad category of the file (e.g., "id", "contract", "tax_document").
|
|
1033
1055
|
*/
|
|
1034
1056
|
type: string;
|
|
1035
1057
|
};
|
|
@@ -1150,6 +1172,15 @@ type EmploymentFullParams = {
|
|
|
1150
1172
|
*
|
|
1151
1173
|
*/
|
|
1152
1174
|
manager_id?: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* A reference code for the employment record in the calling integration's own system.
|
|
1177
|
+
* Private to that integration — no other integration can read or overwrite it.
|
|
1178
|
+
* Omit the field to leave the value unchanged; send `null` to clear it. Surrounding
|
|
1179
|
+
* whitespace is trimmed off. It can be set at any employment status, and the same
|
|
1180
|
+
* value may be used on several employments (for example a rehire).
|
|
1181
|
+
*
|
|
1182
|
+
*/
|
|
1183
|
+
partner_external_id?: string | null;
|
|
1153
1184
|
/**
|
|
1154
1185
|
* Personal details information. As its properties may vary depending on the country,
|
|
1155
1186
|
* you must query the [Show form schema](#tag/Countries/operation/get_show_form_country) endpoint
|
|
@@ -1346,6 +1377,14 @@ type CostCalculatorCosts = {
|
|
|
1346
1377
|
* 13th month salary, this happens for countries such as Philippines
|
|
1347
1378
|
*/
|
|
1348
1379
|
extra_statutory_payments_total: number;
|
|
1380
|
+
/**
|
|
1381
|
+
* The list of all annual fringe benefits tax costs
|
|
1382
|
+
*/
|
|
1383
|
+
fringe_benefits_tax_breakdown?: Array<CostCalculatorCost>;
|
|
1384
|
+
/**
|
|
1385
|
+
* Estimated tax on employer-paid benefit premiums (e.g. New Zealand FBT)
|
|
1386
|
+
*/
|
|
1387
|
+
fringe_benefits_tax_total?: number;
|
|
1349
1388
|
/**
|
|
1350
1389
|
* The list of all monthly benefit costs
|
|
1351
1390
|
*/
|
|
@@ -1362,6 +1401,14 @@ type CostCalculatorCosts = {
|
|
|
1362
1401
|
* The contributions that the company pays monthly
|
|
1363
1402
|
*/
|
|
1364
1403
|
monthly_contributions_total: number;
|
|
1404
|
+
/**
|
|
1405
|
+
* The list of all monthly fringe benefits tax costs
|
|
1406
|
+
*/
|
|
1407
|
+
monthly_fringe_benefits_tax_breakdown?: Array<CostCalculatorCost>;
|
|
1408
|
+
/**
|
|
1409
|
+
* Monthly estimated tax on employer-paid benefit premiums (e.g. New Zealand FBT)
|
|
1410
|
+
*/
|
|
1411
|
+
monthly_fringe_benefits_tax_total?: number;
|
|
1365
1412
|
/**
|
|
1366
1413
|
* The gross monthly salary for the Employee
|
|
1367
1414
|
*/
|
|
@@ -1472,9 +1519,46 @@ type RiskReserveProofOfPaymentResponse = {
|
|
|
1472
1519
|
* - `generation_failed_unrelated_to_withdrawal_method`: Generation failed for any other reason.
|
|
1473
1520
|
* - `completed`: Number of generated contractor invoices has been reached.
|
|
1474
1521
|
* - `inactive`: Does not create any further contractor invoices but it's still possible for the employer to activate it again.
|
|
1522
|
+
* - `deleted`: The schedule was cancelled and will not generate any further contractor invoices.
|
|
1475
1523
|
*
|
|
1476
1524
|
*/
|
|
1477
|
-
type ContractorInvoiceScheduleStatus = 'inactive' | 'completed' | 'active' | 'processing' | 'pending_company_action' | 'pending_contractor_action' | 'generation_failed_unrelated_to_withdrawal_method';
|
|
1525
|
+
type ContractorInvoiceScheduleStatus = 'inactive' | 'deleted' | 'completed' | 'active' | 'processing' | 'pending_company_action' | 'pending_contractor_action' | 'generation_failed_unrelated_to_withdrawal_method';
|
|
1526
|
+
/**
|
|
1527
|
+
* EngagementAgreementDetailsFileParams
|
|
1528
|
+
*
|
|
1529
|
+
* A file attached to the engagement agreement details.
|
|
1530
|
+
*
|
|
1531
|
+
* To upload a new file, send its `name` and its base64-encoded `content`. To keep a file uploaded
|
|
1532
|
+
* previously, send back the `name` and `id` returned by the show endpoint instead. Every entry
|
|
1533
|
+
* must do one or the other — an entry carrying neither is rejected, and an `id` that does not
|
|
1534
|
+
* belong to this record is rejected too. Files that are not included in the payload are deleted.
|
|
1535
|
+
*
|
|
1536
|
+
* Only the properties below are accepted; any other one is rejected. In particular a file's
|
|
1537
|
+
* `sub_type` is derived from the field it is attached to and cannot be set by the caller.
|
|
1538
|
+
*
|
|
1539
|
+
*/
|
|
1540
|
+
type EngagementAgreementDetailsFileParams = {
|
|
1541
|
+
/**
|
|
1542
|
+
* The file content, Base64 encoded. Required when uploading a new file. The decoded content must match the extension given in `name`. Requests are capped at 25MB in total, which leaves room for a file of roughly 18MB once Base64 encoded.
|
|
1543
|
+
*/
|
|
1544
|
+
content?: string;
|
|
1545
|
+
/**
|
|
1546
|
+
* ID of a file uploaded previously, as returned by the show endpoint. Send it to keep that file.
|
|
1547
|
+
*/
|
|
1548
|
+
id?: string;
|
|
1549
|
+
/**
|
|
1550
|
+
* The file name, including its extension.
|
|
1551
|
+
*/
|
|
1552
|
+
name: string;
|
|
1553
|
+
/**
|
|
1554
|
+
* The file size in bytes, before Base64 encoding.
|
|
1555
|
+
*/
|
|
1556
|
+
size?: number;
|
|
1557
|
+
/**
|
|
1558
|
+
* The file's media type.
|
|
1559
|
+
*/
|
|
1560
|
+
type?: string;
|
|
1561
|
+
};
|
|
1478
1562
|
/**
|
|
1479
1563
|
* RequestDetails
|
|
1480
1564
|
*
|
|
@@ -1687,6 +1771,16 @@ type CreateContractDocument = {
|
|
|
1687
1771
|
*/
|
|
1688
1772
|
skip_ai_checks?: boolean;
|
|
1689
1773
|
};
|
|
1774
|
+
/**
|
|
1775
|
+
* ResponseTimeoffType
|
|
1776
|
+
*
|
|
1777
|
+
* The type of leave a time off record or leave policy represents.
|
|
1778
|
+
*
|
|
1779
|
+
* Responses may return any of these values. The set is a superset of the values
|
|
1780
|
+
* accepted when creating or updating a time off record (see `TimeoffType`): employments on the newer leave-type model can hold leave types that are not bookable by name.
|
|
1781
|
+
*
|
|
1782
|
+
*/
|
|
1783
|
+
type ResponseTimeoffType = 'time_off' | 'sick_leave' | 'public_holiday' | 'unpaid_leave' | 'extended_leave' | 'in_lieu_time' | 'maternity_leave' | 'paternity_leave' | 'parental_leave' | 'bereavement' | 'military_leave' | 'other' | 'paid_time_off' | 'custom_company_leave' | 'rtt' | 'casual_leave' | 'rol' | 'ex_festivita' | 'civic_duty' | 'adoption' | 'caregiver' | 'transfer' | 'exam' | 'monkhood' | 'marriage' | 'sterilization' | 'celebration' | 'blood_donation' | 'health_day' | 'special' | 'career' | 'study' | 'voluntary' | 'adv' | 'public_duties' | 'force_majeure' | 'medical_visits' | 'marriage_child' | 'breastfeeding' | 'maternity_paid' | 'maternity_unpaid' | 'paternity_paid' | 'paternity_unpaid' | 'pregnancy_leave' | 'business_trip_eu' | 'business_trip_non_eu' | 'training' | 'sustainable_employability';
|
|
1690
1784
|
/**
|
|
1691
1785
|
* ValidationError
|
|
1692
1786
|
*/
|
|
@@ -1835,7 +1929,7 @@ type FileParams = {
|
|
|
1835
1929
|
*/
|
|
1836
1930
|
sub_type?: string;
|
|
1837
1931
|
/**
|
|
1838
|
-
* The broad category of the file (e.g., "contract", "id", "
|
|
1932
|
+
* The broad category of the file (e.g., "contract", "id", "tax_document").
|
|
1839
1933
|
*/
|
|
1840
1934
|
type?: string;
|
|
1841
1935
|
};
|
|
@@ -1975,6 +2069,10 @@ type CostCalculatorEmployment = {
|
|
|
1975
2069
|
* Whether this country has extra statutory payments (e.g., 13th month salary in the Philippines).
|
|
1976
2070
|
*/
|
|
1977
2071
|
has_extra_statutory_payment: boolean;
|
|
2072
|
+
/**
|
|
2073
|
+
* Whether this country has a fringe benefits tax on employer-paid benefit premiums (e.g. New Zealand).
|
|
2074
|
+
*/
|
|
2075
|
+
has_fringe_benefits_tax?: boolean;
|
|
1978
2076
|
/**
|
|
1979
2077
|
* The minimum number of business days required to onboard an employee in this country. Null if not determined.
|
|
1980
2078
|
*/
|
|
@@ -2068,6 +2166,21 @@ type ContractorInvoiceScheduleResponse = {
|
|
|
2068
2166
|
contractor_invoice_schedule: ContractorInvoiceSchedule;
|
|
2069
2167
|
};
|
|
2070
2168
|
};
|
|
2169
|
+
/**
|
|
2170
|
+
* EngagementAgreementDetailsFile
|
|
2171
|
+
*
|
|
2172
|
+
* A file attached to the engagement agreement details.
|
|
2173
|
+
*/
|
|
2174
|
+
type EngagementAgreementDetailsFile = {
|
|
2175
|
+
/**
|
|
2176
|
+
* ID of the file. Send it back when upserting to keep the file.
|
|
2177
|
+
*/
|
|
2178
|
+
id: string;
|
|
2179
|
+
/**
|
|
2180
|
+
* The file name, including its extension.
|
|
2181
|
+
*/
|
|
2182
|
+
name: string;
|
|
2183
|
+
};
|
|
2071
2184
|
/**
|
|
2072
2185
|
* UuidSlug
|
|
2073
2186
|
*
|
|
@@ -2150,7 +2263,11 @@ type ManageContractorPlusSubscriptionOperationsParams = {
|
|
|
2150
2263
|
*/
|
|
2151
2264
|
type EmployeeLeavePolicy = {
|
|
2152
2265
|
description: string | null;
|
|
2153
|
-
|
|
2266
|
+
/**
|
|
2267
|
+
* The ID of the leave policy variant
|
|
2268
|
+
*/
|
|
2269
|
+
leave_policy_variant_id: string | 'time_off' | 'sick_leave' | 'public_holiday' | 'unpaid_leave' | 'extended_leave' | 'in_lieu_time' | 'maternity_leave' | 'paternity_leave' | 'parental_leave' | 'bereavement' | 'military_leave' | 'other' | 'paid_time_off' | 'custom_company_leave' | 'rtt' | 'casual_leave' | 'rol' | 'ex_festivita' | 'civic_duty' | 'adoption' | 'caregiver' | 'transfer' | 'exam' | 'monkhood' | 'marriage' | 'sterilization' | 'celebration' | 'blood_donation' | 'health_day' | 'special' | 'career' | 'study' | 'voluntary' | 'adv' | 'public_duties' | 'force_majeure' | 'medical_visits' | 'marriage_child' | 'breastfeeding' | 'maternity_paid' | 'maternity_unpaid' | 'paternity_paid' | 'paternity_unpaid' | 'pregnancy_leave' | 'business_trip_eu' | 'business_trip_non_eu' | 'training' | 'sustainable_employability';
|
|
2270
|
+
leave_type: ResponseTimeoffType;
|
|
2154
2271
|
name: string;
|
|
2155
2272
|
unit: 'days' | 'hours' | 'unlimited';
|
|
2156
2273
|
};
|
|
@@ -2267,7 +2384,7 @@ type LeavePolicy = {
|
|
|
2267
2384
|
* The unique identifier (slug) of the specific policy variant.
|
|
2268
2385
|
*/
|
|
2269
2386
|
leave_policy_variant_slug: string;
|
|
2270
|
-
leave_type:
|
|
2387
|
+
leave_type: ResponseTimeoffType;
|
|
2271
2388
|
/**
|
|
2272
2389
|
* The display name of the leave policy (e.g., "Self-Care", "Annual Leave").
|
|
2273
2390
|
*/
|
|
@@ -2690,6 +2807,17 @@ type UpdateCompanyParams = {
|
|
|
2690
2807
|
*/
|
|
2691
2808
|
tax_number?: string;
|
|
2692
2809
|
};
|
|
2810
|
+
/**
|
|
2811
|
+
* BulkContractorInvoiceScheduleCreateResponse
|
|
2812
|
+
*
|
|
2813
|
+
* Response containing the lists of succeeded and failed schedules.
|
|
2814
|
+
*/
|
|
2815
|
+
type BulkContractorInvoiceScheduleCreateResponse = {
|
|
2816
|
+
data: {
|
|
2817
|
+
failures: Array<ContractorInvoiceScheduleCreateResponseFailure>;
|
|
2818
|
+
successes: Array<ContractorInvoiceScheduleCreateResponseSuccess>;
|
|
2819
|
+
};
|
|
2820
|
+
};
|
|
2693
2821
|
/**
|
|
2694
2822
|
* ContractorInvoiceScheduleCreateResponseFailure
|
|
2695
2823
|
*
|
|
@@ -2697,12 +2825,14 @@ type UpdateCompanyParams = {
|
|
|
2697
2825
|
*/
|
|
2698
2826
|
type ContractorInvoiceScheduleCreateResponseFailure = {
|
|
2699
2827
|
currency: CurrencyCode;
|
|
2828
|
+
custom_days?: ContractorInvoiceScheduleCustomDays;
|
|
2700
2829
|
/**
|
|
2701
2830
|
* Employment identifier
|
|
2702
2831
|
*/
|
|
2703
2832
|
employment_id: string;
|
|
2704
2833
|
errors: {
|
|
2705
2834
|
currency?: Array<string>;
|
|
2835
|
+
custom_days?: Array<string>;
|
|
2706
2836
|
employment_id?: Array<string>;
|
|
2707
2837
|
items?: Array<{
|
|
2708
2838
|
amount?: Array<string>;
|
|
@@ -2723,7 +2853,13 @@ type ContractorInvoiceScheduleCreateResponseFailure = {
|
|
|
2723
2853
|
*/
|
|
2724
2854
|
note?: string;
|
|
2725
2855
|
/**
|
|
2726
|
-
* Count of invoices that should be generated during schedule lifetime.
|
|
2856
|
+
* Count of invoices that should be generated during schedule lifetime. Omit for a
|
|
2857
|
+
* schedule that repeats indefinitely.
|
|
2858
|
+
*
|
|
2859
|
+
* A one-off invoice is expressed as `nr_occurrences: 1` — there is no `one_time`
|
|
2860
|
+
* periodicity. Pair it with any `periodicity` (`monthly` is conventional); the schedule
|
|
2861
|
+
* completes after its single invoice, so the cadence never applies.
|
|
2862
|
+
*
|
|
2727
2863
|
*/
|
|
2728
2864
|
nr_occurrences?: number;
|
|
2729
2865
|
/**
|
|
@@ -2941,8 +3077,23 @@ type CreateContractEligibilityParams = {
|
|
|
2941
3077
|
};
|
|
2942
3078
|
/**
|
|
2943
3079
|
* TimeoffType
|
|
3080
|
+
*
|
|
3081
|
+
* The type of leave accepted when creating or updating a time off record.
|
|
2944
3082
|
*/
|
|
2945
3083
|
type TimeoffType = 'time_off' | 'sick_leave' | 'public_holiday' | 'unpaid_leave' | 'extended_leave' | 'in_lieu_time' | 'maternity_leave' | 'paternity_leave' | 'parental_leave' | 'bereavement' | 'military_leave' | 'other' | 'paid_time_off' | 'custom_company_leave' | 'rtt' | 'casual_leave' | 'rol' | 'ex_festivita';
|
|
3084
|
+
/**
|
|
3085
|
+
* ContractorInvoicePreviewResponse
|
|
3086
|
+
*
|
|
3087
|
+
* Returns a base64 encoded Contractor Invoice preview document.
|
|
3088
|
+
*/
|
|
3089
|
+
type ContractorInvoicePreviewResponse = {
|
|
3090
|
+
data: {
|
|
3091
|
+
contractor_invoice_preview: {
|
|
3092
|
+
content: Blob | File;
|
|
3093
|
+
name: string;
|
|
3094
|
+
};
|
|
3095
|
+
};
|
|
3096
|
+
};
|
|
2946
3097
|
/**
|
|
2947
3098
|
* Decimal
|
|
2948
3099
|
*
|
|
@@ -2966,6 +3117,21 @@ type CompanyNotEligibleForCreationErrorResponse = {
|
|
|
2966
3117
|
resource_id?: string;
|
|
2967
3118
|
resource_type?: string;
|
|
2968
3119
|
};
|
|
3120
|
+
/**
|
|
3121
|
+
* ContractorInvoiceScheduleCustomDays
|
|
3122
|
+
*
|
|
3123
|
+
* The two calendar days of the month on which invoices are generated. Only applies when
|
|
3124
|
+
* `periodicity` is `semi_monthly`; must be omitted (or `null`) for every other periodicity.
|
|
3125
|
+
*
|
|
3126
|
+
* When omitted for a `semi_monthly` schedule, the two days are derived from `start_date`:
|
|
3127
|
+
* the start day and the day 14 days apart from it. Supply this field only to pick a cycle
|
|
3128
|
+
* other than that default.
|
|
3129
|
+
*
|
|
3130
|
+
* One of the two days must be the day of `start_date`, the days must be distinct, and they
|
|
3131
|
+
* cannot resolve to the same day within a month.
|
|
3132
|
+
*
|
|
3133
|
+
*/
|
|
3134
|
+
type ContractorInvoiceScheduleCustomDays = [number, number] | null;
|
|
2969
3135
|
/**
|
|
2970
3136
|
* SalaryDecreaseDetails
|
|
2971
3137
|
*
|
|
@@ -3036,7 +3202,7 @@ type Timeoff = {
|
|
|
3036
3202
|
id: string;
|
|
3037
3203
|
leave_policy: LeavePolicy;
|
|
3038
3204
|
/**
|
|
3039
|
-
* UUID of the custom company leave policy variant
|
|
3205
|
+
* Identifier of the leave policy this time off was booked against. For employments on the leave-type model this is the leave type's UUID, the same value `GET /leave-policies/details/{employment_id}` returns and `POST /timeoff` accepts. Otherwise it is the UUID of the custom company leave policy variant, and is null for standard leave types.
|
|
3040
3206
|
*/
|
|
3041
3207
|
leave_policy_variant_id?: string | null;
|
|
3042
3208
|
/**
|
|
@@ -3063,7 +3229,7 @@ type Timeoff = {
|
|
|
3063
3229
|
* The individual days and hours within this time off period.
|
|
3064
3230
|
*/
|
|
3065
3231
|
timeoff_days: Array<TimeoffDay>;
|
|
3066
|
-
timeoff_type:
|
|
3232
|
+
timeoff_type: ResponseTimeoffType;
|
|
3067
3233
|
timezone: Timezone;
|
|
3068
3234
|
/**
|
|
3069
3235
|
* The total number of minutes taken off across all `timeoff_days`. Always equals the sum of the per-day `minutes` values.
|
|
@@ -3112,6 +3278,15 @@ type EmploymentCreateParams = {
|
|
|
3112
3278
|
* A unique reference code for the employment record in a non-Remote system. This optional field links to external data sources. If not provided, it defaults to `null`. While uniqueness is recommended, it is not strictly enforced within Remote's system.
|
|
3113
3279
|
*/
|
|
3114
3280
|
external_id?: string;
|
|
3281
|
+
/**
|
|
3282
|
+
* A reference code for the employment record in the calling integration's own system.
|
|
3283
|
+
* Private to that integration — no other integration can read or overwrite it.
|
|
3284
|
+
* Omit the field to leave the value unchanged; send `null` to clear it. Surrounding
|
|
3285
|
+
* whitespace is trimmed off. It can be set at any employment status, and the same
|
|
3286
|
+
* value may be used on several employments (for example a rehire).
|
|
3287
|
+
*
|
|
3288
|
+
*/
|
|
3289
|
+
partner_external_id?: string | null;
|
|
3115
3290
|
/**
|
|
3116
3291
|
* If not provided, it will default to `employee`.
|
|
3117
3292
|
*/
|
|
@@ -3138,9 +3313,7 @@ type EmploymentEngagementAgreementDetailsParams = {
|
|
|
3138
3313
|
break_time_per_day?: number | null;
|
|
3139
3314
|
business_expenses?: string | null;
|
|
3140
3315
|
cba?: string | null;
|
|
3141
|
-
cba_document?:
|
|
3142
|
-
[key: string]: unknown;
|
|
3143
|
-
} | null;
|
|
3316
|
+
cba_document?: Array<EngagementAgreementDetailsFileParams> | null;
|
|
3144
3317
|
covenants?: Array<string> | null;
|
|
3145
3318
|
has_allowances?: string | null;
|
|
3146
3319
|
has_bonus?: string | null;
|
|
@@ -3259,6 +3432,10 @@ type EmploymentDetailsOnlyResponse = {
|
|
|
3259
3432
|
}>;
|
|
3260
3433
|
/**
|
|
3261
3434
|
* Basic information. Its properties may vary depending on the country.
|
|
3435
|
+
*
|
|
3436
|
+
* When present, `login_email` indicates which address the employee logs in with:
|
|
3437
|
+
* `"personal"` or `"work"`.
|
|
3438
|
+
*
|
|
3262
3439
|
*/
|
|
3263
3440
|
basic_information?: {
|
|
3264
3441
|
[key: string]: unknown;
|
|
@@ -3363,6 +3540,7 @@ type CreateContractDocumentResponse = {
|
|
|
3363
3540
|
*/
|
|
3364
3541
|
type ContractorInvoiceScheduleCreateResponseSuccess = {
|
|
3365
3542
|
currency: CurrencyCode;
|
|
3543
|
+
custom_days?: ContractorInvoiceScheduleCustomDays;
|
|
3366
3544
|
/**
|
|
3367
3545
|
* Employment identifier
|
|
3368
3546
|
*/
|
|
@@ -3377,7 +3555,13 @@ type ContractorInvoiceScheduleCreateResponseSuccess = {
|
|
|
3377
3555
|
*/
|
|
3378
3556
|
note?: string;
|
|
3379
3557
|
/**
|
|
3380
|
-
* Count of invoices that should be generated during schedule lifetime.
|
|
3558
|
+
* Count of invoices that should be generated during schedule lifetime. Omit for a
|
|
3559
|
+
* schedule that repeats indefinitely.
|
|
3560
|
+
*
|
|
3561
|
+
* A one-off invoice is expressed as `nr_occurrences: 1` — there is no `one_time`
|
|
3562
|
+
* periodicity. Pair it with any `periodicity` (`monthly` is conventional); the schedule
|
|
3563
|
+
* completes after its single invoice, so the cadence never applies.
|
|
3564
|
+
*
|
|
3381
3565
|
*/
|
|
3382
3566
|
nr_occurrences?: number;
|
|
3383
3567
|
/**
|
|
@@ -3428,7 +3612,22 @@ type PostV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirement
|
|
|
3428
3612
|
*/
|
|
3429
3613
|
requirement_slug: string;
|
|
3430
3614
|
};
|
|
3431
|
-
query?:
|
|
3615
|
+
query?: {
|
|
3616
|
+
/**
|
|
3617
|
+
* When `true`, skips the email that asks the company signatory to sign the
|
|
3618
|
+
* newly created document. Signature reminders are still sent while the
|
|
3619
|
+
* document remains unsigned.
|
|
3620
|
+
*
|
|
3621
|
+
* The company signatory is the authenticated user when they are allowed to
|
|
3622
|
+
* sign, otherwise the company's legal representative or owner. This parameter
|
|
3623
|
+
* only takes effect when the signatory is the authenticated user, who is about
|
|
3624
|
+
* to sign the document themselves. When the signatory is someone else, they
|
|
3625
|
+
* are emailed right away as usual, since they still need to know about the
|
|
3626
|
+
* document.
|
|
3627
|
+
*
|
|
3628
|
+
*/
|
|
3629
|
+
skip_initial_signature_email?: boolean;
|
|
3630
|
+
};
|
|
3432
3631
|
url: '/v1/onboarding/employments/{employment_id}/pre-onboarding-requirements/{requirement_slug}/documents';
|
|
3433
3632
|
};
|
|
3434
3633
|
type GetV1EmploymentsEmploymentIdResponses = {
|
|
@@ -3474,4 +3673,4 @@ type PostV1ContractAmendmentsAutomatableErrors = {
|
|
|
3474
3673
|
};
|
|
3475
3674
|
type PostV1ContractAmendmentsAutomatableError = PostV1ContractAmendmentsAutomatableErrors[keyof PostV1ContractAmendmentsAutomatableErrors];
|
|
3476
3675
|
|
|
3477
|
-
export type {
|
|
3676
|
+
export type { ListContractorInvoiceSchedulesResponse as $, UpdateCompanyParams as A, BulkContractorInvoiceScheduleCreateResponse as B, ContractAmendmentAutomatableResponse as C, ConflictResponse as D, Employment as E, ForbiddenResponse as F, File as G, EmploymentDetailsOnlyResponse as H, TerminationDetailsParams as I, Step as J, SubStep as K, ListTimeoffResponse as L, MinimalRegion as M, NotFoundResponse as N, OffboardingResponse as O, PreOnboardingRequirement as P, TimeoffStatus as Q, RequestError as R, SuccessResponse as S, TooManyRequestsResponse as T, UnprocessableEntityResponse as U, ValidationError as V, TimeoffType as W, ListLeavePoliciesSummaryResponse as X, CreateOffboardingParams as Y, UploadFileResponse as Z, FileParams as _, UnauthorizedResponse as a, ContractorInvoicePreviewResponse as a0, SignContractDocument as a1, ContractorSubscriptionsSummary as a2, ManageContractorPlusSubscriptionOperationsParams as a3, CreateContractDocumentResponse as a4, CreateContractDocument as a5, Country as a6, DateTimeIso8601 as a7, ContractDocumentItem as a8, EligibilityQuestionnaireResponse as a9, ConflictErrorResponse as aa, SubmitEligibilityQuestionnaireRequest as ab, PostV1EmploymentsEmploymentIdContractOriginData as ac, CompanyAction as ad, PayrollCalendarEor as ae, MagicLinkResponse as af, MagicLinkParams as ag, GetV1EmploymentsEmploymentIdResponse as ah, RiskReserveProofOfPaymentResponse as ai, Currency as aj, Company as ak, HelpCenterArticle as al, EngagementAgreementDetailsFile as am, EmploymentCreateParams as an, EmploymentFullParams as ao, EmploymentEngagementAgreementDetailsParams as ap, UnifiedEmploymentUpsertBenefitOffersRequest as aq, ConvertCurrencyResponse as ar, ConvertCurrencyParams as as, CreateContractEligibilityParams as at, CreatePreOnboardingDocumentResponse as au, PostV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugDocumentsData as av, CreatePreOnboardingAcknowledgementResponse as aw, ContractAmendmentResponse as b, PostV1ContractAmendmentsError as c, PostV1ContractAmendmentsAutomatableError as d, ContractorInvoiceSchedule as e, EmploymentCreationResponse as f, ContractorInvoiceScheduleResponse as g, EmploymentResponse as h, ContractorInvoiceScheduleCreateResponseFailure as i, ContractorInvoiceScheduleCreateResponseSuccess as j, Signatory as k, ContractorContractDocumentStatus as l, CompanyLegalEntity as m, CostCalculatorEstimateResponse as n, CostCalculatorEstimatePdfResponse as o, CostCalculatorEstimateParams as p, CostCalculatorEstimateCsvResponse as q, MinimalCountry as r, EmploymentTermType as s, CostCalculatorEmployment as t, PostV1CostCalculatorEstimationError as u, CompanyCreationResponse as v, BadRequestResponse as w, CompanyCreationConflictErrorResponse as x, CreateCompanyParams as y, CompanyResponse as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
2
|
import { ValidationError } from 'yup';
|
|
3
|
-
import './remoteFlows-
|
|
3
|
+
import './remoteFlows-7WBvzlJt.js';
|
|
4
4
|
|
|
5
5
|
declare function cn(...inputs: ClassValue[]): string;
|
|
6
6
|
type YupError = Pick<ValidationError, 'type' | 'errors'> & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remoteoss/remote-flows",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.50.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/remoteoss/remote-flows.git"
|
|
@@ -130,8 +130,8 @@
|
|
|
130
130
|
"@arethetypeswrong/cli": "0.18.5",
|
|
131
131
|
"@hey-api/openapi-ts": "0.95.0",
|
|
132
132
|
"@testing-library/jest-dom": "6.9.1",
|
|
133
|
-
"@testing-library/react": "16.3.
|
|
134
|
-
"@testing-library/user-event": "14.6.
|
|
133
|
+
"@testing-library/react": "16.3.3",
|
|
134
|
+
"@testing-library/user-event": "14.6.6",
|
|
135
135
|
"@types/jsdom": "28.0.3",
|
|
136
136
|
"@types/lodash.capitalize": "4.2.9",
|
|
137
137
|
"@types/lodash.groupby": "4.6.9",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-H5OZSXSY.js";import"./chunk-WGDZTF7Y.js";import"./chunk-JJUOWS3K.js";import"./chunk-5TOSVOLY.js";import"./chunk-GPWQPJQ7.js";import"./chunk-AUPAAQUT.js";import"./chunk-VNMUML3T.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as CheckboxFieldDefault};
|
|
2
|
-
//# sourceMappingURL=CheckboxFieldDefault-JXNMWIRK.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-6S5Q2OKC.js";import"./chunk-HDFAFTHC.js";import"./chunk-B3MEKP45.js";import"./chunk-WGDZTF7Y.js";import"./chunk-XNV6ZN7J.js";import"./chunk-D7MYOH3P.js";import"./chunk-LKHRHBFP.js";import"./chunk-5TOSVOLY.js";import"./chunk-GPWQPJQ7.js";import"./chunk-AUPAAQUT.js";import"./chunk-VNMUML3T.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as CountryFieldDefault};
|
|
2
|
-
//# sourceMappingURL=CountryFieldDefault-SO4WS7KE.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-6IQJJCQ3.js";import"./chunk-B3MEKP45.js";import"./chunk-WGDZTF7Y.js";import"./chunk-LKHRHBFP.js";import"./chunk-5TOSVOLY.js";import"./chunk-GPWQPJQ7.js";import"./chunk-AUPAAQUT.js";import"./chunk-VNMUML3T.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as DatePickerFieldDefault};
|
|
2
|
-
//# sourceMappingURL=DatePickerFieldDefault-AZHJN2U6.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-DSYQY3K6.js";import"./chunk-WGDZTF7Y.js";import"./chunk-2HQDOWW2.js";import"./chunk-LKHRHBFP.js";import"./chunk-5TOSVOLY.js";import"./chunk-GPWQPJQ7.js";import"./chunk-AUPAAQUT.js";import"./chunk-VNMUML3T.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as FileUploadFieldDefault};
|
|
2
|
-
//# sourceMappingURL=FileUploadFieldDefault-QHOKNCU2.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-BWM2MYPE.js";import"./chunk-WGDZTF7Y.js";import"./chunk-5TOSVOLY.js";import"./chunk-GPWQPJQ7.js";import"./chunk-AUPAAQUT.js";import"./chunk-VNMUML3T.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as ForcedValueFieldDefault};
|
|
2
|
-
//# sourceMappingURL=ForcedValueFieldDefault-BEOC4MYU.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-5MH23AST.js";import"./chunk-HDFAFTHC.js";import"./chunk-B3MEKP45.js";import"./chunk-WGDZTF7Y.js";import"./chunk-XNV6ZN7J.js";import"./chunk-D7MYOH3P.js";import"./chunk-LKHRHBFP.js";import"./chunk-5TOSVOLY.js";import"./chunk-GPWQPJQ7.js";import"./chunk-AUPAAQUT.js";import"./chunk-VNMUML3T.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as MultiSelectFieldDefault};
|
|
2
|
-
//# sourceMappingURL=MultiSelectFieldDefault-QKXVTGF2.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-JLM4O7ZW.js";import"./chunk-WGDZTF7Y.js";import"./chunk-SXW4FROO.js";import"./chunk-D7MYOH3P.js";import"./chunk-5TOSVOLY.js";import"./chunk-GPWQPJQ7.js";import"./chunk-AUPAAQUT.js";import"./chunk-VNMUML3T.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as RadioGroupFieldDefault};
|
|
2
|
-
//# sourceMappingURL=RadioGroupFieldDefault-ZHHXDUUU.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-4Y2INBAI.js";import"./chunk-WGDZTF7Y.js";import"./chunk-QRSWXKRV.js";import"./chunk-5TOSVOLY.js";import"./chunk-GPWQPJQ7.js";import"./chunk-AUPAAQUT.js";import"./chunk-VNMUML3T.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as SelectFieldDefault};
|
|
2
|
-
//# sourceMappingURL=SelectFieldDefault-FWQ7D6DU.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-C2HZNBMZ.js";import"./chunk-WGDZTF7Y.js";import"./chunk-2QVO3BVI.js";import"./chunk-QRSWXKRV.js";import"./chunk-5TOSVOLY.js";import"./chunk-GPWQPJQ7.js";import"./chunk-AUPAAQUT.js";import"./chunk-VNMUML3T.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as TelFieldDefault};
|
|
2
|
-
//# sourceMappingURL=TelFieldDefault-RA7IBELJ.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-QHJ3BYJN.js";import"./chunk-WGDZTF7Y.js";import"./chunk-5TOSVOLY.js";import"./chunk-GPWQPJQ7.js";import"./chunk-AUPAAQUT.js";import"./chunk-VNMUML3T.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as TextAreaFieldDefault};
|
|
2
|
-
//# sourceMappingURL=TextAreaFieldDefault-NEFWXEE2.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-6IDUDCVS.js";import"./chunk-WGDZTF7Y.js";import"./chunk-2QVO3BVI.js";import"./chunk-5TOSVOLY.js";import"./chunk-GPWQPJQ7.js";import"./chunk-AUPAAQUT.js";import"./chunk-VNMUML3T.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as TextFieldDefault};
|
|
2
|
-
//# sourceMappingURL=TextFieldDefault-RXNU36AX.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-KZ5ZQTBF.js";import"./chunk-WGDZTF7Y.js";import"./chunk-2QVO3BVI.js";import"./chunk-5TOSVOLY.js";import"./chunk-GPWQPJQ7.js";import"./chunk-AUPAAQUT.js";import"./chunk-VNMUML3T.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as TimeFieldDefault};
|
|
2
|
-
//# sourceMappingURL=TimeFieldDefault-KIJNBWYF.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/ui/file-uploader.tsx"],"sourcesContent":["import React, { useState, useRef, useEffect } from 'react';\nimport { Button } from '@/src/components/ui/button';\nimport { Upload, X } from 'lucide-react';\nimport { cn } from '@/src/lib/utils';\n\n// Convert accept string to readable format (e.g., \".pdf, .doc\" -> \"PDF, DOC\")\nconst getAcceptedFormats = (accept?: string) => {\n if (!accept) return null;\n return accept\n .split(',')\n .map((ext) => ext.trim().toUpperCase())\n .join(', ');\n};\n\ntype FileUploaderProps = {\n onChange: (files: File[]) => void;\n className?: string;\n multiple?: boolean;\n accept?: string;\n files?: File[];\n id?: string;\n};\n\nexport function FileUploader({\n onChange,\n className,\n multiple,\n accept,\n files: externalFiles,\n id,\n}: FileUploaderProps) {\n const syncedRef = useRef<File[] | undefined>(undefined);\n\n const [files, setFiles] = useState<File[]>(externalFiles || []);\n const inputRef = useRef<HTMLInputElement>(null);\n\n useEffect(() => {\n if (externalFiles && externalFiles !== syncedRef.current) {\n syncedRef.current = externalFiles;\n // effect is okay here, we just track with a ref to avoid unnecessary re-renders\n // oxlint-disable-next-line react-hooks/set-state-in-effect\n setFiles(externalFiles);\n }\n }, [externalFiles]);\n\n const handleClick = (e: React.MouseEvent<HTMLButtonElement>) => {\n e.preventDefault();\n inputRef.current?.click();\n };\n\n const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n if (e.target.files && e.target.files.length > 0) {\n const newFiles = Array.from(e.target.files);\n // `multiple` unset keeps the historical accumulate-across-selections behavior. Only an\n // explicit `multiple={false}` (as opposed to just not passing the prop) opts a field out\n // of that and replaces its selection instead — see the discussion on why this can't be\n // `!multiple` without reverting the field's own past \"preserve existing files\" fix.\n const updatedFiles =\n multiple === false ? newFiles : [...files, ...newFiles];\n\n setFiles(updatedFiles);\n onChange(updatedFiles);\n }\n };\n\n const onRemoveFile = (file: File) => {\n setFiles((prevFiles) => prevFiles.filter((f) => f.name !== file.name));\n onChange(files.filter((f) => f.name !== file.name));\n };\n\n const acceptedFormats = getAcceptedFormats(accept);\n\n return (\n <div className={cn('flex flex-col items-start gap-4', className)}>\n <input\n type='file'\n ref={inputRef}\n id={id}\n onChange={handleChange}\n className='hidden'\n aria-label='File upload'\n multiple={multiple}\n accept={accept}\n />\n <Button type='button' onClick={handleClick} className='gap-2'>\n <Upload className='h-4 w-4' />\n Choose File\n </Button>\n {acceptedFormats && (\n <div className='text-sm text-gray-600'>\n Accepted formats:{' '}\n <span className='font-medium'>{acceptedFormats}</span>\n </div>\n )}\n {files.length === 0 && (\n <div className='text-sm'>\n {!multiple ? (\n <span className='font-medium'>No file selected.</span>\n ) : (\n <span className='font-medium'>\n No files selected. You can select multiple files\n </span>\n )}\n </div>\n )}\n {files.length > 0 &&\n files.map((file, index) => (\n <div key={index} className='text-sm flex items-center gap-2'>\n Selected file: <span className='font-medium'>{file.name}</span>\n {'size' in file && ` (${Math.round(file.size / 1024)} KB)`}\n <Button\n type='button'\n variant='ghost'\n onClick={() => onRemoveFile(file)}\n >\n <X />\n </Button>\n </div>\n ))}\n </div>\n );\n}\n"],"mappings":"mHAAA,OAAgB,YAAAA,EAAU,UAAAC,EAAQ,aAAAC,MAAiB,QAEnD,OAAS,UAAAC,EAAQ,KAAAC,MAAS,eAwEpB,cAAAC,EAUA,QAAAC,MAVA,oBApEN,IAAMC,EAAqBC,EAACC,GACrBA,EACEA,EACJ,MAAM,GAAG,EACT,IAAKC,GAAQA,EAAI,KAAK,EAAE,YAAY,CAAC,EACrC,KAAK,IAAI,EAJQ,KADK,sBAiBpB,SAASC,EAAa,CAC3B,SAAAC,EACA,UAAAC,EACA,SAAAC,EACA,OAAAL,EACA,MAAOM,EACP,GAAAC,CACF,EAAsB,CACpB,IAAMC,EAAYC,EAA2B,MAAS,EAEhD,CAACC,EAAOC,CAAQ,EAAIC,EAAiBN,GAAiB,CAAC,CAAC,EACxDO,EAAWJ,EAAyB,IAAI,EAE9CK,EAAU,IAAM,CACVR,GAAiBA,IAAkBE,EAAU,UAC/CA,EAAU,QAAUF,EAGpBK,EAASL,CAAa,EAE1B,EAAG,CAACA,CAAa,CAAC,EAElB,IAAMS,EAAchB,EAAC,GAA2C,CAC9D,EAAE,eAAe,EACjBc,EAAS,SAAS,MAAM,CAC1B,EAHoB,eAKdG,EAAejB,EAAC,GAA2C,CAC/D,GAAI,EAAE,OAAO,OAAS,EAAE,OAAO,MAAM,OAAS,EAAG,CAC/C,IAAMkB,EAAW,MAAM,KAAK,EAAE,OAAO,KAAK,EAKpCC,EACJb,IAAa,GAAQY,EAAW,CAAC,GAAGP,EAAO,GAAGO,CAAQ,EAExDN,EAASO,CAAY,EACrBf,EAASe,CAAY,CACvB,CACF,EAbqB,gBAefC,EAAepB,EAACqB,GAAe,CACnCT,EAAUU,GAAcA,EAAU,OAAQC,GAAMA,EAAE,OAASF,EAAK,IAAI,CAAC,EACrEjB,EAASO,EAAM,OAAQY,GAAMA,EAAE,OAASF,EAAK,IAAI,CAAC,CACpD,EAHqB,gBAKfG,EAAkBzB,EAAmBE,CAAM,EAEjD,OACEH,EAAC,OAAI,UAAW2B,EAAG,kCAAmCpB,CAAS,EAC7D,UAAAR,EAAC,SACC,KAAK,OACL,IAAKiB,EACL,GAAIN,EACJ,SAAUS,EACV,UAAU,SACV,aAAW,cACX,SAAUX,EACV,OAAQL,EACV,EACAH,EAAC4B,EAAA,CAAO,KAAK,SAAS,QAASV,EAAa,UAAU,QACpD,UAAAnB,EAAC8B,EAAA,CAAO,UAAU,UAAU,EAAE,eAEhC,EACCH,GACC1B,EAAC,OAAI,UAAU,wBAAwB,8BACnB,IAClBD,EAAC,QAAK,UAAU,cAAe,SAAA2B,EAAgB,GACjD,EAEDb,EAAM,SAAW,GAChBd,EAAC,OAAI,UAAU,UACZ,SAACS,EAGAT,EAAC,QAAK,UAAU,cAAc,4DAE9B,EAJAA,EAAC,QAAK,UAAU,cAAc,6BAAiB,EAMnD,EAEDc,EAAM,OAAS,GACdA,EAAM,IAAI,CAACU,EAAMO,IACf9B,EAAC,OAAgB,UAAU,kCAAkC,4BAC5CD,EAAC,QAAK,UAAU,cAAe,SAAAwB,EAAK,KAAK,EACvD,SAAUA,GAAQ,KAAK,KAAK,MAAMA,EAAK,KAAO,IAAI,CAAC,OACpDxB,EAAC6B,EAAA,CACC,KAAK,SACL,QAAQ,QACR,QAAS,IAAMN,EAAaC,CAAI,EAEhC,SAAAxB,EAACgC,EAAA,EAAE,EACL,IATQD,CAUV,CACD,GACL,CAEJ,CAlGgB5B,EAAAG,EAAA","names":["useState","useRef","useEffect","Upload","X","jsx","jsxs","getAcceptedFormats","__name","accept","ext","FileUploader","onChange","className","multiple","externalFiles","id","syncedRef","useRef","files","setFiles","useState","inputRef","useEffect","handleClick","handleChange","newFiles","updatedFiles","onRemoveFile","file","prevFiles","f","acceptedFormats","cn","Button","Upload","index","X"]}
|
package/dist/chunk-7HGU72GB.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as B}from"./chunk-PVORGGT3.js";import{b as te,c as ne,f as re}from"./chunk-4BHEQMZV.js";import{a as oe}from"./chunk-BUR3X6FL.js";import{a as ee}from"./chunk-A7U3KJIP.js";import{a as O}from"./chunk-5TOSVOLY.js";import{c as g,i as x,m as j}from"./chunk-AUPAAQUT.js";import{l as X,m as Y,n as V,r as z}from"./chunk-C4HFMTSB.js";import{b as h,c as T}from"./chunk-H2O4CVKF.js";import{a as r}from"./chunk-P37U34EQ.js";import{Fragment as to,useEffect as no,useRef as Ve}from"react";import _ from"lodash.omit";import{jsx as ie}from"react/jsx-runtime";function le({description:e,label:o,name:t,minDate:n,maxDate:i,onChange:l,component:a,...m}){let{components:u}=h(),{control:c}=g(),f=T(),s;m.meta?.mot&&typeof m.meta.mot=="number"?s=X(m.meta.mot):typeof n=="string"&&(s=new Date(`${n}T00:00:00`));let F;return i&&(F=new Date(`${i}T23:59:59`)),ie(x,{control:c,name:t,render:({field:C,fieldState:S})=>{let p=a||u?.date;if(!p)throw new Error(`Date picker component not found for field ${t}`);let b={description:e,label:o,name:t,onChange:l,transformHtml:f,...s&&{minDate:s.toISOString()},...F&&{maxDate:F.toISOString()},...m};return ie(p,{field:{...C,onChange:r(y=>{C.onChange(y),l?.(y)},"onChange")},fieldState:S,fieldData:b})}})}r(le,"DatePickerField");import{jsx as se}from"react/jsx-runtime";var Le=r((e,o)=>{if(!o)return null;for(let t of e)if(t instanceof File&&t.size>o){let n=Math.round(o/1048576),i=Math.round(t.size/(1024*1024));return`File "${t.name}" exceeds maximum size of ${n}MB (file is ${i}MB)`}return null},"validateFileSize");function me({name:e,description:o,label:t,multiple:n,onChange:i,component:l,accept:a,maxSize:m,...u}){let{components:c}=h(),{control:f,setError:s,clearErrors:F}=g(),C=T(),S=r(async(p,b)=>{let y=Le(p,m);if(y){s(e,{message:y});return}F(e),b.onChange(p),i?.(p)},"handleOnChange");return se(x,{control:f,name:e,render:({field:p,fieldState:b})=>{let y=l||c.file;if(!y)throw new Error(`File upload component not found for field ${e}`);let P={name:e,description:o,label:t,multiple:n,accept:a,maxFileSize:m,transformHtml:C,...u};return se(y,{field:{...p,value:p.value,onChange:r(async w=>S(w,p),"onChange")},fieldState:b,fieldData:P})}})}r(me,"FileUploadField");import{jsx as ae}from"react/jsx-runtime";function J({component:e,onChange:o,...t}){let{components:n}=h(),{control:i}=g(),l=T();return ae(x,{control:i,name:t.name,render:({field:a,fieldState:m})=>{let u=e||n.number;if(!u)throw new Error(`Number component not found for field ${t.name}`);let c={onChange:o,transformHtml:l,...t};return ae(u,{field:{...a,onChange:r(f=>{a.onChange(f),o?.(f)},"onChange")},fieldState:m,fieldData:c})}})}r(J,"NumberField");import{jsx as de}from"react/jsx-runtime";function pe({name:e,defaultValue:o,description:t,label:n,options:i,onChange:l,component:a,...m}){let{components:u}=h(),{control:c}=g(),f=T();return de(x,{control:c,name:e,defaultValue:o,render:({field:s,fieldState:F})=>{let C=a||u?.radio;if(!C)throw new Error(`Radio group component not found for field ${e}`);let S={name:e,defaultValue:o,description:t,label:n,options:i,transformHtml:f,...m};return de(C,{field:{...s,onChange:r(p=>{s.onChange(p),l?.(p)},"onChange")},fieldState:F,fieldData:S})}})}r(pe,"RadioGroupField");import{jsx as ce}from"react/jsx-runtime";function ue({label:e,name:o,options:t,defaultValue:n,description:i,onChange:l,component:a,...m}){let{control:u}=g(),{components:c}=h(),f=T();return ce(x,{defaultValue:n,control:u,name:o,render:({field:s,fieldState:F})=>{let C=a||c?.select;if(!C)throw new Error(`Select component not found for field ${o}`);let S={label:e,name:o,options:t,defaultValue:n,description:i,onChange:l,transformHtml:f,...m};return ce(C,{field:{...s,onChange:r(p=>{let y=(Array.isArray(m.jsonType)?m.jsonType.includes("number"):m.jsonType==="number")?Number(p):p;s.onChange(y),l?.(y)},"onChange")},fieldState:F,fieldData:S})}})}r(ue,"SelectField");import{jsx as Fe}from"react/jsx-runtime";function fe({label:e,name:o,options:t,defaultValue:n,description:i,onChange:l,$meta:a,component:m,...u}){let{control:c}=g(),{components:f}=h(),s=T();return Fe(x,{defaultValue:n,control:c,name:o,render:({field:F,fieldState:C})=>{let S=m||f.countries;if(!S)throw new Error(`Country component not found for field ${o}`);let p={label:e,name:o,options:t,defaultValue:n,description:i,onChange:l,$meta:a,transformHtml:s,...u};return Fe(S,{field:{...F,onChange:r(b=>{F.onChange(b),l?.(b)},"onChange")},fieldState:C,fieldData:p})}})}r(fe,"CountryField");import{jsx as Ce}from"react/jsx-runtime";function ge({name:e,description:o,label:t,onChange:n,maxLength:i,component:l,...a}){let{components:m}=h(),{control:u}=g(),c=T();return Ce(x,{control:u,name:e,render:({field:f,fieldState:s})=>{let F=l||m.textarea;if(!F)throw new Error(`Text area component not found for field ${e}`);let C={name:e,description:o,label:t,maxLength:i,transformHtml:c,...a};return Ce(F,{field:{...f,onChange:r(S=>{f.onChange(S),n?.(S)},"onChange")},fieldState:s,fieldData:C})}})}r(ge,"TextAreaField");import{jsx as he}from"react/jsx-runtime";function Se({component:e,onChange:o,...t}){let{components:n}=h(),{control:i}=g(),l=T();return he(x,{control:i,name:t.name,render:({field:a,fieldState:m})=>{let u=e||n.email;if(!u)throw new Error(`Email component not found for field ${t.name}`);let c={onChange:o,transformHtml:l,...t};return he(u,{field:{...a,onChange:r(f=>{a.onChange(f),o?.(f)},"onChange")},fieldState:m,fieldData:c})}})}r(Se,"EmailField");import{useEffect as ze}from"react";import{jsx as Te}from"react/jsx-runtime";function xe(e){let{control:o,setValue:t}=g();return ze(()=>{e.const!==void 0&&e.const===e.default&&e.name&&t(e.name,e.const)},[e.const,e.default,e.name,t]),Te(x,{control:o,name:e.name,render:({field:n})=>Te("input",{...n,type:"hidden"})})}r(xe,"HiddenField");import{useEffect as Oe,useState as Ge}from"react";import{jsx as ye}from"react/jsx-runtime";function Pe(e){let{components:o}=h(),{setValue:t,control:n,watch:i}=g(),l=T(),a=i(e.name),[m,u]=Ge(a),{workHoursSummary:c,breakSummary:f}=ne(m),s=te(m);Oe(()=>{t(e.name,m)},[m,e.name,t]);function F(p){u(p)}r(F,"onSubmit");let C=e.component||o["work-schedule"];if(!C)throw new Error(`Work schedule component not found for field ${e.name}`);let S={...e,onSubmit:F,currentSchedule:m,transformHtml:l,defaultFormattedValue:{workHoursSummary:c,breakSummary:f,totalWorkHours:s}};return ye(x,{control:n,name:e.name,render:({field:p,fieldState:b})=>ye(C,{field:{...p,onChange:r(y=>{p.onChange(y),e.onChange?.(y)},"onChange")},fieldState:b,fieldData:S})})}r(Pe,"WorkScheduleField");import{jsx as be}from"react/jsx-runtime";function $e({label:e,name:o,options:t,defaultValue:n,description:i,onChange:l,component:a,...m}){let{control:u}=g(),{components:c}=h(),f=T();return be(x,{defaultValue:n,control:u,name:o,render:({field:s,fieldState:F})=>{let C=a||c?.["multi-select"];if(!C)throw new Error(`Multi select component not found for field ${o}`);let S={label:e,name:o,options:t,defaultValue:n,description:i,onChange:l,transformHtml:f,...m};return be(C,{field:{...s,onChange:r(p=>{s.onChange(p),l?.(p)},"onChange")},fieldState:F,fieldData:S})}})}r($e,"MultiSelectField");import{jsx as Ue}from"react/jsx-runtime";var De=r(e=>Ue(J,{maxLength:15,...e}),"MoneyField");import{useMemo as I,useCallback as Ee,useState as Ze,useEffect as Ke,useRef as qe}from"react";import{jsx as G}from"react/jsx-runtime";function Qe(e){return e.replace(/\s/g,"")}r(Qe,"removeSpaces");function Me(e="",o){let t=new RegExp(`^(\\+|00)(\\d{${o?.dialCode?.length??0}})(.*)$`),n=e?.match(t);if(!n)return{prefix:"",dialCode:"",phoneNumber:e};let[,i,l,a]=n;return{prefix:i,dialCode:l,phoneNumber:a}}r(Me,"getStructuredNumberFromInternationalNumber");function Re({dialCodes:e,dialCodeMaxLength:o},t){let{prefix:n}=Me(t);if(n)for(let i=o+n.length;i>n.length;i--){let l=t.slice(n.length,i);if(e[l])return e[l]}}r(Re,"getCountryFromPhoneNumber");function we(e){let o={},t=0;return e.forEach(n=>{n.areaCodes?n.areaCodes.forEach(i=>{let l=n.dialCode+i;o[l]=n,l.length>t&&(t=l.length)}):(o[n.dialCode]=n,n.dialCode.length>t&&(t=n.dialCode.length))}),{dialCodes:o,dialCodeMaxLength:t}}r(we,"getCountryDataByCountryCode");function Xe(e=""){let o=/\(([^)]+)\)/g,t=e.match(o);if(t?.length===2)return t[1].replace(/\(|\)/g,"").split("|")}r(Xe,"getAreaCodesFromPattern");function Ye(e){return e.map(o=>({name:o.label,dialCode:o.meta.countryCode,pattern:o.pattern,areaCodes:Xe(o.pattern)}))}r(Ye,"transformSchemaToCountries");function je({field:e,fieldState:o,fieldData:t,component:n,onChangeCountryCode:i,onChangePhoneNumber:l}){let{value:a}=e,{options:m}=t,u=I(()=>Ye(m),[m]),c=I(()=>we(u),[u]),f=qe(!1),[s,F]=Ze(()=>Re(we(u),a||""));Ke(()=>{if((!a||a==="+")&&(f.current=!1),f.current)return;let P=Re(c,a||"");F(P)},[a,c]);let{prefix:C,phoneNumber:S}=I(()=>Me(a,s),[a,s]),p=Ee(P=>{if(!P)return;let w=`+${P.dialCode}${S}`;f.current=!0,F(P),e.onChange(w),i&&i(P)},[S,e,i]),b=Ee(P=>{let w=Qe(P.target.value),N;if(s?N=`${C}${s.dialCode}${w}`:N=`${C}${w}`,e.onChange(N),l){let k={target:{value:N,name:e.name}};l(k)}},[s,C,e,l]),y=I(()=>({...t,onChangeCountryCode:p,onChangePhoneNumber:b,currentCountry:s,nationalPhoneNumber:S}),[t,p,b,s,S]);return G(n,{field:e,fieldState:o,fieldData:y})}r(je,"TelFieldRenderer");function ve({name:e,description:o,label:t,onChangeCountryCode:n,onChangePhoneNumber:i,component:l,...a}){let{components:m}=h(),{control:u}=g(),c=T();return G(x,{control:u,name:e,render:({field:f,fieldState:s})=>{let F=l||m.tel;if(!F)throw new Error(`Tel component not found for field ${e}`);let C={name:e,description:o,label:t,transformHtml:c,...a};return G(je,{field:f,fieldState:s,fieldData:C,component:F,onChangeCountryCode:n,onChangePhoneNumber:i})}})}r(ve,"TelField");import{jsx as Ne}from"react/jsx-runtime";function ke({name:e,description:o,label:t,type:n,onChange:i,component:l,maxLength:a,...m}){let{components:u}=h(),{control:c}=g(),f=T();return Ne(x,{control:c,name:e,render:({field:s,fieldState:F})=>{let C=l||u?.time;if(!C)throw new Error(`Time component not found for field ${e}`);let S={name:e,description:o,label:t,type:n,onChange:i,maxLength:a,transformHtml:f,...m};return Ne(C,{field:{...s,onChange:r(p=>{s.onChange(p),i?.(p)},"onChange")},fieldState:F,fieldData:S})}})}r(ke,"TimeField");var U={checkbox:re,text:ee,email:Se,money:De,select:ue,"multi-select":$e,radio:pe,number:J,file:me,date:le,textarea:ge,countries:fe,hidden:xe,tel:ve,time:ke,"work-schedule":Pe};import{useEffect as eo}from"react";import{jsx as oo}from"react/jsx-runtime";function He({name:e,value:o,description:t,statement:n,label:i,helpCenter:l}){let{setValue:a}=g(),{components:m}=h(),u=T();eo(()=>{a(e,o)},[e,o,a]);let c=n?.description||t,f=n?.title?z(n.title):z(i);if(!c&&!n?.title)return null;let F=m?.forcedValue;if(!F)throw new Error(`Forced value component not found for field ${e}`);return oo(F,{fieldData:{name:e,value:o,title:f,description:c,meta:{helpCenter:l},transformHtml:u}})}r(He,"ForcedValueField");import{Fragment as Z,jsx as $,jsxs as v}from"react/jsx-runtime";function _e({label:e,name:o,fields:t,description:n,components:i,statement:l,isFlatFieldset:a,extra:m,variant:u="outset",features:c,meta:f}){let{helpCenter:s}=f||{},{watch:F,setValue:C,trigger:S,formState:p}=g(),{components:b}=h(),y=c?.toggle?.stateField,P=y?F(y):c?.toggle?.defaultExpanded??!0,w=t.map(({name:d})=>`${o}.${d}`),N=t.some(d=>d.calculateDynamicProperties),k=F(w),We=N?F():k,K=Ve(k),H=Ve(null),Ae=r(()=>{y&&C(y,!P)},"toggleExpanded");no(()=>{let d=k,M=K.current,E=p.isSubmitted||p.submitCount>0,W=!1;for(let R=0;R<d.length;R++)if(d[R]!==void 0&&M[R]!==d[R]){W=!0;break}return W&&E&&(H.current&&clearTimeout(H.current),H.current=setTimeout(()=>{S()},50)),K.current=[...d],()=>{H.current&&clearTimeout(H.current)}},[k,S,p.isSubmitted,p.submitCount]);let Be=b?.fieldsetToggle||oe,q=`${o}-content`,Q=`${o}-header`;return v("fieldset",{className:V("border-1 border-input p-4 rounded-xl","RemoteFlows__FieldSetField",`RemoteFlows__FieldSetField__${o}`),children:[$("legend",{className:V("text-sm font-semibold px-2",u==="inset"&&"hidden"),children:e}),s?.callToAction&&s?.id&&u==="outset"&&$(O,{className:"RemoteFlows__FieldSetField__HelpCenterLink mb-3",zendeskId:s.id,children:s.callToAction}),u==="inset"&&v(Z,{children:[v("div",{className:"RemoteFlows__FieldSetField__Header",id:Q,"data-state":P?"expanded":"collapsed","aria-expanded":P,children:[$("h3",{className:V("RemoteFlows__FieldSetField__Title"),children:e}),c?.toggle?.enabled&&$(Be,{isExpanded:P,onToggle:Ae,"aria-expanded":P,"aria-controls":q,"aria-label":`${P?"Hide":"Show"} ${e}`,className:V("RemoteFlows__FieldSetField__Toggle",c.toggle?.className),children:P?c.toggle.labels?.collapse??"Remove":c.toggle.labels?.expand??"Define"})]}),s?.callToAction&&s?.id&&$(O,{className:"RemoteFlows__FieldSetField__HelpCenterLink mb-3",zendeskId:s.id,children:s.callToAction})]}),P&&v("div",{id:q,"aria-labelledby":Q,role:"region",children:[n?$(j,{as:"div",className:"mb-5 RemoteFlows__FieldSetField__Description",children:n}):null,v("div",{className:"grid gap-4",children:[t.map(d=>{if(d.calculateDynamicProperties&&(d={...d,...d.calculateDynamicProperties(We,d)||{}}),d.isVisible===!1||d.deprecated)return null;let M=d.type,E=`${a?d.name:`${o}.${d.name}`}`,W=Y(d),R=r((D,A)=>d.WrapperComponent?$(d.WrapperComponent,{children:D},A):$(to,{children:D},A),"wrapWithCustomWrapper");if(W){let D=_(d,"WrapperComponent");return R($(He,{name:E,description:D.description,value:D.const,statement:D.statement,label:D.label,helpCenter:D.meta?.helpCenter}),E)}if(M==="fieldset"){let D=_(d,"WrapperComponent");return R($(_e,{...D,name:E,components:i}),E)}if(M==="fieldset-flat"){let D=_(d,"WrapperComponent");return R($(_e,{...D,name:E,components:i,isFlatFieldset:!0}),E)}let L=U[M];if(d.Component){let{Component:D}=d,A=_(d,"WrapperComponent");return R(v(Z,{children:[$(D,{...A,value:F(E),setValue:Ie=>{C(E,Ie)}}),d.statement?$(B,{...d.statement}):null,d.extra?d.extra:null]}),E)}if(!L)return v("p",{className:"error",children:["Field type ",M," not supported"]});M==="select"&&d.multiple&&(L=U["multi-select"]);let Je=_(d,"WrapperComponent");return R(v(Z,{children:[$(L,{...Je,name:E,component:i?.[M]}),d.statement?$(B,{...d.statement}):null,d.extra?d.extra:null]}),E)}),m||null,l?$(B,{...l}):null]})]})]})}r(_e,"FieldSetField");export{U as a,He as b,_e as c};
|
|
2
|
-
//# sourceMappingURL=chunk-7HGU72GB.js.map
|