@adyen/kyc-components 4.17.1 → 4.18.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (449) hide show
  1. package/dist/{AccountSetupRejected-CIbXfS4T.js → AccountSetupRejected-b4eK65dI.js} +1 -1
  2. package/dist/{AdaptiveWorkflow-b83JMsMN.js → AdaptiveWorkflow-CcZoCwYp.js} +19 -19
  3. package/dist/{AdaptiveWorkflowComponent-BvN88iSP.js → AdaptiveWorkflowComponent-DTGmB4qT.js} +30 -30
  4. package/dist/Address-C9PWLHwA.js +132 -0
  5. package/dist/{Address-DDvR9pCB.js → AddressField-Blup_Pzc.js} +10 -130
  6. package/dist/{BusinessFinancingDropin-BD5Dg_Nu.js → BusinessFinancingDropin-TkIodSHg.js} +45 -27
  7. package/dist/{BusinessFinancingPage-D6LUADb0.js → BusinessFinancingPage-uuHBlIpc.js} +29 -29
  8. package/dist/{BusinessTypeSelectionPage-YEtiiB0m.js → BusinessTypeSelectionPage-BiZ79JGx.js} +9 -9
  9. package/dist/{CompanyRegistrationNumberTypeSelector-DdnSpMrf.js → CompanyRegistrationNumberTypeSelector-Bw8drJYB.js} +7 -19
  10. package/dist/{ContactDetails-FMjsH68A.js → ContactDetails-C9QH70Wk.js} +6 -6
  11. package/dist/{ContextGuidance-BuyNY1eL.js → ContextGuidance-CWE86uX8.js} +1 -1
  12. package/dist/{CountryField-DtaUj4gh.js → CountryField-DL3-F-J6.js} +4 -4
  13. package/dist/{Currency-BSXOgzCq.js → Currency-CL7lVfEm.js} +51 -16
  14. package/dist/{CustomerSupport-Ccmoh-P6.js → CustomerSupport-JmUj46bm.js} +10 -10
  15. package/dist/{DataConflictsModal-CZX9ktGb.js → DataConflictsModal-CQbUpR2z.js} +3 -3
  16. package/dist/{DebugModal-fbGf-MWc.js → DebugModal-CmsEh5xp.js} +4 -4
  17. package/dist/{DecisionMakerDetails-DNo_ca88.js → DecisionMakerDetails-CQz7XzMD.js} +17 -8
  18. package/dist/{DecisionMakerDetailsPage-Cldcdq2i.js → DecisionMakerDetailsPage-Bins2i7d.js} +8 -8
  19. package/dist/{DecisionMakers-59bV3LAL.js → DecisionMakers-CfFjy_jm.js} +13 -13
  20. package/dist/{Dropzone-C-iF9Vi5.js → Dropzone-COnvkQh6.js} +4 -4
  21. package/dist/{EntityAssociation-C8dO76vZ.js → EntityAssociation-BAJ3jdrt.js} +3 -3
  22. package/dist/{ErrorPanel-WxNhR0d1.js → ErrorPanel-D2HeWU2y.js} +46 -26
  23. package/dist/{Field-CPvnOkLo.js → Field-Dg-2A6bG.js} +1 -1
  24. package/dist/GlobalEntryModal-S77yxIeE.js +34 -0
  25. package/dist/GlobalEntryPage-C-ZFLZXn.js +44 -0
  26. package/dist/{Individual.rules-s4Yf5eU4.js → Individual.rules-Caf9UMUo.js} +4 -4
  27. package/dist/{IndividualDropin-CGyphiDA.js → IndividualDropin-Bz6OP1-9.js} +44 -44
  28. package/dist/{InputDate-CSOtcXS1.js → InputDate-CxzAaaCm.js} +2 -2
  29. package/dist/{InputText-B7eseCmi.js → InputText-CQcWyZ8_.js} +1 -1
  30. package/dist/{Introduction-CCNqyCrC.js → Introduction-DV1ncvQA.js} +4 -4
  31. package/dist/{InvitedDecisionMakerComponent-C0QTLh0d.js → InvitedDecisionMakerComponent-Cp2gXq-4.js} +105 -37
  32. package/dist/{JpAddress-CoupMKM0.js → JpAddress-Cv1h40L8.js} +14 -54
  33. package/dist/JpAddress.module-Bdx0E9ys.js +48 -0
  34. package/dist/JpAddressFields-kWf8az-A.js +246 -0
  35. package/dist/{LandingLayout-CUAkXrpL.js → LandingLayout-iZpW1Vsx.js} +7 -2
  36. package/dist/{LegalCompanyNameField-BcvsTDKX.js → LegalCompanyNameField-Cb8lsgEl.js} +4 -4
  37. package/dist/{LegalRepresentativeDetailsPage-DgIHSSTF.js → LegalRepresentativeDetailsPage-D_bK2ETK.js} +7 -7
  38. package/dist/{MaskedInput-BiVsiGoh.js → MaskedInput-B1s7g7RX.js} +4 -4
  39. package/dist/{MaybeModal-CSdyWPpb.js → MaybeModal-CHv9TiJZ.js} +1 -1
  40. package/dist/{Name-BaA99nWp.js → Name-Cw7gZ538.js} +4 -4
  41. package/dist/{NewSummary-CTrWtwIQ.js → NewSummary-cq_5H0ET.js} +4 -4
  42. package/dist/{PatriotActDisclosure-CCeWR4Oq.js → PatriotActDisclosure-Cmj8Y1xN.js} +12 -12
  43. package/dist/{PayoutDetailsDropinMultiForm-BwuVaAmr.js → PayoutDetailsDropin-DQXj7NYK.js} +407 -198
  44. package/dist/PayoutDetailsPage-B4TbKzVH.js +70 -0
  45. package/dist/{RadioGroup-BgK1r1tF.js → RadioGroup-Bt1Dv_S8.js} +1 -1
  46. package/dist/{Review-D1mcQJrf.js → Review-DepeQUYT.js} +3 -3
  47. package/dist/{RootBusinessDetailsPage-UtSS2mdy.js → RootBusinessDetailsPage-D0NwQoPs.js} +31 -31
  48. package/dist/{RootBusinessLinesPage-Bo9s9RL7.js → RootBusinessLinesPage-Eqzqj3K4.js} +34 -26
  49. package/dist/{RootIndividualDetailsPage-Coha-RRS.js → RootIndividualDetailsPage-XuapH0Wj.js} +7 -7
  50. package/dist/{Select-CZK4IIZ-.js → Select-D4oEtS2n.js} +1 -1
  51. package/dist/{SignPCIComponent-Bubz_okk.js → SignPCIComponent-CvisiXn0.js} +35 -35
  52. package/dist/{SingpassSelection-DIcF-cpQ.js → SingpassSelection-B0gsVLud.js} +3 -3
  53. package/dist/{SoleProprietorshipPage-BRKwSK5E.js → SoleProprietorshipPage-CaItSb2W.js} +31 -31
  54. package/dist/{SourceOfFundsPage-CgRxKOnY.js → SourceOfFundsPage-CJQYX9qF.js} +32 -27
  55. package/dist/{StructuredList-CUyo9-3i.js → StructuredList-Ci4Ut4E5.js} +1 -1
  56. package/dist/{Summary-mNbdzw-P.js → Summary-B9EofZyr.js} +17 -8
  57. package/dist/{TaskListItem-BahFqs9L.js → TaskListItem-DBBj0Y4g.js} +6 -6
  58. package/dist/{TaxReportingDropin-P_t-4Xqx.js → TaxReportingDropin-CzE-076z.js} +12 -12
  59. package/dist/{AcceptTermsOfServiceComponent-Bb-lNxor.js → TermsOfServiceManagement-PkkioJsE.js} +41 -41
  60. package/dist/{TextArea-Blkrb-8X.js → TextArea-BUx3yuMJ.js} +1 -1
  61. package/dist/{TileGroup-g2SzfZR0.js → TileGroup-PzJay6GP.js} +1 -1
  62. package/dist/{TrustDetailsPage-wj1_97mM.js → TrustDetailsPage-BERtwZSv.js} +67 -29
  63. package/dist/{TrustMemberCompanyPage-CvyLRfrq.js → TrustMemberCompanyPage-DMRfpnEn.js} +32 -32
  64. package/dist/{TrustMemberIndividualPage-DwbRy7lS.js → TrustMemberIndividualPage-DhAF3XR_.js} +7 -7
  65. package/dist/{TrustMemberRoleAndTypePage-CRQmqNND.js → TrustMemberRoleAndTypePage-C0MwL0BN.js} +19 -19
  66. package/dist/{TrustMembersOverview-BsjeX9OX.js → TrustMembersOverview-Bn8OAD_X.js} +10 -10
  67. package/dist/{UnincorporatedPartnershipIndividualPage-B5yhkJLZ.js → UnincorporatedPartnershipIndividualPage-cMb4UAPy.js} +7 -7
  68. package/dist/{UnincorporatedPartnershipMemberCompanyPage-Lz3G9Ts0.js → UnincorporatedPartnershipMemberCompanyPage-PVG3pAWY.js} +32 -32
  69. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-YYLlk6o_.js → UnincorporatedPartnershipMemberRoleAndTypePage-Da-wBICm.js} +22 -144
  70. package/dist/{UnincorporatedPartnershipMembersOverview-DD-UIG4X.js → UnincorporatedPartnershipMembersOverview-D16uh-Oz.js} +6 -6
  71. package/dist/{VerificationErrorAlert-C0kw5v1T.js → VerificationErrorAlert-CcHG8uTw.js} +2 -2
  72. package/dist/{accountHolderUtils-CRbTtDf8.js → accountHolderUtils-BT48ldYL.js} +2 -2
  73. package/dist/adyen-business-financing.js +30 -30
  74. package/dist/adyen-individual-configuration.js +33 -33
  75. package/dist/adyen-individual-status.js +28 -28
  76. package/dist/adyen-invited-decision-maker.js +2 -2
  77. package/dist/adyen-onboarding.js +146 -102
  78. package/dist/adyen-terms-of-service-management.js +4 -4
  79. package/dist/adyen-terms-of-service-status.js +5 -5
  80. package/dist/adyen-transfer-instrument-configuration.js +58 -57
  81. package/dist/adyen-transfer-instrument-management.js +60 -59
  82. package/dist/adyen-verification-status.js +2 -2
  83. package/dist/{bafinUtils-BKq-s1Ka.js → bafinUtils-CbfyDBkh.js} +6 -6
  84. package/dist/bg-BG-BNxxbT-Z.js +7 -0
  85. package/dist/bg-BG-CEcxO0H0.js +7 -0
  86. package/dist/{bg-BG-DvFMee1j.js → bg-BG-DWtVZckB.js} +2 -2
  87. package/dist/business-details-CPkvjYXG.js +355 -0
  88. package/dist/{constants-DQuh8ePv.js → constants-BIISJQRp.js} +4 -4
  89. package/dist/cs-CZ-B2huX9v2.js +7 -0
  90. package/dist/cs-CZ-Bw702SPD.js +7 -0
  91. package/dist/{cs-CZ-B7aDrpPP.js → cs-CZ-DeM0O93X.js} +2 -2
  92. package/dist/da-DK-CUL_Et0l.js +7 -0
  93. package/dist/da-DK-D-u3tkjY.js +7 -0
  94. package/dist/{da-DK-C3i7IAmt.js → da-DK-DrYRErQi.js} +2 -2
  95. package/dist/{de-DE-DtVJKjKN.js → de-DE-CNHKj2ar.js} +2 -2
  96. package/dist/de-DE-Cd5T_rWB.js +7 -0
  97. package/dist/de-DE-D-2q3DBW.js +7 -0
  98. package/dist/{decisionMakerRoles-DIG8zo1C.js → decisionMakerRoles-CTy0faoW.js} +2 -2
  99. package/dist/el-GR-BHu8fnYR.js +7 -0
  100. package/dist/{el-GR-DxtT4Lft.js → el-GR-DC8wWZlc.js} +2 -2
  101. package/dist/el-GR-RkQ7qOtM.js +7 -0
  102. package/dist/en-US-7Uo1OcXR.js +51 -0
  103. package/dist/en-US-B48_sHax.js +13 -0
  104. package/dist/en-US-BNfqvbyW.js +7 -0
  105. package/dist/en-US-CUqerEKF.js +7 -0
  106. package/dist/en-US-MqobYcqc.js +7 -0
  107. package/dist/en-US.instructions-CksZ4E5j.js +11 -0
  108. package/dist/{entityAssociationUtil-C-wflW8q.js → entityAssociationUtil-DLXInibJ.js} +1 -1
  109. package/dist/es-ES-CtKqdJ9Z.js +7 -0
  110. package/dist/{es-ES-BIQfz_ub.js → es-ES-L_7CovzS.js} +2 -2
  111. package/dist/es-ES-sAOz5HKH.js +7 -0
  112. package/dist/es-LA-BU32JqC-.js +7 -0
  113. package/dist/{es-LA-CsbPBWVy.js → es-LA-DPvp-UlN.js} +2 -2
  114. package/dist/es-LA-racbldhR.js +7 -0
  115. package/dist/{et-EE-BcjBS0ZN.js → et-EE-4OTBQhPM.js} +2 -2
  116. package/dist/et-EE-C29Bb4Rw.js +7 -0
  117. package/dist/et-EE-CXOeuULd.js +7 -0
  118. package/dist/{fi-FI-DEpeYxdL.js → fi-FI-6yq1jSRa.js} +2 -2
  119. package/dist/fi-FI-BNfxJDvc.js +7 -0
  120. package/dist/fi-FI-BT1l2Dz5.js +7 -0
  121. package/dist/{formUtils-C4NqSvj-.js → formUtils-BrLGUOLK.js} +1 -1
  122. package/dist/fr-FR-Byelw2ED.js +7 -0
  123. package/dist/{fr-FR-GQrgs_DS.js → fr-FR-DBM2tUge.js} +2 -2
  124. package/dist/fr-FR-DKdat8Bf.js +7 -0
  125. package/dist/{getFormSlice-BhE08Y1v.js → getFormSlice-C1ma6Xd4.js} +4 -1
  126. package/dist/{getName-D4ECvzcI.js → getName-C5jqdkJg.js} +1 -1
  127. package/dist/{getProblemsForEntity-n6j8So3N.js → getProblemsForEntity-ubvE1Px7.js} +1 -1
  128. package/dist/{getProps-1L-urpfA.js → getProps-DVqK7eRw.js} +51 -2
  129. package/dist/global-entry-illustration-By_EjQFM.js +288 -0
  130. package/dist/hr-HR-CAwy4u2B.js +7 -0
  131. package/dist/hr-HR-Cmnnjuvd.js +7 -0
  132. package/dist/{hr-HR-BwKDcJ9v.js → hr-HR-Vx0hO2h4.js} +2 -2
  133. package/dist/hu-HU-8uDv5c4i.js +7 -0
  134. package/dist/hu-HU-BmQJPXo2.js +7 -0
  135. package/dist/{hu-HU-81HMvS9Y.js → hu-HU-DsUOhM2K.js} +2 -2
  136. package/dist/{invalidateRootLegalEntity-BXEeCEPH.js → invalidateRootLegalEntity-J6Fn_3DE.js} +1 -1
  137. package/dist/it-IT-8DGwiIEf.js +7 -0
  138. package/dist/{it-IT-Il0f-h2h.js → it-IT-CL_4Y1hK.js} +2 -2
  139. package/dist/it-IT-VzcvfA7e.js +7 -0
  140. package/dist/ja-JP-B05v6NdN.js +7 -0
  141. package/dist/ja-JP-BG7p2_ZL.js +7 -0
  142. package/dist/{ja-JP-Dk2zBWeH.js → ja-JP-CNBPrNgM.js} +2 -2
  143. package/dist/lt-LT-C7Bf2i87.js +7 -0
  144. package/dist/{lt-LT-DZ2Uu9bq.js → lt-LT-CPBTVJeD.js} +2 -2
  145. package/dist/lt-LT-DCayRCd-.js +7 -0
  146. package/dist/{lv-LV-BCMHodgd.js → lv-LV-CBsGjmsA.js} +2 -2
  147. package/dist/lv-LV-D3bkGuXV.js +7 -0
  148. package/dist/lv-LV-DXymHGml.js +7 -0
  149. package/dist/{mapExistingFile-CBm5xZ6Y.js → mapExistingFile-BvFf01k6.js} +9 -6
  150. package/dist/{mapJpAddressSchemaToAddressLocalizations-DZUd0pQT.js → mapJpAddressSchemaToAddressLocalizations-DHL5chu8.js} +15 -2
  151. package/dist/{mapLegalEntityToIndividualSchema-ffgKdB7f.js → mapLegalEntityToIndividualSchema-BeR7ESyx.js} +5 -5
  152. package/dist/{mapTransferInstrumentToPayoutAccount-CzGprA7W.js → mapTransferInstrumentToPayoutAccount-2iWuaqS_.js} +2 -2
  153. package/dist/{nl-NL-D2oZHtTs.js → nl-NL-C5MHFAIE.js} +2 -2
  154. package/dist/nl-NL-DkYkY9Mu.js +7 -0
  155. package/dist/nl-NL-lyCxhWKl.js +7 -0
  156. package/dist/{no-NO-D5l99NQF.js → no-NO-Bna_-q84.js} +2 -2
  157. package/dist/no-NO-CCbUtRmU.js +7 -0
  158. package/dist/no-NO-FFwOUFr9.js +7 -0
  159. package/dist/{omitObscuredFieldsIfUnchanged-DsnQrP7Q.js → omitObscuredFieldsIfUnchanged-5n50BfST.js} +2 -2
  160. package/dist/{patternValidators-CF0ehPio.js → patternValidators-Be6iVFPv.js} +1 -1
  161. package/dist/pl-PL-B9u7WZBs.js +7 -0
  162. package/dist/pl-PL-BDauaEiz.js +7 -0
  163. package/dist/{pl-PL-C_QR0_4u.js → pl-PL-Ddtqvtag.js} +2 -2
  164. package/dist/{process-field-configurations-hFtQDU3k.js → process-field-configurations-DBtjrbif.js} +3 -3
  165. package/dist/{processCapabilities-BeE0xWUp.js → processCapabilities-C2kMryYn.js} +25 -25
  166. package/dist/{validationError-DwNvWaOL.js → processValidationErrors-DDA2CFwh.js} +21 -27
  167. package/dist/pt-BR-CoWBKHni.js +7 -0
  168. package/dist/{pt-BR-DVpGdnO-.js → pt-BR-D3oWr3QJ.js} +2 -2
  169. package/dist/pt-BR-XeJRk5pM2.js +7 -0
  170. package/dist/pt-PT-CCuTeMbQ.js +7 -0
  171. package/dist/pt-PT-Dhfc0izN.js +7 -0
  172. package/dist/{pt-PT-Bkylp1fh.js → pt-PT-DpYwMinP.js} +2 -2
  173. package/dist/{resolveEnvironment-eLCNmAkD.js → resolveEnvironment-GK5T4kh0.js} +45 -37
  174. package/dist/ro-RO-B9RvKzTz.js +7 -0
  175. package/dist/ro-RO-CXGpXJAG.js +7 -0
  176. package/dist/{ro-RO-D9hC-2Yu.js → ro-RO-CZpwJ4Sy.js} +2 -2
  177. package/dist/{roleMetadata-BWpcmJKX.js → roleMetadata-a4sEtgHv.js} +1 -1
  178. package/dist/sk-SK-B2XAy5Yw.js +7 -0
  179. package/dist/sk-SK-DoHPhXvk.js +7 -0
  180. package/dist/{sk-SK-DWVcJde-.js → sk-SK-DyKdrRnN.js} +2 -2
  181. package/dist/sl-SI-DwiiZ7hf.js +7 -0
  182. package/dist/sl-SI-Ga2XE4DC.js +7 -0
  183. package/dist/{sl-SI-cVr04Hr7.js → sl-SI-nHUFaEcp.js} +2 -2
  184. package/dist/style.css +148 -245
  185. package/dist/styles-DYaAeu4q.js +148 -245
  186. package/dist/sv-SE-3IKbfvgP.js +7 -0
  187. package/dist/sv-SE-DYjpbult.js +7 -0
  188. package/dist/{sv-SE-DTqSBLbI.js → sv-SE-DxMX8Ox_.js} +2 -2
  189. package/dist/{taskTypes-NawDTp5n.js → taskTypes-3vSkMBDm.js} +2 -1
  190. package/dist/types/api/companySearch/useCompanySearch.d.ts +6 -0
  191. package/dist/types/api/invitedEntity/getInvitedEntityProblems.d.ts +4 -0
  192. package/dist/types/api/invitedEntity/useInvitedEntityVerificationErrors.d.ts +7 -0
  193. package/dist/types/api/queryKeys.d.ts +2 -1
  194. package/dist/types/api/tinVerification/useVerifyTin.d.ts +5 -0
  195. package/dist/types/components/Apps/tasks/TaskList/{TaskListGroup.d.ts → TaskListGroup/TaskListGroup.d.ts} +1 -1
  196. package/dist/types/components/Apps/tasks/TaskList/TaskListItem/types.d.ts +25 -0
  197. package/dist/types/components/Apps/tasks/TaskList/types.d.ts +0 -25
  198. package/dist/types/components/BankAccount/fields/BankAccountType/BankAccountType.d.ts +2 -0
  199. package/dist/types/components/BankAccount/fields/BankAccountType/type.d.ts +6 -0
  200. package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +2 -0
  201. package/dist/types/components/BankAccount/forms/PayoutDetails/{PayoutDetailsMultiform.d.ts → PayoutDetails.d.ts} +2 -2
  202. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1 -1
  203. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +2 -0
  204. package/dist/types/components/BankAccount/utils/payoutAccountFormats.d.ts +18 -0
  205. package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +26 -4
  206. package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +22 -4
  207. package/dist/types/components/Business/forms/BusinessDetails/{BusinessDetailsMultiform.d.ts → BusinessDetails.d.ts} +1 -1
  208. package/dist/types/components/Business/forms/rules.d.ts +27 -1
  209. package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +9 -2
  210. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +11 -0
  211. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +3 -0
  212. package/dist/types/components/EmbeddedDropins/{AcceptTermsOfServiceComponent/AcceptTermsOfServiceComponent.d.ts → TermsOfServiceManagement/TermsOfServiceManagement.d.ts} +2 -2
  213. package/dist/types/components/EmbeddedDropins/TermsOfServiceStatus/TermsOfServiceStatus.d.ts +6 -0
  214. package/dist/types/components/GlobalEntry/forms/GlobalEntryModal/GlobalEntryModal.d.ts +1 -0
  215. package/dist/types/components/GlobalEntry/forms/GlobalEntryModal/isGlobalEntryModalOpen.d.ts +1 -0
  216. package/dist/types/components/GlobalEntry/tasks/GlobalEntryPage.d.ts +1 -0
  217. package/dist/types/components/Individual/helpers/bafinUtils.d.ts +6 -5
  218. package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
  219. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -1
  220. package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +5 -0
  221. package/dist/types/components/Shared/forms/Address/AddressFields.d.ts +11 -0
  222. package/dist/types/components/Shared/forms/Address/localized/jp/JpAddressFields.d.ts +9 -0
  223. package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +1 -1
  224. package/dist/types/components/Shared/forms/Address/utils.d.ts +2 -2
  225. package/dist/types/components/ui/molecules/ErrorPanel/ServerValidationErrors.d.ts +1 -1
  226. package/dist/types/components/ui/molecules/ErrorPanel/types.d.ts +4 -8
  227. package/dist/types/context/ToggleContext/types.d.ts +8 -0
  228. package/dist/types/core/types.d.ts +0 -11
  229. package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts +1 -1
  230. package/dist/types/hooks/useScenarioConfiguration.d.ts +4 -2
  231. package/dist/types/router/getDefaultTask.d.ts +3 -1
  232. package/dist/types/router/routeConfig.d.ts +2 -1
  233. package/dist/types/stores/globalStore/taskTypes.d.ts +1 -0
  234. package/dist/types/types/errors/entity-problems.d.ts +8 -1
  235. package/dist/types/types/form-rules.d.ts +1 -1
  236. package/dist/types/utils/api/processValidationErrors.d.ts +1 -1
  237. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  238. package/dist/types/utils/getFieldNameFromPath.d.ts +1 -0
  239. package/dist/types/utils/getFormSlice.d.ts +7 -4
  240. package/dist/types/utils/getProps.d.ts +12 -0
  241. package/dist/types/utils/masking/masks/businessRegistrationNumberMasks.d.ts +0 -5
  242. package/dist/types/utils/regex/businessRegistrationNumberPatterns.d.ts +0 -3
  243. package/dist/types/utils/validationError.d.ts +1 -0
  244. package/dist/{useBusinessDetailsData-D0PJ9tyW.js → useBusinessDetailsData-DCVBepLs.js} +462 -331
  245. package/dist/{useCanSeeIntroduction-DaQwrjJ-.js → useCanSeeIntroduction-DrlUqeMe.js} +2 -2
  246. package/dist/{useDataMissingRemediations-MNtvN32n.js → useDataMissingRemediations-BzbA8Mu4.js} +2 -2
  247. package/dist/{useForm-Cv3aZas7.js → useForm-CUZ1OXNT.js} +2 -2
  248. package/dist/{useFormContext-CtpjwLuZ.js → useFormContext-Br4I8Pwd.js} +4 -5
  249. package/dist/{useMultiForm-BIa2K3IX.js → useMultiForm-4UkMBFNd.js} +19 -53
  250. package/dist/{useNavigate-Cah-_jS1.js → useNavigate-M26qVOyL.js} +41 -35
  251. package/dist/{useTrustMembers-BJccqTXe.js → useTrustMembers-BzeLWevD.js} +4 -4
  252. package/dist/{useUnincorporatedPartnershipMembers-C2eHPtsR.js → useUnincorporatedPartnershipMembers-B5WCX6yK.js} +3 -3
  253. package/dist/{useUpdateLegalEntity-xQVlW3fk.js → useUpdateLegalEntity-dTvcbSw5.js} +1 -1
  254. package/dist/{utils-Cx2kRIsq.js → utils-BgABwuIB.js} +33 -8
  255. package/dist/{utils-ChXVrj27.js → utils-CrmXqlJx.js} +6 -6
  256. package/dist/{utils-CCvjBg7M.js → utils-DrqKnCzc.js} +13 -53
  257. package/dist/{validate-Dddd90Q3.js → validate-CMxq61UU.js} +1 -1
  258. package/dist/{validate-DZIWXgfU.js → validate-CkOSeje2.js} +1 -1
  259. package/dist/{validateExtractionResult-ClctqC0B.js → validateExtractionResult-0_aLL_AX.js} +5 -5
  260. package/dist/validationError-Bk5vfkJ5.js +55 -0
  261. package/package.json +3 -11
  262. package/dist/AD-Clkur2Hx.js +0 -15
  263. package/dist/AE-BUOfE-VR.js +0 -17
  264. package/dist/AI-BApAOdVW.js +0 -19
  265. package/dist/AL-DfPgkH9x.js +0 -19
  266. package/dist/AR-Bddz61XJ.js +0 -19
  267. package/dist/AS-C3xgvOIz.js +0 -17
  268. package/dist/AT-DnJdtYnd.js +0 -15
  269. package/dist/AU-DL1fsj76.js +0 -16
  270. package/dist/AX-BTtRN-MP.js +0 -15
  271. package/dist/AZ-CXVL6e85.js +0 -19
  272. package/dist/BA-27B-jpFq.js +0 -19
  273. package/dist/BE-BSUwgR6_.js +0 -15
  274. package/dist/BG-ChvSTIBz.js +0 -19
  275. package/dist/BH-D1HvWueK.js +0 -19
  276. package/dist/BM-bLwVUrnz.js +0 -19
  277. package/dist/BR-nSEEl5uz.js +0 -18
  278. package/dist/BS-Bf402NRj.js +0 -19
  279. package/dist/BV-CJwVioP4.js +0 -19
  280. package/dist/BY-CYaB1wEE.js +0 -19
  281. package/dist/CA-B49VPJKw.js +0 -17
  282. package/dist/CH-BASES6q1.js +0 -15
  283. package/dist/CN-CEIcYgEd.js +0 -19
  284. package/dist/CR-CU6MVhAz.js +0 -19
  285. package/dist/CY-DSZIX0eb.js +0 -15
  286. package/dist/CZ-CUYgGHVo.js +0 -27
  287. package/dist/DE-3Qc-SfVV.js +0 -15
  288. package/dist/DK--Bs4HfJM.js +0 -27
  289. package/dist/DO-D4wgMRWE.js +0 -19
  290. package/dist/EC-B2FGK-mr.js +0 -20
  291. package/dist/EE-qXeASUC-.js +0 -15
  292. package/dist/ES-BBz54aGb.js +0 -15
  293. package/dist/FI-DHkXLS9S.js +0 -15
  294. package/dist/FJ-V_2w3UTO.js +0 -19
  295. package/dist/FO-DR-Xnm7u.js +0 -19
  296. package/dist/FR-CtpYelsq.js +0 -15
  297. package/dist/GB-G_B8HSJg.js +0 -27
  298. package/dist/GE-By9lo4py.js +0 -19
  299. package/dist/GF-B0xFBl9q.js +0 -15
  300. package/dist/GG-bAeosM_i.js +0 -27
  301. package/dist/GI-DfkPsLw0.js +0 -35
  302. package/dist/GL-DhRtJPZY.js +0 -19
  303. package/dist/GP-DNyYQvJw.js +0 -15
  304. package/dist/GR-DK-QrYIO.js +0 -15
  305. package/dist/GT-BRuMYK92.js +0 -19
  306. package/dist/GU-DAYIt05K.js +0 -17
  307. package/dist/HK-DeKSh6yq.js +0 -17
  308. package/dist/HR-D0EqC8kx.js +0 -15
  309. package/dist/HU-DIT5cG5Z.js +0 -26
  310. package/dist/ID-BBzj2tyK.js +0 -19
  311. package/dist/IE-CxtzANSG.js +0 -15
  312. package/dist/IL-CgJ0eWPT.js +0 -15
  313. package/dist/IM-Ca1LRzUz.js +0 -27
  314. package/dist/IN--pr2-g7e.js +0 -20
  315. package/dist/IS-BZeqGau3.js +0 -19
  316. package/dist/IT-BioiAQgd.js +0 -15
  317. package/dist/JE-BCj36onT.js +0 -27
  318. package/dist/JM-b03xrGTz.js +0 -19
  319. package/dist/JO-CA8m_H5N.js +0 -19
  320. package/dist/JP-DroDT2u3.js +0 -20
  321. package/dist/KR-BkBLDQIT.js +0 -19
  322. package/dist/KW-dB3SXEf8.js +0 -19
  323. package/dist/KY-mZ-zKVkq.js +0 -19
  324. package/dist/KZ-CcyUPGdv.js +0 -19
  325. package/dist/LB-DmtcVmjU.js +0 -19
  326. package/dist/LI-haSXATP0.js +0 -15
  327. package/dist/LT-CYlhLD3-.js +0 -15
  328. package/dist/LU-CnQilYzI.js +0 -15
  329. package/dist/LV-BJoOuCmD.js +0 -15
  330. package/dist/MC-1OhRuam2.js +0 -15
  331. package/dist/MD-DN7TRpmW.js +0 -19
  332. package/dist/ME-CuMiA40n.js +0 -19
  333. package/dist/MK-DGR-uR66.js +0 -19
  334. package/dist/MP-xhfj0dkC.js +0 -17
  335. package/dist/MQ-CZu5G2-t.js +0 -15
  336. package/dist/MR--V7elAIS.js +0 -19
  337. package/dist/MT-BmkVDeF2.js +0 -15
  338. package/dist/MU-LzgqzZzT.js +0 -19
  339. package/dist/MX-z-WoZkPd.js +0 -17
  340. package/dist/MY-WsFwWp2U.js +0 -16
  341. package/dist/NC-B9M8cc6C.js +0 -19
  342. package/dist/NL-CXjh0eXG.js +0 -15
  343. package/dist/NO-BuWcaqBm.js +0 -26
  344. package/dist/NZ-BDDXct1F.js +0 -11
  345. package/dist/PE-DJZc_8Lk.js +0 -19
  346. package/dist/PF-D593LuXT.js +0 -19
  347. package/dist/PH-CJRjYgx3.js +0 -19
  348. package/dist/PK-C1TVRYA6.js +0 -19
  349. package/dist/PL-C3tudSnw.js +0 -26
  350. package/dist/PM-CPvVGX_s.js +0 -15
  351. package/dist/PR-C6mnN4I1.js +0 -17
  352. package/dist/PS-Bqa7HAb6.js +0 -19
  353. package/dist/PT-BHFP2Jx8.js +0 -15
  354. package/dist/PayoutDetailsPage-DVgjP63L.js +0 -69
  355. package/dist/QA-B2A0rFrR.js +0 -19
  356. package/dist/RE-BSdvJRM5.js +0 -15
  357. package/dist/RO-BZxtXYEM.js +0 -15
  358. package/dist/RS-DAtcOeON.js +0 -19
  359. package/dist/RU-CDpkuVOX.js +0 -19
  360. package/dist/SA-BoAcP38a.js +0 -19
  361. package/dist/SE-DX5R7MEM.js +0 -27
  362. package/dist/SG-Dm4nWFwC.js +0 -16
  363. package/dist/SI-CbzJWJo5.js +0 -15
  364. package/dist/SJ-C0EiPIY7.js +0 -19
  365. package/dist/SK-Bg9K35hT.js +0 -15
  366. package/dist/SM-BAP1izca.js +0 -15
  367. package/dist/TF-BzLXwUD9.js +0 -19
  368. package/dist/TH-wvwE8m03.js +0 -20
  369. package/dist/TL-CAwOhktT.js +0 -19
  370. package/dist/TN-Bs-VE6A_.js +0 -19
  371. package/dist/TR-7uYc2xp7.js +0 -19
  372. package/dist/TT-DbzL2xhJ.js +0 -20
  373. package/dist/TW-BTAvA4FA.js +0 -21
  374. package/dist/UA-BAkAL82L.js +0 -19
  375. package/dist/US-BXek71cY.js +0 -17
  376. package/dist/UY-Bq43JSIl.js +0 -19
  377. package/dist/VA-CHkQ7jk0.js +0 -15
  378. package/dist/VG-DnUOjTKa.js +0 -19
  379. package/dist/VI-CjjaTPrq.js +0 -17
  380. package/dist/VN-DgqMueJl.js +0 -19
  381. package/dist/WF-Czcwchbb.js +0 -19
  382. package/dist/YT-BTQIBrb1.js +0 -15
  383. package/dist/ZA-BAufwt8q.js +0 -20
  384. package/dist/bg-BG-BHL5r3bk.js +0 -7
  385. package/dist/bg-BG-CYrrltO8.js +0 -7
  386. package/dist/cs-CZ-DfuZr4cv.js +0 -7
  387. package/dist/cs-CZ-SBisIyel.js +0 -7
  388. package/dist/da-DK-CLx0Hv_L.js +0 -7
  389. package/dist/da-DK-CcvXqgMA.js +0 -7
  390. package/dist/de-DE-CcOP7Z3J.js +0 -7
  391. package/dist/de-DE-qTvDZ5Tj.js +0 -7
  392. package/dist/el-GR-CO9ixkqP.js +0 -7
  393. package/dist/el-GR-D1QMkjQd.js +0 -7
  394. package/dist/en-US-C1J9jcVI.js +0 -7
  395. package/dist/en-US-CJsQJw90.js +0 -7
  396. package/dist/en-US-Dokjxy17.js +0 -7
  397. package/dist/es-ES-CwLsmJeQ.js +0 -7
  398. package/dist/es-ES-fgGV_t7L.js +0 -7
  399. package/dist/es-LA-CLD_193O.js +0 -7
  400. package/dist/es-LA-b7TFh_XZ.js +0 -7
  401. package/dist/et-EE-CEiroCyD.js +0 -7
  402. package/dist/et-EE-o65QgBKk.js +0 -7
  403. package/dist/fi-FI-CKffkrhp.js +0 -7
  404. package/dist/fi-FI-Cqf4k_ja.js +0 -7
  405. package/dist/fr-FR-B_JTgxAY.js +0 -7
  406. package/dist/fr-FR-CQbo6d_Q.js +0 -7
  407. package/dist/hr-HR-BH4GZRVw.js +0 -7
  408. package/dist/hr-HR-COHtbZDp.js +0 -7
  409. package/dist/hu-HU-D0LsAFcV.js +0 -7
  410. package/dist/hu-HU-xQwE0I5f.js +0 -7
  411. package/dist/it-IT-DDUd_IZC.js +0 -7
  412. package/dist/it-IT-NOsTkUWg.js +0 -7
  413. package/dist/ja-JP-Br0ivw8k.js +0 -7
  414. package/dist/ja-JP-C98F-BgJ.js +0 -7
  415. package/dist/jpAddressSchema-DT19YcnH.js +0 -17
  416. package/dist/lt-LT-DUC5ir_t.js +0 -7
  417. package/dist/lt-LT-erbGBPqF.js +0 -7
  418. package/dist/lv-LV-BBegWP3c.js +0 -7
  419. package/dist/lv-LV-xbEcOY__.js +0 -7
  420. package/dist/nl-NL-Cpuz-HtA.js +0 -7
  421. package/dist/nl-NL-NTjVSJq2.js +0 -7
  422. package/dist/no-NO-B6zGFOCK.js +0 -7
  423. package/dist/no-NO-Bd3KNpMs.js +0 -7
  424. package/dist/pl-PL-Bg2G4ioZ.js +0 -7
  425. package/dist/pl-PL-Cw9UG-qg.js +0 -7
  426. package/dist/pt-BR-BrCPGoU1.js +0 -7
  427. package/dist/pt-BR-DT63AAqA2.js +0 -7
  428. package/dist/pt-PT-BFTfpBI4.js +0 -7
  429. package/dist/pt-PT-Dilg4TrM.js +0 -7
  430. package/dist/ro-RO-DJeBU2j9.js +0 -7
  431. package/dist/ro-RO-DRzT7WiY.js +0 -7
  432. package/dist/sk-SK-CuXM9tOj.js +0 -7
  433. package/dist/sk-SK-rMCHSdm4.js +0 -7
  434. package/dist/sl-SI-BDRsH7Bv.js +0 -7
  435. package/dist/sl-SI-Dg4bivT7.js +0 -7
  436. package/dist/sv-SE-Cimi5Nb9.js +0 -7
  437. package/dist/sv-SE-DaklU1jx.js +0 -7
  438. package/dist/trackNavigation-DR70qR8T.js +0 -15
  439. package/dist/trusted-fields-provider-DLz8KKVf.js +0 -10
  440. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropinMultiForm.d.ts +0 -2
  441. package/dist/types/components/EmbeddedDropins/ManageTermsOfServiceComponent/ManageTermsOfServiceComponent.d.ts +0 -6
  442. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/RouterDropinComposer.d.ts +0 -3
  443. package/dist/types/components/Shared/FormNavigation/FormNavigation.d.ts +0 -4
  444. package/dist/types/components/Shared/FormNavigation/FormNavigationItem.d.ts +0 -4
  445. package/dist/types/components/Shared/FormNavigation/types.d.ts +0 -22
  446. package/dist/types/datasets/generators/getAccountFormatForCountry.d.ts +0 -14
  447. /package/dist/types/components/Apps/tasks/TaskList/{TaskListItem.d.ts → TaskListItem/TaskListItem.d.ts} +0 -0
  448. /package/dist/types/components/BankAccount/forms/PayoutAccount/{payoutAccountFormat.d.ts → store.d.ts} +0 -0
  449. /package/dist/types/components/{Apps/tasks/TaskList → BankAccount/tasks/PayoutAccount}/PayoutAccountTaskListItem.d.ts +0 -0
