@adyen/kyc-components 3.79.0-beta.11 → 3.79.0-beta.13
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-BLF1r81v.js → AcceptTermsOfServiceComponent-wsC0xIyI.js} +5 -5
- package/dist/{AccountSetupRejected-BRnaxqyI.js → AccountSetupRejected-CUiiS_-p.js} +2 -2
- package/dist/{Avatar-BTw7OAZL.js → Avatar-BWTIB8xV.js} +1 -1
- package/dist/{BusinessDetailsDropin-CRzenu3N.js → BusinessDetailsDropin-CjshL7rm.js} +24 -12
- package/dist/{BusinessFinancingComponent-eRzHHQj8.js → BusinessFinancingComponent-P1B_fALc.js} +2 -2
- package/dist/{BusinessFinancingDropin-SAtteVYd.js → BusinessFinancingDropin-BSAKdjmf.js} +8 -8
- package/dist/{BusinessFinancingPage-1YX4ffQI.js → BusinessFinancingPage-BZWXAyRx.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-BXG-4bS7.js → BusinessTypeSelectionPage-DgWtafnV.js} +3 -3
- package/dist/{ContractViewer-D2a47Nc2.js → ContractViewer-B-GaIo75.js} +1 -1
- package/dist/{CreateIndividualComponent-DXenY3V9.js → CreateIndividualComponent-DuFkOz2C.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-D0RAJi-K.js → CreateTransferInstrumentComponent-qJszWLwc.js} +1 -1
- package/dist/{CustomerSupport-Gf9PAvwF.js → CustomerSupport-BmHoFSBU.js} +4 -4
- package/dist/{DebugModal-kqjCwdnR.js → DebugModal-CBACnF0I.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-C93ET6pN.js → DecisionMakerDetailsPage-CDjY2lUc.js} +2 -2
- package/dist/{DecisionMakers-B_s9F6SX.js → DecisionMakers-tIp4FsxI.js} +3 -3
- package/dist/{EmbeddedStatus-CH8NAPhZ.js → EmbeddedStatus-w1_Xzd3T.js} +2 -2
- package/dist/{FormEndState-DvFsm1wi.js → FormEndState-ChSbdBqr.js} +1 -1
- package/dist/{FormFlow-Dza6g5x9.js → FormFlow-2KSRyL-z.js} +1 -1
- package/dist/{IndividualOnfidoDropin-CA8TRBZD.js → IndividualOnfidoDropin-BwUT2DC3.js} +24 -15
- package/dist/{Introduction-BrkpMxtH.js → Introduction-BVNxkBh_.js} +2 -2
- package/dist/{LandingLayout-D9XLRZc-.js → LandingLayout-CKk1eqRH.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-CmyOpq0J.js → LegalRepresentativeDetailsPage-K6j4_i2k.js} +2 -2
- package/dist/{ManageIndividualComponent--wHccwz0.js → ManageIndividualComponent-DSgPsVyt.js} +3 -3
- package/dist/{ManagePCIComponent-CcSl2xcg.js → ManagePCIComponent-uS6cpdzv.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-IzPb5mbQ.js → ManageTermsOfServiceComponent-8BjUTAgp.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-BMzUmIYy.js → ManageTransferInstrumentComponent-Bsd139sz.js} +3 -3
- package/dist/{OnboardingDropinComponent-CYvPptLN.js → OnboardingDropinComponent-DXYCfxZa.js} +31 -31
- package/dist/{ProviderButton-Dv4PeIaV.js → ProviderButton-DzQAZMYd.js} +1 -1
- package/dist/{Review-Cun0I2J9.js → Review-VWA3ZnXP.js} +2 -2
- package/dist/{RootBusinessDetailsPage-lpJvmqXI.js → RootBusinessDetailsPage-DYoUYNSF.js} +2 -2
- package/dist/{RootIndividualDetailsPage-CA5Jp867.js → RootIndividualDetailsPage-pCBldhpf.js} +2 -2
- package/dist/{SignPCIComponent-B0sRI2iC.js → SignPCIComponent-BThzv-z_.js} +4 -4
- package/dist/{SingpassSelection-BGncIECt.js → SingpassSelection-DmwqNRRv.js} +1 -1
- package/dist/{SoleProprietorshipPage-BnwkZXQd.js → SoleProprietorshipPage-BTE90NFF.js} +2 -2
- package/dist/{SourceOfFundsPage-DuetlziY.js → SourceOfFundsPage-BOnuB2Md.js} +9 -9
- package/dist/{StoreProvider-DBx-Rc9Y.js → StoreProvider-CajlJ0HF.js} +16 -8
- package/dist/{TaskItemStatus-l0NqGm4p.js → TaskItemStatus-ByGhxgOz.js} +1 -1
- package/dist/{TaxReportingDropin-CAEn7d5J.js → TaxReportingDropin-B3z4DbQm.js} +6 -6
- package/dist/{TileGroup-DNMgsKFp.js → TileGroup-CP08I4I2.js} +1 -1
- package/dist/{TrustDetailsPage-DET88nrG.js → TrustDetailsPage-DNCaxq43.js} +4 -4
- package/dist/{TrustMemberCompanyPage-v4b_7ECE.js → TrustMemberCompanyPage-B_O6XUdd.js} +3 -3
- package/dist/{TrustMemberIndividualPage-DrKvwO_1.js → TrustMemberIndividualPage-Dokd-hFo.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-sZpk938Y.js → UnincorporatedPartnershipIndividualPage-CjLvYaSR.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-B_25YQtW.js → UnincorporatedPartnershipMemberCompanyPage-DshuXcip.js} +2 -2
- package/dist/{VerificationErrorAlert-CQUtfbQh.js → VerificationErrorAlert-CuWf07uo.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-BgxKFKI_.js → ViewVerificationStatusComponent-ygwxLN7c.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-CYabF2IE.js → css-rnYfrfXf.js} +1 -1
- package/dist/{getFieldsWithExistingData-BMJ9VRwI.js → getFieldsWithExistingData-BGeIwxD4.js} +1 -1
- package/dist/{hasDataChanged-BsvfridT.js → hasDataChanged-6glDRZ21.js} +1 -1
- package/dist/{json-Bp3FoeUX.js → json-CLJ-vb_G.js} +1 -1
- package/dist/{localizeDateString-BrAUxooA.js → localizeDateString-DsvXjmcy.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-Yp1rpNPh.js → mapFinancialReportsToFinancialInformation-et5Wjbbf.js} +1 -1
- package/dist/{plaintext-tEbmVc-Y.js → plaintext-BvKz_sFo.js} +1 -1
- package/dist/{resolveEnvironment-DLDdrI0A.js → resolveEnvironment-SZfh92jG.js} +3 -3
- package/dist/{rules-BuFlJPSb.js → rules-BwF1AMJ9.js} +1 -1
- package/dist/{useMultiForm-mB-ssyox.js → useMultiForm-D6Mtr3vR.js} +1 -1
- package/dist/{useOnboardingStatus-C2VVkgIp.js → useOnboardingStatus-COToX0hj.js} +1 -1
- package/dist/{useSalesChannelsSettings-CrrOE83q.js → useSalesChannelsSettings-02_LFb0N.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Bz286CPA.js → useTermsOfServiceStatus-m7L1QhUV.js} +1 -1
- package/dist/{useUpdateLegalEntity-Dp1RaiDq.js → useUpdateLegalEntity-BM-_zQ7c.js} +1 -1
- package/dist/{utils-Da9Z4zPn.js → utils-CA2ksZdR.js} +3 -3
- package/dist/{validate-NC5ienrp.js → validate-BEP9Dkgl.js} +1 -1
- package/dist/{validate-CYbMPKau.js → validate-CfwudFGl.js} +1 -1
- package/dist/{yaml-BnmFEh5a.js → yaml-DuRVUPOM.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-BLF1r81v.js → AcceptTermsOfServiceComponent-wsC0xIyI.js}
RENAMED
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { p as useApiContext, bg as useInvalidateRootLegalEntity, bh as useMutation, bj as httpPost, q as useQuery, w as skipToken, r as httpGet, X as createLogger, b as useI18nContext, Z as useTranslation, a0 as useAnalyticsContext, a6 as useToastContext, a7 as useExperimentsContext, bs as getLanguageCode, av as useForm, B as Alert, _ as Button, a3 as LoaderWrapper, aA as Field, bt as Select, bu as Checkbox, aP as ActionBar, bv as MaybeModal, b6 as ModalContent, b8 as ModalFooter, bw as StepProgressIndicator, b9 as Spacer, y as LegalEntityType, ag as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, an as getLegalEntityNameBasedOnType, aN as FormNavigation, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-
|
|
13
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
14
|
-
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-
|
|
15
|
-
import { F as FormEndState } from "./FormEndState-
|
|
12
|
+
import { p as useApiContext, bg as useInvalidateRootLegalEntity, bh as useMutation, bj as httpPost, q as useQuery, w as skipToken, r as httpGet, X as createLogger, b as useI18nContext, Z as useTranslation, a0 as useAnalyticsContext, a6 as useToastContext, a7 as useExperimentsContext, bs as getLanguageCode, av as useForm, B as Alert, _ as Button, a3 as LoaderWrapper, aA as Field, bt as Select, bu as Checkbox, aP as ActionBar, bv as MaybeModal, b6 as ModalContent, b8 as ModalFooter, bw as StepProgressIndicator, b9 as Spacer, y as LegalEntityType, ag as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, an as getLegalEntityNameBasedOnType, aN as FormNavigation, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-CajlJ0HF.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-m7L1QhUV.js";
|
|
14
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-B-GaIo75.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-ChSbdBqr.js";
|
|
16
16
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
17
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-DsvXjmcy.js";
|
|
18
18
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
19
19
|
return httpPost(
|
|
20
20
|
{
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-
|
|
12
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
11
|
+
import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-CajlJ0HF.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-DXYCfxZa.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { i18n } = useI18nContext();
|
|
15
15
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a4 as Icon } from "./StoreProvider-
|
|
12
|
+
import { a4 as Icon } from "./StoreProvider-CajlJ0HF.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7d591a21-369e-4996-b8b8-54935c968a2c", e._sentryDebugIdIdentifier = "sentry-dbid-7d591a21-369e-4996-b8b8-54935c968a2c");
|
|
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, bh as useMutation, bj as httpPost, q as useQuery, dU as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dx as MemoizedDocumentUpload, _ as Button, b4 as Modal, b6 as ModalContent, C as Typography, ap as CountryCodes, O as CompanyTypesValue, dV as useGlobalData, dW as getForms, W as TaskTypes, dX as BasicInformation, dr as getFormProps, dY as CompanyStructure, dZ as AdditionalInformation, d_ as MemoizedConstitutionalDocument, y as LegalEntityType, d$ as FinancialInformation, bz as formatObject, be as entriesOf, cf as getDocument, cg as mapExistingFile, ch as getPageName, bn as businessDetailsComponentsKeyMapping, e0 as solePropBusinessDetailsKeyMapping, b0 as objectsDeepEqual, e1 as operationalAddressIsSameIds, e2 as COUNTRIES_USING_COMPANY_SEARCH, e3 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dg as keysOf, i as isUndefinedOrNull, dL as isDateOlderThanAYear, aK as summaryItem, e4 as solePropBusinessDetailsApiKeyMapping, e5 as businessDetailsApiKeyMapping, dh as isEmpty, e6 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, ck as createDocumentRequest, b2 as datasetUtilities, cF as mapAddressLabels, e7 as companyTypeMetadata, e8 as getProp, aq as isEmpty$1, X as createLogger, cE as filterOutUnwantedAssociationsIfRootLE, bT as isValidationError, bU as processValidationErrors, bV as isMaintenanceModeError, e9 as documentFormsIds, as as resolveFieldMetadata, ea as registrationNumberDefaultFieldMetadata, eb as inferCompanyRegistrationNumberType, ec as getCompanyRegistrationNumberOptions, ed as registrationNumberDefaultFieldConfig, ca as taxInformationDefaultFieldMetadata, ee as countryToTaxInfoTypeMap, cb as taxInformationDefaultFieldConfig, ef as getKeyForField, cn as drop, al as getOwnEntityAssociations, cO as doArraysMatch, cK as getFileExtention, P as useAccountHolder, a6 as useToastContext, a0 as useAnalyticsContext, a7 as useExperimentsContext, J as useSettingsContext, eg as verifiedBusiness, bp as useQueryClient, eh as useStateContext, K as SettingNames, ei as setIsBankAccountRequestedForOrganization, bO as getAssociatedLeAnalyticsPayload, b3 as getCapabilityProblems, co as documentApiUtils, cC as composePerScenarioFormConfigurations, cw as useScenarioConfiguration, ej as rules, cx as getPropsFromConfigurations, ek as useCompanySelection, el as useVerifyTin, bP as getRequiredForms, bQ as addValidityToForms, bR as useFormComposer, em as setVerifiedBusiness, en as FormWrapper, ba as Confirm, eo as solePropBusinessDetailsDocumentMapping, ep as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
11
|
+
import { p as useApiContext, bh as useMutation, bj as httpPost, q as useQuery, dU as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dx as MemoizedDocumentUpload, _ as Button, b4 as Modal, b6 as ModalContent, C as Typography, ap as CountryCodes, O as CompanyTypesValue, dV as useGlobalData, dW as getForms, W as TaskTypes, dX as BasicInformation, dr as getFormProps, dY as CompanyStructure, dZ as AdditionalInformation, d_ as MemoizedConstitutionalDocument, y as LegalEntityType, d$ as FinancialInformation, bz as formatObject, be as entriesOf, cf as getDocument, cg as mapExistingFile, ch as getPageName, bn as businessDetailsComponentsKeyMapping, e0 as solePropBusinessDetailsKeyMapping, b0 as objectsDeepEqual, e1 as operationalAddressIsSameIds, e2 as COUNTRIES_USING_COMPANY_SEARCH, e3 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dg as keysOf, i as isUndefinedOrNull, dL as isDateOlderThanAYear, aK as summaryItem, e4 as solePropBusinessDetailsApiKeyMapping, e5 as businessDetailsApiKeyMapping, dh as isEmpty, e6 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, ck as createDocumentRequest, b2 as datasetUtilities, cF as mapAddressLabels, e7 as companyTypeMetadata, e8 as getProp, aq as isEmpty$1, X as createLogger, cE as filterOutUnwantedAssociationsIfRootLE, bT as isValidationError, bU as processValidationErrors, bV as isMaintenanceModeError, e9 as documentFormsIds, as as resolveFieldMetadata, ea as registrationNumberDefaultFieldMetadata, eb as inferCompanyRegistrationNumberType, ec as getCompanyRegistrationNumberOptions, ed as registrationNumberDefaultFieldConfig, ca as taxInformationDefaultFieldMetadata, ee as countryToTaxInfoTypeMap, cb as taxInformationDefaultFieldConfig, ef as getKeyForField, cn as drop, al as getOwnEntityAssociations, cO as doArraysMatch, cK as getFileExtention, P as useAccountHolder, a6 as useToastContext, a0 as useAnalyticsContext, a7 as useExperimentsContext, J as useSettingsContext, eg as verifiedBusiness, bp as useQueryClient, eh as useStateContext, K as SettingNames, ei as setIsBankAccountRequestedForOrganization, bO as getAssociatedLeAnalyticsPayload, b3 as getCapabilityProblems, co as documentApiUtils, cC as composePerScenarioFormConfigurations, cw as useScenarioConfiguration, ej as rules, cx as getPropsFromConfigurations, ek as useCompanySelection, el as useVerifyTin, bP as getRequiredForms, bQ as addValidityToForms, bR as useFormComposer, em as setVerifiedBusiness, en as FormWrapper, ba as Confirm, eo as solePropBusinessDetailsDocumentMapping, ep as businessDetailsDocumentMapping } from "./StoreProvider-CajlJ0HF.js";
|
|
12
12
|
import { useState, useEffect, useRef, useCallback, useMemo } from "preact/hooks";
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
16
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-BM-_zQ7c.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-6glDRZ21.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-CA2ksZdR.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-BGeIwxD4.js";
|
|
17
17
|
import cx from "classnames";
|
|
18
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-et5Wjbbf.js";
|
|
19
19
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
20
20
|
const clearCompanyData = async (legalEntityId, baseUrl) => {
|
|
21
21
|
return httpPost({
|
|
@@ -1411,7 +1411,7 @@ async function submit({
|
|
|
1411
1411
|
}) {
|
|
1412
1412
|
const logger = createLogger();
|
|
1413
1413
|
setLoadingStatus("loading");
|
|
1414
|
-
|
|
1414
|
+
let trackingPayload = {
|
|
1415
1415
|
...additionalTrackingParams,
|
|
1416
1416
|
actionType: "submit",
|
|
1417
1417
|
companyStructure: data.companyStructure?.entityType ?? null,
|
|
@@ -1529,10 +1529,22 @@ async function submit({
|
|
|
1529
1529
|
onExternalSubmit?.(data);
|
|
1530
1530
|
} catch (err) {
|
|
1531
1531
|
if (isValidationError(err)) {
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1532
|
+
const getErrors = processValidationErrors(err, TaskTypes.BUSINESS_DETAILS);
|
|
1533
|
+
if (getErrors && !Object.keys(getErrors).length) {
|
|
1534
|
+
showToast({ label: i18n.get("failedToUpdateDetails"), variant: "error" });
|
|
1535
|
+
const unmappedErrorNames = err.invalidFields?.map((field) => field.name).filter(Boolean) ?? [];
|
|
1536
|
+
if (unmappedErrorNames.length) {
|
|
1537
|
+
trackingPayload = {
|
|
1538
|
+
...trackingPayload,
|
|
1539
|
+
additionalData: { unmappedErrorNames }
|
|
1540
|
+
};
|
|
1541
|
+
}
|
|
1542
|
+
} else {
|
|
1543
|
+
setProblems({
|
|
1544
|
+
...problems,
|
|
1545
|
+
validationErrors: getErrors
|
|
1546
|
+
});
|
|
1547
|
+
}
|
|
1536
1548
|
}
|
|
1537
1549
|
if (isMaintenanceModeError(err)) {
|
|
1538
1550
|
showToast({
|
package/dist/{BusinessFinancingComponent-eRzHHQj8.js → BusinessFinancingComponent-P1B_fALc.js}
RENAMED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-
|
|
13
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-CajlJ0HF.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BSAKdjmf.js";
|
|
14
14
|
function BusinessFinancingComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useEffect, useMemo, useState, useCallback } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
-
import { by as reverseMapping, bz as formatObject, bA as isEeaCountry, y as LegalEntityType, bc as cloneObject, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, aA as Field, bt as Select, C as Typography, bB as LegalFormField, az as createFormUtils, aX as RadioGroup, bC as Link, bD as InputText, bd as currencyByCountry, bE as InputNumber, bF as Currency, bG as CURRENCY_FIELD, bH as InputCurrency, bI as InputDate, bJ as useFormContext, aw as getFieldProps, ay as ErrorPanel, b2 as datasetUtilities, bK as getAddressSchemaForCountry, bL as COUNTRIES_WITH_STATES_DATASET, bu as Checkbox, bM as Address, bN as getAddressSchemaLabelsByCountry, a0 as useAnalyticsContext, bg as useInvalidateRootLegalEntity, ao as useAssociatedLegalEntity, a6 as useToastContext, J as useSettingsContext, K as SettingNames, bO as getAssociatedLeAnalyticsPayload, bP as getRequiredForms, bQ as addValidityToForms, bR as useFormComposer, bS as trackNavigation, L as Loader, a4 as Icon, _ as Button, bT as isValidationError, bU as processValidationErrors, bV as isMaintenanceModeError } from "./StoreProvider-
|
|
14
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
15
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
16
|
-
import { F as FormEndState } from "./FormEndState-
|
|
17
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
18
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
19
|
-
import { b as businessFinancingMultiformRules } from "./validate-
|
|
12
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-BM-_zQ7c.js";
|
|
13
|
+
import { by as reverseMapping, bz as formatObject, bA as isEeaCountry, y as LegalEntityType, bc as cloneObject, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, aA as Field, bt as Select, C as Typography, bB as LegalFormField, az as createFormUtils, aX as RadioGroup, bC as Link, bD as InputText, bd as currencyByCountry, bE as InputNumber, bF as Currency, bG as CURRENCY_FIELD, bH as InputCurrency, bI as InputDate, bJ as useFormContext, aw as getFieldProps, ay as ErrorPanel, b2 as datasetUtilities, bK as getAddressSchemaForCountry, bL as COUNTRIES_WITH_STATES_DATASET, bu as Checkbox, bM as Address, bN as getAddressSchemaLabelsByCountry, a0 as useAnalyticsContext, bg as useInvalidateRootLegalEntity, ao as useAssociatedLegalEntity, a6 as useToastContext, J as useSettingsContext, K as SettingNames, bO as getAssociatedLeAnalyticsPayload, bP as getRequiredForms, bQ as addValidityToForms, bR as useFormComposer, bS as trackNavigation, L as Loader, a4 as Icon, _ as Button, bT as isValidationError, bU as processValidationErrors, bV as isMaintenanceModeError } from "./StoreProvider-CajlJ0HF.js";
|
|
14
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-2KSRyL-z.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-D6Mtr3vR.js";
|
|
16
|
+
import { F as FormEndState } from "./FormEndState-ChSbdBqr.js";
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-DsvXjmcy.js";
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-et5Wjbbf.js";
|
|
19
|
+
import { b as businessFinancingMultiformRules } from "./validate-CfwudFGl.js";
|
|
20
20
|
const businessFinancingBaseMapping = {
|
|
21
21
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
22
22
|
legalInformationInsolvency: "organization.statusOfLegalProceeding",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
11
|
+
import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-CajlJ0HF.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BSAKdjmf.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-BXG-4bS7.js → BusinessTypeSelectionPage-DgWtafnV.js}
RENAMED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { X as createLogger, b as useI18nContext, a0 as useAnalyticsContext, a6 as useToastContext, a7 as useExperimentsContext, P as useAccountHolder, dR as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, av as useForm, a3 as LoaderWrapper, C as Typography, aA as Field, dS as EntityTypeRadioGroupCard, aD as RadioGroupCard, _ as Button, b9 as Spacer, a4 as Icon, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-
|
|
11
|
+
import { X as createLogger, b as useI18nContext, a0 as useAnalyticsContext, a6 as useToastContext, a7 as useExperimentsContext, P as useAccountHolder, dR as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, av as useForm, a3 as LoaderWrapper, C as Typography, aA as Field, dS as EntityTypeRadioGroupCard, aD as RadioGroupCard, _ as Button, b9 as Spacer, a4 as Icon, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-CajlJ0HF.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-BM-_zQ7c.js";
|
|
14
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-CA2ksZdR.js";
|
|
15
15
|
const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
|
|
16
16
|
const logger$1 = createLogger();
|
|
17
17
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a4 as Icon } from "./StoreProvider-
|
|
11
|
+
import { a4 as Icon } from "./StoreProvider-CajlJ0HF.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { useRef, useState, useEffect } from "preact/hooks";
|
|
14
14
|
const outlinedIcon = "adyen-kyc-outlined-icon";
|
package/dist/{CreateIndividualComponent-DXenY3V9.js → CreateIndividualComponent-DuFkOz2C.js}
RENAMED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, ac as useCapabilityProblems, a7 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, ac as useCapabilityProblems, a7 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes } from "./StoreProvider-CajlJ0HF.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BwUT2DC3.js";
|
|
13
13
|
const CreateIndividualComponent = ({
|
|
14
14
|
legalEntityId,
|
|
15
15
|
onSubmitSuccess,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, ao as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bq as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-
|
|
12
|
+
import { a as useLegalEntity, ao as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bq as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-CajlJ0HF.js";
|
|
13
13
|
function CreateTransferInstrumentComponent({
|
|
14
14
|
legalEntityId,
|
|
15
15
|
transferInstrumentId,
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, a0 as useAnalyticsContext, a6 as useToastContext, bp as useQueryClient, as as resolveFieldMetadata, c8 as defaultFieldMetadata, c9 as fieldConfig, cs as getAsyncPhoneValidationRules, F as FormHeader, df as ContactDetails, aP as ActionBar, X as createLogger } from "./StoreProvider-
|
|
11
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, a0 as useAnalyticsContext, a6 as useToastContext, bp as useQueryClient, as as resolveFieldMetadata, c8 as defaultFieldMetadata, c9 as fieldConfig, cs as getAsyncPhoneValidationRules, F as FormHeader, df as ContactDetails, aP as ActionBar, X as createLogger } from "./StoreProvider-CajlJ0HF.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
15
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-BM-_zQ7c.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-BEP9Dkgl.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-D6Mtr3vR.js";
|
|
16
16
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
17
17
|
return {
|
|
18
18
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -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] = "b3a1bd15-bc5f-45f2-8238-eb9a63328ecc", e._sentryDebugIdIdentifier = "sentry-dbid-b3a1bd15-bc5f-45f2-8238-eb9a63328ecc");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { _ as Button, be as entriesOf, bD as InputText, b as useI18nContext, dO as splitTaskIdentifier, a7 as useExperimentsContext, J as useSettingsContext, ad as useGlobalStore, dj as listToRecord, dP as valuesOf, b4 as Modal, X as createLogger, a4 as Icon, K as SettingNames, dQ as ExperimentNames } from "./StoreProvider-
|
|
12
|
+
import { _ as Button, be as entriesOf, bD as InputText, b as useI18nContext, dO as splitTaskIdentifier, a7 as useExperimentsContext, J as useSettingsContext, ad as useGlobalStore, dj as listToRecord, dP as valuesOf, b4 as Modal, X as createLogger, a4 as Icon, K as SettingNames, dQ as ExperimentNames } from "./StoreProvider-CajlJ0HF.js";
|
|
13
13
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
14
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
14
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-ByGhxgOz.js";
|
|
15
15
|
const tabs = "adyen-kyc-tabs";
|
|
16
16
|
const styles$2 = {
|
|
17
17
|
tabs
|
|
@@ -144,10 +144,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
144
144
|
};
|
|
145
145
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
146
146
|
const moduleMap = {
|
|
147
|
-
plaintext: () => import("./plaintext-
|
|
148
|
-
json: () => import("./json-
|
|
149
|
-
yaml: () => import("./yaml-
|
|
150
|
-
css: () => import("./css-
|
|
147
|
+
plaintext: () => import("./plaintext-BvKz_sFo.js"),
|
|
148
|
+
json: () => import("./json-CLJ-vb_G.js"),
|
|
149
|
+
yaml: () => import("./yaml-DuRVUPOM.js"),
|
|
150
|
+
css: () => import("./css-rnYfrfXf.js")
|
|
151
151
|
};
|
|
152
152
|
const getModule = async (name) => {
|
|
153
153
|
if (!supportedModules.includes(name)) {
|
|
@@ -448,7 +448,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
448
448
|
const [tab, setTab] = useState("metadata");
|
|
449
449
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
450
450
|
const metadata = {
|
|
451
|
-
sdkVersion: "3.79.0-beta.
|
|
451
|
+
sdkVersion: "3.79.0-beta.13",
|
|
452
452
|
locale: i18n.locale,
|
|
453
453
|
rootLegalEntityId: rootLegalEntity.id
|
|
454
454
|
};
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken, ac as useCapabilityProblems, a7 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a5 as noop } from "./StoreProvider-
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, ac as useCapabilityProblems, a7 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a5 as noop } from "./StoreProvider-CajlJ0HF.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BwUT2DC3.js";
|
|
13
13
|
function DecisionMakerDetailsPage({
|
|
14
14
|
decisionMakerId,
|
|
15
15
|
parentCompanyId,
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, R as ROOT_LE, L as Loader, aa as useGetTaskStatus, b as useI18nContext, Z as useTranslation, a0 as useAnalyticsContext, a6 as useToastContext, ac as useCapabilityProblems, bx as getOwnDecisionMakers, cR as getAvailableDecisionMakerRoleTypes, W as TaskTypes, cA as getAllowedDecisionMakerRoles, F as FormHeader, aW as ContextGuidance, aU as Trans, cP as DecisionMakerType, B as Alert, ab as CardGroup, _ as Button, aP as ActionBar } from "./StoreProvider-
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, d as EntityAssociation } from "./OnboardingDropinComponent-
|
|
12
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, aa as useGetTaskStatus, b as useI18nContext, Z as useTranslation, a0 as useAnalyticsContext, a6 as useToastContext, ac as useCapabilityProblems, bx as getOwnDecisionMakers, cR as getAvailableDecisionMakerRoleTypes, W as TaskTypes, cA as getAllowedDecisionMakerRoles, F as FormHeader, aW as ContextGuidance, aU as Trans, cP as DecisionMakerType, B as Alert, ab as CardGroup, _ as Button, aP as ActionBar } from "./StoreProvider-CajlJ0HF.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-BM-_zQ7c.js";
|
|
14
|
+
import { c as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, d as EntityAssociation } from "./OnboardingDropinComponent-DXYCfxZa.js";
|
|
15
15
|
const DecisionMakers = (props) => {
|
|
16
16
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
17
17
|
if (isLoading || !data) {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { A as Avatar } from "./Avatar-
|
|
13
|
-
import { Y as TaskStatus, Z as useTranslation, z as Skeleton, C as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-BWTIB8xV.js";
|
|
13
|
+
import { Y as TaskStatus, Z as useTranslation, z as Skeleton, C as Typography } from "./StoreProvider-CajlJ0HF.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatus } from "./view-verification-status-DTkA8PtO.js";
|
|
16
16
|
const embeddedStatus = "adyen-kyc-embedded-status";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { dD as defineSlots, a4 as Icon, A as AlertIcon } from "./StoreProvider-
|
|
12
|
+
import { dD as defineSlots, a4 as Icon, A as AlertIcon } from "./StoreProvider-CajlJ0HF.js";
|
|
13
13
|
const formEndState = "adyen-kyc-form-end-state";
|
|
14
14
|
const endStateIcon = "adyen-kyc-end-state-icon";
|
|
15
15
|
const iconInfo = "adyen-kyc-icon-info";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState } from "preact/hooks";
|
|
12
|
-
import { dE as FormContext, a0 as useAnalyticsContext, Z as useTranslation, bv as MaybeModal, a3 as LoaderWrapper, dF as FormRouterContextProvider, aO as Summary, _ as Button, $ as IconButton, ba as Confirm } from "./StoreProvider-
|
|
12
|
+
import { dE as FormContext, a0 as useAnalyticsContext, Z as useTranslation, bv as MaybeModal, a3 as LoaderWrapper, dF as FormRouterContextProvider, aO as Summary, _ as Button, $ as IconButton, ba as Confirm } from "./StoreProvider-CajlJ0HF.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
function FormContextProvider({
|
|
15
15
|
children,
|
|
@@ -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] = "2f21075c-5633-484f-a693-f8ee0f5ee017", e._sentryDebugIdIdentifier = "sentry-dbid-2f21075c-5633-484f-a693-f8ee0f5ee017");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { p as useApiContext, bh as useMutation, bj as httpPost, bW as matchesRegex, bX as trimValWithOneSpace, bY as NO_ALPHABET_REGEX, bZ as EMOJI_REGEX, b_ as hasRepeatedCharacters, b$ as isInvalidName, c0 as INDIVIDUAL_VALID_CHAR_REGEX, c1 as getFormattingRegEx, c2 as SPECIAL_CHARS, c3 as standardKatakanaValidator, c4 as standardKanjiValidator, as as resolveFieldMetadata, ap as CountryCodes, c5 as getSSNType, aq as isEmpty, c6 as defaultFieldMetadata, c7 as defaultFieldConfig, c8 as defaultFieldMetadata$1, c9 as fieldConfig, W as TaskTypes, ca as taxInformationDefaultFieldMetadata, y as LegalEntityType, cb as taxInformationDefaultFieldConfig, cc as getAgeToday, cd as euCountries, ce as getIdDocument, cf as getDocument, cg as mapExistingFile, ch as getPageName, ci as getLocalizedIdDocumentTypeOptions, cj as getPage, ck as createDocumentRequest, bz as formatObject, cl as individualApiKeyMapping, bm as individualComponentsKeyMapping, by as reverseMapping, cm as getNomineeFromAssociation, cn as drop, X as createLogger, P as useAccountHolder, b as useI18nContext, a0 as useAnalyticsContext, a6 as useToastContext, a7 as useExperimentsContext, J as useSettingsContext, co as documentApiUtils, cp as useProviderStatus, g as getLegalEntityCountry, bO as getAssociatedLeAnalyticsPayload, cq as addressValidators, cr as getAsyncIdNumberValidationRule, cs as getAsyncPhoneValidationRules, ct as addressFormatters, cu as useScenarios, cv as setHasMotionCaptureScenario, cw as useScenarioConfiguration, cx as getPropsFromConfigurations, cy as individualForms, cz as showIndividualMotionCapture, bP as getRequiredForms, bQ as addValidityToForms, cA as getAllowedDecisionMakerRoles, b2 as datasetUtilities, bR as useFormComposer, bS as trackNavigation, cB as Individual, cC as composePerScenarioFormConfigurations, cD as omitObscuredFieldsIfUnchanged, cE as filterOutUnwantedAssociationsIfRootLE, bT as isValidationError, bU as processValidationErrors, bV as isMaintenanceModeError, bc as cloneObject, cF as mapAddressLabels, cG as individualDocumentForms, cH as individualDocumentMapping, cI as individualObscuredFields, cJ as mergeAttachments, cK as getFileExtention, al as getOwnEntityAssociations, cL as hasNomineesChanged, cM as attachNomineeToRole, cN as idVerificationProviderId, cO as doArraysMatch, C as Typography, _ as Button, aA as Field, cP as DecisionMakerType, cQ as createFormRules, cR as getAvailableDecisionMakerRoleTypes, cS as allowedCountriesForNominee, bK as getAddressSchemaForCountry, bL as COUNTRIES_WITH_STATES_DATASET, cT as Scenarios, cU as isLowRiskCountry, bt as Select, cV as isTruthyValidator, cW as licenseCardNumberDefaultMetadata, cX as licenseCardNumberDefaultConfig, ar as mergeFieldMetadataIntoProps, az as createFormUtils, bJ as useFormContext, aw as getFieldProps, cY as idNumberFields, cZ as IdentityNumber, c_ as additionallIdNumberOptions, c$ as MaskedInput, bI as InputDate, d0 as formatDateObj, d1 as DriversLicense, d2 as addressFields, u as useAllowedCountries, K as SettingNames, d3 as getDefaultTaxIdNumberType, F as FormHeader, ay as ErrorPanel, aG as CountryField, bM as Address, bN as getAddressSchemaLabelsByCountry, bC as Link, ba as Confirm, d4 as getAgeRangeForLegalRepresentative, d5 as IndividualIdNumberTypeSelector, d6 as TaxInformationField, d7 as PatriotActDisclosure, d8 as isLegalRepresentativeNeeded, ax as nameFields, d9 as decisionMakerRoleFields, da as nomineeFields, db as contactDetailFields, B as Alert, aW as ContextGuidance, b1 as TrustedFieldsProvider, dc as DecisionMakerRole, dd as NomineeDecisionMakerRole, de as LocalizedNameFields, bD as InputText, df as ContactDetails, dg as keysOf, b0 as objectsDeepEqual, dh as isEmpty$1, di as RadioWithLabel, dj as listToRecord, b4 as Modal, bo as Svg, dk as pick, dl as IdVerification, b9 as Spacer, $ as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dm as isPersonUnderAge, dn as IdDocumentManualUpload, Z as useTranslation, aU as Trans, dp as idDocumentUploadFields, dq as useFormRouterContext, dr as getFormProps, ds as useCapabilities, dt as hasMotionCaptureScenario, du as setShowIndividualMotionCapture, dv as shouldShowMotionCapture, dw as MemoizedProofOfRelationship, dx as MemoizedDocumentUpload, dy as MemoizedProofOfResidencyUpload, dz as individualOnfidoApiKeyMapping, dA as individualOnfidoBaseMapping, bp as useQueryClient, dB as individualOnfidoDocumentMapping, dC as individualOnfidoObscuredFields } from "./StoreProvider-
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
15
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
16
|
-
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
18
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
19
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
20
|
-
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-
|
|
12
|
+
import { p as useApiContext, bh as useMutation, bj as httpPost, bW as matchesRegex, bX as trimValWithOneSpace, bY as NO_ALPHABET_REGEX, bZ as EMOJI_REGEX, b_ as hasRepeatedCharacters, b$ as isInvalidName, c0 as INDIVIDUAL_VALID_CHAR_REGEX, c1 as getFormattingRegEx, c2 as SPECIAL_CHARS, c3 as standardKatakanaValidator, c4 as standardKanjiValidator, as as resolveFieldMetadata, ap as CountryCodes, c5 as getSSNType, aq as isEmpty, c6 as defaultFieldMetadata, c7 as defaultFieldConfig, c8 as defaultFieldMetadata$1, c9 as fieldConfig, W as TaskTypes, ca as taxInformationDefaultFieldMetadata, y as LegalEntityType, cb as taxInformationDefaultFieldConfig, cc as getAgeToday, cd as euCountries, ce as getIdDocument, cf as getDocument, cg as mapExistingFile, ch as getPageName, ci as getLocalizedIdDocumentTypeOptions, cj as getPage, ck as createDocumentRequest, bz as formatObject, cl as individualApiKeyMapping, bm as individualComponentsKeyMapping, by as reverseMapping, cm as getNomineeFromAssociation, cn as drop, X as createLogger, P as useAccountHolder, b as useI18nContext, a0 as useAnalyticsContext, a6 as useToastContext, a7 as useExperimentsContext, J as useSettingsContext, co as documentApiUtils, cp as useProviderStatus, g as getLegalEntityCountry, bO as getAssociatedLeAnalyticsPayload, cq as addressValidators, cr as getAsyncIdNumberValidationRule, cs as getAsyncPhoneValidationRules, ct as addressFormatters, cu as useScenarios, cv as setHasMotionCaptureScenario, cw as useScenarioConfiguration, cx as getPropsFromConfigurations, cy as individualForms, cz as showIndividualMotionCapture, bP as getRequiredForms, bQ as addValidityToForms, cA as getAllowedDecisionMakerRoles, b2 as datasetUtilities, bR as useFormComposer, bS as trackNavigation, cB as Individual, cC as composePerScenarioFormConfigurations, cD as omitObscuredFieldsIfUnchanged, cE as filterOutUnwantedAssociationsIfRootLE, bT as isValidationError, bU as processValidationErrors, bV as isMaintenanceModeError, bc as cloneObject, cF as mapAddressLabels, cG as individualDocumentForms, cH as individualDocumentMapping, cI as individualObscuredFields, cJ as mergeAttachments, cK as getFileExtention, al as getOwnEntityAssociations, cL as hasNomineesChanged, cM as attachNomineeToRole, cN as idVerificationProviderId, cO as doArraysMatch, C as Typography, _ as Button, aA as Field, cP as DecisionMakerType, cQ as createFormRules, cR as getAvailableDecisionMakerRoleTypes, cS as allowedCountriesForNominee, bK as getAddressSchemaForCountry, bL as COUNTRIES_WITH_STATES_DATASET, cT as Scenarios, cU as isLowRiskCountry, bt as Select, cV as isTruthyValidator, cW as licenseCardNumberDefaultMetadata, cX as licenseCardNumberDefaultConfig, ar as mergeFieldMetadataIntoProps, az as createFormUtils, bJ as useFormContext, aw as getFieldProps, cY as idNumberFields, cZ as IdentityNumber, c_ as additionallIdNumberOptions, c$ as MaskedInput, bI as InputDate, d0 as formatDateObj, d1 as DriversLicense, d2 as addressFields, u as useAllowedCountries, K as SettingNames, d3 as getDefaultTaxIdNumberType, F as FormHeader, ay as ErrorPanel, aG as CountryField, bM as Address, bN as getAddressSchemaLabelsByCountry, bC as Link, ba as Confirm, d4 as getAgeRangeForLegalRepresentative, d5 as IndividualIdNumberTypeSelector, d6 as TaxInformationField, d7 as PatriotActDisclosure, d8 as isLegalRepresentativeNeeded, ax as nameFields, d9 as decisionMakerRoleFields, da as nomineeFields, db as contactDetailFields, B as Alert, aW as ContextGuidance, b1 as TrustedFieldsProvider, dc as DecisionMakerRole, dd as NomineeDecisionMakerRole, de as LocalizedNameFields, bD as InputText, df as ContactDetails, dg as keysOf, b0 as objectsDeepEqual, dh as isEmpty$1, di as RadioWithLabel, dj as listToRecord, b4 as Modal, bo as Svg, dk as pick, dl as IdVerification, b9 as Spacer, $ as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dm as isPersonUnderAge, dn as IdDocumentManualUpload, Z as useTranslation, aU as Trans, dp as idDocumentUploadFields, dq as useFormRouterContext, dr as getFormProps, ds as useCapabilities, dt as hasMotionCaptureScenario, du as setShowIndividualMotionCapture, dv as shouldShowMotionCapture, dw as MemoizedProofOfRelationship, dx as MemoizedDocumentUpload, dy as MemoizedProofOfResidencyUpload, dz as individualOnfidoApiKeyMapping, dA as individualOnfidoBaseMapping, bp as useQueryClient, dB as individualOnfidoDocumentMapping, dC as individualOnfidoObscuredFields } from "./StoreProvider-CajlJ0HF.js";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-BM-_zQ7c.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-BEP9Dkgl.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-2KSRyL-z.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-DzQAZMYd.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-D6Mtr3vR.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-BGeIwxD4.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-DsvXjmcy.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-BwF1AMJ9.js";
|
|
21
21
|
import { signal, computed } from "@preact/signals";
|
|
22
|
-
import { T as TileGroup } from "./TileGroup-
|
|
22
|
+
import { T as TileGroup } from "./TileGroup-CP08I4I2.js";
|
|
23
23
|
const verifyIdNumber = async (legalEntityId, baseUrl, data) => {
|
|
24
24
|
return await httpPost(
|
|
25
25
|
{
|
|
@@ -4300,6 +4300,7 @@ function IndividualOnfidoDropin({
|
|
|
4300
4300
|
}),
|
|
4301
4301
|
[propProblems, validationErrors]
|
|
4302
4302
|
);
|
|
4303
|
+
const hasVerificationErrors = propProblems?.verificationErrors && Object.keys(propProblems.verificationErrors).length > 0;
|
|
4303
4304
|
const associatedLeTrackingParams = useMemo(() => {
|
|
4304
4305
|
return taskType === TaskTypes.INDIVIDUAL ? {} : getAssociatedLeAnalyticsPayload({
|
|
4305
4306
|
associatedLegalEntity: legalEntityResponse,
|
|
@@ -4615,7 +4616,7 @@ function IndividualOnfidoDropin({
|
|
|
4615
4616
|
idDocumentType
|
|
4616
4617
|
});
|
|
4617
4618
|
setAccountHolder(accountHolder);
|
|
4618
|
-
if (dataSubmitted.idVerificationMethod?.idVerificationMethod !== "existingDocument") {
|
|
4619
|
+
if (dataSubmitted.idVerificationMethod && dataSubmitted.idVerificationMethod?.idVerificationMethod !== "existingDocument" || hasVerificationErrors) {
|
|
4619
4620
|
await submitDocuments({ legalEntity: createdLegalEntity, dataSubmitted });
|
|
4620
4621
|
}
|
|
4621
4622
|
if (parentLegalEntity) {
|
|
@@ -4633,9 +4634,16 @@ function IndividualOnfidoDropin({
|
|
|
4633
4634
|
clearToasts();
|
|
4634
4635
|
externalOnSubmit?.(dataSubmitted);
|
|
4635
4636
|
} catch (e) {
|
|
4637
|
+
const eventsAdditionalData = {};
|
|
4636
4638
|
logger.error("Failed to update individual", e);
|
|
4637
4639
|
if (isValidationError(e)) {
|
|
4638
|
-
|
|
4640
|
+
const getErrors = processValidationErrors(e, TaskTypes.INDIVIDUAL);
|
|
4641
|
+
if (getErrors && !Object.keys(getErrors).length) {
|
|
4642
|
+
showToast({ label: i18n.get("failedToUpdateDetails"), variant: "error" });
|
|
4643
|
+
eventsAdditionalData.unmappedErrorNames = e.invalidFields?.map((field) => field.name).filter(Boolean);
|
|
4644
|
+
} else {
|
|
4645
|
+
setValidationErrors(getErrors);
|
|
4646
|
+
}
|
|
4639
4647
|
} else if (isMaintenanceModeError(e)) {
|
|
4640
4648
|
showToast({
|
|
4641
4649
|
label: i18n.get("maintenanceModeMessage"),
|
|
@@ -4648,8 +4656,9 @@ function IndividualOnfidoDropin({
|
|
|
4648
4656
|
setLoadingStatus("success");
|
|
4649
4657
|
userEvents.addTaskEvent("Encountered error", {
|
|
4650
4658
|
actionType: "submit",
|
|
4651
|
-
|
|
4652
|
-
|
|
4659
|
+
additionalData: eventsAdditionalData,
|
|
4660
|
+
returnType: e?.errorCode,
|
|
4661
|
+
returnValue: e?.title || "backend"
|
|
4653
4662
|
});
|
|
4654
4663
|
}
|
|
4655
4664
|
};
|
|
@@ -9,9 +9,9 @@
|
|
|
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, Z as useTranslation, a as useLegalEntity, R as ROOT_LE, L as Loader, a0 as useAnalyticsContext, bw as StepProgressIndicator, _ as Button } from "./StoreProvider-
|
|
12
|
+
import { W as TaskTypes, y as LegalEntityType, Z as useTranslation, a as useLegalEntity, R as ROOT_LE, L as Loader, a0 as useAnalyticsContext, bw as StepProgressIndicator, _ as Button } from "./StoreProvider-CajlJ0HF.js";
|
|
13
13
|
import { useMemo } from "preact/compat";
|
|
14
|
-
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
14
|
+
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-DXYCfxZa.js";
|
|
15
15
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
16
16
|
import IntroductionStrings from "./en-US-Bq2Twy6x.js";
|
|
17
17
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { Z as useTranslation, Y as TaskStatus, C as Typography } from "./StoreProvider-
|
|
12
|
+
import { Z as useTranslation, Y as TaskStatus, C as Typography } from "./StoreProvider-CajlJ0HF.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";
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, ac as useCapabilityProblems, a7 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a5 as noop } from "./StoreProvider-
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, ac as useCapabilityProblems, a7 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a5 as noop } from "./StoreProvider-CajlJ0HF.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BwUT2DC3.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent--wHccwz0.js → ManageIndividualComponent-DSgPsVyt.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-CajlJ0HF.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-COToX0hj.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-w1_Xzd3T.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-02_LFb0N.js";
|
|
12
|
+
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-CajlJ0HF.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-w1_Xzd3T.js";
|
|
14
14
|
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
15
15
|
const { i18n } = useI18nContext();
|
|
16
16
|
const title = i18n.get("pciDssQuestionnaire");
|
package/dist/{ManageTermsOfServiceComponent-IzPb5mbQ.js → ManageTermsOfServiceComponent-8BjUTAgp.js}
RENAMED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-
|
|
12
|
-
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-m7L1QhUV.js";
|
|
12
|
+
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-CajlJ0HF.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-w1_Xzd3T.js";
|
|
14
14
|
function ManageTermsOfServiceComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onClick
|
|
@@ -8,9 +8,9 @@
|
|
|
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, b2 as datasetUtilities, b3 as getCapabilityProblems, b4 as Modal, b5 as ModalHeader, C as Typography, b6 as ModalContent, L as Loader, _ as Button, a1 as Card, b7 as StructuredList, b8 as ModalFooter, b9 as Spacer, $ as IconButton, ba as Confirm, bb as mapTransferInstrumentToPayoutAccount, bc as cloneObject, bd as currencyByCountry, be as entriesOf, Y as TaskStatus, bf as useTransferInstrument, X as createLogger, a6 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-
|
|
13
|
-
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-CuWf07uo.js";
|
|
12
|
+
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, b2 as datasetUtilities, b3 as getCapabilityProblems, b4 as Modal, b5 as ModalHeader, C as Typography, b6 as ModalContent, L as Loader, _ as Button, a1 as Card, b7 as StructuredList, b8 as ModalFooter, b9 as Spacer, $ as IconButton, ba as Confirm, bb as mapTransferInstrumentToPayoutAccount, bc as cloneObject, bd as currencyByCountry, be as entriesOf, Y as TaskStatus, bf as useTransferInstrument, X as createLogger, a6 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-CajlJ0HF.js";
|
|
13
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-w1_Xzd3T.js";
|
|
14
14
|
import { useState } from "preact/hooks";
|
|
15
15
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
16
16
|
const getTransferInstruments = async (legalEntityId, baseUrl) => {
|