@adyen/kyc-components 3.74.3 → 3.74.5
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-Ck5vcITZ.js → AcceptTermsOfServiceComponent-BtYXTKAI.js} +11 -11
- package/dist/{AccountSetupRejected-BTxTladO.js → AccountSetupRejected-CvwpNXeD.js} +2 -2
- package/dist/{Avatar-D3cma0Ca.js → Avatar-DTxJSOVb.js} +1 -1
- package/dist/{BusinessDetailsDropin-iP-5Iee_.js → BusinessDetailsDropin-CnSzgAux.js} +15 -15
- package/dist/{BusinessFinancingComponent-CoOKkXsQ.js → BusinessFinancingComponent-DLXAg2Ln.js} +2 -2
- package/dist/{BusinessFinancingDropin-CmgYopR_.js → BusinessFinancingDropin-BkAM1ASV.js} +14 -14
- package/dist/{BusinessFinancingPage-BpzZN6_M.js → BusinessFinancingPage-DaUZHWDR.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-DmjIOdYQ.js → BusinessTypeSelectionPage-CLm4eQ1O.js} +5 -5
- package/dist/{Confirm-CSYow9zX.js → Confirm-CrDKBs6A.js} +2 -2
- package/dist/{ContractViewer-3PX9_9q0.js → ContractViewer-aFCt9tnN.js} +1 -1
- package/dist/{CreateIndividualComponent-BIcKe___.js → CreateIndividualComponent-BF38NAzW.js} +3 -3
- package/dist/{CreateTransferInstrumentComponent-03Lc-o4l.js → CreateTransferInstrumentComponent-BYraUQaN.js} +2 -2
- package/dist/{CustomerSupport-Cau1epER.js → CustomerSupport-CTDc1dSQ.js} +6 -6
- package/dist/{DebugModal-CIhZupHm.js → DebugModal-bNnw8uAL.js} +10 -42
- package/dist/{DecisionMakerDetailsPage-BALNj-sG.js → DecisionMakerDetailsPage-Y3-Xluao.js} +3 -3
- package/dist/{DecisionMakers-DaeP2HJk.js → DecisionMakers-CTC1H-i7.js} +5 -5
- package/dist/{EmbeddedStatus-Chlr2BOy.js → EmbeddedStatus-CL-otWo2.js} +2 -2
- package/dist/{FormEndState-BoZjTIZQ.js → FormEndState-BQsjkCB_.js} +1 -1
- package/dist/{FormFlow-DV4lzmaT.js → FormFlow-Dm3Fss-M.js} +5 -5
- package/dist/{FormNavigation-B0U6S6OX.js → FormNavigation-Bnypiume.js} +1 -1
- package/dist/{FormWrapper-BGT0y0_A.js → FormWrapper-C7TUCdRD.js} +7 -7
- package/dist/{IndividualOnfidoDropin-C5xkTx8D.js → IndividualOnfidoDropin-ocLPJaw0.js} +20 -20
- package/dist/{Introduction-DwMIAUVr.js → Introduction-CEbESO3R.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-h0-QObw4.js → LegalRepresentativeDetailsPage-CNayO7OL.js} +3 -3
- package/dist/{ManageIndividualComponent-DTUmEsiI.js → ManageIndividualComponent-Co9mWtLd.js} +3 -3
- package/dist/{ManagePCIComponent-D--Sc5iS.js → ManagePCIComponent-B-CO9Id-.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-DAeZ5vYi.js → ManageTermsOfServiceComponent-DhDnE3Pa.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-CSmDe2Aj.js → ManageTransferInstrumentComponent-DBK-QH3s.js} +7 -7
- package/dist/{MaybeModal-Dnx2ARAl.js → MaybeModal--Q5-PA4M.js} +2 -2
- package/dist/{Modal-CAvMYaEN.js → Modal-DgYkB7th.js} +1 -1
- package/dist/{OnboardingDropinComponent-BRiJTEi2.js → OnboardingDropinComponent-DavZP279.js} +33 -33
- package/dist/{PayoutDetailsDropin-DV9Dz3yb.js → PayoutDetailsDropin-Dci7oa7r.js} +27 -14
- package/dist/{PayoutDetailsPage-ChrYPNyW.js → PayoutDetailsPage-DpYap71D.js} +3 -3
- package/dist/{ProviderButton-CWJ-FtN2.js → ProviderButton-DmUXblnz.js} +1 -1
- package/dist/{Review-D00Ongqo.js → Review-CdwI2VuP.js} +3 -3
- package/dist/{RootBusinessDetailsPage-BbJiQRFS.js → RootBusinessDetailsPage-D4q-UkNw.js} +4 -4
- package/dist/{RootIndividualDetailsPage-BCukNljO.js → RootIndividualDetailsPage-DGBHuBBl.js} +3 -3
- package/dist/{SignPCIComponent-Bie5l5Pp.js → SignPCIComponent-CgACd7Gv.js} +8 -8
- package/dist/{SingpassSelection-BzR43Ssh.js → SingpassSelection-DeCft6KM.js} +1 -1
- package/dist/{SoleProprietorshipPage-C7JFyBmF.js → SoleProprietorshipPage-DnGdL-n7.js} +4 -4
- package/dist/{SourceOfFunds.module-LqkzqWQw.js → SourceOfFunds.module-Xhiq4163.js} +1 -1
- package/dist/{SourceOfFundsPage-DRcWTb4M.js → SourceOfFundsPage-CUHZCflk.js} +18 -18
- package/dist/{StepProgressIndicator-CBua2pA0.js → StepProgressIndicator-DN9LrmEE.js} +1 -1
- package/dist/{StoreProvider-HRzOkLfJ.js → StoreProvider-DV22cGY2.js} +4 -4
- package/dist/{TaskItemStatus-DFo5TC2Y.js → TaskItemStatus-B4VKKBXv.js} +1 -1
- package/dist/{TaxReportingDropin-DaeK7OJ5.js → TaxReportingDropin-BFsLRdsw.js} +8 -8
- package/dist/{TileGroup-CyOXU1VM.js → TileGroup-kfxKl3zX.js} +1 -1
- package/dist/{TrustDetailsPage-BGTV2VoA.js → TrustDetailsPage-BFzSOsHf.js} +12 -12
- package/dist/{TrustMemberCompanyPage-CORiuRx_.js → TrustMemberCompanyPage-Cg86ersw.js} +5 -5
- package/dist/{TrustMemberIndividualPage-CCYWbLgI.js → TrustMemberIndividualPage-Cexr_Yu7.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-BZaQMQIr.js → UnincorporatedPartnershipIndividualPage-BrqF0a0T.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CqxV_reO.js → UnincorporatedPartnershipMemberCompanyPage-jydxQ32J.js} +4 -4
- package/dist/{VerificationErrorAlert-D-7UwDcj.js → VerificationErrorAlert-hFe3yh4W.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-Cbx4hMbW.js → ViewVerificationStatusComponent-CowZhgOU.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +14 -14
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-pci.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-sign-pci.js +2 -2
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{css-CjGexWiH.js → css-7kjJGAx1.js} +1 -1
- package/dist/{documentUtils-Bx37-uJ_.js → documentUtils-BeCTEpjy.js} +1 -1
- package/dist/{dropinUtils-B4hMy9jU.js → dropinUtils-DDRulId5.js} +1 -1
- package/dist/{getFieldsWithExistingData-V_dOfMAx.js → getFieldsWithExistingData-tRNrerc0.js} +1 -1
- package/dist/{hasDataChanged-8P9Lq6q6.js → hasDataChanged-JGGLk-GT.js} +1 -1
- package/dist/{individualFormConfig-CC14oka4.js → individualFormConfig-BEbr9y4t.js} +1 -1
- package/dist/{json-BDCUvP6f.js → json-DhQe9D8_.js} +1 -1
- package/dist/{localizeDateString-DT4qdmzP.js → localizeDateString-DR32FTfB.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-BSpq38Ec.js → mapFinancialReportsToFinancialInformation-CG7Ykjjs.js} +1 -1
- package/dist/{mapTransferInstrumentToPayoutAccount-D2ouRoHp.js → mapTransferInstrumentToPayoutAccount-ztCBmjNa.js} +2 -2
- package/dist/{omitObscuredFieldsIfUnchanged-jdf97C04.js → omitObscuredFieldsIfUnchanged-O4MFo8yl.js} +2 -2
- package/dist/{plaintext-CRAmB2-f.js → plaintext-QfESvy3p.js} +1 -1
- package/dist/{process-field-configurations-BWHX3P5x.js → process-field-configurations-6mXjpjRV.js} +1 -1
- package/dist/{processValidationErrors-C6TDpZz0.js → processValidationErrors-DKucETeu.js} +2 -2
- package/dist/{resolveEnvironment-tasvyH9Q.js → resolveEnvironment-oYW3SRct.js} +3 -3
- package/dist/{rules-6t6CtVMU.js → rules-CU1layLy.js} +1 -1
- package/dist/types-CjUrSQiM.js +45 -0
- package/dist/{useMultiForm-DxlQ1Mkc.js → useMultiForm-DcLcC9Ht.js} +1 -1
- package/dist/{useOnboardingStatus-BhjtrqPQ.js → useOnboardingStatus-VcBGjih4.js} +1 -1
- package/dist/{useSalesChannelsSettings-4cf4pJ0N.js → useSalesChannelsSettings-Cc2T2nL_.js} +1 -1
- package/dist/{useTermsOfServiceStatus-CExwHP29.js → useTermsOfServiceStatus-DF7-Wb58.js} +1 -1
- package/dist/{useToastContext-DJS5737s.js → useToastContext-Brh-m-0n.js} +1 -1
- package/dist/{useUpdateLegalEntity-D1AbV8w_.js → useUpdateLegalEntity-DcIsom8L.js} +1 -1
- package/dist/{utils-vsa5CskP.js → utils-CN-jXGDY.js} +4 -4
- package/dist/{validate-tGjEyd8Q.js → validate-CuZ3_O-X.js} +1 -1
- package/dist/{validate-y0pyKWME.js → validate-DjyITW89.js} +1 -1
- package/dist/{yaml-B7DVK1fQ.js → yaml-CS2SDEDD.js} +1 -1
- package/package.json +1 -1
|
@@ -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] = "86a09e03-229e-49af-ad4f-7441f0b7945b", e._sentryDebugIdIdentifier = "sentry-dbid-86a09e03-229e-49af-ad4f-7441f0b7945b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { W as TaskTypes, y as LegalEntityType, bj as getTranslationKeysByPrefix, b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, _ as useAnalyticsContext, Y as Button } from "./StoreProvider-
|
|
13
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
12
|
+
import { W as TaskTypes, y as LegalEntityType, bj as getTranslationKeysByPrefix, b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, _ as useAnalyticsContext, Y as Button } from "./StoreProvider-DV22cGY2.js";
|
|
13
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-DN9LrmEE.js";
|
|
14
14
|
import { useMemo } from "preact/compat";
|
|
15
|
-
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
15
|
+
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-DavZP279.js";
|
|
16
16
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
17
17
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
18
18
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, a4 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-
|
|
13
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, a4 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-DV22cGY2.js";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-DmUXblnz.js";
|
|
13
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-ocLPJaw0.js";
|
|
14
14
|
function LegalRepresentativeDetailsPage({
|
|
15
15
|
legalRepresentativeId,
|
|
16
16
|
asModal = false,
|
package/dist/{ManageIndividualComponent-DTUmEsiI.js → ManageIndividualComponent-Co9mWtLd.js}
RENAMED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, a as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
11
|
+
import { p as useApiContext, a as useLegalEntity, R as ROOT_LE } from "./StoreProvider-DV22cGY2.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-VcBGjih4.js";
|
|
13
13
|
import { O as OnboardingStatus } from "./view-verification-status-DTkA8PtO.js";
|
|
14
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
14
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-CL-otWo2.js";
|
|
15
15
|
function ManageIndividualComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onClick
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-
|
|
12
|
-
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-Cc2T2nL_.js";
|
|
12
|
+
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-DV22cGY2.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-CL-otWo2.js";
|
|
14
14
|
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
15
15
|
const { i18n } = useI18nContext();
|
|
16
16
|
const title = i18n.get("pciDssQuestionnaire");
|
package/dist/{ManageTermsOfServiceComponent-DAeZ5vYi.js → ManageTermsOfServiceComponent-DhDnE3Pa.js}
RENAMED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useTermsOfServiceAcceptanceInfos, a as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-
|
|
12
|
-
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { u as useTermsOfServiceAcceptanceInfos, a as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-DF7-Wb58.js";
|
|
12
|
+
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-DV22cGY2.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-CL-otWo2.js";
|
|
14
14
|
function ManageTermsOfServiceComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onClick
|
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
12
|
-
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, aZ as datasetUtilities, a_ as getCapabilityProblems, C as Typography, L as Loader, Y as Button, $ as Card, a$ as StructuredList, Z as IconButton, b0 as cloneObject, b1 as currencyByCountry, b2 as entriesOf, X as TaskStatus, aI as createLogger, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-
|
|
13
|
-
import { u as useToastContext } from "./useToastContext-
|
|
14
|
-
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-hFe3yh4W.js";
|
|
12
|
+
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, aZ as datasetUtilities, a_ as getCapabilityProblems, C as Typography, L as Loader, Y as Button, $ as Card, a$ as StructuredList, Z as IconButton, b0 as cloneObject, b1 as currencyByCountry, b2 as entriesOf, X as TaskStatus, aI as createLogger, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-DV22cGY2.js";
|
|
13
|
+
import { u as useToastContext } from "./useToastContext-Brh-m-0n.js";
|
|
14
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-CL-otWo2.js";
|
|
15
15
|
import { useState } from "preact/hooks";
|
|
16
|
-
import { m as mapTransferInstrumentToPayoutAccount, u as useTransferInstrument } from "./mapTransferInstrumentToPayoutAccount-
|
|
17
|
-
import { M as Modal, a as ModalHeader, b as ModalContent, c as ModalFooter } from "./Modal-
|
|
16
|
+
import { m as mapTransferInstrumentToPayoutAccount, u as useTransferInstrument } from "./mapTransferInstrumentToPayoutAccount-ztCBmjNa.js";
|
|
17
|
+
import { M as Modal, a as ModalHeader, b as ModalContent, c as ModalFooter } from "./Modal-DgYkB7th.js";
|
|
18
18
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
19
19
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
20
|
-
import { C as Confirm } from "./Confirm-
|
|
20
|
+
import { C as Confirm } from "./Confirm-CrDKBs6A.js";
|
|
21
21
|
const getTransferInstruments = async (legalEntityId, baseUrl) => {
|
|
22
22
|
return httpGet({
|
|
23
23
|
baseUrl,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { T as ToastContextProvider } from "./StoreProvider-
|
|
12
|
-
import { M as Modal } from "./Modal-
|
|
11
|
+
import { T as ToastContextProvider } from "./StoreProvider-DV22cGY2.js";
|
|
12
|
+
import { M as Modal } from "./Modal-DgYkB7th.js";
|
|
13
13
|
const MaybeModal = ({ ariaLabel, children, inline = false, onClose }) => {
|
|
14
14
|
return inline ? /* @__PURE__ */ jsx(Fragment, { children }) : /* @__PURE__ */ jsx(Modal, { onClose, ariaLabel, children: /* @__PURE__ */ jsx(ToastContextProvider, { children }) });
|
|
15
15
|
};
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useRef, useLayoutEffect } from "preact/hooks";
|
|
13
|
-
import { Z as IconButton, bc as KEYBOARD_KEYS } from "./StoreProvider-
|
|
13
|
+
import { Z as IconButton, bc as KEYBOARD_KEYS } from "./StoreProvider-DV22cGY2.js";
|
|
14
14
|
const modal = "adyen-kyc-modal";
|
|
15
15
|
const modalBody = "adyen-kyc-modal-body";
|
|
16
16
|
const modalBodyHeight = "adyen-kyc-modal-body-height";
|
package/dist/{OnboardingDropinComponent-BRiJTEi2.js → OnboardingDropinComponent-DavZP279.js}
RENAMED
|
@@ -8,21 +8,21 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, q as useQuery, r as httpGet, t as useLocalStorage, v as getLegalRepresentative, a as useLegalEntity, w as skipToken, x as doesLegalEntityRequiresLegalRepresentative, y as LegalEntityType, b as useI18nContext, z as Skeleton, B as Alert, C as Typography, G as isPartOfTrustFromLegalEntity, H as hasSolePropInLegalEntity, J as useSettingsContext, K as SettingNames, M as hasOwnEntityAssociationOfType, N as isEmptyEntity, O as CompanyTypesValue, P as useAccountHolder, U as EntityType, V as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, W as TaskTypes, X as TaskStatus, Y as Button, Z as IconButton, _ as useAnalyticsContext, $ as Card, a0 as handleKeys, a1 as LoaderWrapper, a2 as Icon, a3 as noop, a4 as useExperimentsContext, a5 as isInstantVerifiedAccount, a6 as getObscuredAccountNumber, a7 as useGetTaskStatus, a8 as CardGroup, R as ROOT_LE, L as Loader, a9 as useSetting, aa as useGlobalStore, ab as isPartOfUnincorporatedPartnership, ac as getOwnSignatories, ad as getOwnDecisionMakersLegalEntityIds, ae as getOwnSolePropProblems, af as getOwnTrustProblems, ag as getOwnUnincorporatedPartnershipProblems, ah as TrustMemberTypes, ai as getLegalEntityNameBasedOnType, aj as getOwnEntityAssociations, ak as useAssociatedLegalEntity, al as CountryCodes, am as isEmpty, an as mergeFieldMetadataIntoProps, ao as resolveFieldMetadata, ap as defaultFieldMetadata, aq as defaultFieldConfig, ar as useForm, as as getFieldProps, at as nameFields, F as FormHeader, au as ErrorPanel, av as createFormUtils, aw as Field, ax as MultiSelectList, ay as makeSelectItemForRole, az as RadioGroupCard, aA as TextArea, aB as Name, aC as CountryField, aD as COUNTRY_FIELD, aE as LegalCompanyNameField, aF as LEGAL_COMPANY_NAME_FIELD, aG as summaryItem, aH as getRoleName, aI as createLogger, aJ as summaryStep, aK as Summary, aL as ActionBar, g as getLegalEntityCountry, aM as UnincorporatedPartnershipMemberTypes, aN as getDecisionMakerDescriptionMap, aO as TRUST_DEFAULT_DESCRIPTIONS_MAP, aP as getRoleTagVariant, aQ as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aR as ContextGuidance, aS as RadioGroup, aT as useUnincorporatedPartnershipMembers, aU as deleteUnincorporatedPartnershipMember, aV as hasAllCapabilitiesResolved, aW as hasRejectedCapabilities, aX as objectsDeepEqual, aY as TrustedFieldsProvider } from "./StoreProvider-
|
|
11
|
+
import { p as useApiContext, q as useQuery, r as httpGet, t as useLocalStorage, v as getLegalRepresentative, a as useLegalEntity, w as skipToken, x as doesLegalEntityRequiresLegalRepresentative, y as LegalEntityType, b as useI18nContext, z as Skeleton, B as Alert, C as Typography, G as isPartOfTrustFromLegalEntity, H as hasSolePropInLegalEntity, J as useSettingsContext, K as SettingNames, M as hasOwnEntityAssociationOfType, N as isEmptyEntity, O as CompanyTypesValue, P as useAccountHolder, U as EntityType, V as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, W as TaskTypes, X as TaskStatus, Y as Button, Z as IconButton, _ as useAnalyticsContext, $ as Card, a0 as handleKeys, a1 as LoaderWrapper, a2 as Icon, a3 as noop, a4 as useExperimentsContext, a5 as isInstantVerifiedAccount, a6 as getObscuredAccountNumber, a7 as useGetTaskStatus, a8 as CardGroup, R as ROOT_LE, L as Loader, a9 as useSetting, aa as useGlobalStore, ab as isPartOfUnincorporatedPartnership, ac as getOwnSignatories, ad as getOwnDecisionMakersLegalEntityIds, ae as getOwnSolePropProblems, af as getOwnTrustProblems, ag as getOwnUnincorporatedPartnershipProblems, ah as TrustMemberTypes, ai as getLegalEntityNameBasedOnType, aj as getOwnEntityAssociations, ak as useAssociatedLegalEntity, al as CountryCodes, am as isEmpty, an as mergeFieldMetadataIntoProps, ao as resolveFieldMetadata, ap as defaultFieldMetadata, aq as defaultFieldConfig, ar as useForm, as as getFieldProps, at as nameFields, F as FormHeader, au as ErrorPanel, av as createFormUtils, aw as Field, ax as MultiSelectList, ay as makeSelectItemForRole, az as RadioGroupCard, aA as TextArea, aB as Name, aC as CountryField, aD as COUNTRY_FIELD, aE as LegalCompanyNameField, aF as LEGAL_COMPANY_NAME_FIELD, aG as summaryItem, aH as getRoleName, aI as createLogger, aJ as summaryStep, aK as Summary, aL as ActionBar, g as getLegalEntityCountry, aM as UnincorporatedPartnershipMemberTypes, aN as getDecisionMakerDescriptionMap, aO as TRUST_DEFAULT_DESCRIPTIONS_MAP, aP as getRoleTagVariant, aQ as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aR as ContextGuidance, aS as RadioGroup, aT as useUnincorporatedPartnershipMembers, aU as deleteUnincorporatedPartnershipMember, aV as hasAllCapabilitiesResolved, aW as hasRejectedCapabilities, aX as objectsDeepEqual, aY as TrustedFieldsProvider } from "./StoreProvider-DV22cGY2.js";
|
|
12
12
|
import { lazy, Suspense } from "preact/compat";
|
|
13
13
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
14
|
-
import { P as ProviderButton, u as useCapabilityProblems, a as useSingpassMyInfoLogin } from "./ProviderButton-
|
|
14
|
+
import { P as ProviderButton, u as useCapabilityProblems, a as useSingpassMyInfoLogin } from "./ProviderButton-DmUXblnz.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-
|
|
17
|
-
import { u as useTermsOfServiceAcceptanceInfos, a as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-
|
|
18
|
-
import { u as useToastContext } from "./useToastContext-
|
|
16
|
+
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-Cc2T2nL_.js";
|
|
17
|
+
import { u as useTermsOfServiceAcceptanceInfos, a as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-DF7-Wb58.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-Brh-m-0n.js";
|
|
19
19
|
import { signal } from "@preact/signals";
|
|
20
20
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
21
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
22
|
-
import { A as Avatar } from "./Avatar-
|
|
23
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
24
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
25
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
21
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-hFe3yh4W.js";
|
|
22
|
+
import { A as Avatar } from "./Avatar-DTxJSOVb.js";
|
|
23
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-B4VKKBXv.js";
|
|
24
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DcIsom8L.js";
|
|
25
|
+
import { F as FormNavigation } from "./FormNavigation-Bnypiume.js";
|
|
26
26
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
27
27
|
const getTaskTypes = async (id, baseUrl) => {
|
|
28
28
|
return httpGet({
|
|
@@ -3368,71 +3368,71 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
3368
3368
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
3369
3369
|
};
|
|
3370
3370
|
const Introduction = lazy(
|
|
3371
|
-
async () => (await import("./Introduction-
|
|
3371
|
+
async () => (await import("./Introduction-CEbESO3R.js")).Introduction
|
|
3372
3372
|
);
|
|
3373
3373
|
const BusinessTypeSelectionPage = lazy(
|
|
3374
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
3374
|
+
async () => (await import("./BusinessTypeSelectionPage-CLm4eQ1O.js")).BusinessTypeSelectionPage
|
|
3375
3375
|
);
|
|
3376
3376
|
const SingpassSelection = lazy(
|
|
3377
|
-
async () => (await import("./SingpassSelection-
|
|
3377
|
+
async () => (await import("./SingpassSelection-DeCft6KM.js")).SingpassSelection
|
|
3378
3378
|
);
|
|
3379
3379
|
const AccountSetupRejected = lazy(
|
|
3380
|
-
async () => (await import("./AccountSetupRejected-
|
|
3380
|
+
async () => (await import("./AccountSetupRejected-CvwpNXeD.js")).AccountSetupRejected
|
|
3381
3381
|
);
|
|
3382
3382
|
const DecisionMakers = lazy(
|
|
3383
|
-
async () => (await import("./DecisionMakers-
|
|
3383
|
+
async () => (await import("./DecisionMakers-CTC1H-i7.js")).DecisionMakers
|
|
3384
3384
|
);
|
|
3385
3385
|
const CustomerSupport = lazy(
|
|
3386
|
-
async () => (await import("./CustomerSupport-
|
|
3386
|
+
async () => (await import("./CustomerSupport-CTDc1dSQ.js")).CustomerSupport
|
|
3387
3387
|
);
|
|
3388
|
-
const Review = lazy(async () => (await import("./Review-
|
|
3388
|
+
const Review = lazy(async () => (await import("./Review-CdwI2VuP.js")).Review);
|
|
3389
3389
|
const SignPCIComponent = lazy(
|
|
3390
|
-
async () => (await import("./SignPCIComponent-
|
|
3390
|
+
async () => (await import("./SignPCIComponent-CgACd7Gv.js")).SignPCIComponent
|
|
3391
3391
|
);
|
|
3392
3392
|
const AcceptTermsOfService = lazy(
|
|
3393
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
3393
|
+
async () => (await import("./AcceptTermsOfServiceComponent-BtYXTKAI.js")).AcceptTermsOfServiceComponent
|
|
3394
3394
|
);
|
|
3395
3395
|
const TaxReportingDropin = lazy(
|
|
3396
|
-
async () => (await import("./TaxReportingDropin-
|
|
3396
|
+
async () => (await import("./TaxReportingDropin-BFsLRdsw.js")).TaxReportingDropin
|
|
3397
3397
|
);
|
|
3398
3398
|
const PayoutDetailsPage = lazy(
|
|
3399
|
-
async () => (await import("./PayoutDetailsPage-
|
|
3399
|
+
async () => (await import("./PayoutDetailsPage-DpYap71D.js")).PayoutDetailsPage
|
|
3400
3400
|
);
|
|
3401
3401
|
const RootBusinessDetailsPage = lazy(
|
|
3402
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
3402
|
+
async () => (await import("./RootBusinessDetailsPage-D4q-UkNw.js")).RootBusinessDetailsPage
|
|
3403
3403
|
);
|
|
3404
3404
|
const SoleProprietorshipPage = lazy(
|
|
3405
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
3405
|
+
async () => (await import("./SoleProprietorshipPage-DnGdL-n7.js")).SoleProprietorshipPage
|
|
3406
3406
|
);
|
|
3407
3407
|
const TrustMemberCompanyPage = lazy(
|
|
3408
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
3408
|
+
async () => (await import("./TrustMemberCompanyPage-Cg86ersw.js")).TrustMemberCompanyPage
|
|
3409
3409
|
);
|
|
3410
3410
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
3411
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
3411
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-jydxQ32J.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
3412
3412
|
);
|
|
3413
3413
|
const BusinessFinancingPage = lazy(
|
|
3414
|
-
async () => (await import("./BusinessFinancingPage-
|
|
3414
|
+
async () => (await import("./BusinessFinancingPage-DaUZHWDR.js")).BusinessFinancingPage
|
|
3415
3415
|
);
|
|
3416
3416
|
const TrustDetailsPage = lazy(
|
|
3417
|
-
async () => (await import("./TrustDetailsPage-
|
|
3417
|
+
async () => (await import("./TrustDetailsPage-BFzSOsHf.js")).TrustDetailsPage
|
|
3418
3418
|
);
|
|
3419
3419
|
const SourceOfFundsPage = lazy(
|
|
3420
|
-
async () => (await import("./SourceOfFundsPage-
|
|
3420
|
+
async () => (await import("./SourceOfFundsPage-CUHZCflk.js")).SourceOfFundsPage
|
|
3421
3421
|
);
|
|
3422
3422
|
const RootIndividualDetailsPage = lazy(
|
|
3423
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
3423
|
+
async () => (await import("./RootIndividualDetailsPage-DGBHuBBl.js")).RootIndividualDetailsPage
|
|
3424
3424
|
);
|
|
3425
3425
|
const LegalRepresentativeDetailsPage = lazy(
|
|
3426
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
3426
|
+
async () => (await import("./LegalRepresentativeDetailsPage-CNayO7OL.js")).LegalRepresentativeDetailsPage
|
|
3427
3427
|
);
|
|
3428
3428
|
const TrustMemberIndividualPage = lazy(
|
|
3429
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
3429
|
+
async () => (await import("./TrustMemberIndividualPage-Cexr_Yu7.js")).TrustMemberIndividualPage
|
|
3430
3430
|
);
|
|
3431
3431
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
3432
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
3432
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-BrqF0a0T.js")).UnincorporatedPartnershipIndividualPage
|
|
3433
3433
|
);
|
|
3434
3434
|
const DecisionMakerDetailsPage = lazy(
|
|
3435
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
3435
|
+
async () => (await import("./DecisionMakerDetailsPage-Y3-Xluao.js")).DecisionMakerDetailsPage
|
|
3436
3436
|
);
|
|
3437
3437
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
3438
3438
|
const logger = createLogger();
|
|
@@ -2,23 +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] = "3cca263c-36cb-4bee-8d4b-3376a7a29bc7", e._sentryDebugIdIdentifier = "sentry-dbid-3cca263c-36cb-4bee-8d4b-3376a7a29bc7");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { p as useApiContext, q as useQuery, b6 as httpPost, r as httpGet, b4 as useMutation, ba as useQueryClient, bB as createFormRules, bC as mapPayoutAccountSchemaToApiBankAccount, bA as keysOf, aG as summaryItem, al as CountryCodes, bD as payoutSteps, b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, J as useSettingsContext, g as getLegalEntityCountry, bE as getPayoutAccountHolderName, b1 as currencyByCountry, ai as getLegalEntityNameBasedOnType, W as TaskTypes, a5 as isInstantVerifiedAccount, bF as useStateContext, a_ as getCapabilityProblems, K as SettingNames, b0 as cloneObject, aZ as datasetUtilities, a1 as LoaderWrapper, C as Typography, Y as Button, bG as PayoutDetails, am as isEmpty, w as skipToken } from "./StoreProvider-
|
|
13
|
-
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
14
|
-
import { M as Modal, a as ModalHeader, b as ModalContent, c as ModalFooter } from "./Modal-
|
|
15
|
-
import {
|
|
16
|
-
import { u as
|
|
17
|
-
import { a as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
12
|
+
import { p as useApiContext, q as useQuery, b6 as httpPost, r as httpGet, b4 as useMutation, ba as useQueryClient, bB as createFormRules, bC as mapPayoutAccountSchemaToApiBankAccount, bA as keysOf, aG as summaryItem, al as CountryCodes, bD as payoutSteps, b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, J as useSettingsContext, g as getLegalEntityCountry, bE as getPayoutAccountHolderName, b1 as currencyByCountry, ai as getLegalEntityNameBasedOnType, W as TaskTypes, a5 as isInstantVerifiedAccount, bF as useStateContext, a_ as getCapabilityProblems, K as SettingNames, b0 as cloneObject, aZ as datasetUtilities, a1 as LoaderWrapper, C as Typography, Y as Button, bG as PayoutDetails, am as isEmpty, w as skipToken } from "./StoreProvider-DV22cGY2.js";
|
|
13
|
+
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-ztCBmjNa.js";
|
|
14
|
+
import { M as Modal, a as ModalHeader, b as ModalContent, c as ModalFooter } from "./Modal-DgYkB7th.js";
|
|
15
|
+
import { E as ExperimentNames } from "./types-CjUrSQiM.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-Brh-m-0n.js";
|
|
17
|
+
import { u as useScenarioConfiguration, a as useUnifyLoadingStatus, i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, d as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./processValidationErrors-DKucETeu.js";
|
|
18
|
+
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-6mXjpjRV.js";
|
|
19
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DDRulId5.js";
|
|
20
|
+
import { F as FormWrapper } from "./FormWrapper-C7TUCdRD.js";
|
|
21
|
+
import { g as getDocument, c as createDocumentRequest, d as documentApiUtils, a as getFileExtention } from "./documentUtils-BeCTEpjy.js";
|
|
22
|
+
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-O4MFo8yl.js";
|
|
22
23
|
import { m as mapExistingFile, g as getPageName } from "./mapExistingFile-BE74t9jV.js";
|
|
23
24
|
const getCheck = async (legalEntityId, baseUrl, data) => {
|
|
24
25
|
return httpPost(
|
|
@@ -430,10 +431,15 @@ function PayoutDetailsDropin({
|
|
|
430
431
|
prefilledData.payoutAccountDetails
|
|
431
432
|
);
|
|
432
433
|
const existingBankAccountFormat = transferInstrument ? ((_f = existingPayoutDetails == null ? void 0 : existingPayoutDetails.payoutAccountDetails) == null ? void 0 : _f.iban) ? "iban" : "local" : void 0;
|
|
434
|
+
const checkAsAServiceAnalyticsProps = {
|
|
435
|
+
"Experiment name": ExperimentNames.BankVerificationFlowOptimization_CAASIntegration,
|
|
436
|
+
"Experiment value": enableCheckOnCreateBankAccount ? "TREATMENT" : "CONTROL"
|
|
437
|
+
};
|
|
433
438
|
useEffect(() => {
|
|
434
439
|
userEvents.updateBaseTrackingPayload({ task: taskType });
|
|
435
440
|
userEvents.addTaskEvent("Landed on page", {
|
|
436
|
-
actionType: "start"
|
|
441
|
+
actionType: "start",
|
|
442
|
+
...checkAsAServiceAnalyticsProps
|
|
437
443
|
});
|
|
438
444
|
}, []);
|
|
439
445
|
useEffect(() => {
|
|
@@ -642,7 +648,10 @@ function PayoutDetailsDropin({
|
|
|
642
648
|
transferInstrumentFromInput
|
|
643
649
|
));
|
|
644
650
|
setCurrentTransferInstrumentId == null ? void 0 : setCurrentTransferInstrumentId(response == null ? void 0 : response.id);
|
|
645
|
-
userEvents.addTaskEvent("Success",
|
|
651
|
+
userEvents.addTaskEvent("Success", {
|
|
652
|
+
...baseTracking,
|
|
653
|
+
...checkAsAServiceAnalyticsProps
|
|
654
|
+
});
|
|
646
655
|
try {
|
|
647
656
|
await submitDocuments({ forms, transferInstrument: response, dataSubmitted });
|
|
648
657
|
clearToasts();
|
|
@@ -674,7 +683,8 @@ function PayoutDetailsDropin({
|
|
|
674
683
|
userEvents.addTaskEvent("Encountered error", {
|
|
675
684
|
...baseTracking,
|
|
676
685
|
returnType: (e == null ? void 0 : e.errorCode) || "backend",
|
|
677
|
-
returnValue: (e == null ? void 0 : e.title) || (e == null ? void 0 : e.message)
|
|
686
|
+
returnValue: (e == null ? void 0 : e.title) || (e == null ? void 0 : e.message),
|
|
687
|
+
...checkAsAServiceAnalyticsProps
|
|
678
688
|
});
|
|
679
689
|
}
|
|
680
690
|
};
|
|
@@ -747,6 +757,9 @@ function PayoutDetailsDropin({
|
|
|
747
757
|
problems,
|
|
748
758
|
forms,
|
|
749
759
|
externalBackClick,
|
|
760
|
+
navigationTrackingParams: {
|
|
761
|
+
...checkAsAServiceAnalyticsProps
|
|
762
|
+
},
|
|
750
763
|
onSubmit: skipSubmit ? () => {
|
|
751
764
|
if (trustedTransferInstrumentId) {
|
|
752
765
|
externalOnSubmit == null ? void 0 : externalOnSubmit({ ...data, id: trustedTransferInstrumentId });
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, R as ROOT_LE, ak as useAssociatedLegalEntity, y as LegalEntityType, bz as useCapabilities, L as Loader, U as EntityType, bA as keysOf } from "./StoreProvider-
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-
|
|
13
|
-
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-
|
|
11
|
+
import { a as useLegalEntity, R as ROOT_LE, ak as useAssociatedLegalEntity, y as LegalEntityType, bz as useCapabilities, L as Loader, U as EntityType, bA as keysOf } from "./StoreProvider-DV22cGY2.js";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-DmUXblnz.js";
|
|
13
|
+
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-Dci7oa7r.js";
|
|
14
14
|
function PayoutDetailsPage({
|
|
15
15
|
transferInstrumentId,
|
|
16
16
|
setTransferInstrumentId,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a as useLegalEntity, R as ROOT_LE, a_ as getCapabilityProblems, g as getLegalEntityCountry, p as useApiContext, q as useQuery, b6 as httpPost, a4 as useExperimentsContext, al as CountryCodes, G as isPartOfTrustFromLegalEntity, y as LegalEntityType, H as hasSolePropInLegalEntity, aY as TrustedFieldsProvider, b7 as individualComponentsKeyMapping, b8 as businessDetailsComponentsKeyMapping, b as useI18nContext, Y as Button, b9 as Svg } from "./StoreProvider-
|
|
10
|
+
import { a as useLegalEntity, R as ROOT_LE, a_ as getCapabilityProblems, g as getLegalEntityCountry, p as useApiContext, q as useQuery, b6 as httpPost, a4 as useExperimentsContext, al as CountryCodes, G as isPartOfTrustFromLegalEntity, y as LegalEntityType, H as hasSolePropInLegalEntity, aY as TrustedFieldsProvider, b7 as individualComponentsKeyMapping, b8 as businessDetailsComponentsKeyMapping, b as useI18nContext, Y as Button, b9 as Svg } from "./StoreProvider-DV22cGY2.js";
|
|
11
11
|
import { useReducer, useMemo } from "preact/hooks";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
13
|
const useCapabilityProblems = () => {
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { p as useApiContext, b4 as useMutation, b6 as httpPost, b as useI18nContext, a1 as LoaderWrapper, F as FormHeader, bu as Checkbox, aL as ActionBar } from "./StoreProvider-
|
|
13
|
-
import { u as useToastContext } from "./useToastContext-
|
|
14
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
12
|
+
import { p as useApiContext, b4 as useMutation, b6 as httpPost, b as useI18nContext, a1 as LoaderWrapper, F as FormHeader, bu as Checkbox, aL as ActionBar } from "./StoreProvider-DV22cGY2.js";
|
|
13
|
+
import { u as useToastContext } from "./useToastContext-Brh-m-0n.js";
|
|
14
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-DavZP279.js";
|
|
15
15
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
16
16
|
return httpPost({
|
|
17
17
|
baseUrl,
|
|
@@ -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] = "9c7ef009-6304-419b-937f-d1ff427d9630", e._sentryDebugIdIdentifier = "sentry-dbid-9c7ef009-6304-419b-937f-d1ff427d9630");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { P as useAccountHolder, a as useLegalEntity, R as ROOT_LE, L as Loader, G as isPartOfTrustFromLegalEntity, U as EntityType, g as getLegalEntityCountry, W as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-
|
|
13
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { P as useAccountHolder, a as useLegalEntity, R as ROOT_LE, L as Loader, G as isPartOfTrustFromLegalEntity, U as EntityType, g as getLegalEntityCountry, W as TaskTypes } from "./StoreProvider-DV22cGY2.js";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-DmUXblnz.js";
|
|
13
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-CnSzgAux.js";
|
|
14
14
|
const RootBusinessDetailsPage = ({
|
|
15
15
|
isTargetLegalEntityType = false,
|
|
16
16
|
onSubmit,
|
package/dist/{RootIndividualDetailsPage-BCukNljO.js → RootIndividualDetailsPage-DGBHuBBl.js}
RENAMED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, R as ROOT_LE, a4 as useExperimentsContext, P as useAccountHolder, L as Loader, g as getLegalEntityCountry, G as isPartOfTrustFromLegalEntity, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-
|
|
13
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, R as ROOT_LE, a4 as useExperimentsContext, P as useAccountHolder, L as Loader, g as getLegalEntityCountry, G as isPartOfTrustFromLegalEntity, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-DV22cGY2.js";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-DmUXblnz.js";
|
|
13
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-ocLPJaw0.js";
|
|
14
14
|
function RootIndividualDetailsPage({
|
|
15
15
|
asModal = false,
|
|
16
16
|
hideSidebar = false,
|
|
@@ -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] = "a273b7fc-a97f-46ee-8495-c5976bc4c8f0", e._sentryDebugIdIdentifier = "sentry-dbid-a273b7fc-a97f-46ee-8495-c5976bc4c8f0");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, q as useQuery, b6 as httpPost, b3 as useInvalidateRootLegalEntity, b4 as useMutation, am as isEmpty, b as useI18nContext, _ as useAnalyticsContext, ar as useForm, bm as getOwnDecisionMakers, y as LegalEntityType, W as TaskTypes, Y as Button, a1 as LoaderWrapper, aw as Field, bv as Select, bu as Checkbox, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-
|
|
12
|
-
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-
|
|
13
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
14
|
-
import { b as ModalContent, c as ModalFooter } from "./Modal-
|
|
15
|
-
import { O as OutlinedIcon, C as ContractViewer } from "./ContractViewer-
|
|
16
|
-
import { F as FormEndState } from "./FormEndState-
|
|
11
|
+
import { p as useApiContext, q as useQuery, b6 as httpPost, b3 as useInvalidateRootLegalEntity, b4 as useMutation, am as isEmpty, b as useI18nContext, _ as useAnalyticsContext, ar as useForm, bm as getOwnDecisionMakers, y as LegalEntityType, W as TaskTypes, Y as Button, a1 as LoaderWrapper, aw as Field, bv as Select, bu as Checkbox, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-DV22cGY2.js";
|
|
12
|
+
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-Cc2T2nL_.js";
|
|
13
|
+
import { M as MaybeModal } from "./MaybeModal--Q5-PA4M.js";
|
|
14
|
+
import { b as ModalContent, c as ModalFooter } from "./Modal-DgYkB7th.js";
|
|
15
|
+
import { O as OutlinedIcon, C as ContractViewer } from "./ContractViewer-aFCt9tnN.js";
|
|
16
|
+
import { F as FormEndState } from "./FormEndState-BQsjkCB_.js";
|
|
17
17
|
import { useState, useCallback, useEffect } from "preact/hooks";
|
|
18
18
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-Brh-m-0n.js";
|
|
20
20
|
const getPciTemplate = async (legalEntityId, baseUrl, data) => {
|
|
21
21
|
return httpPost(
|
|
22
22
|
{
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { b as useI18nContext, ar as useForm, C as Typography, aw as Field, az as RadioGroupCard, Y as Button, b9 as Svg, y as LegalEntityType } from "./StoreProvider-
|
|
12
|
+
import { b as useI18nContext, ar as useForm, C as Typography, aw as Field, az as RadioGroupCard, Y as Button, b9 as Svg, y as LegalEntityType } from "./StoreProvider-DV22cGY2.js";
|
|
13
13
|
const setupAccountMethods = ["singpass", "manual"];
|
|
14
14
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
15
15
|
const getSingpassSelectionDisabled = (legalEntityType) => {
|
|
@@ -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] = "7dc42097-208f-4630-89f5-336d2b248442", e._sentryDebugIdIdentifier = "sentry-dbid-7dc42097-208f-4630-89f5-336d2b248442");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, R as ROOT_LE, w as skipToken, L as Loader, U as EntityType, g as getLegalEntityCountry, W as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-
|
|
13
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { a as useLegalEntity, R as ROOT_LE, w as skipToken, L as Loader, U as EntityType, g as getLegalEntityCountry, W as TaskTypes } from "./StoreProvider-DV22cGY2.js";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-DmUXblnz.js";
|
|
13
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-CnSzgAux.js";
|
|
14
14
|
function SoleProprietorshipPage({
|
|
15
15
|
solePropId,
|
|
16
16
|
isTargetLegalEntityType = false,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { b as useI18nContext, X as TaskStatus } from "./StoreProvider-
|
|
12
|
+
import { b as useI18nContext, X as TaskStatus } from "./StoreProvider-DV22cGY2.js";
|
|
13
13
|
const inTaskStatus = "adyen-kyc-in-task-status";
|
|
14
14
|
const inTaskStatusIndicator = "adyen-kyc-in-task-status-indicator";
|
|
15
15
|
const inTaskStatusIndicatorSuccess = "adyen-kyc-in-task-status-indicator-success";
|
|
@@ -2,35 +2,35 @@
|
|
|
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] = "dd3685da-da16-4310-b002-77eaac99a4ad", e._sentryDebugIdIdentifier = "sentry-dbid-dd3685da-da16-4310-b002-77eaac99a4ad");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, q as useQuery, r as httpGet, b3 as useInvalidateRootLegalEntity, b4 as useMutation, b6 as httpPost, y as LegalEntityType, C as Typography, e3 as Currencies, b as useI18nContext, aw as Field, e4 as InputGroup, bv as Select, bf as InputText, bM as InputDate, aA as TextArea, aS as RadioGroup, aC as CountryField, B as Alert, Y as Button, am as isEmpty, ar as useForm, bQ as useGlobalDataSlice, au as ErrorPanel, av as createFormUtils, L as Loader, a2 as Icon, bx as getFormProps, $ as Card, a$ as StructuredList, Z as IconButton, by as isEmpty$1, b9 as Svg, aI as createLogger, e5 as Dropzone, ba as useQueryClient, a as useLegalEntity, R as ROOT_LE, bF as useStateContext, _ as useAnalyticsContext, e6 as useLegalEntities, U as EntityType, g as getLegalEntityCountry } from "./StoreProvider-
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-
|
|
11
|
+
import { p as useApiContext, q as useQuery, r as httpGet, b3 as useInvalidateRootLegalEntity, b4 as useMutation, b6 as httpPost, y as LegalEntityType, C as Typography, e3 as Currencies, b as useI18nContext, aw as Field, e4 as InputGroup, bv as Select, bf as InputText, bM as InputDate, aA as TextArea, aS as RadioGroup, aC as CountryField, B as Alert, Y as Button, am as isEmpty, ar as useForm, bQ as useGlobalDataSlice, au as ErrorPanel, av as createFormUtils, L as Loader, a2 as Icon, bx as getFormProps, $ as Card, a$ as StructuredList, Z as IconButton, by as isEmpty$1, b9 as Svg, aI as createLogger, e5 as Dropzone, ba as useQueryClient, a as useLegalEntity, R as ROOT_LE, bF as useStateContext, _ as useAnalyticsContext, e6 as useLegalEntities, U as EntityType, g as getLegalEntityCountry } from "./StoreProvider-DV22cGY2.js";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-DmUXblnz.js";
|
|
13
13
|
import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
|
|
14
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
16
|
-
import { u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
18
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
19
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
20
|
-
import { c as createDocumentRequest, d as documentApiUtils } from "./documentUtils-
|
|
14
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DcIsom8L.js";
|
|
15
|
+
import { h as hasDataChanged } from "./hasDataChanged-JGGLk-GT.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-Brh-m-0n.js";
|
|
17
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-6mXjpjRV.js";
|
|
18
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DDRulId5.js";
|
|
19
|
+
import { F as FormWrapper } from "./FormWrapper-C7TUCdRD.js";
|
|
20
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./documentUtils-BeCTEpjy.js";
|
|
21
21
|
import { f as formatObject } from "./utils-B1H_8b1P.js";
|
|
22
22
|
import { signal } from "@preact/signals";
|
|
23
|
-
import { s as styles, T as TaskStatusIndicator } from "./SourceOfFunds.module-
|
|
23
|
+
import { s as styles, T as TaskStatusIndicator } from "./SourceOfFunds.module-Xhiq4163.js";
|
|
24
24
|
import { a as formatAmountWithCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
25
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
25
|
+
import { l as localizeDateString } from "./localizeDateString-DR32FTfB.js";
|
|
26
26
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
27
|
-
import { A as Avatar } from "./Avatar-
|
|
28
|
-
import { M as Modal } from "./Modal-
|
|
29
|
-
import { C as Confirm } from "./Confirm-
|
|
27
|
+
import { A as Avatar } from "./Avatar-DTxJSOVb.js";
|
|
28
|
+
import { M as Modal } from "./Modal-DgYkB7th.js";
|
|
29
|
+
import { C as Confirm } from "./Confirm-CrDKBs6A.js";
|
|
30
30
|
import isURL from "validator/es/lib/isURL.js";
|
|
31
|
-
import { v as validateDateNotInTheFuture } from "./validate-
|
|
32
|
-
import { T as TileGroup } from "./TileGroup-
|
|
33
|
-
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-
|
|
31
|
+
import { v as validateDateNotInTheFuture } from "./validate-CuZ3_O-X.js";
|
|
32
|
+
import { T as TileGroup } from "./TileGroup-kfxKl3zX.js";
|
|
33
|
+
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-DavZP279.js";
|
|
34
34
|
const getBusinessLines = async (legalEntityId, baseUrl) => {
|
|
35
35
|
return httpGet({
|
|
36
36
|
baseUrl,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { b as useI18nContext, C as Typography, bb as globalStyles } from "./StoreProvider-
|
|
12
|
+
import { b as useI18nContext, C as Typography, bb as globalStyles } from "./StoreProvider-DV22cGY2.js";
|
|
13
13
|
const range = (stop, start = 0, step = 1) => Array.from({ length: (stop - start) / step + 1 }, (_, i) => start + i * step);
|
|
14
14
|
const progressBar = "adyen-kyc-progress-bar";
|
|
15
15
|
const progressBarThick = "adyen-kyc-progress-bar-thick";
|