@adyen/kyc-components 4.19.0 → 4.20.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/dist/{Accordion-BnhH5-eC.js → Accordion-BWdAGMRb.js} +1 -1
  2. package/dist/{AccountSetupRejected-VkyroW_s.js → AccountSetupRejected-N5q1VKpW.js} +2 -2
  3. package/dist/AdaptiveWorkflow-C8N4ayEt.js +5112 -0
  4. package/dist/{AdaptiveWorkflowComponent-BhHqJMaU.js → AdaptiveWorkflowComponent-CEMgH36B.js} +36 -36
  5. package/dist/{Address-qf5qFwua.js → Address-DQlehM6f.js} +8 -7
  6. package/dist/{AddressField-eulmJMt_.js → AddressField-BnboPpBe.js} +12 -253
  7. package/dist/{Avatar-Y_RdG_YY.js → Avatar-CeZIQS8n.js} +1 -1
  8. package/dist/{BusinessFinancingDropin-xtcAFZEN.js → BusinessFinancingDropin-CFKrcdPb.js} +33 -32
  9. package/dist/{BusinessFinancingPage-Dt2Va-qf.js → BusinessFinancingPage-DIrEOTbn.js} +33 -33
  10. package/dist/{utils-BFaY6wGW.js → BusinessRegistrationNumberField-DGBqMCwU.js} +301 -53
  11. package/dist/{BusinessTypeSelectionPage-CKrWo9e-.js → BusinessTypeSelectionPage-CyMTri8M.js} +18 -17
  12. package/dist/{Button-BuhgDsyo.js → Button-Cm7cT6BX.js} +1 -1
  13. package/dist/{Checkbox-CFN5ywvv.js → Checkbox-faFUul66.js} +1 -1
  14. package/dist/{CompanyRegistrationNumberTypeSelector-DDWIMP-t.js → CompanyRegistrationNumberTypeSelector-KkPiHDQk.js} +8 -8
  15. package/dist/{ContactDetails-Co7J7Hjc.js → ContactDetails-CQZ7kMSU.js} +7 -7
  16. package/dist/{ContextGuidance-RV1m2efV.js → ContextGuidance-CpLYhcU8.js} +2 -2
  17. package/dist/{CountryField-BTVLTRup.js → CountryField-DQnWXgAu.js} +26 -21
  18. package/dist/{Currency-DfCp7hwP.js → Currency-DJTE2WJJ.js} +8 -59
  19. package/dist/{CustomerSupport-fg0-Upw5.js → CustomerSupport-BkE-Ej6L.js} +14 -14
  20. package/dist/{DataConflictsModal-CVgcvjm6.js → DataConflictsModal-BhZpZhFP.js} +7 -7
  21. package/dist/{DebugModal-CaI-iWEa.js → DebugModal-C_O14NUN.js} +10 -10
  22. package/dist/{DecisionMakerDetails-JYY15piY.js → DecisionMakerDetails-BZEv2fPu.js} +17 -17
  23. package/dist/{DecisionMakerDetailsPage-UMAQo28h.js → DecisionMakerDetailsPage-DhCtiSzf.js} +12 -12
  24. package/dist/{DecisionMakers-DeQLYGwW.js → DecisionMakers-BPLn2iHA.js} +18 -18
  25. package/dist/{Dropzone-Dmtomtl2.js → Dropzone-DAvxNuAu.js} +7 -7
  26. package/dist/{EmbeddedStatus-sHJnhw3K.js → EmbeddedStatus-uz3Ivsyw.js} +4 -4
  27. package/dist/{EndStateLayout-CddZpAGD.js → EndStateLayout-BUK64Vqu.js} +2 -2
  28. package/dist/{EntityAssociation-vg8k3YiH.js → EntityAssociation-CBbcX-5M.js} +7 -7
  29. package/dist/{ErrorPanel-DysmW3Hz.js → ErrorPanel-C2hG0lLe.js} +4 -4
  30. package/dist/GlobalEntryModal-cQF6Bfim.js +353 -0
  31. package/dist/{GlobalEntryPage-CrjiJG7v.js → GlobalEntryPage-C6OnSwBj.js} +10 -10
  32. package/dist/{Image-Dc5Xg1_Y.js → Image-8SOcICah.js} +1 -1
  33. package/dist/{Individual.rules-Fg_j4_io.js → Individual.rules-D1Mmr7tv.js} +7 -11
  34. package/dist/{IndividualDropin-D5qyhkH7.js → IndividualDropin-KG_mOjri.js} +64 -67
  35. package/dist/{InputDate-Cp2ga0F5.js → InputDate-DDVX2D-5.js} +2 -2
  36. package/dist/{InputText-CRkApOKK.js → InputText-Cf9ccCaj.js} +5 -5
  37. package/dist/{Introduction-Dd72HuvK.js → Introduction-Dsy_e4OL.js} +8 -8
  38. package/dist/{InvitedDecisionMakerComponent-BR14VLnP.js → InvitedDecisionMakerComponent-Bzj7Szw8.js} +41 -41
  39. package/dist/{JpAddress-C7eDuCDV.js → JpAddress-CMYhw2Zl.js} +19 -17
  40. package/dist/{JpAddress.module-DNwEnPzj.js → JpAddress.module-CiY5uzmL.js} +4 -4
  41. package/dist/{JpAddressFields-CB889sWX.js → JpAddressFields-DqJ7Am2I.js} +15 -14
  42. package/dist/{LegalCompanyNameField-BVyQCVUE.js → LegalCompanyNameField-DGdSduXu.js} +5 -5
  43. package/dist/{LegalRepresentativeDetailsPage-BNFIn6Qh.js → LegalRepresentativeDetailsPage-DODrlxF0.js} +8 -8
  44. package/dist/{Link-PH3F7iTO.js → Link-B7RA2gSt.js} +1 -1
  45. package/dist/{ListItem-B-gDVdRO.js → ListItem-Cy46BXUv.js} +27 -4
  46. package/dist/{MaskedInput-DwP4ZWTk.js → MaskedInput-BZLm8L47.js} +11 -11
  47. package/dist/{Modal-BYdlsXkf.js → Modal-nylR9F4X.js} +1 -1
  48. package/dist/{Name-DfZeGh8m.js → Name-C0ti1xY6.js} +5 -5
  49. package/dist/{NewSummary-DebON3Ge.js → NewSummary-DDwQJV7w.js} +6 -6
  50. package/dist/{PatriotActDisclosure-V0iYQAp7.js → PatriotActDisclosure-CB0N3iIz.js} +15 -15
  51. package/dist/{PayoutDetailsDropin-DtLitjwp.js → PayoutDetailsDropin-9LoGCmko.js} +187 -135
  52. package/dist/{PayoutDetailsPage-Bul0UWe-.js → PayoutDetailsPage-DV8fIktn.js} +10 -10
  53. package/dist/{RadioGroup-BcojlKCO.js → RadioGroup-BUwhfue7.js} +3 -3
  54. package/dist/{Review-EaL1BttB.js → Review-C2JLh6M0.js} +8 -8
  55. package/dist/{RootBusinessDetailsPage-Cwc8cZOY.js → RootBusinessDetailsPage-D-T5SbYt.js} +10 -10
  56. package/dist/{RootBusinessLinesPage-CLsMhxkV.js → RootBusinessLinesPage-BZNLFGSY.js} +30 -30
  57. package/dist/{RootIndividualDetailsPage-Nfm0kzJq.js → RootIndividualDetailsPage-wO9DNKWn.js} +10 -10
  58. package/dist/{Select-C5sy6Wux.js → Select-B5Mo0Bpw.js} +12 -13
  59. package/dist/{SignPCIComponent-CaTaPQHb.js → SignPCIComponent-CZmCa0AY.js} +56 -54
  60. package/dist/{SingpassSelection-COig4k8W.js → SingpassSelection-BTZe82Q8.js} +6 -6
  61. package/dist/SoleProprietorshipPage-Dfzyn6Br.js +70 -0
  62. package/dist/{SourceOfFundsPage-DEABiUWz.js → SourceOfFundsPage-l899LDLv.js} +58 -44
  63. package/dist/{StructuredList-D54Bpjf4.js → StructuredList-DR8Fb1tc.js} +4 -4
  64. package/dist/{TaskListItem-CB0kZVlT.js → TaskListItem-1n3vYDAz.js} +11 -11
  65. package/dist/{TaskVerificationStatus-ITLSeoau.js → TaskVerificationStatus-DMj8rsZ_.js} +1 -1
  66. package/dist/{TaxReportingDropin-9lSgx-Sv.js → TaxReportingDropin-BYOpjW8V.js} +18 -18
  67. package/dist/{TermsOfServiceManagement-CbgkpeNu.js → TermsOfServiceManagement-BUvv59rD.js} +68 -66
  68. package/dist/{TextArea-BzCbFjRp.js → TextArea-CoS-i-FF.js} +3 -3
  69. package/dist/{TrustDetailsPage-pJ_aGyVV.js → TrustDetailsPage-BQjA8lmD.js} +341 -318
  70. package/dist/TrustMemberCompanyPage-3189PHUn.js +109 -0
  71. package/dist/TrustMemberIndividualPage-DOFGzN7Z.js +110 -0
  72. package/dist/{TrustMemberRoleAndTypePage-DjE53lNn.js → TrustMemberRoleAndTypePage-nDSoM_rw.js} +19 -19
  73. package/dist/{TrustMembersOverview-z8U7UWHS.js → TrustMembersOverview-CxiKjCLV.js} +14 -14
  74. package/dist/UnincorporatedPartnershipIndividualPage-D-46tLiw.js +79 -0
  75. package/dist/{UnincorporatedPartnershipMemberCompanyPage-DOBh4lR1.js → UnincorporatedPartnershipMemberCompanyPage-CCnm-ShL.js} +37 -37
  76. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-9i54lBKZ.js → UnincorporatedPartnershipMemberRoleAndTypePage-CsECHFgr.js} +11 -11
  77. package/dist/{UnincorporatedPartnershipMembersOverview-DFeXZDC8.js → UnincorporatedPartnershipMembersOverview-C8fwIn45.js} +9 -9
  78. package/dist/{VerificationErrorAlert-B3dqg4d3.js → VerificationErrorAlert-7hKN39sx.js} +4 -4
  79. package/dist/{accountHolderUtils-CV8i1K0q.js → accountHolderUtils-Cw7X31mH.js} +1 -1
  80. package/dist/adyen-business-financing.js +34 -34
  81. package/dist/adyen-individual-configuration.js +34 -34
  82. package/dist/adyen-individual-status.js +33 -33
  83. package/dist/adyen-invited-decision-maker.js +3 -3
  84. package/dist/adyen-onboarding.js +60 -60
  85. package/dist/adyen-terms-of-service-management.js +3 -3
  86. package/dist/adyen-terms-of-service-status.js +6 -6
  87. package/dist/adyen-transfer-instrument-configuration.js +33 -33
  88. package/dist/adyen-transfer-instrument-management.js +40 -40
  89. package/dist/adyen-verification-status.js +6 -6
  90. package/dist/{bafinUtils-qakcO27e.js → bafinUtils-vdTD2Ec5.js} +19 -19
  91. package/dist/bg-BG-Bmveyt6S.js +7 -0
  92. package/dist/{constants-L0qE2dbE.js → constants-Bs5FgdWg.js} +4 -4
  93. package/dist/{country-BxigZW1s.js → country-IYuKDSdC.js} +14 -2
  94. package/dist/cs-CZ-D5CQd_YI.js +7 -0
  95. package/dist/da-DK-Bl0-8FN4.js +7 -0
  96. package/dist/de-DE-Hah2EvAY.js +7 -0
  97. package/dist/el-GR-C9KGlGa7.js +7 -0
  98. package/dist/{en-US-CWDI7JKT.js → en-US-BFM81i9K.js} +3 -1
  99. package/dist/{en-US-CeiLSh8o.js → en-US-BorLJXJ4.js} +3 -1
  100. package/dist/en-US-Del1h5SS.js +23 -0
  101. package/dist/en-US-DqhKW1eC.js +7 -0
  102. package/dist/en-US-X8pjkwa3.js +7 -0
  103. package/dist/{omitObscuredFieldsIfUnchanged-BhxAICdT.js → error-BatJzHF5.js} +19 -3
  104. package/dist/es-ES-DSwi-qfd.js +7 -0
  105. package/dist/es-LA-0IrX8yr2.js +7 -0
  106. package/dist/es-LA-1H8dAUVR.js +7 -0
  107. package/dist/es-LA-BjZq9RK_.js +7 -0
  108. package/dist/{es-LA-DU9jNyAv.js → es-LA-CGrMi4rR.js} +2 -2
  109. package/dist/{es-LA-DMpf5gAW.js → es-LA-DBBkFhgU.js} +2 -2
  110. package/dist/et-EE-BGpsJPjk.js +7 -0
  111. package/dist/fi-FI-BdrXeX9d.js +7 -0
  112. package/dist/{filterProblemsByTaskForms-CQby20PN.js → filterProblemsByTaskForms-DaJ3LZ2L.js} +11 -11
  113. package/dist/{form-rules-wh_oE1AN.js → form-rules-DV3hxYqZ.js} +2 -2
  114. package/dist/formatValidationError-CZ5MeYBS.js +23 -0
  115. package/dist/fr-FR-hleHEr-Y.js +7 -0
  116. package/dist/{getProblemsForEntity-set4Krmx.js → getProblemsForEntity-DStlTvE-.js} +2 -2
  117. package/dist/{getTrustedDecisionMakers-B_XpRta-.js → getTrustedDecisionMakers-CAbhvydj.js} +2 -2
  118. package/dist/hr-HR--ti3n_XO.js +7 -0
  119. package/dist/{http-CFac2y4i.js → http-D6AdUBhO.js} +57 -2
  120. package/dist/hu-HU-D9Avt-9f.js +7 -0
  121. package/dist/it-IT-Dq5z7p1-.js +7 -0
  122. package/dist/ja-JP-Dyhw0Ycj.js +7 -0
  123. package/dist/japanSupportUtils-H5Zfox2v.js +11 -0
  124. package/dist/{localizeDateString-BRB4gPDZ.js → localizeDateString-D-MlYN4V.js} +1 -1
  125. package/dist/lt-LT-BMI4JzrS.js +7 -0
  126. package/dist/lv-LV-LkNZQ__4.js +7 -0
  127. package/dist/mapExistingFile-LvvzPjnk.js +55 -0
  128. package/dist/{mapJpAddressSchemaToAddressLocalizations-D9928vV-.js → mapJpAddressSchemaToAddressLocalizations-6nfrRniy.js} +3 -51
  129. package/dist/{mapLegalEntityToIndividualSchema-C6zpRY2L.js → mapLegalEntityToIndividualSchema-1JDK92Nc.js} +8 -8
  130. package/dist/{mapTransferInstrumentToPayoutAccount-DAXQcZKf.js → mapTransferInstrumentToPayoutAccount-cKBtK0Qx.js} +2 -2
  131. package/dist/nl-NL-CC2r7Ldv.js +7 -0
  132. package/dist/no-NO-V7_rz3uN.js +7 -0
  133. package/dist/{patternValidators-Crk2JcIC.js → patternValidators-tRq-KPvW.js} +1 -1
  134. package/dist/pl-PL-2QyKX67Y.js +7 -0
  135. package/dist/{processCapabilities-zti_0yUx.js → processCapabilities-BSpmJOEd.js} +13 -13
  136. package/dist/{processValidationErrors-N1ZuAvVY.js → processValidationErrors-PJV6CPG2.js} +2 -2
  137. package/dist/pt-BR-D08Fo1qY.js +7 -0
  138. package/dist/pt-PT-BAQWYDe6.js +7 -0
  139. package/dist/{resolveEnvironment-BHPgG5Ko.js → resolveEnvironment-df20S4SQ.js} +39 -39
  140. package/dist/ro-RO-wG0rfL5w.js +7 -0
  141. package/dist/sk-SK-DJinBnS1.js +7 -0
  142. package/dist/sl-SI-DUaLO_J7.js +7 -0
  143. package/dist/style.css +153 -139
  144. package/dist/styles-DYaAeu4q.js +153 -139
  145. package/dist/sv-SE-5uxyEq2a.js +7 -0
  146. package/dist/toFullWidth-Dgy4X4i8.js +52 -0
  147. package/dist/{translation-CcKrUksA.js → translation-DH4IlMCP.js} +6 -2
  148. package/dist/types/adaptiveWorkflow/component-registry-v2.d.ts +46 -0
  149. package/dist/types/adaptiveWorkflow/components/Fields/IdentityScreening/IdentityScreeningWorkflow.d.ts +1 -2
  150. package/dist/types/adaptiveWorkflow/components/Layout/ComponentGroup/ComponentGroup.d.ts +6 -0
  151. package/dist/types/adaptiveWorkflow/components/Layout/ComponentGroup/contextMap.d.ts +5 -0
  152. package/dist/types/adaptiveWorkflow/components/Layout/DynamicForm/DynamicForm.d.ts +6 -0
  153. package/dist/types/adaptiveWorkflow/components/Layout/DynamicForm/useCustomerDataV2.d.ts +28 -0
  154. package/dist/types/adaptiveWorkflow/components/Layout/Steps/AcceptTermsOfServiceWorkflow.d.ts +2 -0
  155. package/dist/types/adaptiveWorkflow/components/Layout/Steps/IdentityScreeningWorkflow.d.ts +2 -0
  156. package/dist/types/adaptiveWorkflow/components/Layout/Steps/SourceOfFundsWorkflow.d.ts +2 -0
  157. package/dist/types/adaptiveWorkflow/components/Layout/Steps/Step/Step.d.ts +2 -0
  158. package/dist/types/adaptiveWorkflow/components/Layout/Steps/Step/contextMap.d.ts +2 -0
  159. package/dist/types/adaptiveWorkflow/components/Layout/Steps/TaxReportingWorkflow.d.ts +2 -0
  160. package/dist/types/adaptiveWorkflow/components/Layout/Task/Task.d.ts +9 -0
  161. package/dist/types/adaptiveWorkflow/components/Layout/Task/contextMap.d.ts +2 -0
  162. package/dist/types/adaptiveWorkflow/components/Layout/TaskGroup/TaskGroup.d.ts +5 -0
  163. package/dist/types/adaptiveWorkflow/components/Layout/TaskGroup/contextMap.d.ts +2 -0
  164. package/dist/types/adaptiveWorkflow/components/Layout/UboTaskItem/UboTaskItem.d.ts +8 -0
  165. package/dist/types/adaptiveWorkflow/components/Layout/Workflow/Workflow.d.ts +8 -0
  166. package/dist/types/adaptiveWorkflow/components/NodeRenderer/CompoundFieldRenderer.d.ts +6 -0
  167. package/dist/types/adaptiveWorkflow/components/NodeRenderer/LayoutRenderer.d.ts +7 -0
  168. package/dist/types/adaptiveWorkflow/components/NodeRenderer/NodeRenderer.d.ts +20 -0
  169. package/dist/types/adaptiveWorkflow/components/NodeRenderer/SimpleFieldRenderer.d.ts +6 -0
  170. package/dist/types/adaptiveWorkflow/components/NodeRenderer/SpecializedStepRenderer.d.ts +7 -0
  171. package/dist/types/adaptiveWorkflow/components/WorkflowHeading/WorkflowHeading.d.ts +1 -1
  172. package/dist/types/adaptiveWorkflow/components/types.d.ts +31 -0
  173. package/dist/types/adaptiveWorkflow/context/TaskStepperContext/TaskStepperContext.d.ts +19 -0
  174. package/dist/types/adaptiveWorkflow/context/TaskStepperContext/TaskStepperContextProvider.d.ts +22 -0
  175. package/dist/types/adaptiveWorkflow/context/TaskStepperContext/useHideTaskStepper.d.ts +6 -0
  176. package/dist/types/adaptiveWorkflow/context/TaskStepperContext/useTaskStepperContext.d.ts +1 -0
  177. package/dist/types/adaptiveWorkflow/utils/getNodeType.d.ts +11 -0
  178. package/dist/types/adaptiveWorkflow/utils/getProgressSteps.d.ts +4 -0
  179. package/dist/types/api/adaptive/adaptiveWorkflow.types.d.ts +2 -1
  180. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +6 -1
  181. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/usePayoutAccountFormat.d.ts +10 -0
  182. package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +2 -29
  183. package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +0 -27
  184. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -2
  185. package/dist/types/components/Business/forms/BusinessDetails/BusinessDetails.d.ts +2 -2
  186. package/dist/types/components/Business/forms/rules.d.ts +7 -3
  187. package/dist/types/components/Business/hooks/useBusinessDetailsData.d.ts +2 -3
  188. package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +3 -3
  189. package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -2
  190. package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +2 -2
  191. package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -1
  192. package/dist/types/components/{SoleProprietorship → Business}/pages/SoleProprietorshipPage.d.ts +2 -2
  193. package/dist/types/components/{Trust → Business}/pages/TrustMemberCompanyPage.d.ts +3 -3
  194. package/dist/types/components/{UnincorporatedPartnership → Business}/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +3 -3
  195. package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +1 -1
  196. package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +2 -2
  197. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +5 -5
  198. package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +6 -2
  199. package/dist/types/components/Business/utils/utils.d.ts +3 -5
  200. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +93 -93
  201. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/SOFFinancierModal.d.ts +5 -5
  202. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +2 -1
  203. package/dist/types/components/GlobalEntry/constants.d.ts +13 -3
  204. package/dist/types/components/GlobalEntry/fields/EntitySetupField/types.d.ts +1 -1
  205. package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.d.ts +3 -0
  206. package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/types.d.ts +5 -0
  207. package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/UnincorporatedOrganizationTypeField.d.ts +2 -0
  208. package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/types.d.ts +5 -0
  209. package/dist/types/components/GlobalEntry/forms/RegistrationInformation/RegistrationInformation.d.ts +5 -0
  210. package/dist/types/components/GlobalEntry/forms/RegistrationInformation/types.d.ts +3 -0
  211. package/dist/types/components/GlobalEntry/tasks/types.d.ts +2 -0
  212. package/dist/types/components/GlobalEntry/validate.d.ts +9 -0
  213. package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +2 -2
  214. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/Identity/TypeOfIdentity/index.d.ts +2 -2
  215. package/dist/types/components/Individual/forms/GuidanceQuestion/GuidanceQuestion.d.ts +4 -3
  216. package/dist/types/components/{Trust → Individual}/pages/TrustMemberIndividualPage.d.ts +2 -2
  217. package/dist/types/components/{UnincorporatedPartnership → Individual}/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
  218. package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/RegistrationAndOperationalAddressFields.d.ts +3 -0
  219. package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/types.d.ts +53 -0
  220. package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +28 -0
  221. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -2
  222. package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +2 -1
  223. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  224. package/dist/types/components/Trust/forms/Trust/rules.d.ts +12 -0
  225. package/dist/types/components/Trust/forms/Trust/types.d.ts +4 -4
  226. package/dist/types/components/Trust/forms/TrustRegistrationAddress/TrustRegistrationAddress.d.ts +2 -0
  227. package/dist/types/components/Trust/forms/TrustRegistrationAddress/types.d.ts +9 -0
  228. package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -2
  229. package/dist/types/components/Trust/tasks/TrustDropin/Trust.d.ts +2 -1
  230. package/dist/types/components/Trust/utils/formatDataForSummary.d.ts +6 -0
  231. package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -2
  232. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +2 -2
  233. package/dist/types/components/ui/atoms/Field/Field.types.d.ts +8 -2
  234. package/dist/types/components/ui/atoms/TileGroup/TileGroup.d.ts +3 -3
  235. package/dist/types/context/WorkflowContext/WorkflowContext.d.ts +3 -1
  236. package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +3 -3
  237. package/dist/types/hooks/useForm/types.d.ts +3 -2
  238. package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +1 -1
  239. package/dist/types/hooks/useScenarioConfiguration.d.ts +1 -16
  240. package/dist/types/hooks/useUboQuestionnaire.d.ts +1 -1
  241. package/dist/types/router/routeConfig.d.ts +5 -5
  242. package/dist/types/types/form-rules.d.ts +0 -2
  243. package/dist/types/utils/country.d.ts +6 -0
  244. package/dist/types/utils/decodeJwt.d.ts +13 -0
  245. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  246. package/dist/types/utils/formUtils.d.ts +4 -3
  247. package/dist/types/utils/validation/formatValidationError.d.ts +11 -0
  248. package/dist/types/utils/validation/types.d.ts +4 -4
  249. package/dist/{types-lzI_sUwT.js → types-BLWT7WnU.js} +1 -1
  250. package/dist/{useAssociatedLegalEntity-DB8HCSwp.js → useAssociatedLegalEntity-CzQlHWXy.js} +2 -2
  251. package/dist/{useBusinessDetailsData-_7t1A_p2.js → useBusinessDetailsData-CRLRQh0U.js} +197 -356
  252. package/dist/{useBusinessLines-CfQYLNkw.js → useBusinessLines-D-rc-Z6G.js} +1 -1
  253. package/dist/{useCanSeeIntroduction-Jkw8uz5N.js → useCanSeeIntroduction-BeooAHcX.js} +1 -1
  254. package/dist/{useCreateLegalEntity-CVBjJUw_.js → useCreateLegalEntity-Ctdmk3Ky.js} +1 -1
  255. package/dist/{useDataMissingRemediations-BEdoAjt3.js → useDataMissingRemediations-DNZ_UDbI.js} +2 -2
  256. package/dist/{useForm-26r9IKF_.js → useForm-BLP36oqX.js} +3 -3
  257. package/dist/{useId-BwLQ-75v.js → useId-po-YSdTw.js} +3 -3
  258. package/dist/{useLegalEntity-BqO7Fmt0.js → useLegalEntity-DR51Q4mE.js} +1 -1
  259. package/dist/{useNavigate-DvOGhK-A.js → useNavigate-CcVYYcg1.js} +33 -33
  260. package/dist/{useOnboardingStatus-Bg1z2ftv.js → useOnboardingStatus-op5TyMUR.js} +1 -1
  261. package/dist/{usePciQuestionnaireList-Dq1w684P.js → usePciQuestionnaireList-BZsgbrTy.js} +1 -1
  262. package/dist/{useSalesChannels-D66W1KV8.js → useSalesChannels-Mi6DmHab.js} +2 -2
  263. package/dist/{useScenarios-BunWDxgO.js → useScenarios-Bne3C0PV.js} +1 -1
  264. package/dist/{useTaskLandedEvent-BTVaABDA.js → useTaskLandedEvent-C7fcguXK.js} +1 -1
  265. package/dist/{useTaskStatus-B_-IRF4H.js → useTaskStatus-Be6XyW54.js} +1 -1
  266. package/dist/{useTermsOfServiceStatus-CGIpBA0U.js → useTermsOfServiceStatus-D0NHUKl_.js} +1 -1
  267. package/dist/{useTrustMembers-DAFo_ibm.js → useTrustMembers-HJpKc0qR.js} +5 -5
  268. package/dist/{useUnincorporatedPartnershipMembers-DgD91qBf.js → useUnincorporatedPartnershipMembers-C5CNWe_U.js} +2 -2
  269. package/dist/{useUpdateBusinessLines-C2xW-32U.js → useUpdateBusinessLines-D6D9DAn1.js} +1 -1
  270. package/dist/{useUpdateLegalEntity-B4x3gely.js → useUpdateLegalEntity-CH4xp654.js} +2 -2
  271. package/dist/{utils-DbIq3tru.js → utils-BbBPfcNK.js} +7 -7
  272. package/dist/{utils-D8hL_fNA.js → utils-C8WDAzsL.js} +1 -1
  273. package/dist/{utils-DbQT0YgG.js → utils-Di84CxrF.js} +5 -5
  274. package/dist/{validate-K01plHbc.js → validate-BNu91k9j.js} +4 -4
  275. package/dist/validate-CkuU4MvS.js +250 -0
  276. package/dist/{validate-N3t8r03y.js → validate-CsYDNrPB.js} +1 -1
  277. package/dist/{validateExtractionResult-YhFC9maw.js → validateExtractionResult-mtXTjYfE.js} +10 -10
  278. package/dist/{validationError-q9Js1v0m.js → validationError-1dpZJlAz.js} +1 -1
  279. package/package.json +3 -4
  280. package/dist/AdaptiveWorkflow-DV_JyPw8.js +0 -1896
  281. package/dist/GlobalEntryModal-BHlZmq4-.js +0 -188
  282. package/dist/SoleProprietorshipPage-Ctcz1qNr.js +0 -70
  283. package/dist/TrustMemberCompanyPage-vqkIF_0s.js +0 -109
  284. package/dist/TrustMemberIndividualPage-CS_tABNQ.js +0 -109
  285. package/dist/UnincorporatedPartnershipIndividualPage-9uHIQImj.js +0 -79
  286. package/dist/bg-BG-BXAB4Qsj.js +0 -7
  287. package/dist/cs-CZ-DG5rPvy2.js +0 -7
  288. package/dist/da-DK-BnW-O75l.js +0 -7
  289. package/dist/de-DE-DUiPzmSc.js +0 -7
  290. package/dist/el-GR-1n3FJpd3.js +0 -7
  291. package/dist/en-US-B48_sHax.js +0 -13
  292. package/dist/en-US-BV2Gye3t.js +0 -7
  293. package/dist/en-US-CqjOvqxV.js +0 -7
  294. package/dist/es-ES-Cp45mlyV.js +0 -7
  295. package/dist/es-LA-BU32JqC-.js +0 -7
  296. package/dist/es-LA-Cyf48j4P.js +0 -7
  297. package/dist/es-LA-De_gTMKb.js +0 -7
  298. package/dist/et-EE-B4czzgF8.js +0 -7
  299. package/dist/fi-FI-D08MUkuM.js +0 -7
  300. package/dist/fr-FR-BxDpVfWO.js +0 -7
  301. package/dist/getTrustedFields-BJ88GlM-.js +0 -28
  302. package/dist/hr-HR-DGQMquDg.js +0 -7
  303. package/dist/hu-HU-Eofp7khl.js +0 -7
  304. package/dist/it-IT-CD7NJtJa.js +0 -7
  305. package/dist/ja-JP-YvXztswF.js +0 -7
  306. package/dist/lt-LT-Cjx4H-0R.js +0 -7
  307. package/dist/lv-LV-Ckf37gXo.js +0 -7
  308. package/dist/mapExistingFile-BOXehUNN.js +0 -138
  309. package/dist/nl-NL-DFHAkUK3.js +0 -7
  310. package/dist/no-NO-B6frLiko.js +0 -7
  311. package/dist/pl-PL-DnYkTdjO.js +0 -7
  312. package/dist/pt-BR-65dQv8uO.js +0 -7
  313. package/dist/pt-PT-D0fXeW1f.js +0 -7
  314. package/dist/ro-RO-CNj95qQn.js +0 -7
  315. package/dist/sk-SK-C0x9Vs2X.js +0 -7
  316. package/dist/sl-SI-BikBCOJK.js +0 -7
  317. package/dist/sv-SE-BGP9Lmku.js +0 -7
  318. package/dist/types/components/Shared/forms/RegistrationAddress/RegistrationAddress.d.ts +0 -3
  319. package/dist/types/components/Shared/forms/RegistrationAddress/RegistrationAddressMultiform.d.ts +0 -3
  320. package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +0 -26
  321. package/dist/types/components/Shared/forms/RegistrationAddress/validate.d.ts +0 -3
  322. package/dist/types/utils/getDisplayErrorMessage.d.ts +0 -2
  323. /package/dist/types/components/{SoleProprietorship → Trust}/hooks/useExemptSettlor.d.ts +0 -0
