@adyen/kyc-components 4.27.0-beta.2 → 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-BUy_iFID.js → AcceptTermsOfServiceWorkflow-BHLj18cI.js} +4 -4
  3. package/dist/{Accordion-CTQfC17W.js → Accordion-DyU-Pxob.js} +1 -1
  4. package/dist/{AccountSetupRejected-CRtRxlu3.js → AccountSetupRejected-DrzCd1ET.js} +2 -2
  5. package/dist/{AdaptiveWorkflow-EGcy-zx1.js → AdaptiveWorkflow-DmZF4G5t.js} +117 -48
  6. package/dist/{AdaptiveWorkflowComponent-D5eEvYvr.js → AdaptiveWorkflowComponent-Bv5fIffv.js} +29 -29
  7. package/dist/{AddressFields-CUUbktqk.js → AddressFields-CF-UaSiA.js} +10 -10
  8. package/dist/{Avatar-yJfk9A6l.js → Avatar-BBJO6JWY.js} +1 -1
  9. package/dist/{BusinessFinancingDropin-C9bath6v.js → BusinessFinancingDropin-DxUscJnz.js} +34 -34
  10. package/dist/{BusinessFinancingPage-nBEgY06G.js → BusinessFinancingPage-aNSrpxqt.js} +54 -54
  11. package/dist/{BusinessRegistrationNumberField-BIWFuhfO.js → BusinessRegistrationNumberField-ByWbtuPm.js} +6 -6
  12. package/dist/{BusinessRegistrationNumberFieldGroup-CtaY468N.js → BusinessRegistrationNumberFieldGroup-BsaKq6cn.js} +12 -7
  13. package/dist/{BusinessTypeSelectionPage-B5uiuHWU.js → BusinessTypeSelectionPage-C8BtZX8K.js} +12 -12
  14. package/dist/{Button-BYafPrZH.js → Button-EhGM-oCO.js} +1 -1
  15. package/dist/{Checkbox-BOqyVTd6.js → Checkbox-Ec4wyyJQ.js} +3 -3
  16. package/dist/{ComponentGroup-I1N5kQko.js → ComponentGroup-DnbvXojQ.js} +10 -9
  17. package/dist/{ConstitutionalDocument-B3B30CNM.js → ConstitutionalDocument-B4rf4Lt3.js} +16 -15
  18. package/dist/{ContactDetails-vE_EtFh5.js → ContactDetails-CZgDXYqx.js} +5 -5
  19. package/dist/{ContextGuidance-BeIcp_Uc.js → ContextGuidance-C8FlwEPA.js} +3 -3
  20. package/dist/{CountryField-BlMV9gWn.js → CountryField-8KwVjSwx.js} +8 -6
  21. package/dist/{Currency-CNbYyco2.js → Currency-DyE49bKs.js} +8 -8
  22. package/dist/{CustomerSupport-aERZDDfD.js → CustomerSupport-CvTI3Snc.js} +34 -13
  23. package/dist/{DateField-9MSReT5O.js → DateField-l6H-nmfS.js} +13 -9
  24. package/dist/{DebugModal-0uLOHkJh.js → DebugModal-xkdniRzn.js} +154 -109
  25. package/dist/{DecisionMakerDetails-D4LhJukc.js → DecisionMakerDetails-CykBZZ9U.js} +13 -13
  26. package/dist/{DecisionMakerDetailsPage-CXphcrOX.js → DecisionMakerDetailsPage-BnjOq-R1.js} +7 -7
  27. package/dist/{DecisionMakers-DlMrsO16.js → DecisionMakers-B-4h5Vw_.js} +14 -14
  28. package/dist/{Dropzone-Bee9ZpVD.js → Dropzone-D7Z9PsqG.js} +7 -7
  29. package/dist/{EmailField-DwMrx3bx.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-CxH1ghQz.js → EntityAssociation-CPRU3Nzl.js} +6 -6
  33. package/dist/{ErrorPanel-B3GO2ryr.js → ErrorPanel-DUI1R5Sq.js} +4 -4
  34. package/dist/{GlobalEntryModal-C52Qt9xX.js → GlobalEntryModal-Fszy2PMv.js} +312 -100
  35. package/dist/{GlobalEntryPage-CO4z6MjU.js → GlobalEntryPage-GMRCmYj1.js} +32 -32
  36. package/dist/Icon-D2IGgB2L.js +175 -0
  37. package/dist/{IdentityNumber-WlTRwtpA.js → IdentityNumber-M8NzdW3O.js} +5 -5
  38. package/dist/{IdentityNumberFieldGroup-CP41W2EQ.js → IdentityNumberFieldGroup-nOlB5kOW.js} +38 -16
  39. package/dist/{IdentityScreeningWorkflow-BPgyS5la.js → IdentityScreeningWorkflow-kYczDRbc.js} +14 -13
  40. package/dist/{IndividualDropin-bnWXY9qI.js → IndividualDropin-C9bKZu8q.js} +60 -39
  41. package/dist/{IndustryCodeFieldGroup-Cm80O2nC.js → IndustryCodeFieldGroup-ULwwyMfV.js} +8 -10
  42. package/dist/{InputDate-DfiGopWo.js → InputDate-fc3bdvdZ.js} +3 -3
  43. package/dist/{Introduction-C8wGSRe_.js → Introduction-BymKbaBE.js} +6 -6
  44. package/dist/{InvitedDecisionMakerComponent-CgBxKM-6.js → InvitedDecisionMakerComponent-CLBrLaip.js} +36 -36
  45. package/dist/{JpAddressFields-Di9jHnRp.js → JpAddressFields-Dhe_cQhr.js} +9 -9
  46. package/dist/{LegalCompanyNameField-O58Eimhw.js → LegalCompanyNameField-Ch1VrlJs.js} +5 -5
  47. package/dist/{LegalRepresentativeDetailsPage-B91UAmEE.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-U_Xb9UkT.js → Name-r1ugrnWU.js} +4 -4
  51. package/dist/{NumberField-D_PQOFEJ.js → NumberField-DzM3ge0J.js} +12 -9
  52. package/dist/{PatriotActDisclosure-BBna10Vl.js → PatriotActDisclosure-O5TlzUXU.js} +10 -10
  53. package/dist/{PayoutDetailsDropin-CgeyZYMl.js → PayoutDetailsDropin-J0pS_4a9.js} +30 -28
  54. package/dist/{PayoutDetailsPage-D3OgqdSY.js → PayoutDetailsPage-COLJyIQ-.js} +4 -4
  55. package/dist/{InputText-Cis19tKa.js → RadioGroup-SDQSOsEf.js} +80 -5
  56. package/dist/{Review-CLhvLtBU.js → Review-PhQYqPF4.js} +6 -6
  57. package/dist/{RootBusinessDetailsPage-BBwSSLzI.js → RootBusinessDetailsPage-BI7ryRjt.js} +4 -4
  58. package/dist/{RootBusinessLinesPage-Dl-kisAJ.js → RootBusinessLinesPage-mvoHQZD_.js} +21 -21
  59. package/dist/{RootIndividualDetailsPage-B2mnvodl.js → RootIndividualDetailsPage-Cpm0vnKV.js} +4 -4
  60. package/dist/{Select-BdcPU6Uf.js → Select-DtO-GvLp.js} +5 -6
  61. package/dist/{SignPCIComponent-BFC0Bv22.js → SignPCIComponent-Dvmu4-hc.js} +38 -38
  62. package/dist/{SingpassSelection-Dq52BRgF.js → SingpassSelection-np9ZfMrZ.js} +5 -5
  63. package/dist/SingpassSelectionCTA-sVs1ou1t.js +71 -0
  64. package/dist/{SoleProprietorshipPage-D1Mx5CFg.js → SoleProprietorshipPage-CwKtif4U.js} +4 -4
  65. package/dist/{SourceOfFundsPage-C6clpXUI.js → SourceOfFundsPage-waLLSQf2.js} +22 -22
  66. package/dist/{SourceOfFundsWorkflow-D0DKSAGG.js → SourceOfFundsWorkflow-Cat3HvUT.js} +4 -4
  67. package/dist/{StateField-zy0ihxPy.js → StateField-DxKg7Ea-.js} +6 -6
  68. package/dist/{Step-It5mYFzR.js → Step-ZD1CeO4b.js} +15 -9
  69. package/dist/{Summary-CMSLjvCC.js → Summary-BJnh9lZz.js} +2 -2
  70. package/dist/{SummarySection-mwZ1YMMA.js → SummarySection-D91P7H2B.js} +4 -4
  71. package/dist/{Task-DDB0fdGe.js → Task-_WDQUdM0.js} +41 -31
  72. package/dist/{TaskGroup-DvcQUyJW.js → TaskGroup-C20Kri7W.js} +10 -6
  73. package/dist/{TaskListItem-BhkYWOFq.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-DXn69gH_.js → TaxInformationFieldGroup-BiNe6-D4.js} +68 -111
  77. package/dist/{TaxReportingDropin-CI-dY8LR.js → TaxReportingDropin-DuZpEzKn.js} +14 -13
  78. package/dist/{TaxReportingWorkflow-AtQcoNT7.js → TaxReportingWorkflow-CMhxj0jx.js} +4 -4
  79. package/dist/{TermsOfServiceManagement-oeZ8jLZh.js → TermsOfServiceManagement-Cp6-BOaT.js} +38 -37
  80. package/dist/{TextArea-DhhZe-to.js → TextArea-DD-KMQbg.js} +4 -4
  81. package/dist/{TextField-BPfCDwGF.js → TextField-Bdu0Wm6_.js} +13 -10
  82. package/dist/{TrustDetailsPage-C87oIVJn.js → TrustDetailsPage-IGLuJZUE.js} +30 -23
  83. package/dist/{TrustMemberCompanyPage-B-oJW51-.js → TrustMemberCompanyPage-CNIDzOte.js} +5 -5
  84. package/dist/{TrustMemberIndividualPage-BI6Gp1wJ.js → TrustMemberIndividualPage-Q_IDqWsr.js} +3 -3
  85. package/dist/{TrustMemberRoleAndTypePage-DDW66I9C.js → TrustMemberRoleAndTypePage-B2EtfK6g.js} +20 -20
  86. package/dist/{TrustMembersOverview-DuCOQFjb.js → TrustMembersOverview-hDVqCUbB.js} +12 -12
  87. package/dist/{UboTaskItem-Xz4kCw-y.js → UboTaskItem-Bt45kkQu.js} +15 -12
  88. package/dist/{UnincorporatedPartnershipIndividualPage-Bj-TWGKT.js → UnincorporatedPartnershipIndividualPage-hkrLvEZw.js} +3 -3
  89. package/dist/{UnincorporatedPartnershipMemberCompanyPage-BeTio7I9.js → UnincorporatedPartnershipMemberCompanyPage-B8e9E2t2.js} +5 -5
  90. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dmnfyxfa.js → UnincorporatedPartnershipMemberRoleAndTypePage-Rey_F44n.js} +10 -9
  91. package/dist/{UnincorporatedPartnershipMembersOverview-uwL3EDM0.js → UnincorporatedPartnershipMembersOverview-DPO8TjP4.js} +6 -6
  92. package/dist/{VerificationErrorAlert-DNY0MIqQ.js → VerificationErrorAlert-Lim_NsJO.js} +3 -3
  93. package/dist/{WebsiteField-GtenY14V.js → WebsiteField-BLgq-_me.js} +13 -10
  94. package/dist/{Workflow-CYxnhEbz.js → Workflow-CnkirZOn.js} +11 -8
  95. package/dist/{accountHolderUtils-C-_CgkNI.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-CS6lTiW2.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-DAL7V5JR.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-DnDIfrpG.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-Byk222_H.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-CjdQ8vcl.js → formatDataForSummary-oC9odBCW.js} +10 -10
  170. package/dist/{formatValidationError-BJn0_iPa.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-CZerowIu.js → getDefaultRegistrationNumberType-t926T5FG.js} +5 -4
  175. package/dist/{getTrustedDecisionMakers-DByctgob.js → getTrustedDecisionMakers-CD9uLmHi.js} +2 -2
  176. package/dist/{getValidationError-Ci5fkC__.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-BABqOnYH.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-BjTob1kY.js → mapAddressLocalizationToJpAddressSchema-D8qKuElS.js} +2 -2
  208. package/dist/{mapJpAddressSchemaToAddressLocalizations-CGxo-6kh.js → mapJpAddressSchemaToAddressLocalizations-myaH4YTR.js} +3 -3
  209. package/dist/{mapTransferInstrumentToPayoutAccount-CPIIEBT7.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-BMhgPoZ3.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-DMoIAkRb.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-Ddhdc071.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-BlCV-3wE.js → unincorporatedPartnership-B5pKn0gl.js} +2 -2
  311. package/dist/{upload-BI7LKlDm.js → upload-DF1deAl3.js} +2 -2
  312. package/dist/{useBusinessDetailsData-BxZz8mCR.js → useBusinessDetailsData-CPzTltvn.js} +205 -152
  313. package/dist/{useCanSeeIntroduction-YrB2tt75.js → useCanSeeIntroduction-Cnuh14Cr.js} +3 -3
  314. package/dist/{useForm-CZom7Yxn.js → useForm-B2fQ78Se.js} +3 -3
  315. package/dist/{useHideTaskStepper-Betx9MGy.js → useHideTaskStepper-DvHXw3zd.js} +1 -1
  316. package/dist/{Modal-B97EslpV.js → useId-AzWxLa17.js} +27 -5
  317. package/dist/{useNavigate-B4xCEXOR.js → useNavigate-Bx6F2ghI.js} +33 -33
  318. package/dist/{useSalesChannels-BdElf-so.js → useSalesChannels-Db_8bYBY.js} +2 -2
  319. package/dist/useSaveForLater-BQio20Zg.js +200 -0
  320. package/dist/{useTaskLandedEvent-BgNoZ4-b.js → useTaskLandedEvent-DdeWh_nV.js} +2 -2
  321. package/dist/{useTrustMembers-BYQGHjLG.js → useTrustMembers-CqeR9IVN.js} +2 -2
  322. package/dist/{useUnincorporatedPartnershipMembers-BwU0ti6r.js → useUnincorporatedPartnershipMembers-WOJzF2NV.js} +2 -2
  323. package/dist/{utils-DXbf54mh.js → utils-8yLC-qJv.js} +2 -2
  324. package/dist/{utils-41qf7uNl.js → utils-AnusXLKP.js} +2 -2
  325. package/dist/{utils-CZSmyjZ8.js → utils-BfA0Rrku.js} +3 -4
  326. package/dist/{validate-B0DXyOfY.js → validate-Bcw1m17m.js} +4 -4
  327. package/dist/{validate-DfWuIef_.js → validate-Bf1SBTiG.js} +3 -3
  328. package/dist/{validate-BGVKp19L.js → validate-CxL6_omc.js} +2 -2
  329. package/dist/{validate-BZZPRWu-.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,18 +1,19 @@
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] = "b1a655a3-0e97-4f40-872a-fd5ca89a1c5b", e._sentryDebugIdIdentifier = "sentry-dbid-b1a655a3-0e97-4f40-872a-fd5ca89a1c5b");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d6756e7c-349b-4056-a764-ed6fb9e92b7f", e._sentryDebugIdIdentifier = "sentry-dbid-d6756e7c-349b-4056-a764-ed6fb9e92b7f");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { i as useToggleContext, t as Checkbox } from "./Checkbox-BOqyVTd6.js";
7
- import { a as resolveFieldMetadata } from "./unincorporatedPartnership-BlCV-3wE.js";
8
- import { a as translateTranslatable, o as Field } from "./Select-BdcPU6Uf.js";
9
- import { a as MaskedInput } from "./dropinUtils-DnDIfrpG.js";
10
- import { V as getTaxIdNumberOptions, d as removeTaxInfoForCountry, f as upsertTaxInfoForCountry, j as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, m as findExistingTaxInformation, p as TaxIdNumberTypeSelector, v as taxInformationDefaultFieldConfig, y as taxInformationDefaultFieldMetadata } from "./bafinUtils-CS6lTiW2.js";
11
- import { t as formatValidationError } from "./formatValidationError-BJn0_iPa.js";
6
+ import { i as useToggleContext, t as Checkbox } from "./Checkbox-Ec4wyyJQ.js";
7
+ import { a as resolveFieldMetadata } from "./unincorporatedPartnership-B5pKn0gl.js";
8
+ import { a as translateTranslatable, o as Field } from "./Select-DtO-GvLp.js";
9
+ import { r as MaskedInput } from "./dropinUtils-CZuO0w1x.js";
10
+ import { _ as taxInformationDefaultFieldMetadata, d as TaxIdNumberTypeSelector, g as taxInformationDefaultFieldConfig, k as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, z as getTaxIdNumberOptions } from "./bafinUtils-TT8a0y7q.js";
11
+ import { t as formatValidationError } from "./formatValidationError-BsRC83kl.js";
12
12
  import { n as withForm } from "./formHook-Dgi2CgbT.js";
