@adyen/kyc-components 4.6.0 → 4.6.2

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 (141) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-D61bfNW0.js → AcceptTermsOfServiceComponent-C2WkLHFZ.js} +17 -15
  2. package/dist/{AccountSetupRejected-zD_ccBqS.js → AccountSetupRejected-C16roimu.js} +1 -1
  3. package/dist/{ActionBar-DkXjAAQ1.js → ActionBar--82M98S-.js} +1 -1
  4. package/dist/{Address-Csavi1J2.js → Address-DWIT_6YL.js} +10 -10
  5. package/dist/{Avatar-D-VHGhFL.js → Avatar-BoLDZMzm.js} +1 -1
  6. package/dist/{BusinessFinancingComponent-DG0EWNk6.js → BusinessFinancingComponent-VTHLWJIr.js} +4 -4
  7. package/dist/{BusinessFinancingDropin-5UqhwnOX.js → BusinessFinancingDropin-BUl2B6f8.js} +30 -28
  8. package/dist/{BusinessFinancingPage-CMoJlPym.js → BusinessFinancingPage-D26VTiKP.js} +3 -3
  9. package/dist/{BusinessTypeSelectionPage-D4SBQDqJ.js → BusinessTypeSelectionPage-CpTgzgPl.js} +11 -9
  10. package/dist/{Checkbox-BKM1WPHa.js → Checkbox-jYXrAul6.js} +1 -1
  11. package/dist/{Confirm-gEhhWD8f.js → Confirm-BaZlxCCm.js} +2 -2
  12. package/dist/{ConstitutionalDocument-CCw9a-FU.js → ConstitutionalDocument-CZ_TklBF.js} +18 -18
  13. package/dist/{ContactDetails-CGBkZMAt.js → ContactDetails-ClGSH5yT.js} +6 -6
  14. package/dist/{ContextGuidance-B4qWRid4.js → ContextGuidance-0uhYPQ1I.js} +1 -1
  15. package/dist/{CountryField-pznzB7Uq.js → CountryField-CbqrNpDo.js} +3 -3
  16. package/dist/{CreateIndividualComponent-yT3Rqlai.js → CreateIndividualComponent-BA56j0QH.js} +4 -4
  17. package/dist/{CreateTransferInstrumentComponent-BbWiq2fM.js → CreateTransferInstrumentComponent-DDrV-5P7.js} +3 -3
  18. package/dist/{Currency-DJCryqqJ.js → Currency-N_ZeTxCp.js} +7 -7
  19. package/dist/{CustomerSupport-CJy8LS0W.js → CustomerSupport-XgJm-2H-.js} +12 -10
  20. package/dist/{DebugModal-BMXSCZDm.js → DebugModal-B8mpuazE.js} +6 -6
  21. package/dist/{DecisionMakerDetails-BAniwLCh.js → DecisionMakerDetails-BCNBF-7s.js} +9 -9
  22. package/dist/{DecisionMakerDetailsPage-CloS-QIg.js → DecisionMakerDetailsPage-Dz0_2LNG.js} +7 -7
  23. package/dist/{DecisionMakers-DrnBmtOE.js → DecisionMakers-aaXzrhfz.js} +20 -18
  24. package/dist/{Dropzone-DCTHmJn2.js → Dropzone-DXer0HMz.js} +4 -4
  25. package/dist/{EmbeddedStatus-sF6FG18F.js → EmbeddedStatus-6dwUT0qj.js} +2 -2
  26. package/dist/{EndStateLayout-D23FWrbD.js → EndStateLayout-B7Bk6joO.js} +1 -1
  27. package/dist/{EntityAssociation-eiVdh677.js → EntityAssociation-BHlBpUJo.js} +5 -5
  28. package/dist/{EntityGuidanceStatus-Chbgo62U.js → EntityGuidanceStatus-DAQi1OXH.js} +4 -4
  29. package/dist/{ErrorPanel-B8fHWJ7W.js → ErrorPanel-DV0UxjXE.js} +1 -1
  30. package/dist/{Field-BguffV12.js → Field-CnMk9CSG.js} +1 -1
  31. package/dist/{FormNavigation-D5KYMYO0.js → FormNavigation-Bd2ZkyC5.js} +3 -3
  32. package/dist/{Individual.rules-2HzSnI41.js → Individual.rules-CijYAoh1.js} +6 -6
  33. package/dist/{IndividualDropin-CybsCeUw.js → IndividualDropin-DkEAiK94.js} +52 -50
  34. package/dist/{InputDate-BjWLJfR1.js → InputDate-xFgiqFL2.js} +2 -2
  35. package/dist/{InputText-C6-NIYzH.js → InputText-Dl-dY3j-.js} +2 -2
  36. package/dist/{Introduction-UMqxmd6N.js → Introduction-DYLGoJO2.js} +6 -4
  37. package/dist/{InvitedDecisionMakerComponent-XyPQK6mU.js → InvitedDecisionMakerComponent-D6jCPSfb.js} +10 -10
  38. package/dist/{JpAddress-C8wbZfE0.js → JpAddress-Dytm-CRM.js} +9 -9
  39. package/dist/{LandingLayout-Dr28QxoC.js → LandingLayout-Df75OuDC.js} +1 -1
  40. package/dist/{LegalCompanyNameField-DHyMLbZc.js → LegalCompanyNameField-CCZiP7cW.js} +6 -6
  41. package/dist/{LegalRepresentativeDetailsPage-CusLAG25.js → LegalRepresentativeDetailsPage-D357sOuF.js} +3 -3
  42. package/dist/{Link-C1szPOri.js → Link-CnjMNEkc.js} +1 -1
  43. package/dist/{ListItem-nK0xrija.js → ListItem-D89Fc8ka.js} +2 -2
  44. package/dist/{LoaderWrapper-BEzoHtmn.js → LoaderWrapper-R6_MCKIE.js} +1 -1
  45. package/dist/{ManageIndividualComponent-DJE85k3F.js → ManageIndividualComponent-CGGLhS2M.js} +4 -4
  46. package/dist/{ManageTermsOfServiceComponent-HijCyHGy.js → ManageTermsOfServiceComponent-CJxu6GIR.js} +3 -3
  47. package/dist/{ManageTransferInstrumentComponent-C1f0GAQr.js → ManageTransferInstrumentComponent-ByOnGvTd.js} +9 -9
  48. package/dist/{MaskedInput-Ckb7nz68.js → MaskedInput-DRBOJEf6.js} +5 -5
  49. package/dist/{MaybeModal-DolShkyo.js → MaybeModal-Df1FFAGA.js} +2 -2
  50. package/dist/{Modal-EL9MXgbw.js → Modal-DOF5IfVB.js} +1 -1
  51. package/dist/{Name-BSak9KXo.js → Name-C-7hpLoa.js} +5 -5
  52. package/dist/{NewSummary-Buy5WzoM.js → NewSummary-EcwZRRy4.js} +2 -2
  53. package/dist/{OnboardingDropinComponent-BRlY6KUs.js → OnboardingDropinComponent-Dc-g6FKE.js} +74 -87
  54. package/dist/{PayoutDetailsDropin-nXxBue_s.js → PayoutDetailsDropin-D9-5E_Zt.js} +35 -33
  55. package/dist/{PayoutDetailsPage-DHEVWO5C.js → PayoutDetailsPage-kHdCfo5f.js} +4 -4
  56. package/dist/{RadioGroup-BTCmUbA0.js → RadioGroup-BRMU-RTM.js} +2 -2
  57. package/dist/{Review-CYOIXbFm.js → Review-DhZBBQAX.js} +6 -6
  58. package/dist/{RootBusinessDetailsPage-BZ1QnczY.js → RootBusinessDetailsPage-BVn1n1lr.js} +5 -5
  59. package/dist/{RootBusinessLinesPage-CcUJQEkg.js → RootBusinessLinesPage-Z5b-PsIO.js} +27 -25
  60. package/dist/{RootIndividualDetailsPage-C2GvNs12.js → RootIndividualDetailsPage-JyqRhwMu.js} +5 -5
  61. package/dist/{Select-BgkHFapB.js → Select-C7fRhcIh.js} +4 -4
  62. package/dist/{SignPCIComponent-CpAtbAKc.js → SignPCIComponent-B-h-k9vT.js} +13 -11
  63. package/dist/{SingpassSelection-DxXIwmVH.js → SingpassSelection-BbB-JbTj.js} +5 -5
  64. package/dist/{SoleProprietorshipPage-C8ENenc3.js → SoleProprietorshipPage-PSGbg4ly.js} +4 -4
  65. package/dist/{SourceOfFundsPage-D3dzjyGw.js → SourceOfFundsPage-Bf0U21Nr.js} +34 -32
  66. package/dist/{StepProgressIndicator-ZWEENbMM.js → StepProgressIndicator-CAGdT_m0.js} +1 -1
  67. package/dist/{StoreProvider-DKCxUPee.js → StoreProvider-BWAzl-p7.js} +4 -4
  68. package/dist/{Summary-BMM1xjqy.js → Summary-DfeXmN3-.js} +6 -6
  69. package/dist/{TaxInformationField-DkZhHedg.js → TaxInformationField-DxI2um5W.js} +20 -20
  70. package/dist/{TaxReportingDropin-gAAULI4S.js → TaxReportingDropin-CO4edpR7.js} +16 -14
  71. package/dist/{TextArea-u_xiMf1c.js → TextArea-DL3n0rXa.js} +2 -2
  72. package/dist/{TileGroup-r_3ClexW.js → TileGroup-CUTQ8er_.js} +2 -2
  73. package/dist/{TrustDetailsPage-B-5f_JZn.js → TrustDetailsPage-Cb-0BT8b.js} +34 -31
  74. package/dist/{TrustMemberCompanyPage-CyjbjBSw.js → TrustMemberCompanyPage-CTJAWg0S.js} +5 -5
  75. package/dist/{TrustMemberIndividualPage-Cfrri13a.js → TrustMemberIndividualPage-DBNfb0S1.js} +4 -4
  76. package/dist/{TrustMemberRoleAndTypePage-D4DQm-6B.js → TrustMemberRoleAndTypePage-CsYvBEGT.js} +21 -21
  77. package/dist/{TrustMembersOverview-DdCvtsr1.js → TrustMembersOverview-CALmu7o3.js} +10 -10
  78. package/dist/{UnincorporatedPartnershipIndividualPage-BF6xWHcg.js → UnincorporatedPartnershipIndividualPage-CE_OeqG0.js} +3 -3
  79. package/dist/{UnincorporatedPartnershipMemberCompanyPage-DX_M1Ynr.js → UnincorporatedPartnershipMemberCompanyPage-CjDmlPW9.js} +5 -5
  80. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-7gGtWzqV.js → UnincorporatedPartnershipMemberRoleAndTypePage-Dvm1OGpZ.js} +11 -11
  81. package/dist/{UnincorporatedPartnershipMembersOverview-qYm3eukg.js → UnincorporatedPartnershipMembersOverview-BTiVJZbT.js} +7 -7
  82. package/dist/{VerificationErrorAlert-CwjcCtq7.js → VerificationErrorAlert-DAkp1o0d.js} +2 -2
  83. package/dist/{ViewVerificationStatusComponent-Z8OcoBMo.js → ViewVerificationStatusComponent-BbwWdSvT.js} +2 -2
  84. package/dist/adyen-business-financing.js +2 -2
  85. package/dist/adyen-individual-configuration.js +2 -2
  86. package/dist/adyen-individual-status.js +2 -2
  87. package/dist/adyen-invited-decision-maker.js +2 -2
  88. package/dist/adyen-kyc-components.js +15 -15
  89. package/dist/adyen-onboarding.js +2 -2
  90. package/dist/adyen-terms-of-service-management.js +2 -2
  91. package/dist/adyen-terms-of-service-status.js +2 -2
  92. package/dist/adyen-transfer-instrument-configuration.js +2 -2
  93. package/dist/adyen-transfer-instrument-management.js +2 -2
  94. package/dist/adyen-verification-status.js +2 -2
  95. package/dist/{bafinUtils-Dsw4DufE.js → bafinUtils-DJX7-LsK.js} +1 -1
  96. package/dist/{commonValidators-dPJjXT_8.js → commonValidators-C8ETg50F.js} +1 -1
  97. package/dist/{dropinUtils-14DNwEiI.js → dropinUtils-CyBOixUs.js} +4 -4
  98. package/dist/{formUtils-DkgXgXMP.js → formUtils-BTFoT4DI.js} +3 -3
  99. package/dist/{getName-Z2gJognf.js → getName-DGmqqf0i.js} +1 -1
  100. package/dist/{getProblemsForEntity-DAFLyYyP.js → getProblemsForEntity-BSzPFj1N.js} +1 -1
  101. package/dist/{getTrustedFields-Yhy_d5h0.js → getTrustedFields-CE5acC9P.js} +1 -1
  102. package/dist/{isEmpty-boSQX897.js → isEmpty-CtjrTeQf.js} +1 -1
  103. package/dist/{japanSupportUtils-DC6ssQNc.js → japanSupportUtils-Bel_UtiI.js} +1 -1
  104. package/dist/{localizeDateString-6qoF3x9R.js → localizeDateString-D95RpcHX.js} +1 -1
  105. package/dist/{mapExistingFile-BMJL0nyv.js → mapExistingFile-DdZj3ZNR.js} +3 -3
  106. package/dist/{mapJpAddressSchemaToAddressLocalizations-B-YIRvOK.js → mapJpAddressSchemaToAddressLocalizations-B8No6DR_.js} +2 -2
  107. package/dist/{mapLegalEntityToIndividualSchema-CS9_Bo3k.js → mapLegalEntityToIndividualSchema-_snV8Ls9.js} +4 -4
  108. package/dist/{mapTransferInstrumentToPayoutAccount-DnaL9hYo.js → mapTransferInstrumentToPayoutAccount-BuYUtobH.js} +2 -2
  109. package/dist/{omitObscuredFieldsIfUnchanged-Bbes2BVX.js → omitObscuredFieldsIfUnchanged-Chwj7J0N.js} +3 -3
  110. package/dist/{patternValidators-B7j6YIOy.js → patternValidators-QFgZQvEQ.js} +1 -1
  111. package/dist/{process-field-configurations-BxJae0v4.js → process-field-configurations-Bv0FBNR2.js} +2 -2
  112. package/dist/{resolveEnvironment-_hyPvH0e.js → resolveEnvironment-QvJd3cKP.js} +3 -3
  113. package/dist/{roleMetadata-C9fdKfQp.js → roleMetadata-CMvyXmym.js} +2 -2
  114. package/dist/{types-BxcVVfxO.js → types-B7LP42Vj.js} +1 -1
  115. package/dist/{types-DO_d6cVD.js → types-DLLCdCdm.js} +2 -2
  116. package/dist/{types-DR1UyHuL.js → types-DV8mhU_5.js} +1 -1
  117. package/dist/{unincorporated-partnership-DYTYq9It.js → unincorporated-partnership-KIun-oCI.js} +1 -1
  118. package/dist/{useAssociatedLegalEntity-CuVMzeS0.js → useAssociatedLegalEntity-DGdBqIWJ.js} +1 -1
  119. package/dist/{useBusinessDetailsData-BDvJiv0U.js → useBusinessDetailsData-BrOwsA1X.js} +50 -48
  120. package/dist/{useCreateLegalEntity-BqiM6Z4D.js → useCreateLegalEntity-CBaUr82n.js} +1 -1
  121. package/dist/{useForm-C1botkQ9.js → useForm-BX1GY-0M.js} +3 -3
  122. package/dist/{useFormContext-DLkJgmS9.js → useFormContext-DVe1IcJN.js} +7 -7
  123. package/dist/{useGlobalData-BydN0B8P.js → useGlobalData-pbmqOcoq.js} +9 -9
  124. package/dist/{useMultiForm-ZSjb-MNl.js → useMultiForm-l0uNN24o.js} +4 -4
  125. package/dist/{useOnboardingStatus-CpkyRoX9.js → useOnboardingStatus-BktXInqR.js} +1 -1
  126. package/dist/{useScenarios-DNnpIr7b.js → useScenarios-Bsy4oXxN.js} +1 -1
  127. package/dist/useTaskLandedEvent-CuY6hD_P.js +25 -0
  128. package/dist/{useTermsOfServiceStatus-BH74ie3Z.js → useTermsOfServiceStatus-B7VhvyvR.js} +1 -1
  129. package/dist/{useToastContext-CN6SzXSt.js → useToastContext-CZLQ-qIG.js} +1 -1
  130. package/dist/{useUnincorporatedPartnershipMembers-z5aGwc0I.js → useUnincorporatedPartnershipMembers-B231FgH7.js} +4 -4
  131. package/dist/{useUpdateBusinessLines-D5WMs9_g.js → useUpdateBusinessLines-BypTKSVD.js} +4 -4
  132. package/dist/{useUpdateLegalEntity-8Sn5DTcn.js → useUpdateLegalEntity-Cx6hTFYF.js} +2 -2
  133. package/dist/{utils-Cbs8k6wy.js → utils-Bc65-dOS.js} +1 -1
  134. package/dist/{utils-CKmUVF30.js → utils-Bptup5am.js} +2 -2
  135. package/dist/{utils-TMcBiPzX.js → utils-CXs4Ciim.js} +1 -1
  136. package/dist/{utils-CL8Y2cxl.js → utils-DWNmwPub.js} +6 -6
  137. package/dist/{utils-Bx0ZXntJ.js → utils-TwGfjh3m.js} +3 -3
  138. package/dist/{validate-Bz4kAnZq.js → validate-3UOCFAVr.js} +1 -1
  139. package/dist/{validate-Dy8GuvEF.js → validate-CdzJprLf.js} +3 -3
  140. package/dist/{validationError-Cl6ZvFO8.js → validationError-uDS5kbR5.js} +2 -2
  141. package/package.json +1 -1