@@ -2,10 +2,10 @@ 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
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5a568aa3-0f85-441f-8a06-165333eac2d5", e._sentryDebugIdIdentifier = "sentry-dbid-5a568aa3-0f85-441f-8a06-165333eac2d5");
4
4
  } catch (e) {}
5
- import { _ as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-eLCNmAkD.js";
5
+ import { _ as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-GK5T4kh0.js";
6
6
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
7
7
  import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
8
- import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-C-wflW8q.js";
8
+ import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-DLXInibJ.js";
9
9
  import { t as SettingNames } from "./types-Cwq1JAWT.js";
10
10
  //#region src/hooks/useLegalEntityType.ts
11
11
  var useLegalEntityType = ({ legalEntity }) => {
@@ -3,8 +3,8 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0e08a2d6-3469-4a22-a5b2-81f030dfcd29", e._sentryDebugIdIdentifier = "sentry-dbid-0e08a2d6-3469-4a22-a5b2-81f030dfcd29");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-BYvhW5zA.js";
6
- import { C as EntityTypes, T as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-BeE0xWUp.js";
7
- import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
6
+ import { C as EntityTypes, T as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-C2kMryYn.js";
7
+ import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
8
8
  import { useMemo } from "preact/hooks";
9
9
  //#region src/hooks/useDataMissingRemediations.ts
10
10
  /**
@@ -1,9 +1,9 @@
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] = "4995c2a1-d968-472d-a832-542999fb395d", e._sentryDebugIdIdentifier = "sentry-dbid-4995c2a1-d968-472d-a832-542999fb395d");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "80ff20d7-e14e-4a6c-b100-8a6bd91e8325", e._sentryDebugIdIdentifier = "sentry-dbid-80ff20d7-e14e-4a6c-b100-8a6bd91e8325");
4
4
  } catch (e) {}
5
5
  import { o as createLogger } from "./translation-BYvhW5zA.js";
6
- import { nt as isEmpty } from "./resolveEnvironment-eLCNmAkD.js";
6
+ import { nt as isEmpty } from "./resolveEnvironment-GK5T4kh0.js";
7
7
  import { r as doArraysMatch } from "./AnalyticsContext-BnRQ9H1u.js";
8
8
  import { i as omitKeys, n as addKeys, t as ValidationResult } from "./validationResult-Dzvfkukj.js";
9
9
  import { useCallback, useEffect, useMemo, useReducer, useState } from "preact/hooks";
@@ -1,6 +1,6 @@
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] = "6ecee0a4-fc45-4185-8f1c-39522262cfcd", e._sentryDebugIdIdentifier = "sentry-dbid-6ecee0a4-fc45-4185-8f1c-39522262cfcd");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "318f3edb-fee5-4b1b-ba62-dc6f5b378405", e._sentryDebugIdIdentifier = "sentry-dbid-318f3edb-fee5-4b1b-ba62-dc6f5b378405");
4
4
  } catch (e) {}
5
5
  import { o as createLogger, r as useTranslation } from "./translation-BYvhW5zA.js";
6
6
  import { t as Button } from "./Button-i8I2dHP8.js";
@@ -8,10 +8,9 @@ import { i as useAnalyticsContext } from "./Modal-ByJare7m.js";
8
8
  import { r as LoaderWrapper } from "./utils-C1buyvRw.js";
9
9
  import { t as Confirm } from "./Confirm-DcqMV7rd.js";
10
10
  import { t as formDebugInfo } from "./debugStore-Dwn1FXrh.js";
11
- import { r as FormRouterContext } from "./ErrorPanel-WxNhR0d1.js";
12
- import { t as trackNavigation } from "./trackNavigation-DR70qR8T.js";
13
- import { n as summaryStep, t as Summary } from "./Summary-mNbdzw-P.js";
14
- import { t as MaybeModal } from "./MaybeModal-CSdyWPpb.js";
11
+ import { r as FormRouterContext } from "./ErrorPanel-D2HeWU2y.js";
12
+ import { i as trackNavigation, n as summaryStep, t as Summary } from "./Summary-B9EofZyr.js";
13
+ import { t as MaybeModal } from "./MaybeModal-CHv9TiJZ.js";
15
14
  import { t as ProgressBar } from "./ProgressBar-DWFxLMUA.js";
16
15
  import { useCallback, useContext, useMemo, useRef, useState } from "preact/hooks";
17
16
  import cx from "classnames";
@@ -1,9 +1,9 @@
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] = "95b27371-73cf-4c35-b87c-c6513b343957", e._sentryDebugIdIdentifier = "sentry-dbid-95b27371-73cf-4c35-b87c-c6513b343957");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "11d9c062-fe38-4ed8-b4ea-7f59b42fa498", e._sentryDebugIdIdentifier = "sentry-dbid-11d9c062-fe38-4ed8-b4ea-7f59b42fa498");
4
4
  } catch (e) {}
5
5
  import { o as createLogger } from "./translation-BYvhW5zA.js";
6
- import { nt as isEmpty } from "./resolveEnvironment-eLCNmAkD.js";
6
+ import { nt as isEmpty } from "./resolveEnvironment-GK5T4kh0.js";
7
7
  import { o as objectsDeepEqual } from "./AnalyticsContext-BnRQ9H1u.js";
8
8
  import { i as omitKeys, n as addKeys, t as ValidationResult } from "./validationResult-Dzvfkukj.js";
9
9
  import { useCallback, useEffect, useMemo, useReducer } from "preact/hooks";
@@ -169,29 +169,17 @@ function reducer({ staticValidate, obscuredFields, optionalFields, trustedFields
169
169
  switch (type) {
170
170
  case "setData":
171
171
  if (!key || !formName) return state;
172
- return {
173
- ...clonedState,
174
- data: {
175
- ...clonedState.data,
176
- [formName]: {
177
- ...clonedState.data?.[formName],
178
- [key]: value
179
- }
180
- }
181
- };
172
+ clonedState.data[formName] ??= {};
173
+ clonedState.data[formName][key] = value;
174
+ return clonedState;
182
175
  case "setFormData": {
183
176
  if (!formName || !formData) return state;
184
177
  const formRequiredFields = clonedState.requiredFields?.[formName] ?? [];
185
178
  const formOptionalFields = clonedState.optionalFields?.[formName] ?? [];
186
179
  const allowedFields = [...formRequiredFields, ...formOptionalFields];
187
- const filteredUpdates = Object.keys(formData).filter((key) => allowedFields.includes(key)).reduce((obj, key) => {
188
- obj[key] = formData[key];
189
- return obj;
190
- }, {});
191
- const updatedData = {
192
- ...clonedState.data,
193
- [formName]: filteredUpdates
194
- };
180
+ const filteredUpdates = {};
181
+ for (const formDataKey in formData) if (allowedFields.includes(formDataKey)) filteredUpdates[formDataKey] = formData[formDataKey];
182
+ clonedState.data[formName] = filteredUpdates;
195
183
  const formValidity = allowedFields.reduce((acc, field) => {
196
184
  const [, validation] = processField({
197
185
  key: field,
@@ -199,7 +187,7 @@ function reducer({ staticValidate, obscuredFields, optionalFields, trustedFields
199
187
  mode: "blur",
200
188
  formName,
201
189
  defaultData: defaultData?.[formName],
202
- data: updatedData,
190
+ data: clonedState.data,
203
191
  formatters: formatters?.[formName],
204
192
  fieldContext: { state: {
205
193
  data: clonedState?.data?.[formName],
@@ -218,42 +206,20 @@ function reducer({ staticValidate, obscuredFields, optionalFields, trustedFields
218
206
  [field]: validation.isValid
219
207
  };
220
208
  }, {});
221
- return {
222
- ...clonedState,
223
- data: {
224
- ...clonedState.data,
225
- [formName]: { ...filteredUpdates }
226
- },
227
- valid: {
228
- ...clonedState.valid,
229
- [formName]: formValidity
230
- }
231
- };
209
+ clonedState.data[formName] = filteredUpdates;
210
+ clonedState.valid[formName] = formValidity;
211
+ return clonedState;
232
212
  }
233
213
  case "setValid":
234
- if (!key || !formName) return state;
235
- return clonedState?.valid?.[formName]?.[key] === value ? state : {
236
- ...clonedState,
237
- valid: {
238
- ...clonedState.valid,
239
- [formName]: {
240
- ...clonedState.valid?.[formName],
241
- [key]: value
242
- }
243
- }
244
- };
214
+ if (!key || !formName || clonedState.valid[formName]?.[key] === value) return state;
215
+ clonedState.valid[formName] ??= {};
216
+ clonedState.valid[formName][key] = !!value;
217
+ return clonedState;
245
218
  case "setErrors":
246
219
  if (!key || !formName) return state;
247
- return {
248
- ...clonedState,
249
- errors: {
250
- ...clonedState.errors,
251
- [formName]: {
252
- ...clonedState.errors?.[formName],
253
- [key]: value
254
- }
255
- }
256
- };
220
+ clonedState.errors[formName] ??= {};
221
+ clonedState.errors[formName][key] = value;
222
+ return clonedState;
257
223
  case "setRequiredFields": {
258
224
  /**
259
225
  * If defaultData changes reset the data in the form to new defaultData
@@ -1,16 +1,17 @@
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] = "6a7ac15c-6e0e-4021-8b82-d03794b61320", e._sentryDebugIdIdentifier = "sentry-dbid-6a7ac15c-6e0e-4021-8b82-d03794b61320");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a586d5dd-c8fb-466f-bb3e-8c02875072b0", e._sentryDebugIdIdentifier = "sentry-dbid-a586d5dd-c8fb-466f-bb3e-8c02875072b0");
4
4
  } catch (e) {}
5
- import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
5
+ import { N as FeatureNames } from "./resolveEnvironment-GK5T4kh0.js";
6
+ import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
6
7
  import { lazy } from "preact/compat";
7
8
  import { useLocation } from "wouter-preact";
8
9
  //#region src/router/getDefaultTask.ts
9
- var getDefaultTask = ({ legalEntity, canSeeEntitySelection, canChangeEntityType, showIntroduction, shouldShowSingpassSelection, showServiceAgreementsFirst, showBusinessFinancingFirst }) => {
10
+ var getDefaultTask = ({ legalEntity, canSeeEntitySelection, canChangeEntityType, showIntroduction, shouldShowSingpassSelection, showServiceAgreementsFirst, showBusinessFinancingFirst, isFeatureEnabled }) => {
10
11
  const hasLegalEntityProgressedBeyondEntitySelection = hasProgressedBeyondEntitySelection(legalEntity);
11
12
  if (showServiceAgreementsFirst) return TaskTypes.SERVICE_AGREEMENT;
12
13
  if (showBusinessFinancingFirst) return TaskTypes.BUSINESS_FINANCING;
13
- if (canChangeEntityType && canSeeEntitySelection && !hasLegalEntityProgressedBeyondEntitySelection) return TaskTypes.BUSINESS_TYPE_SELECTION;
14
+ if (canChangeEntityType && canSeeEntitySelection && !hasLegalEntityProgressedBeyondEntitySelection) return isFeatureEnabled(FeatureNames.EnableGlobalEntryFlow) ? TaskTypes.GLOBAL_ENTRY : TaskTypes.BUSINESS_TYPE_SELECTION;
14
15
  if (showIntroduction) return TaskTypes.INTRODUCTION;
15
16
  if (shouldShowSingpassSelection) return TaskTypes.SINGPASS_SELECTION;
16
17
  return TaskTypes.TASKS_OVERVIEW;
@@ -25,36 +26,37 @@ var hasProgressedBeyondEntitySelection = (legalEntity) => {
25
26
  };
26
27
  //#endregion
27
28
  //#region src/router/routeConfig.ts
28
- var Introduction = lazy(async () => (await import("./Introduction-CCNqyCrC.js")).Introduction);
29
- var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-b83JMsMN.js")).AdaptiveWorkflow);
30
- var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-YEtiiB0m.js")).BusinessTypeSelectionPage);
31
- var SingpassSelection = lazy(async () => (await import("./SingpassSelection-DIcF-cpQ.js")).SingpassSelection);
32
- var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-CIbXfS4T.js")).AccountSetupRejected);
33
- var DecisionMakers = lazy(async () => (await import("./DecisionMakers-59bV3LAL.js")).DecisionMakers);
34
- var CustomerSupport = lazy(async () => (await import("./CustomerSupport-Ccmoh-P6.js")).CustomerSupport);
35
- var Review = lazy(async () => (await import("./Review-D1mcQJrf.js")).Review);
36
- var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-Bubz_okk.js").then((n) => n.n)).SignPCIComponent);
37
- var AcceptTermsOfService = lazy(async () => (await import("./AcceptTermsOfServiceComponent-Bb-lNxor.js").then((n) => n.n)).AcceptTermsOfServiceComponent);
38
- var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-P_t-4Xqx.js").then((n) => n.n)).TaxReportingDropin);
39
- var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-DVgjP63L.js")).PayoutDetailsPage);
40
- var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-UtSS2mdy.js")).RootBusinessDetailsPage);
41
- var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-Bo9s9RL7.js")).RootBusinessLinesPage);
42
- var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-BRKwSK5E.js")).SoleProprietorshipPage);
43
- var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-CvyLRfrq.js")).TrustMemberCompanyPage);
44
- var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-DwbRy7lS.js")).TrustMemberIndividualPage);
45
- var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-CRQmqNND.js")).TrustMemberRoleAndTypePage);
46
- var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-BsjeX9OX.js")).TrustMembersOverview);
47
- var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-Lz3G9Ts0.js")).UnincorporatedPartnershipMemberCompanyPage);
48
- var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-B5yhkJLZ.js")).UnincorporatedPartnershipIndividualPage);
49
- var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-YYLlk6o_.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
50
- var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-DD-UIG4X.js")).UnincorporatedPartnershipMembersOverview);
51
- var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-D6LUADb0.js")).BusinessFinancingPage);
52
- var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-wj1_97mM.js")).TrustDetailsPage);
53
- var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-CgRxKOnY.js").then((n) => n.n)).SourceOfFundsPage);
54
- var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-Coha-RRS.js")).RootIndividualDetailsPage);
55
- var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-DgIHSSTF.js")).LegalRepresentativeDetailsPage);
56
- var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-Cldcdq2i.js")).DecisionMakerDetailsPage);
57
- lazy(async () => (await import("./InvitedDecisionMakerComponent-C0QTLh0d.js").then((n) => n.n)).InvitedDecisionMakerComponent);
29
+ var Introduction = lazy(async () => (await import("./Introduction-DV1ncvQA.js")).Introduction);
30
+ var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-CcZoCwYp.js")).AdaptiveWorkflow);
31
+ var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-BiZ79JGx.js")).BusinessTypeSelectionPage);
32
+ var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-C-ZFLZXn.js")).GlobalEntryPage);
33
+ var SingpassSelection = lazy(async () => (await import("./SingpassSelection-B0gsVLud.js")).SingpassSelection);
34
+ var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-b4eK65dI.js")).AccountSetupRejected);
35
+ var DecisionMakers = lazy(async () => (await import("./DecisionMakers-CfFjy_jm.js")).DecisionMakers);
36
+ var CustomerSupport = lazy(async () => (await import("./CustomerSupport-JmUj46bm.js")).CustomerSupport);
37
+ var Review = lazy(async () => (await import("./Review-DepeQUYT.js")).Review);
38
+ var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-CvisiXn0.js").then((n) => n.n)).SignPCIComponent);
39
+ var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-PkkioJsE.js").then((n) => n.n)).TermsOfServiceManagement);
40
+ var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-CzE-076z.js").then((n) => n.n)).TaxReportingDropin);
41
+ var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-B4TbKzVH.js")).PayoutDetailsPage);
42
+ var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-D0NwQoPs.js")).RootBusinessDetailsPage);
43
+ var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-Eqzqj3K4.js")).RootBusinessLinesPage);
44
+ var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-CaItSb2W.js")).SoleProprietorshipPage);
45
+ var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-DMRfpnEn.js")).TrustMemberCompanyPage);
46
+ var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-DhAF3XR_.js")).TrustMemberIndividualPage);
47
+ var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-C0MwL0BN.js")).TrustMemberRoleAndTypePage);
48
+ var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-Bn8OAD_X.js")).TrustMembersOverview);
49
+ var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-PVG3pAWY.js")).UnincorporatedPartnershipMemberCompanyPage);
50
+ var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-cMb4UAPy.js")).UnincorporatedPartnershipIndividualPage);
51
+ var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-Da-wBICm.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
52
+ var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-D16uh-Oz.js")).UnincorporatedPartnershipMembersOverview);
53
+ var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-uuHBlIpc.js")).BusinessFinancingPage);
54
+ var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-BERtwZSv.js")).TrustDetailsPage);
55
+ var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-CJQYX9qF.js").then((n) => n.n)).SourceOfFundsPage);
56
+ var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-XuapH0Wj.js")).RootIndividualDetailsPage);
57
+ var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-D_bK2ETK.js")).LegalRepresentativeDetailsPage);
58
+ var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-Bins2i7d.js")).DecisionMakerDetailsPage);
59
+ lazy(async () => (await import("./InvitedDecisionMakerComponent-Cp2gXq-4.js").then((n) => n.n)).InvitedDecisionMakerComponent);
58
60
  var ROUTE_CONFIG = {
59
61
  [TaskTypes.ADAPTIVE]: {
60
62
  path: "/adaptive",
@@ -65,6 +67,10 @@ var ROUTE_CONFIG = {
65
67
  path: "/introduction",
66
68
  Component: Introduction
67
69
  },
70
+ [TaskTypes.GLOBAL_ENTRY]: {
71
+ path: "/global-entry",
72
+ Component: GlobalEntryPage
73
+ },
68
74
  [TaskTypes.BUSINESS_TYPE_SELECTION]: {
69
75
  path: "/business-type-selection",
70
76
  Component: BusinessTypeSelectionPage
@@ -237,4 +243,4 @@ var useNavigate = () => {
237
243
  };
238
244
  };
239
245
  //#endregion
240
- export { UnincorporatedPartnershipMembersOverview as A, TrustMemberCompanyPage as C, UnincorporatedPartnershipIndividualPage as D, TrustMembersOverview as E, UnincorporatedPartnershipMemberCompanyPage as O, TrustDetailsPage as S, TrustMemberRoleAndTypePage as T, SignPCIComponent as _, BusinessTypeSelectionPage as a, SourceOfFundsPage as b, DecisionMakers as c, PayoutDetailsPage as d, ROUTE_PATHS as f, RootIndividualDetailsPage as g, RootBusinessLinesPage as h, BusinessFinancingPage as i, getDefaultTask as j, UnincorporatedPartnershipMemberRoleAndTypePage as k, Introduction as l, RootBusinessDetailsPage as m, AcceptTermsOfService as n, CustomerSupport as o, Review as p, AccountSetupRejected as r, DecisionMakerDetailsPage as s, useNavigate as t, LegalRepresentativeDetailsPage as u, SingpassSelection as v, TrustMemberIndividualPage as w, TaxReportingDropin as x, SoleProprietorshipPage as y };
246
+ export { UnincorporatedPartnershipMemberRoleAndTypePage as A, TrustDetailsPage as C, TrustMembersOverview as D, TrustMemberRoleAndTypePage as E, getDefaultTask as M, UnincorporatedPartnershipIndividualPage as O, TaxReportingDropin as S, TrustMemberIndividualPage as T, RootIndividualDetailsPage as _, BusinessTypeSelectionPage as a, SoleProprietorshipPage as b, DecisionMakers as c, LegalRepresentativeDetailsPage as d, PayoutDetailsPage as f, RootBusinessLinesPage as g, RootBusinessDetailsPage as h, BusinessFinancingPage as i, UnincorporatedPartnershipMembersOverview as j, UnincorporatedPartnershipMemberCompanyPage as k, GlobalEntryPage as l, Review as m, AcceptTermsOfService as n, CustomerSupport as o, ROUTE_PATHS as p, AccountSetupRejected as r, DecisionMakerDetailsPage as s, useNavigate as t, Introduction as u, SignPCIComponent as v, TrustMemberCompanyPage as w, SourceOfFundsPage as x, SingpassSelection as y };
@@ -1,14 +1,14 @@
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] = "17f9cd69-c9cc-46f0-877e-5a5ae000511c", e._sentryDebugIdIdentifier = "sentry-dbid-17f9cd69-c9cc-46f0-877e-5a5ae000511c");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "80a0dd1c-db2b-44ad-b152-c796c583753b", e._sentryDebugIdIdentifier = "sentry-dbid-80a0dd1c-db2b-44ad-b152-c796c583753b");
4
4
  } catch (e) {}
5
- import { j as useToggleContext } from "./resolveEnvironment-eLCNmAkD.js";
5
+ import { j as useToggleContext } from "./resolveEnvironment-GK5T4kh0.js";
6
6
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CtlUQv_J.js";
7
7
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
8
- import { s as getOwnEntityAssociations } from "./entityAssociationUtil-C-wflW8q.js";
8
+ import { s as getOwnEntityAssociations } from "./entityAssociationUtil-DLXInibJ.js";
9
9
  import { r as TrustMemberTypes } from "./trustMemberGuidance-CgdU2v0j.js";
10
10
  import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CkuvFV-D.js";
11
- import { n as getLegalEntityNameBasedOnType } from "./getName-D4ECvzcI.js";
11
+ import { n as getLegalEntityNameBasedOnType } from "./getName-C5jqdkJg.js";
12
12
  import { useMemo } from "preact/hooks";
13
13
  import { skipToken } from "@tanstack/preact-query";
14
14
  //#region src/components/SoleProprietorship/hooks/useExemptSettlor.ts
@@ -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] = "c02b9ff4-acc3-46ae-8045-07f031125751", e._sentryDebugIdIdentifier = "sentry-dbid-c02b9ff4-acc3-46ae-8045-07f031125751");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "20d9bbf3-f9d5-4fd2-97da-da5e1d4c4c38", e._sentryDebugIdIdentifier = "sentry-dbid-20d9bbf3-f9d5-4fd2-97da-da5e1d4c4c38");
4
4
  } catch (e) {}
5
5
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CtlUQv_J.js";
6
6
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
7
- import { s as getOwnEntityAssociations } from "./entityAssociationUtil-C-wflW8q.js";
7
+ import { s as getOwnEntityAssociations } from "./entityAssociationUtil-DLXInibJ.js";
8
8
  import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CkuvFV-D.js";
9
9
  import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-nnTW3FnG.js";
10
- import { n as getLegalEntityNameBasedOnType } from "./getName-D4ECvzcI.js";
10
+ import { n as getLegalEntityNameBasedOnType } from "./getName-C5jqdkJg.js";
11
11
  import { useMemo } from "preact/hooks";
12
12
  //#region src/components/UnincorporatedPartnership/utils/unincorporatedPartnershipMembers.ts
13
13
  var getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "91f64ef9-3fbf-4966-9bca-02b4f28e7548", e._sentryDebugIdIdentifier = "sentry-dbid-91f64ef9-3fbf-4966-9bca-02b4f28e7548");
4
4
  } catch (e) {}
5
5
  import { r as httpPost, s as useApiContext } from "./http-8qgzqVqk.js";
6
- import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-BXEeCEPH.js";
6
+ import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-J6Fn_3DE.js";
7
7
  import { useMutation, useQueryClient } from "@tanstack/preact-query";
8
8
  //#region src/api/legalEntity/useUpdateLegalEntity.ts
9
9
  var updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
@@ -1,16 +1,16 @@
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] = "c0e79220-82a9-4676-839d-bb4dca316afb", e._sentryDebugIdIdentifier = "sentry-dbid-c0e79220-82a9-4676-839d-bb4dca316afb");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f2c8ec30-a0b8-474c-b8a5-8c882131b05d", e._sentryDebugIdIdentifier = "sentry-dbid-f2c8ec30-a0b8-474c-b8a5-8c882131b05d");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-BYvhW5zA.js";
6
6
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
7
7
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
8
- import { c as CompanyTypesValues } from "./bafinUtils-BKq-s1Ka.js";
9
- import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, u as spacer } from "./MaskedInput-BiVsiGoh.js";
8
+ import { c as CompanyTypesValues } from "./bafinUtils-CbfyDBkh.js";
9
+ import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, u as spacer } from "./MaskedInput-B1s7g7RX.js";
10
10
  import { t as uppercase } from "./uppercase-DvjwUM0n.js";
11
- import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-CF0ehPio.js";
12
- import { t as Field } from "./Field-CPvnOkLo.js";
13
- import { t as RadioGroup } from "./RadioGroup-BgK1r1tF.js";
11
+ import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-Be6iVFPv.js";
12
+ import { t as Field } from "./Field-Dg-2A6bG.js";
13
+ import { t as RadioGroup } from "./RadioGroup-Bt1Dv_S8.js";
14
14
  import { useCallback, useEffect, useMemo } from "preact/hooks";
15
15
  import { jsx } from "preact/jsx-runtime";
16
16
  //#region src/types/datasets/state-code.ts
@@ -161,7 +161,6 @@ var businessRegistrationNumberMasks = {
161
161
  mask: makeMask(...customInputs(1, /[CP]/), spacer, ...numericInputs(4), ...numericInputs(2, true)),
162
162
  transformOnType: uppercase
163
163
  } },
164
- [CountryCodes.Mexico]: { default: { mask: makeMask(...alphanumericInputs(12)) } },
165
164
  [CountryCodes.Monaco]: {
166
165
  default: {
167
166
  mask: makeMask(...alphanumericInputs(8), ...alphanumericInputs(3, true)),
@@ -900,7 +899,6 @@ var businessRegistrationNumberPatterns = {
900
899
  [CountryCodes.Luxembourg]: { default: /^[a-zA-Z]\d{1,9}$/ },
901
900
  [CountryCodes.Malaysia]: { default: /^\d{7}$|^\d{12}$/ },
902
901
  [CountryCodes.Malta]: { default: /^[CP]\s?\d{4,6}$/ },
903
- [CountryCodes.Mexico]: { default: /^\D{3}\d{6}\w{3}$/ },
904
902
  [CountryCodes.Monaco]: {
905
903
  default: /^[0-9]{2}[A-Z]{1,3}[0-9]{5}$/,
906
904
  soleProprietorship: /^\d{2,4}[A-Z]\d{5}$/
@@ -1460,6 +1458,18 @@ var taxInformationDefaultFieldConfig = {
1460
1458
  };
1461
1459
  }
1462
1460
  },
1461
+ [CountryCodes.Mexico]: {
1462
+ label: "taxInformationNumber__MX",
1463
+ validators: mapValidators([validatePatternOnBlur(/^[a-zA-Z]{3}\d{6}[A-Za-z0-9]{3}$/)], CountryCodes.Mexico),
1464
+ mask: { mask: makeMask(...alphaInputs(3), ...numericInputs(6), ...alphanumericInputs(3)) },
1465
+ guidanceText: {
1466
+ key: "enterNDigitsForExample",
1467
+ values: {
1468
+ numDigits: "12",
1469
+ example: "LFM200817DGA, MEL9507278ZA"
1470
+ }
1471
+ }
1472
+ },
1463
1473
  [CountryCodes.Netherlands]: ({ companyType }) => {
1464
1474
  switch (companyType) {
1465
1475
  case LegalEntityTypes.INDIVIDUAL: return {
@@ -1711,6 +1721,7 @@ var getTaxInformationPlaceholderText = ({ country, companyType, taxIdNumberType
1711
1721
  }
1712
1722
  default: return "999999999";
1713
1723
  }
1724
+ case CountryCodes.Mexico: return "ABC123456AB9";
1714
1725
  case CountryCodes.Netherlands: switch (companyType) {
1715
1726
  case LegalEntityTypes.INDIVIDUAL: return "999999999";
1716
1727
  default: return "811786523";
@@ -1914,6 +1925,19 @@ var taxIdNumberOptions = {
1914
1925
  applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
1915
1926
  }
1916
1927
  ],
1928
+ [CountryCodes.Mexico]: [{
1929
+ id: "RFC",
1930
+ name: "taxInformationNumber__MX",
1931
+ applicableOnlyFor: [
1932
+ CompanyTypesValues.PRIVATE_COMPANY,
1933
+ CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
1934
+ CompanyTypesValues.INCORPORATED_ASSOCIATION,
1935
+ CompanyTypesValues.INCORPORATED_PARTNERSHIP,
1936
+ CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
1937
+ CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
1938
+ CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
1939
+ ]
1940
+ }],
1917
1941
  [CountryCodes.Netherlands]: [{
1918
1942
  id: "RSIN",
1919
1943
  name: "rsinNumber",
@@ -2118,6 +2142,7 @@ var COUNTRIES_USING_COMPANY_SEARCH = [
2118
2142
  ];
2119
2143
  var COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION = [
2120
2144
  CountryCodes.HongKong,
2145
+ CountryCodes.Mexico,
2121
2146
  CountryCodes.PuertoRico,
2122
2147
  CountryCodes.UnitedStates
2123
2148
  ];
@@ -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] = "d0b622ef-b4e7-4069-980c-ee29c9cecff6", e._sentryDebugIdIdentifier = "sentry-dbid-d0b622ef-b4e7-4069-980c-ee29c9cecff6");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4f8f6021-648d-4cc5-99ed-ef7cb6f8365f", e._sentryDebugIdIdentifier = "sentry-dbid-4f8f6021-648d-4cc5-99ed-ef7cb6f8365f");
4
4
  } catch (e) {}
5
5
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
6
6
  import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
7
7
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
8
- import { t as getCapabilities } from "./processCapabilities-BeE0xWUp.js";
9
- import { d as hasOwnEntityAssociationOfType } from "./entityAssociationUtil-C-wflW8q.js";
10
- import { c as CompanyTypesValues } from "./bafinUtils-BKq-s1Ka.js";
11
- import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-CRbTtDf8.js";
12
- import { r as SOLE_PROP_COUNTRIES } from "./Individual.rules-s4Yf5eU4.js";
8
+ import { t as getCapabilities } from "./processCapabilities-C2kMryYn.js";
9
+ import { d as hasOwnEntityAssociationOfType } from "./entityAssociationUtil-DLXInibJ.js";
10
+ import { c as CompanyTypesValues } from "./bafinUtils-CbfyDBkh.js";
11
+ import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-BT48ldYL.js";
12
+ import { r as SOLE_PROP_COUNTRIES } from "./Individual.rules-Caf9UMUo.js";
13
13
  import { t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-Bm4RGrSI.js";
14
14
  //#region src/components/Shared/forms/BusinessTypeSelection/utils.ts
15
15
  var TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
@@ -1,35 +1,29 @@
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] = "33681677-a5ff-4ccb-8820-8cd9df5a5a9d", e._sentryDebugIdIdentifier = "sentry-dbid-33681677-a5ff-4ccb-8820-8cd9df5a5a9d");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ab5b4f78-2bfc-4db7-812d-20f17ecdf15e", e._sentryDebugIdIdentifier = "sentry-dbid-ab5b4f78-2bfc-4db7-812d-20f17ecdf15e");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-BYvhW5zA.js";
6
- import { j as useToggleContext } from "./resolveEnvironment-eLCNmAkD.js";
6
+ import { j as useToggleContext } from "./resolveEnvironment-GK5T4kh0.js";
7
7
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
8
8
  import { c as keysOf, o as objectsDeepEqual } from "./AnalyticsContext-BnRQ9H1u.js";
9
9
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
10
- import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
11
- import { c as CompanyTypesValues } from "./bafinUtils-BKq-s1Ka.js";
10
+ import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
11
+ import { c as CompanyTypesValues } from "./bafinUtils-CbfyDBkh.js";
12
12
  import { n as translateTranslatable } from "./utils-C1buyvRw.js";
13
- import "./Address-DDvR9pCB.js";
14
- import "./ErrorPanel-WxNhR0d1.js";
15
- import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-BiVsiGoh.js";
16
- import { i as MemoizedDocumentUpload } from "./PatriotActDisclosure-CCeWR4Oq.js";
13
+ import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-B1s7g7RX.js";
14
+ import { i as MemoizedDocumentUpload } from "./PatriotActDisclosure-Cmj8Y1xN.js";
17
15
  import { t as uppercase } from "./uppercase-DvjwUM0n.js";
18
- import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-CF0ehPio.js";
19
- import { a as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, b as REGISTRATION_NUMBER_EXEMPTION_RULES, f as COUNTRIES_USING_COMPANY_SEARCH } from "./utils-Cx2kRIsq.js";
16
+ import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-Be6iVFPv.js";
17
+ import { a as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, b as REGISTRATION_NUMBER_EXEMPTION_RULES, f as COUNTRIES_USING_COMPANY_SEARCH } from "./utils-BgABwuIB.js";
20
18
  import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
21
- import { t as Field } from "./Field-CPvnOkLo.js";
19
+ import { t as Field } from "./Field-Dg-2A6bG.js";
22
20
  import { t as Checkbox } from "./Checkbox-DdEBnXOB.js";
23
- import "./Dropzone-C-iF9Vi5.js";
24
- import "./useForm-Cv3aZas7.js";
25
- import { t as InputText } from "./InputText-B7eseCmi.js";
26
- import { t as RadioGroup } from "./RadioGroup-BgK1r1tF.js";
27
- import "./ContextGuidance-BuyNY1eL.js";
28
- import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, o as exemptFromRegistrationNumberDefaultFieldConfig, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-DdnSpMrf.js";
21
+ import { t as InputText } from "./InputText-CQcWyZ8_.js";
22
+ import { t as RadioGroup } from "./RadioGroup-Bt1Dv_S8.js";
23
+ import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, o as exemptFromRegistrationNumberDefaultFieldConfig, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-Bw8drJYB.js";
29
24
  import { memo } from "preact/compat";
30
25
  import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1 } from "preact/hooks";
31
26
  import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
32
- import "preact";
33
27
  //#region src/components/Shared/fields/DBANameField/DBANameField.tsx
34
28
  var DBA_NAME_FIELD = ["hasDoingBusinessAs", "doingBusinessAs"];
35
29
  function DBANameField({ data, valid, errors, readonly, handleChangeFor }) {
@@ -891,40 +885,6 @@ function VatNumberField({ data, valid, errors, labels, mask, readonly, optional,
891
885
  ] });
892
886
  }
893
887
  //#endregion
894
- //#region src/components/Shared/forms/RegistrationAddress/types.ts
895
- var operationalAddressIsSameIds = {
896
- OPERATIONAL_ADDRESS_IS_SAME: "OperationAddressAnswerYes",
897
- OPERATIONAL_ADDRESS_IS_NOT_SAME: "OperationAddressAnswerNo"
898
- };
899
- var operationalAddressIsSameItems = [{
900
- id: operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_SAME,
901
- name: "operationalAddressIsSameItemName"
902
- }, {
903
- id: operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME,
904
- name: "operationalAddressIsNotSameItemName"
905
- }];
906
- //#endregion
907
- //#region src/components/Shared/forms/RegistrationAddress/RegistrationAddress.tsx
908
- var registrationAddressFields = [
909
- "registrationAddress",
910
- "operationalAddress",
911
- "operationalAddressIsSame"
912
- ];
913
- var registrationAddressForms = {
914
- registrationAddress: {
915
- formId: "registrationAddress",
916
- formName: "registeredAddress",
917
- fields: ["address"]
918
- },
919
- operationalAddress: {
920
- formId: "operationalAddress",
921
- formName: "operationalAddressHeader",
922
- fields: ["address"]
923
- }
924
- };
925
- registrationAddressForms.registrationAddress.formId;
926
- registrationAddressForms.operationalAddress.formId;
927
- //#endregion
928
888
  //#region src/components/Shared/forms/ConstitutionalDocument/types.ts
929
889
  var ConstitutionalDocumentTypes = {
930
890
  BUSINESS_NAME_FILING: "doingBusinessAsNameFiling",
@@ -1157,4 +1117,4 @@ var isUsingCompanySearch = (country, taskType) => {
1157
1117
  return COUNTRIES_USING_COMPANY_SEARCH.includes(country);
1158
1118
  };
1159
1119
  //#endregion
1160
- export { DBA_NAME_FIELD as S, defaultFieldMetadata as _, isRegistrationNumberAbsentStateV4Scenario as a, doingBusinessAsFieldMetadata as b, BusinessRegistrationNumberField as c, operationalAddressIsSameIds as d, operationalAddressIsSameItems as f, defaultFieldConfig as g, getDefaultVatNumberType as h, isRegistrationExemptionAllowed as i, MemoizedConstitutionalDocument as l, VatNumberField as m, getCountryOfGoverningLaw as n, isUsingCompanySearch as o, VAT_NUMBER_FIELD as p, isFinancialInformationRequired as r, BUSINESS_REGISTRATION_NUMBER_FIELD as s, countryToTaxInfoTypeMap as t, registrationAddressFields as u, vatAbsenceReasonMetadata as v, DBANameField as x, doingBusinessAsAbsentFieldMetadata as y };
1120
+ export { doingBusinessAsFieldMetadata as _, isRegistrationNumberAbsentStateV4Scenario as a, BusinessRegistrationNumberField as c, VatNumberField as d, getDefaultVatNumberType as f, doingBusinessAsAbsentFieldMetadata as g, vatAbsenceReasonMetadata as h, isRegistrationExemptionAllowed as i, MemoizedConstitutionalDocument as l, defaultFieldMetadata as m, getCountryOfGoverningLaw as n, isUsingCompanySearch as o, defaultFieldConfig as p, isFinancialInformationRequired as r, BUSINESS_REGISTRATION_NUMBER_FIELD as s, countryToTaxInfoTypeMap as t, VAT_NUMBER_FIELD as u, DBANameField as v, DBA_NAME_FIELD as y };
@@ -1,6 +1,6 @@
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] = "293ef451-d0d4-47fd-af9c-83f2caa4ab48", e._sentryDebugIdIdentifier = "sentry-dbid-293ef451-d0d4-47fd-af9c-83f2caa4ab48");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fef33d26-861d-482a-b43d-1df42601e7bd", e._sentryDebugIdIdentifier = "sentry-dbid-fef33d26-861d-482a-b43d-1df42601e7bd");
4
4
  } catch (e) {}
5
5
  import { a as Icon, i as Typography, o as createLogger, r as useTranslation } from "./translation-BYvhW5zA.js";
6
6
  import { n as IconButton, r as Loader } from "./Button-i8I2dHP8.js";
@@ -2,7 +2,7 @@ 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
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b4090f8e-28bc-4fb5-b819-6f34ed21e35e", e._sentryDebugIdIdentifier = "sentry-dbid-b4090f8e-28bc-4fb5-b819-6f34ed21e35e");
4
4
  } catch (e) {}
5
- import { et as hasText } from "./resolveEnvironment-eLCNmAkD.js";
5
+ import { et as hasText } from "./resolveEnvironment-GK5T4kh0.js";
6
6
  //#region src/components/EFP/tasks/BusinessFinancingDropin/validate.ts
7
7
  var validateLegalEntityIdentifier = (legalEntityIdentifier) => {
8
8
  if (!legalEntityIdentifier) return true;
@@ -1,6 +1,6 @@
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] = "9294b595-10e7-4162-ba9b-8716cc812740", e._sentryDebugIdIdentifier = "sentry-dbid-9294b595-10e7-4162-ba9b-8716cc812740");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9511ddb0-ad15-4343-beee-426f73f4f782", e._sentryDebugIdIdentifier = "sentry-dbid-9511ddb0-ad15-4343-beee-426f73f4f782");
4
4
  } catch (e) {}
5
5
  import { i as Typography, o as createLogger, r as useTranslation } from "./translation-BYvhW5zA.js";
6
6
  import { n as IconButton, t as Button } from "./Button-i8I2dHP8.js";
@@ -8,13 +8,13 @@ import { r as httpPost, s as useApiContext } from "./http-8qgzqVqk.js";
8
8
  import { c as keysOf, l as valuesOf, o as objectsDeepEqual } from "./AnalyticsContext-BnRQ9H1u.js";
9
9
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
10
10
  import { n as translateTranslatable } from "./utils-C1buyvRw.js";
11
- import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-C4NqSvj-.js";
12
- import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-BiVsiGoh.js";
11
+ import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-BrLGUOLK.js";
12
+ import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-B1s7g7RX.js";
13
13
  import { t as localizeDateString } from "./localizeDateString-Bmx3yBcR.js";
14
14
  import { t as uppercase } from "./uppercase-DvjwUM0n.js";
15
- import { o as validatePatternOnBlur } from "./patternValidators-CF0ehPio.js";
15
+ import { o as validatePatternOnBlur } from "./patternValidators-Be6iVFPv.js";
16
16
  import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
17
- import { t as Field } from "./Field-CPvnOkLo.js";
17
+ import { t as Field } from "./Field-Dg-2A6bG.js";
18
18
  import { t as Checkbox } from "./Checkbox-DdEBnXOB.js";
19
19
  import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
20
20
  import { useMemo } from "preact/hooks";