@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
@@ -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] = "2f290149-7dfe-4f3d-9561-58b0b030c3f3", e._sentryDebugIdIdentifier = "sentry-dbid-2f290149-7dfe-4f3d-9561-58b0b030c3f3");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "813fa27c-9249-475b-b1df-5f651527eb0d", e._sentryDebugIdIdentifier = "sentry-dbid-813fa27c-9249-475b-b1df-5f651527eb0d");
4
4
  } catch (e) {}
5
5
  import { c as __exportAll, i as Typography, n as addResourceBundles, r as useTranslation } from "./translation-BYvhW5zA.js";
6
- import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-eLCNmAkD.js";
6
+ import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-GK5T4kh0.js";
7
7
  import { r as Loader, t as Button } from "./Button-i8I2dHP8.js";
8
8
  import { n as httpGet, s as useApiContext } from "./http-8qgzqVqk.js";
9
9
  import { r as useLegalEntity } from "./useLegalEntity-CtlUQv_J.js";
@@ -12,20 +12,66 @@ import { a as noop } from "./AnalyticsContext-BnRQ9H1u.js";
12
12
  import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
13
13
  import { t as TaskVerificationStatus } from "./TaskVerificationStatus-CKHPTEpH.js";
14
14
  import { i as TaskStatuses, n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
15
- import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
15
+ import { C as EntityTypes, n as getCapabilityProblems } from "./processCapabilities-C2kMryYn.js";
16
+ import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
16
17
  import { i as useAnalyticsContext } from "./Modal-ByJare7m.js";
18
+ import { t as LandingLayout } from "./LandingLayout-iZpW1Vsx.js";
17
19
  import { n as Image } from "./unincorporated-partnership-nnTW3FnG.js";
18
- import { t as getIndividualLegalEntityName } from "./getName-D4ECvzcI.js";
19
- import { t as IndividualDropin } from "./IndividualDropin-CGyphiDA.js";
20
+ import { t as getIndividualLegalEntityName } from "./getName-C5jqdkJg.js";
21
+ import { t as IndividualDropin } from "./IndividualDropin-Bz6OP1-9.js";
20
22
  import { t as List } from "./List-ywoRPg-q.js";
21
- import { t as LandingLayout } from "./LandingLayout-CUAkXrpL.js";
22
23
  import { t as useTaskStatus } from "./useTaskStatus-wrAxqtIR.js";
23
24
  import { t as ListItem } from "./ListItem-BnVTcObB.js";
24
- import { n as getDecisionMakerDescription, r as getLandingLayoutProps, t as DecisionMakerDetails } from "./DecisionMakerDetails-DNo_ca88.js";
25
+ import { n as getDecisionMakerDescription, r as getLandingLayoutProps, t as DecisionMakerDetails } from "./DecisionMakerDetails-CQz7XzMD.js";
25
26
  import { lazy } from "preact/compat";
26
27
  import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
27
28
  import { jsx, jsxs } from "preact/jsx-runtime";
28
29
  import { useQuery } from "@tanstack/preact-query";
30
+ //#region src/api/invitedEntity/getInvitedEntityProblems.ts
31
+ var mapInvitedVerificationError = (verificationError) => {
32
+ if (!verificationError.code || !verificationError.message || !verificationError.type) return;
33
+ const remediatingActions = verificationError.remediatingActions?.flatMap((action) => action.code ? [{
34
+ code: action.code,
35
+ message: action.message ?? ""
36
+ }] : []);
37
+ const subErrors = verificationError.subErrors?.flatMap((subError) => {
38
+ const mappedSubError = mapInvitedVerificationError(subError);
39
+ return mappedSubError ? [mappedSubError] : [];
40
+ });
41
+ return {
42
+ code: verificationError.code,
43
+ message: verificationError.message,
44
+ type: verificationError.type,
45
+ ...remediatingActions?.length ? { remediatingActions } : {},
46
+ ...subErrors?.length ? { subErrors } : {}
47
+ };
48
+ };
49
+ var mapInvitedLegalEntityProblem = (problem, invitedLegalEntityId) => {
50
+ if (problem.entity?.id !== invitedLegalEntityId || problem.entity.type !== EntityTypes.LEGAL_ENTITY) return;
51
+ const verificationErrors = problem.verificationErrors?.flatMap((verificationError) => {
52
+ const mappedVerificationError = mapInvitedVerificationError(verificationError);
53
+ return mappedVerificationError ? [mappedVerificationError] : [];
54
+ });
55
+ return verificationErrors?.length ? {
56
+ entity: {
57
+ id: invitedLegalEntityId,
58
+ type: EntityTypes.LEGAL_ENTITY
59
+ },
60
+ verificationErrors
61
+ } : void 0;
62
+ };
63
+ var getInvitedEntityProblems = (problems, invitedLegalEntity) => {
64
+ const mappedProblems = problems?.flatMap((problem) => {
65
+ const mappedProblem = mapInvitedLegalEntityProblem(problem, invitedLegalEntity.id);
66
+ return mappedProblem ? [mappedProblem] : [];
67
+ });
68
+ if (!mappedProblems?.length) return;
69
+ return getCapabilityProblems({
70
+ ...invitedLegalEntity,
71
+ problems: mappedProblems
72
+ }, getLegalEntityCountry(invitedLegalEntity))[EntityTypes.LEGAL_ENTITY]?.[invitedLegalEntity.id];
73
+ };
74
+ //#endregion
29
75
  //#region src/api/invitedEntity/useInvitedEntityAssociationData.ts
30
76
  var getInvitedEntityAssociationData = async (invitedLegalEntityId, baseUrl) => {
31
77
  return httpGet({
@@ -68,6 +114,22 @@ var useInvitedEntityRootCapabilities = () => {
68
114
  };
69
115
  };
70
116
  //#endregion
117
+ //#region src/api/invitedEntity/useInvitedEntityVerificationErrors.ts
118
+ var getInvitedEntityVerificationErrors = async (invitedLegalEntityId, baseUrl) => {
119
+ return httpGet({
120
+ baseUrl,
121
+ path: `invitedLegalEntities/${invitedLegalEntityId}/verificationErrors`
122
+ });
123
+ };
124
+ var useInvitedEntityVerificationErrors = (invitedLegalEntityId, options) => {
125
+ const { baseUrl } = useApiContext();
126
+ return useQuery({
127
+ queryKey: ["invitedEntityVerificationErrors", invitedLegalEntityId],
128
+ queryFn: () => getInvitedEntityVerificationErrors(invitedLegalEntityId, baseUrl.value),
129
+ ...options
130
+ });
131
+ };
132
+ //#endregion
71
133
  //#region src/components/Individual/tasks/DecisionMakers/hooks/useInvitedDecisionMakerStep.ts
72
134
  var POST_SUBMIT_STATUSES = [
73
135
  TaskStatuses.PROCESSING,
@@ -267,33 +329,33 @@ function InvitedDecisionMakerComponent({ invitedIndividualId }) {
267
329
  {
268
330
  ns: "common",
269
331
  importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
270
- "../../../language/locales/bg-BG.json": () => import("./bg-BG-BHL5r3bk.js"),
271
- "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-DfuZr4cv.js"),
272
- "../../../language/locales/da-DK.json": () => import("./da-DK-CLx0Hv_L.js"),
273
- "../../../language/locales/de-DE.json": () => import("./de-DE-CcOP7Z3J.js"),
274
- "../../../language/locales/el-GR.json": () => import("./el-GR-CO9ixkqP.js"),
332
+ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BNxxbT-Z.js"),
333
+ "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-Bw702SPD.js"),
334
+ "../../../language/locales/da-DK.json": () => import("./da-DK-CUL_Et0l.js"),
335
+ "../../../language/locales/de-DE.json": () => import("./de-DE-D-2q3DBW.js"),
336
+ "../../../language/locales/el-GR.json": () => import("./el-GR-RkQ7qOtM.js"),
275
337
  "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-FOYUYA3c.js"),
276
- "../../../language/locales/en-US.json": () => import("./en-US-CJsQJw90.js"),
277
- "../../../language/locales/es-ES.json": () => import("./es-ES-CwLsmJeQ.js"),
278
- "../../../language/locales/es-LA.json": () => import("./es-LA-b7TFh_XZ.js"),
279
- "../../../language/locales/et-EE.json": () => import("./et-EE-o65QgBKk.js"),
280
- "../../../language/locales/fi-FI.json": () => import("./fi-FI-CKffkrhp.js"),
281
- "../../../language/locales/fr-FR.json": () => import("./fr-FR-CQbo6d_Q.js"),
282
- "../../../language/locales/hr-HR.json": () => import("./hr-HR-BH4GZRVw.js"),
283
- "../../../language/locales/hu-HU.json": () => import("./hu-HU-D0LsAFcV.js"),
284
- "../../../language/locales/it-IT.json": () => import("./it-IT-NOsTkUWg.js"),
285
- "../../../language/locales/ja-JP.json": () => import("./ja-JP-C98F-BgJ.js"),
286
- "../../../language/locales/lt-LT.json": () => import("./lt-LT-erbGBPqF.js"),
287
- "../../../language/locales/lv-LV.json": () => import("./lv-LV-xbEcOY__.js"),
288
- "../../../language/locales/nl-NL.json": () => import("./nl-NL-Cpuz-HtA.js"),
289
- "../../../language/locales/no-NO.json": () => import("./no-NO-Bd3KNpMs.js"),
290
- "../../../language/locales/pl-PL.json": () => import("./pl-PL-Bg2G4ioZ.js"),
291
- "../../../language/locales/pt-BR.json": () => import("./pt-BR-DT63AAqA2.js"),
292
- "../../../language/locales/pt-PT.json": () => import("./pt-PT-BFTfpBI4.js"),
293
- "../../../language/locales/ro-RO.json": () => import("./ro-RO-DJeBU2j9.js"),
294
- "../../../language/locales/sk-SK.json": () => import("./sk-SK-rMCHSdm4.js"),
295
- "../../../language/locales/sl-SI.json": () => import("./sl-SI-Dg4bivT7.js"),
296
- "../../../language/locales/sv-SE.json": () => import("./sv-SE-DaklU1jx.js")
338
+ "../../../language/locales/en-US.json": () => import("./en-US-BNfqvbyW.js"),
339
+ "../../../language/locales/es-ES.json": () => import("./es-ES-CtKqdJ9Z.js"),
340
+ "../../../language/locales/es-LA.json": () => import("./es-LA-racbldhR.js"),
341
+ "../../../language/locales/et-EE.json": () => import("./et-EE-CXOeuULd.js"),
342
+ "../../../language/locales/fi-FI.json": () => import("./fi-FI-BNfxJDvc.js"),
343
+ "../../../language/locales/fr-FR.json": () => import("./fr-FR-Byelw2ED.js"),
344
+ "../../../language/locales/hr-HR.json": () => import("./hr-HR-Cmnnjuvd.js"),
345
+ "../../../language/locales/hu-HU.json": () => import("./hu-HU-8uDv5c4i.js"),
346
+ "../../../language/locales/it-IT.json": () => import("./it-IT-VzcvfA7e.js"),
347
+ "../../../language/locales/ja-JP.json": () => import("./ja-JP-B05v6NdN.js"),
348
+ "../../../language/locales/lt-LT.json": () => import("./lt-LT-C7Bf2i87.js"),
349
+ "../../../language/locales/lv-LV.json": () => import("./lv-LV-D3bkGuXV.js"),
350
+ "../../../language/locales/nl-NL.json": () => import("./nl-NL-lyCxhWKl.js"),
351
+ "../../../language/locales/no-NO.json": () => import("./no-NO-FFwOUFr9.js"),
352
+ "../../../language/locales/pl-PL.json": () => import("./pl-PL-B9u7WZBs.js"),
353
+ "../../../language/locales/pt-BR.json": () => import("./pt-BR-XeJRk5pM2.js"),
354
+ "../../../language/locales/pt-PT.json": () => import("./pt-PT-CCuTeMbQ.js"),
355
+ "../../../language/locales/ro-RO.json": () => import("./ro-RO-CXGpXJAG.js"),
356
+ "../../../language/locales/sk-SK.json": () => import("./sk-SK-DoHPhXvk.js"),
357
+ "../../../language/locales/sl-SI.json": () => import("./sl-SI-Ga2XE4DC.js"),
358
+ "../../../language/locales/sv-SE.json": () => import("./sv-SE-DYjpbult.js")
297
359
  }), `../../../language/locales/${lang}.json`, 6)
