@adyen/kyc-components 3.92.0 → 3.93.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-T7eWi57Z.js → AcceptTermsOfServiceComponent-Buq7KhTD.js} +17 -16
- package/dist/{Accordion-Boa_Vira.js → Accordion-CQJsB047.js} +2 -2
- package/dist/{AccountSetupRejected-LAVhMMBt.js → AccountSetupRejected-CXB9ruhx.js} +3 -3
- package/dist/{ActionBar-CK8dwgSJ.js → ActionBar-CZdOQgrq.js} +1 -1
- package/dist/{Address-ki-bCjUJ.js → Address-BH-9nOhf.js} +15 -15
- package/dist/{Alert-TCEgDc2-.js → Alert-nt51RHp0.js} +3 -3
- package/dist/{Avatar-AC-D1DKh.js → Avatar-BYA9-tAU.js} +2 -2
- package/dist/{BusinessFinancingComponent-Cf-EEnyR.js → BusinessFinancingComponent-6XmNTQJ8.js} +5 -5
- package/dist/{BusinessFinancingDropin-DeLlYaOF.js → BusinessFinancingDropin-DKCRX68z.js} +29 -28
- package/dist/{BusinessFinancingPage-DtX8x3Zp.js → BusinessFinancingPage-Cgj15Ciy.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-6Ltt53Mu.js → BusinessTypeSelectionPage-D_uR7q4b.js} +9 -9
- package/dist/Card-OQuFzmxm.js +90 -0
- package/dist/{Checkbox-D8rB6_HN.js → Checkbox-BhBfKGXZ.js} +2 -2
- package/dist/{Confirm-Ctfqp-1b.js → Confirm-BvI4TRhB.js} +3 -3
- package/dist/{ConstitutionalDocument-TJAc9nDQ.js → ConstitutionalDocument-BVq6cfO_.js} +18 -18
- package/dist/{validate-D4iK6FUk.js → ContactDetails-Q4ruEvtG.js} +21 -20
- package/dist/{ContextGuidance-CCknw_Y1.js → ContextGuidance-BWwkhVRY.js} +3 -3
- package/dist/{CountryField-DzmOWqiE.js → CountryField-BMeHXA1Y.js} +4 -4
- package/dist/{CreateIndividualComponent-_H34wdze.js → CreateIndividualComponent-CV0pAOGO.js} +6 -12
- package/dist/{CreateTransferInstrumentComponent-CmnVEFaB.js → CreateTransferInstrumentComponent-C_4TOiUc.js} +4 -4
- package/dist/{Currency-C2egEHMF.js → Currency-CTOdQADz.js} +11 -8
- package/dist/{CustomerSupport-DLfbNC-J.js → CustomerSupport-BkncmNrO.js} +12 -11
- package/dist/{DebugModal-C0uG_A8N.js → DebugModal-CKTBzU9n.js} +12 -10
- package/dist/{DecisionMakerDetailsPage-BTR-hRwO.js → DecisionMakerDetailsPage-DWOfH3Rd.js} +12 -18
- package/dist/{DecisionMakers-B4qQ3M6Y.js → DecisionMakers-DO9H2RKp.js} +21 -22
- package/dist/{Dropzone-CKT3THCY.js → Dropzone-D5H8EP9o.js} +16 -10
- package/dist/{EmbeddedStatus-Bst5MPzi.js → EmbeddedStatus-CAKSQhzL.js} +3 -3
- package/dist/{EndStateLayout-Ck_Lvgng.js → EndStateLayout-CUH3FaFg.js} +2 -2
- package/dist/EntityAssociation-7KUt_1ls.js +166 -0
- package/dist/{EntityGuidanceStatus-D6VoRE_0.js → EntityGuidanceStatus-CnO3ytFK.js} +3 -3
- package/dist/{ErrorPanel-CFN2G9Vz.js → ErrorPanel-zzwLSMr8.js} +3 -3
- package/dist/{Field-B3Vy1-QZ.js → Field-CFSOFrva.js} +2 -3
- package/dist/{FormNavigation-Brw-75s0.js → FormNavigation-LQGPWkxa.js} +3 -3
- package/dist/{FormWrapper-BcNyCMkD.js → FormWrapper-eTW4pltc.js} +9 -9
- package/dist/{Header-YafgG5Nz.js → Header-D8rzzaLK.js} +2 -2
- package/dist/{Image-Cvb4hnru.js → Image-BBzd5NHs.js} +4 -9
- package/dist/{rules-B_6RrE9T.js → Individual.rules-BOGCCGNh.js} +165 -117
- package/dist/{IndividualOnfidoDropin-Dy5obHs1.js → IndividualDropin-DvOuy5j7.js} +1188 -3959
- package/dist/{InputDate-UCHQ3zOB.js → InputDate-D5zl6PuF.js} +1 -1
- package/dist/{InputText-DGKAS6ZI.js → InputText-hrrhB_mb.js} +2 -2
- package/dist/{Introduction-DOxSVZ6X.js → Introduction-myK-bZg7.js} +4 -4
- package/dist/{JpAddress-DClXaVjy.js → JpAddress-kp2XoCed.js} +11 -10
- package/dist/{LandingLayout-co7NR2te.js → LandingLayout-D3Osmd8h.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-DOP3L2r9.js → LegalRepresentativeDetailsPage-B5mw64-r.js} +6 -11
- package/dist/{Link-DWTJ55UO.js → Link-B-nyHrIK.js} +2 -2
- package/dist/{ListItem-B8D-kUHN.js → ListItem-DWh-ks-C.js} +3 -3
- package/dist/{LoaderWrapper-CUz5NRFr.js → LoaderWrapper-Ca2QXmgL.js} +1 -1
- package/dist/ManageIndividualComponent-BxFTfhRR.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-ylDupO1E.js → ManageTermsOfServiceComponent-B0DBI2-3.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-CgUfGP5E.js → ManageTransferInstrumentComponent-CRpHFsct.js} +15 -14
- package/dist/{MaskedInput-Cn0VAuEp.js → MaskedInput-CMfF2qDE.js} +17 -9
- package/dist/{MaybeModal-CWCEHeOg.js → MaybeModal-CmMIVSCN.js} +2 -2
- package/dist/{Modal-pyBUluei.js → Modal-BtaTcf8k.js} +5 -5
- package/dist/{makeSelectItemForRole-Bm2NwBxD.js → Name-BrkJY4fl.js} +5 -57
- package/dist/{OnboardingDropinComponent-DwKImil4.js → OnboardingDropinComponent-Cgq8_EmZ.js} +156 -125
- package/dist/{PayoutDetailsDropin-lYVb5WCQ.js → PayoutDetailsDropin-ZOP5Twqh.js} +99 -91
- package/dist/{RadioGroup-DPc8nUuk.js → RadioGroup-BjxW-u_I.js} +7 -5
- package/dist/{RadioGroupCard-Pj9qq4uW.js → RadioGroupCard-gMCDFGy5.js} +5 -3
- package/dist/{Review-gkTjl3a8.js → Review-DW5WXpeV.js} +8 -7
- package/dist/{RootBusinessDetailsPage-DjwEzuLA.js → RootBusinessDetailsPage-BLRHGS8L.js} +9 -8
- package/dist/{RootBusinessLinesPage-2-U3mf6i.js → RootBusinessLinesPage-DNz7PL-E.js} +82 -55
- package/dist/{RootIndividualDetailsPage-BFYP63_i.js → RootIndividualDetailsPage-CeSyobCX.js} +8 -18
- package/dist/{Select-D1rFT3T8.js → Select-mtnGa2J4.js} +16 -8
- package/dist/{SignPCIComponent-DqElmjjG.js → SignPCIComponent-CFuZIJYW.js} +13 -12
- package/dist/{SingpassSelection-eruroIiQ.js → SingpassSelection-Dz3NwGSH.js} +6 -6
- package/dist/{SoleProprietorshipPage-7YdzA7iH.js → SoleProprietorshipPage-BvzmS8U1.js} +5 -4
- package/dist/{SourceOfFundsPage-C_wiSoc4.js → SourceOfFundsPage-1iNBjH8M.js} +195 -431
- package/dist/{StepProgressIndicator-DLoEzGro.js → StepProgressIndicator--oMS6Uow.js} +2 -2
- package/dist/{StoreProvider-D9IR5HNN.js → StoreProvider-vgnrcSAw.js} +170 -3243
- package/dist/{Summary-Bq94iVfc.js → Summary-CBSjGJoE.js} +6 -6
- package/dist/{TaskVerificationStatus-BLCkXEn6.js → TaskVerificationStatus-DkNGwrno.js} +2 -2
- package/dist/{TaxInformationField-c-ZWfhUk.js → TaxInformationField-DwRIoww-.js} +1469 -1475
- package/dist/{TaxReportingDropin-ajO0q4eZ.js → TaxReportingDropin-3pX8NNPm.js} +35 -37
- package/dist/{TextArea-D9eJloeE.js → TextArea-CNhvOqP6.js} +2 -2
- package/dist/{TileGroup-CaY3i_T7.js → TileGroup-q1gICKZz.js} +4 -4
- package/dist/{TrustDetailsPage-BWXZX4-u.js → TrustDetailsPage-BncAWI5o.js} +41 -35
- package/dist/{TrustMemberCompanyPage-CJj2BpXu.js → TrustMemberCompanyPage-BqIeBSQq.js} +6 -5
- package/dist/{TrustMemberIndividualPage-BXp9RXDw.js → TrustMemberIndividualPage-C4d6pd6-.js} +6 -11
- package/dist/{TrustMemberRoleAndTypePage-gYJ5U6RH.js → TrustMemberRoleAndTypePage-zsAZbFwn.js} +78 -22
- package/dist/{TrustMembersOverview-Chmnt5jS.js → TrustMembersOverview-X0pcSgdy.js} +12 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-DckUiPPY.js → UnincorporatedPartnershipIndividualPage-467S3yPB.js} +6 -11
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-Bx0A5Bit.js → UnincorporatedPartnershipMemberCompanyPage-Baj7R8Tg.js} +6 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CEE1hzIn.js → UnincorporatedPartnershipMemberRoleAndTypePage-DCfKaaTd.js} +12 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-wB8K9r6g.js → UnincorporatedPartnershipMembersOverview-D1p0ScaF.js} +9 -9
- package/dist/{VerificationErrorAlert-DZ5OOTBN.js → VerificationErrorAlert-D7xwcjFl.js} +5 -4
- package/dist/{ViewVerificationStatusComponent-BVY4YUJf.js → ViewVerificationStatusComponent-hVUVjklu.js} +5 -4
- package/dist/adyen-business-financing.js +6 -3
- package/dist/adyen-individual-configuration.js +6 -3
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +19 -19
- package/dist/adyen-onboarding.js +6 -3
- package/dist/adyen-terms-of-service-management.js +6 -3
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +6 -3
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +6 -3
- package/dist/{bafinUtils-Wct4TWLH.js → bafinUtils-700RSSlu.js} +19 -69
- package/dist/{bg-BG-DVjwfSz4.js → bg-BG-BMe54km9.js} +2 -2
- package/dist/{commonValidators-DcFd5CHs.js → commonValidators-COPWirxa.js} +2 -2
- package/dist/{cs-CZ-CLY9qYTs.js → cs-CZ-BwiHrdav.js} +2 -2
- package/dist/{da-DK-uHPPFvD-.js → da-DK-D3nwkjjZ.js} +2 -2
- package/dist/{de-DE-SMf6w4NJ.js → de-DE-ZU2Hsp38.js} +2 -2
- package/dist/{dropinUtils-BpJn607e.js → dropinUtils-xCwSNqDi.js} +4 -4
- package/dist/{el-GR-wv99Y9Yf.js → el-GR-DbOICeSZ.js} +2 -2
- package/dist/{es-ES-BqpvBqmR.js → es-ES-diRragkx.js} +2 -2
- package/dist/{et-EE-CAuCY0qn.js → et-EE--PzlaQkR.js} +2 -2
- package/dist/{fi-FI-DPegZzTc.js → fi-FI-D0_0MXLR.js} +2 -2
- package/dist/{fieldConfig-BPwb1GHc.js → fieldConfig-DmWj87_U.js} +6 -6
- package/dist/{formUtils-BlVlgetw.js → formUtils-Cnn0nZ-O.js} +3 -3
- package/dist/{fr-FR-BPGwsLDa.js → fr-FR-CbjzHhqH.js} +2 -2
- package/dist/{getName-CzpJ9tV7.js → getName-C3jZm89K.js} +2 -2
- package/dist/{hr-HR-DdqNL1pQ.js → hr-HR-CDuWrX1x.js} +2 -2
- package/dist/{hu-HU-C1LJENXO.js → hu-HU-CXB62KSV.js} +2 -2
- package/dist/{iframeWidget-D6BlBF0m.js → iframeWidget-CZCFDph2.js} +4 -4
- package/dist/{isEmpty-CsYVgjoD.js → isEmpty-BpnAsZh6.js} +2 -2
- package/dist/{it-IT-B1eJg9RL.js → it-IT-BbW5PMj0.js} +2 -2
- package/dist/ja-JP-D8-geaup.js +13 -0
- package/dist/{japanSupportUtils-iATUjnbf.js → japanSupportUtils-BuOCwXLE.js} +3 -3
- package/dist/{localizeDateString-BHDr1NID.js → localizeDateString-C2LVYpKZ.js} +2 -2
- package/dist/{lt-LT-BmRnIfWs.js → lt-LT-BCusE8Fe.js} +2 -2
- package/dist/{lv-LV-CX9j9Dtv.js → lv-LV-D_D39wup.js} +2 -2
- package/dist/{mapExistingFile-DNBa6Ekj.js → mapExistingFile-CGoXl7yp.js} +4 -4
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BNb8d51F.js → mapJpAddressSchemaToAddressLocalizations-BFMxYlXI.js} +38 -38
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-DREgz5Ms.js → mapLegalEntityToIndividualSchema-DrKgzU_Y.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-C5NqOfNW.js → mapTransferInstrumentToPayoutAccount-CsT5-HBr.js} +3 -2
- package/dist/{nl-NL-cVVIDG7s.js → nl-NL-Z2ifhzHq.js} +2 -2
- package/dist/{no-NO-C_tmZ39d.js → no-NO-D09wFbmU.js} +2 -2
- package/dist/{patternValidators-BXduwLbz.js → patternValidators-BJotfOWg.js} +2 -2
- package/dist/{pl-PL-DFZFSKZX.js → pl-PL-uU0uFIWi.js} +2 -2
- package/dist/{process-field-configurations-B26ehyAw.js → process-field-configurations-BUA_wMne.js} +4 -4
- package/dist/{pt-BR-CMiGlY3k.js → pt-BR-DzLl_fGR.js} +2 -2
- package/dist/{pt-PT-DmdQxN_1.js → pt-PT-Czix42gf.js} +2 -2
- package/dist/{resolveEnvironment-B5Yrsa4J.js → resolveEnvironment-BRmolzzU.js} +3 -3
- package/dist/{ro-RO-B0slmyWK.js → ro-RO-BmHGZmbO.js} +2 -2
- package/dist/{roleMetadata-DmgqzhZJ.js → roleMetadata-B7zyhzlj.js} +2 -2
- package/dist/{sk-SK-BptPuon4.js → sk-SK-hx3DmG_3.js} +2 -2
- package/dist/{sl-SI-C3nGkfNb.js → sl-SI-D06jZL__.js} +2 -2
- package/dist/style.css +266 -290
- package/dist/styles-CLV89_hH.js +266 -290
- package/dist/{sv-SE-CXn28ybc.js → sv-SE-eJgjc6iG.js} +2 -2
- package/dist/types/api/address/useAddressCleanse.d.ts +1 -1
- package/dist/types/api/address/useRetrieveAddress.d.ts +1 -1
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +1 -1
- package/dist/types/api/address/useSearchAddress.d.ts +1 -2
- package/dist/types/api/businessLines/useBusinessLines.d.ts +2 -2
- package/dist/types/api/businessLines/useCreateBusinessLine.d.ts +1 -1
- package/dist/types/api/businessLines/useDeleteBusinessLine.d.ts +1 -1
- package/dist/types/api/businessLines/useUpdateBusinessLines.d.ts +1 -1
- package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +1 -1
- package/dist/types/api/check/useCheck.d.ts +1 -2
- package/dist/types/api/companyDataSet/useClearCompanyData.d.ts +1 -1
- package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -2
- package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
- package/dist/types/api/configurations/useScenarios.d.ts +2 -160
- package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
- package/dist/types/api/configurations/useTaskTypes.d.ts +1 -1
- package/dist/types/api/configurations/useVersionConfiguration.d.ts +1 -1
- package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +1 -1
- package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
- package/dist/types/api/datasets/useNaceCodes.d.ts +1 -1
- package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +1 -1
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +1 -3
- package/dist/types/api/documents/useCreateDocument.d.ts +1 -1
- package/dist/types/api/documents/useDeleteDocument.d.ts +1 -1
- package/dist/types/api/documents/useDocument.d.ts +1 -1
- package/dist/types/api/documents/useDocuments.d.ts +1 -1
- package/dist/types/api/documents/useUpdateDocument.d.ts +1 -1
- package/dist/types/api/entityVerifications/useVerifyIdNumber.d.ts +1 -1
- package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +3 -4
- package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +1 -1
- package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +1 -1
- package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +2 -2
- package/dist/types/api/industryCodes/useIndustryCodes.d.ts +1 -2
- package/dist/types/api/legalEntity/useConfirmReview.d.ts +1 -1
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +8 -389
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +1 -1
- package/dist/types/api/onboardingStatus/useGenerateOnboardingLink.d.ts +1 -1
- package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
- package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -2
- package/dist/types/api/pci/usePciQuestionnaireList.d.ts +1 -1
- package/dist/types/api/pci/usePciStatus.d.ts +1 -1
- package/dist/types/api/pci/usePciTemplate.d.ts +1 -1
- package/dist/types/api/pci/useSignPci.d.ts +1 -1
- package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +1 -1
- package/dist/types/api/queryKeys.d.ts +1 -1
- package/dist/types/api/taskStatus/useTaskStatus.d.ts +1 -1
- package/dist/types/api/taxClassification/useTaxClassification.d.ts +1 -1
- package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +1 -2
- package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +1 -7
- package/dist/types/api/termsOfService/useTermsOfService.d.ts +1 -1
- package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
- package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +1 -1
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +1 -1
- package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -1
- package/dist/types/api/transferInstruments/useCreateTrustedTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useDeleteTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useHandleBankVerificationError.d.ts +1 -1
- package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +2 -2
- package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -1
- package/dist/types/api/transferInstruments/useUpdateTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useUpdateTrustedTransferInstrument.d.ts +1 -1
- package/dist/types/api/types.d.ts +1 -1
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +1 -1
- package/dist/types/api/uiAnalytics/usePushAnalyticEvent.d.ts +1 -1
- package/dist/types/api/validation/useValidateAccountIdentification.d.ts +1 -2
- package/dist/types/api/validation/useValidatePhoneNumber.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +1 -2
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +0 -2
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +2 -1
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +3 -3
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -1
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +8 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +0 -1
- package/dist/types/components/Business/utils/companyUtil.d.ts +0 -9
- package/dist/types/components/BusinessLines/constants.d.ts +2 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLineModal/BusinessLineModal.d.ts +2 -1
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +4 -2
- package/dist/types/components/BusinessLines/tasks/validate.d.ts +0 -2
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +20 -21
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +5 -2
- package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -1
- package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +4 -3
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +29 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/Identity.types.d.ts +3 -3
- package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/TypeOfIdentity/index.d.ts +2 -2
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/Identity/validate.d.ts +4 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/validate.d.ts +8 -8
- package/dist/types/components/Individual/forms/BasicDetails/BasicDetails.types.d.ts +22 -0
- package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +9 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/DataConflictsModal → DataConflictsModal}/ConflictRow.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/DataConflictsModal → DataConflictsModal}/DataConflictsModal.d.ts +1 -1
- package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/types.d.ts +5 -15
- package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/utils.d.ts +1 -1
- package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +18 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/IdVerificationMethod.types.d.ts +3 -3
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/OnfidoVerificationModal/OnfidoVerificationModal.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/UploadedDocument/UploadedDocument.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/individualOnfidoConflictsSchema.d.ts +5 -5
- package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts +4 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/validateExtractionResult.d.ts +3 -3
- package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.d.ts → Individual.d.ts} +6 -2
- package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.rules.d.ts → Individual.rules.d.ts} +5 -6
- package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.types.d.ts → Individual.types.d.ts} +15 -15
- package/dist/types/components/Individual/forms/{Individual/ProofOfRelationship → ProofOfRelationship}/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/{Individual/ProofOfResidency → ProofOfResidency}/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaire.types.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaire.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaireModalContent.d.ts +1 -1
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +3 -2
- package/dist/types/components/Individual/helpers/mandateIdVerificationForMotionCapture.d.ts +2 -3
- package/dist/types/components/Individual/helpers/roleUtils.d.ts +1 -1
- package/dist/types/components/Individual/mapping/adjustOnfidoIdentificationData.d.ts +1 -1
- package/dist/types/components/Individual/mapping/getOnfidoIdentityTypeToApiIdentityTypeMap.d.ts +1 -1
- package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +6 -12
- package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -3
- package/dist/types/components/Individual/mapping/{mapIndividualOnfidoSchemaToLegalEntity.d.ts → mapIndividualSchemaToLegalEntity.d.ts} +1 -1
- package/dist/types/components/Individual/mapping/{mapLegalEntityToIndividualOnfidoSchema.d.ts → mapLegalEntityToIndividualSchema.d.ts} +1 -1
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +3 -4
- package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +1 -13
- package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/remediation.config.d.ts +0 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +8 -0
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +2 -2
- package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +3 -3
- package/dist/types/components/{Individual → Shared}/fields/LocalizedNameFields/types.d.ts +2 -2
- package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +4 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +0 -2
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiform.d.ts +2 -1
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
- package/dist/types/components/ui/atoms/Card/Card.d.ts +19 -0
- package/dist/types/context/ExperimentContext/types.d.ts +0 -36
- package/dist/types/context/QueryContext/QueryClient.d.ts +1 -1
- package/dist/types/context/StateContext/types.d.ts +2 -3
- package/dist/types/core/models/api/instant-id-verification.d.ts +1 -1
- package/dist/types/core/models/api/legal-entity-association.d.ts +1 -1
- package/dist/types/core/user-events.d.ts +3 -2
- package/dist/types/embeds/baseEmbedProps.d.ts +0 -21
- package/dist/types/embeds/business-financing/adyen-business-financing.d.ts +2 -1
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.d.ts +5 -1
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +2 -2
- package/dist/types/embeds/onboarding/adyen-onboarding.d.ts +2 -1
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.d.ts +5 -1
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.d.ts +2 -1
- package/dist/types/embeds/verification-status/adyen-verification-status.d.ts +2 -1
- package/dist/types/hooks/useAssociatedLegalEntity.d.ts +1 -1
- package/dist/types/hooks/useUboQuestionnaire.d.ts +2 -2
- package/dist/types/stores/formState.d.ts +1 -1
- package/dist/types/utils/addLinkedFields.d.ts +0 -2
- package/dist/types/utils/api/processCapabilitites.d.ts +2 -3
- package/dist/types/utils/birthDateUtils.d.ts +0 -17
- package/dist/types/utils/entityAssociationUtil.d.ts +3 -4
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -3
- package/dist/types/utils/logger.d.ts +0 -1
- package/dist/types/utils/performance.d.ts +64 -0
- package/dist/types/utils/verification/helpers/verifyIdNumber.d.ts +3 -2
- package/dist/{types-C6ntGMCy.js → types-CJwVOpsT.js} +2 -2
- package/dist/{types-CpAtsPmJ.js → types-CvvSUOxO.js} +2 -2
- package/dist/{types-Dk94b8kx.js → types-DY4_Oje-.js} +1 -37
- package/dist/{types-c9nG7Dev.js → types-PiJGsdrV.js} +1 -1
- package/dist/{useAssociatedLegalEntity-ahBb64MW.js → useAssociatedLegalEntity-D9WrBnL9.js} +3 -2
- package/dist/{useBusinessDetailsData-qQ2HRnKK.js → useBusinessDetailsData-B19yee9G.js} +253 -183
- package/dist/{useCreateLegalEntity-Kc8_ZlAe.js → useCreateLegalEntity-Cd7BZhJh.js} +3 -2
- package/dist/{useDataset-DfKmlbQd.js → useDataset-CIT2uU1k.js} +2 -2
- package/dist/{useForm-9uKM-XKf.js → useForm-BKIj-si0.js} +3 -3
- package/dist/{useFormContext-CvQfKDA3.js → useFormContext-DDmCpxUs.js} +7 -7
- package/dist/{useGlobalData-BVQ2OrIi.js → useGlobalData-BXeYbvvf.js} +2 -2
- package/dist/{useMultiForm-pAiPIh7X.js → useMultiForm-Bq259Gj_.js} +5 -5
- package/dist/{useOnboardingStatus-BhDBSLB6.js → useOnboardingStatus-CbHtcNuq.js} +3 -2
- package/dist/{useScenarios-DFW21Vhf.js → useScenarios-CnLHjqGj.js} +5 -3
- package/dist/{useTermsOfServiceStatus-BnO0rXiL.js → useTermsOfServiceStatus-awQzTkyu.js} +3 -2
- package/dist/{useToastContext-D6Lbxqj9.js → useToastContext-B16Rb94T.js} +3 -2
- package/dist/{useUnincorporatedPartnershipMembers-CIC7xPbD.js → useUnincorporatedPartnershipMembers---r-51BU.js} +4 -4
- package/dist/{useUpdateBusinessLines-WlwUOtSU.js → useUpdateBusinessLines-CKi43Mb1.js} +20 -17
- package/dist/{useUpdateLegalEntity-CStkUt4I.js → useUpdateLegalEntity-D1FG6vp7.js} +4 -3
- package/dist/{utils-DOiFhaKn.js → utils-4FfKKP5z.js} +1 -1
- package/dist/{utils-CB39nVjj.js → utils-CDDbOLgu.js} +6 -6
- package/dist/{utils-BmxzrkCX.js → utils-Cgiv8UpE.js} +2 -2
- package/dist/{utils-CDAwsXQa.js → utils-DYlh6Nsk.js} +25 -21
- package/dist/{utils-7_xBiPO_.js → utils-DasesUI-.js} +2 -2
- package/dist/{validate-D-l23QLG.js → validate-BF2mpcMR.js} +2 -2
- package/dist/{validate-Bsx2oHT1.js → validate-pMmG0wkD.js} +4 -3
- package/dist/{validationError-DYYlX-5X.js → validationError-Cajo9GY8.js} +3 -3
- package/package.json +56 -49
- package/dist/Card-Det7uTiv.js +0 -82
- package/dist/EntityAssociation-bcF_I_DK.js +0 -159
- package/dist/ManageIndividualComponent-DND7vuna.js +0 -46
- package/dist/hasDataChanged-8e8x8zjz.js +0 -19
- package/dist/id-verification-instant-Byt4Oul6.js +0 -58
- package/dist/id-verification-manual-CvcTkOSY.js +0 -55
- package/dist/ja-JP-PnqAHl14.js +0 -13
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/mandatoryFields.d.ts +0 -3
- package/dist/types/components/Individual/fields/DecisionMakerRole/DecisionMakerRole.d.ts +0 -3
- package/dist/types/components/Individual/fields/DecisionMakerRole/NomineeDecisionMakerRole.d.ts +0 -10
- package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +0 -23
- package/dist/types/components/Individual/fields/NameFields/validate.d.ts +0 -4
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentAlreadyUpload.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentInstantVerification.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentUpload.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/IdVerificationMethod.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +0 -15
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/types.d.ts +0 -14
- package/dist/types/components/Individual/forms/Individual/Individual.d.ts +0 -47
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/Identity.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/IdentityAu.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/validate.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/IdentityHK.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/validate.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/IdentityNZ.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/validate.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/TypeOfIdentity/index.d.ts +0 -11
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/identityUS/IdentityUS.d.ts +0 -4
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/types.d.ts +0 -14
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/PersonalDetails.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +0 -41
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +0 -21
- package/dist/types/components/Individual/forms/Individual/form-ids.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +0 -40
- package/dist/types/components/Individual/forms/Individual/types.d.ts +0 -50
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +0 -29
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/validate.d.ts +0 -4
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +0 -22
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/validate.d.ts +0 -6
- package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +0 -17
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/mapExtractionResultToSchema.d.ts +0 -4
- package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +0 -4
- package/dist/types/components/Individual/mapping/adjustIdentificationData.d.ts +0 -3
- package/dist/types/components/Individual/mapping/getIdentityTypeToApiIdentityTypeMap.d.ts +0 -3
- package/dist/types/components/Individual/mapping/individualOnfidoKeyMappings.d.ts +0 -8
- package/dist/types/components/Individual/mapping/mapIndividualToLegalEntity.d.ts +0 -3
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividual.d.ts +0 -3
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoDropin.d.ts +0 -2
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/individualOnfidoFormConfig.d.ts +0 -4
- package/dist/types/components/ui/molecules/Card/Card.d.ts +0 -3
- package/dist/types/components/ui/molecules/Card/types.d.ts +0 -26
- package/dist/types/embeds/EmbedBaseElement.d.ts +0 -41
- package/dist/types/embeds/EmbedCore.d.ts +0 -22
- package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +0 -14
- package/dist/types/embeds/individual-configuration/AdyenIndividual.d.ts +0 -12
- package/dist/types/embeds/individual-status/AdyenManageIndividual.d.ts +0 -12
- package/dist/types/embeds/onboarding/AdyenOnboarding.d.ts +0 -12
- package/dist/types/embeds/terms-of-service-management/AdyenTermsOfService.d.ts +0 -12
- package/dist/types/embeds/terms-of-service-status/AdyenManageTermsOfService.d.ts +0 -12
- package/dist/types/embeds/transfer-instrument-configuration/AdyenTransferInstrument.d.ts +0 -16
- package/dist/types/embeds/transfer-instrument-management/AdyenManageTransferInstrument.d.ts +0 -14
- package/dist/types/embeds/verification-status/AdyenVerificationStatus.d.ts +0 -20
- /package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/AdditionalPersonalDetails.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/Identity.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/BasicDetails → BasicDetails}/BasicDetails.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/GuidanceQuestion → GuidanceQuestion}/GuidanceQuestion.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/IdDocumentManualUpload.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/IdNowVerificationModal → IdNowVerificationModal}/IdNowVerificationModal.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/IdVerification.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/idVerificationProviderId.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/types.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/IdVerificationMethod.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/ManualIdUpload → ManualIdUpload}/ManualIdUpload.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/ProofOfRelationship → ProofOfRelationship}/index.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/ProofOfResidency → ProofOfResidency}/ProofOfResidency.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaire.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaireModalContent.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaire.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/form-ids.d.ts → form-ids.d.ts} +0 -0
- /package/dist/types/components/Individual/tasks/{IndividualOnfidoDropin/IndividualOnfidoStore.d.ts → IndividualDropin/IndividualStore.d.ts} +0 -0
- /package/dist/types/components/{Individual → Shared}/fields/LocalizedNameFields/LocalizedNameFields.d.ts +0 -0
|
@@ -2,44 +2,45 @@
|
|
|
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] = "5bb04d6d-f3ba-4140-9edc-45b7a21a014c", e._sentryDebugIdIdentifier = "sentry-dbid-5bb04d6d-f3ba-4140-9edc-45b7a21a014c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CountryCodes,
|
|
10
|
+
import { C as CountryCodes, ai as entriesOf, z as createLogger, u as useTranslation, L as Loader, V as IconButton, x as Typography, aF as Trans, B as Button, b as useApiContext, aj as httpDelete, W as useExperimentsContext, P as useAnalyticsContext, M as EntityTypes, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-vgnrcSAw.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
|
+
import { useMutation, useQueryClient } from "@tanstack/preact-query";
|
|
12
13
|
import { useCallback, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
13
|
-
import {
|
|
14
|
-
import { s as salesChannelsWithWebData, u as useIndustryCodes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD,
|
|
15
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
16
|
-
import { u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
18
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
19
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
20
|
-
import { I as Image, u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
14
|
+
import { i as useBusinessLines, f as useTaskStatus, T as TASK_STATUS_POLLING_INTERVAL_MS, u as useSalesChannels, j as usePciQuestionnaireList, a as usePciStatus } from "./OnboardingDropinComponent-Cgq8_EmZ.js";
|
|
15
|
+
import { s as salesChannelsWithWebData, u as useIndustryCodes, d as businessLineTypes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD, e as shouldSignNewPci, f as SCTA_FIELD, D as Divider, g as selectedBusinessLine, b as useCreateBusinessLine, c as useUpdateBusinessLine, h as businessLinesConfigurations, j as businessLinesForms } from "./useUpdateBusinessLines-CKi43Mb1.js";
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DDmCpxUs.js";
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-B16Rb94T.js";
|
|
18
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-BUA_wMne.js";
|
|
19
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-xCwSNqDi.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-Bq259Gj_.js";
|
|
21
|
+
import { I as Image, u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-BBzd5NHs.js";
|
|
21
22
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
22
|
-
import { s as summaryStep } from "./Summary-
|
|
23
|
-
import { H as Header } from "./Header-
|
|
24
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
23
|
+
import { s as summaryStep } from "./Summary-CBSjGJoE.js";
|
|
24
|
+
import { H as Header } from "./Header-D8rzzaLK.js";
|
|
25
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-Cnn0nZ-O.js";
|
|
25
26
|
import { Show } from "@preact/signals/utils";
|
|
26
|
-
import { C as Checkbox } from "./Checkbox-
|
|
27
|
-
import { F as Field } from "./Field-
|
|
28
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
29
|
-
import { I as InputText } from "./InputText-
|
|
30
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
31
|
-
import { A as Avatar } from "./Avatar-
|
|
27
|
+
import { C as Checkbox } from "./Checkbox-BhBfKGXZ.js";
|
|
28
|
+
import { F as Field } from "./Field-CFSOFrva.js";
|
|
29
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-BtaTcf8k.js";
|
|
30
|
+
import { I as InputText } from "./InputText-hrrhB_mb.js";
|
|
31
|
+
import { SignPCIComponent } from "./SignPCIComponent-CFuZIJYW.js";
|
|
32
|
+
import { A as Avatar } from "./Avatar-BYA9-tAU.js";
|
|
32
33
|
import cx from "classnames";
|
|
33
34
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
34
35
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
36
|
+
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
37
|
+
import { L as Link } from "./Link-B-nyHrIK.js";
|
|
37
38
|
import { lazy } from "preact/compat";
|
|
38
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
39
|
+
import { L as LandingLayout } from "./LandingLayout-D3Osmd8h.js";
|
|
39
40
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
40
|
-
import { L as ListItem } from "./ListItem-
|
|
41
|
+
import { L as ListItem } from "./ListItem-DWh-ks-C.js";
|
|
41
42
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
42
|
-
import { C as Confirm } from "./Confirm-
|
|
43
|
+
import { C as Confirm } from "./Confirm-BvI4TRhB.js";
|
|
43
44
|
const rules = ({ data, country }) => {
|
|
44
45
|
return createFormRules({
|
|
45
46
|
webAddressRequired: () => {
|
|
@@ -70,7 +71,7 @@ const formatBusinessLinesDataForSummary = (data, labels, t) => {
|
|
|
70
71
|
return {
|
|
71
72
|
...summaryData,
|
|
72
73
|
[form]: {
|
|
73
|
-
[labels.salesChannelsForm.salesChannels ?? "
|
|
74
|
+
[labels.salesChannelsForm.salesChannels ?? "salesChannels"]: data.salesChannelsForm.salesChannels?.map(
|
|
74
75
|
(channel) => t(($) => $[channel], { ns: "businessLines" })
|
|
75
76
|
),
|
|
76
77
|
...salesChannelsWithWebData.some(
|
|
@@ -93,10 +94,22 @@ const formatBusinessLinesDataForSummary = (data, labels, t) => {
|
|
|
93
94
|
}, {});
|
|
94
95
|
};
|
|
95
96
|
const buildRequiredForms = ({
|
|
96
|
-
config: {
|
|
97
|
+
config: {
|
|
98
|
+
country,
|
|
99
|
+
forms,
|
|
100
|
+
requiredFields,
|
|
101
|
+
optionalFields,
|
|
102
|
+
isValid,
|
|
103
|
+
problems,
|
|
104
|
+
data,
|
|
105
|
+
industryCodes
|
|
106
|
+
},
|
|
97
107
|
options
|
|
98
108
|
}) => {
|
|
99
109
|
const filteredForms = Object.values(forms).filter(({ formId }) => {
|
|
110
|
+
if (formId === "industryCodesForm" && industryCodes?.length === 1) {
|
|
111
|
+
return false;
|
|
112
|
+
}
|
|
100
113
|
if (formId === "sctaForm") {
|
|
101
114
|
const isJapan = country === "JP";
|
|
102
115
|
const hasWebsite = !!data.salesChannelsForm.webAddress;
|
|
@@ -107,15 +120,21 @@ const buildRequiredForms = ({
|
|
|
107
120
|
const requiredForms = options?.skipSummary ? filteredForms : [...filteredForms, summaryStep];
|
|
108
121
|
return addValidityToForms(requiredForms, isValid, problems);
|
|
109
122
|
};
|
|
110
|
-
const mapBusinessLineToBusinessLineSchema = (selectedBusinessLine2) => {
|
|
123
|
+
const mapBusinessLineToBusinessLineSchema = (selectedBusinessLine2, industryCodes) => {
|
|
124
|
+
const selectedIndustryCodes = selectedBusinessLine2.value ? [
|
|
125
|
+
{
|
|
126
|
+
id: selectedBusinessLine2.value.industryCode,
|
|
127
|
+
name: `${selectedBusinessLine2.value.industryCode} - ${selectedBusinessLine2.value.industryCodeDescription}`
|
|
128
|
+
}
|
|
129
|
+
] : industryCodes.length === 1 ? [
|
|
130
|
+
{
|
|
131
|
+
id: industryCodes[0].code,
|
|
132
|
+
name: `${industryCodes[0].code} - ${industryCodes[0].description}`
|
|
133
|
+
}
|
|
134
|
+
] : void 0;
|
|
111
135
|
return {
|
|
112
136
|
industryCodesForm: {
|
|
113
|
-
industryCodes:
|
|
114
|
-
{
|
|
115
|
-
id: selectedBusinessLine2.value.industryCode,
|
|
116
|
-
name: `${selectedBusinessLine2.value.industryCode} - ${selectedBusinessLine2.value.industryCodeDescription}`
|
|
117
|
-
}
|
|
118
|
-
] : void 0
|
|
137
|
+
industryCodes: selectedIndustryCodes
|
|
119
138
|
},
|
|
120
139
|
salesChannelsForm: {
|
|
121
140
|
salesChannels: selectedBusinessLine2.value?.salesChannels ?? [],
|
|
@@ -279,7 +298,6 @@ function IndustryCodesForm({
|
|
|
279
298
|
}) {
|
|
280
299
|
const { t, i18n } = useTranslation(["common", "businessLines"]);
|
|
281
300
|
const { form } = useFormContext();
|
|
282
|
-
const businessLineTypes = ["acquiring"];
|
|
283
301
|
const { data: industryCodes, isLoading: industryCodesLoading } = useIndustryCodes(
|
|
284
302
|
businessLineTypes,
|
|
285
303
|
i18n.language
|
|
@@ -760,7 +778,7 @@ function SalesChannelsForm({
|
|
|
760
778
|
] });
|
|
761
779
|
}
|
|
762
780
|
function SctaField({ data, valid, errors, handleChangeFor }) {
|
|
763
|
-
const { t } = useTranslation(["businessLines"]);
|
|
781
|
+
const { t } = useTranslation(["businessLines", "common"]);
|
|
764
782
|
const handleKeyDown = (e) => {
|
|
765
783
|
if (e.key === KEYBOARD_KEYS.enter) {
|
|
766
784
|
e.preventDefault();
|
|
@@ -815,7 +833,7 @@ function SctaField({ data, valid, errors, handleChangeFor }) {
|
|
|
815
833
|
] });
|
|
816
834
|
}
|
|
817
835
|
function SctaInfoModal({ onClose }) {
|
|
818
|
-
const { t } = useTranslation(["businessLines"]);
|
|
836
|
+
const { t } = useTranslation(["businessLines", "common"]);
|
|
819
837
|
return /* @__PURE__ */ jsx(
|
|
820
838
|
Modal,
|
|
821
839
|
{
|
|
@@ -829,7 +847,7 @@ function SctaInfoModal({ onClose }) {
|
|
|
829
847
|
}) }),
|
|
830
848
|
/* @__PURE__ */ jsx(Typography, { variant: "body-stronger", children: t(($) => $["whatIsScta"], { ns: "businessLines" }) }),
|
|
831
849
|
/* @__PURE__ */ jsx(Typography, { variant: "body", children: /* @__PURE__ */ jsx(Trans, { t, i18nKey: ($) => $["sctaDescription"], ns: "businessLines" }) }),
|
|
832
|
-
/* @__PURE__ */ jsx(Card, {
|
|
850
|
+
/* @__PURE__ */ jsx(Card, { variant: "secondary", children: /* @__PURE__ */ jsxs(StackLayout, { children: [
|
|
833
851
|
/* @__PURE__ */ jsx(Typography, { variant: "body-stronger", children: t(($) => $["toComplyWithSctaYouMust"], { ns: "businessLines" }) }),
|
|
834
852
|
/* @__PURE__ */ jsxs("ul", { children: [
|
|
835
853
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Typography, { variant: "body", children: t(($) => $["appointADesignatedOperationsOfficer"], { ns: "businessLines" }) }) }),
|
|
@@ -1031,7 +1049,8 @@ const useDeleteBusinessLine = (options) => {
|
|
|
1031
1049
|
const BusinessLineModal = ({
|
|
1032
1050
|
businessLine,
|
|
1033
1051
|
setShowBusinessLineInfo,
|
|
1034
|
-
setAddingBusinessLines
|
|
1052
|
+
setAddingBusinessLines,
|
|
1053
|
+
hideIndustryCode
|
|
1035
1054
|
}) => {
|
|
1036
1055
|
const { t } = useTranslation(["common", "businessLines"]);
|
|
1037
1056
|
const { showToast } = useToastContext();
|
|
@@ -1049,7 +1068,7 @@ const BusinessLineModal = ({
|
|
|
1049
1068
|
);
|
|
1050
1069
|
const blInfoItems = [
|
|
1051
1070
|
{
|
|
1052
|
-
term: t(($) => $["
|
|
1071
|
+
term: t(($) => $["salesChannels"], { ns: "common" }),
|
|
1053
1072
|
details: businessLine?.salesChannels?.map((i) => t(($) => $[i], { ns: "businessLines" })).join(", ") ?? ""
|
|
1054
1073
|
},
|
|
1055
1074
|
...blWebAddress ? [
|
|
@@ -1155,17 +1174,17 @@ const BusinessLineModal = ({
|
|
|
1155
1174
|
/* @__PURE__ */ jsx(
|
|
1156
1175
|
ListItem,
|
|
1157
1176
|
{
|
|
1158
|
-
title: `${businessLine
|
|
1177
|
+
title: hideIndustryCode ? t(($) => $["salesChannels"], { ns: "common" }) : `${businessLine.industryCode} - ${businessLine.industryCodeDescription}`,
|
|
1159
1178
|
description: `${businessLine?.salesChannels?.map((i) => t(($) => $[i], { ns: "businessLines" })).join(", ")}`,
|
|
1160
1179
|
avatar: { iconName: "bag", circle: true }
|
|
1161
1180
|
}
|
|
1162
1181
|
),
|
|
1163
|
-
/* @__PURE__ */ jsx(Card, {
|
|
1182
|
+
/* @__PURE__ */ jsx(Card, { variant: "secondary", children: /* @__PURE__ */ jsxs(StackLayout, { children: [
|
|
1164
1183
|
/* @__PURE__ */ jsx(Typography, { variant: "title", children: t(($) => $["paymentProcessingDetails"], { ns: "businessLines" }) }),
|
|
1165
1184
|
/* @__PURE__ */ jsx(Divider, {}),
|
|
1166
1185
|
/* @__PURE__ */ jsx(StructuredList, { items: blInfoItems })
|
|
1167
1186
|
] }) }),
|
|
1168
|
-
blCommerceDisclosureAddress && /* @__PURE__ */ jsx(Card, {
|
|
1187
|
+
blCommerceDisclosureAddress && /* @__PURE__ */ jsx(Card, { variant: "secondary", children: /* @__PURE__ */ jsxs(StackLayout, { children: [
|
|
1169
1188
|
/* @__PURE__ */ jsx(Typography, { variant: "title", children: t(($) => $["japaneseCommercialDisclosure"], { ns: "common" }) }),
|
|
1170
1189
|
/* @__PURE__ */ jsx(Divider, {}),
|
|
1171
1190
|
/* @__PURE__ */ jsx(StructuredList, { items: sctaBlInfoItems })
|
|
@@ -1187,9 +1206,10 @@ const ExistingBusinessLines = ({
|
|
|
1187
1206
|
businessLines: businessLines2,
|
|
1188
1207
|
setAddingBusinessLines
|
|
1189
1208
|
}) => {
|
|
1190
|
-
const { t } = useTranslation(["businessLines", "common"]);
|
|
1209
|
+
const { t, i18n } = useTranslation(["businessLines", "common"]);
|
|
1191
1210
|
const [showBusinessLineInfo, setShowBusinessLineInfo] = useState(false);
|
|
1192
1211
|
const [businessLine, setBusinessLine] = useState();
|
|
1212
|
+
const { data: industryCodes } = useIndustryCodes(["acquiring"], i18n.language);
|
|
1193
1213
|
const { data: normalizedTasks } = useTaskStatus({
|
|
1194
1214
|
refetchInterval: TASK_STATUS_POLLING_INTERVAL_MS
|
|
1195
1215
|
});
|
|
@@ -1220,7 +1240,8 @@ const ExistingBusinessLines = ({
|
|
|
1220
1240
|
{
|
|
1221
1241
|
businessLine,
|
|
1222
1242
|
setShowBusinessLineInfo,
|
|
1223
|
-
setAddingBusinessLines
|
|
1243
|
+
setAddingBusinessLines,
|
|
1244
|
+
hideIndustryCode: industryCodes?.length === 1
|
|
1224
1245
|
}
|
|
1225
1246
|
)
|
|
1226
1247
|
] });
|
|
@@ -1242,6 +1263,7 @@ const BusinessLinesList = ({
|
|
|
1242
1263
|
selectedBusinessLine.value = void 0;
|
|
1243
1264
|
setAddingBusinessLines(true);
|
|
1244
1265
|
};
|
|
1266
|
+
const canAddNewBusinessLine = businessLines2.length <= 200 && !isExperimentEnabled("EnableLimitToSingleBusinessLine") && hasSelectableIndustryCodes && !!existingBusinessLines && !!industryCodes;
|
|
1245
1267
|
return /* @__PURE__ */ jsx("div", { className: styles.businessLinesListContainer, children: /* @__PURE__ */ jsxs(StackLayout, { children: [
|
|
1246
1268
|
/* @__PURE__ */ jsx(List, { dividers: false, variant: "grouped-primary", padding: "small", children: businessLines2.map((bl, index) => {
|
|
1247
1269
|
const handleBusinessLineSelection = (bl2) => {
|
|
@@ -1251,7 +1273,7 @@ const BusinessLinesList = ({
|
|
|
1251
1273
|
return /* @__PURE__ */ jsx(
|
|
1252
1274
|
ListItem,
|
|
1253
1275
|
{
|
|
1254
|
-
title: `${bl.industryCode} - ${bl.industryCodeDescription}`,
|
|
1276
|
+
title: industryCodes?.length === 1 ? t(($) => $["salesChannels"], { ns: "common" }) : `${bl.industryCode} - ${bl.industryCodeDescription}`,
|
|
1255
1277
|
description: `${bl.salesChannels?.map((i) => t(($) => $[i], { ns: "businessLines" })).join(", ")}`,
|
|
1256
1278
|
avatar: { iconName: "bag", circle: true },
|
|
1257
1279
|
action: {
|
|
@@ -1262,15 +1284,13 @@ const BusinessLinesList = ({
|
|
|
1262
1284
|
index
|
|
1263
1285
|
);
|
|
1264
1286
|
}) }),
|
|
1265
|
-
|
|
1287
|
+
canAddNewBusinessLine && /* @__PURE__ */ jsx(List, { dividers: false, variant: "grouped-primary", padding: "small", children: /* @__PURE__ */ jsx(
|
|
1266
1288
|
ListItem,
|
|
1267
1289
|
{
|
|
1268
1290
|
title: t(($) => $["addNew"]),
|
|
1269
1291
|
avatar: { iconName: "plus", circle: true, variant: "tertiary" },
|
|
1270
1292
|
action: {
|
|
1271
|
-
onClick: () => addNewBusinessLine()
|
|
1272
|
-
disabled: businessLines2.length >= 200 || !!industryCodes && !hasSelectableIndustryCodes
|
|
1273
|
-
// Users can have max of 200 BL
|
|
1293
|
+
onClick: () => addNewBusinessLine()
|
|
1274
1294
|
}
|
|
1275
1295
|
}
|
|
1276
1296
|
) })
|
|
@@ -1296,11 +1316,15 @@ function BusinessLinesDropin({
|
|
|
1296
1316
|
const problems = capabilityProblems ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, rootLegalEntity.id) : void 0;
|
|
1297
1317
|
const [addingBusinessLines, setAddingBusinessLines] = useState(false);
|
|
1298
1318
|
const [derivedProps, setDerivedProps] = useState();
|
|
1299
|
-
const { t } = useTranslation(["businessLines", "common"]);
|
|
1319
|
+
const { t, i18n } = useTranslation(["businessLines", "common"]);
|
|
1320
|
+
const { data: industryCodes, isFetching: isFetchingIndustryCodes } = useIndustryCodes(
|
|
1321
|
+
businessLineTypes,
|
|
1322
|
+
i18n.language
|
|
1323
|
+
);
|
|
1300
1324
|
const hasExistingBusinessLines = (businessLines2?.length ?? 0) > 0;
|
|
1301
1325
|
const hasBusinessLineData = hasExistingBusinessLines || !!selectedBusinessLine.value;
|
|
1302
1326
|
const multiForm = useMultiForm({
|
|
1303
|
-
defaultData: mapBusinessLineToBusinessLineSchema(selectedBusinessLine),
|
|
1327
|
+
defaultData: mapBusinessLineToBusinessLineSchema(selectedBusinessLine, industryCodes ?? []),
|
|
1304
1328
|
requiredFields: derivedProps?.requiredFields,
|
|
1305
1329
|
optionalFields: derivedProps?.optionalFields,
|
|
1306
1330
|
allFields: derivedProps?.allFields,
|
|
@@ -1339,7 +1363,8 @@ function BusinessLinesDropin({
|
|
|
1339
1363
|
optionalFields: derivedProps?.optionalFields || {},
|
|
1340
1364
|
isValid: formValidity || {},
|
|
1341
1365
|
problems: problems || {},
|
|
1342
|
-
data
|
|
1366
|
+
data,
|
|
1367
|
+
industryCodes
|
|
1343
1368
|
}
|
|
1344
1369
|
});
|
|
1345
1370
|
}, [
|
|
@@ -1348,7 +1373,8 @@ function BusinessLinesDropin({
|
|
|
1348
1373
|
formValidity,
|
|
1349
1374
|
problems,
|
|
1350
1375
|
data,
|
|
1351
|
-
country
|
|
1376
|
+
country,
|
|
1377
|
+
industryCodes
|
|
1352
1378
|
]);
|
|
1353
1379
|
const summaryData = useMemo(
|
|
1354
1380
|
() => formatBusinessLinesDataForSummary(
|
|
@@ -1358,7 +1384,7 @@ function BusinessLinesDropin({
|
|
|
1358
1384
|
industryCodes: "industry"
|
|
1359
1385
|
},
|
|
1360
1386
|
salesChannelsForm: {
|
|
1361
|
-
salesChannels: "
|
|
1387
|
+
salesChannels: "salesChannels"
|
|
1362
1388
|
},
|
|
1363
1389
|
sctaForm: {
|
|
1364
1390
|
sctaUrl: "japaneseCommercialDisclosureWebpage"
|
|
@@ -1448,7 +1474,8 @@ function BusinessLinesDropin({
|
|
|
1448
1474
|
return handleNextClick();
|
|
1449
1475
|
};
|
|
1450
1476
|
const renderContent = () => {
|
|
1451
|
-
if (!addingBusinessLines && isFetchingBusinessLines
|
|
1477
|
+
if (!addingBusinessLines && (isFetchingBusinessLines || isFetchingIndustryCodes))
|
|
1478
|
+
return /* @__PURE__ */ jsx(Loader, { size: "large" });
|
|
1452
1479
|
if (addingBusinessLines) {
|
|
1453
1480
|
return /* @__PURE__ */ jsx(FormContextProvider, { form: multiForm, children: /* @__PURE__ */ jsx(
|
|
1454
1481
|
FormFlow,
|
package/dist/{RootIndividualDetailsPage-BFYP63_i.js → RootIndividualDetailsPage-CeSyobCX.js}
RENAMED
|
@@ -2,17 +2,16 @@
|
|
|
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] = "851c703a-93a3-45f0-9a9f-7281f554d613", e._sentryDebugIdIdentifier = "sentry-dbid-851c703a-93a3-45f0-9a9f-7281f554d613");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, R as ROOT_LE,
|
|
10
|
+
import { c as useLegalEntity, R as ROOT_LE, K as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, p as isPartOfTrustFromLegalEntity, M as EntityTypes, ab as noop, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper, b9 as individualOnfidoBaseMapping } from "./StoreProvider-vgnrcSAw.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin, i as individualOnfidoForms, b as individualForms } from "./IndividualOnfidoDropin-Dy5obHs1.js";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-BBzd5NHs.js";
|
|
13
|
+
import { h as filterProblemsByTaskForms, m as getTrustedFieldsProvider, n as getTrustedFields } from "./OnboardingDropinComponent-Cgq8_EmZ.js";
|
|
14
|
+
import { I as IndividualOnfidoDropin, i as individualOnfidoForms } from "./IndividualDropin-DvOuy5j7.js";
|
|
16
15
|
function RootIndividualDetailsPage({
|
|
17
16
|
asModal = false,
|
|
18
17
|
hideSidebar = false,
|
|
@@ -25,7 +24,6 @@ function RootIndividualDetailsPage({
|
|
|
25
24
|
}) {
|
|
26
25
|
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
27
26
|
const capabilityProblems = useCapabilityProblems();
|
|
28
|
-
const { isExperimentEnabled } = useExperimentsContext();
|
|
29
27
|
const { accountHolder } = useAccountHolder();
|
|
30
28
|
const { i18n } = useTranslation();
|
|
31
29
|
addResourceBundles(i18n, [
|
|
@@ -37,18 +35,10 @@ function RootIndividualDetailsPage({
|
|
|
37
35
|
const country = getLegalEntityCountry(rootLe);
|
|
38
36
|
const hasTrust = accountHolder === "aTrust" || isPartOfTrustFromLegalEntity(rootLe);
|
|
39
37
|
const entityProblems = capabilityProblems ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, rootLe.id) : void 0;
|
|
40
|
-
const
|
|
41
|
-
country,
|
|
42
|
-
TaskTypes.INDIVIDUAL,
|
|
43
|
-
isExperimentEnabled
|
|
44
|
-
);
|
|
45
|
-
const initialForms = Object.keys(isOnfidoAutofillFlow ? individualOnfidoForms : individualForms);
|
|
38
|
+
const initialForms = Object.keys(individualOnfidoForms);
|
|
46
39
|
const problemsByTask = filterProblemsByTaskForms(entityProblems, initialForms);
|
|
47
40
|
const trustedFieldsProvider = getTrustedFieldsProvider(rootLe);
|
|
48
|
-
const trustedFields = getTrustedFields(
|
|
49
|
-
rootLe,
|
|
50
|
-
isOnfidoAutofillFlow ? individualOnfidoBaseMapping : individualComponentsKeyMapping
|
|
51
|
-
);
|
|
41
|
+
const trustedFields = getTrustedFields(rootLe, individualOnfidoBaseMapping);
|
|
52
42
|
const props = {
|
|
53
43
|
taskType: TaskTypes.INDIVIDUAL,
|
|
54
44
|
taskName: hasTrust ? "individualTrusteeDetails" : "individualDetails",
|
|
@@ -64,7 +54,7 @@ function RootIndividualDetailsPage({
|
|
|
64
54
|
handleCloseClick,
|
|
65
55
|
handleHomeClick
|
|
66
56
|
};
|
|
67
|
-
return
|
|
57
|
+
return /* @__PURE__ */ jsx(IndividualOnfidoDropin, { ...props, trustedFields });
|
|
68
58
|
}
|
|
69
59
|
export {
|
|
70
60
|
RootIndividualDetailsPage
|
|
@@ -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] = "b4f8f992-072d-444c-9b33-c396d312f069", e._sentryDebugIdIdentifier = "sentry-dbid-b4f8f992-072d-444c-9b33-c396d312f069");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -11,11 +11,11 @@ import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState, useRef, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
13
13
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
-
import {
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-BtaTcf8k.js";
|
|
15
|
+
import { P as useAnalyticsContext, L as Loader, ab as noop, x as Typography, z as createLogger, u as useTranslation } from "./StoreProvider-vgnrcSAw.js";
|
|
16
16
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
17
17
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
18
|
-
import { C as Checkbox } from "./Checkbox-
|
|
18
|
+
import { C as Checkbox } from "./Checkbox-BhBfKGXZ.js";
|
|
19
19
|
const createSelectFocus = ({
|
|
20
20
|
activeItems,
|
|
21
21
|
filteredItems: items
|
|
@@ -504,12 +504,16 @@ function SelectList({
|
|
|
504
504
|
{
|
|
505
505
|
item,
|
|
506
506
|
id: item.id,
|
|
507
|
-
onKeyDown: (event) =>
|
|
507
|
+
onKeyDown: (event) => {
|
|
508
|
+
onKeyDown(event, item);
|
|
509
|
+
},
|
|
508
510
|
onFocus: (event) => {
|
|
509
511
|
focusItem(item);
|
|
510
512
|
event.stopPropagation();
|
|
511
513
|
},
|
|
512
|
-
onSelect: () =>
|
|
514
|
+
onSelect: () => {
|
|
515
|
+
onSelect(item);
|
|
516
|
+
},
|
|
513
517
|
selected: !!active.find((activeItem) => activeItem.id === item.id),
|
|
514
518
|
isMulti,
|
|
515
519
|
isSearch,
|
|
@@ -538,7 +542,9 @@ function SelectList({
|
|
|
538
542
|
setShowAbove(!isSpaceBelow && isSpaceAbove);
|
|
539
543
|
});
|
|
540
544
|
resizeObserver.observe(list);
|
|
541
|
-
return () =>
|
|
545
|
+
return () => {
|
|
546
|
+
resizeObserver.disconnect();
|
|
547
|
+
};
|
|
542
548
|
}, [inputRef, listRef]);
|
|
543
549
|
return /* @__PURE__ */ jsx(
|
|
544
550
|
"div",
|
|
@@ -827,7 +833,9 @@ const Select = ({
|
|
|
827
833
|
focusInput();
|
|
828
834
|
}
|
|
829
835
|
},
|
|
830
|
-
onFocus: () =>
|
|
836
|
+
onFocus: () => {
|
|
837
|
+
focusInput();
|
|
838
|
+
}
|
|
831
839
|
}
|
|
832
840
|
),
|
|
833
841
|
/* @__PURE__ */ jsx(
|
|
@@ -2,24 +2,25 @@
|
|
|
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] = "0ceef401-fcef-4d6b-a60d-6687cb593b8b", e._sentryDebugIdIdentifier = "sentry-dbid-0ceef401-fcef-4d6b-a60d-6687cb593b8b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as
|
|
10
|
+
import { b as useApiContext, j as httpPost, an as isEmpty, u as useTranslation, P as useAnalyticsContext, ao as getOwnDecisionMakers, q as LegalEntityTypes, O as TaskTypes, B as Button, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-vgnrcSAw.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useCallback, useEffect, useMemo } from "preact/hooks";
|
|
13
|
-
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
13
|
+
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-Cgq8_EmZ.js";
|
|
14
|
+
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
15
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-B16Rb94T.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-CmMIVSCN.js";
|
|
17
|
+
import { E as EndStateLayout } from "./EndStateLayout-CUH3FaFg.js";
|
|
18
|
+
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
19
|
+
import { C as Checkbox } from "./Checkbox-BhBfKGXZ.js";
|
|
20
|
+
import { F as Field } from "./Field-CFSOFrva.js";
|
|
21
|
+
import { S as Select } from "./Select-mtnGa2J4.js";
|
|
22
|
+
import { u as useForm } from "./useForm-BKIj-si0.js";
|
|
21
23
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
22
|
-
import { C as Card } from "./Card-Det7uTiv.js";
|
|
23
24
|
import { C as ContractViewer } from "./ContractViewer-Byp71k2e.js";
|
|
24
25
|
const getPciTemplate = async (legalEntityId, baseUrl, data) => {
|
|
25
26
|
const filteredData = {
|
|
@@ -240,7 +241,7 @@ function SignPCIComponent({
|
|
|
240
241
|
const additionalSalesChannels = useSalesChannels();
|
|
241
242
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
242
243
|
addResourceBundles(i18n, [
|
|
243
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
244
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BMe54km9.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-BwiHrdav.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D3nwkjjZ.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-ZU2Hsp38.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-DbOICeSZ.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-vgnrcSAw.js").then((n) => n.bD), "../../../language/locales/es-ES.json": () => import("./es-ES-diRragkx.js"), "../../../language/locales/et-EE.json": () => import("./et-EE--PzlaQkR.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-D0_0MXLR.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CbjzHhqH.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-CDuWrX1x.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CXB62KSV.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BbW5PMj0.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-D8-geaup.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BCusE8Fe.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-D_D39wup.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-Z2ifhzHq.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-D09wFbmU.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-uU0uFIWi.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-DzLl_fGR.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-Czix42gf.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-BmHGZmbO.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-hx3DmG_3.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-D06jZL__.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-eJgjc6iG.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
244
245
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-CCwKQVVV.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-CVvNUABW.js"), "../../ui/language/da-DK.json": () => import("./da-DK-CoTdzXlA.js"), "../../ui/language/de-DE.json": () => import("./de-DE-z0cPgxGN.js"), "../../ui/language/el-GR.json": () => import("./el-GR-B9TRk3Pi.js"), "../../ui/language/en-US.json": () => import("./en-US-CjjPhkB5.js"), "../../ui/language/es-ES.json": () => import("./es-ES-DUn82eVS.js"), "../../ui/language/et-EE.json": () => import("./et-EE-CUXar-DY.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-C3TTCFBv.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BbKadiaZ.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-D2LmWe5I.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CFuBc8VP.js"), "../../ui/language/it-IT.json": () => import("./it-IT-CGhQqmiU.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-CvREJ56h.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CZwu5zZ0.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DVFCj1OR.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-OHlJx2bn.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DEYydng4.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-DMbe5XnW.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-DWAziFjb.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-LP8g5mC9.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-BQSoJrlf.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-CwieqNyR.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-C5vfq7vv.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-BrO9NKWs.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
245
246
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-K7feXvEc.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CYQO0o5V.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-CGWvmdkq.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-DHDJhahG.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-DHNlnOwf.js"), "../../Contract/language/en-US.json": () => import("./en-US-DoiQhi0j.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-CxnsKEh4.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-BQixWUEV.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-57-xkioo.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-BxiX8Zfi.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-BynZTNSB.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-BtRIDozk.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-masgjk9F.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-vv3-YsHU.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-2BMif2Bk.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-CHdEDRVO.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-D1b5RUJ0.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-Dkh4SWbB.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-BkGihn5Q.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-BRdIEO2O.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-BfL7qUzo.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-C2yBVFht.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-C74EF23u.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-CvUzNn9Z.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-BsLkPEzn.js") }), `../../Contract/language/${lang}.json`, 5) }
|
|
246
247
|
]);
|
|
@@ -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] = "b692142f-97af-4ffb-b5dc-1fdb3f553a6e", e._sentryDebugIdIdentifier = "sentry-dbid-b692142f-97af-4ffb-b5dc-1fdb3f553a6e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { lazy } from "preact/compat";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation,
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { I as Image } from "./Image-
|
|
16
|
-
import { R as RadioGroupCard } from "./RadioGroupCard-
|
|
17
|
-
import { u as useForm } from "./useForm-
|
|
13
|
+
import { u as useTranslation, x as Typography, B as Button, q as LegalEntityTypes } from "./StoreProvider-vgnrcSAw.js";
|
|
14
|
+
import { F as Field } from "./Field-CFSOFrva.js";
|
|
15
|
+
import { I as Image } from "./Image-BBzd5NHs.js";
|
|
16
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-gMCDFGy5.js";
|
|
17
|
+
import { u as useForm } from "./useForm-BKIj-si0.js";
|
|
18
18
|
const setupAccountMethods = ["singpass", "manual"];
|
|
19
19
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
20
20
|
const singpassLogo = lazy(() => import("./singpass-logo-wY4xsmTX.js"));
|
|
@@ -2,15 +2,16 @@
|
|
|
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] = "9c0917d7-103c-49f3-bdbc-302272ab3b99", e._sentryDebugIdIdentifier = "sentry-dbid-9c0917d7-103c-49f3-bdbc-302272ab3b99");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity,
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-vgnrcSAw.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import {
|
|
13
|
-
import { u as
|
|
12
|
+
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-BBzd5NHs.js";
|
|
14
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-B19yee9G.js";
|
|
14
15
|
function SoleProprietorshipPage({
|
|
15
16
|
solePropId,
|
|
16
17
|
onSubmit,
|