@adyen/kyc-components 3.78.1 → 3.79.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-CALk_lYs.js → AcceptTermsOfServiceComponent-BYhhk8TQ.js} +14 -12
  2. package/dist/{AccountSetupRejected-B4it2mAn.js → AccountSetupRejected-BEOktFiG.js} +2 -2
  3. package/dist/{Avatar-DTNBQIw4.js → Avatar-Bpx1BiR6.js} +2 -2
  4. package/dist/{BusinessDetailsDropin-BbiQUpTu.js → BusinessDetailsDropin-DQ9HiW45.js} +71 -8
  5. package/dist/{BusinessFinancingComponent-CoGow_z4.js → BusinessFinancingComponent-Cvo9_fno.js} +2 -2
  6. package/dist/{BusinessFinancingDropin-BUDDEt2y.js → BusinessFinancingDropin-msfodTyQ.js} +8 -8
  7. package/dist/{BusinessFinancingPage-Dx_hYx0g.js → BusinessFinancingPage-B5Xw-yH6.js} +2 -2
  8. package/dist/{BusinessTypeSelectionPage-R-vVja1w.js → BusinessTypeSelectionPage-Bxdhq03c.js} +4 -4
  9. package/dist/{ContractViewer-BUrLFkjz.js → ContractViewer-C7uRvIMH.js} +2 -2
  10. package/dist/{CreateIndividualComponent-CheH_tkQ.js → CreateIndividualComponent-DyaVsMAQ.js} +3 -3
  11. package/dist/{CreateTransferInstrumentComponent-CzT-zIuq.js → CreateTransferInstrumentComponent-BdA8RAKi.js} +2 -2
  12. package/dist/{CustomerSupport-eBFsBh5z.js → CustomerSupport-BMuEw9QX.js} +5 -5
  13. package/dist/{DebugModal-DSJ2Bu7L.js → DebugModal-CH_a1xPp.js} +8 -8
  14. package/dist/{DecisionMakerDetailsPage-D9HX27JP.js → DecisionMakerDetailsPage-_Vcfi13i.js} +3 -3
  15. package/dist/{DecisionMakers-DtEzrxlu.js → DecisionMakers-CgeGEEUz.js} +4 -4
  16. package/dist/{EmbeddedStatus-DW2KDeVq.js → EmbeddedStatus-DdJkMzzq.js} +6 -6
  17. package/dist/{FormEndState-CFsbWpxb.js → FormEndState-B4BOXD6K.js} +2 -2
  18. package/dist/{FormFlow-DCykB5i5.js → FormFlow-DBUPE96g.js} +2 -2
  19. package/dist/{IndividualOnfidoDropin-BSlyi20E.js → IndividualOnfidoDropin-yD8J8_wV.js} +17 -23
  20. package/dist/{Introduction-BZi_bthG.js → Introduction-j3go43kb.js} +3 -3
  21. package/dist/LandingLayout-CWUiKZ_Y.js +139 -0
  22. package/dist/{LegalRepresentativeDetailsPage-BIoRbtw2.js → LegalRepresentativeDetailsPage-DnzUpBDG.js} +3 -3
  23. package/dist/{ManageIndividualComponent-DMjlsbAy.js → ManageIndividualComponent-DTeTqAUr.js} +3 -3
  24. package/dist/{ManagePCIComponent-DBZfPp3V.js → ManagePCIComponent-Cn4Vuewf.js} +3 -3
  25. package/dist/{ManageTermsOfServiceComponent-DKETCed8.js → ManageTermsOfServiceComponent-DTXnAMhG.js} +3 -3
  26. package/dist/{ManageTransferInstrumentComponent-BSmYg0hN.js → ManageTransferInstrumentComponent-CBYehx_t.js} +4 -4
  27. package/dist/{OnboardingDropinComponent-BIYee1P5.js → OnboardingDropinComponent-DWcyxz6X.js} +35 -35
  28. package/dist/{ProviderButton-68h5aop6.js → ProviderButton-ChnPixpz.js} +9 -9
  29. package/dist/{Review-B64WSoNY.js → Review-C01An3Wl.js} +3 -3
  30. package/dist/{RootBusinessDetailsPage-pLFlImAT.js → RootBusinessDetailsPage-C8ZdxDW9.js} +3 -3
  31. package/dist/{RootIndividualDetailsPage-DNB6X1fo.js → RootIndividualDetailsPage-DDIrbB7-.js} +3 -3
  32. package/dist/{SignPCIComponent-C1FVDlrB.js → SignPCIComponent-J8gdxoQ0.js} +5 -5
  33. package/dist/{SingpassSelection-CYGyZdB5.js → SingpassSelection-BHFjqKtb.js} +2 -2
  34. package/dist/{SoleProprietorshipPage-B7edHXYn.js → SoleProprietorshipPage-B3toOI2F.js} +3 -3
  35. package/dist/{SourceOfFundsPage-Bl_iGS7M.js → SourceOfFundsPage-CBxjQ8zJ.js} +117 -50
  36. package/dist/{StoreProvider-C_CN8zyd.js → StoreProvider-DJxvFnRD.js} +5723 -5579
  37. package/dist/{TaskItemStatus-BSA2z5Iz.js → TaskItemStatus-CK1qrdCf.js} +2 -2
  38. package/dist/{TaxReportingDropin-CAUNn0j2.js → TaxReportingDropin-O_fR1zLM.js} +23 -54
  39. package/dist/{TileGroup-WyUkfpOq.js → TileGroup-D-vnIebh.js} +2 -2
  40. package/dist/{TrustDetailsPage-BL01OsYz.js → TrustDetailsPage-DQltmdcB.js} +5 -5
  41. package/dist/{TrustMemberCompanyPage-DUahXkBs.js → TrustMemberCompanyPage-C9uS0UYc.js} +4 -4
  42. package/dist/{TrustMemberIndividualPage-Q_ILxUsL.js → TrustMemberIndividualPage-8rMdNNNf.js} +3 -3
  43. package/dist/{UnincorporatedPartnershipIndividualPage-ByeOd96j.js → UnincorporatedPartnershipIndividualPage-ByhDF63-.js} +3 -3
  44. package/dist/{UnincorporatedPartnershipMemberCompanyPage-DfnEI10w.js → UnincorporatedPartnershipMemberCompanyPage-BwjX8pqP.js} +3 -3
  45. package/dist/{VerificationErrorAlert-BdX_bk-t.js → VerificationErrorAlert-DFjfc2SU.js} +8 -6
  46. package/dist/{ViewVerificationStatusComponent-DxSqjkK8.js → ViewVerificationStatusComponent-Dp24LJ_o.js} +3 -3
  47. package/dist/adyen-business-financing.js +2 -2
  48. package/dist/adyen-individual.js +2 -2
  49. package/dist/adyen-kyc-components.js +22 -14
  50. package/dist/adyen-manage-individual.js +2 -2
  51. package/dist/adyen-manage-pci.js +2 -2
  52. package/dist/adyen-manage-terms-of-service.js +2 -2
  53. package/dist/adyen-manage-transfer-instruments.js +2 -2
  54. package/dist/adyen-onboarding.js +2 -2
  55. package/dist/adyen-sign-pci.js +2 -2
  56. package/dist/adyen-terms-of-service.js +2 -2
  57. package/dist/adyen-transfer-instrument.js +2 -2
  58. package/dist/adyen-verification-status.js +2 -2
  59. package/dist/bg-BG-BvSUDgGF.js +13 -0
  60. package/dist/bg-BG-HpLj_LOM.js +16 -0
  61. package/dist/cs-CZ-CQ_M3lEp.js +16 -0
  62. package/dist/cs-CZ-y4mvq4Lv.js +13 -0
  63. package/dist/{css-Shm8LIVZ.js → css-BtsHqofY.js} +2 -2
  64. package/dist/da-DK-k4JW3iVF.js +16 -0
  65. package/dist/da-DK-qgQOVjDp.js +13 -0
  66. package/dist/de-DE-C7mjtS5w.js +16 -0
  67. package/dist/de-DE-pSdsxBpQ.js +13 -0
  68. package/dist/el-GR-Bvjk5Sw8.js +13 -0
  69. package/dist/el-GR-CEQrkYHW.js +16 -0
  70. package/dist/en-US-DDagIr01.js +16 -0
  71. package/dist/es-ES-DB1c74Kv.js +16 -0
  72. package/dist/es-ES-Dy1uR2H_.js +13 -0
  73. package/dist/et-EE-d9V24rcf.js +13 -0
  74. package/dist/et-EE-xIegUSuv.js +16 -0
  75. package/dist/fi-FI-B0fnAFV2.js +13 -0
  76. package/dist/fi-FI-NCxneAqU.js +16 -0
  77. package/dist/fr-FR-BoKzVp2q.js +13 -0
  78. package/dist/fr-FR-daiUnUwo.js +16 -0
  79. package/dist/{getFieldsWithExistingData-FB3OWEkp.js → getFieldsWithExistingData-BtvDAW-l.js} +2 -2
  80. package/dist/{hasDataChanged-DPdMlQpS.js → hasDataChanged-DcG85sRa.js} +1 -1
  81. package/dist/hr-HR-BAUywqDj.js +16 -0
  82. package/dist/hr-HR-CF0AHQzi.js +13 -0
  83. package/dist/hu-HU-3GQojIHR.js +16 -0
  84. package/dist/hu-HU-CSPhOvLC.js +13 -0
  85. package/dist/it-IT-BH-eqIKH.js +13 -0
  86. package/dist/it-IT-pDWPFHEh.js +16 -0
  87. package/dist/ja-JP-B3yqM_FM.js +13 -0
  88. package/dist/ja-JP-scPXJ93L.js +16 -0
  89. package/dist/{json-BoKnQ33j.js → json-IilfysQm.js} +2 -2
  90. package/dist/{localizeDateString-Bt8M0P5i.js → localizeDateString-DXUTHzgL.js} +1 -1
  91. package/dist/lt-LT-BcGNy8Ti.js +16 -0
  92. package/dist/lt-LT-Lzl_Cbw-.js +13 -0
  93. package/dist/lv-LV-CBD07r1Y.js +16 -0
  94. package/dist/lv-LV-y00wN1pj.js +13 -0
  95. package/dist/{mapFinancialReportsToFinancialInformation-BWJUvu-v.js → mapFinancialReportsToFinancialInformation-Blm5alO_.js} +2 -2
  96. package/dist/nl-NL-BxJUDHMK.js +16 -0
  97. package/dist/nl-NL-DmnFXAQC.js +13 -0
  98. package/dist/no-NO-DbvFfP96.js +13 -0
  99. package/dist/no-NO-Drup6Jyy.js +16 -0
  100. package/dist/pl-PL--mmxopYA.js +13 -0
  101. package/dist/pl-PL-BXv8Mmzb.js +16 -0
  102. package/dist/{plaintext-D6ArdwCo.js → plaintext-Df_IEi_C.js} +2 -2
  103. package/dist/pt-PT-BVzXBFp7.js +13 -0
  104. package/dist/pt-PT-D8nU-UM2.js +16 -0
  105. package/dist/{resolveEnvironment-Bj2dnNqq.js → resolveEnvironment-DCR05dlR.js} +3 -3
  106. package/dist/ro-RO-CG33OwqS.js +16 -0
  107. package/dist/ro-RO-Cdmevo9A.js +13 -0
  108. package/dist/{rules-f7BBCo7l.js → rules-DRgmFncu.js} +2 -2
  109. package/dist/sk-SK-DV_xkO69.js +16 -0
  110. package/dist/sk-SK-nfeuTcY5.js +13 -0
  111. package/dist/sl-SI-B5yeoadY.js +16 -0
  112. package/dist/sl-SI-DUTZDqkP.js +13 -0
  113. package/dist/style.css +126 -74
  114. package/dist/styles-CLV89_hH.js +126 -74
  115. package/dist/sv-SE-BTx2XKAp.js +13 -0
  116. package/dist/sv-SE-CfxyR53r.js +16 -0
  117. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -1
  118. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +1 -1
  119. package/dist/types/components/Business/forms/rules.d.ts +1 -0
  120. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +4 -0
  121. package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +12 -0
  122. package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/types.d.ts +5 -0
  123. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  124. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +2 -3
  125. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRoleAndType.d.ts +1 -2
  126. package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +3 -3
  127. package/dist/types/components/ui/layout/LandingLayout/LandingLayout.d.ts +10 -0
  128. package/dist/types/components/ui/layout/StackLayout/StackLayout.d.ts +8 -0
  129. package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +2 -2
  130. package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +1 -2
  131. package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +2 -2
  132. package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +2 -2
  133. package/dist/types/core/models/api/legal-arrangement.d.ts +8 -0
  134. package/dist/types/core/models/api/organization.d.ts +8 -0
  135. package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +28 -0
  136. package/dist/types/language/Language.d.ts +0 -7
  137. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  138. package/dist/types/utils/masking/masks/businessRegistrationNumberMasks.d.ts +1 -0
  139. package/dist/types/utils/regex/patternValidators.d.ts +2 -0
  140. package/dist/{useMultiForm-BrNel_mc.js → useMultiForm-DNEiitFq.js} +2 -2
  141. package/dist/{useOnboardingStatus-BE1z1eUt.js → useOnboardingStatus-orr6iwF9.js} +1 -1
  142. package/dist/{useSalesChannelsSettings-nYpTkuYo.js → useSalesChannelsSettings-B8WCV-4A.js} +1 -1
  143. package/dist/{useTermsOfServiceStatus-YHUiTdhT.js → useTermsOfServiceStatus-BHg3MVR-.js} +1 -1
  144. package/dist/{useUpdateLegalEntity-Csc_isIR.js → useUpdateLegalEntity-SM0TLT5D.js} +1 -1
  145. package/dist/{utils-CdkXwLGZ.js → utils-DhHlD6W3.js} +4 -4
  146. package/dist/{validate-B6FOA4Ta.js → validate-CEDlgqDf.js} +2 -2
  147. package/dist/{yaml-BsoWkUaV.js → yaml-BSMtY3K-.js} +2 -2
  148. package/package.json +2 -2
  149. package/dist/SourceOfFunds.module-C6_DeyyN.js +0 -128
  150. package/dist/bg-BG-BJEwX54-.js +0 -13
  151. package/dist/cs-CZ-0aKeukjR.js +0 -13
  152. package/dist/da-DK-BiQSdU1f.js +0 -13
  153. package/dist/de-DE-Dx-1f5v5.js +0 -13
  154. package/dist/el-GR-DNpOiXlS.js +0 -13
  155. package/dist/es-ES-CtpW_j9H.js +0 -13
  156. package/dist/et-EE-CMNzVzun.js +0 -13
  157. package/dist/fi-FI-DVdPICca.js +0 -13
  158. package/dist/fr-FR-BwbkqjVl.js +0 -13
  159. package/dist/hr-HR-BZ_Eg80E.js +0 -13
  160. package/dist/hu-HU-CJg6YVP9.js +0 -13
  161. package/dist/it-IT-CQKKYAgU.js +0 -13
  162. package/dist/ja-JP-DVefHilf.js +0 -13
  163. package/dist/lt-LT-VPxl7F_u.js +0 -13
  164. package/dist/lv-LV-DAuc68rg.js +0 -13
  165. package/dist/nl-NL-DwjbYj_Q.js +0 -13
  166. package/dist/no-NO-CvXFRRN-.js +0 -13
  167. package/dist/pl-PL-Bdl7Nmzc.js +0 -13
  168. package/dist/pt-PT-DxxkYoPz.js +0 -13
  169. package/dist/ro-RO-hnKiFjCy.js +0 -13
  170. package/dist/sk-SK-DwwhojyK.js +0 -13
  171. package/dist/sl-SI-YYS0gksL.js +0 -13
  172. package/dist/sv-SE-Dc4DCQEl.js +0 -13
  173. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/RichText.d.ts +0 -5
  174. package/dist/types/utils/sanitizeHtml.d.ts +0 -3