@@ -2,22 +2,22 @@
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] = "b66bbc08-7797-4820-90ff-8e4c8220928c", e._sentryDebugIdIdentifier = "sentry-dbid-b66bbc08-7797-4820-90ff-8e4c8220928c");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "11148041-6cba-4b43-bb0e-b6cb45817134", e._sentryDebugIdIdentifier = "sentry-dbid-11148041-6cba-4b43-bb0e-b6cb45817134");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
11
  import { useContext, useState, useCallback, useMemo } from "preact/hooks";
12
- import { bo as StateContext, u as useTranslation, x as useAnalyticsContext, H as useToggleContext, V as Button } from "./StoreProvider-DKCxUPee.js";
13
- import { L as LoaderWrapper } from "./LoaderWrapper-BEzoHtmn.js";
14
- import { M as MaybeModal } from "./MaybeModal-DolShkyo.js";
15
- import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-EL9MXgbw.js";
12
+ import { bo as StateContext, u as useTranslation, x as useAnalyticsContext, H as useToggleContext, V as Button } from "./StoreProvider-BWAzl-p7.js";
13
+ import { L as LoaderWrapper } from "./LoaderWrapper-R6_MCKIE.js";
14
+ import { M as MaybeModal } from "./MaybeModal-Df1FFAGA.js";
15
+ import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-DOF5IfVB.js";
16
16
  import { S as Spacer } from "./Spacer-BK3jDget.js";