@@ -1,19 +1,19 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ee99b8c6-3169-4c20-8a97-47ec1f6ef45b", e._sentryDebugIdIdentifier = "sentry-dbid-ee99b8c6-3169-4c20-8a97-47ec1f6ef45b");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9fcbe69e-5dfa-4c87-b40c-caa56da0d893", e._sentryDebugIdIdentifier = "sentry-dbid-9fcbe69e-5dfa-4c87-b40c-caa56da0d893");
4
4
  } catch (e) {}
5
- import { a as Icon, r as useTranslation } from "./translation-CcKrUksA.js";
6
- import { x as Alert } from "./resolveEnvironment-BHPgG5Ko.js";
7
- import { n as IconButton } from "./Button-BuhgDsyo.js";
8
- import { t as TaskVerificationStatus } from "./TaskVerificationStatus-ITLSeoau.js";
5
+ import { a as Icon, r as useTranslation } from "./translation-DH4IlMCP.js";
6
+ import { x as Alert } from "./resolveEnvironment-df20S4SQ.js";
7
+ import { n as IconButton } from "./Button-Cm7cT6BX.js";
8
+ import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DMj8rsZ_.js";
9
9
  import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
10
- import { t as getCapabilities } from "./processCapabilities-zti_0yUx.js";
11
- import { i as useAnalyticsContext } from "./Modal-BYdlsXkf.js";
10
+ import { t as getCapabilities } from "./processCapabilities-BSpmJOEd.js";
11
+ import { i as useAnalyticsContext } from "./Modal-nylR9F4X.js";
12
12
  import { t as Card } from "./Card-BCGLpdw7.js";
