@adyen/kyc-components 3.79.0-beta.11 → 3.79.0-beta.12
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-BTHDSr0T.js} +5 -5
- package/dist/{AccountSetupRejected-BRnaxqyI.js → AccountSetupRejected-CljuDi9G.js} +2 -2
- package/dist/{Avatar-BTw7OAZL.js → Avatar-fjMRN3l_.js} +1 -1
- package/dist/{BusinessDetailsDropin-CRzenu3N.js → BusinessDetailsDropin-DnDQGnH5.js} +24 -12
- package/dist/{BusinessFinancingComponent-eRzHHQj8.js → BusinessFinancingComponent-C1MfqHxm.js} +2 -2
- package/dist/{BusinessFinancingDropin-SAtteVYd.js → BusinessFinancingDropin-Xrwr2h-f.js} +8 -8
- package/dist/{BusinessFinancingPage-1YX4ffQI.js → BusinessFinancingPage-DxyBHD1l.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-BXG-4bS7.js → BusinessTypeSelectionPage-CWuCwQo2.js} +3 -3
- package/dist/{ContractViewer-D2a47Nc2.js → ContractViewer-UjoCoj66.js} +1 -1
- package/dist/{CreateIndividualComponent-DXenY3V9.js → CreateIndividualComponent-CNkm0OU0.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-D0RAJi-K.js → CreateTransferInstrumentComponent-CZVMwcBl.js} +1 -1
- package/dist/{CustomerSupport-Gf9PAvwF.js → CustomerSupport-Czn-Hp85.js} +4 -4
- package/dist/{DebugModal-kqjCwdnR.js → DebugModal-CVbUZBl7.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-C93ET6pN.js → DecisionMakerDetailsPage-D71jIAzK.js} +2 -2
- package/dist/{DecisionMakers-B_s9F6SX.js → DecisionMakers-5mLLWzDt.js} +3 -3
- package/dist/{EmbeddedStatus-CH8NAPhZ.js → EmbeddedStatus-BhNYHIEM.js} +2 -2
- package/dist/{FormEndState-DvFsm1wi.js → FormEndState-wyW_ZqTy.js} +1 -1
- package/dist/{FormFlow-Dza6g5x9.js → FormFlow-D8_wOHsF.js} +1 -1
- package/dist/{IndividualOnfidoDropin-CA8TRBZD.js → IndividualOnfidoDropin-BPk5TDEQ.js} +22 -14
- package/dist/{Introduction-BrkpMxtH.js → Introduction-DRj1dc3D.js} +2 -2
- package/dist/{LandingLayout-D9XLRZc-.js → LandingLayout-Diase5mw.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-CmyOpq0J.js → LegalRepresentativeDetailsPage-CKCaG0MY.js} +2 -2
- package/dist/{ManageIndividualComponent--wHccwz0.js → ManageIndividualComponent-C5vxg_YU.js} +3 -3
- package/dist/{ManagePCIComponent-CcSl2xcg.js → ManagePCIComponent-BF-sqQwo.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-IzPb5mbQ.js → ManageTermsOfServiceComponent-DohxdSCh.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-BMzUmIYy.js → ManageTransferInstrumentComponent-BsLU3PzN.js} +3 -3
- package/dist/{OnboardingDropinComponent-CYvPptLN.js → OnboardingDropinComponent-CboT4Cmb.js} +31 -31
- package/dist/{ProviderButton-Dv4PeIaV.js → ProviderButton-CMdWrLg3.js} +1 -1
- package/dist/{Review-Cun0I2J9.js → Review-DO2GhxUP.js} +2 -2
- package/dist/{RootBusinessDetailsPage-lpJvmqXI.js → RootBusinessDetailsPage-D-S2dRdZ.js} +2 -2
- package/dist/{RootIndividualDetailsPage-CA5Jp867.js → RootIndividualDetailsPage-TPNk4BnU.js} +2 -2
- package/dist/{SignPCIComponent-B0sRI2iC.js → SignPCIComponent-BDG8sjrR.js} +4 -4
- package/dist/{SingpassSelection-BGncIECt.js → SingpassSelection-CS47xexK.js} +1 -1
- package/dist/{SoleProprietorshipPage-BnwkZXQd.js → SoleProprietorshipPage-m6KUIOex.js} +2 -2
- package/dist/{SourceOfFundsPage-DuetlziY.js → SourceOfFundsPage-CPAjB2mn.js} +9 -9
- package/dist/{StoreProvider-DBx-Rc9Y.js → StoreProvider-CxTZEQ3d.js} +16 -8
- package/dist/{TaskItemStatus-l0NqGm4p.js → TaskItemStatus-BG3zlhTT.js} +1 -1
- package/dist/{TaxReportingDropin-CAEn7d5J.js → TaxReportingDropin-BJR9Z4nB.js} +6 -6
- package/dist/{TileGroup-DNMgsKFp.js → TileGroup-Cao742Jh.js} +1 -1
- package/dist/{TrustDetailsPage-DET88nrG.js → TrustDetailsPage-D3tmGeGa.js} +4 -4
- package/dist/{TrustMemberCompanyPage-v4b_7ECE.js → TrustMemberCompanyPage-BdOWVu6-.js} +3 -3
- package/dist/{TrustMemberIndividualPage-DrKvwO_1.js → TrustMemberIndividualPage-DLGMjBmG.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-sZpk938Y.js → UnincorporatedPartnershipIndividualPage-CuIeE04t.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-B_25YQtW.js → UnincorporatedPartnershipMemberCompanyPage-BalFq0GR.js} +2 -2
- package/dist/{VerificationErrorAlert-CQUtfbQh.js → VerificationErrorAlert-BKfQZXPh.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-BgxKFKI_.js → ViewVerificationStatusComponent-qZhZRB09.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-ByF6BxsU.js} +1 -1
- package/dist/{getFieldsWithExistingData-BMJ9VRwI.js → getFieldsWithExistingData-DxXU4fd5.js} +1 -1
- package/dist/{hasDataChanged-BsvfridT.js → hasDataChanged-l_-9hxr2.js} +1 -1
- package/dist/{json-Bp3FoeUX.js → json-DBOflYgC.js} +1 -1
- package/dist/{localizeDateString-BrAUxooA.js → localizeDateString-C-EemLdc.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-Yp1rpNPh.js → mapFinancialReportsToFinancialInformation-C-XWXHkF.js} +1 -1
- package/dist/{plaintext-tEbmVc-Y.js → plaintext-D7bOLJZv.js} +1 -1
- package/dist/{resolveEnvironment-DLDdrI0A.js → resolveEnvironment-iHAZxzN2.js} +3 -3
- package/dist/{rules-BuFlJPSb.js → rules-CjRW2i_2.js} +1 -1
- package/dist/{useMultiForm-mB-ssyox.js → useMultiForm-CISETvEz.js} +1 -1
- package/dist/{useOnboardingStatus-C2VVkgIp.js → useOnboardingStatus-D8bJViYW.js} +1 -1
- package/dist/{useSalesChannelsSettings-CrrOE83q.js → useSalesChannelsSettings-DJaIMFTI.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Bz286CPA.js → useTermsOfServiceStatus-BEwAUexz.js} +1 -1
- package/dist/{useUpdateLegalEntity-Dp1RaiDq.js → useUpdateLegalEntity-nrRMjU7J.js} +1 -1
- package/dist/{utils-Da9Z4zPn.js → utils-BQXd7piP.js} +3 -3
- package/dist/{validate-NC5ienrp.js → validate-DOEJ-RV0.js} +1 -1
- package/dist/{validate-CYbMPKau.js → validate-YRjanFzr.js} +1 -1
- package/dist/{yaml-BnmFEh5a.js → yaml-BehFwak-.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-BLF1r81v.js → AcceptTermsOfServiceComponent-BTHDSr0T.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-CxTZEQ3d.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-BEwAUexz.js";
|
|
14
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-UjoCoj66.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-wyW_ZqTy.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-C-EemLdc.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-CxTZEQ3d.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-CboT4Cmb.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-CxTZEQ3d.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-CxTZEQ3d.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-nrRMjU7J.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-l_-9hxr2.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-BQXd7piP.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-DxXU4fd5.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-C-XWXHkF.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-C1MfqHxm.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-CxTZEQ3d.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-Xrwr2h-f.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-nrRMjU7J.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-CxTZEQ3d.js";
|
|
14
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-D8_wOHsF.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-CISETvEz.js";
|
|
16
|
+
import { F as FormEndState } from "./FormEndState-wyW_ZqTy.js";
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-C-EemLdc.js";
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-C-XWXHkF.js";
|
|
19
|
+
import { b as businessFinancingMultiformRules } from "./validate-YRjanFzr.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-CxTZEQ3d.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-Xrwr2h-f.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-BXG-4bS7.js → BusinessTypeSelectionPage-CWuCwQo2.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-CxTZEQ3d.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-nrRMjU7J.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-BQXd7piP.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-CxTZEQ3d.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-CNkm0OU0.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-CxTZEQ3d.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BPk5TDEQ.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-CxTZEQ3d.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-CxTZEQ3d.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-nrRMjU7J.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DOEJ-RV0.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-CISETvEz.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] = "6416cf59-3aa9-4b71-be0c-6bf7dd5b9668", e._sentryDebugIdIdentifier = "sentry-dbid-6416cf59-3aa9-4b71-be0c-6bf7dd5b9668");
|
|
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-CxTZEQ3d.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-BG3zlhTT.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-D7bOLJZv.js"),
|
|
148
|
+
json: () => import("./json-DBOflYgC.js"),
|
|
149
|
+
yaml: () => import("./yaml-BehFwak-.js"),
|
|
150
|
+
css: () => import("./css-ByF6BxsU.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.12",
|
|
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-CxTZEQ3d.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BPk5TDEQ.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-CxTZEQ3d.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-nrRMjU7J.js";
|
|
14
|
+
import { c as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, d as EntityAssociation } from "./OnboardingDropinComponent-CboT4Cmb.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-fjMRN3l_.js";
|
|
13
|
+
import { Y as TaskStatus, Z as useTranslation, z as Skeleton, C as Typography } from "./StoreProvider-CxTZEQ3d.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-CxTZEQ3d.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-CxTZEQ3d.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] = "6df21b38-d2f1-4fe6-87c5-531babc09f64", e._sentryDebugIdIdentifier = "sentry-dbid-6df21b38-d2f1-4fe6-87c5-531babc09f64");
|
|
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-CxTZEQ3d.js";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-nrRMjU7J.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DOEJ-RV0.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-D8_wOHsF.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-CMdWrLg3.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-CISETvEz.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-DxXU4fd5.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-C-EemLdc.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-CjRW2i_2.js";
|
|
21
21
|
import { signal, computed } from "@preact/signals";
|
|
22
|
-
import { T as TileGroup } from "./TileGroup-
|
|
22
|
+
import { T as TileGroup } from "./TileGroup-Cao742Jh.js";
|
|
23
23
|
const verifyIdNumber = async (legalEntityId, baseUrl, data) => {
|
|
24
24
|
return await httpPost(
|
|
25
25
|
{
|
|
@@ -4633,9 +4633,16 @@ function IndividualOnfidoDropin({
|
|
|
4633
4633
|
clearToasts();
|
|
4634
4634
|
externalOnSubmit?.(dataSubmitted);
|
|
4635
4635
|
} catch (e) {
|
|
4636
|
+
const eventsAdditionalData = {};
|
|
4636
4637
|
logger.error("Failed to update individual", e);
|
|
4637
4638
|
if (isValidationError(e)) {
|
|
4638
|
-
|
|
4639
|
+
const getErrors = processValidationErrors(e, TaskTypes.INDIVIDUAL);
|
|
4640
|
+
if (getErrors && !Object.keys(getErrors).length) {
|
|
4641
|
+
showToast({ label: i18n.get("failedToUpdateDetails"), variant: "error" });
|
|
4642
|
+
eventsAdditionalData.unmappedErrorNames = e.invalidFields?.map((field) => field.name).filter(Boolean);
|
|
4643
|
+
} else {
|
|
4644
|
+
setValidationErrors(getErrors);
|
|
4645
|
+
}
|
|
4639
4646
|
} else if (isMaintenanceModeError(e)) {
|
|
4640
4647
|
showToast({
|
|
4641
4648
|
label: i18n.get("maintenanceModeMessage"),
|
|
@@ -4648,8 +4655,9 @@ function IndividualOnfidoDropin({
|
|
|
4648
4655
|
setLoadingStatus("success");
|
|
4649
4656
|
userEvents.addTaskEvent("Encountered error", {
|
|
4650
4657
|
actionType: "submit",
|
|
4651
|
-
|
|
4652
|
-
|
|
4658
|
+
additionalData: eventsAdditionalData,
|
|
4659
|
+
returnType: e?.errorCode,
|
|
4660
|
+
returnValue: e?.title || "backend"
|
|
4653
4661
|
});
|
|
4654
4662
|
}
|
|
4655
4663
|
};
|
|
@@ -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-CxTZEQ3d.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-CboT4Cmb.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-CxTZEQ3d.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-CxTZEQ3d.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BPk5TDEQ.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent--wHccwz0.js → ManageIndividualComponent-C5vxg_YU.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-CxTZEQ3d.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-D8bJViYW.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-BhNYHIEM.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-DJaIMFTI.js";
|
|
12
|
+
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-CxTZEQ3d.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BhNYHIEM.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-DohxdSCh.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-BEwAUexz.js";
|
|
12
|
+
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-CxTZEQ3d.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BhNYHIEM.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-BKfQZXPh.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-CxTZEQ3d.js";
|
|
13
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-BhNYHIEM.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) => {
|