@adyen/kyc-components 3.89.1 → 3.90.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-De5XWtcz.js → AcceptTermsOfServiceComponent-jlzA4hRO.js} +42 -60
- package/dist/{Accordion-CW9GGywE.js → Accordion-48qDUfrn.js} +1 -1
- package/dist/{AccountSetupRejected-_IN29uU8.js → AccountSetupRejected-eL8cEb4U.js} +3 -3
- package/dist/{ActionBar-CkNDXAZ3.js → ActionBar-BO6XSNuM.js} +1 -1
- package/dist/{Address-CIRweyT6.js → Address-BCTZUD2J.js} +25 -56
- package/dist/{Alert-Dr-PTLt5.js → Alert-DlSROjS7.js} +6 -6
- package/dist/{Avatar-DttOKUv4.js → Avatar-1DJaB2Fj.js} +1 -1
- package/dist/{BusinessDetailsMultiformDropin-ByrdkEK1.js → BusinessDetailsDropin-lXErWzqC.js} +1268 -3090
- package/dist/{BusinessFinancingComponent-D5Edu6Jp.js → BusinessFinancingComponent-C6wgWrZx.js} +6 -5
- package/dist/{BusinessFinancingDropin-D2J61fEL.js → BusinessFinancingDropin-Doz0wI42.js} +23 -33
- package/dist/{BusinessFinancingPage-C06ar5yw.js → BusinessFinancingPage-CWkMdnqc.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-CP0UXFG_.js → BusinessTypeSelectionPage-DFJqkG5_.js} +8 -9
- package/dist/{Card-thNJfUJi.js → Card-I1r9oUx8.js} +2 -2
- package/dist/{ConstitutionalDocument-Dzckgb-_.js → ConstitutionalDocument-DdFjrLEq.js} +3 -3
- package/dist/{CountryField-CJeBvrKJ.js → CountryField-BO-n2nAh.js} +6 -6
- package/dist/{CreateIndividualComponent-BDAKxFP2.js → CreateIndividualComponent-D14kgQET.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-vfia76fK.js → CreateTransferInstrumentComponent-DOM7CWHW.js} +4 -4
- package/dist/{Currency-CJF_TGyQ.js → Currency-U_NBiYL_.js} +7 -7
- package/dist/{CustomerSupport-C_fh3_q2.js → CustomerSupport-gUFWyk3X.js} +10 -10
- package/dist/{DebugModal-8s0KmcYQ.js → DebugModal-B-9dnXq3.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-BcaNuUzU.js → DecisionMakerDetailsPage-Y59IaBti.js} +6 -6
- package/dist/{DecisionMakers-BShMorMY.js → DecisionMakers-CXX7UaII.js} +20 -20
- package/dist/{EmbeddedStatus-Bsq1fp5z.js → EmbeddedStatus-DY5iLZFD.js} +2 -2
- package/dist/{EndStateLayout-BzHmhWSo.js → EndStateLayout-CwW4wDY8.js} +1 -1
- package/dist/{EntityAssociation-CzUai3Yh.js → EntityAssociation-CYAh0KGI.js} +8 -8
- package/dist/{EntityGuidanceStatus-B6luxhbo.js → EntityGuidanceStatus-Dkb_9kLQ.js} +2 -2
- package/dist/FormFlow-Dgc0gB-O.js +186 -0
- package/dist/{FormNavigation-trlYkLTT.js → FormNavigation-BE3rLf_S.js} +3 -3
- package/dist/{FormWrapper-CmShqeDn.js → FormWrapper-B7su5eh3.js} +10 -10
- package/dist/{IndividualOnfido-BziAZ51z.js → IndividualOnfido-DH3VYYau.js} +71 -74
- package/dist/{IndividualOnfidoDropin-DQpZ6OI1.js → IndividualOnfidoDropin-SiWSMsi9.js} +30 -33
- package/dist/{InputText-DmMvZip7.js → InputText-DR70nC51.js} +6 -6
- package/dist/{Introduction-Wu-LBXX2.js → Introduction-C2X6DyHw.js} +4 -4
- package/dist/{JpAddress-Bl9Ppmv5.js → JpAddress-CvQyBExq.js} +8 -8
- package/dist/{LegalRepresentativeDetailsPage-Cxy69AD6.js → LegalRepresentativeDetailsPage-Wf7cQkQn.js} +4 -4
- package/dist/{ListItem-DvTbHRWc.js → ListItem-BBHNYCCw.js} +2 -2
- package/dist/{ManageIndividualComponent-DIf-I6d0.js → ManageIndividualComponent-DPh2Jp_T.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BK3ywG-g.js → ManageTermsOfServiceComponent-4-iML1dO.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-DHfft4DJ.js → ManageTransferInstrumentComponent-D8MMBSWg.js} +12 -12
- package/dist/{MaybeModal-Bw31z92e.js → MaybeModal-Us27ek4u.js} +15 -4
- package/dist/{Modal-B-CzUny3.js → Modal-W8cfdxrr.js} +4 -4
- package/dist/{OnboardingDropinComponent-Dc5Z3bna.js → OnboardingDropinComponent-HHq3dL3N.js} +1406 -1731
- package/dist/{PayoutDetailsDropin-DrESJrLF.js → PayoutDetailsDropin-M9FYw20B.js} +62 -42
- package/dist/ProgressBar-B7gTQncy.js +47 -0
- package/dist/{Review-CN0zdu0c.js → Review-CUNKnKSZ.js} +7 -7
- package/dist/{RootBusinessDetailsPage-DsCMT0gE.js → RootBusinessDetailsPage-DC0qALED.js} +7 -22
- package/dist/{RootBusinessLinesPage-D0djzhVg.js → RootBusinessLinesPage-B8gUQ93t.js} +146 -41
- package/dist/{RootIndividualDetailsPage-C49Q1XPl.js → RootIndividualDetailsPage-ULrh2_YN.js} +6 -6
- package/dist/{SignPCIComponent-Dm45H-8u.js → SignPCIComponent-MnotetIL.js} +10 -10
- package/dist/{SingpassSelection-DR7s4WiD.js → SingpassSelection-BWdMU1Lv.js} +4 -4
- package/dist/{SoleProprietorshipPage-C2_d7XKS.js → SoleProprietorshipPage-C9mxOyGm.js} +5 -19
- package/dist/{SourceOfFundsPage-SHeYHpGr.js → SourceOfFundsPage-bptpOZNp.js} +25 -25
- package/dist/{fieldConfigurations-Kb-fhpg7.js → Spacer-D-c-0ch_.js} +34 -24
- package/dist/{StepProgressIndicator-yqQhirdb.js → StepProgressIndicator--8FNnauI.js} +1 -1
- package/dist/{StoreProvider-BHckWEYg.js → StoreProvider-D_0Pta7w.js} +130 -98
- package/dist/{Summary-Df0SenAt.js → Summary-D741mrWG.js} +4 -4
- package/dist/{TaxReportingDropin-CKin6_Er.js → TaxReportingDropin-D2gjRJag.js} +16 -16
- package/dist/{TrustDetailsPage-C699_2RX.js → TrustDetailsPage-Dj64OqRJ.js} +27 -27
- package/dist/{TrustMemberCompanyPage-Bgh-8J6_.js → TrustMemberCompanyPage-DlnCvpf5.js} +6 -22
- package/dist/{TrustMemberIndividualPage-2gZsrdqt.js → TrustMemberIndividualPage-D8LSPYGf.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-BB41jjVq.js → TrustMemberRoleAndTypePage-CN7oQduU.js} +15 -15
- package/dist/{TrustMembersOverview-DkpHLa-c.js → TrustMembersOverview-C2VH8NIl.js} +12 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-uZBKkJwX.js → UnincorporatedPartnershipIndividualPage-fN2QrGh4.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CVa6qF3n.js → UnincorporatedPartnershipMemberCompanyPage-BUEeNfv-.js} +6 -22
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Ctl2MPKX.js → UnincorporatedPartnershipMemberRoleAndTypePage-DeUAOKnx.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-DZPLX8gp.js → UnincorporatedPartnershipMembersOverview-EeE4JNAc.js} +9 -9
- package/dist/{VerificationErrorAlert-BVoljWxM.js → VerificationErrorAlert-COgw5uh1.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-B_gl5t76.js → ViewVerificationStatusComponent-CaPz-G-G.js} +4 -4
- package/dist/adyen-business-financing.js +8 -4
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +20 -20
- 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/cross-circle-fill-maan7Z5S.js +17 -0
- package/dist/{debouncedInputEvent-C-zXYOuE.js → debouncedInputEvent-ZbuNEN6W.js} +2 -2
- package/dist/{documentUtils-l4Di7U18.js → documentUtils-XUGK4RIp.js} +3 -3
- package/dist/{dropinUtils-Cm6ETaTL.js → dropinUtils-Dggo6PZA.js} +4 -4
- package/dist/en-US-AgtwE4Fl.js +63 -0
- package/dist/{getFieldsWithExistingData-BdYN38hE.js → getFieldsWithExistingData-KwCfBJn2.js} +1 -1
- package/dist/{getName-BUZJBcAE.js → getName-B1UTZRuu.js} +2 -9
- package/dist/{hasDataChanged-D9Qx_JCQ.js → hasDataChanged-CSn4V18R.js} +2 -2
- package/dist/{iframeWidget-CemJJ3EA.js → iframeWidget-BDp1ajgy.js} +4 -4
- package/dist/info-filled-SQotHmT9.js +17 -0
- package/dist/{localizeDateString-DyXarzIl.js → localizeDateString-CZrFwyd0.js} +1 -1
- package/dist/{mapExistingFile-COnTFqXJ.js → mapExistingFile-D5fqNt1l.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-BK4mXy3k.js → mapFinancialReportsToFinancialInformation-eCMwJnwj.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BulGG0pe.js → mapJpAddressSchemaToAddressLocalizations-i8O5_wuI.js} +3 -3
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-BMDtouhh.js → mapLegalEntityToIndividualOnfidoSchema-Cyg_384J.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-MpVqVhGS.js → mapTransferInstrumentToPayoutAccount-BOYDxAUf.js} +1 -1
- package/dist/{process-field-configurations-kh7VAcBh.js → process-field-configurations-ClLFHxX6.js} +3 -3
- package/dist/{resolveEnvironment-D-9wHJs2.js → resolveEnvironment-D8CEfrp4.js} +3 -3
- package/dist/{rules-DFisB-1M.js → rules-Cr3Ka8oq.js} +5 -5
- package/dist/style.css +268 -233
- package/dist/styles-CLV89_hH.js +268 -233
- package/dist/types/api/companySelection/useCompanySelection.d.ts +2 -18
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +8 -2
- package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -3
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +5 -18
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +0 -21
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +13 -2
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +0 -11
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +3 -2
- package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +0 -6
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +3 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +7 -4
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +23 -2
- package/dist/types/components/BusinessLines/forms/SctaForm/SctaInfoModal.d.ts +3 -0
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +0 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/ui/atoms/Link/Link.types.d.ts +1 -1
- package/dist/types/components/ui/atoms/Loader/Loader.d.ts +1 -5
- package/dist/types/components/ui/atoms/Modal/MaybeModal.d.ts +1 -1
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +4 -0
- package/dist/types/context/ExperimentContext/types.d.ts +6 -5
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{types-DJeg3Tz6.js → types-CR2U3VAD.js} +1 -1
- package/dist/{types-1iAHHNsZ.js → types-DjTezJBU.js} +1 -1
- package/dist/{types-CHr4VLHl.js → types-Dk94b8kx.js} +7 -6
- package/dist/{types-BDHLVBb5.js → types-Gm2SleFm.js} +1 -1
- package/dist/{useAssociatedLegalEntity-qIkD-MFM.js → useAssociatedLegalEntity-Pgb7_79V.js} +1 -1
- package/dist/{useCreateLegalEntity-CDFKMwwk.js → useCreateLegalEntity-Ba2rxRgb.js} +2 -2
- package/dist/{useDataset-D1AsbWmY.js → useDataset-RNFlX1-i.js} +4 -4
- package/dist/{useForm-DzONzNQu.js → useForm-C261ZUdn.js} +10 -9
- package/dist/{useGlobalData-B5sNYBl5.js → useGlobalData-COSDbjgb.js} +5 -5
- package/dist/{useMultiForm-Dd80_VRc.js → useMultiForm--zHGgbxw.js} +3 -3
- package/dist/{useOnboardingStatus-YrIRg4io.js → useOnboardingStatus-DytPj9Ai.js} +1 -1
- package/dist/{useScenarios-BkCy7ImD.js → useScenarios-eYrKID9N.js} +2 -2
- package/dist/{useTermsOfServiceStatus-D2rhp6YQ.js → useTermsOfServiceStatus-BYJqq3Oi.js} +1 -1
- package/dist/{useToastContext-5JlKjAbN.js → useToastContext-CqIJgGTa.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-Dwj2XshB.js → useUnincorporatedPartnershipMembers-HC3erocB.js} +4 -4
- package/dist/{useUpdateBusinessLines-DzLgvolo.js → useUpdateBusinessLines-Dq3B1Jvy.js} +2 -2
- package/dist/{useUpdateLegalEntity-BzuSuul0.js → useUpdateLegalEntity-BPQX_o3v.js} +3 -3
- package/dist/{utils-DjzolTRQ.js → utils-B_eQ3Eny.js} +3 -3
- package/dist/{utils-Da-KDnEH.js → utils-BbmGXGUy.js} +6 -6
- package/dist/{validate-D7GAD2-j.js → validate-ArlZWHo0.js} +1 -1
- package/dist/{validate-B48OR9iz.js → validate-B_v0PjtX.js} +1 -1
- package/dist/{validationError-DzkunflV.js → validationError-BQZWqXfp.js} +1 -1
- package/package.json +2 -2
- package/dist/FormFlow-CEyVMiHY.js +0 -224
- package/dist/en-US-CBsokt1L.js +0 -42
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformationMultiform.d.ts +0 -9
- package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +0 -11
- package/dist/types/components/Business/forms/BusinessDetails/BusinessDetails.d.ts +0 -3
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts +0 -14
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts +0 -4
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiformDropin.d.ts +0 -5
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/types.d.ts +0 -2
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +0 -23
- /package/dist/types/components/Business/{tasks/BusinessDetailsMultiformDropin → forms/BusinessDetails}/BusinessDetailsMultiform.d.ts +0 -0
- /package/dist/types/components/Business/tasks/{BusinessDetailsMultiformDropin → BusinessDetailsDropin}/validate.d.ts +0 -0
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "58beead9-69a2-446d-b447-3bf7d0c18a21", e._sentryDebugIdIdentifier = "sentry-dbid-58beead9-69a2-446d-b447-3bf7d0c18a21");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { V as useI18nContext, u as useTranslation,
|
|
12
|
-
import { H as Header, E as ErrorPanel, c as createFormUtils, L as List, f as getRoleName, h as isSummaryItem } from "./CountryField-
|
|
13
|
-
import { S as StructuredList } from "./useDataset-
|
|
11
|
+
import { V as useI18nContext, u as useTranslation, a2 as useAnalyticsContext, W as isEmpty, Y as IconButton, z as translateStringOrObject, bw as Svg } from "./StoreProvider-D_0Pta7w.js";
|
|
12
|
+
import { H as Header, E as ErrorPanel, c as createFormUtils, L as List, f as getRoleName, h as isSummaryItem } from "./CountryField-BO-n2nAh.js";
|
|
13
|
+
import { S as StructuredList } from "./useDataset-RNFlX1-i.js";
|
|
14
14
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
15
15
|
const summary = "adyen-kyc-summary";
|
|
16
16
|
const summaryContent = "adyen-kyc-summary-content";
|
|
@@ -2,30 +2,30 @@
|
|
|
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] = "47ff9b80-1b1f-4d09-8537-bfb3a06de9f8", e._sentryDebugIdIdentifier = "sentry-dbid-47ff9b80-1b1f-4d09-8537-bfb3a06de9f8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet, G as Typography, u as useTranslation, an as Trans, a3 as Icon, B as Button,
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet, G as Typography, u as useTranslation, an as Trans, a3 as Icon, B as Button, Y as IconButton, W as isEmpty$1, a as addResourceBundles, a2 as useAnalyticsContext, c as useLegalEntity, R as ROOT_LE, P as createLogger, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D_0Pta7w.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import { c as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
16
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm
|
|
13
|
+
import { c as useInvalidateRootLegalEntity } from "./useToastContext-CqIJgGTa.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-BPQX_o3v.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-Dgc0gB-O.js";
|
|
16
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-Dggo6PZA.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm--zHGgbxw.js";
|
|
18
18
|
import { signal } from "@preact/signals";
|
|
19
|
-
import {
|
|
20
|
-
import { H as Header, a as Link, g as getFormProps } from "./CountryField-
|
|
21
|
-
import { F as Field } from "./useForm-
|
|
22
|
-
import { a as Alert } from "./Alert-
|
|
19
|
+
import { u as useFormContext, R as RadioGroup } from "./Address-BCTZUD2J.js";
|
|
20
|
+
import { H as Header, a as Link, g as getFormProps } from "./CountryField-BO-n2nAh.js";
|
|
21
|
+
import { F as Field } from "./useForm-C261ZUdn.js";
|
|
22
|
+
import { a as Alert } from "./Alert-DlSROjS7.js";
|
|
23
23
|
import { lazy } from "preact/compat";
|
|
24
|
-
import { I as Image } from "./
|
|
25
|
-
import { S as StructuredList } from "./useDataset-
|
|
26
|
-
import {
|
|
27
|
-
import { C as Card } from "./Card-
|
|
28
|
-
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-
|
|
24
|
+
import { I as Image } from "./Spacer-D-c-0ch_.js";
|
|
25
|
+
import { S as StructuredList } from "./useDataset-RNFlX1-i.js";
|
|
26
|
+
import { B as isEmpty, M as LandingLayout } from "./IndividualOnfido-DH3VYYau.js";
|
|
27
|
+
import { C as Card } from "./Card-I1r9oUx8.js";
|
|
28
|
+
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-HHq3dL3N.js";
|
|
29
29
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
30
30
|
return httpGet({
|
|
31
31
|
baseUrl,
|
|
@@ -2,40 +2,40 @@
|
|
|
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] = "74d59d85-a857-4bb0-8278-685ea75b3123", e._sentryDebugIdIdentifier = "sentry-dbid-74d59d85-a857-4bb0-8278-685ea75b3123");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a_ as reverseMapping, r as LegalEntityTypes, O as TaskTypes, C as CountryCodes, aC as hasText, aD as isValidMinLength, aE as matchesRegex, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aH as hasRepeatedCharacters, aI as isInvalidName, aJ as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation,
|
|
10
|
+
import { a_ as reverseMapping, r as LegalEntityTypes, O as TaskTypes, C as CountryCodes, aC as hasText, aD as isValidMinLength, aE as matchesRegex, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aH as hasRepeatedCharacters, aI as isInvalidName, aJ as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, X as useExperimentsContext, G as Typography, bI as getCountrySpecificTrustTypeOptions, bJ as trustComponentsKeyMapping, bK as trustApiKeyMapping, b as useApiContext, a2 as useAnalyticsContext, bL as trustDocumentMapping, aB as cloneObject, g as getLegalEntityCountry, W as isEmpty$1, b6 as drop, af as getOwnEntityAssociations, c as useLegalEntity, w as skipToken, R as ROOT_LE, a as addResourceBundles, L as Loader, ap as keysOf, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D_0Pta7w.js";
|
|
11
11
|
import { jsx, Fragment, jsxs } from "preact/jsx-runtime";
|
|
12
|
-
import { x as createFormRules, a as validateNotEmptyOnBlur, r as resolveFieldMetadata, C as ContextGuidance, i as useCapabilityProblems, j as getProblemsForEntity } from "./
|
|
13
|
-
import {
|
|
12
|
+
import { x as createFormRules, a as validateNotEmptyOnBlur, r as resolveFieldMetadata, C as ContextGuidance, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D-c-0ch_.js";
|
|
13
|
+
import { a0 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, T as TAX_INFORMATION_FIELD, B as isEmpty, t as taxInformationDefaultFieldMetadata, f as taxInformationDefaultFieldConfig, a7 as exemptedFromTaxDefaultFieldMetadata, a8 as exemptedFromTaxDefaultFieldConfig, h as TaxInformationField, a as getCompanyRegistrationNumberOptions, a1 as countryToTaxInfoTypeMap, a9 as useCapabilities } from "./IndividualOnfido-DH3VYYau.js";
|
|
14
14
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
17
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
18
|
-
import { u as useGlobalDataSlice,
|
|
19
|
-
import { a as useToastContext } from "./useToastContext-
|
|
20
|
-
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { m as mapExistingFile, g as getPageName, u as useScenarioConfiguration } from "./mapExistingFile-
|
|
23
|
-
import {
|
|
24
|
-
import { o as
|
|
25
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
26
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
27
|
-
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./documentUtils-
|
|
28
|
-
import { a as datasetUtilities } from "./useDataset-
|
|
29
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Ba2rxRgb.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-BPQX_o3v.js";
|
|
17
|
+
import { h as hasDataChanged } from "./hasDataChanged-CSn4V18R.js";
|
|
18
|
+
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-COSDbjgb.js";
|
|
19
|
+
import { a as useToastContext } from "./useToastContext-CqIJgGTa.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-ClLFHxX6.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-Dggo6PZA.js";
|
|
22
|
+
import { m as mapExistingFile, g as getPageName, u as useScenarioConfiguration } from "./mapExistingFile-D5fqNt1l.js";
|
|
23
|
+
import { o as operationalAddressIsSameIds, ag as DBA_NAME_FIELD, ah as BUSINESS_REGISTRATION_NUMBER_FIELD, ai as VAT_NUMBER_FIELD, J as doingBusinessAsAbsentFieldMetadata, I as doingBusinessAsFieldMetadata, r as registrationNumberDefaultFieldMetadata, i as getDefaultRegistrationNumberType, s as registrationNumberDefaultFieldConfig, H as exemptFromRegistrationNumberDefaultFieldMetadata, aj as exemptFromRegistrationNumberDefaultFieldConfig, K as defaultFieldMetadata, j as getDefaultVatNumberType, L as defaultFieldConfig, ak as DBANameField, al as BusinessRegistrationNumberField, am as VatNumberField, an as registrationAddressFields, ao as RegistrationAddress, q as inferCompanyRegistrationNumberType, ap as operationalAddressIsSameItems } from "./OnboardingDropinComponent-HHq3dL3N.js";
|
|
24
|
+
import { o as mapAddressLabels, u as useFormContext, A as Address, R as RadioGroup } from "./Address-BCTZUD2J.js";
|
|
25
|
+
import { F as FormWrapper } from "./FormWrapper-B7su5eh3.js";
|
|
26
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-BQZWqXfp.js";
|
|
27
|
+
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./documentUtils-XUGK4RIp.js";
|
|
28
|
+
import { a as datasetUtilities } from "./useDataset-RNFlX1-i.js";
|
|
29
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-KwCfBJn2.js";
|
|
30
30
|
import { f as formatObject, g as getProp } from "./utils-DNSfZiio.js";
|
|
31
|
-
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
32
|
-
import { M as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-
|
|
33
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, E as ErrorPanel, C as CountryField, b as COUNTRY_FIELD, g as getFormProps, k as getNestedOuterFormPropsFromOuterFormProps } from "./CountryField-
|
|
34
|
-
import { u as useForm, F as Field, S as Select } from "./useForm-
|
|
35
|
-
import { a as Alert } from "./Alert-
|
|
36
|
-
import { I as InputText } from "./InputText-
|
|
37
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
38
|
-
import { u as useMultiForm } from "./useMultiForm
|
|
31
|
+
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-Gm2SleFm.js";
|
|
32
|
+
import { M as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-DdFjrLEq.js";
|
|
33
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, E as ErrorPanel, C as CountryField, b as COUNTRY_FIELD, g as getFormProps, k as getNestedOuterFormPropsFromOuterFormProps } from "./CountryField-BO-n2nAh.js";
|
|
34
|
+
import { u as useForm, F as Field, S as Select } from "./useForm-C261ZUdn.js";
|
|
35
|
+
import { a as Alert } from "./Alert-DlSROjS7.js";
|
|
36
|
+
import { I as InputText } from "./InputText-DR70nC51.js";
|
|
37
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-Dgc0gB-O.js";
|
|
38
|
+
import { u as useMultiForm } from "./useMultiForm--zHGgbxw.js";
|
|
39
39
|
import "preact";
|
|
40
40
|
import "classnames";
|
|
41
41
|
import "named-slots";
|
|
@@ -2,16 +2,16 @@
|
|
|
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] = "6d4f5597-1f2e-4f9f-8198-aced6d559f01", e._sentryDebugIdIdentifier = "sentry-dbid-6d4f5597-1f2e-4f9f-8198-aced6d559f01");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, w as skipToken,
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, w as skipToken, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D_0Pta7w.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import {
|
|
13
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./
|
|
14
|
-
import { B as
|
|
12
|
+
import { ac as useTrustMembers } from "./OnboardingDropinComponent-HHq3dL3N.js";
|
|
13
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D-c-0ch_.js";
|
|
14
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-lXErWzqC.js";
|
|
15
15
|
function TrustMemberCompanyPage({
|
|
16
16
|
trustId,
|
|
17
17
|
trustMemberCompanyId,
|
|
@@ -25,7 +25,6 @@ function TrustMemberCompanyPage({
|
|
|
25
25
|
const { data: trustMemberCompanyLe } = useLegalEntity(trustMemberCompanyId ?? skipToken);
|
|
26
26
|
const trustMembers = useTrustMembers();
|
|
27
27
|
const capabilityProblems = useCapabilityProblems();
|
|
28
|
-
const { isExperimentEnabled } = useExperimentsContext();
|
|
29
28
|
addResourceBundles(i18n, [
|
|
30
29
|
{ ns: "business", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Business/language/bg-BG.json": () => import("./bg-BG-DNp7JUA6.js"), "../../Business/language/cs-CZ.json": () => import("./cs-CZ-B58kCXel.js"), "../../Business/language/da-DK.json": () => import("./da-DK-DEdQ-QPp.js"), "../../Business/language/de-DE.json": () => import("./de-DE-DrSSblam.js"), "../../Business/language/el-GR.json": () => import("./el-GR-z3YMr7LZ.js"), "../../Business/language/en-US.json": () => import("./en-US-d4WBvUW7.js"), "../../Business/language/es-ES.json": () => import("./es-ES-ShWaSuJd.js"), "../../Business/language/et-EE.json": () => import("./et-EE-BApmUBuH.js"), "../../Business/language/fi-FI.json": () => import("./fi-FI-ChApf7lf.js"), "../../Business/language/fr-FR.json": () => import("./fr-FR-Q3urMjbl.js"), "../../Business/language/hr-HR.json": () => import("./hr-HR-jGIf2Gtl.js"), "../../Business/language/hu-HU.json": () => import("./hu-HU-BjcOaEwh.js"), "../../Business/language/it-IT.json": () => import("./it-IT-vdMlF0Ha.js"), "../../Business/language/ja-JP.json": () => import("./ja-JP-DsGXGCjF.js"), "../../Business/language/lt-LT.json": () => import("./lt-LT-Y9aKpjC4.js"), "../../Business/language/lv-LV.json": () => import("./lv-LV-Bm1fntV2.js"), "../../Business/language/nl-NL.json": () => import("./nl-NL-C3YJkSIj.js"), "../../Business/language/no-NO.json": () => import("./no-NO-D4BECLky.js"), "../../Business/language/pl-PL.json": () => import("./pl-PL-xxcCzZvq.js"), "../../Business/language/pt-BR.json": () => import("./pt-BR-gh27BC86.js"), "../../Business/language/pt-PT.json": () => import("./pt-PT-DYihdcJx.js"), "../../Business/language/ro-RO.json": () => import("./ro-RO-Di-C4PpC.js"), "../../Business/language/sk-SK.json": () => import("./sk-SK-B0hEG-HR.js"), "../../Business/language/sl-SI.json": () => import("./sl-SI-DdjgSySI.js"), "../../Business/language/sv-SE.json": () => import("./sv-SE-BHkYspm-.js") }), `../../Business/language/${lang}.json`, 5) },
|
|
31
30
|
{ ns: "trust", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-CepHap8j.js"), "../language/cs-CZ.json": () => import("./cs-CZ-BP7niQM9.js"), "../language/da-DK.json": () => import("./da-DK-Dc0QYG8m.js"), "../language/de-DE.json": () => import("./de-DE-Dz2OsS1F.js"), "../language/el-GR.json": () => import("./el-GR-BHG69mXl.js"), "../language/en-US.json": () => import("./en-US-D-B35AoN.js"), "../language/es-ES.json": () => import("./es-ES-BI_jdT67.js"), "../language/et-EE.json": () => import("./et-EE-C_PZO2aI.js"), "../language/fi-FI.json": () => import("./fi-FI-hwzizPnr.js"), "../language/fr-FR.json": () => import("./fr-FR-CYZXbwc9.js"), "../language/hr-HR.json": () => import("./hr-HR-bE6cvRCQ.js"), "../language/hu-HU.json": () => import("./hu-HU-DG-NUDx4.js"), "../language/it-IT.json": () => import("./it-IT-Erh1DIlj.js"), "../language/ja-JP.json": () => import("./ja-JP-ThzG9vIo.js"), "../language/lt-LT.json": () => import("./lt-LT-Nd1uRoIj.js"), "../language/lv-LV.json": () => import("./lv-LV-DKhV24CI.js"), "../language/nl-NL.json": () => import("./nl-NL-O9GCHMDA.js"), "../language/no-NO.json": () => import("./no-NO-CA1aR6Wh.js"), "../language/pl-PL.json": () => import("./pl-PL-BKDK0_G8.js"), "../language/pt-BR.json": () => import("./pt-BR-NtLaWlnZ.js"), "../language/pt-PT.json": () => import("./pt-PT-DSxxVA0f.js"), "../language/ro-RO.json": () => import("./ro-RO-Bybq8JFn.js"), "../language/sk-SK.json": () => import("./sk-SK-C6rMIxpz.js"), "../language/sl-SI.json": () => import("./sl-SI-tPwbFvOI.js"), "../language/sv-SE.json": () => import("./sv-SE-K1QT1cOt.js") }), `../language/${lang}.json`, 3) }
|
|
@@ -38,25 +37,10 @@ function TrustMemberCompanyPage({
|
|
|
38
37
|
const trustMember = newMember ?? trustMembers.find(
|
|
39
38
|
(tm) => tm.trustMemberType !== "undefinedBeneficiary" && tm.legalEntityId === trustMemberCompanyId
|
|
40
39
|
);
|
|
41
|
-
return
|
|
42
|
-
BusinessDetailsMultiformDropin,
|
|
43
|
-
{
|
|
44
|
-
taskType: TaskTypes.TRUST_MEMBER_COMPANY,
|
|
45
|
-
taskName: "businessTrusteeDetails",
|
|
46
|
-
legalEntityResponse: rootLe,
|
|
47
|
-
associatedLegalArrangement: trustLe,
|
|
48
|
-
nestedLegalEntity: trustMemberCompanyLe,
|
|
49
|
-
nestedLegalEntityDetails: trustMember,
|
|
50
|
-
problems,
|
|
51
|
-
country,
|
|
52
|
-
onSubmit,
|
|
53
|
-
handleHomeClick
|
|
54
|
-
}
|
|
55
|
-
) : /* @__PURE__ */ jsx(
|
|
40
|
+
return /* @__PURE__ */ jsx(
|
|
56
41
|
BusinessDetailsDropin,
|
|
57
42
|
{
|
|
58
43
|
taskType: TaskTypes.TRUST_MEMBER_COMPANY,
|
|
59
|
-
taskName: "businessTrusteeDetails",
|
|
60
44
|
legalEntityResponse: rootLe,
|
|
61
45
|
associatedLegalArrangement: trustLe,
|
|
62
46
|
nestedLegalEntity: trustMemberCompanyLe,
|
package/dist/{TrustMemberIndividualPage-2gZsrdqt.js → TrustMemberIndividualPage-D8LSPYGf.js}
RENAMED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4ef62496-3e46-407f-9a66-d293224aeec6", e._sentryDebugIdIdentifier = "sentry-dbid-4ef62496-3e46-407f-9a66-d293224aeec6");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, w as skipToken,
|
|
10
|
+
import { c as useLegalEntity, w as skipToken, X as useExperimentsContext, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D_0Pta7w.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./
|
|
13
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D-c-0ch_.js";
|
|
13
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-SiWSMsi9.js";
|
|
14
14
|
function TrustMemberIndividualPage({
|
|
15
15
|
memberId,
|
|
16
16
|
trustId,
|
package/dist/{TrustMemberRoleAndTypePage-BB41jjVq.js → TrustMemberRoleAndTypePage-CN7oQduU.js}
RENAMED
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "edeab86f-e11b-497e-8c55-b7fb35ad9707", e._sentryDebugIdIdentifier = "sentry-dbid-edeab86f-e11b-497e-8c55-b7fb35ad9707");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { r as LegalEntityTypes, ag as TrustMemberTypes, W as isEmpty, u as useTranslation,
|
|
10
|
+
import { r as LegalEntityTypes, ag as TrustMemberTypes, W as isEmpty, u as useTranslation, X as useExperimentsContext, c as useLegalEntity, w as skipToken, af as getOwnEntityAssociations, C as CountryCodes, P as createLogger, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D_0Pta7w.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
|
-
import {
|
|
12
|
+
import { Q as defaultFieldMetadata, S as defaultFieldConfig, ad as isNewEntity, ae as LegalCompanyNameField, af as LEGAL_COMPANY_NAME_FIELD, ac as useTrustMembers } from "./OnboardingDropinComponent-HHq3dL3N.js";
|
|
13
13
|
import { useEffect, useState } from "preact/hooks";
|
|
14
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
15
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
16
|
-
import { a as useToastContext } from "./useToastContext-
|
|
17
|
-
import { A as ActionBar } from "./ActionBar-
|
|
14
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Ba2rxRgb.js";
|
|
15
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-BPQX_o3v.js";
|
|
16
|
+
import { a as useToastContext } from "./useToastContext-CqIJgGTa.js";
|
|
17
|
+
import { A as ActionBar } from "./ActionBar-BO6XSNuM.js";
|
|
18
18
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
19
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
20
|
-
import { s as summaryStep, S as Summary } from "./Summary-
|
|
21
|
-
import { u as useForm, F as Field } from "./useForm-
|
|
22
|
-
import { m as mergeFieldMetadataIntoProps, d as getFieldProps, H as Header, E as ErrorPanel, c as createFormUtils, C as CountryField, b as COUNTRY_FIELD, s as summaryItem, f as getRoleName } from "./CountryField-
|
|
23
|
-
import {
|
|
24
|
-
import { r as resolveFieldMetadata, R as RadioGroupCard, t as TextArea } from "./
|
|
25
|
-
import { t as trustMemberLegalEntityTypes, i as isOrganizationAndSettlor, s as settlorExemptionReasonWithNoneOfTheAbove, c as couldBeExemptSettlor, a as isExemptSettlor } from "./types-
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-BE3rLf_S.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-D741mrWG.js";
|
|
21
|
+
import { u as useForm, F as Field } from "./useForm-C261ZUdn.js";
|
|
22
|
+
import { m as mergeFieldMetadataIntoProps, d as getFieldProps, H as Header, E as ErrorPanel, c as createFormUtils, C as CountryField, b as COUNTRY_FIELD, s as summaryItem, f as getRoleName } from "./CountryField-BO-n2nAh.js";
|
|
23
|
+
import { a3 as MultiSelectList, a4 as makeSelectItemForRole, a5 as Name, a6 as nameFields } from "./IndividualOnfido-DH3VYYau.js";
|
|
24
|
+
import { r as resolveFieldMetadata, R as RadioGroupCard, t as TextArea } from "./Spacer-D-c-0ch_.js";
|
|
25
|
+
import { t as trustMemberLegalEntityTypes, i as isOrganizationAndSettlor, s as settlorExemptionReasonWithNoneOfTheAbove, c as couldBeExemptSettlor, a as isExemptSettlor } from "./types-CR2U3VAD.js";
|
|
26
26
|
const convertExistingSettlorExemptionReasons = (existingReasons) => {
|
|
27
27
|
if (!existingReasons || !existingReasons.length) return ["noneOfTheAbove"];
|
|
28
28
|
return existingReasons;
|
|
@@ -270,7 +270,7 @@ const TrustRoleAndEntityType = (props) => {
|
|
|
270
270
|
});
|
|
271
271
|
}, [schema, data, isValid, t, errors, valid, id, fieldProblems]);
|
|
272
272
|
const onInputDescription = (e) => {
|
|
273
|
-
const { value } = e.
|
|
273
|
+
const { value } = e.currentTarget;
|
|
274
274
|
handleChangeFor("descriptionUndefinedBeneficiary")(value);
|
|
275
275
|
};
|
|
276
276
|
const changeRoles = (roles) => {
|
|
@@ -2,24 +2,24 @@
|
|
|
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] = "765c8c7b-d568-44c2-8655-6b2b87944133", e._sentryDebugIdIdentifier = "sentry-dbid-765c8c7b-d568-44c2-8655-6b2b87944133");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { af as getOwnEntityAssociations, u as useTranslation, B as Button, r as LegalEntityTypes,
|
|
10
|
+
import { af as getOwnEntityAssociations, u as useTranslation, B as Button, r as LegalEntityTypes, X as useExperimentsContext, ag as TrustMemberTypes, U as TaskStatuses, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, a7 as useGetTaskStatus, bH as DEFAULT_TRUST_MEMBER_REQUIREMENTS, O as TaskTypes, C as CountryCodes, an as Trans, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D_0Pta7w.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
-
import { H as Header, S as StackLayout } from "./CountryField-
|
|
14
|
-
import { a as useToastContext } from "./useToastContext-
|
|
15
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
16
|
-
import {
|
|
17
|
-
import { C as ContextGuidance } from "./
|
|
18
|
-
import { A as ActionBar } from "./ActionBar-
|
|
12
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-BPQX_o3v.js";
|
|
13
|
+
import { H as Header, S as StackLayout } from "./CountryField-BO-n2nAh.js";
|
|
14
|
+
import { a as useToastContext } from "./useToastContext-CqIJgGTa.js";
|
|
15
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-Pgb7_79V.js";
|
|
16
|
+
import { ac as useTrustMembers } from "./OnboardingDropinComponent-HHq3dL3N.js";
|
|
17
|
+
import { C as ContextGuidance } from "./Spacer-D-c-0ch_.js";
|
|
18
|
+
import { A as ActionBar } from "./ActionBar-BO6XSNuM.js";
|
|
19
19
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
20
|
-
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-
|
|
21
|
-
import { a as Alert } from "./Alert-
|
|
22
|
-
import { E as EntityAssociation } from "./EntityAssociation-
|
|
20
|
+
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-Dkb_9kLQ.js";
|
|
21
|
+
import { a as Alert } from "./Alert-DlSROjS7.js";
|
|
22
|
+
import { E as EntityAssociation } from "./EntityAssociation-CYAh0KGI.js";
|
|
23
23
|
const deleteAssociatedTrustMember = async ({
|
|
24
24
|
associatedTrustMember,
|
|
25
25
|
trust,
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3cdd2ed9-903c-4ffe-8a5f-8215b3e75634", e._sentryDebugIdIdentifier = "sentry-dbid-3cdd2ed9-903c-4ffe-8a5f-8215b3e75634");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, w as skipToken,
|
|
10
|
+
import { c as useLegalEntity, w as skipToken, X as useExperimentsContext, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D_0Pta7w.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./
|
|
13
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D-c-0ch_.js";
|
|
13
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-SiWSMsi9.js";
|
|
14
14
|
function UnincorporatedPartnershipIndividualPage({
|
|
15
15
|
memberId,
|
|
16
16
|
partnershipId,
|
|
@@ -2,16 +2,16 @@
|
|
|
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] = "8168b5f1-17a7-4a43-8561-8c52893b2f19", e._sentryDebugIdIdentifier = "sentry-dbid-8168b5f1-17a7-4a43-8561-8c52893b2f19");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, w as skipToken,
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, w as skipToken, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D_0Pta7w.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-
|
|
13
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./
|
|
14
|
-
import { B as
|
|
12
|
+
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-HC3erocB.js";
|
|
13
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D-c-0ch_.js";
|
|
14
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-lXErWzqC.js";
|
|
15
15
|
function UnincorporatedPartnershipMemberCompanyPage({
|
|
16
16
|
partnershipId,
|
|
17
17
|
partnershipMemberCompanyId,
|
|
@@ -27,7 +27,6 @@ function UnincorporatedPartnershipMemberCompanyPage({
|
|
|
27
27
|
);
|
|
28
28
|
const partnershipMembers = useUnincorporatedPartnershipMembers();
|
|
29
29
|
const capabilityProblems = useCapabilityProblems();
|
|
30
|
-
const { isExperimentEnabled } = useExperimentsContext();
|
|
31
30
|
addResourceBundles(i18n, [
|
|
32
31
|
{ ns: "business", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Business/language/bg-BG.json": () => import("./bg-BG-DNp7JUA6.js"), "../../Business/language/cs-CZ.json": () => import("./cs-CZ-B58kCXel.js"), "../../Business/language/da-DK.json": () => import("./da-DK-DEdQ-QPp.js"), "../../Business/language/de-DE.json": () => import("./de-DE-DrSSblam.js"), "../../Business/language/el-GR.json": () => import("./el-GR-z3YMr7LZ.js"), "../../Business/language/en-US.json": () => import("./en-US-d4WBvUW7.js"), "../../Business/language/es-ES.json": () => import("./es-ES-ShWaSuJd.js"), "../../Business/language/et-EE.json": () => import("./et-EE-BApmUBuH.js"), "../../Business/language/fi-FI.json": () => import("./fi-FI-ChApf7lf.js"), "../../Business/language/fr-FR.json": () => import("./fr-FR-Q3urMjbl.js"), "../../Business/language/hr-HR.json": () => import("./hr-HR-jGIf2Gtl.js"), "../../Business/language/hu-HU.json": () => import("./hu-HU-BjcOaEwh.js"), "../../Business/language/it-IT.json": () => import("./it-IT-vdMlF0Ha.js"), "../../Business/language/ja-JP.json": () => import("./ja-JP-DsGXGCjF.js"), "../../Business/language/lt-LT.json": () => import("./lt-LT-Y9aKpjC4.js"), "../../Business/language/lv-LV.json": () => import("./lv-LV-Bm1fntV2.js"), "../../Business/language/nl-NL.json": () => import("./nl-NL-C3YJkSIj.js"), "../../Business/language/no-NO.json": () => import("./no-NO-D4BECLky.js"), "../../Business/language/pl-PL.json": () => import("./pl-PL-xxcCzZvq.js"), "../../Business/language/pt-BR.json": () => import("./pt-BR-gh27BC86.js"), "../../Business/language/pt-PT.json": () => import("./pt-PT-DYihdcJx.js"), "../../Business/language/ro-RO.json": () => import("./ro-RO-Di-C4PpC.js"), "../../Business/language/sk-SK.json": () => import("./sk-SK-B0hEG-HR.js"), "../../Business/language/sl-SI.json": () => import("./sl-SI-DdjgSySI.js"), "../../Business/language/sv-SE.json": () => import("./sv-SE-BHkYspm-.js") }), `../../Business/language/${lang}.json`, 5) }
|
|
33
32
|
]);
|
|
@@ -41,25 +40,10 @@ function UnincorporatedPartnershipMemberCompanyPage({
|
|
|
41
40
|
) : void 0;
|
|
42
41
|
const country = getLegalEntityCountry(partnershipMemberCompanyLe ?? partnershipLe);
|
|
43
42
|
const partnershipMember = newMember ?? partnershipMembers.find((member) => member.legalEntityId === partnershipMemberCompanyId);
|
|
44
|
-
return
|
|
45
|
-
BusinessDetailsMultiformDropin,
|
|
46
|
-
{
|
|
47
|
-
taskType: TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY,
|
|
48
|
-
taskName: "businessDetails",
|
|
49
|
-
legalEntityResponse: rootLe,
|
|
50
|
-
associatedLegalArrangement: partnershipLe,
|
|
51
|
-
nestedLegalEntity: partnershipMemberCompanyLe,
|
|
52
|
-
nestedLegalEntityDetails: partnershipMember,
|
|
53
|
-
problems,
|
|
54
|
-
country,
|
|
55
|
-
onSubmit,
|
|
56
|
-
handleHomeClick
|
|
57
|
-
}
|
|
58
|
-
) : /* @__PURE__ */ jsx(
|
|
43
|
+
return /* @__PURE__ */ jsx(
|
|
59
44
|
BusinessDetailsDropin,
|
|
60
45
|
{
|
|
61
46
|
taskType: TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY,
|
|
62
|
-
taskName: "businessDetails",
|
|
63
47
|
legalEntityResponse: rootLe,
|
|
64
48
|
associatedLegalArrangement: partnershipLe,
|
|
65
49
|
nestedLegalEntity: partnershipMemberCompanyLe,
|
|
@@ -2,21 +2,21 @@
|
|
|
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] = "9d9754d5-c23b-4c60-8e5a-6fdc22d5c6cf", e._sentryDebugIdIdentifier = "sentry-dbid-9d9754d5-c23b-4c60-8e5a-6fdc22d5c6cf");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { V as useI18nContext, W as isEmpty, u as useTranslation, B as Button, r as LegalEntityTypes, c as useLegalEntity, w as skipToken, a as addResourceBundles, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { V as useI18nContext, W as isEmpty, u as useTranslation, B as Button, r as LegalEntityTypes, c as useLegalEntity, w as skipToken, a as addResourceBundles, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D_0Pta7w.js";
|
|
11
11
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-
|
|
12
|
+
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-HC3erocB.js";
|
|
13
13
|
import { useState } from "preact/hooks";
|
|
14
|
-
import { F as Field, u as useForm } from "./useForm-
|
|
15
|
-
import { U as UnincorporatedPartnershipMemberTypes, H as Header, c as createFormUtils } from "./CountryField-
|
|
16
|
-
import { R as RadioGroupCard } from "./
|
|
17
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
18
|
-
import { t as trustMemberLegalEntityTypes } from "./types-
|
|
19
|
-
import { R as RadioGroup } from "./Address-
|
|
14
|
+
import { F as Field, u as useForm } from "./useForm-C261ZUdn.js";
|
|
15
|
+
import { U as UnincorporatedPartnershipMemberTypes, H as Header, c as createFormUtils } from "./CountryField-BO-n2nAh.js";
|
|
16
|
+
import { R as RadioGroupCard } from "./Spacer-D-c-0ch_.js";
|
|
17
|
+
import { F as FormNavigation } from "./FormNavigation-BE3rLf_S.js";
|
|
18
|
+
import { t as trustMemberLegalEntityTypes } from "./types-CR2U3VAD.js";
|
|
19
|
+
import { R as RadioGroup } from "./Address-BCTZUD2J.js";
|
|
20
20
|
const adyenKycRoleAndTypeContainer = "adyen-kyc-adyen-kyc-role-and-type-container";
|
|
21
21
|
const adyenKycRoleAndTypeActionBar = "adyen-kyc-adyen-kyc-role-and-type-action-bar";
|
|
22
22
|
const inlineRadioGroup = "adyen-kyc-inline-radio-group";
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9b0bfc42-e956-41ba-aa63-78a7bb9cd895", e._sentryDebugIdIdentifier = "sentry-dbid-9b0bfc42-e956-41ba-aa63-78a7bb9cd895");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, r as LegalEntityTypes, a8 as useGlobalStore, a as addResourceBundles, a7 as useGetTaskStatus, L as Loader, O as TaskTypes, B as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, r as LegalEntityTypes, a8 as useGlobalStore, a as addResourceBundles, a7 as useGetTaskStatus, L as Loader, O as TaskTypes, B as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D_0Pta7w.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { H as Header, S as StackLayout } from "./CountryField-
|
|
15
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
16
|
-
import { u as useUnincorporatedPartnershipMembers, d as deleteUnincorporatedPartnershipMember } from "./useUnincorporatedPartnershipMembers-
|
|
17
|
-
import { a as Alert } from "./Alert-
|
|
18
|
-
import { A as ActionBar } from "./ActionBar-
|
|
13
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-BPQX_o3v.js";
|
|
14
|
+
import { H as Header, S as StackLayout } from "./CountryField-BO-n2nAh.js";
|
|
15
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-Pgb7_79V.js";
|
|
16
|
+
import { u as useUnincorporatedPartnershipMembers, d as deleteUnincorporatedPartnershipMember } from "./useUnincorporatedPartnershipMembers-HC3erocB.js";
|
|
17
|
+
import { a as Alert } from "./Alert-DlSROjS7.js";
|
|
18
|
+
import { A as ActionBar } from "./ActionBar-BO6XSNuM.js";
|
|
19
19
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
20
|
-
import { E as EntityAssociation } from "./EntityAssociation-
|
|
20
|
+
import { E as EntityAssociation } from "./EntityAssociation-CYAh0KGI.js";
|
|
21
21
|
const alertHeader = "adyen-kyc-alert-header";
|
|
22
22
|
const styles = {
|
|
23
23
|
alertHeader
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2e78c5ba-2ec3-454f-9338-af20228af488", e._sentryDebugIdIdentifier = "sentry-dbid-2e78c5ba-2ec3-454f-9338-af20228af488");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext,
|
|
11
|
-
import { c as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
10
|
+
import { b as useApiContext, $ as useMutation, aN as httpDelete, u as useTranslation } from "./StoreProvider-D_0Pta7w.js";
|
|
11
|
+
import { c as useInvalidateRootLegalEntity } from "./useToastContext-CqIJgGTa.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
|
-
import { a as Alert } from "./Alert-
|
|
13
|
+
import { a as Alert } from "./Alert-DlSROjS7.js";
|
|
14
14
|
const deleteTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
15
15
|
return httpDelete({
|
|
16
16
|
baseUrl,
|
|
@@ -2,17 +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] = "3d6e5db6-e7d1-470c-9ec7-6f39a5cf00b1", e._sentryDebugIdIdentifier = "sentry-dbid-3d6e5db6-e7d1-470c-9ec7-6f39a5cf00b1");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext,
|
|
10
|
+
import { b as useApiContext, $ as useMutation, k as httpPost, P as createLogger, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, L as Loader, B as Button } from "./StoreProvider-D_0Pta7w.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
13
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-DytPj9Ai.js";
|
|
14
14
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
15
|
-
import { a as Alert } from "./Alert-
|
|
15
|
+
import { a as Alert } from "./Alert-DlSROjS7.js";
|
|
16
16
|
const generateOnboardingLink = async (legalEntityId, baseUrl, data) => {
|
|
17
17
|
return httpPost(
|
|
18
18
|
{
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b18ee4ae-e3eb-4a85-8f5d-6695dd694d3d", e._sentryDebugIdIdentifier = "sentry-dbid-b18ee4ae-e3eb-4a85-8f5d-6695dd694d3d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
|
-
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-
|
|
12
|
+
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-D8CEfrp4.js";
|
|
13
|
+
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-C6wgWrZx.js";
|
|
14
14
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
15
15
|
const AdyenBusinessFinancing = ({
|
|
16
16
|
rootlegalentityid,
|
|
@@ -24,6 +24,9 @@ const AdyenBusinessFinancing = ({
|
|
|
24
24
|
const handleOnComplete = (data) => {
|
|
25
25
|
emitAdyenSdkEvent(eventEmitterRef, "complete", data);
|
|
26
26
|
};
|
|
27
|
+
const handleOnClose = () => {
|
|
28
|
+
emitAdyenSdkEvent(eventEmitterRef, "close");
|
|
29
|
+
};
|
|
27
30
|
return /* @__PURE__ */ jsx("div", { ref: eventEmitterRef, style: "width:100%;", children: /* @__PURE__ */ jsx(
|
|
28
31
|
EmbedShell,
|
|
29
32
|
{
|
|
@@ -38,7 +41,8 @@ const AdyenBusinessFinancing = ({
|
|
|
38
41
|
BusinessFinancingComponent,
|
|
39
42
|
{
|
|
40
43
|
legalEntityId: rootlegalentityid,
|
|
41
|
-
onSubmitSuccess: handleOnComplete
|
|
44
|
+
onSubmitSuccess: handleOnComplete,
|
|
45
|
+
handleCloseClick: handleOnClose
|
|
42
46
|
}
|
|
43
47
|
)
|
|
44
48
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
|
-
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
12
|
+
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-D8CEfrp4.js";
|
|
13
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-D14kgQET.js";
|
|
14
14
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
15
15
|
const AdyenIndividual = ({
|
|
16
16
|
rootlegalentityid,
|