@adyen/kyc-components 4.2.0 → 4.3.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/{AcceptTermsOfServiceComponent-DDj3rbOx.js → AcceptTermsOfServiceComponent-DHOEbKRw.js} +30 -25
- package/dist/{AccountSetupRejected--ItoNQ2p.js → AccountSetupRejected-BtePboYl.js} +2 -5
- package/dist/{ActionBar-BQ3qEC6p.js → ActionBar-CQZiRESM.js} +2 -2
- package/dist/{Address-BeNF2HFn.js → Address-CZsphDQn.js} +11 -13
- package/dist/{Avatar-BjYbzIQC.js → Avatar-umWLtbNh.js} +2 -2
- package/dist/{BusinessFinancingComponent-BQj2ehD2.js → BusinessFinancingComponent-Bq1XvxN0.js} +6 -6
- package/dist/{BusinessFinancingDropin-C2qel0rF.js → BusinessFinancingDropin-DGNDmZPX.js} +200 -123
- package/dist/{BusinessFinancingPage-QTOcfbBt.js → BusinessFinancingPage-B3Mppy3e.js} +5 -5
- package/dist/{BusinessTypeSelectionPage-CNBTnHYV.js → BusinessTypeSelectionPage-DFwTrEj2.js} +9 -9
- package/dist/{Checkbox-PcQW98Hc.js → Checkbox-grZtL86z.js} +2 -2
- package/dist/{Confirm-D7uRirpk.js → Confirm-gSH15YjO.js} +3 -3
- package/dist/{ConstitutionalDocument-DX2n4nuI.js → ConstitutionalDocument-C1ho_WGb.js} +39 -22
- package/dist/{ContactDetails-DqtPuOz3.js → ContactDetails-beFUwzWU.js} +6 -9
- package/dist/{ContextGuidance-BBPWGkJc.js → ContextGuidance-DN9_2r5g.js} +2 -3
- package/dist/{CountryField-9-8UreyJ.js → CountryField-CK9UwJHn.js} +4 -6
- package/dist/{CreateIndividualComponent-DMtlWBqw.js → CreateIndividualComponent-TaKBME08.js} +7 -7
- package/dist/{CreateTransferInstrumentComponent-D0prW4xg.js → CreateTransferInstrumentComponent-WGgDfmsE.js} +4 -4
- package/dist/{Currency-Cjnl8BIe.js → Currency-DEgTOLD3.js} +7 -7
- package/dist/{CustomerSupport-CPaXjNH1.js → CustomerSupport-CByUZkgX.js} +10 -11
- package/dist/{DebugModal-Crim4ok3.js → DebugModal-1rEVOPzu.js} +8 -9
- package/dist/{DecisionMakerDetailsPage-CRnyPLiF.js → DecisionMakerDetailsPage-dB5GuLx1.js} +9 -9
- package/dist/{DecisionMakers-laVUncMl.js → DecisionMakers-DS14GhtC.js} +23 -33
- package/dist/{Dropzone-L5oCc5ZM.js → Dropzone-CI7gyNBs.js} +4 -4
- package/dist/{EmbeddedStatus-Bc6bUaC6.js → EmbeddedStatus-BdQ39yKX.js} +3 -3
- package/dist/{EndStateLayout-irx07x7E.js → EndStateLayout-CmNueoBE.js} +2 -2
- package/dist/{EntityAssociation-CvlitxTW.js → EntityAssociation-CCExGpww.js} +5 -6
- package/dist/{EntityGuidanceStatus-CVBuyGry.js → EntityGuidanceStatus-DYkFfoBr.js} +4 -4
- package/dist/{ErrorPanel-GWNSNY8U.js → ErrorPanel-CmGFPsaG.js} +2 -3
- package/dist/{Field-BxFn1eol.js → Field-BuHaTPvn.js} +3 -3
- package/dist/{FormNavigation-BUF4Hm5v.js → FormNavigation-B4rGWlDy.js} +3 -3
- package/dist/{FormWrapper-B215nZbo.js → FormWrapper-BC0uqTgd.js} +9 -9
- package/dist/{Image-BrHT9RgB.js → Image-CLQ4EuPK.js} +2 -2
- package/dist/{Individual.rules-CSzG8cP-.js → Individual.rules-vC5TbPZA.js} +8 -8
- package/dist/{IndividualDropin-a9OrNzNE.js → IndividualDropin-DvQ-z4rT.js} +177 -132
- package/dist/{InputDate-C-KJumMv.js → InputDate-DRD072Dy.js} +2 -2
- package/dist/{InputText-CdqQ2Npg.js → InputText-BUnL2S1h.js} +2 -2
- package/dist/{Introduction-CWh2x4Ey.js → Introduction-DaWEcxk1.js} +4 -4
- package/dist/{JpAddress-5Np6iypt.js → JpAddress-DLD5oFVR.js} +11 -12
- package/dist/{LandingLayout-D_GwiUpJ.js → LandingLayout-DtrCsF3s.js} +2 -3
- package/dist/{LegalCompanyNameField-DNG1YgY-.js → LegalCompanyNameField-D4TnW4PU.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage-fxFVfuS4.js → LegalRepresentativeDetailsPage-jZLVn4-D.js} +6 -6
- package/dist/{Link-BrhjD5PB.js → Link-xCQbA-9e.js} +2 -2
- package/dist/{ListItem-CFd_eKi6.js → ListItem-DSqo8-K1.js} +3 -3
- package/dist/{LoaderWrapper-vIs9v-bF.js → LoaderWrapper-7vOgmEsk.js} +2 -2
- package/dist/ManageIndividualComponent-CCIhrOiG.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-rdafMeu0.js → ManageTermsOfServiceComponent-CD8xsVbW.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-BPAV8xNI.js → ManageTransferInstrumentComponent-QxybfaMB.js} +12 -15
- package/dist/{MaskedInput-FKbjMCcf.js → MaskedInput-Bg8sJ8Sz.js} +5 -5
- package/dist/{MaybeModal-DpIm1du4.js → MaybeModal-dbukcqGt.js} +3 -3
- package/dist/{Modal-y1WKajuS.js → Modal-C5NXMpqk.js} +2 -2
- package/dist/{Name-B2sN5T7w.js → Name-DyGu-N0I.js} +5 -5
- package/dist/{OnboardingDropinComponent-DAgv7ZtY.js → OnboardingDropinComponent-B_W8eeJV.js} +59 -61
- package/dist/{PayoutDetailsDropin-DUYkjwtA.js → PayoutDetailsDropin-C6FSD0nU.js} +63 -61
- package/dist/{RadioGroup-KZagZTkQ.js → RadioGroup-BP8CNtf9.js} +2 -2
- package/dist/{RadioGroupCard-Vb3xY6Jd.js → RadioGroupCard-DUxGxMW2.js} +2 -2
- package/dist/{Review-CwKhhTUJ.js → Review-DdowS_67.js} +6 -8
- package/dist/{RootBusinessDetailsPage-BlhpFvIA.js → RootBusinessDetailsPage-DGaPZVX3.js} +4 -4
- package/dist/{RootBusinessLinesPage-DPYb8RNj.js → RootBusinessLinesPage-RUqhW4fz.js} +28 -34
- package/dist/{RootIndividualDetailsPage-DNj-gmXk.js → RootIndividualDetailsPage-CC5xZsrC.js} +8 -8
- package/dist/{Select-Cn8HCFO1.js → Select-DtconBUQ.js} +4 -4
- package/dist/{SignPCIComponent-CfghxPD_.js → SignPCIComponent-_IAj-hon.js} +17 -16
- package/dist/{SingpassSelection-TJvShg6u.js → SingpassSelection-WatLq--G.js} +6 -6
- package/dist/{SoleProprietorshipPage-DpW2BnqX.js → SoleProprietorshipPage-ChABh93Y.js} +4 -4
- package/dist/{SourceOfFundsPage-DCjD1_jQ.js → SourceOfFundsPage-CgLOgUd4.js} +37 -37
- package/dist/{StepProgressIndicator-CTcluX6o.js → StepProgressIndicator-Dc7Tml_I.js} +1 -1
- package/dist/{StoreProvider-2rl-plv5.js → StoreProvider-C-jrVTWp.js} +873 -206
- package/dist/{StructuredList-BNLhk_zV.js → StructuredList-Bh1vlAFE.js} +1 -1
- package/dist/{Summary-BA-RCSe5.js → Summary-BEaMvlq_.js} +7 -8
- package/dist/{TaxInformationField-BkAck6oq.js → TaxInformationField-B5-jJ7Eb.js} +186 -210
- package/dist/{TaxReportingDropin-ClfyxcG1.js → TaxReportingDropin-CrIW9iYH.js} +15 -17
- package/dist/{TextArea-BBgONn8j.js → TextArea-j1AG1rrF.js} +2 -2
- package/dist/{TileGroup-COWNMWXf.js → TileGroup-CRXdfE4_.js} +3 -3
- package/dist/{TrustDetailsPage-BzldtvzC.js → TrustDetailsPage-C77SN50n.js} +34 -48
- package/dist/{TrustMemberCompanyPage-260J2i6K.js → TrustMemberCompanyPage-BJ8bGLiS.js} +5 -5
- package/dist/{TrustMemberIndividualPage-fWJYEZYF.js → TrustMemberIndividualPage-BnXdAysv.js} +6 -6
- package/dist/{TrustMemberRoleAndTypePage-3X8UFjOz.js → TrustMemberRoleAndTypePage-Dl3NWfe-.js} +21 -23
- package/dist/{TrustMembersOverview-BAt2B9lv.js → TrustMembersOverview-DY1Gmewy.js} +10 -14
- package/dist/{UnincorporatedPartnershipIndividualPage-YASSfuf8.js → UnincorporatedPartnershipIndividualPage-DI_gEl_-.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-D_ty05Bb.js → UnincorporatedPartnershipMemberCompanyPage-CHueVUrD.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DEDnWDma.js → UnincorporatedPartnershipMemberRoleAndTypePage-m8_d5tqB.js} +11 -12
- package/dist/{UnincorporatedPartnershipMembersOverview-DkmIW_Qf.js → UnincorporatedPartnershipMembersOverview-D-xD5eFQ.js} +7 -11
- package/dist/{VerificationErrorAlert-Dk__b2Ns.js → VerificationErrorAlert-DGCWu0L2.js} +2 -3
- package/dist/{ViewVerificationStatusComponent-D_5ZZo6V.js → ViewVerificationStatusComponent--iI2ei_a.js} +3 -4
- package/dist/{accountHolderUtils-D78ugcQ9.js → accountHolderUtils-C2OlbJ51.js} +2 -2
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-invited-decision-maker.js +86 -16
- package/dist/adyen-kyc-components.js +19 -47
- package/dist/adyen-onboarding.js +3 -3
- 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 +3 -3
- package/dist/adyen-transfer-instrument-management.js +3 -3
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-CJIcB4Zh.js → bafinUtils-C297BWva.js} +2 -2
- package/dist/bg-BG-BNRJzjXu.js +13 -0
- package/dist/{bg-BG-K7feXvEc.js → bg-BG-DbFzLQK7.js} +1 -2
- package/dist/{commonValidators-ziT0GvBq.js → commonValidators-CCjmpuF-.js} +2 -2
- package/dist/cs-CZ-BMnoWiIi.js +13 -0
- package/dist/{cs-CZ-CYQO0o5V.js → cs-CZ-CBuNZ7UO.js} +1 -2
- package/dist/{da-DK-CGWvmdkq.js → da-DK-CLdNh9JT.js} +1 -2
- package/dist/da-DK-D17SWJin.js +13 -0
- package/dist/{de-DE-DHDJhahG.js → de-DE-BT5g7ZXC.js} +1 -2
- package/dist/de-DE-DC90bn2y.js +13 -0
- package/dist/{dropinUtils-DIFlH1Oh.js → dropinUtils-BZzBJOLK.js} +4 -4
- package/dist/el-GR-B2xt_Hn1.js +13 -0
- package/dist/{el-GR-DHNlnOwf.js → el-GR-BvRBuezU.js} +1 -2
- package/dist/{en-US-D1sB335h.js → en-US-BtFr9JRa.js} +10 -1
- package/dist/en-US-CfIkXJPX.js +13 -0
- package/dist/{en-US-DoiQhi0j.js → en-US-CgakND3H.js} +1 -2
- package/dist/{es-ES-CxnsKEh4.js → es-ES-4FS7NoE7.js} +1 -2
- package/dist/es-ES-CzG-lilL.js +13 -0
- package/dist/et-EE-B7OzU-54.js +13 -0
- package/dist/{et-EE-BQixWUEV.js → et-EE-CksV5_e1.js} +1 -2
- package/dist/fi-FI-DooPgPb1.js +13 -0
- package/dist/{fi-FI-57-xkioo.js → fi-FI-XpnJRPgt.js} +1 -2
- package/dist/{formUtils-CNFS-TZ-.js → formUtils-B4IA171l.js} +3 -18
- package/dist/fr-FR-29mQrnro.js +13 -0
- package/dist/{fr-FR-BxiX8Zfi.js → fr-FR-TqAhPvzz.js} +1 -2
- package/dist/{getName-Bti12K-o.js → getName-ff7GRCPB.js} +2 -2
- package/dist/{getProblemsForEntity-BX1inH7F.js → getProblemsForEntity-BawudFMK.js} +2 -2
- package/dist/hr-HR-BFu1_Xrc.js +13 -0
- package/dist/{hr-HR-BynZTNSB.js → hr-HR-CKZ_yuXC.js} +1 -2
- package/dist/{hu-HU-BtRIDozk.js → hu-HU-BEV8uVRt.js} +1 -2
- package/dist/hu-HU-nf030gFT.js +13 -0
- package/dist/{iframeWidget-JLfCMf_x.js → iframeWidget-CTg-yqbt.js} +4 -4
- package/dist/{isEmpty-OXRV2qGb.js → isEmpty-Cu6FSL8p.js} +2 -2
- package/dist/it-IT-CToDWXlu.js +13 -0
- package/dist/{it-IT-masgjk9F.js → it-IT-D-jYXj6V.js} +1 -2
- package/dist/{ja-JP-vv3-YsHU.js → ja-JP-8yMqZqF2.js} +1 -2
- package/dist/ja-JP-BkAEknQ-.js +13 -0
- package/dist/{japanSupportUtils-Co72AcSs.js → japanSupportUtils-Cti0IcPz.js} +2 -2
- package/dist/{localizeDateString-DXp3crqk.js → localizeDateString-0tXkduO2.js} +2 -2
- package/dist/{lt-LT-2BMif2Bk.js → lt-LT-CK0t2AVY.js} +1 -2
- package/dist/lt-LT-DxzEdyVV.js +13 -0
- package/dist/lv-LV-D-j-4Dao.js +13 -0
- package/dist/{lv-LV-CHdEDRVO.js → lv-LV-JvlzK9X-.js} +1 -2
- package/dist/{mapExistingFile-SAc645fC.js → mapExistingFile-DKT0jbo0.js} +4 -4
- package/dist/mapJpAddressSchemaToAddressLocalizations-DQu3DXe4.js +88 -0
- package/dist/{mapLegalEntityToIndividualSchema-yKl9QZpe.js → mapLegalEntityToIndividualSchema-ZmAAvk9K.js} +40 -42
- package/dist/{mapTransferInstrumentToPayoutAccount-BU--vaxN.js → mapTransferInstrumentToPayoutAccount-BogO6kRJ.js} +2 -2
- package/dist/nl-NL-C8CEGqAc.js +13 -0
- package/dist/{nl-NL-D1b5RUJ0.js → nl-NL-Jhr-ICkK.js} +1 -2
- package/dist/{no-NO-Dkh4SWbB.js → no-NO-BH6DId3q.js} +1 -2
- package/dist/no-NO-DbVtqyON.js +13 -0
- package/dist/{patternValidators-BuKCm6wv.js → patternValidators-BDuN6yoZ.js} +2 -2
- package/dist/{pl-PL-BkGihn5Q.js → pl-PL-B5c0NNHB.js} +1 -2
- package/dist/pl-PL-Bxtudsvi.js +13 -0
- package/dist/{process-field-configurations-B289w3QC.js → process-field-configurations-CPAL_-Z4.js} +4 -4
- package/dist/{pt-BR-BRdIEO2O.js → pt-BR-4Iozxvfr.js} +1 -2
- package/dist/pt-BR-CL4JYBNe.js +13 -0
- package/dist/{pt-PT-BfL7qUzo.js → pt-PT-09L8XznW.js} +1 -2
- package/dist/pt-PT-C-OZtnUM.js +13 -0
- package/dist/{resolveEnvironment-5C9O6OKL.js → resolveEnvironment-DJYy04Zt.js} +5 -5
- package/dist/{ro-RO-C2yBVFht.js → ro-RO-D7-7tmTR.js} +1 -2
- package/dist/ro-RO-Dq1NTg-A.js +13 -0
- package/dist/{roleMetadata-C2o-1qrX.js → roleMetadata-CsQgP06-.js} +3 -3
- package/dist/sk-SK-CMvUjDgW.js +13 -0
- package/dist/{sk-SK-C74EF23u.js → sk-SK-D3tsz1Pg.js} +1 -2
- package/dist/sl-SI-BslBqaxO.js +13 -0
- package/dist/{sl-SI-CvUzNn9Z.js → sl-SI-Y9h1ht45.js} +1 -2
- package/dist/style.css +1877 -1856
- package/dist/styles-CLV89_hH.js +1877 -1856
- package/dist/{sv-SE-BsLkPEzn.js → sv-SE-DFSm22oQ.js} +1 -2
- package/dist/sv-SE-Dm_WHV9V.js +13 -0
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +1 -0
- package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +7 -0
- package/dist/types/api/queryKeys.d.ts +2 -1
- package/dist/types/components/BankAccount/fields/BankAccountNumber/BankAccountNumber.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankCode/BankCode.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BranchCode/BranchCode.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/Iban.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +4 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +14 -1
- package/dist/types/components/Business/utils/submit.d.ts +1 -1
- package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +1 -1
- package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -1
- package/dist/types/components/EFP/fields/NaceCodeField/types.d.ts +1 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSummary.d.ts +14 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +1 -3
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.d.ts +1 -1
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -0
- package/dist/types/components/Individual/fields/IdentityNumber/IdentityNumber.d.ts +1 -1
- package/dist/types/components/Individual/forms/IdVerificationMethod/{individualOnfidoConflictsSchema.d.ts → individualConflictsSchema.d.ts} +12 -12
- package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual.d.ts +7 -7
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +3 -3
- package/dist/types/components/Individual/forms/Individual.types.d.ts +13 -5
- package/dist/types/components/Individual/forms/form-ids.d.ts +2 -2
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +2 -2
- package/dist/types/components/Individual/helpers/mandateIdVerificationForMotionCapture.d.ts +2 -2
- package/dist/types/components/Individual/helpers/roleUtils.d.ts +2 -2
- package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +6 -6
- package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividualSchema.d.ts +2 -2
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +3 -3
- package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerGettingStarted/InvitedDecisionMakerGettingStarted.d.ts +4 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.d.ts +1 -0
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +2 -2
- package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +3 -3
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +2 -0
- package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +14 -0
- package/dist/types/components/Shared/Summary/Summary.d.ts +1 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +0 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +3 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/EInvoicingCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +8 -14
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
- package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/utils.d.ts +13 -0
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
- package/dist/types/components/ui/atoms/Select/Select.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +1 -2
- package/dist/types/context/StateContext/types.d.ts +2 -2
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +2 -2
- package/dist/types/hooks/useForm/types.d.ts +0 -3
- package/dist/types/hooks/useUboQuestionnaire.d.ts +1 -1
- package/dist/types/language/types.d.ts +1 -1
- package/dist/types/language/utils.d.ts +3 -2
- package/dist/types/stores/formState.d.ts +2 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +5 -5
- package/dist/types/utils/formUtils.d.ts +2 -4
- package/dist/types/utils/getDisplayErrorMessage.d.ts +2 -2
- package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -2
- package/dist/types/utils/textTransformation/toFullWidth.d.ts +2 -3
- package/dist/{types-DEOqe9wP.js → types-CEookCt2.js} +2 -2
- package/dist/types-CQ2p58-6.js +36 -0
- package/dist/{types-DBaOva2_.js → types-Ccyga0T3.js} +2 -2
- package/dist/{types-BnDQ6S_S.js → types-D6yU8_jd.js} +2 -2
- package/dist/{types-BW4HQI5X.js → types-yb-6qrgr.js} +2 -3
- package/dist/unincorporated-partnership-D8XzcFAz.js +17 -0
- package/dist/{useAssociatedLegalEntity-CgCHuC7s.js → useAssociatedLegalEntity-DxIrdCiW.js} +2 -2
- package/dist/{useBusinessDetailsData-BHwHp3lk.js → useBusinessDetailsData-B-lAYrsg.js} +176 -192
- package/dist/{useBusinessLines-VpNdSmkM.js → useBusinessLines-Csvpr85-.js} +2 -2
- package/dist/{useCanSeeIntroduction-BHxmXYYO.js → useCanSeeIntroduction-CtoZS8gv.js} +3 -3
- package/dist/{useCreateLegalEntity-afT__j7Q.js → useCreateLegalEntity-CRmpSW-p.js} +2 -2
- package/dist/{useDataMissingRemediations-BbKOIyd3.js → useDataMissingRemediations-DKYVGUPb.js} +2 -2
- package/dist/{useDeleteTransferInstrument-BDKsAGlv.js → useDeleteTransferInstrument-Dbt3iSDq.js} +3 -3
- package/dist/{useForm-Dpiyw6Md.js → useForm-PNo1-TUg.js} +3 -3
- package/dist/{useFormContext-DuIAV1IO.js → useFormContext-DZ0JzOzl.js} +9 -8
- package/dist/{useGlobalData-CAxZyB0c.js → useGlobalData-DkxLk7lN.js} +2 -2
- package/dist/{useMultiForm-OnNcru5A.js → useMultiForm-BKHh9pIa.js} +4 -4
- package/dist/{useNavigate-Csyylapb.js → useNavigate-CIa35xrx.js} +30 -30
- package/dist/{useOnboardingStatus-D-MOei3W.js → useOnboardingStatus-UlcW0uJt.js} +2 -2
- package/dist/{usePciQuestionnaireList-B0DMLOq-.js → usePciQuestionnaireList-DuGLuR49.js} +2 -2
- package/dist/{useSalesChannels-3bkByPI7.js → useSalesChannels-Dce6D7J1.js} +4 -4
- package/dist/{useScenarios-Dgegi_R_.js → useScenarios-HttV-8Oo.js} +2 -2
- package/dist/{useTaskStatus-Cm1yZ1mq.js → useTaskStatus-DNhqpQ2D.js} +2 -2
- package/dist/{useTermsOfServiceStatus-CJw8hWCa.js → useTermsOfServiceStatus-CmMOe9uh.js} +2 -2
- package/dist/{useToastContext-DrAgxHEK.js → useToastContext-pGIuUtOK.js} +2 -2
- package/dist/{useTrustMembers-CoYK-ddb.js → useTrustMembers-BVMLWQPp.js} +4 -4
- package/dist/{useUnincorporatedPartnershipMembers-CG1s17Ko.js → useUnincorporatedPartnershipMembers-lNQMZi00.js} +5 -5
- package/dist/{useUpdateBusinessLines-BOiNRvpa.js → useUpdateBusinessLines-D5dzDvDz.js} +5 -5
- package/dist/{useUpdateLegalEntity-CxXQbqdN.js → useUpdateLegalEntity-Zci5El_5.js} +3 -3
- package/dist/{utils-Di5ZPizP.js → utils-BBCW8T5n.js} +2 -2
- package/dist/{utils-yElwanzp.js → utils-DO61bZBE.js} +2 -2
- package/dist/{utils-CYdFoqsI.js → utils-DW097Fth.js} +2 -2
- package/dist/{utils-0SrqDXVO.js → utils-DmGPdHLa.js} +3 -3
- package/dist/{utils-SSHuQH95.js → utils-LSf8dbhe.js} +5 -5
- package/dist/{validate-Cd2gOwkx.js → validate-CqF9k0Xk.js} +3 -3
- package/dist/{validate-DGFjwtXb.js → validate-H0lJr72L.js} +2 -2
- package/dist/{validationError-BIQwQynW.js → validationError-Cg6KszQD.js} +3 -3
- package/package.json +28 -25
- package/dist/Accordion-DwhJ6dID.js +0 -88
- package/dist/Alert-C0Uk8vQL.js +0 -169
- package/dist/DropinLayout-CBP_cHLC.js +0 -17
- package/dist/Header-B-wXVUdY.js +0 -83
- package/dist/ManageIndividualComponent-Br0VJtX6.js +0 -46
- package/dist/TaskVerificationStatus-dcodYxh1.js +0 -129
- package/dist/bg-BG-6XzbmxcW.js +0 -13
- package/dist/cs-CZ-C6vEQ8P9.js +0 -13
- package/dist/da-DK-DzcTI92X.js +0 -13
- package/dist/datasetUtil-BHQp0-xL.js +0 -58
- package/dist/de-DE-dPfrbCii.js +0 -13
- package/dist/el-GR-Dazirlmt.js +0 -13
- package/dist/en-US-cVpRgdC8.js +0 -13
- package/dist/es-ES--IvNed_Q.js +0 -13
- package/dist/et-EE-CsTXSlnY.js +0 -13
- package/dist/fi-FI-BUixKfXH.js +0 -13
- package/dist/fr-FR-BM-qNLci.js +0 -13
- package/dist/hr-HR-BF74vdPD.js +0 -13
- package/dist/hu-HU-DYhMVR_c.js +0 -13
- package/dist/it-IT-D63gRTDc.js +0 -13
- package/dist/ja-JP-DL0IjTzn.js +0 -13
- package/dist/lt-LT-BX8dOAzK.js +0 -13
- package/dist/lv-LV-dA8yYdKe.js +0 -13
- package/dist/mapJpAddressSchemaToAddressLocalizations-Xj0Z0De4.js +0 -162
- package/dist/nl-NL-KQ6bciOb.js +0 -13
- package/dist/no-NO-Ds3VioxT.js +0 -13
- package/dist/pl-PL-BgbxWHGE.js +0 -13
- package/dist/pt-BR-Ct4s4jXV.js +0 -13
- package/dist/pt-PT-DBEsmXQX.js +0 -13
- package/dist/ro-RO-C00Ig8CL.js +0 -13
- package/dist/sk-SK-BbJWayDh.js +0 -13
- package/dist/sl-SI-hxwQIw_i.js +0 -13
- package/dist/sv-SE-0PQ-U1u6.js +0 -13
- package/dist/unincorporated-partnership-MeN1dp53.js +0 -97
- package/dist/useDataset-DorBN2cW.js +0 -76
- package/dist/useSetting-DW9rg-sF.js +0 -19
|
@@ -2,45 +2,47 @@
|
|
|
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] = "82448c1e-22db-45ce-801c-2180da9d06c5", e._sentryDebugIdIdentifier = "sentry-dbid-82448c1e-22db-45ce-801c-2180da9d06c5");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useEffect, useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
13
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import {
|
|
16
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
17
|
-
import { S as SettingNames } from "./
|
|
18
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
19
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
20
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
21
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
22
|
-
import {
|
|
23
|
-
import { a as
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
12
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-CRmpSW-p.js";
|
|
13
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-pGIuUtOK.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-Zci5El_5.js";
|
|
15
|
+
import { as as reverseMapping, at as isEeaCountry, L as LegalEntityTypes, ah as cloneObject, b as useApiContext, j as httpGet, af as useI18nContext, u as useTranslation, z as Typography, au as Header, ag as datasetUtilities, a7 as translateTranslatable, m as useAnalyticsContext, B as StackLayout, q as IconButton, U as hasSolePropInLegalEntity, H as useSettingsContext, G as Loader, Z as Button } from "./StoreProvider-C-jrVTWp.js";
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DZ0JzOzl.js";
|
|
17
|
+
import { S as SettingNames } from "./types-CQ2p58-6.js";
|
|
18
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-DxIrdCiW.js";
|
|
19
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BZzBJOLK.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-BKHh9pIa.js";
|
|
21
|
+
import { E as EndStateLayout } from "./EndStateLayout-CmNueoBE.js";
|
|
22
|
+
import { E as ErrorPanel } from "./ErrorPanel-CmGFPsaG.js";
|
|
23
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-Cg6KszQD.js";
|
|
24
|
+
import { c as createFormUtils } from "./formUtils-B4IA171l.js";
|
|
25
|
+
import { l as localizeDateString } from "./localizeDateString-0tXkduO2.js";
|
|
26
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport, L as LegalFormField, I as InputNumber, C as Currency, b as CURRENCY_FIELD, c as InputCurrency } from "./Currency-DEgTOLD3.js";
|
|
26
27
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
27
|
-
import {
|
|
28
|
-
import { E as ErrorPanel } from "./ErrorPanel-GWNSNY8U.js";
|
|
29
|
-
import { c as currencyByCountry } from "./types-DBaOva2_.js";
|
|
30
|
-
import { c as createFormUtils } from "./formUtils-CNFS-TZ-.js";
|
|
28
|
+
import { c as currencyByCountry } from "./types-Ccyga0T3.js";
|
|
31
29
|
import { g as getFieldProps } from "./getProps-Cc3J2-z9.js";
|
|
32
|
-
import { F as Field } from "./Field-
|
|
33
|
-
import { L as Link } from "./Link-
|
|
34
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
35
|
-
import { I as InputText } from "./InputText-
|
|
30
|
+
import { F as Field } from "./Field-BuHaTPvn.js";
|
|
31
|
+
import { L as Link } from "./Link-xCQbA-9e.js";
|
|
32
|
+
import { R as RadioGroup } from "./RadioGroup-BP8CNtf9.js";
|
|
33
|
+
import { I as InputText } from "./InputText-BUnL2S1h.js";
|
|
36
34
|
import { useQuery } from "@tanstack/preact-query";
|
|
37
|
-
import { S as Select } from "./Select-
|
|
38
|
-
import { I as InputDate } from "./InputDate-
|
|
39
|
-
import { C as Checkbox } from "./Checkbox-
|
|
40
|
-
import { A as Address } from "./Address-
|
|
41
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-
|
|
42
|
-
import { C as CountryField } from "./CountryField-
|
|
43
|
-
import {
|
|
35
|
+
import { S as Select } from "./Select-DtconBUQ.js";
|
|
36
|
+
import { I as InputDate } from "./InputDate-DRD072Dy.js";
|
|
37
|
+
import { C as Checkbox } from "./Checkbox-grZtL86z.js";
|
|
38
|
+
import { A as Address } from "./Address-CZsphDQn.js";
|
|
39
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-DO61bZBE.js";
|
|
40
|
+
import { C as CountryField } from "./CountryField-CK9UwJHn.js";
|
|
41
|
+
import { defineSlots } from "named-slots";
|
|
42
|
+
import { L as List } from "./List-BAzyC6sw.js";
|
|
43
|
+
import { S as StructuredList } from "./StructuredList-Bh1vlAFE.js";
|
|
44
|
+
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
45
|
+
import { b as businessFinancingMultiformRules } from "./validate-H0lJr72L.js";
|
|
44
46
|
const businessFinancingBaseMapping = {
|
|
45
47
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
46
48
|
legalInformationInsolvency: "organization.statusOfLegalProceeding",
|
|
@@ -455,38 +457,6 @@ const getBusinessFinancingRequiredFields = (country, data) => {
|
|
|
455
457
|
const getAddressCountryForParentCompany = (parentCompany, leAddress) => {
|
|
456
458
|
return parentCompany?.sameAddressAsRootEntity && leAddress ? leAddress?.country : parentCompany?.registrationAddress?.country;
|
|
457
459
|
};
|
|
458
|
-
const customLabels = {
|
|
459
|
-
company: {
|
|
460
|
-
legalForm: "businessStructure",
|
|
461
|
-
naceCode: "industryAndNaceCode",
|
|
462
|
-
netAssets: "totalAssets",
|
|
463
|
-
annualTurnover: "annualTurnover",
|
|
464
|
-
legalInformationInsolvency: "legalProceedings",
|
|
465
|
-
isCompanyOwnedByAnotherCompany: "hasParentCompany",
|
|
466
|
-
isParentOwnedByAnotherCompany: "hasUltimateParentCompany",
|
|
467
|
-
isThisAddressTheMainHeadquarters: "addressIsHeadquarters"
|
|
468
|
-
},
|
|
469
|
-
parentCompany: {
|
|
470
|
-
legalForm: "businessStructure",
|
|
471
|
-
naceCode: "industryAndNaceCode",
|
|
472
|
-
netAssets: "totalAssets",
|
|
473
|
-
annualTurnover: "annualTurnover",
|
|
474
|
-
legalInformationInsolvency: "legalProceedings",
|
|
475
|
-
isThisAddressTheMainHeadquarters: "addressIsHeadquarters"
|
|
476
|
-
},
|
|
477
|
-
ultimateParentCompany: {
|
|
478
|
-
legalForm: "businessStructure",
|
|
479
|
-
naceCode: "industryAndNaceCode",
|
|
480
|
-
netAssets: "totalAssets",
|
|
481
|
-
annualTurnover: "annualTurnover",
|
|
482
|
-
legalInformationInsolvency: "legalProceedings",
|
|
483
|
-
isThisAddressTheMainHeadquarters: "addressIsHeadquarters"
|
|
484
|
-
},
|
|
485
|
-
soleProprietor: {
|
|
486
|
-
naceCode: "industryAndNaceCode",
|
|
487
|
-
legalInformationInsolvency: "legalProceedings"
|
|
488
|
-
}
|
|
489
|
-
};
|
|
490
460
|
const getTranslatedGender = (t, gender) => {
|
|
491
461
|
if (!gender) return void 0;
|
|
492
462
|
const genderMap = {
|
|
@@ -712,34 +682,25 @@ function NaceCodeField({
|
|
|
712
682
|
};
|
|
713
683
|
handleChangeForRef.current("naceCodeLabel")(naceCodeEvent);
|
|
714
684
|
}, [data.naceCode, naceCodesData]);
|
|
715
|
-
return /* @__PURE__ */ jsx(
|
|
716
|
-
|
|
685
|
+
return /* @__PURE__ */ jsx(Field, { name, label, errorMessage, isValid: valid.naceCode, children: (childProps) => /* @__PURE__ */ jsx(
|
|
686
|
+
Select,
|
|
717
687
|
{
|
|
688
|
+
...childProps,
|
|
718
689
|
name,
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
{
|
|
725
|
-
...childProps,
|
|
726
|
-
name,
|
|
727
|
-
placeholder: i18n.get("selectOne"),
|
|
728
|
-
selected: data.naceCode,
|
|
729
|
-
items: naceCodesData ?? [],
|
|
730
|
-
readonly: readonly && !!data,
|
|
731
|
-
onChange: handleChangeForNaceCode
|
|
732
|
-
}
|
|
733
|
-
)
|
|
690
|
+
placeholder: i18n.get("selectOne"),
|
|
691
|
+
selected: data.naceCode,
|
|
692
|
+
items: naceCodesData ?? [],
|
|
693
|
+
readonly: readonly && !!data,
|
|
694
|
+
onChange: handleChangeForNaceCode
|
|
734
695
|
}
|
|
735
|
-
);
|
|
696
|
+
) });
|
|
736
697
|
}
|
|
737
698
|
const businessFinancingLeiRadio = "adyen-kyc-business-financing-lei-radio";
|
|
738
699
|
const businessFinancingTitle = "adyen-kyc-business-financing-title";
|
|
739
700
|
const businessFinancingBody = "adyen-kyc-business-financing-body";
|
|
740
701
|
const businessFinancingExposureFinancials = "adyen-kyc-business-financing-exposure-financials";
|
|
741
702
|
const businessFinancingStructuredAddress = "adyen-kyc-business-financing-structured-address";
|
|
742
|
-
const styles = {
|
|
703
|
+
const styles$1 = {
|
|
743
704
|
businessFinancingLeiRadio,
|
|
744
705
|
businessFinancingTitle,
|
|
745
706
|
businessFinancingBody,
|
|
@@ -775,7 +736,7 @@ function BusinessFinancingBusinessInformation(props) {
|
|
|
775
736
|
}
|
|
776
737
|
const isMainCompany = targetPage === BusinessFinancingPages.COMPANY_PAGE;
|
|
777
738
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
778
|
-
!hideSectionHeading && /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["businessInformation"]) }),
|
|
739
|
+
!hideSectionHeading && /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles$1.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["businessInformation"]) }),
|
|
779
740
|
!isSoleProprietor && /* @__PURE__ */ jsx(
|
|
780
741
|
LegalFormField,
|
|
781
742
|
{
|
|
@@ -800,7 +761,7 @@ function BusinessFinancingBusinessInformation(props) {
|
|
|
800
761
|
errorMessage: formUtils.getErrorMessage("naceCode", errors, fieldValidationErrors),
|
|
801
762
|
handleChangeFor: handleFieldChange,
|
|
802
763
|
readonly: false,
|
|
803
|
-
label:
|
|
764
|
+
label: businessFinancingT(($) => $["industryAndNaceCode"])
|
|
804
765
|
}
|
|
805
766
|
),
|
|
806
767
|
!isSoleProprietor && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -818,7 +779,7 @@ function BusinessFinancingBusinessInformation(props) {
|
|
|
818
779
|
el: "div",
|
|
819
780
|
variant: "body",
|
|
820
781
|
color: "secondary",
|
|
821
|
-
className: styles.businessFinancingBody,
|
|
782
|
+
className: styles$1.businessFinancingBody,
|
|
822
783
|
children: [
|
|
823
784
|
businessFinancingT(($) => $["anLEIIsAUniqueCode"]),
|
|
824
785
|
" ",
|
|
@@ -839,7 +800,7 @@ function BusinessFinancingBusinessInformation(props) {
|
|
|
839
800
|
items: isMainCompany ? businessFinancingRadioItems : businessFinancingParentRadioItems,
|
|
840
801
|
value: data?.doesYourCompanyHaveLEI,
|
|
841
802
|
disabled: false,
|
|
842
|
-
className: styles.businessFinancingLeiRadio,
|
|
803
|
+
className: styles$1.businessFinancingLeiRadio,
|
|
843
804
|
onChange: handleFieldChange("doesYourCompanyHaveLEI"),
|
|
844
805
|
"aria-required": true,
|
|
845
806
|
"aria-invalid": !valid?.doesYourCompanyHaveLEI
|
|
@@ -908,7 +869,7 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
908
869
|
handleFieldChange("currency")(firstCurrency);
|
|
909
870
|
}
|
|
910
871
|
return /* @__PURE__ */ jsxs("section", { children: [
|
|
911
|
-
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["businessFinancials"]) }),
|
|
872
|
+
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles$1.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["businessFinancials"]) }),
|
|
912
873
|
/* @__PURE__ */ jsx(
|
|
913
874
|
Field,
|
|
914
875
|
{
|
|
@@ -945,7 +906,7 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
945
906
|
valid: formUtils.getFieldValid(isFinancialDataValid, CURRENCY_FIELD)
|
|
946
907
|
}
|
|
947
908
|
),
|
|
948
|
-
/* @__PURE__ */ jsxs("div", { className: styles.businessFinancingExposureFinancials, children: [
|
|
909
|
+
/* @__PURE__ */ jsxs("div", { className: styles$1.businessFinancingExposureFinancials, children: [
|
|
949
910
|
/* @__PURE__ */ jsx(
|
|
950
911
|
Field,
|
|
951
912
|
{
|
|
@@ -1046,7 +1007,7 @@ function BusinessFinancingLegalInformation(props) {
|
|
|
1046
1007
|
];
|
|
1047
1008
|
const showLegalProceedingsDateField = data?.legalInformationInsolvency && !["noLegalActionsTaken", "iDontKnow"].includes(data?.legalInformationInsolvency);
|
|
1048
1009
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1049
|
-
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["legalInformation"]) }),
|
|
1010
|
+
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles$1.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["legalInformation"]) }),
|
|
1050
1011
|
/* @__PURE__ */ jsx(
|
|
1051
1012
|
Field,
|
|
1052
1013
|
{
|
|
@@ -1114,7 +1075,7 @@ function BusinessFinancingOwnershipStructure(props) {
|
|
|
1114
1075
|
return;
|
|
1115
1076
|
}
|
|
1116
1077
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1117
|
-
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: businessFinancingT(($) => $["ownershipStructure"]) }),
|
|
1078
|
+
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles$1.businessFinancingTitle, children: businessFinancingT(($) => $["ownershipStructure"]) }),
|
|
1118
1079
|
/* @__PURE__ */ jsx(
|
|
1119
1080
|
Field,
|
|
1120
1081
|
{
|
|
@@ -1134,7 +1095,7 @@ function BusinessFinancingOwnershipStructure(props) {
|
|
|
1134
1095
|
el: "div",
|
|
1135
1096
|
variant: "body",
|
|
1136
1097
|
color: "secondary",
|
|
1137
|
-
className: styles.businessFinancingBody,
|
|
1098
|
+
className: styles$1.businessFinancingBody,
|
|
1138
1099
|
children: businessFinancingT(($) => $["thisMeansYouHaveAParentCompany"])
|
|
1139
1100
|
}
|
|
1140
1101
|
),
|
|
@@ -1145,7 +1106,7 @@ function BusinessFinancingOwnershipStructure(props) {
|
|
|
1145
1106
|
name: "isCompanyOwnedByAnotherCompany",
|
|
1146
1107
|
items: businessFinancingRadioItems,
|
|
1147
1108
|
value: data?.isCompanyOwnedByAnotherCompany,
|
|
1148
|
-
className: styles.businessFinancingLeiRadio,
|
|
1109
|
+
className: styles$1.businessFinancingLeiRadio,
|
|
1149
1110
|
disabled: false,
|
|
1150
1111
|
onChange: handleFieldChange("isCompanyOwnedByAnotherCompany"),
|
|
1151
1112
|
"aria-required": true,
|
|
@@ -1166,7 +1127,7 @@ function BusinessFinancingOwnershipStructure(props) {
|
|
|
1166
1127
|
el: "div",
|
|
1167
1128
|
variant: "body",
|
|
1168
1129
|
color: "secondary",
|
|
1169
|
-
className: styles.businessFinancingBody,
|
|
1130
|
+
className: styles$1.businessFinancingBody,
|
|
1170
1131
|
children: businessFinancingT(($) => $["thisMeansYouHaveAnUltimateParentCompany"])
|
|
1171
1132
|
}
|
|
1172
1133
|
),
|
|
@@ -1182,7 +1143,7 @@ function BusinessFinancingOwnershipStructure(props) {
|
|
|
1182
1143
|
name: "isParentOwnedByAnotherCompany",
|
|
1183
1144
|
items: businessFinancingRadioItems,
|
|
1184
1145
|
value: data.isParentOwnedByAnotherCompany,
|
|
1185
|
-
className: styles.businessFinancingLeiRadio,
|
|
1146
|
+
className: styles$1.businessFinancingLeiRadio,
|
|
1186
1147
|
disabled: false,
|
|
1187
1148
|
onChange: handleFieldChange("isParentOwnedByAnotherCompany"),
|
|
1188
1149
|
"aria-required": true,
|
|
@@ -1283,7 +1244,7 @@ function BusinessFinancingBasicCompanyInformation(props) {
|
|
|
1283
1244
|
return;
|
|
1284
1245
|
}
|
|
1285
1246
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1286
|
-
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["basicCompanyInformation"]) }),
|
|
1247
|
+
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles$1.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["basicCompanyInformation"]) }),
|
|
1287
1248
|
/* @__PURE__ */ jsx(
|
|
1288
1249
|
Field,
|
|
1289
1250
|
{
|
|
@@ -1352,7 +1313,7 @@ function BusinessFinancingRegisteredAddress(props) {
|
|
|
1352
1313
|
handleFieldChange("registrationAddress")(state.data);
|
|
1353
1314
|
};
|
|
1354
1315
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1355
|
-
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: sectionHeading ?
|
|
1316
|
+
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles$1.businessFinancingTitle, children: sectionHeading ? translateTranslatable(commonT, sectionHeading) : commonT(($) => $["registeredAddress"]) }),
|
|
1356
1317
|
/* @__PURE__ */ jsx(
|
|
1357
1318
|
Field,
|
|
1358
1319
|
{
|
|
@@ -1375,7 +1336,7 @@ function BusinessFinancingRegisteredAddress(props) {
|
|
|
1375
1336
|
)
|
|
1376
1337
|
}
|
|
1377
1338
|
),
|
|
1378
|
-
data?.sameAddressAsRootEntity && legalEntity?.organization?.registeredAddress ? /* @__PURE__ */ jsxs("div", { className: styles.businessFinancingStructuredAddress, children: [
|
|
1339
|
+
data?.sameAddressAsRootEntity && legalEntity?.organization?.registeredAddress ? /* @__PURE__ */ jsxs("div", { className: styles$1.businessFinancingStructuredAddress, children: [
|
|
1379
1340
|
/* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street }),
|
|
1380
1341
|
/* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street2 }),
|
|
1381
1342
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -1418,7 +1379,7 @@ function BusinessFinancingRegisteredAddress(props) {
|
|
|
1418
1379
|
name: "isThisAddressTheMainHeadquarters",
|
|
1419
1380
|
items: businessFinancingRadioItems,
|
|
1420
1381
|
value: data?.isThisAddressTheMainHeadquarters,
|
|
1421
|
-
className: styles.businessFinancingLeiRadio,
|
|
1382
|
+
className: styles$1.businessFinancingLeiRadio,
|
|
1422
1383
|
disabled: false,
|
|
1423
1384
|
onChange: handleFieldChange("isThisAddressTheMainHeadquarters"),
|
|
1424
1385
|
"aria-required": true,
|
|
@@ -1457,8 +1418,8 @@ function AdditionalFieldsForBusinessFinancingParentCompany(props) {
|
|
|
1457
1418
|
setValid("currency", true, "parentCompany");
|
|
1458
1419
|
}
|
|
1459
1420
|
return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc__high-exposure-parent-company", children: [
|
|
1460
|
-
/* @__PURE__ */ jsx(Typography, { el: "h1", variant: "title-l", className: styles.businessFinancingBody, children: commonT(($) => $["parentCompanyInformation"]) }),
|
|
1461
|
-
/* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", className: styles.businessFinancingBody, children: businessFinancingT(($) => $["inThePreviousStepOwnedByAParentCompany"]) }),
|
|
1421
|
+
/* @__PURE__ */ jsx(Typography, { el: "h1", variant: "title-l", className: styles$1.businessFinancingBody, children: commonT(($) => $["parentCompanyInformation"]) }),
|
|
1422
|
+
/* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", className: styles$1.businessFinancingBody, children: businessFinancingT(($) => $["inThePreviousStepOwnedByAParentCompany"]) }),
|
|
1462
1423
|
/* @__PURE__ */ jsx(
|
|
1463
1424
|
ErrorPanel,
|
|
1464
1425
|
{
|
|
@@ -1538,7 +1499,7 @@ function BusinessFinancingSoleProprietorPersonalInformation(props) {
|
|
|
1538
1499
|
{ id: "U", name: businessFinancingT(($) => $["preferNotToSay"]) }
|
|
1539
1500
|
];
|
|
1540
1501
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1541
|
-
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["personalInformation"]) }),
|
|
1502
|
+
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles$1.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["personalInformation"]) }),
|
|
1542
1503
|
/* @__PURE__ */ jsx(
|
|
1543
1504
|
CountryField,
|
|
1544
1505
|
{
|
|
@@ -1681,8 +1642,8 @@ function AdditionalFieldsForBusinessFinancingUltimateParentCompany(props) {
|
|
|
1681
1642
|
setValid("currency", true, "ultimateParentCompany");
|
|
1682
1643
|
}
|
|
1683
1644
|
return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc__high-exposure-ultimate-parent-company", children: [
|
|
1684
|
-
/* @__PURE__ */ jsx(Typography, { el: "h1", variant: "title-l", className: styles.businessFinancingBody, children: commonT(($) => $["ultimateParentCompanyInformation"]) }),
|
|
1685
|
-
/* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", className: styles.businessFinancingBody, children: businessFinancingT(($) => $["inThePreviousStepOwnedByAnUltimateParentCompany"]) }),
|
|
1645
|
+
/* @__PURE__ */ jsx(Typography, { el: "h1", variant: "title-l", className: styles$1.businessFinancingBody, children: commonT(($) => $["ultimateParentCompanyInformation"]) }),
|
|
1646
|
+
/* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", className: styles$1.businessFinancingBody, children: businessFinancingT(($) => $["inThePreviousStepOwnedByAnUltimateParentCompany"]) }),
|
|
1686
1647
|
/* @__PURE__ */ jsx(
|
|
1687
1648
|
ErrorPanel,
|
|
1688
1649
|
{
|
|
@@ -1750,6 +1711,110 @@ function AdditionalFieldsForBusinessFinancingUltimateParentCompany(props) {
|
|
|
1750
1711
|
)
|
|
1751
1712
|
] });
|
|
1752
1713
|
}
|
|
1714
|
+
const summaryHeader = "adyen-kyc-summary-header";
|
|
1715
|
+
const styles = {
|
|
1716
|
+
summaryHeader
|
|
1717
|
+
};
|
|
1718
|
+
const NewSummary = ({ children, handleEditForm, sections }) => {
|
|
1719
|
+
const { t } = useTranslation("common");
|
|
1720
|
+
const { Slot } = defineSlots(children, ["errorPanel", "extraContent"]);
|
|
1721
|
+
const userEvents = useAnalyticsContext();
|
|
1722
|
+
return /* @__PURE__ */ jsxs("div", { role: "region", children: [
|
|
1723
|
+
/* @__PURE__ */ jsx(Header, { title: t(($) => $["summary"]), description: t(($) => $["summaryDescription"]) }),
|
|
1724
|
+
/* @__PURE__ */ jsxs(StackLayout, { children: [
|
|
1725
|
+
/* @__PURE__ */ jsx(Slot, { name: "errorPanel" }),
|
|
1726
|
+
sections.map(({ formId, label, items }) => {
|
|
1727
|
+
if (formId === "summary") return;
|
|
1728
|
+
return /* @__PURE__ */ jsxs(List, { variant: "grouped-secondary", children: [
|
|
1729
|
+
/* @__PURE__ */ jsxs("header", { className: styles.summaryHeader, children: [
|
|
1730
|
+
/* @__PURE__ */ jsx(Typography, { el: "h2", variant: "title", children: label }),
|
|
1731
|
+
/* @__PURE__ */ jsx(
|
|
1732
|
+
IconButton,
|
|
1733
|
+
{
|
|
1734
|
+
variant: "tertiary",
|
|
1735
|
+
icon: "edit",
|
|
1736
|
+
onClick: () => {
|
|
1737
|
+
trackNavigation({
|
|
1738
|
+
userEvents,
|
|
1739
|
+
actionType: "edit",
|
|
1740
|
+
toForm: label,
|
|
1741
|
+
label: "Pencil icon"
|
|
1742
|
+
});
|
|
1743
|
+
handleEditForm(formId);
|
|
1744
|
+
},
|
|
1745
|
+
ariaLabel: t(($) => $["editForm"], { label })
|
|
1746
|
+
}
|
|
1747
|
+
)
|
|
1748
|
+
] }),
|
|
1749
|
+
/* @__PURE__ */ jsx(StructuredList, { items: items ?? [] })
|
|
1750
|
+
] }, formId);
|
|
1751
|
+
})
|
|
1752
|
+
] }),
|
|
1753
|
+
/* @__PURE__ */ jsx(Slot, { name: "extraContent" })
|
|
1754
|
+
] });
|
|
1755
|
+
};
|
|
1756
|
+
const omittedSummaryKeys = [
|
|
1757
|
+
"naceCodeLabel",
|
|
1758
|
+
"legalFormLabel",
|
|
1759
|
+
"currency",
|
|
1760
|
+
"doesYourCompanyHaveLEI",
|
|
1761
|
+
"sameAddressAsRootEntity"
|
|
1762
|
+
];
|
|
1763
|
+
const customLabels = {
|
|
1764
|
+
legalForm: "businessStructure",
|
|
1765
|
+
naceCode: "industryAndNaceCode",
|
|
1766
|
+
netAssets: "totalAssets",
|
|
1767
|
+
annualTurnover: "annualTurnover",
|
|
1768
|
+
legalInformationInsolvency: "legalProceedings",
|
|
1769
|
+
isCompanyOwnedByAnotherCompany: "hasParentCompany",
|
|
1770
|
+
isParentOwnedByAnotherCompany: "hasUltimateParentCompany",
|
|
1771
|
+
isThisAddressTheMainHeadquarters: "addressIsHeadquarters"
|
|
1772
|
+
};
|
|
1773
|
+
const isOmmitted = (key) => {
|
|
1774
|
+
return omittedSummaryKeys.includes(key);
|
|
1775
|
+
};
|
|
1776
|
+
const isCustomLabel = (key) => {
|
|
1777
|
+
return key in customLabels;
|
|
1778
|
+
};
|
|
1779
|
+
const BusinessFinancingSummary = ({
|
|
1780
|
+
forms,
|
|
1781
|
+
items,
|
|
1782
|
+
handleEditForm,
|
|
1783
|
+
children
|
|
1784
|
+
}) => {
|
|
1785
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1786
|
+
const { t: commonT } = useTranslation("common");
|
|
1787
|
+
const formatItemForStructuredList = (data) => {
|
|
1788
|
+
if (!data) return [];
|
|
1789
|
+
const op = Object.entries(data);
|
|
1790
|
+
const structuredListItems = op.map(([key, value]) => {
|
|
1791
|
+
if (isOmmitted(key) || !value) return;
|
|
1792
|
+
const termToUse = isCustomLabel(key) ? businessFinancingT(($) => $[customLabels[key]]) : commonT(($) => $[key]);
|
|
1793
|
+
return {
|
|
1794
|
+
term: termToUse,
|
|
1795
|
+
details: value
|
|
1796
|
+
};
|
|
1797
|
+
}).filter((v) => v !== void 0);
|
|
1798
|
+
const structuredListItemsWithInnerForms = [];
|
|
1799
|
+
structuredListItems.map((it) => {
|
|
1800
|
+
if (typeof it?.details === "object") {
|
|
1801
|
+
structuredListItemsWithInnerForms.push(...formatItemForStructuredList(it?.details));
|
|
1802
|
+
} else {
|
|
1803
|
+
structuredListItemsWithInnerForms.push(it);
|
|
1804
|
+
}
|
|
1805
|
+
});
|
|
1806
|
+
return structuredListItemsWithInnerForms;
|
|
1807
|
+
};
|
|
1808
|
+
const processSummarySections = (forms2) => {
|
|
1809
|
+
const sections = forms2.map(({ formId, formName }) => ({
|
|
1810
|
+
formId,
|
|
1811
|
+
label: commonT(($) => $[formName]),
|
|
1812
|
+
items: formatItemForStructuredList(items[formId])
|
|
1813
|
+
}));
|
|
1814
|
+
return sections;
|
|
1815
|
+
};
|
|
1816
|
+
return /* @__PURE__ */ jsx(NewSummary, { handleEditForm, sections: processSummarySections(forms), children });
|
|
1817
|
+
};
|
|
1753
1818
|
const getOrgAnalyticsData = (prefix, details) => {
|
|
1754
1819
|
const org = details?.organization;
|
|
1755
1820
|
const soleProp = details?.soleProprietorship;
|
|
@@ -2068,13 +2133,6 @@ function BusinessFinancingDropin(props) {
|
|
|
2068
2133
|
showToast({ label: commonT(($) => $["failedToUpdateDetails"]), variant: "error" });
|
|
2069
2134
|
}
|
|
2070
2135
|
};
|
|
2071
|
-
const omittedSummaryKeys = [
|
|
2072
|
-
"naceCodeLabel",
|
|
2073
|
-
"legalFormLabel",
|
|
2074
|
-
"currency",
|
|
2075
|
-
"doesYourCompanyHaveLEI",
|
|
2076
|
-
"sameAddressAsRootEntity"
|
|
2077
|
-
];
|
|
2078
2136
|
const [requiredFields, setRequiredFields] = useState(void 0);
|
|
2079
2137
|
const form = useMultiForm({
|
|
2080
2138
|
requiredFields,
|
|
@@ -2189,6 +2247,38 @@ function BusinessFinancingDropin(props) {
|
|
|
2189
2247
|
if (!defaultData?.company && !defaultData?.soleProprietor) {
|
|
2190
2248
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
2191
2249
|
}
|
|
2250
|
+
const allValidationErrors = problems?.validationErrors && Object.values(problems.validationErrors)?.reduce(
|
|
2251
|
+
(acc, validError) => ({ ...acc, ...validError }),
|
|
2252
|
+
{}
|
|
2253
|
+
);
|
|
2254
|
+
const allVerificationErrors = problems?.verificationErrors && Object.values(problems.verificationErrors)?.reduce(
|
|
2255
|
+
(acc, verifError) => ({ ...acc, ...verifError }),
|
|
2256
|
+
{}
|
|
2257
|
+
);
|
|
2258
|
+
const formUtils = createFormUtils({ labels: {} }, commonT);
|
|
2259
|
+
const handleEditForm = (formId) => {
|
|
2260
|
+
const formIndex = forms.findIndex((form2) => form2.formId === formId);
|
|
2261
|
+
if (formIndex >= 0) {
|
|
2262
|
+
gotoFormByFormIndex(formIndex);
|
|
2263
|
+
}
|
|
2264
|
+
};
|
|
2265
|
+
const itemsForSummary = formatDataForSummary(
|
|
2266
|
+
i18n.language,
|
|
2267
|
+
businessFinancingT,
|
|
2268
|
+
datasetUtils,
|
|
2269
|
+
umfData,
|
|
2270
|
+
rootLegalEntity?.organization?.registeredAddress
|
|
2271
|
+
);
|
|
2272
|
+
const summaryComponent = /* @__PURE__ */ jsx(BusinessFinancingSummary, { items: itemsForSummary, handleEditForm, forms, children: /* @__PURE__ */ jsx(
|
|
2273
|
+
ErrorPanel,
|
|
2274
|
+
{
|
|
2275
|
+
validationErrors: allValidationErrors,
|
|
2276
|
+
verificationErrors: allVerificationErrors,
|
|
2277
|
+
formUtils,
|
|
2278
|
+
id: "ariaErrorField",
|
|
2279
|
+
slot: "errorPanel"
|
|
2280
|
+
}
|
|
2281
|
+
) });
|
|
2192
2282
|
return showEndState ? /* @__PURE__ */ jsx(
|
|
2193
2283
|
EndStateLayout,
|
|
2194
2284
|
{
|
|
@@ -2199,20 +2289,7 @@ function BusinessFinancingDropin(props) {
|
|
|
2199
2289
|
) : /* @__PURE__ */ jsx(FormContextProvider, { form, children: /* @__PURE__ */ jsx(
|
|
2200
2290
|
FormFlow,
|
|
2201
2291
|
{
|
|
2202
|
-
|
|
2203
|
-
data: formatDataForSummary(
|
|
2204
|
-
i18n.language,
|
|
2205
|
-
businessFinancingT,
|
|
2206
|
-
datasetUtils,
|
|
2207
|
-
umfData,
|
|
2208
|
-
rootLegalEntity?.organization?.registeredAddress
|
|
2209
|
-
),
|
|
2210
|
-
omitted: {
|
|
2211
|
-
keys: omittedSummaryKeys
|
|
2212
|
-
},
|
|
2213
|
-
problems,
|
|
2214
|
-
labels: customLabels
|
|
2215
|
-
},
|
|
2292
|
+
summaryComponent,
|
|
2216
2293
|
currentStep: steps.current,
|
|
2217
2294
|
disableNextButton: !activeForm.isValid,
|
|
2218
2295
|
forms,
|
|
@@ -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] = "325a8f6e-f9fa-40a4-9efd-dcf67c088511", e._sentryDebugIdIdentifier = "sentry-dbid-325a8f6e-f9fa-40a4-9efd-dcf67c088511");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation,
|
|
10
|
+
import { u as useTranslation, C as useLegalEntity, a as addResourceBundles, G as Loader, a4 as getLegalEntityCountry, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C-jrVTWp.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DGNDmZPX.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
|
@@ -20,9 +20,9 @@ const BusinessFinancingPage = ({
|
|
|
20
20
|
addResourceBundles(i18n, [
|
|
21
21
|
{
|
|
22
22
|
ns: "businessFinancing",
|
|
23
|
-
importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../tasks/BusinessFinancingDropin/language/bg-BG.json": () => import("./bg-BG-C6kad3Qr.js"), "../tasks/BusinessFinancingDropin/language/cs-CZ.json": () => import("./cs-CZ-C_GFp3nV.js"), "../tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-C60mLiV1.js"), "../tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-Cvz1TGdB.js"), "../tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-DSlgFwLb.js"), "../tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-
|
|
23
|
+
importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../tasks/BusinessFinancingDropin/language/bg-BG.json": () => import("./bg-BG-C6kad3Qr.js"), "../tasks/BusinessFinancingDropin/language/cs-CZ.json": () => import("./cs-CZ-C_GFp3nV.js"), "../tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-C60mLiV1.js"), "../tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-Cvz1TGdB.js"), "../tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-DSlgFwLb.js"), "../tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-BtFr9JRa.js"), "../tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-Dj5-YMmZ.js"), "../tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-Bij5j-z5.js"), "../tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-B2xHiSHi.js"), "../tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-CNQtWSXx.js"), "../tasks/BusinessFinancingDropin/language/hr-HR.json": () => import("./hr-HR-B6U5Rzzw.js"), "../tasks/BusinessFinancingDropin/language/hu-HU.json": () => import("./hu-HU-BLLoj5CX.js"), "../tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-Cr20JO4o.js"), "../tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP-BeeuQ_LL.js"), "../tasks/BusinessFinancingDropin/language/lt-LT.json": () => import("./lt-LT-0WbfHH_o.js"), "../tasks/BusinessFinancingDropin/language/lv-LV.json": () => import("./lv-LV-BuuUUumH.js"), "../tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-KsfqCp2v.js"), "../tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-BdG6WnpB.js"), "../tasks/BusinessFinancingDropin/language/pl-PL.json": () => import("./pl-PL-DW9eaUml.js"), "../tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-BdfWE-a1.js"), "../tasks/BusinessFinancingDropin/language/pt-PT.json": () => import("./pt-PT-ej54BPbB.js"), "../tasks/BusinessFinancingDropin/language/ro-RO.json": () => import("./ro-RO-1ZFmLikG.js"), "../tasks/BusinessFinancingDropin/language/sk-SK.json": () => import("./sk-SK-Dm-pif_7.js"), "../tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-HO7231cu.js"), "../tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-BcJ8p_Tx.js") }), `../tasks/BusinessFinancingDropin/language/${lang}.json`, 5)
|
|
24
24
|
},
|
|
25
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
25
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BNRJzjXu.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-BMnoWiIi.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D17SWJin.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-DC90bn2y.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-B2xt_Hn1.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-C-jrVTWp.js").then((n) => n.bT), "../../../language/locales/es-ES.json": () => import("./es-ES-CzG-lilL.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-B7OzU-54.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-DooPgPb1.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-29mQrnro.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-BFu1_Xrc.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-nf030gFT.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CToDWXlu.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-BkAEknQ-.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-DxzEdyVV.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-D-j-4Dao.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-C8CEGqAc.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-DbVtqyON.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-Bxtudsvi.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-CL4JYBNe.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-C-OZtnUM.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Dq1NTg-A.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CMvUjDgW.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BslBqaxO.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-Dm_WHV9V.js") }), `../../../language/locales/${lang}.json`, 6) }
|
|
26
26
|
]);
|
|
27
27
|
if (!rootLe) {
|
|
28
28
|
return /* @__PURE__ */ jsx(Loader, {});
|
package/dist/{BusinessTypeSelectionPage-CNBTnHYV.js → BusinessTypeSelectionPage-DFwTrEj2.js}
RENAMED
|
@@ -2,22 +2,22 @@
|
|
|
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] = "b70cd4f2-28e1-4323-bce3-109c8d0fb5b1", e._sentryDebugIdIdentifier = "sentry-dbid-b70cd4f2-28e1-4323-bce3-109c8d0fb5b1");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
11
|
+
import { a8 as createLogger, u as useTranslation, m as useAnalyticsContext, k as useAccountHolder, bC as getCapabilities, a4 as getLegalEntityCountry, L as LegalEntityTypes, z as Typography, Z as Button, C as useLegalEntity, G as Loader, R as ROOT_LE } from "./StoreProvider-C-jrVTWp.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
13
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-Zci5El_5.js";
|
|
14
|
+
import { F as Field } from "./Field-BuHaTPvn.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-7vOgmEsk.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { T as TileGroup } from "./TileGroup-
|
|
18
|
-
import { u as useToastContext } from "./useToastContext-
|
|
19
|
-
import { u as useForm } from "./useForm-
|
|
20
|
-
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-
|
|
17
|
+
import { T as TileGroup } from "./TileGroup-CRXdfE4_.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-pGIuUtOK.js";
|
|
19
|
+
import { u as useForm } from "./useForm-PNo1-TUg.js";
|
|
20
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-LSf8dbhe.js";
|
|
21
21
|
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") });
|
|
22
22
|
const logger$1 = createLogger();
|
|
23
23
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
@@ -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] = "34d26aa1-2aad-4ebf-9255-551f3870aa34", e._sentryDebugIdIdentifier = "sentry-dbid-34d26aa1-2aad-4ebf-9255-551f3870aa34");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import {
|
|
12
|
+
import { m as useAnalyticsContext } from "./StoreProvider-C-jrVTWp.js";
|
|
13
13
|
function Checkbox({
|
|
14
14
|
id,
|
|
15
15
|
name,
|