@adyen/kyc-components 4.5.0-beta.0 → 4.5.0-beta.2
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-CecGGc1X.js → AcceptTermsOfServiceComponent-BXyM_UD_.js} +15 -15
- package/dist/{AccountSetupRejected-SKRfXM45.js → AccountSetupRejected-C0yJZGnr.js} +1 -1
- package/dist/{ActionBar-NfqEa4Lj.js → ActionBar-BV4k-dhc.js} +1 -1
- package/dist/{Address-DmC7K_9S.js → Address-VvcSEiTE.js} +9 -9
- package/dist/{Avatar-DkqYMxqu.js → Avatar-Carj3nfQ.js} +1 -1
- package/dist/{BusinessFinancingComponent-cYBfPHpF.js → BusinessFinancingComponent-CtJqqwuU.js} +5 -5
- package/dist/{BusinessFinancingDropin-jEPDLEm2.js → BusinessFinancingDropin-FrBnYrTB.js} +27 -27
- package/dist/{BusinessFinancingPage-D_bJLl-t.js → BusinessFinancingPage-BWteelOc.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-CZeSwYus.js → BusinessTypeSelectionPage-BS1D5JQX.js} +8 -8
- package/dist/{Checkbox-DEpPoJN_.js → Checkbox-DnWiEg_u.js} +1 -1
- package/dist/{Confirm-CYgHkICM.js → Confirm-BJg0m_d-.js} +2 -2
- package/dist/{ConstitutionalDocument-DgivwkYj.js → ConstitutionalDocument-C8vWbwmM.js} +19 -21
- package/dist/{ContactDetails-opl6-mP9.js → ContactDetails-CyIJ5Ky2.js} +5 -5
- package/dist/{ContextGuidance-gC4RuGIB.js → ContextGuidance-C98m5n_m.js} +1 -1
- package/dist/{CountryField-BNisulC2.js → CountryField-D9-bXI4a.js} +3 -3
- package/dist/{CreateIndividualComponent-BaXw9qdQ.js → CreateIndividualComponent-Cunw7KLs.js} +6 -6
- package/dist/{CreateTransferInstrumentComponent-Dj0ENBoI.js → CreateTransferInstrumentComponent-BZj4nI2b.js} +4 -4
- package/dist/{Currency-C1POIMJZ.js → Currency-D3j0A_bm.js} +6 -6
- package/dist/{CustomerSupport-BZYjtYIh.js → CustomerSupport-B-vg6XE1.js} +9 -9
- package/dist/{DebugModal-BfObi6jq.js → DebugModal-DUrWpKmH.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-B9TlNZ0D.js → DecisionMakerDetailsPage-Dts37GYg.js} +7 -7
- package/dist/{DecisionMakers-DH44nnKN.js → DecisionMakers-CUzS8xEV.js} +111 -41
- package/dist/{Dropzone-BbFC9YFN.js → Dropzone-DUVyfgqv.js} +3 -3
- package/dist/{EmbeddedStatus-C80N4YnY.js → EmbeddedStatus-C199S4YI.js} +2 -2
- package/dist/{EndStateLayout-LuO-W__f.js → EndStateLayout-Cje2JmKE.js} +1 -1
- package/dist/{EntityAssociation-CqyEchYv.js → EntityAssociation-DftI9bIe.js} +4 -4
- package/dist/{EntityGuidanceStatus-kD9uByJU.js → EntityGuidanceStatus-Drsl6I5U.js} +3 -3
- package/dist/{ErrorPanel-Wws7gA5m.js → ErrorPanel-CXR5_PU5.js} +1 -1
- package/dist/{Field-BnYaQCpL.js → Field-DvyeNUpx.js} +1 -1
- package/dist/{FormNavigation-DdP2rb2I.js → FormNavigation-7Ro7W85X.js} +2 -2
- package/dist/{Individual.rules-BOr9HYuB.js → Individual.rules-BOTbJmzq.js} +5 -5
- package/dist/{IndividualDropin-DQrqvsVq.js → IndividualDropin-CJ_mQfQH.js} +54 -50
- package/dist/{InputDate-D7tf-vyK.js → InputDate-B_SqcQiB.js} +1 -1
- package/dist/{InputText-DJmeZHiM.js → InputText-CUwGMcdr.js} +1 -1
- package/dist/{Introduction-C5ZzdtBf.js → Introduction-Ba9cqJgc.js} +3 -3
- package/dist/{JpAddress-BLSFMUBF.js → JpAddress-DH5l5uZU.js} +8 -8
- package/dist/{LandingLayout-DCtOMPr1.js → LandingLayout-Ek4HVR6e.js} +1 -1
- package/dist/{LegalCompanyNameField-C4QSM1kF.js → LegalCompanyNameField-SrPs0ey2.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BNnoUySl.js → LegalRepresentativeDetailsPage-BRRHdhTF.js} +4 -4
- package/dist/{Link-DHZbclel.js → Link-BtddS049.js} +1 -1
- package/dist/{ListItem-DRdYYUwm.js → ListItem-C5y7CUNU.js} +2 -2
- package/dist/{LoaderWrapper-DbnjDZaG.js → LoaderWrapper-3M-aGlgv.js} +1 -1
- package/dist/{ManageIndividualComponent-B8NRYoKJ.js → ManageIndividualComponent-CmIN-9NW.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BhqRq0Vj.js → ManageTermsOfServiceComponent-BPEbeFnv.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-Cn_V6mz7.js → ManageTransferInstrumentComponent-BODBnatc.js} +10 -10
- package/dist/{MaskedInput-Bmnp6vfE.js → MaskedInput-C6fmDUWY.js} +4 -4
- package/dist/{MaybeModal-JqIe8Hi4.js → MaybeModal-BjPlvKWN.js} +2 -2
- package/dist/{Modal-C4g499L3.js → Modal-DtbNibA7.js} +1 -1
- package/dist/{Name-BAP43zgz.js → Name-BEtR6QAR.js} +4 -4
- package/dist/{NewSummary-D04coEyZ.js → NewSummary-L9vDgRZo.js} +1 -1
- package/dist/{OnboardingDropinComponent-CYZHcP1A.js → OnboardingDropinComponent-m0goHrcf.js} +71 -71
- package/dist/{PayoutDetailsDropin-CDOhcFNG.js → PayoutDetailsDropin-Du1kInvN.js} +35 -35
- package/dist/{PayoutDetailsPage-B6ObdKoo.js → PayoutDetailsPage-DJ0S-VFw.js} +4 -4
- package/dist/{RadioGroup-Brbd7IGZ.js → RadioGroup-BArQYFSH.js} +1 -1
- package/dist/{RadioGroupCard-CLjm3HWF.js → RadioGroupCard-BhsLedMl.js} +1 -1
- package/dist/{Review-CUs3fAkl.js → Review-BFtHM-_l.js} +5 -5
- package/dist/{RootBusinessDetailsPage-DbQaq7S-.js → RootBusinessDetailsPage-CP1Qlxn_.js} +4 -4
- package/dist/{RootBusinessLinesPage-ClrIGBCx.js → RootBusinessLinesPage-BX5u3Hmv.js} +23 -23
- package/dist/{RootIndividualDetailsPage-C7NXtN3M.js → RootIndividualDetailsPage-CogMcCqy.js} +5 -5
- package/dist/{Select-DeoKjJst.js → Select-F9XF19j-.js} +3 -3
- package/dist/{SignPCIComponent-CBm2s71f.js → SignPCIComponent-CcKZHhKO.js} +11 -11
- package/dist/{SingpassSelection-D3GBr1C7.js → SingpassSelection-DNd8yLq5.js} +5 -5
- package/dist/{SoleProprietorshipPage-3kI9hRjQ.js → SoleProprietorshipPage-CgLzzGgA.js} +3 -3
- package/dist/{SourceOfFundsPage-BaN1Heuy.js → SourceOfFundsPage-C3sCf2D-.js} +29 -29
- package/dist/{StepProgressIndicator-DTMH_ysU.js → StepProgressIndicator-DCJaXcyU.js} +1 -1
- package/dist/{StoreProvider-CDvuKNZP.js → StoreProvider-CtRQBY2O.js} +14 -4
- package/dist/{Summary-DrjyVpAf.js → Summary-CkB8Ce4Y.js} +5 -5
- package/dist/{TaxInformationField-P4kd2RBf.js → TaxInformationField-CIW8ZkXT.js} +18 -18
- package/dist/{TaxReportingDropin-DoLfjPDT.js → TaxReportingDropin-CKo23oFC.js} +13 -13
- package/dist/{TextArea-8HzHbl8a.js → TextArea-CqSkVOwP.js} +1 -1
- package/dist/{TileGroup-C7pJdtfG.js → TileGroup-B7P02lrA.js} +2 -2
- package/dist/{TrustDetailsPage-CZxWlMFk.js → TrustDetailsPage-GDcDOm-m.js} +30 -30
- package/dist/{TrustMemberCompanyPage-ChlEiIX1.js → TrustMemberCompanyPage-BHZIj-0f.js} +4 -4
- package/dist/{TrustMemberIndividualPage-D0ErvJ2Q.js → TrustMemberIndividualPage-6V_pMESO.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage--2DWDQYD.js → TrustMemberRoleAndTypePage-DrI1RLeA.js} +20 -20
- package/dist/{TrustMembersOverview-1pruZb7Q.js → TrustMembersOverview-DXOQXI1Y.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-DY5POsz3.js → UnincorporatedPartnershipIndividualPage-2KjNXWyn.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CVS8HujV.js → UnincorporatedPartnershipMemberCompanyPage-aLY_7abb.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BiWrP7jm.js → UnincorporatedPartnershipMemberRoleAndTypePage-BrKVVNaX.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-CwihTjBJ.js → UnincorporatedPartnershipMembersOverview-CkDyHEwU.js} +6 -6
- package/dist/{VerificationErrorAlert-C5fltP_W.js → VerificationErrorAlert-B-D_i0kq.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-THjhd99f.js → ViewVerificationStatusComponent-BX95t08i.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-invited-decision-maker.js +8 -8
- package/dist/adyen-kyc-components.js +15 -15
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-BPLSJ1MR.js → bafinUtils-I1HEt8XI.js} +1 -1
- package/dist/{commonValidators-MPgcG-b2.js → commonValidators-Cl1GZ493.js} +1 -1
- package/dist/{dropinUtils-CH5elK0n.js → dropinUtils-DqjLOzes.js} +3 -3
- package/dist/{en-US-CjjPhkB5.js → en-US-B-qSAb-7.js} +2 -1
- package/dist/en-US-CKLQU2sJ.js +13 -0
- package/dist/{formUtils-Bl8SBmWK.js → formUtils-DUWRC8eU.js} +2 -2
- package/dist/{getName-C_u_P9U0.js → getName-BoZBBtwY.js} +1 -1
- package/dist/{getProblemsForEntity-BZRck7Nu.js → getProblemsForEntity-D0yVnw4F.js} +1 -1
- package/dist/{iframeWidget-DRlrwi6o.js → iframeWidget-CLyAXPUv.js} +3 -3
- package/dist/{isEmpty-JkZqLeJ_.js → isEmpty-Br_hVWxS.js} +1 -1
- package/dist/{japanSupportUtils-B6aNrTga.js → japanSupportUtils-dRgsA3KL.js} +1 -1
- package/dist/{localizeDateString-DJzFcyYr.js → localizeDateString-Djdr7FjP.js} +1 -1
- package/dist/{mapExistingFile-ebhAtDpQ.js → mapExistingFile-Dx1XZcDi.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-6-TZehkD.js → mapJpAddressSchemaToAddressLocalizations-QZbaLboo.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-DV9h15hI.js → mapLegalEntityToIndividualSchema-DixoLFcF.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-DtwUb1q5.js → mapTransferInstrumentToPayoutAccount-B2LC8AhG.js} +1 -1
- package/dist/{patternValidators-ORRO5SAA.js → patternValidators-Bmlm3yXY.js} +1 -1
- package/dist/{process-field-configurations-Cb30tRmq.js → process-field-configurations-Wt51XtVf.js} +1 -1
- package/dist/{resolveEnvironment-Btgj9fGu.js → resolveEnvironment-C2eiXOWu.js} +3 -3
- package/dist/{roleMetadata-YdrYEXdt.js → roleMetadata-At7etSLn.js} +2 -2
- package/dist/types/api/invitations/useInvitationStatuses.d.ts +8 -0
- package/dist/types/api/queryKeys.d.ts +2 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerListItem/DecisionMakerListItem.d.ts +8 -0
- package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.d.ts +1 -1
- package/dist/types/utils/not.d.ts +12 -0
- package/dist/{types-DV-k9m0i.js → types-D8JaZ85M.js} +1 -1
- package/dist/{types-DhC6v0PF.js → types-DhT9qDj4.js} +1 -1
- package/dist/{types-DItwm0zf.js → types-NTd5VzhV.js} +1 -1
- package/dist/{unincorporated-partnership-CIe8e4wR.js → unincorporated-partnership-Cr2ITyyK.js} +1 -1
- package/dist/{useAssociatedLegalEntity-Cn5H9wTJ.js → useAssociatedLegalEntity-Brdn35Qd.js} +1 -1
- package/dist/{useBusinessDetailsData-FR_NRvw9.js → useBusinessDetailsData-JsjuBZ9t.js} +45 -45
- package/dist/{useCreateLegalEntity-p2CrQlAX.js → useCreateLegalEntity-g5kQOZ9m.js} +1 -1
- package/dist/{useForm-C8AWA3sh.js → useForm-HbnDuvKE.js} +2 -2
- package/dist/{useFormContext-C1SR24Ki.js → useFormContext-BDIK0MuQ.js} +6 -6
- package/dist/{useGlobalData-CLlOpZnu.js → useGlobalData-k3L8u15M.js} +8 -8
- package/dist/{useMultiForm-DPExov8c.js → useMultiForm-jpDXpq32.js} +3 -3
- package/dist/{useOnboardingStatus-BD-8KaSZ.js → useOnboardingStatus-Ceyw-8UY.js} +1 -1
- package/dist/{useScenarios-DJzsH2gd.js → useScenarios-CDOZ5wDL.js} +1 -1
- package/dist/{useTermsOfServiceStatus-CbE9Ro0N.js → useTermsOfServiceStatus-DQGKeH23.js} +1 -1
- package/dist/{useToastContext-D9-q58mO.js → useToastContext-ueXW9kLE.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-DB6EK6uW.js → useUnincorporatedPartnershipMembers-9TydMMGg.js} +4 -4
- package/dist/{useUpdateBusinessLines-1pywGJxr.js → useUpdateBusinessLines-DsJu89ZQ.js} +3 -3
- package/dist/{useUpdateLegalEntity-BswSgPWT.js → useUpdateLegalEntity-efvM5sQR.js} +2 -2
- package/dist/{utils-DgFq9CIB.js → utils-1lu1Q89t.js} +1 -1
- package/dist/{utils-CFBp4SLl.js → utils-BfJMeYST.js} +1 -1
- package/dist/{utils-B-6ygFSY.js → utils-Bv46v1Xz.js} +2 -2
- package/dist/{utils-D4c7_3F2.js → utils-Dem3HCU2.js} +5 -5
- package/dist/{utils-BQ0Na9UT.js → utils-DkzKcUg0.js} +1 -1
- package/dist/{validate-CdMI5st2.js → validate-Bl2LVQvh.js} +2 -2
- package/dist/{validate-D__xHxXc.js → validate-BlNbroHx.js} +1 -1
- package/dist/{validationError-NidfTgvm.js → validationError-BZR2ZNhw.js} +1 -1
- package/package.json +1 -1
- package/dist/en-US-UidrdpJ0.js +0 -13
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, R as useLegalEntity, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, V as Loader, y as TaskTypes } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, R as useLegalEntity, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, V as Loader, y as TaskTypes } from "./StoreProvider-CtRQBY2O.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-
|
|
13
|
+
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-Du1kInvN.js";
|
|
14
14
|
function CreateTransferInstrumentComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
transferInstrumentId,
|
|
@@ -25,8 +25,8 @@ function CreateTransferInstrumentComponent({
|
|
|
25
25
|
const { i18n } = useTranslation();
|
|
26
26
|
const { data: legalEntity, isLoading: isLegalEntityLoading } = useLegalEntity(legalEntityId);
|
|
27
27
|
addResourceBundles(i18n, [
|
|
28
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
29
|
-
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-
|
|
28
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CtRQBY2O.js").then((n) => n.bT), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
29
|
+
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
30
30
|
{ ns: "banking", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../BankAccount/language/bg-BG.json": () => import("./bg-BG-BnwkqGm9.js"), "../../BankAccount/language/cs-CZ.json": () => import("./cs-CZ-BeMYkFfD.js"), "../../BankAccount/language/da-DK.json": () => import("./da-DK-mUuPR2YO.js"), "../../BankAccount/language/de-DE.json": () => import("./de-DE-CwT6O212.js"), "../../BankAccount/language/el-GR.json": () => import("./el-GR-BuAfpG6u.js"), "../../BankAccount/language/en-US.json": () => import("./en-US--1W760fR.js"), "../../BankAccount/language/es-ES.json": () => import("./es-ES-Bh8k9Zx8.js"), "../../BankAccount/language/et-EE.json": () => import("./et-EE-BBnYC5q8.js"), "../../BankAccount/language/fi-FI.json": () => import("./fi-FI-DhUeTfn1.js"), "../../BankAccount/language/fr-FR.json": () => import("./fr-FR-CocDMzBc.js"), "../../BankAccount/language/hr-HR.json": () => import("./hr-HR-D9OGeEuB.js"), "../../BankAccount/language/hu-HU.json": () => import("./hu-HU-DjaoFDqm.js"), "../../BankAccount/language/it-IT.json": () => import("./it-IT-B4bk2Xev.js"), "../../BankAccount/language/ja-JP.json": () => import("./ja-JP-DK55NCZY.js"), "../../BankAccount/language/lt-LT.json": () => import("./lt-LT-CfQUS8PP.js"), "../../BankAccount/language/lv-LV.json": () => import("./lv-LV-DoKxsoVR.js"), "../../BankAccount/language/nl-NL.json": () => import("./nl-NL-J7XpCpQm.js"), "../../BankAccount/language/no-NO.json": () => import("./no-NO-CtDyNTm6.js"), "../../BankAccount/language/pl-PL.json": () => import("./pl-PL-CCX1rSGF.js"), "../../BankAccount/language/pt-BR.json": () => import("./pt-BR-D4BTdo_w.js"), "../../BankAccount/language/pt-PT.json": () => import("./pt-PT-DBZj2dDI.js"), "../../BankAccount/language/ro-RO.json": () => import("./ro-RO-DaU2--fX.js"), "../../BankAccount/language/sk-SK.json": () => import("./sk-SK-B-1yRol7.js"), "../../BankAccount/language/sl-SI.json": () => import("./sl-SI-C_4ajjU4.js"), "../../BankAccount/language/sv-SE.json": () => import("./sv-SE-DKnUr7xo.js") }), `../../BankAccount/language/${lang}.json`, 5) }
|
|
31
31
|
]);
|
|
32
32
|
const handleOnClose = () => {
|
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
11
|
-
import { aX as drop, b as useApiContext, j as httpGet, u as useTranslation, m as createLogger, i as isUndefinedOrNull } from "./StoreProvider-
|
|
10
|
+
import { i as isDateOlderThanAYear } from "./Address-VvcSEiTE.js";
|
|
11
|
+
import { aX as drop, b as useApiContext, j as httpGet, u as useTranslation, m as createLogger, i as isUndefinedOrNull } from "./StoreProvider-CtRQBY2O.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
13
|
import { useRef, useEffect, useCallback, useMemo, useState } from "preact/hooks";
|
|
14
14
|
import { useQuery } from "@tanstack/preact-query";
|
|
15
|
-
import { F as Field } from "./Field-
|
|
16
|
-
import { S as Select } from "./Select-
|
|
17
|
-
import { I as InputText, a as InputBase } from "./InputText-
|
|
18
|
-
import { c as currencyByCountry } from "./types-
|
|
15
|
+
import { F as Field } from "./Field-DvyeNUpx.js";
|
|
16
|
+
import { S as Select } from "./Select-F9XF19j-.js";
|
|
17
|
+
import { I as InputText, a as InputBase } from "./InputText-CUwGMcdr.js";
|
|
18
|
+
import { c as currencyByCountry } from "./types-NTd5VzhV.js";
|
|
19
19
|
const mapFinancialInformationToFinancialReport = ({
|
|
20
20
|
currency,
|
|
21
21
|
financialReportingDate,
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useQueryClient } from "@tanstack/preact-query";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { R as useLegalEntity, U as ROOT_LE, V as Loader, w as EntityTypes, u as useTranslation, z as useAnalyticsContext, aB as Header, m as createLogger } from "./StoreProvider-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { c as contactDetailsValidationRules, f as fieldConfig, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules, C as ContactDetails, d as defaultFieldMetadata } from "./ContactDetails-
|
|
16
|
-
import { u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
18
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
19
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
+
import { R as useLegalEntity, U as ROOT_LE, V as Loader, w as EntityTypes, u as useTranslation, z as useAnalyticsContext, aB as Header, m as createLogger } from "./StoreProvider-CtRQBY2O.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-efvM5sQR.js";
|
|
15
|
+
import { c as contactDetailsValidationRules, f as fieldConfig, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules, C as ContactDetails, d as defaultFieldMetadata } from "./ContactDetails-CyIJ5Ky2.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-ueXW9kLE.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-jpDXpq32.js";
|
|
18
|
+
import { E as ErrorPanel } from "./ErrorPanel-CXR5_PU5.js";
|
|
19
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D0yVnw4F.js";
|
|
20
20
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
21
|
-
import { c as createFormUtils } from "./formUtils-
|
|
22
|
-
import { A as ActionBar } from "./ActionBar-
|
|
21
|
+
import { c as createFormUtils } from "./formUtils-DUWRC8eU.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-BV4k-dhc.js";
|
|
23
23
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
24
24
|
return {
|
|
25
25
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -2,20 +2,20 @@
|
|
|
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] = "5bca3340-e184-48f9-90f8-28a61911f925", e._sentryDebugIdIdentifier = "sentry-dbid-5bca3340-e184-48f9-90f8-28a61911f925");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { W as Button, ao as entriesOf, bA as Accordion, u as useTranslation, bB as splitTaskIdentifier, H as TaskVerificationStatus, J as useExperimentsContext, k as useSettingsContext, X as useGlobalStore, aT as listToRecord, aR as valuesOf, B as Icon, m as createLogger } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { W as Button, ao as entriesOf, bA as Accordion, u as useTranslation, bB as splitTaskIdentifier, H as TaskVerificationStatus, J as useExperimentsContext, k as useSettingsContext, X as useGlobalStore, aT as listToRecord, aR as valuesOf, B as Icon, m as createLogger } from "./StoreProvider-CtRQBY2O.js";
|
|
13
|
+
import { M as Modal } from "./Modal-DtbNibA7.js";
|
|
14
14
|
import { E as ExperimentNames } from "./types-_ugkpUNx.js";
|
|
15
15
|
import { S as SettingNames } from "./types-CQ2p58-6.js";
|
|
16
|
-
import { I as InputText } from "./InputText-
|
|
16
|
+
import { I as InputText } from "./InputText-CUwGMcdr.js";
|
|
17
17
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
18
|
-
import { C as Checkbox } from "./Checkbox-
|
|
18
|
+
import { C as Checkbox } from "./Checkbox-DnWiEg_u.js";
|
|
19
19
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
20
20
|
import MonogonCode from "monogon/preact";
|
|
21
21
|
const tabs = "adyen-kyc-tabs";
|
|
@@ -328,7 +328,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
328
328
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
329
329
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
330
330
|
const metadata = {
|
|
331
|
-
sdkVersion: "4.5.0-beta.
|
|
331
|
+
sdkVersion: "4.5.0-beta.2",
|
|
332
332
|
locale: i18n.language,
|
|
333
333
|
rootLegalEntityId: rootLegalEntity.id
|
|
334
334
|
};
|
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { R as useLegalEntity, J as useExperimentsContext, a9 as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, V as Loader, ai as noop, y as TaskTypes, w as EntityTypes, L as LegalEntityTypes, _ as __variableDynamicImportRuntimeHelper, bo as individualBaseMapping } from "./StoreProvider-
|
|
10
|
+
import { R as useLegalEntity, J as useExperimentsContext, a9 as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, V as Loader, ai as noop, y as TaskTypes, w as EntityTypes, L as LegalEntityTypes, _ as __variableDynamicImportRuntimeHelper, bo as individualBaseMapping } from "./StoreProvider-CtRQBY2O.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
13
|
import { useParams } from "wouter-preact";
|
|
14
|
-
import { u as useScenarios } from "./useScenarios-
|
|
15
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
16
|
-
import { n as getTrustedFieldsProvider, o as getTrustedFields, g as getTrustedEntityAssociations } from "./OnboardingDropinComponent-
|
|
17
|
-
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-
|
|
18
|
-
import { I as IndividualDropin } from "./IndividualDropin-
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-CDOZ5wDL.js";
|
|
15
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D0yVnw4F.js";
|
|
16
|
+
import { n as getTrustedFieldsProvider, o as getTrustedFields, g as getTrustedEntityAssociations } from "./OnboardingDropinComponent-m0goHrcf.js";
|
|
17
|
+
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-I1HEt8XI.js";
|
|
18
|
+
import { I as IndividualDropin } from "./IndividualDropin-CJ_mQfQH.js";
|
|
19
19
|
function DecisionMakerDetailsPage({
|
|
20
20
|
decisionMakerId: decisionMakerIdProp,
|
|
21
21
|
parentCompanyId: parentCompanyIdProp,
|
|
@@ -41,7 +41,7 @@ function DecisionMakerDetailsPage({
|
|
|
41
41
|
);
|
|
42
42
|
const { i18n } = useTranslation();
|
|
43
43
|
addResourceBundles(i18n, [
|
|
44
|
-
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../language/en-US.json": () => import("./en-US-
|
|
44
|
+
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../language/en-US.json": () => import("./en-US-CKLQU2sJ.js"), "../language/es-ES.json": () => import("./es-ES-BZiC4JWr.js"), "../language/et-EE.json": () => import("./et-EE-D_NmrrzQ.js"), "../language/fi-FI.json": () => import("./fi-FI-CEH4BfU3.js"), "../language/fr-FR.json": () => import("./fr-FR-NxOktkWc.js"), "../language/hr-HR.json": () => import("./hr-HR-D_MUIhtx.js"), "../language/hu-HU.json": () => import("./hu-HU-LxStrFGU.js"), "../language/it-IT.json": () => import("./it-IT-OppZz3gW.js"), "../language/ja-JP.json": () => import("./ja-JP-CethQRoG.js"), "../language/lt-LT.json": () => import("./lt-LT-CBTFJxth.js"), "../language/lv-LV.json": () => import("./lv-LV-DTaBIHLh.js"), "../language/nl-NL.json": () => import("./nl-NL-CYFznuWn.js"), "../language/no-NO.json": () => import("./no-NO-BsEie1We.js"), "../language/pl-PL.json": () => import("./pl-PL-BH_LPZJa.js"), "../language/pt-BR.json": () => import("./pt-BR-C-YbDjn-.js"), "../language/pt-PT.json": () => import("./pt-PT-BTbVsews.js"), "../language/ro-RO.json": () => import("./ro-RO-C5PJhlmM.js"), "../language/sk-SK.json": () => import("./sk-SK-DO-AqRjE.js"), "../language/sl-SI.json": () => import("./sl-SI-CJH14wbj.js"), "../language/sv-SE.json": () => import("./sv-SE-ZsucW_Uj.js") }), `../language/${lang}.json`, 3) }
|
|
45
45
|
]);
|
|
46
46
|
if (!parentCompanyLe || decisionMakerId && !decisionMakerLe) {
|
|
47
47
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -2,35 +2,71 @@
|
|
|
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] = "7a7989ef-9e5f-410f-8518-50a34fa7fc4d", e._sentryDebugIdIdentifier = "sentry-dbid-7a7989ef-9e5f-410f-8518-50a34fa7fc4d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { as as DecisionMakerTypes, aX as drop, an as cloneObject, am as datasetUtilities, u as useTranslation, R as useLegalEntity, W as Button, V as Loader, P as StackLayout, H as TaskVerificationStatus, O as Typography, G as Alert, z as useAnalyticsContext, U as ROOT_LE, a as addResourceBundles, N as useGetTaskStatus, J as useExperimentsContext, w as EntityTypes, x as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, ay as getOwnDecisionMakers, bs as getAvailableDecisionMakerRoleTypes, y as TaskTypes, aY as getAllowedDecisionMakerRoles, bE as DropinLayout, aB as Header, aQ as Trans, o as TaskStatuses, _ as __variableDynamicImportRuntimeHelper, L as LegalEntityTypes } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as httpGet, as as DecisionMakerTypes, aX as drop, an as cloneObject, am as datasetUtilities, u as useTranslation, R as useLegalEntity, W as Button, V as Loader, P as StackLayout, H as TaskVerificationStatus, O as Typography, G as Alert, z as useAnalyticsContext, U as ROOT_LE, a as addResourceBundles, N as useGetTaskStatus, J as useExperimentsContext, w as EntityTypes, x as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, ay as getOwnDecisionMakers, bs as getAvailableDecisionMakerRoleTypes, y as TaskTypes, aY as getAllowedDecisionMakerRoles, bE as DropinLayout, aB as Header, aQ as Trans, o as TaskStatuses, _ as __variableDynamicImportRuntimeHelper, L as LegalEntityTypes } from "./StoreProvider-CtRQBY2O.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useScenarios } from "./useScenarios-
|
|
14
|
-
import {
|
|
13
|
+
import { u as useScenarios } from "./useScenarios-CDOZ5wDL.js";
|
|
14
|
+
import { useQueries } from "@tanstack/preact-query";
|
|
15
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-efvM5sQR.js";
|
|
15
16
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
16
|
-
import { L as ListItem } from "./ListItem-
|
|
17
|
-
import { M as Modal } from "./Modal-
|
|
18
|
-
import { u as useToastContext } from "./useToastContext-
|
|
19
|
-
import { g as getTrustedEntityAssociations, e as useDataMissingRemediations } from "./OnboardingDropinComponent-
|
|
20
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
21
|
-
import { A as ActionBar } from "./ActionBar-
|
|
22
|
-
import { E as EntityAssociation } from "./EntityAssociation-
|
|
23
|
-
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-
|
|
24
|
-
import { G as GuidanceQuestionValues, m as mapLegalEntityToIndividualSchema, i as individualFormDefaultData } from "./mapLegalEntityToIndividualSchema-
|
|
25
|
-
import { u as useCapabilityProblems } from "./getProblemsForEntity-
|
|
17
|
+
import { L as ListItem } from "./ListItem-C5y7CUNU.js";
|
|
18
|
+
import { M as Modal } from "./Modal-DtbNibA7.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-ueXW9kLE.js";
|
|
20
|
+
import { g as getTrustedEntityAssociations, e as useDataMissingRemediations } from "./OnboardingDropinComponent-m0goHrcf.js";
|
|
21
|
+
import { C as ContextGuidance } from "./ContextGuidance-C98m5n_m.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-BV4k-dhc.js";
|
|
23
|
+
import { E as EntityAssociation } from "./EntityAssociation-DftI9bIe.js";
|
|
24
|
+
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-Drsl6I5U.js";
|
|
25
|
+
import { G as GuidanceQuestionValues, m as mapLegalEntityToIndividualSchema, i as individualFormDefaultData } from "./mapLegalEntityToIndividualSchema-DixoLFcF.js";
|
|
26
|
+
import { u as useCapabilityProblems } from "./getProblemsForEntity-D0yVnw4F.js";
|
|
26
27
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
27
28
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
28
|
-
import { C as Confirm } from "./Confirm-
|
|
29
|
-
import { m as mapAddressLabels } from "./utils-
|
|
30
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
29
|
+
import { C as Confirm } from "./Confirm-BJg0m_d-.js";
|
|
30
|
+
import { m as mapAddressLabels } from "./utils-DkzKcUg0.js";
|
|
31
|
+
import { l as localizeDateString } from "./localizeDateString-Djdr7FjP.js";
|
|
31
32
|
import { lazy } from "preact/compat";
|
|
32
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
33
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
33
|
+
import { I as Image } from "./unincorporated-partnership-Cr2ITyyK.js";
|
|
34
|
+
import { L as LandingLayout } from "./LandingLayout-Ek4HVR6e.js";
|
|
35
|
+
async function getInvitationStatus(rootLegalEntityId, baseUrl, decisionMakerId) {
|
|
36
|
+
const { active } = await httpGet({
|
|
37
|
+
baseUrl,
|
|
38
|
+
path: `legalEntities/${rootLegalEntityId}/invitations/associations/${decisionMakerId}/status`
|
|
39
|
+
});
|
|
40
|
+
return {
|
|
41
|
+
decisionMakerId,
|
|
42
|
+
active
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function useInvitationStatuses(decisionMakerIds, options) {
|
|
46
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
47
|
+
return useQueries({
|
|
48
|
+
queries: decisionMakerIds.map(
|
|
49
|
+
(id) => ({
|
|
50
|
+
queryKey: ["invitationStatus", id],
|
|
51
|
+
queryFn: () => getInvitationStatus(rootLegalEntityId.value, baseUrl.value, id),
|
|
52
|
+
initialData: {
|
|
53
|
+
decisionMakerId: id,
|
|
54
|
+
active: false
|
|
55
|
+
},
|
|
56
|
+
staleTime: 0,
|
|
57
|
+
...options
|
|
58
|
+
})
|
|
59
|
+
),
|
|
60
|
+
combine: (results) => results.reduce((acc, { data }) => {
|
|
61
|
+
if (data) {
|
|
62
|
+
const { decisionMakerId, active } = data;
|
|
63
|
+
acc[decisionMakerId] = active ?? false;
|
|
64
|
+
}
|
|
65
|
+
return acc;
|
|
66
|
+
}, {})
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
const not = (fn) => (...args) => !fn(...args);
|
|
34
70
|
const BENEFICIAL_OWNER_ROLES = [
|
|
35
71
|
DecisionMakerTypes.OWNER,
|
|
36
72
|
DecisionMakerTypes.CONTROLLING_PERSON,
|
|
@@ -260,6 +296,29 @@ const DecisionMakerDetails = ({
|
|
|
260
296
|
)
|
|
261
297
|
] });
|
|
262
298
|
};
|
|
299
|
+
function DecisionMakerListItem({
|
|
300
|
+
decisionMaker,
|
|
301
|
+
openDecisionMakerModal,
|
|
302
|
+
hasActiveInvitation
|
|
303
|
+
}) {
|
|
304
|
+
const { t: individualT } = useTranslation("individual");
|
|
305
|
+
const description = getDecisionMakerDescription(decisionMaker.types, individualT);
|
|
306
|
+
return /* @__PURE__ */ jsx(
|
|
307
|
+
ListItem,
|
|
308
|
+
{
|
|
309
|
+
accessory: /* @__PURE__ */ jsx(
|
|
310
|
+
TaskVerificationStatus,
|
|
311
|
+
{
|
|
312
|
+
status: hasActiveInvitation ? "inviteSent" : decisionMaker.status
|
|
313
|
+
}
|
|
314
|
+
),
|
|
315
|
+
avatar: { iconName: "user", circle: true },
|
|
316
|
+
title: decisionMaker.name,
|
|
317
|
+
action: { onClick: () => openDecisionMakerModal(decisionMaker), disclosure: true },
|
|
318
|
+
description
|
|
319
|
+
}
|
|
320
|
+
);
|
|
321
|
+
}
|
|
263
322
|
const decisionMakersGettingStarted = "adyen-kyc-decision-makers-getting-started";
|
|
264
323
|
const styles = {
|
|
265
324
|
decisionMakersGettingStarted
|
|
@@ -428,7 +487,7 @@ const DecisionMakers = (props) => {
|
|
|
428
487
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
429
488
|
const { i18n } = useTranslation();
|
|
430
489
|
addResourceBundles(i18n, [
|
|
431
|
-
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../../language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../../language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../../language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../../language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../../language/en-US.json": () => import("./en-US-
|
|
490
|
+
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../../language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../../language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../../language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../../language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../../language/en-US.json": () => import("./en-US-CKLQU2sJ.js"), "../../language/es-ES.json": () => import("./es-ES-BZiC4JWr.js"), "../../language/et-EE.json": () => import("./et-EE-D_NmrrzQ.js"), "../../language/fi-FI.json": () => import("./fi-FI-CEH4BfU3.js"), "../../language/fr-FR.json": () => import("./fr-FR-NxOktkWc.js"), "../../language/hr-HR.json": () => import("./hr-HR-D_MUIhtx.js"), "../../language/hu-HU.json": () => import("./hu-HU-LxStrFGU.js"), "../../language/it-IT.json": () => import("./it-IT-OppZz3gW.js"), "../../language/ja-JP.json": () => import("./ja-JP-CethQRoG.js"), "../../language/lt-LT.json": () => import("./lt-LT-CBTFJxth.js"), "../../language/lv-LV.json": () => import("./lv-LV-DTaBIHLh.js"), "../../language/nl-NL.json": () => import("./nl-NL-CYFznuWn.js"), "../../language/no-NO.json": () => import("./no-NO-BsEie1We.js"), "../../language/pl-PL.json": () => import("./pl-PL-BH_LPZJa.js"), "../../language/pt-BR.json": () => import("./pt-BR-C-YbDjn-.js"), "../../language/pt-PT.json": () => import("./pt-PT-BTbVsews.js"), "../../language/ro-RO.json": () => import("./ro-RO-C5PJhlmM.js"), "../../language/sk-SK.json": () => import("./sk-SK-DO-AqRjE.js"), "../../language/sl-SI.json": () => import("./sl-SI-CJH14wbj.js"), "../../language/sv-SE.json": () => import("./sv-SE-ZsucW_Uj.js") }), `../../language/${lang}.json`, 4) }
|
|
432
491
|
]);
|
|
433
492
|
if (isLoading || !data) {
|
|
434
493
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -522,15 +581,23 @@ const DecisionMakersInner = ({
|
|
|
522
581
|
);
|
|
523
582
|
const uniqueDecisionMakers = mappedDecisionMakers ? Object.values(mappedDecisionMakers) : [];
|
|
524
583
|
const trustedEntityAssociations = getTrustedEntityAssociations(legalEntity);
|
|
584
|
+
const invitationsStatuses = useInvitationStatuses(uniqueDecisionMakers.map((dm) => dm.reference));
|
|
585
|
+
const hasPendingInvitation = (dm) => invitationsStatuses[dm.reference];
|
|
525
586
|
const isActionNeeded = (dm) => dm.status === TaskStatuses.ERROR || dm.status === TaskStatuses.DETAILS_REQUIRED;
|
|
526
587
|
const isComplete = (dm) => dm.status === TaskStatuses.FINISHED || dm.status === TaskStatuses.PROCESSING;
|
|
527
588
|
const isSignatory = (dm) => dm.types.includes(DecisionMakerTypes.SIGNATORY);
|
|
528
|
-
const
|
|
529
|
-
const
|
|
589
|
+
const pendingInvitationDecisionMakers = uniqueDecisionMakers.filter(hasPendingInvitation);
|
|
590
|
+
const remainingDecisionMakers = uniqueDecisionMakers.filter(not(hasPendingInvitation));
|
|
591
|
+
const actionNeededDecisionMakers = remainingDecisionMakers.filter(isActionNeeded);
|
|
592
|
+
const completeDecisionMakers = remainingDecisionMakers.filter(isComplete);
|
|
593
|
+
const pendingInvitationSignatories = pendingInvitationDecisionMakers.filter(isSignatory);
|
|
594
|
+
const pendingInvitationBeneficialOwners = pendingInvitationDecisionMakers.filter(
|
|
595
|
+
not(isSignatory)
|
|
596
|
+
);
|
|
530
597
|
const actionNeededSignatories = actionNeededDecisionMakers.filter(isSignatory);
|
|
531
|
-
const actionNeededBeneficialOwners = actionNeededDecisionMakers.filter((
|
|
598
|
+
const actionNeededBeneficialOwners = actionNeededDecisionMakers.filter(not(isSignatory));
|
|
532
599
|
const completeSignatories = completeDecisionMakers.filter(isSignatory);
|
|
533
|
-
const completeBeneficialOwners = completeDecisionMakers.filter((
|
|
600
|
+
const completeBeneficialOwners = completeDecisionMakers.filter(not(isSignatory));
|
|
534
601
|
const showWarning = Boolean(remediationMessages.DECISION_MAKER && uniqueDecisionMakers.length);
|
|
535
602
|
useEffect(() => {
|
|
536
603
|
userEvents.addTaskEvent("Landed on page", {
|
|
@@ -601,13 +668,13 @@ const DecisionMakersInner = ({
|
|
|
601
668
|
)
|
|
602
669
|
};
|
|
603
670
|
await updateLegalEntity.mutateAsync({ ...updatedEntityAssociations, id: legalEntity.id });
|
|
604
|
-
const
|
|
671
|
+
const remainingDecisionMakers2 = decisionMakers.filter(
|
|
605
672
|
(curr) => curr.legalEntityId !== decisionMaker.reference
|
|
606
673
|
);
|
|
607
674
|
userEvents.addTaskEvent("Clicked button", {
|
|
608
675
|
...getDecisionMakerTrackingParams(decisionMaker),
|
|
609
676
|
actionType: "remove",
|
|
610
|
-
remainingDecisionMakers
|
|
677
|
+
remainingDecisionMakers: remainingDecisionMakers2
|
|
611
678
|
});
|
|
612
679
|
showToast({
|
|
613
680
|
variant: "success",
|
|
@@ -618,28 +685,28 @@ const DecisionMakersInner = ({
|
|
|
618
685
|
showToast({ variant: "error", label: individualT(($) => $["failedToRemoveDecisionMaker"]) });
|
|
619
686
|
}
|
|
620
687
|
};
|
|
621
|
-
const renderDecisionMakerItem = (decisionMaker) => {
|
|
622
|
-
const description = getDecisionMakerDescription(decisionMaker.types, individualT);
|
|
623
|
-
return /* @__PURE__ */ jsx(
|
|
624
|
-
ListItem,
|
|
625
|
-
{
|
|
626
|
-
accessory: /* @__PURE__ */ jsx(TaskVerificationStatus, { status: decisionMaker.status }),
|
|
627
|
-
avatar: { iconName: "user", circle: true },
|
|
628
|
-
title: decisionMaker.name,
|
|
629
|
-
action: { onClick: () => openDecisionMakerModal(decisionMaker), disclosure: true },
|
|
630
|
-
description
|
|
631
|
-
},
|
|
632
|
-
decisionMaker.reference
|
|
633
|
-
);
|
|
634
|
-
};
|
|
635
688
|
const renderDecisionMakersList = (decisionMakers2) => {
|
|
636
689
|
if (decisionMakers2.length === 0) {
|
|
637
690
|
return null;
|
|
638
691
|
}
|
|
639
|
-
return /* @__PURE__ */ jsx(List, { variant: "grouped-primary", padding: "small", dividers: false, children: decisionMakers2.map(
|
|
692
|
+
return /* @__PURE__ */ jsx(List, { variant: "grouped-primary", padding: "small", dividers: false, children: decisionMakers2.map((decisionMaker) => /* @__PURE__ */ jsx(
|
|
693
|
+
DecisionMakerListItem,
|
|
694
|
+
{
|
|
695
|
+
decisionMaker,
|
|
696
|
+
openDecisionMakerModal,
|
|
697
|
+
hasActiveInvitation: hasPendingInvitation(decisionMaker)
|
|
698
|
+
},
|
|
699
|
+
decisionMaker.reference
|
|
700
|
+
)) });
|
|
640
701
|
};
|
|
641
702
|
const decisionMakerSections = useMemo(
|
|
642
703
|
() => [
|
|
704
|
+
{
|
|
705
|
+
key: "pendingInvitations",
|
|
706
|
+
title: individualT(($) => $["pendingInvitations"]),
|
|
707
|
+
signatories: pendingInvitationSignatories,
|
|
708
|
+
beneficialOwners: pendingInvitationBeneficialOwners
|
|
709
|
+
},
|
|
643
710
|
{
|
|
644
711
|
key: "actionNeeded",
|
|
645
712
|
title: commonT(($) => $["actionNeeded"]),
|
|
@@ -655,6 +722,9 @@ const DecisionMakersInner = ({
|
|
|
655
722
|
],
|
|
656
723
|
[
|
|
657
724
|
commonT,
|
|
725
|
+
individualT,
|
|
726
|
+
pendingInvitationSignatories,
|
|
727
|
+
pendingInvitationBeneficialOwners,
|
|
658
728
|
actionNeededSignatories,
|
|
659
729
|
actionNeededBeneficialOwners,
|
|
660
730
|
completeSignatories,
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, D as DropzoneFile, e as bytesToSize } from "./validate-
|
|
11
|
+
import { f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, D as DropzoneFile, e as bytesToSize } from "./validate-Bl2LVQvh.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { useRef, useState, useMemo, useEffect } from "preact/hooks";
|
|
14
|
-
import { u as useTranslation, z as useAnalyticsContext, W as Button, O as Typography, B as Icon } from "./StoreProvider-
|
|
15
|
-
import { u as useForm } from "./useForm-
|
|
14
|
+
import { u as useTranslation, z as useAnalyticsContext, W as Button, O as Typography, B as Icon } from "./StoreProvider-CtRQBY2O.js";
|
|
15
|
+
import { u as useForm } from "./useForm-HbnDuvKE.js";
|
|
16
16
|
function Dropzone(props) {
|
|
17
17
|
const {
|
|
18
18
|
name,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { A as Avatar } from "./Avatar-
|
|
13
|
-
import { o as TaskStatuses, u as useTranslation, ab as Skeleton, O as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-Carj3nfQ.js";
|
|
13
|
+
import { o as TaskStatuses, u as useTranslation, ab as Skeleton, O as Typography } from "./StoreProvider-CtRQBY2O.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
16
16
|
const embeddedStatus = "adyen-kyc-embedded-status";
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { isValidElement, cloneElement } from "preact";
|
|
13
|
-
import { W as Button, V as Loader, B as Icon } from "./StoreProvider-
|
|
13
|
+
import { W as Button, V as Loader, B as Icon } from "./StoreProvider-CtRQBY2O.js";
|
|
14
14
|
const endStateLayout = "adyen-kyc-end-state-layout";
|
|
15
15
|
const endStateLayoutHeader = "adyen-kyc-end-state-layout-header";
|
|
16
16
|
const endStateLayoutIcon = "adyen-kyc-end-state-layout-icon";
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useCallback, useEffect, useState } from "preact/hooks";
|
|
12
|
-
import { W as Button, u as useTranslation, H as TaskVerificationStatus, C as IconButton, o as TaskStatuses } from "./StoreProvider-
|
|
12
|
+
import { W as Button, u as useTranslation, H as TaskVerificationStatus, C as IconButton, o as TaskStatuses } from "./StoreProvider-CtRQBY2O.js";
|
|
13
13
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
|
-
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
16
|
-
import { C as Confirm } from "./Confirm-
|
|
17
|
-
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-
|
|
15
|
+
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-B-D_i0kq.js";
|
|
16
|
+
import { C as Confirm } from "./Confirm-BJg0m_d-.js";
|
|
17
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-At7etSLn.js";
|
|
18
18
|
function useClickAwayListener(ref, onClickAway) {
|
|
19
19
|
const handleClickAway = useCallback(
|
|
20
20
|
(event) => {
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
12
|
-
import { bF as getDecisionMakerDescriptionMap, y as TaskTypes, bG as TRUST_DEFAULT_DESCRIPTIONS_MAP, B as Icon, u as useTranslation, aQ as Trans } from "./StoreProvider-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
14
|
-
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-
|
|
12
|
+
import { bF as getDecisionMakerDescriptionMap, y as TaskTypes, bG as TRUST_DEFAULT_DESCRIPTIONS_MAP, B as Icon, u as useTranslation, aQ as Trans } from "./StoreProvider-CtRQBY2O.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-Cr2ITyyK.js";
|
|
14
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-At7etSLn.js";
|
|
15
15
|
const UNINCORPORATED_PARTNERSHIP__DEFAULT_DESCRIPTIONS_MAP = {
|
|
16
16
|
[UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER]: "provideAtLeastOneSecondaryPartner",
|
|
17
17
|
[UnincorporatedPartnershipMemberTypes.OWNER]: "provideAllOwners",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useContext, useCallback } from "preact/hooks";
|
|
12
|
-
import { W as Button, u as useTranslation, G as Alert, b9 as remediationHasFileUploadField, aS as keysOf } from "./StoreProvider-
|
|
12
|
+
import { W as Button, u as useTranslation, G as Alert, b9 as remediationHasFileUploadField, aS as keysOf } from "./StoreProvider-CtRQBY2O.js";
|
|
13
13
|
import { createContext } from "preact";
|
|
14
14
|
const errorPanel = "adyen-kyc-error-panel";
|
|
15
15
|
const styles = {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation, z as useAnalyticsContext, B as Icon, ac as translateTranslatable } from "./StoreProvider-
|
|
13
|
+
import { u as useTranslation, z as useAnalyticsContext, B as Icon, ac as translateTranslatable } from "./StoreProvider-CtRQBY2O.js";
|
|
14
14
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
15
15
|
const ARIA_ERROR_SUFFIX = "-ariaError";
|
|
16
16
|
const MaybeFieldset = ({
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation, B as Icon, z as useAnalyticsContext, O as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, B as Icon, z as useAnalyticsContext, O as Typography } from "./StoreProvider-CtRQBY2O.js";
|
|
13
13
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-DtbNibA7.js";
|
|
15
15
|
const FormNavigationItem = ({
|
|
16
16
|
form,
|
|
17
17
|
isActive,
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aa as CountryCodes, as as DecisionMakerTypes, y as TaskTypes, a9 as getLegalEntityCountry, bs as getAvailableDecisionMakerRoleTypes, at as Scenarios, bt as allowedCountriesForNominee, bu as isLowRiskCountry } from "./StoreProvider-
|
|
11
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
10
|
+
import { aa as CountryCodes, as as DecisionMakerTypes, y as TaskTypes, a9 as getLegalEntityCountry, bs as getAvailableDecisionMakerRoleTypes, at as Scenarios, bt as allowedCountriesForNominee, bu as isLowRiskCountry } from "./StoreProvider-CtRQBY2O.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-DkzKcUg0.js";
|
|
12
12
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
13
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
14
|
-
import { i as isBafinSignatoryFlow } from "./bafinUtils-
|
|
15
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
13
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-dRgsA3KL.js";
|
|
14
|
+
import { i as isBafinSignatoryFlow } from "./bafinUtils-I1HEt8XI.js";
|
|
15
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-BfJMeYST.js";
|
|
16
16
|
const REQUIRED = "REQUIRED";
|
|
17
17
|
const OPTIONAL = "OPTIONAL";
|
|
18
18
|
const ID_NUMBER_EXEMPT_COUNTRIES = [
|