@adyen/kyc-components 4.27.0 → 4.28.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. package/dist/{4-people-CAxQpi_3.js → 4-people-C_-N5Vvz.js} +2 -2
  2. package/dist/{AcceptTermsOfServiceWorkflow-CLTk8Oyx.js → AcceptTermsOfServiceWorkflow-BHLj18cI.js} +4 -4
  3. package/dist/{Accordion-CTQfC17W.js → Accordion-DyU-Pxob.js} +1 -1
  4. package/dist/{AccountSetupRejected-DaFbhfSI.js → AccountSetupRejected-DrzCd1ET.js} +2 -2
  5. package/dist/{AdaptiveWorkflow-42UsUwm-.js → AdaptiveWorkflow-DmZF4G5t.js} +117 -48
  6. package/dist/{AdaptiveWorkflowComponent-DZwG4TmA.js → AdaptiveWorkflowComponent-Bv5fIffv.js} +29 -29
  7. package/dist/{AddressFields-D78Szxmw.js → AddressFields-CF-UaSiA.js} +10 -10
  8. package/dist/{Avatar-yJfk9A6l.js → Avatar-BBJO6JWY.js} +1 -1
  9. package/dist/{BusinessFinancingDropin-Sxpsw1Ib.js → BusinessFinancingDropin-DxUscJnz.js} +34 -34
  10. package/dist/{BusinessFinancingPage-DBIhC8Us.js → BusinessFinancingPage-aNSrpxqt.js} +54 -54
  11. package/dist/{BusinessRegistrationNumberField-BdMxV-Tb.js → BusinessRegistrationNumberField-ByWbtuPm.js} +6 -6
  12. package/dist/{BusinessRegistrationNumberFieldGroup-Cj8O_z1t.js → BusinessRegistrationNumberFieldGroup-BsaKq6cn.js} +12 -7
  13. package/dist/{BusinessTypeSelectionPage-qHvILw07.js → BusinessTypeSelectionPage-C8BtZX8K.js} +12 -12
  14. package/dist/{Button-BYafPrZH.js → Button-EhGM-oCO.js} +1 -1
  15. package/dist/{Checkbox-CEkD-Lpm.js → Checkbox-Ec4wyyJQ.js} +3 -3
  16. package/dist/{ComponentGroup-DVHVDBTY.js → ComponentGroup-DnbvXojQ.js} +10 -9
  17. package/dist/{ConstitutionalDocument-CRmlhFeL.js → ConstitutionalDocument-B4rf4Lt3.js} +16 -15
  18. package/dist/{ContactDetails-Cqfks3uk.js → ContactDetails-CZgDXYqx.js} +5 -5
  19. package/dist/{ContextGuidance-DfK3CyBg.js → ContextGuidance-C8FlwEPA.js} +3 -3
  20. package/dist/{CountryField-BjQOdWzz.js → CountryField-8KwVjSwx.js} +8 -6
  21. package/dist/{Currency-CbDX0TMX.js → Currency-DyE49bKs.js} +8 -8
  22. package/dist/{CustomerSupport-DhHfxyq-.js → CustomerSupport-CvTI3Snc.js} +34 -13
  23. package/dist/{DateField-B2QaXKJu.js → DateField-l6H-nmfS.js} +13 -9
  24. package/dist/{DebugModal-Bg9rzwSn.js → DebugModal-xkdniRzn.js} +154 -109
  25. package/dist/{DecisionMakerDetails-AoJgg4cg.js → DecisionMakerDetails-CykBZZ9U.js} +13 -13
  26. package/dist/{DecisionMakerDetailsPage-C_AdIcGC.js → DecisionMakerDetailsPage-BnjOq-R1.js} +7 -7
  27. package/dist/{DecisionMakers-C6l8bABC.js → DecisionMakers-B-4h5Vw_.js} +14 -14
  28. package/dist/{Dropzone-DgxhMiDp.js → Dropzone-D7Z9PsqG.js} +7 -7
  29. package/dist/{EmailField-CXN3LYZ2.js → EmailField-B-g3-z2A.js} +12 -9
  30. package/dist/{EmbeddedStatus-mdQsQfof.js → EmbeddedStatus-aQaNHawQ.js} +2 -2
  31. package/dist/{EndStateLayout-B-M90Rnh.js → EndStateLayout-CBzxX67s.js} +2 -2
  32. package/dist/{EntityAssociation-D_q0Wc3i.js → EntityAssociation-CPRU3Nzl.js} +6 -6
  33. package/dist/{ErrorPanel-CPEt21Se.js → ErrorPanel-DUI1R5Sq.js} +4 -4
  34. package/dist/{GlobalEntryModal-BLcLbtbY.js → GlobalEntryModal-Fszy2PMv.js} +312 -100
  35. package/dist/{GlobalEntryPage-DWOIX03S.js → GlobalEntryPage-GMRCmYj1.js} +32 -32
  36. package/dist/Icon-D2IGgB2L.js +175 -0
  37. package/dist/{IdentityNumber-B9Jnp2Kq.js → IdentityNumber-M8NzdW3O.js} +5 -5
  38. package/dist/{IdentityNumberFieldGroup-BSl7SDIS.js → IdentityNumberFieldGroup-nOlB5kOW.js} +38 -16
  39. package/dist/{IdentityScreeningWorkflow-GYt_zgUF.js → IdentityScreeningWorkflow-kYczDRbc.js} +14 -13
  40. package/dist/{IndividualDropin-Diyiw3Hi.js → IndividualDropin-C9bKZu8q.js} +60 -39
  41. package/dist/{IndustryCodeFieldGroup-C2-FCfpN.js → IndustryCodeFieldGroup-ULwwyMfV.js} +8 -10
  42. package/dist/{InputDate-BHrNsorX.js → InputDate-fc3bdvdZ.js} +3 -3
  43. package/dist/{Introduction-DYn_jO1o.js → Introduction-BymKbaBE.js} +6 -6
  44. package/dist/{InvitedDecisionMakerComponent-CUe2AxiZ.js → InvitedDecisionMakerComponent-CLBrLaip.js} +36 -36
  45. package/dist/{JpAddressFields-C4qtHjp0.js → JpAddressFields-Dhe_cQhr.js} +9 -9
  46. package/dist/{LegalCompanyNameField-DFo-ZOZk.js → LegalCompanyNameField-Ch1VrlJs.js} +5 -5
  47. package/dist/{LegalRepresentativeDetailsPage-BOfRTyqK.js → LegalRepresentativeDetailsPage-ZsBdOW-Y.js} +3 -3
  48. package/dist/{Link-DwPkGikd.js → Link-BtWj5mVH.js} +1 -1
  49. package/dist/{ListItem-n927geYb.js → ListItem-aX6AyCay.js} +3 -3
  50. package/dist/{Name-DOj6CpgZ.js → Name-r1ugrnWU.js} +4 -4
  51. package/dist/{NumberField-CkdysfUI.js → NumberField-DzM3ge0J.js} +12 -9
  52. package/dist/{PatriotActDisclosure-DkqbHOFx.js → PatriotActDisclosure-O5TlzUXU.js} +10 -10
  53. package/dist/{PayoutDetailsDropin-CF7itBsp.js → PayoutDetailsDropin-J0pS_4a9.js} +30 -28
  54. package/dist/{PayoutDetailsPage-Dc_D071R.js → PayoutDetailsPage-COLJyIQ-.js} +4 -4
  55. package/dist/{InputText-BwXmy0Yr.js → RadioGroup-SDQSOsEf.js} +80 -5
  56. package/dist/{Review-Ku4iYkp6.js → Review-PhQYqPF4.js} +6 -6
  57. package/dist/{RootBusinessDetailsPage-CTSZl23n.js → RootBusinessDetailsPage-BI7ryRjt.js} +4 -4
  58. package/dist/{RootBusinessLinesPage-TqlW5o-4.js → RootBusinessLinesPage-mvoHQZD_.js} +21 -21
  59. package/dist/{RootIndividualDetailsPage-DG6IUpC8.js → RootIndividualDetailsPage-Cpm0vnKV.js} +4 -4
  60. package/dist/{Select-DPJ8234F.js → Select-DtO-GvLp.js} +5 -6
  61. package/dist/{SignPCIComponent-DHIPpLKT.js → SignPCIComponent-Dvmu4-hc.js} +38 -38
  62. package/dist/{SingpassSelection-BRJCTmKj.js → SingpassSelection-np9ZfMrZ.js} +5 -5
  63. package/dist/SingpassSelectionCTA-sVs1ou1t.js +71 -0
  64. package/dist/{SoleProprietorshipPage-JOV_QddZ.js → SoleProprietorshipPage-CwKtif4U.js} +4 -4
  65. package/dist/{SourceOfFundsPage-DxQADTn7.js → SourceOfFundsPage-waLLSQf2.js} +22 -22
  66. package/dist/{SourceOfFundsWorkflow-fFGA8BYS.js → SourceOfFundsWorkflow-Cat3HvUT.js} +4 -4
  67. package/dist/{StateField-LcRkkvIH.js → StateField-DxKg7Ea-.js} +6 -6
  68. package/dist/{Step-DaFQX--s.js → Step-ZD1CeO4b.js} +15 -9
  69. package/dist/{Summary-DgLYHPLg.js → Summary-BJnh9lZz.js} +2 -2
  70. package/dist/{SummarySection-CLaB0E12.js → SummarySection-D91P7H2B.js} +4 -4
  71. package/dist/{Task-CkhQ3vzl.js → Task-_WDQUdM0.js} +41 -31
  72. package/dist/{TaskGroup-BSPFdlu9.js → TaskGroup-C20Kri7W.js} +10 -6
  73. package/dist/{TaskListItem-B87Vgx8N.js → TaskListItem-BRTxzrek.js} +10 -10
  74. package/dist/{TaskStepperContextProvider-DiMf4UV6.js → TaskStepperContextProvider-C36jSigo.js} +1 -1
  75. package/dist/{TaskVerificationStatus-C1CllzL1.js → TaskVerificationStatus-Br7t30ur.js} +1 -1
  76. package/dist/{TaxInformationFieldGroup-BBASFehB.js → TaxInformationFieldGroup-BiNe6-D4.js} +68 -111
  77. package/dist/{TaxReportingDropin-BvJ-hNA-.js → TaxReportingDropin-DuZpEzKn.js} +14 -13
  78. package/dist/{TaxReportingWorkflow-BrlpMImh.js → TaxReportingWorkflow-CMhxj0jx.js} +4 -4
  79. package/dist/{TermsOfServiceManagement-B4H2Aia2.js → TermsOfServiceManagement-Cp6-BOaT.js} +38 -37
  80. package/dist/{TextArea-CAZrG_yC.js → TextArea-DD-KMQbg.js} +4 -4
  81. package/dist/{TextField-DTv1BPA3.js → TextField-Bdu0Wm6_.js} +13 -10
  82. package/dist/{TrustDetailsPage-DYXIzcxJ.js → TrustDetailsPage-IGLuJZUE.js} +30 -23
  83. package/dist/{TrustMemberCompanyPage-pvj9sHs2.js → TrustMemberCompanyPage-CNIDzOte.js} +5 -5
  84. package/dist/{TrustMemberIndividualPage-Dm4S4Vhu.js → TrustMemberIndividualPage-Q_IDqWsr.js} +3 -3
  85. package/dist/{TrustMemberRoleAndTypePage-HY6FQpRj.js → TrustMemberRoleAndTypePage-B2EtfK6g.js} +20 -20
  86. package/dist/{TrustMembersOverview-Bcs79IWP.js → TrustMembersOverview-hDVqCUbB.js} +12 -12
  87. package/dist/{UboTaskItem-BYQusWWl.js → UboTaskItem-Bt45kkQu.js} +15 -12
  88. package/dist/{UnincorporatedPartnershipIndividualPage-sBN7kPiI.js → UnincorporatedPartnershipIndividualPage-hkrLvEZw.js} +3 -3
  89. package/dist/{UnincorporatedPartnershipMemberCompanyPage-DHgq0TLx.js → UnincorporatedPartnershipMemberCompanyPage-B8e9E2t2.js} +5 -5
  90. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dx5UGEcg.js → UnincorporatedPartnershipMemberRoleAndTypePage-Rey_F44n.js} +10 -9
  91. package/dist/{UnincorporatedPartnershipMembersOverview-DxIfkkY7.js → UnincorporatedPartnershipMembersOverview-DPO8TjP4.js} +6 -6
  92. package/dist/{VerificationErrorAlert-C_qKEwHw.js → VerificationErrorAlert-Lim_NsJO.js} +3 -3
  93. package/dist/{WebsiteField-BYZAR8k8.js → WebsiteField-BLgq-_me.js} +13 -10
  94. package/dist/{Workflow-ty27ZzKS.js → Workflow-CnkirZOn.js} +11 -8
  95. package/dist/{accountHolderUtils-CVX0JkJf.js → accountHolderUtils-D6wEBsLQ.js} +2 -2
  96. package/dist/adyen-business-financing.js +56 -57
  97. package/dist/adyen-individual-configuration.js +30 -31
  98. package/dist/adyen-individual-status.js +30 -31
  99. package/dist/adyen-invited-decision-maker.js +4 -5
  100. package/dist/adyen-onboarding.js +52 -178
  101. package/dist/adyen-terms-of-service-management.js +4 -5
  102. package/dist/adyen-terms-of-service-status.js +4 -5
  103. package/dist/adyen-transfer-instrument-configuration.js +30 -31
  104. package/dist/adyen-transfer-instrument-management.js +37 -38
  105. package/dist/adyen-verification-status.js +4 -5
  106. package/dist/{arrow-right-BwP9nNDE.js → arrow-right-3zKAXB3D.js} +2 -2
  107. package/dist/{bafinUtils-DNq-JBP5.js → bafinUtils-TT8a0y7q.js} +91 -34
  108. package/dist/{bag-Cnk9dcZg.js → bag-B8b-Jb8Y.js} +2 -2
  109. package/dist/{bank-UssyP-aG.js → bank-CQrF7P3r.js} +2 -2
  110. package/dist/bg-BG-CdDdNATP.js +7 -0
  111. package/dist/{bg-BG-CmuahJEZ.js → bg-BG-g1moSV5i.js} +8 -2
  112. package/dist/{bg-BG-ClMsmcda.js → bg-BG-s01xQ0IE.js} +16 -2
  113. package/dist/{bin--Ft4cPCj.js → bin-C4Fu9PHF.js} +2 -2
  114. package/dist/{capital-BbOFhTHY.js → capital-C1L-Fbue.js} +2 -2
  115. package/dist/{cash-stack-LTzc8hQZ.js → cash-stack-BpmsCe5x.js} +2 -2
  116. package/dist/{certificate-CswNcwlI.js → certificate-CEXTu9K7.js} +2 -2
  117. package/dist/{checkmark-DH1abKZn.js → checkmark-CuqH-tPn.js} +2 -2
  118. package/dist/{checkmark-circle-VWM-JsI6.js → checkmark-circle-LpY4tMPD.js} +2 -2
  119. package/dist/{checkmark-circle-fill-AuW2DQDT.js → checkmark-circle-fill-Cp6YFYCT.js} +2 -2
  120. package/dist/{checkmark-small-B6vsnsSO.js → checkmark-small-DFtNt2po.js} +2 -2
  121. package/dist/{chevron-down-BGAMP7CF.js → chevron-down-DhQJv6Ph.js} +2 -2
  122. package/dist/{chevron-left-EjFIt8Cd.js → chevron-left-DkLDfa2Z.js} +2 -2
  123. package/dist/{chevron-right-B5zb9mkt.js → chevron-right-BZFBWefp.js} +2 -2
  124. package/dist/{chevron-up-DZiittpJ.js → chevron-up-DRtWAeDd.js} +2 -2
  125. package/dist/{circle-CygvxRY_.js → circle-KULHbBX2.js} +2 -2
  126. package/dist/{circle-small-filled-PeElhgJU.js → circle-small-filled-CcOlAzmF.js} +2 -2
  127. package/dist/{clock-CQXEE5jK.js → clock-DEbxrDAd.js} +2 -2
  128. package/dist/{coins-C7syygUR.js → coins-C0-5yKat.js} +2 -2
  129. package/dist/{constants-D2FD75EZ.js → constants-DsYpJv_6.js} +6 -17
  130. package/dist/{contract-BWEAd7e-.js → contract-B91Vhtk_.js} +2 -2
  131. package/dist/{cross-vK6qh9R0.js → cross-DX3n6F6N.js} +2 -2
  132. package/dist/{cross-circle-fill-Bxj_fgQE.js → cross-circle-fill-CrWmQTCZ.js} +2 -2
  133. package/dist/{cross-circle-fill-small-DwUKcL9P.js → cross-circle-fill-small-BnYkSjuU.js} +2 -2
  134. package/dist/cs-CZ-CQoPRxwA.js +7 -0
  135. package/dist/{cs-CZ-DUNmRoYr.js → cs-CZ-CX7RYS3J.js} +8 -2
  136. package/dist/{cs-CZ-DyLd-erd.js → cs-CZ-DfKxKCsI.js} +16 -2
  137. package/dist/{da-DK-Dhr4p-qj.js → da-DK-BrKeONXP.js} +16 -2
  138. package/dist/da-DK-CEe5TTUa.js +7 -0
  139. package/dist/{da-DK-CWWLFjfT.js → da-DK-Cs_2K6Rd.js} +8 -2
  140. package/dist/{de-DE-QDT6VVq9.js → de-DE-CaVZKsmT.js} +16 -2
  141. package/dist/{de-DE-LLIuFER0.js → de-DE-oR2bSTbA.js} +8 -2
  142. package/dist/de-DE-ut0CGES0.js +7 -0
  143. package/dist/{document-1-BPWF8zKf.js → document-1-CEBgjg1t.js} +2 -2
  144. package/dist/{document-person-DVRFNq7g.js → document-person-DO7-omhK.js} +2 -2
  145. package/dist/{download-DfdpoHdN.js → download-CG9nbHZJ.js} +2 -2
  146. package/dist/{dropinUtils-QIBtEAdk.js → dropinUtils-CZuO0w1x.js} +13 -88
  147. package/dist/{edit-1-BgVB06zI.js → edit-1-CCyg-Tid.js} +2 -2
  148. package/dist/el-GR-BEWi0DRN.js +7 -0
  149. package/dist/{el-GR-V2cZ5gjl.js → el-GR-DHA0rkvc.js} +16 -2
  150. package/dist/{el-GR-D9MFsese.js → el-GR-_mz9wRt2.js} +8 -2
  151. package/dist/{en-US-BMMx67Za.js → en-US-B7V_rOZV.js} +4 -2
  152. package/dist/en-US-BLUu-I1a.js +7 -0
  153. package/dist/en-US-BWzZpVaj.js +7 -0
  154. package/dist/{error-ChMPaOO8.js → error-DBn4_qws.js} +3 -3
  155. package/dist/es-ES-3Z6u7_Cv.js +7 -0
  156. package/dist/{es-ES-N-uqwvEU.js → es-ES-B9_eURa2.js} +8 -2
  157. package/dist/{es-ES-SsReQJzQ.js → es-ES-DsWec_oM.js} +16 -2
  158. package/dist/es-LA-BgYaYfYK.js +7 -0
  159. package/dist/{es-LA-DcnCNM5a.js → es-LA-BlWaKaxj.js} +8 -2
  160. package/dist/{es-LA-DTXCg1tj.js → es-LA-D0FhHrwN.js} +16 -2
  161. package/dist/{et-EE-Bg3WOS9m.js → et-EE-Bp9-vCYs.js} +16 -2
  162. package/dist/et-EE-CxTHKlGm.js +7 -0
  163. package/dist/{et-EE-CkJhiCVw.js → et-EE-D5kWenqz.js} +8 -2
  164. package/dist/{external-link-BbXGAtFE.js → external-link-De5M4oQX.js} +2 -2
  165. package/dist/fi-FI-BE-RoRL5.js +7 -0
  166. package/dist/{fi-FI-D0ZPYGD3.js → fi-FI-DBuyocuK.js} +8 -2
  167. package/dist/{fi-FI-B1RyWVH2.js → fi-FI-DcwOxjVV.js} +16 -2
  168. package/dist/{useIndustryCodes-La1cU8oH.js → fieldConfig-Dh_qmAto.js} +13 -2
  169. package/dist/{formatDataForSummary-GZH9C1ax.js → formatDataForSummary-oC9odBCW.js} +10 -10
  170. package/dist/{formatValidationError-C_3FU4uR.js → formatValidationError-BsRC83kl.js} +2 -2
  171. package/dist/{fr-FR-DXXrJUKC.js → fr-FR-CISoBKEC.js} +8 -2
  172. package/dist/fr-FR-Db4EY5iv.js +7 -0
  173. package/dist/{fr-FR-C3Zi7-JE.js → fr-FR-_ytHUJlx.js} +16 -2
  174. package/dist/{getDefaultRegistrationNumberType-CayCB3n0.js → getDefaultRegistrationNumberType-t926T5FG.js} +5 -4
  175. package/dist/{getTrustedDecisionMakers-DByctgob.js → getTrustedDecisionMakers-CD9uLmHi.js} +2 -2
  176. package/dist/{getValidationError-DnDzz5ju.js → getValidationError-CXILdPw6.js} +2 -2
  177. package/dist/{gift-BjS6ErNG.js → gift-BSFlM5Ut.js} +2 -2
  178. package/dist/{graph-B8rX9eXr.js → graph-DsJyeMAQ.js} +2 -2
  179. package/dist/{graph-up-Dwaq7upe.js → graph-up-NgJWuRLx.js} +2 -2
  180. package/dist/{headquarter-CXwws_UP.js → headquarter-DfM7M5jR.js} +2 -2
  181. package/dist/{hotel-CD5Lv9P7.js → hotel-rSbiYsRy.js} +2 -2
  182. package/dist/{hr-HR-BeZ1eUy7.js → hr-HR-CXYzhrLe.js} +8 -2
  183. package/dist/{hr-HR-CH9yGEPn.js → hr-HR-Cb9wbqiH.js} +16 -2
  184. package/dist/hr-HR-qvMOxoRF.js +7 -0
  185. package/dist/hu-HU-BNk4CovT.js +7 -0
  186. package/dist/{hu-HU-BhliM1LD.js → hu-HU-HetRpHop.js} +8 -2
  187. package/dist/{hu-HU-DpUG3GwC.js → hu-HU-d15vxL_S.js} +16 -2
  188. package/dist/{image-BTE2a8ZV.js → image-CMNC56qX.js} +2 -2
  189. package/dist/{info-BTc0bCCM.js → info-B41z2nKP.js} +2 -2
  190. package/dist/{info-filled-DhYinieW.js → info-filled-uHSCed8u.js} +2 -2
  191. package/dist/{useId-MW2hvVJz.js → invalidateRootLegalEntity-CnH38v8h.js} +4 -26
  192. package/dist/{it-IT-BEEsgu4Z.js → it-IT-DBatLxXf.js} +16 -2
  193. package/dist/{it-IT-BULBjWDc.js → it-IT-DUCIA7fo.js} +8 -2
  194. package/dist/it-IT-RatP9WIw.js +7 -0
  195. package/dist/ja-JP-BILx8dc7.js +7 -0
  196. package/dist/{ja-JP-BjMyxZiN.js → ja-JP-BNHFH7FM.js} +2 -2
  197. package/dist/{ja-JP-CcXk7Gcc.js → ja-JP-BRdSqCDF.js} +16 -2
  198. package/dist/{ja-JP-ByMh2iUh.js → ja-JP-CmiLlpqW.js} +8 -2
  199. package/dist/{location-CwE3Q0gg.js → location-BKdbMTik.js} +2 -2
  200. package/dist/lt-LT-CZ2yA_Km.js +7 -0
  201. package/dist/{lt-LT-CGgbFwbx.js → lt-LT-DbzhtTak.js} +16 -2
  202. package/dist/{lt-LT-CiKIZfk8.js → lt-LT-YfU6BGpp.js} +8 -2
  203. package/dist/lv-LV-AGwJD157.js +7 -0
  204. package/dist/{lv-LV-Ck_aQ4ML.js → lv-LV-B17wL3y6.js} +16 -2
  205. package/dist/{lv-LV-u-vJn6T3.js → lv-LV-C0PK4MKA.js} +8 -2
  206. package/dist/{mail-CIeugZTd.js → mail-BRy0YL8P.js} +2 -2
  207. package/dist/{mapAddressLocalizationToJpAddressSchema-FUdkDZLN.js → mapAddressLocalizationToJpAddressSchema-D8qKuElS.js} +2 -2
  208. package/dist/{mapJpAddressSchemaToAddressLocalizations-BCNX0LPr.js → mapJpAddressSchemaToAddressLocalizations-myaH4YTR.js} +3 -3
  209. package/dist/{mapTransferInstrumentToPayoutAccount-BUKwzRyA.js → mapTransferInstrumentToPayoutAccount-Bet2QLgn.js} +2 -2
  210. package/dist/{minus-circle-filled-96DZCdcJ.js → minus-circle-filled-CLNsVzoi.js} +2 -2
  211. package/dist/{nl-NL-B8REgP66.js → nl-NL-CXeqs7dv.js} +8 -2
  212. package/dist/{nl-NL-_hbzuQ0h.js → nl-NL-CfQsmGB5.js} +16 -2
  213. package/dist/nl-NL-DNXcBpml.js +7 -0
  214. package/dist/{no-NO-B_ijkAtf.js → no-NO-B1dqTSiS.js} +16 -2
  215. package/dist/{no-NO-vasSCJdc.js → no-NO-C2sdKw0r.js} +8 -2
  216. package/dist/no-NO-vY4nfY9g.js +7 -0
  217. package/dist/{options-horizontal-BU9r-Xx3.js → options-horizontal-CRXmLqnK.js} +2 -2
  218. package/dist/{partner-C1SWc0pB.js → partner-cWS5lNgW.js} +2 -2
  219. package/dist/{pay-by-link-plane-xK4Zkol0.js → pay-by-link-plane-BAhi6LNR.js} +2 -2
  220. package/dist/{payout-zGf0LNbo.js → payout-3fsBXC47.js} +2 -2
  221. package/dist/{person-xTKhpEGR.js → person-Uffsnqkd.js} +2 -2
  222. package/dist/{pl-PL-wpXnySZL.js → pl-PL-BD5OF888.js} +8 -2
  223. package/dist/{pl-PL-u6DrL8IY.js → pl-PL-DSwjmRZS.js} +16 -2
  224. package/dist/pl-PL-KmUtZ6lq.js +7 -0
  225. package/dist/{plus-Cm_dWRpB.js → plus-CPdn1NyG.js} +2 -2
  226. package/dist/{plus-circle-filled-Df77eidx.js → plus-circle-filled-DN0LL-qV.js} +2 -2
  227. package/dist/{processValidationErrors-BtJpzvvf.js → processValidationErrors-B-A5EFGo.js} +3 -3
  228. package/dist/{pt-BR-C5d5CGRt.js → pt-BR-DEBXxRwN.js} +8 -2
  229. package/dist/{pt-BR-CPS77pGy.js → pt-BR-_3W6lRmq.js} +16 -2
  230. package/dist/pt-BR-tQCWRhmf.js +7 -0
  231. package/dist/{pt-PT-B6OslB_S.js → pt-PT-BLpMJNOh.js} +8 -2
  232. package/dist/{pt-PT-DIKqQR6V.js → pt-PT-BUEnW3xZ.js} +16 -2
  233. package/dist/pt-PT-ZNVCYAr4.js +7 -0
  234. package/dist/{recurring-BfwVHJ2Z.js → recurring-CMo7EaV-.js} +2 -2
  235. package/dist/{resolveEnvironment-A2E4srza.js → registerEmbed-CZDAZwKX.js} +106 -46
  236. package/dist/{revenue-accelerate-ClN0cx7Z.js → revenue-accelerate-BkzY3gMh.js} +2 -2
  237. package/dist/{ro-RO-Cg1nG9ns.js → ro-RO-B4LyC5yt.js} +16 -2
  238. package/dist/{ro-RO-dG27cZbT.js → ro-RO-CHA0yVBc.js} +8 -2
  239. package/dist/ro-RO-DDdUFz6E.js +7 -0
  240. package/dist/{roleMetadata-BFD8qjDC.js → roleMetadata-DR0IBuky.js} +3 -3
  241. package/dist/{save-QK2A-teG.js → save-B1AE8MD9.js} +2 -2
  242. package/dist/{search-DVSyT7Q7.js → search-7HzLTqcY.js} +2 -2
  243. package/dist/{show-BRWLIRSA.js → show-DWurwnTZ.js} +2 -2
  244. package/dist/{sk-SK-Woc9AmiO.js → sk-SK-CI_QfG7S.js} +8 -2
  245. package/dist/{sk-SK-CRfiVN3e.js → sk-SK-CLhssOsk.js} +16 -2
  246. package/dist/sk-SK-DdDdEYiT.js +7 -0
  247. package/dist/{sl-SI-C03fXovT.js → sl-SI-DtZuFHYG.js} +8 -2
  248. package/dist/{sl-SI-Dpr3StsS.js → sl-SI-QgSjXf-1.js} +16 -2
  249. package/dist/sl-SI-vefne3eU.js +7 -0
  250. package/dist/{solution-payments-BZZceFVV.js → solution-payments-DhmPJwd_.js} +2 -2
  251. package/dist/{store-DLKKLXhn.js → store-fpEz2G1Q.js} +2 -2
  252. package/dist/style.css +184 -169
  253. package/dist/styles-DYaAeu4q.js +184 -169
  254. package/dist/{sv-SE-D5eIbgkk.js → sv-SE-B5pp1e_g.js} +8 -2
  255. package/dist/{sv-SE-CH4wMrUZ.js → sv-SE-BJgBNvRa.js} +16 -2
  256. package/dist/sv-SE-DIDlUvzM.js +7 -0
  257. package/dist/tanstackValidation-BgAM9eKo.js +20 -0
  258. package/dist/{terminal-1-CpAyEdjO.js → terminal-1-6ggvAFrO.js} +2 -2
  259. package/dist/types/adaptiveWorkflow/component-registry.d.ts +6 -6
  260. package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxInformationFieldGroup.d.ts +2 -2
  261. package/dist/types/adaptiveWorkflow/components/Layout/ComponentGroup/ComponentGroup.d.ts +1 -1
  262. package/dist/types/adaptiveWorkflow/components/Layout/DynamicForm/DynamicForm.d.ts +1 -1
  263. package/dist/types/adaptiveWorkflow/components/Layout/Steps/Step/Step.d.ts +1 -1
  264. package/dist/types/adaptiveWorkflow/components/Layout/Task/Task.d.ts +1 -1
  265. package/dist/types/adaptiveWorkflow/components/Layout/TaskGroup/TaskGroup.d.ts +1 -1
  266. package/dist/types/adaptiveWorkflow/components/Layout/UboTaskItem/UboTaskItem.d.ts +1 -1
  267. package/dist/types/adaptiveWorkflow/components/Layout/Workflow/Workflow.d.ts +1 -1
  268. package/dist/types/adaptiveWorkflow/components/NodeRenderer/CompoundFieldRenderer.d.ts +2 -2
  269. package/dist/types/adaptiveWorkflow/components/NodeRenderer/LayoutRenderer.d.ts +1 -1
  270. package/dist/types/adaptiveWorkflow/components/NodeRenderer/NodeRenderer.d.ts +11 -11
  271. package/dist/types/adaptiveWorkflow/components/NodeRenderer/SimpleFieldRenderer.d.ts +1 -1
  272. package/dist/types/adaptiveWorkflow/components/NodeRenderer/SpecializedStepRenderer.d.ts +1 -1
  273. package/dist/types/adaptiveWorkflow/utils/deriveNodeState.d.ts +10 -0
  274. package/dist/types/adaptiveWorkflow/utils/tanstackValidation.d.ts +14 -0
  275. package/dist/types/adaptiveWorkflow/utils/utils.d.ts +2 -3
  276. package/dist/types/api/adaptive/adaptiveWorkflow.types.d.ts +71 -12
  277. package/dist/types/api/draft/useCreateDraft.d.ts +3 -0
  278. package/dist/types/api/draft/useGetDraft.d.ts +5 -0
  279. package/dist/types/api/draft/useUpdateDraft.d.ts +3 -0
  280. package/dist/types/api/queryKeys.d.ts +2 -1
  281. package/dist/types/components/Business/hooks/useSubmitBusinessDetails.d.ts +1 -1
  282. package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +21 -5
  283. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +27 -27
  284. package/dist/types/components/GlobalEntry/fields/DbaQuestionnaire/types.d.ts +1 -1
  285. package/dist/types/components/GlobalEntry/fields/PrimaryPartnerTypeField/PrimaryPartnerTypeField.d.ts +1 -1
  286. package/dist/types/components/GlobalEntry/fields/PrimaryPartnerTypeField/types.d.ts +3 -1
  287. package/dist/types/components/GlobalEntry/fields/SingpassSelectionCTA/SingpassSelectionCTA.d.ts +6 -0
  288. package/dist/types/components/GlobalEntry/forms/RegistrationInformation/RegistrationInformation.d.ts +3 -2
  289. package/dist/types/components/GlobalEntry/rules.d.ts +1 -1
  290. package/dist/types/components/GlobalEntry/tasks/GlobalEntry.d.ts +2 -1
  291. package/dist/types/components/GlobalEntry/utils/utils.d.ts +9 -0
  292. package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
  293. package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -0
  294. package/dist/types/components/Shared/SaveForLater/SaveForLaterButton.d.ts +8 -0
  295. package/dist/types/components/Shared/SaveForLater/draftMetadata.d.ts +24 -0
  296. package/dist/types/components/Shared/SaveForLater/useSaveForLater.d.ts +32 -0
  297. package/dist/types/components/Shared/devex/DebugListener/DebugThemeEditor.d.ts +10 -0
  298. package/dist/types/components/Shared/devex/DebugListener/customTheme.d.ts +20 -8
  299. package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +11 -0
  300. package/dist/types/components/Shared/fields/TaxInformationField/utils.d.ts +18 -1
  301. package/dist/types/components/Shared/forms/Address/rules.d.ts +10 -1
  302. package/dist/types/components/Shared/forms/Address/utils.d.ts +2 -2
  303. package/dist/types/context/ToggleContext/types.d.ts +16 -4
  304. package/dist/types/core/EmbedShell/themeMode.d.ts +12 -0
  305. package/dist/types/core/registerEmbed/registerEmbed.d.ts +12 -0
  306. package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +1 -1
  307. package/dist/types/utils/deepMerge.d.ts +1 -0
  308. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  309. package/dist/{types-DVMWWwBT.js → types-CP3D_hFv.js} +1 -1
  310. package/dist/{unincorporatedPartnership-7X9o2wKi.js → unincorporatedPartnership-B5pKn0gl.js} +2 -2
  311. package/dist/{upload-BI7LKlDm.js → upload-DF1deAl3.js} +2 -2
  312. package/dist/{useBusinessDetailsData-Cs15bK0B.js → useBusinessDetailsData-CPzTltvn.js} +205 -152
  313. package/dist/{useCanSeeIntroduction-DzYOn-jJ.js → useCanSeeIntroduction-Cnuh14Cr.js} +3 -3
  314. package/dist/{useForm-CPOxg890.js → useForm-B2fQ78Se.js} +3 -3
  315. package/dist/{useHideTaskStepper-Betx9MGy.js → useHideTaskStepper-DvHXw3zd.js} +1 -1
  316. package/dist/{Modal-afeMXOOn.js → useId-AzWxLa17.js} +27 -5
  317. package/dist/{useNavigate-C9pHkW9F.js → useNavigate-Bx6F2ghI.js} +33 -33
  318. package/dist/{useSalesChannels-D2UblAHt.js → useSalesChannels-Db_8bYBY.js} +2 -2
  319. package/dist/useSaveForLater-BQio20Zg.js +200 -0
  320. package/dist/{useTaskLandedEvent-B_GbpCRR.js → useTaskLandedEvent-DdeWh_nV.js} +2 -2
  321. package/dist/{useTrustMembers-bzYJw-8r.js → useTrustMembers-CqeR9IVN.js} +2 -2
  322. package/dist/{useUnincorporatedPartnershipMembers-CM8pXQIa.js → useUnincorporatedPartnershipMembers-WOJzF2NV.js} +2 -2
  323. package/dist/{utils-DTuKY6NW.js → utils-8yLC-qJv.js} +2 -2
  324. package/dist/{utils-Dpvxf5_a.js → utils-AnusXLKP.js} +2 -2
  325. package/dist/{utils-B5D6FxHi.js → utils-BfA0Rrku.js} +3 -4
  326. package/dist/{validate-DEqWFrmE.js → validate-Bcw1m17m.js} +4 -4
  327. package/dist/{validate-D0s1xnXY.js → validate-Bf1SBTiG.js} +3 -3
  328. package/dist/{validate-CIG89n0Q.js → validate-CxL6_omc.js} +2 -2
  329. package/dist/{validate-DCrnvbfv.js → validate-DSR31SH8.js} +9 -9
  330. package/dist/{validateExtractionResult-D3AuQo5-.js → validateExtractionResult-BD0Vu-XF.js} +2 -2
  331. package/dist/{warning-circle-fill-ClFvGo5m.js → warning-circle-fill-tyigXMGG.js} +2 -2
  332. package/dist/{warning-diamond-filled-CWyKR65i.js → warning-diamond-filled-uHVDhfcX.js} +2 -2
  333. package/dist/{webinar-DWX7Z5Wz.js → webinar-C70iLMbf.js} +2 -2
  334. package/package.json +5 -5
  335. package/dist/Icon-jVvV1zXc.js +0 -175
  336. package/dist/bg-BG-Cdrkwxmc.js +0 -7
  337. package/dist/cs-CZ-DpiH1UkS.js +0 -7
  338. package/dist/da-DK-B-BJLcqw.js +0 -7
  339. package/dist/de-DE-BxTGFyOs.js +0 -7
  340. package/dist/el-GR-IQwyd9ws.js +0 -7
  341. package/dist/en-US-8KLaHQaT.js +0 -7
  342. package/dist/en-US-DPr5RN3e.js +0 -7
  343. package/dist/es-ES-Cg2IadcX.js +0 -7
  344. package/dist/es-LA-DvMpG4FP.js +0 -7
  345. package/dist/et-EE-eGeytyQh.js +0 -7
  346. package/dist/fi-FI-C02wZfgW.js +0 -7
  347. package/dist/fr-FR-CE7k9H5_.js +0 -7
  348. package/dist/hr-HR-B12DcJ3l.js +0 -7
  349. package/dist/hu-HU-cosbDuos.js +0 -7
  350. package/dist/it-IT-CiKoOxzk.js +0 -7
  351. package/dist/ja-JP-D7PEVMmT.js +0 -7
  352. package/dist/lt-LT-C2oxTakB.js +0 -7
  353. package/dist/lv-LV-C_KVkpid.js +0 -7
  354. package/dist/nl-NL-CwNBy0Ku.js +0 -7
  355. package/dist/no-NO-VqkeNhzB.js +0 -7
  356. package/dist/pl-PL-Bp218jDD.js +0 -7
  357. package/dist/pt-BR-CPbFPNwq.js +0 -7
  358. package/dist/pt-PT-Bz39smeX.js +0 -7
  359. package/dist/ro-RO-jNItoBZk.js +0 -7
  360. package/dist/sk-SK-CsSqXqf_.js +0 -7
  361. package/dist/sl-SI-PRqWis0E.js +0 -7
  362. package/dist/sv-SE-Dv-rMOdB.js +0 -7
  363. package/dist/types/adaptiveWorkflow/components/types.d.ts +0 -50