13
- import { t as VerificationErrorAlert } from "./VerificationErrorAlert-B3dqg4d3.js";
14
- import { t as Avatar } from "./Avatar-Y_RdG_YY.js";
15
- import { f as LoaderWrapper } from "./Select-C5sy6Wux.js";
16
- import { n as Confirm } from "./StructuredList-D54Bpjf4.js";
13
+ import { t as VerificationErrorAlert } from "./VerificationErrorAlert-7hKN39sx.js";
14
+ import { t as Avatar } from "./Avatar-CeZIQS8n.js";
15
+ import { p as LoaderWrapper } from "./Select-B5Mo0Bpw.js";
16
+ import { n as Confirm } from "./StructuredList-DR8Fb1tc.js";
17
17
  import { useState } from "preact/hooks";
18
18
  import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
19
19
  //#region src/adaptiveWorkflow/utils/utils.ts
@@ -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] = "0754175f-23e6-4453-95ac-160c6888c7fd", e._sentryDebugIdIdentifier = "sentry-dbid-0754175f-23e6-4453-95ac-160c6888c7fd");
4
4
  } catch (e) {}
5
- import { a as Icon, r as useTranslation } from "./translation-CcKrUksA.js";
5
+ import { a as Icon, r as useTranslation } from "./translation-DH4IlMCP.js";
6
6
  import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
