@adyen/kyc-components 3.76.0-beta.2 → 3.76.1
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-BNWEyy3c.js → AcceptTermsOfServiceComponent-Dq8zXm3X.js} +5 -5
- package/dist/{AccountSetupRejected-BLa9hHc6.js → AccountSetupRejected-BR3ek4vG.js} +2 -2
- package/dist/{Avatar-CVeIdcU1.js → Avatar-Cgmp2aC0.js} +1 -1
- package/dist/{BusinessDetailsDropin-Cth6usCx.js → BusinessDetailsDropin-Gpth-Vgz.js} +6 -6
- package/dist/{BusinessFinancingComponent-DMZ7OC-t.js → BusinessFinancingComponent-DtKrONr8.js} +2 -2
- package/dist/{BusinessFinancingDropin-nkm1T_VW.js → BusinessFinancingDropin-DTlDkLZv.js} +7 -7
- package/dist/{BusinessFinancingPage-ClLydo_l.js → BusinessFinancingPage--GYh0FR3.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-B_EcYfuQ.js → BusinessTypeSelectionPage-DmbRg-in.js} +3 -3
- package/dist/{ContractViewer-0Y7eYFZy.js → ContractViewer-29zA2rCq.js} +1 -1
- package/dist/{CreateIndividualComponent-BFWBHGQG.js → CreateIndividualComponent-4OCb9dxc.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-ByplBqO-.js → CreateTransferInstrumentComponent--f1m6gdu.js} +1 -1
- package/dist/{CustomerSupport-BkPX2SeV.js → CustomerSupport-CGxDpPUr.js} +4 -4
- package/dist/{DebugModal-B7shmfqs.js → DebugModal-sBQQlxrl.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-DJd1TUem.js → DecisionMakerDetailsPage-CY2KUfCc.js} +2 -2
- package/dist/{DecisionMakers-HXkVxWdD.js → DecisionMakers-CvnGKtXI.js} +3 -3
- package/dist/{EmbeddedStatus-BsAq2Dd4.js → EmbeddedStatus-B3_Mzdkd.js} +2 -2
- package/dist/{FormEndState-0QyaBqNM.js → FormEndState-BtV3aR-j.js} +1 -1
- package/dist/{FormFlow-CWeRv61a.js → FormFlow-DoZ4mjHw.js} +1 -1
- package/dist/{IndividualOnfidoDropin-6W2KOCkR.js → IndividualOnfidoDropin-BySztRXu.js} +26 -12
- package/dist/{Introduction-DqvHiwuD.js → Introduction-BhJancs_.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-BVGJUm1u.js → LegalRepresentativeDetailsPage-Dgbg3sSK.js} +2 -2
- package/dist/{ManageIndividualComponent-0X0RKWum.js → ManageIndividualComponent-krCZqmxd.js} +3 -3
- package/dist/{ManagePCIComponent-CCB3_Qet.js → ManagePCIComponent-BXDwwhVJ.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-BkxhuO4D.js → ManageTermsOfServiceComponent-BMndv93G.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-jNCZd_2L.js → ManageTransferInstrumentComponent-Bz_7LrYM.js} +3 -3
- package/dist/{OnboardingDropinComponent-DqxfSr3H.js → OnboardingDropinComponent-BQF3bf3U.js} +31 -31
- package/dist/{ProviderButton-DGf9gX3F.js → ProviderButton-CDy3sto7.js} +1 -1
- package/dist/{Review-BnAghPZ8.js → Review-I7B_LZe5.js} +2 -2
- package/dist/{RootBusinessDetailsPage-CfD-XmPL.js → RootBusinessDetailsPage-DinVRSk3.js} +2 -2
- package/dist/{RootIndividualDetailsPage-CAm-_ZaK.js → RootIndividualDetailsPage-DccrFuIn.js} +2 -2
- package/dist/{SignPCIComponent-Cyglzlv4.js → SignPCIComponent-CNuj7s79.js} +4 -4
- package/dist/{SingpassSelection-7m5Liba0.js → SingpassSelection-BgIUKb-E.js} +1 -1
- package/dist/{SoleProprietorshipPage-BWe7BU0x.js → SoleProprietorshipPage-DpOJzAWs.js} +2 -2
- package/dist/{SourceOfFunds.module-pCe7gDF1.js → SourceOfFunds.module-DgDPpXXq.js} +1 -1
- package/dist/{SourceOfFundsPage-DfJkV5a_.js → SourceOfFundsPage-9bjDo2je.js} +8 -8
- package/dist/{StoreProvider-B8jb0iWs.js → StoreProvider-CkOReG8r.js} +4 -4
- package/dist/{TaskItemStatus-Bwl3iLYN.js → TaskItemStatus-COCojMje.js} +1 -1
- package/dist/{TaxReportingDropin-tAau23lj.js → TaxReportingDropin-Dcuc46gn.js} +6 -6
- package/dist/{TileGroup-Dc0OdM7G.js → TileGroup-DnAN1O3g.js} +1 -1
- package/dist/{TrustDetailsPage-C1mpQUva.js → TrustDetailsPage-BkzLc8QL.js} +4 -4
- package/dist/{TrustMemberCompanyPage-6JBrJvJt.js → TrustMemberCompanyPage-BobvJKqB.js} +3 -3
- package/dist/{TrustMemberIndividualPage-DaGd7UC-.js → TrustMemberIndividualPage-B_h8EGPE.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-oQzwAZ4M.js → UnincorporatedPartnershipIndividualPage-HEgGjBeN.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-PrQlscN5.js → UnincorporatedPartnershipMemberCompanyPage-Cr7bwhrA.js} +2 -2
- package/dist/{VerificationErrorAlert-CZ_cy-No.js → VerificationErrorAlert-D4nN5LX8.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-DWUd-Ui4.js → ViewVerificationStatusComponent-WxpybbWg.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-BVvJOiE1.js → css-DKGP-3-o.js} +1 -1
- package/dist/{getFieldsWithExistingData-C5RMZWIi.js → getFieldsWithExistingData-CBi2ouZy.js} +1 -1
- package/dist/{hasDataChanged-DhXq3Ew0.js → hasDataChanged-LMkvXdq3.js} +1 -1
- package/dist/{json-CdE7Jopx.js → json-CQinHxS8.js} +1 -1
- package/dist/{localizeDateString-Dw1cCTYk.js → localizeDateString-C0vOJB6Q.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-BQyJvw4d.js → mapFinancialReportsToFinancialInformation-C1ExbGN2.js} +1 -1
- package/dist/{plaintext-DNX3H-Ae.js → plaintext-qvUxMkQu.js} +1 -1
- package/dist/{resolveEnvironment-DrwG9kga.js → resolveEnvironment-izT1bc7H.js} +3 -3
- package/dist/{rules-CiKpqW94.js → rules-PS8FRrKc.js} +1 -1
- package/dist/{useMultiForm-gmydSRIF.js → useMultiForm-DIQMiZS0.js} +1 -1
- package/dist/{useOnboardingStatus-Cf9Bq2cP.js → useOnboardingStatus--BGRf0lC.js} +1 -1
- package/dist/{useSalesChannelsSettings-CCO0Tvty.js → useSalesChannelsSettings-CSRxp9dL.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Bu_bk5M7.js → useTermsOfServiceStatus-Dhg5ViPG.js} +1 -1
- package/dist/{useUpdateLegalEntity-DRCeGSXw.js → useUpdateLegalEntity-DkH_fUkh.js} +1 -1
- package/dist/{utils-CENa3cmf.js → utils-Ch1VVoua.js} +3 -3
- package/dist/{validate-B6mUuFzS.js → validate-DfRISqbs.js} +1 -1
- package/dist/{yaml-BkADEL69.js → yaml-DVJW0XkI.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-BNWEyy3c.js → AcceptTermsOfServiceComponent-Dq8zXm3X.js}
RENAMED
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useCallback, useEffect } from "preact/hooks";
|
|
12
|
-
import { p as useApiContext, be as useInvalidateRootLegalEntity, bf as useMutation, bh as httpPost, q as useQuery, w as skipToken, r as httpGet, X as createLogger, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, au as useForm, B as Alert, Z as Button, a2 as LoaderWrapper, az as Field, bJ as Select, bH as Checkbox, aO as ActionBar, bI as MaybeModal, b4 as ModalContent, b6 as ModalFooter, bw as StepProgressIndicator, b7 as Spacer, y as LegalEntityType, af as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, al as getLegalEntityNameBasedOnType, aM 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, be as useInvalidateRootLegalEntity, bf as useMutation, bh as httpPost, q as useQuery, w as skipToken, r as httpGet, X as createLogger, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, au as useForm, B as Alert, Z as Button, a2 as LoaderWrapper, az as Field, bJ as Select, bH as Checkbox, aO as ActionBar, bI as MaybeModal, b4 as ModalContent, b6 as ModalFooter, bw as StepProgressIndicator, b7 as Spacer, y as LegalEntityType, af as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, al as getLegalEntityNameBasedOnType, aM as FormNavigation, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-CkOReG8r.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-Dhg5ViPG.js";
|
|
14
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-29zA2rCq.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-BtV3aR-j.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-C0vOJB6Q.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-CkOReG8r.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-BQF3bf3U.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 { a3 as Icon } from "./StoreProvider-
|
|
12
|
+
import { a3 as Icon } from "./StoreProvider-CkOReG8r.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, bf as useMutation, bh as httpPost, q as useQuery, dJ as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dz as MemoizedDocumentUpload, Z as Button, b2 as Modal, b4 as ModalContent, C as Typography, ao as CountryCodes, O as CompanyTypesValue, dK as useGlobalData, dL as getForms, W as TaskTypes, dM as BasicInformation, bL as getFormProps, dN as CompanyStructure, dO as AdditionalInformation, dP as MemoizedConstitutionalDocument, y as LegalEntityType, dQ as FinancialInformation, bR as formatObject, bc as entriesOf, cp as getDocument, cq as mapExistingFile, cr as getPageName, bk as businessDetailsComponentsKeyMapping, dR as solePropBusinessDetailsKeyMapping, a_ as objectsDeepEqual, dS as operationalAddressIsSameIds, dT as COUNTRIES_USING_COMPANY_SEARCH, dU as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dl as keysOf, i as isUndefinedOrNull, aJ as summaryItem, dV as solePropBusinessDetailsApiKeyMapping, dW as businessDetailsApiKeyMapping, bM as isEmpty, dX as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cu as createDocumentRequest, dY as augmentWithCountryConfigs, cK as composePerScenarioFormConfigurations, b0 as datasetUtilities, cN as mapAddressLabels, dZ as companyTypeMetadata, d_ as getProp, ap as isEmpty$1, X as createLogger, cM as filterOutUnwantedAssociationsIfRootLE, c3 as isValidationError, c4 as processValidationErrors, c5 as isMaintenanceModeError, d$ as documentFormsIds, ar as resolveFieldMetadata, e0 as defaultFieldMetadata, e1 as inferCompanyRegistrationNumberType, e2 as getCompanyRegistrationNumberOptions, e3 as defaultFieldConfig, ck as defaultFieldMetadata$1, e4 as countryToTaxInfoTypeMap, cl as defaultFieldConfig$1, e5 as getKeyForField, cx as drop, am as getOwnEntityAssociations, cW as doArraysMatch, cS as getFileExtention, P as useAccountHolder, a5 as useToastContext, $ as useAnalyticsContext, a6 as useExperimentsContext, J as useSettingsContext, e6 as verifiedBusiness, bm as useQueryClient, e7 as useStateContext, K as SettingNames, e8 as setIsBankAccountRequestedForOrganization, c1 as getAssociatedLeAnalyticsPayload, b1 as getCapabilityProblems, cy as documentApiUtils, cF as useScenarioConfiguration, e9 as rules, cG as getPropsFromConfigurations, ea as useCompanySelection, eb as useVerifyTin, bN as getRequiredForms, bO as addValidityToForms, bP as useFormComposer, ec as setVerifiedBusiness, ed as FormWrapper, b8 as Confirm, ee as solePropBusinessDetailsDocumentMapping, ef as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
11
|
+
import { p as useApiContext, bf as useMutation, bh as httpPost, q as useQuery, dJ as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dz as MemoizedDocumentUpload, Z as Button, b2 as Modal, b4 as ModalContent, C as Typography, ao as CountryCodes, O as CompanyTypesValue, dK as useGlobalData, dL as getForms, W as TaskTypes, dM as BasicInformation, bL as getFormProps, dN as CompanyStructure, dO as AdditionalInformation, dP as MemoizedConstitutionalDocument, y as LegalEntityType, dQ as FinancialInformation, bR as formatObject, bc as entriesOf, cp as getDocument, cq as mapExistingFile, cr as getPageName, bk as businessDetailsComponentsKeyMapping, dR as solePropBusinessDetailsKeyMapping, a_ as objectsDeepEqual, dS as operationalAddressIsSameIds, dT as COUNTRIES_USING_COMPANY_SEARCH, dU as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dl as keysOf, i as isUndefinedOrNull, aJ as summaryItem, dV as solePropBusinessDetailsApiKeyMapping, dW as businessDetailsApiKeyMapping, bM as isEmpty, dX as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cu as createDocumentRequest, dY as augmentWithCountryConfigs, cK as composePerScenarioFormConfigurations, b0 as datasetUtilities, cN as mapAddressLabels, dZ as companyTypeMetadata, d_ as getProp, ap as isEmpty$1, X as createLogger, cM as filterOutUnwantedAssociationsIfRootLE, c3 as isValidationError, c4 as processValidationErrors, c5 as isMaintenanceModeError, d$ as documentFormsIds, ar as resolveFieldMetadata, e0 as defaultFieldMetadata, e1 as inferCompanyRegistrationNumberType, e2 as getCompanyRegistrationNumberOptions, e3 as defaultFieldConfig, ck as defaultFieldMetadata$1, e4 as countryToTaxInfoTypeMap, cl as defaultFieldConfig$1, e5 as getKeyForField, cx as drop, am as getOwnEntityAssociations, cW as doArraysMatch, cS as getFileExtention, P as useAccountHolder, a5 as useToastContext, $ as useAnalyticsContext, a6 as useExperimentsContext, J as useSettingsContext, e6 as verifiedBusiness, bm as useQueryClient, e7 as useStateContext, K as SettingNames, e8 as setIsBankAccountRequestedForOrganization, c1 as getAssociatedLeAnalyticsPayload, b1 as getCapabilityProblems, cy as documentApiUtils, cF as useScenarioConfiguration, e9 as rules, cG as getPropsFromConfigurations, ea as useCompanySelection, eb as useVerifyTin, bN as getRequiredForms, bO as addValidityToForms, bP as useFormComposer, ec as setVerifiedBusiness, ed as FormWrapper, b8 as Confirm, ee as solePropBusinessDetailsDocumentMapping, ef as businessDetailsDocumentMapping } from "./StoreProvider-CkOReG8r.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-DkH_fUkh.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-LMkvXdq3.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-Ch1VVoua.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CBi2ouZy.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-C1ExbGN2.js";
|
|
19
19
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
20
20
|
const clearCompanyData = async (legalEntityId, baseUrl) => {
|
|
21
21
|
return httpPost({
|
package/dist/{BusinessFinancingComponent-DMZ7OC-t.js → BusinessFinancingComponent-DtKrONr8.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-CkOReG8r.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DTlDkLZv.js";
|
|
14
14
|
function BusinessFinancingComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useEffect, useCallback, useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
-
import { bQ as reverseMapping, bR as formatObject, bS as isEeaCountry, y as LegalEntityType, ba as cloneObject, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, az as Field, bJ as Select, C as Typography, ay as createFormUtils, aV as RadioGroup, bT as Link, bp as InputText, bb as currencyByCountry, bU as InputNumber, bV as InputDate, bW as Currency, bX as CURRENCY_FIELD, bY as InputCurrency, bK as useFormContext, av as getFieldProps, ax as ErrorPanel, bZ as getAddressSchemaForCountry, b_ as COUNTRIES_WITH_STATES_DATASET, b$ as Address, c0 as getAddressSchemaLabelsByCountry, $ as useAnalyticsContext, be as useInvalidateRootLegalEntity, an as useAssociatedLegalEntity, b0 as datasetUtilities, a5 as useToastContext, J as useSettingsContext, K as SettingNames, c1 as getAssociatedLeAnalyticsPayload, bN as getRequiredForms, bO as addValidityToForms, bP as useFormComposer, c2 as trackNavigation, L as Loader, a3 as Icon, Z as Button, c3 as isValidationError, c4 as processValidationErrors, c5 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-
|
|
12
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DkH_fUkh.js";
|
|
13
|
+
import { bQ as reverseMapping, bR as formatObject, bS as isEeaCountry, y as LegalEntityType, ba as cloneObject, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, az as Field, bJ as Select, C as Typography, ay as createFormUtils, aV as RadioGroup, bT as Link, bp as InputText, bb as currencyByCountry, bU as InputNumber, bV as InputDate, bW as Currency, bX as CURRENCY_FIELD, bY as InputCurrency, bK as useFormContext, av as getFieldProps, ax as ErrorPanel, bZ as getAddressSchemaForCountry, b_ as COUNTRIES_WITH_STATES_DATASET, b$ as Address, c0 as getAddressSchemaLabelsByCountry, $ as useAnalyticsContext, be as useInvalidateRootLegalEntity, an as useAssociatedLegalEntity, b0 as datasetUtilities, a5 as useToastContext, J as useSettingsContext, K as SettingNames, c1 as getAssociatedLeAnalyticsPayload, bN as getRequiredForms, bO as addValidityToForms, bP as useFormComposer, c2 as trackNavigation, L as Loader, a3 as Icon, Z as Button, c3 as isValidationError, c4 as processValidationErrors, c5 as isMaintenanceModeError } from "./StoreProvider-CkOReG8r.js";
|
|
14
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-DoZ4mjHw.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-DIQMiZS0.js";
|
|
16
|
+
import { F as FormEndState } from "./FormEndState-BtV3aR-j.js";
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-C0vOJB6Q.js";
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-C1ExbGN2.js";
|
|
19
19
|
import { b as businessFinancingMultiformRules } from "./validate-CuwYJGc9.js";
|
|
20
20
|
const businessFinancingBaseMapping = {
|
|
21
21
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
@@ -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-CkOReG8r.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DTlDkLZv.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-B_EcYfuQ.js → BusinessTypeSelectionPage-DmbRg-in.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, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, P as useAccountHolder, bx as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, au as useForm, a2 as LoaderWrapper, C as Typography, az as Field, by as EntityTypeRadioGroupCard, aC as RadioGroupCard, Z as Button, b7 as Spacer, a3 as Icon, H as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-
|
|
11
|
+
import { X as createLogger, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, P as useAccountHolder, bx as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, au as useForm, a2 as LoaderWrapper, C as Typography, az as Field, by as EntityTypeRadioGroupCard, aC as RadioGroupCard, Z as Button, b7 as Spacer, a3 as Icon, H as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-CkOReG8r.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-DkH_fUkh.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-Ch1VVoua.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 { a3 as Icon } from "./StoreProvider-
|
|
11
|
+
import { a3 as Icon } from "./StoreProvider-CkOReG8r.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-BFWBHGQG.js → CreateIndividualComponent-4OCb9dxc.js}
RENAMED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes } from "./StoreProvider-CkOReG8r.js";
|
|
12
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BySztRXu.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, an as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bn as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-
|
|
12
|
+
import { a as useLegalEntity, an as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bn as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-CkOReG8r.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, $ as useAnalyticsContext, a5 as useToastContext, bm as useQueryClient, ar as resolveFieldMetadata, bD as defaultFieldMetadata, bE as fieldConfig, bF as getAsyncPhoneValidationRules, F as FormHeader, bG as ContactDetails, aO as ActionBar, X as createLogger } from "./StoreProvider-
|
|
11
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, bm as useQueryClient, ar as resolveFieldMetadata, bD as defaultFieldMetadata, bE as fieldConfig, bF as getAsyncPhoneValidationRules, F as FormHeader, bG as ContactDetails, aO as ActionBar, X as createLogger } from "./StoreProvider-CkOReG8r.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-DkH_fUkh.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DfRISqbs.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-DIQMiZS0.js";
|
|
16
16
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
17
17
|
var _a, _b, _c;
|
|
18
18
|
return {
|
|
@@ -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] = "272072c7-56a8-4dc1-9472-718cfefa936d", e._sentryDebugIdIdentifier = "sentry-dbid-272072c7-56a8-4dc1-9472-718cfefa936d");
|
|
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 { Z as Button, bc as entriesOf, bp as InputText, b as useI18nContext, bq as splitTaskIdentifier, a6 as useExperimentsContext, J as useSettingsContext, ac as useGlobalStore, br as listToRecord, bs as valuesOf, b2 as Modal, X as createLogger, a3 as Icon, K as SettingNames, bt as ExperimentNames } from "./StoreProvider-
|
|
12
|
+
import { Z as Button, bc as entriesOf, bp as InputText, b as useI18nContext, bq as splitTaskIdentifier, a6 as useExperimentsContext, J as useSettingsContext, ac as useGlobalStore, br as listToRecord, bs as valuesOf, b2 as Modal, X as createLogger, a3 as Icon, K as SettingNames, bt as ExperimentNames } from "./StoreProvider-CkOReG8r.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-COCojMje.js";
|
|
15
15
|
const tabs = "adyen-kyc-tabs";
|
|
16
16
|
const styles$1 = {
|
|
17
17
|
tabs
|
|
@@ -146,10 +146,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
146
146
|
};
|
|
147
147
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
148
148
|
const moduleMap = {
|
|
149
|
-
plaintext: () => import("./plaintext-
|
|
150
|
-
json: () => import("./json-
|
|
151
|
-
yaml: () => import("./yaml-
|
|
152
|
-
css: () => import("./css-
|
|
149
|
+
plaintext: () => import("./plaintext-qvUxMkQu.js"),
|
|
150
|
+
json: () => import("./json-CQinHxS8.js"),
|
|
151
|
+
yaml: () => import("./yaml-DVJW0XkI.js"),
|
|
152
|
+
css: () => import("./css-DKGP-3-o.js")
|
|
153
153
|
};
|
|
154
154
|
const getModule = async (name) => {
|
|
155
155
|
if (!supportedModules.includes(name)) {
|
|
@@ -440,7 +440,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
440
440
|
const [tab, setTab] = useState("metadata");
|
|
441
441
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
442
442
|
const metadata = {
|
|
443
|
-
sdkVersion: "3.76.
|
|
443
|
+
sdkVersion: "3.76.1",
|
|
444
444
|
locale: i18n.locale,
|
|
445
445
|
rootLegalEntityId: rootLegalEntity.id
|
|
446
446
|
};
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes, a4 as noop } from "./StoreProvider-
|
|
12
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes, a4 as noop } from "./StoreProvider-CkOReG8r.js";
|
|
12
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BySztRXu.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, a9 as useGetTaskStatus, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, ab as useCapabilityProblems, bz as getOwnDecisionMakers, bA as getAvailableDecisionMakerRoleTypes, W as TaskTypes, bB as getAllowedDecisionMakerRoles, F as FormHeader, aU as ContextGuidance, bC as DecisionMakerType, B as Alert, aa as CardGroup, Z as Button, aO as ActionBar } from "./StoreProvider-
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-
|
|
12
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, a9 as useGetTaskStatus, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, ab as useCapabilityProblems, bz as getOwnDecisionMakers, bA as getAvailableDecisionMakerRoleTypes, W as TaskTypes, bB as getAllowedDecisionMakerRoles, F as FormHeader, aU as ContextGuidance, bC as DecisionMakerType, B as Alert, aa as CardGroup, Z as Button, aO as ActionBar } from "./StoreProvider-CkOReG8r.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DkH_fUkh.js";
|
|
14
|
+
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-BQF3bf3U.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, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-Cgmp2aC0.js";
|
|
13
|
+
import { Y as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-CkOReG8r.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";
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { defineSlots } from "named-slots";
|
|
13
|
-
import { a3 as Icon, A as AlertIcon } from "./StoreProvider-
|
|
13
|
+
import { a3 as Icon, A as AlertIcon } from "./StoreProvider-CkOReG8r.js";
|
|
14
14
|
const FormEndState = ({ variant = "success", children, className }) => {
|
|
15
15
|
const Slot = defineSlots(children, ["title", "content", "icon", "actions"]);
|
|
16
16
|
return /* @__PURE__ */ jsxs(
|
|
@@ -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 { dB as FormContext, $ as useAnalyticsContext, b as useI18nContext, bI as MaybeModal, a2 as LoaderWrapper, dC as FormRouterContextProvider, aN as Summary, Z as Button, _ as IconButton, b8 as Confirm } from "./StoreProvider-
|
|
12
|
+
import { dB as FormContext, $ as useAnalyticsContext, b as useI18nContext, bI as MaybeModal, a2 as LoaderWrapper, dC as FormRouterContextProvider, aN as Summary, Z as Button, _ as IconButton, b8 as Confirm } from "./StoreProvider-CkOReG8r.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
function FormContextProvider({
|
|
15
15
|
children,
|
|
@@ -2,23 +2,23 @@
|
|
|
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] = "f10743c4-bb0e-4bdb-b504-3b703ab85647", e._sentryDebugIdIdentifier = "sentry-dbid-f10743c4-bb0e-4bdb-b504-3b703ab85647");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { ao as CountryCodes, W as TaskTypes, p as useApiContext, bf as useMutation, bh as httpPost, c6 as matchesRegex, c7 as trimValWithOneSpace, c8 as NO_ALPHABET_REGEX, c9 as EMOJI_REGEX, ca as hasRepeatedCharacters, cb as isInvalidName, cc as INDIVIDUAL_VALID_CHAR_REGEX, cd as getFormattingRegEx, ce as SPECIAL_CHARS, cf as standardKatakanaValidator, cg as standardKanjiValidator, ar as resolveFieldMetadata, ch as getSSNType, ap as isEmpty, ci as defaultFieldMetadata, cj as defaultFieldConfig, bD as defaultFieldMetadata$1, bE as fieldConfig, ck as defaultFieldMetadata$2, y as LegalEntityType, cl as defaultFieldConfig$1, cm as getAgeToday, cn as euCountries, co as getIdDocument, cp as getDocument, cq as mapExistingFile, cr as getPageName, cs as getLocalizedIdDocumentTypeOptions, ct as getPage, cu as createDocumentRequest, bR as formatObject, cv as individualApiKeyMapping, bj as individualComponentsKeyMapping, bQ as reverseMapping, cw as getNomineeFromAssociation, cx as drop, X as createLogger, P as useAccountHolder, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, J as useSettingsContext, cy as documentApiUtils, cz as useProviderStatus, g as getLegalEntityCountry, c1 as getAssociatedLeAnalyticsPayload, cA as addressValidators, cB as getAsyncIdNumberValidationRule, bF as getAsyncPhoneValidationRules, cC as addressFormatters, cD as useScenarios, cE as setHasMotionCaptureScenario, cF as useScenarioConfiguration, cG as getPropsFromConfigurations, cH as individualForms, cI as showIndividualMotionCapture, bN as getRequiredForms, bO as addValidityToForms, bB as getAllowedDecisionMakerRoles, b0 as datasetUtilities, bP as useFormComposer, c2 as trackNavigation, cJ as Individual, cK as composePerScenarioFormConfigurations, cL as omitObscuredFieldsIfUnchanged, cM as filterOutUnwantedAssociationsIfRootLE, c3 as isValidationError, c4 as processValidationErrors, c5 as isMaintenanceModeError, ba as cloneObject, cN as mapAddressLabels, cO as individualDocumentForms, cP as individualDocumentMapping, cQ as individualObscuredFields, cR as mergeAttachments, cS as getFileExtention, am as getOwnEntityAssociations, cT as hasNomineesChanged, cU as attachNomineeToRole, cV as idVerificationProviderId, cW as doArraysMatch, bC as DecisionMakerType, cX as createFormRules, bA as getAvailableDecisionMakerRoleTypes, cY as allowedCountriesForNominee, bZ as getAddressSchemaForCountry, b_ as COUNTRIES_WITH_STATES_DATASET, cZ as Scenarios, c_ as isLowRiskCountry, az as Field, bJ as Select, c$ as isTruthyValidator, d0 as licenseCardNumberDefaultMetadata, d1 as licenseCardNumberDefaultConfig, aq as mergeFieldMetadataIntoProps, ay as createFormUtils, bK as useFormContext, av as getFieldProps, d2 as idNumberFields, d3 as IdentityNumber, d4 as additionallIdNumberOptions, d5 as MaskedInput, bV as InputDate, d6 as formatDateObj, d7 as DriversLicense, d8 as addressFields, u as useAllowedCountries, K as SettingNames, d9 as getDefaultTaxIdNumberType, F as FormHeader, ax as ErrorPanel, C as Typography, aF as CountryField, b$ as Address, c0 as getAddressSchemaLabelsByCountry, bT as Link, b8 as Confirm, da as getAgeRangeForLegalRepresentative, db as IndividualIdNumberTypeSelector, dc as TaxInformationField, dd as PatriotActDisclosure, de as isLegalRepresentativeNeeded, aw as nameFields, df as decisionMakerRoleFields, dg as nomineeFields, dh as contactDetailFields, B as Alert, aU as ContextGuidance, a$ as TrustedFieldsProvider, di as DecisionMakerRole, dj as NomineeDecisionMakerRole, dk as LocalizedNameFields, bp as InputText, bG as ContactDetails, dl as keysOf, a_ as objectsDeepEqual, bM as isEmpty$1, dm as RadioWithLabel, br as listToRecord, b2 as Modal, Z as Button, bl as Svg, dn as pick, dp as IdVerification, b7 as Spacer, _ as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dq as isPersonUnderAge, dr as IdDocumentManualUpload, ds as idDocumentUploadFields, dt as useFormRouterContext, bL as getFormProps, du as useCapabilities, dv as hasMotionCaptureScenario, dw as setShowIndividualMotionCapture, dx as shouldShowMotionCapture, dy as MemoizedProofOfRelationship, dz as MemoizedDocumentUpload, dA as MemoizedProofOfResidencyUpload, bm as useQueryClient } from "./StoreProvider-
|
|
10
|
+
import { ao as CountryCodes, W as TaskTypes, p as useApiContext, bf as useMutation, bh as httpPost, c6 as matchesRegex, c7 as trimValWithOneSpace, c8 as NO_ALPHABET_REGEX, c9 as EMOJI_REGEX, ca as hasRepeatedCharacters, cb as isInvalidName, cc as INDIVIDUAL_VALID_CHAR_REGEX, cd as getFormattingRegEx, ce as SPECIAL_CHARS, cf as standardKatakanaValidator, cg as standardKanjiValidator, ar as resolveFieldMetadata, ch as getSSNType, ap as isEmpty, ci as defaultFieldMetadata, cj as defaultFieldConfig, bD as defaultFieldMetadata$1, bE as fieldConfig, ck as defaultFieldMetadata$2, y as LegalEntityType, cl as defaultFieldConfig$1, cm as getAgeToday, cn as euCountries, co as getIdDocument, cp as getDocument, cq as mapExistingFile, cr as getPageName, cs as getLocalizedIdDocumentTypeOptions, ct as getPage, cu as createDocumentRequest, bR as formatObject, cv as individualApiKeyMapping, bj as individualComponentsKeyMapping, bQ as reverseMapping, cw as getNomineeFromAssociation, cx as drop, X as createLogger, P as useAccountHolder, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, J as useSettingsContext, cy as documentApiUtils, cz as useProviderStatus, g as getLegalEntityCountry, c1 as getAssociatedLeAnalyticsPayload, cA as addressValidators, cB as getAsyncIdNumberValidationRule, bF as getAsyncPhoneValidationRules, cC as addressFormatters, cD as useScenarios, cE as setHasMotionCaptureScenario, cF as useScenarioConfiguration, cG as getPropsFromConfigurations, cH as individualForms, cI as showIndividualMotionCapture, bN as getRequiredForms, bO as addValidityToForms, bB as getAllowedDecisionMakerRoles, b0 as datasetUtilities, bP as useFormComposer, c2 as trackNavigation, cJ as Individual, cK as composePerScenarioFormConfigurations, cL as omitObscuredFieldsIfUnchanged, cM as filterOutUnwantedAssociationsIfRootLE, c3 as isValidationError, c4 as processValidationErrors, c5 as isMaintenanceModeError, ba as cloneObject, cN as mapAddressLabels, cO as individualDocumentForms, cP as individualDocumentMapping, cQ as individualObscuredFields, cR as mergeAttachments, cS as getFileExtention, am as getOwnEntityAssociations, cT as hasNomineesChanged, cU as attachNomineeToRole, cV as idVerificationProviderId, cW as doArraysMatch, bC as DecisionMakerType, cX as createFormRules, bA as getAvailableDecisionMakerRoleTypes, cY as allowedCountriesForNominee, bZ as getAddressSchemaForCountry, b_ as COUNTRIES_WITH_STATES_DATASET, cZ as Scenarios, c_ as isLowRiskCountry, az as Field, bJ as Select, c$ as isTruthyValidator, d0 as licenseCardNumberDefaultMetadata, d1 as licenseCardNumberDefaultConfig, aq as mergeFieldMetadataIntoProps, ay as createFormUtils, bK as useFormContext, av as getFieldProps, d2 as idNumberFields, d3 as IdentityNumber, d4 as additionallIdNumberOptions, d5 as MaskedInput, bV as InputDate, d6 as formatDateObj, d7 as DriversLicense, d8 as addressFields, u as useAllowedCountries, K as SettingNames, d9 as getDefaultTaxIdNumberType, F as FormHeader, ax as ErrorPanel, C as Typography, aF as CountryField, b$ as Address, c0 as getAddressSchemaLabelsByCountry, bT as Link, b8 as Confirm, da as getAgeRangeForLegalRepresentative, db as IndividualIdNumberTypeSelector, dc as TaxInformationField, dd as PatriotActDisclosure, de as isLegalRepresentativeNeeded, aw as nameFields, df as decisionMakerRoleFields, dg as nomineeFields, dh as contactDetailFields, B as Alert, aU as ContextGuidance, a$ as TrustedFieldsProvider, di as DecisionMakerRole, dj as NomineeDecisionMakerRole, dk as LocalizedNameFields, bp as InputText, bG as ContactDetails, dl as keysOf, a_ as objectsDeepEqual, bM as isEmpty$1, dm as RadioWithLabel, br as listToRecord, b2 as Modal, Z as Button, bl as Svg, dn as pick, dp as IdVerification, b7 as Spacer, _ as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dq as isPersonUnderAge, dr as IdDocumentManualUpload, ds as idDocumentUploadFields, dt as useFormRouterContext, bL as getFormProps, du as useCapabilities, dv as hasMotionCaptureScenario, dw as setShowIndividualMotionCapture, dx as shouldShowMotionCapture, dy as MemoizedProofOfRelationship, dz as MemoizedDocumentUpload, dA as MemoizedProofOfResidencyUpload, bm as useQueryClient } from "./StoreProvider-CkOReG8r.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useMemo, useState, useEffect, useCallback } from "preact/hooks";
|
|
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-
|
|
21
|
-
import { T as TileGroup } from "./TileGroup-
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DkH_fUkh.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DfRISqbs.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-DoZ4mjHw.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-CDy3sto7.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-DIQMiZS0.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CBi2ouZy.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-C0vOJB6Q.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-PS8FRrKc.js";
|
|
21
|
+
import { T as TileGroup } from "./TileGroup-DnAN1O3g.js";
|
|
22
22
|
const KEY_MARKETS = [
|
|
23
23
|
CountryCodes.UnitedStates,
|
|
24
24
|
CountryCodes.UnitedKingdom,
|
|
@@ -3071,11 +3071,25 @@ function IdVerificationMethod(props) {
|
|
|
3071
3071
|
});
|
|
3072
3072
|
setStatus("ready");
|
|
3073
3073
|
} catch (err) {
|
|
3074
|
-
|
|
3074
|
+
handleOnfidoExtractionError(err);
|
|
3075
|
+
handleFieldChange("idDocument")({
|
|
3076
|
+
instantIdVerificationData: onfidoResult,
|
|
3077
|
+
idDocumentType: onfidoResult.document_front.type,
|
|
3078
|
+
modificationDate: (/* @__PURE__ */ new Date()).toISOString()
|
|
3079
|
+
});
|
|
3075
3080
|
} finally {
|
|
3076
3081
|
setShowLoadingSpinner(false);
|
|
3077
3082
|
}
|
|
3078
3083
|
};
|
|
3084
|
+
const handleOnfidoExtractionError = (error2) => {
|
|
3085
|
+
logger$2.error("Onfido extraction error", error2);
|
|
3086
|
+
userEvents.addPageEvent("Encountered error", {
|
|
3087
|
+
actionType: "submit",
|
|
3088
|
+
returnType: "onfido",
|
|
3089
|
+
returnValue: "weCouldNotExtractDocumentInformation"
|
|
3090
|
+
});
|
|
3091
|
+
setStatus("ready");
|
|
3092
|
+
};
|
|
3079
3093
|
const handleOnfidoError = (error2) => {
|
|
3080
3094
|
logger$2.error("Onfido error", error2);
|
|
3081
3095
|
setError({ key: "weCouldNotReachOnfido" });
|
|
@@ -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, bv as getTranslationKeysByPrefix, b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, $ as useAnalyticsContext, bw as StepProgressIndicator, Z as Button } from "./StoreProvider-
|
|
12
|
+
import { W as TaskTypes, y as LegalEntityType, bv as getTranslationKeysByPrefix, b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, $ as useAnalyticsContext, bw as StepProgressIndicator, Z as Button } from "./StoreProvider-CkOReG8r.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-BQF3bf3U.js";
|
|
15
15
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
16
16
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
17
17
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -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, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes, a4 as noop } from "./StoreProvider-
|
|
12
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes, a4 as noop } from "./StoreProvider-CkOReG8r.js";
|
|
12
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BySztRXu.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent-0X0RKWum.js → ManageIndividualComponent-krCZqmxd.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-CkOReG8r.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus--BGRf0lC.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-B3_Mzdkd.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-CSRxp9dL.js";
|
|
12
|
+
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-CkOReG8r.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-B3_Mzdkd.js";
|
|
14
14
|
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
15
15
|
const { i18n } = useI18nContext();
|
|
16
16
|
const title = i18n.get("pciDssQuestionnaire");
|
package/dist/{ManageTermsOfServiceComponent-BkxhuO4D.js → ManageTermsOfServiceComponent-BMndv93G.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-Dhg5ViPG.js";
|
|
12
|
+
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-CkOReG8r.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-B3_Mzdkd.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, b0 as datasetUtilities, b1 as getCapabilityProblems, b2 as Modal, b3 as ModalHeader, C as Typography, b4 as ModalContent, L as Loader, Z as Button, a0 as Card, b5 as StructuredList, b6 as ModalFooter, b7 as Spacer, _ as IconButton, b8 as Confirm, b9 as mapTransferInstrumentToPayoutAccount, ba as cloneObject, bb as currencyByCountry, bc as entriesOf, Y as TaskStatus, bd as useTransferInstrument, X as createLogger, a5 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-D4nN5LX8.js";
|
|
12
|
+
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, b0 as datasetUtilities, b1 as getCapabilityProblems, b2 as Modal, b3 as ModalHeader, C as Typography, b4 as ModalContent, L as Loader, Z as Button, a0 as Card, b5 as StructuredList, b6 as ModalFooter, b7 as Spacer, _ as IconButton, b8 as Confirm, b9 as mapTransferInstrumentToPayoutAccount, ba as cloneObject, bb as currencyByCountry, bc as entriesOf, Y as TaskStatus, bd as useTransferInstrument, X as createLogger, a5 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-CkOReG8r.js";
|
|
13
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-B3_Mzdkd.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) => {
|