@adyen/kyc-components 3.73.0 → 3.74.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-Bkk7q6mo.js → AcceptTermsOfServiceComponent-DbS9S7rK.js} +17 -20
- package/dist/{AccountSetupRejected-C7ecEaSn.js → AccountSetupRejected-iVC-xXLi.js} +2 -2
- package/dist/{Avatar-D6yqIy0x.js → Avatar-CRqvBqX5.js} +2 -2
- package/dist/{BusinessDetailsDropin-BiRuNJ8n.js → BusinessDetailsDropin-Bg4Nvdts.js} +67 -120
- package/dist/{BusinessFinancingComponent-CSvynjpm.js → BusinessFinancingComponent-0Z_Aocrm.js} +2 -2
- package/dist/{BusinessFinancingDropin-CXRE15GX.js → BusinessFinancingDropin-DkOs1eFa.js} +14 -14
- package/dist/{BusinessFinancingPage-r0Iqfbxa.js → BusinessFinancingPage-Dai8EF-P.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-CZ_FaDIH.js → BusinessTypeSelectionPage-BYv5LqBV.js} +5 -5
- package/dist/{Confirm-BHr6mMiG.js → Confirm-Chv0yU58.js} +3 -3
- package/dist/{ContractViewer-oBZZ8bn4.js → ContractViewer-T_OEs6Mn.js} +2 -2
- package/dist/{CreateIndividualComponent-CVdGHf1d.js → CreateIndividualComponent-C7l7Z9nC.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-CmIi26ll.js → CreateTransferInstrumentComponent-CCAVGKHN.js} +3 -3
- package/dist/{CustomerSupport-ZjylSyg9.js → CustomerSupport-B5M_N8mO.js} +6 -6
- package/dist/{DebugModal-CZzPXOzG.js → DebugModal-Bs5OyT8m.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-okutG9UE.js → DecisionMakerDetailsPage-Bfa8Y2jb.js} +4 -4
- package/dist/{DecisionMakers-BMlKNI5V.js → DecisionMakers-D47vMKX1.js} +6 -6
- package/dist/{EmbeddedStatus-43EnE3ZK.js → EmbeddedStatus-Cp6iexNY.js} +3 -3
- package/dist/{FormEndState-Ba2NHk5y.js → FormEndState-DmjuutuC.js} +2 -2
- package/dist/{FormFlow-Cdck7u4x.js → FormFlow-7o3Tyjok.js} +5 -5
- package/dist/{FormNavigation-W6RbnNko.js → FormNavigation-L73lTLbS.js} +2 -2
- package/dist/{FormWrapper-qqC_-UNQ.js → FormWrapper-D1Vo0AGZ.js} +7 -7
- package/dist/{IndividualOnfidoDropin-IrOHNmTf.js → IndividualOnfidoDropin-CUUIyXVk.js} +326 -56
- package/dist/{Introduction-o-hWV0oZ.js → Introduction-D8J5RSH8.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-CCl4rrb1.js → LegalRepresentativeDetailsPage-Cb369JPB.js} +4 -4
- package/dist/{ManageIndividualComponent-B7fSfP2F.js → ManageIndividualComponent-DGJdP1aE.js} +4 -4
- package/dist/{ManagePCIComponent-r4dqzD7_.js → ManagePCIComponent-NuzFNDLT.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-D8e3dSKy.js → ManageTermsOfServiceComponent-CfKAvu5U.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-BJO-PHo6.js → ManageTransferInstrumentComponent-C0qcdwgR.js} +8 -8
- package/dist/{MaybeModal-O3q5S9NK.js → MaybeModal-D5dCLe-h.js} +2 -2
- package/dist/{Modal-TYAtBE9x.js → Modal-DfJ_91QK.js} +2 -2
- package/dist/{OnboardingDropinComponent-Bxh1PgLV.js → OnboardingDropinComponent-C20x2fUs.js} +35 -35
- package/dist/{PayoutDetailsDropin-CP4QFI8I.js → PayoutDetailsDropin-B7vw3SdR.js} +11 -11
- package/dist/{PayoutDetailsPage-DIH-wJhK.js → PayoutDetailsPage-UOqJuNub.js} +4 -4
- package/dist/{ProviderButton-AD6AyoHf.js → ProviderButton-4TuemiRd.js} +2 -2
- package/dist/{Review-DDa73Jju.js → Review-Dc0ZKeDj.js} +4 -4
- package/dist/{RootBusinessDetailsPage-AH2m5bxv.js → RootBusinessDetailsPage-DIyDUr-T.js} +4 -4
- package/dist/{RootIndividualDetailsPage-BL3wAc4S.js → RootIndividualDetailsPage-C7m7LQoQ.js} +4 -4
- package/dist/{SignPCIComponent-jYVMnZY2.js → SignPCIComponent-C-Hm9CBz.js} +8 -8
- package/dist/{SingpassSelection-CVSZcYyN.js → SingpassSelection-D77F8Wr7.js} +2 -2
- package/dist/{SoleProprietorshipPage-DalSBVxC.js → SoleProprietorshipPage-Vxw7tRUS.js} +4 -4
- package/dist/{SourceOfFunds.module-BQK0zkg8.js → SourceOfFunds.module-hqnsWg_j.js} +2 -2
- package/dist/{SourceOfFundsPage-DiS_X7b1.js → SourceOfFundsPage-GNaWRBBC.js} +18 -18
- package/dist/{StepProgressIndicator-B4zX-D3p.js → StepProgressIndicator-D_DF20ug.js} +2 -2
- package/dist/{StoreProvider-BvP9cxL2.js → StoreProvider-BAvwKFmH.js} +859 -3660
- package/dist/{TaskItemStatus-DkPVRqFs.js → TaskItemStatus-DaCpoaGE.js} +2 -2
- package/dist/{TaxReportingDropin-g3d5fL-x.js → TaxReportingDropin-CoXZ3ETS.js} +8 -8
- package/dist/{TileGroup-CYlkz3ZJ.js → TileGroup-DuGIqJKM.js} +2 -2
- package/dist/{TrustDetailsPage-obnK_JcV.js → TrustDetailsPage-rmCzK6cb.js} +12 -12
- package/dist/{TrustMemberCompanyPage-CSJwRLMU.js → TrustMemberCompanyPage-CWXK4kyP.js} +5 -5
- package/dist/{TrustMemberIndividualPage-C7tI4NA2.js → TrustMemberIndividualPage-UgoTWN_z.js} +4 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-BioVhYr_.js → UnincorporatedPartnershipIndividualPage-D2q0XOJW.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-C22uQvbk.js → UnincorporatedPartnershipMemberCompanyPage-WKa773Qx.js} +6 -6
- package/dist/{VerificationErrorAlert-BF5XUN6V.js → VerificationErrorAlert-Bwl4F_Hw.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-T5K1PtFS.js → ViewVerificationStatusComponent-DH8o7eb_.js} +3 -3
- package/dist/adyen-business-financing.js +24 -27
- package/dist/adyen-individual.js +18 -21
- package/dist/adyen-kyc-components.js +28 -31
- package/dist/adyen-manage-individual.js +18 -21
- package/dist/adyen-manage-pci.js +18 -21
- package/dist/adyen-manage-terms-of-service.js +18 -21
- package/dist/adyen-manage-transfer-instruments.js +27 -30
- package/dist/adyen-onboarding.js +18 -23
- package/dist/adyen-sign-pci.js +26 -29
- package/dist/adyen-terms-of-service.js +18 -27
- package/dist/adyen-transfer-instrument.js +26 -29
- package/dist/adyen-verification-status.js +30 -33
- package/dist/{bg-BG-CZRQZyXO.js → bg-BG-BzeiDl-e.js} +65 -20
- package/dist/{cs-CZ-BbUFgifZ.js → cs-CZ-4Tk67nmO.js} +63 -18
- package/dist/{css-BaETlS0u.js → css-Dey0xyYn.js} +2 -2
- package/dist/{da-DK-CP71BFS7.js → da-DK-CN3Rc5da.js} +63 -18
- package/dist/{de-DE-DY56JGZt.js → de-DE-GaynF_xB.js} +63 -18
- package/dist/{documentUtils-2X_myXDi.js → documentUtils-BJYk9xz9.js} +2 -2
- package/dist/{dropinUtils-ZxnWDnZL.js → dropinUtils-Crzlt3M0.js} +2 -2
- package/dist/{el-GR-CnENEp5c.js → el-GR-C3tN9AFZ.js} +64 -19
- package/dist/{es-ES-dV62vQcV.js → es-ES-9Q6u4x6u.js} +64 -19
- package/dist/{et-EE-BBgAN3Wc.js → et-EE-jHAEJC5c.js} +63 -18
- package/dist/{fi-FI-DVmGWIxn.js → fi-FI-DH5DphLd.js} +64 -19
- package/dist/{fr-FR-VwG8Rg7R.js → fr-FR-DCboO9VH.js} +63 -18
- package/dist/{getFieldsWithExistingData-D7k0q9nX.js → getFieldsWithExistingData-DNFqfb7N.js} +2 -2
- package/dist/{hasDataChanged-HQ34LD7s.js → hasDataChanged-B2jRs2dC.js} +2 -2
- package/dist/{hr-HR-Bs_lxjxQ.js → hr-HR-333ODlHZ.js} +64 -19
- package/dist/{hu-HU-8dVSiOZM.js → hu-HU-CUNG9bik.js} +63 -18
- package/dist/{individualFormConfig-C4JOvJeg.js → individualFormConfig-Sz-z_dS0.js} +15 -7
- package/dist/{it-IT-DvwWMDl1.js → it-IT-CXxD91gu.js} +66 -21
- package/dist/{ja-JP-BB6zzyEg.js → ja-JP-1qp81W1I.js} +64 -19
- package/dist/{json-DAyfNEwU.js → json-Dqkw37TJ.js} +2 -2
- package/dist/{localizeDateString-HsIetwBG.js → localizeDateString-BU-jKpU7.js} +2 -2
- package/dist/{lt-LT-BQtNojlb.js → lt-LT-vQmxFgVn.js} +63 -18
- package/dist/{lv-LV-BpEw5uN5.js → lv-LV-Ds10XQ8q.js} +65 -20
- package/dist/{mapFinancialReportsToFinancialInformation-yegBHG3w.js → mapFinancialReportsToFinancialInformation-kHi6ZhK8.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-ChLSi-YS.js → mapTransferInstrumentToPayoutAccount-BQlG9PBJ.js} +2 -2
- package/dist/{nl-NL-vBEBXTP-.js → nl-NL-BsDTOkW4.js} +63 -18
- package/dist/{no-NO-BFhTqUoD.js → no-NO-BpyiF6sI.js} +64 -19
- package/dist/{omitObscuredFieldsIfUnchanged-BzlcM6To.js → omitObscuredFieldsIfUnchanged-BtWZIt1j.js} +2 -2
- package/dist/{pl-PL-dsGZvzVf.js → pl-PL-BqA3pc6p.js} +63 -18
- package/dist/{plaintext-DcsV3Ez0.js → plaintext-Cg84QEaS.js} +2 -2
- package/dist/{process-field-configurations-C0gNZpp3.js → process-field-configurations-Eryilcum.js} +2 -2
- package/dist/{processValidationErrors-DtcBtOKr.js → processValidationErrors-k2lNEXjI.js} +2 -2
- package/dist/{pt-PT-BB38pZbh.js → pt-PT-DSry7yG3.js} +64 -19
- package/dist/resolveEnvironment-C-CtSmI1.js +84 -0
- package/dist/{ro-RO-BgxNxoxJ.js → ro-RO-r8myUMxM.js} +65 -20
- package/dist/{rules-DEF0eIW9.js → rules-BfQymEhy.js} +17 -5
- package/dist/{sk-SK-rtDeCztl.js → sk-SK-Dy7mKbdU.js} +65 -20
- package/dist/{sl-SI-qoGCwUdU.js → sl-SI-L3YffGqX.js} +63 -18
- package/dist/style.css +4 -0
- package/dist/styles-CLV89_hH.js +4 -0
- package/dist/{sv-SE-f1T7PBSW.js → sv-SE-BtKMAZPD.js} +64 -19
- package/dist/types/api/address/address.types.d.ts +17 -0
- package/dist/types/api/address/useAddressCleanse.d.ts +1 -1
- package/dist/types/api/address/useRetrieveAddress.d.ts +1 -2
- package/dist/types/api/address/useSearchAddress.d.ts +13 -14
- package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +2 -2
- package/dist/types/api/check/useCheck.d.ts +5 -4
- package/dist/types/api/companyDataSet/companyDataset.types.d.ts +15 -0
- package/dist/types/api/companyDataSet/useCompanyDataset.d.ts +1 -15
- package/dist/types/api/companySearch/companySearch.types.d.ts +18 -0
- package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -18
- package/dist/types/api/configurations/configurations.types.d.ts +9 -0
- package/dist/types/api/configurations/useScenarios.d.ts +14 -22
- package/dist/types/api/configurations/useSupportedCountries.d.ts +2 -2
- package/dist/types/api/configurations/useTaskTypes.d.ts +2 -2
- package/dist/types/api/configurations/useVersionConfiguration.d.ts +2 -2
- package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +1 -1
- package/dist/types/api/datasets/datasets.types.d.ts +6 -0
- package/dist/types/api/datasets/useLegalForms.d.ts +2 -7
- package/dist/types/api/datasets/useNaceCodes.d.ts +2 -2
- package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +2 -2
- package/dist/types/api/entityVerifications/entityVerifications.types.d.ts +15 -0
- package/dist/types/api/entityVerifications/useVerifyIdNumber.d.ts +2 -17
- package/dist/types/api/idVerificationProviders/idVerificationProviders.types.d.ts +6 -0
- package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +3 -7
- package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +7 -7
- package/dist/types/api/legalEntity/useConfirmReview.d.ts +2 -2
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +19 -19
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +4 -4
- package/dist/types/api/onboardingStatus/onboardingStatus.types.d.ts +7 -0
- package/dist/types/api/onboardingStatus/useGenerateOnboardingLink.d.ts +2 -5
- package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
- package/dist/types/api/pciTemplate/pciTemplate.types.d.ts +9 -0
- package/dist/types/api/pciTemplate/usePciQuestionnaire.d.ts +2 -4
- package/dist/types/api/pciTemplate/usePciQuestionnaireList.d.ts +7 -9
- package/dist/types/api/pciTemplate/usePciStatus.d.ts +4 -9
- package/dist/types/api/pciTemplate/usePciTemplate.d.ts +2 -2
- package/dist/types/api/pciTemplate/useSignPci.d.ts +2 -2
- package/dist/types/api/providersConfiguration/providersConfiguration.types.d.ts +9 -0
- package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +3 -13
- package/dist/types/api/queryKeys.d.ts +1 -1
- package/dist/types/api/taskStatus/taskStatus.types.d.ts +4 -0
- package/dist/types/api/taskStatus/useTaskStatus.d.ts +0 -3
- package/dist/types/api/taxClassification/taxClassification.types.d.ts +2 -0
- package/dist/types/api/taxClassification/useTaxClassification.d.ts +1 -2
- package/dist/types/api/termsOfService/termsOfService.types.d.ts +10 -0
- package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +3 -10
- package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +9 -8
- package/dist/types/api/termsOfService/useTermsOfService.d.ts +10 -3
- package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +2 -2
- package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +2 -2
- package/dist/types/api/tinVerification/tinVerification.types.d.ts +4 -0
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +1 -4
- package/dist/types/api/transferInstruments/transferInstruments.types.d.ts +25 -0
- package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -14
- package/dist/types/api/transferInstruments/useCreateTrustedTransferInstrument.d.ts +3 -6
- package/dist/types/api/transferInstruments/useHandleBankVerificationError.d.ts +3 -6
- package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -9
- package/dist/types/api/uiAnalytics/uiAnalytics.types.d.ts +4 -0
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -6
- package/dist/types/api/uiAnalytics/usePushAnalyticEvent.d.ts +2 -2
- package/dist/types/api/validation/useValidateAccountIdentification.d.ts +1 -6
- package/dist/types/api/validation/useValidatePhoneNumber.d.ts +4 -7
- package/dist/types/api/validation/validation.types.d.ts +8 -0
- package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/types.d.ts +1 -2
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +1 -2
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -1
- package/dist/types/components/BankAccount/hooks/useAsyncAccountDetailsValidationRules.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +2 -2
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +1 -1
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessSelection/{BusinessInformationCard.d.ts → BusinessInformationCard/BusinessInformationCard.d.ts} +2 -2
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +1 -1
- package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItem/ManageTransferInstrumentOverviewItem.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItemModal/ManageTransferInstrumentOverviewItemModal.d.ts +1 -1
- package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +2 -2
- package/dist/types/components/Individual/fields/LocalizedNameFields/LocalizedNameFields.d.ts +2 -0
- package/dist/types/components/Individual/fields/NameFields/NameFields.d.ts +14 -0
- package/dist/types/components/Individual/fields/NameFields/types.d.ts +23 -0
- package/dist/types/components/Individual/fields/NameFields/validate.d.ts +4 -0
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +2 -1
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +1 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.d.ts +2 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +1 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/mapExtractionResultToSchema.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/SignatoryQuestionnaire/SignatoryQuestionnaire.types.d.ts +1 -3
- package/dist/types/components/Individual/forms/IndividualOnfido/SignatoryQuestionnaire/SignatoryQuestionnaireModalContent.d.ts +1 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/RichText.d.ts +5 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.types.d.ts +1 -3
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaireModalContent.d.ts +5 -0
- package/dist/types/components/Individual/mapping/mapLocalization.d.ts +3 -0
- package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +1 -1
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
- package/dist/types/core/models/api/contracts.d.ts +1 -12
- package/dist/types/core/models/api/data-set.d.ts +2 -1
- package/dist/types/core/models/api/document.d.ts +10 -1
- package/dist/types/core/models/api/individual.d.ts +10 -0
- package/dist/types/core/models/api/legal-entity.d.ts +1 -1
- package/dist/types/core/models/api/transfer-instrument.d.ts +1 -1
- package/dist/types/core/models/api/view-verification-status.d.ts +0 -4
- package/dist/types/core/models/country-code.d.ts +2 -1
- package/dist/types/core/models/errors/validation-error.d.ts +1 -1
- package/dist/types/embeds/EmbedBaseElement.d.ts +41 -0
- package/dist/types/embeds/EmbedCore.d.ts +22 -0
- package/dist/types/embeds/baseEmbedProps.d.ts +21 -0
- package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +13 -0
- package/dist/types/embeds/individual/AdyenIndividual.d.ts +12 -0
- package/dist/types/embeds/manage-individual/AdyenManageIndividual.d.ts +12 -0
- package/dist/types/embeds/manage-pci/AdyenManagePci.d.ts +12 -0
- package/dist/types/embeds/manage-terms-of-service/AdyenManageTermsOfService.d.ts +12 -0
- package/dist/types/embeds/manage-transfer-instruments/AdyenManageTransferInstrument.d.ts +15 -0
- package/dist/types/embeds/onboarding/AdyenOnboarding.d.ts +11 -0
- package/dist/types/embeds/sign-pci/AdyenSignPci.d.ts +15 -0
- package/dist/types/embeds/terms-of-service/AdyenTermsOfService.d.ts +12 -0
- package/dist/types/embeds/transfer-instrument/AdyenTransferInstrument.d.ts +15 -0
- package/dist/types/embeds/verification-status/AdyenVerificationStatus.d.ts +20 -0
- package/dist/types/hooks/useAnalytics.d.ts +8 -1
- package/dist/types/hooks/useScenarioConfiguration.d.ts +2 -2
- package/dist/types/stores/globalStore/taskStatus.d.ts +1 -1
- package/dist/types/utils/api/documentUtils.d.ts +1 -2
- package/dist/types/utils/birthDateUtils.d.ts +51 -0
- package/dist/types/utils/country.d.ts +5 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/validatorUtils.d.ts +2 -0
- package/dist/types/utils/verification/helpers/verifyIdNumber.d.ts +2 -2
- package/dist/{useMultiForm-C9-6Ii8X.js → useMultiForm-pmKYv-2U.js} +4 -3
- package/dist/{useOnboardingStatus-BDaGvN1o.js → useOnboardingStatus-DVjzVex8.js} +2 -2
- package/dist/{useSalesChannelsSettings-Dcouvxeh.js → useSalesChannelsSettings-CkfoAtZC.js} +2 -2
- package/dist/{useTermsOfServiceStatus-DnDl-q_x.js → useTermsOfServiceStatus-fgsNZ493.js} +2 -2
- package/dist/{useToastContext-SxQbUliB.js → useToastContext-BUgLPIdL.js} +2 -2
- package/dist/{useUpdateLegalEntity-BXh1hdqg.js → useUpdateLegalEntity-CfmsbpkR.js} +2 -2
- package/dist/{utils-CbUeSAH9.js → utils-n8mQb3vo.js} +4 -4
- package/dist/{validate-D-3dHKWn.js → validate--FStxGXq.js} +2 -2
- package/dist/{validate-CT_n11je.js → validate-ieK-jHRP.js} +2 -2
- package/dist/{yaml-BQHAR0fM.js → yaml-dZ9ajzym.js} +2 -2
- package/package.json +2 -1
- package/dist/CXEL7IU7-W0GuMc2V.js +0 -55
- package/dist/HASRA6WW-s6cv0xeb.js +0 -12411
- package/dist/I3HPI4QX-CHsql0Lg.js +0 -46
- package/dist/ShadowStylesRoot-wgo4Zafr.js +0 -103
- package/dist/types/core/models/api/analytics.d.ts +0 -13
- package/dist/types/core/models/api/check.d.ts +0 -4
- package/dist/types/core/models/api/documentDetail.d.ts +0 -9
- package/dist/types/embeds/ShadowStylesRoot.d.ts +0 -3
package/dist/{AcceptTermsOfServiceComponent-Bkk7q6mo.js → AcceptTermsOfServiceComponent-DbS9S7rK.js}
RENAMED
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d497a2ae-fff5-4c8e-9cc1-ab6474ed6810", e._sentryDebugIdIdentifier = "sentry-dbid-d497a2ae-fff5-4c8e-9cc1-ab6474ed6810");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import {
|
|
13
|
-
import { a as useTermsOfServiceStatus, u as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { b as ModalContent, c as ModalFooter } from "./Modal-
|
|
16
|
-
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-
|
|
12
|
+
import { p as useApiContext, b3 as useInvalidateRootLegalEntity, b4 as useMutation, b6 as httpPost, q as useQuery, w as skipToken, r as httpGet, aI as createLogger, b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, ar as useForm, B as Alert, Y as Button, a1 as LoaderWrapper, aw as Field, bv as Select, bu as Checkbox, aL as ActionBar, y as LegalEntityType, ac as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, ai as getLegalEntityNameBasedOnType, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-BAvwKFmH.js";
|
|
13
|
+
import { a as useTermsOfServiceStatus, u as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-fgsNZ493.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-D5dCLe-h.js";
|
|
15
|
+
import { b as ModalContent, c as ModalFooter } from "./Modal-DfJ_91QK.js";
|
|
16
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-T_OEs6Mn.js";
|
|
17
17
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
18
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-
|
|
20
|
-
import { F as FormEndState } from "./FormEndState-
|
|
21
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
18
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-D_DF20ug.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-BUgLPIdL.js";
|
|
20
|
+
import { F as FormEndState } from "./FormEndState-DmjuutuC.js";
|
|
21
|
+
import { F as FormNavigation } from "./FormNavigation-L73lTLbS.js";
|
|
22
22
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
23
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
23
|
+
import { l as localizeDateString } from "./localizeDateString-BU-jKpU7.js";
|
|
24
24
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
25
25
|
return httpPost(
|
|
26
26
|
{
|
|
@@ -367,16 +367,13 @@ function ServiceAgreementDropin({
|
|
|
367
367
|
}
|
|
368
368
|
);
|
|
369
369
|
const getSignedName = (acceptanceId) => {
|
|
370
|
-
var _a2
|
|
370
|
+
var _a2;
|
|
371
371
|
if (!acceptanceId) return "";
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
return ((_c = (_b2 = legalEntityResponse.entityAssociations) == null ? void 0 : _b2.find(
|
|
378
|
-
(entity) => entity.legalEntityId === (signatory == null ? void 0 : signatory.acceptedBy)
|
|
379
|
-
)) == null ? void 0 : _c.name) ?? "";
|
|
372
|
+
const signatory = serviceAgreementAcceptanceInfos.find(({ id }) => id === acceptanceId);
|
|
373
|
+
const legalEntitySignatory = (_a2 = legalEntityResponse.entityAssociations) == null ? void 0 : _a2.find(
|
|
374
|
+
({ legalEntityId }) => legalEntityId === (signatory == null ? void 0 : signatory.acceptedBy)
|
|
375
|
+
);
|
|
376
|
+
return (legalEntitySignatory == null ? void 0 : legalEntitySignatory.name) ?? getLegalEntityNameBasedOnType(legalEntityResponse);
|
|
380
377
|
};
|
|
381
378
|
const signedAlert = showSignedAlert && /* @__PURE__ */ jsx(
|
|
382
379
|
Alert,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-
|
|
12
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
11
|
+
import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-BAvwKFmH.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-C20x2fUs.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { i18n } = useI18nContext();
|
|
15
15
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "37320422-9108-4f46-8df6-6928b4a6f6a5", e._sentryDebugIdIdentifier = "sentry-dbid-37320422-9108-4f46-8df6-6928b4a6f6a5");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import {
|
|
12
|
+
import { a2 as Icon } from "./StoreProvider-BAvwKFmH.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "26293839-0b7c-4deb-b9eb-26398db53045", e._sentryDebugIdIdentifier = "sentry-dbid-26293839-0b7c-4deb-b9eb-26398db53045");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
12
|
-
import { useState, useEffect, useRef,
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import { u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
17
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer
|
|
18
|
-
import { i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError, u as useScenarioConfiguration } from "./processValidationErrors-
|
|
19
|
-
import { C as Confirm } from "./Confirm-
|
|
20
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
21
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
22
|
-
import { g as getDocument, c as createDocumentRequest, a as getFileExtention, d as documentApiUtils } from "./documentUtils-
|
|
23
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
11
|
+
import { p as useApiContext, b4 as useMutation, b6 as httpPost, q as useQuery, dq as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, d5 as MemoizedDocumentUpload, Y as Button, C as Typography, al as CountryCodes, O as CompanyTypesValue, bR as useGlobalData, dr as getForms, W as TaskTypes, ds as BasicInformation, bx as getFormProps, dt as CompanyStructure, du as AdditionalInformation, dv as MemoizedConstitutionalDocument, y as LegalEntityType, dw as FinancialInformation, b2 as entriesOf, b8 as businessDetailsComponentsKeyMapping, dx as solePropBusinessDetailsKeyMapping, aX as objectsDeepEqual, dy as operationalAddressIsSameIds, dz as COUNTRIES_USING_COMPANY_SEARCH, dA as FIELDS_NEEDED_FOR_COMPANY_SEARCH, bA as keysOf, i as isUndefinedOrNull, aG as summaryItem, dB as solePropBusinessDetailsApiKeyMapping, dc as businessDetailsApiKeyMapping, by as isEmpty, dC as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, aZ as datasetUtilities, cp as mapAddressLabels, dD as companyTypeMetadata, am as isEmpty$1, aI as createLogger, co as filterOutUnwantedAssociationsIfRootLE, dE as documentFormsIds, ao as resolveFieldMetadata, dF as defaultFieldMetadata, dG as inferCompanyRegistrationNumberType, dH as getCompanyRegistrationNumberOptions, dI as defaultFieldConfig, c9 as defaultFieldMetadata$1, dJ as countryToTaxInfoTypeMap, ca as defaultFieldConfig$1, dK as getKeyForField, ct as drop, aj as getOwnEntityAssociations, cx as doArraysMatch, P as useAccountHolder, _ as useAnalyticsContext, a4 as useExperimentsContext, J as useSettingsContext, dL as verifiedBusiness, ba as useQueryClient, bF as useStateContext, K as SettingNames, dM as setIsBankAccountRequestedForOrganization, bW as getAssociatedLeAnalyticsPayload, a_ as getCapabilityProblems, dN as rules, dO as useCompanyDataset, dP as useVerifyTin, dQ as setVerifiedBusiness, dR as solePropBusinessDetailsDocumentMapping, dS as businessDetailsDocumentMapping } from "./StoreProvider-BAvwKFmH.js";
|
|
12
|
+
import { useState, useEffect, useRef, useCallback, useMemo } from "preact/hooks";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CfmsbpkR.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-B2jRs2dC.js";
|
|
15
|
+
import { u as useToastContext } from "./useToastContext-BUgLPIdL.js";
|
|
16
|
+
import { a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-Eryilcum.js";
|
|
17
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-Crzlt3M0.js";
|
|
18
|
+
import { i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError, u as useScenarioConfiguration } from "./processValidationErrors-k2lNEXjI.js";
|
|
19
|
+
import { C as Confirm } from "./Confirm-Chv0yU58.js";
|
|
20
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-n8mQb3vo.js";
|
|
21
|
+
import { F as FormWrapper } from "./FormWrapper-D1Vo0AGZ.js";
|
|
22
|
+
import { g as getDocument, c as createDocumentRequest, a as getFileExtention, d as documentApiUtils } from "./documentUtils-BJYk9xz9.js";
|
|
23
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-DNFqfb7N.js";
|
|
24
24
|
import cx from "classnames";
|
|
25
|
-
import { M as Modal, b as ModalContent } from "./Modal-
|
|
26
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
25
|
+
import { M as Modal, b as ModalContent } from "./Modal-DfJ_91QK.js";
|
|
26
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-kHi6ZhK8.js";
|
|
27
27
|
import { m as mapExistingFile, g as getPageName } from "./mapExistingFile-BE74t9jV.js";
|
|
28
28
|
import { f as formatObject, g as getProp } from "./utils-B1H_8b1P.js";
|
|
29
29
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
@@ -1567,7 +1567,7 @@ function BusinessDetailsDropin({
|
|
|
1567
1567
|
onSubmit: onExternalSubmit,
|
|
1568
1568
|
handleHomeClick
|
|
1569
1569
|
}) {
|
|
1570
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
|
|
1570
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
|
|
1571
1571
|
const formRef = useRef(null);
|
|
1572
1572
|
const { accountHolder, setAccountHolder } = useAccountHolder();
|
|
1573
1573
|
const { showToast } = useToastContext();
|
|
@@ -1586,36 +1586,23 @@ function BusinessDetailsDropin({
|
|
|
1586
1586
|
}, [currentState, onChange]);
|
|
1587
1587
|
const isSoleProp = accountHolder === "mySoleProprietorName";
|
|
1588
1588
|
const formWith2Views = "basicInformation";
|
|
1589
|
-
const isAssociationTaskType =
|
|
1590
|
-
if (!taskType) {
|
|
1591
|
-
return accountHolder !== "theCompanyIWorkFor";
|
|
1592
|
-
}
|
|
1593
|
-
return taskType !== TaskTypes.BUSINESS_DETAILS;
|
|
1594
|
-
}, [accountHolder, taskType]);
|
|
1589
|
+
const isAssociationTaskType = !taskType ? accountHolder !== "theCompanyIWorkFor" : taskType !== TaskTypes.BUSINESS_DETAILS;
|
|
1595
1590
|
const legalEntityType = !isSoleProp ? LegalEntityType.ORGANIZATION : LegalEntityType.SOLE_PROPRIETORSHIP;
|
|
1596
|
-
const
|
|
1597
|
-
const currentCountry =
|
|
1598
|
-
() => {
|
|
1599
|
-
var _a2;
|
|
1600
|
-
return ((_a2 = currentState.data.basicInformation) == null ? void 0 : _a2.country) ?? country;
|
|
1601
|
-
},
|
|
1602
|
-
[(_a = currentState.data.basicInformation) == null ? void 0 : _a.country, country]
|
|
1603
|
-
);
|
|
1591
|
+
const isUS = country === CountryCodes.UnitedStates;
|
|
1592
|
+
const currentCountry = ((_a = currentState.data.basicInformation) == null ? void 0 : _a.country) ?? country;
|
|
1604
1593
|
const isSkippingCompanyStructure = isSettingEnabled(SettingNames.AllowLegalEntityTypeChange) && organizationTypesToSkipCompanyStructureForm.includes(
|
|
1605
1594
|
(_b = legalEntityResponse == null ? void 0 : legalEntityResponse.organization) == null ? void 0 : _b.type
|
|
1606
1595
|
) && accountHolder !== "aTrust" || isSoleProp;
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
const isBankAccountRequested = (
|
|
1596
|
+
const [prevLegalEntityResponse, setPrevLegalEntityResponse] = useState(legalEntityResponse);
|
|
1597
|
+
if (prevLegalEntityResponse !== legalEntityResponse) {
|
|
1598
|
+
const isBankAccountRequested = (_d = (_c = legalEntityResponse == null ? void 0 : legalEntityResponse.capabilities) == null ? void 0 : _c.issueBankAccount) == null ? void 0 : _d.requested;
|
|
1610
1599
|
setIsBankAccountRequestedForOrganization(isBankAccountRequested);
|
|
1611
|
-
|
|
1600
|
+
setPrevLegalEntityResponse(legalEntityResponse);
|
|
1601
|
+
}
|
|
1612
1602
|
const subjectEntity = !isAssociationTaskType ? legalEntityResponse : isSoleProp ? associatedLegalArrangement : nestedLegalEntity;
|
|
1613
|
-
const associatedLeTrackingParams =
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
}),
|
|
1617
|
-
[associatedLegalArrangement]
|
|
1618
|
-
);
|
|
1603
|
+
const associatedLeTrackingParams = getAssociatedLeAnalyticsPayload({
|
|
1604
|
+
associatedLegalEntity: associatedLegalArrangement
|
|
1605
|
+
});
|
|
1619
1606
|
useEffect(() => {
|
|
1620
1607
|
userEvents.updateBaseTrackingPayload({ task: taskType });
|
|
1621
1608
|
userEvents.addTaskEvent("Landed on page", {
|
|
@@ -1632,7 +1619,7 @@ function BusinessDetailsDropin({
|
|
|
1632
1619
|
});
|
|
1633
1620
|
const [trustedFields, setTrustedFields] = useState((subjectEntity == null ? void 0 : subjectEntity.trustedFields) ?? void 0);
|
|
1634
1621
|
const [currentProblems, setCurrentProblems] = useState(
|
|
1635
|
-
problems ?? ((
|
|
1622
|
+
problems ?? ((_f = (_e = getCapabilityProblems(legalEntityResponse, currentCountry)) == null ? void 0 : _e.LegalEntity) == null ? void 0 : _f[legalEntityResponse.id])
|
|
1636
1623
|
);
|
|
1637
1624
|
const [showCompanyStructure, setShowCompanyStructure] = useState(
|
|
1638
1625
|
currentCountry !== "US" && !isSoleProp
|
|
@@ -1745,10 +1732,10 @@ function BusinessDetailsDropin({
|
|
|
1745
1732
|
}
|
|
1746
1733
|
);
|
|
1747
1734
|
const companySearchResults = companySearchResponse == null ? void 0 : companySearchResponse.results;
|
|
1748
|
-
const businessName = ((
|
|
1749
|
-
const nameMatch = isNormalizedStringMatch(businessName, ((
|
|
1750
|
-
const taxInformation = (
|
|
1751
|
-
const tin = ((
|
|
1735
|
+
const businessName = ((_h = (_g = currentState == null ? void 0 : currentState.data) == null ? void 0 : _g.basicInformation) == null ? void 0 : _h.legalCompanyName) || "";
|
|
1736
|
+
const nameMatch = isNormalizedStringMatch(businessName, ((_i = companySearchResults == null ? void 0 : companySearchResults[0]) == null ? void 0 : _i.name) ?? "");
|
|
1737
|
+
const taxInformation = (_k = (_j = currentState == null ? void 0 : currentState.data) == null ? void 0 : _j.basicInformation) == null ? void 0 : _k.taxInformation;
|
|
1738
|
+
const tin = ((_l = taxInformation == null ? void 0 : taxInformation.find((taxId) => currentCountry === taxId.country)) == null ? void 0 : _l.number) || "";
|
|
1752
1739
|
const [prevCompanySearchResults, setPrevCompanySearchResults] = useState(companySearchResults);
|
|
1753
1740
|
const { data: singleCompanyDatasetResponse, isLoading: fetchingDataset } = useCompanyDataset(
|
|
1754
1741
|
singleCompanyDatasetParams,
|
|
@@ -1770,6 +1757,7 @@ function BusinessDetailsDropin({
|
|
|
1770
1757
|
enabled: !!singleCompanyDatasetResponse && showBusinessSelection
|
|
1771
1758
|
}
|
|
1772
1759
|
);
|
|
1760
|
+
const [prevTinResponse, setPrevTinResponse] = useState(tinResponse == null ? void 0 : tinResponse.matched);
|
|
1773
1761
|
const forms = useMemo(() => {
|
|
1774
1762
|
const requiredForms = getRequiredForms(
|
|
1775
1763
|
initialForms,
|
|
@@ -1879,7 +1867,7 @@ function BusinessDetailsDropin({
|
|
|
1879
1867
|
const loading = fetchingDataset || verifyingTin || searchingCompanies || resettingTrustedData;
|
|
1880
1868
|
const proceedToManualDataEntry = useCallback(async () => {
|
|
1881
1869
|
await clearCompanyData2().then(async () => {
|
|
1882
|
-
if (!
|
|
1870
|
+
if (!isUS) {
|
|
1883
1871
|
setShowCompanyStructure(true);
|
|
1884
1872
|
return;
|
|
1885
1873
|
}
|
|
@@ -1906,7 +1894,7 @@ function BusinessDetailsDropin({
|
|
|
1906
1894
|
});
|
|
1907
1895
|
}, [
|
|
1908
1896
|
clearCompanyData2,
|
|
1909
|
-
|
|
1897
|
+
isUS,
|
|
1910
1898
|
businessName,
|
|
1911
1899
|
tin,
|
|
1912
1900
|
fetchTin,
|
|
@@ -1914,36 +1902,31 @@ function BusinessDetailsDropin({
|
|
|
1914
1902
|
subjectEntity == null ? void 0 : subjectEntity.type,
|
|
1915
1903
|
userEvents
|
|
1916
1904
|
]);
|
|
1917
|
-
if (prevCompanySearchResults !== companySearchResults) {
|
|
1905
|
+
if (prevCompanySearchResults !== companySearchResults || prevTinResponse !== (tinResponse == null ? void 0 : tinResponse.matched)) {
|
|
1918
1906
|
if ((companySearchResults == null ? void 0 : companySearchResults.length) === 1 && nameMatch) {
|
|
1919
1907
|
setSingleCompanyDatasetParams({
|
|
1920
1908
|
company: companySearchResults[0],
|
|
1921
|
-
state: (
|
|
1909
|
+
state: (_m = currentState.data.basicInformation) == null ? void 0 : _m.stateOrProvince
|
|
1922
1910
|
});
|
|
1923
1911
|
if ((tinResponse == null ? void 0 : tinResponse.matched) === true) {
|
|
1912
|
+
setVerifiedBusiness(singleCompanyDatasetResponse);
|
|
1924
1913
|
handleNextClick();
|
|
1925
1914
|
}
|
|
1926
|
-
} else if ((companySearchResults == null ? void 0 : companySearchResults.length) === 0 && !searchingCompanies && showBusinessSelection
|
|
1915
|
+
} else if ((companySearchResults == null ? void 0 : companySearchResults.length) === 0 && !searchingCompanies && showBusinessSelection) {
|
|
1927
1916
|
proceedToManualDataEntry();
|
|
1928
1917
|
}
|
|
1918
|
+
setPrevTinResponse(tinResponse == null ? void 0 : tinResponse.matched);
|
|
1929
1919
|
setPrevCompanySearchResults(companySearchResults);
|
|
1930
1920
|
}
|
|
1931
|
-
|
|
1932
|
-
()
|
|
1933
|
-
|
|
1934
|
-
);
|
|
1935
|
-
const hideFooter = isBusinessSelection === true && loading;
|
|
1936
|
-
const hideNextButton = useMemo(() => {
|
|
1937
|
-
if (activeForm.formId === formWith2Views) return isBusinessSelection;
|
|
1938
|
-
else return false;
|
|
1939
|
-
}, [activeForm.formId, isBusinessSelection]);
|
|
1940
|
-
const showBackButton = useMemo(() => {
|
|
1941
|
-
if (!COUNTRIES_USING_COMPANY_SEARCH.includes(currentCountry)) return false;
|
|
1942
|
-
if (isBusinessSelection) {
|
|
1943
|
-
return loading;
|
|
1921
|
+
useEffect(() => {
|
|
1922
|
+
if (searchingError) {
|
|
1923
|
+
proceedToManualDataEntry();
|
|
1944
1924
|
}
|
|
1945
|
-
|
|
1946
|
-
|
|
1925
|
+
}, [searchingError]);
|
|
1926
|
+
const isBusinessSelection = showBusinessSelection && activeForm.formId === formWith2Views;
|
|
1927
|
+
const hideFooter = isBusinessSelection === true && loading;
|
|
1928
|
+
const hideNextButton = activeForm.formId === formWith2Views ? isBusinessSelection : false;
|
|
1929
|
+
const showBackButton = !COUNTRIES_USING_COMPANY_SEARCH.includes(currentCountry) ? false : isBusinessSelection ? loading : false;
|
|
1947
1930
|
const goToForm = useCallback(
|
|
1948
1931
|
(index) => {
|
|
1949
1932
|
if (!COUNTRIES_USING_COMPANY_SEARCH.includes(currentCountry)) {
|
|
@@ -1975,23 +1958,15 @@ function BusinessDetailsDropin({
|
|
|
1975
1958
|
]
|
|
1976
1959
|
);
|
|
1977
1960
|
const nextClick = useCallback(() => {
|
|
1978
|
-
var _a2, _b2, _c2, _d2, _e2, _f2
|
|
1979
|
-
if (!COUNTRIES_USING_COMPANY_SEARCH.includes(currentCountry) ||
|
|
1961
|
+
var _a2, _b2, _c2, _d2, _e2, _f2;
|
|
1962
|
+
if (!COUNTRIES_USING_COMPANY_SEARCH.includes(currentCountry) || accountHolder !== "theCompanyIWorkFor")
|
|
1980
1963
|
return handleNextClick();
|
|
1981
|
-
|
|
1982
|
-
if (activeForm.formId === formWith2Views && ((_b2 = currentState.validityByForm) == null ? void 0 : _b2.basicInformation) && !isBusinessSelection && !verifiedBusiness$1) {
|
|
1983
|
-
trackNavigation({
|
|
1984
|
-
userEvents,
|
|
1985
|
-
actionType: "next",
|
|
1986
|
-
toForm: toFormName || "home",
|
|
1987
|
-
label: "next",
|
|
1988
|
-
returnValue: "success"
|
|
1989
|
-
});
|
|
1964
|
+
if (activeForm.formId === formWith2Views && ((_a2 = currentState.validityByForm) == null ? void 0 : _a2.basicInformation) && !isBusinessSelection && !verifiedBusiness$1) {
|
|
1990
1965
|
setCompanySearchParams({
|
|
1991
|
-
legalCompanyName: ((
|
|
1992
|
-
country: ((
|
|
1993
|
-
stateOrProvince: (
|
|
1994
|
-
registrationNumber: (
|
|
1966
|
+
legalCompanyName: ((_c2 = (_b2 = currentState == null ? void 0 : currentState.data) == null ? void 0 : _b2.basicInformation) == null ? void 0 : _c2.legalCompanyName) ?? "",
|
|
1967
|
+
country: ((_d2 = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _d2.country) ?? country,
|
|
1968
|
+
stateOrProvince: (_e2 = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _e2.stateOrProvince,
|
|
1969
|
+
registrationNumber: (_f2 = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _f2.registrationNumber
|
|
1995
1970
|
});
|
|
1996
1971
|
setShowBusinessSelection(true);
|
|
1997
1972
|
} else {
|
|
@@ -2001,16 +1976,14 @@ function BusinessDetailsDropin({
|
|
|
2001
1976
|
currentCountry,
|
|
2002
1977
|
isSoleProp,
|
|
2003
1978
|
handleNextClick,
|
|
2004
|
-
forms,
|
|
2005
1979
|
activeForm.formId,
|
|
2006
|
-
(
|
|
2007
|
-
(
|
|
2008
|
-
(
|
|
2009
|
-
(
|
|
2010
|
-
(
|
|
1980
|
+
(_n = currentState.validityByForm) == null ? void 0 : _n.basicInformation,
|
|
1981
|
+
(_o = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _o.legalCompanyName,
|
|
1982
|
+
(_p = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _p.country,
|
|
1983
|
+
(_q = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _q.stateOrProvince,
|
|
1984
|
+
(_r = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _r.registrationNumber,
|
|
2011
1985
|
isBusinessSelection,
|
|
2012
1986
|
verifiedBusiness$1,
|
|
2013
|
-
userEvents,
|
|
2014
1987
|
country
|
|
2015
1988
|
]);
|
|
2016
1989
|
const backClick = useCallback(() => {
|
|
@@ -2018,12 +1991,6 @@ function BusinessDetailsDropin({
|
|
|
2018
1991
|
else {
|
|
2019
1992
|
switch (activeForm.formId) {
|
|
2020
1993
|
case formWith2Views: {
|
|
2021
|
-
trackNavigation({
|
|
2022
|
-
userEvents,
|
|
2023
|
-
actionType: "back",
|
|
2024
|
-
toForm: "basicDetails",
|
|
2025
|
-
label: "back"
|
|
2026
|
-
});
|
|
2027
1994
|
if (showBusinessSelection) setShowBusinessSelection(false);
|
|
2028
1995
|
break;
|
|
2029
1996
|
}
|
|
@@ -2054,7 +2021,6 @@ function BusinessDetailsDropin({
|
|
|
2054
2021
|
currentCountry,
|
|
2055
2022
|
handleBackClick,
|
|
2056
2023
|
activeForm.formId,
|
|
2057
|
-
userEvents,
|
|
2058
2024
|
showBusinessSelection,
|
|
2059
2025
|
searchingError,
|
|
2060
2026
|
searchingCompanies,
|
|
@@ -2062,35 +2028,17 @@ function BusinessDetailsDropin({
|
|
|
2062
2028
|
verifiedBusiness$1
|
|
2063
2029
|
]);
|
|
2064
2030
|
const homeClick = () => {
|
|
2065
|
-
trackNavigation({
|
|
2066
|
-
userEvents,
|
|
2067
|
-
actionType: "save",
|
|
2068
|
-
toForm: "home",
|
|
2069
|
-
label: "home"
|
|
2070
|
-
});
|
|
2071
2031
|
handleHomeClick == null ? void 0 : handleHomeClick();
|
|
2072
2032
|
};
|
|
2073
2033
|
const handleBusinessMismatchContinue = useCallback(() => {
|
|
2074
2034
|
setShowCompanyStructure(true);
|
|
2075
2035
|
setTrustedFields([]);
|
|
2076
2036
|
setBusinessMismatchModalOpen(false);
|
|
2077
|
-
trackNavigation({
|
|
2078
|
-
userEvents,
|
|
2079
|
-
actionType: "next",
|
|
2080
|
-
toForm: "additionalInformationFormName",
|
|
2081
|
-
label: "TIN Continue Anyways"
|
|
2082
|
-
});
|
|
2083
2037
|
}, [setShowCompanyStructure, setTrustedFields, setBusinessMismatchModalOpen]);
|
|
2084
2038
|
const handleBusinessMismatchCancel = useCallback(() => {
|
|
2085
2039
|
backClick == null ? void 0 : backClick();
|
|
2086
2040
|
setBusinessMismatchModalOpen(false);
|
|
2087
2041
|
setTinMatched(void 0);
|
|
2088
|
-
trackNavigation({
|
|
2089
|
-
userEvents,
|
|
2090
|
-
actionType: "back",
|
|
2091
|
-
toForm: "basicDetails",
|
|
2092
|
-
label: "TIN Edit Details"
|
|
2093
|
-
});
|
|
2094
2042
|
}, [backClick, setTinMatched, setBusinessMismatchModalOpen]);
|
|
2095
2043
|
const resetBusinessData = useCallback(() => {
|
|
2096
2044
|
queryClient.resetQueries({
|
|
@@ -2121,16 +2069,15 @@ function BusinessDetailsDropin({
|
|
|
2121
2069
|
}, [
|
|
2122
2070
|
companySearchParams,
|
|
2123
2071
|
currentState.data.basicInformation,
|
|
2124
|
-
(
|
|
2072
|
+
(_s = currentState.data.basicInformation) == null ? void 0 : _s.legalCompanyName,
|
|
2125
2073
|
resetBusinessData,
|
|
2126
2074
|
verifiedBusiness$1
|
|
2127
2075
|
]);
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
}, [currentCountry]);
|
|
2076
|
+
const [prevCurrentCountry, setPrevCurrentCountry] = useState(currentCountry);
|
|
2077
|
+
if (prevCurrentCountry !== currentCountry && (trustedFields == null ? void 0 : trustedFields.length) && ((_t = legalEntityResponse.organization) == null ? void 0 : _t.registeredAddress.country) !== currentCountry) {
|
|
2078
|
+
setTrustedFields(void 0);
|
|
2079
|
+
setPrevCurrentCountry(currentCountry);
|
|
2080
|
+
}
|
|
2134
2081
|
return /* @__PURE__ */ jsxs(
|
|
2135
2082
|
FormWrapper,
|
|
2136
2083
|
{
|
package/dist/{BusinessFinancingComponent-CSvynjpm.js → BusinessFinancingComponent-0Z_Aocrm.js}
RENAMED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-
|
|
13
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-BAvwKFmH.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DkOs1eFa.js";
|
|
14
14
|
function BusinessFinancingComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess
|
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cb44bad6-6541-472b-b57f-509de371eb0c", e._sentryDebugIdIdentifier = "sentry-dbid-cb44bad6-6541-472b-b57f-509de371eb0c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useEffect, useCallback, useState, useRef } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
-
import {
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import { u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { u as useScenarioConfiguration, i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError } from "./processValidationErrors-
|
|
17
|
-
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
18
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-
|
|
19
|
-
import { F as FormEndState } from "./FormEndState-
|
|
20
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
21
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
12
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CfmsbpkR.js";
|
|
13
|
+
import { bI as reverseMapping, bJ as isEeaCountry, y as LegalEntityType, b0 as cloneObject, am as isEmpty, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, aw as Field, bv as Select, C as Typography, aS as RadioGroup, bK as Link, bf as InputText, b1 as currencyByCountry, bL as InputNumber, bM as InputDate, bN as Currency, bO as CURRENCY_FIELD, bP as InputCurrency, ar as useForm, bQ as useGlobalDataSlice, au as ErrorPanel, av as createFormUtils, bR as useGlobalData, bS as getAddressSchemaForCountry, bT as COUNTRIES_WITH_STATES_DATASET, bU as Address, bV as getAddressSchemaLabelsByCountry, _ as useAnalyticsContext, b3 as useInvalidateRootLegalEntity, ak as useAssociatedLegalEntity, aZ as datasetUtilities, bF as useStateContext, J as useSettingsContext, K as SettingNames, bW as getAssociatedLeAnalyticsPayload, bx as getFormProps, L as Loader, a2 as Icon, Y as Button } from "./StoreProvider-BAvwKFmH.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-B2jRs2dC.js";
|
|
15
|
+
import { u as useToastContext } from "./useToastContext-BUgLPIdL.js";
|
|
16
|
+
import { u as useScenarioConfiguration, i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError } from "./processValidationErrors-k2lNEXjI.js";
|
|
17
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-Eryilcum.js";
|
|
18
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-Crzlt3M0.js";
|
|
19
|
+
import { F as FormEndState } from "./FormEndState-DmjuutuC.js";
|
|
20
|
+
import { F as FormWrapper } from "./FormWrapper-D1Vo0AGZ.js";
|
|
21
|
+
import { l as localizeDateString } from "./localizeDateString-BU-jKpU7.js";
|
|
22
22
|
import { f as formatObject, g as getProp } from "./utils-B1H_8b1P.js";
|
|
23
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
24
|
-
import {
|
|
25
|
-
import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate-
|
|
23
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-kHi6ZhK8.js";
|
|
24
|
+
import { f as fieldsPerScenario } from "./individualFormConfig-Sz-z_dS0.js";
|
|
25
|
+
import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate-ieK-jHRP.js";
|
|
26
26
|
const MANDATORY_FIELDS_BUSINESS_FINANCING = [
|
|
27
27
|
"company.numberOfEmployees",
|
|
28
28
|
"parentCompany.numberOfEmployees",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
11
|
+
import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-BAvwKFmH.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DkOs1eFa.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-CZ_FaDIH.js → BusinessTypeSelectionPage-BYv5LqBV.js}
RENAMED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e8f92b0e-1381-4e84-a4a6-3570b4a72d40", e._sentryDebugIdIdentifier = "sentry-dbid-e8f92b0e-1381-4e84-a4a6-3570b4a72d40");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext,
|
|
11
|
+
import { b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, P as useAccountHolder, bk as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, ar as useForm, a1 as LoaderWrapper, C as Typography, aw as Field, bl as EntityTypeRadioGroupCard, az as RadioGroupCard, Y as Button, a2 as Icon, H as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-BAvwKFmH.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CfmsbpkR.js";
|
|
14
14
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
15
|
-
import { u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-
|
|
15
|
+
import { u as useToastContext } from "./useToastContext-BUgLPIdL.js";
|
|
16
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-n8mQb3vo.js";
|
|
17
17
|
const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
|
|
18
18
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
19
19
|
const importForCountry = businessTypeExamples[`../localized/legalEntityTypeExamples/${country}.json`];
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "345c3601-05be-4ae6-a535-c9cad6b74cf7", e._sentryDebugIdIdentifier = "sentry-dbid-345c3601-05be-4ae6-a535-c9cad6b74cf7");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { b as useI18nContext,
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { b as useI18nContext, C as Typography, Y as Button } from "./StoreProvider-BAvwKFmH.js";
|
|
13
|
+
import { M as Modal } from "./Modal-DfJ_91QK.js";
|
|
14
14
|
const confirm = "adyen-kyc-confirm";
|
|
15
15
|
const confirmMessage = "adyen-kyc-confirm-message";
|
|
16
16
|
const confirmActions = "adyen-kyc-confirm-actions";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e12db31c-8aad-4844-8139-a4511ccd44da", e._sentryDebugIdIdentifier = "sentry-dbid-e12db31c-8aad-4844-8139-a4511ccd44da");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
11
|
+
import { a2 as Icon } from "./StoreProvider-BAvwKFmH.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { useRef, useState, useEffect } from "preact/hooks";
|
|
14
14
|
const outlinedIcon = "adyen-kyc-outlined-icon";
|
package/dist/{CreateIndividualComponent-CVdGHf1d.js → CreateIndividualComponent-C7l7Z9nC.js}
RENAMED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ec60edf7-4f66-4a65-a071-91224cd8a0ed", e._sentryDebugIdIdentifier = "sentry-dbid-ec60edf7-4f66-4a65-a071-91224cd8a0ed");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity,
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-
|
|
13
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, a4 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, U as EntityType, W as TaskTypes } from "./StoreProvider-BAvwKFmH.js";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-4TuemiRd.js";
|
|
13
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-CUUIyXVk.js";
|
|
14
14
|
const CreateIndividualComponent = ({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess,
|