@@ -1,13 +1,13 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2447961d-6711-42da-a725-62de68dd2d7c", e._sentryDebugIdIdentifier = "sentry-dbid-2447961d-6711-42da-a725-62de68dd2d7c");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "953ec875-023d-4b41-b088-de2e72b61a88", e._sentryDebugIdIdentifier = "sentry-dbid-953ec875-023d-4b41-b088-de2e72b61a88");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { r as InputBase } from "./InputText-BwXmy0Yr.js";
7
- import { o as Field } from "./Select-DPJ8234F.js";
6
+ import { a as InputBase } from "./RadioGroup-SDQSOsEf.js";
7
+ import { o as Field } from "./Select-DtO-GvLp.js";
8
8
  import { t as checkDateInputSupport } from "./InputDate.utils-D4Ov0KIl.js";
9
9
  import { n as withForm } from "./formHook-Dgi2CgbT.js";
10
- import { t as getValidationError } from "./getValidationError-DnDzz5ju.js";
10
+ import { t as getValidationError } from "./getValidationError-CXILdPw6.js";
11
11
  import { t as isNotEmpty } from "./sharedValidators-DODW7kuK.js";
12
12
  import { useMemo } from "preact/hooks";
13
13
  import { jsx } from "preact/jsx-runtime";
