@adyen/kyc-components 3.74.7 → 3.74.9
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-CJfi2E2O.js → AcceptTermsOfServiceComponent-PjGqbYx4.js} +10 -10
- package/dist/{AccountSetupRejected-CU0YHaFX.js → AccountSetupRejected-DTNakXbw.js} +2 -2
- package/dist/{Avatar-Dx0lVL3Y.js → Avatar-DsGguOnH.js} +1 -1
- package/dist/{BusinessDetailsDropin-B9C0NJqM.js → BusinessDetailsDropin-CSS58lzs.js} +14 -14
- package/dist/{BusinessFinancingComponent-BJ7gXipf.js → BusinessFinancingComponent-CNyHu4oS.js} +2 -2
- package/dist/{BusinessFinancingDropin-CSPky7Fb.js → BusinessFinancingDropin-DFVzms-n.js} +13 -13
- package/dist/{BusinessFinancingPage-B0giqxtz.js → BusinessFinancingPage-p17_ykDt.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-DZ0rIp02.js → BusinessTypeSelectionPage-Ccef3NF-.js} +4 -4
- package/dist/{Confirm-DZX3GQAq.js → Confirm-w85gfn8E.js} +2 -2
- package/dist/{ContractViewer-430ZAu_r.js → ContractViewer-CQv_bXFS.js} +1 -1
- package/dist/{CreateIndividualComponent-kMMPESE7.js → CreateIndividualComponent-Bl1o9gKQ.js} +3 -3
- package/dist/{CreateTransferInstrumentComponent-Cqie58Qv.js → CreateTransferInstrumentComponent-DBs3NAtt.js} +2 -2
- package/dist/{CustomerSupport-BCcuewlv.js → CustomerSupport-DO1kFlHf.js} +5 -5
- package/dist/{DebugModal-BAyBR_wv.js → DebugModal-BXXBCJSD.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-Dc971UpQ.js → DecisionMakerDetailsPage-v-sLDq7K.js} +3 -3
- package/dist/{DecisionMakers-TbKrMVGr.js → DecisionMakers-DxLt6yq1.js} +5 -5
- package/dist/{EmbeddedStatus-Dqf_-qWV.js → EmbeddedStatus-BMOpaizM.js} +2 -2
- package/dist/{FormEndState-DyFqY_vt.js → FormEndState-CV1jgyAL.js} +1 -1
- package/dist/{FormFlow-CnOb1Hvh.js → FormFlow-DfHOi6J9.js} +4 -4
- package/dist/{FormNavigation-CRlTWoc2.js → FormNavigation-Bt_vi9pb.js} +1 -1
- package/dist/{FormWrapper-DoxJB431.js → FormWrapper-GNKhMb-r.js} +6 -6
- package/dist/{IndividualOnfidoDropin-B3ECos_1.js → IndividualOnfidoDropin--8QuOL3x.js} +27 -29
- package/dist/{Introduction-DMK8SWt1.js → Introduction-B2ysKke0.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-D3oiqT3K.js → LegalRepresentativeDetailsPage-4mAQzsEy.js} +3 -3
- package/dist/{ManageIndividualComponent-5V0tdk-H.js → ManageIndividualComponent-D1qdCdlr.js} +3 -3
- package/dist/{ManagePCIComponent-D01ClsrU.js → ManagePCIComponent-DMxAVT3Y.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-DmgXHaP2.js → ManageTermsOfServiceComponent-rYYnPcWo.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-CBH90MVB.js → ManageTransferInstrumentComponent-y0tGiWJ-.js} +7 -7
- package/dist/{MaybeModal-DZ2ZaHjX.js → MaybeModal-K2U1oL3O.js} +2 -2
- package/dist/{Modal-B2dfKInq.js → Modal-Bc9ayRPi.js} +1 -1
- package/dist/{OnboardingDropinComponent-C7n_UeIA.js → OnboardingDropinComponent-Mk9B82Ht.js} +33 -33
- package/dist/{PayoutDetailsDropin-DW0Rt1xc.js → PayoutDetailsDropin-B47o88iB.js} +10 -10
- package/dist/{PayoutDetailsPage-BgUzhJJ8.js → PayoutDetailsPage-CKXYwoWq.js} +3 -3
- package/dist/{ProviderButton-CcK4lgPY.js → ProviderButton-B4CFnusY.js} +1 -1
- package/dist/{Review-ER1JUObv.js → Review-GJW_d5Ry.js} +3 -3
- package/dist/{RootBusinessDetailsPage-A3-DZlwB.js → RootBusinessDetailsPage-nxGoC68O.js} +3 -3
- package/dist/{RootIndividualDetailsPage-D-Um2LMY.js → RootIndividualDetailsPage-DW-vcFFx.js} +3 -3
- package/dist/{SignPCIComponent-KP_dXO_j.js → SignPCIComponent-zuySVQtr.js} +7 -7
- package/dist/{SingpassSelection-CSgLq7dv.js → SingpassSelection-DexxKXhA.js} +1 -1
- package/dist/{SoleProprietorshipPage-C0XeGgcz.js → SoleProprietorshipPage-ZmRBDfAY.js} +3 -3
- package/dist/{SourceOfFunds.module-CyBLQrzb.js → SourceOfFunds.module-C-O_OkbX.js} +1 -1
- package/dist/{SourceOfFundsPage-CDJNXYA3.js → SourceOfFundsPage-CRcO0l_C.js} +17 -17
- package/dist/{StepProgressIndicator-CoCNQduw.js → StepProgressIndicator-AvSrFOBs.js} +1 -1
- package/dist/{StoreProvider-CH595hUx.js → StoreProvider-Dp-jUczh.js} +6 -6
- package/dist/{TaskItemStatus-CrwgLGQs.js → TaskItemStatus-BO23AVoo.js} +1 -1
- package/dist/{TaxReportingDropin-DkbTgDwz.js → TaxReportingDropin-D7bJmlng.js} +7 -7
- package/dist/{TileGroup-DtvADUWn.js → TileGroup-DPrrJ1qp.js} +1 -1
- package/dist/{TrustDetailsPage-CsjyLtQz.js → TrustDetailsPage-C-NxIJYo.js} +11 -11
- package/dist/{TrustMemberCompanyPage-CsloPCxG.js → TrustMemberCompanyPage-lX2tVg0F.js} +4 -4
- package/dist/{TrustMemberIndividualPage-BPD8s85f.js → TrustMemberIndividualPage-CDoeoDFA.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-DxTe3-S1.js → UnincorporatedPartnershipIndividualPage-F-mjshZY.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-Cobsp-52.js → UnincorporatedPartnershipMemberCompanyPage-CINrKQ_O.js} +3 -3
- package/dist/{VerificationErrorAlert-CdgD8mJF.js → VerificationErrorAlert-5fN45nwC.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-CDPIgPjc.js → ViewVerificationStatusComponent-Cx1kH-Jl.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-DVzjqq1E.js → css-KOl95Rgy.js} +1 -1
- package/dist/{documentUtils-BiAvX5bJ.js → documentUtils-BwOyPMQg.js} +1 -1
- package/dist/{dropinUtils-BmxV5jF9.js → dropinUtils-BOyI8dN7.js} +1 -1
- package/dist/{getFieldsWithExistingData-Bhs-Fn6v.js → getFieldsWithExistingData-CJuefY-I.js} +1 -1
- package/dist/{hasDataChanged-BW2H1VSa.js → hasDataChanged-CbgaHHhg.js} +1 -1
- package/dist/{individualFormConfig-B-KLEdfr.js → individualFormConfig-CqIlMU15.js} +1 -1
- package/dist/{json-mu0CFPdO.js → json-VWIhkhyy.js} +1 -1
- package/dist/{localizeDateString-BmCrA22E.js → localizeDateString-tkEANMSf.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-AxzKtGq7.js → mapFinancialReportsToFinancialInformation-C2GKf5zw.js} +1 -1
- package/dist/{mapTransferInstrumentToPayoutAccount-Cb0YnD-q.js → mapTransferInstrumentToPayoutAccount-MRV2A3FU.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-CEnsLeK5.js → omitObscuredFieldsIfUnchanged-DXYkPDXu.js} +1 -1
- package/dist/{plaintext-BYa8_-Fd.js → plaintext-0HMtptka.js} +1 -1
- package/dist/{process-field-configurations-BlpMU5w2.js → process-field-configurations-CxAY5h3T.js} +1 -1
- package/dist/{processValidationErrors-BGEuTqs7.js → processValidationErrors-BomTFSEt.js} +1 -1
- package/dist/{resolveEnvironment-Bh5uhMre.js → resolveEnvironment-D-MOCUDa.js} +3 -3
- package/dist/{rules-Btl4_L0t.js → rules-DlubmoJc.js} +1 -1
- package/dist/types/components/Shared/fields/CountryField/types.d.ts +1 -1
- package/dist/{useMultiForm-XIkR2yh0.js → useMultiForm-CfsX6NhX.js} +1 -1
- package/dist/{useOnboardingStatus-BzLj_wIl.js → useOnboardingStatus-Bx6BbbYC.js} +1 -1
- package/dist/{useSalesChannelsSettings-BBvAEiCA.js → useSalesChannelsSettings-CRYJsm93.js} +1 -1
- package/dist/{useTermsOfServiceStatus-JcUfMEA4.js → useTermsOfServiceStatus-C3MyyKBo.js} +1 -1
- package/dist/{useToastContext-CYUEndbW.js → useToastContext-Kx6-TmU6.js} +1 -1
- package/dist/{useUpdateLegalEntity-BTIbRbVN.js → useUpdateLegalEntity-DLi1c9Gy.js} +1 -1
- package/dist/{utils-BuH177NU.js → utils-CofNwRPH.js} +3 -3
- package/dist/{validate-DctXKf_3.js → validate-BrHm_q_f.js} +1 -1
- package/dist/{validate-B-UYHmGC.js → validate-E3KmRWsX.js} +1 -1
- package/dist/{yaml-DO5vuBji.js → yaml-CiEBDF2Z.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-CJfi2E2O.js → AcceptTermsOfServiceComponent-PjGqbYx4.js}
RENAMED
|
@@ -9,18 +9,18 @@
|
|
|
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, b3 as useInvalidateRootLegalEntity, b4 as useMutation, b6 as httpPost, q as useQuery, w as skipToken, r as httpGet, aI as createLogger, b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, ar as useForm, B as Alert, Y as Button, a1 as LoaderWrapper, aw as Field, bv as Select, bu as Checkbox, aL as ActionBar, y as LegalEntityType, ac as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, ai as getLegalEntityNameBasedOnType, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-
|
|
13
|
-
import { a as useTermsOfServiceStatus, u as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { b as ModalContent, c as ModalFooter } from "./Modal-
|
|
16
|
-
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-
|
|
12
|
+
import { p as useApiContext, b3 as useInvalidateRootLegalEntity, b4 as useMutation, b6 as httpPost, q as useQuery, w as skipToken, r as httpGet, aI as createLogger, b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, ar as useForm, B as Alert, Y as Button, a1 as LoaderWrapper, aw as Field, bv as Select, bu as Checkbox, aL as ActionBar, y as LegalEntityType, ac as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, ai as getLegalEntityNameBasedOnType, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-Dp-jUczh.js";
|
|
13
|
+
import { a as useTermsOfServiceStatus, u as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-C3MyyKBo.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-K2U1oL3O.js";
|
|
15
|
+
import { b as ModalContent, c as ModalFooter } from "./Modal-Bc9ayRPi.js";
|
|
16
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-CQv_bXFS.js";
|
|
17
17
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
18
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-
|
|
20
|
-
import { F as FormEndState } from "./FormEndState-
|
|
21
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
18
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-AvSrFOBs.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-Kx6-TmU6.js";
|
|
20
|
+
import { F as FormEndState } from "./FormEndState-CV1jgyAL.js";
|
|
21
|
+
import { F as FormNavigation } from "./FormNavigation-Bt_vi9pb.js";
|
|
22
22
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
23
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
23
|
+
import { l as localizeDateString } from "./localizeDateString-tkEANMSf.js";
|
|
24
24
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
25
25
|
return httpPost(
|
|
26
26
|
{
|
|
@@ -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-Dp-jUczh.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-Mk9B82Ht.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 { a2 as Icon } from "./StoreProvider-
|
|
12
|
+
import { a2 as Icon } from "./StoreProvider-Dp-jUczh.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,22 +8,22 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, b4 as useMutation, b6 as httpPost, q as useQuery, dq as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, d5 as MemoizedDocumentUpload, Y as Button, C as Typography, al as CountryCodes, O as CompanyTypesValue, bR as useGlobalData, dr as getForms, W as TaskTypes, ds as BasicInformation, bx as getFormProps, dt as CompanyStructure, du as AdditionalInformation, dv as MemoizedConstitutionalDocument, y as LegalEntityType, dw as FinancialInformation, b2 as entriesOf, b8 as businessDetailsComponentsKeyMapping, dx as solePropBusinessDetailsKeyMapping, aX as objectsDeepEqual, dy as operationalAddressIsSameIds, dz as COUNTRIES_USING_COMPANY_SEARCH, dA as FIELDS_NEEDED_FOR_COMPANY_SEARCH, bA as keysOf, i as isUndefinedOrNull, aG as summaryItem, dB as solePropBusinessDetailsApiKeyMapping, dc as businessDetailsApiKeyMapping, by as isEmpty, dC as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, aZ as datasetUtilities, cp as mapAddressLabels, dD as companyTypeMetadata, am as isEmpty$1, aI as createLogger, co as filterOutUnwantedAssociationsIfRootLE, dE as documentFormsIds, ao as resolveFieldMetadata, dF as defaultFieldMetadata, dG as inferCompanyRegistrationNumberType, dH as getCompanyRegistrationNumberOptions, dI as defaultFieldConfig, c9 as defaultFieldMetadata$1, dJ as countryToTaxInfoTypeMap, ca as defaultFieldConfig$1, dK as getKeyForField, ct as drop, aj as getOwnEntityAssociations, cx as doArraysMatch, P as useAccountHolder, _ as useAnalyticsContext, a4 as useExperimentsContext, J as useSettingsContext, dL as verifiedBusiness, ba as useQueryClient, bF as useStateContext, K as SettingNames, dM as setIsBankAccountRequestedForOrganization, bW as getAssociatedLeAnalyticsPayload, a_ as getCapabilityProblems, dN as rules, dO as useCompanyDataset, dP as useVerifyTin, dQ as setVerifiedBusiness, dR as solePropBusinessDetailsDocumentMapping, dS as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
11
|
+
import { p as useApiContext, b4 as useMutation, b6 as httpPost, q as useQuery, dq as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, d5 as MemoizedDocumentUpload, Y as Button, C as Typography, al as CountryCodes, O as CompanyTypesValue, bR as useGlobalData, dr as getForms, W as TaskTypes, ds as BasicInformation, bx as getFormProps, dt as CompanyStructure, du as AdditionalInformation, dv as MemoizedConstitutionalDocument, y as LegalEntityType, dw as FinancialInformation, b2 as entriesOf, b8 as businessDetailsComponentsKeyMapping, dx as solePropBusinessDetailsKeyMapping, aX as objectsDeepEqual, dy as operationalAddressIsSameIds, dz as COUNTRIES_USING_COMPANY_SEARCH, dA as FIELDS_NEEDED_FOR_COMPANY_SEARCH, bA as keysOf, i as isUndefinedOrNull, aG as summaryItem, dB as solePropBusinessDetailsApiKeyMapping, dc as businessDetailsApiKeyMapping, by as isEmpty, dC as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, aZ as datasetUtilities, cp as mapAddressLabels, dD as companyTypeMetadata, am as isEmpty$1, aI as createLogger, co as filterOutUnwantedAssociationsIfRootLE, dE as documentFormsIds, ao as resolveFieldMetadata, dF as defaultFieldMetadata, dG as inferCompanyRegistrationNumberType, dH as getCompanyRegistrationNumberOptions, dI as defaultFieldConfig, c9 as defaultFieldMetadata$1, dJ as countryToTaxInfoTypeMap, ca as defaultFieldConfig$1, dK as getKeyForField, ct as drop, aj as getOwnEntityAssociations, cx as doArraysMatch, P as useAccountHolder, _ as useAnalyticsContext, a4 as useExperimentsContext, J as useSettingsContext, dL as verifiedBusiness, ba as useQueryClient, bF as useStateContext, K as SettingNames, dM as setIsBankAccountRequestedForOrganization, bW as getAssociatedLeAnalyticsPayload, a_ as getCapabilityProblems, dN as rules, dO as useCompanyDataset, dP as useVerifyTin, dQ as setVerifiedBusiness, dR as solePropBusinessDetailsDocumentMapping, dS as businessDetailsDocumentMapping } from "./StoreProvider-Dp-jUczh.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 { u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
17
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
18
|
-
import { i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError, u as useScenarioConfiguration } from "./processValidationErrors-
|
|
19
|
-
import { C as Confirm } from "./Confirm-
|
|
20
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
21
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
22
|
-
import { g as getDocument, c as createDocumentRequest, a as getFileExtention, d as documentApiUtils } from "./documentUtils-
|
|
23
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DLi1c9Gy.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-CbgaHHhg.js";
|
|
15
|
+
import { u as useToastContext } from "./useToastContext-Kx6-TmU6.js";
|
|
16
|
+
import { a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-CxAY5h3T.js";
|
|
17
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BOyI8dN7.js";
|
|
18
|
+
import { i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError, u as useScenarioConfiguration } from "./processValidationErrors-BomTFSEt.js";
|
|
19
|
+
import { C as Confirm } from "./Confirm-w85gfn8E.js";
|
|
20
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-CofNwRPH.js";
|
|
21
|
+
import { F as FormWrapper } from "./FormWrapper-GNKhMb-r.js";
|
|
22
|
+
import { g as getDocument, c as createDocumentRequest, a as getFileExtention, d as documentApiUtils } from "./documentUtils-BwOyPMQg.js";
|
|
23
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CJuefY-I.js";
|
|
24
24
|
import cx from "classnames";
|
|
25
|
-
import { M as Modal, b as ModalContent } from "./Modal-
|
|
26
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
25
|
+
import { M as Modal, b as ModalContent } from "./Modal-Bc9ayRPi.js";
|
|
26
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-C2GKf5zw.js";
|
|
27
27
|
import { m as mapExistingFile, g as getPageName } from "./mapExistingFile-BE74t9jV.js";
|
|
28
28
|
import { f as formatObject, g as getProp } from "./utils-B1H_8b1P.js";
|
|
29
29
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
package/dist/{BusinessFinancingComponent-BJ7gXipf.js → BusinessFinancingComponent-CNyHu4oS.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-Dp-jUczh.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DFVzms-n.js";
|
|
14
14
|
function BusinessFinancingComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess
|
|
@@ -9,20 +9,20 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useEffect, useCallback, useState, useRef } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
-
import { bI as reverseMapping, bJ as isEeaCountry, y as LegalEntityType, b0 as cloneObject, am as isEmpty, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, aw as Field, bv as Select, C as Typography, aS as RadioGroup, bK as Link, bf as InputText, b1 as currencyByCountry, bL as InputNumber, bM as InputDate, bN as Currency, bO as CURRENCY_FIELD, bP as InputCurrency, ar as useForm, bQ as useGlobalDataSlice, au as ErrorPanel, av as createFormUtils, bR as useGlobalData, bS as getAddressSchemaForCountry, bT as COUNTRIES_WITH_STATES_DATASET, bU as Address, bV as getAddressSchemaLabelsByCountry, _ as useAnalyticsContext, b3 as useInvalidateRootLegalEntity, ak as useAssociatedLegalEntity, aZ as datasetUtilities, bF as useStateContext, J as useSettingsContext, K as SettingNames, bW as getAssociatedLeAnalyticsPayload, bx as getFormProps, L as Loader, a2 as Icon, Y as Button } from "./StoreProvider-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import { u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { u as useScenarioConfiguration, i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError } from "./processValidationErrors-
|
|
17
|
-
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
18
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-
|
|
19
|
-
import { F as FormEndState } from "./FormEndState-
|
|
20
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
21
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
12
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DLi1c9Gy.js";
|
|
13
|
+
import { bI as reverseMapping, bJ as isEeaCountry, y as LegalEntityType, b0 as cloneObject, am as isEmpty, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, aw as Field, bv as Select, C as Typography, aS as RadioGroup, bK as Link, bf as InputText, b1 as currencyByCountry, bL as InputNumber, bM as InputDate, bN as Currency, bO as CURRENCY_FIELD, bP as InputCurrency, ar as useForm, bQ as useGlobalDataSlice, au as ErrorPanel, av as createFormUtils, bR as useGlobalData, bS as getAddressSchemaForCountry, bT as COUNTRIES_WITH_STATES_DATASET, bU as Address, bV as getAddressSchemaLabelsByCountry, _ as useAnalyticsContext, b3 as useInvalidateRootLegalEntity, ak as useAssociatedLegalEntity, aZ as datasetUtilities, bF as useStateContext, J as useSettingsContext, K as SettingNames, bW as getAssociatedLeAnalyticsPayload, bx as getFormProps, L as Loader, a2 as Icon, Y as Button } from "./StoreProvider-Dp-jUczh.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-CbgaHHhg.js";
|
|
15
|
+
import { u as useToastContext } from "./useToastContext-Kx6-TmU6.js";
|
|
16
|
+
import { u as useScenarioConfiguration, i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError } from "./processValidationErrors-BomTFSEt.js";
|
|
17
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-CxAY5h3T.js";
|
|
18
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-BOyI8dN7.js";
|
|
19
|
+
import { F as FormEndState } from "./FormEndState-CV1jgyAL.js";
|
|
20
|
+
import { F as FormWrapper } from "./FormWrapper-GNKhMb-r.js";
|
|
21
|
+
import { l as localizeDateString } from "./localizeDateString-tkEANMSf.js";
|
|
22
22
|
import { f as formatObject, g as getProp } from "./utils-B1H_8b1P.js";
|
|
23
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
24
|
-
import { f as fieldsPerScenario } from "./individualFormConfig-
|
|
25
|
-
import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate-
|
|
23
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-C2GKf5zw.js";
|
|
24
|
+
import { f as fieldsPerScenario } from "./individualFormConfig-CqIlMU15.js";
|
|
25
|
+
import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate-BrHm_q_f.js";
|
|
26
26
|
const MANDATORY_FIELDS_BUSINESS_FINANCING = [
|
|
27
27
|
"company.numberOfEmployees",
|
|
28
28
|
"parentCompany.numberOfEmployees",
|
|
@@ -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-Dp-jUczh.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DFVzms-n.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-DZ0rIp02.js → BusinessTypeSelectionPage-Ccef3NF-.js}
RENAMED
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, P as useAccountHolder, bk as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, ar as useForm, a1 as LoaderWrapper, C as Typography, aw as Field, bl as EntityTypeRadioGroupCard, az as RadioGroupCard, Y as Button, a2 as Icon, H as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-
|
|
11
|
+
import { b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, P as useAccountHolder, bk as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, ar as useForm, a1 as LoaderWrapper, C as Typography, aw as Field, bl as EntityTypeRadioGroupCard, az as RadioGroupCard, Y as Button, a2 as Icon, H as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-Dp-jUczh.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DLi1c9Gy.js";
|
|
14
14
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
15
|
-
import { u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-
|
|
15
|
+
import { u as useToastContext } from "./useToastContext-Kx6-TmU6.js";
|
|
16
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-CofNwRPH.js";
|
|
17
17
|
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") });
|
|
18
18
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
19
19
|
const importForCountry = businessTypeExamples[`../localized/legalEntityTypeExamples/${country}.json`];
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { b as useI18nContext, C as Typography, Y as Button } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { b as useI18nContext, C as Typography, Y as Button } from "./StoreProvider-Dp-jUczh.js";
|
|
13
|
+
import { M as Modal } from "./Modal-Bc9ayRPi.js";
|
|
14
14
|
const confirm = "adyen-kyc-confirm";
|
|
15
15
|
const confirmMessage = "adyen-kyc-confirm-message";
|
|
16
16
|
const confirmActions = "adyen-kyc-confirm-actions";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as Icon } from "./StoreProvider-
|
|
11
|
+
import { a2 as Icon } from "./StoreProvider-Dp-jUczh.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-kMMPESE7.js → CreateIndividualComponent-Bl1o9gKQ.js}
RENAMED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, a4 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, U as EntityType, W as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-
|
|
13
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin
|
|
11
|
+
import { a as useLegalEntity, a4 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, U as EntityType, W as TaskTypes } from "./StoreProvider-Dp-jUczh.js";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-B4CFnusY.js";
|
|
13
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin--8QuOL3x.js";
|
|
14
14
|
const CreateIndividualComponent = ({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, ak as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, W as TaskTypes } from "./StoreProvider-
|
|
13
|
-
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-
|
|
12
|
+
import { a as useLegalEntity, ak as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, W as TaskTypes } from "./StoreProvider-Dp-jUczh.js";
|
|
13
|
+
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-B47o88iB.js";
|
|
14
14
|
function CreateTransferInstrumentComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
transferInstrumentId,
|
|
@@ -8,12 +8,12 @@
|
|
|
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, ba as useQueryClient, ao as resolveFieldMetadata, bq as defaultFieldMetadata, br as fieldConfig, bs as getAsyncPhoneValidationRules, F as FormHeader, bt as ContactDetails, aL as ActionBar, aI as createLogger } from "./StoreProvider-
|
|
11
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, _ as useAnalyticsContext, ba as useQueryClient, ao as resolveFieldMetadata, bq as defaultFieldMetadata, br as fieldConfig, bs as getAsyncPhoneValidationRules, F as FormHeader, bt as ContactDetails, aL as ActionBar, aI as createLogger } from "./StoreProvider-Dp-jUczh.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 useToastContext } from "./useToastContext-
|
|
16
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DLi1c9Gy.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-E3KmRWsX.js";
|
|
15
|
+
import { u as useToastContext } from "./useToastContext-Kx6-TmU6.js";
|
|
16
|
+
import { u as useMultiForm } from "./useMultiForm-CfsX6NhX.js";
|
|
17
17
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
18
18
|
var _a, _b, _c;
|
|
19
19
|
return {
|
|
@@ -2,18 +2,18 @@
|
|
|
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] = "619a81f7-679d-4d78-9b1d-293f1ee73dfa", e._sentryDebugIdIdentifier = "sentry-dbid-619a81f7-679d-4d78-9b1d-293f1ee73dfa");
|
|
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 { Y as Button, b2 as entriesOf, bf as InputText, b as useI18nContext, bg as splitTaskIdentifier, a4 as useExperimentsContext, J as useSettingsContext, aa as useGlobalStore, bh as listToRecord, bi as valuesOf, aI as createLogger, a2 as Icon, K as SettingNames } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { Y as Button, b2 as entriesOf, bf as InputText, b as useI18nContext, bg as splitTaskIdentifier, a4 as useExperimentsContext, J as useSettingsContext, aa as useGlobalStore, bh as listToRecord, bi as valuesOf, aI as createLogger, a2 as Icon, K as SettingNames } from "./StoreProvider-Dp-jUczh.js";
|
|
13
|
+
import { M as Modal } from "./Modal-Bc9ayRPi.js";
|
|
14
14
|
import { E as ExperimentNames } from "./types-CjUrSQiM.js";
|
|
15
15
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
16
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
16
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-BO23AVoo.js";
|
|
17
17
|
const tabs = "adyen-kyc-tabs";
|
|
18
18
|
const styles$1 = {
|
|
19
19
|
tabs
|
|
@@ -148,10 +148,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
148
148
|
};
|
|
149
149
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
150
150
|
const moduleMap = {
|
|
151
|
-
plaintext: () => import("./plaintext-
|
|
152
|
-
json: () => import("./json-
|
|
153
|
-
yaml: () => import("./yaml-
|
|
154
|
-
css: () => import("./css-
|
|
151
|
+
plaintext: () => import("./plaintext-0HMtptka.js"),
|
|
152
|
+
json: () => import("./json-VWIhkhyy.js"),
|
|
153
|
+
yaml: () => import("./yaml-CiEBDF2Z.js"),
|
|
154
|
+
css: () => import("./css-KOl95Rgy.js")
|
|
155
155
|
};
|
|
156
156
|
const getModule = async (name) => {
|
|
157
157
|
if (!supportedModules.includes(name)) {
|
|
@@ -442,7 +442,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
442
442
|
const [tab, setTab] = useState("metadata");
|
|
443
443
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
444
444
|
const metadata = {
|
|
445
|
-
sdkVersion: "3.74.
|
|
445
|
+
sdkVersion: "3.74.9",
|
|
446
446
|
locale: i18n.locale,
|
|
447
447
|
rootLegalEntityId: rootLegalEntity.id
|
|
448
448
|
};
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken, a4 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-
|
|
13
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, a4 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-Dp-jUczh.js";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-B4CFnusY.js";
|
|
13
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin--8QuOL3x.js";
|
|
14
14
|
function DecisionMakerDetailsPage({
|
|
15
15
|
decisionMakerId,
|
|
16
16
|
parentCompanyId,
|
|
@@ -9,11 +9,11 @@
|
|
|
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, a7 as useGetTaskStatus, b as useI18nContext, _ as useAnalyticsContext, bm as getOwnDecisionMakers, bn as getAvailableDecisionMakerRoleTypes, W as TaskTypes, bo as getAllowedDecisionMakerRoles, F as FormHeader, aR as ContextGuidance, bp as DecisionMakerType, B as Alert, a8 as CardGroup, Y as Button, aL as ActionBar } from "./StoreProvider-
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { u as useToastContext } from "./useToastContext-
|
|
15
|
-
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-
|
|
16
|
-
import { u as useCapabilityProblems } from "./ProviderButton-
|
|
12
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, a7 as useGetTaskStatus, b as useI18nContext, _ as useAnalyticsContext, bm as getOwnDecisionMakers, bn as getAvailableDecisionMakerRoleTypes, W as TaskTypes, bo as getAllowedDecisionMakerRoles, F as FormHeader, aR as ContextGuidance, bp as DecisionMakerType, B as Alert, a8 as CardGroup, Y as Button, aL as ActionBar } from "./StoreProvider-Dp-jUczh.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DLi1c9Gy.js";
|
|
14
|
+
import { u as useToastContext } from "./useToastContext-Kx6-TmU6.js";
|
|
15
|
+
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-Mk9B82Ht.js";
|
|
16
|
+
import { u as useCapabilityProblems } from "./ProviderButton-B4CFnusY.js";
|
|
17
17
|
const DecisionMakers = (props) => {
|
|
18
18
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
19
19
|
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 { X as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-DsGguOnH.js";
|
|
13
|
+
import { X as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-Dp-jUczh.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 { a2 as Icon, A as AlertIcon } from "./StoreProvider-
|
|
13
|
+
import { a2 as Icon, A as AlertIcon } from "./StoreProvider-Dp-jUczh.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,11 +9,11 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState } from "preact/hooks";
|
|
12
|
-
import { dh as FormContext, _ as useAnalyticsContext, b as useI18nContext, a1 as LoaderWrapper, aK as Summary, Y as Button, Z as IconButton } from "./StoreProvider-
|
|
12
|
+
import { dh as FormContext, _ as useAnalyticsContext, b as useI18nContext, a1 as LoaderWrapper, aK as Summary, Y as Button, Z as IconButton } from "./StoreProvider-Dp-jUczh.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
16
|
-
import { C as Confirm } from "./Confirm-
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-K2U1oL3O.js";
|
|
15
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-BOyI8dN7.js";
|
|
16
|
+
import { C as Confirm } from "./Confirm-w85gfn8E.js";
|
|
17
17
|
function FormContextProvider({
|
|
18
18
|
children,
|
|
19
19
|
form
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { b as useI18nContext, a2 as Icon, bb as globalStyles, bc as KEYBOARD_KEYS, _ as useAnalyticsContext, C as Typography, a3 as noop } from "./StoreProvider-
|
|
12
|
+
import { b as useI18nContext, a2 as Icon, bb as globalStyles, bc as KEYBOARD_KEYS, _ as useAnalyticsContext, C as Typography, a3 as noop } from "./StoreProvider-Dp-jUczh.js";
|
|
13
13
|
const FormNavigationItem = ({
|
|
14
14
|
form,
|
|
15
15
|
isActive,
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useCallback } from "preact/hooks";
|
|
12
|
-
import { b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, a1 as LoaderWrapper, aJ as summaryStep, Y as Button, aK as Summary } from "./StoreProvider-
|
|
13
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
14
|
-
import { b as ModalContent, a as ModalHeader, c as ModalFooter } from "./Modal-
|
|
12
|
+
import { b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, a1 as LoaderWrapper, aJ as summaryStep, Y as Button, aK as Summary } from "./StoreProvider-Dp-jUczh.js";
|
|
13
|
+
import { M as MaybeModal } from "./MaybeModal-K2U1oL3O.js";
|
|
14
|
+
import { b as ModalContent, a as ModalHeader, c as ModalFooter } from "./Modal-Bc9ayRPi.js";
|
|
15
15
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
16
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
17
|
-
import { t as trackNavigation, F as FormRouterContextProvider } from "./dropinUtils-
|
|
18
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
16
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-AvSrFOBs.js";
|
|
17
|
+
import { t as trackNavigation, F as FormRouterContextProvider } from "./dropinUtils-BOyI8dN7.js";
|
|
18
|
+
import { F as FormNavigation } from "./FormNavigation-Bt_vi9pb.js";
|
|
19
19
|
const FormWrapper = ({
|
|
20
20
|
asModal = false,
|
|
21
21
|
summary,
|
|
@@ -2,34 +2,34 @@
|
|
|
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] = "1afe455b-9764-4f98-b11e-be00b9562310", e._sentryDebugIdIdentifier = "sentry-dbid-1afe455b-9764-4f98-b11e-be00b9562310");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { al as CountryCodes, W as TaskTypes, p as useApiContext, b4 as useMutation, b6 as httpPost, bX as matchesRegex, bY as trimValWithOneSpace, bZ as NO_ALPHABET_REGEX, b_ as EMOJI_REGEX, b$ as hasRepeatedCharacters, c0 as isInvalidName, c1 as INDIVIDUAL_VALID_CHAR_REGEX, c2 as getFormattingRegEx, c3 as SPECIAL_CHARS, c4 as standardKatakanaValidator, c5 as standardKanjiValidator, ao as resolveFieldMetadata, c6 as getSSNType, am as isEmpty, c7 as defaultFieldMetadata, c8 as defaultFieldConfig, bq as defaultFieldMetadata$1, br as fieldConfig, c9 as defaultFieldMetadata$2, y as LegalEntityType, ca as defaultFieldConfig$1, cb as getAgeToday, cc as euCountries, cd as getLocalizedIdDocumentTypeOptions, ce as individualApiKeyMapping, b7 as individualComponentsKeyMapping, bI as reverseMapping, cf as getNomineeFromAssociation, aI as createLogger, P as useAccountHolder, b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, J as useSettingsContext, cg as useProviderStatus, g as getLegalEntityCountry, bW as getAssociatedLeAnalyticsPayload, ch as addressValidators, ci as getAsyncIdNumberValidationRule, bs as getAsyncPhoneValidationRules, cj as addressFormatters, ck as setHasMotionCaptureScenario, cl as individualForms, cm as showIndividualMotionCapture, bo as getAllowedDecisionMakerRoles, aZ as datasetUtilities, cn as Individual, co as filterOutUnwantedAssociationsIfRootLE, b0 as cloneObject, cp as mapAddressLabels, cq as individualDocumentForms, cr as individualDocumentMapping, cs as individualObscuredFields, ct as drop, aj as getOwnEntityAssociations, cu as hasNomineesChanged, cv as attachNomineeToRole, cw as idVerificationProviderId, cx as doArraysMatch, bp as DecisionMakerType, bB as createFormRules, bn as getAvailableDecisionMakerRoleTypes, cy as allowedCountriesForNominee, bS as getAddressSchemaForCountry, bT as COUNTRIES_WITH_STATES_DATASET, cz as Scenarios, cA as isLowRiskCountry, aw as Field, bv as Select, cB as isTruthyValidator, cC as licenseCardNumberDefaultMetadata, cD as licenseCardNumberDefaultConfig, an as mergeFieldMetadataIntoProps, av as createFormUtils, bw as useFormContext, as as getFieldProps, cE as idNumberFields, cF as IdentityNumber, cG as additionallIdNumberOptions, cH as MaskedInput, bM as InputDate, cI as formatDateObj, cJ as DriversLicense, cK as addressFields, u as useAllowedCountries, K as SettingNames, cL as getDefaultTaxIdNumberType, F as FormHeader, au as ErrorPanel, C as Typography, aC as CountryField, bU as Address, bV as getAddressSchemaLabelsByCountry, bK as Link, cM as getAgeRangeForLegalRepresentative, cN as IndividualIdNumberTypeSelector, cO as TaxInformationField, cP as PatriotActDisclosure, cQ as isLegalRepresentativeNeeded, at as nameFields, cR as decisionMakerRoleFields, cS as nomineeFields, cT as contactDetailFields, B as Alert, aR as ContextGuidance, aY as TrustedFieldsProvider, cU as DecisionMakerRole, cV as NomineeDecisionMakerRole, aB as Name, bf as InputText, bt as ContactDetails, bA as keysOf, aX as objectsDeepEqual, by as isEmpty$1, cW as RadioWithLabel, bh as listToRecord, Y as Button, b9 as Svg, cX as pick, cY as IdVerification, Z as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, cZ as isPersonUnderAge, c_ as IdDocumentManualUpload, c$ as idDocumentUploadFields, d0 as useFormRouterContext, bx as getFormProps, bz as useCapabilities, d1 as hasMotionCaptureScenario, d2 as setShowIndividualMotionCapture, d3 as shouldShowMotionCapture, d4 as MemoizedProofOfRelationship, d5 as MemoizedDocumentUpload, d6 as MemoizedProofOfResidencyUpload, ba as useQueryClient } from "./StoreProvider-
|
|
10
|
+
import { al as CountryCodes, W as TaskTypes, p as useApiContext, b4 as useMutation, b6 as httpPost, bX as matchesRegex, bY as trimValWithOneSpace, bZ as NO_ALPHABET_REGEX, b_ as EMOJI_REGEX, b$ as hasRepeatedCharacters, c0 as isInvalidName, c1 as INDIVIDUAL_VALID_CHAR_REGEX, c2 as getFormattingRegEx, c3 as SPECIAL_CHARS, c4 as standardKatakanaValidator, c5 as standardKanjiValidator, ao as resolveFieldMetadata, c6 as getSSNType, am as isEmpty, c7 as defaultFieldMetadata, c8 as defaultFieldConfig, bq as defaultFieldMetadata$1, br as fieldConfig, c9 as defaultFieldMetadata$2, y as LegalEntityType, ca as defaultFieldConfig$1, cb as getAgeToday, cc as euCountries, cd as getLocalizedIdDocumentTypeOptions, ce as individualApiKeyMapping, b7 as individualComponentsKeyMapping, bI as reverseMapping, cf as getNomineeFromAssociation, aI as createLogger, P as useAccountHolder, b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, J as useSettingsContext, cg as useProviderStatus, g as getLegalEntityCountry, bW as getAssociatedLeAnalyticsPayload, ch as addressValidators, ci as getAsyncIdNumberValidationRule, bs as getAsyncPhoneValidationRules, cj as addressFormatters, ck as setHasMotionCaptureScenario, cl as individualForms, cm as showIndividualMotionCapture, bo as getAllowedDecisionMakerRoles, aZ as datasetUtilities, cn as Individual, co as filterOutUnwantedAssociationsIfRootLE, b0 as cloneObject, cp as mapAddressLabels, cq as individualDocumentForms, cr as individualDocumentMapping, cs as individualObscuredFields, ct as drop, aj as getOwnEntityAssociations, cu as hasNomineesChanged, cv as attachNomineeToRole, cw as idVerificationProviderId, cx as doArraysMatch, bp as DecisionMakerType, bB as createFormRules, bn as getAvailableDecisionMakerRoleTypes, cy as allowedCountriesForNominee, bS as getAddressSchemaForCountry, bT as COUNTRIES_WITH_STATES_DATASET, cz as Scenarios, cA as isLowRiskCountry, aw as Field, bv as Select, cB as isTruthyValidator, cC as licenseCardNumberDefaultMetadata, cD as licenseCardNumberDefaultConfig, an as mergeFieldMetadataIntoProps, av as createFormUtils, bw as useFormContext, as as getFieldProps, cE as idNumberFields, cF as IdentityNumber, cG as additionallIdNumberOptions, cH as MaskedInput, bM as InputDate, cI as formatDateObj, cJ as DriversLicense, cK as addressFields, u as useAllowedCountries, K as SettingNames, cL as getDefaultTaxIdNumberType, F as FormHeader, au as ErrorPanel, C as Typography, aC as CountryField, bU as Address, bV as getAddressSchemaLabelsByCountry, bK as Link, cM as getAgeRangeForLegalRepresentative, cN as IndividualIdNumberTypeSelector, cO as TaxInformationField, cP as PatriotActDisclosure, cQ as isLegalRepresentativeNeeded, at as nameFields, cR as decisionMakerRoleFields, cS as nomineeFields, cT as contactDetailFields, B as Alert, aR as ContextGuidance, aY as TrustedFieldsProvider, cU as DecisionMakerRole, cV as NomineeDecisionMakerRole, aB as Name, bf as InputText, bt as ContactDetails, bA as keysOf, aX as objectsDeepEqual, by as isEmpty$1, cW as RadioWithLabel, bh as listToRecord, Y as Button, b9 as Svg, cX as pick, cY as IdVerification, Z as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, cZ as isPersonUnderAge, c_ as IdDocumentManualUpload, c$ as idDocumentUploadFields, d0 as useFormRouterContext, bx as getFormProps, bz as useCapabilities, d1 as hasMotionCaptureScenario, d2 as setShowIndividualMotionCapture, d3 as shouldShowMotionCapture, d4 as MemoizedProofOfRelationship, d5 as MemoizedDocumentUpload, d6 as MemoizedProofOfResidencyUpload, ba as useQueryClient } from "./StoreProvider-Dp-jUczh.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useMemo, useState, useEffect, useCallback } from "preact/hooks";
|
|
13
|
-
import { e as useScenarios, u as useScenarioConfiguration, i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError } from "./processValidationErrors-
|
|
14
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
16
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
17
|
-
import { u as useToastContext } from "./useToastContext-
|
|
18
|
-
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
19
|
-
import { a as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-
|
|
20
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-
|
|
21
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
22
|
-
import { b as getIdDocument, g as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, a as getFileExtention } from "./documentUtils-
|
|
23
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
24
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
25
|
-
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-
|
|
26
|
-
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-
|
|
13
|
+
import { e as useScenarios, u as useScenarioConfiguration, i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError } from "./processValidationErrors-BomTFSEt.js";
|
|
14
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DLi1c9Gy.js";
|
|
15
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-E3KmRWsX.js";
|
|
16
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-DfHOi6J9.js";
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-Kx6-TmU6.js";
|
|
18
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-CxAY5h3T.js";
|
|
19
|
+
import { a as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-B4CFnusY.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-BOyI8dN7.js";
|
|
21
|
+
import { u as useMultiForm } from "./useMultiForm-CfsX6NhX.js";
|
|
22
|
+
import { b as getIdDocument, g as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, a as getFileExtention } from "./documentUtils-BwOyPMQg.js";
|
|
23
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CJuefY-I.js";
|
|
24
|
+
import { l as localizeDateString } from "./localizeDateString-tkEANMSf.js";
|
|
25
|
+
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-DXYkPDXu.js";
|
|
26
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-DlubmoJc.js";
|
|
27
27
|
import { f as formatObject } from "./utils-B1H_8b1P.js";
|
|
28
|
-
import { f as fieldsPerScenario } from "./individualFormConfig-
|
|
29
|
-
import { C as Confirm } from "./Confirm-
|
|
30
|
-
import { M as Modal } from "./Modal-
|
|
28
|
+
import { f as fieldsPerScenario } from "./individualFormConfig-CqIlMU15.js";
|
|
29
|
+
import { C as Confirm } from "./Confirm-w85gfn8E.js";
|
|
30
|
+
import { M as Modal } from "./Modal-Bc9ayRPi.js";
|
|
31
31
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
32
|
-
import { T as TileGroup } from "./TileGroup-
|
|
32
|
+
import { T as TileGroup } from "./TileGroup-DPrrJ1qp.js";
|
|
33
33
|
import { m as mapExistingFile, g as getPageName, a as getPage } from "./mapExistingFile-BE74t9jV.js";
|
|
34
34
|
const KEY_MARKETS = [
|
|
35
35
|
CountryCodes.UnitedStates,
|
|
@@ -1460,13 +1460,13 @@ const individualOnfidoRules = ({
|
|
|
1460
1460
|
}
|
|
1461
1461
|
},
|
|
1462
1462
|
nationalityIfRequiredForRole: () => {
|
|
1463
|
-
var _a;
|
|
1463
|
+
var _a, _b;
|
|
1464
1464
|
const enableNationalitySGHK = isExperimentEnabled("EnableNationalitySGHK");
|
|
1465
1465
|
const rootLegalEntityCountry = (_a = rootLegalEntity == null ? void 0 : rootLegalEntity.organization) == null ? void 0 : _a.registeredAddress.country;
|
|
1466
1466
|
if (enableNationalitySGHK && rootLegalEntityCountry && NATIONALITY_REQUIRED_FOR_COUNTRIES.includes(rootLegalEntityCountry)) {
|
|
1467
1467
|
return REQUIRED;
|
|
1468
1468
|
}
|
|
1469
|
-
if (NATIONALITY_REQUIRED_FOR_COUNTRIES.includes(country)) {
|
|
1469
|
+
if (NATIONALITY_REQUIRED_FOR_COUNTRIES.includes(country) || ((_b = data == null ? void 0 : data.additionalPersonalDetails) == null ? void 0 : _b.nationality)) {
|
|
1470
1470
|
return REQUIRED;
|
|
1471
1471
|
}
|
|
1472
1472
|
},
|
|
@@ -1852,10 +1852,6 @@ const additionalPersonalDetailsFields = [
|
|
|
1852
1852
|
...addressFields,
|
|
1853
1853
|
"taxInformation"
|
|
1854
1854
|
];
|
|
1855
|
-
const countriesRequiringNationality = [
|
|
1856
|
-
CountryCodes.HongKong,
|
|
1857
|
-
CountryCodes.Singapore
|
|
1858
|
-
];
|
|
1859
1855
|
function AdditionalPersonalDetails(props) {
|
|
1860
1856
|
var _a, _b;
|
|
1861
1857
|
const { i18n } = useI18nContext();
|
|
@@ -1911,6 +1907,7 @@ function AdditionalPersonalDetails(props) {
|
|
|
1911
1907
|
setShowLegalRepresentativePrompt(true);
|
|
1912
1908
|
}
|
|
1913
1909
|
};
|
|
1910
|
+
const isRootIndividual = taskType === TaskTypes.INDIVIDUAL;
|
|
1914
1911
|
return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc-individual__personal-details", "aria-describedby": "ariaErrorField", children: [
|
|
1915
1912
|
/* @__PURE__ */ jsx(FormHeader, { heading }),
|
|
1916
1913
|
/* @__PURE__ */ jsx(
|
|
@@ -1936,7 +1933,7 @@ function AdditionalPersonalDetails(props) {
|
|
|
1936
1933
|
},
|
|
1937
1934
|
labels: { country: formUtils.getLabel("country") },
|
|
1938
1935
|
readonly: formUtils.isReadOnly("country"),
|
|
1939
|
-
allowedCountries,
|
|
1936
|
+
allowedCountries: isRootIndividual ? allowedCountries : void 0,
|
|
1940
1937
|
classNameModifiers: ["country"],
|
|
1941
1938
|
handleChangeFor: handleFieldChange
|
|
1942
1939
|
}
|
|
@@ -2051,18 +2048,19 @@ function AdditionalPersonalDetails(props) {
|
|
|
2051
2048
|
defaultData: data == null ? void 0 : data.taxInformation
|
|
2052
2049
|
}
|
|
2053
2050
|
),
|
|
2054
|
-
|
|
2051
|
+
formUtils.isRequiredField("nationality") && /* @__PURE__ */ jsx(
|
|
2055
2052
|
CountryField,
|
|
2056
2053
|
{
|
|
2057
2054
|
data: { country: data == null ? void 0 : data.nationality },
|
|
2058
2055
|
valid: { country: valid == null ? void 0 : valid.nationality },
|
|
2056
|
+
name: "nationality",
|
|
2059
2057
|
errors: {
|
|
2060
2058
|
country: formUtils.getErrorMessage("nationality", errors, fieldValidationErrors)
|
|
2061
2059
|
},
|
|
2062
2060
|
labels: { country: formUtils.getLabel("nationality") },
|
|
2063
2061
|
readonly: formUtils.isReadOnly("nationality"),
|
|
2064
2062
|
classNameModifiers: ["nationality"],
|
|
2065
|
-
handleChangeFor: handleFieldChange
|
|
2063
|
+
handleChangeFor: () => handleFieldChange("nationality", "input")
|
|
2066
2064
|
}
|
|
2067
2065
|
),
|
|
2068
2066
|
country === "US" && isIndividual ? /* @__PURE__ */ jsx(PatriotActDisclosure, {}) : void 0
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { W as TaskTypes, y as LegalEntityType, bj as getTranslationKeysByPrefix, b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, _ as useAnalyticsContext, Y as Button } from "./StoreProvider-
|
|
13
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
12
|
+
import { W as TaskTypes, y as LegalEntityType, bj as getTranslationKeysByPrefix, b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, _ as useAnalyticsContext, Y as Button } from "./StoreProvider-Dp-jUczh.js";
|
|
13
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-AvSrFOBs.js";
|
|
14
14
|
import { useMemo } from "preact/compat";
|
|
15
|
-
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
15
|
+
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-Mk9B82Ht.js";
|
|
16
16
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
17
17
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
18
18
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, a4 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-
|
|
13
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, a4 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-Dp-jUczh.js";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-B4CFnusY.js";
|
|
13
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin--8QuOL3x.js";
|
|
14
14
|
function LegalRepresentativeDetailsPage({
|
|
15
15
|
legalRepresentativeId,
|
|
16
16
|
asModal = false,
|
package/dist/{ManageIndividualComponent-5V0tdk-H.js → ManageIndividualComponent-D1qdCdlr.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-Dp-jUczh.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-Bx6BbbYC.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-BMOpaizM.js";
|
|
15
15
|
function ManageIndividualComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onClick
|