@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.
Files changed (132) hide show
  1. package/dist/{AU-DBnla6IS.js → AU-CaovX9P8.js} +4 -5
  2. package/dist/{AcceptTermsOfServiceComponent-DGnbaEif.js → AcceptTermsOfServiceComponent-D-HcDOBq.js} +200 -13
  3. package/dist/{AccountSetupRejected-BUjkuj8y.js → AccountSetupRejected-voqgiesN.js} +3 -3
  4. package/dist/{BE-By7sRfJq.js → BE-H45zzgu4.js} +3 -2
  5. package/dist/{BR-CG-ZSQQz.js → BR-Dmkd5VjU.js} +5 -5
  6. package/dist/BusinessDetailsDropin-CnGwMWvN.js +2406 -0
  7. package/dist/{BusinessTypeSelection-DqYdtKWT.js → BusinessTypeSelection-DQr-2_Iq.js} +31 -30
  8. package/dist/{CH-DNjTl_X_.js → CH-DVyjmrDH.js} +4 -2
  9. package/dist/{CXEL7IU7-D4uuriQj.js → CXEL7IU7-Do0b5BzU.js} +3 -3
  10. package/dist/{CZ-DDucwl8A.js → CZ-1E7Zx2il.js} +3 -4
  11. package/dist/CreateIndividualComponent-BuBNDvhx.js +7204 -0
  12. package/dist/{CustomerSupport-Dt_GbO2W.js → CustomerSupport-BJrkWmYp.js} +4 -4
  13. package/dist/{DE-LKZHA8bh.js → DE-D7HKgI77.js} +6 -5
  14. package/dist/{DK-moHaAY_C.js → DK-x6M9-ek-.js} +2 -4
  15. package/dist/{DebugModal-DqSAxc2y.js → DebugModal-DdFbk-rz.js} +11 -10
  16. package/dist/{DecisionMakers-DCP-NbPE.js → DecisionMakers-DghodKJR.js} +5 -5
  17. package/dist/{ES-BOW3pjTD.js → ES-CeohntGo.js} +6 -7
  18. package/dist/{EmbedShell-D1F1J3bv.js → EmbedShell-BaZnwexg.js} +5 -6
  19. package/dist/{EventEmitter-B5nDiK-t.js → EventEmitter-Cfyz1mmg.js} +2742 -3396
  20. package/dist/{FI-gB1Mh_9c.js → FI-BOex4MFx.js} +3 -5
  21. package/dist/{FR-iSfxCiGj.js → FR-CAxkckai.js} +4 -4
  22. package/dist/{GB-UYrtNfT0.js → GB-DUnW-a4M.js} +2 -4
  23. package/dist/{HASRA6WW-yCLwR-7b.js → HASRA6WW-CLlxPThM.js} +2 -2
  24. package/dist/{HK-BsLgqwJt.js → HK-eKVHN8Vg.js} +4 -4
  25. package/dist/{HR-BOrmO4s8.js → HR-BHhcnUGU.js} +3 -3
  26. package/dist/{HU-DSPD5z5O.js → HU-hfSSMbei.js} +1 -4
  27. package/dist/{I3HPI4QX-DmhzJNXt.js → I3HPI4QX-BW3ApIxs.js} +3 -3
  28. package/dist/{IE-BNxtcUkX.js → IE-BN3Eiv5M.js} +2 -2
  29. package/dist/{IT-CjMPVtH8.js → IT-CBt6Os6J.js} +4 -7
  30. package/dist/{Introduction-Dhm3WEef.js → Introduction-C8dJNT23.js} +5 -3
  31. package/dist/{LT-CUUN_JaO.js → LT-Dkevn83h.js} +2 -4
  32. package/dist/{NL-C3ArXgfX.js → NL-zm__7LWV.js} +3 -3
  33. package/dist/{NO-yBcMewGZ.js → NO-BAcMdKUJ.js} +5 -4
  34. package/dist/NZ-DDRknBQk.js +20 -0
  35. package/dist/{PL-DGMOmdSy.js → PL-D6_6gquq.js} +6 -5
  36. package/dist/{PT-D3NkDIsX.js → PT-C2dln191.js} +3 -3
  37. package/dist/{RO-Bo0cNUJf.js → RO-C_utD--1.js} +2 -4
  38. package/dist/{Review-B5Drv-UX.js → Review-DbvMjmRe.js} +3 -3
  39. package/dist/{SE-W4QBeQtP.js → SE-BqGOP1F1.js} +2 -4
  40. package/dist/{SI-DoClLcmM.js → SI-DBADzvYO.js} +3 -6
  41. package/dist/{SK-DmiByqvu.js → SK-DamCBYsZ.js} +2 -4
  42. package/dist/{SingpassSelection-Djfz5Puu.js → SingpassSelection-CJRAISeY.js} +2 -2
  43. package/dist/SourceOfFunds.module-BhujhW0d.js +132 -0
  44. package/dist/SourceOfFundsDropin-NxYXl3NE.js +3041 -0
  45. package/dist/{listToRecord-BwWy8lby.js → TaskItemStatus-ChW10MdE.js} +3 -11
  46. package/dist/{TaxReportingDropin-CpStwino.js → TaxReportingDropin-_MxQClQd.js} +27 -45
  47. package/dist/TrustDropin-BcxdDqKa.js +706 -0
  48. package/dist/adyen-kyc-components.js +1 -1
  49. package/dist/adyenConfig.js +3 -3
  50. package/dist/core-BwyfkHN1.js +8426 -0
  51. package/dist/{css-CWOdPM3V.js → css-CcrdHRiR.js} +2 -2
  52. package/dist/en-US-QbdqemZi.js +202 -0
  53. package/dist/formatCurrency-CMOSdJMB.js +29 -0
  54. package/dist/individual.js +8 -6
  55. package/dist/ja-JP-DU7yCJYq.js +202 -0
  56. package/dist/{json-B7P51psT.js → json-jBhgszKy.js} +2 -2
  57. package/dist/listToRecord-CO3M1Q74.js +19 -0
  58. package/dist/{plaintext-C3KsPoAZ.js → plaintext-RpKLxlRt.js} +2 -2
  59. package/dist/style.css +1019 -945
  60. package/dist/styles-CLV89_hH.js +1014 -940
  61. package/dist/terms-of-service.js +8 -6
  62. package/dist/toCapitalized-Bq7laD0b.js +13 -0
  63. package/dist/types/api/configurations/useVersionConfiguration.d.ts +0 -5
  64. package/dist/types/api/legalEntity/useLegalEntity.d.ts +9 -3
  65. package/dist/types/api/queryKeys.d.ts +3 -1
  66. package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +5 -4
  67. package/dist/types/components/BankAccount/forms/PayoutAccount/payoutAccountFormat.d.ts +2 -0
  68. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1 -1
  69. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
  70. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +2 -0
  71. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +2 -0
  72. package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +1 -0
  73. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +0 -3
  74. package/dist/types/components/Individual/forms/Individual/IdVerification/idVerificationProviderId.d.ts +1 -0
  75. package/dist/types/components/Individual/forms/Individual/IndividualOuter.d.ts +26 -0
  76. package/dist/types/components/Individual/forms/Individual/types.d.ts +3 -2
  77. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.d.ts +1 -1
  78. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +3 -0
  79. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +4 -2
  80. package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +4 -0
  81. package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +2 -3
  82. package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +1 -1
  83. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoDropin.d.ts +1 -1
  84. package/dist/types/components/Shared/AllowedCountryGate/AllowedCountryGate.d.ts +7 -0
  85. package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +3 -0
  86. package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +23 -0
  87. package/dist/types/components/Shared/FormNavigation/FormNavigation.d.ts +1 -0
  88. package/dist/types/components/Shared/FormNavigation/FormNavigationItem.d.ts +1 -0
  89. package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +1 -0
  90. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +2 -2
  91. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  92. package/dist/types/components/Trust/forms/Trust/types.d.ts +1 -0
  93. package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +4 -9
  94. package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
  95. package/dist/types/components/Trust/utils/trustUtil.d.ts +2 -2
  96. package/dist/types/components/index.d.ts +1 -2
  97. package/dist/types/components/ui/atoms/ProgressBar/ProgressBar.d.ts +3 -0
  98. package/dist/types/components/ui/atoms/ProgressBar/ProgressBar.types.d.ts +5 -0
  99. package/dist/types/components/ui/atoms/StepProgressIndicator/StepProgressIndicator.d.ts +1 -0
  100. package/dist/types/core/EmbedShell/EmbedShell.d.ts +2 -3
  101. package/dist/types/core/UIElement/UIElement.d.ts +1 -2
  102. package/dist/types/core/analytics.d.ts +1 -1
  103. package/dist/types/core/models/api/instant-id-verification.d.ts +1 -1
  104. package/dist/types/core/models/api/trust.d.ts +2 -2
  105. package/dist/types/core/models/errors/entity-problems.d.ts +5 -3
  106. package/dist/types/embeds/utils.d.ts +2 -2
  107. package/dist/types/hooks/useAccountHolder.d.ts +1 -1
  108. package/dist/types/hooks/useForm/types.d.ts +0 -1
  109. package/dist/types/hooks/useTrustMembers.d.ts +2 -0
  110. package/dist/types/hooks/useUnincorporatedPartnershipMembers.d.ts +2 -0
  111. package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +1 -1
  112. package/dist/types/stores/globalStore/globalStore.d.ts +18 -40
  113. package/dist/types/utils/api/getProblemsForEntity.d.ts +5 -0
  114. package/dist/types/utils/api/processValidationErrors.d.ts +2 -5
  115. package/dist/types/utils/api/useCapabilities.d.ts +2 -0
  116. package/dist/types/utils/entityAssociationUtil.d.ts +2 -1
  117. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  118. package/dist/types/utils/getLegalEntityCountry.d.ts +2 -2
  119. package/dist/types/utils/signals/useSignalValue.d.ts +40 -0
  120. package/dist/utils-BI1ZfPqr.js +228 -0
  121. package/dist/{utils-Do7EwrWz.js → utils-C6fwKsVX.js} +7 -4
  122. package/dist/{yaml-Cv3Lis4l.js → yaml-BtUk5udq.js} +2 -2
  123. package/package.json +2 -4
  124. package/dist/CreateIndividualComponent-DArsdfFf.js +0 -3697
  125. package/dist/core-BY7J00UO.js +0 -18119
  126. package/dist/types/components/Individual/forms/Individual/IndividualExperimentWrapper.d.ts +0 -3
  127. package/dist/types/components/Individual/tasks/IndividualDropin/mandatoryFields.d.ts +0 -5
  128. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/mandatoryFields.d.ts +0 -5
  129. package/dist/types/context/CoreContext/CoreContext.d.ts +0 -17
  130. package/dist/types/context/CoreContext/CoreProvider.d.ts +0 -7
  131. package/dist/types/context/CoreContext/useCoreContext.d.ts +0 -2
  132. 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
+ };