7
7
  import cx from "classnames";
8
8
  import { jsx, jsxs } from "preact/jsx-runtime";
@@ -1,29 +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] = "2c42e6e7-50b0-4d9b-a933-afabadf934d5", e._sentryDebugIdIdentifier = "sentry-dbid-2c42e6e7-50b0-4d9b-a933-afabadf934d5");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a814a838-6e36-4b12-a213-097cb46c461b", e._sentryDebugIdIdentifier = "sentry-dbid-a814a838-6e36-4b12-a213-097cb46c461b");
4
4
  } catch (e) {}
5
- import { a as Icon, c as __exportAll, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation, t as Trans } from "./translation-CcKrUksA.js";
6
- import { A as _rolldown_dynamic_import_helper_default, k as Header, nt as isEmpty, x as Alert } from "./resolveEnvironment-BHPgG5Ko.js";
7
- import { n as IconButton, r as Loader, t as Button } from "./Button-BuhgDsyo.js";
8
- import { n as httpGet, s as useApiContext } from "./http-CFac2y4i.js";
9
- import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BqO7Fmt0.js";
5
+ import { a as Icon, i as Typography, l as __exportAll, n as addResourceBundles, o as createLogger, r as useTranslation, t as Trans } from "./translation-DH4IlMCP.js";
6
+ import { A as _rolldown_dynamic_import_helper_default, k as Header, nt as isEmpty, x as Alert } from "./resolveEnvironment-df20S4SQ.js";
7
+ import { n as IconButton, r as Loader, t as Button } from "./Button-Cm7cT6BX.js";
8
+ import { n as httpGet, s as useApiContext } from "./http-D6AdUBhO.js";
9
+ import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-DR51Q4mE.js";
10
10
  import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
