@adyen/kyc-components 4.26.0 → 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-CBSueOOP.js → AcceptTermsOfServiceWorkflow-CLxIT19W.js} +4 -4
- package/dist/{Accordion-BAdwrgCR.js → Accordion-CTQfC17W.js} +1 -1
- package/dist/{AccountSetupRejected-CDm8QalJ.js → AccountSetupRejected-Cuu1cHgb.js} +2 -2
- package/dist/{AdaptiveWorkflow-foHLHsbM.js → AdaptiveWorkflow-Du4hN8Ry.js} +22 -22
- package/dist/{AdaptiveWorkflowComponent-B8rbDAPW.js → AdaptiveWorkflowComponent-CoOpFWm7.js} +5 -5
- package/dist/{AddressFields-Bvp46aUT.js → AddressFields-Dzoa4PU5.js} +33 -72
- package/dist/{Avatar-C2zeqSSB.js → Avatar-yJfk9A6l.js} +1 -1
- package/dist/{BusinessFinancingDropin-BSLyffh0.js → BusinessFinancingDropin-DP6b5D85.js} +123 -55
- package/dist/{BusinessFinancingPage-D6gMziy2.js → BusinessFinancingPage-BIGEXFdp.js} +6 -6
- package/dist/{BusinessRegistrationNumberField-C53lsFml.js → BusinessRegistrationNumberField-B2n9ugLK.js} +6 -6
- package/dist/{BusinessRegistrationNumberFieldGroup-CneaE9tx.js → BusinessRegistrationNumberFieldGroup-BvKp9WMt.js} +6 -6
- package/dist/{BusinessTypeSelectionPage-Dy0711dl.js → BusinessTypeSelectionPage-xRXq2lGM.js} +13 -13
- package/dist/{Button-Dwr6jvJZ.js → Button-BYafPrZH.js} +1 -1
- package/dist/{Checkbox-BQIr-4_9.js → Checkbox-qFA2J_1r.js} +8 -8
- package/dist/{ComponentGroup-4nWlAgLE.js → ComponentGroup-CyykPP2r.js} +3 -3
- package/dist/{ConstitutionalDocument-RK9aBLna.js → ConstitutionalDocument-DzLLKoWV.js} +19 -26
- package/dist/{ContactDetails-DiNSGqCa.js → ContactDetails-CcWafw_y.js} +5 -5
- package/dist/{ContextGuidance-qwuLBa1O.js → ContextGuidance-gAsOnDqD.js} +3 -3
- package/dist/{CountryField-vJCcPR1M.js → CountryField-Dxuy2L9C.js} +4 -4
- package/dist/{Currency-CE-ywuDo.js → Currency-CAEcQwe6.js} +16 -10
- package/dist/{CustomerSupport-CcurAHew.js → CustomerSupport-C1nrEyEr.js} +29 -16
- package/dist/{DateField-O2Vtrn7y.js → DateField-D8GSp5fV.js} +4 -4
- package/dist/{DebugModal-CZ8JW9pA.js → DebugModal-Bwhnd1v5.js} +10 -10
- package/dist/{DecisionMakerDetails-DC2Ej2ns.js → DecisionMakerDetails-DHsxYfa3.js} +79 -174
- package/dist/{DecisionMakerDetailsPage-Dy3bSLxg.js → DecisionMakerDetailsPage-DoisZYll.js} +9 -9
- package/dist/{DecisionMakers-CzV7Whwu.js → DecisionMakers-BD5J47Zs.js} +17 -18
- package/dist/{Dropzone-Dh1tAtrG.js → Dropzone-CTz4GiZE.js} +7 -7
- package/dist/{EmailField-BVVBcDtc.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-Cfw9pWHA.js → EntityAssociation-aB7bppFQ.js} +6 -6
- package/dist/{ErrorPanel-BlLWphde.js → ErrorPanel-CuoQueZk.js} +10 -17
- package/dist/{GlobalEntryModal-DE543xEp.js → GlobalEntryModal-ZuajLl8B.js} +439 -298
- package/dist/{GlobalEntryPage-9U3nCl7d.js → GlobalEntryPage-WrN5mVJe.js} +7 -8
- package/dist/{Icon-_YUEZg1p.js → Icon-jVvV1zXc.js} +1 -1
- package/dist/{IdentityNumber-9bSJ9MaL.js → IdentityNumber-IDvVA7_z.js} +5 -5
- package/dist/{IdentityNumberFieldGroup-CJ-4hw-M.js → IdentityNumberFieldGroup-CW8lJ6_d.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-Bha_FYLN.js → IdentityScreeningWorkflow-TfHCTDlp.js} +12 -13
- package/dist/{IndividualDropin-QrtK-WO2.js → IndividualDropin-MpaDWh9N.js} +147 -223
- package/dist/{IndustryCodeFieldGroup-uUq6Wlye.js → IndustryCodeFieldGroup-DsJF3GOE.js} +5 -5
- package/dist/{InputDate-DeCynmMZ.js → InputDate-Bmx3_p-j.js} +8 -4
- package/dist/{InputText-CimBq-8I.js → InputText-CGngUMdf.js} +2 -2
- package/dist/{Introduction-CB1vutfx.js → Introduction-Dt8pjcxt.js} +6 -6
- package/dist/{InvitedDecisionMakerComponent-C_692Uhy.js → InvitedDecisionMakerComponent-1oXTODfv.js} +13 -14
- package/dist/{JpAddressFields-CVKfCLia.js → JpAddressFields-DhzFwu0N.js} +9 -10
- package/dist/{LegalCompanyNameField-C6W0bxo-.js → LegalCompanyNameField-BsY3tJfX.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BH_ZofFb.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-DyKW1wuk.js → Modal-ChWNV9yG.js} +3 -3
- package/dist/{Name-DMfnyTY6.js → Name-C8hhvQlN.js} +4 -4
- package/dist/{NumberField-BsTw6i4a.js → NumberField-C7vHy7Yz.js} +4 -4
- package/dist/{PatriotActDisclosure-CZgaYJOE.js → PatriotActDisclosure-CAvpE8su.js} +10 -10
- package/dist/{PayoutDetailsDropin-4l6--jF2.js → PayoutDetailsDropin-ILM3oK4r.js} +41 -43
- package/dist/{PayoutDetailsPage-DHLrUoda.js → PayoutDetailsPage-DfZYYplh.js} +5 -5
- package/dist/{Review-DfUNBq2-.js → Review-D_I4FUVw.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DGGRmDJr.js → RootBusinessDetailsPage-CoOUMflT.js} +4 -4
- package/dist/{RootBusinessLinesPage-0X_Pg8ZU.js → RootBusinessLinesPage-DYz9wrU_.js} +22 -23
- package/dist/{RootIndividualDetailsPage-C3g8yQkw.js → RootIndividualDetailsPage-C42YybJq.js} +6 -6
- package/dist/{Select-b8cQ38Yi.js → Select-BMGxcmZy.js} +92 -92
- package/dist/{SignPCIComponent-Cx7hmS8Z.js → SignPCIComponent-B4RkNT1l.js} +14 -14
- package/dist/{SingpassSelection-tt8yuzxX.js → SingpassSelection-Usq1Kdpp.js} +5 -5
- package/dist/{SoleProprietorshipPage-Z9PTJTCi.js → SoleProprietorshipPage-tEf2zwhT.js} +4 -4
- package/dist/{SourceOfFundsPage-DHsqkOJp.js → SourceOfFundsPage-BXG5weCA.js} +24 -24
- package/dist/{SourceOfFundsWorkflow-6rO4Wt3d.js → SourceOfFundsWorkflow-BWWLrVaR.js} +4 -4
- package/dist/StateField-TYw5No81.js +364 -0
- package/dist/{Step-CgpBaVfH.js → Step-D8w1jd5O.js} +5 -5
- package/dist/Summary-BwvaKucT.js +21 -0
- package/dist/{SummarySection-Dtx_G11I.js → SummarySection-5L--khYg.js} +5 -19
- package/dist/{Task-BsE88vzp.js → Task-dSDYu-xr.js} +7 -7
- package/dist/{TaskGroup-C7G7V91U.js → TaskGroup-298zewpP.js} +3 -3
- package/dist/{TaskListItem-CWu40zb6.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-B_uFZqqw.js → TaxInformationFieldGroup-BkyZwtUe.js} +7 -7
- package/dist/{TaxReportingDropin-CJ3NB9BQ.js → TaxReportingDropin-BVohPujf.js} +13 -15
- package/dist/{TaxReportingWorkflow-B43zKtsp.js → TaxReportingWorkflow-BdVibdaP.js} +4 -4
- package/dist/{TermsOfServiceManagement-B64PXaru.js → TermsOfServiceManagement-Bh0BJ4wb.js} +46 -43
- package/dist/{TextArea-sSSxe4Li.js → TextArea-BaoeEZvH.js} +4 -4
- package/dist/{TextField-Dhohtwdr.js → TextField-BWevK7LS.js} +5 -5
- package/dist/{TrustDetailsPage-BUYCMRkb.js → TrustDetailsPage-B5x1-NPO.js} +61 -54
- package/dist/{TrustMemberCompanyPage-DIBfqWyQ.js → TrustMemberCompanyPage-Ck2UKJma.js} +5 -5
- package/dist/{TrustMemberIndividualPage-v-Yzq_IP.js → TrustMemberIndividualPage-CTUh7yn9.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-VVMP9pyy.js → TrustMemberRoleAndTypePage-D5_AZAMj.js} +43 -36
- package/dist/{TrustMembersOverview-CpYhIhrk.js → TrustMembersOverview-Dbt3KQhv.js} +13 -13
- package/dist/{UboTaskItem-CR4jrdN5.js → UboTaskItem-CV0B4ONJ.js} +7 -7
- package/dist/{UnincorporatedPartnershipIndividualPage-1hKd_Css.js → UnincorporatedPartnershipIndividualPage-g9PpNHfH.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CQ_jQfvD.js → UnincorporatedPartnershipMemberCompanyPage-Chd2k8jM.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-yyfNjmYl.js → UnincorporatedPartnershipMemberRoleAndTypePage-C7AvOkFK.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-BOlWKeWw.js → UnincorporatedPartnershipMembersOverview-m3TgX08K.js} +6 -6
- package/dist/{VerificationErrorAlert-BrR02W5c.js → VerificationErrorAlert-yOZ8yz_8.js} +3 -3
- package/dist/{WebsiteField-BxJd5tYn.js → WebsiteField-Cn_VPhTx.js} +5 -5
- package/dist/{Workflow-lip-FQM9.js → Workflow-BUgUDsPv.js} +6 -6
- package/dist/{accountHolderUtils-DKRzOKWL.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-DvMDkIIg.js → bafinUtils-4C7AJpnd.js} +519 -531
- package/dist/{constants-D0Os_pjB.js → constants-dKwpavyU.js} +6 -6
- package/dist/{dropinUtils-COH_5oC3.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-CljcfMBy.js → error-vhREufv_.js} +2 -2
- package/dist/formatDataForSummary-CNiewg8c.js +498 -0
- package/dist/{formatValidationError-DAnv_psF.js → formatValidationError-BO9k5bVJ.js} +2 -2
- package/dist/{getDefaultRegistrationNumberType-V2vtKe2c.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-BpqwVNUc.js → getValidationError--VxsluPA.js} +2 -2
- package/dist/{legalArrangementUtils-Crgt_L7h.js → legalArrangementUtils-CHlmmcB8.js} +11 -2
- package/dist/{mapAddressLocalizationToJpAddressSchema-BBdzPvJl.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-D64cPTBm.js → mapTransferInstrumentToPayoutAccount-BLq2P8NF.js} +2 -2
- package/dist/{processCapabilities-FL4-KAbd.js → processCapabilities-B75YIdXZ.js} +11 -4
- package/dist/{processValidationErrors-DbnkpAs6.js → processValidationErrors-DKn7wWTY.js} +4 -4
- package/dist/{resolveEnvironment-NlZWcle4.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-CRMDL7v8.js → unincorporatedPartnership-Dr3lPgDv.js} +38 -4
- package/dist/{useBusinessDetailsData-CcxnigRY.js → useBusinessDetailsData-DrN9ZzIG.js} +100 -90
- package/dist/{useCanSeeIntroduction-COjEJwSQ.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-B-WTDdmc.js → useForm-Cibudto5.js} +3 -3
- package/dist/{useHideTaskStepper-BgCN--mG.js → useHideTaskStepper-Betx9MGy.js} +1 -1
- package/dist/{useId-DHoBdW3X.js → useId-e2xn6OME.js} +2 -2
- package/dist/{useNavigate-CQxBS2lg.js → useNavigate-DxEfo192.js} +33 -33
- package/dist/{useSalesChannels-y8Arf4LC.js → useSalesChannels-C09EqYFN.js} +1 -1
- package/dist/{useTaskLandedEvent-B4E45deF.js → useTaskLandedEvent-C-kML6lH.js} +1 -1
- package/dist/{useTrustMembers-BN5zllxF.js → useTrustMembers-CZ28rgNA.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-DcfQJdVZ.js → useUnincorporatedPartnershipMembers-e3nDscEc.js} +2 -2
- package/dist/{utils-CHeUbOCF.js → utils-C3-aLHsN.js} +3 -3
- package/dist/{utils-Cfwr1ukp.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-DTxPR5js.js → validate-BDG97Hw4.js} +4 -4
- package/dist/{validate-DxdZ3j2v.js → validate-C1VibHZH.js} +26 -2
- package/dist/{validate-cWwt79cT.js → validate-Dve-kxSi.js} +11 -5
- package/dist/{validate-BbY2FS3b.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-fSYeyb3x.js +0 -296
- package/dist/en-US-U0d3NI20.js +0 -7
- package/dist/mapJpAddressSchemaToAddressLocalizations-D5Z5Swb4.js +0 -75
- package/dist/mapLegalEntityToIndividualSchema-DhZ0rxIP.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,36 +1,34 @@
|
|
|
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] = "f8e60ed4-84d1-41ca-874a-f9fc673d10e0", e._sentryDebugIdIdentifier = "sentry-dbid-f8e60ed4-84d1-41ca-874a-f9fc673d10e0");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { C as Alert } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
|
-
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
8
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
10
|
-
import { t as Button } from "./Button-
|
|
9
|
+
import { t as Button } from "./Button-BYafPrZH.js";
|
|
11
10
|
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
12
11
|
import { r as useLegalEntity } from "./useLegalEntity-CxeMoCm4.js";
|
|
13
12
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
14
|
-
import {
|
|
13
|
+
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
14
|
+
import { i as noop } from "./genUtils-nphCwt1A.js";
|
|
15
15
|
import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
16
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
16
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-C1CllzL1.js";
|
|
17
17
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
18
18
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
19
19
|
import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
|
|
20
20
|
import { t as Scenarios } from "./scenarios-nibtmpSb.js";
|
|
21
|
-
import { i as useToggleContext } from "./Checkbox-
|
|
22
|
-
import { i as useAnalyticsContext, t as Modal } from "./Modal-
|
|
23
|
-
import { t as ListItem } from "./ListItem-
|
|
24
|
-
import { r as useToastContext } from "./useId-
|
|
25
|
-
import { o as StructuredList, s as Confirm } from "./utils-
|
|
26
|
-
import {
|
|
27
|
-
import { t as List } from "./List-qvNxW9lm.js";
|
|
28
|
-
import { t as getIdNowMissingDataPoints } from "./bafinUtils-DvMDkIIg.js";
|
|
21
|
+
import { i as useToggleContext } from "./Checkbox-qFA2J_1r.js";
|
|
22
|
+
import { i as useAnalyticsContext, t as Modal } from "./Modal-ChWNV9yG.js";
|
|
23
|
+
import { t as ListItem } from "./ListItem-n927geYb.js";
|
|
24
|
+
import { r as useToastContext } from "./useId-e2xn6OME.js";
|
|
25
|
+
import { o as StructuredList, s as Confirm } from "./utils-C3-aLHsN.js";
|
|
26
|
+
import { t as getIdNowMissingDataPoints } from "./bafinUtils-4C7AJpnd.js";
|
|
29
27
|
import { t as useScenarios } from "./useScenarios-DfE71fl7.js";
|
|
30
|
-
import {
|
|
31
|
-
import { t as
|
|
28
|
+
import { l as shouldNavigateToAdditionalPersonalDetailsForMissingData, n as SummaryBulletList, r as mapLegalEntityToIndividualSchema, t as formatDataForSummary, u as useCreateInvitation } from "./formatDataForSummary-CNiewg8c.js";
|
|
29
|
+
import { t as SummarySection } from "./SummarySection-5L--khYg.js";
|
|
32
30
|
import { t as DetailViewLayout } from "./DetailViewLayout-DJgAzdlZ.js";
|
|
33
|
-
import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-
|
|
31
|
+
import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-DByctgob.js";
|
|
34
32
|
import { useMemo, useState } from "preact/hooks";
|
|
35
33
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
36
34
|
import { skipToken, useMutation, useQueries, useQuery } from "@tanstack/preact-query";
|
|
@@ -181,150 +179,49 @@ var individualIdentityDocumentTypes = [
|
|
|
181
179
|
"proofOfNationalIdNumber"
|
|
182
180
|
];
|
|
183
181
|
/**
|
|
184
|
-
*
|
|
185
|
-
*
|
|
182
|
+
* The sections of the details modal, in display order. The modal is not part of the flow, so it
|
|
183
|
+
* states its own forms rather than taking them from it.
|
|
186
184
|
*
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
* @returns An object containing formatted file information.
|
|
185
|
+
* These mirror `individualForms`, which cannot be imported here: importing from `Individual.tsx`
|
|
186
|
+
* makes Vite inline that whole module into the entrypoint (see the Individual `AGENTS.md`).
|
|
190
187
|
*/
|
|
191
|
-
var
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
if (phoneNumber && formattedSummaryData.basicDetails) formattedSummaryData.basicDetails.phoneNumber = phoneNumber.number;
|
|
224
|
-
if (country && formattedSummaryData.additionalPersonalDetails) formattedSummaryData.additionalPersonalDetails.country = datasetUtils.getCountryName(country);
|
|
225
|
-
if (nationality && formattedSummaryData.additionalPersonalDetails) formattedSummaryData.additionalPersonalDetails.nationality = datasetUtils.getCountryName(nationality);
|
|
226
|
-
if (formattedSummaryData.additionalPersonalDetails) formattedSummaryData.address = mapAddressLabels(formattedSummaryData.additionalPersonalDetails, datasetUtils);
|
|
227
|
-
const accountHolder = formattedSummaryData.basicDetails?.accountHolder;
|
|
228
|
-
if (accountHolder && formattedSummaryData.basicDetails) formattedSummaryData.basicDetails.accountHolder = commonT(($) => $[accountHolder]);
|
|
229
|
-
if (birthDate && formattedSummaryData.additionalPersonalDetails) formattedSummaryData.additionalPersonalDetails.birthDate = localizeDateString(birthDate, locale);
|
|
230
|
-
if (street && formattedSummaryData.additionalPersonalDetails) {
|
|
231
|
-
const labelKey = getKeyForField("street", country);
|
|
232
|
-
formattedSummaryData.additionalPersonalDetails[commonT(($) => $[labelKey])] = street;
|
|
233
|
-
delete formattedSummaryData.additionalPersonalDetails.street;
|
|
234
|
-
}
|
|
235
|
-
if (street2 && formattedSummaryData.additionalPersonalDetails) {
|
|
236
|
-
const labelKey = getKeyForField("street2", country);
|
|
237
|
-
formattedSummaryData.additionalPersonalDetails[commonT(($) => $[labelKey])] = street2;
|
|
238
|
-
delete formattedSummaryData.additionalPersonalDetails.street2;
|
|
188
|
+
var DETAILS_SUMMARY_FORMS = [
|
|
189
|
+
{
|
|
190
|
+
formId: "basicDetails",
|
|
191
|
+
formName: "basicInformationFormName"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
formId: "additionalPersonalDetails",
|
|
195
|
+
formName: "additionalPersonalDetails"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
formId: "signatoryQuestionnaire",
|
|
199
|
+
formName: "authorizedSignatory"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
formId: "uboQuestionnaire",
|
|
203
|
+
formName: "beneficialOwnership"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
formId: "proofOfNationalId",
|
|
207
|
+
formName: "proofOfNationalId"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
formId: "proofOfResidency",
|
|
211
|
+
formName: "proofOfResidency"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
formId: "proofOfRelationship",
|
|
215
|
+
formName: "proofOfRelationship"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
formId: "manualIdUpload",
|
|
219
|
+
formName: "idDocument"
|
|
239
220
|
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
...fileSummaryData
|
|
245
|
-
};
|
|
246
|
-
formattedSummaryData.manualIdUpload = { ...formattedSummaryData.idDocument };
|
|
247
|
-
formattedSummaryData.idVerificationMethod.idDocument = { ...formattedSummaryData.idDocument };
|
|
248
|
-
}
|
|
249
|
-
const summaryPersonalDetails = formattedSummaryData.additionalPersonalDetails;
|
|
250
|
-
const relevantTaxInformation = findRelevantTaxInformation(taxInformation, {
|
|
251
|
-
nationality,
|
|
252
|
-
country
|
|
253
|
-
});
|
|
254
|
-
if (relevantTaxInformation && summaryPersonalDetails) {
|
|
255
|
-
delete summaryPersonalDetails.taxInformation;
|
|
256
|
-
summaryPersonalDetails[relevantTaxInformation.type] = relevantTaxInformation.number;
|
|
257
|
-
}
|
|
258
|
-
if (formattedSummaryData?.signatoryQuestionnaire) formattedSummaryData.signatoryQuestionnaire = dataToFormat?.signatoryQuestionnaire?.isSignatory === GuidanceQuestionValues.YES ? [commonT(($) => $["signatorySummaryLabel"])] : [];
|
|
259
|
-
if (formattedSummaryData?.uboQuestionnaire) {
|
|
260
|
-
const roleFieldToLabelMap = {
|
|
261
|
-
isOwner: "ownerSummaryLabel",
|
|
262
|
-
isControllingPerson: "controllingPersonSummaryLabel",
|
|
263
|
-
isDirector: "directorSummaryLabel"
|
|
264
|
-
};
|
|
265
|
-
formattedSummaryData.uboQuestionnaire = Object.keys(roleFieldToLabelMap).flatMap((field) => dataToFormat?.uboQuestionnaire?.[field] === GuidanceQuestionValues.YES ? [individualT(($) => $[roleFieldToLabelMap[field]])] : []);
|
|
266
|
-
}
|
|
267
|
-
return formattedSummaryData;
|
|
268
|
-
};
|
|
269
|
-
/**
|
|
270
|
-
* Determines which keys to omit from the summary data based on the form data and task type.
|
|
271
|
-
*
|
|
272
|
-
* @param data - The form data.
|
|
273
|
-
* @param taskType - The type of task being performed.
|
|
274
|
-
* @returns An array of keys to be omitted from the summary.
|
|
275
|
-
*
|
|
276
|
-
* @example
|
|
277
|
-
* getOmittedKeysForSummary({ idVerificationMethod: { idVerificationMethod: 'manualVerification' } }, 'INDIVIDUAL');
|
|
278
|
-
* // Returns: ['idVerificationMethod', 'address']
|
|
279
|
-
*/
|
|
280
|
-
var getOmittedKeysForSummary = (data, taskType) => [
|
|
281
|
-
...taskType === TaskTypes.DECISION_MAKER ? ["role"] : [],
|
|
282
|
-
...data?.additionalPersonalDetails?.idNumberExempt ? ["idNumber"] : [],
|
|
283
|
-
...isManualVerificationOrExistingDoc(data?.idVerificationMethod?.idVerificationMethod) ? ["idVerificationMethod"] : [],
|
|
284
|
-
"address",
|
|
285
|
-
"manualIdUpload"
|
|
286
|
-
];
|
|
287
|
-
/**
|
|
288
|
-
* Prepares the final summary data by formatting and filtering the raw form data.
|
|
289
|
-
*
|
|
290
|
-
* @param data - The raw form data.
|
|
291
|
-
* @param locale - language string
|
|
292
|
-
* @param commonT - The translation function for the `common` namespace.
|
|
293
|
-
* @param individualT - The translation function for the `individual` namespace.
|
|
294
|
-
* @param taskType - The type of task being performed.
|
|
295
|
-
* @returns The final summary data object.
|
|
296
|
-
*/
|
|
297
|
-
var getSummaryData = (data, locale, commonT, individualT, taskType) => {
|
|
298
|
-
const summaryData = formatDataForSummary(data, locale, commonT, individualT);
|
|
299
|
-
const omittedKeys = getOmittedKeysForSummary(data, taskType)?.filter(Boolean);
|
|
300
|
-
return {
|
|
301
|
-
...drop(...omittedKeys).from(summaryData),
|
|
302
|
-
basicDetails: summaryData.basicDetails ? drop("firstName", "lastName", "role", "nomineeShareholder").from(summaryData.basicDetails) : void 0,
|
|
303
|
-
additionalPersonalDetails: summaryData.additionalPersonalDetails ? drop("idNumberExempt").from(summaryData.additionalPersonalDetails) : void 0,
|
|
304
|
-
idDocument: summaryData.idVerificationMethod?.idDocument
|
|
305
|
-
};
|
|
306
|
-
};
|
|
307
|
-
/**
|
|
308
|
-
* Transforms a record of data into a structured list of items for display.
|
|
309
|
-
* Each item in the list has a term (label) and details (value).
|
|
310
|
-
*
|
|
311
|
-
* @param data - The data record to transform.
|
|
312
|
-
* @param commonT - The translation function.
|
|
313
|
-
* @returns An array of structured list items.
|
|
314
|
-
*
|
|
315
|
-
* @example
|
|
316
|
-
* const data = { name: 'John Doe', age: 30 };
|
|
317
|
-
* getStructuredListItems(data, t);
|
|
318
|
-
* // Returns: [{ term: 'Name', details: 'John Doe', type: 'text' }, { term: 'Age', details: '30', type: 'text' }]
|
|
319
|
-
*/
|
|
320
|
-
var getStructuredListItems = (data, commonT) => {
|
|
321
|
-
if (typeof data !== "object" || data === null || Array.isArray(data)) return [];
|
|
322
|
-
return Object.entries(data).filter(([itemKey, itemValue]) => itemValue != null && itemValue !== "" && !["nomineeDirector", "nomineeShareholder"].includes(itemKey) && (!Array.isArray(itemValue) || itemValue.length > 0)).map(([itemKey, itemValue]) => ({
|
|
323
|
-
term: commonT(($) => $[itemKey]),
|
|
324
|
-
details: Array.isArray(itemValue) ? itemValue.join(", ") : commonT(($) => $[itemValue]) || String(itemValue),
|
|
325
|
-
type: Array.isArray(itemValue) ? "list" : "text"
|
|
326
|
-
}));
|
|
327
|
-
};
|
|
221
|
+
].map((form) => ({
|
|
222
|
+
...form,
|
|
223
|
+
isValid: true
|
|
224
|
+
}));
|
|
328
225
|
var isMissingIdentityDocument = (problems, legalEntity, scenarios, roles) => {
|
|
329
226
|
if (roles.includes(DecisionMakerTypes.SIGNATORY) && scenarios?.includes(Scenarios.L_BAFIN)) return false;
|
|
330
227
|
const hasMissingIdDocument = Boolean(problems.missingData?.some((item) => item.remediatingActions?.some((action) => action.code === "1_301")));
|
|
@@ -339,6 +236,8 @@ var DecisionMakerDetails = ({ decisionMaker, parentLegalEntity, handleClose, han
|
|
|
339
236
|
const { showToast } = useToastContext();
|
|
340
237
|
const { t: commonT, i18n } = useTranslation("common");
|
|
341
238
|
const { t: individualT } = useTranslation("individual");
|
|
239
|
+
const { t: summaryT } = useTranslation(["common", "individual"]);
|
|
240
|
+
const { isSettingEnabled } = useSettingsContext();
|
|
342
241
|
const { isFeatureEnabled } = useToggleContext();
|
|
343
242
|
const isVerifyByInviteEnabled = isFeatureEnabled("EnableVerifyByInvite");
|
|
344
243
|
const { data: invitationStatus, refetch: refetchInvitationStatus } = useInvitationStatus(decisionMaker.reference, { enabled: isVerifyByInviteEnabled });
|
|
@@ -356,14 +255,26 @@ var DecisionMakerDetails = ({ decisionMaker, parentLegalEntity, handleClose, han
|
|
|
356
255
|
const canEdit = !invitationActive || isInvitedEntity;
|
|
357
256
|
const idNowMissingDataPoints = legalEntity && !isLegalEntityLoading ? getIdNowMissingDataPoints(decisionMaker.problems, legalEntity, scenarios, decisionMaker.types) : null;
|
|
358
257
|
const hasMissingIdDocument = legalEntity && decisionMaker.problems && !isLegalEntityLoading ? isMissingIdentityDocument(decisionMaker.problems, legalEntity, scenarios, decisionMaker.types) : null;
|
|
359
|
-
const
|
|
360
|
-
if (legalEntity) return
|
|
258
|
+
const summarySections = useMemo(() => {
|
|
259
|
+
if (!legalEntity) return [];
|
|
260
|
+
const individualSchema = mapLegalEntityToIndividualSchema(legalEntity, false, true, parentLegalEntity);
|
|
261
|
+
const country = legalEntity.individual?.residentialAddress?.country;
|
|
262
|
+
return formatDataForSummary({
|
|
263
|
+
data: individualSchema,
|
|
264
|
+
forms: DETAILS_SUMMARY_FORMS,
|
|
265
|
+
t: summaryT,
|
|
266
|
+
language: i18n.language,
|
|
267
|
+
taskType: TaskTypes.DECISION_MAKER,
|
|
268
|
+
country,
|
|
269
|
+
isSettingEnabled,
|
|
270
|
+
source: "legalEntity"
|
|
271
|
+
});
|
|
361
272
|
}, [
|
|
362
273
|
legalEntity,
|
|
363
274
|
parentLegalEntity,
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
275
|
+
summaryT,
|
|
276
|
+
i18n.language,
|
|
277
|
+
isSettingEnabled
|
|
367
278
|
]);
|
|
368
279
|
const handleSendReminder = trackClickHandler(userEvents, "sendReminder", "select", async () => {
|
|
369
280
|
if (!parentLegalEntity?.id) {
|
|
@@ -529,17 +440,11 @@ var DecisionMakerDetails = ({ decisionMaker, parentLegalEntity, handleClose, han
|
|
|
529
440
|
title: decisionMaker.name,
|
|
530
441
|
description: getDecisionMakerDescription(decisionMaker.types, individualT)
|
|
531
442
|
}),
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
children: [/* @__PURE__ */ jsx(Typography, {
|
|
538
|
-
variant: "title",
|
|
539
|
-
children: individualT(($) => $[key])
|
|
540
|
-
}), /* @__PURE__ */ jsx(StructuredList, { items })]
|
|
541
|
-
}, key);
|
|
542
|
-
}).filter(Boolean)
|
|
443
|
+
summarySections.map(({ formId, label, items, bullets }) => /* @__PURE__ */ jsx(SummarySection, {
|
|
444
|
+
formId,
|
|
445
|
+
label,
|
|
446
|
+
children: bullets ? /* @__PURE__ */ jsx(SummaryBulletList, { items: bullets }) : /* @__PURE__ */ jsx(StructuredList, { items })
|
|
447
|
+
}, formId))
|
|
543
448
|
]
|
|
544
449
|
})
|
|
545
450
|
})
|
|
@@ -1,22 +1,22 @@
|
|
|
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] = "ef2942c8-a7fd-4780-badf-a14f34101eb1", e._sentryDebugIdIdentifier = "sentry-dbid-ef2942c8-a7fd-4780-badf-a14f34101eb1");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { M as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-CxeMoCm4.js";
|
|
9
9
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
10
10
|
import { i as noop } from "./genUtils-nphCwt1A.js";
|
|
11
|
-
import { c as individualBaseMapping } from "./processCapabilities-
|
|
11
|
+
import { c as individualBaseMapping } from "./processCapabilities-B75YIdXZ.js";
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
13
|
-
import { i as getTrustedFieldsProvider, r as getTrustedFields } from "./ListItem-
|
|
14
|
-
import { r as useToastContext } from "./useId-
|
|
15
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
16
|
-
import { n as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-
|
|
13
|
+
import { i as getTrustedFieldsProvider, r as getTrustedFields } from "./ListItem-n927geYb.js";
|
|
14
|
+
import { r as useToastContext } from "./useId-e2xn6OME.js";
|
|
15
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-FHk416BA.js";
|
|
16
|
+
import { n as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-4C7AJpnd.js";
|
|
17
17
|
import { t as useScenarios } from "./useScenarios-DfE71fl7.js";
|
|
18
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
19
|
-
import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-
|
|
18
|
+
import { t as IndividualDropin } from "./IndividualDropin-MpaDWh9N.js";
|
|
19
|
+
import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-DByctgob.js";
|
|
20
20
|
import { useEffect } from "preact/hooks";
|
|
21
21
|
import { jsx } from "preact/jsx-runtime";
|
|
22
22
|
import { skipToken } from "@tanstack/preact-query";
|
|
@@ -1,33 +1,32 @@
|
|
|
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] = "6c1ceec1-fe15-40bc-a195-62fac63173a5", e._sentryDebugIdIdentifier = "sentry-dbid-6c1ceec1-fe15-40bc-a195-62fac63173a5");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { C as Alert, M as _rolldown_dynamic_import_helper_default, j as Header, r as useGetTaskStatus } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
7
7
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
8
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
9
|
-
import { t as Button } from "./Button-
|
|
9
|
+
import { t as Button } from "./Button-BYafPrZH.js";
|
|
10
10
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
|
|
11
11
|
import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
12
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
12
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-C1CllzL1.js";
|
|
13
13
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
14
|
-
import { w as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-
|
|
14
|
+
import { w as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-B75YIdXZ.js";
|
|
15
15
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
16
16
|
import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
|
|
17
17
|
import { r as getOwnDecisionMakers } from "./decisionMakerRoles-DA8MK9Dh.js";
|
|
18
|
-
import { i as useToggleContext } from "./Checkbox-
|
|
19
|
-
import { i as useAnalyticsContext, t as Modal } from "./Modal-
|
|
20
|
-
import { t as ListItem } from "./ListItem-
|
|
21
|
-
import { r as useToastContext } from "./useId-
|
|
22
|
-
import { t as useDataMissingRemediations } from "./useDataMissingRemediations-
|
|
23
|
-
import {
|
|
24
|
-
import { n as useCapabilityProblems } from "./getProblemsForEntity-
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import { t as
|
|
30
|
-
import { i as useInvitationStatuses, n as getDecisionMakerDescription, t as DecisionMakerDetails } from "./DecisionMakerDetails-DC2Ej2ns.js";
|
|
18
|
+
import { i as useToggleContext } from "./Checkbox-qFA2J_1r.js";
|
|
19
|
+
import { i as useAnalyticsContext, t as Modal } from "./Modal-ChWNV9yG.js";
|
|
20
|
+
import { t as ListItem } from "./ListItem-n927geYb.js";
|
|
21
|
+
import { r as useToastContext } from "./useId-e2xn6OME.js";
|
|
22
|
+
import { t as useDataMissingRemediations } from "./useDataMissingRemediations-BfC7ECSn.js";
|
|
23
|
+
import { l as LandingLayout, n as Image } from "./unincorporatedPartnership-Dr3lPgDv.js";
|
|
24
|
+
import { n as useCapabilityProblems } from "./getProblemsForEntity-FHk416BA.js";
|
|
25
|
+
import { h as useUpdateLegalEntity } from "./StateField-TYw5No81.js";
|
|
26
|
+
import { c as List } from "./dropinUtils-D7sD4BX1.js";
|
|
27
|
+
import { c as individualFormDefaultData, s as GuidanceQuestionValues } from "./formatDataForSummary-CNiewg8c.js";
|
|
28
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-C-kML6lH.js";
|
|
29
|
+
import { i as useInvitationStatuses, n as getDecisionMakerDescription, t as DecisionMakerDetails } from "./DecisionMakerDetails-DHsxYfa3.js";
|
|
31
30
|
import { lazy } from "preact/compat";
|
|
32
31
|
import { useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
|
|
33
32
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,15 +1,15 @@
|
|
|
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] = "223410c4-a726-47aa-9e15-dae7e99d9ecc", e._sentryDebugIdIdentifier = "sentry-dbid-223410c4-a726-47aa-9e15-dae7e99d9ecc");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
7
|
-
import { t as Icon } from "./Icon-
|
|
6
|
+
import { mt as StateContext } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
7
|
+
import { t as Icon } from "./Icon-jVvV1zXc.js";
|
|
8
8
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
|
-
import { t as Button } from "./Button-
|
|
10
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
11
|
-
import { t as useForm } from "./useForm-
|
|
12
|
-
import { i as bytesToSize, n as fileValidationRules, r as DropzoneFile, t as defaultFileValidationOptions } from "./validate-
|
|
9
|
+
import { t as Button } from "./Button-BYafPrZH.js";
|
|
10
|
+
import { i as useAnalyticsContext } from "./Modal-ChWNV9yG.js";
|
|
11
|
+
import { t as useForm } from "./useForm-Cibudto5.js";
|
|
12
|
+
import { i as bytesToSize, n as fileValidationRules, r as DropzoneFile, t as defaultFileValidationOptions } from "./validate-BDG97Hw4.js";
|
|
13
13
|
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
14
14
|
import cx from "classnames";
|
|
15
15
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,13 +1,13 @@
|
|
|
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] = "d3f088c5-cfaa-42f9-9a48-0eaf78188b58", e._sentryDebugIdIdentifier = "sentry-dbid-d3f088c5-cfaa-42f9-9a48-0eaf78188b58");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { r as InputBase } from "./InputText-
|
|
7
|
-
import {
|
|
6
|
+
import { r as InputBase } from "./InputText-CGngUMdf.js";
|
|
7
|
+
import { o as Field } from "./Select-BMGxcmZy.js";
|
|
8
8
|
import { n as emailPattern } from "./basePatterns-plHFNzgJ.js";
|
|
9
9
|
import { n as withForm } from "./formHook-Dgi2CgbT.js";
|
|
10
|
-
import { t as getValidationError } from "./getValidationError
|
|
10
|
+
import { t as getValidationError } from "./getValidationError--VxsluPA.js";
|
|
11
11
|
import { t as isNotEmpty } from "./sharedValidators-DODW7kuK.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
13
|
//#region src/adaptiveWorkflow/components/Shared/Fields/EmailField/validators.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
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] = "e64bad3c-7570-4c10-96d9-5187dcb83c97", e._sentryDebugIdIdentifier = "sentry-dbid-e64bad3c-7570-4c10-96d9-5187dcb83c97");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
6
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
7
7
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
8
8
|
import { t as Skeleton } from "./Skeleton-7xDqhYr-.js";
|
|
9
|
-
import { t as Avatar } from "./Avatar-
|
|
9
|
+
import { t as Avatar } from "./Avatar-yJfk9A6l.js";
|
|
10
10
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
11
11
|
import { t as OnboardingStatuses } from "./onboardingStatus-B8UCsL8G.js";
|
|
12
12
|
import cx from "classnames";
|
|
@@ -2,9 +2,9 @@ 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
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fc3e0198-09ea-4e48-84b4-54725713fe58", e._sentryDebugIdIdentifier = "sentry-dbid-fc3e0198-09ea-4e48-84b4-54725713fe58");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as Icon } from "./Icon-
|
|
5
|
+
import { t as Icon } from "./Icon-jVvV1zXc.js";
|
|
6
6
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
7
|
-
import { t as Button } from "./Button-
|
|
7
|
+
import { t as Button } from "./Button-BYafPrZH.js";
|
|
8
8
|
import cx from "classnames";
|
|
9
9
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
10
10
|
import { cloneElement, isValidElement } from "preact";
|
|
@@ -1,15 +1,15 @@
|
|
|
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] = "e3d86771-8dbd-4f80-afab-e98c3f65ff94", e._sentryDebugIdIdentifier = "sentry-dbid-e3d86771-8dbd-4f80-afab-e98c3f65ff94");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { n as IconButton, t as Button } from "./Button-
|
|
7
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
6
|
+
import { n as IconButton, t as Button } from "./Button-BYafPrZH.js";
|
|
7
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-C1CllzL1.js";
|
|
8
8
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
9
9
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
10
|
-
import { t as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
11
|
-
import { s as Confirm } from "./utils-
|
|
12
|
-
import {
|
|
10
|
+
import { t as VerificationErrorAlert } from "./VerificationErrorAlert-yOZ8yz_8.js";
|
|
11
|
+
import { s as Confirm } from "./utils-C3-aLHsN.js";
|
|
12
|
+
import { n as getRoleTagVariant, t as getRoleName } from "./roleMetadata-CmxqSnzp.js";
|
|
13
13
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
14
14
|
import { useCallback, useEffect, useRef, useState } from "preact/hooks";
|
|
15
15
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,30 +1,23 @@
|
|
|
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] = "28db676a-6f39-4094-91a7-3d80c8f7c421", e._sentryDebugIdIdentifier = "sentry-dbid-28db676a-6f39-4094-91a7-3d80c8f7c421");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
7
|
-
import { t as Button } from "./Button-
|
|
6
|
+
import { C as Alert } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
7
|
+
import { t as Button } from "./Button-BYafPrZH.js";
|
|
8
8
|
import { s as keysOf } from "./genUtils-nphCwt1A.js";
|
|
9
|
-
import { r as remediationHasFileUploadField } from "./processCapabilities-
|
|
9
|
+
import { r as remediationHasFileUploadField } from "./processCapabilities-B75YIdXZ.js";
|
|
10
|
+
import { C as FormRouterContext, _ as getFieldNameFromPath } from "./dropinUtils-D7sD4BX1.js";
|
|
10
11
|
import { useContext } from "preact/hooks";
|
|
11
12
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
12
|
-
import { createContext } from "preact";
|
|
13
|
-
var ErrorPanel_module_default = {
|
|
14
|
-
"error-panel": "_error-panel_1nb8q_1",
|
|
15
|
-
errorPanel: "_error-panel_1nb8q_1"
|
|
16
|
-
};
|
|
17
|
-
//#endregion
|
|
18
|
-
//#region src/utils/getFieldNameFromPath.ts
|
|
19
|
-
var getFieldNameFromPath = (fieldPath) => fieldPath.split(".").at(-1);
|
|
20
|
-
//#endregion
|
|
21
|
-
//#region src/context/FormRouterContext/FormRouterContext.ts
|
|
22
|
-
var FormRouterContext = createContext(null);
|
|
23
|
-
//#endregion
|
|
24
13
|
//#region src/context/FormRouterContext/useFormRouterContext.ts
|
|
25
14
|
function useFormRouterContext() {
|
|
26
15
|
return useContext(FormRouterContext);
|
|
27
16
|
}
|
|
17
|
+
var ErrorPanel_module_default = {
|
|
18
|
+
"error-panel": "_error-panel_1nb8q_1",
|
|
19
|
+
errorPanel: "_error-panel_1nb8q_1"
|
|
20
|
+
};
|
|
28
21
|
//#endregion
|
|
29
22
|
//#region src/components/ui/molecules/ErrorPanel/NavigateToFieldLink.tsx
|
|
30
23
|
var NavigateToFieldLink = ({ fieldName, label }) => {
|
|
@@ -207,4 +200,4 @@ function ErrorPanel({ id = "ariaErrorField", verificationErrors, validationError
|
|
|
207
200
|
});
|
|
208
201
|
}
|
|
209
202
|
//#endregion
|
|
210
|
-
export {
|
|
203
|
+
export { useFormRouterContext as n, ErrorPanel as t };
|