13
- import { useCallback, useEffect, useMemo, useRef } from "preact/hooks";
13
+ import { t as toTanStackValidators } from "./tanstackValidation-BgAM9eKo.js";
14
+ import { useCallback, useEffect, useRef } from "preact/hooks";
14
15
  import { jsx, jsxs } from "preact/jsx-runtime";
15
- import { useStore } from "@tanstack/preact-form";
16
+ import { useSelector } from "@tanstack/preact-form";
16
17
  //#region src/adaptiveWorkflow/components/Fields/TaxInformation/ExemptedFromTaxField.tsx
17
18
  function ExemptedFromTaxField({ field, label, checked, onChange }) {
18
19
  return /* @__PURE__ */ jsx(Field, {
@@ -85,166 +86,121 @@ var TaxInformationFieldGroup = withForm({
85
86
  const taxNumberPath = `${taxInfoPath}.number`;
86
87
  const taxTypePath = `${taxInfoPath}.type`;
87
88
  const exemptedPath = `${taxInfoPath}.numberAbsent`;
88
- const isUenPath = `${taxInfoPath}.isUen`;
89
- const taxInformations = useStore(form.store, (s) => getNestedValue(s.values, taxInfoPath));
90
- const exemptedFromTax = useStore(form.store, (s) => getNestedValue(s.values, exemptedPath));
89
+ const taxInformation = useSelector(form.store, (s) => getNestedValue(s.values, taxInfoPath));
90
+ const exemptedFromTax = useSelector(form.store, (s) => getNestedValue(s.values, exemptedPath));
91
91
  const isUsSoleProp = country === "US" && entityType === "soleProprietorship";
92
- const currentTaxInformation = useMemo(() => taxInformations?.find((t) => t.country === country), [taxInformations, country]);
93
- const taxIdNumberType = useMemo(() => {
94
- if (currentTaxInformation?.numberAbsent) return "exempted";
95
- if (currentTaxInformation?.type) return currentTaxInformation.type;
96
- if (isUsSoleProp) return void 0;
97
- return findExistingTaxInformation(taxInformations, country)?.type;
98
- }, [
99
- currentTaxInformation?.type,
100
- currentTaxInformation?.numberAbsent,
101
- taxInformations,
102
- isUsSoleProp,
103
- country
104
- ]);
92
+ const taxIdNumberType = taxInformation?.numberAbsent ? "exempted" : taxInformation?.type;
105
93
  const options = getTaxIdNumberOptions(country, entityType);
106
94
  const showTaxIdExemptedOptions = canExempt && (options?.length ?? 0) > 1 || isUsSoleProp;
107
95
  const canSaveAbsentState = isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4.includes(country);
108
96
  const fieldMetadata = resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
109
- taxIdNumberType: currentTaxInformation?.type,
97
+ taxIdNumberType: taxInformation?.type,
110
98
  companyType: entityType
111
99
  }, taxInformationDefaultFieldMetadata);
112
100
  const exemptionLabel = isUsSoleProp ? t(($) => $["socialSecurityNumber"]) : labels?.exemptedFromTax;
113
- const updateTaxInfo = useCallback((mode, newEntry) => {
114
- const entry = canSaveAbsentState ? {
115
- ...newEntry,
116
- numberAbsent: newEntry.numberAbsent ?? false
117
- } : newEntry;
118
- const updated = upsertTaxInfoForCountry(defaultData, country, entry);
119
- form.setFieldValue(taxInfoPath, updated);
101
+ const updateTaxInfo = useCallback((entry) => {
102
+ const normalized = canSaveAbsentState ? {
103
+ ...entry,
104
+ numberAbsent: entry.numberAbsent ?? false
105
+ } : entry;
106
+ form.setFieldValue(taxInfoPath, normalized);
120
107
  }, [
121
108
  canSaveAbsentState,
122
- country,
123
109
  form,
124
- taxInfoPath,
125
- defaultData
110
+ taxInfoPath
126
111
  ]);
127
- const updateTaxType = useCallback((type, mode) => {
128
- updateTaxInfo(mode, {
112
+ const updateTaxType = useCallback((type) => {
113
+ updateTaxInfo({
129
114
  country,
130
- number: currentTaxInformation?.number,
115
+ number: taxInformation?.number,
131
116
  type
132
117
  });
133
118
  }, [
134
119
  country,
135
- currentTaxInformation?.number,
120
+ taxInformation?.number,
136
121
  updateTaxInfo
137
122
  ]);
138
- const removeCountryTaxInfo = useCallback(() => {
139
- form.setFieldValue(taxInfoPath, removeTaxInfoForCountry(taxInformations, country));
140
- }, [
141
- country,
142
- form,
143
- taxInfoPath,
144
- taxInformations
145
- ]);
146
- const addTaxAbsentStatus = useCallback((absent) => {
147
- form.setFieldValue(taxInfoPath, upsertTaxInfoForCountry(taxInformations, country, {
148
- country,
149
- numberAbsent: absent
150
- }));
151
- }, [
152
- country,
153
- form,
154
- taxInfoPath,
155
- taxInformations
156
- ]);
157
123
  const setUenAsTaxId = useCallback((uen) => {
158
- updateTaxInfo("blur", {
124
+ updateTaxInfo({
159
125
  country,
160
126
  number: uen ?? "",
161
127
  type: "UEN"
162
128
  });
163
129
  }, [country, updateTaxInfo]);
164
- const resetToDefaultData = useCallback(() => {
165
- if (defaultData !== void 0) form.setFieldValue(taxInfoPath, defaultData);
130
+ const setExemptedFromTax = useCallback((exempted) => {
131
+ if (exempted) {
132
+ updateTaxInfo({
133
+ country,
134
+ numberAbsent: true
135
+ });
136
+ return;
137
+ }
138
+ updateTaxInfo(canSaveAbsentState ? {
139
+ country,
140
+ numberAbsent: false
141
+ } : { country });
166
142
  }, [
167
- defaultData,
168
- form,
169
- taxInfoPath
143
+ canSaveAbsentState,
144
+ country,
145
+ updateTaxInfo
170
146
  ]);
171
147
  const handleTaxIdNumberTypeChange = useCallback((taxIdType) => {
172
148
  if (!canExempt && taxIdType === "exempted") throw new Error(`${country} does not allow tax exemptions`);
173
149
  if (taxIdType === "exempted") {
174
- form.setFieldValue(exemptedPath, true);
175
- updateTaxType(void 0, "input");
176
- return canSaveAbsentState ? addTaxAbsentStatus(true) : removeCountryTaxInfo();
150
+ setExemptedFromTax(true);
151
+ return;
177
152
  }
178
- form.setFieldValue(exemptedPath, false);
179
- if (country === "SG") {
180
- if (taxIdType === "UEN") {
181
- form.setFieldValue(isUenPath, true);
182
- setUenAsTaxId(registrationNumber);
183
- } else {
184
- form.setFieldValue(isUenPath, false);
185
- removeCountryTaxInfo();
186
- }
153
+ if (country === "SG" && taxIdType === "UEN") {
154
+ setUenAsTaxId(registrationNumber);
155
+ return;
187
156
  }
188
- updateTaxType(taxIdType, "input");
157
+ updateTaxType(taxIdType);
189
158
  }, [
190
- addTaxAbsentStatus,
191
159
  canExempt,
192
- canSaveAbsentState,
193
160
  country,
194
- exemptedPath,
195
- form,
196
- isUenPath,
197
- removeCountryTaxInfo,
198
161
  registrationNumber,
162
+ setExemptedFromTax,
199
163
  setUenAsTaxId,
200
164
  updateTaxType
201
165
  ]);
202
- const handleTaxNumberChange = useCallback((e, mode) => {
166
+ const handleTaxNumberChange = useCallback((e, field, mode) => {
203
167
  const value = e ? typeof e === "string" ? e : e.currentTarget.value : void 0;
204
- const resolvedType = currentTaxInformation?.type ?? (taxIdNumberType !== "exempted" ? taxIdNumberType : void 0);
205
- updateTaxInfo(mode, {
168
+ if (mode === "input") field.handleChange(value);
169
+ else field.handleBlur();
170
+ const resolvedType = taxInformation?.type ?? (taxIdNumberType === "exempted" ? void 0 : taxIdNumberType);
171
+ updateTaxInfo({
206
172
  country,
207
173
  number: value,
208
174
  type: resolvedType
209
175
  });
210
176
  }, [
211
177
  country,
212
- currentTaxInformation?.type,
178
+ taxInformation?.type,
213
179
  taxIdNumberType,
214
180
  updateTaxInfo
215
181
  ]);
216
- const handleExemptedFromTaxChange = useCallback((exempted) => {
217
- form.setFieldValue(exemptedPath, exempted);
218
- if (canSaveAbsentState) addTaxAbsentStatus(exempted);
219
- else removeCountryTaxInfo();
220
- }, [
221
- addTaxAbsentStatus,
222
- canSaveAbsentState,
223
- exemptedPath,
224
- form,
225
- removeCountryTaxInfo
226
- ]);
227
182
  const prevCountryRef = useRef(country);
228
183
  useEffect(() => {
229
184
  if (!country || prevCountryRef.current === country) return;
230
185
  prevCountryRef.current = country;
231
- const hasSavedTaxId = defaultData?.find((t) => t.country === country);
232
- if (currentTaxInformation && !hasSavedTaxId) return;
233
186
  if (entityType === "soleProprietorship") return;
234
- resetToDefaultData();
187
+ const hasSavedTaxId = defaultData?.country === country;
188
+ if (!hasSavedTaxId && taxInformation?.country === country) return;
189
+ form.setFieldValue(taxInfoPath, hasSavedTaxId ? defaultData : void 0);
235
190
  }, [
236
191
  country,
237
- currentTaxInformation,
238
192
  defaultData,
239
193
  entityType,
240
- resetToDefaultData
194
+ form,
195
+ taxInfoPath,
196
+ taxInformation
241
197
  ]);
242
198
  useEffect(() => {
243
- if (country === "SG" && registrationNumber && registrationNumber !== currentTaxInformation?.number) setUenAsTaxId(registrationNumber);
199
+ if (country === "SG" && registrationNumber && registrationNumber !== taxInformation?.number) setUenAsTaxId(registrationNumber);
244
200
  }, [
245
- registrationNumber,
246
- currentTaxInformation?.number,
247
201
  country,
202
+ registrationNumber,
203
+ taxInformation?.number,
248
204
  setUenAsTaxId
249
205
  ]);
250
206
  return /* @__PURE__ */ jsxs("div", { children: [
@@ -262,17 +218,18 @@ var TaxInformationFieldGroup = withForm({
262
218
  }),
263
219
  /* @__PURE__ */ jsx(form.Field, {
264
220
  name: taxNumberPath,
221
+ validators: toTanStackValidators(fieldMetadata.validators),
265
222
  children: (field) => /* @__PURE__ */ jsx(TaxIdNumberInputField, {
266
223
  field,
267
224
  fieldMetadata,
268
- currentValue: currentTaxInformation?.number ?? "",
225
+ currentValue: taxInformation?.number ?? "",
269
226
  placeholder,
270
227
  readonly,
271
228
  optional,
272
229
  shouldValidate: true,
273
230
  disabled: Boolean(exemptedFromTax),
274
- onInput: (e) => handleTaxNumberChange(e, "input"),
275
- onBlur: (e) => handleTaxNumberChange(e, "blur")
231
+ onInput: (e) => handleTaxNumberChange(e, field, "input"),
232
+ onBlur: (e) => handleTaxNumberChange(e, field, "blur")
276
233
  })
277
234
  }),
278
235
  canExempt && !showTaxIdExemptedOptions && /* @__PURE__ */ jsx(form.Field, {
@@ -281,7 +238,7 @@ var TaxInformationFieldGroup = withForm({
281
238
  field,
282
239
  label: labels?.exemptedFromTax,
283
240
  checked: Boolean(exemptedFromTax),
284
- onChange: handleExemptedFromTaxChange
241
+ onChange: setExemptedFromTax
285
242
  })
286
243
  })
287
244
  ] });
@@ -1,29 +1,30 @@
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] = "052938de-b65e-4d52-9d66-b35e14ad1d02", e._sentryDebugIdIdentifier = "sentry-dbid-052938de-b65e-4d52-9d66-b35e14ad1d02");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b9b1dfdd-6acd-436a-a8ac-3b80f7ef8d9a", e._sentryDebugIdIdentifier = "sentry-dbid-b9b1dfdd-6acd-436a-a8ac-3b80f7ef8d9a");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation, t as Trans } from "./translation-CpH8D2NK.js";
6
- import { C as Alert, M as _rolldown_dynamic_import_helper_default, j as Header, ot as isEmpty } from "./resolveEnvironment-DMoIAkRb.js";
6
+ import { N as Header, P as _rolldown_dynamic_import_helper_default, T as Alert, ct as isEmpty } from "./registerEmbed-CZDAZwKX.js";
7
7
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
8
- import { t as Icon } from "./Icon-jVvV1zXc.js";
8
+ import { t as Icon } from "./Icon-D2IGgB2L.js";
9
9
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
10
10
  import { t as Loader } from "./Loader-BDaKGf77.js";
11
- import { n as IconButton, t as Button } from "./Button-BYafPrZH.js";
11
+ import { n as IconButton, t as Button } from "./Button-EhGM-oCO.js";
12
12
  import { n as httpGet, s as useApiContext } from "./http-C8rt2BZk.js";
13
13
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
14
14
  import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
15
15
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
16
- import { i as useAnalyticsContext } from "./Modal-B97EslpV.js";
16
+ import { a as useAnalyticsContext } from "./useId-AzWxLa17.js";
17
+ import { t as RadioGroup } from "./RadioGroup-SDQSOsEf.js";
17
18
  import { t as Card } from "./Card-BCGLpdw7.js";
18
- import { n as useInvalidateRootLegalEntity } from "./useId-BABqOnYH.js";
19
- import { l as LandingLayout, n as Image } from "./unincorporatedPartnership-BlCV-3wE.js";
20
- import { o as Field } from "./Select-BdcPU6Uf.js";
21
- import { o as StructuredList } from "./utils-CZSmyjZ8.js";
22
- import { h as useUpdateLegalEntity, m as isEmpty$1 } from "./StateField-zy0ihxPy.js";
23
- import { R as useMultiForm, V as useFormComposer, W as FormContextProvider, b as useFormContext, n as getRequiredForms, r as RadioGroup, t as addValidityToForms, x as FormFlow } from "./dropinUtils-DnDIfrpG.js";
24
- import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BgNoZ4-b.js";
19
+ import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-CnH38v8h.js";
20
+ import { l as LandingLayout, n as Image } from "./unincorporatedPartnership-B5pKn0gl.js";
21
+ import { o as Field } from "./Select-DtO-GvLp.js";
22
+ import { o as StructuredList } from "./utils-BfA0Rrku.js";
23
+ import { h as useUpdateLegalEntity, m as isEmpty$1 } from "./StateField-DxKg7Ea-.js";
24
+ import { H as FormContextProvider, I as useMultiForm, n as getRequiredForms, t as addValidityToForms, v as useFormContext, y as FormFlow, z as useFormComposer } from "./dropinUtils-CZuO0w1x.js";
25
+ import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DdeWh_nV.js";
25
26
  import { r as getFormProps } from "./getProps-DVqK7eRw.js";
26
- import { t as Link } from "./Link-DwPkGikd.js";
27
+ import { t as Link } from "./Link-BtWj5mVH.js";
27
28
  import { t as useTaskStatus } from "./useTaskStatus-4nAPf_uD.js";
28
29
  import { lazy } from "preact/compat";
29
30
  import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
@@ -1,11 +1,11 @@
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] = "7a469f1d-957a-4e60-a92c-76ad5b1b7f1f", e._sentryDebugIdIdentifier = "sentry-dbid-7a469f1d-957a-4e60-a92c-76ad5b1b7f1f");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "42b55fc0-80d5-473c-86f8-18250003ff67", e._sentryDebugIdIdentifier = "sentry-dbid-42b55fc0-80d5-473c-86f8-18250003ff67");
4
4
  } catch (e) {}
5
- import { t as EndStateLayout } from "./EndStateLayout-B-M90Rnh.js";
5
+ import { t as EndStateLayout } from "./EndStateLayout-CBzxX67s.js";
6
6
  import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
7
- import { t as useHideTaskStepper } from "./useHideTaskStepper-Betx9MGy.js";
8
- import { TaxReportingDropin } from "./TaxReportingDropin-CI-dY8LR.js";
7
+ import { t as useHideTaskStepper } from "./useHideTaskStepper-DvHXw3zd.js";
8
+ import { TaxReportingDropin } from "./TaxReportingDropin-DuZpEzKn.js";
9
9
  import { jsx } from "preact/jsx-runtime";
10
10
  //#region src/adaptiveWorkflow/components/Layout/Steps/TaxReportingWorkflow.tsx
11
11
  var TaxReportingWorkflow = ({ node }) => {
@@ -1,12 +1,12 @@
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] = "4c036282-7247-4f74-bc11-3fe56ce5a89b", e._sentryDebugIdIdentifier = "sentry-dbid-4c036282-7247-4f74-bc11-3fe56ce5a89b");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e830ebd3-5efe-4c2c-aa83-a3218e46165b", e._sentryDebugIdIdentifier = "sentry-dbid-e830ebd3-5efe-4c2c-aa83-a3218e46165b");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, o as __exportAll, r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { C as Alert, M as _rolldown_dynamic_import_helper_default, a as doesLegalEntityRequiresLegalRepresentative } from "./resolveEnvironment-DMoIAkRb.js";
6
+ import { P as _rolldown_dynamic_import_helper_default, T as Alert, s as doesLegalEntityRequiresLegalRepresentative } 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, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
12
12
  import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
@@ -14,18 +14,18 @@ import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
14
14
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
15
15
  import { a as getLegalRepresentative } from "./entityAssociationUtil-BlfcBl3i.js";
16
16
  import { a as getOwnSignatories } from "./decisionMakerRoles-DA8MK9Dh.js";
17
- import { i as useToggleContext, t as Checkbox } from "./Checkbox-BOqyVTd6.js";
18
- import { i as useAnalyticsContext } from "./Modal-B97EslpV.js";
17
+ import { i as useToggleContext, t as Checkbox } from "./Checkbox-Ec4wyyJQ.js";
18
+ import { a as useAnalyticsContext } from "./useId-AzWxLa17.js";
19
19
  import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-FDpSDjco.js";
20
20
  import { t as Card } from "./Card-BCGLpdw7.js";
21
- import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-BABqOnYH.js";
22
- import { t as EndStateLayout } from "./EndStateLayout-B-M90Rnh.js";
21
+ import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-CnH38v8h.js";
22
+ import { t as EndStateLayout } from "./EndStateLayout-CBzxX67s.js";
23
23
  import { t as downloadFile } from "./file-1IenVoh8.js";
24
- import { c as MaybeModal, o as Field, p as LoaderWrapper, r as getLanguageCode, s as ProgressBar, t as Select } from "./Select-BdcPU6Uf.js";
24
+ import { c as MaybeModal, o as Field, p as LoaderWrapper, r as getLanguageCode, s as ProgressBar, t as Select } from "./Select-DtO-GvLp.js";
25
25
  import { n as getLegalEntityNameBasedOnType } from "./getName-Cii7OyRd.js";
26
- import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BgNoZ4-b.js";
27
- import { t as useForm } from "./useForm-CZom7Yxn.js";
28
- import { t as formatValidationError } from "./formatValidationError-BJn0_iPa.js";
26
+ import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DdeWh_nV.js";
27
+ import { t as useForm } from "./useForm-B2fQ78Se.js";
28
+ import { t as formatValidationError } from "./formatValidationError-BsRC83kl.js";
29
29
  import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
30
30
  import { t as ContractViewer } from "./ContractViewer-CG9UNGz1.js";
31
31
  import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
@@ -164,6 +164,7 @@ var serviceAgreementTypesTranslationMapping = {
164
164
  adyenIssuing: "accountHolderTerms",
165
165
  adyenForPlatformsAdvanced: "paymentProcessingTerms",
166
166
  adyenCapital: "capitalUserTerms",
167
+ adyenCapitalCashAdvance: "capitalUserTerms",
167
168
  adyenAccount: "businessAccountTerms",
168
169
  adyenCard: "cardUserTerms",
169
170
  adyenFranchisee: "franchiseesTAndCs",
@@ -487,33 +488,33 @@ function TermsOfServiceManagement({ legalEntityId, modalView = false, onClose, o
487
488
  {
488
489
  ns: "common",
489
490
  importFn: (lang) => _rolldown_dynamic_import_helper_default(/* #__PURE__ */ Object.assign({
490
- "../../../language/locales/bg-BG.json": () => import("./bg-BG-Cdrkwxmc.js"),
491
- "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-DpiH1UkS.js"),
492
- "../../../language/locales/da-DK.json": () => import("./da-DK-B-BJLcqw.js"),
493
- "../../../language/locales/de-DE.json": () => import("./de-DE-BxTGFyOs.js"),
494
- "../../../language/locales/el-GR.json": () => import("./el-GR-IQwyd9ws.js"),
491
+ "../../../language/locales/bg-BG.json": () => import("./bg-BG-CdDdNATP.js"),
492
+ "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CQoPRxwA.js"),
493
+ "../../../language/locales/da-DK.json": () => import("./da-DK-CEe5TTUa.js"),
494
+ "../../../language/locales/de-DE.json": () => import("./de-DE-ut0CGES0.js"),
495
+ "../../../language/locales/el-GR.json": () => import("./el-GR-BEWi0DRN.js"),
495
496
  "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-myDXMUbk.js"),
496
- "../../../language/locales/en-US.json": () => import("./en-US-8KLaHQaT.js"),
497
- "../../../language/locales/es-ES.json": () => import("./es-ES-Cg2IadcX.js"),
498
- "../../../language/locales/es-LA.json": () => import("./es-LA-DvMpG4FP.js"),
499
- "../../../language/locales/et-EE.json": () => import("./et-EE-eGeytyQh.js"),
500
- "../../../language/locales/fi-FI.json": () => import("./fi-FI-C02wZfgW.js"),
501
- "../../../language/locales/fr-FR.json": () => import("./fr-FR-CE7k9H5_.js"),
502
- "../../../language/locales/hr-HR.json": () => import("./hr-HR-B12DcJ3l.js"),
503
- "../../../language/locales/hu-HU.json": () => import("./hu-HU-cosbDuos.js"),
504
- "../../../language/locales/it-IT.json": () => import("./it-IT-CiKoOxzk.js"),
505
- "../../../language/locales/ja-JP.json": () => import("./ja-JP-D7PEVMmT.js"),
506
- "../../../language/locales/lt-LT.json": () => import("./lt-LT-C2oxTakB.js"),
507
- "../../../language/locales/lv-LV.json": () => import("./lv-LV-C_KVkpid.js"),
508
- "../../../language/locales/nl-NL.json": () => import("./nl-NL-CwNBy0Ku.js"),
509
- "../../../language/locales/no-NO.json": () => import("./no-NO-VqkeNhzB.js"),
510
- "../../../language/locales/pl-PL.json": () => import("./pl-PL-Bp218jDD.js"),
511
- "../../../language/locales/pt-BR.json": () => import("./pt-BR-CPbFPNwq.js"),
512
- "../../../language/locales/pt-PT.json": () => import("./pt-PT-Bz39smeX.js"),
513
- "../../../language/locales/ro-RO.json": () => import("./ro-RO-jNItoBZk.js"),
514
- "../../../language/locales/sk-SK.json": () => import("./sk-SK-CsSqXqf_.js"),
515
- "../../../language/locales/sl-SI.json": () => import("./sl-SI-PRqWis0E.js"),
516
- "../../../language/locales/sv-SE.json": () => import("./sv-SE-Dv-rMOdB.js")
497
+ "../../../language/locales/en-US.json": () => import("./en-US-BWzZpVaj.js"),
498
+ "../../../language/locales/es-ES.json": () => import("./es-ES-3Z6u7_Cv.js"),
499
+ "../../../language/locales/es-LA.json": () => import("./es-LA-BgYaYfYK.js"),
500
+ "../../../language/locales/et-EE.json": () => import("./et-EE-CxTHKlGm.js"),
501
+ "../../../language/locales/fi-FI.json": () => import("./fi-FI-BE-RoRL5.js"),
502
+ "../../../language/locales/fr-FR.json": () => import("./fr-FR-Db4EY5iv.js"),
503
+ "../../../language/locales/hr-HR.json": () => import("./hr-HR-qvMOxoRF.js"),
504
+ "../../../language/locales/hu-HU.json": () => import("./hu-HU-BNk4CovT.js"),
505
+ "../../../language/locales/it-IT.json": () => import("./it-IT-RatP9WIw.js"),
506
+ "../../../language/locales/ja-JP.json": () => import("./ja-JP-BILx8dc7.js"),
507
+ "../../../language/locales/lt-LT.json": () => import("./lt-LT-CZ2yA_Km.js"),
508
+ "../../../language/locales/lv-LV.json": () => import("./lv-LV-AGwJD157.js"),
509
+ "../../../language/locales/nl-NL.json": () => import("./nl-NL-DNXcBpml.js"),
510
+ "../../../language/locales/no-NO.json": () => import("./no-NO-vY4nfY9g.js"),
511
+ "../../../language/locales/pl-PL.json": () => import("./pl-PL-KmUtZ6lq.js"),
512
+ "../../../language/locales/pt-BR.json": () => import("./pt-BR-tQCWRhmf.js"),
513
+ "../../../language/locales/pt-PT.json": () => import("./pt-PT-ZNVCYAr4.js"),
514
+ "../../../language/locales/ro-RO.json": () => import("./ro-RO-DDdUFz6E.js"),
515
+ "../../../language/locales/sk-SK.json": () => import("./sk-SK-DdDdEYiT.js"),
516
+ "../../../language/locales/sl-SI.json": () => import("./sl-SI-vefne3eU.js"),
517
+ "../../../language/locales/sv-SE.json": () => import("./sv-SE-DIDlUvzM.js")
517
518
  }), `../../../language/locales/${lang}.json`, 6)
518
519
  },
519
520
  {
@@ -1,12 +1,12 @@
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] = "aeae103a-d495-475e-95a4-4a0c64fa5db6", e._sentryDebugIdIdentifier = "sentry-dbid-aeae103a-d495-475e-95a4-4a0c64fa5db6");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "76d33eaf-2d23-42c5-afa5-294256710000", e._sentryDebugIdIdentifier = "sentry-dbid-76d33eaf-2d23-42c5-afa5-294256710000");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
6
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
7
- import { n as debouncedInputEvent } from "./Checkbox-BOqyVTd6.js";
8
- import { i as useAnalyticsContext } from "./Modal-B97EslpV.js";
9
- import { i as convertFullToHalf } from "./unincorporatedPartnership-BlCV-3wE.js";
7
+ import { n as debouncedInputEvent } from "./Checkbox-Ec4wyyJQ.js";
8
+ import { a as useAnalyticsContext } from "./useId-AzWxLa17.js";
9
+ import { i as convertFullToHalf } from "./unincorporatedPartnership-B5pKn0gl.js";
10
10
  import { useState } from "preact/hooks";
11
11
  import cx from "classnames";
12
12
  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] = "686d875f-4bdf-4d90-9a65-f964a36115e9", e._sentryDebugIdIdentifier = "sentry-dbid-686d875f-4bdf-4d90-9a65-f964a36115e9");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1d9a707a-ba77-482c-8790-be22ef752470", e._sentryDebugIdIdentifier = "sentry-dbid-1d9a707a-ba77-482c-8790-be22ef752470");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { G as NO_ALPHABET_REGEX, V as EMOJI_REGEX, ct as isInvalidName, dt as matchesRegex, it as hasText, q as OTHER_ENTITIES_VALID_CHAR_REGEX, rt as hasRepeatedCharacters, ut as isValidMinLength } from "./resolveEnvironment-DMoIAkRb.js";
7
- import { r as InputBase } from "./InputText-Cis19tKa.js";
8
- import { o as Field } from "./Select-BdcPU6Uf.js";
6
+ import { U as EMOJI_REGEX, Y as OTHER_ENTITIES_VALID_CHAR_REGEX, at as hasRepeatedCharacters, ft as isValidMinLength, ot as hasText, pt as matchesRegex, q as NO_ALPHABET_REGEX, ut as isInvalidName } from "./registerEmbed-CZDAZwKX.js";
7
+ import { a as InputBase } from "./RadioGroup-SDQSOsEf.js";
8
+ import { o as Field } from "./Select-DtO-GvLp.js";
9
9
  import { n as withForm } from "./formHook-Dgi2CgbT.js";
10
- import { t as getValidationError } from "./getValidationError-Ci5fkC__.js";
10
+ import { t as getValidationError } from "./getValidationError-CXILdPw6.js";
11
11
  import { jsx } from "preact/jsx-runtime";
12
12
  //#region src/adaptiveWorkflow/components/Shared/Fields/TextField/validators.ts
13
13
  var containsText = (val) => {
@@ -35,21 +35,23 @@ var contextMap = { legalName: {
35
35
  //#region src/adaptiveWorkflow/components/Shared/Fields/TextField/TextField.tsx
36
36
  var TextField = withForm({
37
37
  props: {},
38
- render: function TextFieldRender({ form, node }) {
38
+ render: function TextFieldRender({ form, node, disabled }) {
39
+ const { id, path } = node;
39
40
  const { t } = useTranslation("common");
40
- const { label, helperText, validators } = contextMap[node.id] || {};
41
+ const { label, helperText, validators } = contextMap[id] || {};
41
42
  return /* @__PURE__ */ jsx(form.Field, {
42
- name: node.path,
43
+ name: path,
43
44
  validators: {
44
45
  onBlur: ({ value }) => getValidationError(validators?.blur || defaultValidators.blur, value, t),
45
46
  onChange: ({ value }) => getValidationError(validators?.change || defaultValidators.change, value, t)
46
47
  },
47
48
  children: (field) => {
48
49
  return /* @__PURE__ */ jsx(Field, {
49
- name: node.id,
50
- label: label ? t(($) => $[label]) : node.id,
50
+ name: id,
51
+ label: label ? t(($) => $[label]) : id,
51
52
  helper: helperText && t(($) => $[helperText]),
52
53
  isValid: !field.state.meta.errors.length,
54
+ disabled,
53
55
  errorMessage: field.state.meta.errors.length ? {
54
56
  key: field.state.meta.errors[0],
55
57
  message: field.state.meta.errors[0]
@@ -59,6 +61,7 @@ var TextField = withForm({
59
61
  ...props,
60
62
  type: "text",
61
63
  "aria-required": true,
64
+ disabled,
62
65
  value: field.state.value,
63
66
  onInput: (e) => field.handleChange(e.currentTarget.value),
64
67
  onBlur: field.handleBlur