@adyen/kyc-components 4.17.0 → 4.18.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Accordion-DmH02rWQ.js → Accordion-IXKjwyLD.js} +1 -1
- package/dist/{AccountSetupRejected-aY_awPqH.js → AccountSetupRejected-DIIh9pcf.js} +2 -2
- package/dist/{AdaptiveWorkflow-C1OnKoz6.js → AdaptiveWorkflow-C78mb41T.js} +34 -34
- package/dist/{AdaptiveWorkflowComponent-B9NVZwBG.js → AdaptiveWorkflowComponent-Bz_k9JDJ.js} +32 -32
- package/dist/Address-CUkUuSeU.js +132 -0
- package/dist/{Address-BDAWsBP6.js → AddressField-DP5U5xs8.js} +14 -134
- package/dist/{Avatar-Z3MS8_pW.js → Avatar-CdBNstmD.js} +1 -1
- package/dist/{BusinessFinancingDropin-DYZPXmaA.js → BusinessFinancingDropin-BIYr1Mgu.js} +57 -39
- package/dist/{BusinessFinancingPage-CWAVQIUu.js → BusinessFinancingPage-C-UIVRTK.js} +32 -32
- package/dist/{BusinessTypeSelectionPage-mR4yxGIO.js → BusinessTypeSelectionPage-CFz9n5DM.js} +15 -15
- package/dist/{Button-3qGOI53m.js → Button-i8I2dHP8.js} +1 -1
- package/dist/{Checkbox-yzDgU8Go.js → Checkbox-DdEBnXOB.js} +1 -1
- package/dist/{CompanyRegistrationNumberTypeSelector-DuiQt7Rc.js → CompanyRegistrationNumberTypeSelector-BXzFJpA0.js} +8 -20
- package/dist/{Confirm-D3iEEzM7.js → Confirm-DcqMV7rd.js} +3 -3
- package/dist/{ContactDetails-DfGTy-MW.js → ContactDetails-BAmxW5qa.js} +8 -8
- package/dist/{ContextGuidance-CBREh6Su.js → ContextGuidance-DPro1Ce0.js} +2 -2
- package/dist/{CountryField-BooICUbM.js → CountryField-DoLt4vNa.js} +5 -5
- package/dist/{Currency-CFuP1Dyd.js → Currency-D1hJGOjo.js} +53 -18
- package/dist/{CustomerSupport-DFyRJizn.js → CustomerSupport-Bsi7JCV0.js} +15 -15
- package/dist/{DataConflictsModal-DQ3mkW9z.js → DataConflictsModal-DFtNyKkX.js} +7 -7
- package/dist/{DebugModal-C-ikCH1j.js → DebugModal-CAA4o3Ik.js} +10 -10
- package/dist/{DecisionMakerDetails-BHf3n6d6.js → DecisionMakerDetails-C12XRPSF.js} +27 -18
- package/dist/{DecisionMakerDetailsPage-0mfoRbLJ.js → DecisionMakerDetailsPage-thw-YQUL.js} +12 -12
- package/dist/{DecisionMakers-DyNHZELs.js → DecisionMakers-CnaehF1O.js} +21 -21
- package/dist/{Dropzone-BMxSdYQ2.js → Dropzone-N76XfpBB.js} +7 -7
- package/dist/{EmbeddedStatus-JozflNLq.js → EmbeddedStatus-g37gc_ic.js} +3 -3
- package/dist/{EndStateLayout-ic1EOve9.js → EndStateLayout-CBRHUXyY.js} +2 -2
- package/dist/{EntityAssociation-pJy_kse0.js → EntityAssociation-s22o_uZU.js} +7 -7
- package/dist/{ErrorPanel-BqfHivX7.js → ErrorPanel-O79YWbUj.js} +48 -28
- package/dist/{Field-CIqSPDus.js → Field-Dg-2A6bG.js} +4 -4
- package/dist/GlobalEntryModal-xjoLjr6j.js +34 -0
- package/dist/GlobalEntryPage-BVhiWGwA.js +44 -0
- package/dist/{Individual.rules-s4Yf5eU4.js → Individual.rules-Caf9UMUo.js} +4 -4
- package/dist/{IndividualDropin-BdIwUDOo.js → IndividualDropin-CvD8ck4A.js} +56 -56
- package/dist/{InputDate-DSeCO1wk.js → InputDate-CxzAaaCm.js} +2 -2
- package/dist/{InputText-DtRsfuMv.js → InputText-CQcWyZ8_.js} +2 -2
- package/dist/{Introduction-DLfzBonb.js → Introduction-DVudpVd5.js} +9 -9
- package/dist/{InvitedDecisionMakerComponent-CaoxJri-.js → InvitedDecisionMakerComponent-C-3tUrFX.js} +114 -46
- package/dist/{JpAddress-Cqb_UMwB.js → JpAddress-D5kADcay.js} +16 -56
- package/dist/JpAddress.module-Bdx0E9ys.js +48 -0
- package/dist/JpAddressFields-S9ICJml_.js +246 -0
- package/dist/{LandingLayout-C1yh_ggf.js → LandingLayout-iZpW1Vsx.js} +8 -3
- package/dist/{LegalCompanyNameField-DskXNNbo.js → LegalCompanyNameField-BFwuu5bv.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-pILfh5cO.js → LegalRepresentativeDetailsPage-DlNCi8DF.js} +10 -10
- package/dist/{Link-C0jrInxa.js → Link-JFzfaUOa.js} +1 -1
- package/dist/{ListItem-DENJV6DO.js → ListItem-BnVTcObB.js} +2 -2
- package/dist/{MaskedInput-C5W0lx70.js → MaskedInput-ClZhzZhf.js} +6 -6
- package/dist/{MaybeModal-DYEqnOf-.js → MaybeModal-CXLj-oVR.js} +2 -2
- package/dist/{Modal-DParMHcv.js → Modal-ByJare7m.js} +1 -1
- package/dist/{Name-kHxte68O.js → Name-Cw7gZ538.js} +5 -5
- package/dist/{NewSummary-JEU35ul4.js → NewSummary-DwQr3V21.js} +7 -7
- package/dist/{PatriotActDisclosure-BqaWGRcZ.js → PatriotActDisclosure-Bj4aG0px.js} +16 -16
- package/dist/{PayoutDetailsDropinMultiForm-C-M8c5Xx.js → PayoutDetailsDropin-jb9Hx02m.js} +416 -220
- package/dist/PayoutDetailsPage-Dp0HMUYv.js +70 -0
- package/dist/{RadioGroup-_XpoFWaf.js → RadioGroup-Bt1Dv_S8.js} +3 -3
- package/dist/{Review-BbJHml8D.js → Review-DW7Hi2gx.js} +8 -8
- package/dist/RootBusinessDetailsPage-C-FjzIi3.js +68 -0
- package/dist/{RootBusinessLinesPage-D7_26OI5.js → RootBusinessLinesPage-B1OZKJpD.js} +51 -43
- package/dist/{RootIndividualDetailsPage-2N5uuxXl.js → RootIndividualDetailsPage-Ck_WKeFS.js} +10 -10
- package/dist/{Select-BgdbPMw9.js → Select-D4oEtS2n.js} +5 -5
- package/dist/{SignPCIComponent-DGv1bkdf.js → SignPCIComponent-C5vrqvCz.js} +44 -44
- package/dist/{SingpassSelection-h1jxupMg.js → SingpassSelection-DqrNj-an.js} +6 -6
- package/dist/{SoleProprietorshipPage-CLetJc-c.js → SoleProprietorshipPage-DjOug4ur.js} +34 -34
- package/dist/{SourceOfFundsPage-CsCBYxJP.js → SourceOfFundsPage-DACANZ6Z.js} +47 -42
- package/dist/{StructuredList-CUyo9-3i.js → StructuredList-Ci4Ut4E5.js} +1 -1
- package/dist/{Summary-DLL-G-wC.js → Summary-D99yCbkr.js} +22 -13
- package/dist/{TaskListItem-Bk-gLf9K.js → TaskListItem-g2OyGxyr.js} +13 -13
- package/dist/{TaskVerificationStatus-DTHF8B9j.js → TaskVerificationStatus-CKHPTEpH.js} +1 -1
- package/dist/{TaxReportingDropin-TCSYgjMp.js → TaxReportingDropin-DmbAZkl5.js} +21 -21
- package/dist/{AcceptTermsOfServiceComponent-DahZIago.js → TermsOfServiceManagement-B_NkGchz.js} +52 -52
- package/dist/{TextArea-DNSnqxGL.js → TextArea-BUx3yuMJ.js} +3 -3
- package/dist/{TileGroup-DWtO7N2P.js → TileGroup-PzJay6GP.js} +3 -3
- package/dist/{TrustDetailsPage-BMnQTWaY.js → TrustDetailsPage-BcXyqFKh.js} +74 -36
- package/dist/{TrustMemberCompanyPage-p4Zo8KWk.js → TrustMemberCompanyPage-CYTBXqUX.js} +35 -35
- package/dist/{TrustMemberIndividualPage-C_glkWhn.js → TrustMemberIndividualPage-Byn5YPlI.js} +10 -10
- package/dist/{TrustMemberRoleAndTypePage-CbzyU01D.js → TrustMemberRoleAndTypePage-AgnpRfSP.js} +23 -23
- package/dist/{TrustMembersOverview-B17lJDGj.js → TrustMembersOverview-D-QdvGO6.js} +15 -15
- package/dist/{UnincorporatedPartnershipIndividualPage-BFfog1or.js → UnincorporatedPartnershipIndividualPage-gYP8zjZK.js} +10 -10
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CXCA43e0.js → UnincorporatedPartnershipMemberCompanyPage-DDBOA6Ch.js} +35 -35
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Kqj-yQMo.js → UnincorporatedPartnershipMemberRoleAndTypePage-BGYKpP3_.js} +25 -147
- package/dist/{UnincorporatedPartnershipMembersOverview-XfXSoBGc.js → UnincorporatedPartnershipMembersOverview-D_aNlf-l.js} +10 -10
- package/dist/{VerificationErrorAlert-Q-TvD-Mb.js → VerificationErrorAlert-CemHk8yo.js} +4 -4
- package/dist/{accountHolderUtils-Brjeiw04.js → accountHolderUtils-DnQqH1QM.js} +2 -2
- package/dist/adyen-business-financing.js +33 -33
- package/dist/adyen-individual-configuration.js +36 -36
- package/dist/adyen-individual-status.js +33 -33
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +160 -116
- package/dist/adyen-terms-of-service-management.js +4 -4
- package/dist/adyen-terms-of-service-status.js +9 -9
- package/dist/adyen-transfer-instrument-configuration.js +61 -60
- package/dist/adyen-transfer-instrument-management.js +66 -65
- package/dist/adyen-verification-status.js +6 -6
- package/dist/{bafinUtils-BKq-s1Ka.js → bafinUtils-CbfyDBkh.js} +6 -6
- package/dist/bg-BG-BNxxbT-Z.js +7 -0
- package/dist/bg-BG-CEcxO0H0.js +7 -0
- package/dist/{bg-BG-DvFMee1j.js → bg-BG-DWtVZckB.js} +2 -2
- package/dist/business-details-CPkvjYXG.js +355 -0
- package/dist/{constants-JBn-5I_D.js → constants-OXaHzh7d.js} +6 -6
- package/dist/cs-CZ-B2huX9v2.js +7 -0
- package/dist/cs-CZ-Bw702SPD.js +7 -0
- package/dist/{cs-CZ-B7aDrpPP.js → cs-CZ-DeM0O93X.js} +2 -2
- package/dist/da-DK-CUL_Et0l.js +7 -0
- package/dist/da-DK-D-u3tkjY.js +7 -0
- package/dist/{da-DK-C3i7IAmt.js → da-DK-DrYRErQi.js} +2 -2
- package/dist/{de-DE-DtVJKjKN.js → de-DE-CNHKj2ar.js} +2 -2
- package/dist/de-DE-Cd5T_rWB.js +7 -0
- package/dist/de-DE-D-2q3DBW.js +7 -0
- package/dist/{decisionMakerRoles-DIG8zo1C.js → decisionMakerRoles-CTy0faoW.js} +2 -2
- package/dist/el-GR-BHu8fnYR.js +7 -0
- package/dist/{el-GR-DxtT4Lft.js → el-GR-DC8wWZlc.js} +2 -2
- package/dist/el-GR-RkQ7qOtM.js +7 -0
- package/dist/en-US-7Uo1OcXR.js +51 -0
- package/dist/en-US-B48_sHax.js +13 -0
- package/dist/en-US-BNfqvbyW.js +7 -0
- package/dist/en-US-CUqerEKF.js +7 -0
- package/dist/en-US-MqobYcqc.js +7 -0
- package/dist/en-US.instructions-CksZ4E5j.js +11 -0
- package/dist/{entityAssociationUtil-C-wflW8q.js → entityAssociationUtil-DLXInibJ.js} +1 -1
- package/dist/es-ES-CtKqdJ9Z.js +7 -0
- package/dist/{es-ES-BIQfz_ub.js → es-ES-L_7CovzS.js} +2 -2
- package/dist/es-ES-sAOz5HKH.js +7 -0
- package/dist/es-LA-BU32JqC-.js +7 -0
- package/dist/{es-LA-CsbPBWVy.js → es-LA-DPvp-UlN.js} +2 -2
- package/dist/es-LA-racbldhR.js +7 -0
- package/dist/{et-EE-BcjBS0ZN.js → et-EE-4OTBQhPM.js} +2 -2
- package/dist/et-EE-C29Bb4Rw.js +7 -0
- package/dist/et-EE-CXOeuULd.js +7 -0
- package/dist/{fi-FI-DEpeYxdL.js → fi-FI-6yq1jSRa.js} +2 -2
- package/dist/fi-FI-BNfxJDvc.js +7 -0
- package/dist/fi-FI-BT1l2Dz5.js +7 -0
- package/dist/{formUtils-C4NqSvj-.js → formUtils-BrLGUOLK.js} +1 -1
- package/dist/fr-FR-Byelw2ED.js +7 -0
- package/dist/{fr-FR-GQrgs_DS.js → fr-FR-DBM2tUge.js} +2 -2
- package/dist/fr-FR-DKdat8Bf.js +7 -0
- package/dist/getFormSlice-C1ma6Xd4.js +21 -0
- package/dist/{getName-D4ECvzcI.js → getName-C5jqdkJg.js} +1 -1
- package/dist/{getProblemsForEntity-CjAq8_4L.js → getProblemsForEntity-ubvE1Px7.js} +2 -2
- package/dist/{getProps-1L-urpfA.js → getProps-DVqK7eRw.js} +51 -2
- package/dist/global-entry-illustration-By_EjQFM.js +288 -0
- package/dist/hr-HR-CAwy4u2B.js +7 -0
- package/dist/hr-HR-Cmnnjuvd.js +7 -0
- package/dist/{hr-HR-BwKDcJ9v.js → hr-HR-Vx0hO2h4.js} +2 -2
- package/dist/{http-DeQp0G69.js → http-8qgzqVqk.js} +1 -1
- package/dist/hu-HU-8uDv5c4i.js +7 -0
- package/dist/hu-HU-BmQJPXo2.js +7 -0
- package/dist/{hu-HU-81HMvS9Y.js → hu-HU-DsUOhM2K.js} +2 -2
- package/dist/{invalidateRootLegalEntity-CCtOf4ib.js → invalidateRootLegalEntity-CHNRruhe.js} +3 -3
- package/dist/it-IT-8DGwiIEf.js +7 -0
- package/dist/{it-IT-Il0f-h2h.js → it-IT-CL_4Y1hK.js} +2 -2
- package/dist/it-IT-VzcvfA7e.js +7 -0
- package/dist/ja-JP-B05v6NdN.js +7 -0
- package/dist/ja-JP-BG7p2_ZL.js +7 -0
- package/dist/{ja-JP-Dk2zBWeH.js → ja-JP-CNBPrNgM.js} +2 -2
- package/dist/{localizeDateString-CU7HGR-k.js → localizeDateString-Bmx3yBcR.js} +1 -1
- package/dist/lt-LT-C7Bf2i87.js +7 -0
- package/dist/{lt-LT-DZ2Uu9bq.js → lt-LT-CPBTVJeD.js} +2 -2
- package/dist/lt-LT-DCayRCd-.js +7 -0
- package/dist/{lv-LV-BCMHodgd.js → lv-LV-CBsGjmsA.js} +2 -2
- package/dist/lv-LV-D3bkGuXV.js +7 -0
- package/dist/lv-LV-DXymHGml.js +7 -0
- package/dist/{mapExistingFile-BeuzYADl.js → mapExistingFile-BvFf01k6.js} +11 -8
- package/dist/{mapJpAddressSchemaToAddressLocalizations-DZUd0pQT.js → mapJpAddressSchemaToAddressLocalizations-DHL5chu8.js} +15 -2
- package/dist/{mapLegalEntityToIndividualSchema-Dgs8wnkZ.js → mapLegalEntityToIndividualSchema-BeR7ESyx.js} +9 -9
- package/dist/{mapTransferInstrumentToPayoutAccount-BHF5J5eC.js → mapTransferInstrumentToPayoutAccount-2iWuaqS_.js} +3 -3
- package/dist/{nl-NL-D2oZHtTs.js → nl-NL-C5MHFAIE.js} +2 -2
- package/dist/nl-NL-DkYkY9Mu.js +7 -0
- package/dist/nl-NL-lyCxhWKl.js +7 -0
- package/dist/{no-NO-D5l99NQF.js → no-NO-Bna_-q84.js} +2 -2
- package/dist/no-NO-CCbUtRmU.js +7 -0
- package/dist/no-NO-FFwOUFr9.js +7 -0
- package/dist/{omitObscuredFieldsIfUnchanged-BQSBg_D9.js → omitObscuredFieldsIfUnchanged-DFZ6pVTM.js} +2 -2
- package/dist/{patternValidators-ldthuMTg.js → patternValidators-BFk0f6IP.js} +1 -1
- package/dist/pl-PL-B9u7WZBs.js +7 -0
- package/dist/pl-PL-BDauaEiz.js +7 -0
- package/dist/{pl-PL-C_QR0_4u.js → pl-PL-Ddtqvtag.js} +2 -2
- package/dist/{process-field-configurations-DIEIpM00.js → process-field-configurations-DBtjrbif.js} +4 -4
- package/dist/{processCapabilities-BeE0xWUp.js → processCapabilities-C2kMryYn.js} +25 -25
- package/dist/{validationError-DwNvWaOL.js → processValidationErrors--FWewgRp.js} +21 -27
- package/dist/pt-BR-CoWBKHni.js +7 -0
- package/dist/{pt-BR-DVpGdnO-.js → pt-BR-D3oWr3QJ.js} +2 -2
- package/dist/pt-BR-XeJRk5pM2.js +7 -0
- package/dist/pt-PT-CCuTeMbQ.js +7 -0
- package/dist/pt-PT-Dhfc0izN.js +7 -0
- package/dist/{pt-PT-Bkylp1fh.js → pt-PT-DpYwMinP.js} +2 -2
- package/dist/{resolveEnvironment-DqVK_B7n.js → resolveEnvironment-CL_fPQJG.js} +51 -43
- package/dist/ro-RO-B9RvKzTz.js +7 -0
- package/dist/ro-RO-CXGpXJAG.js +7 -0
- package/dist/{ro-RO-D9hC-2Yu.js → ro-RO-CZpwJ4Sy.js} +2 -2
- package/dist/{roleMetadata-BgKauSqU.js → roleMetadata-a4sEtgHv.js} +2 -2
- package/dist/sk-SK-B2XAy5Yw.js +7 -0
- package/dist/sk-SK-DoHPhXvk.js +7 -0
- package/dist/{sk-SK-DWVcJde-.js → sk-SK-DyKdrRnN.js} +2 -2
- package/dist/sl-SI-DwiiZ7hf.js +7 -0
- package/dist/sl-SI-Ga2XE4DC.js +7 -0
- package/dist/{sl-SI-cVr04Hr7.js → sl-SI-nHUFaEcp.js} +2 -2
- package/dist/style.css +148 -245
- package/dist/styles-DYaAeu4q.js +148 -245
- package/dist/sv-SE-3IKbfvgP.js +7 -0
- package/dist/sv-SE-DYjpbult.js +7 -0
- package/dist/{sv-SE-DTqSBLbI.js → sv-SE-DxMX8Ox_.js} +2 -2
- package/dist/{taskTypes-NawDTp5n.js → taskTypes-3vSkMBDm.js} +2 -1
- package/dist/{translation-BR3rLb4m.js → translation-BYvhW5zA.js} +1 -1
- package/dist/types/api/companySearch/useCompanySearch.d.ts +6 -0
- package/dist/types/api/invitedEntity/getInvitedEntityProblems.d.ts +4 -0
- package/dist/types/api/invitedEntity/useInvitedEntityVerificationErrors.d.ts +7 -0
- package/dist/types/api/queryKeys.d.ts +2 -1
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +5 -0
- package/dist/types/components/Apps/tasks/TaskList/{TaskListGroup.d.ts → TaskListGroup/TaskListGroup.d.ts} +1 -1
- package/dist/types/components/Apps/tasks/TaskList/TaskListItem/types.d.ts +25 -0
- package/dist/types/components/Apps/tasks/TaskList/types.d.ts +0 -25
- package/dist/types/components/BankAccount/fields/BankAccountType/BankAccountType.d.ts +2 -0
- package/dist/types/components/BankAccount/fields/BankAccountType/type.d.ts +6 -0
- package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/{PayoutDetailsMultiform.d.ts → PayoutDetails.d.ts} +2 -2
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +2 -0
- package/dist/types/components/BankAccount/utils/payoutAccountFormats.d.ts +18 -0
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +26 -4
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +22 -4
- package/dist/types/components/Business/forms/BusinessDetails/{BusinessDetailsMultiform.d.ts → BusinessDetails.d.ts} +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +27 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +9 -2
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +11 -0
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +3 -0
- package/dist/types/components/EmbeddedDropins/{AcceptTermsOfServiceComponent/AcceptTermsOfServiceComponent.d.ts → TermsOfServiceManagement/TermsOfServiceManagement.d.ts} +2 -2
- package/dist/types/components/EmbeddedDropins/TermsOfServiceStatus/TermsOfServiceStatus.d.ts +6 -0
- package/dist/types/components/GlobalEntry/forms/GlobalEntryModal/GlobalEntryModal.d.ts +1 -0
- package/dist/types/components/GlobalEntry/forms/GlobalEntryModal/isGlobalEntryModalOpen.d.ts +1 -0
- package/dist/types/components/GlobalEntry/tasks/GlobalEntryPage.d.ts +1 -0
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +6 -5
- package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +5 -0
- package/dist/types/components/Shared/forms/Address/AddressFields.d.ts +11 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/JpAddressFields.d.ts +9 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +2 -2
- package/dist/types/components/ui/molecules/ErrorPanel/ServerValidationErrors.d.ts +1 -1
- package/dist/types/components/ui/molecules/ErrorPanel/types.d.ts +4 -8
- package/dist/types/context/ToggleContext/types.d.ts +8 -0
- package/dist/types/core/types.d.ts +0 -11
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts +1 -1
- package/dist/types/hooks/useScenarioConfiguration.d.ts +4 -2
- package/dist/types/router/getDefaultTask.d.ts +3 -1
- package/dist/types/router/routeConfig.d.ts +2 -1
- package/dist/types/stores/globalStore/taskTypes.d.ts +1 -0
- package/dist/types/types/errors/entity-problems.d.ts +8 -1
- package/dist/types/types/form-rules.d.ts +1 -1
- package/dist/types/utils/api/processValidationErrors.d.ts +1 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getFieldNameFromPath.d.ts +1 -0
- package/dist/types/utils/getFormSlice.d.ts +7 -4
- package/dist/types/utils/getProps.d.ts +12 -0
- package/dist/types/utils/masking/masks/businessRegistrationNumberMasks.d.ts +0 -5
- package/dist/types/utils/regex/businessRegistrationNumberPatterns.d.ts +0 -3
- package/dist/types/utils/validationError.d.ts +1 -0
- package/dist/{unincorporated-partnership-BstfjTh2.js → unincorporated-partnership-nnTW3FnG.js} +1 -1
- package/dist/{useAssociatedLegalEntity-QRvyeNwU.js → useAssociatedLegalEntity-CkuvFV-D.js} +2 -2
- package/dist/{useBusinessDetailsData-Cdr8zQFV.js → useBusinessDetailsData-DZ_7dsp9.js} +479 -347
- package/dist/{useBusinessLines-B2iCcDej.js → useBusinessLines-BFsRoAAj.js} +1 -1
- package/dist/{useCanSeeIntroduction-BAXdnYUx.js → useCanSeeIntroduction-DmiEdYxi.js} +2 -2
- package/dist/{useCreateLegalEntity-zPjl13U3.js → useCreateLegalEntity-CoBr-K0N.js} +1 -1
- package/dist/{useDataMissingRemediations-BZwtMi3U.js → useDataMissingRemediations-BzbA8Mu4.js} +3 -3
- package/dist/{useForm-DhSq8lwH.js → useForm-Cj24Z0GS.js} +3 -3
- package/dist/{useFormContext-Dtfe218N.js → useFormContext-CYWY41hm.js} +9 -10
- package/dist/{useLegalEntity-BXk2tzGe.js → useLegalEntity-CtlUQv_J.js} +1 -1
- package/dist/{useMultiForm-DGafu7JW.js → useMultiForm-Cccdz8QU.js} +20 -54
- package/dist/{useNavigate-Bu0KYCiB.js → useNavigate-D0jdU3Lc.js} +41 -35
- package/dist/{useOnboardingStatus-BgO4uPbW.js → useOnboardingStatus-BlXlrSAS.js} +1 -1
- package/dist/{usePciQuestionnaireList-BEPt97lw.js → usePciQuestionnaireList-CbkNC_Ye.js} +1 -1
- package/dist/{useSalesChannels-D3vQBhRT.js → useSalesChannels-CQjvFAb2.js} +2 -2
- package/dist/{useScenarios-Bh7kKk_q.js → useScenarios-DeLWDtIg.js} +1 -1
- package/dist/{useTaskLandedEvent-DDVHIkiF.js → useTaskLandedEvent-BiIxm8IU.js} +1 -1
- package/dist/{useTaskStatus-BLkHjMgm.js → useTaskStatus-wrAxqtIR.js} +1 -1
- package/dist/{useTermsOfServiceStatus-B1OpYOua.js → useTermsOfServiceStatus-D1_ECrkO.js} +1 -1
- package/dist/{useTrustMembers-Do3hdGIJ.js → useTrustMembers-BVOC0v85.js} +6 -6
- package/dist/{useUnincorporatedPartnershipMembers-BSEcDBC7.js → useUnincorporatedPartnershipMembers-B5WCX6yK.js} +6 -6
- package/dist/{useUpdateBusinessLines-jlXfi57a.js → useUpdateBusinessLines-Cncate8L.js} +1 -1
- package/dist/{useUpdateLegalEntity-CsWHWigd.js → useUpdateLegalEntity-Cdv-ffXE.js} +2 -2
- package/dist/{utils-BtyrxTzp.js → utils-C1buyvRw.js} +1 -1
- package/dist/{utils-DT_Qe3DC.js → utils-CMdCAAbw.js} +16 -56
- package/dist/{utils-CTt_G6Rx.js → utils-DK1Fqkgs.js} +34 -9
- package/dist/{utils-CGlii18m.js → utils-DnCitvpf.js} +6 -6
- package/dist/{validate-C52znTzq.js → validate-CMxq61UU.js} +5 -5
- package/dist/{validate-CeVER2vD.js → validate-Cr-q1Y4p.js} +1 -1
- package/dist/{validateExtractionResult-CxXkhbrM.js → validateExtractionResult-CwUaiu2n.js} +11 -11
- package/dist/validationError-CPM3NYRx.js +55 -0
- package/package.json +3 -11
- package/dist/AD-Clkur2Hx.js +0 -15
- package/dist/AE-BUOfE-VR.js +0 -17
- package/dist/AI-BApAOdVW.js +0 -19
- package/dist/AL-DfPgkH9x.js +0 -19
- package/dist/AR-Bddz61XJ.js +0 -19
- package/dist/AS-C3xgvOIz.js +0 -17
- package/dist/AT-DnJdtYnd.js +0 -15
- package/dist/AU-DL1fsj76.js +0 -16
- package/dist/AX-BTtRN-MP.js +0 -15
- package/dist/AZ-CXVL6e85.js +0 -19
- package/dist/BA-27B-jpFq.js +0 -19
- package/dist/BE-BSUwgR6_.js +0 -15
- package/dist/BG-ChvSTIBz.js +0 -19
- package/dist/BH-D1HvWueK.js +0 -19
- package/dist/BM-bLwVUrnz.js +0 -19
- package/dist/BR-nSEEl5uz.js +0 -18
- package/dist/BS-Bf402NRj.js +0 -19
- package/dist/BV-CJwVioP4.js +0 -19
- package/dist/BY-CYaB1wEE.js +0 -19
- package/dist/CA-B49VPJKw.js +0 -17
- package/dist/CH-BASES6q1.js +0 -15
- package/dist/CN-CEIcYgEd.js +0 -19
- package/dist/CR-CU6MVhAz.js +0 -19
- package/dist/CY-DSZIX0eb.js +0 -15
- package/dist/CZ-CUYgGHVo.js +0 -27
- package/dist/DE-3Qc-SfVV.js +0 -15
- package/dist/DK--Bs4HfJM.js +0 -27
- package/dist/DO-D4wgMRWE.js +0 -19
- package/dist/EC-B2FGK-mr.js +0 -20
- package/dist/EE-qXeASUC-.js +0 -15
- package/dist/ES-BBz54aGb.js +0 -15
- package/dist/FI-DHkXLS9S.js +0 -15
- package/dist/FJ-V_2w3UTO.js +0 -19
- package/dist/FO-DR-Xnm7u.js +0 -19
- package/dist/FR-CtpYelsq.js +0 -15
- package/dist/GB-G_B8HSJg.js +0 -27
- package/dist/GE-By9lo4py.js +0 -19
- package/dist/GF-B0xFBl9q.js +0 -15
- package/dist/GG-bAeosM_i.js +0 -27
- package/dist/GI-DfkPsLw0.js +0 -35
- package/dist/GL-DhRtJPZY.js +0 -19
- package/dist/GP-DNyYQvJw.js +0 -15
- package/dist/GR-DK-QrYIO.js +0 -15
- package/dist/GT-BRuMYK92.js +0 -19
- package/dist/GU-DAYIt05K.js +0 -17
- package/dist/HK-DeKSh6yq.js +0 -17
- package/dist/HR-D0EqC8kx.js +0 -15
- package/dist/HU-DIT5cG5Z.js +0 -26
- package/dist/ID-BBzj2tyK.js +0 -19
- package/dist/IE-CxtzANSG.js +0 -15
- package/dist/IL-CgJ0eWPT.js +0 -15
- package/dist/IM-Ca1LRzUz.js +0 -27
- package/dist/IN--pr2-g7e.js +0 -20
- package/dist/IS-BZeqGau3.js +0 -19
- package/dist/IT-BioiAQgd.js +0 -15
- package/dist/JE-BCj36onT.js +0 -27
- package/dist/JM-b03xrGTz.js +0 -19
- package/dist/JO-CA8m_H5N.js +0 -19
- package/dist/JP-DroDT2u3.js +0 -20
- package/dist/KR-BkBLDQIT.js +0 -19
- package/dist/KW-dB3SXEf8.js +0 -19
- package/dist/KY-mZ-zKVkq.js +0 -19
- package/dist/KZ-CcyUPGdv.js +0 -19
- package/dist/LB-DmtcVmjU.js +0 -19
- package/dist/LI-haSXATP0.js +0 -15
- package/dist/LT-CYlhLD3-.js +0 -15
- package/dist/LU-CnQilYzI.js +0 -15
- package/dist/LV-BJoOuCmD.js +0 -15
- package/dist/MC-1OhRuam2.js +0 -15
- package/dist/MD-DN7TRpmW.js +0 -19
- package/dist/ME-CuMiA40n.js +0 -19
- package/dist/MK-DGR-uR66.js +0 -19
- package/dist/MP-xhfj0dkC.js +0 -17
- package/dist/MQ-CZu5G2-t.js +0 -15
- package/dist/MR--V7elAIS.js +0 -19
- package/dist/MT-BmkVDeF2.js +0 -15
- package/dist/MU-LzgqzZzT.js +0 -19
- package/dist/MX-z-WoZkPd.js +0 -17
- package/dist/MY-WsFwWp2U.js +0 -16
- package/dist/NC-B9M8cc6C.js +0 -19
- package/dist/NL-CXjh0eXG.js +0 -15
- package/dist/NO-BuWcaqBm.js +0 -26
- package/dist/NZ-BDDXct1F.js +0 -11
- package/dist/PE-DJZc_8Lk.js +0 -19
- package/dist/PF-D593LuXT.js +0 -19
- package/dist/PH-CJRjYgx3.js +0 -19
- package/dist/PK-C1TVRYA6.js +0 -19
- package/dist/PL-C3tudSnw.js +0 -26
- package/dist/PM-CPvVGX_s.js +0 -15
- package/dist/PR-C6mnN4I1.js +0 -17
- package/dist/PS-Bqa7HAb6.js +0 -19
- package/dist/PT-BHFP2Jx8.js +0 -15
- package/dist/PayoutDetailsPage-IhLlwUKv.js +0 -69
- package/dist/QA-B2A0rFrR.js +0 -19
- package/dist/RE-BSdvJRM5.js +0 -15
- package/dist/RO-BZxtXYEM.js +0 -15
- package/dist/RS-DAtcOeON.js +0 -19
- package/dist/RU-CDpkuVOX.js +0 -19
- package/dist/RootBusinessDetailsPage-CumD-zxI.js +0 -68
- package/dist/SA-BoAcP38a.js +0 -19
- package/dist/SE-DX5R7MEM.js +0 -27
- package/dist/SG-Dm4nWFwC.js +0 -16
- package/dist/SI-CbzJWJo5.js +0 -15
- package/dist/SJ-C0EiPIY7.js +0 -19
- package/dist/SK-Bg9K35hT.js +0 -15
- package/dist/SM-BAP1izca.js +0 -15
- package/dist/TF-BzLXwUD9.js +0 -19
- package/dist/TH-wvwE8m03.js +0 -20
- package/dist/TL-CAwOhktT.js +0 -19
- package/dist/TN-Bs-VE6A_.js +0 -19
- package/dist/TR-7uYc2xp7.js +0 -19
- package/dist/TT-DbzL2xhJ.js +0 -20
- package/dist/TW-BTAvA4FA.js +0 -21
- package/dist/UA-BAkAL82L.js +0 -19
- package/dist/US-BXek71cY.js +0 -17
- package/dist/UY-Bq43JSIl.js +0 -19
- package/dist/VA-CHkQ7jk0.js +0 -15
- package/dist/VG-DnUOjTKa.js +0 -19
- package/dist/VI-CjjaTPrq.js +0 -17
- package/dist/VN-DgqMueJl.js +0 -19
- package/dist/WF-Czcwchbb.js +0 -19
- package/dist/YT-BTQIBrb1.js +0 -15
- package/dist/ZA-BAufwt8q.js +0 -20
- package/dist/bg-BG-BHL5r3bk.js +0 -7
- package/dist/bg-BG-CYrrltO8.js +0 -7
- package/dist/cs-CZ-DfuZr4cv.js +0 -7
- package/dist/cs-CZ-SBisIyel.js +0 -7
- package/dist/da-DK-CLx0Hv_L.js +0 -7
- package/dist/da-DK-CcvXqgMA.js +0 -7
- package/dist/de-DE-CcOP7Z3J.js +0 -7
- package/dist/de-DE-qTvDZ5Tj.js +0 -7
- package/dist/el-GR-CO9ixkqP.js +0 -7
- package/dist/el-GR-D1QMkjQd.js +0 -7
- package/dist/en-US-C1J9jcVI.js +0 -7
- package/dist/en-US-CJsQJw90.js +0 -7
- package/dist/en-US-Dokjxy17.js +0 -7
- package/dist/es-ES-CwLsmJeQ.js +0 -7
- package/dist/es-ES-fgGV_t7L.js +0 -7
- package/dist/es-LA-CLD_193O.js +0 -7
- package/dist/es-LA-b7TFh_XZ.js +0 -7
- package/dist/et-EE-CEiroCyD.js +0 -7
- package/dist/et-EE-o65QgBKk.js +0 -7
- package/dist/fi-FI-CKffkrhp.js +0 -7
- package/dist/fi-FI-Cqf4k_ja.js +0 -7
- package/dist/fr-FR-B_JTgxAY.js +0 -7
- package/dist/fr-FR-CQbo6d_Q.js +0 -7
- package/dist/hr-HR-BH4GZRVw.js +0 -7
- package/dist/hr-HR-COHtbZDp.js +0 -7
- package/dist/hu-HU-D0LsAFcV.js +0 -7
- package/dist/hu-HU-xQwE0I5f.js +0 -7
- package/dist/it-IT-DDUd_IZC.js +0 -7
- package/dist/it-IT-NOsTkUWg.js +0 -7
- package/dist/ja-JP-Br0ivw8k.js +0 -7
- package/dist/ja-JP-C98F-BgJ.js +0 -7
- package/dist/jpAddressSchema-DT19YcnH.js +0 -17
- package/dist/lt-LT-DUC5ir_t.js +0 -7
- package/dist/lt-LT-erbGBPqF.js +0 -7
- package/dist/lv-LV-BBegWP3c.js +0 -7
- package/dist/lv-LV-xbEcOY__.js +0 -7
- package/dist/nl-NL-Cpuz-HtA.js +0 -7
- package/dist/nl-NL-NTjVSJq2.js +0 -7
- package/dist/no-NO-B6zGFOCK.js +0 -7
- package/dist/no-NO-Bd3KNpMs.js +0 -7
- package/dist/pl-PL-Bg2G4ioZ.js +0 -7
- package/dist/pl-PL-Cw9UG-qg.js +0 -7
- package/dist/pt-BR-BrCPGoU1.js +0 -7
- package/dist/pt-BR-DT63AAqA2.js +0 -7
- package/dist/pt-PT-BFTfpBI4.js +0 -7
- package/dist/pt-PT-Dilg4TrM.js +0 -7
- package/dist/ro-RO-DJeBU2j9.js +0 -7
- package/dist/ro-RO-DRzT7WiY.js +0 -7
- package/dist/sk-SK-CuXM9tOj.js +0 -7
- package/dist/sk-SK-rMCHSdm4.js +0 -7
- package/dist/sl-SI-BDRsH7Bv.js +0 -7
- package/dist/sl-SI-Dg4bivT7.js +0 -7
- package/dist/sv-SE-Cimi5Nb9.js +0 -7
- package/dist/sv-SE-DaklU1jx.js +0 -7
- package/dist/trackNavigation-DR70qR8T.js +0 -15
- package/dist/trusted-fields-provider-DLz8KKVf.js +0 -10
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropinMultiForm.d.ts +0 -2
- package/dist/types/components/EmbeddedDropins/ManageTermsOfServiceComponent/ManageTermsOfServiceComponent.d.ts +0 -6
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/RouterDropinComposer.d.ts +0 -3
- package/dist/types/components/Shared/FormNavigation/FormNavigation.d.ts +0 -4
- package/dist/types/components/Shared/FormNavigation/FormNavigationItem.d.ts +0 -4
- package/dist/types/components/Shared/FormNavigation/types.d.ts +0 -22
- package/dist/types/datasets/generators/getAccountFormatForCountry.d.ts +0 -14
- /package/dist/types/components/Apps/tasks/TaskList/{TaskListItem.d.ts → TaskListItem/TaskListItem.d.ts} +0 -0
- /package/dist/types/components/BankAccount/forms/PayoutAccount/{payoutAccountFormat.d.ts → store.d.ts} +0 -0
- /package/dist/types/components/{Apps/tasks/TaskList → BankAccount/tasks/PayoutAccount}/PayoutAccountTaskListItem.d.ts +0 -0
|
@@ -1,48 +1,49 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "02a79a6e-39c6-43ca-aa39-ee62cfc62198", e._sentryDebugIdIdentifier = "sentry-dbid-02a79a6e-39c6-43ca-aa39-ee62cfc62198");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, r as useTranslation } from "./translation-
|
|
6
|
-
import { T as datasetUtilities, k as Header } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { n as httpGet, s as useApiContext } from "./http-
|
|
5
|
+
import { i as Typography, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { T as datasetUtilities, k as Header } from "./resolveEnvironment-CL_fPQJG.js";
|
|
7
|
+
import { r as Loader, t as Button } from "./Button-i8I2dHP8.js";
|
|
8
|
+
import { n as httpGet, s as useApiContext } from "./http-8qgzqVqk.js";
|
|
9
9
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
10
10
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
11
11
|
import { n as cloneObject } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
12
|
-
import { y as reverseMapping } from "./processCapabilities-
|
|
13
|
-
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-
|
|
12
|
+
import { y as reverseMapping } from "./processCapabilities-C2kMryYn.js";
|
|
13
|
+
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-DLXInibJ.js";
|
|
14
14
|
import { t as isEeaCountry } from "./country-BxigZW1s.js";
|
|
15
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
15
|
+
import { i as useAnalyticsContext } from "./Modal-ByJare7m.js";
|
|
16
16
|
import { t as SettingNames } from "./types-Cwq1JAWT.js";
|
|
17
|
-
import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
18
|
-
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
19
|
-
import { t as EndStateLayout } from "./EndStateLayout-
|
|
20
|
-
import { n as translateTranslatable } from "./utils-
|
|
21
|
-
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
22
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
23
|
-
import { t as
|
|
24
|
-
import {
|
|
25
|
-
import { t as
|
|
26
|
-
import { t as
|
|
27
|
-
import { t as
|
|
28
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DDVHIkiF.js";
|
|
17
|
+
import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CkuvFV-D.js";
|
|
18
|
+
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-CHNRruhe.js";
|
|
19
|
+
import { t as EndStateLayout } from "./EndStateLayout-CBRHUXyY.js";
|
|
20
|
+
import { n as translateTranslatable } from "./utils-C1buyvRw.js";
|
|
21
|
+
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CoBr-K0N.js";
|
|
22
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-Cdv-ffXE.js";
|
|
23
|
+
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-CYWY41hm.js";
|
|
24
|
+
import { t as ErrorPanel } from "./ErrorPanel-O79YWbUj.js";
|
|
25
|
+
import { t as createFormUtils } from "./formUtils-BrLGUOLK.js";
|
|
26
|
+
import { t as useMultiForm } from "./useMultiForm-Cccdz8QU.js";
|
|
27
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BiIxm8IU.js";
|
|
29
28
|
import { c as COUNTRIES_WITH_STATES_DATASET, n as getAddressSchemaLabelsByCountry, r as getKeyForField, t as getAddressSchemaForCountry } from "./utils-BIsRIG8_.js";
|
|
30
|
-
import {
|
|
29
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors--FWewgRp.js";
|
|
31
30
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
32
|
-
import { t as localizeDateString } from "./localizeDateString-
|
|
33
|
-
import {
|
|
34
|
-
import { t as
|
|
35
|
-
import { t as
|
|
36
|
-
import { t as
|
|
37
|
-
import {
|
|
38
|
-
import { t as
|
|
39
|
-
import { t as
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
31
|
+
import { t as localizeDateString } from "./localizeDateString-Bmx3yBcR.js";
|
|
32
|
+
import { a as isValidationError } from "./validationError-CPM3NYRx.js";
|
|
33
|
+
import { t as Field } from "./Field-Dg-2A6bG.js";
|
|
34
|
+
import { t as Select } from "./Select-D4oEtS2n.js";
|
|
35
|
+
import { t as Checkbox } from "./Checkbox-DdEBnXOB.js";
|
|
36
|
+
import { n as getFieldProps } from "./getProps-DVqK7eRw.js";
|
|
37
|
+
import { t as Link } from "./Link-JFzfaUOa.js";
|
|
38
|
+
import { t as InputText } from "./InputText-CQcWyZ8_.js";
|
|
39
|
+
import { t as InputDate } from "./InputDate-CxzAaaCm.js";
|
|
40
|
+
import { n as CountryField } from "./CountryField-DoLt4vNa.js";
|
|
41
|
+
import { t as RadioGroup } from "./RadioGroup-Bt1Dv_S8.js";
|
|
42
|
+
import { t as Address } from "./Address-CUkUuSeU.js";
|
|
42
43
|
import { t as currencyByCountry } from "./types-KjTYEnAG.js";
|
|
43
|
-
import { a as LegalFormField, i as InputCurrency, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-
|
|
44
|
-
import { t as NewSummary } from "./NewSummary-
|
|
45
|
-
import { t as businessFinancingMultiformRules } from "./validate-
|
|
44
|
+
import { a as LegalFormField, i as InputCurrency, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-D1hJGOjo.js";
|
|
45
|
+
import { t as NewSummary } from "./NewSummary-DwQr3V21.js";
|
|
46
|
+
import { t as businessFinancingMultiformRules } from "./validate-Cr-q1Y4p.js";
|
|
46
47
|
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
47
48
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
48
49
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -177,6 +178,22 @@ var BusinessFinancingIndices = {
|
|
|
177
178
|
};
|
|
178
179
|
//#endregion
|
|
179
180
|
//#region src/components/EFP/tasks/BusinessFinancingDropin/utils.ts
|
|
181
|
+
/**
|
|
182
|
+
* Deep-merges freshly processed validation errors into the previous ones, keyed by formId.
|
|
183
|
+
* Merging (rather than replacing) is required because sibling entities (e.g. parent and
|
|
184
|
+
* ultimate parent company) are submitted in parallel and each may contribute errors to the
|
|
185
|
+
* shared summary bucket within a single submit.
|
|
186
|
+
*
|
|
187
|
+
* NOTE: This never removes an error, so callers must reset validation errors at the start of
|
|
188
|
+
* each submit to avoid showing stale errors from a previous attempt.
|
|
189
|
+
*/
|
|
190
|
+
var mergeValidationErrors = (previousValidationErrors, newValidationErrors) => Object.entries(newValidationErrors ?? {}).reduce((acc, [formId, formErrors]) => ({
|
|
191
|
+
...acc,
|
|
192
|
+
[formId]: {
|
|
193
|
+
...acc[formId],
|
|
194
|
+
...formErrors
|
|
195
|
+
}
|
|
196
|
+
}), { ...previousValidationErrors });
|
|
180
197
|
var getLegalEntityId = (businessFinancingIndex, rootLegalEntity) => {
|
|
181
198
|
if (!rootLegalEntity) return void 0;
|
|
182
199
|
if (businessFinancingIndex === BusinessFinancingIndices.COMPANY || businessFinancingIndex === BusinessFinancingIndices.SOLE_PROPRIETOR) return rootLegalEntity.id;
|
|
@@ -1526,6 +1543,10 @@ function BusinessFinancingDropin(props) {
|
|
|
1526
1543
|
const onSubmit = async () => {
|
|
1527
1544
|
setLoadingStatus("loading");
|
|
1528
1545
|
if (!umfData) return;
|
|
1546
|
+
setProblems((prevProblems) => ({
|
|
1547
|
+
...prevProblems,
|
|
1548
|
+
validationErrors: {}
|
|
1549
|
+
}));
|
|
1529
1550
|
const isSoleProprietor = hasSolePropInLegalEntity(rootLegalEntity);
|
|
1530
1551
|
const mainEntityDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.COMPANY, umfData, rootLegalEntity) : null;
|
|
1531
1552
|
const soleProprietorPayloads = isSoleProprietor ? prepareSoleProprietorBusinessFinancingSubmitData(umfData, rootLegalEntity, soleProprietor) : null;
|
|
@@ -1625,6 +1646,7 @@ function BusinessFinancingDropin(props) {
|
|
|
1625
1646
|
await invalidateRootLegalEntity();
|
|
1626
1647
|
if (showBusinessFinancingFirst || isStandaloneComponent) setShowEndState(true);
|
|
1627
1648
|
else externalOnSubmit?.({ ...umfData });
|
|
1649
|
+
setProblems({});
|
|
1628
1650
|
} catch (e) {
|
|
1629
1651
|
showToast({
|
|
1630
1652
|
label: commonT(($) => $["failedToUpdateDetails"]),
|
|
@@ -1632,7 +1654,6 @@ function BusinessFinancingDropin(props) {
|
|
|
1632
1654
|
});
|
|
1633
1655
|
handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
|
|
1634
1656
|
}
|
|
1635
|
-
setProblems({});
|
|
1636
1657
|
}
|
|
1637
1658
|
} catch (e) {
|
|
1638
1659
|
if (!parentCompanyFailed && !ultimateParentCompanyFailed) handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
|
|
@@ -1654,10 +1675,7 @@ function BusinessFinancingDropin(props) {
|
|
|
1654
1675
|
const validationErrors = processValidationErrors(error.actualError, void 0, keyMapping);
|
|
1655
1676
|
setProblems((prevProblems) => ({
|
|
1656
1677
|
...prevProblems,
|
|
1657
|
-
validationErrors:
|
|
1658
|
-
...prevProblems?.validationErrors,
|
|
1659
|
-
[businessFinancingType]: validationErrors?.[businessFinancingType] ?? {}
|
|
1660
|
-
}
|
|
1678
|
+
validationErrors: mergeValidationErrors(prevProblems?.validationErrors, validationErrors)
|
|
1661
1679
|
}));
|
|
1662
1680
|
} else if (isMaintenanceModeError(error)) showToast({
|
|
1663
1681
|
label: commonT(($) => $["maintenanceModeMessage"]),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "67f65dc9-d7a7-4c42-8ce3-b945c79d183d", e._sentryDebugIdIdentifier = "sentry-dbid-67f65dc9-d7a7-4c42-8ce3-b945c79d183d");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as addResourceBundles, r as useTranslation } from "./translation-
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader } from "./Button-
|
|
8
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
5
|
+
import { n as addResourceBundles, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-CL_fPQJG.js";
|
|
7
|
+
import { r as Loader } from "./Button-i8I2dHP8.js";
|
|
8
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CtlUQv_J.js";
|
|
9
9
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
10
|
-
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
10
|
+
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-BIYr1Mgu.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
//#region src/components/EFP/pages/BusinessFinancingPage.tsx
|
|
13
13
|
var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
|
|
@@ -47,33 +47,33 @@ var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
|
|
|
47
47
|
}, {
|
|
48
48
|
ns: "common",
|
|
49
49
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
50
|
-
"../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
51
|
-
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-
|
|
52
|
-
"../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
53
|
-
"../../../language/locales/de-DE.json": () => import("./de-DE-
|
|
54
|
-
"../../../language/locales/el-GR.json": () => import("./el-GR-
|
|
50
|
+
"../../../language/locales/bg-BG.json": () => import("./bg-BG-BNxxbT-Z.js"),
|
|
51
|
+
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-Bw702SPD.js"),
|
|
52
|
+
"../../../language/locales/da-DK.json": () => import("./da-DK-CUL_Et0l.js"),
|
|
53
|
+
"../../../language/locales/de-DE.json": () => import("./de-DE-D-2q3DBW.js"),
|
|
54
|
+
"../../../language/locales/el-GR.json": () => import("./el-GR-RkQ7qOtM.js"),
|
|
55
55
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-FOYUYA3c.js"),
|
|
56
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
57
|
-
"../../../language/locales/es-ES.json": () => import("./es-ES-
|
|
58
|
-
"../../../language/locales/es-LA.json": () => import("./es-LA-
|
|
59
|
-
"../../../language/locales/et-EE.json": () => import("./et-EE-
|
|
60
|
-
"../../../language/locales/fi-FI.json": () => import("./fi-FI-
|
|
61
|
-
"../../../language/locales/fr-FR.json": () => import("./fr-FR-
|
|
62
|
-
"../../../language/locales/hr-HR.json": () => import("./hr-HR-
|
|
63
|
-
"../../../language/locales/hu-HU.json": () => import("./hu-HU-
|
|
64
|
-
"../../../language/locales/it-IT.json": () => import("./it-IT-
|
|
65
|
-
"../../../language/locales/ja-JP.json": () => import("./ja-JP-
|
|
66
|
-
"../../../language/locales/lt-LT.json": () => import("./lt-LT-
|
|
67
|
-
"../../../language/locales/lv-LV.json": () => import("./lv-LV-
|
|
68
|
-
"../../../language/locales/nl-NL.json": () => import("./nl-NL-
|
|
69
|
-
"../../../language/locales/no-NO.json": () => import("./no-NO-
|
|
70
|
-
"../../../language/locales/pl-PL.json": () => import("./pl-PL-
|
|
71
|
-
"../../../language/locales/pt-BR.json": () => import("./pt-BR-
|
|
72
|
-
"../../../language/locales/pt-PT.json": () => import("./pt-PT-
|
|
73
|
-
"../../../language/locales/ro-RO.json": () => import("./ro-RO-
|
|
74
|
-
"../../../language/locales/sk-SK.json": () => import("./sk-SK-
|
|
75
|
-
"../../../language/locales/sl-SI.json": () => import("./sl-SI-
|
|
76
|
-
"../../../language/locales/sv-SE.json": () => import("./sv-SE-
|
|
56
|
+
"../../../language/locales/en-US.json": () => import("./en-US-BNfqvbyW.js"),
|
|
57
|
+
"../../../language/locales/es-ES.json": () => import("./es-ES-CtKqdJ9Z.js"),
|
|
58
|
+
"../../../language/locales/es-LA.json": () => import("./es-LA-racbldhR.js"),
|
|
59
|
+
"../../../language/locales/et-EE.json": () => import("./et-EE-CXOeuULd.js"),
|
|
60
|
+
"../../../language/locales/fi-FI.json": () => import("./fi-FI-BNfxJDvc.js"),
|
|
61
|
+
"../../../language/locales/fr-FR.json": () => import("./fr-FR-Byelw2ED.js"),
|
|
62
|
+
"../../../language/locales/hr-HR.json": () => import("./hr-HR-Cmnnjuvd.js"),
|
|
63
|
+
"../../../language/locales/hu-HU.json": () => import("./hu-HU-8uDv5c4i.js"),
|
|
64
|
+
"../../../language/locales/it-IT.json": () => import("./it-IT-VzcvfA7e.js"),
|
|
65
|
+
"../../../language/locales/ja-JP.json": () => import("./ja-JP-B05v6NdN.js"),
|
|
66
|
+
"../../../language/locales/lt-LT.json": () => import("./lt-LT-C7Bf2i87.js"),
|
|
67
|
+
"../../../language/locales/lv-LV.json": () => import("./lv-LV-D3bkGuXV.js"),
|
|
68
|
+
"../../../language/locales/nl-NL.json": () => import("./nl-NL-lyCxhWKl.js"),
|
|
69
|
+
"../../../language/locales/no-NO.json": () => import("./no-NO-FFwOUFr9.js"),
|
|
70
|
+
"../../../language/locales/pl-PL.json": () => import("./pl-PL-B9u7WZBs.js"),
|
|
71
|
+
"../../../language/locales/pt-BR.json": () => import("./pt-BR-XeJRk5pM2.js"),
|
|
72
|
+
"../../../language/locales/pt-PT.json": () => import("./pt-PT-CCuTeMbQ.js"),
|
|
73
|
+
"../../../language/locales/ro-RO.json": () => import("./ro-RO-CXGpXJAG.js"),
|
|
74
|
+
"../../../language/locales/sk-SK.json": () => import("./sk-SK-DoHPhXvk.js"),
|
|
75
|
+
"../../../language/locales/sl-SI.json": () => import("./sl-SI-Ga2XE4DC.js"),
|
|
76
|
+
"../../../language/locales/sv-SE.json": () => import("./sv-SE-DYjpbult.js")
|
|
77
77
|
}), `../../../language/locales/${lang}.json`, 6)
|
|
78
78
|
}]);
|
|
79
79
|
if (!rootLe) return /* @__PURE__ */ jsx(Loader, {});
|
package/dist/{BusinessTypeSelectionPage-mR4yxGIO.js → BusinessTypeSelectionPage-CFz9n5DM.js}
RENAMED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b85288d8-1963-4dc3-acef-a98f152b940d", e._sentryDebugIdIdentifier = "sentry-dbid-b85288d8-1963-4dc3-acef-a98f152b940d");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-
|
|
6
|
-
import { ft as useAccountHolder } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
5
|
+
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { ft as useAccountHolder } from "./resolveEnvironment-CL_fPQJG.js";
|
|
7
|
+
import { r as Loader, t as Button } from "./Button-i8I2dHP8.js";
|
|
8
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CtlUQv_J.js";
|
|
9
9
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
10
10
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
11
|
-
import { t as getCapabilities } from "./processCapabilities-
|
|
12
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
13
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
14
|
-
import { r as LoaderWrapper } from "./utils-
|
|
15
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
16
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
17
|
-
import { t as Field } from "./Field-
|
|
18
|
-
import { t as TileGroup } from "./TileGroup-
|
|
19
|
-
import { t as useForm } from "./useForm-
|
|
11
|
+
import { t as getCapabilities } from "./processCapabilities-C2kMryYn.js";
|
|
12
|
+
import { i as useAnalyticsContext } from "./Modal-ByJare7m.js";
|
|
13
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-CHNRruhe.js";
|
|
14
|
+
import { r as LoaderWrapper } from "./utils-C1buyvRw.js";
|
|
15
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-Cdv-ffXE.js";
|
|
16
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BiIxm8IU.js";
|
|
17
|
+
import { t as Field } from "./Field-Dg-2A6bG.js";
|
|
18
|
+
import { t as TileGroup } from "./TileGroup-PzJay6GP.js";
|
|
19
|
+
import { t as useForm } from "./useForm-Cj24Z0GS.js";
|
|
20
20
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
21
|
-
import { a as getTargetLegalEntityType, c as useSelectionOptions, i as getDefaultLegalArrangementOrSuborganizationType, n as determineOrganizationTypeToUpdate, o as legalArrangementMetadata, r as getBusinessType, t as businessTypeIcons } from "./utils-
|
|
21
|
+
import { a as getTargetLegalEntityType, c as useSelectionOptions, i as getDefaultLegalArrangementOrSuborganizationType, n as determineOrganizationTypeToUpdate, o as legalArrangementMetadata, r as getBusinessType, t as businessTypeIcons } from "./utils-DnCitvpf.js";
|
|
22
22
|
import { useEffect, useState } from "preact/hooks";
|
|
23
23
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
24
24
|
//#region src/datasets/generators/getBusinessTypeExamplesForCountry.ts
|
|
@@ -2,7 +2,7 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4472c2f7-a4d0-4e03-9801-71e5f9ca14ae", e._sentryDebugIdIdentifier = "sentry-dbid-4472c2f7-a4d0-4e03-9801-71e5f9ca14ae");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon, i as Typography, r as useTranslation } from "./translation-
|
|
5
|
+
import { a as Icon, i as Typography, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
6
|
import { useLayoutEffect } from "preact/hooks";
|
|
7
7
|
import cx from "classnames";
|
|
8
8
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -2,7 +2,7 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "21b5f4b5-e6aa-485f-81bb-5191296c392b", e._sentryDebugIdIdentifier = "sentry-dbid-21b5f4b5-e6aa-485f-81bb-5191296c392b");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
5
|
+
import { i as useAnalyticsContext } from "./Modal-ByJare7m.js";
|
|
6
6
|
import cx from "classnames";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
8
8
|
//#region src/components/ui/atoms/Checkbox/Checkbox.tsx
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "14f00c46-4e20-44d7-9600-5deab7447509", e._sentryDebugIdIdentifier = "sentry-dbid-14f00c46-4e20-44d7-9600-5deab7447509");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
5
|
+
import { r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
6
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
7
|
-
import { c as CompanyTypesValues } from "./bafinUtils-
|
|
8
|
-
import { l as numericInputs, s as makeMask, u as spacer } from "./MaskedInput-
|
|
9
|
-
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-
|
|
10
|
-
import { M as businessRegistrationNumberMasks, N as stateFormatGuidanceText, j as businessRegistrationNumberPatterns } from "./utils-
|
|
11
|
-
import { t as Field } from "./Field-
|
|
12
|
-
import { t as RadioGroup } from "./RadioGroup-
|
|
7
|
+
import { c as CompanyTypesValues } from "./bafinUtils-CbfyDBkh.js";
|
|
8
|
+
import { l as numericInputs, s as makeMask, u as spacer } from "./MaskedInput-ClZhzZhf.js";
|
|
9
|
+
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-BFk0f6IP.js";
|
|
10
|
+
import { M as businessRegistrationNumberMasks, N as stateFormatGuidanceText, j as businessRegistrationNumberPatterns } from "./utils-DK1Fqkgs.js";
|
|
11
|
+
import { t as Field } from "./Field-Dg-2A6bG.js";
|
|
12
|
+
import { t as RadioGroup } from "./RadioGroup-Bt1Dv_S8.js";
|
|
13
13
|
import { useCallback, useEffect, useMemo } from "preact/hooks";
|
|
14
14
|
import { jsx } from "preact/jsx-runtime";
|
|
15
15
|
//#region src/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.ts
|
|
@@ -485,18 +485,6 @@ var registrationNumberDefaultFieldConfig = {
|
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
487
|
},
|
|
488
|
-
[CountryCodes.Mexico]: {
|
|
489
|
-
label: "RFC",
|
|
490
|
-
mask: businessRegistrationNumberMasks[CountryCodes.Mexico].default,
|
|
491
|
-
validators: validatePatternOnBlur(businessRegistrationNumberPatterns[CountryCodes.Mexico].default),
|
|
492
|
-
guidanceText: {
|
|
493
|
-
key: "enterNDigitsForExample",
|
|
494
|
-
values: {
|
|
495
|
-
numDigits: "12",
|
|
496
|
-
example: "LFM200817DGA"
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
},
|
|
500
488
|
[CountryCodes.Monaco]: ({ registrationNumberType }) => {
|
|
501
489
|
switch (registrationNumberType) {
|
|
502
490
|
case "mcRegistrationNumberSoleProp": return {
|
|
@@ -2,9 +2,9 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4aedd1b9-81aa-40d2-9fc4-4b7fc8dfa8eb", e._sentryDebugIdIdentifier = "sentry-dbid-4aedd1b9-81aa-40d2-9fc4-4b7fc8dfa8eb");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, r as useTranslation } from "./translation-
|
|
6
|
-
import { t as Button } from "./Button-
|
|
7
|
-
import { i as useAnalyticsContext, t as Modal } from "./Modal-
|
|
5
|
+
import { i as Typography, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { t as Button } from "./Button-i8I2dHP8.js";
|
|
7
|
+
import { i as useAnalyticsContext, t as Modal } from "./Modal-ByJare7m.js";
|
|
8
8
|
import { useEffect, useState } from "preact/hooks";
|
|
9
9
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
10
10
|
var Confirm_module_default = {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "afbd65dd-0102-47c8-800c-c92d3a0b7824", e._sentryDebugIdIdentifier = "sentry-dbid-afbd65dd-0102-47c8-800c-c92d3a0b7824");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { C as useDataset, k as Header, nt as isEmpty, w as datasetIdentifier } from "./resolveEnvironment-
|
|
7
|
-
import { r as httpPost, s as useApiContext } from "./http-
|
|
5
|
+
import { r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { C as useDataset, k as Header, nt as isEmpty, w as datasetIdentifier } from "./resolveEnvironment-CL_fPQJG.js";
|
|
7
|
+
import { r as httpPost, s as useApiContext } from "./http-8qgzqVqk.js";
|
|
8
8
|
import { s as entriesOf } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
9
9
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
10
|
-
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-
|
|
11
|
-
import { c as nonInputs, l as numericInputs, n as InputEmail, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-
|
|
10
|
+
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-BrLGUOLK.js";
|
|
11
|
+
import { c as nonInputs, l as numericInputs, n as InputEmail, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-ClZhzZhf.js";
|
|
12
12
|
import { n as emailPattern } from "./basePatterns-plHFNzgJ.js";
|
|
13
13
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
14
|
-
import { t as Field } from "./Field-
|
|
15
|
-
import { t as Select } from "./Select-
|
|
14
|
+
import { t as Field } from "./Field-Dg-2A6bG.js";
|
|
15
|
+
import { t as Select } from "./Select-D4oEtS2n.js";
|
|
16
16
|
import { t as InputGroup } from "./InputGroup-B4U3QVEp.js";
|
|
17
17
|
import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
|
|
18
18
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -2,8 +2,8 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d5da8859-9632-4657-931c-9316f8fa78d1", e._sentryDebugIdIdentifier = "sentry-dbid-d5da8859-9632-4657-931c-9316f8fa78d1");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { x as Alert } from "./resolveEnvironment-
|
|
6
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
5
|
+
import { x as Alert } from "./resolveEnvironment-CL_fPQJG.js";
|
|
6
|
+
import { i as useAnalyticsContext } from "./Modal-ByJare7m.js";
|
|
7
7
|
import { jsx } from "preact/jsx-runtime";
|
|
8
8
|
//#region src/components/ui/molecules/ContextGuidance/ContextGuidance.tsx
|
|
9
9
|
function ContextGuidance({ title, content, titleId, contentId, trackingParams }) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2e013062-29d3-4755-8d16-061e7130af92", e._sentryDebugIdIdentifier = "sentry-dbid-2e013062-29d3-4755-8d16-061e7130af92");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { C as useDataset, w as datasetIdentifier } from "./resolveEnvironment-
|
|
7
|
-
import { t as Field } from "./Field-
|
|
8
|
-
import { t as Select } from "./Select-
|
|
5
|
+
import { r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { C as useDataset, w as datasetIdentifier } from "./resolveEnvironment-CL_fPQJG.js";
|
|
7
|
+
import { t as Field } from "./Field-Dg-2A6bG.js";
|
|
8
|
+
import { t as Select } from "./Select-D4oEtS2n.js";
|
|
9
9
|
import { useMemo } from "preact/hooks";
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
//#region src/components/Shared/fields/CountryField/CountryField.tsx
|
|
@@ -1,35 +1,70 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d8f6ac9e-23f6-45de-9a4a-a55c210c5e72", e._sentryDebugIdIdentifier = "sentry-dbid-d8f6ac9e-23f6-45de-9a4a-a55c210c5e72");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { o as createLogger, r as useTranslation } from "./translation-
|
|
6
|
-
import { at as isUndefinedOrNull } from "./resolveEnvironment-
|
|
7
|
-
import { n as httpGet, s as useApiContext } from "./http-
|
|
5
|
+
import { o as createLogger, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { at as isUndefinedOrNull } from "./resolveEnvironment-CL_fPQJG.js";
|
|
7
|
+
import { n as httpGet, s as useApiContext } from "./http-8qgzqVqk.js";
|
|
8
8
|
import { i as drop } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
9
|
-
import {
|
|
10
|
-
import { t as
|
|
11
|
-
import {
|
|
9
|
+
import { l as addressFields } from "./utils-BIsRIG8_.js";
|
|
10
|
+
import { t as Field } from "./Field-Dg-2A6bG.js";
|
|
11
|
+
import { t as Select } from "./Select-D4oEtS2n.js";
|
|
12
|
+
import { t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
13
|
+
import { r as InputBase, t as InputText } from "./InputText-CQcWyZ8_.js";
|
|
12
14
|
import { t as currencyByCountry } from "./types-KjTYEnAG.js";
|
|
13
15
|
import { useCallback, useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
14
16
|
import { jsx } from "preact/jsx-runtime";
|
|
15
17
|
import { useQuery } from "@tanstack/preact-query";
|
|
16
18
|
//#region src/components/Business/forms/AdditionalInformation/utils.ts
|
|
19
|
+
var JP_ONLY_ADDRESS_FIELDS = [
|
|
20
|
+
"jaHaniStateOrProvince",
|
|
21
|
+
"jaHaniCity",
|
|
22
|
+
"jaHaniStreet",
|
|
23
|
+
"jaKanaStateOrProvince",
|
|
24
|
+
"jaKanaCity",
|
|
25
|
+
"street2FullWidth"
|
|
26
|
+
];
|
|
27
|
+
var ALL_ADDRESS_FIELDS = [...addressFields, ...JP_ONLY_ADDRESS_FIELDS];
|
|
17
28
|
/**
|
|
18
|
-
* Parses the nested trusted fields on a legal entity e.g. ['registrationAddress.address', 'registrationAddress.postalCode']
|
|
29
|
+
* Parses the nested trusted fields on a legal entity e.g. ['registrationAddress.address', 'registrationAddress.postalCode'],
|
|
30
|
+
* rebuilding them into the flattened, prefixed fields for the addresses, e.g., `registrationAddress.address` -> `registrationAddressAddress`
|
|
19
31
|
*
|
|
20
|
-
* @param
|
|
21
|
-
* @param data - data in useForm
|
|
32
|
+
* @param prefix - `registrationAddress` or `operationalAddress`
|
|
22
33
|
* @param trustedFields - trustedFields on legal entity
|
|
23
34
|
* @returns An array of the nested field keys that are trusted
|
|
24
35
|
*/
|
|
25
|
-
var getNestedTrustedFields = (
|
|
26
|
-
if (trustedFields
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
36
|
+
var getNestedTrustedFields = (prefix, trustedFields) => {
|
|
37
|
+
if (!trustedFields) return [];
|
|
38
|
+
const flattenedTrustedFields = [];
|
|
39
|
+
for (const trustedField of trustedFields) {
|
|
40
|
+
const [group, field] = trustedField.split(".");
|
|
41
|
+
if (group === prefix && field) flattenedTrustedFields.push(`${prefix}${capitalize(field)}`);
|
|
42
|
+
}
|
|
43
|
+
return flattenedTrustedFields;
|
|
32
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
* Flattens a nested address schema using the provided prefix to avoid collisions so each
|
|
47
|
+
* field can be handled individually.
|
|
48
|
+
*
|
|
49
|
+
* `flattenAddressSchema('registrationAddress', { city: 'Chicago' })` -> `{ registrationAddressCity: 'Chicago' }`
|
|
50
|
+
*/
|
|
51
|
+
function flattenAddressSchema(prefix, address) {
|
|
52
|
+
const flattenedAddressSchema = {};
|
|
53
|
+
for (const field of ALL_ADDRESS_FIELDS) flattenedAddressSchema[`${prefix}${capitalize(field)}`] = address?.[field];
|
|
54
|
+
return flattenedAddressSchema;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Nests a flattened address schema, removing the provided prefix from each field. Used for
|
|
58
|
+
* utilities that still expect nested data.
|
|
59
|
+
*
|
|
60
|
+
* `flattenAddressSchema('registrationAddress', { registrationAddressCity: 'Chicago' })` -> `{ city: 'Chicago' }`
|
|
61
|
+
*/
|
|
62
|
+
function nestAddressSchema(prefix, flatData) {
|
|
63
|
+
const nestedAddressSchema = {};
|
|
64
|
+
for (const field of ALL_ADDRESS_FIELDS) nestedAddressSchema[field] = flatData?.[`${prefix}${capitalize(field)}`];
|
|
65
|
+
return nestedAddressSchema;
|
|
66
|
+
}
|
|
67
|
+
var getPrefixedAddressFieldNames = (prefix) => ALL_ADDRESS_FIELDS.map((field) => `${prefix}${capitalize(field)}`);
|
|
33
68
|
var mapAddressData = (verifiedBusiness) => ({
|
|
34
69
|
street: verifiedBusiness.street ?? "",
|
|
35
70
|
street2: verifiedBusiness.street2 ?? "",
|
|
@@ -223,4 +258,4 @@ function Currency({ data, valid, errors, labels, readonly, handleChangeFor, coun
|
|
|
223
258
|
});
|
|
224
259
|
}
|
|
225
260
|
//#endregion
|
|
226
|
-
export { LegalFormField as a,
|
|
261
|
+
export { LegalFormField as a, ALL_ADDRESS_FIELDS as c, getPrefixedAddressFieldNames as d, isDateOlderThanAYear as f, InputCurrency as i, flattenAddressSchema as l, nestAddressSchema as m, Currency as n, mapFinancialReportsToFinancialInformation as o, mapAddressData as p, InputNumber as r, mapFinancialInformationToFinancialReport as s, CURRENCY_FIELD as t, getNestedTrustedFields as u };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "928869ce-b2f0-4cb0-93f1-240d81fd1206", e._sentryDebugIdIdentifier = "sentry-dbid-928869ce-b2f0-4cb0-93f1-240d81fd1206");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { o as createLogger, r as useTranslation } from "./translation-
|
|
6
|
-
import { k as Header } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
9
|
-
import { C as EntityTypes } from "./processCapabilities-
|
|
10
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
11
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
12
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, o as defaultFieldMetadata, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-
|
|
15
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
16
|
-
import { t as createFormUtils } from "./formUtils-
|
|
17
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
18
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
5
|
+
import { o as createLogger, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { k as Header } from "./resolveEnvironment-CL_fPQJG.js";
|
|
7
|
+
import { r as Loader, t as Button } from "./Button-i8I2dHP8.js";
|
|
8
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CtlUQv_J.js";
|
|
9
|
+
import { C as EntityTypes } from "./processCapabilities-C2kMryYn.js";
|
|
10
|
+
import { i as useAnalyticsContext } from "./Modal-ByJare7m.js";
|
|
11
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-CHNRruhe.js";
|
|
12
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-ubvE1Px7.js";
|
|
13
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-Cdv-ffXE.js";
|
|
14
|
+
import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, o as defaultFieldMetadata, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-BAmxW5qa.js";
|
|
15
|
+
import { t as ErrorPanel } from "./ErrorPanel-O79YWbUj.js";
|
|
16
|
+
import { t as createFormUtils } from "./formUtils-BrLGUOLK.js";
|
|
17
|
+
import { t as useMultiForm } from "./useMultiForm-Cccdz8QU.js";
|
|
18
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BiIxm8IU.js";
|
|
19
19
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
20
20
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
21
21
|
import { useCallback, useMemo } from "preact/hooks";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b21048c7-8490-4ae3-801a-03f8aedbf5f1", e._sentryDebugIdIdentifier = "sentry-dbid-b21048c7-8490-4ae3-801a-03f8aedbf5f1");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, r as useTranslation } from "./translation-
|
|
6
|
-
import { P as listToRecord, x as Alert } from "./resolveEnvironment-
|
|
7
|
-
import { t as Button } from "./Button-
|
|
5
|
+
import { i as Typography, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { P as listToRecord, x as Alert } from "./resolveEnvironment-CL_fPQJG.js";
|
|
7
|
+
import { t as Button } from "./Button-i8I2dHP8.js";
|
|
8
8
|
import { c as keysOf } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
9
|
-
import { t as Modal } from "./Modal-
|
|
10
|
-
import { t as Confirm } from "./Confirm-
|
|
11
|
-
import { n as RadioWithLabel } from "./RadioGroup-
|
|
9
|
+
import { t as Modal } from "./Modal-ByJare7m.js";
|
|
10
|
+
import { t as Confirm } from "./Confirm-DcqMV7rd.js";
|
|
11
|
+
import { n as RadioWithLabel } from "./RadioGroup-Bt1Dv_S8.js";
|
|
12
12
|
import { t as isEmpty } from "./isEmpty-MyMko24J.js";
|
|
13
13
|
import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
|
|
14
14
|
import cx from "classnames";
|