@adyen/kyc-components 4.16.0 → 4.17.0-beta.1
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/{AcceptTermsOfServiceComponent-BAP8iSCH.js → AcceptTermsOfServiceComponent-DRF3Ij8u.js} +48 -63
- package/dist/{Accordion-IXKjwyLD.js → Accordion-DmH02rWQ.js} +1 -1
- package/dist/{AccountSetupRejected-B9nn5XCa.js → AccountSetupRejected-B5vhARcL.js} +2 -2
- package/dist/{AdaptiveWorkflow-BBlqVmLJ.js → AdaptiveWorkflow-CmQ16hFb.js} +32 -32
- package/dist/{AdaptiveWorkflowComponent-BrdXMApx.js → AdaptiveWorkflowComponent-DCUluhWX.js} +31 -31
- package/dist/{Address-DDqWoeSK.js → Address-D_DRH5d3.js} +41 -41
- package/dist/{AnalyticsContext-BFrJmsp0.js → AnalyticsContext-BnRQ9H1u.js} +2 -2
- package/dist/{Avatar-CdBNstmD.js → Avatar-Z3MS8_pW.js} +1 -1
- package/dist/{BusinessFinancingDropin-Drhh1Xdj.js → BusinessFinancingDropin-f19tJ1jl.js} +64 -48
- package/dist/{BusinessFinancingPage-EM8pTloq.js → BusinessFinancingPage-CKYfagqy.js} +32 -32
- package/dist/{BusinessTypeSelectionPage-iyr7_IJ3.js → BusinessTypeSelectionPage-DvMToksy.js} +15 -15
- package/dist/{Button-i8I2dHP8.js → Button-3qGOI53m.js} +1 -1
- package/dist/{Checkbox-D7BRIoQL.js → Checkbox-yzDgU8Go.js} +2 -2
- package/dist/{CompanyRegistrationNumberTypeSelector-CEyBgEhu.js → CompanyRegistrationNumberTypeSelector-ybZ_SqWF.js} +7 -7
- package/dist/{Confirm-CA-gL38n.js → Confirm-D3iEEzM7.js} +4 -4
- package/dist/{ContactDetails-BJgD_bMt.js → ContactDetails-CWWUdP9l.js} +9 -9
- package/dist/{ContextGuidance-R45SnI5u.js → ContextGuidance-CbRg_oPw.js} +3 -3
- package/dist/{CountryField-D-Q958WF.js → CountryField-DifxLMbh.js} +4 -4
- package/dist/{Currency-vBXSDU5b.js → Currency-11xMzlN6.js} +11 -11
- package/dist/{CustomerSupport-C8-aUKX8.js → CustomerSupport-AZyf9lby.js} +15 -15
- package/dist/{DataConflictsModal-DXsYUQRX.js → DataConflictsModal-BCnE6yDK.js} +9 -9
- package/dist/{DebugModal-UpEJJ-we.js → DebugModal-ChlAd7Rr.js} +11 -11
- package/dist/{DecisionMakerDetails-BQAz3fM_.js → DecisionMakerDetails-BAGRVz5H.js} +27 -17
- package/dist/{DecisionMakerDetailsPage-BmjeUNpo.js → DecisionMakerDetailsPage--vt6mVjK.js} +12 -12
- package/dist/{DecisionMakers-KRLt3D9t.js → DecisionMakers-BjV_OJG_.js} +18 -18
- package/dist/{Dropzone-BzDQ_VtL.js → Dropzone-BKbIvnPp.js} +7 -7
- package/dist/{EmbeddedStatus-_k9EhrGV.js → EmbeddedStatus-JozflNLq.js} +4 -4
- package/dist/{EndStateLayout-CBRHUXyY.js → EndStateLayout-ic1EOve9.js} +2 -2
- package/dist/{EntityAssociation-CjYJOrRt.js → EntityAssociation-j93Vpoyt.js} +7 -7
- package/dist/{ErrorPanel-DGlzO81g.js → ErrorPanel-DPV_ZI7j.js} +6 -6
- package/dist/{Field-DoXLi6EY.js → Field-CIqSPDus.js} +4 -4
- package/dist/{Individual.rules-Cc2Uigav.js → Individual.rules-s4Yf5eU4.js} +4 -4
- package/dist/{IndividualDropin-DHrcFHNx.js → IndividualDropin-Kkdbg4W_.js} +57 -70
- package/dist/{InputDate-CPkdZkHB.js → InputDate-DSeCO1wk.js} +1 -1
- package/dist/{InputText-B0N7am-q.js → InputText-DtRsfuMv.js} +2 -2
- package/dist/{Introduction-BW34fE2j.js → Introduction-Bwdmjca6.js} +8 -8
- package/dist/{InvitedDecisionMakerComponent-CvL92Kcg.js → InvitedDecisionMakerComponent-DZSbUQPb.js} +41 -41
- package/dist/{JpAddress-Bd5rPU32.js → JpAddress-B_uYavNZ.js} +30 -30
- package/dist/{LandingLayout-CUAkXrpL.js → LandingLayout-C1yh_ggf.js} +1 -1
- package/dist/{LegalCompanyNameField-aMxj3FHy.js → LegalCompanyNameField-RK6bnRXb.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-URoPwp5T.js → LegalRepresentativeDetailsPage-BlzMknJt.js} +9 -9
- package/dist/{Link-JFzfaUOa.js → Link-C0jrInxa.js} +1 -1
- package/dist/{ListItem-V4x0raZw.js → ListItem-DENJV6DO.js} +3 -3
- package/dist/{MaskedInput-_dYxgb7_.js → MaskedInput-0yjYpOv8.js} +7 -7
- package/dist/{MaybeModal-DWfb_GRW.js → MaybeModal-Br4vQeFa.js} +3 -3
- package/dist/{Modal-BLP2aF-u.js → Modal-DParMHcv.js} +2 -2
- package/dist/{Name-Dz2Meujh.js → Name-kHxte68O.js} +4 -4
- package/dist/{NewSummary-FJiQCTkv.js → NewSummary-CChGy8Lo.js} +5 -5
- package/dist/{TaxInformationField-DXH6WfO9.js → PatriotActDisclosure-fHLHlEsK.js} +30 -17
- package/dist/{PayoutDetailsDropinMultiForm-CyGVEwKC.js → PayoutDetailsDropinMultiForm-Dkjv8nKv.js} +82 -50
- package/dist/{PayoutDetailsPage-FV5HTHgS.js → PayoutDetailsPage-D45-i25I.js} +34 -34
- package/dist/{RadioGroup-qV8mGGwm.js → RadioGroup-_XpoFWaf.js} +3 -3
- package/dist/{Review-Bb6Pa_w8.js → Review-Qy8KJt1w.js} +8 -8
- package/dist/{RootBusinessDetailsPage-Ctu2xjXc.js → RootBusinessDetailsPage-CEVtX_m8.js} +32 -32
- package/dist/{RootBusinessLinesPage-DO6mFoJi.js → RootBusinessLinesPage-D3s_Tnco.js} +33 -33
- package/dist/{RootIndividualDetailsPage-BWJxPMIO.js → RootIndividualDetailsPage-Bk3PUt3t.js} +10 -10
- package/dist/{Select-DUo2rOfa.js → Select-BgdbPMw9.js} +6 -6
- package/dist/{SignPCIComponent-Cq7ByxRB.js → SignPCIComponent-C3KsCKeo.js} +42 -42
- package/dist/{SingpassSelection-C2zkEgl-.js → SingpassSelection-Dz23LEHr.js} +6 -6
- package/dist/{SoleProprietorshipPage-BUSKNpcO.js → SoleProprietorshipPage-CNI6K43q.js} +33 -33
- package/dist/{SourceOfFundsPage-DbQ6IQy3.js → SourceOfFundsPage-_mZohndP.js} +39 -39
- package/dist/{Summary-HxzWpI7W.js → Summary-BIDevo_r.js} +10 -10
- package/dist/{TaskListItem-DYISbC7G.js → TaskListItem-CgSRF7OI.js} +11 -11
- package/dist/{TaskVerificationStatus-CKHPTEpH.js → TaskVerificationStatus-DTHF8B9j.js} +1 -1
- package/dist/{TaxReportingDropin-CJmwUlt2.js → TaxReportingDropin-Coz8k-Sh.js} +19 -19
- package/dist/{TextArea-CT04Dg1N.js → TextArea-DNSnqxGL.js} +3 -3
- package/dist/{TileGroup-DitwS4Ud.js → TileGroup-DWtO7N2P.js} +4 -4
- package/dist/{TrustDetailsPage-C7dLjUT2.js → TrustDetailsPage-Hi8gPA5S.js} +43 -42
- package/dist/{TrustMemberCompanyPage-B67lZGKc.js → TrustMemberCompanyPage-DLQTlImr.js} +34 -34
- package/dist/{TrustMemberIndividualPage-CJyS5Y5F.js → TrustMemberIndividualPage-9lgP0fHV.js} +9 -9
- package/dist/{TrustMemberRoleAndTypePage-7n_0TauB.js → TrustMemberRoleAndTypePage-Ci-4fKgg.js} +21 -21
- package/dist/{TrustMembersOverview-DFbfGFTO.js → TrustMembersOverview-Dhpf8Bsy.js} +13 -13
- package/dist/{UnincorporatedPartnershipIndividualPage-mfeo4ncp.js → UnincorporatedPartnershipIndividualPage-CqvAnym_.js} +9 -9
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-B68CSHOX.js → UnincorporatedPartnershipMemberCompanyPage-Br94JVXs.js} +34 -34
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BNzMC3Tr.js → UnincorporatedPartnershipMemberRoleAndTypePage-CadvXqEG.js} +120 -14
- package/dist/{UnincorporatedPartnershipMembersOverview--pHx2qaV.js → UnincorporatedPartnershipMembersOverview-B9w3_FsO.js} +9 -9
- package/dist/{VerificationErrorAlert-B_RKlfIG.js → VerificationErrorAlert-BJF0TSCr.js} +5 -5
- package/dist/{accountHolderUtils-BqC40MeW.js → accountHolderUtils-DmHadlJz.js} +1 -1
- package/dist/adyen-business-financing.js +33 -33
- package/dist/adyen-individual-configuration.js +34 -34
- package/dist/adyen-individual-status.js +33 -33
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +575 -1224
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +6 -6
- package/dist/adyen-transfer-instrument-configuration.js +57 -57
- package/dist/adyen-transfer-instrument-management.js +65 -65
- package/dist/adyen-verification-status.js +6 -6
- package/dist/bg-BG-BHL5r3bk.js +7 -0
- package/dist/{bg-BG-DYnhOtaS.js → bg-BG-CYrrltO8.js} +2 -2
- package/dist/bg-BG-DvFMee1j.js +7 -0
- package/dist/{constants-D91Cv1L9.js → constants-CQ79lnWA.js} +5 -5
- package/dist/cs-CZ-B7aDrpPP.js +7 -0
- package/dist/cs-CZ-DfuZr4cv.js +7 -0
- package/dist/{cs-CZ-DvmlHVW2.js → cs-CZ-SBisIyel.js} +2 -2
- package/dist/da-DK-C3i7IAmt.js +7 -0
- package/dist/da-DK-CLx0Hv_L.js +7 -0
- package/dist/{da-DK-DDQUbqDb.js → da-DK-CcvXqgMA.js} +2 -2
- package/dist/de-DE-CcOP7Z3J.js +7 -0
- package/dist/de-DE-DtVJKjKN.js +7 -0
- package/dist/{de-DE-DdOrCrMa.js → de-DE-qTvDZ5Tj.js} +2 -2
- package/dist/el-GR-CO9ixkqP.js +7 -0
- package/dist/{el-GR-Bm9lqjyB.js → el-GR-D1QMkjQd.js} +2 -2
- package/dist/el-GR-DxtT4Lft.js +7 -0
- package/dist/{en-US-Dab7moVA.js → en-US-CJsQJw90.js} +2 -2
- package/dist/es-ES-BIQfz_ub.js +7 -0
- package/dist/es-ES-CwLsmJeQ.js +7 -0
- package/dist/{es-ES-_w6Ygc8E.js → es-ES-fgGV_t7L.js} +2 -2
- package/dist/{es-LA-Cxk68z4n.js → es-LA-CLD_193O.js} +2 -2
- package/dist/es-LA-CsbPBWVy.js +7 -0
- package/dist/es-LA-b7TFh_XZ.js +7 -0
- package/dist/et-EE-BcjBS0ZN.js +7 -0
- package/dist/{et-EE-CG66kNTM.js → et-EE-CEiroCyD.js} +2 -2
- package/dist/et-EE-o65QgBKk.js +7 -0
- package/dist/fi-FI-CKffkrhp.js +7 -0
- package/dist/{fi-FI-DpgrKo5I.js → fi-FI-Cqf4k_ja.js} +2 -2
- package/dist/fi-FI-DEpeYxdL.js +7 -0
- package/dist/{formUtils-DVc3a6gf.js → formUtils-C4NqSvj-.js} +3 -3
- package/dist/{fr-FR-BN_jrAX4.js → fr-FR-B_JTgxAY.js} +2 -2
- package/dist/fr-FR-CQbo6d_Q.js +7 -0
- package/dist/fr-FR-GQrgs_DS.js +7 -0
- package/dist/{getProblemsForEntity-D6XC4DZ2.js → getProblemsForEntity-CjAq8_4L.js} +2 -2
- package/dist/{getTrustedDecisionMakers-DUpv5ug2.js → getTrustedDecisionMakers-B_XpRta-.js} +1 -1
- package/dist/hr-HR-BH4GZRVw.js +7 -0
- package/dist/hr-HR-BwKDcJ9v.js +7 -0
- package/dist/{hr-HR-SwSOMPhJ.js → hr-HR-COHtbZDp.js} +2 -2
- package/dist/{http-8qgzqVqk.js → http-DeQp0G69.js} +1 -1
- package/dist/hu-HU-81HMvS9Y.js +7 -0
- package/dist/hu-HU-D0LsAFcV.js +7 -0
- package/dist/{hu-HU-BqW_xlCb.js → hu-HU-xQwE0I5f.js} +2 -2
- package/dist/{invalidateRootLegalEntity-DLpPeD5p.js → invalidateRootLegalEntity-B5XdFODP.js} +3 -3
- package/dist/{isEmpty-BVlBH98t.js → isEmpty-MyMko24J.js} +2 -2
- package/dist/{it-IT-xc14pqAr.js → it-IT-DDUd_IZC.js} +2 -2
- package/dist/it-IT-Il0f-h2h.js +7 -0
- package/dist/it-IT-NOsTkUWg.js +7 -0
- package/dist/{ja-JP-ClFJvhe2.js → ja-JP-Br0ivw8k.js} +2 -2
- package/dist/ja-JP-C98F-BgJ.js +7 -0
- package/dist/ja-JP-Dk2zBWeH.js +7 -0
- package/dist/{jpAddressSchema-pVY2Cqvr.js → jpAddressSchema-DT19YcnH.js} +2 -2
- package/dist/{localizeDateString-Bmx3yBcR.js → localizeDateString-CU7HGR-k.js} +1 -1
- package/dist/{lt-LT-CTtqyA86.js → lt-LT-DUC5ir_t.js} +2 -2
- package/dist/lt-LT-DZ2Uu9bq.js +7 -0
- package/dist/lt-LT-erbGBPqF.js +7 -0
- package/dist/{lv-LV-D_9V3gBo.js → lv-LV-BBegWP3c.js} +2 -2
- package/dist/lv-LV-BCMHodgd.js +7 -0
- package/dist/lv-LV-xbEcOY__.js +7 -0
- package/dist/{mapExistingFile-BmI24MBQ.js → mapExistingFile-BeuzYADl.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-Dzcl40cA.js → mapJpAddressSchemaToAddressLocalizations-DZUd0pQT.js} +7 -7
- package/dist/{mapLegalEntityToIndividualSchema-7sVfeCn9.js → mapLegalEntityToIndividualSchema-Dgs8wnkZ.js} +8 -8
- package/dist/{mapTransferInstrumentToPayoutAccount-CxdVWYkh.js → mapTransferInstrumentToPayoutAccount-BHF5J5eC.js} +2 -2
- package/dist/nl-NL-Cpuz-HtA.js +7 -0
- package/dist/nl-NL-D2oZHtTs.js +7 -0
- package/dist/{nl-NL-_NV5Dvt9.js → nl-NL-NTjVSJq2.js} +2 -2
- package/dist/{no-NO-CoDL_uMQ.js → no-NO-B6zGFOCK.js} +2 -2
- package/dist/no-NO-Bd3KNpMs.js +7 -0
- package/dist/no-NO-D5l99NQF.js +7 -0
- package/dist/{omitObscuredFieldsIfUnchanged-BehYhDYw.js → omitObscuredFieldsIfUnchanged-Ch55lk_r.js} +2 -2
- package/dist/{patternValidators-DFve5Dzt.js → patternValidators-CGbVdDjn.js} +1 -1
- package/dist/pl-PL-Bg2G4ioZ.js +7 -0
- package/dist/pl-PL-C_QR0_4u.js +7 -0
- package/dist/{pl-PL-Bgrz9oPS.js → pl-PL-Cw9UG-qg.js} +2 -2
- package/dist/{process-field-configurations-DQlTj--V.js → process-field-configurations-DIEIpM00.js} +4 -4
- package/dist/{processCapabilities-fPuXc9gL.js → processCapabilities-BeE0xWUp.js} +16 -16
- package/dist/{pt-BR-DUAQ_vv4.js → pt-BR-BrCPGoU1.js} +2 -2
- package/dist/pt-BR-DT63AAqA2.js +7 -0
- package/dist/pt-BR-DVpGdnO-.js +7 -0
- package/dist/pt-PT-BFTfpBI4.js +7 -0
- package/dist/pt-PT-Bkylp1fh.js +7 -0
- package/dist/{pt-PT-B6mC3m94.js → pt-PT-Dilg4TrM.js} +2 -2
- package/dist/{resolveEnvironment-DNmu53Rr.js → resolveEnvironment-Btmser7M.js} +39 -53
- package/dist/ro-RO-D9hC-2Yu.js +7 -0
- package/dist/ro-RO-DJeBU2j9.js +7 -0
- package/dist/{ro-RO-ClCWcOZD.js → ro-RO-DRzT7WiY.js} +2 -2
- package/dist/{roleMetadata-v10ns9iG.js → roleMetadata-BgKauSqU.js} +2 -2
- package/dist/{sk-SK-CieZx5AS.js → sk-SK-CuXM9tOj.js} +2 -2
- package/dist/sk-SK-DWVcJde-.js +7 -0
- package/dist/sk-SK-rMCHSdm4.js +7 -0
- package/dist/{sl-SI-DbVFyYEg.js → sl-SI-BDRsH7Bv.js} +2 -2
- package/dist/sl-SI-Dg4bivT7.js +7 -0
- package/dist/sl-SI-cVr04Hr7.js +7 -0
- package/dist/style.css +94 -94
- package/dist/styles-DYaAeu4q.js +94 -94
- package/dist/{sv-SE-WmQ6EnrS.js → sv-SE-Cimi5Nb9.js} +2 -2
- package/dist/sv-SE-DTqSBLbI.js +7 -0
- package/dist/sv-SE-DaklU1jx.js +7 -0
- package/dist/{translation-BYvhW5zA.js → translation-BR3rLb4m.js} +1 -1
- package/dist/types/api/address/useAddressCleanse.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +1 -1
- package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +2 -0
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +0 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/AcceptTermsOfServiceComponent/AcceptTermsOfServiceComponent.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/RouterDropinComposer.d.ts +0 -1
- package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/context/ToggleContext/types.d.ts +0 -13
- package/dist/types/router/routeConfig.d.ts +0 -16
- package/dist/types/utils/addressToString.d.ts +2 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{types-QSnyOf8p.js → types-KjTYEnAG.js} +1 -1
- package/dist/{unincorporated-partnership-nnTW3FnG.js → unincorporated-partnership-BstfjTh2.js} +1 -1
- package/dist/{useAssociatedLegalEntity-CkuvFV-D.js → useAssociatedLegalEntity-QRvyeNwU.js} +2 -2
- package/dist/{useBusinessDetailsData-DJTYbNJ4.js → useBusinessDetailsData-Bvo4kC6q.js} +87 -128
- package/dist/{useBusinessLines-BFsRoAAj.js → useBusinessLines-B2iCcDej.js} +1 -1
- package/dist/{useCanSeeIntroduction-DeC5D9Io.js → useCanSeeIntroduction-CxNJ_k7b.js} +2 -2
- package/dist/{useCreateLegalEntity-CoBr-K0N.js → useCreateLegalEntity-zPjl13U3.js} +1 -1
- package/dist/{useDataMissingRemediations-QYShC4SG.js → useDataMissingRemediations-BZwtMi3U.js} +2 -2
- package/dist/{useForm-C5EykRLY.js → useForm-DX-DNWpD.js} +4 -4
- package/dist/{useFormContext-CYHfY4k5.js → useFormContext-Br0QjCfG.js} +9 -9
- package/dist/{useLegalEntity-CtlUQv_J.js → useLegalEntity-BXk2tzGe.js} +1 -1
- package/dist/{useMultiForm-ducdUyQ6.js → useMultiForm-DewAWalC.js} +4 -4
- package/dist/{useNavigate-i7J4ofUG.js → useNavigate-C2uIFVkE.js} +33 -62
- package/dist/{useOnboardingStatus-BlXlrSAS.js → useOnboardingStatus-BgO4uPbW.js} +1 -1
- package/dist/{usePciQuestionnaireList-CbkNC_Ye.js → usePciQuestionnaireList-BEPt97lw.js} +1 -1
- package/dist/{useSalesChannels-DW5ilTS0.js → useSalesChannels-D3vQBhRT.js} +3 -3
- package/dist/{useScenarios-DciPyzQ-.js → useScenarios-Bh7kKk_q.js} +3 -3
- package/dist/{useTaskLandedEvent-BXtOctC4.js → useTaskLandedEvent-DDVHIkiF.js} +2 -2
- package/dist/{useTaskStatus-wrAxqtIR.js → useTaskStatus-BLkHjMgm.js} +1 -1
- package/dist/{useTermsOfServiceStatus-D1_ECrkO.js → useTermsOfServiceStatus-B1OpYOua.js} +1 -1
- package/dist/{useTrustMembers-BIdqkIX1.js → useTrustMembers-De6Esh09.js} +4 -4
- package/dist/{useUnincorporatedPartnershipMembers-7T2XW_zN.js → useUnincorporatedPartnershipMembers-BSEcDBC7.js} +4 -4
- package/dist/{useUpdateBusinessLines-Cncate8L.js → useUpdateBusinessLines-jlXfi57a.js} +1 -1
- package/dist/{useUpdateLegalEntity-B0XYfxbB.js → useUpdateLegalEntity-H0As1-xB.js} +3 -3
- package/dist/{utils-DNIZ6F6L.js → utils-BIsRIG8_.js} +30 -30
- package/dist/{utils-QZkZBg_Z.js → utils-BZP_PEJz.js} +4 -4
- package/dist/{utils-C1buyvRw.js → utils-BtyrxTzp.js} +1 -1
- package/dist/{utils-C9vhUXDJ.js → utils-PmlxlZTJ.js} +6 -6
- package/dist/{utils-BzBvc-hS.js → utils-Tt98SjT7.js} +19 -19
- package/dist/{validate-DkjeS-zE.js → validate-C52znTzq.js} +5 -5
- package/dist/{validate-D1IeAEpj.js → validate-wf4RfNHR.js} +3 -3
- package/dist/{validateExtractionResult-BTnVuGgD.js → validateExtractionResult-CqCNMKAG.js} +28 -21
- package/dist/{validationError-COmWiy16.js → validationError-DwNvWaOL.js} +1 -1
- package/dist/{validationResult-CqlLuppx.js → validationResult-Dzvfkukj.js} +2 -2
- package/package.json +1 -1
- package/dist/FormNavigation-mEocY-KU.js +0 -115
- package/dist/bg-BG-BcmC41vE.js +0 -7
- package/dist/bg-BG-L5wKtmmz.js +0 -7
- package/dist/cs-CZ-D4Pt8Gsx.js +0 -7
- package/dist/cs-CZ-ghdW0Tc6.js +0 -7
- package/dist/da-DK-C4wRpqMC.js +0 -7
- package/dist/da-DK-CBOVFYaa.js +0 -7
- package/dist/de-DE-BOH-YgTt.js +0 -7
- package/dist/de-DE-CA81fzkA.js +0 -7
- package/dist/el-GR-BjOmQ_B_.js +0 -7
- package/dist/el-GR-C5NDkWDr.js +0 -7
- package/dist/es-ES-BEYl7Z8S.js +0 -7
- package/dist/es-ES-CDFWEg9c.js +0 -7
- package/dist/es-LA-C7IleXTc.js +0 -7
- package/dist/es-LA-D741KUNg.js +0 -7
- package/dist/et-EE-CfgyGext.js +0 -7
- package/dist/et-EE-P4s_U3BI.js +0 -7
- package/dist/fi-FI-Bed2SzCG.js +0 -7
- package/dist/fi-FI-DFO20YZY.js +0 -7
- package/dist/fr-FR-D_qhjXEC.js +0 -7
- package/dist/fr-FR-wvWrk_PU.js +0 -7
- package/dist/hr-HR-D0zfmZK6.js +0 -7
- package/dist/hr-HR-DlPm5gxr.js +0 -7
- package/dist/hu-HU-CL021irk.js +0 -7
- package/dist/hu-HU-NJaOrfnP.js +0 -7
- package/dist/it-IT-6VoxKX97.js +0 -7
- package/dist/it-IT-BwxzsAX1.js +0 -7
- package/dist/ja-JP-CNCeHdxj.js +0 -7
- package/dist/ja-JP-Cja4dur8.js +0 -7
- package/dist/lt-LT-CNFgOeH4.js +0 -7
- package/dist/lt-LT-VP6qtMAw.js +0 -7
- package/dist/lv-LV-BdSdhjTP.js +0 -7
- package/dist/lv-LV-CQI0LxVf.js +0 -7
- package/dist/nl-NL-BN5WtqQB.js +0 -7
- package/dist/nl-NL-CclRrN3_.js +0 -7
- package/dist/no-NO-CO5xyGPh.js +0 -7
- package/dist/no-NO-Cor-jWuN.js +0 -7
- package/dist/pl-PL-BzOubawD.js +0 -7
- package/dist/pl-PL-DUH23AYC.js +0 -7
- package/dist/pt-BR-MAQR_CUu2.js +0 -7
- package/dist/pt-BR-n0GcsM-Q.js +0 -7
- package/dist/pt-PT-C-mvV1ZJ.js +0 -7
- package/dist/pt-PT-CoKsjpyN.js +0 -7
- package/dist/ro-RO-Cpv5pKod.js +0 -7
- package/dist/ro-RO-CuooCG3m.js +0 -7
- package/dist/sk-SK-DSaBObVa.js +0 -7
- package/dist/sk-SK-p_p2X_aA.js +0 -7
- package/dist/sl-SI-BpZp1MAq.js +0 -7
- package/dist/sl-SI-KEJYXISh.js +0 -7
- package/dist/sv-SE-Bhvd0GDr.js +0 -7
- package/dist/sv-SE-BoXCPhGb.js +0 -7
- package/dist/types/components/Business/utils/requestingCapabilities.d.ts +0 -3
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +0 -2
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/useNavigation.d.ts +0 -14
package/dist/{AcceptTermsOfServiceComponent-BAP8iSCH.js → AcceptTermsOfServiceComponent-DRF3Ij8u.js}
RENAMED
|
@@ -1,35 +1,34 @@
|
|
|
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] = "5fecf730-8b27-4fc8-b38d-f692572d3719", e._sentryDebugIdIdentifier = "sentry-dbid-5fecf730-8b27-4fc8-b38d-f692572d3719");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { c as __exportAll, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, a as doesLegalEntityRequiresLegalRepresentative, j as useToggleContext, x as Alert } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-
|
|
9
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
5
|
+
import { c as __exportAll, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, a as doesLegalEntityRequiresLegalRepresentative, j as useToggleContext, x as Alert } from "./resolveEnvironment-Btmser7M.js";
|
|
7
|
+
import { r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
8
|
+
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-DeQp0G69.js";
|
|
9
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BXk2tzGe.js";
|
|
10
10
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
11
11
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
12
12
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
13
13
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
14
14
|
import { a as getLegalRepresentative } from "./entityAssociationUtil-C-wflW8q.js";
|
|
15
15
|
import { a as getOwnSignatories } from "./decisionMakerRoles-DIG8zo1C.js";
|
|
16
|
-
import {
|
|
16
|
+
import { i as useAnalyticsContext } from "./Modal-DParMHcv.js";
|
|
17
|
+
import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-B1OpYOua.js";
|
|
17
18
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { t as EndStateLayout } from "./EndStateLayout-CBRHUXyY.js";
|
|
19
|
+
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-B5XdFODP.js";
|
|
20
|
+
import { t as EndStateLayout } from "./EndStateLayout-ic1EOve9.js";
|
|
21
21
|
import { t as downloadFile } from "./file-1IenVoh8.js";
|
|
22
|
-
import { r as LoaderWrapper, t as getLanguageCode } from "./utils-
|
|
22
|
+
import { r as LoaderWrapper, t as getLanguageCode } from "./utils-BtyrxTzp.js";
|
|
23
23
|
import { n as getLegalEntityNameBasedOnType } from "./getName-D4ECvzcI.js";
|
|
24
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
25
|
-
import { t as MaybeModal } from "./MaybeModal-
|
|
24
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DDVHIkiF.js";
|
|
25
|
+
import { t as MaybeModal } from "./MaybeModal-Br4vQeFa.js";
|
|
26
26
|
import { t as ProgressBar } from "./ProgressBar-DWFxLMUA.js";
|
|
27
|
-
import { t as localizeDateString } from "./localizeDateString-
|
|
28
|
-
import { t as Field } from "./Field-
|
|
29
|
-
import { t as Select } from "./Select-
|
|
30
|
-
import { t as Checkbox } from "./Checkbox-
|
|
31
|
-
import { t as useForm } from "./useForm-
|
|
32
|
-
import { t as FormNavigation } from "./FormNavigation-mEocY-KU.js";
|
|
27
|
+
import { t as localizeDateString } from "./localizeDateString-CU7HGR-k.js";
|
|
28
|
+
import { t as Field } from "./Field-CIqSPDus.js";
|
|
29
|
+
import { t as Select } from "./Select-BgdbPMw9.js";
|
|
30
|
+
import { t as Checkbox } from "./Checkbox-yzDgU8Go.js";
|
|
31
|
+
import { t as useForm } from "./useForm-DX-DNWpD.js";
|
|
33
32
|
import { t as ContractViewer } from "./ContractViewer-JtnAXSDa.js";
|
|
34
33
|
import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
|
|
35
34
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -177,7 +176,7 @@ var serviceAgreementTypesTranslationMapping = {
|
|
|
177
176
|
};
|
|
178
177
|
var logger = createLogger();
|
|
179
178
|
var FALLBACK_LANGUAGE_CODE = "en";
|
|
180
|
-
function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSign, serviceAgreementTypes, serviceAgreementAcceptanceInfos,
|
|
179
|
+
function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSign, serviceAgreementTypes, serviceAgreementAcceptanceInfos, asModal = false, handleCloseClick, showInitialBackButton = false, onComplete }) {
|
|
181
180
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
182
181
|
const userEvents = useAnalyticsContext();
|
|
183
182
|
const { showToast } = useToastContext();
|
|
@@ -362,19 +361,6 @@ function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSi
|
|
|
362
361
|
signer: getSignedName(activeForm.acceptanceId)
|
|
363
362
|
})
|
|
364
363
|
});
|
|
365
|
-
const sidebar = /* @__PURE__ */ jsx(LoaderWrapper, {
|
|
366
|
-
status: loadingStatus,
|
|
367
|
-
formOpacityWhenLoading: .3,
|
|
368
|
-
showSpinner: false,
|
|
369
|
-
className: "adyen-kyc-dropin__sidebar-wrapper",
|
|
370
|
-
children: /* @__PURE__ */ jsx(FormNavigation, {
|
|
371
|
-
forms,
|
|
372
|
-
activeForm,
|
|
373
|
-
gotoForm,
|
|
374
|
-
taskName: "signServiceAgreement",
|
|
375
|
-
className: "u-margin-bottom-24"
|
|
376
|
-
})
|
|
377
|
-
});
|
|
378
364
|
const content = /* @__PURE__ */ jsxs(LoaderWrapper, {
|
|
379
365
|
status: loadingStatus,
|
|
380
366
|
formOpacityWhenLoading: .3,
|
|
@@ -460,9 +446,9 @@ function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSi
|
|
|
460
446
|
onClose: handleCloseClick,
|
|
461
447
|
children: /* @__PURE__ */ jsxs("div", {
|
|
462
448
|
className: ServiceAgreementDropin_module_default.tosContainer,
|
|
463
|
-
children: [/* @__PURE__ */
|
|
449
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
464
450
|
className: ServiceAgreementDropin_module_default.tosContent,
|
|
465
|
-
children:
|
|
451
|
+
children: endScreen || content
|
|
466
452
|
}), !hasFinished && /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx(ProgressBar, {
|
|
467
453
|
ariaLabel: t(($) => $["progress"], { ns: "common" }),
|
|
468
454
|
progress
|
|
@@ -491,40 +477,40 @@ function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSi
|
|
|
491
477
|
//#endregion
|
|
492
478
|
//#region src/components/EmbeddedDropins/AcceptTermsOfServiceComponent/AcceptTermsOfServiceComponent.tsx
|
|
493
479
|
var AcceptTermsOfServiceComponent_exports = /* @__PURE__ */ __exportAll({ AcceptTermsOfServiceComponent: () => AcceptTermsOfServiceComponent });
|
|
494
|
-
function AcceptTermsOfServiceComponent({ legalEntityId, modalView = false,
|
|
480
|
+
function AcceptTermsOfServiceComponent({ legalEntityId, modalView = false, onClose, onComplete, onUnmount, onAccept, handleAddSigner }) {
|
|
495
481
|
if (!legalEntityId) throw new Error("Must provide at-least a legalEntityId");
|
|
496
482
|
const { i18n } = useTranslation();
|
|
497
483
|
addResourceBundles(i18n, [
|
|
498
484
|
{
|
|
499
485
|
ns: "common",
|
|
500
486
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
501
|
-
"../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
502
|
-
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-
|
|
503
|
-
"../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
504
|
-
"../../../language/locales/de-DE.json": () => import("./de-DE-
|
|
505
|
-
"../../../language/locales/el-GR.json": () => import("./el-GR-
|
|
487
|
+
"../../../language/locales/bg-BG.json": () => import("./bg-BG-BHL5r3bk.js"),
|
|
488
|
+
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-DfuZr4cv.js"),
|
|
489
|
+
"../../../language/locales/da-DK.json": () => import("./da-DK-CLx0Hv_L.js"),
|
|
490
|
+
"../../../language/locales/de-DE.json": () => import("./de-DE-CcOP7Z3J.js"),
|
|
491
|
+
"../../../language/locales/el-GR.json": () => import("./el-GR-CO9ixkqP.js"),
|
|
506
492
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-FOYUYA3c.js"),
|
|
507
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
508
|
-
"../../../language/locales/es-ES.json": () => import("./es-ES-
|
|
509
|
-
"../../../language/locales/es-LA.json": () => import("./es-LA-
|
|
510
|
-
"../../../language/locales/et-EE.json": () => import("./et-EE-
|
|
511
|
-
"../../../language/locales/fi-FI.json": () => import("./fi-FI-
|
|
512
|
-
"../../../language/locales/fr-FR.json": () => import("./fr-FR-
|
|
513
|
-
"../../../language/locales/hr-HR.json": () => import("./hr-HR-
|
|
514
|
-
"../../../language/locales/hu-HU.json": () => import("./hu-HU-
|
|
515
|
-
"../../../language/locales/it-IT.json": () => import("./it-IT-
|
|
516
|
-
"../../../language/locales/ja-JP.json": () => import("./ja-JP-
|
|
517
|
-
"../../../language/locales/lt-LT.json": () => import("./lt-LT-
|
|
518
|
-
"../../../language/locales/lv-LV.json": () => import("./lv-LV-
|
|
519
|
-
"../../../language/locales/nl-NL.json": () => import("./nl-NL-
|
|
520
|
-
"../../../language/locales/no-NO.json": () => import("./no-NO-
|
|
521
|
-
"../../../language/locales/pl-PL.json": () => import("./pl-PL-
|
|
522
|
-
"../../../language/locales/pt-BR.json": () => import("./pt-BR-
|
|
523
|
-
"../../../language/locales/pt-PT.json": () => import("./pt-PT-
|
|
524
|
-
"../../../language/locales/ro-RO.json": () => import("./ro-RO-
|
|
525
|
-
"../../../language/locales/sk-SK.json": () => import("./sk-SK-
|
|
526
|
-
"../../../language/locales/sl-SI.json": () => import("./sl-SI-
|
|
527
|
-
"../../../language/locales/sv-SE.json": () => import("./sv-SE-
|
|
493
|
+
"../../../language/locales/en-US.json": () => import("./en-US-CJsQJw90.js"),
|
|
494
|
+
"../../../language/locales/es-ES.json": () => import("./es-ES-CwLsmJeQ.js"),
|
|
495
|
+
"../../../language/locales/es-LA.json": () => import("./es-LA-b7TFh_XZ.js"),
|
|
496
|
+
"../../../language/locales/et-EE.json": () => import("./et-EE-o65QgBKk.js"),
|
|
497
|
+
"../../../language/locales/fi-FI.json": () => import("./fi-FI-CKffkrhp.js"),
|
|
498
|
+
"../../../language/locales/fr-FR.json": () => import("./fr-FR-CQbo6d_Q.js"),
|
|
499
|
+
"../../../language/locales/hr-HR.json": () => import("./hr-HR-BH4GZRVw.js"),
|
|
500
|
+
"../../../language/locales/hu-HU.json": () => import("./hu-HU-D0LsAFcV.js"),
|
|
501
|
+
"../../../language/locales/it-IT.json": () => import("./it-IT-NOsTkUWg.js"),
|
|
502
|
+
"../../../language/locales/ja-JP.json": () => import("./ja-JP-C98F-BgJ.js"),
|
|
503
|
+
"../../../language/locales/lt-LT.json": () => import("./lt-LT-erbGBPqF.js"),
|
|
504
|
+
"../../../language/locales/lv-LV.json": () => import("./lv-LV-xbEcOY__.js"),
|
|
505
|
+
"../../../language/locales/nl-NL.json": () => import("./nl-NL-Cpuz-HtA.js"),
|
|
506
|
+
"../../../language/locales/no-NO.json": () => import("./no-NO-Bd3KNpMs.js"),
|
|
507
|
+
"../../../language/locales/pl-PL.json": () => import("./pl-PL-Bg2G4ioZ.js"),
|
|
508
|
+
"../../../language/locales/pt-BR.json": () => import("./pt-BR-DT63AAqA2.js"),
|
|
509
|
+
"../../../language/locales/pt-PT.json": () => import("./pt-PT-BFTfpBI4.js"),
|
|
510
|
+
"../../../language/locales/ro-RO.json": () => import("./ro-RO-DJeBU2j9.js"),
|
|
511
|
+
"../../../language/locales/sk-SK.json": () => import("./sk-SK-rMCHSdm4.js"),
|
|
512
|
+
"../../../language/locales/sl-SI.json": () => import("./sl-SI-Dg4bivT7.js"),
|
|
513
|
+
"../../../language/locales/sv-SE.json": () => import("./sv-SE-DaklU1jx.js")
|
|
528
514
|
}), `../../../language/locales/${lang}.json`, 6)
|
|
529
515
|
},
|
|
530
516
|
{
|
|
@@ -638,7 +624,6 @@ function AcceptTermsOfServiceComponent({ legalEntityId, modalView = false, asEmb
|
|
|
638
624
|
serviceAgreementTypes: serviceAgreementStatus?.termsOfServiceTypes ?? [],
|
|
639
625
|
serviceAgreementAcceptanceInfos: serviceAgreementAcceptanceInfos?.data ?? [],
|
|
640
626
|
handleSign,
|
|
641
|
-
asEmbedded,
|
|
642
627
|
asModal: modalView,
|
|
643
628
|
handleCloseClick: handleOnClose,
|
|
644
629
|
showInitialBackButton: !!onClose,
|
|
@@ -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] = "8105bc51-7766-4aeb-841f-5043b2ec677d", e._sentryDebugIdIdentifier = "sentry-dbid-8105bc51-7766-4aeb-841f-5043b2ec677d");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon, i as Typography } from "./translation-
|
|
5
|
+
import { a as Icon, i as Typography } from "./translation-BR3rLb4m.js";
|
|
6
6
|
import cx from "classnames";
|
|
7
7
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
8
8
|
import { defineSlots } from "named-slots";
|
|
@@ -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] = "75680866-bf49-4206-bbb9-89f3eb636db8", e._sentryDebugIdIdentifier = "sentry-dbid-75680866-bf49-4206-bbb9-89f3eb636db8");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { S as AlertIcon, k as Header } from "./resolveEnvironment-
|
|
5
|
+
import { r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { S as AlertIcon, k as Header } from "./resolveEnvironment-Btmser7M.js";
|
|
7
7
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
8
8
|
//#region src/components/Shared/AccountSetupRejected/AccountSetupRejected.tsx
|
|
9
9
|
function AccountSetupRejected() {
|
|
@@ -1,46 +1,46 @@
|
|
|
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] = "7f1a77c2-cddf-49f9-93d8-93dde87ea699", e._sentryDebugIdIdentifier = "sentry-dbid-7f1a77c2-cddf-49f9-93d8-93dde87ea699");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, o as createLogger, r as useTranslation, t as Trans } from "./translation-
|
|
6
|
-
import { j as useToggleContext, k as Header, x as Alert } from "./resolveEnvironment-
|
|
7
|
-
import { n as IconButton, r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { n as httpGet, s as useApiContext } from "./http-
|
|
9
|
-
import { r as useLegalEntity } from "./useLegalEntity-
|
|
5
|
+
import { i as Typography, o as createLogger, r as useTranslation, t as Trans } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { j as useToggleContext, k as Header, x as Alert } from "./resolveEnvironment-Btmser7M.js";
|
|
7
|
+
import { n as IconButton, r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
8
|
+
import { n as httpGet, s as useApiContext } from "./http-DeQp0G69.js";
|
|
9
|
+
import { r as useLegalEntity } from "./useLegalEntity-BXk2tzGe.js";
|
|
10
10
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
11
|
-
import { n as Status } from "./TaskVerificationStatus-
|
|
11
|
+
import { n as Status } from "./TaskVerificationStatus-DTHF8B9j.js";
|
|
12
12
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
13
|
-
import { a as setNestedValue, i as resolveComponentProps, r as getNestedValue$4, t as TaskListItem } from "./TaskListItem-
|
|
14
|
-
import { t as
|
|
13
|
+
import { a as setNestedValue, i as resolveComponentProps, r as getNestedValue$4, t as TaskListItem } from "./TaskListItem-CgSRF7OI.js";
|
|
14
|
+
import { r as KEYBOARD_KEYS, t as Modal } from "./Modal-DParMHcv.js";
|
|
15
|
+
import { t as useBusinessLines } from "./useBusinessLines-B2iCcDej.js";
|
|
15
16
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
16
|
-
import { r as KEYBOARD_KEYS, t as Modal } from "./Modal-BLP2aF-u.js";
|
|
17
17
|
import { c as CompanyTypesValues } from "./bafinUtils-BKq-s1Ka.js";
|
|
18
|
-
import { t as EndStateLayout } from "./EndStateLayout-
|
|
19
|
-
import { n as translateTranslatable, r as LoaderWrapper } from "./utils-
|
|
20
|
-
import { t as Confirm } from "./Confirm-
|
|
21
|
-
import { n as Image } from "./unincorporated-partnership-
|
|
22
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
23
|
-
import { a as FormFlow_module_default } from "./useFormContext-
|
|
18
|
+
import { t as EndStateLayout } from "./EndStateLayout-ic1EOve9.js";
|
|
19
|
+
import { n as translateTranslatable, r as LoaderWrapper } from "./utils-BtyrxTzp.js";
|
|
20
|
+
import { t as Confirm } from "./Confirm-D3iEEzM7.js";
|
|
21
|
+
import { n as Image } from "./unincorporated-partnership-BstfjTh2.js";
|
|
22
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-H0As1-xB.js";
|
|
23
|
+
import { a as FormFlow_module_default } from "./useFormContext-Br0QjCfG.js";
|
|
24
24
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
25
|
-
import { t as MaskedInput } from "./MaskedInput-
|
|
25
|
+
import { t as MaskedInput } from "./MaskedInput-0yjYpOv8.js";
|
|
26
26
|
import { t as ProgressBar } from "./ProgressBar-DWFxLMUA.js";
|
|
27
|
-
import { a as fromIndividualConflictSchema, d as useExtractDocumentInformation, f as IdentityNumber, i as mapExtractionResultToSchema, l as useDataConflicts, n as UploadedDocument, o as toIndividualConflictSchema, r as useIdVerificationToken, s as IdVerificationMethod_module_default, t as validateExtractionResult } from "./validateExtractionResult-
|
|
28
|
-
import { A as taxInformationDefaultFieldMetadata, C as getTaxIdNumberOptions, S as getDefaultTaxIdNumberType, k as taxInformationDefaultFieldConfig, n as upsertTaxInfoForCountry, r as TaxIdNumberTypeSelector, t as removeTaxInfoForCountry, v as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 } from "./utils-
|
|
27
|
+
import { a as fromIndividualConflictSchema, d as useExtractDocumentInformation, f as IdentityNumber, i as mapExtractionResultToSchema, l as useDataConflicts, n as UploadedDocument, o as toIndividualConflictSchema, r as useIdVerificationToken, s as IdVerificationMethod_module_default, t as validateExtractionResult } from "./validateExtractionResult-CqCNMKAG.js";
|
|
28
|
+
import { A as taxInformationDefaultFieldMetadata, C as getTaxIdNumberOptions, S as getDefaultTaxIdNumberType, k as taxInformationDefaultFieldConfig, n as upsertTaxInfoForCountry, r as TaxIdNumberTypeSelector, t as removeTaxInfoForCountry, v as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 } from "./utils-PmlxlZTJ.js";
|
|
29
29
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
30
|
-
import { t as Field } from "./Field-
|
|
31
|
-
import { t as LandingLayout } from "./LandingLayout-
|
|
32
|
-
import { t as Select } from "./Select-
|
|
33
|
-
import { t as Checkbox } from "./Checkbox-
|
|
34
|
-
import { t as Link } from "./Link-
|
|
35
|
-
import { t as InputText } from "./InputText-
|
|
36
|
-
import { t as DataConflictsModal } from "./DataConflictsModal-
|
|
37
|
-
import { t as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
30
|
+
import { t as Field } from "./Field-CIqSPDus.js";
|
|
31
|
+
import { t as LandingLayout } from "./LandingLayout-C1yh_ggf.js";
|
|
32
|
+
import { t as Select } from "./Select-BgdbPMw9.js";
|
|
33
|
+
import { t as Checkbox } from "./Checkbox-yzDgU8Go.js";
|
|
34
|
+
import { t as Link } from "./Link-C0jrInxa.js";
|
|
35
|
+
import { t as InputText } from "./InputText-DtRsfuMv.js";
|
|
36
|
+
import { t as DataConflictsModal } from "./DataConflictsModal-BCnE6yDK.js";
|
|
37
|
+
import { t as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DRF3Ij8u.js";
|
|
38
38
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
39
|
-
import { t as ListItem } from "./ListItem-
|
|
40
|
-
import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-
|
|
41
|
-
import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
42
|
-
import { t as SourceOfFundsPage } from "./SourceOfFundsPage-
|
|
43
|
-
import { t as TaxReportingDropin } from "./TaxReportingDropin-
|
|
39
|
+
import { t as ListItem } from "./ListItem-DENJV6DO.js";
|
|
40
|
+
import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-ybZ_SqWF.js";
|
|
41
|
+
import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-jlXfi57a.js";
|
|
42
|
+
import { t as SourceOfFundsPage } from "./SourceOfFundsPage-_mZohndP.js";
|
|
43
|
+
import { t as TaxReportingDropin } from "./TaxReportingDropin-Coz8k-Sh.js";
|
|
44
44
|
import { lazy } from "preact/compat";
|
|
45
45
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
46
46
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
package/dist/{AdaptiveWorkflowComponent-BrdXMApx.js → AdaptiveWorkflowComponent-DCUluhWX.js}
RENAMED
|
@@ -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] = "7d29ffd8-94c6-412c-b8fd-26f1d5185a7e", e._sentryDebugIdIdentifier = "sentry-dbid-7d29ffd8-94c6-412c-b8fd-26f1d5185a7e");
|
|
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 { AdaptiveWorkflow, n as useAdaptiveWorkflow, t as WorkflowContext } from "./AdaptiveWorkflow-
|
|
5
|
+
import { n as addResourceBundles, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-Btmser7M.js";
|
|
7
|
+
import { r as Loader } from "./Button-3qGOI53m.js";
|
|
8
|
+
import { AdaptiveWorkflow, n as useAdaptiveWorkflow, t as WorkflowContext } from "./AdaptiveWorkflow-CmQ16hFb.js";
|
|
9
9
|
import { useMemo } from "preact/hooks";
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { signal } from "@preact/signals";
|
|
@@ -60,33 +60,33 @@ var AdaptiveWorkflowComponent = ({ onBack }) => {
|
|
|
60
60
|
{
|
|
61
61
|
ns: "common",
|
|
62
62
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
63
|
-
"../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
64
|
-
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-
|
|
65
|
-
"../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
66
|
-
"../../../language/locales/de-DE.json": () => import("./de-DE-
|
|
67
|
-
"../../../language/locales/el-GR.json": () => import("./el-GR-
|
|
63
|
+
"../../../language/locales/bg-BG.json": () => import("./bg-BG-BHL5r3bk.js"),
|
|
64
|
+
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-DfuZr4cv.js"),
|
|
65
|
+
"../../../language/locales/da-DK.json": () => import("./da-DK-CLx0Hv_L.js"),
|
|
66
|
+
"../../../language/locales/de-DE.json": () => import("./de-DE-CcOP7Z3J.js"),
|
|
67
|
+
"../../../language/locales/el-GR.json": () => import("./el-GR-CO9ixkqP.js"),
|
|
68
68
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-FOYUYA3c.js"),
|
|
69
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
70
|
-
"../../../language/locales/es-ES.json": () => import("./es-ES-
|
|
71
|
-
"../../../language/locales/es-LA.json": () => import("./es-LA-
|
|
72
|
-
"../../../language/locales/et-EE.json": () => import("./et-EE-
|
|
73
|
-
"../../../language/locales/fi-FI.json": () => import("./fi-FI-
|
|
74
|
-
"../../../language/locales/fr-FR.json": () => import("./fr-FR-
|
|
75
|
-
"../../../language/locales/hr-HR.json": () => import("./hr-HR-
|
|
76
|
-
"../../../language/locales/hu-HU.json": () => import("./hu-HU-
|
|
77
|
-
"../../../language/locales/it-IT.json": () => import("./it-IT-
|
|
78
|
-
"../../../language/locales/ja-JP.json": () => import("./ja-JP-
|
|
79
|
-
"../../../language/locales/lt-LT.json": () => import("./lt-LT-
|
|
80
|
-
"../../../language/locales/lv-LV.json": () => import("./lv-LV-
|
|
81
|
-
"../../../language/locales/nl-NL.json": () => import("./nl-NL-
|
|
82
|
-
"../../../language/locales/no-NO.json": () => import("./no-NO-
|
|
83
|
-
"../../../language/locales/pl-PL.json": () => import("./pl-PL-
|
|
84
|
-
"../../../language/locales/pt-BR.json": () => import("./pt-BR-
|
|
85
|
-
"../../../language/locales/pt-PT.json": () => import("./pt-PT-
|
|
86
|
-
"../../../language/locales/ro-RO.json": () => import("./ro-RO-
|
|
87
|
-
"../../../language/locales/sk-SK.json": () => import("./sk-SK-
|
|
88
|
-
"../../../language/locales/sl-SI.json": () => import("./sl-SI-
|
|
89
|
-
"../../../language/locales/sv-SE.json": () => import("./sv-SE-
|
|
69
|
+
"../../../language/locales/en-US.json": () => import("./en-US-CJsQJw90.js"),
|
|
70
|
+
"../../../language/locales/es-ES.json": () => import("./es-ES-CwLsmJeQ.js"),
|
|
71
|
+
"../../../language/locales/es-LA.json": () => import("./es-LA-b7TFh_XZ.js"),
|
|
72
|
+
"../../../language/locales/et-EE.json": () => import("./et-EE-o65QgBKk.js"),
|
|
73
|
+
"../../../language/locales/fi-FI.json": () => import("./fi-FI-CKffkrhp.js"),
|
|
74
|
+
"../../../language/locales/fr-FR.json": () => import("./fr-FR-CQbo6d_Q.js"),
|
|
75
|
+
"../../../language/locales/hr-HR.json": () => import("./hr-HR-BH4GZRVw.js"),
|
|
76
|
+
"../../../language/locales/hu-HU.json": () => import("./hu-HU-D0LsAFcV.js"),
|
|
77
|
+
"../../../language/locales/it-IT.json": () => import("./it-IT-NOsTkUWg.js"),
|
|
78
|
+
"../../../language/locales/ja-JP.json": () => import("./ja-JP-C98F-BgJ.js"),
|
|
79
|
+
"../../../language/locales/lt-LT.json": () => import("./lt-LT-erbGBPqF.js"),
|
|
80
|
+
"../../../language/locales/lv-LV.json": () => import("./lv-LV-xbEcOY__.js"),
|
|
81
|
+
"../../../language/locales/nl-NL.json": () => import("./nl-NL-Cpuz-HtA.js"),
|
|
82
|
+
"../../../language/locales/no-NO.json": () => import("./no-NO-Bd3KNpMs.js"),
|
|
83
|
+
"../../../language/locales/pl-PL.json": () => import("./pl-PL-Bg2G4ioZ.js"),
|
|
84
|
+
"../../../language/locales/pt-BR.json": () => import("./pt-BR-DT63AAqA2.js"),
|
|
85
|
+
"../../../language/locales/pt-PT.json": () => import("./pt-PT-BFTfpBI4.js"),
|
|
86
|
+
"../../../language/locales/ro-RO.json": () => import("./ro-RO-DJeBU2j9.js"),
|
|
87
|
+
"../../../language/locales/sk-SK.json": () => import("./sk-SK-rMCHSdm4.js"),
|
|
88
|
+
"../../../language/locales/sl-SI.json": () => import("./sl-SI-Dg4bivT7.js"),
|
|
89
|
+
"../../../language/locales/sv-SE.json": () => import("./sv-SE-DaklU1jx.js")
|
|
90
90
|
}), `../../../language/locales/${lang}.json`, 6)
|
|
91
91
|
},
|
|
92
92
|
{
|
|
@@ -1,23 +1,23 @@
|
|
|
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] = "6917f7c6-f5fe-42cc-978f-0e37d9cf0bd8", e._sentryDebugIdIdentifier = "sentry-dbid-6917f7c6-f5fe-42cc-978f-0e37d9cf0bd8");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon, o as createLogger, r as useTranslation } from "./translation-
|
|
6
|
-
import { $ as hasRepeatedCharacters, C as useDataset, G as SPECIAL_CHARS, H as NO_ALPHABET_REGEX, K as chomeAndBanchiValidator, Q as hasMaximumTwoRepeatedCharacters, R as ADDRESS_VALID_CHAR_REGEX, U as NO_ALPHABET_UNICODE_REGEX, X as getMaxLengthByFieldAndCountry, Y as getFormattingRegEx, et as hasText, it as isInvalidName, j as useToggleContext, ot as isValidMinLength, st as matchesRegex, ut as trimValWithOneSpace, w as datasetIdentifier, z as EMOJI_REGEX } from "./resolveEnvironment-
|
|
7
|
-
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-
|
|
8
|
-
import {
|
|
5
|
+
import { a as Icon, o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { $ as hasRepeatedCharacters, C as useDataset, G as SPECIAL_CHARS, H as NO_ALPHABET_REGEX, K as chomeAndBanchiValidator, Q as hasMaximumTwoRepeatedCharacters, R as ADDRESS_VALID_CHAR_REGEX, U as NO_ALPHABET_UNICODE_REGEX, X as getMaxLengthByFieldAndCountry, Y as getFormattingRegEx, et as hasText, it as isInvalidName, j as useToggleContext, ot as isValidMinLength, st as matchesRegex, ut as trimValWithOneSpace, w as datasetIdentifier, z as EMOJI_REGEX } from "./resolveEnvironment-Btmser7M.js";
|
|
7
|
+
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-DeQp0G69.js";
|
|
8
|
+
import { s as entriesOf } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
9
9
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
10
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
11
|
-
import { n as translateTranslatable } from "./utils-
|
|
12
|
-
import { t as createFormUtils } from "./formUtils-
|
|
13
|
-
import { c as COUNTRIES_WITH_STATES_DATASET, o as CONDENSED_ADDRESS_FIELDS, r as getKeyForField, s as COUNTRIES_WITH_HOUSE_NUMBER_FIRST, t as getAddressSchemaForCountry } from "./utils-
|
|
14
|
-
import { a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
15
|
-
import { t as Field } from "./Field-
|
|
16
|
-
import { t as Select } from "./Select-
|
|
10
|
+
import { i as useAnalyticsContext } from "./Modal-DParMHcv.js";
|
|
11
|
+
import { n as translateTranslatable } from "./utils-BtyrxTzp.js";
|
|
12
|
+
import { t as createFormUtils } from "./formUtils-C4NqSvj-.js";
|
|
13
|
+
import { c as COUNTRIES_WITH_STATES_DATASET, o as CONDENSED_ADDRESS_FIELDS, r as getKeyForField, s as COUNTRIES_WITH_HOUSE_NUMBER_FIRST, t as getAddressSchemaForCountry } from "./utils-BIsRIG8_.js";
|
|
14
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-CGbVdDjn.js";
|
|
15
|
+
import { t as Field } from "./Field-CIqSPDus.js";
|
|
16
|
+
import { t as Select } from "./Select-BgdbPMw9.js";
|
|
17
17
|
import { n as useDebouncedCallback } from "./debouncedInputEvent-Fwwp_K_-.js";
|
|
18
|
-
import { t as useForm } from "./useForm-
|
|
19
|
-
import { t as InputText } from "./InputText-
|
|
20
|
-
import { n as CountryField } from "./CountryField-
|
|
18
|
+
import { t as useForm } from "./useForm-DX-DNWpD.js";
|
|
19
|
+
import { t as InputText } from "./InputText-DtRsfuMv.js";
|
|
20
|
+
import { n as CountryField } from "./CountryField-DifxLMbh.js";
|
|
21
21
|
import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
|
|
22
22
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
23
23
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -66,11 +66,11 @@ var useAddressCleanseImperatively = () => {
|
|
|
66
66
|
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
67
67
|
return useCallback((data) => cleanseAddress(rootLegalEntityId.value, baseUrl.value, data), [baseUrl.value, rootLegalEntityId.value]);
|
|
68
68
|
};
|
|
69
|
-
var formatAddressForCleanse = ({
|
|
70
|
-
if (!
|
|
69
|
+
var formatAddressForCleanse = ({ street, street2, city, country, postalCode }) => {
|
|
70
|
+
if (!street || !country) return void 0;
|
|
71
71
|
return [
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
street,
|
|
73
|
+
street2,
|
|
74
74
|
city,
|
|
75
75
|
country,
|
|
76
76
|
postalCode
|
|
@@ -141,8 +141,8 @@ var addressFormatters = {
|
|
|
141
141
|
if (specificRule) return specificRule(val);
|
|
142
142
|
return val;
|
|
143
143
|
} },
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
street: { formatter: (val) => val ? trimValWithOneSpace(val).replace(addressDisallowedChars, "") : void 0 },
|
|
145
|
+
street2: { formatter: (val) => val ? trimValWithOneSpace(val).replace(addressDisallowedChars, "") : void 0 },
|
|
146
146
|
city: { formatter: (val) => val ? trimValWithOneSpace(val).replace(addressDisallowedChars, "") : void 0 }
|
|
147
147
|
};
|
|
148
148
|
var countrySpecificFormatters = {
|
|
@@ -261,7 +261,7 @@ var logger = createLogger();
|
|
|
261
261
|
var addressValidationRules = (country) => {
|
|
262
262
|
const postalCodeFormat = country ? countrySpecificFormatters[country]?.postalCode?.format : void 0;
|
|
263
263
|
return {
|
|
264
|
-
|
|
264
|
+
street: [{
|
|
265
265
|
modes: ["blur"],
|
|
266
266
|
validate: (val) => hasText(val),
|
|
267
267
|
errorMessage: "fieldIsRequired"
|
|
@@ -316,9 +316,9 @@ var addressValidationRulesV4 = (country, t) => {
|
|
|
316
316
|
const postalCodeFormat = country ? countrySpecificFormatters[country]?.postalCode?.format : void 0;
|
|
317
317
|
const MIN_LENGTH_3 = 3;
|
|
318
318
|
const MIN_LENGTH_2 = 2;
|
|
319
|
-
const
|
|
319
|
+
const street2 = countrySpecificOtherAddressInformationValidators(country);
|
|
320
320
|
return {
|
|
321
|
-
|
|
321
|
+
street: [
|
|
322
322
|
{
|
|
323
323
|
modes: ["blur"],
|
|
324
324
|
validate: (val) => hasText(val),
|
|
@@ -419,20 +419,20 @@ var addressValidationRulesV4 = (country, t) => {
|
|
|
419
419
|
errorMessage: "checkForTypos"
|
|
420
420
|
}
|
|
421
421
|
],
|
|
422
|
-
|
|
422
|
+
street2
|
|
423
423
|
};
|
|
424
424
|
};
|
|
425
425
|
var addressValidators = ({ isFeatureEnabled = () => false, country, t }) => ({ ...isFeatureEnabled?.("StrictNameAndAddressValidationV4") ? addressValidationRulesV4(country, t) : addressValidationRules(country) });
|
|
426
|
-
var preventPoBoxValidation = (cleanseAddress) => ({
|
|
426
|
+
var preventPoBoxValidation = (cleanseAddress) => ({ street: {
|
|
427
427
|
modes: ["blur"],
|
|
428
428
|
errorMessage: "addressPoBoxError",
|
|
429
|
-
asyncValidate: async (
|
|
429
|
+
asyncValidate: async (street, context) => {
|
|
430
430
|
const formData = context?.state?.data ?? {};
|
|
431
431
|
const { country } = formData;
|
|
432
|
-
if (!
|
|
432
|
+
if (!street || !country) return true;
|
|
433
433
|
const text = formatAddressForCleanse({
|
|
434
434
|
...formData,
|
|
435
|
-
|
|
435
|
+
street
|
|
436
436
|
});
|
|
437
437
|
if (!text) return true;
|
|
438
438
|
try {
|
|
@@ -720,12 +720,12 @@ function AddressField({ schema, data, valid, errors, fieldProblems, fieldName, t
|
|
|
720
720
|
const labelKey = getKeyForField(fieldName, data.country);
|
|
721
721
|
const setAddressFieldFromFoundAddress = useCallback(({ houseNumberOrName, street, line1 }) => {
|
|
722
722
|
const hasHouseNumber = !!houseNumberOrName;
|
|
723
|
-
if (!street && line1) return handleChangeFor("
|
|
723
|
+
if (!street && line1) return handleChangeFor("street", "input")(line1);
|
|
724
724
|
if (hasHouseNumber) {
|
|
725
725
|
const formattedAddress = (data.country ? COUNTRIES_WITH_HOUSE_NUMBER_FIRST.includes(data.country) : false) ? `${houseNumberOrName} ${street}` : `${street} ${houseNumberOrName}`;
|
|
726
|
-
return handleChangeFor("
|
|
726
|
+
return handleChangeFor("street", "input")(formattedAddress);
|
|
727
727
|
}
|
|
728
|
-
return handleChangeFor("
|
|
728
|
+
return handleChangeFor("street", "input")(street);
|
|
729
729
|
}, [data.country, handleChangeFor]);
|
|
730
730
|
const onAutofillAddress = useCallback((foundAddress) => {
|
|
731
731
|
schema?.forEach((field) => {
|
|
@@ -733,11 +733,11 @@ function AddressField({ schema, data, valid, errors, fieldProblems, fieldName, t
|
|
|
733
733
|
case "country":
|
|
734
734
|
handleChangeFor("country", "input")(foundAddress.country ?? " ");
|
|
735
735
|
break;
|
|
736
|
-
case "
|
|
736
|
+
case "street":
|
|
737
737
|
setAddressFieldFromFoundAddress(foundAddress);
|
|
738
738
|
break;
|
|
739
|
-
case "
|
|
740
|
-
handleChangeFor("
|
|
739
|
+
case "street2":
|
|
740
|
+
handleChangeFor("street2", "blur")(foundAddress.street2 ?? " ");
|
|
741
741
|
break;
|
|
742
742
|
case "city":
|
|
743
743
|
handleChangeFor("city", "input")(foundAddress.city ?? " ");
|
|
@@ -758,19 +758,19 @@ function AddressField({ schema, data, valid, errors, fieldProblems, fieldName, t
|
|
|
758
758
|
]);
|
|
759
759
|
if (hideField) return null;
|
|
760
760
|
switch (fieldName) {
|
|
761
|
-
case "
|
|
762
|
-
addressText: data.
|
|
761
|
+
case "street": return addressSearchEnabled ? /* @__PURE__ */ jsx(SearchAddress, {
|
|
762
|
+
addressText: data.street,
|
|
763
763
|
country: data.country,
|
|
764
764
|
labelKey,
|
|
765
765
|
errorMessage,
|
|
766
|
-
isValid: valid?.
|
|
766
|
+
isValid: valid?.street,
|
|
767
767
|
readOnly,
|
|
768
768
|
optional,
|
|
769
769
|
handleBlur: (e) => {
|
|
770
|
-
handleChangeFor("
|
|
770
|
+
handleChangeFor("street", "blur")(data.street);
|
|
771
771
|
handleBlur?.(e);
|
|
772
772
|
},
|
|
773
|
-
onAddressTextChange: handleChangeFor("
|
|
773
|
+
onAddressTextChange: handleChangeFor("street", "input"),
|
|
774
774
|
onAutofillAddress
|
|
775
775
|
}) : /* @__PURE__ */ jsx(Field, {
|
|
776
776
|
name: fieldName,
|
|
@@ -839,7 +839,7 @@ function AddressField({ schema, data, valid, errors, fieldProblems, fieldName, t
|
|
|
839
839
|
}
|
|
840
840
|
//#endregion
|
|
841
841
|
//#region src/components/Shared/forms/Address/Address.tsx
|
|
842
|
-
function Address({ data: dataProp, labels, readOnly, hideCountry, fieldValidationErrors: propFieldValidationErrors, allFields, requiredFields, optionalFields = ["
|
|
842
|
+
function Address({ data: dataProp, labels, readOnly, hideCountry, fieldValidationErrors: propFieldValidationErrors, allFields, requiredFields, optionalFields = ["street2"], readOnlyFields, obscuredFields, trustedFields, shouldValidate, onChange, verifiedAddress, condensed, handleFieldChange, errors: errorProp, valid: validProp, addressType }) {
|
|
843
843
|
const { t } = useTranslation("common");
|
|
844
844
|
const { isFeatureEnabled } = useToggleContext();
|
|
845
845
|
const isStrictNameAndAddressValidationEnabled = isFeatureEnabled("StrictNameAndAddressValidationV4");
|
|
@@ -1,6 +1,6 @@
|
|
|
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] = "a6b054b2-a6d1-429a-a38f-83ef9cabf322", e._sentryDebugIdIdentifier = "sentry-dbid-a6b054b2-a6d1-429a-a38f-83ef9cabf322");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { createContext } from "preact";
|
|
6
6
|
//#region src/utils/entriesOf.ts
|
|
@@ -72,4 +72,4 @@ var AnalyticsContext = createContext({
|
|
|
72
72
|
unsubscribe: noop
|
|
73
73
|
});
|
|
74
74
|
//#endregion
|
|
75
|
-
export { noop as a,
|
|
75
|
+
export { noop as a, keysOf as c, drop as i, valuesOf as l, cloneObject as n, objectsDeepEqual as o, doArraysMatch as r, entriesOf as s, AnalyticsContext as t };
|
|
@@ -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] = "7e89ab28-1f82-4435-8130-3bd8a1d6a1d1", e._sentryDebugIdIdentifier = "sentry-dbid-7e89ab28-1f82-4435-8130-3bd8a1d6a1d1");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon } from "./translation-
|
|
5
|
+
import { a as Icon } from "./translation-BR3rLb4m.js";
|
|
6
6
|
import cx from "classnames";
|
|
7
7
|
import { jsx } from "preact/jsx-runtime";
|
|
8
8
|
var Avatar_module_default = {
|