17
- import { S as StepProgressIndicator } from "./StepProgressIndicator-ZWEENbMM.js";
18
- import { F as FormRouterContextProvider } from "./dropinUtils-14DNwEiI.js";
19
- import { F as FormNavigation } from "./FormNavigation-D5KYMYO0.js";
20
- import { s as summaryStep, S as Summary } from "./Summary-BMM1xjqy.js";
17
+ import { S as StepProgressIndicator } from "./StepProgressIndicator-CAGdT_m0.js";
18
+ import { F as FormRouterContextProvider } from "./dropinUtils-CyBOixUs.js";
19
+ import { F as FormNavigation } from "./FormNavigation-Bd2ZkyC5.js";
20
+ import { s as summaryStep, S as Summary } from "./Summary-DfeXmN3-.js";
21
21
  import { a as debounce } from "./debouncedInputEvent-Cv2S512Y.js";
22
22
  function useStateContext() {
23
23
  const context = useContext(StateContext);
@@ -2,15 +2,15 @@
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] = "12d5f669-e148-4126-8c8c-9edf726a6caa", e._sentryDebugIdIdentifier = "sentry-dbid-12d5f669-e148-4126-8c8c-9edf726a6caa");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0f18e277-e2a4-43eb-a38c-8617931ef95a", e._sentryDebugIdIdentifier = "sentry-dbid-0f18e277-e2a4-43eb-a38c-8617931ef95a");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
11
- import { ah as objectsDeepEqual, ae as createLogger, ax as isEmpty } from "./StoreProvider-DKCxUPee.js";
12
- import { V as ValidationResult } from "./utils-Cbs8k6wy.js";
13
- import { a as isNotEmptyValidator } from "./commonValidators-dPJjXT_8.js";
11
+ import { ah as objectsDeepEqual, ae as createLogger, ax as isEmpty } from "./StoreProvider-BWAzl-p7.js";
12
+ import { V as ValidationResult } from "./utils-Bc65-dOS.js";
13
+ import { a as isNotEmptyValidator } from "./commonValidators-C8ETg50F.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;
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ;
10
10
  import { useQuery } from "@tanstack/preact-query";
