@adyen/kyc-components 4.0.0-beta.6 → 4.0.0-beta.7
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-Bp_pbi8W.js → AcceptTermsOfServiceComponent-BPD80NBV.js} +14 -14
- package/dist/{AccountSetupRejected-DHaw05S_.js → AccountSetupRejected-DMxK6_NZ.js} +4 -4
- package/dist/{Address-T_L756Fd.js → Address-BxCJg97r.js} +7 -7
- package/dist/{Alert-BZ-Nbp3n.js → Alert-JxANwoOi.js} +1 -1
- package/dist/{Avatar-CZRMcyig.js → Avatar-BEsogKxf.js} +1 -1
- package/dist/{BusinessDetailsDropin-BCEl6ugY.js → BusinessDetailsDropin-3EfuXcxm.js} +33 -33
- package/dist/{BusinessFinancingComponent-C6_BGjEv.js → BusinessFinancingComponent-C7-oATO_.js} +4 -4
- package/dist/{BusinessFinancingDropin-Bu7y-kHJ.js → BusinessFinancingDropin-Cszqojtx.js} +22 -22
- package/dist/{BusinessFinancingPage-D0NzYc0c.js → BusinessFinancingPage-BcmQhmS2.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-D7LnoZsb.js → BusinessTypeSelectionPage-CkX2PhOw.js} +6 -6
- package/dist/{Card-BEgeVmvV.js → Card-DPXJw_ou.js} +3 -3
- package/dist/{Confirm-CgkKXlLy.js → Confirm-C6hGSEWi.js} +2 -2
- package/dist/{CountryField-DrVg4pbc.js → CountryField-ziRVRc5r.js} +4 -4
- package/dist/{CreateIndividualComponent-DiIekvBi.js → CreateIndividualComponent-C87nTEy0.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-CntLlhRB.js → CreateTransferInstrumentComponent-BH92eRcz.js} +5 -5
- package/dist/{Currency-DvQxk7WJ.js → Currency-DAbA2YTu.js} +5 -5
- package/dist/{CustomerSupport-BAdzjndM.js → CustomerSupport-C2Ugl1ZJ.js} +8 -8
- package/dist/{DebugModal-Dr3FKql6.js → DebugModal-BiGsN2MR.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-DPlXbmD6.js → DecisionMakerDetailsPage-BKqkZ5TL.js} +6 -6
- package/dist/{DecisionMakers-Doo6HxK4.js → DecisionMakers-Dfub_FaY.js} +17 -17
- package/dist/{Dropzone-E3lXPgPY.js → Dropzone-DwdkWB-s.js} +3 -3
- package/dist/{EmbeddedStatus-C17AoFjV.js → EmbeddedStatus-C2FaB1kG.js} +2 -2
- package/dist/{EndStateLayout-Bc-JoLaP.js → EndStateLayout-BhU2LTbj.js} +1 -1
- package/dist/{FormFlow-Di-9Yq0J.js → FormFlow-BaU8ND7m.js} +6 -6
- package/dist/{FormNavigation-Ch8lpQQK.js → FormNavigation-BAN7IHi5.js} +1 -1
- package/dist/{IndividualOnfidoDropin-CYTsxyiK.js → IndividualOnfidoDropin-ZdnLLkuv.js} +38 -38
- package/dist/{InputDate-D1xYE8M2.js → InputDate-DgqNliIM.js} +1 -1
- package/dist/{InputText-oE96xgGf.js → InputText-CufyDwPI.js} +2 -2
- package/dist/{Introduction-DgTGlm3M.js → Introduction-BMLVCUN7.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-MdE-WFrw.js → LegalRepresentativeDetailsPage-Z1TS1eMK.js} +4 -4
- package/dist/{Link-FLNV2uQx.js → Link-D6KEr49t.js} +1 -1
- package/dist/{ManageIndividualComponent-Mu9yOtmo.js → ManageIndividualComponent-B0P2UcYb.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-DrIHTlGb.js → ManageTermsOfServiceComponent-BVGYJlbf.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-D7fZtGPd.js → ManageTransferInstrumentComponent-BLOM9_st.js} +12 -12
- package/dist/{MaskedInput-CP1lOY03.js → MaskedInput-CMGa4-AZ.js} +3 -3
- package/dist/{MaybeModal-DebkHJrB.js → MaybeModal-C32AiZaM.js} +2 -2
- package/dist/{Modal-DQZ4dMFr.js → Modal-BvBRzt44.js} +1 -1
- package/dist/{OnboardingDropinComponent-DpN0iLAh.js → OnboardingDropinComponent-BdhXxmZJ.js} +42 -42
- package/dist/{PayoutDetailsDropin-oU6yHXFO.js → PayoutDetailsDropin-CFOc-3Cg.js} +25 -25
- package/dist/{RadioGroup-C1kODuZr.js → RadioGroup-CnXRr_Ap.js} +4 -4
- package/dist/{RegistrationAddress-bS2rqYF2.js → RegistrationAddress-C48VQay3.js} +12 -12
- package/dist/{Review-BID_uj8P.js → Review-Dp8VRYjm.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DSSqJDxv.js → RootBusinessDetailsPage-C9oZvSeQ.js} +27 -27
- package/dist/{RootIndividualDetailsPage-CqGLe5Fd.js → RootIndividualDetailsPage-BHTLpnk6.js} +4 -4
- package/dist/{SignPCIComponent-WJxyytsK.js → SignPCIComponent-Mtb9Ipxw.js} +9 -9
- package/dist/{SingpassSelection-BkLexUYc.js → SingpassSelection-C5WwyGgd.js} +3 -3
- package/dist/{SoleProprietorshipPage-CQH-lT79.js → SoleProprietorshipPage-Dweeg8jm.js} +4 -4
- package/dist/{SourceOfFundsPage-qO5AsbyN.js → SourceOfFundsPage-PEf5WB77.js} +26 -26
- package/dist/{StepProgressIndicator-B6jW885Y.js → StepProgressIndicator-D-k_XSe0.js} +1 -1
- package/dist/{StoreProvider-DOveEVCE.js → StoreProvider-_YW7glEh.js} +4 -4
- package/dist/{TaskItemStatus-gY3QqCXW.js → TaskItemStatus-3Xrr8mL4.js} +1 -1
- package/dist/{TaskStatusIndicator-DjKfmLWk.js → TaskStatusIndicator-B1ZRr1qx.js} +1 -1
- package/dist/{TaxInformationField-BjN-COCm.js → TaxInformationField-Cc4iBLBk.js} +12 -12
- package/dist/{TaxReportingDropin-XLlkh9dR.js → TaxReportingDropin-yiL_vTaE.js} +17 -17
- package/dist/{TileGroup-Bf_KPczL.js → TileGroup-C0Rfm3yy.js} +2 -2
- package/dist/{TrustDetailsPage-BLeUJoAV.js → TrustDetailsPage-D_ZIBi6O.js} +22 -22
- package/dist/{TrustMemberCompanyPage-Bsm7gi_e.js → TrustMemberCompanyPage-DkzAv8u6.js} +5 -5
- package/dist/{TrustMemberIndividualPage-CzHIlZHD.js → TrustMemberIndividualPage-DXWrDuq4.js} +4 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-DpJ-j3fn.js → UnincorporatedPartnershipIndividualPage-B6tWGs6K.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-2Wgz_aQr.js → UnincorporatedPartnershipMemberCompanyPage-C_awQ-ZH.js} +5 -5
- package/dist/{ViewVerificationStatusComponent-B15vbIws.js → ViewVerificationStatusComponent-DjO4MIbD.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +5 -5
- package/dist/adyen-individual-status.js +5 -5
- package/dist/adyen-kyc-components.js +21 -21
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +5 -5
- package/dist/adyen-terms-of-service-status.js +5 -5
- package/dist/adyen-transfer-instrument-configuration.js +5 -5
- package/dist/adyen-transfer-instrument-management.js +5 -5
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{analytics-2hGA-cx1.js → analytics-BY--2-JY.js} +1 -1
- package/dist/{bafinUtils-CVA17xYo.js → bafinUtils-DJvocoVP.js} +5 -5
- package/dist/{commonValidators-DCM5UhH6.js → commonValidators-DcQ7Z0J8.js} +1 -1
- package/dist/{dropinUtils-1GeCqEl1.js → dropinUtils-CMGrblnm.js} +2 -2
- package/dist/{fieldConfigurations-DPY7jB8k.js → fieldConfigurations-Bct_fXIF.js} +6 -6
- package/dist/{getName-CGZCNwuc.js → getName-BfigaSFZ.js} +1 -1
- package/dist/{hasDataChanged-Of2J5c2Y.js → hasDataChanged-D5Rq4ntg.js} +1 -1
- package/dist/{iframeWidget-DQYem3Qa.js → iframeWidget-D2bi8wJe.js} +3 -3
- package/dist/{isEmpty-DBj6NFoa.js → isEmpty-Ck0I6out.js} +1 -1
- package/dist/{localizeDateString-BxmEwC2K.js → localizeDateString-DmnKzDGI.js} +1 -1
- package/dist/{mapExistingFile-gPqgSwUG.js → mapExistingFile-qQ4y79Lm.js} +3 -3
- package/dist/{mapScriptLocalization-DFBF9KfC.js → mapScriptLocalization-D7RKQgK6.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-DNWPt3mW.js → mapTransferInstrumentToPayoutAccount-BbdTQhjr.js} +1 -1
- package/dist/{resolveEnvironment-DJiDAGo-.js → resolveEnvironment-D4ONN9a2.js} +3 -3
- package/dist/{rules-Bo1d6dAJ.js → rules-DD7cnV-t.js} +3 -3
- package/dist/{translation-IYHo-_Mc.js → translation-CpuWYSlU.js} +1 -1
- package/dist/types/embeds/individual-configuration/AdyenIndividual.d.ts +3 -3
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +5 -5
- package/dist/types/embeds/individual-status/AdyenManageIndividual.d.ts +3 -3
- package/dist/types/embeds/individual-status/adyen-individual-status.types.d.ts +5 -5
- package/dist/types/embeds/terms-of-service-management/AdyenTermsOfService.d.ts +3 -3
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts +5 -5
- package/dist/types/embeds/terms-of-service-status/AdyenManageTermsOfService.d.ts +3 -3
- package/dist/types/embeds/terms-of-service-status/{adyen-manage-terms-of-service.types.d.ts → adyen-terms-of-service-status.types.d.ts} +5 -5
- package/dist/types/embeds/transfer-instrument-configuration/AdyenTransferInstrument.d.ts +3 -3
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.types.d.ts +5 -5
- package/dist/types/embeds/transfer-instrument-management/AdyenManageTransferInstrument.d.ts +3 -3
- package/dist/types/embeds/transfer-instrument-management/adyen-transfer-instrument-management.types.d.ts +5 -5
- package/dist/{types-D2sEEWDi.js → types-Cj8YOGeo.js} +1 -1
- package/dist/{types-DHWLJwxd.js → types-DW8AoV0s.js} +1 -1
- package/dist/{useAssociatedLegalEntity-Bp8XC2L3.js → useAssociatedLegalEntity-DpMCDRB2.js} +1 -1
- package/dist/{useDataset-D4mnA6DC.js → useDataset-DgGo4v2J.js} +1 -1
- package/dist/{useForm-B58-dXq6.js → useForm-C66YXYZG.js} +2 -2
- package/dist/{useGlobalData-BrYDijKl.js → useGlobalData-CLK6kHPg.js} +9 -9
- package/dist/{useMultiForm-PsSG8YB6.js → useMultiForm-C2Py7qyc.js} +3 -3
- package/dist/{useOnboardingStatus--VMqrDT7.js → useOnboardingStatus-CAefy-E-.js} +1 -1
- package/dist/{useScenarios-Bf3RLF-w.js → useScenarios-B9C3euGm.js} +1 -1
- package/dist/{useTermsOfServiceStatus-3C9pGiD7.js → useTermsOfServiceStatus-BoQcnXHY.js} +1 -1
- package/dist/{useToastContext-DuFRr5GY.js → useToastContext-DGtAfUak.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-Jv04xMZi.js → useUnincorporatedPartnershipMembers-DWYujkfV.js} +4 -4
- package/dist/{utils-CJuL6b9p.js → utils-398Z4KKf.js} +1 -1
- package/dist/{utils-Ble2523K.js → utils-DgGLUM4O.js} +1 -1
- package/dist/{utils-CPUXDoS0.js → utils-DxvZeEUH.js} +6 -6
- package/dist/{validate-BxKz7xY8.js → validate--KA-U0Fs.js} +1 -1
- package/dist/{validate-DN9Kvy9b.js → validate-BrsSh5ej.js} +6 -6
- package/dist/{validate-BtJFnIGb.js → validate-ZwWxhap7.js} +3 -3
- package/dist/{validationError-Dr817hGf.js → validationError-DeiIFLRV.js} +1 -1
- package/package.json +5 -5
|
@@ -2,9 +2,9 @@ import './adyen-transfer-instrument-configuration';
|
|
|
2
2
|
import type { PayoutDetailsSchema } from '../../components/BankAccount/forms/PayoutDetails/types';
|
|
3
3
|
import type { ElementProps } from '../baseEmbedProps';
|
|
4
4
|
import { EmbedBaseElement } from '../EmbedBaseElement';
|
|
5
|
-
import type {
|
|
6
|
-
type AdyenTransferInstrumentElement = HTMLElement &
|
|
7
|
-
type AdyenTransferInstrumentElementProps = ElementProps<
|
|
5
|
+
import type { AdyenTransferInstrumentConfigurationProps } from './adyen-transfer-instrument-configuration.types';
|
|
6
|
+
type AdyenTransferInstrumentElement = HTMLElement & AdyenTransferInstrumentConfigurationProps;
|
|
7
|
+
type AdyenTransferInstrumentElementProps = ElementProps<AdyenTransferInstrumentConfigurationProps>;
|
|
8
8
|
export declare class AdyenTransferInstrument extends EmbedBaseElement<AdyenTransferInstrumentElementProps> {
|
|
9
9
|
view: 'modal' | 'inline';
|
|
10
10
|
transferInstrumentId?: string;
|
|
@@ -5,7 +5,7 @@ import type { BaseEmbedProps } from '../baseEmbedProps';
|
|
|
5
5
|
/**
|
|
6
6
|
* @see https://docs.adyen.com/platforms/onboard-users/components/transfer-instrument/#initialize-components
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface AdyenTransferInstrumentConfigurationProps extends BaseEmbedProps {
|
|
9
9
|
transferinstrumentid?: string;
|
|
10
10
|
/** ConfigId setup to use open banking integration with Plaid **/
|
|
11
11
|
openbankingpartnerconfigid?: string;
|
|
@@ -19,7 +19,7 @@ export interface AdyenTransferInstrumentProps extends BaseEmbedProps {
|
|
|
19
19
|
declare module 'preact/jsx-runtime' {
|
|
20
20
|
namespace JSX {
|
|
21
21
|
interface IntrinsicElements {
|
|
22
|
-
'adyen-transfer-instrument':
|
|
22
|
+
'adyen-transfer-instrument-configuration': AdyenTransferInstrumentConfigurationProps;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -29,20 +29,20 @@ type CustomElement<T> = Partial<T & DOMAttributes<T> & {
|
|
|
29
29
|
declare global {
|
|
30
30
|
namespace JSX {
|
|
31
31
|
interface IntrinsicElements {
|
|
32
|
-
'adyen-transfer-instrument': CustomElement<
|
|
32
|
+
'adyen-transfer-instrument-configuration': CustomElement<AdyenTransferInstrumentConfigurationProps>;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
declare module 'react/jsx-runtime' {
|
|
37
37
|
namespace JSX {
|
|
38
38
|
interface IntrinsicElements {
|
|
39
|
-
'adyen-transfer-instrument':
|
|
39
|
+
'adyen-transfer-instrument-configuration': AdyenTransferInstrumentConfigurationProps;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
declare module 'vue' {
|
|
44
44
|
interface GlobalComponents {
|
|
45
|
-
'adyen-transfer-instrument': DefineComponent<
|
|
45
|
+
'adyen-transfer-instrument-configuration': DefineComponent<AdyenTransferInstrumentConfigurationProps>;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './adyen-transfer-instrument-management';
|
|
2
2
|
import type { ElementProps } from '../baseEmbedProps';
|
|
3
3
|
import { EmbedBaseElement } from '../EmbedBaseElement';
|
|
4
|
-
import type {
|
|
5
|
-
type AdyenManageTransferInstrumentsElement = HTMLElement &
|
|
6
|
-
export type AdyenManageTransferInstrumentsElementProps = ElementProps<
|
|
4
|
+
import type { AdyenTransferInstrumentManagementProps } from './adyen-transfer-instrument-management.types';
|
|
5
|
+
type AdyenManageTransferInstrumentsElement = HTMLElement & AdyenTransferInstrumentManagementProps;
|
|
6
|
+
export type AdyenManageTransferInstrumentsElementProps = ElementProps<AdyenTransferInstrumentManagementProps>;
|
|
7
7
|
export declare class AdyenManageTransferInstruments extends EmbedBaseElement<AdyenManageTransferInstrumentsElementProps> {
|
|
8
8
|
onadd: (legalEntityId: string) => void;
|
|
9
9
|
onedit: (transferInstrumentId: string, legalEntityId: string) => void;
|
|
@@ -4,7 +4,7 @@ import type { BaseEmbedProps } from '../baseEmbedProps';
|
|
|
4
4
|
/**
|
|
5
5
|
* @see https://docs.adyen.com/platforms/onboard-users/components/transfer-instrument/#initialize-components
|
|
6
6
|
*/
|
|
7
|
-
export interface
|
|
7
|
+
export interface AdyenTransferInstrumentManagementProps extends BaseEmbedProps {
|
|
8
8
|
onadd(rootLegalEntityId: string): void;
|
|
9
9
|
onedit(transferInstrumentId: string, legalEntityId: string): void;
|
|
10
10
|
onremove?(transferInstrumentId: string, legalEntityId: string): void;
|
|
@@ -12,7 +12,7 @@ export interface AdyenManageTransferInstrumentsProps extends BaseEmbedProps {
|
|
|
12
12
|
declare module 'preact/jsx-runtime' {
|
|
13
13
|
namespace JSX {
|
|
14
14
|
interface IntrinsicElements {
|
|
15
|
-
'adyen-
|
|
15
|
+
'adyen-transfer-instrument-management': AdyenTransferInstrumentManagementProps;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -22,20 +22,20 @@ type CustomElement<T> = Partial<T & DOMAttributes<T> & {
|
|
|
22
22
|
declare global {
|
|
23
23
|
namespace JSX {
|
|
24
24
|
interface IntrinsicElements {
|
|
25
|
-
'adyen-
|
|
25
|
+
'adyen-transfer-instrument-management': CustomElement<AdyenTransferInstrumentManagementProps>;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
declare module 'react/jsx-runtime' {
|
|
30
30
|
namespace JSX {
|
|
31
31
|
interface IntrinsicElements {
|
|
32
|
-
'adyen-
|
|
32
|
+
'adyen-transfer-instrument-management': AdyenTransferInstrumentManagementProps;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
declare module 'vue' {
|
|
37
37
|
interface GlobalComponents {
|
|
38
|
-
'adyen-
|
|
38
|
+
'adyen-transfer-instrument-management': DefineComponent<AdyenTransferInstrumentManagementProps>;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
export {};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a8 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a8 as CountryCodes } from "./StoreProvider-_YW7glEh.js";
|
|
11
11
|
import { C as Currencies } from "./currency-BGwQyxBo.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { N as createLogger, c as useLegalEntity, q as skipToken } from "./StoreProvider-
|
|
11
|
+
import { N as createLogger, c as useLegalEntity, q as skipToken } from "./StoreProvider-_YW7glEh.js";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
14
14
|
const matchingAssociation = useMemo(() => {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useEffect } from "preact/hooks";
|
|
11
|
-
import { N as createLogger, u as useI18nContext } from "./StoreProvider-
|
|
11
|
+
import { N as createLogger, u as useI18nContext } from "./StoreProvider-_YW7glEh.js";
|
|
12
12
|
const normalizedDatasets = {};
|
|
13
13
|
const datasets = {};
|
|
14
14
|
const createDatasetKey = (identifier, locale) => `${identifier}_${locale}`.toLowerCase();
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState, useEffect, useRef, useMemo, useCallback, useReducer } from "preact/hooks";
|
|
13
|
-
import { U as useAnalyticsContext, a as useTranslation, V as Icon, w as translateStringOrObject, L as Loader, W as noop, x as Typography, N as createLogger, a9 as isEmpty, az as entriesOf, aG as doArraysMatch } from "./StoreProvider-
|
|
13
|
+
import { U as useAnalyticsContext, a as useTranslation, V as Icon, w as translateStringOrObject, L as Loader, W as noop, x as Typography, N as createLogger, a9 as isEmpty, az as entriesOf, aG as doArraysMatch } from "./StoreProvider-_YW7glEh.js";
|
|
14
14
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
15
15
|
import { K as KEYBOARD_KEYS } from "./keys-BpNgnAsD.js";
|
|
16
|
-
import { d as debouncedInputEvent } from "./analytics-
|
|
16
|
+
import { d as debouncedInputEvent } from "./analytics-BY--2-JY.js";
|
|
17
17
|
function Checkbox({
|
|
18
18
|
id,
|
|
19
19
|
name,
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useContext, useState, useCallback, useMemo } from "preact/hooks";
|
|
12
|
-
import { bw as StateContext, a as useTranslation, U as useAnalyticsContext, X as useExperimentsContext, B as Button } from "./StoreProvider-
|
|
13
|
-
import { L as LoaderWrapper } from "./useForm-
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-
|
|
12
|
+
import { bw as StateContext, a as useTranslation, U as useAnalyticsContext, X as useExperimentsContext, B as Button } from "./StoreProvider-_YW7glEh.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./useForm-C66YXYZG.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-C32AiZaM.js";
|
|
15
|
+
import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-BvBRzt44.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
18
|
-
import { t as trackNavigation, F as FormRouterContextProvider } from "./dropinUtils-
|
|
19
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
20
|
-
import { d as summaryStep, S as Summary } from "./CountryField-
|
|
21
|
-
import { a as debounce } from "./analytics-
|
|
17
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-D-k_XSe0.js";
|
|
18
|
+
import { t as trackNavigation, F as FormRouterContextProvider } from "./dropinUtils-CMGrblnm.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-BAN7IHi5.js";
|
|
20
|
+
import { d as summaryStep, S as Summary } from "./CountryField-ziRVRc5r.js";
|
|
21
|
+
import { a as debounce } from "./analytics-BY--2-JY.js";
|
|
22
22
|
function useStateContext() {
|
|
23
23
|
const context = useContext(StateContext);
|
|
24
24
|
if (process.env.NODE_ENV === "development" && !context) {
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { af as objectsDeepEqual, N as createLogger, a9 as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./useForm-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { af as objectsDeepEqual, N as createLogger, a9 as isEmpty } from "./StoreProvider-_YW7glEh.js";
|
|
12
|
+
import { V as ValidationResult } from "./useForm-C66YXYZG.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-DcQ7Z0J8.js";
|
|
14
14
|
const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
|
|
15
15
|
a[c] = obj[c];
|
|
16
16
|
return a;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, o as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, o as httpGet } from "./StoreProvider-_YW7glEh.js";
|
|
11
11
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, az as entriesOf, q as skipToken, al as Scenarios, o as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, az as entriesOf, q as skipToken, al as Scenarios, o as httpGet } from "./StoreProvider-_YW7glEh.js";
|
|
11
11
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
12
12
|
const scenarioParams = new URLSearchParams({
|
|
13
13
|
...countryCode && { countryCode },
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, o as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, o as httpGet } from "./StoreProvider-_YW7glEh.js";
|
|
11
11
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { N as createLogger, aC as useQueryClient, b as useApiContext, aH as ToastContext } from "./StoreProvider-
|
|
10
|
+
import { N as createLogger, aC as useQueryClient, b as useApiContext, aH as ToastContext } from "./StoreProvider-_YW7glEh.js";
|
|
11
11
|
import { useCallback, useContext } from "preact/hooks";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { y as LegalEntityTypes, a6 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
11
|
+
import { y as LegalEntityTypes, a6 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-_YW7glEh.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-DpMCDRB2.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-ziRVRc5r.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-BfigaSFZ.js";
|
|
15
15
|
const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
|
|
16
16
|
const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
|
|
17
17
|
if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { R as RadioGroupCard } from "./fieldConfigurations-
|
|
12
|
-
import { a as useTranslation, g as getLegalEntityCountry, bC as getCapabilities, y as LegalEntityTypes, G as hasOwnEntityAssociationOfType, a8 as CountryCodes } from "./StoreProvider-
|
|
13
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
14
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
15
|
-
import { S as SOLE_PROP_COUNTRIES } from "./rules-
|
|
16
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
11
|
+
import { R as RadioGroupCard } from "./fieldConfigurations-Bct_fXIF.js";
|
|
12
|
+
import { a as useTranslation, g as getLegalEntityCountry, bC as getCapabilities, y as LegalEntityTypes, G as hasOwnEntityAssociationOfType, a8 as CountryCodes } from "./StoreProvider-_YW7glEh.js";
|
|
13
|
+
import { C as CompanyTypesValues } from "./bafinUtils-DJvocoVP.js";
|
|
14
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-BdhXxmZJ.js";
|
|
15
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-DD7cnV-t.js";
|
|
16
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-DW8AoV0s.js";
|
|
17
17
|
const EntityTypeRadioGroupCard = ({
|
|
18
18
|
examples,
|
|
19
19
|
optionDescription,
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useState, useMemo, useEffect } from "preact/hooks";
|
|
11
|
-
import { b as useApiContext, k as httpPost, a8 as CountryCodes, a9 as isEmpty, N as createLogger, a as useTranslation, az as entriesOf } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpPost, a8 as CountryCodes, a9 as isEmpty, N as createLogger, a as useTranslation, az as entriesOf } from "./StoreProvider-_YW7glEh.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
|
-
import { F as Field, c as Select } from "./useForm-
|
|
14
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader } from "./CountryField-
|
|
15
|
-
import { m as makeMask, a as nonInputs, n as numericInputs, s as spacer, M as MaskedInput, I as InputEmail } from "./MaskedInput-
|
|
16
|
-
import { r as resolveFieldMetadata } from "./fieldConfigurations-
|
|
17
|
-
import { u as useDataset, d as datasetIdentifier } from "./useDataset-
|
|
13
|
+
import { F as Field, c as Select } from "./useForm-C66YXYZG.js";
|
|
14
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader } from "./CountryField-ziRVRc5r.js";
|
|
15
|
+
import { m as makeMask, a as nonInputs, n as numericInputs, s as spacer, M as MaskedInput, I as InputEmail } from "./MaskedInput-CMGa4-AZ.js";
|
|
16
|
+
import { r as resolveFieldMetadata } from "./fieldConfigurations-Bct_fXIF.js";
|
|
17
|
+
import { u as useDataset, d as datasetIdentifier } from "./useDataset-DgGo4v2J.js";
|
|
18
18
|
import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
|
|
19
19
|
import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
|
|
20
20
|
const validatePhoneNumber = (baseUrl, data) => {
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { e as TrustedFieldsProviders } from "./fieldConfigurations-
|
|
11
|
-
import { N as createLogger, bu as businessDetailsApiKeyMapping, a$ as individualApiKeyMapping, aE as remediationHasFileUploadField, bv as dataMissingRemediationsToFieldsMap, aD as keysOf, k as httpPost, aB as httpDelete, o as httpGet, bw as StateContext, a as useTranslation, U as useAnalyticsContext, V as Icon, x as Typography, P as IconButton } from "./StoreProvider-
|
|
12
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
10
|
+
import { e as TrustedFieldsProviders } from "./fieldConfigurations-Bct_fXIF.js";
|
|
11
|
+
import { N as createLogger, bu as businessDetailsApiKeyMapping, a$ as individualApiKeyMapping, aE as remediationHasFileUploadField, bv as dataMissingRemediationsToFieldsMap, aD as keysOf, k as httpPost, aB as httpDelete, o as httpGet, bw as StateContext, a as useTranslation, U as useAnalyticsContext, V as Icon, x as Typography, P as IconButton } from "./StoreProvider-_YW7glEh.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-398Z4KKf.js";
|
|
13
13
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
14
|
import cx from "classnames";
|
|
15
15
|
import { useEffect } from "preact/hooks";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { M as TaskTypes, bq as remediationPayoutApiKeyMapping, br as remediationBusinessDetailsApiKeyMapping, bs as remediationIndividualApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { M as TaskTypes, bq as remediationPayoutApiKeyMapping, br as remediationBusinessDetailsApiKeyMapping, bs as remediationIndividualApiKeyMapping } from "./StoreProvider-_YW7glEh.js";
|
|
11
11
|
import { a as assignToProp } from "./utils-DNSfZiio.js";
|
|
12
12
|
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
13
13
|
const overrideKeyMapping = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.7",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-kyc",
|
|
@@ -33,19 +33,19 @@
|
|
|
33
33
|
"import": "./dist/adyen-onboarding.js"
|
|
34
34
|
},
|
|
35
35
|
"./individual-configuration": {
|
|
36
|
-
"types": "./dist/types/embeds/individual/adyen-individual-configuration.types.d.ts",
|
|
36
|
+
"types": "./dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts",
|
|
37
37
|
"import": "./dist/adyen-individual-configuration.js"
|
|
38
38
|
},
|
|
39
39
|
"./individual-status": {
|
|
40
|
-
"types": "./dist/types/embeds/individual-status/adyen-
|
|
41
|
-
"import": "./dist/adyen-
|
|
40
|
+
"types": "./dist/types/embeds/individual-status/adyen-individual-status.types.d.ts",
|
|
41
|
+
"import": "./dist/adyen-individual-status.js"
|
|
42
42
|
},
|
|
43
43
|
"./transfer-instrument-configuration": {
|
|
44
44
|
"types": "./dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.types.d.ts",
|
|
45
45
|
"import": "./dist/adyen-transfer-instrument-configuration.js"
|
|
46
46
|
},
|
|
47
47
|
"./transfer-instrument-management": {
|
|
48
|
-
"types": "./dist/types/embeds/transfer-
|
|
48
|
+
"types": "./dist/types/embeds/transfer-instrument-management/adyen-transfer-instrument-management.types.d.ts",
|
|
49
49
|
"import": "./dist/adyen-transfer-instrument-management.js"
|
|
50
50
|
},
|
|
51
51
|
"./terms-of-service-management": {
|