11
11
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
12
- import { i as useAnalyticsContext } from "./Modal-BYdlsXkf.js";
13
- import { a as LandingLayout } from "./form-rules-wh_oE1AN.js";
12
+ import { i as useAnalyticsContext } from "./Modal-nylR9F4X.js";
13
+ import { a as LandingLayout } from "./form-rules-DV3hxYqZ.js";
14
14
  import { t as Card } from "./Card-BCGLpdw7.js";
15
- import { n as useInvalidateRootLegalEntity } from "./useId-BwLQ-75v.js";
16
- import { r as Field } from "./Select-C5sy6Wux.js";
17
- import { t as StructuredList } from "./StructuredList-D54Bpjf4.js";
18
- import { C as FormContextProvider, a as getRequiredForms, c as useMultiForm, d as useFormComposer, i as addValidityToForms, o as FormFlow, r as useFormContext } from "./CountryField-BTVLTRup.js";
19
- import { t as Image } from "./Image-Dc5Xg1_Y.js";
20
- import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-B4x3gely.js";
21
- import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BTVaABDA.js";
15
+ import { n as useInvalidateRootLegalEntity } from "./useId-po-YSdTw.js";
16
+ import { r as Field } from "./Select-B5Mo0Bpw.js";
17
+ import { t as StructuredList } from "./StructuredList-DR8Fb1tc.js";
18
+ import { C as FormContextProvider, a as getRequiredForms, c as useMultiForm, d as useFormComposer, i as addValidityToForms, o as FormFlow, r as useFormContext } from "./CountryField-DQnWXgAu.js";
19
+ import { t as Image } from "./Image-8SOcICah.js";
20
+ import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CH4xp654.js";
21
+ import { t as useTaskLandedEvent } from "./useTaskLandedEvent-C7fcguXK.js";
22
22
  import { r as getFormProps } from "./getProps-DVqK7eRw.js";