@@ -26,22 +26,24 @@ var contextMap = { birthDate: {
26
26
  //#region src/adaptiveWorkflow/components/Shared/Fields/DateField/DateField.tsx
27
27
  var DateField = withForm({
28
28
  props: {},
29
- render: function DateFieldRender({ form, node }) {
29
+ render: function DateFieldRender({ form, node, disabled }) {
30
+ const { id, path } = node;
30
31
  const { t } = useTranslation("common");
31
- const { label, helperText, validators } = contextMap[node.id] || {};
32
+ const { label, helperText, validators } = contextMap[id] || {};
32
33
  const isDateInputSupported = useMemo(checkDateInputSupport, []);
33
34
  return /* @__PURE__ */ jsx(form.Field, {
34
- name: node.path,
35
+ name: path,
35
36
  validators: {
36
37
  onBlur: ({ value }) => getValidationError(validators?.blur, value, t),
37
38
  onChange: ({ value }) => getValidationError(validators?.change, value, t)
38
39
  },
39
40
  children: (field) => {
40
41
  return /* @__PURE__ */ jsx(Field, {
41
- name: node.id,
42
- label: label ? t(($) => $[label]) : node.id,
42
+ name: id,
43
+ label: label ? t(($) => $[label]) : id,
43
44
  helper: helperText && t(($) => $[helperText]),
44
45
  isValid: !field.state.meta.errors.length,
46
+ disabled,
45
47
  errorMessage: field.state.meta.errors.length ? {
46
48
  key: field.state.meta.errors[0],
47
49
  message: field.state.meta.errors[0]
@@ -52,6 +54,7 @@ var DateField = withForm({
52
54
  type: "date",
53
55
  "aria-required": true,
54
56
  value: field.state.value,
57
+ disabled,
55
58
  onBlur: field.handleBlur,
56
59
  onInput: (e) => field.handleChange(e.currentTarget.value)
57
60
  }) : /* @__PURE__ */ jsx(InputBase, {
@@ -59,6 +62,7 @@ var DateField = withForm({
59
62
  type: "text",
60
63
  "aria-required": true,
61
64
  value: field.state.value,
65
+ disabled,
62
66
  onBlur: field.handleBlur,
63
67
  onInput: (e) => field.handleChange(e.currentTarget.value),
64
68
  maxLength: 10
@@ -1,23 +1,24 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "883ce99e-f35f-43d0-be0e-f6bcedfe0ada", e._sentryDebugIdIdentifier = "sentry-dbid-883ce99e-f35f-43d0-be0e-f6bcedfe0ada");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f269bec1-eedf-4536-8838-71c43c78545e", e._sentryDebugIdIdentifier = "sentry-dbid-f269bec1-eedf-4536-8838-71c43c78545e");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { I as listToRecord, N as ExperimentNames, P as FeatureNames, i as useGlobalStore, l as splitTaskIdentifier } from "./resolveEnvironment-A2E4srza.js";
6
+ import { F as ExperimentNames, I as FeatureNames, R as listToRecord, d as splitTaskIdentifier, o as useGlobalStore } from "./registerEmbed-CZDAZwKX.js";
7
7
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
8
- import { t as Icon } from "./Icon-jVvV1zXc.js";
9
- import { t as Button } from "./Button-BYafPrZH.js";
8
+ import { t as Icon } from "./Icon-D2IGgB2L.js";
9
+ import { t as Button } from "./Button-EhGM-oCO.js";
10
10
  import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
11
11
  import { c as valuesOf, o as entriesOf } from "./genUtils-nphCwt1A.js";
12
- import { t as TaskVerificationStatus } from "./TaskVerificationStatus-C1CllzL1.js";
13
- import { t as Accordion } from "./Accordion-CTQfC17W.js";
14
- import { i as useToggleContext, t as Checkbox } from "./Checkbox-CEkD-Lpm.js";
15
- import { t as Modal } from "./Modal-afeMXOOn.js";
16
- import { a as SettingNames, i as formDebugInfo, t as InputText } from "./InputText-BwXmy0Yr.js";
12
+ import { t as TaskVerificationStatus } from "./TaskVerificationStatus-Br7t30ur.js";
13
+ import { t as Accordion } from "./Accordion-DyU-Pxob.js";
14
+ import { i as useToggleContext, t as Checkbox } from "./Checkbox-Ec4wyyJQ.js";
15
+ import { n as Modal } from "./useId-AzWxLa17.js";
16
+ import { o as formDebugInfo, r as InputText, s as SettingNames, t as RadioGroup } from "./RadioGroup-SDQSOsEf.js";
17
17
  import { t as Tag } from "./Tag-CNeDHqKp.js";
18
- import { useMemo, useState } from "preact/hooks";
18
+ import { useEffect, useMemo, useRef, useState } from "preact/hooks";
19
19
  import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
20
20
  import MonogonCode from "monogon/preact";
21
+ import "monogon";
21
22
  var Tabs_module_default = { tabs: "_tabs_d0c44_1" };
22
23
  //#endregion
23
24
  //#region src/components/ui/molecules/Tabs/Tabs.tsx
@@ -291,8 +292,16 @@ var ROUNDNESS_VALUES = [
291
292
  var THEME_KEYS = [...COLOR_KEYS, "roundness"];
292
293
  /** Matches the hex color formats `ThemeGenerator` accepts; anything else throws inside the embed. */
293
294
  var HEX_COLOR_REGEX = /^#(?:[0-9a-f]{3}|[0-9a-f]{6})$/i;
294
- /** Example theme used to prefill the debug Theme tab, mirrors the "Adyen" playground preset. */
295
- var EXAMPLE_CUSTOM_THEME = {
295
+ var THEME_MODES = [
296
+ "light",
297
+ "dark",
298
+ "system"
299
+ ];
300
+ /**
301
+ * Example themes used to prefill the debug Theme tab, they mirror the "Adyen"
302
+ * playground preset: the same brand color with a palette per theme mode.
303
+ */
304
+ var EXAMPLE_LIGHT_THEME = {
296
305
  primary: "#0abf53",
297
306
  background: "#ffffff",
298
307
  neutral: "#f2f4f7",
@@ -300,6 +309,14 @@ var EXAMPLE_CUSTOM_THEME = {
300
309
  outline: "#c8ccd0",
301
310
  roundness: "medium"
302
311
  };
312
+ var EXAMPLE_DARK_THEME = {
313
+ primary: "#0abf53",
314
+ background: "#001122",
315
+ neutral: "#0e2a47",
316
+ label: "#ffffff",
317
+ outline: "#33506e",
318
+ roundness: "medium"
319
+ };
303
320
  /**
304
321
  * Parses and validates a theme object entered as JSON in the debug Theme tab.
305
322
  * Validation mirrors what `ThemeGenerator` accepts, so an applied theme can never
@@ -335,26 +352,37 @@ var parseCustomThemeInput = (input) => {
335
352
  return { theme: customTheme };
336
353
  };
337
354
  var getOnboardingElement = () => document.querySelector("adyen-onboarding");
355
+ var initialThemeMode;
356
+ var getInitialThemeMode = () => initialThemeMode ?? getEmbedThemeMode();
357
+ /** Reads the embed's current `thememode`, `'light'` when it is unset or unknown. */
358
+ var getEmbedThemeMode = () => {
359
+ const thememode = getOnboardingElement()?.thememode;
360
+ const mode = typeof thememode === "string" && THEME_MODES.includes(thememode) ? thememode : "light";
361
+ initialThemeMode ??= mode;
362
+ return mode;
363
+ };
364
+ var resolveSystemThemeMode = () => window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
338
365
  /** Reads the custom theme currently set on the embed, if any. */
339
366
  var getAppliedCustomTheme = () => {
340
367
  const customtheme = getOnboardingElement()?.customtheme;
341
368
  return typeof customtheme === "object" && customtheme !== null ? customtheme : void 0;
342
369
  };
343
370
  /**
344
- * Applies the theme by setting the `customtheme` DOM property on the embed element.
345
- * `preact-custom-element` re-renders the embed with the new prop, and `useTheme`
346
- * regenerates the SDK's CSS variables from it.
371
+ * Applies the theme by setting the `customtheme` DOM property on the embed element
372
+ *
373
+ * `preact-custom-element` re-renders the embed after each property change, and
374
+ * `useTheme` regenerates the SDK's CSS variables from the final pairing.
347
375
  *
348
376
  * @returns Whether an embed element was found and updated.
349
377
  */
350
- var applyCustomTheme = (theme) => {
378
+ var applyCustomTheme = (theme, mode) => {
351
379
  const element = getOnboardingElement();
352
380
  if (!element) return false;
381
+ element.thememode = mode;
353
382
  element.customtheme = theme;
354
383
  return true;
355
384
  };
356
385
  /**
357
- * Removes the custom theme by clearing the `customtheme` DOM property.
358
386
  *
359
387
  * `preact-custom-element` reflects the cleared property as an attribute holding
360
388
  * the string "undefined", which would re-render the embed with a truthy string.
@@ -368,122 +396,139 @@ var resetCustomTheme = () => {
368
396
  if (!element) return false;
369
397
  element.customtheme = void 0;
370
398
  element.removeAttribute("customtheme");
399
+ element.thememode = getInitialThemeMode();
371
400
  return true;
372
401
  };
373
402
  var DebugTheme_module_default = {
374
- themeTab: "_themeTab_1e5pb_1",
375
- description: "_description_1e5pb_8",
376
- warning: "_warning_1e5pb_12",
377
- label: "_label_1e5pb_17",
378
- themeInput: "_themeInput_1e5pb_21",
379
- hint: "_hint_1e5pb_33",
380
- actions: "_actions_1e5pb_39",
381
- error: "_error_1e5pb_44",
382
- success: "_success_1e5pb_49"
403
+ themeTab: "_themeTab_1nndo_1",
404
+ modeSelector: "_modeSelector_1nndo_8",
405
+ modeSelectorLabel: "_modeSelectorLabel_1nndo_14",
406
+ editor: "_editor_1nndo_18",
407
+ actions: "_actions_1nndo_27",
408
+ error: "_error_1nndo_32"
409
+ };
410
+ //#endregion
411
+ //#region src/components/Shared/devex/DebugListener/DebugThemeEditor.tsx
412
+ /** The theme editor of the debug Theme tab, showing the draft of the selected theme mode. */
413
+ var DebugThemeEditor = ({ themeInput, error, onInput, onApply }) => {
414
+ const editorRef = useRef(null);
415
+ /**
416
+ * Keep the editor uncontrolled while typing: `monogon-code` rebuilds and re-highlights
417
+ * its whole content whenever its `content` attribute is written, so keystrokes are only
418
+ * mirrored into state, never fed back into the element. Its content is written here only
419
+ * for programmatic changes — prefill on mount, switching to the other mode's draft, or a
420
+ * reset — when the live value differs from the draft that should be shown.
421
+ */
422
+ useEffect(() => {
423
+ const editor = editorRef.current;
424
+ if (editor && editor.value !== themeInput) editor.setAttribute("content", themeInput);
425
+ }, [themeInput]);
426
+ return /* @__PURE__ */ jsxs("section", {
427
+ className: DebugTheme_module_default.editor,
428
+ children: [
429
+ /* @__PURE__ */ jsx("monogon-code", {
430
+ content: "",
431
+ lang: "json",
432
+ ref: editorRef,
433
+ onInput: (event) => {
434
+ onInput(event.currentTarget.value);
435
+ },
436
+ style: "min-height: 14em;"
437
+ }),
438
+ /* @__PURE__ */ jsx(Button, {
439
+ fullWidth: true,
440
+ onClick: onApply,
441
+ children: "Apply"
442
+ }),
443
+ error ? /* @__PURE__ */ jsx("p", {
444
+ className: DebugTheme_module_default.error,
445
+ children: error
446
+ }) : void 0
447
+ ]
448
+ });
383
449
  };
384
450
  //#endregion
385
451
  //#region src/components/Shared/devex/DebugListener/DebugTheme.tsx
386
- var NO_EMBED_MESSAGE = "No adyen-onboarding element found on this page, the theme cannot be applied.";
452
+ var MODE_SELECTOR_ITEMS = [{
453
+ id: "light",
454
+ name: "Light"
455
+ }, {
456
+ id: "dark",
457
+ name: "Dark"
458
+ }];
459
+ var getInitialSelectedMode = () => {
460
+ const embedThemeMode = getEmbedThemeMode();
461
+ return embedThemeMode === "system" ? resolveSystemThemeMode() : embedThemeMode;
462
+ };
387
463
  /** DebugTheme's code is AI-generated. TODO: Refactor or delete if this stays */
388
464
  var DebugTheme = () => {
389
- const [themeInput, setThemeInput] = useState(() => JSON.stringify(getAppliedCustomTheme() ?? EXAMPLE_CUSTOM_THEME, null, 2));
390
- const [feedback, setFeedback] = useState();
391
- const embedElementFound = Boolean(getOnboardingElement());
465
+ const [themeInputs, setThemeInputs] = useState(() => {
466
+ const embedThemeMode = getEmbedThemeMode();
467
+ const appliedTheme = getAppliedCustomTheme();
468
+ return {
469
+ light: JSON.stringify(appliedTheme && embedThemeMode !== "dark" ? appliedTheme : EXAMPLE_LIGHT_THEME, null, 2),
470
+ dark: JSON.stringify(appliedTheme && embedThemeMode === "dark" ? appliedTheme : EXAMPLE_DARK_THEME, null, 2)
471
+ };
472
+ });
473
+ /** Theme mode whose draft the editor shows, and what Apply targets. */
474
+ const [selectedMode, setSelectedMode] = useState(getInitialSelectedMode);
475
+ const [error, setError] = useState();
476
+ const handleInput = (themeInput) => {
477
+ setThemeInputs((previous) => ({
478
+ ...previous,
479
+ [selectedMode]: themeInput
480
+ }));
481
+ setError(void 0);
482
+ };
392
483
  const handleApplyTheme = () => {
393
- const { theme, error } = parseCustomThemeInput(themeInput);
484
+ const { theme, error } = parseCustomThemeInput(themeInputs[selectedMode]);
394
485
  if (error || !theme) {
395
- setFeedback({
396
- type: "error",
397
- message: error ?? "Unknown error"
398
- });
486
+ setError(error ?? "Unknown error");
399
487
  return;
400
488
  }
401
- if (!applyCustomTheme(theme)) {
402
- setFeedback({
403
- type: "error",
404
- message: NO_EMBED_MESSAGE
405
- });
406
- return;
407
- }
408
- setFeedback({
409
- type: "success",
410
- message: "Custom theme applied."
411
- });
489
+ applyCustomTheme(theme, selectedMode);
412
490
  };
413
491
  const handleResetTheme = () => {
414
- if (!resetCustomTheme()) {
415
- setFeedback({
416
- type: "error",
417
- message: NO_EMBED_MESSAGE
418
- });
419
- return;
420
- }
421
- setThemeInput(JSON.stringify(EXAMPLE_CUSTOM_THEME, null, 2));
422
- setFeedback({
423
- type: "success",
424
- message: "Custom theme reset, back to the default theme."
492
+ resetCustomTheme();
493
+ setThemeInputs({
494
+ light: JSON.stringify(EXAMPLE_LIGHT_THEME, null, 2),
495
+ dark: JSON.stringify(EXAMPLE_DARK_THEME, null, 2)
425
496
  });
497
+ setError(void 0);
426
498
  };
427
499
  return /* @__PURE__ */ jsxs("div", {
428
500
  className: DebugTheme_module_default.themeTab,
429
501
  children: [
430
- /* @__PURE__ */ jsxs("p", {
431
- className: DebugTheme_module_default.description,
432
- children: [
433
- "Dogfood the experimental ",
434
- /* @__PURE__ */ jsx("code", { children: "customtheme" }),
435
- " prop of the",
436
- " ",
437
- /* @__PURE__ */ jsx("code", { children: "<adyen-onboarding>" }),
438
- " element: the JSON below is validated and set as its",
439
- " ",
440
- /* @__PURE__ */ jsx("code", { children: "customtheme" }),
441
- " DOM property, which re-renders the embed and regenerates the SDK theme immediately."
442
- ]
443
- }),
444
- embedElementFound ? void 0 : /* @__PURE__ */ jsx("p", {
445
- className: DebugTheme_module_default.warning,
446
- children: NO_EMBED_MESSAGE
447
- }),
448
- /* @__PURE__ */ jsx("label", {
449
- className: DebugTheme_module_default.label,
450
- htmlFor: "debug-custom-theme-input",
451
- children: "Custom theme object (JSON)"
452
- }),
453
- /* @__PURE__ */ jsx("textarea", {
454
- id: "debug-custom-theme-input",
455
- className: DebugTheme_module_default.themeInput,
456
- rows: 10,
457
- spellcheck: false,
458
- "aria-invalid": feedback?.type === "error",
459
- "aria-describedby": feedback ? "debug-custom-theme-feedback" : void 0,
460
- value: themeInput,
461
- onInput: (event) => {
462
- setThemeInput(event.currentTarget.value);
463
- setFeedback(void 0);
464
- }
502
+ /* @__PURE__ */ jsxs("div", {
503
+ className: DebugTheme_module_default.modeSelector,
504
+ children: [/* @__PURE__ */ jsx("span", {
505
+ className: DebugTheme_module_default.modeSelectorLabel,
506
+ children: "Editing"
507
+ }), /* @__PURE__ */ jsx(RadioGroup, {
508
+ horizontal: true,
509
+ items: MODE_SELECTOR_ITEMS,
510
+ name: "debug-theme-mode",
511
+ value: selectedMode,
512
+ onChange: (mode) => {
513
+ setSelectedMode(mode);
514
+ setError(void 0);
515
+ }
516
+ })]
465
517
  }),
466
- /* @__PURE__ */ jsx("p", {
467
- className: DebugTheme_module_default.hint,
468
- children: "Supported keys: primary, outline, neutral, background, label (hex colors like #0abf53) and roundness (small, medium or large)."
518
+ /* @__PURE__ */ jsx(DebugThemeEditor, {
519
+ error,
520
+ onApply: handleApplyTheme,
521
+ onInput: handleInput,
522
+ themeInput: themeInputs[selectedMode]
469
523
  }),
470
- /* @__PURE__ */ jsxs("div", {
524
+ /* @__PURE__ */ jsx("div", {
471
525
  className: DebugTheme_module_default.actions,
472
- children: [/* @__PURE__ */ jsx(Button, {
473
- onClick: handleApplyTheme,
474
- children: "Apply theme"
475
- }), /* @__PURE__ */ jsx(Button, {
526
+ children: /* @__PURE__ */ jsx(Button, {
476
527
  variant: "tertiary",
477
528
  onClick: handleResetTheme,
478
529
  children: "Reset to default"
479
- })]
480
- }),
481
- feedback ? /* @__PURE__ */ jsxs("p", {
482
- id: "debug-custom-theme-feedback",
483
- className: feedback.type === "error" ? DebugTheme_module_default.error : DebugTheme_module_default.success,
484
- role: feedback.type === "error" ? "alert" : "status",
485
- children: [feedback.type === "success" ? /* @__PURE__ */ jsx(Icon, { name: "check" }) : void 0, feedback.message]
486
- }) : void 0
530
+ })
531
+ })
487
532
  ]
488
533
  });
489
534
  };
@@ -559,7 +604,7 @@ var DebugModal = ({ onExit }) => {
559
604
  const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
560
605
  const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
561
606
  const metadata = {
562
- sdkVersion: "4.27.0",
607
+ sdkVersion: "4.28.0-beta.0",
563
608
  locale: i18n.language,
564
609
  rootLegalEntityId: rootLegalEntity.id
565
610
  };
@@ -1,34 +1,34 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f8e60ed4-84d1-41ca-874a-f9fc673d10e0", e._sentryDebugIdIdentifier = "sentry-dbid-f8e60ed4-84d1-41ca-874a-f9fc673d10e0");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "aa8b8d7f-138d-4a21-a3a6-c909f1b72ba1", e._sentryDebugIdIdentifier = "sentry-dbid-aa8b8d7f-138d-4a21-a3a6-c909f1b72ba1");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { C as Alert } from "./resolveEnvironment-A2E4srza.js";
6
+ import { T as Alert } from "./registerEmbed-CZDAZwKX.js";
7
7
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
8
8
  import { t as Loader } from "./Loader-BDaKGf77.js";
9
- import { t as Button } from "./Button-BYafPrZH.js";
9
+ import { t as Button } from "./Button-EhGM-oCO.js";
10
10
  import { n as httpGet, r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
11
11
  import { r as useLegalEntity } from "./useLegalEntity-CxeMoCm4.js";
12
12
  import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
13
13
  import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
14
14
  import { i as noop } from "./genUtils-nphCwt1A.js";
15
15
  import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
16
- import { t as TaskVerificationStatus } from "./TaskVerificationStatus-C1CllzL1.js";
16
+ import { t as TaskVerificationStatus } from "./TaskVerificationStatus-Br7t30ur.js";
17
17
  import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
18
18
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
19
19
  import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
20
20
  import { t as Scenarios } from "./scenarios-nibtmpSb.js";
21
- import { i as useToggleContext } from "./Checkbox-CEkD-Lpm.js";
22
- import { i as useAnalyticsContext, t as Modal } from "./Modal-afeMXOOn.js";
23
- import { t as ListItem } from "./ListItem-n927geYb.js";
24
- import { r as useToastContext } from "./useId-MW2hvVJz.js";
25
- import { o as StructuredList, s as Confirm } from "./utils-B5D6FxHi.js";
26
- import { t as getIdNowMissingDataPoints } from "./bafinUtils-DNq-JBP5.js";
21
+ import { i as useToggleContext } from "./Checkbox-Ec4wyyJQ.js";
22
+ import { a as useAnalyticsContext, n as Modal } from "./useId-AzWxLa17.js";
23
+ import { t as ListItem } from "./ListItem-aX6AyCay.js";
24
+ import { n as useToastContext } from "./invalidateRootLegalEntity-CnH38v8h.js";
25
+ import { o as StructuredList, s as Confirm } from "./utils-BfA0Rrku.js";
26
+ import { t as getIdNowMissingDataPoints } from "./bafinUtils-TT8a0y7q.js";
27
27
  import { t as useScenarios } from "./useScenarios-DfE71fl7.js";
28
- import { l as shouldNavigateToAdditionalPersonalDetailsForMissingData, n as SummaryBulletList, r as mapLegalEntityToIndividualSchema, t as formatDataForSummary, u as useCreateInvitation } from "./formatDataForSummary-GZH9C1ax.js";
29
- import { t as SummarySection } from "./SummarySection-CLaB0E12.js";
28
+ import { l as shouldNavigateToAdditionalPersonalDetailsForMissingData, n as SummaryBulletList, r as mapLegalEntityToIndividualSchema, t as formatDataForSummary, u as useCreateInvitation } from "./formatDataForSummary-oC9odBCW.js";
29
+ import { t as SummarySection } from "./SummarySection-D91P7H2B.js";
30
30
  import { t as DetailViewLayout } from "./DetailViewLayout-DJgAzdlZ.js";
31
- import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-DByctgob.js";
31
+ import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-CD9uLmHi.js";
32
32
  import { useMemo, useState } from "preact/hooks";
33
33
  import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
34
34
  import { skipToken, useMutation, useQueries, useQuery } from "@tanstack/preact-query";
@@ -1,22 +1,22 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ef2942c8-a7fd-4780-badf-a14f34101eb1", e._sentryDebugIdIdentifier = "sentry-dbid-ef2942c8-a7fd-4780-badf-a14f34101eb1");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c34cf527-9ac4-4d77-9e14-63d594b6113b", e._sentryDebugIdIdentifier = "sentry-dbid-c34cf527-9ac4-4d77-9e14-63d594b6113b");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { M as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-A2E4srza.js";
6
+ import { P as _rolldown_dynamic_import_helper_default } from "./registerEmbed-CZDAZwKX.js";
7
7
  import { t as Loader } from "./Loader-BDaKGf77.js";
8
8
  import { r as useLegalEntity } from "./useLegalEntity-CxeMoCm4.js";
9
9
  import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
10
10
  import { i as noop } from "./genUtils-nphCwt1A.js";
11
11
  import { c as individualBaseMapping } from "./processCapabilities-B75YIdXZ.js";
12
12
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
13
- import { i as getTrustedFieldsProvider, r as getTrustedFields } from "./ListItem-n927geYb.js";
14
- import { r as useToastContext } from "./useId-MW2hvVJz.js";
13
+ import { i as getTrustedFieldsProvider, r as getTrustedFields } from "./ListItem-aX6AyCay.js";
14
+ import { n as useToastContext } from "./invalidateRootLegalEntity-CnH38v8h.js";
15
15
  import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-FHk416BA.js";
16
- import { n as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-DNq-JBP5.js";
16
+ import { n as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-TT8a0y7q.js";
17
17
  import { t as useScenarios } from "./useScenarios-DfE71fl7.js";
18
- import { t as IndividualDropin } from "./IndividualDropin-Diyiw3Hi.js";
19
- import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-DByctgob.js";
18
+ import { t as IndividualDropin } from "./IndividualDropin-C9bKZu8q.js";
19
+ import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-CD9uLmHi.js";
20
20
  import { useEffect } from "preact/hooks";
21
21
  import { jsx } from "preact/jsx-runtime";
22
22
  import { skipToken } from "@tanstack/preact-query";
@@ -1,32 +1,32 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6c1ceec1-fe15-40bc-a195-62fac63173a5", e._sentryDebugIdIdentifier = "sentry-dbid-6c1ceec1-fe15-40bc-a195-62fac63173a5");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "011b6871-b89a-40e4-9543-790361f29345", e._sentryDebugIdIdentifier = "sentry-dbid-011b6871-b89a-40e4-9543-790361f29345");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { C as Alert, M as _rolldown_dynamic_import_helper_default, j as Header, r as useGetTaskStatus } from "./resolveEnvironment-A2E4srza.js";
6
+ import { N as Header, P as _rolldown_dynamic_import_helper_default, T as Alert, a as useGetTaskStatus } from "./registerEmbed-CZDAZwKX.js";
7
7
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
8
8
  import { t as Loader } from "./Loader-BDaKGf77.js";
9
- import { t as Button } from "./Button-BYafPrZH.js";
9
+ import { t as Button } from "./Button-EhGM-oCO.js";
10
10
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
11
11
  import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
12
- import { t as TaskVerificationStatus } from "./TaskVerificationStatus-C1CllzL1.js";
12
+ import { t as TaskVerificationStatus } from "./TaskVerificationStatus-Br7t30ur.js";
13
13
  import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
14
14
  import { w as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-B75YIdXZ.js";
15
15
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
16
16
  import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
17
17
  import { r as getOwnDecisionMakers } from "./decisionMakerRoles-DA8MK9Dh.js";
18
- import { i as useToggleContext } from "./Checkbox-CEkD-Lpm.js";
19
- import { i as useAnalyticsContext, t as Modal } from "./Modal-afeMXOOn.js";
20
- import { t as ListItem } from "./ListItem-n927geYb.js";
21
- import { r as useToastContext } from "./useId-MW2hvVJz.js";
18
+ import { i as useToggleContext } from "./Checkbox-Ec4wyyJQ.js";
19
+ import { a as useAnalyticsContext, n as Modal } from "./useId-AzWxLa17.js";
20
+ import { t as ListItem } from "./ListItem-aX6AyCay.js";
21
+ import { n as useToastContext } from "./invalidateRootLegalEntity-CnH38v8h.js";
22
22
  import { t as useDataMissingRemediations } from "./useDataMissingRemediations-BfC7ECSn.js";
23
- import { l as LandingLayout, n as Image } from "./unincorporatedPartnership-7X9o2wKi.js";
23
+ import { l as LandingLayout, n as Image } from "./unincorporatedPartnership-B5pKn0gl.js";
24
24
  import { n as useCapabilityProblems } from "./getProblemsForEntity-FHk416BA.js";
25
- import { h as useUpdateLegalEntity } from "./StateField-LcRkkvIH.js";
26
- import { c as List } from "./dropinUtils-QIBtEAdk.js";
27
- import { c as individualFormDefaultData, s as GuidanceQuestionValues } from "./formatDataForSummary-GZH9C1ax.js";
28
- import { t as useTaskLandedEvent } from "./useTaskLandedEvent-B_GbpCRR.js";
29
- import { i as useInvitationStatuses, n as getDecisionMakerDescription, t as DecisionMakerDetails } from "./DecisionMakerDetails-AoJgg4cg.js";
25
+ import { h as useUpdateLegalEntity } from "./StateField-DxKg7Ea-.js";
26
+ import { o as List } from "./dropinUtils-CZuO0w1x.js";
27
+ import { c as individualFormDefaultData, s as GuidanceQuestionValues } from "./formatDataForSummary-oC9odBCW.js";
28
+ import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DdeWh_nV.js";
29
+ import { i as useInvitationStatuses, n as getDecisionMakerDescription, t as DecisionMakerDetails } from "./DecisionMakerDetails-CykBZZ9U.js";
30
30
  import { lazy } from "preact/compat";
31
31
  import { useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
32
32
  import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
@@ -1,15 +1,15 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "223410c4-a726-47aa-9e15-dae7e99d9ecc", e._sentryDebugIdIdentifier = "sentry-dbid-223410c4-a726-47aa-9e15-dae7e99d9ecc");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "928233af-fd72-4d84-a032-48e571f417c9", e._sentryDebugIdIdentifier = "sentry-dbid-928233af-fd72-4d84-a032-48e571f417c9");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { mt as StateContext } from "./resolveEnvironment-A2E4srza.js";
7
- import { t as Icon } from "./Icon-jVvV1zXc.js";
6
+ import { gt as StateContext } from "./registerEmbed-CZDAZwKX.js";
7
+ import { t as Icon } from "./Icon-D2IGgB2L.js";
8
8
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
9
- import { t as Button } from "./Button-BYafPrZH.js";
10
- import { i as useAnalyticsContext } from "./Modal-afeMXOOn.js";
11
- import { t as useForm } from "./useForm-CPOxg890.js";
12
- import { i as bytesToSize, n as fileValidationRules, r as DropzoneFile, t as defaultFileValidationOptions } from "./validate-DEqWFrmE.js";
9
+ import { t as Button } from "./Button-EhGM-oCO.js";
10
+ import { a as useAnalyticsContext } from "./useId-AzWxLa17.js";
11
+ import { t as useForm } from "./useForm-B2fQ78Se.js";
12
+ import { i as bytesToSize, n as fileValidationRules, r as DropzoneFile, t as defaultFileValidationOptions } from "./validate-Bcw1m17m.js";
13
13
  import { useEffect, useMemo, useRef, useState } from "preact/hooks";
14
14
  import cx from "classnames";
15
15
  import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
@@ -1,13 +1,13 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d3f088c5-cfaa-42f9-9a48-0eaf78188b58", e._sentryDebugIdIdentifier = "sentry-dbid-d3f088c5-cfaa-42f9-9a48-0eaf78188b58");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8d1e66a0-b3a8-4597-a42c-84179e59947d", e._sentryDebugIdIdentifier = "sentry-dbid-8d1e66a0-b3a8-4597-a42c-84179e59947d");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { r as InputBase } from "./InputText-BwXmy0Yr.js";
7
- import { o as Field } from "./Select-DPJ8234F.js";
6
+ import { a as InputBase } from "./RadioGroup-SDQSOsEf.js";
7
+ import { o as Field } from "./Select-DtO-GvLp.js";
8
8
  import { n as emailPattern } from "./basePatterns-plHFNzgJ.js";
9
9
  import { n as withForm } from "./formHook-Dgi2CgbT.js";
10
- import { t as getValidationError } from "./getValidationError-DnDzz5ju.js";
10
+ import { t as getValidationError } from "./getValidationError-CXILdPw6.js";
11
11
  import { t as isNotEmpty } from "./sharedValidators-DODW7kuK.js";
12
12
  import { jsx } from "preact/jsx-runtime";
13
13
  //#region src/adaptiveWorkflow/components/Shared/Fields/EmailField/validators.ts
@@ -22,21 +22,23 @@ var contextMap = { email: { label: "email" } };
22
22
  //#region src/adaptiveWorkflow/components/Shared/Fields/EmailField/EmailField.tsx
23
23
  var EmailField = withForm({
24
24
  props: {},
25
- render: function EmailFieldRender({ form, node }) {
25
+ render: function EmailFieldRender({ form, node, disabled }) {
26
+ const { id, path } = node;
26
27
  const { t } = useTranslation("common");
27
- const { label, helperText, validators } = contextMap[node.id] || {};
28
+ const { label, helperText, validators } = contextMap[id] || {};
28
29
  return /* @__PURE__ */ jsx(form.Field, {
29
- name: node.path,
30
+ name: path,
30
31
  validators: {
31
32
  onBlur: ({ value }) => getValidationError(validators?.blur || defaultValidators.blur, value, t),
32
33
  onChange: ({ value }) => getValidationError(validators?.change || defaultValidators.change, value, t)
33
34
  },
34
35
  children: (field) => {
35
36
  return /* @__PURE__ */ jsx(Field, {
36
- name: node.id,
37
- label: label ? t(($) => $[label]) : node.id,
37
+ name: id,
38
+ label: label ? t(($) => $[label]) : id,
38
39
  helper: helperText && t(($) => $[helperText]),
39
40
  isValid: !field.state.meta.errors.length,
41
+ disabled,
40
42
  errorMessage: field.state.meta.errors.length ? {
41
43
  key: field.state.meta.errors[0],
42
44
  message: field.state.meta.errors[0]
@@ -47,6 +49,7 @@ var EmailField = withForm({
47
49
  type: "email",
48
50
  autoCapitalize: "off",
49
51
  "aria-required": true,
52
+ disabled,
50
53
  value: field.state.value,
51
54
  onBlur: field.handleBlur,
52
55
  onInput: (e) => field.handleChange(e.currentTarget.value)