@adyen/kyc-components 4.6.1 → 4.7.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/{AcceptTermsOfServiceComponent-B3l9btP-.js → AcceptTermsOfServiceComponent-RYwThKmu.js} +17 -16
- package/dist/{AccountSetupRejected-DbdJB-OJ.js → AccountSetupRejected-DhwwBH0S.js} +2 -2
- package/dist/{ActionBar-BUo_zptQ.js → ActionBar-u-Qc7Y4w.js} +1 -1
- package/dist/{Address-B1q0i8VT.js → Address-TGZeMCUA.js} +15 -15
- package/dist/{Avatar-V--81dug.js → Avatar-LSd9cIJV.js} +1 -1
- package/dist/{BusinessFinancingComponent-yACwTlmi.js → BusinessFinancingComponent-DAeZTKW1.js} +6 -6
- package/dist/{BusinessFinancingDropin-DwMpqWbh.js → BusinessFinancingDropin-BVgSTmUm.js} +27 -27
- package/dist/BusinessFinancingPage-vKWY2gWN.js +43 -0
- package/dist/{BusinessTypeSelectionPage-RRp8YkIk.js → BusinessTypeSelectionPage-DhpGpgac.js} +9 -9
- package/dist/{Checkbox-CBsyuXip.js → Checkbox-D5-_dw4-.js} +1 -1
- package/dist/{Confirm-BLjnKmbU.js → Confirm-BoQbVMKQ.js} +2 -2
- package/dist/{ConstitutionalDocument-aYMC7Qld.js → ConstitutionalDocument-CjUSPI6f.js} +37 -26
- package/dist/{ContactDetails-BBTAGuyq.js → ContactDetails-Bj1jL-WF.js} +9 -19
- package/dist/{ContextGuidance-BJIBM5W-.js → ContextGuidance-CoDkF9Kh.js} +1 -1
- package/dist/{CountryField-o99j4P7E.js → CountryField-DPtohqO0.js} +3 -3
- package/dist/{CreateIndividualComponent-CmhrM9Gy.js → CreateIndividualComponent-DnDxRY8S.js} +6 -6
- package/dist/{CreateTransferInstrumentComponent-CHaq9Cug.js → CreateTransferInstrumentComponent-BB1v1vPR.js} +4 -4
- package/dist/{Currency-hrruvtK7.js → Currency-DjKXc6D1.js} +7 -7
- package/dist/{CustomerSupport-D9V9znlz.js → CustomerSupport-nxoB2aXL.js} +9 -9
- package/dist/{DebugModal-C3ODQ7HG.js → DebugModal-DK9xbFjU.js} +7 -7
- package/dist/{DecisionMakerDetails-BUm0ukYp.js → DecisionMakerDetails-D-POvfJr.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-DiYr15fi.js → DecisionMakerDetailsPage-CABFACYm.js} +8 -8
- package/dist/{DecisionMakers-BCk4n5BI.js → DecisionMakers-B4gmdJ-s.js} +20 -20
- package/dist/{Dropzone-Dled5Xv_.js → Dropzone-IwRNw22i.js} +3 -3
- package/dist/{EmbeddedStatus-a9eBGaNp.js → EmbeddedStatus-BU2hma9l.js} +2 -2
- package/dist/{EndStateLayout-Doxwm8Bv.js → EndStateLayout-DURCt96r.js} +1 -1
- package/dist/{EntityAssociation-BdpQ9IKO.js → EntityAssociation-TBvPBEGa.js} +4 -4
- package/dist/{EntityGuidanceStatus-CqfeJN28.js → EntityGuidanceStatus-CFRY8Yia.js} +4 -4
- package/dist/{ErrorPanel-B_t2Mr0a.js → ErrorPanel-ALBlWg3_.js} +2 -2
- package/dist/{Field-DhGlekN4.js → Field--T3FQepj.js} +1 -1
- package/dist/{FormNavigation-zwvQFKf1.js → FormNavigation-nE2uj2oQ.js} +3 -3
- package/dist/{Individual.rules-DnqpK01d.js → Individual.rules-DotRDPTM.js} +6 -6
- package/dist/{IndividualDropin-CaQg4nGw.js → IndividualDropin-eiRXQvS_.js} +164 -119
- package/dist/{InputDate-MfbWpC8K.js → InputDate-BAzF-upe.js} +1 -1
- package/dist/{InputText-BsC-S1uD.js → InputText-CywP4Ojh.js} +2 -2
- package/dist/{Introduction-XVVXz1r8.js → Introduction-CKoQlTAr.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-CHrA8mQR.js → InvitedDecisionMakerComponent-CV8OExOI.js} +18 -13
- package/dist/{JpAddress-BDGwDEOX.js → JpAddress-BIgqDfQ0.js} +10 -10
- package/dist/{LandingLayout-DJR_oP_0.js → LandingLayout-DEgZw1-N.js} +5 -3
- package/dist/{LegalCompanyNameField-CzsW7440.js → LegalCompanyNameField-CblBotGC.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-umA-1VaQ.js → LegalRepresentativeDetailsPage-BYgKGZL1.js} +4 -4
- package/dist/{Link-CuEU7lsc.js → Link-BVdY7Jkl.js} +1 -1
- package/dist/{ListItem-De_7UUwH.js → ListItem-CNuX4D7n.js} +2 -2
- package/dist/{LoaderWrapper-BUn-b8AB.js → LoaderWrapper-CU0bf3jD.js} +1 -1
- package/dist/ManageIndividualComponent-BYBvuHfj.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-ChalvP2J.js → ManageTermsOfServiceComponent-CfN53LIT.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-C4oiwftt.js → ManageTransferInstrumentComponent-B7gKGWHz.js} +10 -10
- package/dist/{MaskedInput-BWp2Akul.js → MaskedInput-BNceotwn.js} +4 -4
- package/dist/{MaybeModal-C7EW70Xg.js → MaybeModal-hVrKDPDU.js} +2 -2
- package/dist/{Modal-D_LDmrcf.js → Modal-C8kGCLbp.js} +3 -3
- package/dist/{Name-D8B6J9x4.js → Name-GILpP1SS.js} +4 -4
- package/dist/{NewSummary-BjYCAFDe.js → NewSummary-C5UR_Xj1.js} +2 -2
- package/dist/{OnboardingDropinComponent-CFcJQhCb.js → OnboardingDropinComponent-CK5KIhNx.js} +74 -74
- package/dist/{PayoutDetailsDropin-Beeag1MS.js → PayoutDetailsDropin-CLdEm9BA.js} +465 -226
- package/dist/PayoutDetailsPage-s-_gJFC2.js +914 -0
- package/dist/{RadioGroup-DvrpVP2i.js → RadioGroup-PEWX2KAj.js} +1 -1
- package/dist/{Review-D8hiQo3n.js → Review-CFnIOiZT.js} +6 -6
- package/dist/{RootBusinessDetailsPage-OjbFMdJ2.js → RootBusinessDetailsPage-mnrfIy0-.js} +4 -4
- package/dist/{RootBusinessLinesPage-CIECoCW3.js → RootBusinessLinesPage-BH3Lns3X.js} +28 -35
- package/dist/{RootIndividualDetailsPage-kvCZ8gLE.js → RootIndividualDetailsPage-BzgHIe3h.js} +7 -7
- package/dist/{Select-t-h8dau1.js → Select-C4C8R-Ci.js} +4 -4
- package/dist/{SignPCIComponent-BTd1hGFj.js → SignPCIComponent-B7rKUpjS.js} +11 -11
- package/dist/{SingpassSelection-BUVrRdZ4.js → SingpassSelection-WxIUEYNK.js} +4 -4
- package/dist/{SoleProprietorshipPage-BoUgRvvr.js → SoleProprietorshipPage-C_fewFI3.js} +3 -3
- package/dist/{SourceOfFundsPage-DNth1tGN.js → SourceOfFundsPage-UeXmtQEJ.js} +33 -33
- package/dist/{StepProgressIndicator-CHQ02q0R.js → StepProgressIndicator-DiB-t9hK.js} +1 -1
- package/dist/{StoreProvider-Do1odp3Z.js → StoreProvider-C4og8Y8I.js} +111 -91
- package/dist/{Summary-s4DquGfj.js → Summary-DkZ_an9u.js} +7 -20
- package/dist/{TaxInformationField-DS9fsrYp.js → TaxInformationField-BOZj8YLo.js} +27 -23
- package/dist/{TaxReportingDropin-CsCwca9A.js → TaxReportingDropin-9HGGrPyM.js} +14 -14
- package/dist/{TextArea-DI9q4r1R.js → TextArea-Bu9ppy0I.js} +2 -2
- package/dist/{TileGroup-CAyozQI4.js → TileGroup-BRzhDdL0.js} +2 -2
- package/dist/{TrustDetailsPage-Dp7MPmlU.js → TrustDetailsPage-C3gYEzPT.js} +32 -38
- package/dist/{TrustMemberCompanyPage-D-6ls2Oq.js → TrustMemberCompanyPage-BK54Of_F.js} +5 -5
- package/dist/{TrustMemberIndividualPage-MrBsjChK.js → TrustMemberIndividualPage-fVZrXJjA.js} +5 -5
- package/dist/{TrustMemberRoleAndTypePage-D901ZC2E.js → TrustMemberRoleAndTypePage-BVHOuXP3.js} +22 -22
- package/dist/{TrustMembersOverview-D-39F-pm.js → TrustMembersOverview-Ab-dwNTz.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-CYyfQrYN.js → UnincorporatedPartnershipIndividualPage-C32LEyHG.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DO5iP4Dt.js → UnincorporatedPartnershipMemberCompanyPage-22Bl_EUP.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CBQerXfu.js → UnincorporatedPartnershipMemberRoleAndTypePage-BjywaZQe.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-e_5NAEac.js → UnincorporatedPartnershipMembersOverview-RY7m4iC5.js} +7 -7
- package/dist/{VerificationErrorAlert-Bnnuucqh.js → VerificationErrorAlert-CCJ0vNsY.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-CVVTKfrQ.js → ViewVerificationStatusComponent-Bg1I1q10.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-kyc-components.js +15 -15
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-DNleI80l.js → bafinUtils-DkCSO6ft.js} +1 -1
- package/dist/{bg-BG-DMNRRZZE.js → bg-BG-89Mw-9Lv.js} +7 -7
- package/dist/{bg-BG-Cj3_UGTi.js → bg-BG-C9zrgb_c.js} +7 -1
- package/dist/{bg-BG-C6dSR1jk.js → bg-BG-dmpv4Zom.js} +2 -2
- package/dist/{commonValidators-B93jw3zT.js → commonValidators-Dd4wegC9.js} +1 -1
- package/dist/{cs-CZ-B6atm9_Q.js → cs-CZ-6rOIfRJu.js} +2 -2
- package/dist/{cs-CZ-DxfB5dcV.js → cs-CZ-B-zm6HVH.js} +7 -1
- package/dist/{cs-CZ-DXSMRqPu.js → cs-CZ-CTxXvHtH.js} +7 -7
- package/dist/{da-DK-BfsYpvel.js → da-DK-CGhsIGZt.js} +7 -1
- package/dist/{da-DK-Cv6XUSoW.js → da-DK-C_GqHCay.js} +2 -2
- package/dist/{da-DK-CMVthpSr.js → da-DK-D_TOcmOO.js} +7 -7
- package/dist/{de-DE-BplDsJEb.js → de-DE-BmWBo3gX.js} +2 -2
- package/dist/{de-DE-B5TOuf7l.js → de-DE-DYzAiXHM.js} +7 -7
- package/dist/{de-DE-CEsDXBn-.js → de-DE-K9FyOJiI.js} +7 -1
- package/dist/{dropinUtils-iBTioaF7.js → dropinUtils-vsDEK6cs.js} +17 -6
- package/dist/{el-GR-BNNlN4l2.js → el-GR-DItzpoar.js} +7 -7
- package/dist/{el-GR-dRK7xHn2.js → el-GR-Fo7-xCrc.js} +2 -2
- package/dist/{el-GR-CM3bIzr7.js → el-GR-L-39cQfz.js} +7 -1
- package/dist/en-US-qlQTJNiL.js +13 -0
- package/dist/{es-ES-DRsix_Xn.js → es-ES-BkqlH093.js} +2 -2
- package/dist/{es-ES-Wcpc6fm1.js → es-ES-BmH6eADf.js} +7 -7
- package/dist/{es-ES-BWFP5itn.js → es-ES-TUyeIp6F.js} +7 -1
- package/dist/{et-EE-CcXrAAc7.js → et-EE-Cw_VydGb.js} +7 -1
- package/dist/{et-EE-DNC4hcxm.js → et-EE-DSZa_33d.js} +7 -7
- package/dist/{et-EE-BXiYapXy.js → et-EE-H8yxvhQj.js} +2 -2
- package/dist/{fi-FI-BftTiz0c.js → fi-FI-BfwJVwi9.js} +2 -2
- package/dist/{fi-FI-BJLU1JHw.js → fi-FI-DJ8BbVPT.js} +7 -7
- package/dist/{fi-FI-DenK0WPz.js → fi-FI-tgvQX_Iq.js} +7 -1
- package/dist/{formUtils-lkF9e5IB.js → formUtils-DFuc8i5Q.js} +3 -3
- package/dist/{fr-FR-C6jxjXAI.js → fr-FR-CzjsW73Q.js} +2 -2
- package/dist/{fr-FR-DodNoPid.js → fr-FR-D533_MOG.js} +7 -7
- package/dist/{fr-FR-BmTswZU5.js → fr-FR-ynC19lSF.js} +7 -1
- package/dist/{getName-f5vInm5O.js → getName-D3Sba-PI.js} +1 -1
- package/dist/{getProblemsForEntity-D8b_EJeC.js → getProblemsForEntity-Db-ejW4z.js} +1 -1
- package/dist/{getTrustedFields-D2WVcNYC.js → getTrustedFields-DUXTMWcg.js} +1 -1
- package/dist/{hr-HR-SDrDZRLV.js → hr-HR--5syrowD.js} +7 -1
- package/dist/{hr-HR-C0NLgF1r.js → hr-HR-CIxdonpk.js} +7 -7
- package/dist/{hr-HR-B_TEU3r4.js → hr-HR-ZrpQrsik.js} +2 -2
- package/dist/{hu-HU-C3ZiFh1F.js → hu-HU--6ZxXlbV.js} +7 -7
- package/dist/{hu-HU-DSVf2zbX.js → hu-HU-BFiGk_QT.js} +7 -1
- package/dist/{hu-HU-CX83V9tu.js → hu-HU-Ds3go4h4.js} +2 -2
- package/dist/{isEmpty-u6uLWpz1.js → isEmpty-DFqK5kY2.js} +2 -2
- package/dist/{it-IT-CZ4aDoVQ.js → it-IT-B5cf2VTN.js} +7 -7
- package/dist/{it-IT-DJe5OflH.js → it-IT-C0Zv5ms9.js} +7 -1
- package/dist/{it-IT-CXlaZNIj.js → it-IT-Dx15tkIe.js} +2 -2
- package/dist/{ja-JP-GGV_-V6p.js → ja-JP--u211vje.js} +7 -1
- package/dist/{ja-JP-BpeNsNhn.js → ja-JP-DY4CJlUf.js} +7 -7
- package/dist/{ja-JP-A6ArIIZ8.js → ja-JP-Qu7oEIEy.js} +2 -2
- package/dist/{japanSupportUtils-By6GI65W.js → japanSupportUtils-DqXOWm97.js} +1 -1
- package/dist/{localizeDateString-CYVOqiuH.js → localizeDateString-D8JgUqw2.js} +1 -1
- package/dist/{lt-LT-ww192lYg.js → lt-LT-BebOeKIA.js} +2 -2
- package/dist/{lt-LT-C8n1GZoU.js → lt-LT-CkjEvGSp.js} +7 -7
- package/dist/{lt-LT-C9nsCODy.js → lt-LT-D2Hrhr7v.js} +7 -1
- package/dist/{lv-LV-BdPdaVGy.js → lv-LV-BdZK9nQA.js} +7 -7
- package/dist/{lv-LV-CpHy-ZoF.js → lv-LV-CYcrO-6d.js} +2 -2
- package/dist/{lv-LV-Bue450PR.js → lv-LV-D04q9r-y.js} +7 -1
- package/dist/{mapExistingFile-9oZpCz9G.js → mapExistingFile-BIYg1E5G.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-DhgNqKwy.js → mapJpAddressSchemaToAddressLocalizations-D5xnQLSI.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-BY73qAGj.js → mapLegalEntityToIndividualSchema-By5v9v9G.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-BYhssQ5b.js → mapTransferInstrumentToPayoutAccount-BM24JYqT.js} +2 -2
- package/dist/{nl-NL-4Mv4rnYy.js → nl-NL-CJ7MoBj2.js} +7 -1
- package/dist/{nl-NL-BwWFlBOs.js → nl-NL-FbJ2sHba.js} +2 -2
- package/dist/{nl-NL-B2Uku0lw.js → nl-NL-YcL7Gufl.js} +7 -7
- package/dist/{no-NO-JWsSd7iY.js → no-NO-B5BjEy8n.js} +2 -2
- package/dist/{no-NO-ByCZ3mhz.js → no-NO-C20s6CoP.js} +7 -1
- package/dist/{no-NO-DjOcJWnC.js → no-NO-KkYB-VQD.js} +7 -7
- package/dist/{omitObscuredFieldsIfUnchanged-BukQYYUl.js → omitObscuredFieldsIfUnchanged-CyJfNYkP.js} +2 -2
- package/dist/{patternValidators-BAI5QGjT.js → patternValidators-DRSnA1z7.js} +2 -2
- package/dist/{pl-PL-DCi5Lf4k.js → pl-PL-C19Btj2D.js} +7 -1
- package/dist/{pl-PL-Bmaq3IC3.js → pl-PL-CPdKf-J0.js} +7 -7
- package/dist/{pl-PL-CLmmSNgn.js → pl-PL-DuM6hbqZ.js} +2 -2
- package/dist/{process-field-configurations-BsVn1sDe.js → process-field-configurations-Cl2nqpBp.js} +2 -2
- package/dist/{pt-BR-BJOww8U1.js → pt-BR-BKKQIUJP.js} +2 -2
- package/dist/{pt-BR-BKdT0Bpl.js → pt-BR-ERWeus3c.js} +7 -7
- package/dist/{pt-BR-DRz5cG4o.js → pt-BR-zOjPTIPu.js} +7 -1
- package/dist/{pt-PT-CL9VzmZE.js → pt-PT-CC7zlk3R.js} +2 -2
- package/dist/{pt-PT-C2li07N1.js → pt-PT-DUTGt5L5.js} +7 -7
- package/dist/{pt-PT-ChRbnn0k.js → pt-PT-t5M8xwTU.js} +7 -1
- package/dist/{resolveEnvironment-qgplleRV.js → resolveEnvironment-BIF7mwM5.js} +3 -3
- package/dist/{ro-RO-iPjOeKwM.js → ro-RO-BnFjok5O.js} +7 -7
- package/dist/{ro-RO-Cu1T3z6k.js → ro-RO-CuabgXj1.js} +2 -2
- package/dist/{ro-RO-Dgie5z3m.js → ro-RO-DK9gVwS9.js} +7 -1
- package/dist/{roleMetadata-BqDkoUz9.js → roleMetadata-BAURfCmh.js} +3 -3
- package/dist/{sk-SK-bMDoNP19.js → sk-SK-2J6iKfmK.js} +7 -1
- package/dist/{sk-SK-3_SoEn6P.js → sk-SK-CLPd85I3.js} +7 -7
- package/dist/{sk-SK-CEjJ-qZG.js → sk-SK-DM1yY8DA.js} +2 -2
- package/dist/{sl-SI-BfO3xEJx.js → sl-SI--pDTatHh.js} +2 -2
- package/dist/{sl-SI-DKSu25rO.js → sl-SI-D82ccY62.js} +7 -1
- package/dist/{sl-SI-DbfswGh0.js → sl-SI-T9_Ty-NS.js} +7 -7
- package/dist/style.css +9 -21
- package/dist/styles-CLV89_hH.js +9 -21
- package/dist/{sv-SE-Blw4s8bC.js → sv-SE-3-h2VlYi.js} +7 -7
- package/dist/{sv-SE-CMLKzwtj.js → sv-SE-CDxyyNV0.js} +2 -2
- package/dist/{sv-SE-Co7Nkd06.js → sv-SE-CrBkos0z.js} +7 -1
- package/dist/types/api/companySearch/useCompanySearch.d.ts +289 -0
- package/dist/types/api/companySelection/useCompanySelection.d.ts +2 -4
- package/dist/types/api/configurations/useScenarios.d.ts +1 -1
- package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +4 -4
- package/dist/types/api/queryKeys.d.ts +1 -2
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +245 -1
- package/dist/types/api/uiAnalytics/uiAnalytics.types.d.ts +6 -1
- package/dist/types/components/BankAccount/forms/BankVerification/store.d.ts +1 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutCountryDetails.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetailsMultiform.d.ts +27 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +2 -2
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +25 -25
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +0 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropinMultiForm.d.ts +2 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +7 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/validate.d.ts +23 -0
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -4
- package/dist/types/components/Business/forms/rules.d.ts +6 -6
- package/dist/types/components/Business/mapping/businessDetails/businessBankAccountTaxIdUtils.d.ts +10 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +0 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -4
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +2 -3
- package/dist/types/components/BusinessLines/fields/SalesChannels/SalesChannels.d.ts +1 -1
- package/dist/types/components/BusinessLines/fields/SalesChannels/types.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +499 -487
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +2 -2
- package/dist/types/components/Individual/forms/InviteDetails/utils.d.ts +2 -0
- package/dist/types/components/Individual/forms/InviteDetails/validate.d.ts +2 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +5 -0
- package/dist/types/components/Shared/fields/DBANameField/DBANameField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/Name/validate.d.ts +2 -1
- package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +2 -2
- package/dist/types/context/ToggleContext/types.d.ts +51 -56
- package/dist/types/core/models/api/branchAllocation.d.ts +5 -0
- package/dist/types/core/models/api/get-scenarios.d.ts +2 -0
- package/dist/types/core/models/api/organization.d.ts +2 -0
- package/dist/types/core/user-events.d.ts +1 -1
- package/dist/types/hooks/useForm/types.d.ts +1 -0
- package/dist/types/hooks/usePageLandedEvent.d.ts +3 -3
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/validatorUtils.d.ts +1 -0
- package/dist/{types-CTwBMnPB.js → types-C7ANBXKc.js} +56 -61
- package/dist/{types-CfnPVq7b.js → types-DsA42AXS.js} +1 -1
- package/dist/{types-tdqAwKL7.js → types-DxlKs1U5.js} +1 -1
- package/dist/{types-DKR2ZuTD.js → types-VsWq4EjV.js} +1 -1
- package/dist/{unincorporated-partnership-DiT1SZMx.js → unincorporated-partnership-uA1X2l53.js} +1 -1
- package/dist/{useAssociatedLegalEntity-Bwe18_3D.js → useAssociatedLegalEntity-3LNpnrN6.js} +1 -1
- package/dist/{useBusinessDetailsData-S4H6u7aV.js → useBusinessDetailsData-dZbZQSmY.js} +330 -314
- package/dist/{useCreateLegalEntity-DugB4CeD.js → useCreateLegalEntity-DDkkYr4O.js} +1 -1
- package/dist/{useForm-Chyn6I7t.js → useForm-Y4-kimHb.js} +3 -3
- package/dist/{useFormContext-D0VUus9N.js → useFormContext-TKoF8IdB.js} +7 -7
- package/dist/{useGlobalData-BOpkYARg.js → useGlobalData-DZvXyS0l.js} +9 -9
- package/dist/{useMultiForm-AyBSOBoC.js → useMultiForm-ieaYM7hW.js} +4 -4
- package/dist/{useOnboardingStatus-DHIZ68CF.js → useOnboardingStatus-DhxCTR8e.js} +1 -1
- package/dist/{useScenarios-C--d6gPw.js → useScenarios-CwSfXmoW.js} +1 -1
- package/dist/{useTermsOfServiceStatus-OVxuF0N1.js → useTermsOfServiceStatus-DPGw4QdQ.js} +1 -1
- package/dist/{useToastContext-DHFV4LJC.js → useToastContext-BdsMS3mt.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-B9S2O4tQ.js → useUnincorporatedPartnershipMembers-D5ndPAbv.js} +4 -4
- package/dist/{useUpdateBusinessLines-D-2SFDbh.js → useUpdateBusinessLines-Dwk23sZB.js} +5 -7
- package/dist/{useUpdateLegalEntity-CFRYUBdP.js → useUpdateLegalEntity-5lOidXXX.js} +2 -2
- package/dist/{utils-BlKniCje.js → utils-BwwVW2aU.js} +6 -6
- package/dist/{utils-CmyEO2z6.js → utils-C5ekxdx1.js} +1 -1
- package/dist/{utils-HEJUczlg.js → utils-C_Fyu6Kr.js} +1 -1
- package/dist/{utils-DzZSy2n_.js → utils-CdhuiXMy.js} +1 -1
- package/dist/{utils-CG9hxJ09.js → utils-Dny5dbku.js} +2 -2
- package/dist/{validate-DKsP8XGZ.js → validate-CFI052fe.js} +3 -3
- package/dist/{validate-DkaJWAVo.js → validate-bZBB2yOu.js} +2 -2
- package/dist/{validationError-yKQW3P6f.js → validationError-XxBa8ECY.js} +2 -2
- package/package.json +10 -10
- package/dist/BusinessFinancingPage-Bgh0dGq3.js +0 -43
- package/dist/ManageIndividualComponent-BK6fjFPh.js +0 -46
- package/dist/PayoutDetailsPage-Q6XPaC0y.js +0 -55
- package/dist/en-US-CJDkXFZ6.js +0 -13
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/formatAccountVerificationSummary.d.ts +0 -7
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "16bb594a-c450-40d9-b17f-4472f6e11944", e._sentryDebugIdIdentifier = "sentry-dbid-16bb594a-c450-40d9-b17f-4472f6e11944");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -11,64 +11,66 @@ import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
|
11
11
|
import { Show } from "@preact/signals/utils";
|
|
12
12
|
import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
|
|
13
13
|
import { useState, useRef, useCallback, useEffect, useMemo } from "preact/hooks";
|
|
14
|
-
import { u as useScenarios } from "./useScenarios-
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { b as useApiContext, j as httpPost, a9 as CountryCodes, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-
|
|
19
|
-
import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, d as defaultFieldMetadata$1, f as fieldConfig, P as PhoneField, g as getPhonePlaceholder, u as useValidatePhoneNumberImperatively, b as getAsyncPhoneValidationRules } from "./ContactDetails-
|
|
20
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
21
|
-
import { u as useToastContext } from "./useToastContext-
|
|
22
|
-
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
23
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
24
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
25
|
-
import { u as uppercase, A as AdyenKycSdkError, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-CwSfXmoW.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DDkkYr4O.js";
|
|
16
|
+
import { b as useApiContext, j as httpPost, a9 as CountryCodes, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasMaximumTwoRepeatedCharacters, aG as hasRepeatedCharacters, aH as isInvalidName, aI as INDIVIDUAL_VALID_CHAR_REGEX, ax as isEmpty, w as TaskTypes, L as LegalEntityTypes, aJ as getAgeToday, aK as euCountries, aL as hasText, aM as standardKatakanaValidator, aN as standardKanjiValidator, k as httpGet, u as useTranslation, V as Button, C as Alert, U as Loader, as as DecisionMakerTypes, at as Scenarios, N as Typography, ab as translateTranslatable, ap as useDataset, aq as datasetIdentifier, aO as useAllowedCountries, m as useSettingsContext, H as useToggleContext, aB as Header, aP as getAgeRangeForLegalRepresentative, aQ as isLegalRepresentativeNeeded, aR as Trans, aS as valuesOf, aT as keysOf, ah as objectsDeepEqual, aU as listToRecord, aV as pick, ae as createLogger, B as IconButton, x as useAnalyticsContext, am as datasetUtilities, aW as useCapabilities, aX as individualApiKeyMapping, aY as drop, t as useAccountHolder, a8 as getLegalEntityCountry, aZ as getAllowedDecisionMakerRoles, a_ as individualDocumentMapping, a$ as filterOutUnwantedAssociationsIfRootLE, an as cloneObject, b0 as individualObscuredFields, ac as getOwnEntityAssociations, b1 as hasNomineesChanged, b2 as attachNomineeToRole, b3 as doArraysMatch } from "./StoreProvider-C4og8Y8I.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-5lOidXXX.js";
|
|
18
|
+
import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-TGZeMCUA.js";
|
|
19
|
+
import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, d as defaultFieldMetadata$1, f as fieldConfig, P as PhoneField, g as getPhonePlaceholder, u as useValidatePhoneNumberImperatively, b as getAsyncPhoneValidationRules } from "./ContactDetails-Bj1jL-WF.js";
|
|
20
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-TKoF8IdB.js";
|
|
21
|
+
import { u as useToastContext } from "./useToastContext-BdsMS3mt.js";
|
|
22
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-Cl2nqpBp.js";
|
|
23
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-vsDEK6cs.js";
|
|
24
|
+
import { u as useMultiForm } from "./useMultiForm-ieaYM7hW.js";
|
|
25
|
+
import { u as uppercase, A as AdyenKycSdkError, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-BIYg1E5G.js";
|
|
26
26
|
import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-DEOyz9Yo.js";
|
|
27
27
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
28
|
-
import { b as addressFields, a as getAddressSchemaLabelsByCountry, C as COUNTRIES_WITH_STATES_DATASET, m as mapAddressLabels } from "./utils-
|
|
29
|
-
import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-
|
|
30
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
31
|
-
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-
|
|
32
|
-
import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, D as DocumentGuidance, M as MemoizedDocumentUpload, b as taxIdNumberOptions, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
33
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
34
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
35
|
-
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-
|
|
36
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput, I as InputEmail } from "./MaskedInput-
|
|
37
|
-
import { v as validatePatternOnBlur } from "./patternValidators-
|
|
28
|
+
import { b as addressFields, a as getAddressSchemaLabelsByCountry, C as COUNTRIES_WITH_STATES_DATASET, m as mapAddressLabels } from "./utils-C5ekxdx1.js";
|
|
29
|
+
import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-By5v9v9G.js";
|
|
30
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-XxBa8ECY.js";
|
|
31
|
+
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-CFI052fe.js";
|
|
32
|
+
import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, D as DocumentGuidance, M as MemoizedDocumentUpload, b as taxIdNumberOptions, g as getFieldsWithExistingData } from "./TaxInformationField-BOZj8YLo.js";
|
|
33
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-DqXOWm97.js";
|
|
34
|
+
import { l as localizeDateString } from "./localizeDateString-D8JgUqw2.js";
|
|
35
|
+
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-CyJfNYkP.js";
|
|
36
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput, I as InputEmail } from "./MaskedInput-BNceotwn.js";
|
|
37
|
+
import { v as validatePatternOnBlur } from "./patternValidators-DRSnA1z7.js";
|
|
38
38
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
39
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
39
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CdhuiXMy.js";
|
|
40
40
|
import { lazy, Suspense, memo } from "preact/compat";
|
|
41
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
42
|
-
import { M as Modal } from "./Modal-
|
|
43
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
44
|
-
import { C as Confirm } from "./Confirm-
|
|
45
|
-
import { a as getIndividualLegalEntityName } from "./getName-
|
|
46
|
-
import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-
|
|
41
|
+
import { I as Image } from "./unincorporated-partnership-uA1X2l53.js";
|
|
42
|
+
import { M as Modal } from "./Modal-C8kGCLbp.js";
|
|
43
|
+
import { L as LandingLayout } from "./LandingLayout-DEgZw1-N.js";
|
|
44
|
+
import { C as Confirm } from "./Confirm-BoQbVMKQ.js";
|
|
45
|
+
import { a as getIndividualLegalEntityName } from "./getName-D3Sba-PI.js";
|
|
46
|
+
import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-DkCSO6ft.js";
|
|
47
47
|
import { signal } from "@preact/signals";
|
|
48
|
-
import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-
|
|
48
|
+
import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-ALBlWg3_.js";
|
|
49
49
|
import { g as getFieldProps, a as getFormProps } from "./getProps-Cc3J2-z9.js";
|
|
50
|
-
import { F as Field } from "./Field
|
|
51
|
-
import { L as Link } from "./Link-
|
|
50
|
+
import { F as Field } from "./Field--T3FQepj.js";
|
|
51
|
+
import { L as Link } from "./Link-BVdY7Jkl.js";
|
|
52
52
|
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
53
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
54
|
-
import { I as InputText } from "./InputText-
|
|
55
|
-
import { C as CountryField } from "./CountryField-
|
|
56
|
-
import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-
|
|
57
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
58
|
-
import { C as Checkbox } from "./Checkbox-
|
|
59
|
-
import { S as Select } from "./Select-
|
|
60
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
61
|
-
import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-
|
|
62
|
-
import { i as isTruthyValidator } from "./commonValidators-
|
|
53
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-BAzF-upe.js";
|
|
54
|
+
import { I as InputText } from "./InputText-CywP4Ojh.js";
|
|
55
|
+
import { C as CountryField } from "./CountryField-DPtohqO0.js";
|
|
56
|
+
import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-PEWX2KAj.js";
|
|
57
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-DFuc8i5Q.js";
|
|
58
|
+
import { C as Checkbox } from "./Checkbox-D5-_dw4-.js";
|
|
59
|
+
import { S as Select } from "./Select-C4C8R-Ci.js";
|
|
60
|
+
import { C as ContextGuidance } from "./ContextGuidance-CoDkF9Kh.js";
|
|
61
|
+
import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-DotRDPTM.js";
|
|
62
|
+
import { i as isTruthyValidator } from "./commonValidators-Dd4wegC9.js";
|
|
63
63
|
import { T as TrustedFieldsProviders } from "./trusted-fields-provider-BgfIoSNJ.js";
|
|
64
|
-
import { n as nameFields, N as Name } from "./Name-
|
|
65
|
-
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
66
|
-
import { D as Dropzone } from "./Dropzone-
|
|
67
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
64
|
+
import { n as nameFields, N as Name } from "./Name-GILpP1SS.js";
|
|
65
|
+
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-D5xnQLSI.js";
|
|
66
|
+
import { D as Dropzone } from "./Dropzone-IwRNw22i.js";
|
|
67
|
+
import { i as isEmpty$1 } from "./isEmpty-DFqK5kY2.js";
|
|
68
68
|
import { Onfido } from "onfido-sdk-ui";
|
|
69
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
69
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CU0bf3jD.js";
|
|
70
70
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
71
|
-
import { T as TextArea } from "./TextArea-
|
|
71
|
+
import { T as TextArea } from "./TextArea-Bu9ppy0I.js";
|
|
72
|
+
import parsePhoneNumber from "libphonenumber-js/mobile";
|
|
73
|
+
import phonePrefixes from "./phonePrefixes-CnL40uyX.js";
|
|
72
74
|
import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
|
|
73
75
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
74
76
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
@@ -779,31 +781,33 @@ const idNumberExemptDefaultConfig = {
|
|
|
779
781
|
label: "uploadDocumentForNric"
|
|
780
782
|
}
|
|
781
783
|
};
|
|
782
|
-
const nameValidationRulesV4 = {
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
784
|
+
const nameValidationRulesV4 = (isFeatureEnabled = () => false) => {
|
|
785
|
+
return {
|
|
786
|
+
firstName: [
|
|
787
|
+
{
|
|
788
|
+
modes: ["blur"],
|
|
789
|
+
validate: (input) => !matchesRegex(NO_ALPHABET_REGEX, input),
|
|
790
|
+
errorMessage: "nameMustContainLetters"
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
modes: ["blur"],
|
|
794
|
+
validate: (input) => !matchesRegex(EMOJI_REGEX, input) && (isFeatureEnabled("EnableAllowTwoRepeatedCharactersInName") ? !hasMaximumTwoRepeatedCharacters(input) : !hasRepeatedCharacters(input)) && !isInvalidName(input) && matchesRegex(INDIVIDUAL_VALID_CHAR_REGEX, input),
|
|
795
|
+
errorMessage: "checkForTypos"
|
|
796
|
+
}
|
|
797
|
+
],
|
|
798
|
+
lastName: [
|
|
799
|
+
{
|
|
800
|
+
modes: ["blur"],
|
|
801
|
+
validate: (input) => !matchesRegex(NO_ALPHABET_REGEX, input),
|
|
802
|
+
errorMessage: "nameMustContainLetters"
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
modes: ["blur"],
|
|
806
|
+
validate: (input) => !matchesRegex(EMOJI_REGEX, input) && (isFeatureEnabled("EnableAllowTwoRepeatedCharactersInName") ? !hasMaximumTwoRepeatedCharacters(input) : !hasRepeatedCharacters(input)) && !isInvalidName(input) && matchesRegex(INDIVIDUAL_VALID_CHAR_REGEX, input),
|
|
807
|
+
errorMessage: "checkForTypos"
|
|
808
|
+
}
|
|
809
|
+
]
|
|
810
|
+
};
|
|
807
811
|
};
|
|
808
812
|
const isNotOutOfRangeBirthDateValidatorRule = {
|
|
809
813
|
modes: ["blur"],
|
|
@@ -869,7 +873,7 @@ const additionalPersonalDetailsValidators = ({
|
|
|
869
873
|
}
|
|
870
874
|
return baseValidators;
|
|
871
875
|
})(),
|
|
872
|
-
...isFeatureEnabled("StrictNameAndAddressValidationV4") ? nameValidationRulesV4 : void 0,
|
|
876
|
+
...isFeatureEnabled("StrictNameAndAddressValidationV4") ? nameValidationRulesV4(isFeatureEnabled) : void 0,
|
|
873
877
|
...contactDetailsValidationRules,
|
|
874
878
|
idNumber: (() => {
|
|
875
879
|
const derivedIdNumberType = country === CountryCodes.UnitedStates || country === CountryCodes.PuertoRico ? getSSNType(formVerificationErrors, existingIdNumber) : idNumberType;
|
|
@@ -950,7 +954,7 @@ const basicDetailsValidators = ({
|
|
|
950
954
|
country
|
|
951
955
|
}) => ({
|
|
952
956
|
...contactDetailsValidationRules,
|
|
953
|
-
...isFeatureEnabled("StrictNameAndAddressValidationV4") ? nameValidationRulesV4 : void 0,
|
|
957
|
+
...isFeatureEnabled("StrictNameAndAddressValidationV4") ? nameValidationRulesV4(isFeatureEnabled) : void 0,
|
|
954
958
|
...localizedNameValidationRulesV4(isFeatureEnabled, country)
|
|
955
959
|
});
|
|
956
960
|
const onfidoDocumentTypeMapping = [
|
|
@@ -1861,7 +1865,7 @@ const additionalIdentityInfoFields = [
|
|
|
1861
1865
|
"expiryDate"
|
|
1862
1866
|
];
|
|
1863
1867
|
const LazyJpAddress = lazy(
|
|
1864
|
-
async () => (await import("./JpAddress-
|
|
1868
|
+
async () => (await import("./JpAddress-BIgqDfQ0.js")).JpAddress
|
|
1865
1869
|
);
|
|
1866
1870
|
const additionalPersonalDetailsFields = [
|
|
1867
1871
|
"birthDate",
|
|
@@ -3420,20 +3424,18 @@ function IdVerificationMethod(props) {
|
|
|
3420
3424
|
onUpdate: handleUpdateExistingDocument
|
|
3421
3425
|
}
|
|
3422
3426
|
),
|
|
3423
|
-
disclaimer: (
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
individualT
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
"."
|
|
3436
|
-
] })
|
|
3427
|
+
disclaimer: !doesUserHaveExistingDocument && /* @__PURE__ */ jsx(
|
|
3428
|
+
Trans,
|
|
3429
|
+
{
|
|
3430
|
+
t: individualT,
|
|
3431
|
+
ns: "individual",
|
|
3432
|
+
i18nKey: ($) => showIndividualMotionCapture?.value ? $["byContinuingYouAcceptOnfidoPoliciesWithFacialScan"] : $["byContinuingYouAcceptOnfidoPolicies"],
|
|
3433
|
+
components: {
|
|
3434
|
+
facialScanLink: /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/facial-scan-policy-and-release/", external: true, inline: true }),
|
|
3435
|
+
privacyLink: /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/privacy/", external: true, inline: true }),
|
|
3436
|
+
termsLink: /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/terms-of-service/", external: true, inline: true })
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3437
3439
|
)
|
|
3438
3440
|
}
|
|
3439
3441
|
),
|
|
@@ -3489,13 +3491,22 @@ function IdVerificationMethod(props) {
|
|
|
3489
3491
|
) : void 0
|
|
3490
3492
|
] });
|
|
3491
3493
|
}
|
|
3494
|
+
const isPhoneNumberMobile = (phoneNumber) => {
|
|
3495
|
+
const phoneCountryCode = phoneNumber?.phoneCountryCode ? phoneNumber?.phoneCountryCode : void 0;
|
|
3496
|
+
const parsedPhoneNumber = parsePhoneNumber(phoneNumber.number, phoneCountryCode);
|
|
3497
|
+
return Boolean(
|
|
3498
|
+
parsedPhoneNumber && (parsedPhoneNumber.getType() === "MOBILE" || parsedPhoneNumber.getType() === "FIXED_LINE_OR_MOBILE")
|
|
3499
|
+
);
|
|
3500
|
+
};
|
|
3492
3501
|
const validateSenderNameNotEmpty = {
|
|
3493
3502
|
modes: ["blur"],
|
|
3494
3503
|
validate: (senderName) => !isEmpty(senderName),
|
|
3495
3504
|
errorMessage: "fieldIsRequired"
|
|
3496
3505
|
};
|
|
3497
|
-
const
|
|
3498
|
-
const
|
|
3506
|
+
const senderNameRules = (isFeatureEnabled = () => false) => {
|
|
3507
|
+
const v4NameRules = nameValidationRulesV4(isFeatureEnabled).firstName ?? [];
|
|
3508
|
+
return Array.isArray(v4NameRules) ? v4NameRules : [v4NameRules];
|
|
3509
|
+
};
|
|
3499
3510
|
const validateMessageNotEmpty = {
|
|
3500
3511
|
modes: ["blur"],
|
|
3501
3512
|
validate: (message) => !isEmpty(message),
|
|
@@ -3511,17 +3522,29 @@ const validateEmailFormat = {
|
|
|
3511
3522
|
validate: (email) => email ? emailPattern.test(email) : true,
|
|
3512
3523
|
errorMessage: "invalidEmail"
|
|
3513
3524
|
};
|
|
3514
|
-
const
|
|
3525
|
+
const validateMobilePhoneNumberNotEmpty = {
|
|
3515
3526
|
modes: ["blur"],
|
|
3516
|
-
validate: (phone) =>
|
|
3527
|
+
validate: (phone) => {
|
|
3528
|
+
if (phone?.number && phone?.phoneCountryCode) {
|
|
3529
|
+
const listOfPhonePrefixes = phonePrefixes;
|
|
3530
|
+
const prefix = listOfPhonePrefixes[phone?.phoneCountryCode];
|
|
3531
|
+
return Boolean(phone.number.replace(prefix, "").trim().length);
|
|
3532
|
+
}
|
|
3533
|
+
return false;
|
|
3534
|
+
},
|
|
3517
3535
|
errorMessage: "fieldIsRequired"
|
|
3518
3536
|
};
|
|
3519
|
-
const
|
|
3520
|
-
|
|
3537
|
+
const validateMobilePhoneNumber = {
|
|
3538
|
+
modes: ["blur"],
|
|
3539
|
+
validate: (phone) => Boolean(phone?.number && isPhoneNumberMobile(phone)),
|
|
3540
|
+
errorMessage: "invalidPhoneNumber"
|
|
3541
|
+
};
|
|
3542
|
+
const inviteDetailsValidators = (isFeatureEnabled = () => false) => ({
|
|
3543
|
+
senderName: [validateSenderNameNotEmpty, ...senderNameRules(isFeatureEnabled)],
|
|
3521
3544
|
message: [validateMessageNotEmpty],
|
|
3522
3545
|
email: [validateEmailNotEmpty, validateEmailFormat],
|
|
3523
|
-
phoneNumber: [
|
|
3524
|
-
};
|
|
3546
|
+
phoneNumber: [validateMobilePhoneNumberNotEmpty, validateMobilePhoneNumber]
|
|
3547
|
+
});
|
|
3525
3548
|
const inviteDetailsFields = [
|
|
3526
3549
|
"senderName",
|
|
3527
3550
|
"message",
|
|
@@ -3573,10 +3596,22 @@ function InviteDetails(props) {
|
|
|
3573
3596
|
useEffect(() => {
|
|
3574
3597
|
if (!handleFieldChange) return;
|
|
3575
3598
|
handleFieldChange("email", "input")(data?.email);
|
|
3576
|
-
|
|
3599
|
+
if (!data?.phoneNumber || !isPhoneNumberMobile(data.phoneNumber)) {
|
|
3600
|
+
handleFieldChange(
|
|
3601
|
+
"phoneNumber",
|
|
3602
|
+
"input"
|
|
3603
|
+
)({ number: "", phoneCountryCode: country, type: "mobile" });
|
|
3604
|
+
handleBasicDetailsChangeFor(
|
|
3605
|
+
"phoneNumber",
|
|
3606
|
+
"basicDetails",
|
|
3607
|
+
"input"
|
|
3608
|
+
)({ number: "", phoneCountryCode: country, type: "mobile" });
|
|
3609
|
+
} else {
|
|
3610
|
+
handleFieldChange("phoneNumber", "input")(data?.phoneNumber);
|
|
3611
|
+
}
|
|
3577
3612
|
}, []);
|
|
3578
3613
|
const emailValue = data?.email ?? basicDetails.email ?? "";
|
|
3579
|
-
const phoneValue = data?.phoneNumber ?? basicDetails
|
|
3614
|
+
const phoneValue = data?.phoneNumber ?? basicDetails?.phoneNumber;
|
|
3580
3615
|
if (!handleFieldChange) {
|
|
3581
3616
|
return null;
|
|
3582
3617
|
}
|
|
@@ -3616,7 +3651,7 @@ function InviteDetails(props) {
|
|
|
3616
3651
|
data: { phoneNumber: phoneValue },
|
|
3617
3652
|
valid: { phoneNumber: valid.phoneNumber ?? true },
|
|
3618
3653
|
errors: { phoneNumber: errors.phoneNumber?.errorMessage },
|
|
3619
|
-
|
|
3654
|
+
label: t(($) => $["mobileNumber"]),
|
|
3620
3655
|
placeholder: getPhonePlaceholder(country),
|
|
3621
3656
|
optional: false,
|
|
3622
3657
|
readonly: false,
|
|
@@ -4340,19 +4375,6 @@ function Individual(props) {
|
|
|
4340
4375
|
() => isInvitedEntity ? invitedEntityDetails?.roles : calculateRoles(data),
|
|
4341
4376
|
[data, invitedEntityDetails, isInvitedEntity]
|
|
4342
4377
|
);
|
|
4343
|
-
const basicDetailsReadOnlyFields = useMemo(() => {
|
|
4344
|
-
if (!isInvitedEntity) {
|
|
4345
|
-
return [];
|
|
4346
|
-
}
|
|
4347
|
-
const potentialFields = [
|
|
4348
|
-
"firstName",
|
|
4349
|
-
"lastName",
|
|
4350
|
-
"jobTitle",
|
|
4351
|
-
"email",
|
|
4352
|
-
"phoneNumber"
|
|
4353
|
-
];
|
|
4354
|
-
return potentialFields.filter((field) => !!data?.basicDetails?.[field]);
|
|
4355
|
-
}, [data?.basicDetails, isInvitedEntity]);
|
|
4356
4378
|
useEffect(() => {
|
|
4357
4379
|
const currentRoles = data?.basicDetails?.role ?? [];
|
|
4358
4380
|
if (areArraysDifferent(newRoles, currentRoles)) {
|
|
@@ -4421,8 +4443,7 @@ function Individual(props) {
|
|
|
4421
4443
|
errors: errors?.basicDetails,
|
|
4422
4444
|
fieldValidationErrors: fieldValidationErrors?.basicDetails,
|
|
4423
4445
|
valid: valid?.basicDetails,
|
|
4424
|
-
handleFieldChange: handleFieldChange("basicDetails")
|
|
4425
|
-
readOnlyFields: basicDetailsReadOnlyFields
|
|
4446
|
+
handleFieldChange: handleFieldChange("basicDetails")
|
|
4426
4447
|
}
|
|
4427
4448
|
);
|
|
4428
4449
|
case idVerificationMethodFormID:
|
|
@@ -5036,7 +5057,7 @@ function IndividualDropin({
|
|
|
5036
5057
|
t,
|
|
5037
5058
|
taxIdNumberType: data2?.additionalPersonalDetails?.taxInformation?.length ? data2?.additionalPersonalDetails?.taxInformation[0]?.type : void 0
|
|
5038
5059
|
}),
|
|
5039
|
-
inviteDetails: inviteDetailsValidators
|
|
5060
|
+
inviteDetails: inviteDetailsValidators(isFeatureEnabled)
|
|
5040
5061
|
}),
|
|
5041
5062
|
[
|
|
5042
5063
|
country,
|
|
@@ -5145,6 +5166,28 @@ function IndividualDropin({
|
|
|
5145
5166
|
legalEntityTrustedFields: [],
|
|
5146
5167
|
remediationFieldAsOptional: true
|
|
5147
5168
|
});
|
|
5169
|
+
if (isInvitedEntity && derivedProps2 && dataFromResponse?.basicDetails) {
|
|
5170
|
+
const basicDetailsData = dataFromResponse.basicDetails;
|
|
5171
|
+
const potentialFields = ["jobTitle", "email", "phoneNumber"];
|
|
5172
|
+
const hiddenFields = new Set(
|
|
5173
|
+
potentialFields.filter((field) => Boolean(basicDetailsData[field]))
|
|
5174
|
+
);
|
|
5175
|
+
if (hiddenFields.size > 0) {
|
|
5176
|
+
const filterFields = (fields) => fields?.filter(
|
|
5177
|
+
(field) => !hiddenFields.has(field)
|
|
5178
|
+
);
|
|
5179
|
+
if (derivedProps2.requiredFields?.basicDetails) {
|
|
5180
|
+
derivedProps2.requiredFields.basicDetails = filterFields(
|
|
5181
|
+
derivedProps2.requiredFields.basicDetails
|
|
5182
|
+
);
|
|
5183
|
+
}
|
|
5184
|
+
if (derivedProps2.optionalFields?.basicDetails) {
|
|
5185
|
+
derivedProps2.optionalFields.basicDetails = filterFields(
|
|
5186
|
+
derivedProps2.optionalFields.basicDetails
|
|
5187
|
+
);
|
|
5188
|
+
}
|
|
5189
|
+
}
|
|
5190
|
+
}
|
|
5148
5191
|
const updatedDerivedProps = mandateIdVerificationForMotionCapture(
|
|
5149
5192
|
showIndividualMotionCapture?.value,
|
|
5150
5193
|
derivedProps2
|
|
@@ -5157,7 +5200,9 @@ function IndividualDropin({
|
|
|
5157
5200
|
legalEntityResponse,
|
|
5158
5201
|
fieldsFromCustomRules,
|
|
5159
5202
|
problems?.remediationActions,
|
|
5160
|
-
problems?.missingData
|
|
5203
|
+
problems?.missingData,
|
|
5204
|
+
isInvitedEntity,
|
|
5205
|
+
dataFromResponse?.basicDetails
|
|
5161
5206
|
]);
|
|
5162
5207
|
useEffect(() => {
|
|
5163
5208
|
if (!legalEntityResponse?.documentDetails?.length) return;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { a as InputBase } from "./InputText-
|
|
12
|
+
import { a as InputBase } from "./InputText-CywP4Ojh.js";
|
|
13
13
|
const checkDateInputSupport = () => {
|
|
14
14
|
const input = document.createElement("input");
|
|
15
15
|
input.setAttribute("type", "date");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "acc754de-724f-4ff0-9501-03af9ec9ab16", e._sentryDebugIdIdentifier = "sentry-dbid-acc754de-724f-4ff0-9501-03af9ec9ab16");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -11,7 +11,7 @@ import { jsx } from "preact/jsx-runtime";
|
|
|
11
11
|
import { forwardRef } from "preact/compat";
|
|
12
12
|
import { useRef, useState, useCallback, useLayoutEffect } from "preact/hooks";
|
|
13
13
|
import cx from "classnames";
|
|
14
|
-
import { x as useAnalyticsContext } from "./StoreProvider-
|
|
14
|
+
import { x as useAnalyticsContext } from "./StoreProvider-C4og8Y8I.js";
|
|
15
15
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
16
16
|
const InputBase = forwardRef((props, ref) => {
|
|
17
17
|
const userEvents = useAnalyticsContext();
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { w as TaskTypes, L as LegalEntityTypes, u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, R as ROOT_LE, x as useAnalyticsContext, V as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { w as TaskTypes, L as LegalEntityTypes, u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, R as ROOT_LE, x as useAnalyticsContext, V as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C4og8Y8I.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
13
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-DiB-t9hK.js";
|
|
14
14
|
import { useMemo } from "preact/compat";
|
|
15
|
-
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
15
|
+
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-CK5KIhNx.js";
|
|
16
16
|
const IntroductionScreens = {
|
|
17
17
|
PROLOGUE: "PROLOGUE",
|
|
18
18
|
INDIVIDUAL: TaskTypes.INDIVIDUAL,
|
package/dist/{InvitedDecisionMakerComponent-CHrA8mQR.js → InvitedDecisionMakerComponent-CV8OExOI.js}
RENAMED
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "91d46fb3-2dcb-4f87-b2d7-73e144ba5111", e._sentryDebugIdIdentifier = "sentry-dbid-91d46fb3-2dcb-4f87-b2d7-73e144ba5111");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, k as httpGet, u as useTranslation, V as Button, Y as TASK_STATUS_POLLING_INTERVAL_MS, y as TaskStatuses, U as Loader, G as TaskVerificationStatus, ai as noop, w as TaskTypes, a as addResourceBundles, P as useLegalEntity, a8 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, k as httpGet, u as useTranslation, V as Button, Y as TASK_STATUS_POLLING_INTERVAL_MS, y as TaskStatuses, O as StackLayout, U as Loader, N as Typography, G as TaskVerificationStatus, ai as noop, w as TaskTypes, a as addResourceBundles, P as useLegalEntity, a8 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C4og8Y8I.js";
|
|
11
11
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
13
|
import { useQuery } from "@tanstack/preact-query";
|
|
14
|
-
import { a as getIndividualLegalEntityName } from "./getName-
|
|
14
|
+
import { a as getIndividualLegalEntityName } from "./getName-D3Sba-PI.js";
|
|
15
15
|
import { lazy } from "preact/compat";
|
|
16
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
17
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
16
|
+
import { I as Image } from "./unincorporated-partnership-uA1X2l53.js";
|
|
17
|
+
import { L as LandingLayout } from "./LandingLayout-DEgZw1-N.js";
|
|
18
18
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
19
|
-
import { L as ListItem } from "./ListItem-
|
|
20
|
-
import { g as getLandingLayoutProps, a as getDecisionMakerDescription, D as DecisionMakerDetails } from "./DecisionMakerDetails-
|
|
21
|
-
import { u as useTaskStatus } from "./getTrustedFields-
|
|
22
|
-
import { I as IndividualDropin } from "./IndividualDropin-
|
|
19
|
+
import { L as ListItem } from "./ListItem-CNuX4D7n.js";
|
|
20
|
+
import { g as getLandingLayoutProps, a as getDecisionMakerDescription, D as DecisionMakerDetails } from "./DecisionMakerDetails-D-POvfJr.js";
|
|
21
|
+
import { u as useTaskStatus } from "./getTrustedFields-DUXTMWcg.js";
|
|
22
|
+
import { I as IndividualDropin } from "./IndividualDropin-eiRXQvS_.js";
|
|
23
23
|
const getInvitedEntityAssociationData = async (invitedLegalEntityId, baseUrl) => {
|
|
24
24
|
return httpGet({
|
|
25
25
|
baseUrl,
|
|
@@ -101,7 +101,11 @@ const InvitedDecisionMakerSubmitSuccess = ({
|
|
|
101
101
|
[decisionMaker, decisionMakerStatus]
|
|
102
102
|
);
|
|
103
103
|
if (isLoading) {
|
|
104
|
-
return /* @__PURE__ */ jsx("div", { className: styles.invitedDecisionMakersContainer, children: /* @__PURE__ */
|
|
104
|
+
return /* @__PURE__ */ jsx("div", { className: styles.invitedDecisionMakersContainer, children: /* @__PURE__ */ jsxs(StackLayout, { align: "center", gap: "xSmall", children: [
|
|
105
|
+
/* @__PURE__ */ jsx(Loader, { shortMessage: "", longMessage: "" }),
|
|
106
|
+
/* @__PURE__ */ jsx(Typography, { variant: "title-l", el: "h1", children: t(($) => $["verifyingYourDetails"]) }),
|
|
107
|
+
/* @__PURE__ */ jsx(Typography, { variant: "body", el: "p", color: "secondary", children: t(($) => $["thisUsuallyTakesAbout15Seconds"]) })
|
|
108
|
+
] }) });
|
|
105
109
|
}
|
|
106
110
|
return /* @__PURE__ */ jsxs("div", { className: styles.invitedDecisionMakersContainer, children: [
|
|
107
111
|
/* @__PURE__ */ jsx(
|
|
@@ -141,9 +145,9 @@ function InvitedDecisionMakerComponent({
|
|
|
141
145
|
}
|
|
142
146
|
const { i18n } = useTranslation();
|
|
143
147
|
addResourceBundles(i18n, [
|
|
144
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
148
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-dmpv4Zom.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-6rOIfRJu.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-C_GqHCay.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BmWBo3gX.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Fo7-xCrc.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-C4og8Y8I.js").then((n) => n.bS), "../../../language/locales/es-ES.json": () => import("./es-ES-BkqlH093.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-H8yxvhQj.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BfwJVwi9.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CzjsW73Q.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-ZrpQrsik.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-Ds3go4h4.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Dx15tkIe.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-Qu7oEIEy.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BebOeKIA.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CYcrO-6d.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-FbJ2sHba.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B5BjEy8n.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DuM6hbqZ.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKKQIUJP.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CC7zlk3R.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-CuabgXj1.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-DM1yY8DA.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI--pDTatHh.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CDxyyNV0.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
145
149
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
146
|
-
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../../Individual/language/en-US.json": () => import("./en-US-
|
|
150
|
+
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../../Individual/language/en-US.json": () => import("./en-US-qlQTJNiL.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-BZiC4JWr.js"), "../../Individual/language/et-EE.json": () => import("./et-EE-D_NmrrzQ.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-CEH4BfU3.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-NxOktkWc.js"), "../../Individual/language/hr-HR.json": () => import("./hr-HR-D_MUIhtx.js"), "../../Individual/language/hu-HU.json": () => import("./hu-HU-LxStrFGU.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-OppZz3gW.js"), "../../Individual/language/ja-JP.json": () => import("./ja-JP-CethQRoG.js"), "../../Individual/language/lt-LT.json": () => import("./lt-LT-CBTFJxth.js"), "../../Individual/language/lv-LV.json": () => import("./lv-LV-DTaBIHLh.js"), "../../Individual/language/nl-NL.json": () => import("./nl-NL-CYFznuWn.js"), "../../Individual/language/no-NO.json": () => import("./no-NO-BsEie1We.js"), "../../Individual/language/pl-PL.json": () => import("./pl-PL-BH_LPZJa.js"), "../../Individual/language/pt-BR.json": () => import("./pt-BR-C-YbDjn-.js"), "../../Individual/language/pt-PT.json": () => import("./pt-PT-BTbVsews.js"), "../../Individual/language/ro-RO.json": () => import("./ro-RO-C5PJhlmM.js"), "../../Individual/language/sk-SK.json": () => import("./sk-SK-DO-AqRjE.js"), "../../Individual/language/sl-SI.json": () => import("./sl-SI-CJH14wbj.js"), "../../Individual/language/sv-SE.json": () => import("./sv-SE-ZsucW_Uj.js") }), `../../Individual/language/${lang}.json`, 5) }
|
|
147
151
|
]);
|
|
148
152
|
const [step, setStep] = useState("landingStep");
|
|
149
153
|
const { data: invitedIndividualLe } = useLegalEntity(invitedIndividualId);
|
|
@@ -190,7 +194,8 @@ function InvitedDecisionMakerComponent({
|
|
|
190
194
|
legalEntityResponse: invitedIndividualLe,
|
|
191
195
|
problems: void 0,
|
|
192
196
|
country,
|
|
193
|
-
|
|
197
|
+
asModal: true,
|
|
198
|
+
handleHomeClick: () => setStep("landingStep"),
|
|
194
199
|
isInvitedEntity: true,
|
|
195
200
|
invitedEntityDetails,
|
|
196
201
|
onSubmit: handleSubmitSuccess
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3c098680-6efe-492b-b94c-b0127526c9dc", e._sentryDebugIdIdentifier = "sentry-dbid-3c098680-6efe-492b-b94c-b0127526c9dc");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
12
|
import { useQuery } from "@tanstack/preact-query";
|
|
13
|
-
import { b as useApiContext, k as httpGet, ai as noop, u as useTranslation, H as useToggleContext, x as useAnalyticsContext, a9 as CountryCodes, N as Typography, O as StackLayout, ae as createLogger } from "./StoreProvider-
|
|
14
|
-
import { F as Field } from "./Field
|
|
13
|
+
import { b as useApiContext, k as httpGet, ai as noop, u as useTranslation, H as useToggleContext, x as useAnalyticsContext, a9 as CountryCodes, N as Typography, O as StackLayout, ae as createLogger } from "./StoreProvider-C4og8Y8I.js";
|
|
14
|
+
import { F as Field } from "./Field--T3FQepj.js";
|
|
15
15
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { u as useForm } from "./useForm-
|
|
18
|
-
import { I as InputText } from "./InputText-
|
|
19
|
-
import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-
|
|
17
|
+
import { u as useForm } from "./useForm-Y4-kimHb.js";
|
|
18
|
+
import { I as InputText } from "./InputText-CywP4Ojh.js";
|
|
19
|
+
import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-BNceotwn.js";
|
|
20
20
|
import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-DEOyz9Yo.js";
|
|
21
|
-
import { h as addressValidationRulesV4, j as addressValidationRules } from "./Address-
|
|
21
|
+
import { h as addressValidationRulesV4, j as addressValidationRules } from "./Address-TGZeMCUA.js";
|
|
22
22
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
23
|
-
import { c as convertFullToHalf } from "./TextArea-
|
|
24
|
-
import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
23
|
+
import { c as convertFullToHalf } from "./TextArea-Bu9ppy0I.js";
|
|
24
|
+
import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-D5xnQLSI.js";
|
|
25
25
|
const retrieveFromPostcodeJp = async (legalEntityId, baseUrl, postalCode) => httpGet({
|
|
26
26
|
baseUrl,
|
|
27
27
|
path: `legalEntities/${legalEntityId}/addresses/jp/${postalCode}`
|
|
@@ -56,7 +56,7 @@ const JpAddress = ({
|
|
|
56
56
|
const form = useForm({
|
|
57
57
|
schema: JP_ADDRESS_REQUIRED_FIELDS,
|
|
58
58
|
defaultData: dataProp,
|
|
59
|
-
rules: isFeatureEnabled("StrictNameAndAddressValidationV4") ? addressValidationRulesV4(CountryCodes.Japan, t) : addressValidationRules(CountryCodes.Japan),
|
|
59
|
+
rules: isFeatureEnabled("StrictNameAndAddressValidationV4") ? addressValidationRulesV4(CountryCodes.Japan, t, isFeatureEnabled) : addressValidationRules(CountryCodes.Japan),
|
|
60
60
|
fieldProblems: propFieldValidationErrors
|
|
61
61
|
});
|
|
62
62
|
let {
|