23
- import { t as Link } from "./Link-PH3F7iTO.js";
24
- import { t as RadioGroup } from "./RadioGroup-BcojlKCO.js";
23
+ import { t as Link } from "./Link-B7RA2gSt.js";
24
+ import { t as RadioGroup } from "./RadioGroup-BUwhfue7.js";
25
25
  import { t as isEmpty$1 } from "./isEmpty-MyMko24J.js";
26
- import { t as useTaskStatus } from "./useTaskStatus-B_-IRF4H.js";
26
+ import { t as useTaskStatus } from "./useTaskStatus-Be6XyW54.js";
27
27
  import { lazy } from "preact/compat";
28
28
  import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
29
29
  import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
@@ -1,30 +1,31 @@
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] = "e38c61bc-4f89-43f4-9b15-ef2a2e5846f7", e._sentryDebugIdIdentifier = "sentry-dbid-e38c61bc-4f89-43f4-9b15-ef2a2e5846f7");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b4227dc0-b8d8-4032-8ef1-651ae792790a", e._sentryDebugIdIdentifier = "sentry-dbid-b4227dc0-b8d8-4032-8ef1-651ae792790a");
4
4
  } catch (e) {}
5
- import { c as __exportAll, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-CcKrUksA.js";
6
- import { A as _rolldown_dynamic_import_helper_default, a as doesLegalEntityRequiresLegalRepresentative, j as useToggleContext, x as Alert } from "./resolveEnvironment-BHPgG5Ko.js";
7
- import { r as Loader, t as Button } from "./Button-BuhgDsyo.js";
8
- import { n as httpGet, r as httpPost, s as useApiContext } from "./http-CFac2y4i.js";
9
- import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BqO7Fmt0.js";
5
+ import { l as __exportAll, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-DH4IlMCP.js";
6
+ import { A as _rolldown_dynamic_import_helper_default, a as doesLegalEntityRequiresLegalRepresentative, j as useToggleContext, x as Alert } from "./resolveEnvironment-df20S4SQ.js";
7
+ import { r as Loader, t as Button } from "./Button-Cm7cT6BX.js";
8
+ import { n as httpGet, r as httpPost, s as useApiContext } from "./http-D6AdUBhO.js";
9
+ import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-DR51Q4mE.js";
10
10
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
11
11
  import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
12
12
  import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
13
13
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
14
14
  import { a as getLegalRepresentative } from "./entityAssociationUtil-DLXInibJ.js";
15
15
  import { a as getOwnSignatories } from "./decisionMakerRoles-CTy0faoW.js";
16
- import { i as useAnalyticsContext } from "./Modal-BYdlsXkf.js";
17
- import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-CGIpBA0U.js";
16
+ import { i as useAnalyticsContext } from "./Modal-nylR9F4X.js";
17
+ import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-D0NHUKl_.js";
18
18
  import { t as Card } from "./Card-BCGLpdw7.js";
19
- import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-BwLQ-75v.js";
20
- import { t as EndStateLayout } from "./EndStateLayout-CddZpAGD.js";
19
+ import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-po-YSdTw.js";
20
+ import { t as EndStateLayout } from "./EndStateLayout-BUK64Vqu.js";
21
21
  import { t as downloadFile } from "./file-1IenVoh8.js";
22
- import { a as MaybeModal, f as LoaderWrapper, i as ProgressBar, r as Field, t as Select, u as getLanguageCode } from "./Select-C5sy6Wux.js";
23
- import { t as Checkbox } from "./Checkbox-CFN5ywvv.js";
22
+ import { a as MaybeModal, i as ProgressBar, p as LoaderWrapper, r as Field, t as Select, u as getLanguageCode } from "./Select-B5Mo0Bpw.js";
23
+ import { t as Checkbox } from "./Checkbox-faFUul66.js";
24
24
  import { n as getLegalEntityNameBasedOnType } from "./getName-C5jqdkJg.js";
25
- import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BTVaABDA.js";
26
- import { t as localizeDateString } from "./localizeDateString-BRB4gPDZ.js";
27
- import { t as useForm } from "./useForm-26r9IKF_.js";
25
+ import { t as useTaskLandedEvent } from "./useTaskLandedEvent-C7fcguXK.js";
26
+ import { t as localizeDateString } from "./localizeDateString-D-MlYN4V.js";
27
+ import { t as useForm } from "./useForm-BLP36oqX.js";
28
+ import { t as formatValidationError } from "./formatValidationError-CZ5MeYBS.js";
28
29
  import { t as ContractViewer } from "./ContractViewer-JtnAXSDa.js";
29
30
  import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
30
31
  import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
@@ -173,7 +174,8 @@ var serviceAgreementTypesTranslationMapping = {
173
174
  var logger = createLogger();
174
175
  var FALLBACK_LANGUAGE_CODE = "en";
175
176
  function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSign, serviceAgreementTypes, serviceAgreementAcceptanceInfos, asModal = false, handleCloseClick, showInitialBackButton = false, onComplete }) {
176
- const { t, i18n } = useTranslation(["contract", "common"]);
177
+ const { t: contractT, i18n } = useTranslation("contract");
178
+ const { t: commonT } = useTranslation("common");
177
179
  const userEvents = useAnalyticsContext();
178
180
  const { showToast } = useToastContext();
179
181
  const { isFeatureEnabled } = useToggleContext();
@@ -213,10 +215,10 @@ function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSi
213
215
  const { loading: contractLoadingStatus, serviceAgreement } = useServiceAgreement({
214
216
  handleServiceAgreementIsNotAvailableInThatLanguage: useCallback(() => {
215
217
  showToast({
216
- label: t(($) => $["failedToGetServiceAgreementInSelectedLanguageFallbackToEn"]),
218
+ label: contractT(($) => $["failedToGetServiceAgreementInSelectedLanguageFallbackToEn"]),
217
219
  variant: "error"
218
220
  });
219
- }, [t, showToast]),
221
+ }, [contractT, showToast]),
220
222
  acceptanceId: activeForm.acceptanceId,
221
223
  serviceAgreementType: activeForm.serviceAgreementType,
222
224
  language: getLanguageCode(i18n.language)
@@ -252,7 +254,7 @@ function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSi
252
254
  await handleSign(legalEntityResponse.id, serviceAgreement.id, { acceptedBy: data.signer });
253
255
  setLoadingStatus("success");
254
256
  showToast({
255
- label: t(($) => $["serviceAgreementSignedSuccessfully"]),
257
+ label: contractT(($) => $["serviceAgreementSignedSuccessfully"]),
256
258
  variant: "success"
257
259
  });
258
260
  userEvents.addTaskEvent("Success", baseTracking);
@@ -261,7 +263,7 @@ function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSi
261
263
  } catch (e) {
262
264
  setLoadingStatus("success");
263
265
  showToast({
264
- label: t(($) => $["signingFailed"]),
266
+ label: contractT(($) => $["signingFailed"]),
265
267
  variant: "error"
266
268
  });
267
269
  userEvents.addTaskEvent("Encountered error", {
@@ -302,9 +304,9 @@ function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSi
302
304
  };
303
305
  const onDownloadAcceptedTermsOfServiceDocument = async () => {
304
306
  const { isError, isSuccess, data } = await downloadAcceptedTermsAsPdf();
305
- if (isSuccess && data.document) await downloadFile(data.document, `${t(($) => $[activeForm.formName], { ns: "common" })}.pdf`);
307
+ if (isSuccess && data.document) await downloadFile(data.document, `${commonT(($) => $[activeForm.formName])}.pdf`);
306
308
  if (isError) showToast({
307
- label: t(($) => $["failedToDownloadAcceptedServiceAgreementDocument"]),
309
+ label: contractT(($) => $["failedToDownloadAcceptedServiceAgreementDocument"]),
308
310
  variant: "error"
309
311
  });
310
312
  };
@@ -317,7 +319,7 @@ function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSi
317
319
  termsOfServiceDocumentFormat: "PDF"
318
320
  });
319
321
  if (!response.document) throw new Error(`No terms Of service document found in response`);
320
- await downloadFile(response.document, `${t(($) => $[activeForm.formName], { ns: "common" })}.pdf`);
322
+ await downloadFile(response.document, `${commonT(($) => $[activeForm.formName])}.pdf`);
321
323
  };
