@adyen/kyc-components 3.70.0-beta.0 → 3.70.0
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/{AU-DBnla6IS.js → AU-CaovX9P8.js} +4 -5
- package/dist/{AcceptTermsOfServiceComponent-DGnbaEif.js → AcceptTermsOfServiceComponent-D-HcDOBq.js} +200 -13
- package/dist/{AccountSetupRejected-BUjkuj8y.js → AccountSetupRejected-voqgiesN.js} +3 -3
- package/dist/{BE-By7sRfJq.js → BE-H45zzgu4.js} +3 -2
- package/dist/{BR-CG-ZSQQz.js → BR-Dmkd5VjU.js} +5 -5
- package/dist/BusinessDetailsDropin-CnGwMWvN.js +2406 -0
- package/dist/{BusinessTypeSelection-DqYdtKWT.js → BusinessTypeSelection-DQr-2_Iq.js} +31 -30
- package/dist/{CH-DNjTl_X_.js → CH-DVyjmrDH.js} +4 -2
- package/dist/{CXEL7IU7-D4uuriQj.js → CXEL7IU7-Do0b5BzU.js} +3 -3
- package/dist/{CZ-DDucwl8A.js → CZ-1E7Zx2il.js} +3 -4
- package/dist/CreateIndividualComponent-BuBNDvhx.js +7204 -0
- package/dist/{CustomerSupport-Dt_GbO2W.js → CustomerSupport-BJrkWmYp.js} +4 -4
- package/dist/{DE-LKZHA8bh.js → DE-D7HKgI77.js} +6 -5
- package/dist/{DK-moHaAY_C.js → DK-x6M9-ek-.js} +2 -4
- package/dist/{DebugModal-DqSAxc2y.js → DebugModal-DdFbk-rz.js} +11 -10
- package/dist/{DecisionMakers-DCP-NbPE.js → DecisionMakers-DghodKJR.js} +5 -5
- package/dist/{ES-BOW3pjTD.js → ES-CeohntGo.js} +6 -7
- package/dist/{EmbedShell-D1F1J3bv.js → EmbedShell-BaZnwexg.js} +5 -6
- package/dist/{EventEmitter-B5nDiK-t.js → EventEmitter-Cfyz1mmg.js} +2742 -3396
- package/dist/{FI-gB1Mh_9c.js → FI-BOex4MFx.js} +3 -5
- package/dist/{FR-iSfxCiGj.js → FR-CAxkckai.js} +4 -4
- package/dist/{GB-UYrtNfT0.js → GB-DUnW-a4M.js} +2 -4
- package/dist/{HASRA6WW-yCLwR-7b.js → HASRA6WW-CLlxPThM.js} +2 -2
- package/dist/{HK-BsLgqwJt.js → HK-eKVHN8Vg.js} +4 -4
- package/dist/{HR-BOrmO4s8.js → HR-BHhcnUGU.js} +3 -3
- package/dist/{HU-DSPD5z5O.js → HU-hfSSMbei.js} +1 -4
- package/dist/{I3HPI4QX-DmhzJNXt.js → I3HPI4QX-BW3ApIxs.js} +3 -3
- package/dist/{IE-BNxtcUkX.js → IE-BN3Eiv5M.js} +2 -2
- package/dist/{IT-CjMPVtH8.js → IT-CBt6Os6J.js} +4 -7
- package/dist/{Introduction-Dhm3WEef.js → Introduction-C8dJNT23.js} +5 -3
- package/dist/{LT-CUUN_JaO.js → LT-Dkevn83h.js} +2 -4
- package/dist/{NL-C3ArXgfX.js → NL-zm__7LWV.js} +3 -3
- package/dist/{NO-yBcMewGZ.js → NO-BAcMdKUJ.js} +5 -4
- package/dist/NZ-DDRknBQk.js +20 -0
- package/dist/{PL-DGMOmdSy.js → PL-D6_6gquq.js} +6 -5
- package/dist/{PT-D3NkDIsX.js → PT-C2dln191.js} +3 -3
- package/dist/{RO-Bo0cNUJf.js → RO-C_utD--1.js} +2 -4
- package/dist/{Review-B5Drv-UX.js → Review-DbvMjmRe.js} +3 -3
- package/dist/{SE-W4QBeQtP.js → SE-BqGOP1F1.js} +2 -4
- package/dist/{SI-DoClLcmM.js → SI-DBADzvYO.js} +3 -6
- package/dist/{SK-DmiByqvu.js → SK-DamCBYsZ.js} +2 -4
- package/dist/{SingpassSelection-Djfz5Puu.js → SingpassSelection-CJRAISeY.js} +2 -2
- package/dist/SourceOfFunds.module-BhujhW0d.js +132 -0
- package/dist/SourceOfFundsDropin-NxYXl3NE.js +3041 -0
- package/dist/{listToRecord-BwWy8lby.js → TaskItemStatus-ChW10MdE.js} +3 -11
- package/dist/{TaxReportingDropin-CpStwino.js → TaxReportingDropin-_MxQClQd.js} +27 -45
- package/dist/TrustDropin-BcxdDqKa.js +706 -0
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +3 -3
- package/dist/core-BwyfkHN1.js +8426 -0
- package/dist/{css-CWOdPM3V.js → css-CcrdHRiR.js} +2 -2
- package/dist/en-US-QbdqemZi.js +202 -0
- package/dist/formatCurrency-CMOSdJMB.js +29 -0
- package/dist/individual.js +8 -6
- package/dist/ja-JP-DU7yCJYq.js +202 -0
- package/dist/{json-B7P51psT.js → json-jBhgszKy.js} +2 -2
- package/dist/listToRecord-CO3M1Q74.js +19 -0
- package/dist/{plaintext-C3KsPoAZ.js → plaintext-RpKLxlRt.js} +2 -2
- package/dist/style.css +1019 -945
- package/dist/styles-CLV89_hH.js +1014 -940
- package/dist/terms-of-service.js +8 -6
- package/dist/toCapitalized-Bq7laD0b.js +13 -0
- package/dist/types/api/configurations/useVersionConfiguration.d.ts +0 -5
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +9 -3
- package/dist/types/api/queryKeys.d.ts +3 -1
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +5 -4
- package/dist/types/components/BankAccount/forms/PayoutAccount/payoutAccountFormat.d.ts +2 -0
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +2 -0
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +2 -0
- package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +1 -0
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/IdVerification/idVerificationProviderId.d.ts +1 -0
- package/dist/types/components/Individual/forms/Individual/IndividualOuter.d.ts +26 -0
- package/dist/types/components/Individual/forms/Individual/types.d.ts +3 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +3 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +4 -2
- package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +4 -0
- package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +2 -3
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +1 -1
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoDropin.d.ts +1 -1
- package/dist/types/components/Shared/AllowedCountryGate/AllowedCountryGate.d.ts +7 -0
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +3 -0
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +23 -0
- package/dist/types/components/Shared/FormNavigation/FormNavigation.d.ts +1 -0
- package/dist/types/components/Shared/FormNavigation/FormNavigationItem.d.ts +1 -0
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +1 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/types.d.ts +1 -0
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +4 -9
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
- package/dist/types/components/Trust/utils/trustUtil.d.ts +2 -2
- package/dist/types/components/index.d.ts +1 -2
- package/dist/types/components/ui/atoms/ProgressBar/ProgressBar.d.ts +3 -0
- package/dist/types/components/ui/atoms/ProgressBar/ProgressBar.types.d.ts +5 -0
- package/dist/types/components/ui/atoms/StepProgressIndicator/StepProgressIndicator.d.ts +1 -0
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +2 -3
- package/dist/types/core/UIElement/UIElement.d.ts +1 -2
- package/dist/types/core/analytics.d.ts +1 -1
- package/dist/types/core/models/api/instant-id-verification.d.ts +1 -1
- package/dist/types/core/models/api/trust.d.ts +2 -2
- package/dist/types/core/models/errors/entity-problems.d.ts +5 -3
- package/dist/types/embeds/utils.d.ts +2 -2
- package/dist/types/hooks/useAccountHolder.d.ts +1 -1
- package/dist/types/hooks/useForm/types.d.ts +0 -1
- package/dist/types/hooks/useTrustMembers.d.ts +2 -0
- package/dist/types/hooks/useUnincorporatedPartnershipMembers.d.ts +2 -0
- package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +1 -1
- package/dist/types/stores/globalStore/globalStore.d.ts +18 -40
- package/dist/types/utils/api/getProblemsForEntity.d.ts +5 -0
- package/dist/types/utils/api/processValidationErrors.d.ts +2 -5
- package/dist/types/utils/api/useCapabilities.d.ts +2 -0
- package/dist/types/utils/entityAssociationUtil.d.ts +2 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getLegalEntityCountry.d.ts +2 -2
- package/dist/types/utils/signals/useSignalValue.d.ts +40 -0
- package/dist/utils-BI1ZfPqr.js +228 -0
- package/dist/{utils-Do7EwrWz.js → utils-C6fwKsVX.js} +7 -4
- package/dist/{yaml-Cv3Lis4l.js → yaml-BtUk5udq.js} +2 -2
- package/package.json +2 -4
- package/dist/CreateIndividualComponent-DArsdfFf.js +0 -3697
- package/dist/core-BY7J00UO.js +0 -18119
- package/dist/types/components/Individual/forms/Individual/IndividualExperimentWrapper.d.ts +0 -3
- package/dist/types/components/Individual/tasks/IndividualDropin/mandatoryFields.d.ts +0 -5
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/mandatoryFields.d.ts +0 -5
- package/dist/types/context/CoreContext/CoreContext.d.ts +0 -17
- package/dist/types/context/CoreContext/CoreProvider.d.ts +0 -7
- package/dist/types/context/CoreContext/useCoreContext.d.ts +0 -2
- package/dist/types/core/models/api/trust-types-value.d.ts +0 -21
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
;
|
|
2
|
+
{
|
|
3
|
+
try {
|
|
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] = "673a7c0a-3c8e-46d3-9b83-9461dd8cd7e5", e._sentryDebugIdIdentifier = "sentry-dbid-673a7c0a-3c8e-46d3-9b83-9461dd8cd7e5");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
+
import cx from "classnames";
|
|
12
|
+
import { e as useI18nContext, R as TaskStatus } from "./EventEmitter-Cfyz1mmg.js";
|
|
13
|
+
const inTaskStatus = "adyen-kyc-in-task-status";
|
|
14
|
+
const inTaskStatusIndicator = "adyen-kyc-in-task-status-indicator";
|
|
15
|
+
const inTaskStatusIndicatorSuccess = "adyen-kyc-in-task-status-indicator-success";
|
|
16
|
+
const inTaskStatusIndicatorError = "adyen-kyc-in-task-status-indicator-error";
|
|
17
|
+
const inTaskStatusIndicatorWarning = "adyen-kyc-in-task-status-indicator-warning";
|
|
18
|
+
const inTaskStatusLabel = "adyen-kyc-in-task-status-label";
|
|
19
|
+
const styles$1 = {
|
|
20
|
+
inTaskStatus,
|
|
21
|
+
inTaskStatusIndicator,
|
|
22
|
+
inTaskStatusIndicatorSuccess,
|
|
23
|
+
inTaskStatusIndicatorError,
|
|
24
|
+
inTaskStatusIndicatorWarning,
|
|
25
|
+
inTaskStatusLabel
|
|
26
|
+
};
|
|
27
|
+
const getIndicatorLabelAndClassnames = ({
|
|
28
|
+
taskStatus
|
|
29
|
+
}) => {
|
|
30
|
+
if (taskStatus === TaskStatus.FINISHED) {
|
|
31
|
+
return {
|
|
32
|
+
indicatorLabel: "taskComplete",
|
|
33
|
+
indicatorClassname: styles$1.inTaskStatusIndicatorSuccess
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
if (taskStatus === TaskStatus.PROCESSING) {
|
|
37
|
+
return {
|
|
38
|
+
indicatorLabel: "taskInProgress",
|
|
39
|
+
indicatorClassname: styles$1.inTaskStatusIndicatorWarning
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
if (taskStatus === TaskStatus.ERROR) {
|
|
43
|
+
return {
|
|
44
|
+
indicatorLabel: "taskHasErrors",
|
|
45
|
+
indicatorClassname: styles$1.inTaskStatusIndicatorError
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const TaskStatusIndicator = ({ taskStatus }) => {
|
|
50
|
+
const { i18n } = useI18nContext();
|
|
51
|
+
const indicator = getIndicatorLabelAndClassnames({ taskStatus });
|
|
52
|
+
if (!indicator) {
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
const { indicatorLabel, indicatorClassname } = indicator;
|
|
56
|
+
return /* @__PURE__ */ jsxs("div", { className: styles$1.inTaskStatus, children: [
|
|
57
|
+
/* @__PURE__ */ jsx(
|
|
58
|
+
"div",
|
|
59
|
+
{
|
|
60
|
+
"data-testid": "task-status-indicator",
|
|
61
|
+
className: cx(styles$1.inTaskStatusIndicator, indicatorClassname)
|
|
62
|
+
}
|
|
63
|
+
),
|
|
64
|
+
/* @__PURE__ */ jsx("div", { className: styles$1.inTaskStatusLabel, children: i18n.get(indicatorLabel) })
|
|
65
|
+
] });
|
|
66
|
+
};
|
|
67
|
+
const sourceOfFunds = "adyen-kyc-source-of-funds";
|
|
68
|
+
const sourceOfFundsWrapperLoading = "adyen-kyc-source-of-funds-wrapper-loading";
|
|
69
|
+
const sourceOfFundsWrapperHeading = "adyen-kyc-source-of-funds-wrapper-heading";
|
|
70
|
+
const sourceOfFundsWrapperDescription = "adyen-kyc-source-of-funds-wrapper-description";
|
|
71
|
+
const sourceOfFundsGettingStarted = "adyen-kyc-source-of-funds-getting-started";
|
|
72
|
+
const sourceOfFundsGettingStartedIcon = "adyen-kyc-source-of-funds-getting-started-icon";
|
|
73
|
+
const sourceOfFundsGettingStartedHeading = "adyen-kyc-source-of-funds-getting-started-heading";
|
|
74
|
+
const sourceOfFundsGettingStartedBody = "adyen-kyc-source-of-funds-getting-started-body";
|
|
75
|
+
const sourceOfFundsGettingStartedError = "adyen-kyc-source-of-funds-getting-started-error";
|
|
76
|
+
const sourceOfFundsGettingStartedErrorActions = "adyen-kyc-source-of-funds-getting-started-error-actions";
|
|
77
|
+
const sourceOfFundsGettingStartedCards = "adyen-kyc-source-of-funds-getting-started-cards";
|
|
78
|
+
const sourceOfFundsGettingStartedCardsCard = "adyen-kyc-source-of-funds-getting-started-cards-card";
|
|
79
|
+
const sourceOfFundsGettingStartedCardsCardHeader = "adyen-kyc-source-of-funds-getting-started-cards-card-header";
|
|
80
|
+
const sourceOfFundsGettingStartedCardsCardBody = "adyen-kyc-source-of-funds-getting-started-cards-card-body";
|
|
81
|
+
const sourceOfFundsGettingStartedActions = "adyen-kyc-source-of-funds-getting-started-actions";
|
|
82
|
+
const sourceOfFundsAdditionalDataForm = "adyen-kyc-source-of-funds-additional-data-form";
|
|
83
|
+
const sourceOfFundsThirdPartyFundingFinancierGroup = "adyen-kyc-source-of-funds-third-party-funding-financier-group";
|
|
84
|
+
const sourceOfFundsThirdPartyFundingNameAvatarGroup = "adyen-kyc-source-of-funds-third-party-funding-name-avatar-group";
|
|
85
|
+
const sourceOfFundsThirdPartyFundingAvatar = "adyen-kyc-source-of-funds-third-party-funding-avatar";
|
|
86
|
+
const sourceOfFundsThirdPartyFundingAvatarAdd = "adyen-kyc-source-of-funds-third-party-funding-avatar-add";
|
|
87
|
+
const sourceOfFundsThirdPartyFundingNameAddressGroup = "adyen-kyc-source-of-funds-third-party-funding-name-address-group";
|
|
88
|
+
const sourceOfFundsSofFinancierFormError = "adyen-kyc-source-of-funds-sof-financier-form-error";
|
|
89
|
+
const sourceOfFundsSofFinancierFormNameGroup = "adyen-kyc-source-of-funds-sof-financier-form-name-group";
|
|
90
|
+
const sourceOfFundsFinancierFooter = "adyen-kyc-source-of-funds-financier-footer";
|
|
91
|
+
const sourceOfFundsGridContainer = "adyen-kyc-source-of-funds-grid-container";
|
|
92
|
+
const sourceOfFundsUploadModalContentField = "adyen-kyc-source-of-funds-upload-modal-content-field";
|
|
93
|
+
const sourceOfFundsUploadModalContentFieldRadioGroup = "adyen-kyc-source-of-funds-upload-modal-content-field-radio-group";
|
|
94
|
+
const sourceOfFundsUploadModalContentRequirementsContainer = "adyen-kyc-source-of-funds-upload-modal-content-requirements-container";
|
|
95
|
+
const sourceOfFundsUploadListHeading = "adyen-kyc-source-of-funds-upload-list-heading";
|
|
96
|
+
const sourceOfFundsModal = "adyen-kyc-source-of-funds-modal";
|
|
97
|
+
const styles = {
|
|
98
|
+
sourceOfFunds,
|
|
99
|
+
sourceOfFundsWrapperLoading,
|
|
100
|
+
sourceOfFundsWrapperHeading,
|
|
101
|
+
sourceOfFundsWrapperDescription,
|
|
102
|
+
sourceOfFundsGettingStarted,
|
|
103
|
+
sourceOfFundsGettingStartedIcon,
|
|
104
|
+
sourceOfFundsGettingStartedHeading,
|
|
105
|
+
sourceOfFundsGettingStartedBody,
|
|
106
|
+
sourceOfFundsGettingStartedError,
|
|
107
|
+
sourceOfFundsGettingStartedErrorActions,
|
|
108
|
+
sourceOfFundsGettingStartedCards,
|
|
109
|
+
sourceOfFundsGettingStartedCardsCard,
|
|
110
|
+
sourceOfFundsGettingStartedCardsCardHeader,
|
|
111
|
+
sourceOfFundsGettingStartedCardsCardBody,
|
|
112
|
+
sourceOfFundsGettingStartedActions,
|
|
113
|
+
sourceOfFundsAdditionalDataForm,
|
|
114
|
+
sourceOfFundsThirdPartyFundingFinancierGroup,
|
|
115
|
+
sourceOfFundsThirdPartyFundingNameAvatarGroup,
|
|
116
|
+
sourceOfFundsThirdPartyFundingAvatar,
|
|
117
|
+
sourceOfFundsThirdPartyFundingAvatarAdd,
|
|
118
|
+
sourceOfFundsThirdPartyFundingNameAddressGroup,
|
|
119
|
+
sourceOfFundsSofFinancierFormError,
|
|
120
|
+
sourceOfFundsSofFinancierFormNameGroup,
|
|
121
|
+
sourceOfFundsFinancierFooter,
|
|
122
|
+
sourceOfFundsGridContainer,
|
|
123
|
+
sourceOfFundsUploadModalContentField,
|
|
124
|
+
sourceOfFundsUploadModalContentFieldRadioGroup,
|
|
125
|
+
sourceOfFundsUploadModalContentRequirementsContainer,
|
|
126
|
+
sourceOfFundsUploadListHeading,
|
|
127
|
+
sourceOfFundsModal
|
|
128
|
+
};
|
|
129
|
+
export {
|
|
130
|
+
TaskStatusIndicator as T,
|
|
131
|
+
styles as s
|
|
132
|
+
};
|