298
360
  },
299
361
  {
@@ -336,7 +398,7 @@ function InvitedDecisionMakerComponent({ invitedIndividualId }) {
336
398
  "../../Individual/language/de-DE.json": () => import("./de-DE-Bc55gBv4.js"),
337
399
  "../../Individual/language/el-GR.json": () => import("./el-GR-Cr-3NgPk.js"),
338
400
  "../../Individual/language/en-US.instructions.json": () => import("./en-US.instructions-DfgivDPI.js"),
339
- "../../Individual/language/en-US.json": () => import("./en-US-C1J9jcVI.js"),
401
+ "../../Individual/language/en-US.json": () => import("./en-US-MqobYcqc.js"),
340
402
  "../../Individual/language/es-ES.json": () => import("./es-ES-uVSZu-EQ.js"),
341
403
  "../../Individual/language/es-LA.json": () => import("./es-LA-BU5Op1kh.js"),
342
404
  "../../Individual/language/et-EE.json": () => import("./et-EE-BFb0MPqf.js"),
@@ -364,6 +426,7 @@ function InvitedDecisionMakerComponent({ invitedIndividualId }) {
364
426
  const { data: invitedIndividualLe } = useLegalEntity(invitedIndividualId);
365
427
  const { data: invitedEntityAssociationData } = useInvitedEntityAssociationData(invitedIndividualId);
366
428
  const { data: rootCapabilities } = useInvitedEntityRootCapabilities();
429
+ const { data: invitedEntityVerificationErrors, refetch: refetchInvitedEntityVerificationErrors } = useInvitedEntityVerificationErrors(invitedIndividualId);
367
430
  const invitedEntityDetails = useMemo$1(() => {
368
431
  if (!invitedEntityAssociationData) return { roles: [] };
369
432
  const { associations } = invitedEntityAssociationData;
@@ -383,8 +446,13 @@ function InvitedDecisionMakerComponent({ invitedIndividualId }) {
383
446
  invitedIndividualLe,
384
447
  invitedEntityDetails.roles
385
448
  ]);
449
+ const handleRemediationEdit = useCallback$1(async () => {
450
+ await refetchInvitedEntityVerificationErrors();
451
+ setActiveStep("provideDetailsStep");
452
+ }, [refetchInvitedEntityVerificationErrors, setActiveStep]);
386
453
  if (!invitedIndividualLe || isTaskStatusLoading || step === void 0) return /* @__PURE__ */ jsx(Loader, {});
387
454
  const country = getLegalEntityCountry(invitedIndividualLe);
455
+ const problems = getInvitedEntityProblems(invitedEntityVerificationErrors?.problems, invitedIndividualLe);
388
456
  const handleSubmitSuccess = () => setActiveStep("submitSuccessStep");
389
457
  switch (step) {
390
458
  case "landingStep": return /* @__PURE__ */ jsx(InvitedDecisionMakerGettingStarted, { addDecisionMakerOnClick: () => setActiveStep("provideDetailsStep") });
@@ -392,17 +460,17 @@ function InvitedDecisionMakerComponent({ invitedIndividualId }) {
392
460
  taskType: TaskTypes.DECISION_MAKER,
393
461
  taskName: "decisionMakerDetails",
394
462
  legalEntityResponse: invitedIndividualLe,
395
- problems: void 0,
463
+ problems,
396
464
  country,
397
465
  asModal: true,
398
- handleHomeClick: () => setActiveStep("landingStep"),
466
+ handleHomeClick: () => setActiveStep(void 0),
399
467
  isInvitedEntity: true,
400
468
  invitedEntityDetails,
401
469
  onSubmit: handleSubmitSuccess
402
470
  });
403
471
  case "submitSuccessStep": return /* @__PURE__ */ jsx(InvitedDecisionMakerSubmitSuccess, {
404
472
  decisionMaker,
405
- handleEdit: () => setActiveStep("provideDetailsStep"),
473
+ handleEdit: handleRemediationEdit,
406
474
  isInvitedEntity: true
407
475
  });
408
476
  }
@@ -1,65 +1,25 @@
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] = "7f9d77ca-a61b-42ba-98bd-3a2727e0ee98", e._sentryDebugIdIdentifier = "sentry-dbid-7f9d77ca-a61b-42ba-98bd-3a2727e0ee98");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6114d162-197b-4a94-aa97-5b7f26be8abe", e._sentryDebugIdIdentifier = "sentry-dbid-6114d162-197b-4a94-aa97-5b7f26be8abe");
4
4
  } catch (e) {}