322
324
  try {
323
325
  if (["fr", "en"].includes(i18n.language)) await requestAndDownload(languageCode);
@@ -328,7 +330,7 @@ function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSi
328
330
  return;
329
331
  }
330
332
  showToast({
331
- label: t(($) => $["failedToDownloadServiceAgreementDocument"]),
333
+ label: contractT(($) => $["failedToDownloadServiceAgreementDocument"]),
332
334
  variant: "error"
333
335
  });
334
336
  }
@@ -337,11 +339,11 @@ function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSi
337
339
  const addSignerAlert = handleAddSigner && /* @__PURE__ */ jsx(Alert, {
338
340
  variant: signers.length ? "info" : "warning",
339
341
  className: "u-margin-top-16",
340
- title: t(($) => $[signers.length ? "isYourNameMissingFromSigners" : "thereAreNoSigners"]),
342
+ title: contractT(($) => $[signers.length ? "isYourNameMissingFromSigners" : "thereAreNoSigners"]),
341
343
  children: /* @__PURE__ */ jsx(Button, {
342
344
  onClick: handleAddSigner,
343
345
  variant: "link",
344
- children: t(($) => $["addYourselfAsSigner"])
346
+ children: contractT(($) => $["addYourselfAsSigner"])
345
347
  })
346
348
  });
347
349
  const getSignedName = (acceptanceId) => {
@@ -352,7 +354,7 @@ function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSi
352
354
  const signedAlert = showSignedAlert && /* @__PURE__ */ jsx(Alert, {
353
355
  variant: "success",
354
356
  className: ServiceAgreementDropin_module_default.tosSignedAlert,
355
- title: t(($) => $["signedByOn"], {
357
+ title: contractT(($) => $["signedByOn"], {
356
358
  date: localizeDateString(activeForm.createdAt, i18n.language) ?? "",
357
359
  signer: getSignedName(activeForm.acceptanceId)
358
360
  })
@@ -377,25 +379,25 @@ function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSi
377
379
  variant: "secondary",
378
380
  onClick: activeForm?.acceptanceId ? onDownloadAcceptedTermsOfServiceDocument : onDownloadUnacceptedTermsOfServiceDocument,
379
381
  icon: "download",
380
- children: t(($) => $["downloadAsPdf"])
382
+ children: contractT(($) => $["downloadAsPdf"])
381
383
  })
382
384
  ] }), !forms.length && /* @__PURE__ */ jsx(Alert, {
383
385
  variant: "info",
384
- title: t(($) => $["nothingNeedsToBeSigned"])
386
+ title: contractT(($) => $["nothingNeedsToBeSigned"])
385
387
  })]
386
388
  }), canSign && /* @__PURE__ */ jsxs(Fragment, { children: [
387
389
  !!signers.length && /* @__PURE__ */ jsx(Field, {
388
390
  name: "signer",
389
- label: t(($) => $["signer"]),
391
+ label: contractT(($) => $["signer"]),
390
392
  className: ServiceAgreementDropin_module_default.tosSignerField,
391
- errorMessage: errors.signer?.errorMessage,
393
+ errorMessage: formatValidationError(errors.signer?.errorMessage, commonT),
392
394
  isValid: valid.signer,
393
395
  dataTestId: "signer",
394
396
  children: (childProps) => /* @__PURE__ */ jsx(Select, {
395
397
  ...childProps,
396
398
  onChange: handleChangeFor("signer", "blur"),
397
399
  name: "signer",
398
- placeholder: t(($) => $["selectSigner"]),
400
+ placeholder: contractT(($) => $["selectSigner"]),
399
401
  selected: data.signer,
400
402
  items: signers
401
403
  })
@@ -404,11 +406,11 @@ function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSi
404
406
  /* @__PURE__ */ jsx(Field, {
405
407
  name: "acceptServiceAgreement",
406
408
  className: "u-margin-top-16",
407
- errorMessage: errors.acceptServiceAgreement?.errorMessage,
409
+ errorMessage: formatValidationError(errors.acceptServiceAgreement?.errorMessage, commonT),
408
410
  isValid: valid.acceptServiceAgreement,
409
411
  children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
410
412
  ...childProps,
411
- label: t(($) => $[acceptanceMessageKey], { ns: "contract" }),
413
+ label: contractT(($) => $[acceptanceMessageKey], { ns: "contract" }),
412
414
  checked: data.acceptServiceAgreement ?? false,
413
415
  name: "acceptServiceAgreement",
414
416
  onChange: handleChangeFor("acceptServiceAgreement")
@@ -429,11 +431,11 @@ function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSi
429
431
  onComplete?.();
430
432
  };
431
433
  const endScreen = hasFinished && /* @__PURE__ */ jsx(EndStateLayout, {
432
- title: t(($) => $["serviceAgreementSignedAndDated"]),
434
+ title: contractT(($) => $["serviceAgreementSignedAndDated"]),
433
435
  action: /* @__PURE__ */ jsx(Button, {
434
436
  onClick: handleFinishClick,
435
437
  fullWidth: true,
436
- children: t(($) => $["finish"], { ns: "common" })
438
+ children: commonT(($) => $["finish"])
437
439
  })
438
440
  });
439
441
  const progress = Math.floor(currentStep / (totalSteps - 1) * 100);
@@ -446,25 +448,25 @@ function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSi
446
448
  className: ServiceAgreementDropin_module_default.tosContent,
447
449
  children: endScreen || content
448
450
  }), !hasFinished && /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx(ProgressBar, {
449
- ariaLabel: t(($) => $["progress"], { ns: "common" }),
451
+ ariaLabel: commonT(($) => $["progress"]),
450
452
  progress
451
453
  }), /* @__PURE__ */ jsxs("div", {
452
454
  className: ServiceAgreementDropin_module_default.tosActions,
453
455
  children: [isFirstStep ? showInitialBackButton && /* @__PURE__ */ jsx(Button, {
454
456
  onClick: handleCloseClick,
455
457
  variant: "secondary",
456
- children: t(($) => $["cancel"], { ns: "common" })
458
+ children: commonT(($) => $["cancel"])
457
459
  }) : /* @__PURE__ */ jsx(Button, {
458
460
  icon: "chevron-left",
459
461
  onClick: () => {
460
462
  gotoForm(activeFormIndex - 1);
461
463
  },
462
464
  variant: "secondary",
463
- children: t(($) => $["back"], { ns: "common" })
465
+ children: commonT(($) => $["back"])
464
466
  }), /* @__PURE__ */ jsx(Button, {
465
467
  variant: canSign ? "primary" : "secondary",
466
468
  onClick: handleClick,
467
- children: canSign ? t(($) => $["sign"], { ns: "common" }) : t(($) => $["continue"], { ns: "common" })
469
+ children: canSign ? commonT(($) => $["sign"]) : commonT(($) => $["continue"])
468
470
  })]
469
471
  })] })]