11
- import { b as useApiContext, k as httpGet } from "./StoreProvider-DKCxUPee.js";
11
+ import { b as useApiContext, k as httpGet } from "./StoreProvider-BWAzl-p7.js";
12
12
  const getOnboardingStatus = async (legalEntityId, baseUrl) => {
13
13
  return httpGet({
14
14
  baseUrl,
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ;
10
10
  import { useQuery, skipToken } from "@tanstack/preact-query";
11
- import { b as useApiContext, ao as entriesOf, at as Scenarios, k as httpGet } from "./StoreProvider-DKCxUPee.js";
11
+ import { b as useApiContext, ao as entriesOf, at as Scenarios, k as httpGet } from "./StoreProvider-BWAzl-p7.js";
12
12
  const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
13
13
  const scenarioParams = new URLSearchParams({
14
14
  countryCode,
@@ -0,0 +1,25 @@
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] = "70235d41-9ac3-4f0b-b196-6b4136f019a4", e._sentryDebugIdIdentifier = "sentry-dbid-70235d41-9ac3-4f0b-b196-6b4136f019a4");
6
+ } catch (e) {
7
+ }
8
+ }
9
+ ;
10
+ import { useRef } from "preact/hooks";
11
+ import { x as useAnalyticsContext } from "./StoreProvider-BWAzl-p7.js";
12
+ function useTaskLandedEvent(taskType) {
13
+ const userEvents = useAnalyticsContext();
14
+ const oldTaskTypeRef = useRef(void 0);
15
+ if (taskType && oldTaskTypeRef.current !== taskType) {
16
+ userEvents.updateBaseTrackingPayload({ task: taskType });
17
+ userEvents.addTaskEvent("Landed on page", {
18
+ actionType: "start"
19
+ });
20
+ oldTaskTypeRef.current = taskType;
21
+ }
22
+ }
23
+ export {
24
+ useTaskLandedEvent as u
25
+ };
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ;
10
10
  import { useQuery } from "@tanstack/preact-query";
11
- import { b as useApiContext, k as httpGet } from "./StoreProvider-DKCxUPee.js";
11
+ import { b as useApiContext, k as httpGet } from "./StoreProvider-BWAzl-p7.js";
12
12
  const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
13
13
  return httpGet({
14
14
  baseUrl,
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { useQueryClient } from "@tanstack/preact-query";
11
11
  import { useCallback, useContext } from "preact/hooks";
12
- import { ae as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-DKCxUPee.js";
12
+ import { ae as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-BWAzl-p7.js";
13
13
  const logger = createLogger();
14
14
  const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
15
15
  "businessLines",
@@ -8,10 +8,10 @@
8
8
  }
9
9
  ;
10
10
  import { useMemo } from "preact/hooks";
11
- import { L as LegalEntityTypes, ac as getOwnEntityAssociations, P as useLegalEntity, R as ROOT_LE } from "./StoreProvider-DKCxUPee.js";
12
- import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CuVMzeS0.js";
13
- import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-DYTYq9It.js";
14
- import { g as getLegalEntityNameBasedOnType } from "./getName-Z2gJognf.js";
11
+ import { L as LegalEntityTypes, ac as getOwnEntityAssociations, P as useLegalEntity, R as ROOT_LE } from "./StoreProvider-BWAzl-p7.js";
12
+ import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-DGdBqIWJ.js";
13
+ import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-KIun-oCI.js";
14
+ import { g as getLegalEntityNameBasedOnType } from "./getName-DGmqqf0i.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)
@@ -2,18 +2,18 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "489cd34c-a6f4-4ca2-aada-2e4ddb9ccef2", e._sentryDebugIdIdentifier = "sentry-dbid-489cd34c-a6f4-4ca2-aada-2e4ddb9ccef2");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "52602f44-f389-498b-bfa9-a7f9a84436e2", e._sentryDebugIdIdentifier = "sentry-dbid-52602f44-f389-498b-bfa9-a7f9a84436e2");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useQuery, useMutation } from "@tanstack/preact-query";
11
- import { b as useApiContext, k as httpGet, ax as isEmpty, u as useTranslation, H as useToggleContext, B as IconButton, j as httpPost } from "./StoreProvider-DKCxUPee.js";
11
+ import { b as useApiContext, k as httpGet, ax as isEmpty, u as useTranslation, H as useToggleContext, B as IconButton, j as httpPost } from "./StoreProvider-BWAzl-p7.js";
12
12
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
13
13
  import { useRef, useMemo, useState, useEffect } from "preact/hooks";
14
- import { F as Field } from "./Field-BguffV12.js";
14
+ import { F as Field } from "./Field-CnMk9CSG.js";
15
15
  import { L as List } from "./List-BAzyC6sw.js";
16
- import { S as Select } from "./Select-BgkHFapB.js";
16
+ import { S as Select } from "./Select-C7fRhcIh.js";
17
17
  import { signal } from "@preact/signals";
18
18
  const fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes2, locale) => {
19
19
  const results = await Promise.all(
@@ -8,8 +8,8 @@
8
8
  }
9
9
  ;
10
10
  import { useQueryClient, useMutation } from "@tanstack/preact-query";
11
- import { a as useInvalidateRootLegalEntity } from "./useToastContext-CN6SzXSt.js";
12
- import { b as useApiContext, j as httpPost } from "./StoreProvider-DKCxUPee.js";
11
+ import { a as useInvalidateRootLegalEntity } from "./useToastContext-CZLQ-qIG.js";
12
+ import { b as useApiContext, j as httpPost } from "./StoreProvider-BWAzl-p7.js";
13
13
  const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
14
14
  return httpPost(
15
15
  {
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { ao as entriesOf } from "./StoreProvider-DKCxUPee.js";
10
+ import { ao as entriesOf } from "./StoreProvider-BWAzl-p7.js";
11
11
  class ValidationResult {
12
12
  validationResults;
13
13
  constructor(results) {
@@ -2,13 +2,13 @@
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] = "d907bfed-3cb4-4276-bbf6-246c25c34473", e._sentryDebugIdIdentifier = "sentry-dbid-d907bfed-3cb4-4276-bbf6-246c25c34473");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3ee7327b-410c-4581-9e30-53d1e1dc1185", e._sentryDebugIdIdentifier = "sentry-dbid-3ee7327b-410c-4581-9e30-53d1e1dc1185");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
11
- import { a9 as CountryCodes } from "./StoreProvider-DKCxUPee.js";
11
+ import { a9 as CountryCodes } from "./StoreProvider-BWAzl-p7.js";
12
12
  const addressFields = [
13
13
  "address",
14
14
  "otherAddressInformation",
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { a9 as CountryCodes } from "./StoreProvider-DKCxUPee.js";
10
+ import { a9 as CountryCodes } from "./StoreProvider-BWAzl-p7.js";
11
11
  function getLocalizedIdDocumentTypeOptions(country) {
12
12
  switch (country) {
13
13
  case CountryCodes.Japan:
@@ -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] = "47b65a1a-a742-4e4d-8938-bb47f6622209", e._sentryDebugIdIdentifier = "sentry-dbid-47b65a1a-a742-4e4d-8938-bb47f6622209");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d2b886e9-126e-49cd-adb2-78a5158c8b5c", e._sentryDebugIdIdentifier = "sentry-dbid-d2b886e9-126e-49cd-adb2-78a5158c8b5c");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { C as CompanyTypesValues } from "./bafinUtils-Dsw4DufE.js";
11
- import { a8 as getLegalEntityCountry, bA as getCapabilities, L as LegalEntityTypes, q as hasOwnEntityAssociationOfType, a9 as CountryCodes } from "./StoreProvider-DKCxUPee.js";
12
- import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-BRlY6KUs.js";
13
- import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-2HzSnI41.js";
14
- import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-BxcVVfxO.js";
10
+ import { C as CompanyTypesValues } from "./bafinUtils-DJX7-LsK.js";
11
+ import { a8 as getLegalEntityCountry, bA as getCapabilities, L as LegalEntityTypes, q as hasOwnEntityAssociationOfType, a9 as CountryCodes } from "./StoreProvider-BWAzl-p7.js";
12
+ import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-Dc-g6FKE.js";
13
+ import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-CijYAoh1.js";
14
+ import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-B7LP42Vj.js";
15
15
  const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
16
16
  const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
17
17
  CountryCodes.UnitedStates,
@@ -2,15 +2,15 @@
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] = "e155a86d-d9cb-4533-9e05-20481f9e3910", e._sentryDebugIdIdentifier = "sentry-dbid-e155a86d-d9cb-4533-9e05-20481f9e3910");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4fded59a-b035-4420-9506-f443c5a37bc8", e._sentryDebugIdIdentifier = "sentry-dbid-4fded59a-b035-4420-9506-f443c5a37bc8");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { L as LegalEntityTypes, N as Typography } from "./StoreProvider-DKCxUPee.js";
11
+ import { L as LegalEntityTypes, N as Typography } from "./StoreProvider-BWAzl-p7.js";
12
12
  import { C as Currencies } from "./currency-CrdnaaDu.js";
13
- import { l as localizeDateString } from "./localizeDateString-6qoF3x9R.js";
13
+ import { l as localizeDateString } from "./localizeDateString-D95RpcHX.js";
14
14
  const formatCurrency = (amount, currency, locale) => {
15
15
  const { format } = new Intl.NumberFormat(
16
16
  locale,
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { aK as hasText } from "./StoreProvider-DKCxUPee.js";
10
+ import { aK as hasText } from "./StoreProvider-BWAzl-p7.js";
11
11
  const validateLegalEntityIdentifier = (legalEntityIdentifier) => {
12
12
  if (!legalEntityIdentifier) {
13
13
  return true;
@@ -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] = "13228ccb-7a69-4840-80f1-931d52200e66", e._sentryDebugIdIdentifier = "sentry-dbid-13228ccb-7a69-4840-80f1-931d52200e66");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b584a9cb-027c-4b9f-9f4a-8734b5d275fe", e._sentryDebugIdIdentifier = "sentry-dbid-b584a9cb-027c-4b9f-9f4a-8734b5d275fe");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import "@tanstack/preact-query";
11
- import { j as httpPost, ar as httpDelete, k as httpGet, ae as createLogger, bo as StateContext, u as useTranslation, x as useAnalyticsContext, z as Icon, N as Typography, U as Loader, B as IconButton } from "./StoreProvider-DKCxUPee.js";
12
- import { g as getLocalizedIdDocumentTypeOptions } from "./utils-TMcBiPzX.js";
11
+ import { j as httpPost, ar as httpDelete, k as httpGet, ae as createLogger, bo as StateContext, u as useTranslation, x as useAnalyticsContext, z as Icon, N as Typography, U as Loader, B as IconButton } from "./StoreProvider-BWAzl-p7.js";
12
+ import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CXs4Ciim.js";
13
13
  import { jsx, jsxs } from "preact/jsx-runtime";
14
14
  import cx from "classnames";
15
15
  import { useEffect } from "preact/hooks";
@@ -2,12 +2,12 @@
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] = "cf5a65b8-86f8-41e0-8c60-a11f6c2a2cd8", e._sentryDebugIdIdentifier = "sentry-dbid-cf5a65b8-86f8-41e0-8c60-a11f6c2a2cd8");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8c427213-aa7f-4fb2-8c42-3f00c5cfbaeb", e._sentryDebugIdIdentifier = "sentry-dbid-8c427213-aa7f-4fb2-8c42-3f00c5cfbaeb");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { w as TaskTypes, b9 as remediationPayoutApiKeyMapping, ba as remediationBusinessDetailsApiKeyMapping, bb as remediationIndividualApiKeyMapping } from "./StoreProvider-DKCxUPee.js";
10
+ import { w as TaskTypes, b9 as remediationPayoutApiKeyMapping, ba as remediationBusinessDetailsApiKeyMapping, bb as remediationIndividualApiKeyMapping } from "./StoreProvider-BWAzl-p7.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.6.0",
3
+ "version": "4.6.2",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",