@adyen/kyc-components 4.5.1 → 4.6.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 (268) hide show
  1. package/README.md +31 -43
  2. package/dist/{AcceptTermsOfServiceComponent-CDgZIoAy.js → AcceptTermsOfServiceComponent-Bd0fuzJX.js} +17 -20
  3. package/dist/{AccountSetupRejected-Bwu8xLmZ.js → AccountSetupRejected-t4tPei0K.js} +2 -2
  4. package/dist/{ActionBar-Cs-ZFNhk.js → ActionBar-Ruw6z6LR.js} +2 -2
  5. package/dist/{Address-Cdkbwzso.js → Address-D0JjbOT4.js} +16 -16
  6. package/dist/{Avatar-DtFyP488.js → Avatar-Dp70m25u.js} +2 -2
  7. package/dist/{BusinessFinancingComponent-DmYxCifv.js → BusinessFinancingComponent-DAj2gvCq.js} +5 -5
  8. package/dist/{BusinessFinancingDropin-DbkFhxJT.js → BusinessFinancingDropin-RImpwNje.js} +31 -34
  9. package/dist/{BusinessFinancingPage-DulUJR2t.js → BusinessFinancingPage-B3XW6vMz.js} +4 -4
  10. package/dist/{BusinessTypeSelectionPage-B-vdLokC.js → BusinessTypeSelectionPage-D_yQV_GP.js} +9 -14
  11. package/dist/{Checkbox-D3Z0AWKj.js → Checkbox-DQGjbUsQ.js} +2 -2
  12. package/dist/{Confirm-C42kXNcg.js → Confirm-roUo52pe.js} +3 -3
  13. package/dist/{ConstitutionalDocument-DzgtU8np.js → ConstitutionalDocument-BW87TDZl.js} +336 -92
  14. package/dist/{ContactDetails--t1QRowR.js → ContactDetails-CGss-4M6.js} +12 -7
  15. package/dist/{ContextGuidance-C2yYCn3r.js → ContextGuidance-8vbKs48u.js} +2 -2
  16. package/dist/{CountryField-DzcOrjgs.js → CountryField-Cxih2YUu.js} +3 -3
  17. package/dist/{CreateIndividualComponent-BGs4XVIx.js → CreateIndividualComponent-k3J84uhw.js} +6 -6
  18. package/dist/{CreateTransferInstrumentComponent-8qbVjvCk.js → CreateTransferInstrumentComponent-bam-U6uj.js} +5 -5
  19. package/dist/{Currency-D_JvTwxX.js → Currency-DhqTdIeI.js} +7 -7
  20. package/dist/{CustomerSupport-C-r0iCOW.js → CustomerSupport-CdhIJFEE.js} +11 -16
  21. package/dist/{DebugModal-UZ3iEF4d.js → DebugModal-yfBBhyjs.js} +127 -98
  22. package/dist/DecisionMakerDetails-D0-COO1N.js +275 -0
  23. package/dist/{DecisionMakerDetailsPage-CORpG8qd.js → DecisionMakerDetailsPage-C-LGLbrJ.js} +10 -10
  24. package/dist/{DecisionMakers-D_B8GhAP.js → DecisionMakers-Bx51Ewcv.js} +22 -259
  25. package/dist/{Dropzone-CqXwk4Vf.js → Dropzone-Dy3XmCix.js} +4 -4
  26. package/dist/{EmbeddedStatus-Cq3s0VKQ.js → EmbeddedStatus-PFK1NCkS.js} +3 -3
  27. package/dist/{EndStateLayout-DyV9bKDz.js → EndStateLayout-5kx0pljK.js} +2 -2
  28. package/dist/{EntityAssociation-DoTWA9hu.js → EntityAssociation-BVxUknEP.js} +5 -5
  29. package/dist/{EntityGuidanceStatus-xpPB9g8U.js → EntityGuidanceStatus-CbP4RqW4.js} +4 -4
  30. package/dist/{ErrorPanel-BuHWbhfh.js → ErrorPanel-Cn8gzNGG.js} +11 -12
  31. package/dist/{Field-Dr2nucSo.js → Field-BDI27kIy.js} +2 -2
  32. package/dist/{FormNavigation-bTHzHm_a.js → FormNavigation-D90R1OgK.js} +3 -3
  33. package/dist/{Individual.rules-CvBrD7Ad.js → Individual.rules-BrdY-Rew.js} +12 -12
  34. package/dist/{IndividualDropin-DhipTriL.js → IndividualDropin-D5FrKUb-.js} +252 -97
  35. package/dist/{InputDate-HsJIDMnw.js → InputDate-nNag-jcu.js} +1 -1
  36. package/dist/{InputText-Cmp-jxkq.js → InputText-DFjKyN6O.js} +2 -2
  37. package/dist/{Introduction-CVb0Xx-s.js → Introduction-DhEG_Jvt.js} +4 -9
  38. package/dist/InvitedDecisionMakerComponent-DT_SCB2u.js +211 -0
  39. package/dist/{JpAddress-CC_IvY9U.js → JpAddress-DcJCN9dG.js} +11 -11
  40. package/dist/{LandingLayout-Hw-QdoQL.js → LandingLayout-CC_FGMAs.js} +2 -2
  41. package/dist/{LegalCompanyNameField-CWRd7AEp.js → LegalCompanyNameField-CgTgIMv8.js} +16 -16
  42. package/dist/{LegalRepresentativeDetailsPage-CY_iMQTc.js → LegalRepresentativeDetailsPage-D4d4eelX.js} +5 -5
  43. package/dist/{Link-DDnVkilX.js → Link-C30mEtLP.js} +2 -2
  44. package/dist/{ListItem-C5VcmY-s.js → ListItem-BQLamvB-.js} +3 -3
  45. package/dist/{LoaderWrapper-BFpnMaZr.js → LoaderWrapper-CgNgcjW-.js} +2 -2
  46. package/dist/{ManageIndividualComponent-Cb5wNkz0.js → ManageIndividualComponent-DKVcaPI6.js} +5 -5
  47. package/dist/{ManageTermsOfServiceComponent-10j2xeZu.js → ManageTermsOfServiceComponent-T_K9BahM.js} +4 -4
  48. package/dist/{ManageTransferInstrumentComponent-BpnoK4Sd.js → ManageTransferInstrumentComponent-Ch79d8JP.js} +11 -11
  49. package/dist/{MaskedInput-D6wQgEqZ.js → MaskedInput-B9djDROe.js} +5 -5
  50. package/dist/{MaybeModal-w8BdVyL9.js → MaybeModal-BYsvKCcc.js} +3 -3
  51. package/dist/{Modal-CBxIPgQb.js → Modal-727fSuFr.js} +2 -2
  52. package/dist/{Name-CFTJ-03j.js → Name-BN-K6-N2.js} +4 -4
  53. package/dist/{NewSummary-Bzl3znax.js → NewSummary-DTuLIMtG.js} +5 -5
  54. package/dist/{OnboardingDropinComponent-D6UOdrFV.js → OnboardingDropinComponent-CaRk-dgZ.js} +145 -218
  55. package/dist/{PayoutDetailsDropin-hc2Lwjfg.js → PayoutDetailsDropin-CaJE5U6g.js} +183 -1065
  56. package/dist/{PayoutDetailsPage-C2UkSM42.js → PayoutDetailsPage-B0i-iUKS.js} +6 -6
  57. package/dist/{RadioGroup-tAaHg-3v.js → RadioGroup-DQa-nkgM.js} +2 -2
  58. package/dist/{Review-Bhbx2iLe.js → Review-CgkKBldb.js} +6 -6
  59. package/dist/{RootBusinessDetailsPage-BtxfStzp.js → RootBusinessDetailsPage-Bh3M9G8g.js} +6 -6
  60. package/dist/{RootBusinessLinesPage-SBl1RJnK.js → RootBusinessLinesPage-C4wzI8-k.js} +93 -91
  61. package/dist/{RootIndividualDetailsPage-BKrFR8kJ.js → RootIndividualDetailsPage-GBrzZTH2.js} +7 -6
  62. package/dist/{Select-CDjrCQMg.js → Select-Bt5Y91sI.js} +4 -4
  63. package/dist/{SignPCIComponent-CsBd4n0S.js → SignPCIComponent-BxzfAQvx.js} +12 -19
  64. package/dist/{SingpassSelection-BLw_O_To.js → SingpassSelection-hjBRnBDR.js} +144 -7
  65. package/dist/{SoleProprietorshipPage-DugLl7bw.js → SoleProprietorshipPage-B6HqJtcC.js} +5 -5
  66. package/dist/{SourceOfFundsPage-BOpuSCH-.js → SourceOfFundsPage-D6V3pwXP.js} +270 -98
  67. package/dist/{StepProgressIndicator-U5i4HLMS.js → StepProgressIndicator-DhfpqmVy.js} +2 -2
  68. package/dist/{StoreProvider-DS3-j_yO.js → StoreProvider-CGAl-5Sk.js} +155 -148
  69. package/dist/{Summary-B4rVi_1E.js → Summary-DKmu4xU7.js} +25 -22
  70. package/dist/{TaxInformationField-Gascwiqq.js → TaxInformationField-wLMc_uT-.js} +568 -795
  71. package/dist/{TaxReportingDropin-BiUeYocK.js → TaxReportingDropin-DsPw-MUV.js} +26 -26
  72. package/dist/{TextArea-DHLHMQS0.js → TextArea-BGhv4y1a.js} +2 -2
  73. package/dist/{TileGroup-TQqcisEg.js → TileGroup-D3HIe8QQ.js} +3 -3
  74. package/dist/{TrustDetailsPage-B9qgsL7n.js → TrustDetailsPage-CWKPHxTe.js} +64 -65
  75. package/dist/{TrustMemberCompanyPage-Dv8gB3AJ.js → TrustMemberCompanyPage-C89-gUpd.js} +7 -7
  76. package/dist/{TrustMemberIndividualPage-B61REKTA.js → TrustMemberIndividualPage-Cz-Z8U7w.js} +6 -6
  77. package/dist/{TrustMemberRoleAndTypePage-B-937gVA.js → TrustMemberRoleAndTypePage-BxzEkGzE.js} +27 -27
  78. package/dist/{TrustMembersOverview-BUdUHg0i.js → TrustMembersOverview-BtycEgbW.js} +16 -18
  79. package/dist/{UnincorporatedPartnershipIndividualPage-CiXV1GFq.js → UnincorporatedPartnershipIndividualPage-CSQjYe4p.js} +5 -5
  80. package/dist/{UnincorporatedPartnershipMemberCompanyPage-DBvCnN3w.js → UnincorporatedPartnershipMemberCompanyPage-ZAQkvjQr.js} +6 -6
  81. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-C5tojfbL.js → UnincorporatedPartnershipMemberRoleAndTypePage-B9bvg2ra.js} +11 -11
  82. package/dist/{UnincorporatedPartnershipMembersOverview-DPrp3a67.js → UnincorporatedPartnershipMembersOverview-DYDDYisa.js} +7 -7
  83. package/dist/{VerificationErrorAlert-DUcGedHl.js → VerificationErrorAlert-Sf7ovPdg.js} +3 -3
  84. package/dist/{ViewVerificationStatusComponent-ucroS2ge.js → ViewVerificationStatusComponent-D6qJacuF.js} +3 -3
  85. package/dist/adyen-business-financing.js +4 -4
  86. package/dist/adyen-individual-configuration.js +4 -4
  87. package/dist/adyen-individual-status.js +4 -4
  88. package/dist/adyen-invited-decision-maker.js +4 -117
  89. package/dist/adyen-kyc-components.js +17 -17
  90. package/dist/adyen-onboarding.js +4 -4
  91. package/dist/adyen-terms-of-service-management.js +4 -4
  92. package/dist/adyen-terms-of-service-status.js +4 -4
  93. package/dist/adyen-transfer-instrument-configuration.js +4 -4
  94. package/dist/adyen-transfer-instrument-management.js +4 -4
  95. package/dist/adyen-verification-status.js +4 -4
  96. package/dist/{bafinUtils-YlO-EQ-z.js → bafinUtils-4YaweTCy.js} +2 -2
  97. package/dist/{commonValidators-Z8GTyWt2.js → commonValidators-nusLcRK6.js} +1 -1
  98. package/dist/{dropinUtils-DuoGe_aD.js → dropinUtils-DoPR1iTm.js} +53 -9
  99. package/dist/en-US-CJDkXFZ6.js +13 -0
  100. package/dist/en-US-CTbVLoNF.js +13 -0
  101. package/dist/en-US-CfazE4ht.js +13 -0
  102. package/dist/{en-US-G607HIyo.js → en-US-DPoDE0uz.js} +7 -7
  103. package/dist/en-US-DrUYyPhF.js +13 -0
  104. package/dist/{formUtils-OvyHeoEE.js → formUtils-zdJ_jyqE.js} +3 -3
  105. package/dist/{getName-DxauASkL.js → getName-Ca2cTXzw.js} +2 -2
  106. package/dist/{getProblemsForEntity-yYZx85SH.js → getProblemsForEntity-CNltAsMa.js} +2 -2
  107. package/dist/getTrustedFields-rU6j1TOQ.js +104 -0
  108. package/dist/{isEmpty-CUJ_MTvj.js → isEmpty-BN2tOceJ.js} +1 -1
  109. package/dist/japanSupportUtils-B76IOTvL.js +16 -0
  110. package/dist/{localizeDateString-Cdq_DxXh.js → localizeDateString-9ciBezNu.js} +2 -2
  111. package/dist/{mapExistingFile-BX4VgHc9.js → mapExistingFile-BS79kq3W.js} +3 -76
  112. package/dist/{mapJpAddressSchemaToAddressLocalizations-fM535qJi.js → mapJpAddressSchemaToAddressLocalizations--7Bt3usJ.js} +2 -36
  113. package/dist/{mapLegalEntityToIndividualSchema-CtUOM-Zl.js → mapLegalEntityToIndividualSchema-BxOmNDle.js} +4 -4
  114. package/dist/{mapTransferInstrumentToPayoutAccount-CwsN-a7n.js → mapTransferInstrumentToPayoutAccount-ONPBT9KF.js} +2 -2
  115. package/dist/omitObscuredFieldsIfUnchanged-DhUQJrjg.js +29 -0
  116. package/dist/{patternValidators-vRnpmLkN.js → patternValidators-Cem-Icxv.js} +2 -2
  117. package/dist/{process-field-configurations-BGd8lBcb.js → process-field-configurations-BWC3i2at.js} +2 -2
  118. package/dist/{resolveEnvironment-CnQ__7cb.js → resolveEnvironment-BLaPb5Nd.js} +17 -24
  119. package/dist/{roleMetadata-B5g5kSns.js → roleMetadata-RivmWKE-.js} +3 -3
  120. package/dist/style.css +230 -275
  121. package/dist/styles-CLV89_hH.js +230 -275
  122. package/dist/types/api/toggles/useToggles.d.ts +2 -1
  123. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +2 -1
  124. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +0 -29
  125. package/dist/types/components/BankAccount/forms/BankVerification/BankVerification.d.ts +1 -1
  126. package/dist/types/components/BankAccount/forms/BankVerification/verification/{widget → overlay}/types.d.ts +4 -14
  127. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +1 -1
  128. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +4 -5
  129. package/dist/types/components/Business/forms/rules.d.ts +1 -1
  130. package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -2
  131. package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsGettingStarted.d.ts +6 -0
  132. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +2 -2
  133. package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +7 -5
  134. package/dist/types/components/Business/utils/companyUtil.d.ts +2 -2
  135. package/dist/types/components/Business/utils/formatDataForSummary.d.ts +3 -2
  136. package/dist/types/components/Business/utils/submit.d.ts +1 -1
  137. package/dist/types/components/Business/utils/useCompanySearchFeature.d.ts +5 -0
  138. package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +1 -1
  139. package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +1 -1
  140. package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -1
  141. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +9 -9
  142. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +11 -0
  143. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +15 -0
  144. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/validate.d.ts +5 -4
  145. package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +3 -3
  146. package/dist/types/components/Individual/forms/IdNowVerificationModal/IFrameWidget.d.ts +9 -0
  147. package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -1
  148. package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
  149. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +2 -2
  150. package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.d.ts +6 -1
  151. package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useTaskStatusWithTimeout.d.ts +15 -0
  152. package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +14 -0
  153. package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
  154. package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -0
  155. package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -1
  156. package/dist/types/components/Shared/devex/DebugListener/DebugTogglesAndSettings.d.ts +8 -0
  157. package/dist/types/components/Shared/devex/DebugListener/debugInfo.d.ts +2 -1
  158. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +12 -0
  159. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → BusinessRegistrationNumberField/RegistrationNumberTypeSelector}/getDefaultRegistrationNumberType.d.ts +4 -4
  160. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → BusinessRegistrationNumberField/RegistrationNumberTypeSelector}/inferCompanyRegistrationNumberType.d.ts +3 -3
  161. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -1
  162. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +92 -0
  163. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +8 -1
  164. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +0 -483
  165. package/dist/types/components/Shared/fields/LegalCompanyNameField/LegalCompanyNameField.d.ts +1 -1
  166. package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +2 -2
  167. package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +1 -1
  168. package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +2 -2
  169. package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
  170. package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -0
  171. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/TaxIdNumberTypeSelector.d.ts +5 -5
  172. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/getDefaultTaxIdNumberType.d.ts +5 -5
  173. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/inferTaxIdNumberType.d.ts +5 -5
  174. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -2
  175. package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +232 -0
  176. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +8 -0
  177. package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/VatNumberTypeSelector.d.ts +14 -0
  178. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → VatNumberField/VatNumberTypeSelector}/getDefaultVatNumberType.d.ts +2 -2
  179. package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/inferVatNumberType.d.ts +3 -0
  180. package/dist/types/components/Shared/fields/VatNumberField/fieldConfig.d.ts +1 -2
  181. package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +10 -1
  182. package/dist/types/components/Shared/fields/VatNumberField/vatNumberTypes.d.ts +149 -0
  183. package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +5 -0
  184. package/dist/types/components/Shared/forms/Address/utils.d.ts +6 -1
  185. package/dist/types/components/Shared/forms/Address/validate.d.ts +3 -3
  186. package/dist/types/components/Trust/mapping/mapLegalEntityToTrust.d.ts +2 -2
  187. package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -2
  188. package/dist/types/components/Trust/tasks/TrustDropin/validate.d.ts +2 -2
  189. package/dist/types/components/UnincorporatedPartnership/mapping/mapLegalEntityToUnincorporatedPartnership.d.ts +2 -2
  190. package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -2
  191. package/dist/types/components/index.d.ts +2 -2
  192. package/dist/types/context/FormRouterContext/FormRouterContext.d.ts +5 -0
  193. package/dist/types/context/FormRouterContext/FormRouterContextProvider.d.ts +1 -1
  194. package/dist/types/context/FormRouterContext/types.d.ts +1 -0
  195. package/dist/types/context/FormRouterContext/useFormRouterContext.d.ts +4 -0
  196. package/dist/types/context/SettingsContext/types.d.ts +2 -0
  197. package/dist/types/context/ToggleContext/ToggleContext.d.ts +2 -0
  198. package/dist/types/context/ToggleContext/ToggleContextProvider.d.ts +9 -0
  199. package/dist/types/context/{ExperimentContext → ToggleContext}/types.d.ts +42 -32
  200. package/dist/types/context/ToggleContext/useToggleContext.d.ts +1 -0
  201. package/dist/types/core/EmbedShell/EmbedShell.d.ts +3 -3
  202. package/dist/types/core/UIElement/UIElement.d.ts +3 -2
  203. package/dist/types/core/models/api/organization.d.ts +1 -1
  204. package/dist/types/embeds/baseEmbedProps.d.ts +3 -3
  205. package/dist/types/hooks/useFormComposer.d.ts +1 -0
  206. package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +1 -1
  207. package/dist/types/hooks/useTaskLandedEvent.d.ts +7 -0
  208. package/dist/types/language/types.d.ts +2 -9
  209. package/dist/types/language/utils.d.ts +2 -2
  210. package/dist/types/router/routeConfig.d.ts +1 -0
  211. package/dist/types/stores/globalStore/taskTypes.d.ts +1 -0
  212. package/dist/types/types/form-rules.d.ts +2 -2
  213. package/dist/types/utils/api/processCapabilitites.d.ts +1 -1
  214. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  215. package/dist/types/utils/japanSupportUtils.d.ts +2 -2
  216. package/dist/{types-C_a8jv29.js → types-BLjngIPE.js} +2 -2
  217. package/dist/{types-_ugkpUNx.js → types-CTwBMnPB.js} +46 -37
  218. package/dist/{types-H2FCJ1-C.js → types-DmjPF4Sw.js} +2 -2
  219. package/dist/{types-CQ2p58-6.js → types-Dv0COrvY.js} +3 -2
  220. package/dist/{types-xe96hgXI.js → types-i_4sFTBn.js} +2 -2
  221. package/dist/{unincorporated-partnership-B6NRgago.js → unincorporated-partnership-R_fKlee-.js} +2 -2
  222. package/dist/{useAssociatedLegalEntity-CVzKts0I.js → useAssociatedLegalEntity-sPi1NDib.js} +2 -2
  223. package/dist/{useBusinessDetailsData-DfwcFRlQ.js → useBusinessDetailsData-Bqk04i4C.js} +443 -397
  224. package/dist/{useCreateLegalEntity-hrStnY6W.js → useCreateLegalEntity-Bsp9NV_x.js} +2 -2
  225. package/dist/{useForm-D6L2c9Li.js → useForm-OoKBR6oR.js} +3 -3
  226. package/dist/{useFormContext-CMsS317D.js → useFormContext-DSPJpGk8.js} +17 -8
  227. package/dist/{useGlobalData-6k8_ruDF.js → useGlobalData-Crfi88kZ.js} +24 -15
  228. package/dist/{useMultiForm-DM2vK1Np.js → useMultiForm-CvhpFewv.js} +4 -4
  229. package/dist/{useOnboardingStatus-DhKdv_Y5.js → useOnboardingStatus-CAHU1D0X.js} +2 -2
  230. package/dist/{useScenarios-CUR2KnWg.js → useScenarios-DBv_dA-7.js} +2 -2
  231. package/dist/{useTermsOfServiceStatus-BDMVKqbS.js → useTermsOfServiceStatus-ZQHlgGZB.js} +2 -2
  232. package/dist/{useToastContext-D4gUb18d.js → useToastContext-fRmLeQb3.js} +2 -2
  233. package/dist/{useUnincorporatedPartnershipMembers-DR2H0kGz.js → useUnincorporatedPartnershipMembers-DiyYkTfs.js} +5 -5
  234. package/dist/{useUpdateBusinessLines-DePb7PWG.js → useUpdateBusinessLines-R_TsTeL9.js} +6 -6
  235. package/dist/{useUpdateLegalEntity-DAa_GfP9.js → useUpdateLegalEntity-B08ICvGj.js} +3 -3
  236. package/dist/{utils-Dl-sL-p9.js → utils-3lClW_1M.js} +2 -2
  237. package/dist/{utils-BWV6yYFy.js → utils-B0FPRdWI.js} +22 -2
  238. package/dist/{utils-CnnnCh8B.js → utils-BRoXRTJU.js} +6 -6
  239. package/dist/{utils--FMWv23g.js → utils-Bjuz29z7.js} +53 -6
  240. package/dist/{utils-Cm_KCWsB.js → utils-CPMlF6U8.js} +1 -1
  241. package/dist/{validate-C7J6rZcj.js → validate-Bkn-4Xav.js} +1 -1
  242. package/dist/{validate-C-38T_GY.js → validate-DXgI7aOv.js} +3 -3
  243. package/dist/{validationError-C6qoE3Ei.js → validationError-1Dg0ubhb.js} +2 -2
  244. package/package.json +1 -5
  245. package/dist/RadioGroupCard-fFofJm6m.js +0 -152
  246. package/dist/en-US--1W760fR.js +0 -13
  247. package/dist/en-US-CKLQU2sJ.js +0 -13
  248. package/dist/en-US-CozY33On.js +0 -13
  249. package/dist/en-US-DLY20x1O.js +0 -13
  250. package/dist/iframeWidget-D0lDhWvH.js +0 -234
  251. package/dist/instant-verification-UrnuHTYn.js +0 -40
  252. package/dist/japanSupportUtils-9uEg0pbP.js +0 -16
  253. package/dist/manual-verification-BO8zgAYT.js +0 -41
  254. package/dist/types/components/BankAccount/forms/BankDocument/BankDocument.d.ts +0 -5
  255. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +0 -9
  256. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirementsModal.d.ts +0 -6
  257. package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/BankVerificationWidget.d.ts +0 -3
  258. package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/iframeWidget.d.ts +0 -32
  259. package/dist/types/components/Business/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +0 -4
  260. package/dist/types/components/Business/utils/useCompanySearchExperiments.d.ts +0 -5
  261. package/dist/types/components/Shared/devex/DebugListener/DebugExperimentsAndSettings.d.ts +0 -7
  262. package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +0 -20
  263. package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +0 -21
  264. package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferVatNumberType.d.ts +0 -3
  265. package/dist/types/context/ExperimentContext/ExperimentsContext.d.ts +0 -2
  266. package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +0 -8
  267. package/dist/types/context/ExperimentContext/useExperimentsContext.d.ts +0 -1
  268. package/dist/types/utils/bankVerification/dom.d.ts +0 -1
