@adyen/kyc-components 4.26.1 → 4.27.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceWorkflow-DXSq3XzA.js → AcceptTermsOfServiceWorkflow-CO6qEeAD.js} +4 -4
- package/dist/{Accordion-BAdwrgCR.js → Accordion-CTQfC17W.js} +1 -1
- package/dist/{AccountSetupRejected-BLEWjmc8.js → AccountSetupRejected-CFvogFuo.js} +2 -2
- package/dist/{AdaptiveWorkflow-DwdMyu1A.js → AdaptiveWorkflow-CTKpyw02.js} +22 -22
- package/dist/{AdaptiveWorkflowComponent-DPv1YHos.js → AdaptiveWorkflowComponent-CvTwsWi3.js} +5 -5
- package/dist/{AddressFields-B0QVYM-e.js → AddressFields-vl2AeVHz.js} +33 -72
- package/dist/{Avatar-C2zeqSSB.js → Avatar-yJfk9A6l.js} +1 -1
- package/dist/{BusinessFinancingDropin-evYHYnXE.js → BusinessFinancingDropin-tSylhmJS.js} +123 -55
- package/dist/{BusinessFinancingPage-C_agz96E.js → BusinessFinancingPage-9AcfHWyP.js} +6 -6
- package/dist/{BusinessRegistrationNumberField-DeYcZlQS.js → BusinessRegistrationNumberField-B6w6LvSZ.js} +6 -6
- package/dist/{BusinessRegistrationNumberFieldGroup-D9D0BPdp.js → BusinessRegistrationNumberFieldGroup-CICYxSyn.js} +6 -6
- package/dist/{BusinessTypeSelectionPage-DmgeZsex.js → BusinessTypeSelectionPage-lLt_PL1z.js} +13 -13
- package/dist/{Button-Dwr6jvJZ.js → Button-BYafPrZH.js} +1 -1
- package/dist/{Checkbox-BLyyDG9b.js → Checkbox-DXF-eRBj.js} +8 -8
- package/dist/{ComponentGroup-BLvYZoxp.js → ComponentGroup-DNspJrHk.js} +3 -3
- package/dist/{ConstitutionalDocument-B3o3NLMO.js → ConstitutionalDocument-Dg3dmkpH.js} +19 -26
- package/dist/{ContactDetails-7zYbKJtH.js → ContactDetails-5W0oQVYG.js} +5 -5
- package/dist/{ContextGuidance-C2AXK9Ep.js → ContextGuidance-BrbPzdaI.js} +3 -3
- package/dist/{CountryField-Bl8gp3wu.js → CountryField-DlMYQYfd.js} +4 -4
- package/dist/{Currency-Be6zg8XM.js → Currency-BCJuV60i.js} +16 -10
- package/dist/{CustomerSupport-lUVh_sWN.js → CustomerSupport-Bdg11WcM.js} +29 -16
- package/dist/{DateField-CO2CodgD.js → DateField-DfnBDOVl.js} +4 -4
- package/dist/{DebugModal-l52lDfKB.js → DebugModal-D1RMhAfR.js} +228 -10
- package/dist/{DecisionMakerDetails-9y6Fm96G.js → DecisionMakerDetails-Cv_NdD0z.js} +79 -174
- package/dist/{DecisionMakerDetailsPage-9kRW2Zh8.js → DecisionMakerDetailsPage-dTsh8vkz.js} +9 -9
- package/dist/{DecisionMakers-CYjKftby.js → DecisionMakers-DAhjhaMS.js} +17 -18
- package/dist/{Dropzone-QRtCFpVT.js → Dropzone-rk15b_Tb.js} +7 -7
- package/dist/{EmailField-D-Ndm0JS.js → EmailField-BOX8HtRe.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-CS8XqKk-.js → EntityAssociation-B5Zq7_F6.js} +6 -6
- package/dist/{ErrorPanel-DaipnVsu.js → ErrorPanel-BLvDkiVa.js} +10 -17
- package/dist/{GlobalEntryModal-COOjZvh7.js → GlobalEntryModal-DZsHeRPL.js} +439 -298
- package/dist/{GlobalEntryPage-C9SGXXJk.js → GlobalEntryPage-RyQIoaWL.js} +7 -8
- package/dist/{Icon-_YUEZg1p.js → Icon-jVvV1zXc.js} +1 -1
- package/dist/{IdentityNumber-D_cOLEsP.js → IdentityNumber-C8CMJtgD.js} +5 -5
- package/dist/{IdentityNumberFieldGroup-CoLugvku.js → IdentityNumberFieldGroup-Cj5U1Onz.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-B_nLC0Ru.js → IdentityScreeningWorkflow-BCDn25Or.js} +12 -13
- package/dist/{IndividualDropin-CRKk-szG.js → IndividualDropin-B6dY0iN3.js} +149 -231
- package/dist/{IndustryCodeFieldGroup-0vRXN8GP.js → IndustryCodeFieldGroup-B649faYk.js} +5 -5
- package/dist/{InputDate-Cxk_f6Us.js → InputDate-3rYzWzXX.js} +8 -4
- package/dist/{InputText-CObXfKKh.js → InputText-OCbzlaaN.js} +2 -2
- package/dist/{Introduction-CmhxGGzY.js → Introduction-Duow8A7U.js} +6 -6
- package/dist/{InvitedDecisionMakerComponent-BkHurym6.js → InvitedDecisionMakerComponent-BVQ37JLZ.js} +13 -14
- package/dist/{JpAddressFields-CuvfbjX6.js → JpAddressFields-Bh7Bvw__.js} +9 -10
- package/dist/{LegalCompanyNameField-CkINYTFB.js → LegalCompanyNameField-Yj5Fa3-I.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-mlE80SrL.js → LegalRepresentativeDetailsPage-C10ojT9w.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-DnDjAzqZ.js → Modal-jjSjdW5W.js} +3 -3
- package/dist/{Name-Dhj905G8.js → Name-D-A5XBTb.js} +4 -4
- package/dist/{NumberField-BlDjTB0U.js → NumberField-D291GWYR.js} +4 -4
- package/dist/{PatriotActDisclosure-jNLKR-RM.js → PatriotActDisclosure-DMjKJEKH.js} +10 -10
- package/dist/{PayoutDetailsDropin-DO1CtLRd.js → PayoutDetailsDropin-B5MNHR3S.js} +41 -43
- package/dist/{PayoutDetailsPage-C-W1PCRf.js → PayoutDetailsPage-DMAxzS2V.js} +5 -5
- package/dist/{Review-BLcoVl6O.js → Review-BDontauk.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DNZi9Zgj.js → RootBusinessDetailsPage-INMIQvN4.js} +4 -4
- package/dist/{RootBusinessLinesPage-D2IPigk5.js → RootBusinessLinesPage-BiIb7UVU.js} +22 -23
- package/dist/{RootIndividualDetailsPage-Cfa9R28c.js → RootIndividualDetailsPage-BS5BgowF.js} +6 -6
- package/dist/{Select-C0Pp8Jeb.js → Select-BRK2a2V5.js} +92 -92
- package/dist/{SignPCIComponent-I3asF5GE.js → SignPCIComponent-B5JmN8BT.js} +14 -14
- package/dist/{SingpassSelection-C4Ptdwzb.js → SingpassSelection-B84oJmvG.js} +5 -5
- package/dist/{SoleProprietorshipPage-CiI2VKw_.js → SoleProprietorshipPage-C-jxJkmQ.js} +4 -4
- package/dist/{SourceOfFundsPage-DrJqgPMf.js → SourceOfFundsPage-C27vODL5.js} +24 -24
- package/dist/{SourceOfFundsWorkflow-tE06S4__.js → SourceOfFundsWorkflow-DOqaH_wk.js} +4 -4
- package/dist/StateField-CRLgYS1X.js +364 -0
- package/dist/{Step-CLZTcCEQ.js → Step-BTVKO9gW.js} +5 -5
- package/dist/Summary-C9Nr0dot.js +21 -0
- package/dist/{SummarySection-v-mSwYL0.js → SummarySection-D67yguze.js} +5 -19
- package/dist/{Task-CUr-Zb5N.js → Task-BaQ6wqz5.js} +7 -7
- package/dist/{TaskGroup-BGUboNOL.js → TaskGroup-C7lBWbYp.js} +3 -3
- package/dist/{TaskListItem-DMkmZn3B.js → TaskListItem-Cu3fSvOJ.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-CraKcKMs.js → TaxInformationFieldGroup-vQoQHydJ.js} +7 -7
- package/dist/{TaxReportingDropin-B-ywMdBt.js → TaxReportingDropin-CTnL6VMm.js} +13 -15
- package/dist/{TaxReportingWorkflow-BmUdyOKl.js → TaxReportingWorkflow-5_eG0AcD.js} +4 -4
- package/dist/{TermsOfServiceManagement-D1Yv4Z5p.js → TermsOfServiceManagement-xL-xisqE.js} +46 -43
- package/dist/{TextArea-CyFcFhHo.js → TextArea-CcaUENX2.js} +4 -4
- package/dist/{TextField-D61xVlV2.js → TextField-fhhAQSKg.js} +5 -5
- package/dist/{TrustDetailsPage-D2FS-As0.js → TrustDetailsPage-DcNS-XWz.js} +61 -54
- package/dist/{TrustMemberCompanyPage-DDcSOUi2.js → TrustMemberCompanyPage-xtxgO6d4.js} +5 -5
- package/dist/{TrustMemberIndividualPage-CJBz1p3R.js → TrustMemberIndividualPage-BMWAg_eS.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-OeN1HW_E.js → TrustMemberRoleAndTypePage-DR3pLJf9.js} +43 -36
- package/dist/{TrustMembersOverview-DkrEZL6_.js → TrustMembersOverview-D-jTaw37.js} +13 -13
- package/dist/{UboTaskItem-Dc6ExVuW.js → UboTaskItem-DsoetWEU.js} +7 -7
- package/dist/{UnincorporatedPartnershipIndividualPage-D0ZYvh8k.js → UnincorporatedPartnershipIndividualPage-3sSr2dCv.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BtapkuO6.js → UnincorporatedPartnershipMemberCompanyPage-s6NiptRo.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CbdYYTQT.js → UnincorporatedPartnershipMemberRoleAndTypePage-Cr6UEryR.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-Cs1DHVNP.js → UnincorporatedPartnershipMembersOverview-CbwWOxQs.js} +6 -6
- package/dist/{VerificationErrorAlert-D9sBE-Tj.js → VerificationErrorAlert-Bm7-u85-.js} +3 -3
- package/dist/{WebsiteField-BCoO-m_7.js → WebsiteField-DTlbxzaa.js} +5 -5
- package/dist/{Workflow-driWy_eJ.js → Workflow-DT43cTzE.js} +6 -6
- package/dist/{accountHolderUtils-BAbeRIOy.js → accountHolderUtils-D0E9se-W.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-COyCy9xG.js → bafinUtils-CvQzDDfD.js} +519 -531
- package/dist/{constants-fGRziJEH.js → constants-BOu8Hnt9.js} +6 -6
- package/dist/{dropinUtils-cIGIoJvF.js → dropinUtils-DfyQ8xFE.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-B9rHWK9Q.js → error-CUHwmdwD.js} +2 -2
- package/dist/formatDataForSummary-BMFPIUER.js +498 -0
- package/dist/{formatValidationError-BJqU7LCU.js → formatValidationError-B5GNhAeh.js} +2 -2
- package/dist/{getDefaultRegistrationNumberType-BcV1GDOs.js → getDefaultRegistrationNumberType-CyaKz1Fj.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-dcpAlebZ.js → getValidationError-B4YX_EgR.js} +2 -2
- package/dist/{legalArrangementUtils-Crgt_L7h.js → legalArrangementUtils-CHlmmcB8.js} +11 -2
- package/dist/{mapAddressLocalizationToJpAddressSchema-B9pzYF3B.js → mapAddressLocalizationToJpAddressSchema-BrQMDBLX.js} +2 -2
- package/dist/{mapExistingFile-BXfeQxev.js → mapExistingFile-CqbTLZ6i.js} +1 -1
- package/dist/mapJpAddressSchemaToAddressLocalizations-BL4eAlDH.js +19 -0
- package/dist/{mapTransferInstrumentToPayoutAccount-Ba_L9EEB.js → mapTransferInstrumentToPayoutAccount-DhwdciyT.js} +2 -2
- package/dist/{processCapabilities-FL4-KAbd.js → processCapabilities-B75YIdXZ.js} +11 -4
- package/dist/{processValidationErrors-DWdgik5u.js → processValidationErrors-Dtt1FnM2.js} +4 -4
- package/dist/{resolveEnvironment-BnKqnU98.js → resolveEnvironment-CpWP_8og.js} +53 -16
- package/dist/roleMetadata-BW4HRw1l.js +57 -0
- package/dist/style.css +218 -230
- package/dist/styles-DYaAeu4q.js +218 -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/devex/DebugListener/DebugTheme.d.ts +2 -0
- package/dist/types/components/Shared/devex/DebugListener/customTheme.d.ts +49 -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-CZbkNMEw.js → unincorporatedPartnership-CiU2fnqv.js} +38 -4
- package/dist/{useBusinessDetailsData-BJau7oMt.js → useBusinessDetailsData-BtEHoBoN.js} +100 -90
- package/dist/{useCanSeeIntroduction-BQuCt-eO.js → useCanSeeIntroduction-kxOGIxnh.js} +2 -2
- package/dist/useCreateLegalEntity-CgzVD39K.js +24 -0
- package/dist/{useDataMissingRemediations-DKjYzfe2.js → useDataMissingRemediations-BfC7ECSn.js} +1 -1
- package/dist/{useForm-VDjedfk9.js → useForm-CiHfxEX0.js} +3 -3
- package/dist/{useHideTaskStepper-BgCN--mG.js → useHideTaskStepper-Betx9MGy.js} +1 -1
- package/dist/{useId-Cs-bSalH.js → useId-ChrmzN7R.js} +2 -2
- package/dist/{useNavigate-CKp2oemi.js → useNavigate-xbrKpFCu.js} +33 -33
- package/dist/{useSalesChannels-D0q-Vat7.js → useSalesChannels-C2qQmPGf.js} +1 -1
- package/dist/{useTaskLandedEvent-QBmeEeS6.js → useTaskLandedEvent-Brv74FDb.js} +1 -1
- package/dist/{useTrustMembers-COumqoMC.js → useTrustMembers-BA5fCul_.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-DcfQJdVZ.js → useUnincorporatedPartnershipMembers-J6rxK5Ie.js} +2 -2
- package/dist/{utils-BFxg3gPM.js → utils-ChZNfG5_.js} +1 -1
- package/dist/{utils-BiPEtEaV.js → utils-ClAXyRqf.js} +4 -5
- package/dist/{utils-B6TRzLRs.js → utils-Do6-kryk.js} +3 -3
- package/dist/utils-VV2acmQG.js +49 -0
- package/dist/{validate-Dt3Xmp_L.js → validate-BHOzYoxU.js} +26 -2
- package/dist/{validate-BN38Qq-w.js → validate-D5990ODb.js} +20 -9
- package/dist/{validate-D3JIeysp.js → validate-Dtiozjlb.js} +4 -4
- package/dist/{validate-_7WKym8c.js → validate-NJNmUaTh.js} +11 -5
- 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-BBGSo1NG.js +0 -296
- package/dist/en-US-U0d3NI20.js +0 -7
- package/dist/mapJpAddressSchemaToAddressLocalizations-kHaGv8kC.js +0 -75
- package/dist/mapLegalEntityToIndividualSchema-D6qGKj-2.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,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7012f390-2d46-4ac3-9a03-11a2e1b87f42", e._sentryDebugIdIdentifier = "sentry-dbid-7012f390-2d46-4ac3-9a03-11a2e1b87f42");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { o as entriesOf, t as cloneObject } from "./genUtils-nphCwt1A.js";
|
|
6
6
|
import { i as TaskStatuses, r as TASK_STATUS_PRIORITY } from "./taskStatus-BtekPA8E.js";
|
|
@@ -348,12 +348,14 @@ var businessDetailsBaseMapping = {
|
|
|
348
348
|
"additionalInformation.registrationAddressStateOrProvince": "organization.registeredAddress.stateOrProvince",
|
|
349
349
|
"additionalInformation.registrationAddressStreet": "organization.registeredAddress.street",
|
|
350
350
|
"additionalInformation.registrationAddressStreet2": "organization.registeredAddress.street2",
|
|
351
|
+
"additionalInformation.registrationAddressDependentLocality": "organization.registeredAddress.dependentLocality",
|
|
351
352
|
"additionalInformation.operationalAddressCity": "organization.principalPlaceOfBusiness.city",
|
|
352
353
|
"additionalInformation.operationalAddressCountry": "organization.principalPlaceOfBusiness.country",
|
|
353
354
|
"additionalInformation.operationalAddressPostalCode": "organization.principalPlaceOfBusiness.postalCode",
|
|
354
355
|
"additionalInformation.operationalAddressStateOrProvince": "organization.principalPlaceOfBusiness.stateOrProvince",
|
|
355
356
|
"additionalInformation.operationalAddressStreet": "organization.principalPlaceOfBusiness.street",
|
|
356
357
|
"additionalInformation.operationalAddressStreet2": "organization.principalPlaceOfBusiness.street2",
|
|
358
|
+
"additionalInformation.operationalAddressDependentLocality": "organization.principalPlaceOfBusiness.dependentLocality",
|
|
357
359
|
"additionalInformation.residentialAddressIndicator": "organization.residentialAddressIndicator",
|
|
358
360
|
"additionalInformation.eInvoicingCode": "organization.eInvoicingCode",
|
|
359
361
|
"additionalInformation.legalForm": "organization.legalForm",
|
|
@@ -402,13 +404,15 @@ var solePropBusinessDetailsBaseMapping = {
|
|
|
402
404
|
"additionalInformation.registrationAddressStateOrProvince": "soleProprietorship.registeredAddress.stateOrProvince",
|
|
403
405
|
"additionalInformation.registrationAddressStreet": "soleProprietorship.registeredAddress.street",
|
|
404
406
|
"additionalInformation.registrationAddressStreet2": "soleProprietorship.registeredAddress.street2",
|
|
407
|
+
"additionalInformation.registrationAddressDependentLocality": "soleProprietorship.registeredAddress.dependentLocality",
|
|
405
408
|
"additionalInformation.residentialAddressIndicator": "soleProprietorship.residentialAddressIndicator",
|
|
406
409
|
"additionalInformation.operationalAddressCity": "soleProprietorship.principalPlaceOfBusiness.city",
|
|
407
410
|
"additionalInformation.operationalAddressCountry": "soleProprietorship.principalPlaceOfBusiness.country",
|
|
408
411
|
"additionalInformation.operationalAddressPostalCode": "soleProprietorship.principalPlaceOfBusiness.postalCode",
|
|
409
412
|
"additionalInformation.operationalAddressStateOrProvince": "soleProprietorship.principalPlaceOfBusiness.stateOrProvince",
|
|
410
413
|
"additionalInformation.operationalAddressStreet": "soleProprietorship.principalPlaceOfBusiness.street",
|
|
411
|
-
"additionalInformation.operationalAddressStreet2": "soleProprietorship.principalPlaceOfBusiness.street2"
|
|
414
|
+
"additionalInformation.operationalAddressStreet2": "soleProprietorship.principalPlaceOfBusiness.street2",
|
|
415
|
+
"additionalInformation.operationalAddressDependentLocality": "soleProprietorship.principalPlaceOfBusiness.dependentLocality"
|
|
412
416
|
};
|
|
413
417
|
var solePropBusinessDetailsKeyMapping = {
|
|
414
418
|
"additionalInformation.exemptedFromVat": "soleProprietorship.vatAbsenceReason",
|
|
@@ -445,7 +449,8 @@ var individualBaseMapping = {
|
|
|
445
449
|
"additionalPersonalDetails.postalCode": "individual.residentialAddress.postalCode",
|
|
446
450
|
"additionalPersonalDetails.stateOrProvince": "individual.residentialAddress.stateOrProvince",
|
|
447
451
|
"additionalPersonalDetails.street": "individual.residentialAddress.street",
|
|
448
|
-
"additionalPersonalDetails.street2": "individual.residentialAddress.street2"
|
|
452
|
+
"additionalPersonalDetails.street2": "individual.residentialAddress.street2",
|
|
453
|
+
"additionalPersonalDetails.dependentLocality": "individual.residentialAddress.dependentLocality"
|
|
449
454
|
};
|
|
450
455
|
var individualApiKeyMapping = { ...reverseMapping(individualBaseMapping) };
|
|
451
456
|
var individualDocumentMapping = {
|
|
@@ -475,12 +480,14 @@ var trustBaseMapping = {
|
|
|
475
480
|
"trustRegistrationAddress.registrationAddressStateOrProvince": "trust.registeredAddress.stateOrProvince",
|
|
476
481
|
"trustRegistrationAddress.registrationAddressStreet": "trust.registeredAddress.street",
|
|
477
482
|
"trustRegistrationAddress.registrationAddressStreet2": "trust.registeredAddress.street2",
|
|
483
|
+
"trustRegistrationAddress.registrationAddressDependentLocality": "trust.registeredAddress.dependentLocality",
|
|
478
484
|
"trustRegistrationAddress.operationalAddressCity": "trust.principalPlaceOfBusiness.city",
|
|
479
485
|
"trustRegistrationAddress.operationalAddressCountry": "trust.principalPlaceOfBusiness.country",
|
|
480
486
|
"trustRegistrationAddress.operationalAddressPostalCode": "trust.principalPlaceOfBusiness.postalCode",
|
|
481
487
|
"trustRegistrationAddress.operationalAddressStateOrProvince": "trust.principalPlaceOfBusiness.stateOrProvince",
|
|
482
488
|
"trustRegistrationAddress.operationalAddressStreet": "trust.principalPlaceOfBusiness.street",
|
|
483
|
-
"trustRegistrationAddress.operationalAddressStreet2": "trust.principalPlaceOfBusiness.street2"
|
|
489
|
+
"trustRegistrationAddress.operationalAddressStreet2": "trust.principalPlaceOfBusiness.street2",
|
|
490
|
+
"trustRegistrationAddress.operationalAddressDependentLocality": "trust.principalPlaceOfBusiness.dependentLocality"
|
|
484
491
|
};
|
|
485
492
|
var trustComponentsKeyMapping = { ...trustBaseMapping };
|
|
486
493
|
var trustApiKeyMapping = { ...reverseMapping(trustBaseMapping) };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "898bc060-cd72-4589-bb17-bbda4554274e", e._sentryDebugIdIdentifier = "sentry-dbid-898bc060-cd72-4589-bb17-bbda4554274e");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { S as remediationPayoutApiKeyMapping, d as remediationIndividualApiKeyMapping, v as remediationBusinessDetailsApiKeyMapping } from "./processCapabilities-
|
|
5
|
+
import { S as remediationPayoutApiKeyMapping, d as remediationIndividualApiKeyMapping, v as remediationBusinessDetailsApiKeyMapping } from "./processCapabilities-B75YIdXZ.js";
|
|
6
6
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
7
|
-
import { t as assignToProp } from "./utils-
|
|
8
|
-
import {
|
|
7
|
+
import { t as assignToProp } from "./utils-Do6-kryk.js";
|
|
8
|
+
import { _ as getFieldNameFromPath } from "./dropinUtils-DfyQ8xFE.js";
|
|
9
9
|
//#region src/types/errors/maintenance-mode-error.ts
|
|
10
10
|
var isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
11
11
|
//#endregion
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b69b6a35-1cf5-4aaf-b901-2d74064d7cce", e._sentryDebugIdIdentifier = "sentry-dbid-b69b6a35-1cf5-4aaf-b901-2d74064d7cce");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as setDefaults, i as setI18n, n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
|
-
import { t as Icon } from "./Icon-
|
|
7
|
+
import { t as Icon } from "./Icon-jVvV1zXc.js";
|
|
8
8
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
9
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
10
|
-
import { n as IconButton, t as Button } from "./Button-
|
|
10
|
+
import { n as IconButton, t as Button } from "./Button-BYafPrZH.js";
|
|
11
11
|
import { a as setSdkTokenHandler, i as refreshSession, n as httpGet, o as ApiProvider, r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
12
12
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
|
|
13
13
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
14
14
|
import { n as SettingsContext, t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
15
15
|
import { c as valuesOf, i as noop, o as entriesOf, s as keysOf, t as cloneObject } from "./genUtils-nphCwt1A.js";
|
|
16
16
|
import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
17
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
17
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-C1CllzL1.js";
|
|
18
18
|
import { i as TaskStatuses, r as TASK_STATUS_PRIORITY } from "./taskStatus-BtekPA8E.js";
|
|
19
19
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
20
20
|
import { t as Skeleton } from "./Skeleton-7xDqhYr-.js";
|
|
21
|
-
import { t as Accordion } from "./Accordion-
|
|
22
|
-
import { C as CUSTOMER_SUPPORT_DATA_MISSING_ERROR_CODES, n as getCapabilityProblems, t as getCapabilities } from "./processCapabilities-
|
|
21
|
+
import { t as Accordion } from "./Accordion-CTQfC17W.js";
|
|
22
|
+
import { C as CUSTOMER_SUPPORT_DATA_MISSING_ERROR_CODES, n as getCapabilityProblems, t as getCapabilities } from "./processCapabilities-B75YIdXZ.js";
|
|
23
23
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
24
24
|
import { a as getLegalRepresentative, i as getDirectEntityAssociations, l as getOwnSoleProprietorshipIdArray } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
25
25
|
import { i as getOwnDecisionMakersLegalEntityIds, n as getDecisionMakers, o as hasMinRequiredDecisionMakerCount } from "./decisionMakerRoles-DA8MK9Dh.js";
|
|
26
|
-
import {
|
|
26
|
+
import { t as TrustMemberTypes } from "./trustMemberType-Ix2sf6e_.js";
|
|
27
27
|
import { t as getNestedPropertyKeys } from "./getNestedPropertyKeys-Cd8HKupP.js";
|
|
28
28
|
import { n as isEuCountry, r as isHkSgCountry } from "./country-WYlusjTL.js";
|
|
29
29
|
import i18n from "i18next";
|
|
@@ -35,6 +35,7 @@ import { computed, signal } from "@preact/signals";
|
|
|
35
35
|
import { QueryCache, QueryClient, QueryClientProvider, useMutation, useQuery } from "@tanstack/preact-query";
|
|
36
36
|
import { createContext as createContext$1, isValidElement as isValidElement$1 } from "preact";
|
|
37
37
|
import { defineSlots } from "named-slots";
|
|
38
|
+
import { ThemeGenerator } from "@adyen/adyen-shared-web";
|
|
38
39
|
//#region node_modules/.pnpm/vite-plugin-shadow-styles@0.0.3_vite@8.2.2_@types+node@26.3.0_esbuild@0.27.7_jiti@2.7.0_sass@1.99.0_/node_modules/vite-plugin-shadow-styles/dist/stylesheets.js
|
|
39
40
|
var sheet = new CSSStyleSheet();
|
|
40
41
|
var stylesheets = [sheet];
|
|
@@ -406,7 +407,7 @@ var useAccountHolder = () => {
|
|
|
406
407
|
//#endregion
|
|
407
408
|
//#region src/hooks/useAnalytics/useAnalytics.ts
|
|
408
409
|
var useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
409
|
-
const sdkVersion = "4.
|
|
410
|
+
const sdkVersion = "4.27.0-beta.1";
|
|
410
411
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
411
412
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
412
413
|
const { accountHolder } = useAccountHolder();
|
|
@@ -459,7 +460,10 @@ var getOrganizationPrefilledFields = (organization) => {
|
|
|
459
460
|
annualTurnover: !!financialReport?.annualTurnover,
|
|
460
461
|
balanceSheetTotal: !!financialReport?.balanceSheetTotal,
|
|
461
462
|
dateOfFinancialData: !!financialReport?.dateOfFinancialData,
|
|
462
|
-
employeeCount: !!financialReport?.employeeCount
|
|
463
|
+
employeeCount: !!financialReport?.employeeCount,
|
|
464
|
+
yearlyRevenue: !!financialReport?.yearlyRevenue,
|
|
465
|
+
totalDebt: !!financialReport?.totalDebt,
|
|
466
|
+
cashPosition: !!financialReport?.cashPosition
|
|
463
467
|
},
|
|
464
468
|
registeredAddress: {
|
|
465
469
|
city: !!registeredAddress?.city,
|
|
@@ -515,7 +519,7 @@ var AnalyticsProvider = ({ componentName, children, rootLegalEntityId, locale })
|
|
|
515
519
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
516
520
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
517
521
|
const sessionData = {
|
|
518
|
-
sdkVersion: "4.
|
|
522
|
+
sdkVersion: "4.27.0-beta.1",
|
|
519
523
|
componentName,
|
|
520
524
|
userAgent: navigator.userAgent,
|
|
521
525
|
legalEntityId: rootLegalEntityId,
|
|
@@ -1473,6 +1477,7 @@ var statesImports = /* #__PURE__ */ Object.assign({
|
|
|
1473
1477
|
"../states/CA/en-US.json": () => import("./en-US-D0pPfuzx.js"),
|
|
1474
1478
|
"../states/JP/en-US.json": () => import("./en-US-BqvVH-Pi.js"),
|
|
1475
1479
|
"../states/JP/ja-JP.json": () => import("./ja-JP-eKLuhutG.js"),
|
|
1480
|
+
"../states/MX/en-US.json": () => import("./en-US-DGdFfmUC.js"),
|
|
1476
1481
|
"../states/NZ/en-US.json": () => import("./en-US-KKriaTJw.js"),
|
|
1477
1482
|
"../states/US/en-US.json": () => import("./en-US-t-Z87qeJ.js")
|
|
1478
1483
|
});
|
|
@@ -1745,8 +1750,8 @@ var AllowedCountryGate = ({ children }) => {
|
|
|
1745
1750
|
"../../../language/locales/da-DK.json": () => import("./da-DK-B-BJLcqw.js"),
|
|
1746
1751
|
"../../../language/locales/de-DE.json": () => import("./de-DE-BxTGFyOs.js"),
|
|
1747
1752
|
"../../../language/locales/el-GR.json": () => import("./el-GR-IQwyd9ws.js"),
|
|
1748
|
-
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-
|
|
1749
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
1753
|
+
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-myDXMUbk.js"),
|
|
1754
|
+
"../../../language/locales/en-US.json": () => import("./en-US-8KLaHQaT.js"),
|
|
1750
1755
|
"../../../language/locales/es-ES.json": () => import("./es-ES-Cg2IadcX.js"),
|
|
1751
1756
|
"../../../language/locales/es-LA.json": () => import("./es-LA-DvMpG4FP.js"),
|
|
1752
1757
|
"../../../language/locales/et-EE.json": () => import("./et-EE-eGeytyQh.js"),
|
|
@@ -1781,7 +1786,7 @@ var AllowedCountryGate = ({ children }) => {
|
|
|
1781
1786
|
};
|
|
1782
1787
|
//#endregion
|
|
1783
1788
|
//#region src/components/Shared/devex/DebugListener/DebugListener.tsx
|
|
1784
|
-
var DebugModal = lazy(async () => (await import("./DebugModal-
|
|
1789
|
+
var DebugModal = lazy(async () => (await import("./DebugModal-D1RMhAfR.js")).DebugModal);
|
|
1785
1790
|
/**
|
|
1786
1791
|
* Adds a listener on the page to open the debug modal when the
|
|
1787
1792
|
* debug modal key combination is pressed to open it
|
|
@@ -1873,6 +1878,20 @@ var countryToTrustTypes = {
|
|
|
1873
1878
|
[CountryCodes.NewZealand]: nzSpecificTrustTypes
|
|
1874
1879
|
};
|
|
1875
1880
|
//#endregion
|
|
1881
|
+
//#region src/components/Trust/utils/trustMemberGuidance.ts
|
|
1882
|
+
var TrustMemberGuidanceLabels = {
|
|
1883
|
+
BENEFICIARY: "beneficiary",
|
|
1884
|
+
PROTECTOR: "protector",
|
|
1885
|
+
TRUSTEE: "trustee",
|
|
1886
|
+
SETTLOR: "settlor"
|
|
1887
|
+
};
|
|
1888
|
+
var TRUST_DEFAULT_DESCRIPTIONS_MAP = {
|
|
1889
|
+
[TrustMemberGuidanceLabels.BENEFICIARY]: "provideAllBeneficiaries",
|
|
1890
|
+
[TrustMemberGuidanceLabels.PROTECTOR]: "provideAtLeastOneProtector",
|
|
1891
|
+
[TrustMemberGuidanceLabels.TRUSTEE]: "provideAllTrustees",
|
|
1892
|
+
[TrustMemberGuidanceLabels.SETTLOR]: "provideAtLeastOneSettlor"
|
|
1893
|
+
};
|
|
1894
|
+
//#endregion
|
|
1876
1895
|
//#region src/components/Trust/utils/trustMemberRequirements.ts
|
|
1877
1896
|
var DEFAULT_TRUST_MEMBER_REQUIREMENTS = [
|
|
1878
1897
|
{
|
|
@@ -2426,6 +2445,20 @@ var StoreProvider = ({ children }) => {
|
|
|
2426
2445
|
});
|
|
2427
2446
|
};
|
|
2428
2447
|
//#endregion
|
|
2448
|
+
//#region src/core/EmbedShell/useTheme.ts
|
|
2449
|
+
/** Generates and injects the CSS variables for a consumer-supplied theme. */
|
|
2450
|
+
var useTheme = ({ theme, themeMode }) => {
|
|
2451
|
+
useEffect$1(() => {
|
|
2452
|
+
if (!theme) return;
|
|
2453
|
+
const themeGenerator = new ThemeGenerator();
|
|
2454
|
+
themeGenerator.create({
|
|
2455
|
+
...theme,
|
|
2456
|
+
dark: themeMode === "dark"
|
|
2457
|
+
});
|
|
2458
|
+
return () => themeGenerator.destroy();
|
|
2459
|
+
}, [theme, themeMode]);
|
|
2460
|
+
};
|
|
2461
|
+
//#endregion
|
|
2429
2462
|
//#region src/core/EmbedShell/EmbedShell.tsx
|
|
2430
2463
|
/** conditional polyfill for container queries */
|
|
2431
2464
|
if (CSS.supports("container", "foo / inline-size") === false) import("container-query-polyfill");
|
|
@@ -2456,7 +2489,7 @@ var LanguageSwitcher = ({ locale }) => {
|
|
|
2456
2489
|
* @param props given by consumer, be it HO, merchant using library or a TaskList component
|
|
2457
2490
|
* @returns
|
|
2458
2491
|
*/
|
|
2459
|
-
var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExperiments, baseUrl, getSdkToken, componentName, locale, themeMode = "light" }) => {
|
|
2492
|
+
var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExperiments, baseUrl, getSdkToken, componentName, locale, themeMode = "light", customTheme }) => {
|
|
2460
2493
|
const [isLoading, setIsLoading] = useState$1(true);
|
|
2461
2494
|
const [hasError, setHasError] = useState$1(false);
|
|
2462
2495
|
setSdkTokenHandler(getSdkToken);
|
|
@@ -2466,6 +2499,10 @@ var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExpe
|
|
|
2466
2499
|
setIsLoading(false);
|
|
2467
2500
|
});
|
|
2468
2501
|
}, []);
|
|
2502
|
+
useTheme({
|
|
2503
|
+
theme: customTheme,
|
|
2504
|
+
themeMode
|
|
2505
|
+
});
|
|
2469
2506
|
if (hasError) return /* @__PURE__ */ jsxs("div", { children: ["Something went wrong, please", /* @__PURE__ */ jsx(Button, {
|
|
2470
2507
|
onClick: () => location.reload(),
|
|
2471
2508
|
children: "refresh the page."
|
|
@@ -2482,7 +2519,7 @@ var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExpe
|
|
|
2482
2519
|
children: [/* @__PURE__ */ jsx(LanguageSwitcher, { locale }), /* @__PURE__ */ jsxs(StoreProvider, { children: [/* @__PURE__ */ jsx("span", {
|
|
2483
2520
|
id: "sdk-version",
|
|
2484
2521
|
hidden: true,
|
|
2485
|
-
children: "4.
|
|
2522
|
+
children: "4.27.0-beta.1"
|
|
2486
2523
|
}), /* @__PURE__ */ jsx(AnalyticsProvider, {
|
|
2487
2524
|
componentName,
|
|
2488
2525
|
locale,
|
|
@@ -2513,4 +2550,4 @@ var environmentMap = Object.freeze({
|
|
|
2513
2550
|
});
|
|
2514
2551
|
var resolveEnvironment = (environment) => environmentMap[environment] ?? normalizeEnvironment(environment);
|
|
2515
2552
|
//#endregion
|
|
2516
|
-
export {
|
|
2553
|
+
export { getFormattingRegEx as $, useSetting as A, ADDRESS_VALID_CHAR_REGEX as B, Alert as C, datasetUtilities as D, datasetIdentifier as E, ToggleContext as F, NO_ALPHABET_REGEX as G, HAS_PROTOCOL_REGEX as H, listToRecord as I, SPECIAL_CHARS as J, NO_ALPHABET_UNICODE_REGEX as K, useToggles as L, _rolldown_dynamic_import_helper_default as M, ExperimentNames as N, useAllowedCountries as O, FeatureNames as P, extractFieldName as Q, ToastContextProvider as R, isInstantVerifiedAccount as S, useDataset as T, INDIVIDUAL_VALID_CHAR_REGEX as U, EMOJI_REGEX as V, LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX as W, chomeAndBanchiValidator as X, URL_REGEX as Y, concatenateFieldNames as Z, TRUST_DEFAULT_DESCRIPTIONS_MAP as _, useLocalStorage as _t, doesLegalEntityRequiresLegalRepresentative as a, isAccountIdentifierObscured as at, isPartOfUnincorporatedPartnership as b, isLegalRepresentativeNeeded as c, isInvalidName as ct, hasRejectedCapabilities as d, matchesRegex as dt, getMaxLengthByFieldAndCountry as et, isEmptyEntity as f, standardKanjiValidator as ft, DEFAULT_TRUST_MEMBER_REQUIREMENTS as g, useAccountHolder as gt, isPartOfTrustFromLegalEntity as h, AnalyticsContext as ht, useGlobalStore as i, hasText as it, Header as j, useCapabilities as k, splitTaskIdentifier as l, isUndefinedOrNull as lt, getOwnTrustProblems as m, StateContext as mt, EmbedShell as n, hasMaximumTwoRepeatedCharacters as nt, getAgeRangeForLegalRepresentative as o, isEmpty as ot, getCountrySpecificTrustTypeOptions as p, standardKatakanaValidator as pt, OTHER_ENTITIES_VALID_CHAR_REGEX as q, useGetTaskStatus as r, hasRepeatedCharacters as rt, getAgeToday as s, isISIN as st, resolveEnvironment as t, hasEmptyFields as tt, hasAllCapabilitiesResolved as u, isValidMinLength as ut, TrustMemberGuidanceLabels as v, useVersionConfiguration as vt, AlertIcon as w, getObscuredAccountNumber as x, getOwnUnincorporatedPartnershipProblems as y, stylesheets as yt, ToastContext as z };
|
|
@@ -0,0 +1,57 @@
|
|
|
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] = "98c0cdfd-75a3-4227-9711-ebb1476d2202", e._sentryDebugIdIdentifier = "sentry-dbid-98c0cdfd-75a3-4227-9711-ebb1476d2202");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { v as TrustMemberGuidanceLabels } from "./resolveEnvironment-CpWP_8og.js";
|
|
6
|
+
import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
|
|
7
|
+
import { t as TrustMemberTypes } from "./trustMemberType-Ix2sf6e_.js";
|
|
8
|
+
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporatedPartnership-CiU2fnqv.js";
|
|
9
|
+
//#region src/utils/roleMetadata.ts
|
|
10
|
+
var roleMetadata = {
|
|
11
|
+
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
|
12
|
+
name: "controllingPerson",
|
|
13
|
+
description: "controllingPersonDescription"
|
|
14
|
+
},
|
|
15
|
+
[DecisionMakerTypes.OWNER]: {
|
|
16
|
+
name: "owner",
|
|
17
|
+
description: "ownerDescription"
|
|
18
|
+
},
|
|
19
|
+
[DecisionMakerTypes.SIGNATORY]: {
|
|
20
|
+
name: "signatory",
|
|
21
|
+
description: "signatoryDescription"
|
|
22
|
+
},
|
|
23
|
+
[DecisionMakerTypes.DIRECTOR]: {
|
|
24
|
+
name: "director",
|
|
25
|
+
description: "directorDescription"
|
|
26
|
+
},
|
|
27
|
+
[TrustMemberTypes.DEFINED_BENEFICIARY]: {
|
|
28
|
+
name: "definedBeneficiary",
|
|
29
|
+
description: "definedBeneficiaryDescription"
|
|
30
|
+
},
|
|
31
|
+
[TrustMemberTypes.UNDEFINED_BENEFICIARY]: {
|
|
32
|
+
name: "undefinedBeneficiary",
|
|
33
|
+
description: "undefinedBeneficiaryDescription"
|
|
34
|
+
},
|
|
35
|
+
[TrustMemberTypes.PROTECTOR]: {
|
|
36
|
+
name: "protector",
|
|
37
|
+
description: "personAppointmentUnderTrustInstrument"
|
|
38
|
+
},
|
|
39
|
+
[TrustMemberTypes.TRUSTEE]: {
|
|
40
|
+
name: "trustee",
|
|
41
|
+
description: "legalOwnerOfProperty"
|
|
42
|
+
},
|
|
43
|
+
[TrustMemberTypes.SETTLOR]: {
|
|
44
|
+
name: "settlor",
|
|
45
|
+
description: "entityEstablishingTrust"
|
|
46
|
+
},
|
|
47
|
+
[TrustMemberGuidanceLabels.BENEFICIARY]: { name: TrustMemberGuidanceLabels.BENEFICIARY },
|
|
48
|
+
[TrustMemberGuidanceLabels.TRUSTEE]: { name: TrustMemberGuidanceLabels.TRUSTEE },
|
|
49
|
+
[UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER]: {
|
|
50
|
+
name: UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER,
|
|
51
|
+
description: "secondaryPartnerGuideDescription"
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
var getRoleTagVariant = (role) => roleMetadata[role]?.variant ?? "blue";
|
|
55
|
+
var getRoleName = (role) => roleMetadata[role]?.name ?? role;
|
|
56
|
+
//#endregion
|
|
57
|
+
export { getRoleTagVariant as n, roleMetadata as r, getRoleName as t };
|