470
472
  })
@@ -480,33 +482,33 @@ function TermsOfServiceManagement({ legalEntityId, modalView = false, onClose, o
480
482
  {
481
483
  ns: "common",
482
484
  importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
483
- "../../../language/locales/bg-BG.json": () => import("./bg-BG-BXAB4Qsj.js"),
484
- "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-DG5rPvy2.js"),
485
- "../../../language/locales/da-DK.json": () => import("./da-DK-BnW-O75l.js"),
486
- "../../../language/locales/de-DE.json": () => import("./de-DE-DUiPzmSc.js"),
487
- "../../../language/locales/el-GR.json": () => import("./el-GR-1n3FJpd3.js"),
485
+ "../../../language/locales/bg-BG.json": () => import("./bg-BG-Bmveyt6S.js"),
486
+ "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-D5CQd_YI.js"),
487
+ "../../../language/locales/da-DK.json": () => import("./da-DK-Bl0-8FN4.js"),
488
+ "../../../language/locales/de-DE.json": () => import("./de-DE-Hah2EvAY.js"),
489
+ "../../../language/locales/el-GR.json": () => import("./el-GR-C9KGlGa7.js"),
488
490
  "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-pRLq5gXB.js"),
489
- "../../../language/locales/en-US.json": () => import("./en-US-BV2Gye3t.js"),
490
- "../../../language/locales/es-ES.json": () => import("./es-ES-Cp45mlyV.js"),
491
- "../../../language/locales/es-LA.json": () => import("./es-LA-De_gTMKb.js"),
492
- "../../../language/locales/et-EE.json": () => import("./et-EE-B4czzgF8.js"),
493
- "../../../language/locales/fi-FI.json": () => import("./fi-FI-D08MUkuM.js"),
494
- "../../../language/locales/fr-FR.json": () => import("./fr-FR-BxDpVfWO.js"),
495
- "../../../language/locales/hr-HR.json": () => import("./hr-HR-DGQMquDg.js"),
496
- "../../../language/locales/hu-HU.json": () => import("./hu-HU-Eofp7khl.js"),
497
- "../../../language/locales/it-IT.json": () => import("./it-IT-CD7NJtJa.js"),
498
- "../../../language/locales/ja-JP.json": () => import("./ja-JP-YvXztswF.js"),
499
- "../../../language/locales/lt-LT.json": () => import("./lt-LT-Cjx4H-0R.js"),
500
- "../../../language/locales/lv-LV.json": () => import("./lv-LV-Ckf37gXo.js"),
501
- "../../../language/locales/nl-NL.json": () => import("./nl-NL-DFHAkUK3.js"),
502
- "../../../language/locales/no-NO.json": () => import("./no-NO-B6frLiko.js"),
503
- "../../../language/locales/pl-PL.json": () => import("./pl-PL-DnYkTdjO.js"),
504
- "../../../language/locales/pt-BR.json": () => import("./pt-BR-65dQv8uO.js"),
505
- "../../../language/locales/pt-PT.json": () => import("./pt-PT-D0fXeW1f.js"),
506
- "../../../language/locales/ro-RO.json": () => import("./ro-RO-CNj95qQn.js"),
507
- "../../../language/locales/sk-SK.json": () => import("./sk-SK-C0x9Vs2X.js"),
508
- "../../../language/locales/sl-SI.json": () => import("./sl-SI-BikBCOJK.js"),
509
- "../../../language/locales/sv-SE.json": () => import("./sv-SE-BGP9Lmku.js")
491
+ "../../../language/locales/en-US.json": () => import("./en-US-X8pjkwa3.js"),
492
+ "../../../language/locales/es-ES.json": () => import("./es-ES-DSwi-qfd.js"),
493
+ "../../../language/locales/es-LA.json": () => import("./es-LA-1H8dAUVR.js"),
494
+ "../../../language/locales/et-EE.json": () => import("./et-EE-BGpsJPjk.js"),
495
+ "../../../language/locales/fi-FI.json": () => import("./fi-FI-BdrXeX9d.js"),
496
+ "../../../language/locales/fr-FR.json": () => import("./fr-FR-hleHEr-Y.js"),
497
+ "../../../language/locales/hr-HR.json": () => import("./hr-HR--ti3n_XO.js"),
498
+ "../../../language/locales/hu-HU.json": () => import("./hu-HU-D9Avt-9f.js"),
499
+ "../../../language/locales/it-IT.json": () => import("./it-IT-Dq5z7p1-.js"),
500
+ "../../../language/locales/ja-JP.json": () => import("./ja-JP-Dyhw0Ycj.js"),
501
+ "../../../language/locales/lt-LT.json": () => import("./lt-LT-BMI4JzrS.js"),
502
+ "../../../language/locales/lv-LV.json": () => import("./lv-LV-LkNZQ__4.js"),
503
+ "../../../language/locales/nl-NL.json": () => import("./nl-NL-CC2r7Ldv.js"),
504
+ "../../../language/locales/no-NO.json": () => import("./no-NO-V7_rz3uN.js"),
505
+ "../../../language/locales/pl-PL.json": () => import("./pl-PL-2QyKX67Y.js"),
506
+ "../../../language/locales/pt-BR.json": () => import("./pt-BR-D08Fo1qY.js"),
507
+ "../../../language/locales/pt-PT.json": () => import("./pt-PT-BAQWYDe6.js"),
508
+ "../../../language/locales/ro-RO.json": () => import("./ro-RO-wG0rfL5w.js"),
509
+ "../../../language/locales/sk-SK.json": () => import("./sk-SK-DJinBnS1.js"),
510
+ "../../../language/locales/sl-SI.json": () => import("./sl-SI-DUaLO_J7.js"),
511
+ "../../../language/locales/sv-SE.json": () => import("./sv-SE-5uxyEq2a.js")
510
512
  }), `../../../language/locales/${lang}.json`, 6)
511
513
  },
512
514
  {
@@ -2,9 +2,9 @@ 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] = "c6b9fe2d-b1a1-4925-9dc8-9500436847f1", e._sentryDebugIdIdentifier = "sentry-dbid-c6b9fe2d-b1a1-4925-9dc8-9500436847f1");
4
4
  } catch (e) {}
5
- import { o as createLogger, r as useTranslation } from "./translation-CcKrUksA.js";
6
- import { i as useAnalyticsContext } from "./Modal-BYdlsXkf.js";
7
- import { n as debouncedInputEvent } from "./Checkbox-CFN5ywvv.js";
5
+ import { o as createLogger, r as useTranslation } from "./translation-DH4IlMCP.js";
6
+ import { i as useAnalyticsContext } from "./Modal-nylR9F4X.js";
7
+ import { n as debouncedInputEvent } from "./Checkbox-faFUul66.js";
8
8
  import { useState } from "preact/hooks";
9
9
  import cx from "classnames";
10
10
  import { Fragment, jsx, jsxs } from "preact/jsx-runtime";