@adyen/kyc-components 4.26.0-beta.1 → 4.27.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceWorkflow-Dqbo6l6E.js → AcceptTermsOfServiceWorkflow-CLxIT19W.js} +4 -4
- package/dist/{Accordion-BAdwrgCR.js → Accordion-CTQfC17W.js} +1 -1
- package/dist/{AccountSetupRejected-BiFdVnlI.js → AccountSetupRejected-Cuu1cHgb.js} +2 -2
- package/dist/{AdaptiveWorkflow-Cl6sIKYm.js → AdaptiveWorkflow-Du4hN8Ry.js} +22 -22
- package/dist/{AdaptiveWorkflowComponent-DTvjszP9.js → AdaptiveWorkflowComponent-CoOpFWm7.js} +5 -5
- package/dist/{AddressFields-DSJ_dDIS.js → AddressFields-Dzoa4PU5.js} +33 -72
- package/dist/{Avatar-C2zeqSSB.js → Avatar-yJfk9A6l.js} +1 -1
- package/dist/{BusinessFinancingDropin-BZsQMeo9.js → BusinessFinancingDropin-DP6b5D85.js} +123 -55
- package/dist/{BusinessFinancingPage-BilT7QB1.js → BusinessFinancingPage-BIGEXFdp.js} +6 -6
- package/dist/{BusinessRegistrationNumberField-CBEz-yoj.js → BusinessRegistrationNumberField-B2n9ugLK.js} +6 -6
- package/dist/{BusinessRegistrationNumberFieldGroup-CkoC1zF3.js → BusinessRegistrationNumberFieldGroup-BvKp9WMt.js} +6 -6
- package/dist/{BusinessTypeSelectionPage-CIO175KD.js → BusinessTypeSelectionPage-xRXq2lGM.js} +13 -13
- package/dist/{Button-Dwr6jvJZ.js → Button-BYafPrZH.js} +1 -1
- package/dist/{Checkbox-CpzEl3ji.js → Checkbox-qFA2J_1r.js} +8 -8
- package/dist/{ComponentGroup-BjjCPKWY.js → ComponentGroup-CyykPP2r.js} +3 -3
- package/dist/{ConstitutionalDocument-C_ZgPp87.js → ConstitutionalDocument-DzLLKoWV.js} +19 -26
- package/dist/{ContactDetails-DHHlpdct.js → ContactDetails-CcWafw_y.js} +5 -5
- package/dist/{ContextGuidance-SHSxyen7.js → ContextGuidance-gAsOnDqD.js} +3 -3
- package/dist/{CountryField-DUANNyWK.js → CountryField-Dxuy2L9C.js} +4 -4
- package/dist/{Currency-DFgCZFeZ.js → Currency-CAEcQwe6.js} +16 -10
- package/dist/{CustomerSupport-8Gp9EPcW.js → CustomerSupport-C1nrEyEr.js} +29 -16
- package/dist/{DateField-DfkL_Acw.js → DateField-D8GSp5fV.js} +4 -4
- package/dist/{DebugModal-DrmTRJup.js → DebugModal-Bwhnd1v5.js} +10 -10
- package/dist/{DecisionMakerDetails-DSuWWQR3.js → DecisionMakerDetails-DHsxYfa3.js} +79 -174
- package/dist/{DecisionMakerDetailsPage-DvaF8JWQ.js → DecisionMakerDetailsPage-DoisZYll.js} +9 -9
- package/dist/{DecisionMakers-HjFvfukQ.js → DecisionMakers-BD5J47Zs.js} +17 -18
- package/dist/{Dropzone-CM9xNqdS.js → Dropzone-CTz4GiZE.js} +7 -7
- package/dist/{EmailField-CIMaH5h8.js → EmailField-DoEYalIM.js} +4 -4
- package/dist/{EmbeddedStatus-4YjyzkcD.js → EmbeddedStatus-mdQsQfof.js} +2 -2
- package/dist/{EndStateLayout-C5Pqler-.js → EndStateLayout-B-M90Rnh.js} +2 -2
- package/dist/{EntityAssociation-mOKgAoTo.js → EntityAssociation-aB7bppFQ.js} +6 -6
- package/dist/{ErrorPanel-MWL7vQHx.js → ErrorPanel-CuoQueZk.js} +10 -17
- package/dist/{GlobalEntryModal-CLTA41r-.js → GlobalEntryModal-ZuajLl8B.js} +439 -298
- package/dist/{GlobalEntryPage-CxXk05KE.js → GlobalEntryPage-WrN5mVJe.js} +7 -8
- package/dist/{Icon-_YUEZg1p.js → Icon-jVvV1zXc.js} +1 -1
- package/dist/{IdentityNumber-DA8DOgxH.js → IdentityNumber-IDvVA7_z.js} +5 -5
- package/dist/{IdentityNumberFieldGroup-D4MTWr-z.js → IdentityNumberFieldGroup-CW8lJ6_d.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-DfI-6mXR.js → IdentityScreeningWorkflow-TfHCTDlp.js} +12 -13
- package/dist/{IndividualDropin-B70zK0AA.js → IndividualDropin-MpaDWh9N.js} +147 -223
- package/dist/{IndustryCodeFieldGroup-CHPfvz-_.js → IndustryCodeFieldGroup-DsJF3GOE.js} +5 -5
- package/dist/{InputDate-BSxqqg_B.js → InputDate-Bmx3_p-j.js} +8 -4
- package/dist/{InputText-DIesIpnW.js → InputText-CGngUMdf.js} +2 -2
- package/dist/{Introduction--U4NyUxq.js → Introduction-Dt8pjcxt.js} +6 -6
- package/dist/{InvitedDecisionMakerComponent-DIBX_HRF.js → InvitedDecisionMakerComponent-1oXTODfv.js} +13 -14
- package/dist/{JpAddressFields-OgKOVHI0.js → JpAddressFields-DhzFwu0N.js} +9 -10
- package/dist/{LegalCompanyNameField-wgWJRR84.js → LegalCompanyNameField-BsY3tJfX.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BFtn7wzQ.js → LegalRepresentativeDetailsPage-C50GRV2l.js} +4 -4
- package/dist/{Link-D0Yqc2r0.js → Link-DwPkGikd.js} +1 -1
- package/dist/{ListItem-DY-qq1lS.js → ListItem-n927geYb.js} +2 -2
- package/dist/{Modal-C-T-spfu.js → Modal-ChWNV9yG.js} +3 -3
- package/dist/{Name-C8NOxqDE.js → Name-C8hhvQlN.js} +4 -4
- package/dist/{NumberField-CUGWeVc9.js → NumberField-C7vHy7Yz.js} +4 -4
- package/dist/{PatriotActDisclosure-CWcGyfuA.js → PatriotActDisclosure-CAvpE8su.js} +10 -10
- package/dist/{PayoutDetailsDropin-CZT8xUPC.js → PayoutDetailsDropin-ILM3oK4r.js} +41 -43
- package/dist/{PayoutDetailsPage-C54-v6yl.js → PayoutDetailsPage-DfZYYplh.js} +5 -5
- package/dist/{Review-CYIwvp62.js → Review-D_I4FUVw.js} +6 -6
- package/dist/{RootBusinessDetailsPage-CI8iAty4.js → RootBusinessDetailsPage-CoOUMflT.js} +4 -4
- package/dist/{RootBusinessLinesPage-ZPaIqKwi.js → RootBusinessLinesPage-DYz9wrU_.js} +22 -23
- package/dist/{RootIndividualDetailsPage-ApOJRs0B.js → RootIndividualDetailsPage-C42YybJq.js} +6 -6
- package/dist/{Select-DwuMMZWv.js → Select-BMGxcmZy.js} +92 -92
- package/dist/{SignPCIComponent-B4D4nPDO.js → SignPCIComponent-B4RkNT1l.js} +14 -14
- package/dist/{SingpassSelection-vy5Stz5H.js → SingpassSelection-Usq1Kdpp.js} +5 -5
- package/dist/{SoleProprietorshipPage-dyEpmmk3.js → SoleProprietorshipPage-tEf2zwhT.js} +4 -4
- package/dist/{SourceOfFundsPage-DgCWI7Ac.js → SourceOfFundsPage-BXG5weCA.js} +24 -24
- package/dist/{SourceOfFundsWorkflow-CdOOLWqA.js → SourceOfFundsWorkflow-BWWLrVaR.js} +4 -4
- package/dist/StateField-TYw5No81.js +364 -0
- package/dist/{Step-Cqaytd3J.js → Step-D8w1jd5O.js} +5 -5
- package/dist/Summary-BwvaKucT.js +21 -0
- package/dist/{SummarySection-BVPfXtuP.js → SummarySection-5L--khYg.js} +5 -19
- package/dist/{Task-CegWZQgV.js → Task-dSDYu-xr.js} +7 -7
- package/dist/{TaskGroup-BqSUUr1i.js → TaskGroup-298zewpP.js} +3 -3
- package/dist/{TaskListItem-CvYgXREa.js → TaskListItem-jRIQ_fJt.js} +10 -10
- package/dist/{TaskStepperContextProvider-9wlnwii7.js → TaskStepperContextProvider-DiMf4UV6.js} +1 -1
- package/dist/{TaskVerificationStatus-zoxTZ2mt.js → TaskVerificationStatus-C1CllzL1.js} +17 -17
- package/dist/{TaxInformationFieldGroup-lT5OgO75.js → TaxInformationFieldGroup-BkyZwtUe.js} +7 -7
- package/dist/{TaxReportingDropin-C9jUzNzP.js → TaxReportingDropin-BVohPujf.js} +13 -15
- package/dist/{TaxReportingWorkflow-C3qyl3rW.js → TaxReportingWorkflow-BdVibdaP.js} +4 -4
- package/dist/{TermsOfServiceManagement-DfFV6erX.js → TermsOfServiceManagement-Bh0BJ4wb.js} +46 -43
- package/dist/{TextArea-CQIt_2VI.js → TextArea-BaoeEZvH.js} +4 -4
- package/dist/{TextField-C8CRipRJ.js → TextField-BWevK7LS.js} +5 -5
- package/dist/{TrustDetailsPage-Ax5uaglT.js → TrustDetailsPage-B5x1-NPO.js} +61 -54
- package/dist/{TrustMemberCompanyPage-DBxTZo-8.js → TrustMemberCompanyPage-Ck2UKJma.js} +5 -5
- package/dist/{TrustMemberIndividualPage-DFhWDN3f.js → TrustMemberIndividualPage-CTUh7yn9.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-Bdoyd1ix.js → TrustMemberRoleAndTypePage-D5_AZAMj.js} +43 -36
- package/dist/{TrustMembersOverview-BCdJRHAn.js → TrustMembersOverview-Dbt3KQhv.js} +13 -13
- package/dist/{UboTaskItem-DIIoWLbx.js → UboTaskItem-CV0B4ONJ.js} +7 -7
- package/dist/{UnincorporatedPartnershipIndividualPage-B20wDAzH.js → UnincorporatedPartnershipIndividualPage-g9PpNHfH.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DvcQYNzd.js → UnincorporatedPartnershipMemberCompanyPage-Chd2k8jM.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dx1pRB4b.js → UnincorporatedPartnershipMemberRoleAndTypePage-C7AvOkFK.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-C0cRXnsL.js → UnincorporatedPartnershipMembersOverview-m3TgX08K.js} +6 -6
- package/dist/{VerificationErrorAlert-D0K9gep-.js → VerificationErrorAlert-yOZ8yz_8.js} +3 -3
- package/dist/{WebsiteField-Bgf9bYOR.js → WebsiteField-Cn_VPhTx.js} +5 -5
- package/dist/{Workflow-DxRS9IMd.js → Workflow-BUgUDsPv.js} +6 -6
- package/dist/{accountHolderUtils-QdO9D_A_.js → accountHolderUtils-DhbLva46.js} +1 -1
- package/dist/adyen-business-financing.js +7 -7
- package/dist/adyen-individual-configuration.js +6 -6
- package/dist/adyen-individual-status.js +5 -5
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +30 -30
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +5 -5
- package/dist/adyen-transfer-instrument-management.js +13 -13
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-CW20t7tP.js → bafinUtils-4C7AJpnd.js} +519 -531
- package/dist/{constants-DR4IoRWH.js → constants-dKwpavyU.js} +6 -6
- package/dist/{dropinUtils-C0hhy3A9.js → dropinUtils-D7sD4BX1.js} +165 -364
- package/dist/en-US-8KLaHQaT.js +7 -0
- package/dist/{en-US-Cz4JoU20.js → en-US-BMMx67Za.js} +16 -2
- package/dist/{en-US-nYL_eSJ-.js → en-US-BfRvYdHX.js} +8 -2
- package/dist/en-US-DGdFfmUC.js +136 -0
- package/dist/{en-US.instructions-BVNIyLRs.js → en-US.instructions-myDXMUbk.js} +2 -1
- package/dist/{error-m4DJ8d3r.js → error-vhREufv_.js} +2 -2
- package/dist/formatDataForSummary-CNiewg8c.js +498 -0
- package/dist/{formatValidationError-CwtW9tMt.js → formatValidationError-BO9k5bVJ.js} +2 -2
- package/dist/{getDefaultRegistrationNumberType-CVVuCd8E.js → getDefaultRegistrationNumberType-BWN86JDR.js} +4 -4
- package/dist/{getProblemsForEntity-mdb3Bfpj.js → getProblemsForEntity-FHk416BA.js} +1 -1
- package/dist/{getTrustedDecisionMakers-D89oYOLp.js → getTrustedDecisionMakers-DByctgob.js} +1 -1
- package/dist/{getValidationError-RnMEkCKd.js → getValidationError--VxsluPA.js} +2 -2
- package/dist/{legalArrangementUtils-Crgt_L7h.js → legalArrangementUtils-CHlmmcB8.js} +11 -2
- package/dist/{mapAddressLocalizationToJpAddressSchema-Dpsnbt5H.js → mapAddressLocalizationToJpAddressSchema-Di3_rcrj.js} +2 -2
- package/dist/{mapExistingFile-BXfeQxev.js → mapExistingFile-CqbTLZ6i.js} +1 -1
- package/dist/mapJpAddressSchemaToAddressLocalizations-TLZ9foPF.js +19 -0
- package/dist/{mapTransferInstrumentToPayoutAccount-6aBAKF7U.js → mapTransferInstrumentToPayoutAccount-BLq2P8NF.js} +2 -2
- package/dist/{processCapabilities-FL4-KAbd.js → processCapabilities-B75YIdXZ.js} +11 -4
- package/dist/{processValidationErrors-CcgBvwPJ.js → processValidationErrors-DKn7wWTY.js} +4 -4
- package/dist/{resolveEnvironment-DwfwgVEU.js → resolveEnvironment-CrNBwIpQ.js} +53 -16
- package/dist/roleMetadata-CmxqSnzp.js +57 -0
- package/dist/style.css +166 -230
- package/dist/styles-DYaAeu4q.js +166 -230
- package/dist/trustMemberType-Ix2sf6e_.js +13 -0
- package/dist/types/api/address/useAddressCleanse.d.ts +2 -0
- package/dist/types/api/address/useRetrieveAddress.d.ts +1 -0
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +1 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +7 -2
- package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +3 -1
- package/dist/types/components/Business/utils/formatDataForSummary.d.ts +2 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +78 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +3 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +2 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +6 -3
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/DbaQuestionnaire/DbaQuestionnaire.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/DbaQuestionnaire/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/fields/LlcQuestionnaire/LlcQuestionnaire.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/LlcQuestionnaire/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.d.ts +1 -6
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/fieldConfig.d.ts +11 -0
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/types.d.ts +6 -1
- package/dist/types/components/GlobalEntry/fields/Questionnaire/Questionnaire.d.ts +2 -0
- package/dist/types/components/GlobalEntry/fields/Questionnaire/types.d.ts +17 -0
- package/dist/types/components/GlobalEntry/fields/TrustQuestionnaire/TrustQuestionnaire.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/TrustQuestionnaire/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/forms/EntityInformation/EntityInformation.d.ts +1 -3
- package/dist/types/components/GlobalEntry/forms/EntityInformation/types.d.ts +1 -2
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/types.d.ts +5 -1
- package/dist/types/components/GlobalEntry/mapping/globalEntryKeyMapping.d.ts +0 -3
- package/dist/types/components/GlobalEntry/mapping/mapGlobalEntrySchemaToLegalEntity.d.ts +2 -3
- package/dist/types/components/GlobalEntry/mapping/mapLegalEntityToGlobalEntrySchema.d.ts +1 -6
- package/dist/types/components/GlobalEntry/rules.d.ts +5 -2
- package/dist/types/components/GlobalEntry/utils/getAvailableCompanyStructures.d.ts +2 -1
- package/dist/types/components/GlobalEntry/utils/submitGlobalEntry.d.ts +1 -4
- package/dist/types/components/GlobalEntry/utils/utils.d.ts +7 -4
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +1 -2
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +7 -6
- package/dist/types/components/Individual/helpers/findRelevantTaxInformation.d.ts +8 -2
- package/dist/types/components/Individual/helpers/getSubmittableTaxInformation.d.ts +20 -0
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +5 -3
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +6 -67
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualSummary.d.ts +27 -0
- package/dist/types/components/Individual/utils/formatDataForSummary.d.ts +49 -0
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +0 -5
- package/dist/types/components/Shared/Summary/Summary.d.ts +10 -7
- package/dist/types/components/Shared/Summary/types.d.ts +3 -21
- package/dist/types/components/Shared/SummarySection/SummaryBulletList.d.ts +8 -0
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/types.d.ts +2 -0
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +2 -4
- package/dist/types/components/Shared/fields/ReportedValueOptionField/types.d.ts +3 -0
- package/dist/types/components/Shared/forms/Address/constants.d.ts +2 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/JpAddressFields.d.ts +2 -9
- package/dist/types/components/Shared/forms/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +2 -4
- package/dist/types/components/Shared/forms/Address/rules.d.ts +13 -0
- package/dist/types/components/Shared/forms/Address/types.d.ts +7 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +5 -11
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +3 -1
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +2 -3
- package/dist/types/components/Trust/utils/formatDataForSummary.d.ts +2 -1
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +4 -1
- package/dist/types/core/EmbedShell/useTheme.d.ts +9 -0
- package/dist/types/embeds/onboarding/adyen-onboarding.d.ts +1 -1
- package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +8 -0
- package/dist/types/hooks/useStoredStateOrProvince.d.ts +9 -0
- package/dist/types/types/datasets/state-code.d.ts +36 -1
- package/dist/types/types/form-rules.d.ts +2 -2
- package/dist/types/utils/analytics/getPrefilledDetails.d.ts +3 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +1 -1
- package/dist/types/utils/legalArrangementUtils.d.ts +2 -0
- package/dist/{types-BymnGWO9.js → types-DVMWWwBT.js} +1 -1
- package/dist/{form-rules-DaLzvm8o.js → unincorporatedPartnership-Dr3lPgDv.js} +38 -4
- package/dist/{useBusinessDetailsData-D1DJeC90.js → useBusinessDetailsData-DrN9ZzIG.js} +100 -90
- package/dist/{useCanSeeIntroduction-CvLOidr8.js → useCanSeeIntroduction-BDarBkmx.js} +2 -2
- package/dist/useCreateLegalEntity-CgzVD39K.js +24 -0
- package/dist/{useDataMissingRemediations-DKjYzfe2.js → useDataMissingRemediations-BfC7ECSn.js} +1 -1
- package/dist/{useForm-B5MdX_HU.js → useForm-Cibudto5.js} +3 -3
- package/dist/{useHideTaskStepper-BgCN--mG.js → useHideTaskStepper-Betx9MGy.js} +1 -1
- package/dist/{useId-DbtfzzaE.js → useId-e2xn6OME.js} +2 -2
- package/dist/{useNavigate-uuRpGZuZ.js → useNavigate-DxEfo192.js} +33 -33
- package/dist/{useSalesChannels-XZRfoa6v.js → useSalesChannels-C09EqYFN.js} +1 -1
- package/dist/{useTaskLandedEvent-DzsLZguJ.js → useTaskLandedEvent-C-kML6lH.js} +1 -1
- package/dist/{useTrustMembers-xuXOS0a8.js → useTrustMembers-CZ28rgNA.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-DcfQJdVZ.js → useUnincorporatedPartnershipMembers-e3nDscEc.js} +2 -2
- package/dist/{utils-BD22komZ.js → utils-C3-aLHsN.js} +3 -3
- package/dist/{utils-CtCqc_ym.js → utils-C_z60qSD.js} +4 -5
- package/dist/{utils-BFxg3gPM.js → utils-ChZNfG5_.js} +1 -1
- package/dist/utils-gszwUnoh.js +49 -0
- package/dist/{validate-mbqt6wsS.js → validate-BDG97Hw4.js} +4 -4
- package/dist/{validate-r2j-Yc-q.js → validate-C1VibHZH.js} +26 -2
- package/dist/{validate-DNq64o-B.js → validate-Dve-kxSi.js} +11 -5
- package/dist/{validate-83HsNk18.js → validate-bah41KLb.js} +20 -9
- package/dist/{validateExtractionResult-IRRMwcNi.js → validateExtractionResult-D3AuQo5-.js} +3 -3
- package/package.json +6 -5
- package/dist/Image-CxnjHtP1.js +0 -33
- package/dist/List-qvNxW9lm.js +0 -72
- package/dist/StateField-BMyu6YZZ.js +0 -296
- package/dist/en-US-U0d3NI20.js +0 -7
- package/dist/mapJpAddressSchemaToAddressLocalizations-CAoOxUg9.js +0 -75
- package/dist/mapLegalEntityToIndividualSchema-Bl89JIZK.js +0 -254
- package/dist/trustMemberGuidance-BpeDHAJP.js +0 -27
- package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +0 -10
- package/dist/types/components/Shared/Summary/summaryItem.d.ts +0 -17
- package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +0 -17
- package/dist/unincorporatedPartnership-BbNowjM2.js +0 -11
|
@@ -1,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] = "6e6cbaa8-950f-4632-850d-212507650d09", e._sentryDebugIdIdentifier = "sentry-dbid-6e6cbaa8-950f-4632-850d-212507650d09");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
|
|
6
6
|
import { s as getOwnEntityAssociations } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
7
|
-
import {
|
|
8
|
-
import { i as useToggleContext } from "./Checkbox-
|
|
7
|
+
import { t as TrustMemberTypes } from "./trustMemberType-Ix2sf6e_.js";
|
|
8
|
+
import { i as useToggleContext } from "./Checkbox-qFA2J_1r.js";
|
|
9
9
|
import { n as useAssociatedLegalEntity } from "./getFormSlice-CxtXJ0-P.js";
|
|
10
10
|
import { n as getLegalEntityNameBasedOnType } from "./getName-Cii7OyRd.js";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
@@ -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] = "de873b08-dc8b-403d-8d87-388cf38f1112", e._sentryDebugIdIdentifier = "sentry-dbid-de873b08-dc8b-403d-8d87-388cf38f1112");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
|
|
6
6
|
import { s as getOwnEntityAssociations } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
7
7
|
import { n as useAssociatedLegalEntity } from "./getFormSlice-CxtXJ0-P.js";
|
|
8
|
-
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporatedPartnership-
|
|
8
|
+
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporatedPartnership-Dr3lPgDv.js";
|
|
9
9
|
import { n as getLegalEntityNameBasedOnType } from "./getName-Cii7OyRd.js";
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
11
|
//#region src/components/UnincorporatedPartnership/utils/unincorporatedPartnershipMembers.ts
|
|
@@ -4,9 +4,9 @@ try {
|
|
|
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
|
-
import { t as Button } from "./Button-
|
|
8
|
-
import { i as useAnalyticsContext, t as Modal } from "./Modal-
|
|
9
|
-
import { t as useId } from "./useId-
|
|
7
|
+
import { t as Button } from "./Button-BYafPrZH.js";
|
|
8
|
+
import { i as useAnalyticsContext, t as Modal } from "./Modal-ChWNV9yG.js";
|
|
9
|
+
import { t as useId } from "./useId-e2xn6OME.js";
|
|
10
10
|
import { useEffect, useState } from "preact/hooks";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,15 +1,14 @@
|
|
|
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] = "cb0b3cd8-6cdc-4d58-8762-b79dc27990d9", e._sentryDebugIdIdentifier = "sentry-dbid-cb0b3cd8-6cdc-4d58-8762-b79dc27990d9");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
6
6
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
7
|
-
import { t as getCapabilities } from "./processCapabilities-
|
|
7
|
+
import { t as getCapabilities } from "./processCapabilities-B75YIdXZ.js";
|
|
8
8
|
import { d as hasOwnEntityAssociationOfType } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
9
|
-
import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-
|
|
10
|
-
import {
|
|
9
|
+
import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-DhbLva46.js";
|
|
10
|
+
import { a as TRUST_COUNTRIES, i as SOLE_PROP_COUNTRIES, t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./legalArrangementUtils-CHlmmcB8.js";
|
|
11
11
|
//#region src/components/Shared/forms/BusinessTypeSelection/utils.ts
|
|
12
|
-
var TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
13
12
|
var BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
14
13
|
CountryCodes.UnitedStates,
|
|
15
14
|
CountryCodes.UnitedKingdom,
|
|
@@ -2,7 +2,7 @@ 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] = "4acb2c32-46dc-41f9-9021-5f6fe840121e", e._sentryDebugIdIdentifier = "sentry-dbid-4acb2c32-46dc-41f9-9021-5f6fe840121e");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as getCapabilities } from "./processCapabilities-
|
|
5
|
+
import { t as getCapabilities } from "./processCapabilities-B75YIdXZ.js";
|
|
6
6
|
//#region src/adaptiveWorkflow/utils/utils.ts
|
|
7
7
|
/** Read a value from a nested object using dot-notation path. */
|
|
8
8
|
function getNestedValue(obj, path) {
|
|
@@ -0,0 +1,49 @@
|
|
|
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] = "2243046f-174b-432d-95bf-59ab40382573", e._sentryDebugIdIdentifier = "sentry-dbid-2243046f-174b-432d-95bf-59ab40382573");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { f as addressFields } from "./StateField-TYw5No81.js";
|
|
6
|
+
import { t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
7
|
+
//#region src/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.ts
|
|
8
|
+
/**
|
|
9
|
+
* Parses the nested trusted fields on a legal entity e.g. ['registrationAddress.address', 'registrationAddress.postalCode'],
|
|
10
|
+
* rebuilding them into the flattened, prefixed fields for the addresses, e.g., `registrationAddress.address` -> `registrationAddressAddress`
|
|
11
|
+
*
|
|
12
|
+
* @param prefix - `registrationAddress` or `operationalAddress`
|
|
13
|
+
* @param trustedFields - trustedFields on legal entity
|
|
14
|
+
* @returns An array of the nested field keys that are trusted
|
|
15
|
+
*/
|
|
16
|
+
var getNestedTrustedFields = (prefix, trustedFields) => {
|
|
17
|
+
if (!trustedFields) return [];
|
|
18
|
+
const flattenedTrustedFields = [];
|
|
19
|
+
for (const trustedField of trustedFields) {
|
|
20
|
+
const [group, field] = trustedField.split(".");
|
|
21
|
+
if (group === prefix && field) flattenedTrustedFields.push(`${prefix}${capitalize(field)}`);
|
|
22
|
+
}
|
|
23
|
+
return flattenedTrustedFields;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Flattens a nested address schema using the provided prefix to avoid collisions so each
|
|
27
|
+
* field can be handled individually.
|
|
28
|
+
*
|
|
29
|
+
* `flattenAddressSchema('registrationAddress', { city: 'Chicago' })` -> `{ registrationAddressCity: 'Chicago' }`
|
|
30
|
+
*/
|
|
31
|
+
function flattenAddressSchema(prefix, address) {
|
|
32
|
+
const flattenedAddressSchema = {};
|
|
33
|
+
for (const field of addressFields) flattenedAddressSchema[`${prefix}${capitalize(field)}`] = address?.[field];
|
|
34
|
+
return flattenedAddressSchema;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Nests a flattened address schema, removing the provided prefix from each field. Used for
|
|
38
|
+
* utilities that still expect nested data.
|
|
39
|
+
*
|
|
40
|
+
* `flattenAddressSchema('registrationAddress', { registrationAddressCity: 'Chicago' })` -> `{ city: 'Chicago' }`
|
|
41
|
+
*/
|
|
42
|
+
function nestAddressSchema(prefix, flatData) {
|
|
43
|
+
const nestedAddressSchema = {};
|
|
44
|
+
for (const field of addressFields) nestedAddressSchema[field] = flatData?.[`${prefix}${capitalize(field)}`];
|
|
45
|
+
return nestedAddressSchema;
|
|
46
|
+
}
|
|
47
|
+
var getPrefixedAddressFieldNames = (prefix) => addressFields.map((field) => `${prefix}${capitalize(field)}`);
|
|
48
|
+
//#endregion
|
|
49
|
+
export { nestAddressSchema as i, getNestedTrustedFields as n, getPrefixedAddressFieldNames as r, flattenAddressSchema as t };
|
|
@@ -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] = "92234f2d-d97b-4557-893a-96f8851e0b69", e._sentryDebugIdIdentifier = "sentry-dbid-92234f2d-d97b-4557-893a-96f8851e0b69");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { t as Icon } from "./Icon-
|
|
6
|
+
import { t as Icon } from "./Icon-jVvV1zXc.js";
|
|
7
7
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
8
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
9
|
-
import { n as IconButton } from "./Button-
|
|
10
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
9
|
+
import { n as IconButton } from "./Button-BYafPrZH.js";
|
|
10
|
+
import { i as useAnalyticsContext } from "./Modal-ChWNV9yG.js";
|
|
11
11
|
import { d as isNewlyUploadedFile } from "./documentUtils-6K3LdjjN.js";
|
|
12
12
|
import { useEffect } from "preact/hooks";
|
|
13
13
|
import cx from "classnames";
|
|
@@ -1,8 +1,8 @@
|
|
|
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] = "1694fb0f-7879-4139-8940-8089d787074f", e._sentryDebugIdIdentifier = "sentry-dbid-1694fb0f-7879-4139-8940-8089d787074f");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as addressValidators } from "./validate-
|
|
5
|
+
import { t as addressValidators } from "./validate-Dve-kxSi.js";
|
|
6
6
|
import { t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
7
7
|
//#region src/components/EFP/tasks/BusinessFinancingDropin/validate.ts
|
|
8
8
|
var validateLegalEntityIdentifier = (legalEntityIdentifier) => {
|
|
@@ -37,6 +37,30 @@ var businessFinancingCompanyDetailsValidations = {
|
|
|
37
37
|
},
|
|
38
38
|
errorMessage: "fieldIsRequired"
|
|
39
39
|
},
|
|
40
|
+
yearlyRevenue: {
|
|
41
|
+
modes: ["blur"],
|
|
42
|
+
validate: (value) => {
|
|
43
|
+
const numValue = Number(value);
|
|
44
|
+
return !Number.isNaN(numValue) && numValue >= 0;
|
|
45
|
+
},
|
|
46
|
+
errorMessage: "fieldIsRequired"
|
|
47
|
+
},
|
|
48
|
+
totalDebt: {
|
|
49
|
+
modes: ["blur"],
|
|
50
|
+
validate: (value) => {
|
|
51
|
+
const numValue = Number(value);
|
|
52
|
+
return !Number.isNaN(numValue) && numValue >= 0;
|
|
53
|
+
},
|
|
54
|
+
errorMessage: "fieldIsRequired"
|
|
55
|
+
},
|
|
56
|
+
cashPosition: {
|
|
57
|
+
modes: ["blur"],
|
|
58
|
+
validate: (value) => {
|
|
59
|
+
const numValue = Number(value);
|
|
60
|
+
return !Number.isNaN(numValue) && numValue >= 0;
|
|
61
|
+
},
|
|
62
|
+
errorMessage: "fieldIsRequired"
|
|
63
|
+
},
|
|
40
64
|
financialReportingDate: {
|
|
41
65
|
modes: ["blur"],
|
|
42
66
|
validate: (value) => validateDateNotInTheFuture(value),
|
|
@@ -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] = "b97bfbe5-d03d-426f-a63d-6bc81c286a08", e._sentryDebugIdIdentifier = "sentry-dbid-b97bfbe5-d03d-426f-a63d-6bc81c286a08");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
5
|
+
import { B as ADDRESS_VALID_CHAR_REGEX, G as NO_ALPHABET_REGEX, K as NO_ALPHABET_UNICODE_REGEX, V as EMOJI_REGEX, X as chomeAndBanchiValidator, ct as isInvalidName, dt as matchesRegex, it as hasText, nt as hasMaximumTwoRepeatedCharacters, rt as hasRepeatedCharacters, ut as isValidMinLength } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
8
|
-
import { n as countrySpecificFormatters } from "./InputDate-
|
|
8
|
+
import { n as countrySpecificFormatters } from "./InputDate-Bmx3_p-j.js";
|
|
9
9
|
//#region src/utils/regex/postalCodePatterns.ts
|
|
10
10
|
var createRegExpByDigits = (digits) => new RegExp(`^\\d{${digits}}$`);
|
|
11
11
|
var postalCodePatterns = {
|
|
@@ -37,6 +37,7 @@ var postalCodePatterns = {
|
|
|
37
37
|
[CountryCodes.Luxembourg]: createRegExpByDigits(4),
|
|
38
38
|
[CountryCodes.Malaysia]: createRegExpByDigits(5),
|
|
39
39
|
[CountryCodes.Malta]: /^[A-Za-z]{2,3} ?\d{2}(?:\d{2})?$/,
|
|
40
|
+
[CountryCodes.Mexico]: createRegExpByDigits(5),
|
|
40
41
|
[CountryCodes.Monaco]: /^980\d{2}$/,
|
|
41
42
|
[CountryCodes.Netherlands]: /^(?:NL-)?[1-9]\d{3} ?(?:[ABCDEFGHIJKLMNOPQRTUVWXYZ][A-Z]|S[BCEFGHIJKLMNOPQRTUVWXYZ])$/,
|
|
42
43
|
[CountryCodes.NewZealand]: createRegExpByDigits(4),
|
|
@@ -49,7 +50,7 @@ var postalCodePatterns = {
|
|
|
49
50
|
[CountryCodes.Slovenia]: /^(SI-)?\d{4}$/,
|
|
50
51
|
[CountryCodes.Singapore]: createRegExpByDigits(6),
|
|
51
52
|
[CountryCodes.Spain]: /(?:0[1-9]|[1-4]\d|5[0-2])\d{3}/,
|
|
52
|
-
[CountryCodes.Sweden]:
|
|
53
|
+
[CountryCodes.Sweden]: /^(\d{3} \d{2}|\d{5})$/,
|
|
53
54
|
[CountryCodes.Switzerland]: /^[1-9]\d{3}$/,
|
|
54
55
|
[CountryCodes.UnitedKingdom]: /^[ABCDEFGHIJKLMNOPRSTUWYZ](?:[ABCDEFGHKLMNOPQRSTUVWXY][0-9][ABEHMNPRVWXY0-9]?|[0-9][ABCDEFGHJKPSTUW0-9]?)(?: ?[0-9][ABDEFGHJLNPQRSTUWXYZ]{1,2})?$/,
|
|
55
56
|
[CountryCodes.UnitedStates]: /^\d{5}(?:[ -]?\d{4})?$/
|
|
@@ -216,7 +217,12 @@ var addressValidationRulesV4 = (country, t) => {
|
|
|
216
217
|
errorMessage: "checkForTypos"
|
|
217
218
|
}
|
|
218
219
|
],
|
|
219
|
-
street2
|
|
220
|
+
street2,
|
|
221
|
+
dependentLocality: [{
|
|
222
|
+
modes: ["blur"],
|
|
223
|
+
validate: hasText,
|
|
224
|
+
errorMessage: "fieldIsRequired"
|
|
225
|
+
}]
|
|
220
226
|
};
|
|
221
227
|
};
|
|
222
228
|
var addressValidators = ({ isFeatureEnabled = () => false, country, t }) => ({ ...isFeatureEnabled?.("StrictNameAndAddressValidationV4") ? addressValidationRulesV4(country, t) : addressValidationRules(country) });
|
|
@@ -1,19 +1,20 @@
|
|
|
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] = "1627250c-1267-4439-bc77-0dbbad4d1f0a", e._sentryDebugIdIdentifier = "sentry-dbid-1627250c-1267-4439-bc77-0dbbad4d1f0a");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { _t as useLocalStorage, ot as isEmpty } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
9
9
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
10
10
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
11
|
-
import { i as useToggleContext } from "./Checkbox-
|
|
12
|
-
import { i as useAnalyticsContext, r as KEYBOARD_KEYS } from "./Modal-
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
11
|
+
import { i as useToggleContext } from "./Checkbox-qFA2J_1r.js";
|
|
12
|
+
import { i as useAnalyticsContext, r as KEYBOARD_KEYS } from "./Modal-ChWNV9yG.js";
|
|
13
|
+
import { a as resolveFieldMetadata, i as convertFullToHalf } from "./unincorporatedPartnership-Dr3lPgDv.js";
|
|
14
|
+
import { p as isJapanLocalizationEnabled } from "./StateField-TYw5No81.js";
|
|
15
|
+
import { T as validateJaKanaLegalCompanyName, u as CountryField, w as validateJaHaniLegalCompanyName } from "./dropinUtils-D7sD4BX1.js";
|
|
16
|
+
import { b as toFullWidth } from "./bafinUtils-4C7AJpnd.js";
|
|
17
|
+
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-BsY3tJfX.js";
|
|
17
18
|
import { useEffect, useState } from "preact/hooks";
|
|
18
19
|
import { jsx } from "preact/jsx-runtime";
|
|
19
20
|
import { queryOptions, skipToken, useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
|
|
@@ -37,6 +38,16 @@ var useClearCompanyData = (options) => {
|
|
|
37
38
|
});
|
|
38
39
|
};
|
|
39
40
|
//#endregion
|
|
41
|
+
//#region src/hooks/useStoredStateOrProvince.ts
|
|
42
|
+
var getStoredStateOrProvinceKey = (legalEntityId) => `STATE_OR_PROVINCE-${legalEntityId}`;
|
|
43
|
+
var useStoredStateOrProvince = ({ legalEntityId }) => {
|
|
44
|
+
const [storedStateOrProvince, setStoredStateOrProvince] = useLocalStorage(getStoredStateOrProvinceKey(legalEntityId), void 0);
|
|
45
|
+
return {
|
|
46
|
+
storedStateOrProvince,
|
|
47
|
+
setStoredStateOrProvince
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
//#endregion
|
|
40
51
|
//#region src/utils/performance.ts
|
|
41
52
|
/**
|
|
42
53
|
* Start timing an operation
|
|
@@ -438,4 +449,4 @@ var CountryOfGoverningLawFieldValidation = () => ({ countryOfGoverningLaw: {
|
|
|
438
449
|
errorMessage: "fieldIsRequired"
|
|
439
450
|
} });
|
|
440
451
|
//#endregion
|
|
441
|
-
export { CountryOfGoverningLawField as a, useCompanyTypeExamples as c, companySearchQueryOptions as d, useCompanySearch as f, COUNTRY_OF_GOVERNING_LAW_FIELD as i, useCompanySelection as l,
|
|
452
|
+
export { CountryOfGoverningLawField as a, useCompanyTypeExamples as c, companySearchQueryOptions as d, useCompanySearch as f, useClearCompanyData as h, COUNTRY_OF_GOVERNING_LAW_FIELD as i, useCompanySelection as l, useStoredStateOrProvince as m, COUNTRY_OF_GOVERNING_LAW_POSSIBLE as n, useLegalCompanyNameField as o, trackPerformance as p, isNormalizedStringMatch as r, localizedLegalCompanyNameFieldConfig as s, CountryOfGoverningLawFieldValidation as t, verifyTinQueryOptions as u };
|
|
@@ -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] = "1708dfcc-d02e-41f9-9815-a79fce596743", e._sentryDebugIdIdentifier = "sentry-dbid-1708dfcc-d02e-41f9-9815-a79fce596743");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
|
-
import { n as IconButton, t as Button } from "./Button-
|
|
8
|
+
import { n as IconButton, t as Button } from "./Button-BYafPrZH.js";
|
|
9
9
|
import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
10
10
|
import { a as objectsDeepEqual, c as valuesOf, s as keysOf } from "./genUtils-nphCwt1A.js";
|
|
11
|
-
import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
|
|
12
11
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
12
|
+
import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
|
|
13
13
|
import { useMemo } from "preact/hooks";
|
|
14
14
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
15
15
|
import { useMutation, useQuery } from "@tanstack/preact-query";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.27.0-beta.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-for-platforms",
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@adyen/adyen-document-viewer": "^1.4.5",
|
|
75
|
+
"@adyen/adyen-shared-web": "0.4.0",
|
|
75
76
|
"@adyen/openbankingsdk": "^0.2.3",
|
|
76
77
|
"@adyen/ui-assets-icons-16": "^7.10.0",
|
|
77
78
|
"@preact/signals": "^2.11.1",
|
|
@@ -183,7 +184,7 @@
|
|
|
183
184
|
"build:cdn": "rm -rf dist-cdn && vite build --mode production-cdn && ./scripts/move-sourcemaps.sh && node ./scripts/ensureUniqueOutputNames.js",
|
|
184
185
|
"build:watch": "vite build --mode production --watch",
|
|
185
186
|
"contracts": "node scripts/contract-drift-check.ts",
|
|
186
|
-
"check:all": "concurrently \"pnpm types:check\" \"pnpm lint:quiet\" \"pnpm lint:styles:quiet\" \"pnpm format:check\" \"pnpm check:skills\" -n tsc,eslint,stylelint,format,skills -c cyan,magenta,yellow,blue,green",
|
|
187
|
+
"check:all": "VITE_CONFIG_NATIVE_IGNORE_WARNING=true concurrently \"pnpm types:check\" \"pnpm lint:quiet\" \"pnpm lint:styles:quiet\" \"pnpm format:check\" \"pnpm check:skills\" -n tsc,eslint,stylelint,format,skills -c cyan,magenta,yellow,blue,green",
|
|
187
188
|
"check:skills": "node scripts/verify-skills.ts",
|
|
188
189
|
"check:commits": "commitlint --from",
|
|
189
190
|
"check:commits:since-main": "pnpm check:commits main",
|
|
@@ -197,7 +198,7 @@
|
|
|
197
198
|
"format:check": "oxfmt --check",
|
|
198
199
|
"format:fix": "oxfmt --write",
|
|
199
200
|
"preview:e2e": "VITE_PLAYGROUND_BARE_UI=true vite preview --mode e2e",
|
|
200
|
-
"fix:all": "pnpm lint:fix && pnpm format:fix",
|
|
201
|
+
"fix:all": "VITE_CONFIG_NATIVE_IGNORE_WARNING=true pnpm lint:fix && pnpm format:fix",
|
|
201
202
|
"fix:lint": "pnpm lint:fix",
|
|
202
203
|
"lint:all": "concurrently \"pnpm lint\" \"pnpm lint:styles\" -p none",
|
|
203
204
|
"lint": "eslint --cache",
|
|
@@ -210,9 +211,9 @@
|
|
|
210
211
|
"lint:styles:quiet:fix": "pnpm lint:styles:fix --quiet",
|
|
211
212
|
"sentry:upload-sourcemaps": "bash ./scripts/upload-sentry-sourcemaps.sh",
|
|
212
213
|
"start": "pnpm dev",
|
|
213
|
-
"storybook": "storybook dev -p 6006 --no-version-updates",
|
|
214
|
+
"storybook": "VITE_CONFIG_NATIVE_IGNORE_WARNING=true storybook dev -p 6006 --no-version-updates",
|
|
214
215
|
"storybook:build": "storybook build",
|
|
215
|
-
"test": "vitest",
|
|
216
|
+
"test": "VITE_CONFIG_NATIVE_IGNORE_WARNING=true vitest",
|
|
216
217
|
"test:run": "vitest --run",
|
|
217
218
|
"test:coverage": "vitest --coverage",
|
|
218
219
|
"test:e2e": "NODE_OPTIONS=--no-experimental-strip-types playwright test --config=tests/playwright.e2e.config.ts",
|
package/dist/Image-CxnjHtP1.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
try {
|
|
2
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cd0e7b13-b5c4-4b27-a649-d95d870bd7bd", e._sentryDebugIdIdentifier = "sentry-dbid-cd0e7b13-b5c4-4b27-a649-d95d870bd7bd");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
6
|
-
import { Suspense } from "preact/compat";
|
|
7
|
-
import { jsx } from "preact/jsx-runtime";
|
|
8
|
-
//#region src/components/ui/atoms/Image/Image.tsx
|
|
9
|
-
/**
|
|
10
|
-
* Tiny helper to display treeshakable images
|
|
11
|
-
*
|
|
12
|
-
* It needs to receive an import function to enable treeshaking
|
|
13
|
-
* this way other modules/exports have no knowledge of the image being imported
|
|
14
|
-
* *
|
|
15
|
-
* @example
|
|
16
|
-
* ```jsx
|
|
17
|
-
* <Image lazyLoadedImage={lazy(() => import('../local/path/my-image.svg?component'))} />
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @param importFn lazy with dynamic import with a path that contains ?component
|
|
21
|
-
*/
|
|
22
|
-
var Image = ({ lazyLoadedImage, alt, className }) => {
|
|
23
|
-
return /* @__PURE__ */ jsx(Suspense, {
|
|
24
|
-
fallback: /* @__PURE__ */ jsx(Loader, {}),
|
|
25
|
-
children: /* @__PURE__ */ jsx(lazyLoadedImage, {
|
|
26
|
-
"aria-label": alt,
|
|
27
|
-
className,
|
|
28
|
-
role: "img"
|
|
29
|
-
})
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
|
-
//#endregion
|
|
33
|
-
export { Image as t };
|
package/dist/List-qvNxW9lm.js
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
try {
|
|
2
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1e5ac361-3e28-4412-9114-885100cbd2eb", e._sentryDebugIdIdentifier = "sentry-dbid-1e5ac361-3e28-4412-9114-885100cbd2eb");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import cx from "classnames";
|
|
6
|
-
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
7
|
-
import { toChildArray } from "preact";
|
|
8
|
-
var List_module_default = {
|
|
9
|
-
list: "_list_s1vme_1",
|
|
10
|
-
"list-header": "_list-header_s1vme_8",
|
|
11
|
-
listHeader: "_list-header_s1vme_8",
|
|
12
|
-
"list-footer": "_list-footer_s1vme_15",
|
|
13
|
-
listFooter: "_list-footer_s1vme_15",
|
|
14
|
-
"list-items": "_list-items_s1vme_22",
|
|
15
|
-
listItems: "_list-items_s1vme_22",
|
|
16
|
-
"list-items-plain": "_list-items-plain_s1vme_27",
|
|
17
|
-
listItemsPlain: "_list-items-plain_s1vme_27",
|
|
18
|
-
"list-items-grouped-primary": "_list-items-grouped-primary_s1vme_31",
|
|
19
|
-
listItemsGroupedPrimary: "_list-items-grouped-primary_s1vme_31",
|
|
20
|
-
"list-items-grouped-secondary": "_list-items-grouped-secondary_s1vme_37",
|
|
21
|
-
listItemsGroupedSecondary: "_list-items-grouped-secondary_s1vme_37",
|
|
22
|
-
"list-items-padding-none": "_list-items-padding-none_s1vme_42",
|
|
23
|
-
listItemsPaddingNone: "_list-items-padding-none_s1vme_42",
|
|
24
|
-
"list-items-padding-small": "_list-items-padding-small_s1vme_46",
|
|
25
|
-
listItemsPaddingSmall: "_list-items-padding-small_s1vme_46",
|
|
26
|
-
"list-items-padding-medium": "_list-items-padding-medium_s1vme_50",
|
|
27
|
-
listItemsPaddingMedium: "_list-items-padding-medium_s1vme_50",
|
|
28
|
-
"list-items-padding-large": "_list-items-padding-large_s1vme_54",
|
|
29
|
-
listItemsPaddingLarge: "_list-items-padding-large_s1vme_54",
|
|
30
|
-
"list-item-row-separator": "_list-item-row-separator_s1vme_58",
|
|
31
|
-
listItemRowSeparator: "_list-item-row-separator_s1vme_58"
|
|
32
|
-
};
|
|
33
|
-
//#endregion
|
|
34
|
-
//#region src/components/ui/atoms/List/List.tsx
|
|
35
|
-
var List = ({ children, dividers = true, footer, header, padding = "medium", variant = "plain" }) => {
|
|
36
|
-
const childrenArray = toChildArray(children);
|
|
37
|
-
const listVariantStyles = {
|
|
38
|
-
plain: List_module_default.listItemsPlain,
|
|
39
|
-
"grouped-primary": List_module_default.listItemsGroupedPrimary,
|
|
40
|
-
"grouped-secondary": List_module_default.listItemsGroupedSecondary
|
|
41
|
-
};
|
|
42
|
-
const listClassName = cx(List_module_default.listItems, listVariantStyles[variant], variant !== "plain" && {
|
|
43
|
-
[List_module_default.listItemsPaddingSmall]: padding === "small",
|
|
44
|
-
[List_module_default.listItemsPaddingMedium]: padding === "medium",
|
|
45
|
-
[List_module_default.listItemsPaddingLarge]: padding === "large"
|
|
46
|
-
}, { [List_module_default.listItemsPaddingNone]: padding === "none" });
|
|
47
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
48
|
-
className: List_module_default.list,
|
|
49
|
-
children: [
|
|
50
|
-
header && /* @__PURE__ */ jsx("div", {
|
|
51
|
-
className: List_module_default.listHeader,
|
|
52
|
-
children: header
|
|
53
|
-
}),
|
|
54
|
-
/* @__PURE__ */ jsx("ul", {
|
|
55
|
-
className: listClassName,
|
|
56
|
-
children: childrenArray.map((item) => {
|
|
57
|
-
const itemClassname = cx(List_module_default.listItem, { [List_module_default.listItemRowSeparator]: dividers });
|
|
58
|
-
return /* @__PURE__ */ jsx("li", {
|
|
59
|
-
className: itemClassname,
|
|
60
|
-
children: item
|
|
61
|
-
});
|
|
62
|
-
})
|
|
63
|
-
}),
|
|
64
|
-
footer && /* @__PURE__ */ jsx("div", {
|
|
65
|
-
className: List_module_default.listFooter,
|
|
66
|
-
children: footer
|
|
67
|
-
})
|
|
68
|
-
]
|
|
69
|
-
});
|
|
70
|
-
};
|
|
71
|
-
//#endregion
|
|
72
|
-
export { List as t };
|