@@ -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] = "2b9f60df-070c-4222-bfd2-4fb11097ebae", e._sentryDebugIdIdentifier = "sentry-dbid-2b9f60df-070c-4222-bfd2-4fb11097ebae");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e88c6add-7693-4390-a48b-af658a47f94b", e._sentryDebugIdIdentifier = "sentry-dbid-e88c6add-7693-4390-a48b-af658a47f94b");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { R as useLegalEntity, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, V as Loader, a9 as getLegalEntityCountry, w as EntityTypes, y as TaskTypes } from "./StoreProvider-DS3-j_yO.js";
10
+ import { P as useLegalEntity, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, U as Loader, a8 as getLegalEntityCountry, E as EntityTypes, w as TaskTypes } from "./StoreProvider-CGAl-5Sk.js";
11
11
  import { jsx } from "preact/jsx-runtime";
12
- import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-yYZx85SH.js";
13
- import { I as IndividualDropin } from "./IndividualDropin-DhipTriL.js";
12
+ import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-CNltAsMa.js";
13
+ import { I as IndividualDropin } from "./IndividualDropin-D5FrKUb-.js";
14
14
  const CreateIndividualComponent = ({
15
15
  legalEntityId,
16
16
  onSubmitSuccess,
@@ -25,9 +25,9 @@ const CreateIndividualComponent = ({
25
25
  const capabilityProblems = useCapabilityProblems();
26
26
  const { i18n } = useTranslation();
27
27
  addResourceBundles(i18n, [
28
- { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-DS3-j_yO.js").then((n) => n.bT), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
28
+ { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CGAl-5Sk.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
29
29
  { ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
30
- { ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../../Individual/language/en-US.json": () => import("./en-US-CKLQU2sJ.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-BZiC4JWr.js"), "../../Individual/language/et-EE.json": () => import("./et-EE-D_NmrrzQ.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-CEH4BfU3.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-NxOktkWc.js"), "../../Individual/language/hr-HR.json": () => import("./hr-HR-D_MUIhtx.js"), "../../Individual/language/hu-HU.json": () => import("./hu-HU-LxStrFGU.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-OppZz3gW.js"), "../../Individual/language/ja-JP.json": () => import("./ja-JP-CethQRoG.js"), "../../Individual/language/lt-LT.json": () => import("./lt-LT-CBTFJxth.js"), "../../Individual/language/lv-LV.json": () => import("./lv-LV-DTaBIHLh.js"), "../../Individual/language/nl-NL.json": () => import("./nl-NL-CYFznuWn.js"), "../../Individual/language/no-NO.json": () => import("./no-NO-BsEie1We.js"), "../../Individual/language/pl-PL.json": () => import("./pl-PL-BH_LPZJa.js"), "../../Individual/language/pt-BR.json": () => import("./pt-BR-C-YbDjn-.js"), "../../Individual/language/pt-PT.json": () => import("./pt-PT-BTbVsews.js"), "../../Individual/language/ro-RO.json": () => import("./ro-RO-C5PJhlmM.js"), "../../Individual/language/sk-SK.json": () => import("./sk-SK-DO-AqRjE.js"), "../../Individual/language/sl-SI.json": () => import("./sl-SI-CJH14wbj.js"), "../../Individual/language/sv-SE.json": () => import("./sv-SE-ZsucW_Uj.js") }), `../../Individual/language/${lang}.json`, 5) }
30
+ { ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../../Individual/language/en-US.json": () => import("./en-US-CJDkXFZ6.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-BZiC4JWr.js"), "../../Individual/language/et-EE.json": () => import("./et-EE-D_NmrrzQ.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-CEH4BfU3.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-NxOktkWc.js"), "../../Individual/language/hr-HR.json": () => import("./hr-HR-D_MUIhtx.js"), "../../Individual/language/hu-HU.json": () => import("./hu-HU-LxStrFGU.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-OppZz3gW.js"), "../../Individual/language/ja-JP.json": () => import("./ja-JP-CethQRoG.js"), "../../Individual/language/lt-LT.json": () => import("./lt-LT-CBTFJxth.js"), "../../Individual/language/lv-LV.json": () => import("./lv-LV-DTaBIHLh.js"), "../../Individual/language/nl-NL.json": () => import("./nl-NL-CYFznuWn.js"), "../../Individual/language/no-NO.json": () => import("./no-NO-BsEie1We.js"), "../../Individual/language/pl-PL.json": () => import("./pl-PL-BH_LPZJa.js"), "../../Individual/language/pt-BR.json": () => import("./pt-BR-C-YbDjn-.js"), "../../Individual/language/pt-PT.json": () => import("./pt-PT-BTbVsews.js"), "../../Individual/language/ro-RO.json": () => import("./ro-RO-C5PJhlmM.js"), "../../Individual/language/sk-SK.json": () => import("./sk-SK-DO-AqRjE.js"), "../../Individual/language/sl-SI.json": () => import("./sl-SI-CJH14wbj.js"), "../../Individual/language/sv-SE.json": () => import("./sv-SE-ZsucW_Uj.js") }), `../../Individual/language/${lang}.json`, 5) }
31
31
  ]);
32
32
  const handleOnClose = () => {
33
33
  if (modalView) {
@@ -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] = "128b277e-3216-46f2-97e0-e4c8313596fa", e._sentryDebugIdIdentifier = "sentry-dbid-128b277e-3216-46f2-97e0-e4c8313596fa");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "23d9fb75-5d3b-4754-8f89-c201539fb211", e._sentryDebugIdIdentifier = "sentry-dbid-23d9fb75-5d3b-4754-8f89-c201539fb211");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { u as useTranslation, R as useLegalEntity, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, V as Loader, y as TaskTypes } from "./StoreProvider-DS3-j_yO.js";
10
+ import { u as useTranslation, P as useLegalEntity, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, U as Loader, w as TaskTypes } from "./StoreProvider-CGAl-5Sk.js";
11
11
  import { jsx } from "preact/jsx-runtime";
12
12
  import { useState } from "preact/hooks";
13
- import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-hc2Lwjfg.js";
13
+ import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-CaJE5U6g.js";
14
14
  function CreateTransferInstrumentComponent({
15
15
  legalEntityId,
16
16
  transferInstrumentId,
@@ -25,9 +25,9 @@ function CreateTransferInstrumentComponent({
25
25
  const { i18n } = useTranslation();
26
26
  const { data: legalEntity, isLoading: isLegalEntityLoading } = useLegalEntity(legalEntityId);
27
27
  addResourceBundles(i18n, [
28
- { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-DS3-j_yO.js").then((n) => n.bT), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
28
+ { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CGAl-5Sk.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
29
29
  { ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
30
- { ns: "banking", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../BankAccount/language/bg-BG.json": () => import("./bg-BG-BnwkqGm9.js"), "../../BankAccount/language/cs-CZ.json": () => import("./cs-CZ-BeMYkFfD.js"), "../../BankAccount/language/da-DK.json": () => import("./da-DK-mUuPR2YO.js"), "../../BankAccount/language/de-DE.json": () => import("./de-DE-CwT6O212.js"), "../../BankAccount/language/el-GR.json": () => import("./el-GR-BuAfpG6u.js"), "../../BankAccount/language/en-US.json": () => import("./en-US--1W760fR.js"), "../../BankAccount/language/es-ES.json": () => import("./es-ES-Bh8k9Zx8.js"), "../../BankAccount/language/et-EE.json": () => import("./et-EE-BBnYC5q8.js"), "../../BankAccount/language/fi-FI.json": () => import("./fi-FI-DhUeTfn1.js"), "../../BankAccount/language/fr-FR.json": () => import("./fr-FR-CocDMzBc.js"), "../../BankAccount/language/hr-HR.json": () => import("./hr-HR-D9OGeEuB.js"), "../../BankAccount/language/hu-HU.json": () => import("./hu-HU-DjaoFDqm.js"), "../../BankAccount/language/it-IT.json": () => import("./it-IT-B4bk2Xev.js"), "../../BankAccount/language/ja-JP.json": () => import("./ja-JP-DK55NCZY.js"), "../../BankAccount/language/lt-LT.json": () => import("./lt-LT-CfQUS8PP.js"), "../../BankAccount/language/lv-LV.json": () => import("./lv-LV-DoKxsoVR.js"), "../../BankAccount/language/nl-NL.json": () => import("./nl-NL-J7XpCpQm.js"), "../../BankAccount/language/no-NO.json": () => import("./no-NO-CtDyNTm6.js"), "../../BankAccount/language/pl-PL.json": () => import("./pl-PL-CCX1rSGF.js"), "../../BankAccount/language/pt-BR.json": () => import("./pt-BR-D4BTdo_w.js"), "../../BankAccount/language/pt-PT.json": () => import("./pt-PT-DBZj2dDI.js"), "../../BankAccount/language/ro-RO.json": () => import("./ro-RO-DaU2--fX.js"), "../../BankAccount/language/sk-SK.json": () => import("./sk-SK-B-1yRol7.js"), "../../BankAccount/language/sl-SI.json": () => import("./sl-SI-C_4ajjU4.js"), "../../BankAccount/language/sv-SE.json": () => import("./sv-SE-DKnUr7xo.js") }), `../../BankAccount/language/${lang}.json`, 5) }
30
+ { ns: "banking", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../BankAccount/language/bg-BG.json": () => import("./bg-BG-BnwkqGm9.js"), "../../BankAccount/language/cs-CZ.json": () => import("./cs-CZ-BeMYkFfD.js"), "../../BankAccount/language/da-DK.json": () => import("./da-DK-mUuPR2YO.js"), "../../BankAccount/language/de-DE.json": () => import("./de-DE-CwT6O212.js"), "../../BankAccount/language/el-GR.json": () => import("./el-GR-BuAfpG6u.js"), "../../BankAccount/language/en-US.json": () => import("./en-US-DrUYyPhF.js"), "../../BankAccount/language/es-ES.json": () => import("./es-ES-Bh8k9Zx8.js"), "../../BankAccount/language/et-EE.json": () => import("./et-EE-BBnYC5q8.js"), "../../BankAccount/language/fi-FI.json": () => import("./fi-FI-DhUeTfn1.js"), "../../BankAccount/language/fr-FR.json": () => import("./fr-FR-CocDMzBc.js"), "../../BankAccount/language/hr-HR.json": () => import("./hr-HR-D9OGeEuB.js"), "../../BankAccount/language/hu-HU.json": () => import("./hu-HU-DjaoFDqm.js"), "../../BankAccount/language/it-IT.json": () => import("./it-IT-B4bk2Xev.js"), "../../BankAccount/language/ja-JP.json": () => import("./ja-JP-DK55NCZY.js"), "../../BankAccount/language/lt-LT.json": () => import("./lt-LT-CfQUS8PP.js"), "../../BankAccount/language/lv-LV.json": () => import("./lv-LV-DoKxsoVR.js"), "../../BankAccount/language/nl-NL.json": () => import("./nl-NL-J7XpCpQm.js"), "../../BankAccount/language/no-NO.json": () => import("./no-NO-CtDyNTm6.js"), "../../BankAccount/language/pl-PL.json": () => import("./pl-PL-CCX1rSGF.js"), "../../BankAccount/language/pt-BR.json": () => import("./pt-BR-D4BTdo_w.js"), "../../BankAccount/language/pt-PT.json": () => import("./pt-PT-DBZj2dDI.js"), "../../BankAccount/language/ro-RO.json": () => import("./ro-RO-DaU2--fX.js"), "../../BankAccount/language/sk-SK.json": () => import("./sk-SK-B-1yRol7.js"), "../../BankAccount/language/sl-SI.json": () => import("./sl-SI-C_4ajjU4.js"), "../../BankAccount/language/sv-SE.json": () => import("./sv-SE-DKnUr7xo.js") }), `../../BankAccount/language/${lang}.json`, 5) }
31
31
  ]);
32
32
  const handleOnClose = () => {
33
33
  if (modalView) {
@@ -2,20 +2,20 @@
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] = "0ba8ce09-bedf-424a-9728-06ee2576c711", e._sentryDebugIdIdentifier = "sentry-dbid-0ba8ce09-bedf-424a-9728-06ee2576c711");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "73af6cd8-b637-4a22-8c47-e54253da33d7", e._sentryDebugIdIdentifier = "sentry-dbid-73af6cd8-b637-4a22-8c47-e54253da33d7");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { i as isDateOlderThanAYear } from "./Address-Cdkbwzso.js";
11
- import { aX as drop, b as useApiContext, j as httpGet, u as useTranslation, m as createLogger, i as isUndefinedOrNull } from "./StoreProvider-DS3-j_yO.js";
10
+ import { i as isDateOlderThanAYear } from "./Address-D0JjbOT4.js";
11
+ import { aX as drop, b as useApiContext, k as httpGet, u as useTranslation, ae as createLogger, i as isUndefinedOrNull } from "./StoreProvider-CGAl-5Sk.js";
12
12
  import { jsx } from "preact/jsx-runtime";
13
13
  import { useRef, useEffect, useCallback, useMemo, useState } from "preact/hooks";
14
14
  import { useQuery } from "@tanstack/preact-query";
15
- import { F as Field } from "./Field-Dr2nucSo.js";
16
- import { S as Select } from "./Select-CDjrCQMg.js";
17
- import { I as InputText, a as InputBase } from "./InputText-Cmp-jxkq.js";
18
- import { c as currencyByCountry } from "./types-xe96hgXI.js";
15
+ import { F as Field } from "./Field-BDI27kIy.js";
16
+ import { S as Select } from "./Select-Bt5Y91sI.js";
17
+ import { I as InputText, a as InputBase } from "./InputText-DFjKyN6O.js";
18
+ import { c as currencyByCountry } from "./types-i_4sFTBn.js";
19
19
  const mapFinancialInformationToFinancialReport = ({
20
20
  currency,
21
21
  financialReportingDate,
@@ -2,24 +2,24 @@
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] = "324f9323-b66e-4b70-9f81-cda42df25bad", e._sentryDebugIdIdentifier = "sentry-dbid-324f9323-b66e-4b70-9f81-cda42df25bad");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "40b035e6-4fa4-4397-b1a4-df2b812171b5", e._sentryDebugIdIdentifier = "sentry-dbid-40b035e6-4fa4-4397-b1a4-df2b812171b5");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useQueryClient } from "@tanstack/preact-query";
12
- import { useCallback, useMemo, useEffect } from "preact/hooks";
13
- import { R as useLegalEntity, U as ROOT_LE, V as Loader, w as EntityTypes, u as useTranslation, z as useAnalyticsContext, aB as Header, m as createLogger } from "./StoreProvider-DS3-j_yO.js";
14
- import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DAa_GfP9.js";
15
- import { c as contactDetailsValidationRules, f as fieldConfig, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules, C as ContactDetails, d as defaultFieldMetadata } from "./ContactDetails--t1QRowR.js";
16
- import { u as useToastContext } from "./useToastContext-D4gUb18d.js";
17
- import { u as useMultiForm } from "./useMultiForm-DM2vK1Np.js";
18
- import { E as ErrorPanel } from "./ErrorPanel-BuHWbhfh.js";
19
- import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-yYZx85SH.js";
12
+ import { useCallback, useMemo } from "preact/hooks";
13
+ import { P as useLegalEntity, U as Loader, R as ROOT_LE, E as EntityTypes, u as useTranslation, x as useAnalyticsContext, aB as Header, ae as createLogger } from "./StoreProvider-CGAl-5Sk.js";
14
+ import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B08ICvGj.js";
15
+ import { c as contactDetailsValidationRules, f as fieldConfig, u as useValidatePhoneNumberImperatively, b as getAsyncPhoneValidationRules, C as ContactDetails, d as defaultFieldMetadata } from "./ContactDetails-CGss-4M6.js";
16
+ import { u as useToastContext } from "./useToastContext-fRmLeQb3.js";
17
+ import { u as useMultiForm } from "./useMultiForm-CvhpFewv.js";
18
+ import { E as ErrorPanel } from "./ErrorPanel-Cn8gzNGG.js";
19
+ import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-CNltAsMa.js";
20
20
  import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
21
- import { c as createFormUtils } from "./formUtils-OvyHeoEE.js";
22
- import { A as ActionBar } from "./ActionBar-Cs-ZFNhk.js";
21
+ import { c as createFormUtils } from "./formUtils-zdJ_jyqE.js";
22
+ import { A as ActionBar } from "./ActionBar-Ruw6z6LR.js";
23
23
  const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
24
24
  return {
25
25
  email: customerSupport?.customerSupport?.email || "",
@@ -88,11 +88,6 @@ function CustomerSupportInner({
88
88
  rules: validators,
89
89
  asyncRules: asyncValidators
90
90
  });
91
- useEffect(() => {
92
- userEvents.addTaskEvent("Landed on page", {
93
- actionType: "start"
94
- });
95
- }, [userEvents]);
96
91
  const submitForm = async () => {
97
92
  const isAsyncValidationValid = await triggerValidation("customerSupport");
98
93
  if (!isValid?.customerSupport || !isAsyncValidationValid) {
@@ -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] = "d0e313ba-e0a1-49de-a505-b0afc87b6e3d", e._sentryDebugIdIdentifier = "sentry-dbid-d0e313ba-e0a1-49de-a505-b0afc87b6e3d");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "513a27dd-461a-4f7b-9625-a4e4b2a4473e", e._sentryDebugIdIdentifier = "sentry-dbid-513a27dd-461a-4f7b-9625-a4e4b2a4473e");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { useMemo, useState } from "preact/hooks";
12
- import { W as Button, ao as entriesOf, bA as Accordion, u as useTranslation, bB as splitTaskIdentifier, H as TaskVerificationStatus, J as useExperimentsContext, k as useSettingsContext, X as useGlobalStore, aT as listToRecord, aR as valuesOf, B as Icon, m as createLogger } from "./StoreProvider-DS3-j_yO.js";
13
- import { M as Modal } from "./Modal-CBxIPgQb.js";
14
- import { E as ExperimentNames } from "./types-_ugkpUNx.js";
15
- import { S as SettingNames } from "./types-CQ2p58-6.js";
16
- import { I as InputText } from "./InputText-Cmp-jxkq.js";
17
- import { T as Tag } from "./Tag-DdkVScyr.js";
18
- import { C as Checkbox } from "./Checkbox-D3Z0AWKj.js";
11
+ import { useState, useMemo } from "preact/hooks";
12
+ import { V as Button, by as Accordion, u as useTranslation, ao as entriesOf, bz as splitTaskIdentifier, G as TaskVerificationStatus, H as useToggleContext, m as useSettingsContext, W as useGlobalStore, aT as listToRecord, aR as valuesOf, z as Icon, ae as createLogger } from "./StoreProvider-CGAl-5Sk.js";
13
+ import { M as Modal } from "./Modal-727fSuFr.js";
14
+ import { S as SettingNames } from "./types-Dv0COrvY.js";
15
+ import { F as FeatureNames, E as ExperimentNames } from "./types-CTwBMnPB.js";
16
+ import { C as Checkbox } from "./Checkbox-DQGjbUsQ.js";
19
17
  import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
20
18
  import MonogonCode from "monogon/preact";
19
+ import { T as Tag } from "./Tag-DdkVScyr.js";
20
+ import { I as InputText } from "./InputText-DFjKyN6O.js";
21
21
  const tabs = "adyen-kyc-tabs";
22
22
  const styles$3 = {
23
23
  tabs
@@ -37,90 +37,6 @@ const Tabs = ({ tabs: tabs2, activeTab, onChange }) => /* @__PURE__ */ jsx("div"
37
37
  name
38
38
  );
39
39
  }) });
40
- const filterData = (data, searchTerm) => data.filter(({ key }) => key.toLowerCase().includes(searchTerm.toLowerCase()));
41
- const sortData = (data) => [...data].sort(({ key: keyA }, { key: keyB }) => keyA.localeCompare(keyB));
42
- const DebugTable = ({
43
- data,
44
- heading,
45
- searchTerm,
46
- tagPosition = "after",
47
- sort = false
48
- }) => {
49
- const filteredData = useMemo(() => {
50
- const filtered = searchTerm ? filterData(data, searchTerm) : data;
51
- return sort ? sortData(filtered) : filtered;
52
- }, [data, searchTerm]);
53
- return /* @__PURE__ */ jsxs("div", { children: [
54
- heading ? /* @__PURE__ */ jsx("h3", { children: heading }) : void 0,
55
- filteredData.length === 0 ? /* @__PURE__ */ jsxs("p", { children: [
56
- "No results found for ",
57
- /* @__PURE__ */ jsx("strong", { children: searchTerm })
58
- ] }) : /* @__PURE__ */ jsx("table", { children: /* @__PURE__ */ jsx("tbody", { children: filteredData.map(({ key, value, label, variant }) => /* @__PURE__ */ jsxs("tr", { children: [
59
- tagPosition === "before" ? /* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(Tag, { variant: variant ?? "grey", children: value }) }) : void 0,
60
- /* @__PURE__ */ jsxs("td", { children: [
61
- /* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: key }),
62
- label && /* @__PURE__ */ jsx("span", { children: label })
63
- ] }),
64
- tagPosition === "after" ? /* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(Tag, { variant: variant ?? "grey", children: value }) }) : void 0
65
- ] }, key)) }) })
66
- ] });
67
- };
68
- const getSettingVariant = (value) => {
69
- switch (value) {
70
- case void 0:
71
- return "orange";
72
- case true:
73
- return "green";
74
- case false:
75
- return "red";
76
- default:
77
- return "blue";
78
- }
79
- };
80
- const DebugExperimentsAndSettings = ({
81
- experiments,
82
- settings
83
- }) => {
84
- const [searchTerm, setSearchTerm] = useState("");
85
- const experimentRows = entriesOf(experiments).map(
86
- ([experimentName, enabled]) => ({
87
- key: `${experimentName}`,
88
- value: enabled ? "Enabled" : "Disabled",
89
- variant: enabled ? "green" : "red"
90
- })
91
- );
92
- const settingRows = entriesOf(settings).map(([settingName, value]) => ({
93
- key: settingName,
94
- value: `${value}`,
95
- variant: getSettingVariant(value)
96
- }));
97
- return /* @__PURE__ */ jsxs(Fragment, { children: [
98
- /* @__PURE__ */ jsx(
99
- InputText,
100
- {
101
- name: "search",
102
- value: searchTerm,
103
- onInput: (e) => setSearchTerm(e.currentTarget.value),
104
- placeholder: "Search for Experiments/Settings 🔎",
105
- trimOnBlur: true,
106
- spellCheck: false,
107
- "aria-label": "Search experiments or settings",
108
- "aria-invalid": false
109
- }
110
- ),
111
- /* @__PURE__ */ jsx(
112
- DebugTable,
113
- {
114
- tagPosition: "before",
115
- data: experimentRows,
116
- heading: "Experiments",
117
- searchTerm,
118
- sort: true
119
- }
120
- ),
121
- /* @__PURE__ */ jsx(DebugTable, { data: settingRows, heading: "Settings", searchTerm, sort: true })
122
- ] });
123
- };
124
40
  const searchInput = "adyen-kyc-searchInput";
125
41
  const toolbar = "adyen-kyc-toolbar";
126
42
  const fieldHeader = "adyen-kyc-fieldHeader";
@@ -202,6 +118,38 @@ const DebugFormData = () => {
202
118
  })
203
119
  ] });
204
120
  };
121
+ const filterData = (data, searchTerm) => data.filter(({ key }) => key.toLowerCase().includes(searchTerm.toLowerCase()));
122
+ const sortData = (data) => [...data].sort(({ key: keyA }, { key: keyB }) => keyA.localeCompare(keyB));
123
+ const DebugTable = ({
124
+ data,
125
+ heading,
126
+ searchTerm,
127
+ tagPosition = "after",
128
+ sort = false
129
+ }) => {
130
+ const filteredData = useMemo(() => {
131
+ const filtered = searchTerm ? filterData(data, searchTerm) : data;
132
+ return sort ? sortData(filtered) : filtered;
133
+ }, [data, searchTerm]);
134
+ return /* @__PURE__ */ jsxs("div", { children: [
135
+ heading ? /* @__PURE__ */ jsx("h3", { children: heading }) : void 0,
136
+ filteredData.length === 0 ? /* @__PURE__ */ jsx("p", { children: searchTerm ? /* @__PURE__ */ jsxs(Fragment, { children: [
137
+ "No results found for ",
138
+ /* @__PURE__ */ jsx("strong", { children: searchTerm })
139
+ ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
140
+ "No ",
141
+ heading?.toLowerCase(),
142
+ " defined"
143
+ ] }) }) : /* @__PURE__ */ jsx("table", { children: /* @__PURE__ */ jsx("tbody", { children: filteredData.map(({ key, value, label, variant }) => /* @__PURE__ */ jsxs("tr", { children: [
144
+ tagPosition === "before" ? /* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(Tag, { variant: variant ?? "grey", children: value }) }) : void 0,
145
+ /* @__PURE__ */ jsxs("td", { children: [
146
+ /* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: key }),
147
+ label && /* @__PURE__ */ jsx("span", { children: label })
148
+ ] }),
149
+ tagPosition === "after" ? /* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(Tag, { variant: variant ?? "grey", children: value }) }) : void 0
150
+ ] }, key)) }) })
151
+ ] });
152
+ };
205
153
  const DebugLegalEntityData = ({ legalEntityData }) => {
206
154
  if (!legalEntityData) return /* @__PURE__ */ jsx(Fragment, {});
207
155
  const { rootLegalEntity, rootLegalEntityType } = legalEntityData;
@@ -318,9 +266,81 @@ const ExplainDetails = ({ status: status2 }) => {
318
266
  }
319
267
  }
320
268
  };
269
+ const getSettingVariant = (value) => {
270
+ switch (value) {
271
+ case void 0:
272
+ return "orange";
273
+ case true:
274
+ return "green";
275
+ case false:
276
+ return "red";
277
+ default:
278
+ return "blue";
279
+ }
280
+ };
281
+ const DebugTogglesAndSettings = ({
282
+ features,
283
+ settings,
284
+ experiments
285
+ }) => {
286
+ const [searchTerm, setSearchTerm] = useState("");
287
+ const featureRows = entriesOf(features).map(([featureName, enabled]) => ({
288
+ key: `${featureName}`,
289
+ value: enabled ? "Enabled" : "Disabled",
290
+ variant: enabled ? "green" : "red"
291
+ }));
292
+ const settingRows = entriesOf(settings).map(([settingName, value]) => ({
293
+ key: settingName,
294
+ value: `${value}`,
295
+ variant: getSettingVariant(value)
296
+ }));
297
+ const experimentRows = entriesOf(experiments).map(
298
+ ([experimentName, enabled]) => ({
299
+ key: `${experimentName}`,
300
+ value: enabled ? "Enabled" : "Disabled",
301
+ variant: enabled ? "green" : "red"
302
+ })
303
+ );
304
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
305
+ /* @__PURE__ */ jsx(
306
+ InputText,
307
+ {
308
+ name: "search",
309
+ value: searchTerm,
310
+ onInput: (e) => setSearchTerm(e.currentTarget.value),
311
+ placeholder: "Search for Features/Settings 🔎",
312
+ trimOnBlur: true,
313
+ spellCheck: false,
314
+ "aria-label": "Search features or settings",
315
+ "aria-invalid": false
316
+ }
317
+ ),
318
+ /* @__PURE__ */ jsx(
319
+ DebugTable,
320
+ {
321
+ tagPosition: "before",
322
+ data: featureRows,
323
+ heading: "Features",
324
+ searchTerm,
325
+ sort: true
326
+ }
327
+ ),
328
+ /* @__PURE__ */ jsx(
329
+ DebugTable,
330
+ {
331
+ tagPosition: "before",
332
+ data: experimentRows,
333
+ heading: "Experiments",
334
+ searchTerm,
335
+ sort: true
336
+ }
337
+ ),
338
+ /* @__PURE__ */ jsx(DebugTable, { data: settingRows, heading: "Settings", searchTerm, sort: true })
339
+ ] });
340
+ };
321
341
  const logger = createLogger();
322
342
  const DebugModal = ({ onExit }) => {
323
- const { isExperimentEnabled } = useExperimentsContext();
343
+ const { isFeatureEnabled, isExperimentEnabled } = useToggleContext();
324
344
  const { getSetting } = useSettingsContext();
325
345
  const [debugInfoCopied, setDebugInfoCopied] = useState(false);
326
346
  const { i18n } = useTranslation();
@@ -328,10 +348,11 @@ const DebugModal = ({ onExit }) => {
328
348
  const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
329
349
  const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
330
350
  const metadata = {
331
- sdkVersion: "4.5.1",
351
+ sdkVersion: "4.6.0-beta.1",
332
352
  locale: i18n.language,
333
353
  rootLegalEntityId: rootLegalEntity.id
334
354
  };
355
+ const features = listToRecord(valuesOf(FeatureNames), isFeatureEnabled);
335
356
  const experiments = listToRecord(valuesOf(ExperimentNames), isExperimentEnabled);
336
357
  const settings = listToRecord(valuesOf(SettingNames), getSetting);
337
358
  const taskStatuses = useGlobalStore().taskStatuses.value;
@@ -342,6 +363,7 @@ const DebugModal = ({ onExit }) => {
342
363
  const copyToClipboard = async () => {
343
364
  const toCopy = {
344
365
  metadata,
366
+ features,
345
367
  experiments,
346
368
  settings,
347
369
  taskStatuses,
@@ -359,8 +381,8 @@ const DebugModal = ({ onExit }) => {
359
381
  label: "Metadata"
360
382
  },
361
383
  {
362
- name: "experimentsSettings",
363
- label: "Experiments & Settings"
384
+ name: "toggleSettings",
385
+ label: "Toggles & Settings"
364
386
  },
365
387
  {
366
388
  name: "taskStatuses",
@@ -386,7 +408,14 @@ const DebugModal = ({ onExit }) => {
386
408
  /* @__PURE__ */ jsxs("div", { className: styles$1.content, children: [
387
409
  tab === "metadata" ? /* @__PURE__ */ jsx(DebugMetadata, { metadata }) : void 0,
388
410
  tab === "taskStatuses" ? /* @__PURE__ */ jsx(DebugTaskStatuses, { taskStatuses }) : void 0,
389
- tab === "experimentsSettings" ? /* @__PURE__ */ jsx(DebugExperimentsAndSettings, { experiments, settings }) : void 0,
411
+ tab === "toggleSettings" ? /* @__PURE__ */ jsx(
412
+ DebugTogglesAndSettings,
413
+ {
414
+ features,
415
+ settings,
416
+ experiments
417
+ }
418
+ ) : void 0,
390
419
  tab === "legalEntityData" ? /* @__PURE__ */ jsx(DebugLegalEntityData, { legalEntityData }) : void 0,
391
420
  tab === "formConfig" ? /* @__PURE__ */ jsx(DebugFormData, {}) : void 0
392
421
  ] }),