@remoteoss/remote-flows 1.44.0 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ButtonDefault-HBOULH5V.js +2 -0
- package/dist/CheckboxFieldDefault-62URAHJV.js +2 -0
- package/dist/CountryFieldDefault-24NNZN2C.js +2 -0
- package/dist/DatePickerFieldDefault-NMUCZ4U2.js +2 -0
- package/dist/DrawerDefault-O7NUFWJ4.js +2 -0
- package/dist/EmailFieldDefault-S3DO2YLL.js +2 -0
- package/dist/FieldsetToggleButtonDefault-MIRCZJKA.js +2 -0
- package/dist/FileUploadFieldDefault-4NW5VLF6.js +2 -0
- package/dist/MultiSelectFieldDefault-S45Z53ZY.js +2 -0
- package/dist/NumberFieldDefault-AA5UGCSR.js +2 -0
- package/dist/RadioGroupFieldDefault-X44FYUA3.js +2 -0
- package/dist/SelectFieldDefault-PLDXHTQY.js +2 -0
- package/dist/StatementDefault-RDC5G24K.js +2 -0
- package/dist/TableFieldDefault-ES7OIYX5.js +2 -0
- package/dist/TelFieldDefault-IYGEEV5V.js +2 -0
- package/dist/TextAreaFieldDefault-C6M3PIV2.js +2 -0
- package/dist/TextFieldDefault-OC2TMXVF.js +2 -0
- package/dist/TimeFieldDefault-J6PKL5T4.js +2 -0
- package/dist/WorkScheduleFieldDefault-MDDNWRCO.js +2 -0
- package/dist/ZendeskDrawerDefault-HGKAUCUV.js +2 -0
- package/dist/{chunk-HXEOVMUT.js → chunk-2EGFPBT7.js} +2 -2
- package/dist/chunk-2FIBHHT7.js +2 -0
- package/dist/chunk-2FIBHHT7.js.map +1 -0
- package/dist/{chunk-NRWIGTY2.js → chunk-2JK3XRHE.js} +2 -2
- package/dist/{chunk-43FMKELR.js → chunk-2RVICCFD.js} +2 -2
- package/dist/{chunk-6Z4U4GYV.js → chunk-2TBTNTJ2.js} +2 -2
- package/dist/{chunk-F35ALUPA.js → chunk-3ISSVSL5.js} +2 -2
- package/dist/{chunk-HHFGG3RU.js → chunk-3NKRZURO.js} +2 -2
- package/dist/chunk-3O7L6JUX.js +2 -0
- package/dist/chunk-3O7L6JUX.js.map +1 -0
- package/dist/{chunk-LNR6TGLQ.js → chunk-43XVHRYM.js} +2 -2
- package/dist/{chunk-OK4RV6ZT.js → chunk-46RBPCK6.js} +2 -2
- package/dist/{chunk-Y3CJRZLA.js → chunk-4FGKIGKF.js} +2 -2
- package/dist/chunk-4FV6Z3HE.js +2 -0
- package/dist/{chunk-JVLARDTF.js.map → chunk-4FV6Z3HE.js.map} +1 -1
- package/dist/{chunk-OV6PV4N5.js → chunk-4GIQCWII.js} +2 -2
- package/dist/{chunk-RJXRGUNB.js → chunk-4IEAIF46.js} +2 -2
- package/dist/{chunk-74ICDGQK.js → chunk-4X7TVFHA.js} +2 -2
- package/dist/{chunk-FCY5FJMC.js → chunk-52GHCI6X.js} +2 -2
- package/dist/chunk-5MPW7QWT.js +2 -0
- package/dist/{chunk-LSC6NTXD.js → chunk-65G3JQ7T.js} +2 -2
- package/dist/{chunk-FG2DNTDR.js → chunk-6BOIGCHK.js} +2 -2
- package/dist/{chunk-OPX7E3W2.js → chunk-6JTUAJBZ.js} +2 -2
- package/dist/{chunk-HBOMEPXQ.js → chunk-6LQ2EP7Y.js} +2 -2
- package/dist/{chunk-S3EXF5DV.js → chunk-6QEAL5BB.js} +2 -2
- package/dist/{chunk-LFHFZU6X.js → chunk-6SNWSCXH.js} +2 -2
- package/dist/chunk-726N45PF.js +2 -0
- package/dist/chunk-726N45PF.js.map +1 -0
- package/dist/chunk-7EFZVAWU.js +2 -0
- package/dist/chunk-7EFZVAWU.js.map +1 -0
- package/dist/{chunk-KT4Y4UPD.js → chunk-A3EQ7FNB.js} +2 -2
- package/dist/{chunk-N6XLGYRK.js → chunk-AHUSQVQY.js} +2 -2
- package/dist/chunk-AW436CZP.js +2 -0
- package/dist/chunk-AW436CZP.js.map +1 -0
- package/dist/chunk-B6F2M3ZM.js +2 -0
- package/dist/chunk-B6F2M3ZM.js.map +1 -0
- package/dist/{chunk-T5J2Z6ZR.js → chunk-BC4V2YAK.js} +2 -2
- package/dist/{chunk-PQG6KZIO.js → chunk-BGSB3XPW.js} +2 -2
- package/dist/{chunk-PGCS6HUO.js → chunk-BIE73HZH.js} +2 -2
- package/dist/{chunk-ZC47WDFG.js → chunk-BKSWQYXH.js} +2 -2
- package/dist/chunk-BKSWQYXH.js.map +1 -0
- package/dist/{chunk-R4TM2Y3K.js → chunk-BS2YN6CS.js} +2 -2
- package/dist/{chunk-FHIMDCMT.js → chunk-BVKOMSHU.js} +2 -2
- package/dist/{chunk-PSU2AEFU.js → chunk-BZ4VPC4U.js} +2 -2
- package/dist/{chunk-F5WNUYFP.js → chunk-CH75YRKR.js} +2 -2
- package/dist/{chunk-OXTA4W4J.js → chunk-CM4UUBU5.js} +2 -2
- package/dist/{chunk-HFHQDWJN.js → chunk-D2PYVF6J.js} +2 -2
- package/dist/{chunk-DO7OL4EG.js → chunk-DAYIMXLP.js} +2 -2
- package/dist/{chunk-BUOHZMK6.js → chunk-DDH7MZ7M.js} +2 -2
- package/dist/{chunk-44XEUAFV.js → chunk-DKOETPI4.js} +2 -2
- package/dist/{chunk-D2MZKYRH.js → chunk-DL6MFAFK.js} +2 -2
- package/dist/{chunk-QJJZTAG2.js → chunk-DLSHZLHX.js} +2 -2
- package/dist/{chunk-MHIY35CK.js → chunk-DOVE5SYY.js} +2 -2
- package/dist/{chunk-FJC6IGXJ.js → chunk-FFFB5CG2.js} +2 -2
- package/dist/{chunk-6OHLLH6W.js → chunk-FII45OPC.js} +2 -2
- package/dist/chunk-FMRWWDZE.js +2 -0
- package/dist/chunk-FMRWWDZE.js.map +1 -0
- package/dist/{chunk-7NFCUTWO.js → chunk-FOYZWDU5.js} +2 -2
- package/dist/{chunk-2BCZXNBX.js → chunk-FQFIRIKU.js} +2 -2
- package/dist/{chunk-PFQB3V2U.js → chunk-FXVHH75C.js} +2 -2
- package/dist/chunk-G3QDDD53.js +2 -0
- package/dist/chunk-G3QDDD53.js.map +1 -0
- package/dist/chunk-GJ2AOENT.js +2 -0
- package/dist/chunk-GJ2AOENT.js.map +1 -0
- package/dist/{chunk-3UBFABDS.js → chunk-GPY3JZJJ.js} +2 -2
- package/dist/{chunk-UT3CQ2DH.js → chunk-GWQJKZ3M.js} +2 -2
- package/dist/{chunk-VZ3JCO23.js → chunk-GYYQWPA6.js} +2 -2
- package/dist/{chunk-CPRWWJYQ.js → chunk-H6XSWBE5.js} +2 -2
- package/dist/{chunk-YJFRQSTA.js → chunk-H7PNNMW5.js} +2 -2
- package/dist/{chunk-LJUWER2H.js → chunk-HFFQ642D.js} +2 -2
- package/dist/{chunk-DMNKKWLY.js → chunk-HQLGDW2G.js} +2 -2
- package/dist/{chunk-QO7Y6QRE.js → chunk-HU7FSSPH.js} +2 -2
- package/dist/chunk-HYWQLLZC.js +2 -0
- package/dist/chunk-HYWQLLZC.js.map +1 -0
- package/dist/{chunk-SQCTVURR.js → chunk-IMCNVNKF.js} +2 -2
- package/dist/{chunk-J2L3CYIS.js → chunk-INUCPQVI.js} +2 -2
- package/dist/{chunk-F7QTO3NU.js → chunk-IVISBFAT.js} +2 -2
- package/dist/{chunk-34JOEA4E.js → chunk-J7I4WJ4G.js} +2 -2
- package/dist/{chunk-4MB3FE3T.js → chunk-JH3WUGO5.js} +2 -2
- package/dist/chunk-JK4CPPN4.js +2 -0
- package/dist/chunk-JK4CPPN4.js.map +1 -0
- package/dist/chunk-JPVSXGCC.js +2 -0
- package/dist/chunk-JPVSXGCC.js.map +1 -0
- package/dist/chunk-JXH42V2F.js +2 -0
- package/dist/chunk-JXH42V2F.js.map +1 -0
- package/dist/{chunk-RYUBFXSX.js → chunk-KF54ACZP.js} +2 -2
- package/dist/chunk-KGSH67IW.js +2 -0
- package/dist/chunk-KGSH67IW.js.map +1 -0
- package/dist/chunk-KV4SSPEB.js +2 -0
- package/dist/chunk-KV4SSPEB.js.map +1 -0
- package/dist/chunk-L4IKDVFW.js +2 -0
- package/dist/chunk-L4IKDVFW.js.map +1 -0
- package/dist/{chunk-MKO33XZ5.js → chunk-LD633A5N.js} +2 -2
- package/dist/chunk-LGSOTN4M.js +2 -0
- package/dist/chunk-LGSOTN4M.js.map +1 -0
- package/dist/{chunk-WLPWXK7I.js → chunk-LKTCYO6Y.js} +2 -2
- package/dist/{chunk-JXZX66MM.js → chunk-LQFLXXBR.js} +2 -2
- package/dist/chunk-MAEAZFMR.js +1 -0
- package/dist/chunk-MQK33NLF.js +2 -0
- package/dist/chunk-MQK33NLF.js.map +1 -0
- package/dist/{chunk-CRDG62ZJ.js → chunk-MS2MOZGL.js} +2 -2
- package/dist/{chunk-DSGQZDY6.js → chunk-MZN6VY5F.js} +2 -2
- package/dist/{chunk-DJIQISA2.js → chunk-NDWVOVDM.js} +2 -2
- package/dist/{chunk-WIFDQWVX.js → chunk-NFLN2YB6.js} +2 -2
- package/dist/{chunk-XYF4TIRU.js → chunk-NGCNYQSC.js} +2 -2
- package/dist/{chunk-YWLRVUE3.js → chunk-NPXIFNK2.js} +2 -2
- package/dist/{chunk-G2LZFGZA.js → chunk-NXRWBI36.js} +2 -2
- package/dist/chunk-NXRWBI36.js.map +1 -0
- package/dist/{chunk-3GCJILCE.js → chunk-O2M7ZWVK.js} +2 -2
- package/dist/{chunk-LBQQSYCG.js → chunk-P5NAMZNA.js} +2 -2
- package/dist/{chunk-HGFJTAEM.js → chunk-PG7R37J5.js} +2 -2
- package/dist/{chunk-DIH7KHWI.js → chunk-PMCCHSXD.js} +2 -2
- package/dist/{chunk-7O4Y3DAM.js → chunk-PMIGYQEX.js} +2 -2
- package/dist/{chunk-MC6VR4AZ.js → chunk-PQGDGJLG.js} +2 -2
- package/dist/chunk-QDTMDSL5.js +2 -0
- package/dist/chunk-QDTMDSL5.js.map +1 -0
- package/dist/chunk-QMJH5JND.js +2 -0
- package/dist/chunk-QMJH5JND.js.map +1 -0
- package/dist/{chunk-ZOTY3CAM.js → chunk-QO7HHRNA.js} +2 -2
- package/dist/{chunk-43NIG25S.js → chunk-R6QQPJ3F.js} +2 -2
- package/dist/{chunk-D4XBTJOV.js → chunk-R7AWHFPG.js} +2 -2
- package/dist/{chunk-W4LHXUIX.js → chunk-RFVATVNN.js} +2 -2
- package/dist/chunk-RG67OYQN.js +2 -0
- package/dist/chunk-RG67OYQN.js.map +1 -0
- package/dist/{chunk-BOE6NL6T.js → chunk-RN3WPVBZ.js} +2 -2
- package/dist/{chunk-FQFLC6YA.js → chunk-RRERBS7F.js} +2 -2
- package/dist/chunk-S5BNS2JE.js +2 -0
- package/dist/chunk-S5BNS2JE.js.map +1 -0
- package/dist/{chunk-PRXJRF7V.js → chunk-SK7MIRZS.js} +2 -2
- package/dist/chunk-SLTF3CJ6.js +2 -0
- package/dist/chunk-SLTF3CJ6.js.map +1 -0
- package/dist/{chunk-S4JJIDWH.js → chunk-STFU4KD6.js} +2 -2
- package/dist/{chunk-WYUPZMPN.js → chunk-STJU6LZF.js} +2 -2
- package/dist/{chunk-PIKEYX3V.js → chunk-SU4FMKBZ.js} +2 -2
- package/dist/{chunk-RKRYZZ3R.js → chunk-SY7QZIKZ.js} +2 -2
- package/dist/{chunk-V3J5DAMB.js → chunk-SYSVKYHX.js} +2 -2
- package/dist/chunk-T3IHAH3B.js +2 -0
- package/dist/chunk-T3IHAH3B.js.map +1 -0
- package/dist/{chunk-ECGNGVSC.js → chunk-TAYJ2AK4.js} +2 -2
- package/dist/{chunk-A2TY3VWL.js → chunk-TC6KCSDD.js} +2 -2
- package/dist/{chunk-OETKBT6P.js → chunk-TVTJS3PE.js} +2 -2
- package/dist/{chunk-6PWZ4TBI.js → chunk-TZIDQ5O3.js} +2 -2
- package/dist/{chunk-R744BZN2.js → chunk-U4PFZ54M.js} +2 -2
- package/dist/{chunk-RR57VT45.js → chunk-UCBZMQGL.js} +2 -2
- package/dist/{chunk-GGDVTGHG.js → chunk-UETHEV7Q.js} +2 -2
- package/dist/chunk-UHFNNG5S.js +2 -0
- package/dist/chunk-UHFNNG5S.js.map +1 -0
- package/dist/{chunk-3CJB74UF.js → chunk-UYYITOOO.js} +2 -2
- package/dist/{chunk-BB5K57D4.js → chunk-V2XF4QEW.js} +2 -2
- package/dist/{chunk-YS6VDGFW.js → chunk-V2ZDW66A.js} +2 -2
- package/dist/{chunk-3BAVRWSN.js → chunk-VHKLNEC2.js} +2 -2
- package/dist/{chunk-RFEF2B5D.js → chunk-VYLSS2C7.js} +2 -2
- package/dist/{chunk-ZFF6E44S.js → chunk-VZ34NZXF.js} +2 -2
- package/dist/{chunk-GF34UO7V.js → chunk-W3GEGGZY.js} +2 -2
- package/dist/chunk-WJAGRH76.js +2 -0
- package/dist/chunk-WJAGRH76.js.map +1 -0
- package/dist/{chunk-A7D2NNLM.js → chunk-WL7WQBSR.js} +2 -2
- package/dist/{chunk-V557KUHJ.js → chunk-WMUF335R.js} +2 -2
- package/dist/{chunk-STKY674N.js → chunk-WS5BL2WM.js} +2 -2
- package/dist/{chunk-TQH4OKHR.js → chunk-WTJJEIF2.js} +2 -2
- package/dist/chunk-X3FRANQS.js +2 -0
- package/dist/chunk-X3FRANQS.js.map +1 -0
- package/dist/{chunk-KTPIKOUV.js → chunk-X7KIEFEN.js} +2 -2
- package/dist/{chunk-LS4CLDLI.js → chunk-XDRJTAFV.js} +2 -2
- package/dist/{chunk-NEKE5PRJ.js → chunk-XGECMN4V.js} +2 -2
- package/dist/{chunk-AS7SJDU5.js → chunk-XPITUVQE.js} +2 -2
- package/dist/{chunk-AS7SJDU5.js.map → chunk-XPITUVQE.js.map} +1 -1
- package/dist/{chunk-ARVKTD3V.js → chunk-XQ65RVB7.js} +2 -2
- package/dist/{chunk-3ID3UX2Q.js → chunk-XVZQBTB3.js} +2 -2
- package/dist/{chunk-E2463GRM.js → chunk-XZMPAJRL.js} +2 -2
- package/dist/{chunk-E2463GRM.js.map → chunk-XZMPAJRL.js.map} +1 -1
- package/dist/{chunk-WMBHCIFS.js → chunk-Y3G3JGLP.js} +2 -2
- package/dist/{chunk-Y3YYLANJ.js → chunk-YDL42SVF.js} +2 -2
- package/dist/{chunk-746NEWTS.js → chunk-YZKQB7WG.js} +2 -2
- package/dist/{chunk-MGDYS2EY.js → chunk-ZCTEA2O6.js} +2 -2
- package/dist/{chunk-3B6BHFDV.js → chunk-ZHFUFIWX.js} +2 -2
- package/dist/{chunk-Z5LVLVTU.js → chunk-ZWA5FYVS.js} +2 -2
- package/dist/{chunk-7D4XFAQR.js → chunk-ZZWI5S72.js} +2 -2
- package/dist/default-components.d.ts +2 -2
- package/dist/default-components.js +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.d.ts +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.js +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentFlow.d.ts +3 -3
- package/dist/flows/ContractAmendment/ContractAmendmentFlow.js +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentForm.d.ts +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentForm.js +1 -1
- package/dist/flows/ContractAmendment/context.d.ts +3 -3
- package/dist/flows/ContractAmendment/hooks.d.ts +3 -3
- package/dist/flows/ContractAmendment/hooks.js +1 -1
- package/dist/flows/ContractAmendment/index.d.ts +3 -3
- package/dist/flows/ContractAmendment/index.js +1 -1
- package/dist/flows/ContractAmendment/types.d.ts +3 -3
- package/dist/flows/ContractAmendment/utils.d.ts +2 -2
- package/dist/flows/ContractAmendment/utils.js +1 -1
- package/dist/flows/ContractorOnboarding/ContractorOnboarding.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/ContractorOnboarding.js +1 -1
- package/dist/flows/ContractorOnboarding/api.d.ts +3 -3
- package/dist/flows/ContractorOnboarding/api.js +1 -1
- package/dist/flows/ContractorOnboarding/components/BasicInformationStep.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/components/BasicInformationStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.d.ts +5 -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/ContractPreviewStatement.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.js +1 -1
- package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/OnboardingInvite.d.ts +3 -3
- package/dist/flows/ContractorOnboarding/components/OnboardingInvite.js +1 -1
- package/dist/flows/ContractorOnboarding/components/PricingPlan.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/components/PricingPlan.js +1 -1
- package/dist/flows/ContractorOnboarding/components/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/StatementOfWorkDisclaimer.js +1 -1
- package/dist/flows/ContractorOnboarding/context.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/hooks.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/hooks.js +1 -1
- package/dist/flows/ContractorOnboarding/index.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/index.js +1 -1
- package/dist/flows/ContractorOnboarding/jsfModify.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/jsfModify.js +1 -1
- package/dist/flows/ContractorOnboarding/types.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/utils.d.ts +15 -5
- package/dist/flows/ContractorOnboarding/utils.js +1 -1
- package/dist/flows/CostCalculator/CostCalculatorFlow.d.ts +3 -3
- package/dist/flows/CostCalculator/CostCalculatorFlow.js +1 -1
- package/dist/flows/CostCalculator/CostCalculatorForm.d.ts +3 -3
- package/dist/flows/CostCalculator/CostCalculatorForm.js +1 -1
- package/dist/flows/CostCalculator/CostCalculatorResetButton.js +1 -1
- package/dist/flows/CostCalculator/CostCalculatorSubmitButton.js +1 -1
- package/dist/flows/CostCalculator/EstimationResults/EstimationResults.d.ts +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/SummaryResults/SummaryResults.js +1 -1
- 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/types.d.ts +4 -4
- package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundFlow.d.ts +4 -4
- 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/JsonSchemaPlaygroundResetButton.js +1 -1
- package/dist/flows/JsonSchemaPlayground/context.d.ts +3 -3
- package/dist/flows/JsonSchemaPlayground/hooks.d.ts +4 -4
- package/dist/flows/JsonSchemaPlayground/hooks.js +1 -1
- package/dist/flows/JsonSchemaPlayground/index.d.ts +3 -4
- 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 +5 -5
- 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 +4 -4
- 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/AdministrativeDetailsStep.js.map +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/BackButton.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/BackButton.js.map +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/ContractDetailsStep.js.map +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/InvitationStep.js.map +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/SelectCountryStep.js.map +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/SubmitButton.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/SubmitButton.js.map +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/useStepSubmitHandler.d.ts +3 -3
- package/dist/flows/PayrollAdminOnboarding/components/useStepSubmitHandler.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/context.d.ts +4 -4
- package/dist/flows/PayrollAdminOnboarding/hooks.d.ts +4 -4
- package/dist/flows/PayrollAdminOnboarding/hooks.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/index.d.ts +4 -4
- package/dist/flows/PayrollAdminOnboarding/index.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/types.d.ts +4 -4
- package/dist/flows/PayrollEmployeeOnboarding/PayrollEmployeeOnboardingFlow.d.ts +4 -4
- package/dist/flows/PayrollEmployeeOnboarding/PayrollEmployeeOnboardingFlow.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/api.d.ts +8 -8
- 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 +4 -4
- package/dist/flows/PayrollEmployeeOnboarding/components/StateTaxesStep.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/useEmployeeStepSubmitHandler.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/components/useEmployeeStepSubmitHandler.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/context.d.ts +4 -4
- package/dist/flows/PayrollEmployeeOnboarding/hooks.d.ts +4 -4
- package/dist/flows/PayrollEmployeeOnboarding/hooks.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/index.d.ts +4 -4
- package/dist/flows/PayrollEmployeeOnboarding/index.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/types.d.ts +4 -4
- package/dist/flows/Termination/AdditionalDetailsForm.d.ts +4 -4
- package/dist/flows/Termination/AdditionalDetailsForm.js +1 -1
- package/dist/flows/Termination/EmployeeComunicationForm.d.ts +4 -4
- package/dist/flows/Termination/EmployeeComunicationForm.js +1 -1
- package/dist/flows/Termination/PaidTimeOffForm.d.ts +4 -4
- package/dist/flows/Termination/PaidTimeOffForm.js +1 -1
- package/dist/flows/Termination/TerminationDetailsForm.d.ts +4 -4
- package/dist/flows/Termination/TerminationDetailsForm.js +1 -1
- package/dist/flows/Termination/TerminationFlow.d.ts +4 -4
- package/dist/flows/Termination/TerminationFlow.js +1 -1
- package/dist/flows/Termination/TerminationForm.d.ts +4 -4
- package/dist/flows/Termination/TerminationForm.js +1 -1
- package/dist/flows/Termination/api.d.ts +5 -5
- package/dist/flows/Termination/api.js +1 -1
- package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformation.js +1 -1
- package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformationFees.js +1 -1
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.d.ts +6 -6
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.js +1 -1
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.d.ts +6 -6
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.js +1 -1
- package/dist/flows/Termination/components/PaidTimeOff/types.d.ts +6 -6
- package/dist/flows/Termination/components/TerminationDialogInfoContent/TerminationDialogInfoContent.js +1 -1
- package/dist/flows/Termination/components/TerminationReasonsDetailContent/TerminationReasonsDetailContent.js +1 -1
- package/dist/flows/Termination/context.d.ts +4 -4
- package/dist/flows/Termination/hooks.d.ts +4 -4
- package/dist/flows/Termination/hooks.js +1 -1
- package/dist/flows/Termination/index.d.ts +6 -6
- package/dist/flows/Termination/index.js +1 -1
- package/dist/flows/Termination/json-schemas/jsonSchema.js +1 -1
- package/dist/flows/Termination/json-schemas/schema.d.ts +4 -4
- package/dist/flows/Termination/json-schemas/schema.js +1 -1
- package/dist/flows/Termination/types.d.ts +4 -4
- package/dist/flows/Termination/utils.d.ts +4 -4
- package/dist/flows/Termination/utils.js +1 -1
- package/dist/flows/types.d.ts +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 +28 -15
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/internals.d.ts +4 -5
- package/dist/internals.js +1 -1
- package/dist/{mutations-CCbGTxuw.d.ts → mutations-CajBazWr.d.ts} +1 -1
- package/dist/{remoteFlows-BTGwzbVQ.d.ts → remoteFlows-DHOW-e53.d.ts} +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/dist/{types-BtrEXSWH.d.ts → types-8GvnGYSN.d.ts} +3 -3
- package/dist/{types-DoWlYF_Q.d.ts → types-B-hNdynz.d.ts} +2 -2
- package/dist/{types-BUCAIjdm.d.ts → types-BhMTFN9Y.d.ts} +1 -1
- package/dist/types-BolF-TDg.d.ts +91 -0
- package/dist/{types-BQUdy5l7.d.ts → types-C3SXCvNl.d.ts} +4 -4
- package/dist/{types-DRIJcxE-.d.ts → types-CRAMV8FR.d.ts} +15 -6
- package/dist/{types-CvqFd-l3.d.ts → types-CVrHYMLy.d.ts} +25 -5
- package/dist/{types-BAQL-xPU.d.ts → types-EcgTFN8S.d.ts} +23 -12
- package/dist/{types.gen-Bn3elzBI.d.ts → types.gen-C4K7xky-.d.ts} +16 -1
- package/dist/{utils-Dc_Eq2Vm.d.ts → utils-D6wAHCpX.d.ts} +1 -1
- package/package.json +5 -5
- package/dist/ButtonDefault-5GP4VFZL.js +0 -2
- package/dist/CheckboxFieldDefault-VKVKDNK4.js +0 -2
- package/dist/CountryFieldDefault-N7P5V5NR.js +0 -2
- package/dist/DatePickerFieldDefault-V3F2DLPV.js +0 -2
- package/dist/DrawerDefault-UVRSWQLP.js +0 -2
- package/dist/EmailFieldDefault-JN6IDGVM.js +0 -2
- package/dist/FieldsetToggleButtonDefault-KVIBW3UI.js +0 -2
- package/dist/FileUploadFieldDefault-SD3A25KP.js +0 -2
- package/dist/MultiSelectFieldDefault-ZLRPID6V.js +0 -2
- package/dist/NumberFieldDefault-MXN7XDOC.js +0 -2
- package/dist/RadioGroupFieldDefault-UMDJEJZU.js +0 -2
- package/dist/SelectFieldDefault-IUECL5R6.js +0 -2
- package/dist/StatementDefault-6B2AXWUL.js +0 -2
- package/dist/TableFieldDefault-ZC2IJBFY.js +0 -2
- package/dist/TelFieldDefault-PUE57NPS.js +0 -2
- package/dist/TextAreaFieldDefault-5CV4XTOT.js +0 -2
- package/dist/TextFieldDefault-WSEEAHJV.js +0 -2
- package/dist/TimeFieldDefault-K5LYUXKT.js +0 -2
- package/dist/WorkScheduleFieldDefault-D6TGVPHC.js +0 -2
- package/dist/ZendeskDrawerDefault-2DNA653G.js +0 -2
- package/dist/chunk-343R3QEG.js +0 -2
- package/dist/chunk-343R3QEG.js.map +0 -1
- package/dist/chunk-3AMTQ2DH.js +0 -2
- package/dist/chunk-3AMTQ2DH.js.map +0 -1
- package/dist/chunk-66DSJTDZ.js +0 -2
- package/dist/chunk-66DSJTDZ.js.map +0 -1
- package/dist/chunk-6JOMJADW.js +0 -2
- package/dist/chunk-6JOMJADW.js.map +0 -1
- package/dist/chunk-7ULM6AZK.js +0 -1
- package/dist/chunk-AVIZTG4K.js +0 -2
- package/dist/chunk-AVIZTG4K.js.map +0 -1
- package/dist/chunk-B36HI2TD.js +0 -2
- package/dist/chunk-B36HI2TD.js.map +0 -1
- package/dist/chunk-BIL7ERK6.js +0 -2
- package/dist/chunk-BIL7ERK6.js.map +0 -1
- package/dist/chunk-CZY6KI75.js +0 -2
- package/dist/chunk-CZY6KI75.js.map +0 -1
- package/dist/chunk-ERDNYHQO.js +0 -2
- package/dist/chunk-ERDNYHQO.js.map +0 -1
- package/dist/chunk-G2LZFGZA.js.map +0 -1
- package/dist/chunk-GSB44SSJ.js +0 -2
- package/dist/chunk-GSB44SSJ.js.map +0 -1
- package/dist/chunk-I363AG3E.js +0 -2
- package/dist/chunk-I363AG3E.js.map +0 -1
- package/dist/chunk-J2ARI3NQ.js +0 -2
- package/dist/chunk-J2ARI3NQ.js.map +0 -1
- package/dist/chunk-JVLARDTF.js +0 -2
- package/dist/chunk-K7HS55JD.js +0 -2
- package/dist/chunk-K7HS55JD.js.map +0 -1
- package/dist/chunk-KAX6IHET.js +0 -2
- package/dist/chunk-KAX6IHET.js.map +0 -1
- package/dist/chunk-MEPIOKJQ.js +0 -2
- package/dist/chunk-MEPIOKJQ.js.map +0 -1
- package/dist/chunk-PYXLDOXH.js +0 -2
- package/dist/chunk-PYXLDOXH.js.map +0 -1
- package/dist/chunk-Q6PTVBDS.js +0 -2
- package/dist/chunk-Q6PTVBDS.js.map +0 -1
- package/dist/chunk-SC7YWKOW.js +0 -2
- package/dist/chunk-VVEBSBQ3.js +0 -2
- package/dist/chunk-VVEBSBQ3.js.map +0 -1
- package/dist/chunk-XLA5Z35M.js +0 -2
- package/dist/chunk-XLA5Z35M.js.map +0 -1
- package/dist/chunk-Y2K74EBE.js +0 -2
- package/dist/chunk-Y2K74EBE.js.map +0 -1
- package/dist/chunk-YMBVMMUS.js +0 -2
- package/dist/chunk-YMBVMMUS.js.map +0 -1
- package/dist/chunk-ZC47WDFG.js.map +0 -1
- package/dist/chunk-ZT4OC3OB.js +0 -2
- package/dist/chunk-ZT4OC3OB.js.map +0 -1
- package/dist/chunk-ZYIEPPSE.js +0 -2
- package/dist/chunk-ZYIEPPSE.js.map +0 -1
- package/dist/flows/JsonSchemaPlayground/initialValues.d.ts +0 -15
- package/dist/flows/JsonSchemaPlayground/initialValues.js +0 -2
- package/dist/flows/JsonSchemaPlayground/initialValues.js.map +0 -1
- package/dist/flows/JsonSchemaPlayground/schemas.d.ts +0 -1957
- package/dist/flows/JsonSchemaPlayground/schemas.js +0 -2
- package/dist/flows/JsonSchemaPlayground/schemas.js.map +0 -1
- package/dist/types-Im-AaNUG.d.ts +0 -2033
- /package/dist/{ButtonDefault-5GP4VFZL.js.map → ButtonDefault-HBOULH5V.js.map} +0 -0
- /package/dist/{CheckboxFieldDefault-VKVKDNK4.js.map → CheckboxFieldDefault-62URAHJV.js.map} +0 -0
- /package/dist/{CountryFieldDefault-N7P5V5NR.js.map → CountryFieldDefault-24NNZN2C.js.map} +0 -0
- /package/dist/{DatePickerFieldDefault-V3F2DLPV.js.map → DatePickerFieldDefault-NMUCZ4U2.js.map} +0 -0
- /package/dist/{DrawerDefault-UVRSWQLP.js.map → DrawerDefault-O7NUFWJ4.js.map} +0 -0
- /package/dist/{EmailFieldDefault-JN6IDGVM.js.map → EmailFieldDefault-S3DO2YLL.js.map} +0 -0
- /package/dist/{FieldsetToggleButtonDefault-KVIBW3UI.js.map → FieldsetToggleButtonDefault-MIRCZJKA.js.map} +0 -0
- /package/dist/{FileUploadFieldDefault-SD3A25KP.js.map → FileUploadFieldDefault-4NW5VLF6.js.map} +0 -0
- /package/dist/{MultiSelectFieldDefault-ZLRPID6V.js.map → MultiSelectFieldDefault-S45Z53ZY.js.map} +0 -0
- /package/dist/{NumberFieldDefault-MXN7XDOC.js.map → NumberFieldDefault-AA5UGCSR.js.map} +0 -0
- /package/dist/{RadioGroupFieldDefault-UMDJEJZU.js.map → RadioGroupFieldDefault-X44FYUA3.js.map} +0 -0
- /package/dist/{SelectFieldDefault-IUECL5R6.js.map → SelectFieldDefault-PLDXHTQY.js.map} +0 -0
- /package/dist/{StatementDefault-6B2AXWUL.js.map → StatementDefault-RDC5G24K.js.map} +0 -0
- /package/dist/{TableFieldDefault-ZC2IJBFY.js.map → TableFieldDefault-ES7OIYX5.js.map} +0 -0
- /package/dist/{TelFieldDefault-PUE57NPS.js.map → TelFieldDefault-IYGEEV5V.js.map} +0 -0
- /package/dist/{TextAreaFieldDefault-5CV4XTOT.js.map → TextAreaFieldDefault-C6M3PIV2.js.map} +0 -0
- /package/dist/{TextFieldDefault-WSEEAHJV.js.map → TextFieldDefault-OC2TMXVF.js.map} +0 -0
- /package/dist/{TimeFieldDefault-K5LYUXKT.js.map → TimeFieldDefault-J6PKL5T4.js.map} +0 -0
- /package/dist/{WorkScheduleFieldDefault-D6TGVPHC.js.map → WorkScheduleFieldDefault-MDDNWRCO.js.map} +0 -0
- /package/dist/{ZendeskDrawerDefault-2DNA653G.js.map → ZendeskDrawerDefault-HGKAUCUV.js.map} +0 -0
- /package/dist/{chunk-HXEOVMUT.js.map → chunk-2EGFPBT7.js.map} +0 -0
- /package/dist/{chunk-NRWIGTY2.js.map → chunk-2JK3XRHE.js.map} +0 -0
- /package/dist/{chunk-43FMKELR.js.map → chunk-2RVICCFD.js.map} +0 -0
- /package/dist/{chunk-6Z4U4GYV.js.map → chunk-2TBTNTJ2.js.map} +0 -0
- /package/dist/{chunk-F35ALUPA.js.map → chunk-3ISSVSL5.js.map} +0 -0
- /package/dist/{chunk-HHFGG3RU.js.map → chunk-3NKRZURO.js.map} +0 -0
- /package/dist/{chunk-LNR6TGLQ.js.map → chunk-43XVHRYM.js.map} +0 -0
- /package/dist/{chunk-OK4RV6ZT.js.map → chunk-46RBPCK6.js.map} +0 -0
- /package/dist/{chunk-Y3CJRZLA.js.map → chunk-4FGKIGKF.js.map} +0 -0
- /package/dist/{chunk-OV6PV4N5.js.map → chunk-4GIQCWII.js.map} +0 -0
- /package/dist/{chunk-RJXRGUNB.js.map → chunk-4IEAIF46.js.map} +0 -0
- /package/dist/{chunk-74ICDGQK.js.map → chunk-4X7TVFHA.js.map} +0 -0
- /package/dist/{chunk-FCY5FJMC.js.map → chunk-52GHCI6X.js.map} +0 -0
- /package/dist/{chunk-SC7YWKOW.js.map → chunk-5MPW7QWT.js.map} +0 -0
- /package/dist/{chunk-LSC6NTXD.js.map → chunk-65G3JQ7T.js.map} +0 -0
- /package/dist/{chunk-FG2DNTDR.js.map → chunk-6BOIGCHK.js.map} +0 -0
- /package/dist/{chunk-OPX7E3W2.js.map → chunk-6JTUAJBZ.js.map} +0 -0
- /package/dist/{chunk-HBOMEPXQ.js.map → chunk-6LQ2EP7Y.js.map} +0 -0
- /package/dist/{chunk-S3EXF5DV.js.map → chunk-6QEAL5BB.js.map} +0 -0
- /package/dist/{chunk-LFHFZU6X.js.map → chunk-6SNWSCXH.js.map} +0 -0
- /package/dist/{chunk-KT4Y4UPD.js.map → chunk-A3EQ7FNB.js.map} +0 -0
- /package/dist/{chunk-N6XLGYRK.js.map → chunk-AHUSQVQY.js.map} +0 -0
- /package/dist/{chunk-T5J2Z6ZR.js.map → chunk-BC4V2YAK.js.map} +0 -0
- /package/dist/{chunk-PQG6KZIO.js.map → chunk-BGSB3XPW.js.map} +0 -0
- /package/dist/{chunk-PGCS6HUO.js.map → chunk-BIE73HZH.js.map} +0 -0
- /package/dist/{chunk-R4TM2Y3K.js.map → chunk-BS2YN6CS.js.map} +0 -0
- /package/dist/{chunk-FHIMDCMT.js.map → chunk-BVKOMSHU.js.map} +0 -0
- /package/dist/{chunk-PSU2AEFU.js.map → chunk-BZ4VPC4U.js.map} +0 -0
- /package/dist/{chunk-F5WNUYFP.js.map → chunk-CH75YRKR.js.map} +0 -0
- /package/dist/{chunk-OXTA4W4J.js.map → chunk-CM4UUBU5.js.map} +0 -0
- /package/dist/{chunk-HFHQDWJN.js.map → chunk-D2PYVF6J.js.map} +0 -0
- /package/dist/{chunk-DO7OL4EG.js.map → chunk-DAYIMXLP.js.map} +0 -0
- /package/dist/{chunk-BUOHZMK6.js.map → chunk-DDH7MZ7M.js.map} +0 -0
- /package/dist/{chunk-44XEUAFV.js.map → chunk-DKOETPI4.js.map} +0 -0
- /package/dist/{chunk-D2MZKYRH.js.map → chunk-DL6MFAFK.js.map} +0 -0
- /package/dist/{chunk-QJJZTAG2.js.map → chunk-DLSHZLHX.js.map} +0 -0
- /package/dist/{chunk-MHIY35CK.js.map → chunk-DOVE5SYY.js.map} +0 -0
- /package/dist/{chunk-FJC6IGXJ.js.map → chunk-FFFB5CG2.js.map} +0 -0
- /package/dist/{chunk-6OHLLH6W.js.map → chunk-FII45OPC.js.map} +0 -0
- /package/dist/{chunk-7NFCUTWO.js.map → chunk-FOYZWDU5.js.map} +0 -0
- /package/dist/{chunk-2BCZXNBX.js.map → chunk-FQFIRIKU.js.map} +0 -0
- /package/dist/{chunk-PFQB3V2U.js.map → chunk-FXVHH75C.js.map} +0 -0
- /package/dist/{chunk-3UBFABDS.js.map → chunk-GPY3JZJJ.js.map} +0 -0
- /package/dist/{chunk-UT3CQ2DH.js.map → chunk-GWQJKZ3M.js.map} +0 -0
- /package/dist/{chunk-VZ3JCO23.js.map → chunk-GYYQWPA6.js.map} +0 -0
- /package/dist/{chunk-CPRWWJYQ.js.map → chunk-H6XSWBE5.js.map} +0 -0
- /package/dist/{chunk-YJFRQSTA.js.map → chunk-H7PNNMW5.js.map} +0 -0
- /package/dist/{chunk-LJUWER2H.js.map → chunk-HFFQ642D.js.map} +0 -0
- /package/dist/{chunk-DMNKKWLY.js.map → chunk-HQLGDW2G.js.map} +0 -0
- /package/dist/{chunk-QO7Y6QRE.js.map → chunk-HU7FSSPH.js.map} +0 -0
- /package/dist/{chunk-SQCTVURR.js.map → chunk-IMCNVNKF.js.map} +0 -0
- /package/dist/{chunk-J2L3CYIS.js.map → chunk-INUCPQVI.js.map} +0 -0
- /package/dist/{chunk-F7QTO3NU.js.map → chunk-IVISBFAT.js.map} +0 -0
- /package/dist/{chunk-34JOEA4E.js.map → chunk-J7I4WJ4G.js.map} +0 -0
- /package/dist/{chunk-4MB3FE3T.js.map → chunk-JH3WUGO5.js.map} +0 -0
- /package/dist/{chunk-RYUBFXSX.js.map → chunk-KF54ACZP.js.map} +0 -0
- /package/dist/{chunk-MKO33XZ5.js.map → chunk-LD633A5N.js.map} +0 -0
- /package/dist/{chunk-WLPWXK7I.js.map → chunk-LKTCYO6Y.js.map} +0 -0
- /package/dist/{chunk-JXZX66MM.js.map → chunk-LQFLXXBR.js.map} +0 -0
- /package/dist/{chunk-7ULM6AZK.js.map → chunk-MAEAZFMR.js.map} +0 -0
- /package/dist/{chunk-CRDG62ZJ.js.map → chunk-MS2MOZGL.js.map} +0 -0
- /package/dist/{chunk-DSGQZDY6.js.map → chunk-MZN6VY5F.js.map} +0 -0
- /package/dist/{chunk-DJIQISA2.js.map → chunk-NDWVOVDM.js.map} +0 -0
- /package/dist/{chunk-WIFDQWVX.js.map → chunk-NFLN2YB6.js.map} +0 -0
- /package/dist/{chunk-XYF4TIRU.js.map → chunk-NGCNYQSC.js.map} +0 -0
- /package/dist/{chunk-YWLRVUE3.js.map → chunk-NPXIFNK2.js.map} +0 -0
- /package/dist/{chunk-3GCJILCE.js.map → chunk-O2M7ZWVK.js.map} +0 -0
- /package/dist/{chunk-LBQQSYCG.js.map → chunk-P5NAMZNA.js.map} +0 -0
- /package/dist/{chunk-HGFJTAEM.js.map → chunk-PG7R37J5.js.map} +0 -0
- /package/dist/{chunk-DIH7KHWI.js.map → chunk-PMCCHSXD.js.map} +0 -0
- /package/dist/{chunk-7O4Y3DAM.js.map → chunk-PMIGYQEX.js.map} +0 -0
- /package/dist/{chunk-MC6VR4AZ.js.map → chunk-PQGDGJLG.js.map} +0 -0
- /package/dist/{chunk-ZOTY3CAM.js.map → chunk-QO7HHRNA.js.map} +0 -0
- /package/dist/{chunk-43NIG25S.js.map → chunk-R6QQPJ3F.js.map} +0 -0
- /package/dist/{chunk-D4XBTJOV.js.map → chunk-R7AWHFPG.js.map} +0 -0
- /package/dist/{chunk-W4LHXUIX.js.map → chunk-RFVATVNN.js.map} +0 -0
- /package/dist/{chunk-BOE6NL6T.js.map → chunk-RN3WPVBZ.js.map} +0 -0
- /package/dist/{chunk-FQFLC6YA.js.map → chunk-RRERBS7F.js.map} +0 -0
- /package/dist/{chunk-PRXJRF7V.js.map → chunk-SK7MIRZS.js.map} +0 -0
- /package/dist/{chunk-S4JJIDWH.js.map → chunk-STFU4KD6.js.map} +0 -0
- /package/dist/{chunk-WYUPZMPN.js.map → chunk-STJU6LZF.js.map} +0 -0
- /package/dist/{chunk-PIKEYX3V.js.map → chunk-SU4FMKBZ.js.map} +0 -0
- /package/dist/{chunk-RKRYZZ3R.js.map → chunk-SY7QZIKZ.js.map} +0 -0
- /package/dist/{chunk-V3J5DAMB.js.map → chunk-SYSVKYHX.js.map} +0 -0
- /package/dist/{chunk-ECGNGVSC.js.map → chunk-TAYJ2AK4.js.map} +0 -0
- /package/dist/{chunk-A2TY3VWL.js.map → chunk-TC6KCSDD.js.map} +0 -0
- /package/dist/{chunk-OETKBT6P.js.map → chunk-TVTJS3PE.js.map} +0 -0
- /package/dist/{chunk-6PWZ4TBI.js.map → chunk-TZIDQ5O3.js.map} +0 -0
- /package/dist/{chunk-R744BZN2.js.map → chunk-U4PFZ54M.js.map} +0 -0
- /package/dist/{chunk-RR57VT45.js.map → chunk-UCBZMQGL.js.map} +0 -0
- /package/dist/{chunk-GGDVTGHG.js.map → chunk-UETHEV7Q.js.map} +0 -0
- /package/dist/{chunk-3CJB74UF.js.map → chunk-UYYITOOO.js.map} +0 -0
- /package/dist/{chunk-BB5K57D4.js.map → chunk-V2XF4QEW.js.map} +0 -0
- /package/dist/{chunk-YS6VDGFW.js.map → chunk-V2ZDW66A.js.map} +0 -0
- /package/dist/{chunk-3BAVRWSN.js.map → chunk-VHKLNEC2.js.map} +0 -0
- /package/dist/{chunk-RFEF2B5D.js.map → chunk-VYLSS2C7.js.map} +0 -0
- /package/dist/{chunk-ZFF6E44S.js.map → chunk-VZ34NZXF.js.map} +0 -0
- /package/dist/{chunk-GF34UO7V.js.map → chunk-W3GEGGZY.js.map} +0 -0
- /package/dist/{chunk-A7D2NNLM.js.map → chunk-WL7WQBSR.js.map} +0 -0
- /package/dist/{chunk-V557KUHJ.js.map → chunk-WMUF335R.js.map} +0 -0
- /package/dist/{chunk-STKY674N.js.map → chunk-WS5BL2WM.js.map} +0 -0
- /package/dist/{chunk-TQH4OKHR.js.map → chunk-WTJJEIF2.js.map} +0 -0
- /package/dist/{chunk-KTPIKOUV.js.map → chunk-X7KIEFEN.js.map} +0 -0
- /package/dist/{chunk-LS4CLDLI.js.map → chunk-XDRJTAFV.js.map} +0 -0
- /package/dist/{chunk-NEKE5PRJ.js.map → chunk-XGECMN4V.js.map} +0 -0
- /package/dist/{chunk-ARVKTD3V.js.map → chunk-XQ65RVB7.js.map} +0 -0
- /package/dist/{chunk-3ID3UX2Q.js.map → chunk-XVZQBTB3.js.map} +0 -0
- /package/dist/{chunk-WMBHCIFS.js.map → chunk-Y3G3JGLP.js.map} +0 -0
- /package/dist/{chunk-Y3YYLANJ.js.map → chunk-YDL42SVF.js.map} +0 -0
- /package/dist/{chunk-746NEWTS.js.map → chunk-YZKQB7WG.js.map} +0 -0
- /package/dist/{chunk-MGDYS2EY.js.map → chunk-ZCTEA2O6.js.map} +0 -0
- /package/dist/{chunk-3B6BHFDV.js.map → chunk-ZHFUFIWX.js.map} +0 -0
- /package/dist/{chunk-Z5LVLVTU.js.map → chunk-ZWA5FYVS.js.map} +0 -0
- /package/dist/{chunk-7D4XFAQR.js.map → chunk-ZZWI5S72.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/form/fields/default/CheckboxFieldDefault.tsx"],"sourcesContent":["import { HelpCenter } from '@/src/components/shared/zendesk-drawer/HelpCenter';\nimport { Checkbox } from '@/src/components/ui/checkbox';\nimport {\n FormControl,\n FormDescription,\n FormItem,\n FormLabel,\n FormMessage,\n} from '@/src/components/ui/form';\nimport { cn } from '@/src/lib/utils';\nimport { FieldComponentProps } from '@/src/types/fields';\nimport { CheckedState } from '@radix-ui/react-checkbox';\n\nexport const CheckboxFieldDefault = ({\n field,\n fieldState,\n fieldData,\n}: FieldComponentProps) => {\n const { name, label, description, options, multiple } = fieldData;\n\n return (\n <FormItem\n data-field={name}\n className={cn(`RemoteFlows__CheckBoxField__Item__${name}`)}\n >\n <FormControl>\n <>\n {options && multiple ? <FormLabel>{label}</FormLabel> : null}\n\n {options && multiple ? (\n options.map((option) => (\n <div key={option.value} className='flex space-x-2'>\n <Checkbox\n id={option.value}\n onCheckedChange={(checked: CheckedState) => {\n field.onChange(checked === true, option.value);\n }}\n checked={field.value?.includes(option.value)}\n className='RemoteFlows__CheckBox__Input'\n />\n <FormLabel\n htmlFor={option.value}\n className='mb-0 RemoteFlows__CheckBox__Label'\n >\n {option.label}\n </FormLabel>\n </div>\n ))\n ) : (\n <div className='flex space-x-2'>\n <Checkbox\n id={name}\n onCheckedChange={(checked: CheckedState) => {\n field.onChange(checked === true, null);\n }}\n checked={field.value}\n className='RemoteFlows__CheckBox__Input'\n />\n <FormLabel\n htmlFor={name}\n className='mb-0 RemoteFlows__CheckBox__Label'\n >\n {label}\n </FormLabel>\n </div>\n )}\n </>\n </FormControl>\n {description && (\n <FormDescription\n helpCenter={<HelpCenter helpCenter={fieldData.meta?.helpCenter} />}\n >\n {description}\n </FormDescription>\n )}\n {fieldState.error && <FormMessage />}\n </FormItem>\n );\n};\n"],"mappings":"oOA0BQ,mBAAAA,EACyB,OAAAC,EAInB,QAAAC,MALN,oBAbD,IAAMC,EAAuBC,EAAA,CAAC,CACnC,MAAAC,EACA,WAAAC,EACA,UAAAC,CACF,IAA2B,CACzB,GAAM,CAAE,KAAAC,EAAM,MAAAC,EAAO,YAAAC,EAAa,QAAAC,EAAS,SAAAC,CAAS,EAAIL,EAExD,OACEL,EAACW,EAAA,CACC,aAAYL,EACZ,UAAWM,EAAG,qCAAqCN,CAAI,EAAE,EAEzD,UAAAP,EAACc,EAAA,CACC,SAAAb,EAAAF,EAAA,CACG,UAAAW,GAAWC,EAAWX,EAACe,EAAA,CAAW,SAAAP,EAAM,EAAe,KAEvDE,GAAWC,EACVD,EAAQ,IAAKM,GACXf,EAAC,OAAuB,UAAU,iBAChC,UAAAD,EAACiB,EAAA,CACC,GAAID,EAAO,MACX,gBAAkBE,GAA0B,CAC1Cd,EAAM,SAASc,IAAY,GAAMF,EAAO,KAAK,CAC/C,EACA,QAASZ,EAAM,OAAO,SAASY,EAAO,KAAK,EAC3C,UAAU,+BACZ,EACAhB,EAACe,EAAA,CACC,QAASC,EAAO,MAChB,UAAU,oCAET,SAAAA,EAAO,MACV,IAdQA,EAAO,KAejB,CACD,EAEDf,EAAC,OAAI,UAAU,iBACb,UAAAD,EAACiB,EAAA,CACC,GAAIV,EACJ,gBAAkBW,GAA0B,CAC1Cd,EAAM,SAASc,IAAY,GAAM,IAAI,CACvC,EACA,QAASd,EAAM,MACf,UAAU,+BACZ,EACAJ,EAACe,EAAA,CACC,QAASR,EACT,UAAU,oCAET,SAAAC,EACH,GACF,GAEJ,EACF,
|
|
1
|
+
{"version":3,"sources":["../src/components/form/fields/default/CheckboxFieldDefault.tsx"],"sourcesContent":["import { HelpCenter } from '@/src/components/shared/zendesk-drawer/HelpCenter';\nimport { Checkbox } from '@/src/components/ui/checkbox';\nimport {\n FormControl,\n FormDescription,\n FormItem,\n FormLabel,\n FormMessage,\n} from '@/src/components/ui/form';\nimport { cn } from '@/src/lib/utils';\nimport { FieldComponentProps } from '@/src/types/fields';\nimport { CheckedState } from '@radix-ui/react-checkbox';\n\nexport const CheckboxFieldDefault = ({\n field,\n fieldState,\n fieldData,\n}: FieldComponentProps) => {\n const { name, label, description, options, multiple } = fieldData;\n\n return (\n <FormItem\n data-field={name}\n className={cn(`RemoteFlows__CheckBoxField__Item__${name}`)}\n >\n <FormControl>\n <>\n {options && multiple ? <FormLabel>{label}</FormLabel> : null}\n\n {options && multiple ? (\n options.map((option) => (\n <div key={option.value} className='flex space-x-2'>\n <Checkbox\n id={option.value}\n onCheckedChange={(checked: CheckedState) => {\n field.onChange(checked === true, option.value);\n }}\n checked={field.value?.includes(option.value)}\n className='RemoteFlows__CheckBox__Input'\n />\n <FormLabel\n htmlFor={option.value}\n className='mb-0 RemoteFlows__CheckBox__Label'\n >\n {option.label}\n </FormLabel>\n </div>\n ))\n ) : (\n <div className='flex space-x-2'>\n <Checkbox\n id={name}\n onCheckedChange={(checked: CheckedState) => {\n field.onChange(checked === true, null);\n }}\n checked={field.value}\n className='RemoteFlows__CheckBox__Input'\n />\n <FormLabel\n htmlFor={name}\n className='mb-0 RemoteFlows__CheckBox__Label'\n >\n {label}\n </FormLabel>\n </div>\n )}\n </>\n </FormControl>\n {(description || fieldData.meta?.helpCenter) && (\n <FormDescription\n helpCenter={<HelpCenter helpCenter={fieldData.meta?.helpCenter} />}\n >\n {description}\n </FormDescription>\n )}\n {fieldState.error && <FormMessage />}\n </FormItem>\n );\n};\n"],"mappings":"oOA0BQ,mBAAAA,EACyB,OAAAC,EAInB,QAAAC,MALN,oBAbD,IAAMC,EAAuBC,EAAA,CAAC,CACnC,MAAAC,EACA,WAAAC,EACA,UAAAC,CACF,IAA2B,CACzB,GAAM,CAAE,KAAAC,EAAM,MAAAC,EAAO,YAAAC,EAAa,QAAAC,EAAS,SAAAC,CAAS,EAAIL,EAExD,OACEL,EAACW,EAAA,CACC,aAAYL,EACZ,UAAWM,EAAG,qCAAqCN,CAAI,EAAE,EAEzD,UAAAP,EAACc,EAAA,CACC,SAAAb,EAAAF,EAAA,CACG,UAAAW,GAAWC,EAAWX,EAACe,EAAA,CAAW,SAAAP,EAAM,EAAe,KAEvDE,GAAWC,EACVD,EAAQ,IAAKM,GACXf,EAAC,OAAuB,UAAU,iBAChC,UAAAD,EAACiB,EAAA,CACC,GAAID,EAAO,MACX,gBAAkBE,GAA0B,CAC1Cd,EAAM,SAASc,IAAY,GAAMF,EAAO,KAAK,CAC/C,EACA,QAASZ,EAAM,OAAO,SAASY,EAAO,KAAK,EAC3C,UAAU,+BACZ,EACAhB,EAACe,EAAA,CACC,QAASC,EAAO,MAChB,UAAU,oCAET,SAAAA,EAAO,MACV,IAdQA,EAAO,KAejB,CACD,EAEDf,EAAC,OAAI,UAAU,iBACb,UAAAD,EAACiB,EAAA,CACC,GAAIV,EACJ,gBAAkBW,GAA0B,CAC1Cd,EAAM,SAASc,IAAY,GAAM,IAAI,CACvC,EACA,QAASd,EAAM,MACf,UAAU,+BACZ,EACAJ,EAACe,EAAA,CACC,QAASR,EACT,UAAU,oCAET,SAAAC,EACH,GACF,GAEJ,EACF,GACEC,GAAeH,EAAU,MAAM,aAC/BN,EAACmB,EAAA,CACC,WAAYnB,EAACoB,EAAA,CAAW,WAAYd,EAAU,MAAM,WAAY,EAE/D,SAAAG,EACH,EAEDJ,EAAW,OAASL,EAACqB,EAAA,EAAY,GACpC,CAEJ,EAjEoC","names":["Fragment","jsx","jsxs","CheckboxFieldDefault","__name","field","fieldState","fieldData","name","label","description","options","multiple","FormItem","cn","FormControl","FormLabel","option","Checkbox","checked","FormDescription","HelpCenter","FormMessage"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as s,i as a}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{c as s,i as a}from"./chunk-4FGKIGKF.js";import{b as m,c as p}from"./chunk-H2O4CVKF.js";import{a as e}from"./chunk-P37U34EQ.js";import{jsx as d}from"react/jsx-runtime";function D({name:o,description:l,label:F,type:x,onChange:t,component:c,includeErrorMessage:f=!0,additionalProps:u={},maxLength:T,...C}){let{components:P}=m(),{control:S}=s(),g=p();return d(a,{control:S,name:o,render:({field:r,fieldState:M})=>{let n=c||P?.text;if(!n)throw new Error(`Text component not found for field ${o}`);let $={name:o,description:l,label:F,type:x,onChange:t,metadata:u,maxLength:T,includeErrorMessage:f,transformHtml:g,...C};return d(n,{field:{...r,onChange:e(i=>{r.onChange(i),t?.(i)},"onChange")},fieldState:M,fieldData:$})}})}e(D,"TextField");export{D as a};
|
|
2
|
+
//# sourceMappingURL=chunk-4GIQCWII.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as e}from"./chunk-PQGDGJLG.js";import{b as a}from"./chunk-MRYRNB7Y.js";import{a as i}from"./chunk-P37U34EQ.js";import{jsx as s}from"react/jsx-runtime";function d({onSubmit:m}){let{terminationBag:o}=a(),r=i(async t=>{let n=await o?.parseFormValues(t);await m?.(n),o?.next()},"handleSubmit");return s(e,{defaultValues:o.fieldValues,onSubmit:r})}i(d,"PaidTimeOffForm");export{d as a};
|
|
2
|
+
//# sourceMappingURL=chunk-4IEAIF46.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{f as e,h as a}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{f as e,h as a}from"./chunk-4FGKIGKF.js";import{h as m}from"./chunk-NXRWBI36.js";import{b as s}from"./chunk-TVZAFTPT.js";import{a as o}from"./chunk-P37U34EQ.js";import{jsx as i}from"react/jsx-runtime";function R({onSubmit:d,onError:c,onSuccess:l}){let{contractAmendment:{stepState:u,isSubmitting:f,onSubmit:C,fields:p},formId:A}=s(),n=e({defaultValues:u.values?.form}),F=o(async r=>{let V=await m(r,p,{isPartialValidation:!1});await d?.(V);let t=await C(r);t.error?c?.(t.error):await l?.(t.data)},"handleSubmit");return f?null:i(a,{...n,children:i("form",{id:A,onSubmit:n.handleSubmit(F),className:"RemoteFlows__ContractAmendmentConfirmationForm"})})}o(R,"ContractAmendmentConfirmationForm");export{R as a};
|
|
2
|
+
//# sourceMappingURL=chunk-4X7TVFHA.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as c}from"./chunk-Q3ALCPJN.js";import{a as d}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as c}from"./chunk-Q3ALCPJN.js";import{a as d}from"./chunk-G3QDDD53.js";import{a as l}from"./chunk-WL7WQBSR.js";import{h as m}from"./chunk-4FGKIGKF.js";import{c as s}from"./chunk-NXRWBI36.js";import{a}from"./chunk-P37U34EQ.js";import{useEffect as f}from"react";import{jsx as F}from"react/jsx-runtime";import{createElement as V}from"react";function B({defaultValues:p,onSubmit:u,components:S}){let{formId:y,contractorOnboardingBag:o,formRef:t}=c(),r=d({handleValidation:o.handleValidation,defaultValues:p,checkFieldUpdates:o.checkFieldUpdates});f(()=>{t?.setValue&&(t.setValue.current=r.setValue)},[r.setValue,t]),f(()=>{o.employmentId&&o?.checkFieldUpdates(r.getValues())},[]);let g=a(async(n,b)=>{let i=b?.nativeEvent;if(i?.isDraftSubmission){let{onSuccess:P,onError:E}=i.draftCallbacks;try{await o.onSubmit(n),P?.()}catch(e){let C=o.stepState.currentStep.name,h=o.meta?.fields?.[C],O=s(e?.fieldErrors||[],h);E?.({error:e?.error||e,rawError:e?.rawError||e,fieldErrors:O})}}else await u(n,r)},"handleSubmit");return V(m,{...r,key:`form-${o.stepState.currentStep.name}`},F("form",{id:y,onSubmit:r.handleSubmit(g),className:"space-y-4 RemoteFlows__OnboardingForm",children:F(l,{components:S,fields:o.fields,fieldsets:o.meta.fieldsets,fieldValues:o.fieldValues})}))}a(B,"ContractorOnboardingForm");export{B as a};
|
|
2
|
+
//# sourceMappingURL=chunk-52GHCI6X.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as m}from"./chunk-NX7MM6XR.js";import{a as e}from"./chunk-ZXGAFQXW.js";import{a as i}from"./chunk-LMYJ6V44.js";import{a as o}from"./chunk-TC7EQZJK.js";var p={employee_communication:o,termination_details:e,paid_time_off:m,additional_information:i};export{p as a};
|
|
2
|
+
//# sourceMappingURL=chunk-5MPW7QWT.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as R,b as x,c as N,d as A}from"./chunk-DMNKKWLY.js";import{a as T}from"./chunk-ZE3YT3Q6.js";import{a as C}from"./chunk-N6XLGYRK.js";import{b as B}from"./chunk-T5J2Z6ZR.js";import{a as w,c as f}from"./chunk-J2L3CYIS.js";import{n as i,o as n,r as F}from"./chunk-G2LZFGZA.js";import{a as m}from"./chunk-P37U34EQ.js";import{MoreHorizontal as G}from"lucide-react";import{useState as P}from"react";import{Fragment as U,jsx as g,jsxs as E}from"react/jsx-runtime";function L({actions:e=[],className:r,label:a,"data-testid":l}){let[_,d]=P(!1);return E("div",{className:i("relative",r),children:[g(B,{"data-testid":l,variant:"ghost","aria-label":a,className:"h-8 w-8 p-0",onClick:()=>d(!_),children:g(G,{className:"h-4 w-4"})}),_&&E(U,{children:[g("div",{className:"fixed inset-0 z-40",onClick:()=>d(!1)}),g("div",{className:"absolute right-0 top-1/2 mt-1 bg-white border border-gray-200 rounded-md shadow-lg z-50 min-w-[120px]",children:e.map((c,u)=>g("button",{"data-testid":`${l}-${c.label.toLowerCase().replace(" ","-")}`,className:i("w-full text-left px-2 py-1.5 text-sm hover:bg-gray-100",c.disabled&&"opacity-50 cursor-not-allowed"),onClick:()=>{c.onClick(),d(!1)},disabled:c.disabled,children:c.label},u))})]})]})}m(L,"ActionsDropdown");import{ChevronDown as S,Info as $}from"lucide-react";import j from"react-flagpack";import{useState as O}from"react";import{Fragment as b,jsx as o,jsxs as t}from"react/jsx-runtime";var Z={GB:"GB-UKM"},K=m(({title:e,country:r,region:a,annualGrossSalary:l,onDelete:_,onExportPdf:d,onEdit:c})=>{let u=[{label:"Edit",onClick:c},{label:"Export",onClick:d},{label:"Delete",onClick:_}];return t("div",{className:"RemoteFlows__EstimationResults__Header flex justify-between",children:[t("div",{className:"flex flex-row items-center gap-6",children:[o("div",{className:"RemoteFlows__EstimationResultsHeader__FlagContainer flex h-16 w-16 items-center justify-center rounded-lg bg-[#F4F4F5]",children:o(j,{code:Z[r.alpha_2_code]||r.alpha_2_code})}),t("div",{className:"space-y-1",children:[o("h2",{"data-testid":"estimation-results-header-title",className:"RemoteFlows__EstimationResultsHeader__Title text-lg font-medium leading-none text-[#181818]",children:e}),t("p",{className:"RemoteFlows__EstimationResultsHeader__Country text-xs text-[#71717A]",children:[r.name," ",a?` (${a.name})`:""]}),t("p",{"data-testid":"estimation-results-header-annual-gross-salary",className:"RemoteFlows__EstimationResultsHeader__AnnualGrossSalary text-xs text-[#71717A]",children:[o("span",{className:"text-[#181818]",children:"Employee annual gross salary:"})," ",l]})]})]}),o(L,{label:"Actions",className:"RemoteFlows__EstimationResults__ActionsDropdown",actions:u})]})},"EstimationResultsHeader"),V=m(()=>({steps:[{id:"add-employment-details",title:"Add employment details",description:"You add employee employments details."},{id:"invite-employee",title:"Invite employee",description:"Hire receives an email invitation from Remote to start the self-enrollment process."},{id:"verify-information",title:"Verify information",description:"Remote prepares the Employment Agreement and verifies all the information."},{id:"sign-contract",title:"Sign contract",description:"All parties sign the Employment Agreement and are ready to start. \u{1F389}"}],helpText:"For customers who accept Remote's Terms of Service (ToS), the employee onboarding timeline starts once the employee has been invited to the platform and completed self enrollment.",zendeskArticleId:w.employeeOnboardingTimeline}),"getOnboardingTimelineData");function Y({minimumOnboardingDays:e,data:r,className:a}){return o(R,{collapsible:!0,className:i("RemoteFlows__EstimationResults__OnboardingTimeline w-full",a),children:t(x,{value:"timeline",className:"RemoteFlows__OnboardingTimeline__AccordionItem border-border",children:[o(N,{className:"RemoteFlows__OnboardingTimeline__AccordionTrigger hover:no-underline px-0 py-4",children:t("div",{className:"flex items-center justify-between w-full",children:[o("span",{className:"RemoteFlows__OnboardingTimeline__Title text-base font-medium text-[#0F172A]",children:"Onboarding timeline"}),e!=null&&t("span",{className:"RemoteFlows__OnboardingTimeline__Description text-base text-muted-foreground mr-4",children:[e," days"]})]})}),t(A,{className:"px-0 pb-4",children:[o("ul",{className:"RemoteFlows__OnboardingTimeline__List list-disc list-inside space-y-2",children:r.steps.map(l=>t("li",{children:[o("strong",{className:"font-medium text-[#09090B]",children:l.title})," ","- ",l.description]},l.id))}),t("p",{className:"RemoteFlows__OnboardingTimeline__HelpText text-xs text-muted-foreground mt-4",children:[r.helpText,r.zendeskArticleId&&o(f,{zendeskId:r.zendeskArticleId,children:"Learn more"})]})]})]})})}m(Y,"OnboardingTimeline");function q({className:e,countryBenefitsUrl:r,countryGuideUrl:a,country:l}){return o(R,{collapsible:!0,className:i("RemoteFlows__EstimationResults__HiringSection w-full",e),children:t(x,{value:"timeline",className:"RemoteFlows__HiringSection__AccordionItem border-border",children:[o(N,{className:"RemoteFlows__HiringSection__AccordionTrigger hover:no-underline px-0 py-4",children:o("div",{className:"flex items-center justify-between w-full",children:t("span",{className:"text-base font-medium text-[#0F172A]",children:["Hiring in ",l.name]})})}),o(A,{children:t("div",{className:"flex flex-col gap-1",children:[a&&o("a",{href:a,target:"_blank",className:"RemoteFlows__Link",children:"Explore our complete guide \u2197"}),r&&o("a",{href:r,target:"_blank",className:"RemoteFlows__Link",children:"Explore our available benefits \u2197"})]})})]})})}m(q,"HiringSection");function J({isMultipleCurrency:e,className:r}){return t("div",{className:i("RemoteFlows__EstimationResults__Headers grid grid-cols-3 items-center",r),children:[o("span",{"aria-hidden":!0}),e?t(b,{children:[o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Employee currency"}),o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Employer currency"})]}):t(b,{children:[o("span",{}),o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Amount"})]})]})}m(J,"EstimationHeaders");function I({label:e,amounts:r,className:a,children:l}){let[_,d]=O(!0);return t("div",{className:i("RemoteFlows__EstimationResults__Row",a),children:[t("div",{className:"RemoteFlows__EstimationRow__Grid grid grid-cols-3 items-center",children:[t("div",{className:"RemoteFlows__EstimationRow__LabelContainer flex items-center gap-2",children:[o("span",{className:i("RemoteFlows__EstimationRow__Title min-w-[140px] font-medium text-[#09090B]"),children:e}),o("button",{onClick:()=>d(!_),className:"RemoteFlows__EstimationRow__CollapseButton p-1 hover:bg-gray-100 rounded",children:o(S,{className:`h-4 w-4 text-muted-foreground transition-transform ${_?"rotate-180":""}`})})]}),Array.isArray(r)?r.map((c,u)=>o("span",{className:i("RemoteFlows__EstimationRow__RegionalAmount text-right font-medium text-[#09090B]"),children:c},u)):t(b,{children:[o("span",{}),o("span",{className:i("RemoteFlows__EstimationRow__EmployerAmount text-right font-medium text-[#09090B]"),children:r})]})]}),_&&l&&o("div",{className:"RemoteFlows__EstimationRow__CollapsibleContent mt-4",children:l})]})}m(I,"EstimationRow");function Q({item:e,isMultipleCurrency:r,level:a=0}){let[l,_]=O(!1),d=e.children&&e.children.length>0,c=a>0,u=e.isCollapsible||d;return t("li",{className:i("RemoteFlows__BreakdownList__Item pb-3",c&&"pb-1"),children:[t("div",{className:i(r?"RemoteFlows__BreakdownList__Grid grid grid-cols-3 items-center justify-between":"RemoteFlows__BreakdownList__Grid grid grid-cols-2 items-center justify-between"),children:[t("div",{className:i("RemoteFlows__BreakdownList__LabelContainer flex items-center gap-2",c&&"pl-3"),children:[!c&&o("span",{className:"RemoteFlows__BreakdownList__Bullet w-1 h-1 bg-[#09090B] rounded-full flex-shrink-0","aria-hidden":"true"}),u?t("button",{onClick:()=>_(!l),className:"RemoteFlows__BreakdownList__CollapseButton flex items-center gap-2 hover:bg-gray-100 rounded p-1",children:[o("span",{className:i(c?"RemoteFlows__BreakdownList__Text--Nested text-xs text-[#71717A]":"RemoteFlows__BreakdownList__Text--NotNested text-sm text-[#09090B]"),children:e.label}),o(S,{className:`RemoteFlows__BreakdownList__ChevronDown h-3 w-3 text-muted-foreground transition-transform ${l?"rotate-180":""}`})]}):o("span",{className:i(c?"RemoteFlows__BreakdownList__Text--Nested text-xs text-[#71717A]":"RemoteFlows__BreakdownList__Text--NotNested text-sm text-[#09090B] p-1"),children:e.label}),e.tooltip&&o(T,{content:t(b,{children:[o("span",{dangerouslySetInnerHTML:{__html:F(e.tooltip)}})," ",e.zendeskId&&o(f,{zendeskId:Number(e.zendeskId),children:"Learn more"})]}),children:o("button",{className:"RemoteFlows__BreakdownList__InfoButton p-1 hover:bg-gray-100 rounded",children:o($,{className:i("RemoteFlows__BreakdownList__InfoButton__Icon text-muted-foreground",c?"h-3 w-3":"h-4 w-4")})})})]}),r?t(b,{children:[o("span",{"data-testid":e.dataSelector&&e.dataSelector+"-employee-amount",className:i("RemoteFlows__BreakdownList__RegionalAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__RegionalAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__RegionalAmountText--NotNested text-[#09090B]"),children:e.regionalAmount||"\u2014"}),o("span",{"data-testid":e.dataSelector&&e.dataSelector+"-employer-amount",className:i("RemoteFlows__BreakdownList__EmployerAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__EmployerAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__EmployerAmountText--NotNested text-[#09090B]"),children:e.employerAmount||"\u2014"})]}):o("span",{"data-testid":e.dataSelector,className:i("RemoteFlows__BreakdownList__RegionalAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__RegionalAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__RegionalAmountText--NotNested text-[#09090B]"),children:e.regionalAmount||"\u2014"})]}),d&&l&&o("div",{className:"mt-1",children:o(k,{items:e.children,isMultipleCurrency:r,level:a+1})})]})}m(Q,"BreakdownListItem");function k({items:e,isMultipleCurrency:r,className:a,level:l}){return o("ul",{className:i("RemoteFlows__BreakdownList list-none",a),children:e.map((_,d)=>o(Q,{item:_,isMultipleCurrency:r,level:l},d))})}m(k,"BreakdownList");var pe=m(({estimation:e,title:r,components:a,onDelete:l,onExportPdf:_,onEdit:d})=>{let c=a?.HiringSection||q,u=a?.OnboardingTimeline||Y,z=a?.Header||K,h=a?.Footer,H=V(),p=e.employer_currency_costs.currency.code!==e.regional_currency_costs.currency.code,v=e.employer_currency_costs.monthly_management_fee,D=e.region.code!==e.country.code,M=n(e.regional_currency_costs.annual_gross_salary,e.regional_currency_costs.currency.code);return t(C,{className:"RemoteFlows__EstimationResults__Card p-10",children:[o("div",{className:"RemoteFlows__Separator",children:o(z,{title:r,annualGrossSalary:M,region:D?e.region:void 0,country:e.country,onDelete:l,onExportPdf:_,onEdit:d})}),t("div",{className:"RemoteFlows__Separator",children:[o(J,{isMultipleCurrency:p,className:"mb-3"}),o(I,{label:"Monthly total cost",amounts:p?[n(e.regional_currency_costs.monthly_total,e.regional_currency_costs.currency.code),n(e.employer_currency_costs.monthly_total,e.employer_currency_costs.currency.code)]:n(e.regional_currency_costs.monthly_total,e.regional_currency_costs.currency.code),children:o(k,{items:[{label:"Gross monthly salary",regionalAmount:n(e.regional_currency_costs.monthly_gross_salary,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.monthly_gross_salary,e.employer_currency_costs.currency.code),zendeskId:w.extraPayments.toString(),tooltip:"This country respects extra payments on top of the gross salary."},{label:"Mandatory employer costs",regionalAmount:n(e.regional_currency_costs.monthly_contributions_total,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.monthly_contributions_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.monthly_contributions_breakdown?.map((s,y)=>({label:s.name,regionalAmount:n(e.regional_currency_costs.monthly_contributions_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Benefits",regionalAmount:n(e.regional_currency_costs.monthly_benefits_total,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.monthly_benefits_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.monthly_benefits_breakdown?.map((s,y)=>({label:s.name,regionalAmount:n(e.regional_currency_costs.monthly_benefits_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},...v?[{label:"Monthly fee",regionalAmount:n(e.regional_currency_costs.monthly_management_fee,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.monthly_management_fee,e.employer_currency_costs.currency.code),tooltip:"Discounts may be available based on your commitment and team size. Speak to your account or customer success manager to learn more."}]:[]],isMultipleCurrency:p})})]}),o("div",{className:"RemoteFlows__Separator",children:o(I,{label:"Annual total cost",amounts:p?[n(e.regional_currency_costs.annual_total,e.regional_currency_costs.currency.code),n(e.employer_currency_costs.annual_total,e.employer_currency_costs.currency.code)]:n(e.regional_currency_costs.annual_total,e.regional_currency_costs.currency.code),children:o(k,{items:[{label:"Gross annual salary",dataSelector:"annual-gross-salary",regionalAmount:n(e.regional_currency_costs.annual_gross_salary,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.annual_gross_salary,e.employer_currency_costs.currency.code)},{label:"Mandatory employer costs",regionalAmount:n(e.regional_currency_costs.annual_contributions_total,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.annual_contributions_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.annual_contributions_breakdown?.map((s,y)=>({label:s.name,regionalAmount:n(e.regional_currency_costs.annual_contributions_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Benefits",regionalAmount:n(e.regional_currency_costs.annual_benefits_total,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.annual_benefits_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.annual_benefits_breakdown?.map((s,y)=>({label:s.name,regionalAmount:n(e.regional_currency_costs.annual_benefits_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Extra statutory payments",regionalAmount:n(e.regional_currency_costs.extra_statutory_payments_total,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.extra_statutory_payments_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.extra_statutory_payments_breakdown?.map((s,y)=>({label:s.name,regionalAmount:n(e.regional_currency_costs.extra_statutory_payments_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},...v?[{label:"Annual fee",regionalAmount:n(e.regional_currency_costs.annual_management_fee,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.annual_management_fee,e.employer_currency_costs.currency.code),tooltip:"Discounts may be available based on your commitment and team size. Speak to your account or customer success manager to learn more."}]:[]],isMultipleCurrency:p})})}),o("div",{className:"RemoteFlows__Separator",children:o(u,{minimumOnboardingDays:e.minimum_onboarding_time,data:H})}),o(c,{countryBenefitsUrl:e.country_benefits_details_url,countryGuideUrl:e.country_guide_url,country:e.country}),h&&o(h,{})]})},"EstimationResults");export{pe as a};
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as R,b as x,c as N,d as A}from"./chunk-HQLGDW2G.js";import{a as T}from"./chunk-ZE3YT3Q6.js";import{a as C}from"./chunk-AHUSQVQY.js";import{b as B}from"./chunk-BC4V2YAK.js";import{a as w,c as f}from"./chunk-INUCPQVI.js";import{n as i,o as n,r as F}from"./chunk-NXRWBI36.js";import{a as m}from"./chunk-P37U34EQ.js";import{MoreHorizontal as G}from"lucide-react";import{useState as P}from"react";import{Fragment as U,jsx as g,jsxs as E}from"react/jsx-runtime";function L({actions:e=[],className:r,label:a,"data-testid":l}){let[_,d]=P(!1);return E("div",{className:i("relative",r),children:[g(B,{"data-testid":l,variant:"ghost","aria-label":a,className:"h-8 w-8 p-0",onClick:()=>d(!_),children:g(G,{className:"h-4 w-4"})}),_&&E(U,{children:[g("div",{className:"fixed inset-0 z-40",onClick:()=>d(!1)}),g("div",{className:"absolute right-0 top-1/2 mt-1 bg-white border border-gray-200 rounded-md shadow-lg z-50 min-w-[120px]",children:e.map((c,u)=>g("button",{"data-testid":`${l}-${c.label.toLowerCase().replace(" ","-")}`,className:i("w-full text-left px-2 py-1.5 text-sm hover:bg-gray-100",c.disabled&&"opacity-50 cursor-not-allowed"),onClick:()=>{c.onClick(),d(!1)},disabled:c.disabled,children:c.label},u))})]})]})}m(L,"ActionsDropdown");import{ChevronDown as S,Info as $}from"lucide-react";import j from"react-flagpack";import{useState as O}from"react";import{Fragment as b,jsx as o,jsxs as t}from"react/jsx-runtime";var Z={GB:"GB-UKM"},K=m(({title:e,country:r,region:a,annualGrossSalary:l,onDelete:_,onExportPdf:d,onEdit:c})=>{let u=[{label:"Edit",onClick:c},{label:"Export",onClick:d},{label:"Delete",onClick:_}];return t("div",{className:"RemoteFlows__EstimationResults__Header flex justify-between",children:[t("div",{className:"flex flex-row items-center gap-6",children:[o("div",{className:"RemoteFlows__EstimationResultsHeader__FlagContainer flex h-16 w-16 items-center justify-center rounded-lg bg-[#F4F4F5]",children:o(j,{code:Z[r.alpha_2_code]||r.alpha_2_code})}),t("div",{className:"space-y-1",children:[o("h2",{"data-testid":"estimation-results-header-title",className:"RemoteFlows__EstimationResultsHeader__Title text-lg font-medium leading-none text-[#181818]",children:e}),t("p",{className:"RemoteFlows__EstimationResultsHeader__Country text-xs text-[#71717A]",children:[r.name," ",a?` (${a.name})`:""]}),t("p",{"data-testid":"estimation-results-header-annual-gross-salary",className:"RemoteFlows__EstimationResultsHeader__AnnualGrossSalary text-xs text-[#71717A]",children:[o("span",{className:"text-[#181818]",children:"Employee annual gross salary:"})," ",l]})]})]}),o(L,{label:"Actions",className:"RemoteFlows__EstimationResults__ActionsDropdown",actions:u})]})},"EstimationResultsHeader"),V=m(()=>({steps:[{id:"add-employment-details",title:"Add employment details",description:"You add employee employments details."},{id:"invite-employee",title:"Invite employee",description:"Hire receives an email invitation from Remote to start the self-enrollment process."},{id:"verify-information",title:"Verify information",description:"Remote prepares the Employment Agreement and verifies all the information."},{id:"sign-contract",title:"Sign contract",description:"All parties sign the Employment Agreement and are ready to start. \u{1F389}"}],helpText:"For customers who accept Remote's Terms of Service (ToS), the employee onboarding timeline starts once the employee has been invited to the platform and completed self enrollment.",zendeskArticleId:w.employeeOnboardingTimeline}),"getOnboardingTimelineData");function Y({minimumOnboardingDays:e,data:r,className:a}){return o(R,{collapsible:!0,className:i("RemoteFlows__EstimationResults__OnboardingTimeline w-full",a),children:t(x,{value:"timeline",className:"RemoteFlows__OnboardingTimeline__AccordionItem border-border",children:[o(N,{className:"RemoteFlows__OnboardingTimeline__AccordionTrigger hover:no-underline px-0 py-4",children:t("div",{className:"flex items-center justify-between w-full",children:[o("span",{className:"RemoteFlows__OnboardingTimeline__Title text-base font-medium text-[#0F172A]",children:"Onboarding timeline"}),e!=null&&t("span",{className:"RemoteFlows__OnboardingTimeline__Description text-base text-muted-foreground mr-4",children:[e," days"]})]})}),t(A,{className:"px-0 pb-4",children:[o("ul",{className:"RemoteFlows__OnboardingTimeline__List list-disc list-inside space-y-2",children:r.steps.map(l=>t("li",{children:[o("strong",{className:"font-medium text-[#09090B]",children:l.title})," ","- ",l.description]},l.id))}),t("p",{className:"RemoteFlows__OnboardingTimeline__HelpText text-xs text-muted-foreground mt-4",children:[r.helpText,r.zendeskArticleId&&o(f,{zendeskId:r.zendeskArticleId,children:"Learn more"})]})]})]})})}m(Y,"OnboardingTimeline");function q({className:e,countryBenefitsUrl:r,countryGuideUrl:a,country:l}){return o(R,{collapsible:!0,className:i("RemoteFlows__EstimationResults__HiringSection w-full",e),children:t(x,{value:"timeline",className:"RemoteFlows__HiringSection__AccordionItem border-border",children:[o(N,{className:"RemoteFlows__HiringSection__AccordionTrigger hover:no-underline px-0 py-4",children:o("div",{className:"flex items-center justify-between w-full",children:t("span",{className:"text-base font-medium text-[#0F172A]",children:["Hiring in ",l.name]})})}),o(A,{children:t("div",{className:"flex flex-col gap-1",children:[a&&o("a",{href:a,target:"_blank",className:"RemoteFlows__Link",children:"Explore our complete guide \u2197"}),r&&o("a",{href:r,target:"_blank",className:"RemoteFlows__Link",children:"Explore our available benefits \u2197"})]})})]})})}m(q,"HiringSection");function J({isMultipleCurrency:e,className:r}){return t("div",{className:i("RemoteFlows__EstimationResults__Headers grid grid-cols-3 items-center",r),children:[o("span",{"aria-hidden":!0}),e?t(b,{children:[o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Employee currency"}),o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Employer currency"})]}):t(b,{children:[o("span",{}),o("span",{className:"RemoteFlows__EstimationResults__Headers__Label",children:"Amount"})]})]})}m(J,"EstimationHeaders");function I({label:e,amounts:r,className:a,children:l}){let[_,d]=O(!0);return t("div",{className:i("RemoteFlows__EstimationResults__Row",a),children:[t("div",{className:"RemoteFlows__EstimationRow__Grid grid grid-cols-3 items-center",children:[t("div",{className:"RemoteFlows__EstimationRow__LabelContainer flex items-center gap-2",children:[o("span",{className:i("RemoteFlows__EstimationRow__Title min-w-[140px] font-medium text-[#09090B]"),children:e}),o("button",{onClick:()=>d(!_),className:"RemoteFlows__EstimationRow__CollapseButton p-1 hover:bg-gray-100 rounded",children:o(S,{className:`h-4 w-4 text-muted-foreground transition-transform ${_?"rotate-180":""}`})})]}),Array.isArray(r)?r.map((c,u)=>o("span",{className:i("RemoteFlows__EstimationRow__RegionalAmount text-right font-medium text-[#09090B]"),children:c},u)):t(b,{children:[o("span",{}),o("span",{className:i("RemoteFlows__EstimationRow__EmployerAmount text-right font-medium text-[#09090B]"),children:r})]})]}),_&&l&&o("div",{className:"RemoteFlows__EstimationRow__CollapsibleContent mt-4",children:l})]})}m(I,"EstimationRow");function Q({item:e,isMultipleCurrency:r,level:a=0}){let[l,_]=O(!1),d=e.children&&e.children.length>0,c=a>0,u=e.isCollapsible||d;return t("li",{className:i("RemoteFlows__BreakdownList__Item pb-3",c&&"pb-1"),children:[t("div",{className:i(r?"RemoteFlows__BreakdownList__Grid grid grid-cols-3 items-center justify-between":"RemoteFlows__BreakdownList__Grid grid grid-cols-2 items-center justify-between"),children:[t("div",{className:i("RemoteFlows__BreakdownList__LabelContainer flex items-center gap-2",c&&"pl-3"),children:[!c&&o("span",{className:"RemoteFlows__BreakdownList__Bullet w-1 h-1 bg-[#09090B] rounded-full flex-shrink-0","aria-hidden":"true"}),u?t("button",{onClick:()=>_(!l),className:"RemoteFlows__BreakdownList__CollapseButton flex items-center gap-2 hover:bg-gray-100 rounded p-1",children:[o("span",{className:i(c?"RemoteFlows__BreakdownList__Text--Nested text-xs text-[#71717A]":"RemoteFlows__BreakdownList__Text--NotNested text-sm text-[#09090B]"),children:e.label}),o(S,{className:`RemoteFlows__BreakdownList__ChevronDown h-3 w-3 text-muted-foreground transition-transform ${l?"rotate-180":""}`})]}):o("span",{className:i(c?"RemoteFlows__BreakdownList__Text--Nested text-xs text-[#71717A]":"RemoteFlows__BreakdownList__Text--NotNested text-sm text-[#09090B] p-1"),children:e.label}),e.tooltip&&o(T,{content:t(b,{children:[o("span",{dangerouslySetInnerHTML:{__html:F(e.tooltip)}})," ",e.zendeskId&&o(f,{zendeskId:Number(e.zendeskId),children:"Learn more"})]}),children:o("button",{className:"RemoteFlows__BreakdownList__InfoButton p-1 hover:bg-gray-100 rounded",children:o($,{className:i("RemoteFlows__BreakdownList__InfoButton__Icon text-muted-foreground",c?"h-3 w-3":"h-4 w-4")})})})]}),r?t(b,{children:[o("span",{"data-testid":e.dataSelector&&e.dataSelector+"-employee-amount",className:i("RemoteFlows__BreakdownList__RegionalAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__RegionalAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__RegionalAmountText--NotNested text-[#09090B]"),children:e.regionalAmount||"\u2014"}),o("span",{"data-testid":e.dataSelector&&e.dataSelector+"-employer-amount",className:i("RemoteFlows__BreakdownList__EmployerAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__EmployerAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__EmployerAmountText--NotNested text-[#09090B]"),children:e.employerAmount||"\u2014"})]}):o("span",{"data-testid":e.dataSelector,className:i("RemoteFlows__BreakdownList__RegionalAmountText text-sm text-right",c?"RemoteFlows__BreakdownList__RegionalAmountText--Nested text-[#71717A]":"RemoteFlows__BreakdownList__RegionalAmountText--NotNested text-[#09090B]"),children:e.regionalAmount||"\u2014"})]}),d&&l&&o("div",{className:"mt-1",children:o(k,{items:e.children,isMultipleCurrency:r,level:a+1})})]})}m(Q,"BreakdownListItem");function k({items:e,isMultipleCurrency:r,className:a,level:l}){return o("ul",{className:i("RemoteFlows__BreakdownList list-none",a),children:e.map((_,d)=>o(Q,{item:_,isMultipleCurrency:r,level:l},d))})}m(k,"BreakdownList");var pe=m(({estimation:e,title:r,components:a,onDelete:l,onExportPdf:_,onEdit:d})=>{let c=a?.HiringSection||q,u=a?.OnboardingTimeline||Y,z=a?.Header||K,h=a?.Footer,H=V(),p=e.employer_currency_costs.currency.code!==e.regional_currency_costs.currency.code,v=e.employer_currency_costs.monthly_management_fee,D=e.region.code!==e.country.code,M=n(e.regional_currency_costs.annual_gross_salary,e.regional_currency_costs.currency.code);return t(C,{className:"RemoteFlows__EstimationResults__Card p-10",children:[o("div",{className:"RemoteFlows__Separator",children:o(z,{title:r,annualGrossSalary:M,region:D?e.region:void 0,country:e.country,onDelete:l,onExportPdf:_,onEdit:d})}),t("div",{className:"RemoteFlows__Separator",children:[o(J,{isMultipleCurrency:p,className:"mb-3"}),o(I,{label:"Monthly total cost",amounts:p?[n(e.regional_currency_costs.monthly_total,e.regional_currency_costs.currency.code),n(e.employer_currency_costs.monthly_total,e.employer_currency_costs.currency.code)]:n(e.regional_currency_costs.monthly_total,e.regional_currency_costs.currency.code),children:o(k,{items:[{label:"Gross monthly salary",regionalAmount:n(e.regional_currency_costs.monthly_gross_salary,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.monthly_gross_salary,e.employer_currency_costs.currency.code),zendeskId:w.extraPayments.toString(),tooltip:"This country respects extra payments on top of the gross salary."},{label:"Mandatory employer costs",regionalAmount:n(e.regional_currency_costs.monthly_contributions_total,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.monthly_contributions_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.monthly_contributions_breakdown?.map((s,y)=>({label:s.name,regionalAmount:n(e.regional_currency_costs.monthly_contributions_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Benefits",regionalAmount:n(e.regional_currency_costs.monthly_benefits_total,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.monthly_benefits_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.monthly_benefits_breakdown?.map((s,y)=>({label:s.name,regionalAmount:n(e.regional_currency_costs.monthly_benefits_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},...v?[{label:"Monthly fee",regionalAmount:n(e.regional_currency_costs.monthly_management_fee,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.monthly_management_fee,e.employer_currency_costs.currency.code),tooltip:"Discounts may be available based on your commitment and team size. Speak to your account or customer success manager to learn more."}]:[]],isMultipleCurrency:p})})]}),o("div",{className:"RemoteFlows__Separator",children:o(I,{label:"Annual total cost",amounts:p?[n(e.regional_currency_costs.annual_total,e.regional_currency_costs.currency.code),n(e.employer_currency_costs.annual_total,e.employer_currency_costs.currency.code)]:n(e.regional_currency_costs.annual_total,e.regional_currency_costs.currency.code),children:o(k,{items:[{label:"Gross annual salary",dataSelector:"annual-gross-salary",regionalAmount:n(e.regional_currency_costs.annual_gross_salary,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.annual_gross_salary,e.employer_currency_costs.currency.code)},{label:"Mandatory employer costs",regionalAmount:n(e.regional_currency_costs.annual_contributions_total,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.annual_contributions_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.annual_contributions_breakdown?.map((s,y)=>({label:s.name,regionalAmount:n(e.regional_currency_costs.annual_contributions_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Benefits",regionalAmount:n(e.regional_currency_costs.annual_benefits_total,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.annual_benefits_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.annual_benefits_breakdown?.map((s,y)=>({label:s.name,regionalAmount:n(e.regional_currency_costs.annual_benefits_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},{label:"Extra statutory payments",regionalAmount:n(e.regional_currency_costs.extra_statutory_payments_total,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.extra_statutory_payments_total,e.employer_currency_costs.currency.code),children:e.employer_currency_costs.extra_statutory_payments_breakdown?.map((s,y)=>({label:s.name,regionalAmount:n(e.regional_currency_costs.extra_statutory_payments_breakdown?.[y]?.amount,e.regional_currency_costs.currency.code),employerAmount:n(s.amount,e.employer_currency_costs.currency.code),zendeskId:s.zendesk_article_id||void 0,tooltip:s.description||void 0}))||[]},...v?[{label:"Annual fee",regionalAmount:n(e.regional_currency_costs.annual_management_fee,e.regional_currency_costs.currency.code),employerAmount:n(e.employer_currency_costs.annual_management_fee,e.employer_currency_costs.currency.code),tooltip:"Discounts may be available based on your commitment and team size. Speak to your account or customer success manager to learn more."}]:[]],isMultipleCurrency:p})})}),o("div",{className:"RemoteFlows__Separator",children:o(u,{minimumOnboardingDays:e.minimum_onboarding_time,data:H})}),o(c,{countryBenefitsUrl:e.country_benefits_details_url,countryGuideUrl:e.country_guide_url,country:e.country}),h&&o(h,{})]})},"EstimationResults");export{pe as a};
|
|
2
|
+
//# sourceMappingURL=chunk-65G3JQ7T.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as r}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as r}from"./chunk-NPXIFNK2.js";import{a as s}from"./chunk-X7KIEFEN.js";import{b as t}from"./chunk-SS2SYDCB.js";import{a as o}from"./chunk-P37U34EQ.js";import{jsx as n}from"react/jsx-runtime";function d(l){let{employeeBag:e}=t(),a=s(l);return n(r,{onSubmit:a,defaultValues:{...e.initialValues?.home_address,...e.stepState.values?.home_address}})}o(d,"HomeAddressStep");export{d as a};
|
|
2
|
+
//# sourceMappingURL=chunk-6BOIGCHK.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as f,b as g}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as f,b as g}from"./chunk-GPY3JZJJ.js";import{b as R}from"./chunk-QO7HHRNA.js";import{a as u}from"./chunk-MZN6VY5F.js";import{j as t,k as F,l as s,n as d,o as _}from"./chunk-4FGKIGKF.js";import{n as l}from"./chunk-NXRWBI36.js";import{a as c}from"./chunk-P37U34EQ.js";import{Fragment as h}from"react";import{jsx as e,jsxs as m}from"react/jsx-runtime";var w=c(({field:n,fieldData:a,fieldState:C})=>{let{name:r,label:i,description:p,options:b}=a;return e("fieldset",{className:l("space-y-3",`RemoteFlows__RadioGroupField__Item__${r}`),"data-field":r,children:m(t,{children:[e("legend",{children:i}),(p||a.meta?.helpCenter)&&e(d,{helpCenter:e(u,{helpCenter:a.meta?.helpCenter}),children:p}),e(s,{children:e(f,{"aria-label":i||r,onValueChange:o=>{n.onChange(o)},value:n.value,className:"flex flex-col",children:b?.map(o=>e(h,{children:m(t,{"data-field":r,className:"flex items-start space-x-3 space-y-0 gap-0 min-h-[24px] RemoteFlows__RadioField__Item",children:[e(s,{children:e(g,{value:o.value,className:l("RemoteFlows__RadioField__Input",o.recommended&&"mt-1"),disabled:o.disabled})}),m("div",{children:[m(F,{className:"font-normal mb-0 RemoteFlows__RadioField__Label",children:[e("span",{dangerouslySetInnerHTML:{__html:o.label}})," ",o.recommended&&e(R,{variant:"secondary",className:"ml-2",children:"Recommended"})]}),o.description&&e(d,{className:"mt-2",children:o.description})]})]})},o.value))})}),C.error&&e(_,{})]})})},"RadioGroupFieldDefault");export{w as a};
|
|
2
|
+
//# sourceMappingURL=chunk-6JTUAJBZ.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as n}from"./chunk-NPXIFNK2.js";import{a}from"./chunk-X7KIEFEN.js";import{b as t}from"./chunk-SS2SYDCB.js";import{a as o}from"./chunk-P37U34EQ.js";import{jsx as i}from"react/jsx-runtime";function b(l){let{employeeBag:e}=t(),r=a(l);return e.selfOnboardingSubsteps.some(s=>s.type==="employee_provides_bank_details")?i(n,{onSubmit:r,defaultValues:{...e.initialValues?.bank_account,...e.stepState.values?.bank_account}}):null}o(b,"BankAccountStep");export{b as a};
|
|
2
|
+
//# sourceMappingURL=chunk-6LQ2EP7Y.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n as i}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{n as i}from"./chunk-NXRWBI36.js";import{a as s}from"./chunk-P37U34EQ.js";import*as n from"react";import{Drawer as r}from"vaul";import{jsx as a,jsxs as l}from"react/jsx-runtime";var d=s(({shouldScaleBackground:e=!0,...t})=>a(r.Root,{shouldScaleBackground:e,...t}),"Drawer");d.displayName="Drawer";var N=r.Trigger,f=r.Portal,P=r.Close,m=n.forwardRef(({className:e,...t},o)=>a(r.Overlay,{ref:o,className:i("fixed inset-0 z-50 bg-black/80",e),...t}));m.displayName=r.Overlay.displayName;var D=n.forwardRef(({className:e,children:t,showHandle:o=!0,...c},p)=>l(f,{children:[a(m,{}),l(r.Content,{ref:p,className:i("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",e),...c,children:[o&&a("div",{className:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"}),t]})]}));D.displayName="DrawerContent";var w=s(({className:e,...t})=>a("div",{className:i("grid gap-1.5 p-4 text-center sm:text-left",e),...t}),"DrawerHeader");w.displayName="DrawerHeader";var R=s(({className:e,...t})=>a("div",{className:i("mt-auto flex flex-col gap-2 p-4",e),...t}),"DrawerFooter");R.displayName="DrawerFooter";var g=n.forwardRef(({className:e,...t},o)=>a(r.Title,{ref:o,className:i("text-lg font-semibold leading-none tracking-tight",e),...t}));g.displayName=r.Title.displayName;var u=n.forwardRef(({className:e,...t},o)=>a(r.Description,{ref:o,className:i("text-sm text-muted-foreground",e),...t}));u.displayName=r.Description.displayName;export{d as a,N as b,D as c,w as d,g as e,u as f};
|
|
2
|
+
//# sourceMappingURL=chunk-6QEAL5BB.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as b}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as b}from"./chunk-MZN6VY5F.js";import{j as _,k as d,l as x,n as u,o as f}from"./chunk-4FGKIGKF.js";import{n as a}from"./chunk-NXRWBI36.js";import{a as c}from"./chunk-P37U34EQ.js";import*as g from"react";import{jsx as h}from"react/jsx-runtime";var s=g.forwardRef(({className:e,...r},t)=>h("textarea",{className:a("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:t,...r}));s.displayName="Textarea";import{jsx as o,jsxs as l}from"react/jsx-runtime";function y({field:e,fieldState:r,fieldData:t}){let{name:i,label:p,description:n,maxLength:m}=t,F=e.value?.length??0;return l(_,{"data-field":i,className:`RemoteFlows__TextArea__Item__${i}`,children:[o(d,{className:"RemoteFlows__TextArea__Label",children:p}),o(x,{children:o(s,{...e,value:e.value??"",onChange:T=>{e.onChange(T)},className:a(r.error&&"border-red-500 focus-visible:ring-red-500","RemoteFlows__TextArea__Input"),placeholder:p})}),(n||m)&&l("div",{className:"flex items-center justify-between",children:[n&&o(u,{className:"RemoteFlows__TextArea__Description",helpCenter:o(b,{helpCenter:t.meta?.helpCenter}),children:n}),m&&l("span",{className:"text-sm ml-auto RemoteFlows__TextArea__MaxLength",children:[F,"/",m]})]}),r.error&&o(f,{className:"RemoteFlows__TextArea__Error"})]})}c(y,"TextAreaFieldDefault");export{y as a};
|
|
2
|
+
//# sourceMappingURL=chunk-6SNWSCXH.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{b as t}from"./chunk-4MI7BMM5.js";import{a}from"./chunk-G3QDDD53.js";import{a as r}from"./chunk-WL7WQBSR.js";import{h as m}from"./chunk-4FGKIGKF.js";import{a as n}from"./chunk-P37U34EQ.js";import{useEffect as p}from"react";import{jsx as i}from"react/jsx-runtime";import{createElement as h}from"react";var k=n(({onSubmit:d,className:l,components:c})=>{let{formId:u,playgroundBag:e}=t(),o=a({handleValidation:e.handleValidation,defaultValues:e.initialValues,checkFieldUpdates:e.checkFieldUpdates});p(()=>{e.checkFieldUpdates(o.getValues())},[]);let f=n(async s=>{await e.handleSubmit(s),d?.(s)},"handleFormSubmit");return h(m,{...o,key:`form-${e.selectedSchema}-${e.resetKey}`},i("form",{id:u,onSubmit:o.handleSubmit(f),className:l,children:i(r,{components:c,fields:e.fields??[],fieldValues:e.fieldValues,fieldsets:e.meta["x-jsf-fieldsets"]})}))},"JsonSchemaPlaygroundForm");export{k as a};
|
|
2
|
+
//# sourceMappingURL=chunk-726N45PF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/flows/JsonSchemaPlayground/JsonSchemaPlaygroundForm.tsx"],"sourcesContent":["import { JSONSchemaFormFields } from '@/src/components/form/JSONSchemaForm';\nimport { Form } from '@/src/components/ui/form';\nimport { useEffect } from 'react';\nimport { useJsonSchemaPlaygroundContext } from './context';\nimport { useJSONSchemaForm } from '@/src/components/form/useJSONSchemaForm';\nimport { Components } from '@/src/types/remoteFlows';\n\nexport interface JsonSchemaPlaygroundFormProps {\n onSubmit?: (values: Record<string, unknown>) => void;\n className?: string;\n components?: Components;\n defaultValues?: Record<string, unknown>;\n}\n\nexport const JsonSchemaPlaygroundForm = ({\n onSubmit,\n className,\n components,\n}: JsonSchemaPlaygroundFormProps) => {\n const { formId, playgroundBag } = useJsonSchemaPlaygroundContext();\n\n const form = useJSONSchemaForm({\n handleValidation: playgroundBag.handleValidation,\n defaultValues: playgroundBag.initialValues,\n checkFieldUpdates: playgroundBag.checkFieldUpdates,\n });\n\n useEffect(() => {\n // Update field values when form values change\n playgroundBag.checkFieldUpdates(form.getValues());\n // oxlint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const handleFormSubmit = async (values: Record<string, unknown>) => {\n await playgroundBag.handleSubmit(values);\n onSubmit?.(values);\n };\n\n return (\n <Form\n {...form}\n key={`form-${playgroundBag.selectedSchema}-${playgroundBag.resetKey}`}\n >\n <form\n id={formId}\n onSubmit={form.handleSubmit(handleFormSubmit)}\n className={className}\n >\n <JSONSchemaFormFields\n components={components}\n fields={playgroundBag.fields ?? []}\n fieldValues={playgroundBag.fieldValues}\n fieldsets={playgroundBag.meta['x-jsf-fieldsets']}\n />\n </form>\n </Form>\n );\n};\n"],"mappings":"mMAEA,OAAS,aAAAA,MAAiB,QA8ClB,cAAAC,MAAA,oBATJ,wBAAAC,MAAA,QAzBG,IAAMC,EAA2BC,EAAA,CAAC,CACvC,SAAAC,EACA,UAAAC,EACA,WAAAC,CACF,IAAqC,CACnC,GAAM,CAAE,OAAAC,EAAQ,cAAAC,CAAc,EAAIC,EAA+B,EAE3DC,EAAOC,EAAkB,CAC7B,iBAAkBH,EAAc,iBAChC,cAAeA,EAAc,cAC7B,kBAAmBA,EAAc,iBACnC,CAAC,EAEDI,EAAU,IAAM,CAEdJ,EAAc,kBAAkBE,EAAK,UAAU,CAAC,CAElD,EAAG,CAAC,CAAC,EAEL,IAAMG,EAAmBV,EAAA,MAAOW,GAAoC,CAClE,MAAMN,EAAc,aAAaM,CAAM,EACvCV,IAAWU,CAAM,CACnB,EAHyB,oBAKzB,OACEb,EAACc,EAAA,CACE,GAAGL,EACJ,IAAK,QAAQF,EAAc,cAAc,IAAIA,EAAc,QAAQ,IAEnER,EAAC,QACC,GAAIO,EACJ,SAAUG,EAAK,aAAaG,CAAgB,EAC5C,UAAWR,EAEX,SAAAL,EAACgB,EAAA,CACC,WAAYV,EACZ,OAAQE,EAAc,QAAU,CAAC,EACjC,YAAaA,EAAc,YAC3B,UAAWA,EAAc,KAAK,iBAAiB,EACjD,EACF,CACF,CAEJ,EA3CwC","names":["useEffect","jsx","createElement","JsonSchemaPlaygroundForm","__name","onSubmit","className","components","formId","playgroundBag","useJsonSchemaPlaygroundContext","form","useJSONSchemaForm","useEffect","handleFormSubmit","values","Form","JSONSchemaFormFields"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as N,b as U}from"./chunk-BVKOMSHU.js";import{a as Q,b as W,c as q,d as j,e as z,f as H}from"./chunk-NGCNYQSC.js";import{c as J}from"./chunk-KMLI4ISS.js";import{b as l,h as g}from"./chunk-NXRWBI36.js";import{a as B}from"./chunk-XPVYX7LE.js";import{a as S}from"./chunk-P37U34EQ.js";import{useState as X,useMemo as gt,useCallback as c}from"react";var wt=S(m=>{let s=0;return{select_country:{index:s++,name:"select_country",visible:!m},contract_details:{index:s++,name:"contract_details"},administrative_details:{index:s++,name:"administrative_details"},invite:{index:s++,name:"invite"}}},"buildAdminSteps"),It=S(({companyId:m,legalEntityId:s,countryCode:Y,employmentId:w,initialValues:_,options:Z})=>{let{data:h,isLoading:$,isError:tt}=U(m),p=s??h?.[0]?.id,[n,C]=X(w),et=_?.basic_information?.country_code,[a,u]=X(Y??et),P=!!a&&!!w,nt=gt(()=>wt(P),[P]),{updateErrorContext:b}=J({flow:"payroll_admin_onboarding"}),at=c(t=>{b({step:t.name})},[b]),{stepState:A,nextStep:it,previousStep:ot,goToStep:st,setStepValues:rt,fieldValues:y,setFieldValues:E}=B(nt,at),d=A.currentStep.name,dt={select_country:"global_payroll_basic_information",contract_details:"global_payroll_contract_details",administrative_details:"global_payroll_administrative_details"},I=W(y),V=Q(a,dt[d],y,{employmentId:d!=="select_country"?n:void 0}),F=d==="select_country"&&!a,i=F?I.data:V.data,lt=F?I.isLoading:V.isLoading,v=q(),O=j(),D=z(),G=H(),{mutateAsyncOrThrow:L}=l(v),{mutateAsyncOrThrow:x}=l(O),{mutateAsyncOrThrow:T}=l(D),{mutateAsyncOrThrow:K}=l(G),ct=v.isPending||O.isPending||D.isPending||G.isPending,{data:R,isLoading:mt,refetch:r}=N(n),pt=R?.find(t=>t.type==="completion")?.sub_steps?.[0]?.status==="completed",ut=c(t=>{E(t);let e=t.country_code;e&&e!==a&&u(e)},[a,E]),yt=c(async t=>{if(!i)return null;let e=await g(t,i.fields,{isPartialValidation:!1});return i.handleValidation(e)},[i]),f=c(async t=>i?g(t,i.fields,{isPartialValidation:!1}):t,[i]),ft=c(async t=>{let e=await f(t);switch(d){case"select_country":{let o=e.country_code??a;if(!o)throw new Error("Country code is required to create an employment.");if(o!==a&&u(o),n){let St=await x({employmentId:n,basicInformation:e});return await r(),St}if(!p)throw new Error("No GP-enabled legal entity available. Cannot create an employment.");let k=await L({countryCode:o,legalEntityId:p,basicInformation:e}),M=k?.data?.employment?.id;if(!M)throw new Error("Employment was created but no ID was returned. Cannot proceed.");return C(M),await r(),k}case"contract_details":{if(!n)throw new Error("Employment ID is missing. Complete the previous step first.");let o=await T({employmentId:n,contractDetails:e});return await r(),o}case"administrative_details":{if(!n)throw new Error("Employment ID is missing. Complete the previous step first.");let o=await K({employmentId:n,administrativeDetails:e});return await r(),o}default:return}},[d,a,n,p,f,L,x,T,K,r]);return{stepState:A,isLoading:mt||lt||$,isSubmitting:ct,isComplete:pt??!1,companyId:m,legalEntityId:p,legalEntities:h??[],isErrorLegalEntities:tt,countryCode:a,employmentId:n,initialValues:_,options:Z,apiSteps:R,refetchSteps:r,fields:i?.fields??[],meta:i?.meta??{},fieldValues:y,setFieldValues:ut,handleValidation:yt,parseFormValues:f,onSubmit:ft,setInternalCountryCode:u,setInternalEmploymentId:C,next:it,back:ot,goToStep:st,setStepValues:rt}},"usePayrollAdminOnboarding");export{It as a};
|
|
2
|
+
//# sourceMappingURL=chunk-7EFZVAWU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/flows/PayrollAdminOnboarding/hooks.tsx"],"sourcesContent":["import { useState, useMemo, useCallback } from 'react';\nimport type { FieldValues } from 'react-hook-form';\nimport {\n useGPOnboardingSteps,\n useGPLegalEntities,\n} from '@/src/common/api/gpOnboarding';\nimport { useStepState } from '@/src/flows/useStepState';\nimport type { Step } from '@/src/flows/useStepState';\nimport type { PayrollAdminOnboardingFlowProps } from '@/src/flows/PayrollAdminOnboarding/types';\nimport { useErrorReporting } from '@/src/components/error-handling/useErrorReporting';\nimport { mutationToPromise } from '@/src/lib/mutations';\nimport { parseJSFToValidate } from '@/src/components/form/utils';\nimport {\n useGPFormSchema,\n useGPCountrySelectSchema,\n useGPCreateEmployment,\n useGPUpdateBasicInformation,\n useGPUpdateContractDetails,\n useGPUpdateAdministrativeDetails,\n type GPAdminSchemaType,\n} from '@/src/flows/PayrollAdminOnboarding/api';\nimport type { JSONSchemaFormResultWithFieldsets } from '@/src/flows/types';\n\nexport type AdminStepKey =\n | 'select_country'\n | 'contract_details'\n | 'administrative_details'\n | 'invite';\n\nconst buildAdminSteps = (\n skipCountry: boolean,\n): Record<AdminStepKey, Step<AdminStepKey>> => {\n let index = 0;\n return {\n select_country: {\n index: index++,\n name: 'select_country',\n visible: !skipCountry,\n },\n contract_details: { index: index++, name: 'contract_details' },\n administrative_details: {\n index: index++,\n name: 'administrative_details',\n },\n invite: { index: index++, name: 'invite' },\n };\n};\n\nexport const usePayrollAdminOnboarding = ({\n companyId,\n legalEntityId: providedLegalEntityId,\n countryCode: initialCountryCode,\n employmentId: initialEmploymentId,\n initialValues,\n options,\n}: Omit<PayrollAdminOnboardingFlowProps, 'render'>) => {\n // Always fetch, even when the caller already pinned a legal entity — so\n // `legalEntities` below stays accurate for callers that inspect it (e.g. to\n // render their own \"no GP-enabled legal entity\" state) instead of always\n // reporting empty just because the fetch was skipped.\n const {\n data: legalEntities,\n isLoading: isLoadingLegalEntities,\n isError: isErrorLegalEntities,\n } = useGPLegalEntities(companyId);\n\n // If there are no GP-enabled legal entities, this stays undefined — the\n // consumer is expected to check `legalEntities` and not render the flow.\n const legalEntityId = providedLegalEntityId ?? legalEntities?.[0]?.id;\n\n const [internalEmploymentId, setInternalEmploymentId] = useState<\n string | undefined\n >(initialEmploymentId);\n\n const initialValuesCountryCode = (\n initialValues?.basic_information as { country_code?: string } | undefined\n )?.country_code;\n\n const [internalCountryCode, setInternalCountryCode] = useState<\n string | undefined\n >(initialCountryCode ?? initialValuesCountryCode);\n\n // Only skip country selection when resuming an existing employment — both\n // country and employmentId must be known upfront. Providing only countryCode\n // would bypass the select_country branch (the only place createEmployment\n // runs) and leave the flow with no employmentId for subsequent steps.\n // internalCountryCode also covers country inferred from initialValues, not\n // just the explicit countryCode prop.\n const skipCountry = !!internalCountryCode && !!initialEmploymentId;\n\n const steps = useMemo(() => buildAdminSteps(skipCountry), [skipCountry]);\n\n const { updateErrorContext } = useErrorReporting({\n flow: 'payroll_admin_onboarding',\n });\n\n const onStepChange = useCallback(\n (step: Step<AdminStepKey>) => {\n updateErrorContext({ step: step.name });\n },\n [updateErrorContext],\n );\n\n const {\n stepState,\n nextStep,\n previousStep,\n goToStep,\n setStepValues,\n fieldValues,\n setFieldValues,\n } = useStepState<AdminStepKey>(steps, onStepChange);\n\n const currentStep = stepState.currentStep.name;\n\n const schemaTypeByStep: Partial<Record<AdminStepKey, GPAdminSchemaType>> = {\n select_country: 'global_payroll_basic_information',\n contract_details: 'global_payroll_contract_details',\n administrative_details: 'global_payroll_administrative_details',\n };\n\n // Country-picker schema for the select_country step, before a country is chosen.\n const countrySelectSchemaQuery = useGPCountrySelectSchema(fieldValues);\n\n const currentSchemaQuery = useGPFormSchema(\n internalCountryCode,\n schemaTypeByStep[currentStep],\n fieldValues,\n {\n employmentId:\n currentStep !== 'select_country' ? internalEmploymentId : undefined,\n },\n );\n\n // On the select_country step: show the country-picker schema until a country\n // is chosen, then switch to the basic-information schema.\n const isSelectCountryPhase =\n currentStep === 'select_country' && !internalCountryCode;\n const currentSchema = isSelectCountryPhase\n ? countrySelectSchemaQuery.data\n : currentSchemaQuery.data;\n const isLoadingSchema = isSelectCountryPhase\n ? countrySelectSchemaQuery.isLoading\n : currentSchemaQuery.isLoading;\n\n const createEmploymentMutation = useGPCreateEmployment();\n const updateBasicInformationMutation = useGPUpdateBasicInformation();\n const updateContractDetailsMutation = useGPUpdateContractDetails();\n const updateAdminDetailsMutation = useGPUpdateAdministrativeDetails();\n\n const { mutateAsyncOrThrow: createEmploymentAsync } = mutationToPromise(\n createEmploymentMutation,\n );\n const { mutateAsyncOrThrow: updateBasicInformationAsync } = mutationToPromise(\n updateBasicInformationMutation,\n );\n const { mutateAsyncOrThrow: updateContractDetailsAsync } = mutationToPromise(\n updateContractDetailsMutation,\n );\n const { mutateAsyncOrThrow: updateAdminDetailsAsync } = mutationToPromise(\n updateAdminDetailsMutation,\n );\n\n const isSubmitting =\n createEmploymentMutation.isPending ||\n updateBasicInformationMutation.isPending ||\n updateContractDetailsMutation.isPending ||\n updateAdminDetailsMutation.isPending;\n\n const {\n data: apiSteps,\n isLoading: isLoadingSteps,\n refetch: refetchSteps,\n } = useGPOnboardingSteps(internalEmploymentId);\n\n const isComplete =\n apiSteps?.find((s) => s.type === 'completion')?.sub_steps?.[0]?.status ===\n 'completed';\n\n // Keep internalCountryCode in sync with the country_code field whenever it\n // changes — both when it's first picked on the country-picker phase, and if\n // it's later edited from the basic-information form (which also exposes the\n // field), so submission never uses a stale country code.\n const handleFieldValues = useCallback(\n (values: FieldValues) => {\n setFieldValues(values);\n const countryCode = values.country_code as string | undefined;\n if (countryCode && countryCode !== internalCountryCode) {\n setInternalCountryCode(countryCode);\n }\n },\n [internalCountryCode, setFieldValues],\n );\n\n const handleValidation = useCallback(\n async (values: FieldValues) => {\n if (!currentSchema) return null;\n const parsedValues = await parseJSFToValidate(\n values,\n currentSchema.fields,\n { isPartialValidation: false },\n );\n return currentSchema.handleValidation(parsedValues);\n },\n [currentSchema],\n );\n\n const parseFormValues = useCallback(\n async (values: FieldValues): Promise<Record<string, unknown>> => {\n if (!currentSchema) return values;\n return parseJSFToValidate(values, currentSchema.fields, {\n isPartialValidation: false,\n });\n },\n [currentSchema],\n );\n\n const onSubmit = useCallback(\n async (values: FieldValues) => {\n const parsedValues = await parseFormValues(values);\n\n switch (currentStep) {\n case 'select_country': {\n // Prefer the just-submitted country_code so the employment is created\n // with the same country the basicInformation was validated against,\n // even if the internalCountryCode sync hasn't caught up yet.\n const countryCode =\n (parsedValues.country_code as string | undefined) ??\n internalCountryCode;\n if (!countryCode) {\n throw new Error(\n 'Country code is required to create an employment.',\n );\n }\n // Keep internalCountryCode in sync with the country being submitted so\n // the contract/administrative schemas (keyed on it) load once we\n // advance.\n if (countryCode !== internalCountryCode) {\n setInternalCountryCode(countryCode);\n }\n\n // If the employment already exists (resume, or returning to this step\n // to edit basic information), update it instead of creating a second\n // one — this also persists edits made on a repeat submit.\n if (internalEmploymentId) {\n const data = await updateBasicInformationAsync({\n employmentId: internalEmploymentId,\n basicInformation: parsedValues,\n });\n await refetchSteps();\n return data;\n }\n\n if (!legalEntityId) {\n throw new Error(\n 'No GP-enabled legal entity available. Cannot create an employment.',\n );\n }\n\n const data = await createEmploymentAsync({\n countryCode,\n legalEntityId,\n basicInformation: parsedValues,\n });\n const empId = (data as { data?: { employment?: { id?: string } } })\n ?.data?.employment?.id;\n if (!empId) {\n throw new Error(\n 'Employment was created but no ID was returned. Cannot proceed.',\n );\n }\n setInternalEmploymentId(empId);\n await refetchSteps();\n return data;\n }\n\n case 'contract_details': {\n if (!internalEmploymentId) {\n throw new Error(\n 'Employment ID is missing. Complete the previous step first.',\n );\n }\n const data = await updateContractDetailsAsync({\n employmentId: internalEmploymentId,\n contractDetails: parsedValues,\n });\n await refetchSteps();\n return data;\n }\n\n case 'administrative_details': {\n if (!internalEmploymentId) {\n throw new Error(\n 'Employment ID is missing. Complete the previous step first.',\n );\n }\n const data = await updateAdminDetailsAsync({\n employmentId: internalEmploymentId,\n administrativeDetails: parsedValues,\n });\n await refetchSteps();\n return data;\n }\n\n default:\n return;\n }\n },\n [\n currentStep,\n internalCountryCode,\n internalEmploymentId,\n legalEntityId,\n parseFormValues,\n createEmploymentAsync,\n updateBasicInformationAsync,\n updateContractDetailsAsync,\n updateAdminDetailsAsync,\n refetchSteps,\n ],\n );\n\n return {\n stepState,\n isLoading: isLoadingSteps || isLoadingSchema || isLoadingLegalEntities,\n isSubmitting,\n isComplete: isComplete ?? false,\n companyId,\n legalEntityId,\n legalEntities: legalEntities ?? [],\n // An empty `legalEntities` array means \"no GP-enabled legal entity\" only\n // when this is false — check it before treating empty as that state,\n // since a failed fetch also leaves `legalEntities` empty.\n isErrorLegalEntities,\n countryCode: internalCountryCode,\n employmentId: internalEmploymentId,\n initialValues,\n options,\n apiSteps,\n refetchSteps,\n fields: currentSchema?.fields ?? [],\n meta: (currentSchema?.meta ??\n {}) as JSONSchemaFormResultWithFieldsets['meta'],\n fieldValues,\n setFieldValues: handleFieldValues,\n handleValidation,\n parseFormValues,\n onSubmit,\n setInternalCountryCode,\n setInternalEmploymentId,\n next: nextStep,\n back: previousStep,\n goToStep,\n setStepValues,\n };\n};\n"],"mappings":"iSAAA,OAAS,YAAAA,EAAU,WAAAC,GAAS,eAAAC,MAAmB,QA6B/C,IAAMC,GAAkBC,EACtBC,GAC6C,CAC7C,IAAIC,EAAQ,EACZ,MAAO,CACL,eAAgB,CACd,MAAOA,IACP,KAAM,iBACN,QAAS,CAACD,CACZ,EACA,iBAAkB,CAAE,MAAOC,IAAS,KAAM,kBAAmB,EAC7D,uBAAwB,CACtB,MAAOA,IACP,KAAM,wBACR,EACA,OAAQ,CAAE,MAAOA,IAAS,KAAM,QAAS,CAC3C,CACF,EAjBwB,mBAmBXC,GAA4BH,EAAA,CAAC,CACxC,UAAAI,EACA,cAAeC,EACf,YAAaC,EACb,aAAcC,EACd,cAAAC,EACA,QAAAC,CACF,IAAuD,CAKrD,GAAM,CACJ,KAAMC,EACN,UAAWC,EACX,QAASC,EACX,EAAIC,EAAmBT,CAAS,EAI1BU,EAAgBT,GAAyBK,IAAgB,CAAC,GAAG,GAE7D,CAACK,EAAsBC,CAAuB,EAAIC,EAEtDV,CAAmB,EAEfW,GACJV,GAAe,mBACd,aAEG,CAACW,EAAqBC,CAAsB,EAAIH,EAEpDX,GAAsBY,EAAwB,EAQ1CjB,EAAc,CAAC,CAACkB,GAAuB,CAAC,CAACZ,EAEzCc,GAAQC,GAAQ,IAAMvB,GAAgBE,CAAW,EAAG,CAACA,CAAW,CAAC,EAEjE,CAAE,mBAAAsB,CAAmB,EAAIC,EAAkB,CAC/C,KAAM,0BACR,CAAC,EAEKC,GAAeC,EAClBC,GAA6B,CAC5BJ,EAAmB,CAAE,KAAMI,EAAK,IAAK,CAAC,CACxC,EACA,CAACJ,CAAkB,CACrB,EAEM,CACJ,UAAAK,EACA,SAAAC,GACA,aAAAC,GACA,SAAAC,GACA,cAAAC,GACA,YAAAC,EACA,eAAAC,CACF,EAAIC,EAA2Bd,GAAOI,EAAY,EAE5CW,EAAcR,EAAU,YAAY,KAEpCS,GAAqE,CACzE,eAAgB,mCAChB,iBAAkB,kCAClB,uBAAwB,uCAC1B,EAGMC,EAA2BC,EAAyBN,CAAW,EAE/DO,EAAqBC,EACzBtB,EACAkB,GAAiBD,CAAW,EAC5BH,EACA,CACE,aACEG,IAAgB,iBAAmBrB,EAAuB,MAC9D,CACF,EAIM2B,EACJN,IAAgB,kBAAoB,CAACjB,EACjCwB,EAAgBD,EAClBJ,EAAyB,KACzBE,EAAmB,KACjBI,GAAkBF,EACpBJ,EAAyB,UACzBE,EAAmB,UAEjBK,EAA2BC,EAAsB,EACjDC,EAAiCC,EAA4B,EAC7DC,EAAgCC,EAA2B,EAC3DC,EAA6BC,EAAiC,EAE9D,CAAE,mBAAoBC,CAAsB,EAAIC,EACpDT,CACF,EACM,CAAE,mBAAoBU,CAA4B,EAAID,EAC1DP,CACF,EACM,CAAE,mBAAoBS,CAA2B,EAAIF,EACzDL,CACF,EACM,CAAE,mBAAoBQ,CAAwB,EAAIH,EACtDH,CACF,EAEMO,GACJb,EAAyB,WACzBE,EAA+B,WAC/BE,EAA8B,WAC9BE,EAA2B,UAEvB,CACJ,KAAMQ,EACN,UAAWC,GACX,QAASC,CACX,EAAIC,EAAqB/C,CAAoB,EAEvCgD,GACJJ,GAAU,KAAMK,GAAMA,EAAE,OAAS,YAAY,GAAG,YAAY,CAAC,GAAG,SAChE,YAMIC,GAAoBvC,EACvBwC,GAAwB,CACvBhC,EAAegC,CAAM,EACrB,IAAMC,EAAcD,EAAO,aACvBC,GAAeA,IAAgBhD,GACjCC,EAAuB+C,CAAW,CAEtC,EACA,CAAChD,EAAqBe,CAAc,CACtC,EAEMkC,GAAmB1C,EACvB,MAAOwC,GAAwB,CAC7B,GAAI,CAACvB,EAAe,OAAO,KAC3B,IAAM0B,EAAe,MAAMC,EACzBJ,EACAvB,EAAc,OACd,CAAE,oBAAqB,EAAM,CAC/B,EACA,OAAOA,EAAc,iBAAiB0B,CAAY,CACpD,EACA,CAAC1B,CAAa,CAChB,EAEM4B,EAAkB7C,EACtB,MAAOwC,GACAvB,EACE2B,EAAmBJ,EAAQvB,EAAc,OAAQ,CACtD,oBAAqB,EACvB,CAAC,EAH0BuB,EAK7B,CAACvB,CAAa,CAChB,EAEM6B,GAAW9C,EACf,MAAOwC,GAAwB,CAC7B,IAAMG,EAAe,MAAME,EAAgBL,CAAM,EAEjD,OAAQ9B,EAAa,CACnB,IAAK,iBAAkB,CAIrB,IAAM+B,EACHE,EAAa,cACdlD,EACF,GAAI,CAACgD,EACH,MAAM,IAAI,MACR,mDACF,EAYF,GAPIA,IAAgBhD,GAClBC,EAAuB+C,CAAW,EAMhCpD,EAAsB,CACxB,IAAM0D,GAAO,MAAMlB,EAA4B,CAC7C,aAAcxC,EACd,iBAAkBsD,CACpB,CAAC,EACD,aAAMR,EAAa,EACZY,EACT,CAEA,GAAI,CAAC3D,EACH,MAAM,IAAI,MACR,oEACF,EAGF,IAAM2D,EAAO,MAAMpB,EAAsB,CACvC,YAAAc,EACA,cAAArD,EACA,iBAAkBuD,CACpB,CAAC,EACKK,EAASD,GACX,MAAM,YAAY,GACtB,GAAI,CAACC,EACH,MAAM,IAAI,MACR,gEACF,EAEF,OAAA1D,EAAwB0D,CAAK,EAC7B,MAAMb,EAAa,EACZY,CACT,CAEA,IAAK,mBAAoB,CACvB,GAAI,CAAC1D,EACH,MAAM,IAAI,MACR,6DACF,EAEF,IAAM0D,EAAO,MAAMjB,EAA2B,CAC5C,aAAczC,EACd,gBAAiBsD,CACnB,CAAC,EACD,aAAMR,EAAa,EACZY,CACT,CAEA,IAAK,yBAA0B,CAC7B,GAAI,CAAC1D,EACH,MAAM,IAAI,MACR,6DACF,EAEF,IAAM0D,EAAO,MAAMhB,EAAwB,CACzC,aAAc1C,EACd,sBAAuBsD,CACzB,CAAC,EACD,aAAMR,EAAa,EACZY,CACT,CAEA,QACE,MACJ,CACF,EACA,CACErC,EACAjB,EACAJ,EACAD,EACAyD,EACAlB,EACAE,EACAC,EACAC,EACAI,CACF,CACF,EAEA,MAAO,CACL,UAAAjC,EACA,UAAWgC,IAAkBhB,IAAmBjC,EAChD,aAAA+C,GACA,WAAYK,IAAc,GAC1B,UAAA3D,EACA,cAAAU,EACA,cAAeJ,GAAiB,CAAC,EAIjC,qBAAAE,GACA,YAAaO,EACb,aAAcJ,EACd,cAAAP,EACA,QAAAC,EACA,SAAAkD,EACA,aAAAE,EACA,OAAQlB,GAAe,QAAU,CAAC,EAClC,KAAOA,GAAe,MACpB,CAAC,EACH,YAAAV,EACA,eAAgBgC,GAChB,iBAAAG,GACA,gBAAAG,EACA,SAAAC,GACA,uBAAApD,EACA,wBAAAJ,EACA,KAAMa,GACN,KAAMC,GACN,SAAAC,GACA,cAAAC,EACF,CACF,EAnTyC","names":["useState","useMemo","useCallback","buildAdminSteps","__name","skipCountry","index","usePayrollAdminOnboarding","companyId","providedLegalEntityId","initialCountryCode","initialEmploymentId","initialValues","options","legalEntities","isLoadingLegalEntities","isErrorLegalEntities","useGPLegalEntities","legalEntityId","internalEmploymentId","setInternalEmploymentId","useState","initialValuesCountryCode","internalCountryCode","setInternalCountryCode","steps","useMemo","updateErrorContext","useErrorReporting","onStepChange","useCallback","step","stepState","nextStep","previousStep","goToStep","setStepValues","fieldValues","setFieldValues","useStepState","currentStep","schemaTypeByStep","countrySelectSchemaQuery","useGPCountrySelectSchema","currentSchemaQuery","useGPFormSchema","isSelectCountryPhase","currentSchema","isLoadingSchema","createEmploymentMutation","useGPCreateEmployment","updateBasicInformationMutation","useGPUpdateBasicInformation","updateContractDetailsMutation","useGPUpdateContractDetails","updateAdminDetailsMutation","useGPUpdateAdministrativeDetails","createEmploymentAsync","mutationToPromise","updateBasicInformationAsync","updateContractDetailsAsync","updateAdminDetailsAsync","isSubmitting","apiSteps","isLoadingSteps","refetchSteps","useGPOnboardingSteps","isComplete","s","handleFieldValues","values","countryCode","handleValidation","parsedValues","parseJSFToValidate","parseFormValues","onSubmit","data","empId"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as m}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as m}from"./chunk-4X7TVFHA.js";import{a as r}from"./chunk-IVISBFAT.js";import{a}from"./chunk-H66IKMI4.js";import{a as c}from"./chunk-FFFB5CG2.js";import{a as e}from"./chunk-SWCZJY6I.js";import{a as o}from"./chunk-TVZAFTPT.js";import{a as n}from"./chunk-P37U34EQ.js";import{useId as f}from"react";import{jsx as s}from"react/jsx-runtime";function k({employmentId:d,countryCode:C,options:p,render:A}){let t=c({employmentId:d,countryCode:C,options:p}),i=f();return s(o.Provider,{value:{formId:i,contractAmendmentBag:t},children:A({contractAmendmentBag:t,components:{Form:r,SubmitButton:a,ConfirmationForm:m,BackButton:e}})})}n(k,"ContractAmendmentFlow");export{k as a};
|
|
2
|
+
//# sourceMappingURL=chunk-A3EQ7FNB.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n as o}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{n as o}from"./chunk-NXRWBI36.js";import{a as r}from"./chunk-P37U34EQ.js";import*as d from"react";import{jsx as a}from"react/jsx-runtime";function l({className:e,direction:t="col",...n}){return a("div",{"data-slot":"card",className:o("RemoteFlows__Card bg-white text-card-foreground rounded-[10px] gap-4 border border-gray-200 px-10 py-14",t==="row"?"flex flex-row":"flex flex-col",e),...n})}r(l,"Card");function i({className:e,...t}){return a("header",{"data-slot":"card-header",className:o("flex flex-col gap-1.5 px-6",e),...t})}r(i,"CardHeader");function m({className:e,as:t,...n}){return a(t||"h2",{"data-slot":"card-title",className:o("leading-none font-semibold",e),...n})}r(m,"CardTitle");function f({className:e,...t}){return a("p",{"data-slot":"card-description",className:o("text-sm",e),...t})}r(f,"CardDescription");var c=d.forwardRef(({className:e,...t},n)=>a("div",{ref:n,"data-slot":"card-content",className:o("px-6",e),...t}));c.displayName="CardContent";function C({className:e,...t}){return a("footer",{"data-slot":"card-footer",className:o("flex items-center px-6",e),...t})}r(C,"CardFooter");export{l as a,i as b,m as c,f as d,c as e,C as f};
|
|
2
|
+
//# sourceMappingURL=chunk-AHUSQVQY.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as d,b as C,c as u,d as g,e as b,f as v}from"./chunk-HFFQ642D.js";import{a as S}from"./chunk-MZN6VY5F.js";import{j as n,k as i,l as _,n as F,o as p}from"./chunk-4FGKIGKF.js";import{a as c}from"./chunk-P37U34EQ.js";import{jsx as e,jsxs as N}from"react/jsx-runtime";function f({field:r,fieldState:a,fieldData:t}){let{name:m,label:o,description:s,options:h}=t;return N(n,{"data-field":m,className:`RemoteFlows__SelectField__Item__${m}`,children:[e(i,{className:"RemoteFlows__SelectField__Label",children:o}),e(_,{children:e("div",{className:"relative",children:N(d,{value:r.value||"",onValueChange:l=>{r.onChange(l)},children:[e(g,{className:"RemoteFlows__SelectField__Trigger","aria-invalid":!!a.error,"aria-label":o,children:e("span",{className:"absolute",children:e(u,{placeholder:o})})}),e(b,{className:"RemoteFlows__SelectField__Content",children:e(C,{className:"RemoteFlows__SelectField__Group",children:h?.map(l=>e(v,{value:l.value,className:"RemoteFlows__SelectField__SelectItem",disabled:l.disabled,children:l.label},l.value))})})]})})}),(s||t.meta?.helpCenter)&&e(F,{helpCenter:e(S,{helpCenter:t.meta?.helpCenter}),children:s}),a.error&&e(p,{})]})}c(f,"SelectFieldDefault");export{f as a};
|
|
2
|
+
//# sourceMappingURL=chunk-AW436CZP.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/form/fields/default/SelectFieldDefault.tsx"],"sourcesContent":["import {\n FormControl,\n FormDescription,\n FormItem,\n FormLabel,\n FormMessage,\n} from '@/src/components/ui/form';\nimport { HelpCenter } from '@/src/components/shared/zendesk-drawer/HelpCenter';\nimport { FieldComponentProps } from '@/src/types/fields';\nimport {\n Select,\n SelectGroup,\n SelectValue,\n SelectTrigger,\n SelectContent,\n SelectItem,\n} from '@/src/components/ui/select';\n\nexport function SelectFieldDefault({\n field,\n fieldState,\n fieldData,\n}: FieldComponentProps) {\n const { name, label, description, options } = fieldData;\n\n return (\n <FormItem\n data-field={name}\n className={`RemoteFlows__SelectField__Item__${name}`}\n >\n <FormLabel className='RemoteFlows__SelectField__Label'>{label}</FormLabel>\n <FormControl>\n <div className='relative'>\n <Select\n value={field.value || ''}\n onValueChange={(value: string) => {\n field.onChange(value);\n }}\n >\n <SelectTrigger\n className='RemoteFlows__SelectField__Trigger'\n aria-invalid={Boolean(fieldState.error)}\n aria-label={label}\n >\n <span className='absolute'>\n <SelectValue placeholder={label} />\n </span>\n </SelectTrigger>\n <SelectContent className='RemoteFlows__SelectField__Content'>\n <SelectGroup className='RemoteFlows__SelectField__Group'>\n {options?.map((option) => (\n <SelectItem\n key={option.value}\n value={option.value}\n className='RemoteFlows__SelectField__SelectItem'\n disabled={option.disabled}\n >\n {option.label}\n </SelectItem>\n ))}\n </SelectGroup>\n </SelectContent>\n </Select>\n </div>\n </FormControl>\n {(description || fieldData.meta?.helpCenter) && (\n <FormDescription\n helpCenter={<HelpCenter helpCenter={fieldData.meta?.helpCenter} />}\n >\n {description}\n </FormDescription>\n )}\n {fieldState.error && <FormMessage />}\n </FormItem>\n );\n}\n"],"mappings":"+NA8BM,cAAAA,EAGI,QAAAC,MAHJ,oBAZC,SAASC,EAAmB,CACjC,MAAAC,EACA,WAAAC,EACA,UAAAC,CACF,EAAwB,CACtB,GAAM,CAAE,KAAAC,EAAM,MAAAC,EAAO,YAAAC,EAAa,QAAAC,CAAQ,EAAIJ,EAE9C,OACEJ,EAACS,EAAA,CACC,aAAYJ,EACZ,UAAW,mCAAmCA,CAAI,GAElD,UAAAN,EAACW,EAAA,CAAU,UAAU,kCAAmC,SAAAJ,EAAM,EAC9DP,EAACY,EAAA,CACC,SAAAZ,EAAC,OAAI,UAAU,WACb,SAAAC,EAACY,EAAA,CACC,MAAOV,EAAM,OAAS,GACtB,cAAgBW,GAAkB,CAChCX,EAAM,SAASW,CAAK,CACtB,EAEA,UAAAd,EAACe,EAAA,CACC,UAAU,oCACV,eAAc,EAAQX,EAAW,MACjC,aAAYG,EAEZ,SAAAP,EAAC,QAAK,UAAU,WACd,SAAAA,EAACgB,EAAA,CAAY,YAAaT,EAAO,EACnC,EACF,EACAP,EAACiB,EAAA,CAAc,UAAU,oCACvB,SAAAjB,EAACkB,EAAA,CAAY,UAAU,kCACpB,SAAAT,GAAS,IAAKU,GACbnB,EAACoB,EAAA,CAEC,MAAOD,EAAO,MACd,UAAU,uCACV,SAAUA,EAAO,SAEhB,SAAAA,EAAO,OALHA,EAAO,KAMd,CACD,EACH,EACF,GACF,EACF,EACF,GACEX,GAAeH,EAAU,MAAM,aAC/BL,EAACqB,EAAA,CACC,WAAYrB,EAACsB,EAAA,CAAW,WAAYjB,EAAU,MAAM,WAAY,EAE/D,SAAAG,EACH,EAEDJ,EAAW,OAASJ,EAACuB,EAAA,EAAY,GACpC,CAEJ,CAzDgBC,EAAAtB,EAAA","names":["jsx","jsxs","SelectFieldDefault","field","fieldState","fieldData","name","label","description","options","FormItem","FormLabel","FormControl","Select","value","SelectTrigger","SelectValue","SelectContent","SelectGroup","option","SelectItem","FormDescription","HelpCenter","FormMessage","__name"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as c}from"./chunk-LQFLXXBR.js";import{a as i}from"./chunk-MZN6VY5F.js";import{j as a,k as s,l as p,n as F,o as _}from"./chunk-4FGKIGKF.js";import{a as n}from"./chunk-P37U34EQ.js";import{jsx as e,jsxs as T}from"react/jsx-runtime";function R({field:o,fieldState:C,fieldData:t}){let{name:m,label:r,description:l,maxLength:h,includeErrorMessage:x}=t;return T(a,{"data-field":m,className:`RemoteFlows__TextField__Item__${m}`,children:[r&&e(s,{className:"RemoteFlows__TextField__Label",children:r}),e(p,{children:e(c,{...o,value:o.value??"",onChange:d=>{o.onChange(d)},className:"RemoteFlows__TextField__Input",placeholder:r,maxLength:h})}),(l||t.meta?.helpCenter)&&e(F,{className:"RemoteFlows__TextField__Description",helpCenter:e(i,{helpCenter:t.meta?.helpCenter}),children:l}),x&&C.error&&e(_,{className:"RemoteFlows__TextField__Error"})]})}n(R,"TextFieldDefault");export{R as a};
|
|
2
|
+
//# sourceMappingURL=chunk-B6F2M3ZM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/form/fields/default/TextFieldDefault.tsx"],"sourcesContent":["import { FormDescription, FormMessage } from '@/src/components/ui/form';\nimport { FormControl, FormItem, FormLabel } from '@/src/components/ui/form';\nimport { Input } from '@/src/components/ui/input';\nimport { HelpCenter } from '@/src/components/shared/zendesk-drawer/HelpCenter';\nimport { TextFieldComponentProps } from '@/src/types/fields';\n\nexport function TextFieldDefault({\n field,\n fieldState,\n fieldData,\n}: TextFieldComponentProps) {\n const { name, label, description, maxLength, includeErrorMessage } =\n fieldData;\n return (\n <FormItem\n data-field={name}\n className={`RemoteFlows__TextField__Item__${name}`}\n >\n {label && (\n <FormLabel className='RemoteFlows__TextField__Label'>{label}</FormLabel>\n )}\n <FormControl>\n <Input\n {...field}\n value={field.value ?? ''}\n onChange={(event: React.ChangeEvent<HTMLInputElement>) => {\n field.onChange(event);\n }}\n className='RemoteFlows__TextField__Input'\n placeholder={label}\n maxLength={maxLength}\n />\n </FormControl>\n {(description || fieldData.meta?.helpCenter) && (\n <FormDescription\n className='RemoteFlows__TextField__Description'\n helpCenter={<HelpCenter helpCenter={fieldData.meta?.helpCenter} />}\n >\n {description}\n </FormDescription>\n )}\n {includeErrorMessage && fieldState.error && (\n <FormMessage className='RemoteFlows__TextField__Error' />\n )}\n </FormItem>\n );\n}\n"],"mappings":"4LAcI,OAKI,OAAAA,EALJ,QAAAC,MAAA,oBARG,SAASC,EAAiB,CAC/B,MAAAC,EACA,WAAAC,EACA,UAAAC,CACF,EAA4B,CAC1B,GAAM,CAAE,KAAAC,EAAM,MAAAC,EAAO,YAAAC,EAAa,UAAAC,EAAW,oBAAAC,CAAoB,EAC/DL,EACF,OACEJ,EAACU,EAAA,CACC,aAAYL,EACZ,UAAW,iCAAiCA,CAAI,GAE/C,UAAAC,GACCP,EAACY,EAAA,CAAU,UAAU,gCAAiC,SAAAL,EAAM,EAE9DP,EAACa,EAAA,CACC,SAAAb,EAACc,EAAA,CACE,GAAGX,EACJ,MAAOA,EAAM,OAAS,GACtB,SAAWY,GAA+C,CACxDZ,EAAM,SAASY,CAAK,CACtB,EACA,UAAU,gCACV,YAAaR,EACb,UAAWE,EACb,EACF,GACED,GAAeH,EAAU,MAAM,aAC/BL,EAACgB,EAAA,CACC,UAAU,sCACV,WAAYhB,EAACiB,EAAA,CAAW,WAAYZ,EAAU,MAAM,WAAY,EAE/D,SAAAG,EACH,EAEDE,GAAuBN,EAAW,OACjCJ,EAACkB,EAAA,CAAY,UAAU,gCAAgC,GAE3D,CAEJ,CAxCgBC,EAAAjB,EAAA","names":["jsx","jsxs","TextFieldDefault","field","fieldState","fieldData","name","label","description","maxLength","includeErrorMessage","FormItem","FormLabel","FormControl","Input","event","FormDescription","HelpCenter","FormMessage","__name"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{n as e}from"./chunk-NXRWBI36.js";import{a as t}from"./chunk-P37U34EQ.js";import{cva as a}from"class-variance-authority";import{jsx as u}from"react/jsx-runtime";var i=a("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none aria-invalid:ring-destructive/20 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90 RemoteFlows_ButtonDefault",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 RemoteFlows_ButtonDestructive",outline:"border border-input bg-background shadow-xs RemoteFlows_ButtonOutline",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80 RemoteFlows_ButtonSecondary",ghost:"hover:bg-accent hover:text-accent-foreground RemoteFlows_ButtonGhost",link:"text-link-button-primary underline-offset-4 hover:underline button-link RemoteFlows_ButtonLink"},size:{default:"h-9 px-4 py-7 has-[>svg]:px-3 RemoteFlows_ButtonDefault",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5 RemoteFlows_ButtonSm",lg:"h-10 rounded-md px-6 has-[>svg]:px-4 RemoteFlows_ButtonLg",icon:"size-9 RemoteFlows_ButtonIcon",link:"px-0 RemoteFlows_ButtonLink"}},defaultVariants:{variant:"default",size:"default"}});function m({className:o,variant:n,size:r,...s}){return u("button",{"data-slot":"button",className:e(i({variant:n,size:r,className:o}),"RemoteFlows__Button"),...s})}t(m,"Button");export{i as a,m as b};
|
|
2
|
+
//# sourceMappingURL=chunk-BC4V2YAK.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as t}from"./chunk-AHUSQVQY.js";import{a as m}from"./chunk-P37U34EQ.js";import{jsx as o,jsxs as n}from"react/jsx-runtime";var i=m(({cards:e})=>n("div",{className:"RemoteFlows__AcknowledgeInformation",children:[n(t,{className:"mb-6",children:[o("h2",{className:"RemoteFlows__AcknowledgeInformation__Title color-[#000] font-medium",children:e.remoteDoesNext.title}),o("p",{className:"RemoteFlows__AcknowledgeInformation__Description color-[#71717A] text-xs",children:e.remoteDoesNext.description})]}),n(t,{className:"mb-6",children:[o("h2",{className:"RemoteFlows__AcknowledgeInformation__Title color-[#000] font-medium",children:e.whatYouNeedToDo.title}),o("ul",{className:"RemoteFlows__AcknowledgeInformation__List list-disc pl-5 text-xs text-[#71717A]",children:e.whatYouNeedToDo.list.map(l=>o("li",{className:"RemoteFlows__AcknowledgeInformation__ListItem mb-2",children:l},l))})]})]}),"AcknowledgeInformation");export{i as a};
|
|
2
|
+
//# sourceMappingURL=chunk-BGSB3XPW.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as s}from"./chunk-52GHCI6X.js";import{b as e}from"./chunk-Q3ALCPJN.js";import{x as a}from"./chunk-NXRWBI36.js";import{a as i}from"./chunk-P37U34EQ.js";import{jsx as g}from"react/jsx-runtime";function E({components:m,onSubmit:p,onSuccess:l,onError:c}){let{contractorOnboardingBag:r}=e(),d=i(async(t,P)=>{try{let n=await r.parseFormValues(t);await p?.(n);let o=await r.onSubmit(t);if(o?.data){await l?.(o?.data),r?.next();return}}catch(n){let o=a(n,r.meta?.fields?.pricing_plan,P);c?.(o)}},"handleSubmit"),u=r.stepState.values?.pricing_plan||r.initialValues.pricing_plan;return g(s,{components:m,defaultValues:u,onSubmit:d})}i(E,"PricingPlanStep");export{E as a};
|
|
2
|
+
//# sourceMappingURL=chunk-BIE73HZH.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as o}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as o}from"./chunk-NPXIFNK2.js";import{a as l}from"./chunk-X7KIEFEN.js";import{b as a}from"./chunk-SS2SYDCB.js";import{a as e}from"./chunk-P37U34EQ.js";import{jsx as r}from"react/jsx-runtime";function u(s){let{employeeBag:t}=a(),n=l(s);return t.taxStepsAvailability.state_taxes.isAvailable?r(o,{onSubmit:n,defaultValues:{...t.initialValues?.state_taxes,...t.stepState.values?.state_taxes}}):null}e(u,"StateTaxesStep");export{u as a};
|
|
2
|
+
//# sourceMappingURL=chunk-BKSWQYXH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/flows/PayrollEmployeeOnboarding/components/StateTaxesStep.tsx"],"sourcesContent":["import { usePayrollEmployeeOnboardingContext } from '@/src/flows/PayrollEmployeeOnboarding/context';\nimport { PayrollEmployeeForm } from '@/src/flows/PayrollEmployeeOnboarding/components/PayrollEmployeeForm';\nimport { useEmployeeStepSubmitHandler } from '@/src/flows/PayrollEmployeeOnboarding/components/useEmployeeStepSubmitHandler';\nimport type { GPStepCallbacks } from '@/src/flows/types';\n\n/**\n * Render only when `employeeBag.taxStepsAvailability.state_taxes.isAvailable`\n * is true (USA + jurisdiction set + post-enrollment). Returns null otherwise.\n * Submits to PUT /v1/employee/state-taxes/{jurisdiction} where jurisdiction\n * is derived from the employment (`employeeBag.jurisdiction`).\n */\nexport function StateTaxesStep(props: GPStepCallbacks) {\n const { employeeBag } = usePayrollEmployeeOnboardingContext();\n const handleSubmit = useEmployeeStepSubmitHandler(props);\n\n if (!employeeBag.taxStepsAvailability.state_taxes.isAvailable) return null;\n\n return (\n <PayrollEmployeeForm\n onSubmit={handleSubmit}\n defaultValues={{\n ...(employeeBag.initialValues?.state_taxes as Record<string, unknown>),\n ...(employeeBag.stepState.values?.state_taxes as Record<\n string,\n unknown\n >),\n }}\n />\n );\n}\n"],"mappings":"gKAkBI,cAAAA,MAAA,oBAPG,SAASC,EAAeC,EAAwB,CACrD,GAAM,CAAE,YAAAC,CAAY,EAAIC,EAAoC,EACtDC,EAAeC,EAA6BJ,CAAK,EAEvD,OAAKC,EAAY,qBAAqB,YAAY,YAGhDH,EAACO,EAAA,CACC,SAAUF,EACV,cAAe,CACb,GAAIF,EAAY,eAAe,YAC/B,GAAIA,EAAY,UAAU,QAAQ,WAIpC,EACF,EAZoE,IAcxE,CAlBgBK,EAAAP,EAAA","names":["jsx","StateTaxesStep","props","employeeBag","usePayrollEmployeeOnboardingContext","handleSubmit","useEmployeeStepSubmitHandler","PayrollEmployeeForm","__name"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as r}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as r}from"./chunk-BC4V2YAK.js";import{n as v}from"./chunk-NXRWBI36.js";import{a as i}from"./chunk-P37U34EQ.js";import{useState as E,useRef as N,useEffect as k}from"react";import{Upload as B,X as M}from"lucide-react";import{jsx as t,jsxs as o}from"react/jsx-runtime";var U=i(l=>l?l.split(",").map(m=>m.trim().toUpperCase()).join(", "):null,"getAcceptedFormats");function w({onChange:l,className:m,multiple:p,accept:f,files:s,id:h}){let d=N(void 0),[a,c]=E(s||[]),u=N(null);k(()=>{s&&s!==d.current&&(d.current=s,c(s))},[s]);let F=i(e=>{e.preventDefault(),u.current?.click()},"handleClick"),y=i(e=>{if(e.target.files&&e.target.files.length>0){let n=Array.from(e.target.files);c([...a,...n]),l([...a,...n])}},"handleChange"),C=i(e=>{c(n=>n.filter(R=>R.name!==e.name)),l(a.filter(n=>n.name!==e.name))},"onRemoveFile"),g=U(f);return o("div",{className:v("flex flex-col items-start gap-4",m),children:[t("input",{type:"file",ref:u,id:h,onChange:y,className:"hidden","aria-label":"File upload",multiple:p,accept:f}),o(r,{type:"button",onClick:F,className:"gap-2",children:[t(B,{className:"h-4 w-4"}),"Choose File"]}),g&&o("div",{className:"text-sm text-gray-600",children:["Accepted formats:"," ",t("span",{className:"font-medium",children:g})]}),a.length===0&&t("div",{className:"text-sm",children:p?t("span",{className:"font-medium",children:"No files selected. You can select multiple files"}):t("span",{className:"font-medium",children:"No file selected."})}),a.length>0&&a.map((e,n)=>o("div",{className:"text-sm flex items-center gap-2",children:["Selected file: ",t("span",{className:"font-medium",children:e.name})," (",Math.round(e.size/1024)," KB)",t(r,{type:"button",variant:"ghost",onClick:()=>C(e),children:t(M,{})})]},n))]})}i(w,"FileUploader");export{w as a};
|
|
2
|
+
//# sourceMappingURL=chunk-BS2YN6CS.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{Y as i,ga as s}from"./chunk-XPITUVQE.js";import{e as a}from"./chunk-H2O4CVKF.js";import{a as r}from"./chunk-P37U34EQ.js";import{useQuery as o}from"@tanstack/react-query";var u=r(t=>{let{client:n}=a();return o({queryKey:["gp-onboarding-steps",t],enabled:!!t,retry:!1,queryFn:r(async()=>{let e=await s({client:n,headers:{Authorization:""},path:{employment_id:t}});if(e.error||!e.data)throw new Error("Failed to fetch onboarding steps");return e.data},"queryFn"),select:r(e=>e.data.steps,"select")})},"useGPOnboardingSteps"),c=r(t=>{let{client:n}=a();return o({queryKey:["gp-legal-entities",t],enabled:!!t,retry:!1,queryFn:r(async()=>{let e=await i({client:n,headers:{Authorization:""},path:{company_id:t}});if(e.error||!e.data)throw new Error("Failed to fetch legal entities");return e.data},"queryFn"),select:r(e=>(e.data?.legal_entities??[]).filter(l=>l.global_payroll_enabled),"select")})},"useGPLegalEntities");export{u as a,c as b};
|
|
2
|
+
//# sourceMappingURL=chunk-BVKOMSHU.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as n,c as i}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as n,c as i}from"./chunk-INUCPQVI.js";import{n as e}from"./chunk-NXRWBI36.js";import{a as o}from"./chunk-P37U34EQ.js";import{Fragment as s,jsx as t,jsxs as r}from"react/jsx-runtime";var l=["You submit your termination request.","Remote reviews your request along with the employment agreement, local labor laws, and any collective bargaining agreements in place.","A lifecycle specialist contacts you if they need additional details. Sometimes they will request a call.","Depending on the country-specific laws and the terms of the employment agreement, Remote may need to seek additional legal advice. We\u2019ll let you know if there are additional charges before proceeding.","Terms and conditions for the termination are finalized.","You verbally communicate the termination to the employee.","Remote shares termination documents with the employee.","The employee signs the termination documents if required.","Remote processes the final salary and offboards the employee."],f=o(()=>r(s,{children:[t("h3",{className:e("RemoteFlows__TerminationDialogInfoContent__Title"),children:"Please read carefully before you continue"}),t("p",{className:e("RemoteFlows__TerminationDialogInfoContent__Description"),children:"Please do not inform the employee of the termination. Remote will lead communication with them after you submit this form and they finalize the termination terms."}),t("p",{className:e("RemoteFlows__TerminationDialogInfoContent__Description RemoteFlows__TerminationDialogInfoContent__FollowUpDescription"),children:"If you already informed them, that's okay. Remote will ask for the details regarding that communication and they'll take it from there."}),t(i,{className:e("RemoteFlows__TerminationDialogInfoContent__ZendeskTriggerButton text-sm"),zendeskId:n.terminationEmployeeCommunication,children:"Learn more about employee communication"}),t("h3",{className:e("RemoteFlows__TerminationDialogInfoContent__ProcessTitle"),children:"The termination process"}),t("ul",{className:e("RemoteFlows__TerminationDialogInfoContent__ProcessList list-disc list-inside"),children:l.map((a,m)=>t("li",{className:e("RemoteFlows__TerminationDialogInfoContent__ProcessListItem"),children:a},m))})]}),"TerminationDialogInfoContent");export{f as a};
|
|
2
|
+
//# sourceMappingURL=chunk-BZ4VPC4U.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as y}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as y}from"./chunk-L4IKDVFW.js";import{a as l,c as m}from"./chunk-INUCPQVI.js";import{c}from"./chunk-4FGKIGKF.js";import{a as t}from"./chunk-P37U34EQ.js";import{useEffect as N}from"react";import{Fragment as b,jsx as v,jsxs as C}from"react/jsx-runtime";var R=t(({currencies:{from:d,to:F},shouldSwapOrder:s,salary_conversion_properties:a,conversionType:_="no_spread",defaultValue:r,...e})=>{let{setValue:n,getValues:i}=c(),f={label:a?.label||"Salary conversion",description:a?.description||C(b,{children:["The conversion is based on the Remote FX rate."," ",v(m,{className:"text-sm",zendeskId:l.remoteFxRate,children:"Learn more \u2197"})]})},g=s?"salary_conversion":e.name,u=s?e.name:"salary_conversion";return N(()=>{if(s){let o=i(e.name);o?(n("salary_conversion",o),n("salary_converted","salary_conversion")):r&&(n("salary_conversion",r),n("salary_converted","salary_conversion"))}else{let o=i("salary_conversion");o?(n(e.name,o),n("salary_converted",e.name)):r&&(n(e.name,r),n("salary_converted",e.name))}},[s,r,n,i,e.name]),v(y,{...e,sourceCurrency:d,targetCurrency:F,mainFieldName:g,conversionFieldName:u,conversionProperties:f,classNamePrefix:"RemoteFlows-Salary",conversionType:_})},"SalaryField");export{R as a};
|
|
2
|
+
//# sourceMappingURL=chunk-CH75YRKR.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{r as t}from"./chunk-NXRWBI36.js";import{b as m}from"./chunk-H2O4CVKF.js";import{a as e}from"./chunk-P37U34EQ.js";import{jsx as s}from"react/jsx-runtime";function f({title:o,description:r,severity:p}){let{components:a}=m(),n=a.statement;if(!n)throw new Error("Statement component not found");return s(n,{data:{title:o?t(o):void 0,description:t(r),severity:p}})}e(f,"Statement");export{f as a};
|
|
2
|
+
//# sourceMappingURL=chunk-CM4UUBU5.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as e}from"./chunk-CW7CHRMN.js";import{a as s}from"./chunk-KF54ACZP.js";import{a as p}from"./chunk-DB4JHJ3Z.js";import{a as c}from"./chunk-BIE73HZH.js";import{a as g}from"./chunk-KVUKJU5U.js";import{a as i}from"./chunk-2JK3XRHE.js";import{a as f}from"./chunk-ZWA5FYVS.js";import{a as l}from"./chunk-2TBTNTJ2.js";import{a as u}from"./chunk-WTJJEIF2.js";import{a as d}from"./chunk-SVVZOMLQ.js";import{a as S}from"./chunk-UETHEV7Q.js";import{a as m}from"./chunk-H6XSWBE5.js";import{a as n}from"./chunk-Q3ALCPJN.js";import{a}from"./chunk-JPVSXGCC.js";import{a as o}from"./chunk-P37U34EQ.js";import{useId as F,useRef as y,useMemo as D}from"react";import{jsx as V}from"react/jsx-runtime";var L=o(({render:C,employmentId:b,externalId:v,countryCode:O,skipSteps:B,initialValues:w,options:P})=>{let R=F(),t=y(void 0),I=D(()=>({setValue:t}),[]),r=a({options:{...P,onContractReviewed:o(()=>{t.current&&t.current("review_completed",!0)},"onContractReviewed")},employmentId:b,externalId:v,countryCode:O,skipSteps:B,initialValues:w});return V(n.Provider,{value:{contractorOnboardingBag:r,formId:R,formRef:I},children:C({contractorOnboardingBag:r,components:{BasicInformationStep:m,SelectCountryStep:i,BackButton:e,SubmitButton:p,PricingPlanStep:c,EligibilityQuestionnaireStep:S,ContractOriginStep:l,ContractDetailsStep:f,ContractPreviewStep:u,OnboardingInvite:s,ContractReviewButton:d,SaveDraftButton:g}})})},"ContractorOnboardingFlow");export{L as a};
|
|
2
|
+
//# sourceMappingURL=chunk-D2PYVF6J.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as s}from"./chunk-KSHK3ZPX.js";import{n as r}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as s}from"./chunk-KSHK3ZPX.js";import{n as r}from"./chunk-NXRWBI36.js";import{b as u}from"./chunk-H2O4CVKF.js";import{a as n}from"./chunk-P37U34EQ.js";import{jsx as a}from"react/jsx-runtime";function b({children:m,...t}){let{formId:e,costCalculatorBag:i}=s(),{components:l}=u(),o=l?.button;if(!o)throw new Error("Button component not found");return a(o,{...t,type:"submit",className:r("RemoteFlows__CostCalculatorForm__SubmitButton",t.className),form:e,disabled:t.disabled||i?.isSubmitting,children:m})}n(b,"CostCalculatorSubmitButton");export{b as a};
|
|
2
|
+
//# sourceMappingURL=chunk-DAYIMXLP.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{n as e}from"./chunk-NXRWBI36.js";import{a}from"./chunk-P37U34EQ.js";import{cva as n}from"class-variance-authority";import{jsx as i}from"react/jsx-runtime";var o=n("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90",warning:"bg-card bg-warning border-warning-border [&>svg]:text-current"}},defaultVariants:{variant:"default"}});function c({className:t,variant:r,...s}){return i("div",{"data-slot":"alert",role:"alert",className:e(o({variant:r}),t),...s})}a(c,"Alert");function g({className:t,...r}){return i("div",{"data-slot":"alert-title",className:e("col-start-2 min-h-4 font-medium tracking-tight",t),...r})}a(g,"AlertTitle");function p({className:t,...r}){return i("div",{"data-slot":"alert-description",className:e("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed inline-block",t),...r})}a(p,"AlertDescription");export{c as a,g as b,p as c};
|
|
2
|
+
//# sourceMappingURL=chunk-DDH7MZ7M.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as y,b as d,c as p,d as R}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as y,b as d,c as p,d as R}from"./chunk-HQLGDW2G.js";import{a as w}from"./chunk-AHUSQVQY.js";import{n as _,o as i}from"./chunk-NXRWBI36.js";import{a as m}from"./chunk-P37U34EQ.js";import{ChevronDown as A,Globe as N}from"lucide-react";import{useState as h}from"react";import{Fragment as C,jsx as e,jsxs as l}from"react/jsx-runtime";var v=m(s=>{if(s.length<2)return{currency:null,costsPerCountry:[],employeesCost:null};let o=s[0]?.employer_currency_costs.currency,c=s.reduce((r,t)=>{let a=t.country.name;return r[a]={country:t.country,monthlyTotal:(r[a]?.monthlyTotal||0)+t.employer_currency_costs.monthly_total,annualTotal:(r[a]?.annualTotal||0)+t.employer_currency_costs.annual_total},r},{}),n=Object.values(c).map(({country:r,monthlyTotal:t,annualTotal:a})=>({country:r,monthlyCost:i(t,o.code),annualCost:i(a,o.code)})),u={monthlyTotal:i(s.reduce((r,t)=>r+t.employer_currency_costs.monthly_total,0),o.code),annualTotal:i(s.reduce((r,t)=>r+t.employer_currency_costs.annual_total,0),o.code)};return{currency:o,costsPerCountry:n,employeesCost:u}},"useSummaryResults"),f=m(({currency:s,title:o})=>e("div",{className:"RemoteFlows__SummaryResults__Header flex items-center justify-between w-full",children:l("div",{className:"RemoteFlows__SummaryHeader__Container flex flex-row items-center gap-6",children:[e("div",{className:"RemoteFlows__SummaryHeader__IconContainer flex h-12 w-12 items-center justify-center rounded-lg bg-[#F4F4F5]",children:e(N,{className:"RemoteFlows__SummaryHeader__Icon h-6 w-6 text-[#000000]"})}),l("div",{className:"RemoteFlows__SummaryHeader__Content space-y-1",children:[e("h2",{className:"RemoteFlows__SummaryHeader__Title text-lg font-medium leading-none text-[#181818]",children:o}),l("p",{className:"RemoteFlows__SummaryHeader__Currency text-xs text-[#71717A]",children:["Employer billing currency: ",s.code]})]})]})}),"SummaryHeader"),g=m(({label:s,columns:o,rows:c,defaultValue:n="accordion",className:u})=>{let r=o.length===1?"grid-cols-2":"grid-cols-3";return e(y,{collapsible:!0,defaultValue:n,className:_("RemoteFlows__SummaryResults__MultiColumnAccordion w-full",u),children:l(d,{value:n,className:"RemoteFlows__SummaryResults__AccordionItem border-none",children:[e(p,{className:"RemoteFlows__SummaryResults__AccordionTrigger hover:no-underline px-0 py-3 [&>svg]:hidden group",children:l("div",{className:_("RemoteFlows__SummaryResults__AccordionHeader grid items-center w-full",r),children:[l("div",{className:"RemoteFlows__SummaryResults__AccordionHeader__LabelContainer flex items-center gap-2",children:[s,e(A,{className:"RemoteFlows__SummaryResults__ChevronDown h-4 w-4 text-muted-foreground transition-transform group-data-[state=open]:rotate-180"})]}),o.length===1?e("span",{className:"RemoteFlows__SummaryResults__ColumnHeader text-xs text-[#27272A] text-right",children:o[0]}):o.map((t,a)=>e("span",{className:"RemoteFlows__SummaryResults__ColumnHeader text-xs text-[#27272A] text-right",children:t},a))]})}),e(R,{className:"RemoteFlows__SummaryResults__AccordionContent px-0 pb-4",children:e("div",{className:"RemoteFlows__SummaryResults__AccordionRows space-y-3",children:c.map((t,a)=>l("div",{className:_("RemoteFlows__SummaryResults__AccordionRow grid items-center",r),children:[e("div",{className:"flex items-center gap-2",children:t.label}),o.length===1?e("span",{className:"RemoteFlows__SummaryResults__RowValue text-sm text-[#09090B] text-right",children:t.values[0]}):t.values.map((F,x)=>e("span",{className:"RemoteFlows__SummaryResults__RowValue text-sm text-[#09090B] text-right",children:F},x))]},a))})})]})})},"MultiColumnAccordion"),S=m(({employeesCost:s})=>e(g,{label:e("span",{className:"RemoteFlows__CostForAllEmployees__Label text-sm font-medium text-[#0F172A]",children:"Cost for all employees"}),columns:["Total cost"],rows:[{label:l(C,{children:[e("span",{className:"RemoteFlows__CostForAllEmployees__Bullet w-1 h-1 bg-[#09090B] rounded-full flex-shrink-0"}),e("span",{className:"RemoteFlows__CostForAllEmployees__MonthlyLabel text-sm text-[#09090B]",children:"Monthly cost"})]}),values:[s.monthlyTotal]},{label:l(C,{children:[e("span",{className:"RemoteFlows__CostForAllEmployees__Bullet w-1 h-1 bg-[#09090B] rounded-full flex-shrink-0"}),e("span",{className:"RemoteFlows__CostForAllEmployees__AnnualLabel text-sm text-[#09090B]",children:"Annual cost"})]}),values:[s.annualTotal]}],defaultValue:"cost-breakdown"}),"CostForAllEmployees"),b=m(({costsPerCountry:s})=>e(g,{label:e("span",{className:"RemoteFlows__CostsPerCountry__Label text-sm font-medium text-[#0F172A]",children:"Cost per country"}),columns:["Monthly cost","Annual cost"],rows:s.map(o=>({label:l(C,{children:[e("span",{className:"RemoteFlows__CostsPerCountry__Bullet w-1 h-1 bg-[#09090B] rounded-full flex-shrink-0"}),e("span",{className:"RemoteFlows__CostsPerCountry__CountryName text-sm text-[#09090B]",children:o.country.name})]}),values:[o.monthlyCost,o.annualCost]})),defaultValue:"country-breakdown"}),"CostsPerCountry"),k=m(({estimations:s})=>{let{currency:o,costsPerCountry:c,employeesCost:n}=v(s),[u,r]=h("summary");return!o||c.length===0||Object.keys(n).length===0?null:e(w,{className:"RemoteFlows__SummaryResults__Card p-10",children:e(y,{collapsible:!0,defaultValue:u,onValueChange:t=>r(t),className:"RemoteFlows__SummaryResults__Accordion w-full",children:l(d,{value:"summary",className:"RemoteFlows__SummaryResults__AccordionItem border-border",children:[e("div",{className:_("RemoteFlows__SummaryResults__AccordionTriggerContainer",{RemoteFlows__Separator:!!u}),children:e(p,{iconClassName:"size-6",className:"RemoteFlows__SummaryResults__MainAccordionTrigger hover:no-underline px-0 py-4",children:e(f,{currency:o,title:"Summary Overview"})})}),l(R,{className:"RemoteFlows__SummaryResults__MainAccordionContent px-0 pb-4 mt-6",children:[e("div",{className:"RemoteFlows__Separator",children:e(S,{employeesCost:n})}),e("div",{className:"RemoteFlows__SummaryResults__CostsPerCountryContainer mt-6",children:e(b,{costsPerCountry:c})})]})]})})})},"SummaryResults");export{k as a};
|
|
2
|
+
//# sourceMappingURL=chunk-DKOETPI4.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as l}from"./chunk-WCJZAOZR.js";import{a as i}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as l}from"./chunk-WCJZAOZR.js";import{a as i}from"./chunk-G3QDDD53.js";import{a as t}from"./chunk-WL7WQBSR.js";import{h as m}from"./chunk-4FGKIGKF.js";import{a as r}from"./chunk-P37U34EQ.js";import{jsx as s}from"react/jsx-runtime";import{createElement as u}from"react";function S({onSubmit:n,defaultValues:a}){let{formId:d,adminBag:o}=l(),e=i({handleValidation:o.handleValidation,defaultValues:a??{},checkFieldUpdates:o.setFieldValues});return u(m,{...e,key:`form-${o.stepState.currentStep.name}`},s("form",{id:d,onSubmit:e.handleSubmit(f=>n(f,e)),className:"space-y-4 RemoteFlows__PayrollAdminForm",children:s(t,{fields:o.fields,fieldsets:o.meta["x-jsf-fieldsets"],fieldValues:o.fieldValues})}))}r(S,"PayrollAdminForm");export{S as a};
|
|
2
|
+
//# sourceMappingURL=chunk-DL6MFAFK.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n as o}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{n as o}from"./chunk-NXRWBI36.js";import*as t from"react";import*as e from"@radix-ui/react-checkbox";import{Check as s}from"lucide-react";import{jsx as i}from"react/jsx-runtime";var m=t.forwardRef(({className:r,...c},a)=>i(e.Root,{ref:a,className:o("peer h-4 w-4 shrink-0 rounded-sm border border-input ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-checkbox data-[state=checked]:text-primary",r),...c,children:i(e.Indicator,{className:o("flex items-center justify-center text-current"),children:i(s,{className:"h-4 w-4"})})}));m.displayName=e.Root.displayName;export{m as a};
|
|
2
|
+
//# sourceMappingURL=chunk-DLSHZLHX.js.map
|