@adyen/kyc-components 4.26.0-beta.1 → 4.27.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceWorkflow-Dqbo6l6E.js → AcceptTermsOfServiceWorkflow-CLxIT19W.js} +4 -4
- package/dist/{Accordion-BAdwrgCR.js → Accordion-CTQfC17W.js} +1 -1
- package/dist/{AccountSetupRejected-BiFdVnlI.js → AccountSetupRejected-Cuu1cHgb.js} +2 -2
- package/dist/{AdaptiveWorkflow-Cl6sIKYm.js → AdaptiveWorkflow-Du4hN8Ry.js} +22 -22
- package/dist/{AdaptiveWorkflowComponent-DTvjszP9.js → AdaptiveWorkflowComponent-CoOpFWm7.js} +5 -5
- package/dist/{AddressFields-DSJ_dDIS.js → AddressFields-Dzoa4PU5.js} +33 -72
- package/dist/{Avatar-C2zeqSSB.js → Avatar-yJfk9A6l.js} +1 -1
- package/dist/{BusinessFinancingDropin-BZsQMeo9.js → BusinessFinancingDropin-DP6b5D85.js} +123 -55
- package/dist/{BusinessFinancingPage-BilT7QB1.js → BusinessFinancingPage-BIGEXFdp.js} +6 -6
- package/dist/{BusinessRegistrationNumberField-CBEz-yoj.js → BusinessRegistrationNumberField-B2n9ugLK.js} +6 -6
- package/dist/{BusinessRegistrationNumberFieldGroup-CkoC1zF3.js → BusinessRegistrationNumberFieldGroup-BvKp9WMt.js} +6 -6
- package/dist/{BusinessTypeSelectionPage-CIO175KD.js → BusinessTypeSelectionPage-xRXq2lGM.js} +13 -13
- package/dist/{Button-Dwr6jvJZ.js → Button-BYafPrZH.js} +1 -1
- package/dist/{Checkbox-CpzEl3ji.js → Checkbox-qFA2J_1r.js} +8 -8
- package/dist/{ComponentGroup-BjjCPKWY.js → ComponentGroup-CyykPP2r.js} +3 -3
- package/dist/{ConstitutionalDocument-C_ZgPp87.js → ConstitutionalDocument-DzLLKoWV.js} +19 -26
- package/dist/{ContactDetails-DHHlpdct.js → ContactDetails-CcWafw_y.js} +5 -5
- package/dist/{ContextGuidance-SHSxyen7.js → ContextGuidance-gAsOnDqD.js} +3 -3
- package/dist/{CountryField-DUANNyWK.js → CountryField-Dxuy2L9C.js} +4 -4
- package/dist/{Currency-DFgCZFeZ.js → Currency-CAEcQwe6.js} +16 -10
- package/dist/{CustomerSupport-8Gp9EPcW.js → CustomerSupport-C1nrEyEr.js} +29 -16
- package/dist/{DateField-DfkL_Acw.js → DateField-D8GSp5fV.js} +4 -4
- package/dist/{DebugModal-DrmTRJup.js → DebugModal-Bwhnd1v5.js} +10 -10
- package/dist/{DecisionMakerDetails-DSuWWQR3.js → DecisionMakerDetails-DHsxYfa3.js} +79 -174
- package/dist/{DecisionMakerDetailsPage-DvaF8JWQ.js → DecisionMakerDetailsPage-DoisZYll.js} +9 -9
- package/dist/{DecisionMakers-HjFvfukQ.js → DecisionMakers-BD5J47Zs.js} +17 -18
- package/dist/{Dropzone-CM9xNqdS.js → Dropzone-CTz4GiZE.js} +7 -7
- package/dist/{EmailField-CIMaH5h8.js → EmailField-DoEYalIM.js} +4 -4
- package/dist/{EmbeddedStatus-4YjyzkcD.js → EmbeddedStatus-mdQsQfof.js} +2 -2
- package/dist/{EndStateLayout-C5Pqler-.js → EndStateLayout-B-M90Rnh.js} +2 -2
- package/dist/{EntityAssociation-mOKgAoTo.js → EntityAssociation-aB7bppFQ.js} +6 -6
- package/dist/{ErrorPanel-MWL7vQHx.js → ErrorPanel-CuoQueZk.js} +10 -17
- package/dist/{GlobalEntryModal-CLTA41r-.js → GlobalEntryModal-ZuajLl8B.js} +439 -298
- package/dist/{GlobalEntryPage-CxXk05KE.js → GlobalEntryPage-WrN5mVJe.js} +7 -8
- package/dist/{Icon-_YUEZg1p.js → Icon-jVvV1zXc.js} +1 -1
- package/dist/{IdentityNumber-DA8DOgxH.js → IdentityNumber-IDvVA7_z.js} +5 -5
- package/dist/{IdentityNumberFieldGroup-D4MTWr-z.js → IdentityNumberFieldGroup-CW8lJ6_d.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-DfI-6mXR.js → IdentityScreeningWorkflow-TfHCTDlp.js} +12 -13
- package/dist/{IndividualDropin-B70zK0AA.js → IndividualDropin-MpaDWh9N.js} +147 -223
- package/dist/{IndustryCodeFieldGroup-CHPfvz-_.js → IndustryCodeFieldGroup-DsJF3GOE.js} +5 -5
- package/dist/{InputDate-BSxqqg_B.js → InputDate-Bmx3_p-j.js} +8 -4
- package/dist/{InputText-DIesIpnW.js → InputText-CGngUMdf.js} +2 -2
- package/dist/{Introduction--U4NyUxq.js → Introduction-Dt8pjcxt.js} +6 -6
- package/dist/{InvitedDecisionMakerComponent-DIBX_HRF.js → InvitedDecisionMakerComponent-1oXTODfv.js} +13 -14
- package/dist/{JpAddressFields-OgKOVHI0.js → JpAddressFields-DhzFwu0N.js} +9 -10
- package/dist/{LegalCompanyNameField-wgWJRR84.js → LegalCompanyNameField-BsY3tJfX.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BFtn7wzQ.js → LegalRepresentativeDetailsPage-C50GRV2l.js} +4 -4
- package/dist/{Link-D0Yqc2r0.js → Link-DwPkGikd.js} +1 -1
- package/dist/{ListItem-DY-qq1lS.js → ListItem-n927geYb.js} +2 -2
- package/dist/{Modal-C-T-spfu.js → Modal-ChWNV9yG.js} +3 -3
- package/dist/{Name-C8NOxqDE.js → Name-C8hhvQlN.js} +4 -4
- package/dist/{NumberField-CUGWeVc9.js → NumberField-C7vHy7Yz.js} +4 -4
- package/dist/{PatriotActDisclosure-CWcGyfuA.js → PatriotActDisclosure-CAvpE8su.js} +10 -10
- package/dist/{PayoutDetailsDropin-CZT8xUPC.js → PayoutDetailsDropin-ILM3oK4r.js} +41 -43
- package/dist/{PayoutDetailsPage-C54-v6yl.js → PayoutDetailsPage-DfZYYplh.js} +5 -5
- package/dist/{Review-CYIwvp62.js → Review-D_I4FUVw.js} +6 -6
- package/dist/{RootBusinessDetailsPage-CI8iAty4.js → RootBusinessDetailsPage-CoOUMflT.js} +4 -4
- package/dist/{RootBusinessLinesPage-ZPaIqKwi.js → RootBusinessLinesPage-DYz9wrU_.js} +22 -23
- package/dist/{RootIndividualDetailsPage-ApOJRs0B.js → RootIndividualDetailsPage-C42YybJq.js} +6 -6
- package/dist/{Select-DwuMMZWv.js → Select-BMGxcmZy.js} +92 -92
- package/dist/{SignPCIComponent-B4D4nPDO.js → SignPCIComponent-B4RkNT1l.js} +14 -14
- package/dist/{SingpassSelection-vy5Stz5H.js → SingpassSelection-Usq1Kdpp.js} +5 -5
- package/dist/{SoleProprietorshipPage-dyEpmmk3.js → SoleProprietorshipPage-tEf2zwhT.js} +4 -4
- package/dist/{SourceOfFundsPage-DgCWI7Ac.js → SourceOfFundsPage-BXG5weCA.js} +24 -24
- package/dist/{SourceOfFundsWorkflow-CdOOLWqA.js → SourceOfFundsWorkflow-BWWLrVaR.js} +4 -4
- package/dist/StateField-TYw5No81.js +364 -0
- package/dist/{Step-Cqaytd3J.js → Step-D8w1jd5O.js} +5 -5
- package/dist/Summary-BwvaKucT.js +21 -0
- package/dist/{SummarySection-BVPfXtuP.js → SummarySection-5L--khYg.js} +5 -19
- package/dist/{Task-CegWZQgV.js → Task-dSDYu-xr.js} +7 -7
- package/dist/{TaskGroup-BqSUUr1i.js → TaskGroup-298zewpP.js} +3 -3
- package/dist/{TaskListItem-CvYgXREa.js → TaskListItem-jRIQ_fJt.js} +10 -10
- package/dist/{TaskStepperContextProvider-9wlnwii7.js → TaskStepperContextProvider-DiMf4UV6.js} +1 -1
- package/dist/{TaskVerificationStatus-zoxTZ2mt.js → TaskVerificationStatus-C1CllzL1.js} +17 -17
- package/dist/{TaxInformationFieldGroup-lT5OgO75.js → TaxInformationFieldGroup-BkyZwtUe.js} +7 -7
- package/dist/{TaxReportingDropin-C9jUzNzP.js → TaxReportingDropin-BVohPujf.js} +13 -15
- package/dist/{TaxReportingWorkflow-C3qyl3rW.js → TaxReportingWorkflow-BdVibdaP.js} +4 -4
- package/dist/{TermsOfServiceManagement-DfFV6erX.js → TermsOfServiceManagement-Bh0BJ4wb.js} +46 -43
- package/dist/{TextArea-CQIt_2VI.js → TextArea-BaoeEZvH.js} +4 -4
- package/dist/{TextField-C8CRipRJ.js → TextField-BWevK7LS.js} +5 -5
- package/dist/{TrustDetailsPage-Ax5uaglT.js → TrustDetailsPage-B5x1-NPO.js} +61 -54
- package/dist/{TrustMemberCompanyPage-DBxTZo-8.js → TrustMemberCompanyPage-Ck2UKJma.js} +5 -5
- package/dist/{TrustMemberIndividualPage-DFhWDN3f.js → TrustMemberIndividualPage-CTUh7yn9.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-Bdoyd1ix.js → TrustMemberRoleAndTypePage-D5_AZAMj.js} +43 -36
- package/dist/{TrustMembersOverview-BCdJRHAn.js → TrustMembersOverview-Dbt3KQhv.js} +13 -13
- package/dist/{UboTaskItem-DIIoWLbx.js → UboTaskItem-CV0B4ONJ.js} +7 -7
- package/dist/{UnincorporatedPartnershipIndividualPage-B20wDAzH.js → UnincorporatedPartnershipIndividualPage-g9PpNHfH.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DvcQYNzd.js → UnincorporatedPartnershipMemberCompanyPage-Chd2k8jM.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dx1pRB4b.js → UnincorporatedPartnershipMemberRoleAndTypePage-C7AvOkFK.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-C0cRXnsL.js → UnincorporatedPartnershipMembersOverview-m3TgX08K.js} +6 -6
- package/dist/{VerificationErrorAlert-D0K9gep-.js → VerificationErrorAlert-yOZ8yz_8.js} +3 -3
- package/dist/{WebsiteField-Bgf9bYOR.js → WebsiteField-Cn_VPhTx.js} +5 -5
- package/dist/{Workflow-DxRS9IMd.js → Workflow-BUgUDsPv.js} +6 -6
- package/dist/{accountHolderUtils-QdO9D_A_.js → accountHolderUtils-DhbLva46.js} +1 -1
- package/dist/adyen-business-financing.js +7 -7
- package/dist/adyen-individual-configuration.js +6 -6
- package/dist/adyen-individual-status.js +5 -5
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +30 -30
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +5 -5
- package/dist/adyen-transfer-instrument-management.js +13 -13
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-CW20t7tP.js → bafinUtils-4C7AJpnd.js} +519 -531
- package/dist/{constants-DR4IoRWH.js → constants-dKwpavyU.js} +6 -6
- package/dist/{dropinUtils-C0hhy3A9.js → dropinUtils-D7sD4BX1.js} +165 -364
- package/dist/en-US-8KLaHQaT.js +7 -0
- package/dist/{en-US-Cz4JoU20.js → en-US-BMMx67Za.js} +16 -2
- package/dist/{en-US-nYL_eSJ-.js → en-US-BfRvYdHX.js} +8 -2
- package/dist/en-US-DGdFfmUC.js +136 -0
- package/dist/{en-US.instructions-BVNIyLRs.js → en-US.instructions-myDXMUbk.js} +2 -1
- package/dist/{error-m4DJ8d3r.js → error-vhREufv_.js} +2 -2
- package/dist/formatDataForSummary-CNiewg8c.js +498 -0
- package/dist/{formatValidationError-CwtW9tMt.js → formatValidationError-BO9k5bVJ.js} +2 -2
- package/dist/{getDefaultRegistrationNumberType-CVVuCd8E.js → getDefaultRegistrationNumberType-BWN86JDR.js} +4 -4
- package/dist/{getProblemsForEntity-mdb3Bfpj.js → getProblemsForEntity-FHk416BA.js} +1 -1
- package/dist/{getTrustedDecisionMakers-D89oYOLp.js → getTrustedDecisionMakers-DByctgob.js} +1 -1
- package/dist/{getValidationError-RnMEkCKd.js → getValidationError--VxsluPA.js} +2 -2
- package/dist/{legalArrangementUtils-Crgt_L7h.js → legalArrangementUtils-CHlmmcB8.js} +11 -2
- package/dist/{mapAddressLocalizationToJpAddressSchema-Dpsnbt5H.js → mapAddressLocalizationToJpAddressSchema-Di3_rcrj.js} +2 -2
- package/dist/{mapExistingFile-BXfeQxev.js → mapExistingFile-CqbTLZ6i.js} +1 -1
- package/dist/mapJpAddressSchemaToAddressLocalizations-TLZ9foPF.js +19 -0
- package/dist/{mapTransferInstrumentToPayoutAccount-6aBAKF7U.js → mapTransferInstrumentToPayoutAccount-BLq2P8NF.js} +2 -2
- package/dist/{processCapabilities-FL4-KAbd.js → processCapabilities-B75YIdXZ.js} +11 -4
- package/dist/{processValidationErrors-CcgBvwPJ.js → processValidationErrors-DKn7wWTY.js} +4 -4
- package/dist/{resolveEnvironment-DwfwgVEU.js → resolveEnvironment-CrNBwIpQ.js} +53 -16
- package/dist/roleMetadata-CmxqSnzp.js +57 -0
- package/dist/style.css +166 -230
- package/dist/styles-DYaAeu4q.js +166 -230
- package/dist/trustMemberType-Ix2sf6e_.js +13 -0
- package/dist/types/api/address/useAddressCleanse.d.ts +2 -0
- package/dist/types/api/address/useRetrieveAddress.d.ts +1 -0
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +1 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +7 -2
- package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +3 -1
- package/dist/types/components/Business/utils/formatDataForSummary.d.ts +2 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +78 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +3 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +2 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +6 -3
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/DbaQuestionnaire/DbaQuestionnaire.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/DbaQuestionnaire/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/fields/LlcQuestionnaire/LlcQuestionnaire.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/LlcQuestionnaire/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.d.ts +1 -6
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/fieldConfig.d.ts +11 -0
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/types.d.ts +6 -1
- package/dist/types/components/GlobalEntry/fields/Questionnaire/Questionnaire.d.ts +2 -0
- package/dist/types/components/GlobalEntry/fields/Questionnaire/types.d.ts +17 -0
- package/dist/types/components/GlobalEntry/fields/TrustQuestionnaire/TrustQuestionnaire.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/TrustQuestionnaire/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/forms/EntityInformation/EntityInformation.d.ts +1 -3
- package/dist/types/components/GlobalEntry/forms/EntityInformation/types.d.ts +1 -2
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/types.d.ts +5 -1
- package/dist/types/components/GlobalEntry/mapping/globalEntryKeyMapping.d.ts +0 -3
- package/dist/types/components/GlobalEntry/mapping/mapGlobalEntrySchemaToLegalEntity.d.ts +2 -3
- package/dist/types/components/GlobalEntry/mapping/mapLegalEntityToGlobalEntrySchema.d.ts +1 -6
- package/dist/types/components/GlobalEntry/rules.d.ts +5 -2
- package/dist/types/components/GlobalEntry/utils/getAvailableCompanyStructures.d.ts +2 -1
- package/dist/types/components/GlobalEntry/utils/submitGlobalEntry.d.ts +1 -4
- package/dist/types/components/GlobalEntry/utils/utils.d.ts +7 -4
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +1 -2
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +7 -6
- package/dist/types/components/Individual/helpers/findRelevantTaxInformation.d.ts +8 -2
- package/dist/types/components/Individual/helpers/getSubmittableTaxInformation.d.ts +20 -0
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +5 -3
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +6 -67
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualSummary.d.ts +27 -0
- package/dist/types/components/Individual/utils/formatDataForSummary.d.ts +49 -0
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +0 -5
- package/dist/types/components/Shared/Summary/Summary.d.ts +10 -7
- package/dist/types/components/Shared/Summary/types.d.ts +3 -21
- package/dist/types/components/Shared/SummarySection/SummaryBulletList.d.ts +8 -0
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/types.d.ts +2 -0
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +2 -4
- package/dist/types/components/Shared/fields/ReportedValueOptionField/types.d.ts +3 -0
- package/dist/types/components/Shared/forms/Address/constants.d.ts +2 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/JpAddressFields.d.ts +2 -9
- package/dist/types/components/Shared/forms/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +2 -4
- package/dist/types/components/Shared/forms/Address/rules.d.ts +13 -0
- package/dist/types/components/Shared/forms/Address/types.d.ts +7 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +5 -11
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +3 -1
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +2 -3
- package/dist/types/components/Trust/utils/formatDataForSummary.d.ts +2 -1
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +4 -1
- package/dist/types/core/EmbedShell/useTheme.d.ts +9 -0
- package/dist/types/embeds/onboarding/adyen-onboarding.d.ts +1 -1
- package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +8 -0
- package/dist/types/hooks/useStoredStateOrProvince.d.ts +9 -0
- package/dist/types/types/datasets/state-code.d.ts +36 -1
- package/dist/types/types/form-rules.d.ts +2 -2
- package/dist/types/utils/analytics/getPrefilledDetails.d.ts +3 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +1 -1
- package/dist/types/utils/legalArrangementUtils.d.ts +2 -0
- package/dist/{types-BymnGWO9.js → types-DVMWWwBT.js} +1 -1
- package/dist/{form-rules-DaLzvm8o.js → unincorporatedPartnership-Dr3lPgDv.js} +38 -4
- package/dist/{useBusinessDetailsData-D1DJeC90.js → useBusinessDetailsData-DrN9ZzIG.js} +100 -90
- package/dist/{useCanSeeIntroduction-CvLOidr8.js → useCanSeeIntroduction-BDarBkmx.js} +2 -2
- package/dist/useCreateLegalEntity-CgzVD39K.js +24 -0
- package/dist/{useDataMissingRemediations-DKjYzfe2.js → useDataMissingRemediations-BfC7ECSn.js} +1 -1
- package/dist/{useForm-B5MdX_HU.js → useForm-Cibudto5.js} +3 -3
- package/dist/{useHideTaskStepper-BgCN--mG.js → useHideTaskStepper-Betx9MGy.js} +1 -1
- package/dist/{useId-DbtfzzaE.js → useId-e2xn6OME.js} +2 -2
- package/dist/{useNavigate-uuRpGZuZ.js → useNavigate-DxEfo192.js} +33 -33
- package/dist/{useSalesChannels-XZRfoa6v.js → useSalesChannels-C09EqYFN.js} +1 -1
- package/dist/{useTaskLandedEvent-DzsLZguJ.js → useTaskLandedEvent-C-kML6lH.js} +1 -1
- package/dist/{useTrustMembers-xuXOS0a8.js → useTrustMembers-CZ28rgNA.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-DcfQJdVZ.js → useUnincorporatedPartnershipMembers-e3nDscEc.js} +2 -2
- package/dist/{utils-BD22komZ.js → utils-C3-aLHsN.js} +3 -3
- package/dist/{utils-CtCqc_ym.js → utils-C_z60qSD.js} +4 -5
- package/dist/{utils-BFxg3gPM.js → utils-ChZNfG5_.js} +1 -1
- package/dist/utils-gszwUnoh.js +49 -0
- package/dist/{validate-mbqt6wsS.js → validate-BDG97Hw4.js} +4 -4
- package/dist/{validate-r2j-Yc-q.js → validate-C1VibHZH.js} +26 -2
- package/dist/{validate-DNq64o-B.js → validate-Dve-kxSi.js} +11 -5
- package/dist/{validate-83HsNk18.js → validate-bah41KLb.js} +20 -9
- package/dist/{validateExtractionResult-IRRMwcNi.js → validateExtractionResult-D3AuQo5-.js} +3 -3
- package/package.json +6 -5
- package/dist/Image-CxnjHtP1.js +0 -33
- package/dist/List-qvNxW9lm.js +0 -72
- package/dist/StateField-BMyu6YZZ.js +0 -296
- package/dist/en-US-U0d3NI20.js +0 -7
- package/dist/mapJpAddressSchemaToAddressLocalizations-CAoOxUg9.js +0 -75
- package/dist/mapLegalEntityToIndividualSchema-Bl89JIZK.js +0 -254
- package/dist/trustMemberGuidance-BpeDHAJP.js +0 -27
- package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +0 -10
- package/dist/types/components/Shared/Summary/summaryItem.d.ts +0 -17
- package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +0 -17
- package/dist/unincorporatedPartnership-BbNowjM2.js +0 -11
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
try {
|
|
2
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "49f118c8-764b-424e-a283-f611f223bb34", e._sentryDebugIdIdentifier = "sentry-dbid-49f118c8-764b-424e-a283-f611f223bb34");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { V as summaryItem } from "./dropinUtils-C0hhy3A9.js";
|
|
6
|
-
import { G as mapSchemaFieldsToApiScriptLocalization, U as isEmpty } from "./bafinUtils-CW20t7tP.js";
|
|
7
|
-
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
8
|
-
//#region src/components/Shared/forms/Address/localized/jp/jpAddressSchema.ts
|
|
9
|
-
var JP_ADDRESS_REQUIRED_FIELDS = [
|
|
10
|
-
"postalCode",
|
|
11
|
-
"street2FullWidth",
|
|
12
|
-
"street2",
|
|
13
|
-
"jaHaniStateOrProvince",
|
|
14
|
-
"jaHaniCity",
|
|
15
|
-
"jaKanaStateOrProvince",
|
|
16
|
-
"jaKanaCity",
|
|
17
|
-
"stateOrProvince",
|
|
18
|
-
"city"
|
|
19
|
-
];
|
|
20
|
-
//#endregion
|
|
21
|
-
//#region src/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.tsx
|
|
22
|
-
var mapJpAddressSummary = (data, datasetUtils) => {
|
|
23
|
-
if (!data) return {};
|
|
24
|
-
return {
|
|
25
|
-
country: datasetUtils.getCountryName("JP") ?? "JP",
|
|
26
|
-
postalCode: summaryItem("postalCode", data.postalCode),
|
|
27
|
-
stateOrProvince: summaryItem("prefecture", /* @__PURE__ */ jsxs("div", { children: [
|
|
28
|
-
/* @__PURE__ */ jsx("p", { children: data.jaHaniStateOrProvince }),
|
|
29
|
-
/* @__PURE__ */ jsx("p", { children: data.jaKanaStateOrProvince }),
|
|
30
|
-
/* @__PURE__ */ jsx("p", { children: data.stateOrProvince })
|
|
31
|
-
] })),
|
|
32
|
-
city: summaryItem("districtTownAreaCityWard", /* @__PURE__ */ jsxs("div", { children: [
|
|
33
|
-
/* @__PURE__ */ jsx("p", { children: data.jaHaniCity }),
|
|
34
|
-
/* @__PURE__ */ jsx("p", { children: data.jaKanaCity }),
|
|
35
|
-
/* @__PURE__ */ jsx("p", { children: data.city })
|
|
36
|
-
] })),
|
|
37
|
-
street2: summaryItem("chomeAndBanchi", data.street2),
|
|
38
|
-
street: summaryItem("buildingNameFloorRoomNumberEtc", /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("p", { children: data.jaHaniStreet }), /* @__PURE__ */ jsx("p", { children: data.street })] }))
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Stacks the scripts a field was given in, skipping the ones it was not. Returns nothing when the
|
|
43
|
-
* field is empty in every script, so the caller can leave the row out rather than render a label
|
|
44
|
-
* with nothing beside it.
|
|
45
|
-
*/
|
|
46
|
-
var mapScriptsToDetails = (...values) => {
|
|
47
|
-
const scripts = values.filter((value) => !isEmpty(value));
|
|
48
|
-
if (!scripts.length) return void 0;
|
|
49
|
-
return /* @__PURE__ */ jsx("div", { children: scripts.map((script) => /* @__PURE__ */ jsx("p", { children: script }, script)) });
|
|
50
|
-
};
|
|
51
|
-
var mapJpAddressSummaryNewSummary = (data, datasetUtils) => {
|
|
52
|
-
if (!data) return {};
|
|
53
|
-
return {
|
|
54
|
-
country: datasetUtils.getCountryName("JP") ?? "JP",
|
|
55
|
-
postalCode: data.postalCode,
|
|
56
|
-
prefecture: mapScriptsToDetails(data.jaHaniStateOrProvince, data.jaKanaStateOrProvince, data.stateOrProvince),
|
|
57
|
-
districtTownAreaCityWard: mapScriptsToDetails(data.jaHaniCity, data.jaKanaCity, data.city),
|
|
58
|
-
chomeAndBanchi: data.street2,
|
|
59
|
-
buildingNameFloorRoomNumberEtc: mapScriptsToDetails(data.jaHaniStreet, data.street)
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
//#endregion
|
|
63
|
-
//#region src/components/Shared/forms/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.ts
|
|
64
|
-
var mapJpAddressSchemaToAddressLocalizations = (data) => {
|
|
65
|
-
if (!data) return [];
|
|
66
|
-
return [mapSchemaFieldsToApiScriptLocalization(data, "jaHani"), mapSchemaFieldsToApiScriptLocalization(data, "jaKana")].filter(({ fields }) => !isEmpty(fields)).map(({ script, fields }) => ({
|
|
67
|
-
script,
|
|
68
|
-
fields: {
|
|
69
|
-
city: fields.city,
|
|
70
|
-
..."street" in fields ? { street: fields.street } : void 0
|
|
71
|
-
}
|
|
72
|
-
}));
|
|
73
|
-
};
|
|
74
|
-
//#endregion
|
|
75
|
-
export { JP_ADDRESS_REQUIRED_FIELDS as i, mapJpAddressSummary as n, mapJpAddressSummaryNewSummary as r, mapJpAddressSchemaToAddressLocalizations as t };
|
|
@@ -1,254 +0,0 @@
|
|
|
1
|
-
try {
|
|
2
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cef479f6-6aad-4e77-9efc-b0f774217154", e._sentryDebugIdIdentifier = "sentry-dbid-cef479f6-6aad-4e77-9efc-b0f774217154");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
7
|
-
import { t as Button } from "./Button-Dwr6jvJZ.js";
|
|
8
|
-
import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
9
|
-
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
10
|
-
import { c as individualBaseMapping, y as reverseMapping } from "./processCapabilities-FL4-KAbd.js";
|
|
11
|
-
import { o as getNomineeFromAssociation } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
12
|
-
import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
|
|
13
|
-
import { i as useAnalyticsContext } from "./Modal-C-T-spfu.js";
|
|
14
|
-
import { r as Field } from "./Select-DwuMMZWv.js";
|
|
15
|
-
import { r as formatObject } from "./utils-BD22komZ.js";
|
|
16
|
-
import { T as TileGroup, W as mapApiScriptLocalizationToSchemaFields } from "./bafinUtils-CW20t7tP.js";
|
|
17
|
-
import { s as isIdDocumentType } from "./documentUtils-6K3LdjjN.js";
|
|
18
|
-
import { t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-Dpsnbt5H.js";
|
|
19
|
-
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
20
|
-
import { signal } from "@preact/signals";
|
|
21
|
-
import { useMutation } from "@tanstack/preact-query";
|
|
22
|
-
//#region src/api/invitations/useCreateInvitation.ts
|
|
23
|
-
var createInvitation = async (baseUrl, organizationLegalEntityId, inviteeLegalEntityId, data) => {
|
|
24
|
-
return httpPost({
|
|
25
|
-
baseUrl,
|
|
26
|
-
path: `legalEntities/${organizationLegalEntityId}/invitations/associations/${inviteeLegalEntityId}`
|
|
27
|
-
}, data);
|
|
28
|
-
};
|
|
29
|
-
var useCreateInvitation = (options) => {
|
|
30
|
-
const { baseUrl } = useApiContext();
|
|
31
|
-
return useMutation({
|
|
32
|
-
mutationFn: ({ organizationLegalEntityId, inviteeLegalEntityId, data }) => {
|
|
33
|
-
return createInvitation(baseUrl.value, organizationLegalEntityId, inviteeLegalEntityId, data);
|
|
34
|
-
},
|
|
35
|
-
...options
|
|
36
|
-
});
|
|
37
|
-
};
|
|
38
|
-
//#endregion
|
|
39
|
-
//#region src/stores/formState.ts
|
|
40
|
-
var individualFormDefaultData = signal(null);
|
|
41
|
-
var shouldNavigateToAdditionalPersonalDetailsForMissingData = signal(false);
|
|
42
|
-
var GuidanceQuestion_module_default = {
|
|
43
|
-
"guidance-question": "_guidance-question_e0c6m_1",
|
|
44
|
-
guidanceQuestion: "_guidance-question_e0c6m_1",
|
|
45
|
-
options: "_options_e0c6m_5"
|
|
46
|
-
};
|
|
47
|
-
//#endregion
|
|
48
|
-
//#region src/components/Individual/forms/GuidanceQuestion/GuidanceQuestion.tsx
|
|
49
|
-
var GuidanceQuestionValues = {
|
|
50
|
-
YES: "Yes",
|
|
51
|
-
NO: "No"
|
|
52
|
-
};
|
|
53
|
-
var GuidanceQuestion = (props) => {
|
|
54
|
-
const { descriptionLinkText, errorMessage, name, noLabel, onChange, onDescriptionLinkClick, question, value, yesLabel } = props;
|
|
55
|
-
const { t } = useTranslation("common");
|
|
56
|
-
const userEvents = useAnalyticsContext();
|
|
57
|
-
const handleChange = (selectedValue) => {
|
|
58
|
-
userEvents.addFieldEvent("Interacted with form field", {
|
|
59
|
-
actionType: "select",
|
|
60
|
-
field: name,
|
|
61
|
-
returnValue: selectedValue
|
|
62
|
-
});
|
|
63
|
-
onChange(selectedValue || null);
|
|
64
|
-
};
|
|
65
|
-
const yesTileLabel = yesLabel ?? t(($) => $["yes"]);
|
|
66
|
-
const noTileLabel = noLabel ?? t(($) => $["no"]);
|
|
67
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
68
|
-
className: GuidanceQuestion_module_default.guidanceQuestion,
|
|
69
|
-
children: [
|
|
70
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
71
|
-
variant: "body",
|
|
72
|
-
el: "p",
|
|
73
|
-
id: `${name}-question`,
|
|
74
|
-
children: question
|
|
75
|
-
}),
|
|
76
|
-
descriptionLinkText && onDescriptionLinkClick && /* @__PURE__ */ jsx(Button, {
|
|
77
|
-
variant: "link",
|
|
78
|
-
onClick: onDescriptionLinkClick,
|
|
79
|
-
children: descriptionLinkText
|
|
80
|
-
}),
|
|
81
|
-
/* @__PURE__ */ jsx("div", {
|
|
82
|
-
role: "group",
|
|
83
|
-
"aria-labelledby": `${name}-question`,
|
|
84
|
-
children: /* @__PURE__ */ jsx(Field, {
|
|
85
|
-
name,
|
|
86
|
-
className: GuidanceQuestion_module_default.options,
|
|
87
|
-
children: () => /* @__PURE__ */ jsx(TileGroup, {
|
|
88
|
-
allowMultiple: false,
|
|
89
|
-
errorMessage,
|
|
90
|
-
isHorizontal: true,
|
|
91
|
-
maxSelected: 1,
|
|
92
|
-
name,
|
|
93
|
-
onChange: handleChange,
|
|
94
|
-
selected: value || "",
|
|
95
|
-
tiles: [{
|
|
96
|
-
label: yesTileLabel,
|
|
97
|
-
value: GuidanceQuestionValues.YES
|
|
98
|
-
}, {
|
|
99
|
-
label: noTileLabel,
|
|
100
|
-
value: GuidanceQuestionValues.NO
|
|
101
|
-
}]
|
|
102
|
-
})
|
|
103
|
-
})
|
|
104
|
-
})
|
|
105
|
-
]
|
|
106
|
-
});
|
|
107
|
-
};
|
|
108
|
-
//#endregion
|
|
109
|
-
//#region src/components/Individual/helpers/findRelevantTaxInformation.ts
|
|
110
|
-
var hasType = (taxId) => Boolean(taxId.type);
|
|
111
|
-
/**
|
|
112
|
-
* Picks the single tax record to show in the summary.
|
|
113
|
-
*
|
|
114
|
-
* An individual can hold tax information for several countries, but the summary lists only one:
|
|
115
|
-
* the record matching their nationality, falling back to the one matching their country of
|
|
116
|
-
* residence. When neither matches, the caller keeps the full list rather than guessing.
|
|
117
|
-
*
|
|
118
|
-
* Records without a `type` are skipped: the summary keys each record by its type, so a typeless
|
|
119
|
-
* record would produce a literal `undefined` label. Falling through to the country match, or
|
|
120
|
-
* keeping the full list, is more useful than emitting that key.
|
|
121
|
-
*
|
|
122
|
-
* @param taxInformation - Every tax record captured for the individual.
|
|
123
|
-
* @param match - The nationality and country of residence to match against, in that order.
|
|
124
|
-
* @returns The matching record, or `undefined` when no typed record matches either country.
|
|
125
|
-
*/
|
|
126
|
-
var findRelevantTaxInformation = (taxInformation, match) => {
|
|
127
|
-
const keyable = taxInformation?.filter(hasType);
|
|
128
|
-
return keyable?.find((taxId) => taxId.country === match.nationality) ?? keyable?.find((taxId) => taxId.country === match.country);
|
|
129
|
-
};
|
|
130
|
-
//#endregion
|
|
131
|
-
//#region src/components/Individual/helpers/isManualVerificationOrExistingDoc.ts
|
|
132
|
-
/**
|
|
133
|
-
* Checks whether the ID verification method relies on a document the user supplies themselves,
|
|
134
|
-
* rather than an automated capture flow such as the Onfido SDK.
|
|
135
|
-
*
|
|
136
|
-
* @param idVerificationMethod - The selected ID verification method.
|
|
137
|
-
* @returns `true` for `manualVerification` or `existingDocument`, otherwise `false`.
|
|
138
|
-
*
|
|
139
|
-
* @example
|
|
140
|
-
* isManualVerificationOrExistingDoc('manualVerification'); // true
|
|
141
|
-
* isManualVerificationOrExistingDoc('instantVerification'); // false
|
|
142
|
-
*/
|
|
143
|
-
var isManualVerificationOrExistingDoc = (idVerificationMethod) => idVerificationMethod === "manualVerification" || idVerificationMethod === "existingDocument";
|
|
144
|
-
//#endregion
|
|
145
|
-
//#region src/components/Individual/mapping/getOnfidoIdentityTypeToApiIdentityTypeMap.ts
|
|
146
|
-
var getOnfidoIdentityTypeToApiIdentityTypeMap = (data) => {
|
|
147
|
-
const { country } = data;
|
|
148
|
-
switch (country) {
|
|
149
|
-
case CountryCodes.HongKong: return {
|
|
150
|
-
passport: "passport",
|
|
151
|
-
driversLicense: "driversLicense",
|
|
152
|
-
proofOfIdentityCard: "nationalIdNumber"
|
|
153
|
-
};
|
|
154
|
-
default: return {
|
|
155
|
-
nationalIdNumber: "nationalIdNumber",
|
|
156
|
-
passport: "passport",
|
|
157
|
-
driversLicense: "driversLicense",
|
|
158
|
-
proofOfIdentityCard: "identityCard"
|
|
159
|
-
};
|
|
160
|
-
}
|
|
161
|
-
};
|
|
162
|
-
//#endregion
|
|
163
|
-
//#region src/components/Individual/mapping/mapLegalEntityToIndividualSchema.ts
|
|
164
|
-
var getIndividualSchemaFromAPI = { ...individualBaseMapping };
|
|
165
|
-
var mapLegalEntityToIndividualSchema = (legalEntity, isChangingType, isRoleFieldNeeded, parentLegalEntity) => {
|
|
166
|
-
let individual = { ...formatObject(legalEntity, getIndividualSchemaFromAPI) };
|
|
167
|
-
individual = {
|
|
168
|
-
...individual,
|
|
169
|
-
basicDetails: {
|
|
170
|
-
...individual?.basicDetails,
|
|
171
|
-
...isChangingType && {
|
|
172
|
-
firstName: "",
|
|
173
|
-
lastName: "",
|
|
174
|
-
localization: {}
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
signatoryQuestionnaire: { isSignatory: isChangingType ? null : individual.signatoryQuestionnaire?.isSignatory ?? null },
|
|
178
|
-
uboQuestionnaire: isChangingType ? {
|
|
179
|
-
isOwner: null,
|
|
180
|
-
isControllingPerson: null,
|
|
181
|
-
isDirector: null,
|
|
182
|
-
isNomineeShareholder: null,
|
|
183
|
-
isNomineeDirector: null
|
|
184
|
-
} : {
|
|
185
|
-
isOwner: individual.uboQuestionnaire?.isOwner ?? null,
|
|
186
|
-
isControllingPerson: individual.uboQuestionnaire?.isControllingPerson ?? null,
|
|
187
|
-
isDirector: individual.uboQuestionnaire?.isDirector ?? null,
|
|
188
|
-
isNomineeDirector: individual.uboQuestionnaire?.isNomineeDirector ?? null,
|
|
189
|
-
isNomineeShareholder: individual.uboQuestionnaire?.isNomineeShareholder ?? null
|
|
190
|
-
}
|
|
191
|
-
};
|
|
192
|
-
if (legalEntity?.documentDetails?.length) {
|
|
193
|
-
const idDocument = mapDocumentDetailToIdDocument(legalEntity.documentDetails);
|
|
194
|
-
if (idDocument) individual = {
|
|
195
|
-
...individual,
|
|
196
|
-
idVerificationMethod: {
|
|
197
|
-
idVerificationMethod: "existingDocument",
|
|
198
|
-
idDocument
|
|
199
|
-
}
|
|
200
|
-
};
|
|
201
|
-
}
|
|
202
|
-
if (legalEntity.individual?.identificationData?.type && individual.additionalPersonalDetails) {
|
|
203
|
-
const apiIdentityTypeToIdentityTypeMap = reverseMapping(getOnfidoIdentityTypeToApiIdentityTypeMap(individual.additionalPersonalDetails));
|
|
204
|
-
individual.additionalPersonalDetails.typeOfIdentity = apiIdentityTypeToIdentityTypeMap[legalEntity.individual.identificationData.type];
|
|
205
|
-
}
|
|
206
|
-
if (legalEntity.individual?.name?.localization) for (const scriptLoc of legalEntity.individual.name.localization) {
|
|
207
|
-
if (!scriptLoc.fields) continue;
|
|
208
|
-
individual.basicDetails = {
|
|
209
|
-
...individual.basicDetails,
|
|
210
|
-
...mapApiScriptLocalizationToSchemaFields({
|
|
211
|
-
...scriptLoc,
|
|
212
|
-
fields: scriptLoc.fields
|
|
213
|
-
})
|
|
214
|
-
};
|
|
215
|
-
}
|
|
216
|
-
if (legalEntity.individual?.residentialAddress?.localization) individual.additionalPersonalDetails = {
|
|
217
|
-
...individual.additionalPersonalDetails,
|
|
218
|
-
...mapAddressLocalizationToJpAddressSchema(legalEntity.individual.residentialAddress.localization)
|
|
219
|
-
};
|
|
220
|
-
/**
|
|
221
|
-
* Map association details of individual to personal
|
|
222
|
-
* details from parentLegalEntity. role, jobTitle, relationship, nomineeShareholder,
|
|
223
|
-
* nomineeDirector are not part of individual legalEntity but part of entityAssociations
|
|
224
|
-
* in parentLegalEntity
|
|
225
|
-
* **/
|
|
226
|
-
if (!parentLegalEntity?.entityAssociations) return individual;
|
|
227
|
-
const associations = parentLegalEntity?.entityAssociations?.filter((ea) => ea.legalEntityId === legalEntity?.id) ?? [];
|
|
228
|
-
if (isRoleFieldNeeded && individual.basicDetails) {
|
|
229
|
-
individual.basicDetails.role = associations.map((ea) => ea.type);
|
|
230
|
-
individual.basicDetails.jobTitle = associations.find(({ jobTitle }) => Boolean(jobTitle))?.jobTitle;
|
|
231
|
-
}
|
|
232
|
-
if (isRoleFieldNeeded && individual.signatoryQuestionnaire && individual.uboQuestionnaire) {
|
|
233
|
-
const associationTypes = new Set(associations.map((ea) => ea.type));
|
|
234
|
-
const hasAssociation = (type) => associationTypes.has(type) ? GuidanceQuestionValues.YES : GuidanceQuestionValues.NO;
|
|
235
|
-
individual.signatoryQuestionnaire.isSignatory = hasAssociation(DecisionMakerTypes.SIGNATORY);
|
|
236
|
-
individual.uboQuestionnaire.isOwner = hasAssociation(DecisionMakerTypes.OWNER);
|
|
237
|
-
individual.uboQuestionnaire.isControllingPerson = hasAssociation(DecisionMakerTypes.CONTROLLING_PERSON);
|
|
238
|
-
individual.uboQuestionnaire.isDirector = hasAssociation(DecisionMakerTypes.DIRECTOR);
|
|
239
|
-
const hasNomineeAssociation = (type) => associations.some((ea) => ea.type === type && ea.nominee) ? GuidanceQuestionValues.YES : GuidanceQuestionValues.NO;
|
|
240
|
-
individual.uboQuestionnaire.isNomineeDirector = hasNomineeAssociation(DecisionMakerTypes.DIRECTOR);
|
|
241
|
-
individual.uboQuestionnaire.isNomineeShareholder = hasNomineeAssociation(DecisionMakerTypes.OWNER);
|
|
242
|
-
}
|
|
243
|
-
individual.basicDetails = getNomineeFromAssociation(associations, individual.basicDetails);
|
|
244
|
-
return individual;
|
|
245
|
-
};
|
|
246
|
-
var mapDocumentDetailToIdDocument = (documents) => {
|
|
247
|
-
const activeDocument = documents.find((document) => document.active && isIdDocumentType(document.type));
|
|
248
|
-
return activeDocument ? {
|
|
249
|
-
idDocumentType: activeDocument.type,
|
|
250
|
-
modificationDate: activeDocument.modificationDate ?? ""
|
|
251
|
-
} : void 0;
|
|
252
|
-
};
|
|
253
|
-
//#endregion
|
|
254
|
-
export { GuidanceQuestion as a, shouldNavigateToAdditionalPersonalDetailsForMissingData as c, findRelevantTaxInformation as i, useCreateInvitation as l, getOnfidoIdentityTypeToApiIdentityTypeMap as n, GuidanceQuestionValues as o, isManualVerificationOrExistingDoc as r, individualFormDefaultData as s, mapLegalEntityToIndividualSchema as t };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
try {
|
|
2
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "047dfe23-ab62-4adb-89b3-696f561c77d4", e._sentryDebugIdIdentifier = "sentry-dbid-047dfe23-ab62-4adb-89b3-696f561c77d4");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
var TrustMemberTypes = {
|
|
6
|
-
DEFINED_BENEFICIARY: "definedBeneficiary",
|
|
7
|
-
UNDEFINED_BENEFICIARY: "undefinedBeneficiary",
|
|
8
|
-
PROTECTOR: "protector",
|
|
9
|
-
TRUSTEE: "secondaryTrustee",
|
|
10
|
-
SETTLOR: "settlor"
|
|
11
|
-
};
|
|
12
|
-
//#endregion
|
|
13
|
-
//#region src/components/Trust/utils/trustMemberGuidance.ts
|
|
14
|
-
var TrustMemberGuidanceLabels = {
|
|
15
|
-
BENEFICIARY: "beneficiary",
|
|
16
|
-
PROTECTOR: "protector",
|
|
17
|
-
TRUSTEE: "trustee",
|
|
18
|
-
SETTLOR: "settlor"
|
|
19
|
-
};
|
|
20
|
-
var TRUST_DEFAULT_DESCRIPTIONS_MAP = {
|
|
21
|
-
[TrustMemberGuidanceLabels.BENEFICIARY]: "provideAllBeneficiaries",
|
|
22
|
-
[TrustMemberGuidanceLabels.PROTECTOR]: "provideAtLeastOneProtector",
|
|
23
|
-
[TrustMemberGuidanceLabels.TRUSTEE]: "provideAllTrustees",
|
|
24
|
-
[TrustMemberGuidanceLabels.SETTLOR]: "provideAtLeastOneSettlor"
|
|
25
|
-
};
|
|
26
|
-
//#endregion
|
|
27
|
-
export { TrustMemberGuidanceLabels as n, TrustMemberTypes as r, TRUST_DEFAULT_DESCRIPTIONS_MAP as t };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ComponentChildren } from 'preact';
|
|
2
|
-
interface NewSummaryProps {
|
|
3
|
-
/**
|
|
4
|
-
* The content of the summary, in render order: typically an error panel, a `SummarySection` per
|
|
5
|
-
* section of data, and any trailing content such as a legal caption.
|
|
6
|
-
*/
|
|
7
|
-
children?: ComponentChildren;
|
|
8
|
-
}
|
|
9
|
-
export declare const NewSummary: ({ children }: NewSummaryProps) => import("preact/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { JSX } from 'preact';
|
|
2
|
-
import type { Namespace, NsTranslatable } from '../../../../types';
|
|
3
|
-
interface RegularSummaryItem<NS extends Namespace = Namespace> {
|
|
4
|
-
summaryLabel: NsTranslatable<NS>;
|
|
5
|
-
summaryValue: string | null | JSX.Element;
|
|
6
|
-
preTranslated?: false;
|
|
7
|
-
}
|
|
8
|
-
interface PreTranslatedSummaryItem {
|
|
9
|
-
summaryLabel: string;
|
|
10
|
-
summaryValue: string | null | JSX.Element;
|
|
11
|
-
preTranslated: true;
|
|
12
|
-
}
|
|
13
|
-
export type SummaryItem<NS extends Namespace = Namespace> = RegularSummaryItem<NS> | PreTranslatedSummaryItem;
|
|
14
|
-
export declare const isSummaryItem: (val: unknown) => val is SummaryItem<"common">;
|
|
15
|
-
export declare const summaryItem: <NS extends Namespace = Namespace>(summaryLabel: RegularSummaryItem<NS>["summaryLabel"], summaryValue: RegularSummaryItem<NS>["summaryValue"]) => RegularSummaryItem<NS>;
|
|
16
|
-
export declare const preTranslatedSummaryItem: (summaryLabel: PreTranslatedSummaryItem["summaryLabel"], summaryValue: PreTranslatedSummaryItem["summaryValue"]) => PreTranslatedSummaryItem;
|
|
17
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { AddressSchema } from '../../../../forms/Address/types';
|
|
2
|
-
import type { LocalizedScriptSchema } from '../../../../../../types/localizedScriptSchema';
|
|
3
|
-
/**
|
|
4
|
-
* These mirror the `AddressSchema` fields named in each comment, but hold a localized name rather
|
|
5
|
-
* than the dataset value: a prefecture arrives as `大阪府`, not as a `StateCode`.
|
|
6
|
-
*/
|
|
7
|
-
interface LocalizedAddressFields {
|
|
8
|
-
stateOrProvince?: string;
|
|
9
|
-
city?: string;
|
|
10
|
-
street?: string;
|
|
11
|
-
}
|
|
12
|
-
export type JpLocalizedAddressSchema = LocalizedScriptSchema<LocalizedAddressFields, 'jaHani'> & LocalizedScriptSchema<Omit<LocalizedAddressFields, 'street'>, 'jaKana'>;
|
|
13
|
-
export type JpAddressSchema = AddressSchema & JpLocalizedAddressSchema & {
|
|
14
|
-
street2FullWidth?: string;
|
|
15
|
-
};
|
|
16
|
-
export declare const JP_ADDRESS_REQUIRED_FIELDS: Array<keyof JpAddressSchema>;
|
|
17
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
try {
|
|
2
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9723cf93-874a-4450-aa37-c2e305e6cf60", e._sentryDebugIdIdentifier = "sentry-dbid-9723cf93-874a-4450-aa37-c2e305e6cf60");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
var UnincorporatedPartnershipMemberTypes = {
|
|
6
|
-
SECONDARY_PARTNER: "secondaryPartner",
|
|
7
|
-
OWNER: "uboThroughOwnership",
|
|
8
|
-
CONTROLLING_PERSON: "uboThroughControl"
|
|
9
|
-
};
|
|
10
|
-
//#endregion
|
|
11
|
-
export { UnincorporatedPartnershipMemberTypes as t };
|