5
5
  import { i as Typography, o as createLogger, r as useTranslation } from "./translation-BYvhW5zA.js";
6
- import { j as useToggleContext } from "./resolveEnvironment-eLCNmAkD.js";
7
- import { n as httpGet, s as useApiContext } from "./http-8qgzqVqk.js";
8
- import { a as noop } from "./AnalyticsContext-BnRQ9H1u.js";
6
+ import { j as useToggleContext } from "./resolveEnvironment-GK5T4kh0.js";
9
7
  import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
10
8
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
11
9
  import { i as useAnalyticsContext } from "./Modal-ByJare7m.js";
12
- import { o as addressValidationRules, s as addressValidationRulesV4 } from "./Address-DDvR9pCB.js";
10
+ import { o as addressValidationRules, s as addressValidationRulesV4 } from "./AddressField-Blup_Pzc.js";
13
11
  import { t as List } from "./List-ywoRPg-q.js";
14
- import { c as nonInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-BiVsiGoh.js";
15
- import { t as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-DT19YcnH.js";
16
- import { n as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-DZUd0pQT.js";
17
- import { t as Field } from "./Field-CPvnOkLo.js";
12
+ import { c as nonInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-B1s7g7RX.js";
13
+ import { a as JP_ADDRESS_REQUIRED_FIELDS, n as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-DHL5chu8.js";
14
+ import { t as Field } from "./Field-Dg-2A6bG.js";
18
15
  import { n as useDebouncedCallback } from "./debouncedInputEvent-Fwwp_K_-.js";
19
- import { n as convertFullToHalf } from "./TextArea-Blkrb-8X.js";
20
- import { t as useForm } from "./useForm-Cv3aZas7.js";
21
- import { t as InputText } from "./InputText-B7eseCmi.js";
16
+ import { n as convertFullToHalf } from "./TextArea-BUx3yuMJ.js";
17
+ import { t as useForm } from "./useForm-CUZ1OXNT.js";
18
+ import { t as InputText } from "./InputText-CQcWyZ8_.js";
22
19
  import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
20
+ import { n as ReadonlyTextField, r as useRetrieveFromPostcodeJp, t as JpAddress_module_default } from "./JpAddress.module-Bdx0E9ys.js";
23
21
  import { useEffect, useState } from "preact/hooks";
24
22
  import { jsx, jsxs } from "preact/jsx-runtime";
25
- import { useQuery } from "@tanstack/preact-query";
26
- //#region src/api/address/useRetrieveFromPostcodeJp.ts
27
- var retrieveFromPostcodeJp = async (legalEntityId, baseUrl, postalCode) => httpGet({
28
- baseUrl,
29
- path: `legalEntities/${legalEntityId}/addresses/jp/${postalCode}`
30
- });
31
- var useRetrieveFromPostcodeJp = (postalCode, options) => {
32
- const { rootLegalEntityId, baseUrl } = useApiContext();
33
- return useQuery({
34
- queryKey: ["retrieveAddress", postalCode],
35
- queryFn: () => retrieveFromPostcodeJp(rootLegalEntityId.value, baseUrl.value, postalCode),
36
- retry: false,
37
- ...options
38
- });
39
- };
40
- var ReadonlyTextField_module_default = { noWrap: "_noWrap_2yhvg_1" };
41
- //#endregion
42
- //#region src/components/Shared/forms/Address/localized/jp/ReadonlyTextField.tsx
43
- var ReadonlyTextField = ({ name, label, value }) => /* @__PURE__ */ jsx(Field, {
44
- name,
45
- label,
46
- className: ReadonlyTextField_module_default.noWrap,
47
- children: (innerProps) => /* @__PURE__ */ jsx(InputText, {
48
- ...innerProps,
49
- name,
50
- type: "text",
51
- value,
52
- onInput: noop,
53
- readonly: true
54
- })
55
- });
56
- var JpAddress_module_default = {
57
- "side-by-side": "_side-by-side_1oxjw_1",
58
- sideBySide: "_side-by-side_1oxjw_1",
59
- "jp-field": "_jp-field_1oxjw_7",
60
- jpField: "_jp-field_1oxjw_7"
61
- };
62
- //#endregion
63
23
  //#region src/components/Shared/forms/Address/localized/jp/JpAddress.tsx
64
24
  var logger = createLogger();
65
25
  var JpAddress = ({ addressType, data: dataProp, handleFieldChange, errors: propErrors, valid: propValid, fieldValidationErrors: propFieldValidationErrors, onChange }) => {
@@ -145,7 +105,7 @@ var JpAddress = ({ addressType, data: dataProp, handleFieldChange, errors: propE
145
105
  ]);
146
106
  const handleOtherAddressInformationFullWidth = {
147
107
  input: (e) => {
148
- handleChangeFor("otherAddressInformationFullWidth", "input")(e);
108
+ handleChangeFor("street2FullWidth", "input")(e);
149
109
  handleChangeFor("street2", "input")({
150
110
  ...e,
151
111
  target: {
@@ -155,7 +115,7 @@ var JpAddress = ({ addressType, data: dataProp, handleFieldChange, errors: propE
155
115
  });
156
116
  },
157
117
  blur: (e) => {
158
- handleChangeFor("otherAddressInformationFullWidth", "blur")(e);
118
+ handleChangeFor("street2FullWidth", "blur")(e);
159
119
  handleChangeFor("street2", "blur")({
160
120
  ...e,
161
121
  target: {
@@ -217,13 +177,13 @@ var JpAddress = ({ addressType, data: dataProp, handleFieldChange, errors: propE
217
177
  horizontal: true,
218
178
  children: [/* @__PURE__ */ jsx(Field, {
219
179
  className: JpAddress_module_default.jpField,
220
- name: "otherAddressInformationFullWidth",
180
+ name: "street2FullWidth",
221
181
  label: t(($) => $.chomeAndBanchi),
222
182
  isValid: formValid.street2,
223
183
  errorMessage: formErrors.street2?.errorMessage ?? formErrors.street2?.hasError,
224
184
  children: (childProps) => /* @__PURE__ */ jsx(InputText, {
225
185
  ...childProps,
226
- value: formData.otherAddressInformationFullWidth ?? toFullWidth(formData.street2 ?? ""),
186
+ value: formData.street2FullWidth ?? toFullWidth(formData.street2 ?? ""),
227
187
  onInput: handleOtherAddressInformationFullWidth.input,
228
188
  onBlur: handleOtherAddressInformationFullWidth.blur,
229
189
  transformInput: toFullWidth,
@@ -0,0 +1,48 @@
1
+ try {
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] = "29a631ba-7bb6-4580-83ac-16e30eda72f1", e._sentryDebugIdIdentifier = "sentry-dbid-29a631ba-7bb6-4580-83ac-16e30eda72f1");
4
+ } catch (e) {}
5
+ import { n as httpGet, s as useApiContext } from "./http-8qgzqVqk.js";
6
+ import { a as noop } from "./AnalyticsContext-BnRQ9H1u.js";
7
+ import { t as Field } from "./Field-Dg-2A6bG.js";
8
+ import { t as InputText } from "./InputText-CQcWyZ8_.js";
9
+ import { jsx } from "preact/jsx-runtime";
10
+ import { useQuery } from "@tanstack/preact-query";
11
+ //#region src/api/address/useRetrieveFromPostcodeJp.ts
12
+ var retrieveFromPostcodeJp = async (legalEntityId, baseUrl, postalCode) => httpGet({
13
+ baseUrl,
14
+ path: `legalEntities/${legalEntityId}/addresses/jp/${postalCode}`
15
+ });
16
+ var useRetrieveFromPostcodeJp = (postalCode, options) => {
17
+ const { rootLegalEntityId, baseUrl } = useApiContext();
18
+ return useQuery({
19
+ queryKey: ["retrieveAddress", postalCode],
20
+ queryFn: () => retrieveFromPostcodeJp(rootLegalEntityId.value, baseUrl.value, postalCode),
21
+ retry: false,
22
+ ...options
23
+ });
24
+ };
25
+ var ReadonlyTextField_module_default = { noWrap: "_noWrap_2yhvg_1" };
26
+ //#endregion
27
+ //#region src/components/Shared/forms/Address/localized/jp/ReadonlyTextField.tsx
28
+ var ReadonlyTextField = ({ name, label, value }) => /* @__PURE__ */ jsx(Field, {
29
+ name,
30
+ label,
31
+ className: ReadonlyTextField_module_default.noWrap,
32
+ children: (innerProps) => /* @__PURE__ */ jsx(InputText, {
33
+ ...innerProps,
34
+ name,
35
+ type: "text",
36
+ value,
37
+ onInput: noop,
38
+ readonly: true
39
+ })
40
+ });
41
+ var JpAddress_module_default = {
42
+ "side-by-side": "_side-by-side_1oxjw_1",
43
+ sideBySide: "_side-by-side_1oxjw_1",
44
+ "jp-field": "_jp-field_1oxjw_7",
45
+ jpField: "_jp-field_1oxjw_7"
46
+ };
47
+ //#endregion
48
+ export { ReadonlyTextField as n, useRetrieveFromPostcodeJp as r, JpAddress_module_default as t };
@@ -0,0 +1,246 @@
1
+ try {
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] = "d92931a5-abd1-46c2-b4f4-33a0e1bd909c", e._sentryDebugIdIdentifier = "sentry-dbid-d92931a5-abd1-46c2-b4f4-33a0e1bd909c");
4
+ } catch (e) {}
5
+ import { i as Typography, o as createLogger, r as useTranslation } from "./translation-BYvhW5zA.js";
6
+ import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
7
+ import { i as useAnalyticsContext } from "./Modal-ByJare7m.js";
8
+ import { t as List } from "./List-ywoRPg-q.js";
9
+ import { c as nonInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-B1s7g7RX.js";
10
+ import { n as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-DHL5chu8.js";
11
+ import { t as Field } from "./Field-Dg-2A6bG.js";
12
+ import { n as useDebouncedCallback } from "./debouncedInputEvent-Fwwp_K_-.js";
13
+ import { n as convertFullToHalf } from "./TextArea-BUx3yuMJ.js";
14
+ import { t as InputText } from "./InputText-CQcWyZ8_.js";
15
+ import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
16
+ import { n as ReadonlyTextField, r as useRetrieveFromPostcodeJp, t as JpAddress_module_default } from "./JpAddress.module-Bdx0E9ys.js";
17
+ import { useEffect, useState } from "preact/hooks";
18
+ import { jsx, jsxs } from "preact/jsx-runtime";
19
+ //#region src/components/Shared/forms/Address/localized/jp/JpAddressFields.tsx
20
+ var logger = createLogger();
21
+ function JpAddressFields({ addressType, data: dataProp, handleFieldChange, errors: propErrors, valid: propValid }) {
22
+ const { t } = useTranslation("common");
23
+ const userEvents = useAnalyticsContext();
24
+ const formData = dataProp ?? {};
25
+ const formErrors = propErrors ?? {};
26
+ const formValid = propValid ?? {};
27
+ const [postcodeToSearch, setPostcodeToSearch] = useState(formData.postalCode ?? "");
28
+ const debouncedSetPostcodeToSearch = useDebouncedCallback(setPostcodeToSearch, 1e3);
29
+ const retrieveFromPostcodeQuery = useRetrieveFromPostcodeJp(postcodeToSearch, { enabled: postcodeToSearch !== "" });
30
+ useEffect(() => {
31
+ if (retrieveFromPostcodeQuery.error) {
32
+ logger.error(retrieveFromPostcodeQuery.error.message);
33
+ handleFieldChange("jaHaniStateOrProvince")(void 0);
34
+ handleFieldChange("jaHaniCity")(void 0);
35
+ handleFieldChange("jaKanaStateOrProvince")(void 0);
36
+ handleFieldChange("jaKanaCity")(void 0);
37
+ handleFieldChange("stateOrProvince")(void 0);
38
+ handleFieldChange("city")(void 0);
39
+ return;
40
+ }
41
+ if (!retrieveFromPostcodeQuery.data) return;
42
+ userEvents.addPageEvent("Success", {
43
+ actionType: "select",
44
+ actionLevel: "field",
45
+ returnType: "backend",
46
+ returnValue: "retrieveAddress"
47
+ });
48
+ const scriptResults = retrieveFromPostcodeQuery.data.multilocale;
49
+ if (!scriptResults) return;
50
+ const jaHani = scriptResults.find((script) => script.locale === "ja-Hani");
51
+ const jaKana = scriptResults.find((script) => script.locale === "ja-Kana");
52
+ const en = scriptResults.find((script) => script.locale === "en");
53
+ if (jaHani) {
54
+ handleFieldChange("jaHaniStateOrProvince")(jaHani.stateOrProvince);
55
+ handleFieldChange("jaHaniCity")(jaHani.city);
56
+ }
57
+ if (jaKana) {
58
+ handleFieldChange("jaKanaStateOrProvince")(jaKana.stateOrProvince);
59
+ handleFieldChange("jaKanaCity")(jaKana.city);
60
+ }
61
+ if (en) {
62
+ handleFieldChange("stateOrProvince")(en.stateOrProvince);
63
+ handleFieldChange("city")(en.city);
64
+ }
65
+ }, [
66
+ retrieveFromPostcodeQuery.data,
67
+ retrieveFromPostcodeQuery.error,
68
+ userEvents
69
+ ]);
70
+ const handleStreet2FullWidth = {
71
+ input: (e) => {
72
+ handleFieldChange("street2FullWidth", "input")(e);
73
+ handleFieldChange("street2", "input")({
74
+ ...e,
75
+ target: {
76
+ ...e.target,
77
+ value: convertFullToHalf(e.target.value)
78
+ }
79
+ });
80
+ },
81
+ blur: (e) => {
82
+ handleFieldChange("street2FullWidth", "blur")(e);
83
+ handleFieldChange("street2", "blur")({
84
+ ...e,
85
+ target: {
86
+ ...e.target,
87
+ value: convertFullToHalf(e.target.value)
88
+ }
89
+ });
90
+ }
91
+ };
92
+ return /* @__PURE__ */ jsxs("fieldset", { children: [
93
+ /* @__PURE__ */ jsx(Typography, {
94
+ el: "legend",
95
+ variant: "title",
96
+ children: t(($) => $[addressType])
97
+ }),
98
+ /* @__PURE__ */ jsx(MaskedInput, {
99
+ name: "postalCode",
100
+ type: "text",
101
+ label: t(($) => $.postalCode),
102
+ value: formData.postalCode ?? "",
103
+ isValid: formValid.postalCode,
104
+ errorMessage: formErrors.postalCode?.errorMessage ?? formErrors.postalCode?.hasError,
105
+ onInput: (value) => {
106
+ handleFieldChange("postalCode", "input")(value);
107
+ debouncedSetPostcodeToSearch(value);
108
+ },
109
+ onBlur: handleFieldChange("postalCode", "blur"),
110
+ mask: makeMask(...numericInputs(3), ...nonInputs(" - "), ...numericInputs(4)),
111
+ formatGuidance: t(($) => $.enterNDigitsForExample, {
112
+ numDigits: "7",
113
+ example: "530-0001"
114
+ })
115
+ }),
116
+ /* @__PURE__ */ jsxs(StackLayout, {
117
+ gap: "medium",
118
+ children: [
119
+ /* @__PURE__ */ jsx(List, {
120
+ dividers: false,
121
+ variant: "grouped-primary",
122
+ children: /* @__PURE__ */ jsxs("fieldset", { children: [
123
+ /* @__PURE__ */ jsx(Typography, {
124
+ el: "legend",
125
+ variant: "body-strongest",
126
+ children: t(($) => $.kanjiAddress)
127
+ }),
128
+ /* @__PURE__ */ jsxs(StackLayout, {
129
+ horizontal: true,
130
+ children: [/* @__PURE__ */ jsx(ReadonlyTextField, {
131
+ name: "jaHaniStateOrProvince",
132
+ label: t(($) => $.prefecture),
133
+ value: formData.jaHaniStateOrProvince
134
+ }), /* @__PURE__ */ jsx(ReadonlyTextField, {
135
+ name: "jaHaniCity",
136
+ label: t(($) => $.districtTownAreaCityWard),
137
+ value: formData.jaHaniCity
138
+ })]
139
+ }),
140
+ /* @__PURE__ */ jsxs(StackLayout, {
141
+ horizontal: true,
142
+ children: [/* @__PURE__ */ jsx(Field, {
143
+ className: JpAddress_module_default.jpField,
144
+ name: "street2FullWidth",
145
+ label: t(($) => $.chomeAndBanchi),
146
+ isValid: formValid.street2,
147
+ errorMessage: formErrors.street2?.errorMessage ?? formErrors.street2?.hasError,
148
+ children: (childProps) => /* @__PURE__ */ jsx(InputText, {
149
+ ...childProps,
150
+ value: formData.street2FullWidth ?? toFullWidth(formData.street2 ?? ""),
151
+ onInput: handleStreet2FullWidth.input,
152
+ onBlur: handleStreet2FullWidth.blur,
153
+ transformInput: toFullWidth,
154
+ transformMode: "blur"
155
+ })
156
+ }), /* @__PURE__ */ jsx(Spacer, {})]
157
+ }),
158
+ /* @__PURE__ */ jsx(Field, {
159
+ className: JpAddress_module_default.jpField,
160
+ name: "jaHaniAddress",
161
+ label: t(($) => $.buildingNameFloorRoomNumberEtc),
162
+ isValid: formValid.jaHaniStreet,
163
+ errorMessage: formErrors.jaHaniStreet?.errorMessage ?? formErrors.jaHaniStreet?.hasError,
164
+ children: (childProps) => /* @__PURE__ */ jsx(InputText, {
165
+ ...childProps,
166
+ onInput: handleFieldChange("jaHaniStreet", "input"),
167
+ onBlur: handleFieldChange("jaHaniStreet", "input"),
168
+ value: formData.jaHaniStreet,
169
+ transformInput: toFullWidth,
170
+ transformMode: "blur"
171
+ })
172
+ })
173
+ ] })
174
+ }),
175
+ /* @__PURE__ */ jsx(List, {
176
+ dividers: false,
177
+ variant: "grouped-primary",
178
+ children: /* @__PURE__ */ jsxs("fieldset", { children: [/* @__PURE__ */ jsx(Typography, {
179
+ el: "legend",
180
+ variant: "body-strongest",
181
+ children: t(($) => $.katakanaAddress)
182
+ }), /* @__PURE__ */ jsxs(StackLayout, {
183
+ horizontal: true,
184
+ children: [/* @__PURE__ */ jsx(ReadonlyTextField, {
185
+ name: "jaKanaStateOrProvince",
186
+ label: t(($) => $.prefecture),
187
+ value: formData.jaKanaStateOrProvince
188
+ }), /* @__PURE__ */ jsx(ReadonlyTextField, {
189
+ name: "jaKanaCity",
190
+ label: t(($) => $.districtTownAreaCityWard),
191
+ value: formData.jaKanaCity
192
+ })]
193
+ })] })
194
+ }),
195
+ /* @__PURE__ */ jsx(List, {
196
+ dividers: false,
197
+ variant: "grouped-primary",
198
+ children: /* @__PURE__ */ jsxs("fieldset", { children: [
199
+ /* @__PURE__ */ jsx(Typography, {
200
+ el: "legend",
201
+ variant: "body-strongest",
202
+ children: t(($) => $.romajiAddress)
203
+ }),
204
+ /* @__PURE__ */ jsxs(StackLayout, {
205
+ horizontal: true,
206
+ children: [/* @__PURE__ */ jsx(ReadonlyTextField, {
207
+ name: "stateOrProvince",
208
+ label: t(($) => $.prefecture),
209
+ value: formData.stateOrProvince
210
+ }), /* @__PURE__ */ jsx(ReadonlyTextField, {
211
+ name: "city",
212
+ label: t(($) => $.districtTownAreaCityWard),
213
+ value: formData.city
214
+ })]
215
+ }),
216
+ /* @__PURE__ */ jsxs(StackLayout, {
217
+ horizontal: true,
218
+ children: [/* @__PURE__ */ jsx(ReadonlyTextField, {
219
+ name: "otherAddressInformation",
220
+ label: t(($) => $.chomeAndBanchi),
221
+ value: formData.street2
222
+ }), /* @__PURE__ */ jsx(Spacer, {})]
223
+ }),
224
+ /* @__PURE__ */ jsx(Field, {
225
+ className: JpAddress_module_default.jpField,
226
+ name: "address",
227
+ label: t(($) => $.buildingNameFloorRoomNumberEtc),
228
+ isValid: formValid.street,
229
+ errorMessage: formErrors.street?.errorMessage ?? formErrors.street?.hasError,
230
+ children: (childProps) => /* @__PURE__ */ jsx(InputText, {
231
+ ...childProps,
232
+ onInput: handleFieldChange("street", "input"),
233
+ onBlur: handleFieldChange("street", "blur"),
234
+ value: formData.street,
235
+ transformInput: (value) => convertFullToHalf(value),
236
+ transformMode: "blur"
237
+ })
238
+ })
239
+ ] })
240
+ })
241
+ ]
242
+ })
243
+ ] });
244
+ }
245
+ //#endregion
246
+ export { JpAddressFields };
@@ -1,10 +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] = "6959d4ec-a295-47fe-a238-2b1d695796ba", e._sentryDebugIdIdentifier = "sentry-dbid-6959d4ec-a295-47fe-a238-2b1d695796ba");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f249075d-119b-4a44-b856-026e1db9d2cd", e._sentryDebugIdIdentifier = "sentry-dbid-f249075d-119b-4a44-b856-026e1db9d2cd");
4
4
  } catch (e) {}
5
5
  import { i as Typography } from "./translation-BYvhW5zA.js";
6
6
  import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
7
7
  import { jsx, jsxs } from "preact/jsx-runtime";
8
+ //#region src/core/models/api/trusted-fields-provider.ts
9
+ var TrustedFieldsProviders = {
10
+ SINGPASS: "singpass",
11
+ KOMPANY: "kompany"
12
+ };
8
13
  var LandingLayout_module_default = {
9
14
  "landing-layout-image": "_landing-layout-image_1nous_1",
10
15
  landingLayoutImage: "_landing-layout-image_1nous_1",
@@ -73,4 +78,4 @@ var LandingLayout = ({ actions, content, description, error, disclaimer, helpAct
73
78
  });
74
79
  };
75
80
  //#endregion
76
- export { LandingLayout as t };
81
+ export { TrustedFieldsProviders as n, LandingLayout as t };