@remoteoss/remote-flows 1.49.1 → 1.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/CheckboxFieldDefault-23VE43PP.js +2 -0
- package/dist/CountryFieldDefault-FVAAL55P.js +2 -0
- package/dist/DatePickerFieldDefault-KXEMGK5B.js +2 -0
- package/dist/EmailFieldDefault-OFHDLOOT.js +2 -0
- package/dist/FileUploadFieldDefault-GX22C22E.js +2 -0
- package/dist/ForcedValueFieldDefault-ESITCZWK.js +2 -0
- package/dist/MultiSelectFieldDefault-DAUBH5JV.js +2 -0
- package/dist/NumberFieldDefault-MXZD7YVE.js +2 -0
- package/dist/PDFPreviewDefault-T6YPWXGY.js +2 -0
- package/dist/RadioGroupFieldDefault-QFUUJGSR.js +2 -0
- package/dist/SelectFieldDefault-3QTJE222.js +2 -0
- package/dist/TelFieldDefault-5U5X37LI.js +2 -0
- package/dist/TextAreaFieldDefault-JX2MVJVY.js +2 -0
- package/dist/TextFieldDefault-WCUD6XYS.js +2 -0
- package/dist/TimeFieldDefault-UNF7PKLT.js +2 -0
- package/dist/WorkScheduleFieldDefault-2A2RCDXV.js +2 -0
- package/dist/{chunk-C2HZNBMZ.js → chunk-235XZBTZ.js} +2 -2
- package/dist/chunk-2EXX7BNU.js +2 -0
- package/dist/{chunk-PUK2TIQX.js.map → chunk-2EXX7BNU.js.map} +1 -1
- package/dist/chunk-2KA6NZOQ.js +2 -0
- package/dist/chunk-2KA6NZOQ.js.map +1 -0
- package/dist/chunk-2L6AB46E.js +2 -0
- package/dist/{chunk-A7U3KJIP.js.map → chunk-2L6AB46E.js.map} +1 -1
- package/dist/{chunk-IRUWMZVH.js → chunk-2SD75ZFL.js} +2 -2
- package/dist/{chunk-3RQSRU7O.js → chunk-335N2CVQ.js} +2 -2
- package/dist/chunk-36DZMQHH.js +2 -0
- package/dist/chunk-36DZMQHH.js.map +1 -0
- package/dist/{chunk-5MH23AST.js → chunk-3BDWVNHX.js} +2 -2
- package/dist/chunk-3CGFAN3F.js +2 -0
- package/dist/{chunk-C5T75DEZ.js.map → chunk-3CGFAN3F.js.map} +1 -1
- package/dist/{chunk-BYTVIOOL.js → chunk-3DOSHTJS.js} +2 -2
- package/dist/{chunk-3VTHNE4H.js → chunk-3HMBTPH7.js} +2 -2
- package/dist/{chunk-6S5Q2OKC.js → chunk-3NC2JJM3.js} +2 -2
- package/dist/{chunk-5TOSVOLY.js → chunk-3OHORFIX.js} +2 -2
- package/dist/{chunk-FT4ZNBTA.js → chunk-3WRO57UF.js} +2 -2
- package/dist/{chunk-VYAJQ25J.js → chunk-4AQMMGXK.js} +2 -2
- package/dist/{chunk-JLM4O7ZW.js → chunk-4BFGSBOK.js} +2 -2
- package/dist/{chunk-R2D32OB6.js → chunk-57QHHIWL.js} +2 -2
- package/dist/{chunk-UU2IFOXR.js → chunk-57Y5XQ3D.js} +2 -2
- package/dist/{chunk-3LMZ3SOP.js → chunk-5DPOL3DT.js} +2 -2
- package/dist/{chunk-7XDU2VWN.js → chunk-5FST4WDH.js} +2 -2
- package/dist/chunk-5NN5RWBG.js +2 -0
- package/dist/chunk-5NN5RWBG.js.map +1 -0
- package/dist/{chunk-ANZ2YYUE.js → chunk-6OLV37C2.js} +2 -2
- package/dist/{chunk-RKP7EEAB.js → chunk-6UCTTR3O.js} +2 -2
- package/dist/{chunk-CHIWBD6E.js → chunk-6X4SQPQF.js} +2 -2
- package/dist/{chunk-F3DZUA7W.js → chunk-72EMS5WI.js} +2 -2
- package/dist/chunk-72ZOHLOK.js +2 -0
- package/dist/chunk-72ZOHLOK.js.map +1 -0
- package/dist/chunk-74ZX4KQG.js +2 -0
- package/dist/chunk-74ZX4KQG.js.map +1 -0
- package/dist/{chunk-JKHJR6HK.js → chunk-753FEV2S.js} +2 -2
- package/dist/{chunk-JKHJR6HK.js.map → chunk-753FEV2S.js.map} +1 -1
- package/dist/{chunk-3BQVEYHE.js → chunk-77LDJPXF.js} +2 -2
- package/dist/chunk-7UVH4WE2.js +2 -0
- package/dist/chunk-7UVH4WE2.js.map +1 -0
- package/dist/{chunk-BWM2MYPE.js → chunk-7Y4NHODP.js} +2 -2
- package/dist/{chunk-F3UUYQGY.js → chunk-AAHPOX44.js} +2 -2
- package/dist/{chunk-GBVBMT3H.js → chunk-ADL2ZH54.js} +2 -2
- package/dist/{chunk-UZFEJMO6.js → chunk-AFTFDGSD.js} +2 -2
- package/dist/chunk-ANPNVWCB.js +2 -0
- package/dist/{chunk-TC7EQZJK.js → chunk-AOE6FXVP.js} +2 -2
- package/dist/{chunk-TC7EQZJK.js.map → chunk-AOE6FXVP.js.map} +1 -1
- package/dist/{chunk-ORP6DY5I.js → chunk-APSKAXM2.js} +2 -2
- package/dist/chunk-AXZ4IDY7.js +2 -0
- package/dist/chunk-AXZ4IDY7.js.map +1 -0
- package/dist/chunk-BHHK7QQZ.js +2 -0
- package/dist/chunk-BHHK7QQZ.js.map +1 -0
- package/dist/chunk-BQGTMOIQ.js +2 -0
- package/dist/{chunk-PYNHR7NL.js.map → chunk-BQGTMOIQ.js.map} +1 -1
- package/dist/chunk-BQVCM5DQ.js +2 -0
- package/dist/chunk-BQVCM5DQ.js.map +1 -0
- package/dist/{chunk-TLJXBZII.js → chunk-BYD4TSDD.js} +2 -2
- package/dist/{chunk-F2SGCGXL.js → chunk-C3MUUZC6.js} +2 -2
- package/dist/chunk-C7KVPEVX.js +2 -0
- package/dist/chunk-C7KVPEVX.js.map +1 -0
- package/dist/{chunk-D737GUYZ.js → chunk-CWKXQZRT.js} +2 -2
- package/dist/chunk-D7F3QKN5.js +2 -0
- package/dist/chunk-D7F3QKN5.js.map +1 -0
- package/dist/{chunk-VNMUML3T.js → chunk-DAUDKN32.js} +5 -5
- package/dist/chunk-DAUDKN32.js.map +1 -0
- package/dist/{chunk-QHJ3BYJN.js → chunk-DIPYFRXX.js} +2 -2
- package/dist/chunk-DSJXT5ZP.js +2 -0
- package/dist/chunk-DSJXT5ZP.js.map +1 -0
- package/dist/{chunk-WGDZTF7Y.js → chunk-E7Y3YBZH.js} +2 -2
- package/dist/chunk-EOV3JMUQ.js +2 -0
- package/dist/chunk-EOV3JMUQ.js.map +1 -0
- package/dist/chunk-EP3BNRH3.js +2 -0
- package/dist/chunk-EP3BNRH3.js.map +1 -0
- package/dist/{chunk-BTZ57COZ.js → chunk-EQOOVJ7K.js} +2 -2
- package/dist/{chunk-IAR6BWUY.js → chunk-ESXBCNJM.js} +2 -2
- package/dist/chunk-EUQLCVA5.js +2 -0
- package/dist/chunk-EUQLCVA5.js.map +1 -0
- package/dist/chunk-F37FQXEZ.js +2 -0
- package/dist/chunk-F37FQXEZ.js.map +1 -0
- package/dist/{chunk-ZQVVHVAG.js → chunk-FF5OB2GF.js} +2 -2
- package/dist/{chunk-WYIU74JN.js → chunk-FFRROEPQ.js} +2 -2
- package/dist/chunk-FYCOEJEZ.js +2 -0
- package/dist/chunk-FYCOEJEZ.js.map +1 -0
- package/dist/{chunk-UAEQLFPK.js → chunk-G3BWBRCE.js} +2 -2
- package/dist/{chunk-LCUYP6VW.js → chunk-GGTV6IQ3.js} +2 -2
- package/dist/chunk-GGVW6SG6.js +2 -0
- package/dist/chunk-GGVW6SG6.js.map +1 -0
- package/dist/{chunk-6IDUDCVS.js → chunk-GIBD2ZCJ.js} +2 -2
- package/dist/{chunk-LCUURLXS.js → chunk-GNVGW65D.js} +2 -2
- package/dist/{chunk-QSF4XFSV.js → chunk-GRLZH65T.js} +2 -2
- package/dist/chunk-GSUGHAHA.js +2 -0
- package/dist/{chunk-4BHEQMZV.js.map → chunk-GSUGHAHA.js.map} +1 -1
- package/dist/{chunk-WDPJIOLG.js → chunk-H4NJGAN4.js} +2 -2
- package/dist/chunk-H6XROFQT.js +2 -0
- package/dist/chunk-H6XROFQT.js.map +1 -0
- package/dist/{chunk-EYZVDP6A.js → chunk-HRVJCCWJ.js} +2 -2
- package/dist/{chunk-2LSLWFZS.js → chunk-I53YCEOC.js} +2 -2
- package/dist/{chunk-SUVBETJS.js → chunk-I5NW7AQZ.js} +2 -2
- package/dist/{chunk-PJTMFMRJ.js → chunk-I65OXH33.js} +2 -2
- package/dist/chunk-IBQVGZMF.js +2 -0
- package/dist/{chunk-XFD3ULUF.js.map → chunk-IBQVGZMF.js.map} +1 -1
- package/dist/{chunk-WHDUZGVW.js → chunk-IJS67A57.js} +2 -2
- package/dist/{chunk-B3ESNTKY.js → chunk-ILPI4AFS.js} +2 -2
- package/dist/chunk-J244N33S.js +2 -0
- package/dist/chunk-J244N33S.js.map +1 -0
- package/dist/chunk-JKNE2D47.js +2 -0
- package/dist/{chunk-XTLTKB3S.js.map → chunk-JKNE2D47.js.map} +1 -1
- package/dist/{chunk-7NDAFJXR.js → chunk-JUSQGITN.js} +2 -2
- package/dist/{chunk-GMSYO53D.js → chunk-KD7UBTZG.js} +2 -2
- package/dist/chunk-KF52YXGI.js +2 -0
- package/dist/chunk-KF52YXGI.js.map +1 -0
- package/dist/{chunk-SNGQ2MKL.js → chunk-KFIUXU6I.js} +2 -2
- package/dist/chunk-KJRHRVFI.js +2 -0
- package/dist/chunk-KJRHRVFI.js.map +1 -0
- package/dist/chunk-KSSQR2CS.js +2 -0
- package/dist/chunk-KSSQR2CS.js.map +1 -0
- package/dist/{chunk-YUUUI4FY.js → chunk-L7FN3XPX.js} +2 -2
- package/dist/{chunk-4Y2INBAI.js → chunk-LJ32QPJF.js} +2 -2
- package/dist/chunk-LXABE3VR.js +2 -0
- package/dist/chunk-LXABE3VR.js.map +1 -0
- package/dist/chunk-LY5PCHQ2.js +2 -0
- package/dist/{chunk-B4O5YUYL.js.map → chunk-LY5PCHQ2.js.map} +1 -1
- package/dist/{chunk-5FGYC2RF.js → chunk-M7PZAJTR.js} +2 -2
- package/dist/{chunk-KZ5ZQTBF.js → chunk-NVOUXFGX.js} +2 -2
- package/dist/chunk-OEKL7QGO.js +2 -0
- package/dist/{chunk-V3C32X6R.js.map → chunk-OEKL7QGO.js.map} +1 -1
- package/dist/{chunk-5FJ64F6D.js → chunk-OFFUVHQJ.js} +2 -2
- package/dist/chunk-OHVXJXF4.js +1 -0
- package/dist/chunk-OHVXJXF4.js.map +1 -0
- package/dist/{chunk-WZOVZYNI.js → chunk-OJ4TXF6G.js} +2 -2
- package/dist/{chunk-5WTCN4WO.js → chunk-OT5JE2SM.js} +2 -2
- package/dist/{chunk-6L77BWCI.js → chunk-P3TTGECC.js} +2 -2
- package/dist/{chunk-2LR5N626.js → chunk-PAYZRCKY.js} +2 -2
- package/dist/{chunk-CFPKRLGM.js → chunk-PJAHLEOR.js} +2 -2
- package/dist/{chunk-Z7VNXKWB.js → chunk-PKORRCMX.js} +2 -2
- package/dist/chunk-QATHYZUV.js +2 -0
- package/dist/chunk-QATHYZUV.js.map +1 -0
- package/dist/chunk-QIV5OKOI.js +2 -0
- package/dist/chunk-QIV5OKOI.js.map +1 -0
- package/dist/{chunk-QEHEOSJT.js → chunk-QUJBIRNY.js} +2 -2
- package/dist/{chunk-POWC7LZN.js → chunk-R23HFBV4.js} +2 -2
- package/dist/{chunk-3LELUHRO.js → chunk-R2XDTYPZ.js} +2 -2
- package/dist/chunk-R4E37FVX.js +2 -0
- package/dist/chunk-R4E37FVX.js.map +1 -0
- package/dist/{chunk-FDTOQHOJ.js → chunk-R6VNUDBK.js} +2 -2
- package/dist/{chunk-WB52GW3H.js → chunk-ROVMQ5NT.js} +2 -2
- package/dist/{chunk-6IQJJCQ3.js → chunk-SDPYDCS7.js} +2 -2
- package/dist/chunk-SRLBVFNQ.js +2 -0
- package/dist/chunk-SRLBVFNQ.js.map +1 -0
- package/dist/{chunk-5WIBTOCI.js → chunk-SRNXXOUH.js} +2 -2
- package/dist/{chunk-5WIBTOCI.js.map → chunk-SRNXXOUH.js.map} +1 -1
- package/dist/{chunk-JRRPMAUO.js → chunk-SUGZPBET.js} +2 -2
- package/dist/{chunk-ZXGAFQXW.js → chunk-SYZIGZ2F.js} +2 -2
- package/dist/{chunk-ZXGAFQXW.js.map → chunk-SYZIGZ2F.js.map} +1 -1
- package/dist/chunk-TDKKCSKV.js +2 -0
- package/dist/{chunk-7IIQUZTH.js.map → chunk-TDKKCSKV.js.map} +1 -1
- package/dist/{chunk-J4CHUIPC.js → chunk-UNBTPLJ6.js} +2 -2
- package/dist/{chunk-TXOCMI5I.js → chunk-URNFXEOZ.js} +2 -2
- package/dist/{chunk-WH3QR2W5.js → chunk-UWIUECXU.js} +2 -2
- package/dist/{chunk-BFXBFGBH.js → chunk-UYOKK4QW.js} +2 -2
- package/dist/{chunk-BFXBFGBH.js.map → chunk-UYOKK4QW.js.map} +1 -1
- package/dist/{chunk-IJCTN52C.js → chunk-VDJJEIOD.js} +2 -2
- package/dist/{chunk-IJCTN52C.js.map → chunk-VDJJEIOD.js.map} +1 -1
- package/dist/{chunk-LMYJ6V44.js → chunk-VEQWK7QQ.js} +2 -2
- package/dist/{chunk-LMYJ6V44.js.map → chunk-VEQWK7QQ.js.map} +1 -1
- package/dist/chunk-VKORYYED.js +2 -0
- package/dist/{chunk-DLIVHNTT.js.map → chunk-VKORYYED.js.map} +1 -1
- package/dist/chunk-VSK4KV55.js +2 -0
- package/dist/chunk-VSK4KV55.js.map +1 -0
- package/dist/{chunk-PNNOU6BC.js → chunk-WHY2WNWH.js} +2 -2
- package/dist/{chunk-YRC6EEM3.js → chunk-WNOQNNRR.js} +2 -2
- package/dist/{chunk-YRC6EEM3.js.map → chunk-WNOQNNRR.js.map} +1 -1
- package/dist/{chunk-IUBHVGVV.js → chunk-WU66SHVJ.js} +2 -2
- package/dist/{chunk-MZK2U65W.js → chunk-XLHTMWJ3.js} +2 -2
- package/dist/{chunk-5J7DLDLW.js → chunk-XPLWBO73.js} +2 -2
- package/dist/{chunk-OTBCLDGR.js → chunk-XS5NKKW4.js} +2 -2
- package/dist/chunk-XTZJKL3C.js +2 -0
- package/dist/chunk-XTZJKL3C.js.map +1 -0
- package/dist/chunk-XWCE5BU6.js +2 -0
- package/dist/{chunk-4YFJOHSM.js.map → chunk-XWCE5BU6.js.map} +1 -1
- package/dist/{chunk-A5XRBDDO.js → chunk-XXBQQH47.js} +2 -2
- package/dist/{chunk-AP56UUME.js → chunk-Y2NCUO3F.js} +2 -2
- package/dist/{chunk-AP56UUME.js.map → chunk-Y2NCUO3F.js.map} +1 -1
- package/dist/{chunk-JQ3SLOUP.js → chunk-Y6FOZXIU.js} +2 -2
- package/dist/{chunk-K67Q5476.js → chunk-YANQP45B.js} +2 -2
- package/dist/{chunk-NX7MM6XR.js → chunk-YE6NRJ2L.js} +2 -2
- package/dist/{chunk-NX7MM6XR.js.map → chunk-YE6NRJ2L.js.map} +1 -1
- package/dist/{chunk-JMFCG5KA.js → chunk-YWLAZIIO.js} +2 -2
- package/dist/{chunk-S2QXSX4Q.js → chunk-YYIAA47F.js} +2 -2
- package/dist/{chunk-2GTY2DMO.js → chunk-ZHFGV2GB.js} +2 -2
- package/dist/{chunk-2GTY2DMO.js.map → chunk-ZHFGV2GB.js.map} +1 -1
- package/dist/{chunk-EQIWABAZ.js → chunk-ZJ55AKB6.js} +2 -2
- package/dist/{chunk-ILX6RI7K.js → chunk-ZRD3M74X.js} +2 -2
- package/dist/{chunk-H5OZSXSY.js → chunk-ZULOHKU6.js} +2 -2
- package/dist/default-components.d.ts +2 -2
- package/dist/default-components.js +1 -1
- package/dist/default-components.js.map +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.d.ts +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.js +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentFlow.d.ts +3 -3
- package/dist/flows/ContractAmendment/ContractAmendmentFlow.js +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentForm.d.ts +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentForm.js +1 -1
- package/dist/flows/ContractAmendment/context.d.ts +4 -4
- package/dist/flows/ContractAmendment/hooks.d.ts +3 -3
- package/dist/flows/ContractAmendment/hooks.js +1 -1
- package/dist/flows/ContractAmendment/index.d.ts +3 -3
- package/dist/flows/ContractAmendment/index.js +1 -1
- package/dist/flows/ContractAmendment/types.d.ts +3 -3
- package/dist/flows/ContractAmendment/utils.d.ts +2 -2
- package/dist/flows/ContractorOnboarding/ContractorOnboarding.d.ts +8 -5
- package/dist/flows/ContractorOnboarding/ContractorOnboarding.js +1 -1
- package/dist/flows/ContractorOnboarding/api.d.ts +180 -123
- 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 +8 -5
- package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractOriginStep.d.ts +3 -3
- package/dist/flows/ContractorOnboarding/components/ContractOriginStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractPreviewHeader.d.ts +2 -2
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStatement.d.ts +2 -2
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.d.ts +8 -5
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractReviewButton.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.d.ts +8 -5
- package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.js +1 -1
- package/dist/flows/ContractorOnboarding/components/CreateInvoiceScheduleStep.d.ts +3 -3
- package/dist/flows/ContractorOnboarding/components/CreateInvoiceScheduleStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.d.ts +8 -5
- package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/InvoiceScheduleStep.d.ts +8 -5
- package/dist/flows/ContractorOnboarding/components/InvoiceScheduleStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/OnboardingInvite.d.ts +3 -3
- package/dist/flows/ContractorOnboarding/components/OnboardingInvite.js +1 -1
- package/dist/flows/ContractorOnboarding/components/PreviewInvoiceButton.d.ts +31 -0
- package/dist/flows/ContractorOnboarding/components/PreviewInvoiceButton.js +2 -0
- package/dist/flows/ContractorOnboarding/components/PreviewInvoiceButton.js.map +1 -0
- package/dist/flows/ContractorOnboarding/components/PricingPlan.d.ts +8 -5
- package/dist/flows/ContractorOnboarding/components/PricingPlan.js +1 -1
- package/dist/flows/ContractorOnboarding/components/SaveDraftButton.d.ts +3 -3
- package/dist/flows/ContractorOnboarding/components/SelectCountryStep.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/components/SelectCountryStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/SkipInvoiceScheduleButton.d.ts +24 -0
- package/dist/flows/ContractorOnboarding/components/SkipInvoiceScheduleButton.js +2 -0
- package/dist/flows/ContractorOnboarding/components/SkipInvoiceScheduleButton.js.map +1 -0
- package/dist/flows/ContractorOnboarding/context.d.ts +16 -5
- package/dist/flows/ContractorOnboarding/hooks.d.ts +8 -5
- package/dist/flows/ContractorOnboarding/hooks.js +1 -1
- package/dist/flows/ContractorOnboarding/index.d.ts +8 -5
- package/dist/flows/ContractorOnboarding/index.js +1 -1
- package/dist/flows/ContractorOnboarding/invoiceScheduleConstants.d.ts +1 -0
- package/dist/flows/ContractorOnboarding/invoiceScheduleConstants.js +1 -1
- package/dist/flows/ContractorOnboarding/jsfModify.d.ts +8 -5
- package/dist/flows/ContractorOnboarding/jsfModify.js +1 -1
- package/dist/flows/ContractorOnboarding/json-schemas/contractOrigin.d.ts +3 -0
- package/dist/flows/ContractorOnboarding/json-schemas/contractOrigin.js +1 -1
- package/dist/flows/ContractorOnboarding/json-schemas/createInvoiceSchedule.d.ts +80 -6
- package/dist/flows/ContractorOnboarding/json-schemas/createInvoiceSchedule.js +1 -1
- package/dist/flows/ContractorOnboarding/json-schemas/invoiceSchedule.d.ts +3 -0
- package/dist/flows/ContractorOnboarding/json-schemas/invoiceSchedule.js +1 -1
- package/dist/flows/ContractorOnboarding/json-schemas/selectContractorSubscriptionStep.d.ts +3 -0
- package/dist/flows/ContractorOnboarding/json-schemas/selectContractorSubscriptionStep.js +1 -1
- package/dist/flows/ContractorOnboarding/json-schemas/signature.d.ts +3 -0
- package/dist/flows/ContractorOnboarding/json-schemas/signature.js +1 -1
- package/dist/flows/ContractorOnboarding/types.d.ts +8 -5
- package/dist/flows/ContractorOnboarding/utils.d.ts +31 -21
- package/dist/flows/ContractorOnboarding/utils.js +1 -1
- package/dist/flows/CostCalculator/CostCalculatorFlow.d.ts +3 -3
- package/dist/flows/CostCalculator/CostCalculatorFlow.js +1 -1
- package/dist/flows/CostCalculator/CostCalculatorForm.d.ts +3 -3
- package/dist/flows/CostCalculator/CostCalculatorForm.js +1 -1
- package/dist/flows/CostCalculator/EstimationResults/EstimationResults.d.ts +3 -3
- package/dist/flows/CostCalculator/EstimationResults/EstimationResults.js +1 -1
- package/dist/flows/CostCalculator/SummaryResults/SummaryResults.d.ts +3 -3
- package/dist/flows/CostCalculator/api.d.ts +3 -3
- package/dist/flows/CostCalculator/api.js +1 -1
- package/dist/flows/CostCalculator/components/SalaryField.d.ts +2 -2
- package/dist/flows/CostCalculator/components/SalaryField.js +1 -1
- package/dist/flows/CostCalculator/context.d.ts +3 -3
- package/dist/flows/CostCalculator/hooks.d.ts +3 -3
- package/dist/flows/CostCalculator/hooks.js +1 -1
- package/dist/flows/CostCalculator/index.d.ts +3 -3
- package/dist/flows/CostCalculator/index.js +1 -1
- package/dist/flows/CostCalculator/jsonSchema.d.ts +3 -0
- package/dist/flows/CostCalculator/jsonSchema.js +1 -1
- package/dist/flows/CostCalculator/types.d.ts +3 -3
- package/dist/flows/CostCalculator/utils.d.ts +3 -3
- package/dist/flows/CostCalculator/utils.js +1 -1
- package/dist/flows/CreateCompany/CreateCompany.d.ts +4 -4
- package/dist/flows/CreateCompany/CreateCompany.js +1 -1
- package/dist/flows/CreateCompany/api.d.ts +3 -3
- package/dist/flows/CreateCompany/api.js +1 -1
- package/dist/flows/CreateCompany/components/AddressDetailsStep.d.ts +4 -4
- package/dist/flows/CreateCompany/components/AddressDetailsStep.js +1 -1
- package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.d.ts +4 -4
- package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.js +1 -1
- package/dist/flows/CreateCompany/components/CreateCompanyForm.d.ts +2 -2
- package/dist/flows/CreateCompany/components/CreateCompanyForm.js +1 -1
- package/dist/flows/CreateCompany/context.d.ts +4 -4
- package/dist/flows/CreateCompany/hooks.d.ts +4 -4
- package/dist/flows/CreateCompany/hooks.js +1 -1
- package/dist/flows/CreateCompany/index.d.ts +4 -4
- package/dist/flows/CreateCompany/index.js +1 -1
- package/dist/flows/CreateCompany/json-schemas/companyBasicInformationStep.d.ts +3 -0
- package/dist/flows/CreateCompany/json-schemas/companyBasicInformationStep.js +1 -1
- package/dist/flows/CreateCompany/types.d.ts +4 -4
- package/dist/flows/InvoiceSchedule/InvoiceScheduleFlow.d.ts +36 -0
- package/dist/flows/InvoiceSchedule/InvoiceScheduleFlow.js +2 -0
- package/dist/flows/InvoiceSchedule/InvoiceScheduleFlow.js.map +1 -0
- package/dist/flows/InvoiceSchedule/InvoiceScheduleForm.d.ts +31 -0
- package/dist/flows/InvoiceSchedule/InvoiceScheduleForm.js +2 -0
- package/dist/flows/InvoiceSchedule/InvoiceScheduleForm.js.map +1 -0
- package/dist/flows/InvoiceSchedule/InvoiceSchedulePreviewButton.d.ts +33 -0
- package/dist/flows/InvoiceSchedule/InvoiceSchedulePreviewButton.js +2 -0
- package/dist/flows/InvoiceSchedule/InvoiceSchedulePreviewButton.js.map +1 -0
- package/dist/flows/InvoiceSchedule/InvoiceScheduleSubmitButton.d.ts +6 -0
- package/dist/flows/InvoiceSchedule/InvoiceScheduleSubmitButton.js +2 -0
- package/dist/flows/InvoiceSchedule/InvoiceScheduleSubmitButton.js.map +1 -0
- package/dist/flows/InvoiceSchedule/context.d.ts +51 -0
- package/dist/flows/InvoiceSchedule/context.js +2 -0
- package/dist/flows/InvoiceSchedule/context.js.map +1 -0
- package/dist/flows/InvoiceSchedule/hooks.d.ts +100 -0
- package/dist/flows/InvoiceSchedule/hooks.js +2 -0
- package/dist/flows/InvoiceSchedule/hooks.js.map +1 -0
- package/dist/flows/InvoiceSchedule/index.d.ts +16 -0
- package/dist/flows/InvoiceSchedule/index.js +2 -0
- package/dist/flows/InvoiceSchedule/index.js.map +1 -0
- package/dist/flows/InvoiceSchedule/types.d.ts +51 -0
- package/dist/flows/InvoiceSchedule/types.js +1 -0
- package/dist/flows/InvoiceSchedule/types.js.map +1 -0
- package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundFlow.d.ts +3 -3
- package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundFlow.js +1 -1
- package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundForm.d.ts +3 -3
- package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundForm.js +1 -1
- package/dist/flows/JsonSchemaPlayground/context.d.ts +3 -3
- package/dist/flows/JsonSchemaPlayground/hooks.d.ts +3 -3
- package/dist/flows/JsonSchemaPlayground/hooks.js +1 -1
- package/dist/flows/JsonSchemaPlayground/index.d.ts +3 -3
- package/dist/flows/JsonSchemaPlayground/index.js +1 -1
- package/dist/flows/JsonSchemaPlayground/types.d.ts +3 -3
- package/dist/flows/Onboarding/OnboardingFlow.d.ts +4 -4
- package/dist/flows/Onboarding/OnboardingFlow.js +1 -1
- package/dist/flows/Onboarding/api.d.ts +4 -4
- package/dist/flows/Onboarding/api.js +1 -1
- package/dist/flows/Onboarding/components/AnnualGrossSalary.d.ts +2 -2
- package/dist/flows/Onboarding/components/AnnualGrossSalary.js +1 -1
- package/dist/flows/Onboarding/components/BasicInformationStep.d.ts +4 -4
- package/dist/flows/Onboarding/components/BasicInformationStep.js +1 -1
- package/dist/flows/Onboarding/components/BenefitsStep.d.ts +4 -4
- package/dist/flows/Onboarding/components/BenefitsStep.js +1 -1
- package/dist/flows/Onboarding/components/ContractDetailsStep.d.ts +4 -4
- package/dist/flows/Onboarding/components/ContractDetailsStep.js +1 -1
- package/dist/flows/Onboarding/components/DailySchedule/DailySchedule.d.ts +11 -0
- package/dist/flows/Onboarding/components/DailySchedule/DailySchedule.js +2 -0
- package/dist/flows/Onboarding/components/DailySchedule/DailySchedule.js.map +1 -0
- package/dist/flows/Onboarding/components/DailySchedule/DailyScheduleContainer.d.ts +16 -0
- package/dist/flows/Onboarding/components/DailySchedule/DailyScheduleContainer.js +2 -0
- package/dist/flows/Onboarding/components/DailySchedule/DailyScheduleContainer.js.map +1 -0
- package/dist/flows/Onboarding/components/DailySchedule/types.d.ts +68 -0
- package/dist/flows/Onboarding/components/DailySchedule/types.js +1 -0
- package/dist/flows/Onboarding/components/DailySchedule/types.js.map +1 -0
- package/dist/flows/Onboarding/components/DailySchedule/utils.d.ts +21 -0
- package/dist/flows/Onboarding/components/DailySchedule/utils.js +2 -0
- package/dist/flows/Onboarding/components/DailySchedule/utils.js.map +1 -0
- 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 +6 -6
- package/dist/flows/Onboarding/hooks.d.ts +4 -4
- package/dist/flows/Onboarding/hooks.js +1 -1
- package/dist/flows/Onboarding/index.d.ts +4 -4
- package/dist/flows/Onboarding/index.js +1 -1
- package/dist/flows/Onboarding/json-schemas/selectCountryStep.d.ts +3 -0
- package/dist/flows/Onboarding/json-schemas/selectCountryStep.js +1 -1
- package/dist/flows/Onboarding/types.d.ts +4 -4
- package/dist/flows/Onboarding/utils.d.ts +4 -4
- package/dist/flows/PayrollAdminOnboarding/PayrollAdminOnboardingFlow.d.ts +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/ContractDetailsStep.d.ts +3 -3
- package/dist/flows/PayrollAdminOnboarding/components/ContractDetailsStep.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/InvitationStep.d.ts +3 -3
- package/dist/flows/PayrollAdminOnboarding/components/InvitationStep.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/PayrollAdminForm.d.ts +2 -2
- package/dist/flows/PayrollAdminOnboarding/components/PayrollAdminForm.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/SelectCountryStep.d.ts +3 -3
- package/dist/flows/PayrollAdminOnboarding/components/SelectCountryStep.js +1 -1
- package/dist/flows/PayrollAdminOnboarding/components/useStepSubmitHandler.d.ts +3 -3
- package/dist/flows/PayrollAdminOnboarding/context.d.ts +4 -4
- package/dist/flows/PayrollAdminOnboarding/hooks.d.ts +5 -5
- 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/json-schemas/selectCountryStep.d.ts +3 -0
- package/dist/flows/PayrollAdminOnboarding/json-schemas/selectCountryStep.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 +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/api.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/BankAccountStep.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/components/BankAccountStep.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/FederalTaxesStep.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/components/FederalTaxesStep.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/HomeAddressStep.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/components/HomeAddressStep.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/PayrollEmployeeForm.d.ts +2 -2
- package/dist/flows/PayrollEmployeeOnboarding/components/PayrollEmployeeForm.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/PersonalDetailsStep.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/components/PersonalDetailsStep.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/StateTaxesStep.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/components/StateTaxesStep.js +1 -1
- package/dist/flows/PayrollEmployeeOnboarding/components/useEmployeeStepSubmitHandler.d.ts +3 -3
- package/dist/flows/PayrollEmployeeOnboarding/context.d.ts +4 -4
- package/dist/flows/PayrollEmployeeOnboarding/hooks.d.ts +5 -5
- 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/AcknowledgeInformationFees.js +1 -1
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.d.ts +6 -6
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.d.ts +6 -6
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.js +1 -1
- package/dist/flows/Termination/components/PaidTimeOff/types.d.ts +6 -6
- package/dist/flows/Termination/components/TerminationDialogInfoContent/TerminationDialogInfoContent.js +1 -1
- package/dist/flows/Termination/context.d.ts +4 -4
- package/dist/flows/Termination/hooks.d.ts +4 -4
- package/dist/flows/Termination/hooks.js +1 -1
- package/dist/flows/Termination/index.d.ts +6 -6
- package/dist/flows/Termination/index.js +1 -1
- package/dist/flows/Termination/json-schemas/additionalInformation.d.ts +3 -0
- package/dist/flows/Termination/json-schemas/additionalInformation.js +1 -1
- package/dist/flows/Termination/json-schemas/defaultSchema.d.ts +3 -0
- package/dist/flows/Termination/json-schemas/defaultSchema.js +1 -1
- package/dist/flows/Termination/json-schemas/employeeComunication.d.ts +3 -0
- package/dist/flows/Termination/json-schemas/employeeComunication.js +1 -1
- package/dist/flows/Termination/json-schemas/jsonSchema.d.ts +3 -0
- package/dist/flows/Termination/json-schemas/jsonSchema.js +1 -1
- package/dist/flows/Termination/json-schemas/paidTimeOff.d.ts +3 -0
- package/dist/flows/Termination/json-schemas/paidTimeOff.js +1 -1
- package/dist/flows/Termination/json-schemas/schema.d.ts +4 -4
- package/dist/flows/Termination/json-schemas/schema.js +1 -1
- package/dist/flows/Termination/json-schemas/terminationDetails.d.ts +3 -0
- package/dist/flows/Termination/json-schemas/terminationDetails.js +1 -1
- package/dist/flows/Termination/types.d.ts +4 -4
- package/dist/flows/Termination/utils.d.ts +4 -4
- package/dist/flows/types.d.ts +3 -3
- package/dist/flows/utils.d.ts +2 -2
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +23 -14
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/internals.d.ts +4 -4
- package/dist/internals.js +1 -1
- package/dist/{mutations-DQjVuza-.d.ts → mutations-BGNKrV99.d.ts} +1 -1
- package/dist/{remoteFlows-B_JbhzWp.d.ts → remoteFlows-2MK_3sLb.d.ts} +2 -2
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/dist/{types-D3U8Wi3X.d.ts → types-B2bPNE86.d.ts} +3 -3
- package/dist/{types-1mH_uuoA.d.ts → types-BOB-WNJe.d.ts} +2 -2
- package/dist/{types-CdC2MYpf.d.ts → types-BPLbQPfI.d.ts} +3 -3
- package/dist/{types-B0iYt6RL.d.ts → types-BZ58yiMu.d.ts} +37 -4
- package/dist/{types-Clzf4xjV.d.ts → types-CJocMMvX.d.ts} +6 -8
- package/dist/{types-CoYsxVTI.d.ts → types-DvJ4fXde.d.ts} +1 -1
- package/dist/types-DvsjrBmu.d.ts +15 -0
- package/dist/{types-BFzhRUSU.d.ts → types-Ke3uSWQH.d.ts} +3 -3
- package/dist/{types-B93nzmoE.d.ts → types-g4Cxg_cb.d.ts} +1 -1
- package/dist/{types.gen-BmtA4XNd.d.ts → types.gen-ByX93X_n.d.ts} +216 -17
- package/dist/{utils-DJgzqxq4.d.ts → utils-Douv08HR.d.ts} +1 -1
- package/package.json +6 -5
- package/dist/CheckboxFieldDefault-JXNMWIRK.js +0 -2
- package/dist/CountryFieldDefault-SO4WS7KE.js +0 -2
- package/dist/DatePickerFieldDefault-AZHJN2U6.js +0 -2
- package/dist/EmailFieldDefault-QVKXB67I.js +0 -2
- package/dist/FileUploadFieldDefault-K6PF6RP7.js +0 -2
- package/dist/ForcedValueFieldDefault-BEOC4MYU.js +0 -2
- package/dist/MultiSelectFieldDefault-QKXVTGF2.js +0 -2
- package/dist/NumberFieldDefault-O7OKTFG4.js +0 -2
- package/dist/PDFPreviewDefault-HSSMYKV5.js +0 -2
- package/dist/RadioGroupFieldDefault-ZHHXDUUU.js +0 -2
- package/dist/SelectFieldDefault-FWQ7D6DU.js +0 -2
- package/dist/TelFieldDefault-RA7IBELJ.js +0 -2
- package/dist/TextAreaFieldDefault-NEFWXEE2.js +0 -2
- package/dist/TextFieldDefault-RXNU36AX.js +0 -2
- package/dist/TimeFieldDefault-KIJNBWYF.js +0 -2
- package/dist/WorkScheduleFieldDefault-23WY3SVD.js +0 -2
- package/dist/chunk-4BHEQMZV.js +0 -2
- package/dist/chunk-4YFJOHSM.js +0 -2
- package/dist/chunk-7IIQUZTH.js +0 -2
- package/dist/chunk-A7U3KJIP.js +0 -2
- package/dist/chunk-ALHHN2LG.js +0 -2
- package/dist/chunk-ALHHN2LG.js.map +0 -1
- package/dist/chunk-AUPAAQUT.js +0 -2
- package/dist/chunk-AUPAAQUT.js.map +0 -1
- package/dist/chunk-B4O5YUYL.js +0 -2
- package/dist/chunk-C5T75DEZ.js +0 -2
- package/dist/chunk-DLIVHNTT.js +0 -2
- package/dist/chunk-FGYOG6XG.js +0 -2
- package/dist/chunk-FGYOG6XG.js.map +0 -1
- package/dist/chunk-G3KQCVQQ.js +0 -2
- package/dist/chunk-G3KQCVQQ.js.map +0 -1
- package/dist/chunk-HMJ4PIDI.js +0 -2
- package/dist/chunk-HMJ4PIDI.js.map +0 -1
- package/dist/chunk-IHGCXP2X.js +0 -2
- package/dist/chunk-IHGCXP2X.js.map +0 -1
- package/dist/chunk-IXS65MGJ.js +0 -2
- package/dist/chunk-IXS65MGJ.js.map +0 -1
- package/dist/chunk-KPDYUFCB.js +0 -2
- package/dist/chunk-KPDYUFCB.js.map +0 -1
- package/dist/chunk-NPVSJYM6.js +0 -2
- package/dist/chunk-NPVSJYM6.js.map +0 -1
- package/dist/chunk-PUK2TIQX.js +0 -2
- package/dist/chunk-PYNHR7NL.js +0 -2
- package/dist/chunk-QQPF2DUF.js +0 -2
- package/dist/chunk-QQPF2DUF.js.map +0 -1
- package/dist/chunk-QSBXRKYE.js +0 -2
- package/dist/chunk-SVVZOMLQ.js +0 -2
- package/dist/chunk-SVVZOMLQ.js.map +0 -1
- package/dist/chunk-UOJOO2DM.js +0 -2
- package/dist/chunk-UOJOO2DM.js.map +0 -1
- package/dist/chunk-V3C32X6R.js +0 -2
- package/dist/chunk-VFRHMNLJ.js +0 -2
- package/dist/chunk-VFRHMNLJ.js.map +0 -1
- package/dist/chunk-VNMUML3T.js.map +0 -1
- package/dist/chunk-VQRE3YLW.js +0 -2
- package/dist/chunk-VQRE3YLW.js.map +0 -1
- package/dist/chunk-WVJDCDGZ.js +0 -2
- package/dist/chunk-WVJDCDGZ.js.map +0 -1
- package/dist/chunk-XFD3ULUF.js +0 -2
- package/dist/chunk-XTLTKB3S.js +0 -2
- package/dist/chunk-XXQBX7ND.js +0 -2
- package/dist/chunk-XXQBX7ND.js.map +0 -1
- /package/dist/{CheckboxFieldDefault-JXNMWIRK.js.map → CheckboxFieldDefault-23VE43PP.js.map} +0 -0
- /package/dist/{CountryFieldDefault-SO4WS7KE.js.map → CountryFieldDefault-FVAAL55P.js.map} +0 -0
- /package/dist/{DatePickerFieldDefault-AZHJN2U6.js.map → DatePickerFieldDefault-KXEMGK5B.js.map} +0 -0
- /package/dist/{EmailFieldDefault-QVKXB67I.js.map → EmailFieldDefault-OFHDLOOT.js.map} +0 -0
- /package/dist/{FileUploadFieldDefault-K6PF6RP7.js.map → FileUploadFieldDefault-GX22C22E.js.map} +0 -0
- /package/dist/{ForcedValueFieldDefault-BEOC4MYU.js.map → ForcedValueFieldDefault-ESITCZWK.js.map} +0 -0
- /package/dist/{MultiSelectFieldDefault-QKXVTGF2.js.map → MultiSelectFieldDefault-DAUBH5JV.js.map} +0 -0
- /package/dist/{NumberFieldDefault-O7OKTFG4.js.map → NumberFieldDefault-MXZD7YVE.js.map} +0 -0
- /package/dist/{PDFPreviewDefault-HSSMYKV5.js.map → PDFPreviewDefault-T6YPWXGY.js.map} +0 -0
- /package/dist/{RadioGroupFieldDefault-ZHHXDUUU.js.map → RadioGroupFieldDefault-QFUUJGSR.js.map} +0 -0
- /package/dist/{SelectFieldDefault-FWQ7D6DU.js.map → SelectFieldDefault-3QTJE222.js.map} +0 -0
- /package/dist/{TelFieldDefault-RA7IBELJ.js.map → TelFieldDefault-5U5X37LI.js.map} +0 -0
- /package/dist/{TextAreaFieldDefault-NEFWXEE2.js.map → TextAreaFieldDefault-JX2MVJVY.js.map} +0 -0
- /package/dist/{TextFieldDefault-RXNU36AX.js.map → TextFieldDefault-WCUD6XYS.js.map} +0 -0
- /package/dist/{TimeFieldDefault-KIJNBWYF.js.map → TimeFieldDefault-UNF7PKLT.js.map} +0 -0
- /package/dist/{WorkScheduleFieldDefault-23WY3SVD.js.map → WorkScheduleFieldDefault-2A2RCDXV.js.map} +0 -0
- /package/dist/{chunk-C2HZNBMZ.js.map → chunk-235XZBTZ.js.map} +0 -0
- /package/dist/{chunk-IRUWMZVH.js.map → chunk-2SD75ZFL.js.map} +0 -0
- /package/dist/{chunk-3RQSRU7O.js.map → chunk-335N2CVQ.js.map} +0 -0
- /package/dist/{chunk-5MH23AST.js.map → chunk-3BDWVNHX.js.map} +0 -0
- /package/dist/{chunk-BYTVIOOL.js.map → chunk-3DOSHTJS.js.map} +0 -0
- /package/dist/{chunk-3VTHNE4H.js.map → chunk-3HMBTPH7.js.map} +0 -0
- /package/dist/{chunk-6S5Q2OKC.js.map → chunk-3NC2JJM3.js.map} +0 -0
- /package/dist/{chunk-5TOSVOLY.js.map → chunk-3OHORFIX.js.map} +0 -0
- /package/dist/{chunk-FT4ZNBTA.js.map → chunk-3WRO57UF.js.map} +0 -0
- /package/dist/{chunk-VYAJQ25J.js.map → chunk-4AQMMGXK.js.map} +0 -0
- /package/dist/{chunk-JLM4O7ZW.js.map → chunk-4BFGSBOK.js.map} +0 -0
- /package/dist/{chunk-R2D32OB6.js.map → chunk-57QHHIWL.js.map} +0 -0
- /package/dist/{chunk-UU2IFOXR.js.map → chunk-57Y5XQ3D.js.map} +0 -0
- /package/dist/{chunk-3LMZ3SOP.js.map → chunk-5DPOL3DT.js.map} +0 -0
- /package/dist/{chunk-7XDU2VWN.js.map → chunk-5FST4WDH.js.map} +0 -0
- /package/dist/{chunk-ANZ2YYUE.js.map → chunk-6OLV37C2.js.map} +0 -0
- /package/dist/{chunk-RKP7EEAB.js.map → chunk-6UCTTR3O.js.map} +0 -0
- /package/dist/{chunk-CHIWBD6E.js.map → chunk-6X4SQPQF.js.map} +0 -0
- /package/dist/{chunk-F3DZUA7W.js.map → chunk-72EMS5WI.js.map} +0 -0
- /package/dist/{chunk-3BQVEYHE.js.map → chunk-77LDJPXF.js.map} +0 -0
- /package/dist/{chunk-BWM2MYPE.js.map → chunk-7Y4NHODP.js.map} +0 -0
- /package/dist/{chunk-F3UUYQGY.js.map → chunk-AAHPOX44.js.map} +0 -0
- /package/dist/{chunk-GBVBMT3H.js.map → chunk-ADL2ZH54.js.map} +0 -0
- /package/dist/{chunk-UZFEJMO6.js.map → chunk-AFTFDGSD.js.map} +0 -0
- /package/dist/{chunk-QSBXRKYE.js.map → chunk-ANPNVWCB.js.map} +0 -0
- /package/dist/{chunk-ORP6DY5I.js.map → chunk-APSKAXM2.js.map} +0 -0
- /package/dist/{chunk-TLJXBZII.js.map → chunk-BYD4TSDD.js.map} +0 -0
- /package/dist/{chunk-F2SGCGXL.js.map → chunk-C3MUUZC6.js.map} +0 -0
- /package/dist/{chunk-D737GUYZ.js.map → chunk-CWKXQZRT.js.map} +0 -0
- /package/dist/{chunk-QHJ3BYJN.js.map → chunk-DIPYFRXX.js.map} +0 -0
- /package/dist/{chunk-WGDZTF7Y.js.map → chunk-E7Y3YBZH.js.map} +0 -0
- /package/dist/{chunk-BTZ57COZ.js.map → chunk-EQOOVJ7K.js.map} +0 -0
- /package/dist/{chunk-IAR6BWUY.js.map → chunk-ESXBCNJM.js.map} +0 -0
- /package/dist/{chunk-ZQVVHVAG.js.map → chunk-FF5OB2GF.js.map} +0 -0
- /package/dist/{chunk-WYIU74JN.js.map → chunk-FFRROEPQ.js.map} +0 -0
- /package/dist/{chunk-UAEQLFPK.js.map → chunk-G3BWBRCE.js.map} +0 -0
- /package/dist/{chunk-LCUYP6VW.js.map → chunk-GGTV6IQ3.js.map} +0 -0
- /package/dist/{chunk-6IDUDCVS.js.map → chunk-GIBD2ZCJ.js.map} +0 -0
- /package/dist/{chunk-LCUURLXS.js.map → chunk-GNVGW65D.js.map} +0 -0
- /package/dist/{chunk-QSF4XFSV.js.map → chunk-GRLZH65T.js.map} +0 -0
- /package/dist/{chunk-WDPJIOLG.js.map → chunk-H4NJGAN4.js.map} +0 -0
- /package/dist/{chunk-EYZVDP6A.js.map → chunk-HRVJCCWJ.js.map} +0 -0
- /package/dist/{chunk-2LSLWFZS.js.map → chunk-I53YCEOC.js.map} +0 -0
- /package/dist/{chunk-SUVBETJS.js.map → chunk-I5NW7AQZ.js.map} +0 -0
- /package/dist/{chunk-PJTMFMRJ.js.map → chunk-I65OXH33.js.map} +0 -0
- /package/dist/{chunk-WHDUZGVW.js.map → chunk-IJS67A57.js.map} +0 -0
- /package/dist/{chunk-B3ESNTKY.js.map → chunk-ILPI4AFS.js.map} +0 -0
- /package/dist/{chunk-7NDAFJXR.js.map → chunk-JUSQGITN.js.map} +0 -0
- /package/dist/{chunk-GMSYO53D.js.map → chunk-KD7UBTZG.js.map} +0 -0
- /package/dist/{chunk-SNGQ2MKL.js.map → chunk-KFIUXU6I.js.map} +0 -0
- /package/dist/{chunk-YUUUI4FY.js.map → chunk-L7FN3XPX.js.map} +0 -0
- /package/dist/{chunk-4Y2INBAI.js.map → chunk-LJ32QPJF.js.map} +0 -0
- /package/dist/{chunk-5FGYC2RF.js.map → chunk-M7PZAJTR.js.map} +0 -0
- /package/dist/{chunk-KZ5ZQTBF.js.map → chunk-NVOUXFGX.js.map} +0 -0
- /package/dist/{chunk-5FJ64F6D.js.map → chunk-OFFUVHQJ.js.map} +0 -0
- /package/dist/{chunk-WZOVZYNI.js.map → chunk-OJ4TXF6G.js.map} +0 -0
- /package/dist/{chunk-5WTCN4WO.js.map → chunk-OT5JE2SM.js.map} +0 -0
- /package/dist/{chunk-6L77BWCI.js.map → chunk-P3TTGECC.js.map} +0 -0
- /package/dist/{chunk-2LR5N626.js.map → chunk-PAYZRCKY.js.map} +0 -0
- /package/dist/{chunk-CFPKRLGM.js.map → chunk-PJAHLEOR.js.map} +0 -0
- /package/dist/{chunk-Z7VNXKWB.js.map → chunk-PKORRCMX.js.map} +0 -0
- /package/dist/{chunk-QEHEOSJT.js.map → chunk-QUJBIRNY.js.map} +0 -0
- /package/dist/{chunk-POWC7LZN.js.map → chunk-R23HFBV4.js.map} +0 -0
- /package/dist/{chunk-3LELUHRO.js.map → chunk-R2XDTYPZ.js.map} +0 -0
- /package/dist/{chunk-FDTOQHOJ.js.map → chunk-R6VNUDBK.js.map} +0 -0
- /package/dist/{chunk-WB52GW3H.js.map → chunk-ROVMQ5NT.js.map} +0 -0
- /package/dist/{chunk-6IQJJCQ3.js.map → chunk-SDPYDCS7.js.map} +0 -0
- /package/dist/{chunk-JRRPMAUO.js.map → chunk-SUGZPBET.js.map} +0 -0
- /package/dist/{chunk-J4CHUIPC.js.map → chunk-UNBTPLJ6.js.map} +0 -0
- /package/dist/{chunk-TXOCMI5I.js.map → chunk-URNFXEOZ.js.map} +0 -0
- /package/dist/{chunk-WH3QR2W5.js.map → chunk-UWIUECXU.js.map} +0 -0
- /package/dist/{chunk-PNNOU6BC.js.map → chunk-WHY2WNWH.js.map} +0 -0
- /package/dist/{chunk-IUBHVGVV.js.map → chunk-WU66SHVJ.js.map} +0 -0
- /package/dist/{chunk-MZK2U65W.js.map → chunk-XLHTMWJ3.js.map} +0 -0
- /package/dist/{chunk-5J7DLDLW.js.map → chunk-XPLWBO73.js.map} +0 -0
- /package/dist/{chunk-OTBCLDGR.js.map → chunk-XS5NKKW4.js.map} +0 -0
- /package/dist/{chunk-A5XRBDDO.js.map → chunk-XXBQQH47.js.map} +0 -0
- /package/dist/{chunk-JQ3SLOUP.js.map → chunk-Y6FOZXIU.js.map} +0 -0
- /package/dist/{chunk-K67Q5476.js.map → chunk-YANQP45B.js.map} +0 -0
- /package/dist/{chunk-JMFCG5KA.js.map → chunk-YWLAZIIO.js.map} +0 -0
- /package/dist/{chunk-S2QXSX4Q.js.map → chunk-YYIAA47F.js.map} +0 -0
- /package/dist/{chunk-EQIWABAZ.js.map → chunk-ZJ55AKB6.js.map} +0 -0
- /package/dist/{chunk-ILX6RI7K.js.map → chunk-ZRD3M74X.js.map} +0 -0
- /package/dist/{chunk-H5OZSXSY.js.map → chunk-ZULOHKU6.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as e}from"./chunk-GNVGW65D.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 p({onSubmit:t}){let{terminationBag:o}=a(),n=i(async r=>{let m=await o?.parseFormValues(r);await t?.(m),o?.next()},"handleSubmit");return s(e,{defaultValues:o.fieldValues,onSubmit:n})}i(p,"TerminationDetailsForm");export{p as a};
|
|
2
|
+
//# sourceMappingURL=chunk-PKORRCMX.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e={data:{version:7,schema:{"x-rmt-meta":{jsfOldVersion:!0},additionalProperties:!1,properties:{country:{title:"Country",description:"",type:"string",oneOf:[],"x-jsf-presentation":{inputType:"select"}},region:{title:"Region",description:"",type:"string",oneOf:[],"x-jsf-presentation":{inputType:"select"}},currency:{title:"Currency",description:"",type:"string",oneOf:[],"x-jsf-presentation":{inputType:"select"}},currency_statement:{type:"null",title:"Company statement","x-jsf-presentation":{inputType:"hidden",hidden:!0,statement:{title:"<TITLE_PLACEHOLDER>",description:"<DESCRIPTION_PLACEHOLDER>",inputType:"statement",severity:"warning"},meta:{ignoreValue:!0}}},hiring_budget:{title:"How would you like to estimate the cost of hiring?",enum:["employee_annual_salary","my_hiring_budget"],type:"string",oneOf:[{title:"With the employee's annual salary",const:"employee_annual_salary"},{title:"With my hiring budget for this role",const:"my_hiring_budget"}],"x-jsf-presentation":{inputType:"radio"}},salary:{description:"",title:"Salary",type:"integer","x-jsf-presentation":{inputType:"money"}},estimation_title:{title:"Estimation title",description:'Employee title. e.g; "Software Engineer".',type:"string","x-jsf-presentation":{inputType:"text",hidden:!0}},salary_conversion:{description:"",title:"Salary",type:"integer","x-jsf-presentation":{inputType:"money",hidden:!0}},salary_converted:{description:"Whether the salary is expressed in regional or employer currency",title:"Salary in employer currency",type:"string","x-jsf-presentation":{inputType:"hidden",hidden:!0}},management:{title:"Management fee",type:"object",properties:{management_fee:{title:"Desired monthly management fee",type:"integer","x-jsf-presentation":{inputType:"money"}},_expanded:{type:"boolean",default:!1,"x-jsf-presentation":{inputType:"hidden",hidden:!0}}},"x-jsf-presentation":{inputType:"fieldset",hidden:!0}}},required:["country","currency","salary","salary_conversion","salary_converted"],type:"object","x-jsf-order":["country","region","currency","currency_statement","salary","estimation_title","management"]}}};export{e as a};
|
|
2
|
+
//# sourceMappingURL=chunk-QATHYZUV.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/flows/CostCalculator/jsonSchema.ts"],"sourcesContent":["export const jsonSchema = {\n data: {\n version: 7,\n schema: {\n 'x-rmt-meta': { jsfOldVersion: true },\n additionalProperties: false,\n properties: {\n country: {\n title: 'Country',\n description: '',\n type: 'string',\n oneOf: [],\n 'x-jsf-presentation': {\n inputType: 'select',\n },\n },\n region: {\n title: 'Region',\n description: '',\n type: 'string',\n oneOf: [],\n 'x-jsf-presentation': {\n inputType: 'select',\n },\n },\n currency: {\n title: 'Currency',\n description: '',\n type: 'string',\n oneOf: [],\n 'x-jsf-presentation': {\n inputType: 'select',\n },\n },\n currency_statement: {\n type: 'null',\n title: 'Company statement',\n 'x-jsf-presentation': {\n inputType: 'hidden',\n hidden: true,\n statement: {\n title: '<TITLE_PLACEHOLDER>',\n description: '<DESCRIPTION_PLACEHOLDER>',\n inputType: 'statement',\n severity: 'warning',\n },\n meta: {\n ignoreValue: true,\n },\n },\n },\n hiring_budget: {\n title: 'How would you like to estimate the cost of hiring?',\n enum: ['employee_annual_salary', 'my_hiring_budget'],\n type: 'string',\n oneOf: [\n {\n title: \"With the employee's annual salary\",\n const: 'employee_annual_salary',\n },\n {\n title: 'With my hiring budget for this role',\n const: 'my_hiring_budget',\n },\n ],\n 'x-jsf-presentation': {\n inputType: 'radio',\n },\n },\n salary: {\n description: '',\n title: 'Salary',\n type: 'integer',\n 'x-jsf-presentation': {\n inputType: 'money',\n },\n },\n estimation_title: {\n title: 'Estimation title',\n description: 'Employee title. e.g; \"Software Engineer\".',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'text',\n hidden: true,\n },\n },\n salary_conversion: {\n description: '',\n title: 'Salary',\n type: 'integer',\n 'x-jsf-presentation': {\n inputType: 'money',\n hidden: true,\n },\n },\n salary_converted: {\n description:\n 'Whether the salary is expressed in regional or employer currency',\n title: 'Salary in employer currency',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'hidden',\n hidden: true,\n },\n },\n management: {\n title: 'Management fee',\n type: 'object',\n properties: {\n management_fee: {\n title: 'Desired monthly management fee',\n type: 'integer',\n 'x-jsf-presentation': {\n inputType: 'money',\n },\n },\n _expanded: {\n type: 'boolean',\n default: false,\n 'x-jsf-presentation': {\n inputType: 'hidden',\n hidden: true,\n },\n },\n },\n 'x-jsf-presentation': {\n inputType: 'fieldset',\n hidden: true,\n },\n },\n },\n required: [\n 'country',\n 'currency',\n 'salary',\n 'salary_conversion',\n 'salary_converted',\n ],\n type: 'object',\n 'x-jsf-order': [\n 'country',\n 'region',\n 'currency',\n 'currency_statement',\n 'salary',\n 'estimation_title',\n 'management',\n ],\n },\n },\n};\n"],"mappings":"AAAO,IAAMA,EAAa,CACxB,KAAM,CACJ,QAAS,EACT,OAAQ,CACN,aAAc,CAAE,cAAe,EAAK,EACpC,qBAAsB,GACtB,WAAY,CACV,QAAS,CACP,MAAO,UACP,YAAa,GACb,KAAM,SACN,MAAO,CAAC,EACR,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,OAAQ,CACN,MAAO,SACP,YAAa,GACb,KAAM,SACN,MAAO,CAAC,EACR,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,SAAU,CACR,MAAO,WACP,YAAa,GACb,KAAM,SACN,MAAO,CAAC,EACR,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,mBAAoB,CAClB,KAAM,OACN,MAAO,oBACP,qBAAsB,CACpB,UAAW,SACX,OAAQ,GACR,UAAW,CACT,MAAO,sBACP,YAAa,4BACb,UAAW,YACX,SAAU,SACZ,EACA,KAAM,CACJ,YAAa,EACf,CACF,CACF,EACA,cAAe,CACb,MAAO,qDACP,KAAM,CAAC,yBAA0B,kBAAkB,EACnD,KAAM,SACN,MAAO,CACL,CACE,MAAO,oCACP,MAAO,wBACT,EACA,CACE,MAAO,sCACP,MAAO,kBACT,CACF,EACA,qBAAsB,CACpB,UAAW,OACb,CACF,EACA,OAAQ,CACN,YAAa,GACb,MAAO,SACP,KAAM,UACN,qBAAsB,CACpB,UAAW,OACb,CACF,EACA,iBAAkB,CAChB,MAAO,mBACP,YAAa,4CACb,KAAM,SACN,qBAAsB,CACpB,UAAW,OACX,OAAQ,EACV,CACF,EACA,kBAAmB,CACjB,YAAa,GACb,MAAO,SACP,KAAM,UACN,qBAAsB,CACpB,UAAW,QACX,OAAQ,EACV,CACF,EACA,iBAAkB,CAChB,YACE,mEACF,MAAO,8BACP,KAAM,SACN,qBAAsB,CACpB,UAAW,SACX,OAAQ,EACV,CACF,EACA,WAAY,CACV,MAAO,iBACP,KAAM,SACN,WAAY,CACV,eAAgB,CACd,MAAO,iCACP,KAAM,UACN,qBAAsB,CACpB,UAAW,OACb,CACF,EACA,UAAW,CACT,KAAM,UACN,QAAS,GACT,qBAAsB,CACpB,UAAW,SACX,OAAQ,EACV,CACF,CACF,EACA,qBAAsB,CACpB,UAAW,WACX,OAAQ,EACV,CACF,CACF,EACA,SAAU,CACR,UACA,WACA,SACA,oBACA,kBACF,EACA,KAAM,SACN,cAAe,CACb,UACA,SACA,WACA,qBACA,SACA,mBACA,YACF,CACF,CACF,CACF","names":["jsonSchema"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as d}from"./chunk-74ZX4KQG.js";import{a as n}from"./chunk-F37FQXEZ.js";import{d as c}from"./chunk-H6XROFQT.js";import{a as I}from"./chunk-AFTFDGSD.js";import{a as r}from"./chunk-P37U34EQ.js";import{useEffect as p,useId as v}from"react";import{jsx as h}from"react/jsx-runtime";var V=r(({employmentId:u,jsfModify:l,defaultValues:s,render:a})=>{let S=v(),e=d({employmentId:u,jsfModify:l}),o=I({handleValidation:e.handleValidation,checkFieldUpdates:e.checkFieldUpdates,defaultValues:{currency:"",periodicity:"",start_date:"",number:"",note:"",...s}}),{isContractorOfRecord:i}=e;return p(()=>{if(!i)return;let t=o.getValues("periodicity");t&&t!==c&&o.setValue("periodicity","")},[i,o]),h(n.Provider,{value:{form:o,formId:S,invoiceScheduleBag:e},children:a(e)})},"InvoiceScheduleFlow");export{V as a};
|
|
2
|
+
//# sourceMappingURL=chunk-QIV5OKOI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/flows/InvoiceSchedule/InvoiceScheduleFlow.tsx"],"sourcesContent":["import React, { useEffect, useId } from 'react';\nimport { useJSONSchemaForm } from '@/src/components/form/useJSONSchemaForm';\nimport { ONE_TIME_PERIODICITY } from '@/src/common/invoice-schedules';\nimport { InvoiceScheduleContext } from '@/src/flows/InvoiceSchedule/context';\nimport { useInvoiceSchedule } from '@/src/flows/InvoiceSchedule/hooks';\nimport { UseInvoiceScheduleOptions } from '@/src/flows/InvoiceSchedule/types';\n\nexport type InvoiceScheduleFlowProps = {\n /**\n * The contractor to create the schedule for. Sourcing it is yours — a picker of your own, a\n * route param, the row the user clicked; the flow only ever acts on this one contractor.\n */\n employmentId: string;\n /**\n * Modify the generated JSON-schema form fields.\n */\n jsfModify?: UseInvoiceScheduleOptions['jsfModify'];\n /**\n * Default values for the form fields.\n */\n defaultValues?: Record<string, unknown>;\n render: (\n invoiceScheduleBag: ReturnType<typeof useInvoiceSchedule>,\n ) => React.ReactNode;\n};\n\n/**\n * Standalone screen for creating a contractor invoice schedule, mirroring the platform's\n * single-screen modal. Mount it anywhere — it does not depend on the onboarding flow.\n */\nexport const InvoiceScheduleFlow = ({\n employmentId,\n jsfModify,\n defaultValues,\n render,\n}: InvoiceScheduleFlowProps) => {\n const formId = useId();\n const invoiceScheduleBag = useInvoiceSchedule({\n employmentId,\n jsfModify,\n });\n\n // `useJSONSchemaForm` subscribes to form changes and feeds them back through\n // `checkFieldUpdates`, which is what makes the schema's conditionals — the item-row\n // reveal and the semi-monthly day fields — re-evaluate as the form is filled in.\n const form = useJSONSchemaForm({\n handleValidation: invoiceScheduleBag.handleValidation,\n checkFieldUpdates: invoiceScheduleBag.checkFieldUpdates,\n defaultValues: {\n currency: '',\n periodicity: '',\n start_date: '',\n number: '',\n note: '',\n ...defaultValues,\n },\n });\n\n // Contractor of Record is only known once the employment request resolves, so the form\n // offers the recurring frequencies until then and a frequency chosen in that window\n // outlives the schema shrinking to one-off. Validation does reject it — the field's `oneOf`\n // no longer holds it — but the select renders blank in the meantime and the user only finds\n // out on submit, so drop it as soon as the restriction is known.\n const { isContractorOfRecord } = invoiceScheduleBag;\n\n useEffect(() => {\n if (!isContractorOfRecord) return;\n\n const periodicity = form.getValues('periodicity');\n if (periodicity && periodicity !== ONE_TIME_PERIODICITY) {\n form.setValue('periodicity', '');\n }\n }, [isContractorOfRecord, form]);\n\n return (\n <InvoiceScheduleContext.Provider\n value={{\n form,\n formId,\n invoiceScheduleBag,\n }}\n >\n {render(invoiceScheduleBag)}\n </InvoiceScheduleContext.Provider>\n );\n};\n"],"mappings":"wMAAA,OAAgB,aAAAA,EAAW,SAAAC,MAAa,QA2EpC,cAAAC,MAAA,oBA7CG,IAAMC,EAAsBC,EAAA,CAAC,CAClC,aAAAC,EACA,UAAAC,EACA,cAAAC,EACA,OAAAC,CACF,IAAgC,CAC9B,IAAMC,EAASC,EAAM,EACfC,EAAqBC,EAAmB,CAC5C,aAAAP,EACA,UAAAC,CACF,CAAC,EAKKO,EAAOC,EAAkB,CAC7B,iBAAkBH,EAAmB,iBACrC,kBAAmBA,EAAmB,kBACtC,cAAe,CACb,SAAU,GACV,YAAa,GACb,WAAY,GACZ,OAAQ,GACR,KAAM,GACN,GAAGJ,CACL,CACF,CAAC,EAOK,CAAE,qBAAAQ,CAAqB,EAAIJ,EAEjC,OAAAK,EAAU,IAAM,CACd,GAAI,CAACD,EAAsB,OAE3B,IAAME,EAAcJ,EAAK,UAAU,aAAa,EAC5CI,GAAeA,IAAgBC,GACjCL,EAAK,SAAS,cAAe,EAAE,CAEnC,EAAG,CAACE,EAAsBF,CAAI,CAAC,EAG7BX,EAACiB,EAAuB,SAAvB,CACC,MAAO,CACL,KAAAN,EACA,OAAAJ,EACA,mBAAAE,CACF,EAEC,SAAAH,EAAOG,CAAkB,EAC5B,CAEJ,EAvDmC","names":["useEffect","useId","jsx","InvoiceScheduleFlow","__name","employmentId","jsfModify","defaultValues","render","formId","useId","invoiceScheduleBag","useInvoiceSchedule","form","useJSONSchemaForm","isContractorOfRecord","useEffect","periodicity","ONE_TIME_PERIODICITY","InvoiceScheduleContext"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Z as i,ia as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{Z as i,ia as s}from"./chunk-DAUDKN32.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-QUJBIRNY.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{H as l,T as a,d as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{H as l,T as a,d as s}from"./chunk-DAUDKN32.js";import{e as o}from"./chunk-H2O4CVKF.js";import{a as t}from"./chunk-P37U34EQ.js";import{useMutation as y,useQuery as i}from"@tanstack/react-query";var h=t(({employmentId:e,queryParams:n,enabled:m=!0})=>{let{client:r}=o();return i({queryKey:["employment",e],retry:!1,queryFn:t(()=>a({client:r,headers:{Authorization:""},path:{employment_id:e},query:n}),"queryFn"),enabled:!!e&&m,select:t(({data:p})=>p?.data?.employment,"select")})},"useEmploymentQuery"),b=t(({employmentId:e,enabled:n=!0})=>{let{client:m}=o();return i({queryKey:["employment",e,"basic-information"],retry:!1,queryFn:t(()=>l({client:m,headers:{Authorization:""},path:{employment_id:e}}),"queryFn"),enabled:!!e&&n,select:t(({data:r})=>r?.data?.employment,"select")})},"useBasicInformationQuery"),R=t(()=>{let{client:e}=o();return y({mutationFn:t(({employmentId:n})=>s({client:e,headers:{Authorization:""},path:{employment_id:n}}),"mutationFn")})},"useDiscardEmploymentMutation");export{h as a,b,R as c};
|
|
2
|
+
//# sourceMappingURL=chunk-R23HFBV4.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as m}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as m}from"./chunk-LY5PCHQ2.js";import{a as r}from"./chunk-3CGFAN3F.js";import{a}from"./chunk-H66IKMI4.js";import{a as c}from"./chunk-Y6FOZXIU.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-R2XDTYPZ.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{b as m}from"./chunk-F37FQXEZ.js";import{n as i}from"./chunk-C4HFMTSB.js";import{b as r}from"./chunk-H2O4CVKF.js";import{a as n}from"./chunk-P37U34EQ.js";import{jsx as d}from"react/jsx-runtime";function p({children:u,...t}){let{formId:s,invoiceScheduleBag:o}=m(),{components:c}=r(),e=c?.button;if(!e)throw new Error("Button component not found");return d(e,{...t,type:"submit",className:i("RemoteFlows__InvoiceScheduleForm__SubmitButton",t.className),form:s,disabled:t.disabled||o?.isSubmitting||!o?.employmentId,children:u})}n(p,"InvoiceScheduleSubmitButton");export{p as a};
|
|
2
|
+
//# sourceMappingURL=chunk-R4E37FVX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/flows/InvoiceSchedule/InvoiceScheduleSubmitButton.tsx"],"sourcesContent":["import { ButtonHTMLAttributes, PropsWithChildren } from 'react';\nimport { useInvoiceScheduleContext } from '@/src/flows/InvoiceSchedule/context';\nimport { useFormFields } from '@/src/context';\nimport { cn } from '@/src/lib/utils';\n\nexport function InvoiceScheduleSubmitButton({\n children,\n ...props\n}: PropsWithChildren<ButtonHTMLAttributes<HTMLButtonElement>> &\n Record<string, unknown>) {\n const { formId, invoiceScheduleBag } = useInvoiceScheduleContext();\n const { components } = useFormFields();\n\n const CustomButton = components?.button;\n if (!CustomButton) {\n throw new Error(`Button component not found`);\n }\n\n return (\n <CustomButton\n {...props}\n type='submit'\n className={cn(\n 'RemoteFlows__InvoiceScheduleForm__SubmitButton',\n props.className,\n )}\n form={formId}\n // Mirrors the preview button: both endpoints are scoped to an employment, so with no\n // contractor to create for there is nothing to submit.\n disabled={\n props.disabled ||\n invoiceScheduleBag?.isSubmitting ||\n !invoiceScheduleBag?.employmentId\n }\n >\n {children}\n </CustomButton>\n );\n}\n"],"mappings":"gKAmBI,cAAAA,MAAA,oBAdG,SAASC,EAA4B,CAC1C,SAAAC,EACA,GAAGC,CACL,EAC2B,CACzB,GAAM,CAAE,OAAAC,EAAQ,mBAAAC,CAAmB,EAAIC,EAA0B,EAC3D,CAAE,WAAAC,CAAW,EAAIC,EAAc,EAE/BC,EAAeF,GAAY,OACjC,GAAI,CAACE,EACH,MAAM,IAAI,MAAM,4BAA4B,EAG9C,OACET,EAACS,EAAA,CACE,GAAGN,EACJ,KAAK,SACL,UAAWO,EACT,iDACAP,EAAM,SACR,EACA,KAAMC,EAGN,SACED,EAAM,UACNE,GAAoB,cACpB,CAACA,GAAoB,aAGtB,SAAAH,EACH,CAEJ,CAjCgBS,EAAAV,EAAA","names":["jsx","InvoiceScheduleSubmitButton","children","props","formId","invoiceScheduleBag","useInvoiceScheduleContext","components","useFormFields","CustomButton","cn","__name"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as N,b as j,c as D,d as O}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as N,b as j,c as D,d as O}from"./chunk-AAHPOX44.js";import{a as I}from"./chunk-A3LRPGV3.js";import{b as v}from"./chunk-NW3D7CPK.js";import{b as C,h as p,i as b,u as R,v as F}from"./chunk-C4HFMTSB.js";import{a as k}from"./chunk-M3TA5X2H.js";import{a as c}from"./chunk-P37U34EQ.js";import{useMemo as S,useRef as ee,useState as A}from"react";var pe=c(({countryCode:L,options:u,initialValues:l})=>{let P=N(),g=j(),{mutateAsync:q}=C(P),{mutateAsync:J}=C(g),[y,U]=A(L||null),[f,B]=A(null),w=ee({company_basic_information:{},address_details:{}}),{fieldValues:V,stepState:a,setFieldValues:W,previousStep:z,nextStep:G,goToStep:H}=k(I),{companyBasicInformationForm:d,isLoading:K}=D({jsfModify:u?.jsfModify?.company_basic_information,queryOptions:{enabled:a.currentStep.name==="company_basic_information"}}),{data:s,isLoading:Q}=O({countryCode:y,fieldValues:a.currentStep.name==="address_details"?{...a.values?.address_details||{},...V}:a.values?.address_details||{},options:{...u,jsfModify:u?.jsfModify?.address_details,queryOptions:{enabled:a.currentStep.name==="address_details"&&!!y&&!!f}}}),i=S(()=>({company_basic_information:d?.fields||[],address_details:s?.fields||[]}),[d?.fields,s?.fields]),X={company_basic_information:null,address_details:s?.meta?.["x-jsf-fieldsets"]||null},h=S(()=>b(i.company_basic_information,{...l,country_code:y||l?.country_code||""}),[i.company_basic_information,y,l]),E=S(()=>b(i.address_details,l||{}),[i.address_details,l]),Y=S(()=>({company_basic_information:h,address_details:E}),[h,E]),Z=c(o=>{H(o)},"goTo"),M=c(async o=>{let r=a.currentStep.name,e=i[r];return d&&r==="company_basic_information"?await p(o,e,{isPartialValidation:!1}):s&&r==="address_details"?await p(o,e,{isPartialValidation:!1}):{}},"parseFormValues");async function $(o){let r=a.currentStep.name,e=await M(o);switch(r in w.current&&(w.current[r]=R(e,i[r])),a.currentStep.name){case"company_basic_information":{if(U(e.country_code),f)return Promise.resolve({data:{countryCode:e.country_code??"",companyOwnerEmail:e.company_owner_email??"",companyOwnerName:e.company_owner_name??"",desiredCurrency:e.desired_currency??"",name:e.name??"",phoneNumber:e.phone_number??"",taxNumber:e.tax_number??""}});let x={country_code:e.country_code,company_owner_email:e.company_owner_email,company_owner_name:e.company_owner_name,desired_currency:e.desired_currency,name:e.name,phone_number:e.phone_number,tax_number:e.tax_number,terms_of_service_accepted_at:v()},n=await q(x);if(n.error)return Promise.resolve({data:null,error:n.error,rawError:n.rawError,fieldErrors:n.fieldErrors});let m=n.data?.data,_,t;if(m)if("data"in m&&m.data){let T=m.data.company;t=T,_=T?.id}else"company"in m&&(t=m.company,_=t?.id);return _&&B(_),Promise.resolve({data:{countryCode:t?.country_code??e.country_code??"",companyOwnerEmail:t?.company_owner_email??e.company_owner_email??"",companyOwnerName:t?.company_owner_name??e.company_owner_name??"",desiredCurrency:t?.desired_currency??e.desired_currency??"",name:t?.name??e.name??"",phoneNumber:t?.phone_number??e.phone_number??"",taxNumber:t?.tax_number??e.tax_number??""}})}case"address_details":{if(!f)throw F("Company ID is required to update address details");let n=await J({companyId:f,payload:{address_details:e},jsonSchemaVersion:u?.jsonSchemaVersion?.form_schema?.address_details});return n.error?Promise.resolve({data:null,error:n.error,rawError:n.rawError,fieldErrors:n.fieldErrors}):Promise.resolve({data:n.data})}default:throw F("Invalid step state")}}return c($,"onSubmit"),{isLoading:K||Q,isSubmitting:P.isPending||g.isPending,fieldValues:V,stepState:a,checkFieldUpdates:W,back:z,next:G,goTo:Z,onSubmit:$,fields:i[a.currentStep.name],meta:{fields:w.current,fieldsets:X[a.currentStep.name]},parseFormValues:M,handleValidation:c(async o=>{if(a.currentStep.name==="company_basic_information"&&d){let r=await p(o,d.fields,{isPartialValidation:!1});return d.handleValidation(r)}if(a.currentStep.name==="address_details"&&s){let r=await p(o,s.fields,{isPartialValidation:!1});return s.handleValidation(r)}return null},"handleValidation"),initialValues:Y}},"useCreateCompany");export{pe as a};
|
|
2
|
+
//# sourceMappingURL=chunk-R6VNUDBK.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as s}from"./chunk-FFRROEPQ.js";import{b as a}from"./chunk-Q3ALCPJN.js";import{x as i}from"./chunk-C4HFMTSB.js";import{a as t}from"./chunk-P37U34EQ.js";import{jsx as f}from"react/jsx-runtime";function h({components:c,onSubmit:d,onSuccess:m,onError:u}){let{contractorOnboardingBag:r}=a(),l=t(async(n,S)=>{try{let o=await r.parseFormValues(n);await d?.(o);let e=await r.onSubmit(n);if(e?.data){await m?.(e.data),r?.next();return}}catch(o){let e=i(o,r.meta?.fields?.create_invoice_schedule,S);u?.(e)}},"handleSubmit"),p=r.stepState.values?.create_invoice_schedule||r.initialValues.create_invoice_schedule;return f(s,{components:c,defaultValues:p,onSubmit:l})}t(h,"CreateInvoiceScheduleStep");export{h as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ROVMQ5NT.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as P,b as k,c as N}from"./chunk-B3MEKP45.js";import{a as C}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as P,b as k,c as N}from"./chunk-B3MEKP45.js";import{a as C}from"./chunk-E7Y3YBZH.js";import{a as u,b as F}from"./chunk-LKHRHBFP.js";import{e as v,f as x,g as b,i as D,j as w}from"./chunk-C7KVPEVX.js";import{n as a}from"./chunk-C4HFMTSB.js";import{a as n}from"./chunk-P37U34EQ.js";import{CalendarIcon as T}from"lucide-react";import{format as Y}from"date-fns";import{ChevronLeft as O,ChevronRight as V}from"lucide-react";import{DayPicker as B}from"react-day-picker";import{jsx as p}from"react/jsx-runtime";function R({className:t,classNames:m,showOutsideDays:c=!0,...r}){return p(B,{showOutsideDays:c,className:a("p-3",t),classNames:{months:"flex flex-col sm:flex-row gap-2",month:"flex flex-col gap-4",caption:"flex justify-center pt-1 relative items-center w-full",caption_label:"text-sm font-medium",nav:"flex items-center gap-1",nav_button:a(u({variant:"outline"}),"size-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-x-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:a("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-range-end)]:rounded-r-md",r.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:a(u({variant:"ghost"}),"size-8 p-0 font-normal aria-selected:opacity-100"),day_range_start:"day-range-start aria-selected:bg-primary aria-selected:text-primary-foreground",day_range_end:"day-range-end aria-selected:bg-primary aria-selected:text-primary-foreground",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...m},components:{IconLeft:n(({className:l,...o})=>p(O,{className:a("size-4",l),...o}),"IconLeft"),IconRight:n(({className:l,...o})=>p(V,{className:a("size-4",l),...o}),"IconRight")},...r})}n(R,"Calendar");import{useState as $}from"react";import{Fragment as E,jsx as e,jsxs as f}from"react/jsx-runtime";function re({field:t,fieldData:m,fieldState:c}){let{name:r,label:l,description:o,minDate:g,maxDate:y}=m,d=g?new Date(g):void 0,i=y?new Date(y):void 0,[M,_]=$(!1),I=new Date().getFullYear(),h=d?d.getFullYear():1900,L=Math.max(h,i?i.getFullYear():I+10);return f(v,{"data-field":r,className:`flex flex-col RemoteFlows__DatePickerField__Item__${r}`,children:[e(x,{className:"RemoteFlows__DatePickerField__Label",children:l}),f(P,{open:M,onOpenChange:_,children:[e(k,{asChild:!0,children:e(b,{children:e("div",{children:f(F,{type:"button",variant:"outline",className:a("w-full pl-3 text-left font-normal",!t.value&&"text-muted-foreground"),"data-testid":`date-picker-button-${r}`,children:[t.value&&e(E,{children:Y(t.value,"yyyy-MM-dd")}),e(T,{className:"ml-auto h-4 w-4 opacity-50"})]})})})}),e(N,{className:"w-auto p-0 RemoteFlows__DatepickerField__PopoverContent",align:"start",children:e(R,{mode:"single",captionLayout:"dropdown",fromYear:h,toYear:L,className:"RemoteFlows__DatepickerField__Calendar",selected:t.value?new Date(t.value):void 0,onDayClick:s=>{let z=Y(s,"yyyy-MM-dd");t.onChange(z),_(!1)},defaultMonth:t.value?new Date(t.value):i??d,disabled:s=>!!(d&&s<d||i&&s>i)})})]}),o?e(D,{helpCenter:e(C,{helpCenter:m.meta?.helpCenter}),children:o}):null,c.error&&e(w,{className:"RemoteFlows__DatePickerField__Error"})]})}n(re,"DatePickerFieldDefault");export{re as a};
|
|
2
|
+
//# sourceMappingURL=chunk-SDPYDCS7.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as n}from"./chunk-P37U34EQ.js";import b from"react";var be=n(t=>t.type==="checkbox","isCheckBoxInput"),de=n(t=>t instanceof Date,"isDateObject"),Q=n(t=>t==null,"isNullOrUndefined"),At=n(t=>typeof t=="object","isObjectType"),B=n(t=>!Q(t)&&!Array.isArray(t)&&At(t)&&!de(t),"isObject"),xt=n(t=>B(t)&&t.target?be(t.target)?t.target.checked:t.target.value:t,"getEventValue"),St=n((t,i)=>i.split(".").some((e,s,o)=>!isNaN(Number(e))&&t.has(o.slice(0,s).join("."))),"isNameInFieldArray"),Ht=n(t=>{let i=t.constructor&&t.constructor.prototype;return B(i)&&i.hasOwnProperty("isPrototypeOf")},"isPlainObject"),ze=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function M(t){if(t instanceof Date)return new Date(t);let i=typeof FileList<"u"&&t instanceof FileList;if(ze&&(t instanceof Blob||i))return t;let e=Array.isArray(t);if(!e&&!(B(t)&&Ht(t)))return t;let s=e?[]:Object.create(Object.getPrototypeOf(t));for(let o in t)Object.prototype.hasOwnProperty.call(t,o)&&(s[o]=M(t[o]));return s}n(M,"cloneObject");var Se=n(t=>/^\w*$/.test(t),"isKey"),T=n(t=>t===void 0,"isUndefined"),pe=n(t=>Array.isArray(t)?t.filter(Boolean):[],"compact"),Je=n(t=>pe(t.replace(/["|']|\]/g,"").split(/\.|\[/)),"stringToPath"),y=n((t,i,e)=>{if(!i||!B(t))return e;let o=(Se(i)?[i]:Je(i)).reduce((u,c)=>Q(u)?void 0:u[c],t);return T(o)||o===t?T(t[i])?e:t[i]:o},"get"),Z=n(t=>typeof t=="boolean","isBoolean"),z=n(t=>typeof t=="function","isFunction"),R=n((t,i,e)=>{let s=-1,o=Se(i)?[i]:Je(i),u=o.length,c=u-1;for(;++s<u;){let d=o[s],p=e;if(s!==c){let S=t[d];p=B(S)||Array.isArray(S)?S:isNaN(+o[s+1])?{}:[]}if(d==="__proto__"||d==="constructor"||d==="prototype")return;t[d]=p,t=t[d]}},"set"),oe={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},te={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},ie={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},Me="form",pt="root",Qe=b.createContext(null);Qe.displayName="HookFormControlContext";var we=n(()=>b.useContext(Qe),"useFormControlContext"),wt=n((t,i,e,s=!0)=>{let o={defaultValues:i._defaultValues};for(let u in t)Object.defineProperty(o,u,{get:n(()=>{let c=u;return i._proxyFormState[c]!==te.all&&(i._proxyFormState[c]=!s||te.all),e&&(e[c]=!0),t[c]},"get")});return o},"getProxyFormState"),ke=typeof window<"u"?b.useLayoutEffect:b.useEffect;function $t(t){let i=we(),{control:e=i,disabled:s,name:o,exact:u}=t||{},[c,d]=b.useState(e._formState),p=b.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return ke(()=>e._subscribe({name:o,formState:p.current,exact:u,callback:n(S=>{!s&&d({...e._formState,...S})},"callback")}),[o,s,u]),b.useEffect(()=>{p.current.isValid&&e._setValid(!0)},[e]),b.useMemo(()=>wt(c,e,p.current,!1),[c,e])}n($t,"useFormState");var K=n(t=>typeof t=="string","isString"),$e=n((t,i,e,s,o)=>K(t)?(s&&i.watch.add(t),y(e,t,o)):Array.isArray(t)?t.map(u=>(s&&i.watch.add(u),y(e,u))):(s&&(i.watchAll=!0),e),"generateWatchOutput"),Ge=n(t=>Q(t)||!At(t),"isPrimitive");function ee(t,i,e=new WeakSet){if(t===i)return!0;if(Ge(t)||Ge(i))return Object.is(t,i);if(de(t)&&de(i))return Object.is(t.getTime(),i.getTime());let s=Object.keys(t),o=Object.keys(i);if(s.length!==o.length)return!1;if(e.has(t)||e.has(i))return!0;e.add(t),e.add(i);for(let u of s){let c=t[u];if(!(u in i))return!1;if(u!=="ref"){let d=i[u];if(de(c)&&de(d)||(B(c)||Array.isArray(c))&&(B(d)||Array.isArray(d))?!ee(c,d,e):!Object.is(c,d))return!1}}return!0}n(ee,"deepEqual");function Gt(t){let i=we(),{control:e=i,name:s,defaultValue:o,disabled:u,exact:c,compute:d}=t||{},p=b.useRef(o),S=b.useRef(d),q=b.useRef(void 0),V=b.useRef(e),D=b.useRef(s);S.current=d;let[A,W]=b.useState(()=>{let m=e._getWatch(s,p.current);return S.current?S.current(m):m}),I=b.useCallback(m=>{let _=$e(s,e._names,m||e._formValues,!1,p.current);return S.current?S.current(_):_},[e._formValues,e._names,s]),L=b.useCallback(m=>{if(!u){let _=$e(s,e._names,m||e._formValues,!1,p.current);if(S.current){let F=S.current(_);ee(F,q.current)||(W(F),q.current=F)}else W(_)}},[e._formValues,e._names,u,s]);ke(()=>((V.current!==e||!ee(D.current,s))&&(V.current=e,D.current=s,L()),e._subscribe({name:s,formState:{values:!0},exact:c,callback:n(m=>{L(m.values)},"callback")})),[e,c,s,L]),b.useEffect(()=>e._removeUnmounted());let N=V.current!==e,x=D.current,H=b.useMemo(()=>{if(u)return null;let m=!N&&!ee(x,s);return N||m?I():null},[u,N,s,x,I]);return H!==null?H:A}n(Gt,"useWatch");function jt(t){let i=we(),{name:e,disabled:s,control:o=i,shouldUnregister:u,defaultValue:c,exact:d=!0}=t,p=St(o._names.array,e),S=b.useMemo(()=>y(o._formValues,e,y(o._defaultValues,e,c)),[o,e,c]),q=Gt({control:o,name:e,defaultValue:S,exact:d}),V=$t({control:o,name:e,exact:d}),D=b.useRef(t),A=b.useRef(void 0),W=b.useRef(o.register(e,{...t.rules,value:q,...Z(t.disabled)?{disabled:t.disabled}:{}}));D.current=t;let I=b.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:n(()=>!!y(V.errors,e),"get")},isDirty:{enumerable:!0,get:n(()=>!!y(V.dirtyFields,e),"get")},isTouched:{enumerable:!0,get:n(()=>!!y(V.touchedFields,e),"get")},isValidating:{enumerable:!0,get:n(()=>!!y(V.validatingFields,e),"get")},error:{enumerable:!0,get:n(()=>y(V.errors,e),"get")}}),[V,e]),L=b.useCallback(m=>W.current.onChange({target:{value:xt(m),name:e},type:oe.CHANGE}),[e]),N=b.useCallback(()=>W.current.onBlur({target:{value:y(o._formValues,e),name:e},type:oe.BLUR}),[e,o._formValues]),x=b.useCallback(m=>{let _=y(o._fields,e);_&&_._f&&m&&(_._f.ref={focus:n(()=>z(m.focus)&&m.focus(),"focus"),select:n(()=>z(m.select)&&m.select(),"select"),setCustomValidity:n(F=>z(m.setCustomValidity)&&m.setCustomValidity(F),"setCustomValidity"),reportValidity:n(()=>z(m.reportValidity)&&m.reportValidity(),"reportValidity")})},[o._fields,e]),H=b.useMemo(()=>({name:e,value:q,...Z(s)||V.disabled?{disabled:V.disabled||s}:{},onChange:L,onBlur:N,ref:x}),[e,s,V.disabled,L,N,x,q]);return b.useEffect(()=>{let m=o._options.shouldUnregister||u,_=A.current;_&&_!==e&&!p&&o.unregister(_),o.register(e,{...D.current.rules,...Z(D.current.disabled)?{disabled:D.current.disabled}:{}});let F=n((k,re)=>{let $=y(o._fields,k);$&&$._f&&($._f.mount=re)},"updateMounted");if(F(e,!0),m){let k=M(y(o._options.defaultValues,e,D.current.defaultValue));R(o._defaultValues,e,k),T(y(o._formValues,e))&&R(o._formValues,e,k)}return!p&&o.register(e),A.current=e,()=>{(p?m&&!o._state.action:m)?o.unregister(e):F(e,!1)}},[e,o,p,u]),b.useEffect(()=>{o._setDisabledField({disabled:s,name:e})},[s,e,o]),b.useMemo(()=>({field:H,formState:V,fieldState:I}),[H,V,I])}n(jt,"useController");var dr=n(t=>t.render(jt(t)),"Controller");var Xe=b.createContext(null);Xe.displayName="HookFormContext";var fr=n(()=>b.useContext(Xe),"useFormContext"),yr=n(t=>{let{children:i,watch:e,getValues:s,getFieldState:o,setError:u,clearErrors:c,setValue:d,trigger:p,formState:S,resetField:q,reset:V,handleSubmit:D,unregister:A,control:W,register:I,setFocus:L,subscribe:N}=t,x=b.useMemo(()=>({watch:e,getValues:s,getFieldState:o,setError:u,clearErrors:c,setValue:d,trigger:p,formState:S,resetField:q,reset:V,handleSubmit:D,unregister:A,control:W,register:I,setFocus:L,subscribe:N}),[c,W,S,o,s,D,I,V,q,u,L,d,N,p,A,e]);return b.createElement(Xe.Provider,{value:x},b.createElement(Qe.Provider,{value:x.control},i))},"FormProvider");var Kt=n((t,i,e,s,o)=>i?{...e[t],types:{...e[t]&&e[t].types?e[t].types:{},[s]:o||!0}}:{},"appendErrors"),X=n(t=>Array.isArray(t)?t:[t],"convertToArrayPayload"),yt=n(()=>{let t=[];return{get observers(){return t},next:n(o=>{for(let u of t)u.next&&u.next(o)},"next"),subscribe:n(o=>(t.push(o),{unsubscribe:n(()=>{t=t.filter(u=>u!==o)},"unsubscribe")}),"subscribe"),unsubscribe:n(()=>{t=[]},"unsubscribe")}},"createSubject");function kt(t,i){let e={};for(let s in t)if(t.hasOwnProperty(s)){let o=t[s],u=i[s];if(o&&B(o)&&u){let c=kt(o,u);B(c)&&(e[s]=c)}else t[s]&&(e[s]=u)}return e}n(kt,"extractFormValues");var G=n(t=>B(t)&&!Object.keys(t).length,"isEmptyObject"),Ze=n(t=>t.type==="file","isFileInput"),Ae=n(t=>{if(!ze)return!1;let i=t?t.ownerDocument:0;return t instanceof(i&&i.defaultView?i.defaultView.HTMLElement:HTMLElement)},"isHTMLElement"),Et=n(t=>t.type==="select-multiple","isMultipleSelect"),et=n(t=>t.type==="radio","isRadioInput"),Yt=n(t=>et(t)||be(t),"isRadioOrCheckbox"),Ue=n(t=>Ae(t)&&t.isConnected,"live");function zt(t,i){let e=i.slice(0,-1).length,s=0;for(;s<e;)t=T(t)?s++:t[i[s++]];return t}n(zt,"baseGet");function Jt(t){for(let i in t)if(t.hasOwnProperty(i)&&!T(t[i]))return!1;return!0}n(Jt,"isEmptyArray");function P(t,i){if(K(i)&&Object.prototype.hasOwnProperty.call(t,i))return delete t[i],t;let e=Array.isArray(i)?i:Se(i)?[i]:Je(i),s=e.length===1?t:zt(t,e),o=e.length-1,u=e[o];return s&&delete s[u],o!==0&&(B(s)&&G(s)||Array.isArray(s)&&Jt(s))&&P(t,e.slice(0,-1)),t}n(P,"unset");var Qt=n(t=>{for(let i in t)if(z(t[i]))return!0;return!1},"objectHasFunction");function Dt(t){return Array.isArray(t)||B(t)&&!Qt(t)}n(Dt,"isTraversable");function je(t,i={}){for(let e in t){let s=t[e];Dt(s)?(i[e]=Array.isArray(s)?[]:{},je(s,i[e])):T(s)||(i[e]=!0)}return i}n(je,"markFieldsDirty");function ve(t,i,e){e||(e=je(i));for(let s in t){let o=t[s];if(Dt(o))T(i)||Ge(e[s])?e[s]=je(o,Array.isArray(o)?[]:{}):ve(o,Q(i)?{}:i[s],e[s]);else{let u=i[s];e[s]=!ee(o,u)}}return e}n(ve,"getDirtyFields");var mt={value:!1,isValid:!1},gt={value:!0,isValid:!0},Ct=n(t=>{if(Array.isArray(t)){if(t.length>1){let i=t.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:i,isValid:!!i.length}}return t[0].checked&&!t[0].disabled?t[0].attributes&&!T(t[0].attributes.value)?T(t[0].value)||t[0].value===""?gt:{value:t[0].value,isValid:!0}:gt:mt}return mt},"getCheckboxValue"),Rt=n((t,{valueAsNumber:i,valueAsDate:e,setValueAs:s})=>T(t)?t:i?t===""?NaN:t&&+t:e&&K(t)?new Date(t):s?s(t):t,"getFieldValueAs"),_t={isValid:!1,value:null},Ot=n(t=>Array.isArray(t)?t.reduce((i,e)=>e&&e.checked&&!e.disabled?{isValid:!0,value:e.value}:i,_t):_t,"getRadioValue");function ht(t){let i=t.ref;return Ze(i)?i.files:et(i)?Ot(t.refs).value:Et(i)?[...i.selectedOptions].map(({value:e})=>e):be(i)?Ct(t.refs).value:Rt(T(i.value)?t.ref.value:i.value,t)}n(ht,"getFieldValue");var Xt=n(t=>t.substring(0,t.search(/\.\d+(\.|$)/))||t,"getNodeParentName"),Zt=n((t,i,e,s)=>{let o={};for(let u of t){let c=y(i,u);c&&R(o,u,c._f)}return{criteriaMode:e,names:[...t],fields:o,shouldUseNativeValidation:s}},"getResolverOptions"),xe=n(t=>t instanceof RegExp,"isRegex"),he=n(t=>T(t)?t:xe(t)?t.source:B(t)?xe(t.value)?t.value.source:t.value:t,"getRuleValue"),ye=n(t=>({isOnSubmit:!t||t===te.onSubmit,isOnBlur:t===te.onBlur,isOnChange:t===te.onChange,isOnAll:t===te.all,isOnTouch:t===te.onTouched}),"getValidationModes"),vt="AsyncFunction",er=n(t=>!!t&&!!t.validate&&!!(z(t.validate)&&t.validate.constructor.name===vt||B(t.validate)&&Object.values(t.validate).find(i=>i.constructor.name===vt)),"hasPromiseValidation"),tr=n(t=>t.mount&&(t.required||t.min||t.max||t.maxLength||t.minLength||t.pattern||t.validate),"hasValidation"),Ke=n((t,i,e)=>!e&&(i.watchAll||i.watch.has(t)||[...i.watch].some(s=>t.startsWith(s)&&/^\.\w+/.test(t.slice(s.length)))),"isWatched"),me=n((t,i,e,s)=>{for(let o of e||Object.keys(t)){let u=y(t,o);if(u){let{_f:c,...d}=u;if(c){if(c.refs&&c.refs[0]&&i(c.refs[0],o)&&!s)return!0;if(c.ref&&i(c.ref,c.name)&&!s)return!0;if(me(d,i))break}else if(B(d)&&me(d,i))break}}},"iterateFieldsByAction");function bt(t,i,e){let s=y(t,e);if(s||Se(e))return{error:s,name:e};let o=e.split(".");for(;o.length;){let u=o.join("."),c=y(i,u),d=y(t,u);if(c&&!Array.isArray(c)&&e!==u)return{name:e};if(d&&d.type)return{name:u,error:d};if(d&&d.root&&d.root.type)return{name:`${u}.root`,error:d.root};o.pop()}return{name:e}}n(bt,"schemaErrorLookup");var rr=n((t,i,e,s)=>{e(t);let{name:o,...u}=t;return G(u)||Object.keys(u).length>=Object.keys(i).length||Object.keys(u).find(c=>i[c]===(!s||te.all))},"shouldRenderFormState"),sr=n((t,i,e)=>!t||!i||t===i||X(t).some(s=>s&&(e?s===i:s.startsWith(i)||i.startsWith(s))),"shouldSubscribeByName"),ir=n((t,i,e,s,o)=>o.isOnAll?!1:!e&&o.isOnTouch?!(i||t):(e?s.isOnBlur:o.isOnBlur)?!t:(e?s.isOnChange:o.isOnChange)?t:!0,"skipValidation"),ar=n((t,i)=>!pe(y(t,i)).length&&P(t,i),"unsetEmptyArray"),Tt=n((t,i,e)=>{let s=X(y(t,e));return R(s,pt,i[e]),R(t,e,s),t},"updateFieldArrayRootError");function Vt(t,i,e="validate"){if(K(t)||Array.isArray(t)&&t.every(K)||Z(t)&&!t)return{type:e,message:K(t)?t:"",ref:i}}n(Vt,"getValidateError");var fe=n(t=>B(t)&&!xe(t)?t:{value:t,message:""},"getValueAndMessage"),Ye=n(async(t,i,e,s,o,u)=>{let{ref:c,refs:d,required:p,maxLength:S,minLength:q,min:V,max:D,pattern:A,validate:W,name:I,valueAsNumber:L,mount:N}=t._f,x=y(e,I);if(!N||i.has(I))return{};let H=d?d[0]:c,m=n(E=>{o&&H.reportValidity&&(H.setCustomValidity(Z(E)?"":E||""),H.reportValidity())},"setCustomValidity"),_={},F=et(c),k=be(c),re=F||k,$=(L||Ze(c))&&T(c.value)&&T(x)||Ae(c)&&c.value===""||x===""||Array.isArray(x)&&!x.length,ce=Kt.bind(null,I,s,_),ge=n((E,O,U,j=ie.maxLength,ae=ie.minLength)=>{let se=E?O:U;_[I]={type:E?j:ae,message:se,ref:c,...ce(E?j:ae,se)}},"getMinMaxMessage");if(u?!Array.isArray(x)||!x.length:p&&(!re&&($||Q(x))||Z(x)&&!x||k&&!Ct(d).isValid||F&&!Ot(d).isValid)){let{value:E,message:O}=K(p)?{value:!!p,message:p}:fe(p);if(E&&(_[I]={type:ie.required,message:O,ref:H,...ce(ie.required,O)},!s))return m(O),_}if(!$&&(!Q(V)||!Q(D))){let E,O,U=fe(D),j=fe(V);if(!Q(x)&&!isNaN(x)){let ae=c.valueAsNumber||x&&+x;Q(U.value)||(E=ae>U.value),Q(j.value)||(O=ae<j.value)}else{let ae=c.valueAsDate||new Date(x),se=n(Ve=>new Date(new Date().toDateString()+" "+Ve),"convertTimeToDate"),_e=c.type=="time",le=c.type=="week";K(U.value)&&x&&(E=_e?se(x)>se(U.value):le?x>U.value:ae>new Date(U.value)),K(j.value)&&x&&(O=_e?se(x)<se(j.value):le?x<j.value:ae<new Date(j.value))}if((E||O)&&(ge(!!E,U.message,j.message,ie.max,ie.min),!s))return m(_[I].message),_}if((S||q)&&!$&&(K(x)||u&&Array.isArray(x))){let E=fe(S),O=fe(q),U=!Q(E.value)&&x.length>+E.value,j=!Q(O.value)&&x.length<+O.value;if((U||j)&&(ge(U,E.message,O.message),!s))return m(_[I].message),_}if(A&&!$&&K(x)){let{value:E,message:O}=fe(A);if(xe(E)&&!x.match(E)&&(_[I]={type:ie.pattern,message:O,ref:c,...ce(ie.pattern,O)},!s))return m(O),_}if(W){if(z(W)){let E=await W(x,e),O=Vt(E,H);if(O&&(_[I]={...O,...ce(ie.validate,O.message)},!s))return m(O.message),_}else if(B(W)){let E={};for(let O in W){if(!G(E)&&!s)break;let U=Vt(await W[O](x,e),H,O);U&&(E={...U,...ce(O,U.message)},m(U.message),s&&(_[I]=E))}if(!G(E)&&(_[I]={ref:H,...E},!s))return _}}return m(!0),_},"validateField"),nr={mode:te.onSubmit,reValidateMode:te.onChange,shouldFocusError:!0};function lr(t={}){let i={...nr,...t},e={submitCount:0,isDirty:!1,isReady:!1,isLoading:z(i.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:i.errors||{},disabled:i.disabled||!1},s={},o=B(i.defaultValues)||B(i.values)?M(i.defaultValues||i.values)||{}:{},u=i.shouldUnregister?{}:M(o),c={action:!1,mount:!1,watch:!1,keepIsValid:!1},d={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},p,S=0,q={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},V={...q},D={...V},A={array:yt(),state:yt()},W=i.criteriaMode===te.all,I=n(r=>a=>{clearTimeout(S),S=setTimeout(r,a)},"debounce"),L=n(async r=>{if(!c.keepIsValid&&!i.disabled&&(V.isValid||D.isValid||r)){let a;i.resolver?(a=G((await $()).errors),N()):a=await E({fields:s,onlyCheckValid:!0,eventType:oe.VALID}),a!==e.isValid&&A.state.next({isValid:a})}},"_setValid"),N=n((r,a)=>{!i.disabled&&(V.isValidating||V.validatingFields||D.isValidating||D.validatingFields)&&((r||Array.from(d.mount)).forEach(l=>{l&&(a?R(e.validatingFields,l,a):P(e.validatingFields,l))}),A.state.next({validatingFields:e.validatingFields,isValidating:!G(e.validatingFields)}))},"_updateIsValidating"),x=n(r=>{let a=ve(o,u),l=Xt(r);R(e.dirtyFields,l,y(a,l))},"_updateDirtyFields"),H=n((r,a=[],l,h,g=!0,f=!0)=>{if(h&&l&&!i.disabled){if(c.action=!0,f&&Array.isArray(y(s,r))){let v=l(y(s,r),h.argA,h.argB);g&&R(s,r,v)}if(f&&Array.isArray(y(e.errors,r))){let v=l(y(e.errors,r),h.argA,h.argB);g&&R(e.errors,r,v),ar(e.errors,r)}if((V.touchedFields||D.touchedFields)&&f&&Array.isArray(y(e.touchedFields,r))){let v=l(y(e.touchedFields,r),h.argA,h.argB);g&&R(e.touchedFields,r,v)}(V.dirtyFields||D.dirtyFields)&&x(r),A.state.next({name:r,isDirty:U(r,a),dirtyFields:e.dirtyFields,errors:e.errors,isValid:e.isValid})}else R(u,r,a)},"_setFieldArray"),m=n((r,a)=>{R(e.errors,r,a),A.state.next({errors:e.errors})},"updateErrors"),_=n(r=>{e.errors=r,A.state.next({errors:e.errors,isValid:!1})},"_setErrors"),F=n((r,a,l,h)=>{let g=y(s,r);if(g){let f=y(u,r,T(l)?y(o,r):l);T(f)||h&&h.defaultChecked||a?R(u,r,a?f:ht(g._f)):se(r,f),c.mount&&!c.action&&L()}},"updateValidAndValue"),k=n((r,a,l,h,g)=>{let f=!1,v=!1,w={name:r};if(!i.disabled){if(!l||h){(V.isDirty||D.isDirty)&&(v=e.isDirty,e.isDirty=w.isDirty=U(),f=v!==w.isDirty);let C=ee(y(o,r),a);v=!!y(e.dirtyFields,r),C?P(e.dirtyFields,r):R(e.dirtyFields,r,!0),w.dirtyFields=e.dirtyFields,f=f||(V.dirtyFields||D.dirtyFields)&&v!==!C}if(l){let C=y(e.touchedFields,r);C||(R(e.touchedFields,r,l),w.touchedFields=e.touchedFields,f=f||(V.touchedFields||D.touchedFields)&&C!==l)}f&&g&&A.state.next(w)}return f?w:{}},"updateTouchAndDirty"),re=n((r,a,l,h)=>{let g=y(e.errors,r),f=(V.isValid||D.isValid)&&Z(a)&&e.isValid!==a;if(i.delayError&&l?(p=I(()=>m(r,l)),p(i.delayError)):(clearTimeout(S),p=null,l?R(e.errors,r,l):P(e.errors,r)),(l?!ee(g,l):g)||!G(h)||f){let v={...h,...f&&Z(a)?{isValid:a}:{},errors:e.errors,name:r};e={...e,...v},A.state.next(v)}},"shouldRenderByError"),$=n(async r=>(N(r,!0),await i.resolver(u,i.context,Zt(r||d.mount,s,i.criteriaMode,i.shouldUseNativeValidation))),"_runSchema"),ce=n(async r=>{let{errors:a}=await $(r);if(N(r),r)for(let l of r){let h=y(a,l);h?R(e.errors,l,h):P(e.errors,l)}else e.errors=a;return a},"executeSchemaAndUpdateState"),ge=n(async({name:r,eventType:a})=>{if(t.validate){let l=await t.validate({formValues:u,formState:e,name:r,eventType:a});if(B(l))for(let h in l)l[h]&&Fe(`${Me}.${h}`,{message:K(l.message)?l.message:"",type:ie.validate});else K(l)||!l?Fe(Me,{message:l||"",type:ie.validate}):it(Me);return l}return!0},"validateForm"),E=n(async({fields:r,onlyCheckValid:a,name:l,eventType:h,context:g={valid:!0,runRootValidation:!1}})=>{if(t.validate&&(g.runRootValidation=!0,!await ge({name:l,eventType:h})&&(g.valid=!1,a)))return g.valid;for(let f in r){let v=r[f];if(v){let{_f:w,...C}=v;if(w){let Y=d.array.has(w.name),ne=v._f&&er(v._f);ne&&V.validatingFields&&N([w.name],!0);let J=await Ye(v,d.disabled,u,W,i.shouldUseNativeValidation&&!a,Y);if(ne&&V.validatingFields&&N([w.name]),J[w.name]&&(g.valid=!1,a)||(!a&&(y(J,w.name)?Y?Tt(e.errors,J,w.name):R(e.errors,w.name,J[w.name]):P(e.errors,w.name)),t.shouldUseNativeValidation&&J[w.name]))break}!G(C)&&await E({context:g,onlyCheckValid:a,fields:C,name:f,eventType:h})}}return g.valid},"executeBuiltInValidation"),O=n(()=>{for(let r of d.unMount){let a=y(s,r);a&&(a._f.refs?a._f.refs.every(l=>!Ue(l)):!Ue(a._f.ref))&&De(r)}d.unMount=new Set},"_removeUnmounted"),U=n((r,a)=>!i.disabled&&(r&&a&&R(u,r,a),!ee(rt(),o)),"_getDirty"),j=n((r,a,l)=>$e(r,d,{...c.mount?u:T(a)?o:K(r)?{[r]:a}:a},l,a),"_getWatch"),ae=n(r=>pe(y(c.mount?u:o,r,i.shouldUnregister?y(o,r,[]):[])),"_getFieldArray"),se=n((r,a,l={})=>{let h=y(s,r),g=a;if(h){let f=h._f;f&&(!f.disabled&&R(u,r,Rt(a,f)),g=Ae(f.ref)&&Q(a)?"":a,Et(f.ref)?[...f.ref.options].forEach(v=>v.selected=g.includes(v.value)):f.refs?be(f.ref)?f.refs.forEach(v=>{(!v.defaultChecked||!v.disabled)&&(Array.isArray(g)?v.checked=!!g.find(w=>w===v.value):v.checked=g===v.value||!!g)}):f.refs.forEach(v=>v.checked=v.value===g):Ze(f.ref)?f.ref.value="":(f.ref.value=g,f.ref.type||A.state.next({name:r,values:M(u)})))}(l.shouldDirty||l.shouldTouch)&&k(r,g,l.shouldTouch,l.shouldDirty,!0),l.shouldValidate&&Ee(r)},"setFieldValue"),_e=n((r,a,l)=>{for(let h in a){if(!a.hasOwnProperty(h))return;let g=a[h],f=r+"."+h,v=y(s,f);(d.array.has(r)||B(g)||v&&!v._f)&&!de(g)?_e(f,g,l):se(f,g,l)}},"setValues"),le=n((r,a,l={})=>{let h=y(s,r),g=d.array.has(r),f=M(a),v=y(u,r),w=ee(v,f);if(R(u,r,f),g)A.array.next({name:r,values:M(u)}),l.shouldDirty&&(x(r),A.state.next({name:r,dirtyFields:e.dirtyFields,isDirty:U(r,f)}));else{let C=Array.isArray(f)&&!f.length||G(f);!h||h._f||Q(f)||C?se(r,f,l):_e(r,f,l)}w||(Ke(r,d)?A.state.next({...e,name:r,values:M(u)}):A.state.next({name:c.mount?r:void 0,values:M(u)}))},"setValue"),Ve=n(async r=>{c.mount=!0;let a=r.target,l=a.name,h=!0,g=y(s,l),f=n(C=>{h=Number.isNaN(C)||de(C)&&isNaN(C.getTime())||ee(C,y(u,l,C))},"_updateIsFieldValueUpdated"),v=ye(i.mode),w=ye(i.reValidateMode);if(g){let C,Y,ne=a.type?ht(g._f):xt(r),J=r.type===oe.BLUR||r.type===oe.FOCUS_OUT,Bt=!tr(g._f)&&!t.validate&&!i.resolver&&!y(e.errors,l)&&!g._f.deps||ir(J,y(e.touchedFields,l),e.isSubmitted,w,v),Oe=Ke(l,d,J);R(u,l,ne),J?(!a||!a.readOnly)&&(g._f.onBlur&&g._f.onBlur(r),p&&p(0)):g._f.onChange&&g._f.onChange(r);let Te=k(l,ne,J),Wt=!G(Te)||Oe;if(!J&&A.state.next({name:l,type:r.type,values:M(u)}),Bt)return(V.isValid||D.isValid)&&(i.mode==="onBlur"?J&&L():J||L()),Wt&&A.state.next({name:l,...Oe?{}:Te});if(!i.resolver&&t.validate&&await ge({name:l,eventType:r.type}),!J&&Oe&&A.state.next({...e}),i.resolver){let{errors:dt}=await $([l]);if(N([l]),f(ne),h){let qt=bt(e.errors,s,l),ft=bt(dt,s,qt.name||l);C=ft.error,l=ft.name,Y=G(dt)}}else N([l],!0),C=(await Ye(g,d.disabled,u,W,i.shouldUseNativeValidation))[l],N([l]),f(ne),h&&(C?Y=!1:(V.isValid||D.isValid)&&(Y=await E({fields:s,onlyCheckValid:!0,name:l,eventType:r.type})));h&&(g._f.deps&&(!Array.isArray(g._f.deps)||g._f.deps.length>0)&&Ee(g._f.deps),re(l,Y,C,Te))}},"onChange"),tt=n((r,a)=>{if(y(e.errors,a)&&r.focus)return r.focus(),1},"_focusInput"),Ee=n(async(r,a={})=>{let l,h,g=X(r);if(i.resolver){let f=await ce(T(r)?r:g);l=G(f),h=r?!g.some(v=>y(f,v)):l}else r?(h=(await Promise.all(g.map(async f=>{let v=y(s,f);return await E({fields:v&&v._f?{[f]:v}:v,eventType:oe.TRIGGER})}))).every(Boolean),!(!h&&!e.isValid)&&L()):h=l=await E({fields:s,name:r,eventType:oe.TRIGGER});return A.state.next({...!K(r)||(V.isValid||D.isValid)&&l!==e.isValid?{}:{name:r},...i.resolver||!r?{isValid:l}:{},errors:e.errors}),a.shouldFocus&&!h&&me(s,tt,r?g:d.mount),h},"trigger"),rt=n((r,a)=>{let l={...c.mount?u:o};return a&&(l=kt(a.dirtyFields?e.dirtyFields:e.touchedFields,l)),T(r)?l:K(r)?y(l,r):r.map(h=>y(l,h))},"getValues"),st=n((r,a)=>({invalid:!!y((a||e).errors,r),isDirty:!!y((a||e).dirtyFields,r),error:y((a||e).errors,r),isValidating:!!y(e.validatingFields,r),isTouched:!!y((a||e).touchedFields,r)}),"getFieldState"),it=n(r=>{let a=r?X(r):void 0;a?.forEach(l=>P(e.errors,l)),a?a.forEach(l=>{A.state.next({name:l,errors:e.errors})}):A.state.next({errors:{}})},"clearErrors"),Fe=n((r,a,l)=>{let h=(y(s,r,{_f:{}})._f||{}).ref,g=y(e.errors,r)||{},{ref:f,message:v,type:w,...C}=g;R(e.errors,r,{...C,...a,ref:h}),A.state.next({name:r,errors:e.errors,isValid:!1}),l&&l.shouldFocus&&h&&h.focus&&h.focus()},"setError"),Mt=n((r,a)=>z(r)?A.state.subscribe({next:n(l=>"values"in l&&r(l.values||j(void 0,a),l),"next")}):j(r,a,!0),"watch"),at=n(r=>A.state.subscribe({next:n(a=>{if(sr(r.name,a.name,r.exact)&&rr(a,r.formState||V,Pt,r.reRenderRoot)){let l={...u};r.callback({values:l,...e,...a,defaultValues:o})}},"next")}).unsubscribe,"_subscribe"),Ut=n(r=>(c.mount=!0,D={...D,...r.formState},at({...r,formState:{...q,...r.formState}})),"subscribe"),De=n((r,a={})=>{for(let l of r?X(r):d.mount)d.mount.delete(l),d.array.delete(l),a.keepValue||(P(s,l),P(u,l)),!a.keepError&&P(e.errors,l),!a.keepDirty&&P(e.dirtyFields,l),!a.keepTouched&&P(e.touchedFields,l),!a.keepIsValidating&&P(e.validatingFields,l),!i.shouldUnregister&&!a.keepDefaultValue&&P(o,l);A.state.next({values:M(u)}),A.state.next({...e,...a.keepDirty?{isDirty:U()}:{}}),!a.keepIsValid&&L()},"unregister"),nt=n(({disabled:r,name:a})=>{if(Z(r)&&c.mount||r||d.disabled.has(a)){let g=d.disabled.has(a)!==!!r;r?d.disabled.add(a):d.disabled.delete(a),g&&c.mount&&!c.action&&L()}},"_setDisabledField"),Ce=n((r,a={})=>{let l=y(s,r),h=Z(a.disabled)||Z(i.disabled),g=!d.registerName.has(r)&&l&&l._f&&!l._f.mount;return R(s,r,{...l||{},_f:{...l&&l._f?l._f:{ref:{name:r}},name:r,mount:!0,...a}}),d.mount.add(r),l&&!g?nt({disabled:Z(a.disabled)?a.disabled:i.disabled,name:r}):F(r,!0,a.value),{...h?{disabled:a.disabled||i.disabled}:{},...i.progressive?{required:!!a.required,min:he(a.min),max:he(a.max),minLength:he(a.minLength),maxLength:he(a.maxLength),pattern:he(a.pattern)}:{},name:r,onChange:Ve,onBlur:Ve,ref:n(f=>{if(f){d.registerName.add(r),Ce(r,a),d.registerName.delete(r),l=y(s,r);let v=T(f.value)&&f.querySelectorAll&&f.querySelectorAll("input,select,textarea")[0]||f,w=Yt(v),C=l._f.refs||[];if(w?C.find(Y=>Y===v):v===l._f.ref)return;R(s,r,{_f:{...l._f,...w?{refs:[...C.filter(Ue),v,...Array.isArray(y(o,r))?[{}]:[]],ref:{type:v.type,name:r}}:{ref:v}}}),F(r,!1,void 0,v)}else l=y(s,r,{}),l._f&&(l._f.mount=!1),(i.shouldUnregister||a.shouldUnregister)&&!(St(d.array,r)&&c.action)&&d.unMount.add(r)},"ref")}},"register"),Re=n(()=>i.shouldFocusError&&me(s,tt,d.mount),"_focusError"),It=n(r=>{Z(r)&&(A.state.next({disabled:r}),me(s,(a,l)=>{let h=y(s,l);h&&(a.disabled=h._f.disabled||r,Array.isArray(h._f.refs)&&h._f.refs.forEach(g=>{g.disabled=h._f.disabled||r}))},0,!1))},"_disableForm"),lt=n((r,a)=>async l=>{let h;l&&(l.preventDefault&&l.preventDefault(),l.persist&&l.persist());let g=M(u);if(A.state.next({isSubmitting:!0}),i.resolver){let{errors:f,values:v}=await $();N(),e.errors=f,g=M(v)}else await E({fields:s,eventType:oe.SUBMIT});if(d.disabled.size)for(let f of d.disabled)P(g,f);if(P(e.errors,pt),G(e.errors)){A.state.next({errors:{}});try{await r(g,l)}catch(f){h=f}}else a&&await a({...e.errors},l),Re(),setTimeout(Re);if(A.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:G(e.errors)&&!h,submitCount:e.submitCount+1,errors:e.errors}),h)throw h},"handleSubmit"),Nt=n((r,a={})=>{y(s,r)&&(T(a.defaultValue)?le(r,M(y(o,r))):(le(r,a.defaultValue),R(o,r,M(a.defaultValue))),a.keepTouched||P(e.touchedFields,r),a.keepDirty||(P(e.dirtyFields,r),e.isDirty=a.defaultValue?U(r,M(y(o,r))):U()),a.keepError||(P(e.errors,r),V.isValid&&L()),A.state.next({...e}))},"resetField"),ut=n((r,a={})=>{let l=r?M(r):o,h=M(l),g=G(r),f=g?o:h;if(a.keepDefaultValues||(o=l),!a.keepValues){if(a.keepDirtyValues){let v=new Set([...d.mount,...Object.keys(ve(o,u))]);for(let w of Array.from(v)){let C=y(e.dirtyFields,w),Y=y(u,w),ne=y(f,w);C&&!T(Y)?R(f,w,Y):!C&&!T(ne)&&le(w,ne)}}else{if(ze&&T(r))for(let v of d.mount){let w=y(s,v);if(w&&w._f){let C=Array.isArray(w._f.refs)?w._f.refs[0]:w._f.ref;if(Ae(C)){let Y=C.closest("form");if(Y){Y.reset();break}}}}if(a.keepFieldsRef)for(let v of d.mount)le(v,y(f,v));else s={}}u=i.shouldUnregister?a.keepDefaultValues?M(o):{}:M(f),A.array.next({values:{...f}}),A.state.next({values:{...f}})}d={mount:a.keepDirtyValues?d.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},c.mount=!V.isValid||!!a.keepIsValid||!!a.keepDirtyValues||!i.shouldUnregister&&!G(f),c.watch=!!i.shouldUnregister,c.keepIsValid=!!a.keepIsValid,c.action=!1,a.keepErrors||(e.errors={}),A.state.next({submitCount:a.keepSubmitCount?e.submitCount:0,isDirty:g?!1:a.keepDirty?e.isDirty:!!(a.keepDefaultValues&&!ee(r,o)),isSubmitted:a.keepIsSubmitted?e.isSubmitted:!1,dirtyFields:g?{}:a.keepDirtyValues?a.keepDefaultValues&&u?ve(o,u):e.dirtyFields:a.keepDefaultValues&&r?ve(o,r):a.keepDirty?e.dirtyFields:{},touchedFields:a.keepTouched?e.touchedFields:{},errors:a.keepErrors?e.errors:{},isSubmitSuccessful:a.keepIsSubmitSuccessful?e.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:o})},"_reset"),ot=n((r,a)=>ut(z(r)?r(u):r,{...i.resetOptions,...a}),"reset"),Lt=n((r,a={})=>{let l=y(s,r),h=l&&l._f;if(h){let g=h.refs?h.refs[0]:h.ref;g.focus&&setTimeout(()=>{g.focus(),a.shouldSelect&&z(g.select)&&g.select()})}},"setFocus"),Pt=n(r=>{e={...e,...r}},"_setFormState"),ct={control:{register:Ce,unregister:De,getFieldState:st,handleSubmit:lt,setError:Fe,_subscribe:at,_runSchema:$,_updateIsValidating:N,_focusError:Re,_getWatch:j,_getDirty:U,_setValid:L,_setFieldArray:H,_setDisabledField:nt,_setErrors:_,_getFieldArray:ae,_reset:ut,_resetDefaultValues:n(()=>z(i.defaultValues)&&i.defaultValues().then(r=>{ot(r,i.resetOptions),A.state.next({isLoading:!1})}),"_resetDefaultValues"),_removeUnmounted:O,_disableForm:It,_subjects:A,_proxyFormState:V,get _fields(){return s},get _formValues(){return u},get _state(){return c},set _state(r){c=r},get _defaultValues(){return o},get _names(){return d},set _names(r){d=r},get _formState(){return e},get _options(){return i},set _options(r){i={...i,...r}}},subscribe:Ut,trigger:Ee,register:Ce,handleSubmit:lt,watch:Mt,setValue:le,getValues:rt,reset:ot,resetField:Nt,clearErrors:it,unregister:De,setError:Fe,setFocus:Lt,getFieldState:st};return{...ct,formControl:ct}}n(lr,"createFormControl");var ue=n(()=>{if(typeof crypto<"u"&&crypto.randomUUID)return crypto.randomUUID();let t=typeof performance>"u"?Date.now():performance.now()*1e3;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,i=>{let e=(Math.random()*16+t)%16|0;return(i=="x"?e:e&3|8).toString(16)})},"generateId"),Ie=n((t,i,e={})=>e.shouldFocus||T(e.shouldFocus)?e.focusName||`${t}.${T(e.focusIndex)?i:e.focusIndex}.`:"","getFocusFieldName"),Ne=n((t,i)=>[...t,...X(i)],"appendAt"),Le=n(t=>Array.isArray(t)?t.map(()=>{}):void 0,"fillEmptyArray");function Pe(t,i,e){return[...t.slice(0,i),...X(e),...t.slice(i)]}n(Pe,"insert");var Be=n((t,i,e)=>Array.isArray(t)?(T(t[e])&&(t[e]=void 0),t.splice(e,0,t.splice(i,1)[0]),t):[],"moveArrayAt"),We=n((t,i)=>[...X(i),...X(t)],"prependAt");function ur(t,i){let e=0,s=[...t];for(let o of i)s.splice(o-e,1),e++;return pe(s).length?s:[]}n(ur,"removeAtIndexes");var qe=n((t,i)=>T(i)?[]:ur(t,X(i).sort((e,s)=>e-s)),"removeArrayAt"),He=n((t,i,e)=>{[t[i],t[e]]=[t[e],t[i]]},"swapArrayAt"),Ft=n((t,i,e)=>(t[i]=e,t),"updateAt");function mr(t){let i=we(),{control:e=i,name:s,keyName:o="id",shouldUnregister:u,rules:c}=t,[d,p]=b.useState(e._getFieldArray(s)),S=b.useRef(e._getFieldArray(s).map(ue)),q=b.useRef(!1);e._names.array.add(s),b.useMemo(()=>c&&d.length>=0&&e.register(s,c),[e,s,d.length,c]),ke(()=>e._subjects.array.subscribe({next:n(({values:m,name:_})=>{if(_===s||!_){let F=y(m,s);Array.isArray(F)&&(p(F),S.current=F.map(ue))}},"next")}).unsubscribe,[e,s]);let V=b.useCallback(m=>{q.current=!0,e._setFieldArray(s,m)},[e,s]),D=n((m,_)=>{let F=X(M(m)),k=Ne(e._getFieldArray(s),F);e._names.focus=Ie(s,k.length-1,_),S.current=Ne(S.current,F.map(ue)),V(k),p(k),e._setFieldArray(s,k,Ne,{argA:Le(m)})},"append"),A=n((m,_)=>{let F=X(M(m)),k=We(e._getFieldArray(s),F);e._names.focus=Ie(s,0,_),S.current=We(S.current,F.map(ue)),V(k),p(k),e._setFieldArray(s,k,We,{argA:Le(m)})},"prepend"),W=n(m=>{let _=qe(e._getFieldArray(s),m);S.current=qe(S.current,m),V(_),p(_),!Array.isArray(y(e._fields,s))&&R(e._fields,s,void 0),e._setFieldArray(s,_,qe,{argA:m})},"remove"),I=n((m,_,F)=>{let k=X(M(_)),re=Pe(e._getFieldArray(s),m,k);e._names.focus=Ie(s,m,F),S.current=Pe(S.current,m,k.map(ue)),V(re),p(re),e._setFieldArray(s,re,Pe,{argA:m,argB:Le(_)})},"insert$1"),L=n((m,_)=>{let F=e._getFieldArray(s);He(F,m,_),He(S.current,m,_),V(F),p(F),e._setFieldArray(s,F,He,{argA:m,argB:_},!1)},"swap"),N=n((m,_)=>{let F=e._getFieldArray(s);Be(F,m,_),Be(S.current,m,_),V(F),p(F),e._setFieldArray(s,F,Be,{argA:m,argB:_},!1)},"move"),x=n((m,_)=>{let F=M(_),k=Ft(e._getFieldArray(s),m,F);S.current=[...k].map((re,$)=>!re||$===m?ue():S.current[$]),V(k),p([...k]),e._setFieldArray(s,k,Ft,{argA:m,argB:F},!0,!1)},"update"),H=n(m=>{let _=X(M(m));S.current=_.map(ue),V([..._]),p([..._]),e._setFieldArray(s,[..._],F=>F,{},!0,!1)},"replace");return b.useEffect(()=>{e._state.action=!1,Ke(s,e._names)&&e._subjects.state.next({...e._formState});let m=ye(e._options.mode);if(q.current&&(!m.isOnSubmit||e._formState.isSubmitted)&&!ye(e._options.reValidateMode).isOnSubmit&&!m.isOnBlur)if(e._options.resolver)e._runSchema([s]).then(_=>{e._updateIsValidating([s]);let F=y(_.errors,s),k=y(e._formState.errors,s);(k?!F&&k.type||F&&(k.type!==F.type||k.message!==F.message):F&&F.type)&&(F?R(e._formState.errors,s,F):P(e._formState.errors,s),e._subjects.state.next({errors:e._formState.errors}))});else{let _=y(e._fields,s);_&&_._f&&!(ye(e._options.reValidateMode).isOnSubmit&&ye(e._options.mode).isOnSubmit)&&Ye(_,e._names.disabled,e._formValues,e._options.criteriaMode===te.all,e._options.shouldUseNativeValidation,!0).then(F=>!G(F)&&e._subjects.state.next({errors:Tt(e._formState.errors,F,s)}))}e._subjects.state.next({name:s,values:M(e._formValues)}),e._names.focus&&me(e._fields,(_,F)=>{if(e._names.focus&&F.startsWith(e._names.focus)&&_.focus)return _.focus(),1}),e._names.focus="",e._setValid(),q.current=!1},[d,s,e]),b.useEffect(()=>(!y(e._formValues,s)&&e._setFieldArray(s),()=>{let m=n((_,F)=>{let k=y(e._fields,_);k&&k._f&&(k._f.mount=F)},"updateMounted");e._options.shouldUnregister||u?e.unregister(s):m(s,!1)}),[s,e,o,u]),{swap:b.useCallback(L,[V,s,e]),move:b.useCallback(N,[V,s,e]),prepend:b.useCallback(A,[V,s,e]),append:b.useCallback(D,[V,s,e]),remove:b.useCallback(W,[V,s,e]),insert:b.useCallback(I,[V,s,e]),update:b.useCallback(x,[V,s,e]),replace:b.useCallback(H,[V,s,e]),fields:b.useMemo(()=>d.map((m,_)=>({...m,[o]:S.current[_]||ue()})),[d,o])}}n(mr,"useFieldArray");function gr(t={}){let i=b.useRef(void 0),e=b.useRef(void 0),[s,o]=b.useState({isDirty:!1,isValidating:!1,isLoading:z(t.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1,isReady:!1,defaultValues:z(t.defaultValues)?void 0:t.defaultValues});if(!i.current)if(t.formControl)i.current={...t.formControl,formState:s},t.defaultValues&&!z(t.defaultValues)&&t.formControl.reset(t.defaultValues,t.resetOptions);else{let{formControl:c,...d}=lr(t);i.current={...d,formState:s}}let u=i.current.control;return u._options=t,ke(()=>{let c=u._subscribe({formState:u._proxyFormState,callback:n(()=>o({...u._formState}),"callback"),reRenderRoot:!0});return o(d=>({...d,isReady:!0})),u._formState.isReady=!0,c},[u]),b.useEffect(()=>u._disableForm(t.disabled),[u,t.disabled]),b.useEffect(()=>{t.mode&&(u._options.mode=t.mode),t.reValidateMode&&(u._options.reValidateMode=t.reValidateMode)},[u,t.mode,t.reValidateMode]),b.useEffect(()=>{t.errors&&(u._setErrors(t.errors),u._focusError())},[u,t.errors]),b.useEffect(()=>{t.shouldUnregister&&u._subjects.state.next({values:u._getWatch()})},[u,t.shouldUnregister]),b.useEffect(()=>{if(u._proxyFormState.isDirty){let c=u._getDirty();c!==s.isDirty&&u._subjects.state.next({isDirty:c})}},[u,s.isDirty]),b.useEffect(()=>{var c;t.values&&!ee(t.values,e.current)?(u._reset(t.values,{keepFieldsRef:!0,...u._options.resetOptions}),!((c=u._options.resetOptions)===null||c===void 0)&&c.keepIsValid||u._setValid(),e.current=t.values,o(d=>({...d}))):u._resetDefaultValues()},[u,t.values]),b.useEffect(()=>{u._state.mount||(u._setValid(),u._state.mount=!0),u._state.watch&&(u._state.watch=!1,u._subjects.state.next({...u._formState})),u._removeUnmounted()}),i.current.formState=b.useMemo(()=>wt(s,u),[u,s]),i.current}n(gr,"useForm");export{y as a,R as b,$t as c,dr as d,fr as e,yr as f,Kt as g,mr as h,gr as i};
|
|
2
|
+
//# sourceMappingURL=chunk-SRLBVFNQ.js.map
|