@adyen/kyc-components 3.94.0 → 3.95.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-UXDlHmf_.js → AcceptTermsOfServiceComponent-BW0brynM.js} +36 -32
- package/dist/{Accordion-DM9qeMoR.js → Accordion-BM8hZAXY.js} +2 -2
- package/dist/{AccountSetupRejected-DfmKQEp-.js → AccountSetupRejected-BodluXLt.js} +4 -4
- package/dist/{ActionBar-DCKuV5BO.js → ActionBar-UJRkmh5s.js} +2 -2
- package/dist/{Address-BEUcWe_H.js → Address-DI_WQl-j.js} +10 -12
- package/dist/{Alert-D9HbhU88.js → Alert-BZOtTqxJ.js} +3 -3
- package/dist/{Avatar-C_tjYaBz.js → Avatar-BkSExeAD.js} +2 -2
- package/dist/{BusinessFinancingComponent-B5gLGmkK.js → BusinessFinancingComponent-XUA40MWu.js} +7 -7
- package/dist/{BusinessFinancingDropin-BpZKzB71.js → BusinessFinancingDropin-BmdwxjTl.js} +689 -307
- package/dist/{BusinessFinancingPage-CKdy77OK.js → BusinessFinancingPage-4HciuNgT.js} +5 -5
- package/dist/{BusinessTypeSelectionPage-ClkY9cbT.js → BusinessTypeSelectionPage-D6N0Ru4g.js} +9 -9
- package/dist/{Checkbox-BU4IYlt6.js → Checkbox-HJ5QMOjP.js} +2 -2
- package/dist/{Confirm-BM1PTsnm.js → Confirm-BtVNOsTV.js} +3 -3
- package/dist/{ConstitutionalDocument-D9sPfw_B.js → ConstitutionalDocument-Dhw6t4Ni.js} +37 -30
- package/dist/{ContactDetails-BRnbG7BX.js → ContactDetails-CbxMguHb.js} +8 -8
- package/dist/{ContextGuidance-CZGa7C-r.js → ContextGuidance-vOFdWDn9.js} +3 -3
- package/dist/{ContractViewer-Byp71k2e.js → ContractViewer-DcQHIGMU.js} +2 -2
- package/dist/{CountryField-DShqP-Yi.js → CountryField-C7bj3yyn.js} +6 -6
- package/dist/{CreateIndividualComponent-BZ6dd8Bd.js → CreateIndividualComponent-D686ciaV.js} +7 -7
- package/dist/{CreateTransferInstrumentComponent-1pjVr_3y.js → CreateTransferInstrumentComponent-C7B7UCpu.js} +5 -5
- package/dist/{Currency-CEtDxV-F.js → Currency-hS0YWWxq.js} +7 -11
- package/dist/{CustomerSupport-gmN79qSl.js → CustomerSupport-8s-w8iKy.js} +11 -11
- package/dist/{DebugModal-C3horl0P.js → DebugModal-BwrOlWvA.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-CN1t2Ok6.js → DecisionMakerDetailsPage-BKYVxewR.js} +14 -10
- package/dist/{DecisionMakers-83kflZpA.js → DecisionMakers-Om-7b55R.js} +36 -26
- package/dist/{Dropzone-DYIUInYF.js → Dropzone-Dayv7PAA.js} +4 -4
- package/dist/{EmbeddedStatus-BID4yaOx.js → EmbeddedStatus-uhtoE0i5.js} +3 -3
- package/dist/{EndStateLayout-Cqmi0QYW.js → EndStateLayout-Bircmn4k.js} +2 -2
- package/dist/{EntityAssociation-jMAjopdW.js → EntityAssociation-CpwvMeU9.js} +35 -23
- package/dist/{EntityGuidanceStatus-ek-5IvZb.js → EntityGuidanceStatus-BGP7anTO.js} +3 -3
- package/dist/{ErrorPanel-ByEaxCQu.js → ErrorPanel-CTnweIrR.js} +3 -3
- package/dist/{Field-Cp_UOAnA.js → Field-B5icSx65.js} +2 -2
- package/dist/{FormNavigation-CttAyMuX.js → FormNavigation-CwNfQJDE.js} +3 -3
- package/dist/{FormWrapper-C8UDjnjQ.js → FormWrapper-B1OeeS_n.js} +9 -9
- package/dist/{Header-CIxJSQWR.js → Header-Dsxscc11.js} +2 -2
- package/dist/{Image-T-D-HDf5.js → Image-DSSLH2Gg.js} +2 -2
- package/dist/{Individual.rules-DEhHxeiv.js → Individual.rules-SVdbtMZX.js} +29 -14
- package/dist/{IndividualDropin-Dz2ooI0s.js → IndividualDropin-Cc4CEZFn.js} +71 -63
- package/dist/{InputDate-z9OpUslu.js → InputDate-BbhqEb0A.js} +2 -2
- package/dist/{InputText-CBhD5jca.js → InputText-DsyMVWuS.js} +2 -2
- package/dist/{Introduction-Bm3kybSH.js → Introduction-0o7soNWJ.js} +4 -4
- package/dist/{JpAddress-owiNWOqn.js → JpAddress-DR9efscK.js} +18 -13
- package/dist/{LandingLayout-BuBU3Pyb.js → LandingLayout-BmfO073v.js} +2 -2
- package/dist/{fieldConfig-CMdKt41r.js → LegalCompanyNameField-DUA1xhu7.js} +71 -67
- package/dist/{LegalRepresentativeDetailsPage-vS7jAxuO.js → LegalRepresentativeDetailsPage-Dd7C7gUQ.js} +5 -5
- package/dist/{Link-CIBefZJS.js → Link-5z1nhcfe.js} +2 -2
- package/dist/{ListItem-CnzgA-sH.js → ListItem-BFs1CkoM.js} +3 -3
- package/dist/{LoaderWrapper-CwhIpGKR.js → LoaderWrapper-D7zyni9T.js} +1 -1
- package/dist/ManageIndividualComponent-DwWloLdY.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-BdiC5Nbd.js → ManageTermsOfServiceComponent-DyyWEEWM.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-CObC5Uof.js → ManageTransferInstrumentComponent-DT93KOu6.js} +15 -14
- package/dist/{MaskedInput-BfI4FGAA.js → MaskedInput-Ble-w1-c.js} +5 -5
- package/dist/{MaybeModal-DHcu32Dh.js → MaybeModal-D7DmwNpk.js} +3 -3
- package/dist/{Modal-BKWXTEoU.js → Modal-VzVyfuvm.js} +2 -2
- package/dist/{Name-BCar2_dk.js → Name-D_X4kyiG.js} +5 -5
- package/dist/{OnboardingDropinComponent-DstStqYS.js → OnboardingDropinComponent-DYT6l2t6.js} +850 -520
- package/dist/{PayoutDetailsDropin-DSdlqAe2.js → PayoutDetailsDropin-De5xS7km.js} +130 -77
- package/dist/{RadioGroup-COsozc9g.js → RadioGroup-CpnraQPG.js} +2 -2
- package/dist/{RadioGroupCard-xqC3IACY.js → RadioGroupCard-BDvxdl0T.js} +2 -2
- package/dist/{Review-CZwc-DMp.js → Review-BrP7xRy2.js} +7 -7
- package/dist/RootBusinessDetailsPage-C4io3SHK.js +50 -0
- package/dist/{RootBusinessLinesPage-BRgtyHFs.js → RootBusinessLinesPage-CknZuu0f.js} +27 -24
- package/dist/{RootIndividualDetailsPage-C3wTzTp1.js → RootIndividualDetailsPage-D2InAZ2K.js} +7 -6
- package/dist/{Select-DeTBytOH.js → Select-B3w5VkGQ.js} +4 -4
- package/dist/{SignPCIComponent-CCGyrXvI.js → SignPCIComponent-B8U7Hilk.js} +14 -14
- package/dist/{SingpassSelection-BumqRwXI.js → SingpassSelection-BdRZAxtT.js} +6 -6
- package/dist/SoleProprietorshipPage-C64fSOwN.js +50 -0
- package/dist/{SourceOfFundsPage-DkjYls-E.js → SourceOfFundsPage-C855dB1F.js} +33 -32
- package/dist/{StepProgressIndicator-D8PfKJKf.js → StepProgressIndicator-B06vG0EZ.js} +2 -2
- package/dist/{StoreProvider-CsZ-qrGt.js → StoreProvider-C-jMv9L5.js} +157 -132
- package/dist/{StructuredList-9dnJRdx_.js → StructuredList-BNLhk_zV.js} +1 -1
- package/dist/{Summary-DPm9r7Az.js → Summary-HNxR09dk.js} +19 -8
- package/dist/{TaskVerificationStatus-DrOQToMh.js → TaskVerificationStatus-BvU5X9F0.js} +2 -2
- package/dist/{TaxInformationField-NI7Hbgov.js → TaxInformationField-ghLphbCF.js} +438 -81
- package/dist/{TaxReportingDropin-BBUAxx92.js → TaxReportingDropin-8PKUrVeE.js} +18 -18
- package/dist/{TextArea-CCjCNpAP.js → TextArea-XzZ59IRn.js} +2 -2
- package/dist/{TileGroup-BhKhvfLz.js → TileGroup-BsvBLQp4.js} +3 -3
- package/dist/{TrustDetailsPage-yOmFcEyO.js → TrustDetailsPage-BZamlxY7.js} +44 -38
- package/dist/TrustMemberCompanyPage-DHdEuAQJ.js +68 -0
- package/dist/{TrustMemberIndividualPage-B8tb56n2.js → TrustMemberIndividualPage-BLjorgiQ.js} +11 -8
- package/dist/{TrustMemberRoleAndTypePage-WHu1tc4O.js → TrustMemberRoleAndTypePage-O-JmFZ6x.js} +43 -38
- package/dist/{TrustMembersOverview-BWbGUK3k.js → TrustMembersOverview-CJEjx7vn.js} +13 -13
- package/dist/{UnincorporatedPartnershipIndividualPage-DD2dn41k.js → UnincorporatedPartnershipIndividualPage-CLm7rltZ.js} +10 -7
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DsUSSYnI.js → UnincorporatedPartnershipMemberCompanyPage-DstG5mil.js} +10 -7
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Ctb0Lz_0.js → UnincorporatedPartnershipMemberRoleAndTypePage-CcboW2-W.js} +15 -12
- package/dist/{UnincorporatedPartnershipMembersOverview-B_GJIeZC.js → UnincorporatedPartnershipMembersOverview-C8d8pfxJ.js} +9 -9
- package/dist/{VerificationErrorAlert-CCiMqGl8.js → VerificationErrorAlert-CAncqFAs.js} +4 -24
- package/dist/{ViewVerificationStatusComponent-CICJ6cy4.js → ViewVerificationStatusComponent-BwndGcdj.js} +4 -4
- package/dist/accountHolderUtils-B437qMYm.js +66 -0
- 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-kyc-components.js +20 -19
- 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-Ch6rVpGi.js → bafinUtils-DFWYU0eC.js} +3 -22
- package/dist/bg-BG-CFuVZnaC.js +13 -0
- package/dist/{bg-BG-CepHap8j.js → bg-BG-DMNRRZZE.js} +8 -1
- package/dist/bg-BG-Dp1J1L2X.js +13 -0
- package/dist/{commonValidators-B8wfpMjX.js → commonValidators-DnSqf1bK.js} +2 -2
- package/dist/company-types-value-D_mKv5PT.js +23 -0
- package/dist/cs-CZ-Bd9Zz7z4.js +13 -0
- package/dist/cs-CZ-CYsR__kj.js +13 -0
- package/dist/{cs-CZ-BP7niQM9.js → cs-CZ-DXSMRqPu.js} +8 -1
- package/dist/da-DK-B3Pg-MWO.js +13 -0
- package/dist/{da-DK-Dc0QYG8m.js → da-DK-Cd5IQPv3.js} +8 -1
- package/dist/da-DK-DmFDgnbC.js +13 -0
- package/dist/{de-DE-Dz2OsS1F.js → de-DE-C9NH2zMh.js} +8 -1
- package/dist/de-DE-DRuKxSOy.js +13 -0
- package/dist/de-DE-S6qDey1L.js +13 -0
- package/dist/{dropinUtils-B4Vv7_zJ.js → dropinUtils-CVk-9IZr.js} +4 -4
- package/dist/el-GR-Cezskrdn.js +13 -0
- package/dist/{el-GR-BHG69mXl.js → el-GR-DTHQslLc.js} +8 -1
- package/dist/el-GR-DoS_Va-n.js +13 -0
- package/dist/{en-US-CzEL6t1W.js → en-US-D1sB335h.js} +9 -3
- package/dist/en-US-DLY20x1O.js +13 -0
- package/dist/{en-US-D-B35AoN.js → en-US-DYP6rAvA.js} +8 -1
- package/dist/{en-US-fyGPkcqX.js → en-US-cVpRgdC8.js} +2 -2
- package/dist/es-ES-BYl5-PFR.js +13 -0
- package/dist/{es-ES-BI_jdT67.js → es-ES-DK-7qtDf.js} +8 -1
- package/dist/es-ES-DzB4V6UZ.js +13 -0
- package/dist/et-EE-4fHYOoff.js +13 -0
- package/dist/et-EE-BkHzGD3D.js +13 -0
- package/dist/{et-EE-C_PZO2aI.js → et-EE-DNC4hcxm.js} +8 -1
- package/dist/{fi-FI-hwzizPnr.js → fi-FI-BJLU1JHw.js} +8 -1
- package/dist/fi-FI-Cxkp0GQA.js +13 -0
- package/dist/fi-FI-DFxljML-.js +13 -0
- package/dist/filterProblemsByTaskForms-Cz7iQtms.js +30 -0
- package/dist/{formUtils-q44BTi2U.js → formUtils-KRYFb23Q.js} +3 -22
- package/dist/{fr-FR-CYZXbwc9.js → fr-FR-B2je0smB.js} +8 -1
- package/dist/fr-FR-DPehHVb6.js +13 -0
- package/dist/fr-FR-DsEmssxk.js +13 -0
- package/dist/{getName-BxKx8lLd.js → getName-c86ZSHdY.js} +2 -2
- package/dist/{getProps-CLJfvUMb.js → getProps-O8Fpl_k_.js} +2 -6
- package/dist/getTrustedFields-C5-mXl-l.js +64 -0
- package/dist/hr-HR-Bjx-KdVs.js +13 -0
- package/dist/{hr-HR-bE6cvRCQ.js → hr-HR-C0NLgF1r.js} +8 -1
- package/dist/hr-HR-DU4nvY6g.js +13 -0
- package/dist/hu-HU-B-lUkFnQ.js +13 -0
- package/dist/hu-HU-D6frnZmR.js +13 -0
- package/dist/{hu-HU-DG-NUDx4.js → hu-HU-DU-5ujQK.js} +8 -1
- package/dist/{iframeWidget-iDH8bVr4.js → iframeWidget-COB6S0Zd.js} +4 -4
- package/dist/{isEmpty-BNacTlfR.js → isEmpty-DG6Y1P62.js} +2 -2
- package/dist/isNewEntity-7Vw_eQBr.js +13 -0
- package/dist/it-IT-DOBp2-MP.js +13 -0
- package/dist/{it-IT-Erh1DIlj.js → it-IT-Dhwa9Ecj.js} +8 -1
- package/dist/it-IT-VFXgXyRA.js +13 -0
- package/dist/{ja-JP-DfE1PYyN.js → ja-JP-B3wVYIJU.js} +2 -2
- package/dist/ja-JP-B_Q8X66O.js +13 -0
- package/dist/{ja-JP-CWJzqrtj.js → ja-JP-Bc4U0S8-.js} +8 -1
- package/dist/{ja-JP-4Q9zp35q.js → ja-JP-Bv3ru9Xq.js} +14 -7
- package/dist/{ja-JP-CSz7fEkn.js → ja-JP-CceCDXLB.js} +2 -2
- package/dist/{ja-JP-DBoYLzeA.js → ja-JP-DSvZhFNY.js} +4 -4
- package/dist/{japanSupportUtils-C7aPdWXD.js → japanSupportUtils-Dl5g_UWE.js} +2 -2
- package/dist/{jpAddressSchema-De6ix57p.js → jpAddressSchema-DEOyz9Yo.js} +2 -4
- package/dist/{localizeDateString-DuTq6aHe.js → localizeDateString-CW0xkVFv.js} +2 -2
- package/dist/{lt-LT-Nd1uRoIj.js → lt-LT-C8n1GZoU.js} +8 -1
- package/dist/lt-LT-CE-GdWrg.js +13 -0
- package/dist/lt-LT-WRulV980.js +13 -0
- package/dist/{lv-LV-DKhV24CI.js → lv-LV-BZN4-Xat.js} +8 -1
- package/dist/lv-LV-C9Dhkruv.js +13 -0
- package/dist/lv-LV-dv7fqeBS.js +13 -0
- package/dist/{mapExistingFile-CGg2sd-T.js → mapExistingFile-BRTT2WyL.js} +5 -6
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BwHU4ZwL.js → mapJpAddressSchemaToAddressLocalizations-CwG96wSK.js} +5 -5
- package/dist/{mapLegalEntityToIndividualSchema-DzCEngXr.js → mapLegalEntityToIndividualSchema-Cu08lm2S.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-DLHvwig1.js → mapTransferInstrumentToPayoutAccount-BVOwByXx.js} +2 -2
- package/dist/{nl-NL-O9GCHMDA.js → nl-NL-B0fvINJj.js} +8 -1
- package/dist/nl-NL-BwIRHJgf.js +13 -0
- package/dist/nl-NL-SjOGmGk5.js +13 -0
- package/dist/no-NO-BAWVf0GX.js +13 -0
- package/dist/{no-NO-CA1aR6Wh.js → no-NO-Jw7Gae-a.js} +8 -1
- package/dist/no-NO-u56mEoG3.js +13 -0
- package/dist/{patternValidators-CZ5mQeGD.js → patternValidators-DAtPy1-5.js} +5 -5
- package/dist/{pl-PL-BKDK0_G8.js → pl-PL-Bmaq3IC3.js} +8 -1
- package/dist/pl-PL-DEMxxz7h.js +13 -0
- package/dist/pl-PL-zqT41Yjw.js +13 -0
- package/dist/{process-field-configurations-BQY03q4v.js → process-field-configurations-2ry-JbdI.js} +3 -3
- package/dist/{pt-BR-NtLaWlnZ.js → pt-BR-BaTE6BB_.js} +8 -1
- package/dist/pt-BR-BfDe_8iW.js +13 -0
- package/dist/pt-BR-fMKntiMG.js +13 -0
- package/dist/{pt-PT-C6teRGuD.js → pt-PT-C6pZR9Bc.js} +2 -2
- package/dist/pt-PT-F1qPZJ2c.js +13 -0
- package/dist/{pt-PT-DSxxVA0f.js → pt-PT-c0ap84_F.js} +8 -1
- package/dist/{resolveEnvironment-BEU3VKd8.js → resolveEnvironment-CWyr9MeQ.js} +3 -3
- package/dist/ro-RO-0vx6ZLWV.js +13 -0
- package/dist/ro-RO-B5BQrf6C.js +13 -0
- package/dist/{ro-RO-Bybq8JFn.js → ro-RO-BPOHV6Wp.js} +8 -1
- package/dist/{roleMetadata-BeJKyoeE.js → roleMetadata-D9T__4VE.js} +2 -2
- package/dist/{sk-SK-C6rMIxpz.js → sk-SK-3_SoEn6P.js} +8 -1
- package/dist/sk-SK-Bz4T7upD.js +13 -0
- package/dist/sk-SK-DuLm2CVx.js +13 -0
- package/dist/sl-SI--RTGDByj.js +13 -0
- package/dist/sl-SI-BAIm-qBe.js +13 -0
- package/dist/{sl-SI-tPwbFvOI.js → sl-SI-DbfswGh0.js} +8 -1
- package/dist/style.css +145 -153
- package/dist/styles-CLV89_hH.js +145 -153
- package/dist/sv-SE-BZNey_8S.js +13 -0
- package/dist/{sv-SE-K1QT1cOt.js → sv-SE-D_Efxy3s.js} +8 -1
- package/dist/sv-SE-Dryy3JLw.js +13 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +3 -3
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +10 -10
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -3
- package/dist/types/components/{Shared → Business}/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
- package/dist/types/components/{Shared → Business}/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
- package/dist/types/components/{Shared → Business}/forms/FinancialInformation/mapping/mapFinancialReportsToFinancialInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +6 -6
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -2
- package/dist/types/components/Business/utils/companyUtil.d.ts +0 -1
- package/dist/types/components/BusinessLines/pages/RootBusinessLinesPage.d.ts +1 -2
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -1
- package/dist/types/components/EFP/fields/LegalFormField/LegalFormField.d.ts +1 -1
- package/dist/types/components/EFP/fields/NaceCodeField/NaceCodeField.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +5283 -53
- package/dist/types/components/EFP/mapping/mapBusinessFinancingToLegalEntity.d.ts +3 -2
- package/dist/types/components/EFP/mapping/mapLegalEntityToBusinessFinancing.d.ts +1 -1
- package/dist/types/components/EFP/pages/BusinessFinancingPage.d.ts +1 -2
- package/dist/types/components/EFP/pages/SourceOfFundsPage.d.ts +1 -2
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingSoleProprietor.d.ts +2 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSoleProprietorPersonalInformation.d.ts +4 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +28 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +14 -3
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +10 -1
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +1 -0
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/RouterDropinComposer.d.ts +4 -0
- package/dist/types/components/Individual/forms/IdVerificationMethod/IdVerificationMethod.types.d.ts +2 -1
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +2 -2
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +3 -3
- package/dist/types/components/Shared/EntityAssociation/EntityAssociation.d.ts +0 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +10 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/CountryField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/CountryOfGoverningLawField.d.ts +1 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/Currency.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/DBANameField/DBANameField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +78 -0
- package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +12 -6
- package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +3 -1
- package/dist/types/components/Shared/fields/NumberOfEmployees/NumberOfEmployees.d.ts +1 -1
- package/dist/types/components/Shared/fields/NumberOfEmployees/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/Address.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +2 -2
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
- package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +1 -2
- package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +3 -3
- package/dist/types/components/Trust/pages/TrustMemberRoleAndTypePage.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustMembers/TrustMembersOverview.d.ts +1 -2
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +3 -3
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberRoleAndTypePage.d.ts +1 -1
- package/dist/types/components/ui/atoms/Loader/Loader.d.ts +11 -1
- package/dist/types/context/ExperimentContext/types.d.ts +17 -0
- package/dist/types/core/models/api/individual.d.ts +3 -0
- package/dist/types/core/models/api/legal-arrangement.d.ts +3 -0
- package/dist/types/hooks/useForm/types.d.ts +0 -4
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +4 -2
- package/dist/types/hooks/usePageLandedEvent.d.ts +7 -0
- package/dist/types/router/DefaultRouteRedirect.d.ts +8 -0
- package/dist/types/router/MemoryRouterContext.d.ts +9 -0
- package/dist/types/router/OnboardingRouter.d.ts +39 -0
- package/dist/types/router/SuspenseRoute.d.ts +7 -0
- package/dist/types/router/getDefaultTask.d.ts +16 -0
- package/dist/types/router/routeConfig.d.ts +68 -0
- package/dist/types/router/useCurrentTask.d.ts +5 -0
- package/dist/types/router/useNavigate.d.ts +7 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +0 -1
- package/dist/types/utils/formUtils.d.ts +0 -3
- package/dist/types/utils/regex/patternValidators.d.ts +1 -1
- package/dist/types/utils/validatorUtils.d.ts +1 -1
- package/dist/{types-BY62XJTq.js → types-BstoJPXR.js} +2 -2
- package/dist/{types-B7eWQV7z.js → types-C8yt1YG2.js} +19 -2
- package/dist/{types-pKG9olDB.js → types-DHdmZe3R.js} +2 -2
- package/dist/{types-BuMuCpsa.js → types-FtiqI-S9.js} +2 -2
- package/dist/{useAssociatedLegalEntity-V0OP9ejx.js → useAssociatedLegalEntity-BVu7zj1c.js} +2 -2
- package/dist/{useBusinessDetailsData-BsXXL7fg.js → useBusinessDetailsData-B9I865mu.js} +713 -718
- package/dist/useBusinessLines-Coc7iGhS.js +29 -0
- package/dist/useCanSeeIntroduction-DG9Yn42f.js +48 -0
- package/dist/{useCreateLegalEntity-otpCRCfZ.js → useCreateLegalEntity-D1LQY6P5.js} +2 -2
- package/dist/useDataMissingRemediations-CDMb2Iu7.js +41 -0
- package/dist/{useDataset-CvATx7EN.js → useDataset-BiERW7fi.js} +5 -3
- package/dist/useDeleteTransferInstrument-YSr-Fo6s.js +32 -0
- package/dist/{useForm-9nSw9LZY.js → useForm-ZeyqDFOi.js} +27 -27
- package/dist/{useFormContext-BnlNKQZ7.js → useFormContext-CcAa10tn.js} +7 -7
- package/dist/{useGlobalData-Dy2O7YGk.js → useGlobalData-MctSxOcn.js} +2 -2
- package/dist/{useMultiForm-CBefohos.js → useMultiForm-BhV8RCm4.js} +45 -36
- package/dist/useNavigate-CyixZ7Bd.js +265 -0
- package/dist/{useOnboardingStatus-CJrlnkvv.js → useOnboardingStatus-YzbGKkC5.js} +1 -1
- package/dist/usePciQuestionnaireList-CLwiJDxW.js +29 -0
- package/dist/useSalesChannels-C3oiiB07.js +65 -0
- package/dist/{useScenarios-CkgrmOF-.js → useScenarios-CGNlbMLu.js} +2 -2
- package/dist/useSetting-BF2CM06n.js +19 -0
- package/dist/useTaskStatus-DgRzelGp.js +51 -0
- package/dist/{useTermsOfServiceStatus-DFLF3xas.js → useTermsOfServiceStatus-IjRaxZu3.js} +1 -1
- package/dist/{useToastContext-uSKjdph9.js → useToastContext-C0ytklOM.js} +2 -2
- package/dist/useTrustMembers-MZLGyg68.js +163 -0
- package/dist/{useUnincorporatedPartnershipMembers-BmLKVfkf.js → useUnincorporatedPartnershipMembers-CtzCBX3o.js} +4 -4
- package/dist/{useUpdateBusinessLines-BBNXF45E.js → useUpdateBusinessLines-Do9Ap-zs.js} +4 -4
- package/dist/{useUpdateLegalEntity-DHxCVgNk.js → useUpdateLegalEntity-CrL2KyrF.js} +3 -3
- package/dist/{utils-5yZQq_bx.js → utils-Bbxtjil1.js} +6 -6
- package/dist/{utils-CIHH_aYF.js → utils-BtRcjM8l.js} +2 -2
- package/dist/{utils-ClKogQZa.js → utils-C8SToqFp.js} +3 -3
- package/dist/{utils-CLLUBF1a.js → utils-D6lKjllx.js} +2 -2
- package/dist/{utils-CIIs2bXi.js → utils-DDh9Wc69.js} +3 -2
- package/dist/{validate-CLYo0JdH.js → validate-B7VfZzB0.js} +3 -3
- package/dist/{validate-BntX2W3B.js → validate-CXFzJNVc.js} +10 -2
- package/dist/{validationError-DJ6zTIzv.js → validationError-Bhb_p0Dm.js} +2 -2
- package/package.json +3 -2
- package/dist/ManageIndividualComponent-CJEqOUgN.js +0 -46
- package/dist/RootBusinessDetailsPage-BsAtLAyF.js +0 -50
- package/dist/SoleProprietorshipPage-zgU4q95D.js +0 -50
- package/dist/TrustMemberCompanyPage-DfXulzKv.js +0 -65
- package/dist/bg-BG-C1maG7_G.js +0 -13
- package/dist/bg-BG-D4k_k98M.js +0 -118
- package/dist/cs-CZ-Dq3xx45p.js +0 -13
- package/dist/cs-CZ-nIWwyOHK.js +0 -118
- package/dist/da-DK-CoqZjIMT.js +0 -13
- package/dist/da-DK-CrtuBoDC.js +0 -118
- package/dist/de-DE-CLMlbqGz.js +0 -13
- package/dist/de-DE-mH3MobT9.js +0 -13
- package/dist/el-GR-BEOd56RY.js +0 -13
- package/dist/el-GR-Ckn_3h1a.js +0 -118
- package/dist/en-US-d4WBvUW7.js +0 -118
- package/dist/es-ES-BnPWZP0s.js +0 -13
- package/dist/es-ES-CnyVffM-.js +0 -118
- package/dist/et-EE-RzdBGxDM.js +0 -118
- package/dist/et-EE-rYc8-Bm2.js +0 -13
- package/dist/fi-FI-CYEjY7DQ.js +0 -13
- package/dist/fi-FI-kXC-0USa.js +0 -118
- package/dist/fr-FR-6YOKsDLQ.js +0 -13
- package/dist/fr-FR-CsJuDM2B.js +0 -13
- package/dist/hr-HR-DMSNClBZ.js +0 -13
- package/dist/hr-HR-fyublN95.js +0 -118
- package/dist/hu-HU-CpJDiSu2.js +0 -118
- package/dist/hu-HU-DQlYtR9y.js +0 -13
- package/dist/it-IT-C9cOsMxY.js +0 -13
- package/dist/it-IT-DyCHFg-b.js +0 -118
- package/dist/ja-JP-NuKpFRZl.js +0 -13
- package/dist/lt-LT-CKE7_7_A.js +0 -118
- package/dist/lt-LT-DPU2ZqVt.js +0 -13
- package/dist/lv-LV-BD8xCiCe.js +0 -13
- package/dist/lv-LV-D4Ik0yoE.js +0 -118
- package/dist/nl-NL-CBnYVFv_.js +0 -13
- package/dist/nl-NL-DkbhmJAw.js +0 -118
- package/dist/no-NO-C690hkyd.js +0 -13
- package/dist/no-NO-Df5qUoTc.js +0 -118
- package/dist/pl-PL-BDclj9dt.js +0 -13
- package/dist/pl-PL-ggZjqXWE.js +0 -118
- package/dist/pt-BR-B4wCnZ06.js +0 -13
- package/dist/pt-BR-BOOm5lRR.js +0 -118
- package/dist/pt-PT-BDfNlThr.js +0 -118
- package/dist/ro-RO-BRngQXgs.js +0 -118
- package/dist/ro-RO-PA9lKU0J.js +0 -13
- package/dist/sk-SK-DmqCF6I9.js +0 -13
- package/dist/sk-SK-y9eb7N6i.js +0 -118
- package/dist/sl-SI-CGvCdquD.js +0 -118
- package/dist/sl-SI-DnT4vnh4.js +0 -13
- package/dist/sv-SE-BP2Oun8l.js +0 -118
- package/dist/sv-SE-DopUU1N2.js +0 -13
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/FinancialInformation.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/ReportedValue.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/types.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/validate.d.ts +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
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] = "40e6fea6-5a67-41c6-934a-0171ae31d339", e._sentryDebugIdIdentifier = "sentry-dbid-40e6fea6-5a67-41c6-934a-0171ae31d339");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -11,63 +11,65 @@ import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
|
11
11
|
import { signal } from "@preact/signals";
|
|
12
12
|
import { useQuery, useMutation, useQueryClient, skipToken } from "@tanstack/preact-query";
|
|
13
13
|
import { useState, useEffect, useRef, useMemo, useCallback, useContext } from "preact/hooks";
|
|
14
|
-
import { b as useApiContext,
|
|
15
|
-
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
16
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
17
|
-
import { E as ExperimentNames } from "./types-
|
|
18
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
19
|
-
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext } from "./useGlobalData-
|
|
20
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
21
|
-
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
22
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
23
|
-
import { D as DocumentGuidance, A as AdyenKycSdkError, u as uppercase, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration, c as useUnifyLoadingStatus } from "./mapExistingFile-
|
|
24
|
-
import { C as Confirm } from "./Confirm-
|
|
25
|
-
import { c as currencyByCountry } from "./types-
|
|
26
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
27
|
-
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-
|
|
14
|
+
import { b as useApiContext, $ as httpPost, k as httpGet, a3 as createLogger, a0 as CountryCodes, u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, R as ROOT_LE, a8 as EntityTypes, _ as __variableDynamicImportRuntimeHelper, p as useAnalyticsContext, r as Icon, z as Typography, V as Button, o as LegalEntityTypes, a6 as objectsDeepEqual, v as useExperimentsContext, aO as doArraysMatch, ai as isEmpty, aP as getSdkToken, aQ as hasOwnEntityAssociationOfType, m as useAccountHolder, B as useSettingsContext, g as getLegalEntityCountry, aC as Trans, aR as EEA_Countries, aS as isAccountIdentifierObscured, aT as hasEmptyFields, aU as extractFieldName, aV as concatenateFieldNames, aD as keysOf, a9 as getCapabilityProblems, j as TaskTypes, ac as cloneObject } from "./StoreProvider-C-jMv9L5.js";
|
|
15
|
+
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-BVOwByXx.js";
|
|
16
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-D7zyni9T.js";
|
|
17
|
+
import { E as ExperimentNames } from "./types-C8yt1YG2.js";
|
|
18
|
+
import { S as SettingNames } from "./TaskVerificationStatus-BvU5X9F0.js";
|
|
19
|
+
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext } from "./useGlobalData-MctSxOcn.js";
|
|
20
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-C0ytklOM.js";
|
|
21
|
+
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-2ry-JbdI.js";
|
|
22
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-CVk-9IZr.js";
|
|
23
|
+
import { D as DocumentGuidance, A as AdyenKycSdkError, u as uppercase, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration, c as useUnifyLoadingStatus } from "./mapExistingFile-BRTT2WyL.js";
|
|
24
|
+
import { C as Confirm } from "./Confirm-BtVNOsTV.js";
|
|
25
|
+
import { c as currencyByCountry } from "./types-BstoJPXR.js";
|
|
26
|
+
import { F as FormWrapper } from "./FormWrapper-B1OeeS_n.js";
|
|
27
|
+
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-Bhb_p0Dm.js";
|
|
28
28
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
29
|
-
import { D as DropzoneFile, e as bytesToSize, f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, i as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./validate-
|
|
29
|
+
import { D as DropzoneFile, e as bytesToSize, f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, i as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./validate-B7VfZzB0.js";
|
|
30
30
|
import { d as datasetIdentifier, a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
31
|
-
import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-
|
|
32
|
-
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-
|
|
31
|
+
import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-c86ZSHdY.js";
|
|
32
|
+
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-COB6S0Zd.js";
|
|
33
33
|
import { Show } from "@preact/signals/utils";
|
|
34
|
-
import { s as summaryStep } from "./Summary-
|
|
35
|
-
import { g as getFieldProps, a as getFormProps } from "./getProps-
|
|
36
|
-
import {
|
|
34
|
+
import { s as summaryStep } from "./Summary-HNxR09dk.js";
|
|
35
|
+
import { g as getFieldProps, a as getFormProps } from "./getProps-O8Fpl_k_.js";
|
|
36
|
+
import { useParams } from "wouter-preact";
|
|
37
|
+
import { u as useNavigate } from "./useNavigate-CyixZ7Bd.js";
|
|
38
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity, I as Image } from "./Image-DSSLH2Gg.js";
|
|
37
39
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
38
40
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
39
41
|
import cx from "classnames";
|
|
40
42
|
import { memo, useRef as useRef$1, useState as useState$1, useMemo as useMemo$1, useEffect as useEffect$1, lazy } from "preact/compat";
|
|
41
|
-
import { F as Field } from "./Field-
|
|
42
|
-
import { H as Header } from "./Header-
|
|
43
|
-
import { S as Select } from "./Select-
|
|
44
|
-
import { T as TextArea } from "./TextArea-
|
|
45
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
46
|
-
import { u as useForm } from "./useForm-
|
|
47
|
-
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-
|
|
48
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
49
|
-
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-
|
|
43
|
+
import { F as Field } from "./Field-B5icSx65.js";
|
|
44
|
+
import { H as Header } from "./Header-Dsxscc11.js";
|
|
45
|
+
import { S as Select } from "./Select-B3w5VkGQ.js";
|
|
46
|
+
import { T as TextArea } from "./TextArea-XzZ59IRn.js";
|
|
47
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BVu7zj1c.js";
|
|
48
|
+
import { u as useForm } from "./useForm-ZeyqDFOi.js";
|
|
49
|
+
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-CtzCBX3o.js";
|
|
50
|
+
import { E as ErrorPanel } from "./ErrorPanel-CTnweIrR.js";
|
|
51
|
+
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-KRYFb23Q.js";
|
|
50
52
|
import { b as bankStatementDescriptionPattern } from "./basePatterns-BwdnMQxI.js";
|
|
51
|
-
import { M as Modal } from "./Modal-
|
|
52
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
53
|
+
import { M as Modal } from "./Modal-VzVyfuvm.js";
|
|
54
|
+
import { E as EndStateLayout } from "./EndStateLayout-Bircmn4k.js";
|
|
53
55
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
54
56
|
import { createContext } from "preact";
|
|
55
|
-
import { a as Alert } from "./Alert-
|
|
56
|
-
import { A as ActionBar } from "./ActionBar-
|
|
57
|
+
import { a as Alert } from "./Alert-BZOtTqxJ.js";
|
|
58
|
+
import { A as ActionBar } from "./ActionBar-UJRkmh5s.js";
|
|
57
59
|
import OpenBankingSDK from "@adyen/openbankingsdk";
|
|
58
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, s as spacer, c as customInputs, M as MaskedInput, d as alphanumericInputs, b as alphaInputs } from "./MaskedInput-
|
|
60
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, s as spacer, c as customInputs, M as MaskedInput, d as alphanumericInputs, b as alphaInputs } from "./MaskedInput-Ble-w1-c.js";
|
|
59
61
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
60
|
-
import { v as validatePatternOnBlur } from "./patternValidators-
|
|
61
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
62
|
-
import { I as InputText } from "./InputText-
|
|
62
|
+
import { v as validatePatternOnBlur } from "./patternValidators-DAtPy1-5.js";
|
|
63
|
+
import { a as isNotEmptyValidator } from "./commonValidators-DnSqf1bK.js";
|
|
64
|
+
import { I as InputText } from "./InputText-DsyMVWuS.js";
|
|
63
65
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
64
|
-
import { C as CountryField } from "./CountryField-
|
|
66
|
+
import { C as CountryField } from "./CountryField-C7bj3yyn.js";
|
|
65
67
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
66
|
-
import { L as Link } from "./Link-
|
|
67
|
-
import { R as RadioGroupCard } from "./RadioGroupCard-
|
|
68
|
+
import { L as Link } from "./Link-5z1nhcfe.js";
|
|
69
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-BDvxdl0T.js";
|
|
68
70
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
69
|
-
import { u as useDataset } from "./useDataset-
|
|
70
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
71
|
+
import { u as useDataset } from "./useDataset-BiERW7fi.js";
|
|
72
|
+
import { C as ContextGuidance } from "./ContextGuidance-vOFdWDn9.js";
|
|
71
73
|
const getCheck = async (legalEntityId, baseUrl, data) => {
|
|
72
74
|
return httpPost(
|
|
73
75
|
{
|
|
@@ -362,13 +364,17 @@ const mapPayoutAccountSchemaToApiBankAccount = (payoutAccount, bankCountry, pref
|
|
|
362
364
|
});
|
|
363
365
|
const showPayoutVerificationMethodError = signal(false);
|
|
364
366
|
function PayoutDetailsPage({
|
|
365
|
-
transferInstrumentId,
|
|
366
|
-
setTransferInstrumentId,
|
|
367
|
+
transferInstrumentId: transferInstrumentIdProp,
|
|
368
|
+
setTransferInstrumentId: setTransferInstrumentIdProp,
|
|
367
369
|
taskType,
|
|
368
370
|
openBankingPartnerConfigId,
|
|
369
371
|
onSubmit,
|
|
370
372
|
handleHomeClick
|
|
371
373
|
}) {
|
|
374
|
+
const routeParams = useParams();
|
|
375
|
+
const navigate = useNavigate();
|
|
376
|
+
const transferInstrumentId = transferInstrumentIdProp ?? routeParams.transferInstrumentId;
|
|
377
|
+
const setTransferInstrumentId = setTransferInstrumentIdProp ?? ((id) => navigate.replace(taskType, { transferInstrumentId: id }));
|
|
372
378
|
const { i18n } = useTranslation();
|
|
373
379
|
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
374
380
|
const capabilityProblems = useCapabilityProblems();
|
|
@@ -399,6 +405,27 @@ const PayoutDetailsPage$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object
|
|
|
399
405
|
PayoutDetailsPage,
|
|
400
406
|
showPayoutVerificationMethodError
|
|
401
407
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
408
|
+
const validateDocument = async (context, document2) => {
|
|
409
|
+
const { baseUrl, rootLegalEntityId } = context;
|
|
410
|
+
return httpPost(
|
|
411
|
+
{
|
|
412
|
+
baseUrl,
|
|
413
|
+
path: `legalEntities/${rootLegalEntityId}/genai/classify`
|
|
414
|
+
},
|
|
415
|
+
document2
|
|
416
|
+
);
|
|
417
|
+
};
|
|
418
|
+
const useValidateDocument = (options) => {
|
|
419
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
420
|
+
return useMutation({
|
|
421
|
+
mutationFn: (payload) => validateDocument(
|
|
422
|
+
{ rootLegalEntityId: rootLegalEntityId.value, baseUrl: baseUrl.value },
|
|
423
|
+
payload
|
|
424
|
+
),
|
|
425
|
+
retry: 0,
|
|
426
|
+
...options
|
|
427
|
+
});
|
|
428
|
+
};
|
|
402
429
|
function FilePicker({
|
|
403
430
|
files,
|
|
404
431
|
setFiles,
|
|
@@ -777,6 +804,11 @@ function BankDocument(props) {
|
|
|
777
804
|
]);
|
|
778
805
|
const { t } = useTranslation("banking");
|
|
779
806
|
const { t: commonT } = useTranslation("common");
|
|
807
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
808
|
+
const userEvents = useAnalyticsContext();
|
|
809
|
+
const isBankDocumentClassificationShadowModeEnabled = isExperimentEnabled(
|
|
810
|
+
ExperimentNames.EnableBankDocumentClassificationShadowMode
|
|
811
|
+
);
|
|
780
812
|
const stateRef = useRef({ setState: null });
|
|
781
813
|
const isBankStatementOptional = optionalFields?.includes("bankStatementDocument") ?? false;
|
|
782
814
|
const heading = t(
|
|
@@ -858,6 +890,49 @@ function BankDocument(props) {
|
|
|
858
890
|
}),
|
|
859
891
|
[legalEntity, associatedLegalArrangement, unincorporatedPartnershipMembers]
|
|
860
892
|
);
|
|
893
|
+
const validateDocumentMutation = useValidateDocument({
|
|
894
|
+
onSuccess: () => {
|
|
895
|
+
userEvents.addEvent("Success", {
|
|
896
|
+
actionType: "upload",
|
|
897
|
+
actionLevel: "journey",
|
|
898
|
+
label: "bankDocumentClassificationShadowMode"
|
|
899
|
+
});
|
|
900
|
+
},
|
|
901
|
+
onError: () => {
|
|
902
|
+
userEvents.addEvent("Encountered error", {
|
|
903
|
+
actionType: "upload",
|
|
904
|
+
actionLevel: "journey",
|
|
905
|
+
label: "bankDocumentClassificationShadowMode"
|
|
906
|
+
});
|
|
907
|
+
}
|
|
908
|
+
});
|
|
909
|
+
const handleDocumentUpload = async (files) => {
|
|
910
|
+
handleChangeFor("bankStatementDocument")(files);
|
|
911
|
+
const allowedCountries = ["US", "FR", "GB", "AU"];
|
|
912
|
+
const shouldClassifyDocument = files?.length > 0 && allowedCountries.includes(country || "") && isBankDocumentClassificationShadowModeEnabled;
|
|
913
|
+
if (shouldClassifyDocument) {
|
|
914
|
+
const file = files[0];
|
|
915
|
+
if (file && file instanceof File) {
|
|
916
|
+
try {
|
|
917
|
+
const base64Content = await fileToBase64(file);
|
|
918
|
+
const document2 = {
|
|
919
|
+
documentType: "bankStatement",
|
|
920
|
+
fileName: file.name,
|
|
921
|
+
sessionId: legalEntity.id,
|
|
922
|
+
attachments: [
|
|
923
|
+
{
|
|
924
|
+
content: base64Content,
|
|
925
|
+
pageName: file.name
|
|
926
|
+
}
|
|
927
|
+
]
|
|
928
|
+
};
|
|
929
|
+
validateDocumentMutation.mutate(document2);
|
|
930
|
+
} catch {
|
|
931
|
+
return;
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
};
|
|
861
936
|
return /* @__PURE__ */ jsxs("form", { className: styles$5.bankDocument, children: [
|
|
862
937
|
/* @__PURE__ */ jsx(StateContextSetter, { owner: id, stateRef }),
|
|
863
938
|
heading && /* @__PURE__ */ jsx(Header, { title: heading, description: description2 }),
|
|
@@ -914,7 +989,7 @@ function BankDocument(props) {
|
|
|
914
989
|
...childProps,
|
|
915
990
|
name: "bankStatementDocument",
|
|
916
991
|
files: data.bankStatementDocument ?? [],
|
|
917
|
-
setFiles:
|
|
992
|
+
setFiles: handleDocumentUpload,
|
|
918
993
|
isValid: valid.bankStatementDocument ?? isBankStatementOptional,
|
|
919
994
|
errorMessage: errors.bankStatementDocument?.errorMessage,
|
|
920
995
|
...bankStatementValidationOptions
|
|
@@ -950,27 +1025,6 @@ const MemoizedBankDocument = memo(
|
|
|
950
1025
|
BankDocument,
|
|
951
1026
|
(prevProps, nextProps) => objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && objectsDeepEqual(prevProps.optionalFields, nextProps.optionalFields) && objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && prevProps.country === nextProps.country && prevProps.shouldValidate === nextProps.shouldValidate && prevProps.formIsActive === nextProps.formIsActive
|
|
952
1027
|
);
|
|
953
|
-
const validateDocument = async (context, document2) => {
|
|
954
|
-
const { baseUrl, rootLegalEntityId } = context;
|
|
955
|
-
return httpPost(
|
|
956
|
-
{
|
|
957
|
-
baseUrl,
|
|
958
|
-
path: `legalEntities/${rootLegalEntityId}/genai/classify`
|
|
959
|
-
},
|
|
960
|
-
document2
|
|
961
|
-
);
|
|
962
|
-
};
|
|
963
|
-
const useValidateDocument = (options) => {
|
|
964
|
-
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
965
|
-
return useMutation({
|
|
966
|
-
mutationFn: (payload) => validateDocument(
|
|
967
|
-
{ rootLegalEntityId: rootLegalEntityId.value, baseUrl: baseUrl.value },
|
|
968
|
-
payload
|
|
969
|
-
),
|
|
970
|
-
retry: 0,
|
|
971
|
-
...options
|
|
972
|
-
});
|
|
973
|
-
};
|
|
974
1028
|
const bankDocumentClassification = "adyen-kyc-bank-document-classification";
|
|
975
1029
|
const requirementsList = "adyen-kyc-requirements-list";
|
|
976
1030
|
const filePickerDisabled = "adyen-kyc-file-picker-disabled";
|
|
@@ -3699,11 +3753,9 @@ function PayoutVerificationMethod(props) {
|
|
|
3699
3753
|
clearPayoutAccountDetails();
|
|
3700
3754
|
return handleChangeFor("bankCountry", "input")(e);
|
|
3701
3755
|
},
|
|
3702
|
-
helperText:
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
)
|
|
3706
|
-
}
|
|
3756
|
+
helperText: intraRegionCrossBorderPayoutsAllowed ? void 0 : t(
|
|
3757
|
+
($) => $[legalEntityType === LegalEntityTypes.INDIVIDUAL ? "youCanOnlyUseABankAccountInTheCountryRegionWhereYouLive" : "youCanOnlyUseABankAccountInTheCountryRegionWhereYourCompanyIsRegistered"]
|
|
3758
|
+
)
|
|
3707
3759
|
}
|
|
3708
3760
|
);
|
|
3709
3761
|
const description2 = canChangeEntityType ? /* @__PURE__ */ jsx(AccountHolderDescriptionFragment, { legalEntityResponse }) : /* @__PURE__ */ jsxs(Typography, { children: [
|
|
@@ -4138,8 +4190,8 @@ const mapPayoutDetailsToTransferInstrument = ({
|
|
|
4138
4190
|
};
|
|
4139
4191
|
const mapPayoutDocumentsToApiDocuments = async (data, entityId) => {
|
|
4140
4192
|
const { bankStatementDocument, description: description2 } = data.payoutAccountDocuments ?? {};
|
|
4141
|
-
if (!bankStatementDocument) {
|
|
4142
|
-
|
|
4193
|
+
if (!bankStatementDocument?.length) {
|
|
4194
|
+
return void 0;
|
|
4143
4195
|
}
|
|
4144
4196
|
const page1 = bankStatementDocument[0];
|
|
4145
4197
|
if (!page1) {
|
|
@@ -4554,8 +4606,10 @@ function PayoutDetailsDropin({
|
|
|
4554
4606
|
transferInstrument: transferInstrument2,
|
|
4555
4607
|
dataSubmitted
|
|
4556
4608
|
}) => {
|
|
4557
|
-
const
|
|
4558
|
-
|
|
4609
|
+
const isBankDocumentFormPresent = forms2.some(
|
|
4610
|
+
(form) => form.formId === payoutSteps.payoutAccountDocuments.formId
|
|
4611
|
+
);
|
|
4612
|
+
if (isBankDocumentFormPresent) {
|
|
4559
4613
|
const documentToUpload = await mapPayoutDocumentsToApiDocuments(
|
|
4560
4614
|
dataSubmitted,
|
|
4561
4615
|
transferInstrument2.id
|
|
@@ -4661,7 +4715,6 @@ function PayoutDetailsDropin({
|
|
|
4661
4715
|
});
|
|
4662
4716
|
}
|
|
4663
4717
|
};
|
|
4664
|
-
const isDocumentsRequired = (forms2) => forms2.some((form) => form.formId === payoutSteps.payoutAccountDocuments.formId);
|
|
4665
4718
|
const formatFileSummaryData = (bankDocuments) => {
|
|
4666
4719
|
const bankStatementDocument = bankDocuments?.bankStatementDocument?.[0];
|
|
4667
4720
|
return {
|
|
@@ -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] = "87a73b15-ddc5-4c85-8668-f7d902316215", e._sentryDebugIdIdentifier = "sentry-dbid-87a73b15-ddc5-4c85-8668-f7d902316215");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation,
|
|
12
|
+
import { u as useTranslation, p as useAnalyticsContext } from "./StoreProvider-C-jMv9L5.js";
|
|
13
13
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
14
14
|
import { R as Radio } from "./Radio-BMtxBpnn.js";
|
|
15
15
|
const RadioWithLabel = ({
|
|
@@ -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] = "76898fce-2ab6-4678-9d17-b827aedb69e6", e._sentryDebugIdIdentifier = "sentry-dbid-76898fce-2ab6-4678-9d17-b827aedb69e6");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { L as Loader,
|
|
11
|
+
import { L as Loader, p as useAnalyticsContext } from "./StoreProvider-C-jMv9L5.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
14
14
|
import { R as Radio } from "./Radio-BMtxBpnn.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
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] = "3a76b643-396a-415e-b360-fdebb49bb7c7", e._sentryDebugIdIdentifier = "sentry-dbid-3a76b643-396a-415e-b360-fdebb49bb7c7");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
12
|
import { useMutation } from "@tanstack/preact-query";
|
|
13
|
-
import { b as useApiContext,
|
|
14
|
-
import { C as Checkbox } from "./Checkbox-
|
|
15
|
-
import { H as Header } from "./Header-
|
|
16
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
17
|
-
import { u as useToastContext } from "./useToastContext-
|
|
18
|
-
import { A as ActionBar } from "./ActionBar-
|
|
13
|
+
import { b as useApiContext, $ as httpPost, u as useTranslation } from "./StoreProvider-C-jMv9L5.js";
|
|
14
|
+
import { C as Checkbox } from "./Checkbox-HJ5QMOjP.js";
|
|
15
|
+
import { H as Header } from "./Header-Dsxscc11.js";
|
|
16
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-D7zyni9T.js";
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-C0ytklOM.js";
|
|
18
|
+
import { A as ActionBar } from "./ActionBar-UJRkmh5s.js";
|
|
19
19
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
20
20
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
21
21
|
return httpPost({
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
;
|
|
2
|
+
{
|
|
3
|
+
try {
|
|
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] = "129773d2-1cd3-4b50-9064-85c753e63da4", e._sentryDebugIdIdentifier = "sentry-dbid-129773d2-1cd3-4b50-9064-85c753e63da4");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { u as useTranslation, a as addResourceBundles, L as Loader, a8 as EntityTypes, g as getLegalEntityCountry, j as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C-jMv9L5.js";
|
|
11
|
+
import { jsx } from "preact/jsx-runtime";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-DSSLH2Gg.js";
|
|
13
|
+
import { f as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-Cz7iQtms.js";
|
|
14
|
+
import { u as useBusinessDetailsData, g as getForms, B as BusinessDetailsDropin } from "./useBusinessDetailsData-B9I865mu.js";
|
|
15
|
+
const RootBusinessDetailsPage = ({
|
|
16
|
+
onSubmit,
|
|
17
|
+
handleHomeClick
|
|
18
|
+
}) => {
|
|
19
|
+
const { i18n } = useTranslation();
|
|
20
|
+
const capabilityProblems = useCapabilityProblems();
|
|
21
|
+
const taskType = TaskTypes.BUSINESS_DETAILS;
|
|
22
|
+
const { data, isLoading } = useBusinessDetailsData(taskType);
|
|
23
|
+
addResourceBundles(i18n, [
|
|
24
|
+
{ ns: "business", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-CFuVZnaC.js"), "../language/cs-CZ.json": () => import("./cs-CZ-CYsR__kj.js"), "../language/da-DK.json": () => import("./da-DK-B3Pg-MWO.js"), "../language/de-DE.json": () => import("./de-DE-S6qDey1L.js"), "../language/el-GR.json": () => import("./el-GR-DoS_Va-n.js"), "../language/en-US.json": () => import("./en-US-DLY20x1O.js"), "../language/es-ES.json": () => import("./es-ES-BYl5-PFR.js"), "../language/et-EE.json": () => import("./et-EE-4fHYOoff.js"), "../language/fi-FI.json": () => import("./fi-FI-DFxljML-.js"), "../language/fr-FR.json": () => import("./fr-FR-DPehHVb6.js"), "../language/hr-HR.json": () => import("./hr-HR-Bjx-KdVs.js"), "../language/hu-HU.json": () => import("./hu-HU-B-lUkFnQ.js"), "../language/it-IT.json": () => import("./it-IT-DOBp2-MP.js"), "../language/ja-JP.json": () => import("./ja-JP-Bv3ru9Xq.js"), "../language/lt-LT.json": () => import("./lt-LT-WRulV980.js"), "../language/lv-LV.json": () => import("./lv-LV-C9Dhkruv.js"), "../language/nl-NL.json": () => import("./nl-NL-SjOGmGk5.js"), "../language/no-NO.json": () => import("./no-NO-BAWVf0GX.js"), "../language/pl-PL.json": () => import("./pl-PL-DEMxxz7h.js"), "../language/pt-BR.json": () => import("./pt-BR-BfDe_8iW.js"), "../language/pt-PT.json": () => import("./pt-PT-F1qPZJ2c.js"), "../language/ro-RO.json": () => import("./ro-RO-0vx6ZLWV.js"), "../language/sk-SK.json": () => import("./sk-SK-DuLm2CVx.js"), "../language/sl-SI.json": () => import("./sl-SI-BAIm-qBe.js"), "../language/sv-SE.json": () => import("./sv-SE-BZNey_8S.js") }), `../language/${lang}.json`, 3) }
|
|
25
|
+
]);
|
|
26
|
+
if (isLoading) {
|
|
27
|
+
return /* @__PURE__ */ jsx(Loader, {});
|
|
28
|
+
}
|
|
29
|
+
const { rootLe, efpBusinessLines, documents } = data;
|
|
30
|
+
const entityProblems = capabilityProblems ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, rootLe.id) : void 0;
|
|
31
|
+
const country = getLegalEntityCountry(rootLe);
|
|
32
|
+
const initialForms = Object.keys(getForms(country, taskType));
|
|
33
|
+
const problemsByTask = filterProblemsByTaskForms(entityProblems, initialForms);
|
|
34
|
+
return /* @__PURE__ */ jsx(
|
|
35
|
+
BusinessDetailsDropin,
|
|
36
|
+
{
|
|
37
|
+
taskType,
|
|
38
|
+
legalEntityResponse: rootLe,
|
|
39
|
+
efpBusinessLines,
|
|
40
|
+
documents,
|
|
41
|
+
problems: problemsByTask,
|
|
42
|
+
country,
|
|
43
|
+
onSubmit,
|
|
44
|
+
handleHomeClick
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
RootBusinessDetailsPage
|
|
50
|
+
};
|
|
@@ -2,45 +2,48 @@
|
|
|
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] = "fa7aeb60-52a2-4f93-a4f0-9bd83ae0dbe5", e._sentryDebugIdIdentifier = "sentry-dbid-fa7aeb60-52a2-4f93-a4f0-9bd83ae0dbe5");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { a0 as CountryCodes, ad as entriesOf, a3 as createLogger, u as useTranslation, L as Loader, t as IconButton, z as Typography, aC as Trans, V as Button, b as useApiContext, ae as httpDelete, v as useExperimentsContext, p as useAnalyticsContext, H as TASK_STATUS_POLLING_INTERVAL_MS, a8 as EntityTypes, c as useLegalEntity, a as addResourceBundles, j as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C-jMv9L5.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useMutation, useQueryClient } from "@tanstack/preact-query";
|
|
13
13
|
import { useCallback, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
14
|
-
import {
|
|
15
|
-
import { s as salesChannelsWithWebData, u as useIndustryCodes, d as businessLineTypes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD, e as shouldSignNewPci, f as SCTA_FIELD, D as Divider, g as selectedBusinessLine, b as useCreateBusinessLine, c as useUpdateBusinessLine, h as businessLinesConfigurations, j as businessLinesForms } from "./useUpdateBusinessLines-
|
|
16
|
-
import { u as
|
|
17
|
-
import { u as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
14
|
+
import { u as useBusinessLines } from "./useBusinessLines-Coc7iGhS.js";
|
|
15
|
+
import { s as salesChannelsWithWebData, u as useIndustryCodes, d as businessLineTypes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD, e as shouldSignNewPci, f as SCTA_FIELD, D as Divider, g as selectedBusinessLine, b as useCreateBusinessLine, c as useUpdateBusinessLine, h as businessLinesConfigurations, j as businessLinesForms } from "./useUpdateBusinessLines-Do9Ap-zs.js";
|
|
16
|
+
import { u as usePciQuestionnaireList } from "./usePciQuestionnaireList-CLwiJDxW.js";
|
|
17
|
+
import { u as useSalesChannels, a as usePciStatus } from "./useSalesChannels-C3oiiB07.js";
|
|
18
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-CcAa10tn.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-C0ytklOM.js";
|
|
20
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-2ry-JbdI.js";
|
|
21
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-CVk-9IZr.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-BhV8RCm4.js";
|
|
23
|
+
import { I as Image, u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-DSSLH2Gg.js";
|
|
22
24
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
23
|
-
import { s as summaryStep } from "./Summary-
|
|
24
|
-
import { H as Header } from "./Header-
|
|
25
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
25
|
+
import { s as summaryStep } from "./Summary-HNxR09dk.js";
|
|
26
|
+
import { H as Header } from "./Header-Dsxscc11.js";
|
|
27
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-KRYFb23Q.js";
|
|
26
28
|
import { Show } from "@preact/signals/utils";
|
|
27
|
-
import { C as Checkbox } from "./Checkbox-
|
|
28
|
-
import { F as Field } from "./Field-
|
|
29
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
30
|
-
import { I as InputText } from "./InputText-
|
|
31
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
32
|
-
import { A as Avatar } from "./Avatar-
|
|
29
|
+
import { C as Checkbox } from "./Checkbox-HJ5QMOjP.js";
|
|
30
|
+
import { F as Field } from "./Field-B5icSx65.js";
|
|
31
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-VzVyfuvm.js";
|
|
32
|
+
import { I as InputText } from "./InputText-DsyMVWuS.js";
|
|
33
|
+
import { SignPCIComponent } from "./SignPCIComponent-B8U7Hilk.js";
|
|
34
|
+
import { A as Avatar } from "./Avatar-BkSExeAD.js";
|
|
33
35
|
import cx from "classnames";
|
|
34
36
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
35
37
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
36
38
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
37
|
-
import { L as Link } from "./Link-
|
|
39
|
+
import { L as Link } from "./Link-5z1nhcfe.js";
|
|
38
40
|
import { lazy } from "preact/compat";
|
|
39
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
41
|
+
import { L as LandingLayout } from "./LandingLayout-BmfO073v.js";
|
|
42
|
+
import { u as useTaskStatus } from "./useTaskStatus-DgRzelGp.js";
|
|
40
43
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
41
|
-
import { L as ListItem } from "./ListItem-
|
|
42
|
-
import { S as StructuredList } from "./StructuredList-
|
|
43
|
-
import { C as Confirm } from "./Confirm-
|
|
44
|
+
import { L as ListItem } from "./ListItem-BFs1CkoM.js";
|
|
45
|
+
import { S as StructuredList } from "./StructuredList-BNLhk_zV.js";
|
|
46
|
+
import { C as Confirm } from "./Confirm-BtVNOsTV.js";
|
|
44
47
|
const rules = ({ data, country }) => {
|
|
45
48
|
return createFormRules({
|
|
46
49
|
webAddressRequired: () => {
|
package/dist/{RootIndividualDetailsPage-C3wTzTp1.js → RootIndividualDetailsPage-D2InAZ2K.js}
RENAMED
|
@@ -2,16 +2,17 @@
|
|
|
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] = "5d234cf4-daa4-4eee-a023-22917eb47686", e._sentryDebugIdIdentifier = "sentry-dbid-5d234cf4-daa4-4eee-a023-22917eb47686");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity,
|
|
10
|
+
import { c as useLegalEntity, m as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, J as isPartOfTrustFromLegalEntity, a8 as EntityTypes, a7 as noop, j as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper, b8 as individualOnfidoBaseMapping } from "./StoreProvider-C-jMv9L5.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-DSSLH2Gg.js";
|
|
13
|
+
import { f as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-Cz7iQtms.js";
|
|
14
|
+
import { g as getTrustedFieldsProvider, b as getTrustedFields } from "./getTrustedFields-C5-mXl-l.js";
|
|
15
|
+
import { I as IndividualOnfidoDropin, i as individualOnfidoForms } from "./IndividualDropin-Cc4CEZFn.js";
|
|
15
16
|
function RootIndividualDetailsPage({
|
|
16
17
|
asModal = false,
|
|
17
18
|
hideSidebar = false,
|
|
@@ -27,7 +28,7 @@ function RootIndividualDetailsPage({
|
|
|
27
28
|
const { accountHolder } = useAccountHolder();
|
|
28
29
|
const { i18n } = useTranslation();
|
|
29
30
|
addResourceBundles(i18n, [
|
|
30
|
-
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-wMYXZGDQ.js"), "../language/cs-CZ.json": () => import("./cs-CZ-bkbdzIkF.js"), "../language/da-DK.json": () => import("./da-DK-DvZ431fC.js"), "../language/de-DE.json": () => import("./de-DE-0uSzhWg5.js"), "../language/el-GR.json": () => import("./el-GR-CWWBcvDM.js"), "../language/en-US.json": () => import("./en-US-
|
|
31
|
+
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-wMYXZGDQ.js"), "../language/cs-CZ.json": () => import("./cs-CZ-bkbdzIkF.js"), "../language/da-DK.json": () => import("./da-DK-DvZ431fC.js"), "../language/de-DE.json": () => import("./de-DE-0uSzhWg5.js"), "../language/el-GR.json": () => import("./el-GR-CWWBcvDM.js"), "../language/en-US.json": () => import("./en-US-cVpRgdC8.js"), "../language/es-ES.json": () => import("./es-ES-B7dt4cn7.js"), "../language/et-EE.json": () => import("./et-EE-D_3GB-yT.js"), "../language/fi-FI.json": () => import("./fi-FI-REMsyTSr.js"), "../language/fr-FR.json": () => import("./fr-FR-CvHWmim-.js"), "../language/hr-HR.json": () => import("./hr-HR-LO3oO8yb.js"), "../language/hu-HU.json": () => import("./hu-HU-DEKBPTur.js"), "../language/it-IT.json": () => import("./it-IT-BeX7-OcD.js"), "../language/ja-JP.json": () => import("./ja-JP-B3wVYIJU.js"), "../language/lt-LT.json": () => import("./lt-LT-3niAR3rI.js"), "../language/lv-LV.json": () => import("./lv-LV-K-KFPny2.js"), "../language/nl-NL.json": () => import("./nl-NL-CM5U8ODq.js"), "../language/no-NO.json": () => import("./no-NO-BQL_M1pn.js"), "../language/pl-PL.json": () => import("./pl-PL-DC_lIAnp.js"), "../language/pt-BR.json": () => import("./pt-BR-AZ3roErF.js"), "../language/pt-PT.json": () => import("./pt-PT-DVKtHjIY.js"), "../language/ro-RO.json": () => import("./ro-RO-CHcD-PGb.js"), "../language/sk-SK.json": () => import("./sk-SK-s9Xm01UD.js"), "../language/sl-SI.json": () => import("./sl-SI-C0wSbuau.js"), "../language/sv-SE.json": () => import("./sv-SE-DtKjf4Go.js") }), `../language/${lang}.json`, 3) }
|
|
31
32
|
]);
|
|
32
33
|
if (!rootLe) {
|
|
33
34
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -2,7 +2,7 @@
|
|
|
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] = "5e2d9aaf-9dbf-4a73-9629-6e4ada08bdd7", e._sentryDebugIdIdentifier = "sentry-dbid-5e2d9aaf-9dbf-4a73-9629-6e4ada08bdd7");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -11,11 +11,11 @@ import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState, useRef, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
13
13
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
-
import {
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-VzVyfuvm.js";
|
|
15
|
+
import { p as useAnalyticsContext, L as Loader, a7 as noop, z as Typography, a3 as createLogger, u as useTranslation } from "./StoreProvider-C-jMv9L5.js";
|
|
16
16
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
17
17
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
18
|
-
import { C as Checkbox } from "./Checkbox-
|
|
18
|
+
import { C as Checkbox } from "./Checkbox-HJ5QMOjP.js";
|
|
19
19
|
const createSelectFocus = ({
|
|
20
20
|
activeItems,
|
|
21
21
|
filteredItems: items
|