@adyen/kyc-components 3.92.1 → 3.93.0-beta.2
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-Cc5TwxYd.js → AcceptTermsOfServiceComponent-B4fXz2Mj.js} +17 -16
- package/dist/{Accordion-CAqKHAj9.js → Accordion-B9ASz7oD.js} +2 -2
- package/dist/{AccountSetupRejected-C9FCwunF.js → AccountSetupRejected-BsYzF0XW.js} +3 -3
- package/dist/{ActionBar-C1rqfjkV.js → ActionBar-Gbat0LF-.js} +1 -1
- package/dist/{Address-C8Kqz-2b.js → Address-Bu9zOvAM.js} +15 -15
- package/dist/{Alert-E_a_csSs.js → Alert-0L9Okc_j.js} +3 -3
- package/dist/{Avatar-wQ0mYsYL.js → Avatar-C2jFofpv.js} +2 -2
- package/dist/{BusinessFinancingComponent-ReMZLbjX.js → BusinessFinancingComponent-C12Xnx_y.js} +5 -5
- package/dist/{BusinessFinancingDropin-DtSERjsb.js → BusinessFinancingDropin-BYwivstT.js} +29 -28
- package/dist/{BusinessFinancingPage-DqSCsrPJ.js → BusinessFinancingPage-CUeLDq8J.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-zzDSHomI.js → BusinessTypeSelectionPage-BQ1yBBhx.js} +9 -9
- package/dist/Card-OQuFzmxm.js +90 -0
- package/dist/{Checkbox-Bp4HrJKI.js → Checkbox-DBN0bHrR.js} +2 -2
- package/dist/{Confirm-Ba5lqFqd.js → Confirm-DvCDgyAD.js} +3 -3
- package/dist/{ConstitutionalDocument-DD5CB7gM.js → ConstitutionalDocument-BXepv2HE.js} +18 -18
- package/dist/{validate-CIuB6JUT.js → ContactDetails-D84L456z.js} +21 -20
- package/dist/{ContextGuidance-aACh9e6u.js → ContextGuidance-CyvagjSm.js} +3 -3
- package/dist/{CountryField-B0daMnwW.js → CountryField-DelOJ_90.js} +4 -4
- package/dist/{CreateIndividualComponent-pLTW4M3J.js → CreateIndividualComponent-B56tad3f.js} +6 -12
- package/dist/{CreateTransferInstrumentComponent-DlSD28ga.js → CreateTransferInstrumentComponent-DAIYbzea.js} +4 -4
- package/dist/{Currency-DXgu9MoR.js → Currency-DARtu8dS.js} +11 -8
- package/dist/{CustomerSupport-eNBxns8l.js → CustomerSupport-HpsRjJyl.js} +12 -11
- package/dist/{DebugModal-jvulkSEe.js → DebugModal-DEYa0E-D.js} +12 -10
- package/dist/{DecisionMakerDetailsPage-IV32QvAq.js → DecisionMakerDetailsPage-CmvZWgoB.js} +12 -18
- package/dist/{DecisionMakers-CNxYaQOO.js → DecisionMakers-eOsvlawr.js} +21 -22
- package/dist/{Dropzone-CJTj99Jm.js → Dropzone-BgrGUcIm.js} +16 -10
- package/dist/{EmbeddedStatus-BytQYrC_.js → EmbeddedStatus-CGIXkUXu.js} +3 -3
- package/dist/{EndStateLayout-DlvjAj-7.js → EndStateLayout-DhaJTPGG.js} +2 -2
- package/dist/EntityAssociation-oAuDZDjG.js +166 -0
- package/dist/{EntityGuidanceStatus-D9aXAd7N.js → EntityGuidanceStatus-BfJcqJTt.js} +3 -3
- package/dist/{ErrorPanel-DNtK56tD.js → ErrorPanel-CQ5mK5uz.js} +3 -3
- package/dist/{Field-BEoeMy3u.js → Field-QQ5BBCkn.js} +2 -3
- package/dist/{FormNavigation-Ci1LhKvo.js → FormNavigation-Cl5fnGKp.js} +3 -3
- package/dist/{FormWrapper-BCkcULLO.js → FormWrapper-BXCADDZ_.js} +9 -9
- package/dist/{Header-87H731cQ.js → Header-DVxe8YCk.js} +2 -2
- package/dist/{Image-Dv-RB-a6.js → Image-D2r8auP6.js} +4 -9
- package/dist/{rules-CovTg5rc.js → Individual.rules-nvOffGHU.js} +165 -117
- package/dist/{IndividualOnfidoDropin-HK_0jjJH.js → IndividualDropin-Ou29J7Dx.js} +1188 -3959
- package/dist/{InputDate-BcSMepXz.js → InputDate-DplEveci.js} +1 -1
- package/dist/{InputText-D0zIJLdp.js → InputText-V4X24bPM.js} +2 -2
- package/dist/{Introduction-D_Zv9G9d.js → Introduction-kVYYqDhe.js} +4 -4
- package/dist/{JpAddress-C0Q47X_G.js → JpAddress-BKT0w3jl.js} +11 -10
- package/dist/{LandingLayout-oK1JT5Lv.js → LandingLayout-DZt1EtCP.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-BrBQg06_.js → LegalRepresentativeDetailsPage-BuOPrCAO.js} +6 -11
- package/dist/{Link-BTTClZw-.js → Link-s00fWIPD.js} +2 -2
- package/dist/{ListItem-BJYQ6BfN.js → ListItem-BOjfMtNh.js} +3 -3
- package/dist/{LoaderWrapper-Dl2oV2v2.js → LoaderWrapper-lbUTZxip.js} +1 -1
- package/dist/ManageIndividualComponent-C80dv903.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-Qpzy5iZg.js → ManageTermsOfServiceComponent-8sW0ubtp.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-CvTD7JqX.js → ManageTransferInstrumentComponent-Djr3hDnm.js} +15 -14
- package/dist/{MaskedInput-Bet0abik.js → MaskedInput-Dtui0pFL.js} +17 -9
- package/dist/{MaybeModal-Bk3WmK24.js → MaybeModal-DAmEe4LX.js} +2 -2
- package/dist/{Modal-1Hv5tfNy.js → Modal-DjqZRXyy.js} +5 -5
- package/dist/{makeSelectItemForRole-B1DAxBZ_.js → Name-2lTBQb7g.js} +5 -57
- package/dist/{OnboardingDropinComponent-tQW1hXKP.js → OnboardingDropinComponent-Druuv3sE.js} +156 -125
- package/dist/{PayoutDetailsDropin-BEoP-NR0.js → PayoutDetailsDropin-B7LtRa1B.js} +91 -87
- package/dist/{RadioGroup-Bg_8BEDn.js → RadioGroup-DUYNpTgM.js} +7 -5
- package/dist/{RadioGroupCard-NRR-OqqG.js → RadioGroupCard-pMlnbEEB.js} +5 -3
- package/dist/{Review-DbX6GFkR.js → Review-_FUu7r2a.js} +8 -7
- package/dist/{RootBusinessDetailsPage-BWewaAOg.js → RootBusinessDetailsPage-yrq_AuhE.js} +9 -8
- package/dist/{RootBusinessLinesPage-CJ9jECx0.js → RootBusinessLinesPage-Cl18f4sM.js} +82 -55
- package/dist/{RootIndividualDetailsPage-CvQ2742R.js → RootIndividualDetailsPage-DCBlFXBW.js} +8 -18
- package/dist/{Select-DglmHz2C.js → Select-mBoYJnAZ.js} +16 -8
- package/dist/{SignPCIComponent-C6vCs_hW.js → SignPCIComponent-Kf3AvaVB.js} +13 -12
- package/dist/{SingpassSelection-Dv7obY3Y.js → SingpassSelection-CfWMbH3h.js} +6 -6
- package/dist/{SoleProprietorshipPage-BBaiVx9A.js → SoleProprietorshipPage-5Zy5JrB-.js} +5 -4
- package/dist/{SourceOfFundsPage-y4UhFduk.js → SourceOfFundsPage-CzUTeF1S.js} +195 -431
- package/dist/{StepProgressIndicator-zp8q1OzD.js → StepProgressIndicator-BE9LWSk0.js} +2 -2
- package/dist/{StoreProvider-BY1HQxMn.js → StoreProvider-D5FOVv9p.js} +170 -3243
- package/dist/{Summary-Dt4LcwGJ.js → Summary-v4P9Y5kQ.js} +6 -6
- package/dist/{TaskVerificationStatus-D7Yyt06M.js → TaskVerificationStatus-5hk86s25.js} +2 -2
- package/dist/{TaxInformationField-jCqBsFve.js → TaxInformationField-AcI4laLZ.js} +1469 -1475
- package/dist/{TaxReportingDropin-PYjxhlen.js → TaxReportingDropin-ZzpWS0S-.js} +35 -37
- package/dist/{TextArea-DaEM1LmR.js → TextArea-DeNjm7Gm.js} +2 -2
- package/dist/{TileGroup-B9NP0xL_.js → TileGroup-CZWfBoyM.js} +4 -4
- package/dist/{TrustDetailsPage-CcSVv1MP.js → TrustDetailsPage--gTP7acy.js} +41 -35
- package/dist/{TrustMemberCompanyPage-f7sbolBK.js → TrustMemberCompanyPage-Bmqb5sgh.js} +6 -5
- package/dist/{TrustMemberIndividualPage-BlkZ5WtP.js → TrustMemberIndividualPage-BJ7a5vEO.js} +6 -11
- package/dist/{TrustMemberRoleAndTypePage-DCsR7Tdy.js → TrustMemberRoleAndTypePage-eGQ7qNwo.js} +78 -22
- package/dist/{TrustMembersOverview-BhDqS5F-.js → TrustMembersOverview-C9VGJyIN.js} +12 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-BbprnGI_.js → UnincorporatedPartnershipIndividualPage-DY8NWGLK.js} +6 -11
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BxpxNdg6.js → UnincorporatedPartnershipMemberCompanyPage-CxGb07CR.js} +6 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-3xUvx9l-.js → UnincorporatedPartnershipMemberRoleAndTypePage-CP88Xvoy.js} +12 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-BpZbRr_e.js → UnincorporatedPartnershipMembersOverview-CtJIWCek.js} +9 -9
- package/dist/{VerificationErrorAlert-7DNyS4C_.js → VerificationErrorAlert-DAmWLDTw.js} +5 -4
- package/dist/{ViewVerificationStatusComponent-urVZF63U.js → ViewVerificationStatusComponent-BKvZhB3Q.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-BROXAx5r.js → bafinUtils-D-iUsb1z.js} +19 -69
- package/dist/{bg-BG-DVjwfSz4.js → bg-BG-BMe54km9.js} +2 -2
- package/dist/{commonValidators-B7eyF3yt.js → commonValidators-CalwJK5h.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-DqJ1Ds6F.js → dropinUtils-D59ldyqp.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-DVdDkF4v.js → fieldConfig-1wEVw6MW.js} +6 -6
- package/dist/{formUtils-6n_sAj9f.js → formUtils-BUyxO4Zy.js} +3 -3
- package/dist/{fr-FR-BPGwsLDa.js → fr-FR-CbjzHhqH.js} +2 -2
- package/dist/{getName-2kWqXhZa.js → getName-BCGuaRKD.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-BHiCu3PY.js → iframeWidget-CxqD-Z9-.js} +4 -4
- package/dist/{isEmpty-COLZr49P.js → isEmpty-BCB0E6W3.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-DHTmTrsj.js → japanSupportUtils-CNwDfN86.js} +3 -3
- package/dist/{localizeDateString-tOyK52gO.js → localizeDateString-DnJ6n3p4.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-Bz4_d6_m.js → mapExistingFile-DF8ylI3D.js} +4 -4
- package/dist/{mapJpAddressSchemaToAddressLocalizations-COA1bDNt.js → mapJpAddressSchemaToAddressLocalizations-Y24lCOu6.js} +38 -38
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-CdLLvb8F.js → mapLegalEntityToIndividualSchema-BfluetfB.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-CPpBX8oM.js → mapTransferInstrumentToPayoutAccount-DGEME7Zv.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-DSKvrLlO.js → patternValidators-DbUGFIUU.js} +2 -2
- package/dist/{pl-PL-DFZFSKZX.js → pl-PL-uU0uFIWi.js} +2 -2
- package/dist/{process-field-configurations-2fq1Bq8j.js → process-field-configurations-DGERpLQI.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-DPBuIa7_.js → resolveEnvironment-S2KpSjit.js} +3 -3
- package/dist/{ro-RO-B0slmyWK.js → ro-RO-BmHGZmbO.js} +2 -2
- package/dist/{roleMetadata-steXST1L.js → roleMetadata-CKgUDBXU.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 +272 -295
- package/dist/styles-CLV89_hH.js +272 -295
- 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/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-2lh4v1NS.js → types-CUp2kEQJ.js} +1 -1
- package/dist/{types-Dk94b8kx.js → types-DY4_Oje-.js} +1 -37
- package/dist/{types-MoVpdFbr.js → types-DgF4O5ru.js} +2 -2
- package/dist/{types-CGYmPCYj.js → types-vqz1MZ1F.js} +2 -2
- package/dist/{useAssociatedLegalEntity-BufOLUsc.js → useAssociatedLegalEntity-C8wrPYHO.js} +3 -2
- package/dist/{useBusinessDetailsData-D4EbMk7x.js → useBusinessDetailsData-nW3yfjoJ.js} +253 -183
- package/dist/{useCreateLegalEntity-CmZ_Xs5Y.js → useCreateLegalEntity-DEc1Kwc9.js} +3 -2
- package/dist/{useDataset-BRi4mlWJ.js → useDataset-CLceNuVk.js} +2 -2
- package/dist/{useForm-DpYu-ydO.js → useForm-C6Y--Xun.js} +3 -3
- package/dist/{useFormContext-03qTwgil.js → useFormContext-7UjLuyeC.js} +7 -7
- package/dist/{useGlobalData-Dk70ESMH.js → useGlobalData-DS2ZGdGI.js} +2 -2
- package/dist/{useMultiForm-BNwZbeFz.js → useMultiForm-B3D5YMQv.js} +5 -5
- package/dist/{useOnboardingStatus-D6f5Kt_w.js → useOnboardingStatus-pO-8haat.js} +3 -2
- package/dist/{useScenarios-BQO76Qbs.js → useScenarios-BeYCbuMy.js} +5 -3
- package/dist/{useTermsOfServiceStatus-pQ-OjZcj.js → useTermsOfServiceStatus-a9HTnF2t.js} +3 -2
- package/dist/{useToastContext-BG3cHfke.js → useToastContext-CY5gBg6O.js} +3 -2
- package/dist/{useUnincorporatedPartnershipMembers-DumGMdhZ.js → useUnincorporatedPartnershipMembers-BFoyyohQ.js} +4 -4
- package/dist/{useUpdateBusinessLines-BWk0eCVS.js → useUpdateBusinessLines-Ca6VPudz.js} +20 -17
- package/dist/{useUpdateLegalEntity-DJomQK33.js → useUpdateLegalEntity-CV9zKmhh.js} +4 -3
- package/dist/{utils-DkGVdk7W.js → utils-9A5Vx0Md.js} +25 -21
- package/dist/{utils-B5nzpIMU.js → utils-DJ11eWHJ.js} +6 -6
- package/dist/{utils-Cm0vPCdA.js → utils-DW7BsBmK.js} +1 -1
- package/dist/{utils-DtmnCXcG.js → utils-DkD_AO7r.js} +2 -2
- package/dist/{utils-CANy0Arr.js → utils-kwRyi0uY.js} +2 -2
- package/dist/{validate-DUJOPfMa.js → validate-BjjltZlf.js} +2 -2
- package/dist/{validate-D5t_i90f.js → validate-CDvp3PSV.js} +4 -3
- package/dist/{validationError-BkGOdtDT.js → validationError-BSalUIny.js} +3 -3
- package/package.json +56 -49
- package/dist/Card-BSfGetza.js +0 -82
- package/dist/EntityAssociation-Bl1NeRHI.js +0 -159
- package/dist/ManageIndividualComponent-C7zwlJuO.js +0 -46
- package/dist/hasDataChanged-DzGl3k7N.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-D5FOVv9p.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-Druuv3sE.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-Ca6VPudz.js";
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-7UjLuyeC.js";
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-CY5gBg6O.js";
|
|
18
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-DGERpLQI.js";
|
|
19
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D59ldyqp.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-B3D5YMQv.js";
|
|
21
|
+
import { I as Image, u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-D2r8auP6.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-v4P9Y5kQ.js";
|
|
24
|
+
import { H as Header } from "./Header-DVxe8YCk.js";
|
|
25
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BUyxO4Zy.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-DBN0bHrR.js";
|
|
28
|
+
import { F as Field } from "./Field-QQ5BBCkn.js";
|
|
29
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-DjqZRXyy.js";
|
|
30
|
+
import { I as InputText } from "./InputText-V4X24bPM.js";
|
|
31
|
+
import { SignPCIComponent } from "./SignPCIComponent-Kf3AvaVB.js";
|
|
32
|
+
import { A as Avatar } from "./Avatar-C2jFofpv.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-s00fWIPD.js";
|
|
37
38
|
import { lazy } from "preact/compat";
|
|
38
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
39
|
+
import { L as LandingLayout } from "./LandingLayout-DZt1EtCP.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-BOjfMtNh.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-DvCDgyAD.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-CvQ2742R.js → RootIndividualDetailsPage-DCBlFXBW.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-D5FOVv9p.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-HK_0jjJH.js";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-D2r8auP6.js";
|
|
13
|
+
import { h as filterProblemsByTaskForms, m as getTrustedFieldsProvider, n as getTrustedFields } from "./OnboardingDropinComponent-Druuv3sE.js";
|
|
14
|
+
import { I as IndividualOnfidoDropin, i as individualOnfidoForms } from "./IndividualDropin-Ou29J7Dx.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-DjqZRXyy.js";
|
|
15
|
+
import { P as useAnalyticsContext, L as Loader, ab as noop, x as Typography, z as createLogger, u as useTranslation } from "./StoreProvider-D5FOVv9p.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-DBN0bHrR.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-D5FOVv9p.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-Druuv3sE.js";
|
|
14
|
+
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
15
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CY5gBg6O.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-DAmEe4LX.js";
|
|
17
|
+
import { E as EndStateLayout } from "./EndStateLayout-DhaJTPGG.js";
|
|
18
|
+
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
19
|
+
import { C as Checkbox } from "./Checkbox-DBN0bHrR.js";
|
|
20
|
+
import { F as Field } from "./Field-QQ5BBCkn.js";
|
|
21
|
+
import { S as Select } from "./Select-mBoYJnAZ.js";
|
|
22
|
+
import { u as useForm } from "./useForm-C6Y--Xun.js";
|
|
21
23
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
22
|
-
import { C as Card } from "./Card-BSfGetza.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-D5FOVv9p.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-D5FOVv9p.js";
|
|
14
|
+
import { F as Field } from "./Field-QQ5BBCkn.js";
|
|
15
|
+
import { I as Image } from "./Image-D2r8auP6.js";
|
|
16
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-pMlnbEEB.js";
|
|
17
|
+
import { u as useForm } from "./useForm-C6Y--Xun.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-D5FOVv9p.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-D2r8auP6.js";
|
|
14
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-nW3yfjoJ.js";
|
|
14
15
|
function SoleProprietorshipPage({
|
|
15
16
|
solePropId,
|
|
16
17
|
onSubmit,
|