@@ -2,14 +2,14 @@
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] = "1ea042ec-cb4e-4344-9f26-f8b816e7b2fd", e._sentryDebugIdIdentifier = "sentry-dbid-1ea042ec-cb4e-4344-9f26-f8b816e7b2fd");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "66e47061-b341-43ff-9b3d-d7078acecee3", e._sentryDebugIdIdentifier = "sentry-dbid-66e47061-b341-43ff-9b3d-d7078acecee3");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { a as useLegalEntity, R as ROOT_LE, ab as useCapabilityProblems, a6 as useExperimentsContext, P as useAccountHolder, L as Loader, g as getLegalEntityCountry, G as isPartOfTrustFromLegalEntity, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a4 as noop } from "./StoreProvider-C_CN8zyd.js";
12
- import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BSlyi20E.js";
11
+ import { a as useLegalEntity, R as ROOT_LE, ac as useCapabilityProblems, a7 as useExperimentsContext, P as useAccountHolder, L as Loader, g as getLegalEntityCountry, G as isPartOfTrustFromLegalEntity, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a5 as noop } from "./StoreProvider-DJxvFnRD.js";
12
+ import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-yD8J8_wV.js";
13
13
  function RootIndividualDetailsPage({
14
14
  asModal = false,
15
15
  hideSidebar = false,
@@ -2,16 +2,16 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "86882be5-4cab-4d44-99b7-99c5d11c80a9", e._sentryDebugIdIdentifier = "sentry-dbid-86882be5-4cab-4d44-99b7-99c5d11c80a9");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0761efbf-4f0c-447b-a8da-f3115e3f16d2", e._sentryDebugIdIdentifier = "sentry-dbid-0761efbf-4f0c-447b-a8da-f3115e3f16d2");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
11
- import { p as useApiContext, q as useQuery, bj as httpPost, bg as useInvalidateRootLegalEntity, bh as useMutation, ap as isEmpty, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, au as useForm, bw as getOwnDecisionMakers, y as LegalEntityType, W as TaskTypes, bu as MaybeModal, b6 as ModalContent, Z as Button, a2 as LoaderWrapper, az as Field, bs as Select, bt as Checkbox, b8 as ModalFooter, b9 as Spacer, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-C_CN8zyd.js";
12
- import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-nYpTkuYo.js";
13
- import { O as OutlinedIcon, C as ContractViewer } from "./ContractViewer-BUrLFkjz.js";
14
- import { F as FormEndState } from "./FormEndState-CFsbWpxb.js";
11
+ import { p as useApiContext, q as useQuery, bj as httpPost, bg as useInvalidateRootLegalEntity, bh as useMutation, aq as isEmpty, b as useI18nContext, a0 as useAnalyticsContext, a6 as useToastContext, av as useForm, bx as getOwnDecisionMakers, y as LegalEntityType, W as TaskTypes, bv as MaybeModal, b6 as ModalContent, _ as Button, a3 as LoaderWrapper, aA as Field, bt as Select, bu as Checkbox, b8 as ModalFooter, b9 as Spacer, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-DJxvFnRD.js";
12
+ import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-B8WCV-4A.js";
13
+ import { O as OutlinedIcon, C as ContractViewer } from "./ContractViewer-C7uRvIMH.js";
14
+ import { F as FormEndState } from "./FormEndState-B4BOXD6K.js";
15
15
  import { useState, useCallback, useEffect } from "preact/hooks";
16
16
  const getPciTemplate = async (legalEntityId, baseUrl, data) => {
17
17
  return httpPost(
@@ -2,14 +2,14 @@
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] = "6534898e-72a6-465b-9408-5a7a6bc87c99", e._sentryDebugIdIdentifier = "sentry-dbid-6534898e-72a6-465b-9408-5a7a6bc87c99");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "30ff0c48-0db9-4c90-826a-79b8aeb6b94a", e._sentryDebugIdIdentifier = "sentry-dbid-30ff0c48-0db9-4c90-826a-79b8aeb6b94a");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState } from "preact/hooks";
12
- import { b as useI18nContext, au as useForm, C as Typography, az as Field, aC as RadioGroupCard, Z as Button, bo as Svg, y as LegalEntityType } from "./StoreProvider-C_CN8zyd.js";
12
+ import { b as useI18nContext, av as useForm, C as Typography, aA as Field, aD as RadioGroupCard, _ as Button, bo as Svg, y as LegalEntityType } from "./StoreProvider-DJxvFnRD.js";
13
13
  const setupAccountMethods = ["singpass", "manual"];
14
14
  const setupAccountMethodFields = ["setupAccountMethod"];
15
15
  const getSingpassSelectionDisabled = (legalEntityType) => {
@@ -2,14 +2,14 @@
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] = "12ba4d04-2e3b-4182-a8c5-549d4748e21e", e._sentryDebugIdIdentifier = "sentry-dbid-12ba4d04-2e3b-4182-a8c5-549d4748e21e");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "326b5ecb-9ab1-476b-91f2-1a9235ba5a8e", e._sentryDebugIdIdentifier = "sentry-dbid-326b5ecb-9ab1-476b-91f2-1a9235ba5a8e");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { a as useLegalEntity, R as ROOT_LE, w as skipToken, ab as useCapabilityProblems, L as Loader, bk as getProblemsForEntity, U as EntityType, g as getLegalEntityCountry, W as TaskTypes } from "./StoreProvider-C_CN8zyd.js";
12
- import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-BbiQUpTu.js";
11
+ import { a as useLegalEntity, R as ROOT_LE, w as skipToken, ac as useCapabilityProblems, L as Loader, bk as getProblemsForEntity, U as EntityType, g as getLegalEntityCountry, W as TaskTypes } from "./StoreProvider-DJxvFnRD.js";
12
+ import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-DQ9HiW45.js";
13
13
  function SoleProprietorshipPage({
14
14
  solePropId,
15
15
  isTargetLegalEntityType = false,
@@ -2,25 +2,25 @@
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] = "24a3ef0e-357e-41bd-8d06-4b055deaff09", e._sentryDebugIdIdentifier = "sentry-dbid-24a3ef0e-357e-41bd-8d06-4b055deaff09");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3d313b2e-3e34-4615-bcf5-eaf2b78ae876", e._sentryDebugIdIdentifier = "sentry-dbid-3d313b2e-3e34-4615-bcf5-eaf2b78ae876");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { p as useApiContext, q as useQuery, r as httpGet, bg as useInvalidateRootLegalEntity, bh as useMutation, bj as httpPost, by as formatObject, y as LegalEntityType, C as Typography, ez as Currencies, b as useI18nContext, az as Field, eA as InputGroup, bs as Select, bC as InputText, bE as InputDate, aD as TextArea, aX as RadioGroup, aF as CountryField, b4 as Modal, B as Alert, Z as Button, ba as Confirm, ap as isEmpty, au as useForm, eB as useGlobalDataSlice, ax as ErrorPanel, ay as createFormUtils, L as Loader, a3 as Icon, dq as getFormProps, a0 as Card, b7 as StructuredList, _ as IconButton, dg as isEmpty$1, bo as Svg, a5 as useToastContext, X as createLogger, eC as Dropzone, cj as createDocumentRequest, bp as useQueryClient, a as useLegalEntity, R as ROOT_LE, ee as useStateContext, $ as useAnalyticsContext, eD as useLegalEntities, cw as getPropsFromConfigurations, bO as getRequiredForms, bP as addValidityToForms, bQ as useFormComposer, cn as documentApiUtils, ek as FormWrapper, ab as useCapabilityProblems, bk as getProblemsForEntity, U as EntityType, g as getLegalEntityCountry } from "./StoreProvider-C_CN8zyd.js";
11
+ import { p as useApiContext, q as useQuery, r as httpGet, bg as useInvalidateRootLegalEntity, bh as useMutation, bj as httpPost, bz as formatObject, y as LegalEntityType, C as Typography, eA as Currencies, b as useI18nContext, aA as Field, eB as InputGroup, bt as Select, bD as InputText, bF as InputDate, aE as TextArea, aX as RadioGroup, aG as CountryField, b4 as Modal, B as Alert, _ as Button, ba as Confirm, aq as isEmpty, av as useForm, eC as useGlobalDataSlice, ay as ErrorPanel, az as createFormUtils, L as Loader, a4 as Icon, dr as getFormProps, a1 as Card, b7 as StructuredList, $ as IconButton, dh as isEmpty$1, bo as Svg, a6 as useToastContext, X as createLogger, eD as Dropzone, ck as createDocumentRequest, bp as useQueryClient, a as useLegalEntity, R as ROOT_LE, ef as useStateContext, a0 as useAnalyticsContext, eE as useLegalEntities, cx as getPropsFromConfigurations, bP as getRequiredForms, bQ as addValidityToForms, bR as useFormComposer, co as documentApiUtils, el as FormWrapper, ac as useCapabilityProblems, bk as getProblemsForEntity, U as EntityType, g as getLegalEntityCountry } from "./StoreProvider-DJxvFnRD.js";
12
12
  import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
