@adyen/kyc-components 3.89.0 → 3.90.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-Dw5F8ZKQ.js → AcceptTermsOfServiceComponent-C15N0ZUF.js} +42 -60
- package/dist/{Accordion-DP7ihhCi.js → Accordion-DxAvtqyN.js} +1 -1
- package/dist/{AccountSetupRejected-BjjuX_Vh.js → AccountSetupRejected-CJEC9V31.js} +3 -3
- package/dist/{ActionBar-LBeWfJy2.js → ActionBar-CMaTcnyU.js} +1 -1
- package/dist/{Address-DvJBiSDY.js → Address-DhPHns9b.js} +25 -56
- package/dist/{Alert-uQtl0hSh.js → Alert-4jvSqn2I.js} +6 -6
- package/dist/{Avatar-CDLbKRZS.js → Avatar-CowRz5rB.js} +1 -1
- package/dist/{BusinessDetailsMultiformDropin-DtnVx-uQ.js → BusinessDetailsDropin-CoQA-QZn.js} +1268 -3090
- package/dist/{BusinessFinancingComponent-DQ6OoqwG.js → BusinessFinancingComponent-BUXvPO_t.js} +6 -5
- package/dist/{BusinessFinancingDropin-Bw_jVxVY.js → BusinessFinancingDropin-D7HQ0fxW.js} +23 -33
- package/dist/{BusinessFinancingPage-BCecT_U6.js → BusinessFinancingPage-BNCloKBm.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-Bohuv12F.js → BusinessTypeSelectionPage-ClaW0q1b.js} +8 -9
- package/dist/{Card-BhinbOTz.js → Card-B4wvck_n.js} +2 -2
- package/dist/{ConstitutionalDocument-CoMojmXO.js → ConstitutionalDocument-SKhWRnWx.js} +3 -3
- package/dist/{CountryField-DNOtItPS.js → CountryField-BaYyWFXk.js} +6 -6
- package/dist/{CreateIndividualComponent-85qgG0sT.js → CreateIndividualComponent-M_rhCRjG.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-D4-Yla9J.js → CreateTransferInstrumentComponent-BJxSbJY3.js} +4 -4
- package/dist/{Currency-6i-D39G4.js → Currency-Bl8pKCpj.js} +7 -7
- package/dist/{CustomerSupport-CP6NVYUM.js → CustomerSupport-BBp_kAB6.js} +10 -10
- package/dist/{DebugModal-BtwHvJcw.js → DebugModal-D6ROPhng.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-DWbiEKY5.js → DecisionMakerDetailsPage-BtUhVF6C.js} +6 -6
- package/dist/{DecisionMakers-rPNoo6IF.js → DecisionMakers-Ctwwbd-q.js} +20 -20
- package/dist/{EmbeddedStatus-BCUb0GA8.js → EmbeddedStatus-B33cCsYP.js} +2 -2
- package/dist/{EndStateLayout-Cy7__eeV.js → EndStateLayout-C-njoytF.js} +1 -1
- package/dist/{EntityAssociation-BEUkGJTF.js → EntityAssociation-94E5qp1C.js} +8 -8
- package/dist/{EntityGuidanceStatus-Cg4xuAhZ.js → EntityGuidanceStatus-SgjcGk5p.js} +2 -2
- package/dist/FormFlow-Poe97Z6i.js +186 -0
- package/dist/{FormNavigation-Bm-rQTB6.js → FormNavigation-B0D8RWB0.js} +3 -3
- package/dist/{FormWrapper-BL7nl_vR.js → FormWrapper-4wa6SP_P.js} +10 -10
- package/dist/{IndividualOnfido-Dx7sDvU7.js → IndividualOnfido-fz_JSugv.js} +71 -74
- package/dist/{IndividualOnfidoDropin-BLYsnG1Z.js → IndividualOnfidoDropin-Duc8XgvR.js} +30 -33
- package/dist/{InputText-BFGfIa6S.js → InputText--yiwNMDS.js} +6 -6
- package/dist/{Introduction-WI4letTI.js → Introduction-T5fyomwa.js} +4 -4
- package/dist/{JpAddress-CN0KeBU3.js → JpAddress-BrDgtuyI.js} +8 -8
- package/dist/{LegalRepresentativeDetailsPage-sC9jXdl9.js → LegalRepresentativeDetailsPage-BK0gMJgs.js} +4 -4
- package/dist/{ListItem-BSmaxh8U.js → ListItem-B8H6RY9f.js} +2 -2
- package/dist/{ManageIndividualComponent-B2X32yuw.js → ManageIndividualComponent-BrBjHu3-.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BhWr8WWC.js → ManageTermsOfServiceComponent-Dqy8vOUA.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-DZhADt5d.js → ManageTransferInstrumentComponent-Bx6Netyq.js} +12 -12
- package/dist/{MaybeModal-CM-ZFMXJ.js → MaybeModal-BwPaMUks.js} +15 -4
- package/dist/{Modal-BD_n0sBL.js → Modal-DupiiqVr.js} +4 -4
- package/dist/{OnboardingDropinComponent-BJwAxfRi.js → OnboardingDropinComponent-Do1mhuK-.js} +1406 -1731
- package/dist/{PayoutDetailsDropin-DLvSAnjp.js → PayoutDetailsDropin-BvEqGrIA.js} +60 -40
- package/dist/ProgressBar-B7gTQncy.js +47 -0
- package/dist/{Review-CiY3BsOG.js → Review-BBENKcjD.js} +7 -7
- package/dist/{RootBusinessDetailsPage-Srl5cazZ.js → RootBusinessDetailsPage-DpdZ4vqu.js} +7 -22
- package/dist/{RootBusinessLinesPage-Cfenkise.js → RootBusinessLinesPage-YoF28HOQ.js} +146 -41
- package/dist/{RootIndividualDetailsPage-DGAk88Y3.js → RootIndividualDetailsPage-DNivhou9.js} +6 -6
- package/dist/{SignPCIComponent-DJi8Bz9v.js → SignPCIComponent-DN5PE2Sc.js} +10 -10
- package/dist/{SingpassSelection-Xat6qz4U.js → SingpassSelection-uLhOFdfh.js} +4 -4
- package/dist/{SoleProprietorshipPage-CdgDcCTM.js → SoleProprietorshipPage-BUwCiVtH.js} +5 -19
- package/dist/{SourceOfFundsPage-Ua8eMuPJ.js → SourceOfFundsPage-D7B5ReUC.js} +25 -25
- package/dist/{fieldConfigurations-Cn3dxVBx.js → Spacer-D3By5Y6E.js} +34 -24
- package/dist/{StepProgressIndicator-DMCfBNo8.js → StepProgressIndicator-CvbjwImE.js} +1 -1
- package/dist/{StoreProvider-DNjJYfsz.js → StoreProvider-BLtYcc3h.js} +130 -98
- package/dist/{Summary-CAbxQN0G.js → Summary-Buc_vuRS.js} +4 -4
- package/dist/{TaxReportingDropin-OWQZjL5Q.js → TaxReportingDropin-1dhULaM8.js} +16 -16
- package/dist/{TrustDetailsPage-C7M97OVV.js → TrustDetailsPage-BtRNXF3Z.js} +27 -27
- package/dist/{TrustMemberCompanyPage-4kTYgCkN.js → TrustMemberCompanyPage-B2Khgije.js} +6 -22
- package/dist/{TrustMemberIndividualPage-VmdZ3ykT.js → TrustMemberIndividualPage-CL7Yv-FS.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-DAut1Py_.js → TrustMemberRoleAndTypePage-F_7iqOo2.js} +15 -15
- package/dist/{TrustMembersOverview-BcS1acNZ.js → TrustMembersOverview-BfI58H5u.js} +12 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-DzBRXrgY.js → UnincorporatedPartnershipIndividualPage-Doc7RvyT.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-B3JCg123.js → UnincorporatedPartnershipMemberCompanyPage-D5Arebes.js} +6 -22
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DxkpBhtl.js → UnincorporatedPartnershipMemberRoleAndTypePage-oCjJEXYT.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-CSLXoQ00.js → UnincorporatedPartnershipMembersOverview-Dh6kUlMq.js} +9 -9
- package/dist/{VerificationErrorAlert-BiZAvrYw.js → VerificationErrorAlert-DUpyVrCU.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-DTi9b2nQ.js → ViewVerificationStatusComponent-BcauKtPB.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-Bba-hcta.js → debouncedInputEvent-lq58yTg6.js} +2 -2
- package/dist/{documentUtils-C5RFy4hT.js → documentUtils-CdJ4Sc-B.js} +3 -3
- package/dist/{dropinUtils-C0F3KZO2.js → dropinUtils-L7Zcqfg9.js} +4 -4
- package/dist/en-US-AgtwE4Fl.js +63 -0
- package/dist/{getFieldsWithExistingData-DWED-oo0.js → getFieldsWithExistingData-D1vsiEEX.js} +1 -1
- package/dist/{getName-BCYK96HK.js → getName-Du9QmiTF.js} +2 -9
- package/dist/{hasDataChanged-Bb4fjyW0.js → hasDataChanged-BWko8Wa4.js} +2 -2
- package/dist/{iframeWidget-DHRg4j16.js → iframeWidget-CQOg-QHE.js} +4 -4
- package/dist/info-filled-SQotHmT9.js +17 -0
- package/dist/{localizeDateString-D2VELC17.js → localizeDateString-BJJ8B0Hs.js} +1 -1
- package/dist/{mapExistingFile-NFM0K_Ff.js → mapExistingFile-D_q68JAm.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-DTGPz1l3.js → mapFinancialReportsToFinancialInformation-BJZ89yJV.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-CWaLWjPG.js → mapJpAddressSchemaToAddressLocalizations-CHcGrBAs.js} +3 -3
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-cQypVW3G.js → mapLegalEntityToIndividualOnfidoSchema-Cqerm1wl.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-C7KdOS7n.js → mapTransferInstrumentToPayoutAccount-CboZmyKj.js} +1 -1
- package/dist/{process-field-configurations-C0KZNWpM.js → process-field-configurations-D7pGneC_.js} +3 -3
- package/dist/{resolveEnvironment-DTtUw6Ma.js → resolveEnvironment-Q9yFO0a9.js} +3 -3
- package/dist/{rules-BAJYGmzD.js → rules-LsdRG331.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-ah0h1b0B.js → types-B9IVn1Zt.js} +1 -1
- package/dist/{types-CZiCRYe4.js → types-CBwe7M_O.js} +1 -1
- package/dist/{types-CHr4VLHl.js → types-Dk94b8kx.js} +7 -6
- package/dist/{types-Dkw7AD_s.js → types-GIbEJ_5v.js} +1 -1
- package/dist/{useAssociatedLegalEntity-Bpoe0x8J.js → useAssociatedLegalEntity-BLnxc-jt.js} +1 -1
- package/dist/{useCreateLegalEntity-DtaRGhpP.js → useCreateLegalEntity-BD9PcstC.js} +2 -2
- package/dist/{useDataset-C9sM8-li.js → useDataset-BEeSTdTX.js} +4 -4
- package/dist/{useForm-qFwVSrMn.js → useForm-ByJEO5yi.js} +10 -9
- package/dist/{useGlobalData-CLwdtjOK.js → useGlobalData-CyYyTpXW.js} +5 -5
- package/dist/{useMultiForm-dL39Nti3.js → useMultiForm-CEmUnHA9.js} +3 -3
- package/dist/{useOnboardingStatus-Dt6w5foF.js → useOnboardingStatus-bt6QJFFl.js} +1 -1
- package/dist/{useScenarios-CYjnoPWJ.js → useScenarios-BdwSb0HX.js} +2 -2
- package/dist/{useTermsOfServiceStatus-CkN3EPcT.js → useTermsOfServiceStatus-B51PQgY1.js} +1 -1
- package/dist/{useToastContext-DWDTMVQy.js → useToastContext-DGtZBX02.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-BUD479gc.js → useUnincorporatedPartnershipMembers-C5OUWIiP.js} +4 -4
- package/dist/{useUpdateBusinessLines-CuSEV6Pn.js → useUpdateBusinessLines-DKicYyWN.js} +2 -2
- package/dist/{useUpdateLegalEntity-D8pso2fd.js → useUpdateLegalEntity-oC3jKNtm.js} +3 -3
- package/dist/{utils-d_sm0jYZ.js → utils-BYzUEzaG.js} +6 -6
- package/dist/{utils-C1IouPHe.js → utils-DaXTVI0w.js} +3 -3
- package/dist/{validate-D3pmCoUJ.js → validate-BTAaa27x.js} +1 -1
- package/dist/{validate-CUiZu8-L.js → validate-DBklijcP.js} +1 -1
- package/dist/{validationError-XPhMc766.js → validationError-B6JKQAKI.js} +1 -1
- package/package.json +2 -2
- package/dist/FormFlow-0LZI37J0.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-BLtYcc3h.js";
|
|
12
|
+
import { H as Header, E as ErrorPanel, c as createFormUtils, L as List, f as getRoleName, h as isSummaryItem } from "./CountryField-BaYyWFXk.js";
|
|
13
|
+
import { S as StructuredList } from "./useDataset-BEeSTdTX.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-BLtYcc3h.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-DGtZBX02.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-oC3jKNtm.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-Poe97Z6i.js";
|
|
16
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-L7Zcqfg9.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-CEmUnHA9.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-DhPHns9b.js";
|
|
20
|
+
import { H as Header, a as Link, g as getFormProps } from "./CountryField-BaYyWFXk.js";
|
|
21
|
+
import { F as Field } from "./useForm-ByJEO5yi.js";
|
|
22
|
+
import { a as Alert } from "./Alert-4jvSqn2I.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-D3By5Y6E.js";
|
|
25
|
+
import { S as StructuredList } from "./useDataset-BEeSTdTX.js";
|
|
26
|
+
import { B as isEmpty, M as LandingLayout } from "./IndividualOnfido-fz_JSugv.js";
|
|
27
|
+
import { C as Card } from "./Card-B4wvck_n.js";
|
|
28
|
+
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-Do1mhuK-.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-BLtYcc3h.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-D3By5Y6E.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-fz_JSugv.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-BD9PcstC.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-oC3jKNtm.js";
|
|
17
|
+
import { h as hasDataChanged } from "./hasDataChanged-BWko8Wa4.js";
|
|
18
|
+
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-CyYyTpXW.js";
|
|
19
|
+
import { a as useToastContext } from "./useToastContext-DGtZBX02.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-D7pGneC_.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-L7Zcqfg9.js";
|
|
22
|
+
import { m as mapExistingFile, g as getPageName, u as useScenarioConfiguration } from "./mapExistingFile-D_q68JAm.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-Do1mhuK-.js";
|
|
24
|
+
import { o as mapAddressLabels, u as useFormContext, A as Address, R as RadioGroup } from "./Address-DhPHns9b.js";
|
|
25
|
+
import { F as FormWrapper } from "./FormWrapper-4wa6SP_P.js";
|
|
26
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-B6JKQAKI.js";
|
|
27
|
+
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./documentUtils-CdJ4Sc-B.js";
|
|
28
|
+
import { a as datasetUtilities } from "./useDataset-BEeSTdTX.js";
|
|
29
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-D1vsiEEX.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-CBwe7M_O.js";
|
|
32
|
+
import { M as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-SKhWRnWx.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-BaYyWFXk.js";
|
|
34
|
+
import { u as useForm, F as Field, S as Select } from "./useForm-ByJEO5yi.js";
|
|
35
|
+
import { a as Alert } from "./Alert-4jvSqn2I.js";
|
|
36
|
+
import { I as InputText } from "./InputText--yiwNMDS.js";
|
|
37
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-Poe97Z6i.js";
|
|
38
|
+
import { u as useMultiForm } from "./useMultiForm-CEmUnHA9.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-BLtYcc3h.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-Do1mhuK-.js";
|
|
13
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D3By5Y6E.js";
|
|
14
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-CoQA-QZn.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-VmdZ3ykT.js → TrustMemberIndividualPage-CL7Yv-FS.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-BLtYcc3h.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-D3By5Y6E.js";
|
|
13
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Duc8XgvR.js";
|
|
14
14
|
function TrustMemberIndividualPage({
|
|
15
15
|
memberId,
|
|
16
16
|
trustId,
|
package/dist/{TrustMemberRoleAndTypePage-DAut1Py_.js → TrustMemberRoleAndTypePage-F_7iqOo2.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-BLtYcc3h.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-Do1mhuK-.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-BD9PcstC.js";
|
|
15
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-oC3jKNtm.js";
|
|
16
|
+
import { a as useToastContext } from "./useToastContext-DGtZBX02.js";
|
|
17
|
+
import { A as ActionBar } from "./ActionBar-CMaTcnyU.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-B0D8RWB0.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-Buc_vuRS.js";
|
|
21
|
+
import { u as useForm, F as Field } from "./useForm-ByJEO5yi.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-BaYyWFXk.js";
|
|
23
|
+
import { a3 as MultiSelectList, a4 as makeSelectItemForRole, a5 as Name, a6 as nameFields } from "./IndividualOnfido-fz_JSugv.js";
|
|
24
|
+
import { r as resolveFieldMetadata, R as RadioGroupCard, t as TextArea } from "./Spacer-D3By5Y6E.js";
|
|
25
|
+
import { t as trustMemberLegalEntityTypes, i as isOrganizationAndSettlor, s as settlorExemptionReasonWithNoneOfTheAbove, c as couldBeExemptSettlor, a as isExemptSettlor } from "./types-GIbEJ_5v.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-BLtYcc3h.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-oC3jKNtm.js";
|
|
13
|
+
import { H as Header, S as StackLayout } from "./CountryField-BaYyWFXk.js";
|
|
14
|
+
import { a as useToastContext } from "./useToastContext-DGtZBX02.js";
|
|
15
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BLnxc-jt.js";
|
|
16
|
+
import { ac as useTrustMembers } from "./OnboardingDropinComponent-Do1mhuK-.js";
|
|
17
|
+
import { C as ContextGuidance } from "./Spacer-D3By5Y6E.js";
|
|
18
|
+
import { A as ActionBar } from "./ActionBar-CMaTcnyU.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-SgjcGk5p.js";
|
|
21
|
+
import { a as Alert } from "./Alert-4jvSqn2I.js";
|
|
22
|
+
import { E as EntityAssociation } from "./EntityAssociation-94E5qp1C.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-BLtYcc3h.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-D3By5Y6E.js";
|
|
13
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Duc8XgvR.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-BLtYcc3h.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-C5OUWIiP.js";
|
|
13
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D3By5Y6E.js";
|
|
14
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-CoQA-QZn.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-BLtYcc3h.js";
|
|
11
11
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-
|
|
12
|
+
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-C5OUWIiP.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-ByJEO5yi.js";
|
|
15
|
+
import { U as UnincorporatedPartnershipMemberTypes, H as Header, c as createFormUtils } from "./CountryField-BaYyWFXk.js";
|
|
16
|
+
import { R as RadioGroupCard } from "./Spacer-D3By5Y6E.js";
|
|
17
|
+
import { F as FormNavigation } from "./FormNavigation-B0D8RWB0.js";
|
|
18
|
+
import { t as trustMemberLegalEntityTypes } from "./types-GIbEJ_5v.js";
|
|
19
|
+
import { R as RadioGroup } from "./Address-DhPHns9b.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-BLtYcc3h.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-oC3jKNtm.js";
|
|
14
|
+
import { H as Header, S as StackLayout } from "./CountryField-BaYyWFXk.js";
|
|
15
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BLnxc-jt.js";
|
|
16
|
+
import { u as useUnincorporatedPartnershipMembers, d as deleteUnincorporatedPartnershipMember } from "./useUnincorporatedPartnershipMembers-C5OUWIiP.js";
|
|
17
|
+
import { a as Alert } from "./Alert-4jvSqn2I.js";
|
|
18
|
+
import { A as ActionBar } from "./ActionBar-CMaTcnyU.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-94E5qp1C.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-BLtYcc3h.js";
|
|
11
|
+
import { c as useInvalidateRootLegalEntity } from "./useToastContext-DGtZBX02.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
|
-
import { a as Alert } from "./Alert-
|
|
13
|
+
import { a as Alert } from "./Alert-4jvSqn2I.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-BLtYcc3h.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-bt6QJFFl.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-4jvSqn2I.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-Q9yFO0a9.js";
|
|
13
|
+
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-BUXvPO_t.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-Q9yFO0a9.js";
|
|
13
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-M_rhCRjG.js";
|
|
14
14
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
15
15
|
const AdyenIndividual = ({
|
|
16
16
|
rootlegalentityid,
|