13
- import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Csc_isIR.js";
14
- import { h as hasDataChanged } from "./hasDataChanged-DPdMlQpS.js";
13
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-SM0TLT5D.js";
14
+ import { h as hasDataChanged } from "./hasDataChanged-DcG85sRa.js";
15
15
  import { signal } from "@preact/signals";
16
- import { s as styles, T as TaskStatusIndicator } from "./SourceOfFunds.module-C6_DeyyN.js";
17
16
  import { a as formatAmountWithCurrency } from "./formatCurrency-CMOSdJMB.js";
18
- import { l as localizeDateString } from "./localizeDateString-Bt8M0P5i.js";
17
+ import { l as localizeDateString } from "./localizeDateString-DXUTHzgL.js";
19
18
  import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
20
- import { A as Avatar } from "./Avatar-DTNBQIw4.js";
19
+ import { A as Avatar } from "./Avatar-Bpx1BiR6.js";
21
20
  import { v as validateDateNotInTheFuture } from "./validate-CuwYJGc9.js";
22
- import { T as TileGroup } from "./TileGroup-WyUkfpOq.js";
23
- import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-BIYee1P5.js";
21
+ import { T as TileGroup } from "./TileGroup-D-vnIebh.js";
22
+ import { L as LandingLayout, T as TaskStatusIndicator } from "./LandingLayout-CWUiKZ_Y.js";
23
+ import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-DWcyxz6X.js";
24
24
  const getBusinessLines = async (legalEntityId, baseUrl) => {
25
25
  return httpGet({
26
26
  baseUrl,
@@ -98,6 +98,62 @@ const useSourceOfFundsTypes = (options) => {
98
98
  ...options
99
99
  });
100
100
  };
101
+ const sourceOfFunds = "adyen-kyc-source-of-funds";
102
+ const sourceOfFundsWrapperLoading = "adyen-kyc-source-of-funds-wrapper-loading";
103
+ const sourceOfFundsWrapperHeading = "adyen-kyc-source-of-funds-wrapper-heading";
104
+ const sourceOfFundsWrapperDescription = "adyen-kyc-source-of-funds-wrapper-description";
105
+ const sourceOfFundsGettingStarted = "adyen-kyc-source-of-funds-getting-started";
106
+ const sourceOfFundsGettingStartedHeading = "adyen-kyc-source-of-funds-getting-started-heading";
107
+ const sourceOfFundsGettingStartedBody = "adyen-kyc-source-of-funds-getting-started-body";
108
+ const sourceOfFundsGettingStartedError = "adyen-kyc-source-of-funds-getting-started-error";
109
+ const sourceOfFundsGettingStartedErrorActions = "adyen-kyc-source-of-funds-getting-started-error-actions";
110
+ const sourceOfFundsGettingStartedCards = "adyen-kyc-source-of-funds-getting-started-cards";
111
+ const sourceOfFundsGettingStartedCardsCard = "adyen-kyc-source-of-funds-getting-started-cards-card";
112
+ const sourceOfFundsGettingStartedCardsCardHeader = "adyen-kyc-source-of-funds-getting-started-cards-card-header";
113
+ const sourceOfFundsGettingStartedCardsCardBody = "adyen-kyc-source-of-funds-getting-started-cards-card-body";
114
+ const sourceOfFundsGettingStartedActions = "adyen-kyc-source-of-funds-getting-started-actions";
115
+ const sourceOfFundsAdditionalDataForm = "adyen-kyc-source-of-funds-additional-data-form";
116
+ const sourceOfFundsThirdPartyFundingFinancierGroup = "adyen-kyc-source-of-funds-third-party-funding-financier-group";
117
+ const sourceOfFundsThirdPartyFundingNameAvatarGroup = "adyen-kyc-source-of-funds-third-party-funding-name-avatar-group";
118
+ const sourceOfFundsThirdPartyFundingNameAddressGroup = "adyen-kyc-source-of-funds-third-party-funding-name-address-group";
119
+ const sourceOfFundsSofFinancierFormError = "adyen-kyc-source-of-funds-sof-financier-form-error";
120
+ const sourceOfFundsSofFinancierFormNameGroup = "adyen-kyc-source-of-funds-sof-financier-form-name-group";
121
+ const sourceOfFundsFinancierFooter = "adyen-kyc-source-of-funds-financier-footer";
122
+ const sourceOfFundsGridContainer = "adyen-kyc-source-of-funds-grid-container";
123
+ const sourceOfFundsUploadModalContentField = "adyen-kyc-source-of-funds-upload-modal-content-field";
124
+ const sourceOfFundsUploadModalContentFieldRadioGroup = "adyen-kyc-source-of-funds-upload-modal-content-field-radio-group";
125
+ const sourceOfFundsUploadModalContentRequirementsContainer = "adyen-kyc-source-of-funds-upload-modal-content-requirements-container";
126
+ const sourceOfFundsUploadListHeading = "adyen-kyc-source-of-funds-upload-list-heading";
127
+ const sourceOfFundsModal = "adyen-kyc-source-of-funds-modal";
128
+ const styles = {
129
+ sourceOfFunds,
130
+ sourceOfFundsWrapperLoading,
131
+ sourceOfFundsWrapperHeading,
132
+ sourceOfFundsWrapperDescription,
133
+ sourceOfFundsGettingStarted,
134
+ sourceOfFundsGettingStartedHeading,
135
+ sourceOfFundsGettingStartedBody,
136
+ sourceOfFundsGettingStartedError,
137
+ sourceOfFundsGettingStartedErrorActions,
138
+ sourceOfFundsGettingStartedCards,
139
+ sourceOfFundsGettingStartedCardsCard,
140
+ sourceOfFundsGettingStartedCardsCardHeader,
141
+ sourceOfFundsGettingStartedCardsCardBody,
142
+ sourceOfFundsGettingStartedActions,
143
+ sourceOfFundsAdditionalDataForm,
144
+ sourceOfFundsThirdPartyFundingFinancierGroup,
145
+ sourceOfFundsThirdPartyFundingNameAvatarGroup,
146
+ sourceOfFundsThirdPartyFundingNameAddressGroup,
147
+ sourceOfFundsSofFinancierFormError,
148
+ sourceOfFundsSofFinancierFormNameGroup,
149
+ sourceOfFundsFinancierFooter,
150
+ sourceOfFundsGridContainer,
151
+ sourceOfFundsUploadModalContentField,
152
+ sourceOfFundsUploadModalContentFieldRadioGroup,
153
+ sourceOfFundsUploadModalContentRequirementsContainer,
154
+ sourceOfFundsUploadListHeading,
155
+ sourceOfFundsModal
156
+ };
101
157
  const additionalDataSchemaKeys = [
102
158
  "description",
103
159
  "dateOfFundsReceived",
@@ -766,15 +822,15 @@ const formatDateForInput = (isoDateString) => {
766
822
  return "";
767
823
  }
768
824
  };
769
- const getSofCardDetails = (i18n, sourceOfFunds) => {
770
- if (!sourceOfFunds) {
825
+ const getSofCardDetails = (i18n, sourceOfFunds2) => {
826
+ if (!sourceOfFunds2) {
771
827
  return "";
772
828
  }
773
- if (sourceOfFunds?.adyenProcessedFunds) {
829
+ if (sourceOfFunds2?.adyenProcessedFunds) {
774
830
  return i18n.get("sofTypeAdyenLabel");
775
831
  }
776
- if (sourceOfFunds?.type) {
777
- return i18n.get(`sofType${toCapitalized(sourceOfFunds?.type)}Label`);
832
+ if (sourceOfFunds2?.type) {
833
+ return i18n.get(`sofType${toCapitalized(sourceOfFunds2?.type)}Label`);
778
834
  }
779
835
  return "";
780
836
  };
@@ -2352,22 +2408,57 @@ const SourceOfFundsGettingStarted = ({
2352
2408
  "data-testid": "source-of-funds-getting-started",
2353
2409
  children: [
2354
2410
  !hasSourceOfFunds && /* @__PURE__ */ jsx(
2355
- Svg,
2356
- {
2357
- type: "image",
2358
- testId: "source-of-funds-getting-started-icon",
2359
- name: "source-of-funds",
2360
- className: styles.sourceOfFundsGettingStartedIcon
2361
- }
2362
- ),
2363
- hasSourceOfFunds && /* @__PURE__ */ jsx(
2364
- TaskStatusIndicator,
2411
+ LandingLayout,
2365
2412
  {
2366
- taskStatus: normalizedTaskStatusStore?.value?.SOURCE_OF_FUNDS?.status
2413
+ media: /* @__PURE__ */ jsx(
2414
+ Svg,
2415
+ {
2416
+ type: "image",
2417
+ testId: "source-of-funds-getting-started-icon",
2418
+ name: "source-of-funds"
2419
+ }
2420
+ ),
2421
+ title: i18n.get("fundingSourcesForFinancialProducts"),
2422
+ description: i18n.get("inTheNextStepWellCollectInformation"),
2423
+ actions: /* @__PURE__ */ jsxs(Fragment, { children: [
2424
+ /* @__PURE__ */ jsx(
2425
+ Button,
2426
+ {
2427
+ fullWidth: true,
2428
+ testId: "source-of-funds-getting-primary-button",
2429
+ onClick: handleGettingStartedClick,
2430
+ children: i18n.get("gettingStarted")
2431
+ }
2432
+ ),
2433
+ handleCancelClick && /* @__PURE__ */ jsx(
2434
+ Button,
2435
+ {
2436
+ variant: "tertiary",
2437
+ fullWidth: true,
2438
+ testId: "source-of-funds-getting-cancel-button",
2439
+ onClick: handleCancelClick,
2440
+ children: i18n.get("backToTaskList")
2441
+ }
2442
+ )
2443
+ ] })
2367
2444
  }
2368
2445
  ),
2369
- /* @__PURE__ */ jsx(Typography, { className: styles.sourceOfFundsGettingStartedHeading, el: "h2", variant: "title-l", children: i18n.get("fundingSourcesForFinancialProducts") }),
2370
2446
  hasSourceOfFunds && /* @__PURE__ */ jsxs(Fragment, { children: [
2447
+ /* @__PURE__ */ jsx(
2448
+ TaskStatusIndicator,
2449
+ {
2450
+ taskStatus: normalizedTaskStatusStore?.value?.SOURCE_OF_FUNDS?.status
2451
+ }
2452
+ ),
2453
+ /* @__PURE__ */ jsx(
2454
+ Typography,
2455
+ {
2456
+ className: styles.sourceOfFundsGettingStartedHeading,
2457
+ el: "h2",
2458
+ variant: "title-l",
2459
+ children: i18n.get("fundingSourcesForFinancialProducts")
2460
+ }
2461
+ ),
2371
2462
  /* @__PURE__ */ jsx(Typography, { className: styles.sourceOfFundsGettingStartedBody, children: i18n.get("addAllSourcesOfFundsBeingUsed") }),
2372
2463
  errorObjects && errorObjects.map((errorObj, index) => {
2373
2464
  const uniqueActions = getUniqueRemediationActions(errorObj);
@@ -2405,30 +2496,6 @@ const SourceOfFundsGettingStarted = ({
2405
2496
  children: i18n.get("backToTaskList")
2406
2497
  }
2407
2498
  )
2408
- ] }),
2409
- !hasSourceOfFunds && /* @__PURE__ */ jsxs(Fragment, { children: [
2410
- /* @__PURE__ */ jsx(Typography, { className: styles.sourceOfFundsGettingStartedBody, children: i18n.get("inTheNextStepWellCollectInformation") }),
2411
- /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsGettingStartedActions, children: [
2412
- /* @__PURE__ */ jsx(
2413
- Button,
2414
- {
2415
- fullWidth: true,
2416
- testId: "source-of-funds-getting-primary-button",
2417
- onClick: handleGettingStartedClick,
2418
- children: i18n.get("gettingStarted")
2419
- }
2420
- ),
2421
- handleCancelClick && /* @__PURE__ */ jsx(
2422
- Button,
2423
- {
2424
- variant: "tertiary",
2425
- fullWidth: true,
2426
- testId: "source-of-funds-getting-cancel-button",
2427
- onClick: handleCancelClick,
2428
- children: i18n.get("cancel")
2429
- }
2430
- )
2431
- ] })
2432
2499
  ] })
2433
2500
  ]
2434
2501
  }