@adyen/kyc-components 3.91.0 → 3.92.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 (337) hide show
  1. package/dist/{4-people-BzyXLUF9.js → 4-people-BtDi7O9A.js} +2 -2
  2. package/dist/{AcceptTermsOfServiceComponent-Bl8Skw0p.js → AcceptTermsOfServiceComponent-T7eWi57Z.js} +17 -14
  3. package/dist/{Accordion-BxBwztLx.js → Accordion-Boa_Vira.js} +2 -2
  4. package/dist/{AccountSetupRejected-DWnI467S.js → AccountSetupRejected-LAVhMMBt.js} +4 -4
  5. package/dist/{ActionBar-BI8EL50o.js → ActionBar-CK8dwgSJ.js} +1 -1
  6. package/dist/{Address-BUrDDnmR.js → Address-ki-bCjUJ.js} +23 -289
  7. package/dist/{Alert-B83aFhFn.js → Alert-TCEgDc2-.js} +3 -3
  8. package/dist/{Avatar-CWGv3_UH.js → Avatar-AC-D1DKh.js} +2 -2
  9. package/dist/{BusinessFinancingComponent-Dp9pkrSs.js → BusinessFinancingComponent-Cf-EEnyR.js} +6 -6
  10. package/dist/{BusinessFinancingDropin-CxDQONVa.js → BusinessFinancingDropin-DeLlYaOF.js} +30 -22
  11. package/dist/{BusinessFinancingPage-CK4iko3V.js → BusinessFinancingPage-DtX8x3Zp.js} +4 -4
  12. package/dist/{BusinessTypeSelectionPage-BbCt3hSM.js → BusinessTypeSelectionPage-6Ltt53Mu.js} +58 -33
  13. package/dist/{Card-CQrP0PXC.js → Card-Det7uTiv.js} +2 -2
  14. package/dist/{debouncedInputEvent-CFFx_oML.js → Checkbox-D8rB6_HN.js} +3 -38
  15. package/dist/Confirm-Ctfqp-1b.js +64 -0
  16. package/dist/ConstitutionalDocument-TJAc9nDQ.js +2358 -0
  17. package/dist/ContextGuidance-CCknw_Y1.js +34 -0
  18. package/dist/CountryField-DzmOWqiE.js +66 -0
  19. package/dist/{CreateIndividualComponent-B6ecxCd8.js → CreateIndividualComponent-_H34wdze.js} +6 -6
  20. package/dist/{CreateTransferInstrumentComponent-Chqddjgy.js → CreateTransferInstrumentComponent-CmnVEFaB.js} +5 -12
  21. package/dist/{Currency-CkQVLmOQ.js → Currency-C2egEHMF.js} +64 -8
  22. package/dist/{CustomerSupport-BDynvVnl.js → CustomerSupport-DLfbNC-J.js} +12 -10
  23. package/dist/{DebugModal-DAu7rz8a.js → DebugModal-C0uG_A8N.js} +8 -7
  24. package/dist/{DecisionMakerDetailsPage-BBqNmh_M.js → DecisionMakerDetailsPage-BTR-hRwO.js} +6 -6
  25. package/dist/{DecisionMakers-Ddvw0N__.js → DecisionMakers-B4qQ3M6Y.js} +27 -21
  26. package/dist/Dropzone-CKT3THCY.js +218 -0
  27. package/dist/{EmbeddedStatus-BSK268B-.js → EmbeddedStatus-Bst5MPzi.js} +3 -3
  28. package/dist/{EndStateLayout-B8KmFejY.js → EndStateLayout-Ck_Lvgng.js} +2 -2
  29. package/dist/{EntityAssociation-DBPiXzNF.js → EntityAssociation-bcF_I_DK.js} +8 -8
  30. package/dist/{EntityGuidanceStatus-QEzHcb28.js → EntityGuidanceStatus-D6VoRE_0.js} +4 -3
  31. package/dist/ErrorPanel-CFN2G9Vz.js +190 -0
  32. package/dist/Field-B3Vy1-QZ.js +142 -0
  33. package/dist/{FormNavigation-DLJbUsy3.js → FormNavigation-Brw-75s0.js} +3 -3
  34. package/dist/{FormWrapper-41qnDF4W.js → FormWrapper-BcNyCMkD.js} +10 -10
  35. package/dist/Header-YafgG5Nz.js +83 -0
  36. package/dist/Image-Cvb4hnru.js +44 -0
  37. package/dist/{IndividualOnfido-pGSPtITh.js → IndividualOnfidoDropin-Dy5obHs1.js} +3833 -5548
  38. package/dist/InputDate-UCHQ3zOB.js +43 -0
  39. package/dist/InputGroup-WBfGDV5F.js +32 -0
  40. package/dist/InputText-DGKAS6ZI.js +134 -0
  41. package/dist/{Introduction-DaRfsN8P.js → Introduction-DOxSVZ6X.js} +4 -4
  42. package/dist/{JpAddress-BrtEV6zM.js → JpAddress-DClXaVjy.js} +22 -10
  43. package/dist/LandingLayout-co7NR2te.js +60 -0
  44. package/dist/{LegalRepresentativeDetailsPage-XcmRRT7P.js → LegalRepresentativeDetailsPage-DOP3L2r9.js} +4 -4
  45. package/dist/Link-DWTJ55UO.js +35 -0
  46. package/dist/List-BAzyC6sw.js +83 -0
  47. package/dist/{ListItem-DlRGqcSA.js → ListItem-B8D-kUHN.js} +3 -3
  48. package/dist/LoaderWrapper-CUz5NRFr.js +42 -0
  49. package/dist/{ManageIndividualComponent-BpzsaZ1O.js → ManageIndividualComponent-DND7vuna.js} +5 -5
  50. package/dist/{ManageTermsOfServiceComponent-D9i2HO5I.js → ManageTermsOfServiceComponent-ylDupO1E.js} +5 -5
  51. package/dist/{ManageTransferInstrumentComponent-C6LYppym.js → ManageTransferInstrumentComponent-CgUfGP5E.js} +16 -13
  52. package/dist/{Spacer-w89ksCbG.js → MaskedInput-Cn0VAuEp.js} +17 -631
  53. package/dist/{MaybeModal-DW5SxNsJ.js → MaybeModal-CWCEHeOg.js} +3 -3
  54. package/dist/{Modal-B4wxf7HK.js → Modal-pyBUluei.js} +2 -2
  55. package/dist/OnboardingDropinComponent-DwKImil4.js +2306 -0
  56. package/dist/{PayoutDetailsDropin-BKXxBApD.js → PayoutDetailsDropin-lYVb5WCQ.js} +105 -76
  57. package/dist/Radio-BMtxBpnn.js +39 -0
  58. package/dist/RadioGroup-DPc8nUuk.js +98 -0
  59. package/dist/RadioGroupCard-Pj9qq4uW.js +150 -0
  60. package/dist/{Review-DSdM3vGX.js → Review-gkTjl3a8.js} +7 -7
  61. package/dist/{RootBusinessDetailsPage-CqpiMFn9.js → RootBusinessDetailsPage-DjwEzuLA.js} +5 -5
  62. package/dist/{RootBusinessLinesPage-DUIp_zfH.js → RootBusinessLinesPage-2-U3mf6i.js} +104 -50
  63. package/dist/{RootIndividualDetailsPage-BpTbnRMJ.js → RootIndividualDetailsPage-BFYP63_i.js} +6 -6
  64. package/dist/{useForm-_Kjd_HFb.js → Select-D1rFT3T8.js} +10 -775
  65. package/dist/{SignPCIComponent-B-nJZ1cD.js → SignPCIComponent-DqElmjjG.js} +13 -11
  66. package/dist/{SingpassSelection-D7wRmaLb.js → SingpassSelection-eruroIiQ.js} +9 -7
  67. package/dist/{SoleProprietorshipPage-DUVjo6fc.js → SoleProprietorshipPage-7YdzA7iH.js} +4 -4
  68. package/dist/{SourceOfFundsPage-CFDBqD8v.js → SourceOfFundsPage-C_wiSoc4.js} +39 -26
  69. package/dist/Spacer-BK3jDget.js +18 -0
  70. package/dist/{StepProgressIndicator-BvU4jA3I.js → StepProgressIndicator-DLoEzGro.js} +1 -1
  71. package/dist/{StoreProvider-CyzNf7KK.js → StoreProvider-D9IR5HNN.js} +331 -222
  72. package/dist/StructuredList-9dnJRdx_.js +61 -0
  73. package/dist/{Summary-QyNHKBjO.js → Summary-Bq94iVfc.js} +10 -5
  74. package/dist/{InputText-DLAmX8CW.js → TaskVerificationStatus-BLCkXEn6.js} +3 -123
  75. package/dist/TaxInformationField-c-ZWfhUk.js +3134 -0
  76. package/dist/{TaxReportingDropin-Bn2xYbVw.js → TaxReportingDropin-ajO0q4eZ.js} +20 -17
  77. package/dist/TextArea-D9eJloeE.js +103 -0
  78. package/dist/TileGroup-CaY3i_T7.js +203 -0
  79. package/dist/{TrustDetailsPage-D0sr6zMt.js → TrustDetailsPage-BWXZX4-u.js} +40 -27
  80. package/dist/{TrustMemberCompanyPage-4sIP-M16.js → TrustMemberCompanyPage-CJj2BpXu.js} +5 -5
  81. package/dist/{TrustMemberIndividualPage-CelIjIAw.js → TrustMemberIndividualPage-BXp9RXDw.js} +4 -4
  82. package/dist/{TrustMemberRoleAndTypePage-C3CRy717.js → TrustMemberRoleAndTypePage-gYJ5U6RH.js} +24 -14
  83. package/dist/{TrustMembersOverview-HrRgAsno.js → TrustMembersOverview-Chmnt5jS.js} +13 -12
  84. package/dist/{UnincorporatedPartnershipIndividualPage-Dre5_Nuk.js → UnincorporatedPartnershipIndividualPage-DckUiPPY.js} +4 -4
  85. package/dist/{UnincorporatedPartnershipMemberCompanyPage-woQiy94h.js → UnincorporatedPartnershipMemberCompanyPage-Bx0A5Bit.js} +5 -5
  86. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DrirgJXY.js → UnincorporatedPartnershipMemberRoleAndTypePage-CEE1hzIn.js} +23 -16
  87. package/dist/{UnincorporatedPartnershipMembersOverview-BBiRqJkR.js → UnincorporatedPartnershipMembersOverview-wB8K9r6g.js} +10 -9
  88. package/dist/{VerificationErrorAlert-B_ovSmUS.js → VerificationErrorAlert-DZ5OOTBN.js} +4 -4
  89. package/dist/{ViewVerificationStatusComponent-CDQk4Nxa.js → ViewVerificationStatusComponent-BVY4YUJf.js} +4 -4
  90. package/dist/adyen-business-financing.js +3 -3
  91. package/dist/adyen-individual-configuration.js +3 -3
  92. package/dist/adyen-individual-status.js +3 -3
  93. package/dist/adyen-kyc-components.js +21 -20
  94. package/dist/adyen-onboarding.js +3 -3
  95. package/dist/adyen-terms-of-service-management.js +3 -3
  96. package/dist/adyen-terms-of-service-status.js +3 -3
  97. package/dist/adyen-transfer-instrument-configuration.js +3 -3
  98. package/dist/adyen-transfer-instrument-management.js +3 -3
  99. package/dist/adyen-verification-status.js +3 -3
  100. package/dist/{arrow-right-KxA3SvQj.js → arrow-right-BoqwUH_d.js} +2 -2
  101. package/dist/bafinUtils-Wct4TWLH.js +149 -0
  102. package/dist/{bag-BPumznWh.js → bag-BXVWLrwo.js} +2 -2
  103. package/dist/{bank-D6FiNBhs.js → bank-1GvaHPAZ.js} +2 -2
  104. package/dist/{bin-Bz6KOIeE.js → bin-Ba-3ll8T.js} +2 -2
  105. package/dist/{business-lines-DboUCbXw.js → business-lines-BAqTbnBw.js} +2 -2
  106. package/dist/{capital-GVQ3svwN.js → capital-9TKHySO7.js} +2 -2
  107. package/dist/{cash-stack-D9AoDDwt.js → cash-stack-DwYu4xNy.js} +2 -2
  108. package/dist/{certificate-CdEWgHQf.js → certificate-N2YFedpI.js} +2 -2
  109. package/dist/{checkmark-Q7x6tGhy.js → checkmark-D9dGhGpG.js} +2 -2
  110. package/dist/{checkmark-circle-x7dzbp3I.js → checkmark-circle-CFWClLQ6.js} +2 -2
  111. package/dist/{checkmark-circle-fill-CsvN5_PL.js → checkmark-circle-fill-DEB-tuGl.js} +2 -2
  112. package/dist/{checkmark-small-D35myntq.js → checkmark-small-D3VNx2lo.js} +2 -2
  113. package/dist/{chevron-down-C2iDorpW.js → chevron-down-C7SUSYfl.js} +2 -2
  114. package/dist/{chevron-left-ztPO84q-.js → chevron-left-BXmd-S46.js} +2 -2
  115. package/dist/{chevron-right-C_JN0oDt.js → chevron-right-jE6RwM2B.js} +2 -2
  116. package/dist/{chevron-up-CgG8n25g.js → chevron-up-BdfNcqzq.js} +2 -2
  117. package/dist/{circle-Bt3Nlr3q.js → circle-BJPTMCWB.js} +2 -2
  118. package/dist/{circle-small-filled-YMzP6yQU.js → circle-small-filled-BuO8Vg8j.js} +2 -2
  119. package/dist/{clock-BZHremOA.js → clock-DAzaBRWk.js} +2 -2
  120. package/dist/{coins-fkAk6dCo.js → coins-DYdzG5e_.js} +2 -2
  121. package/dist/commonValidators-DcFd5CHs.js +24 -0
  122. package/dist/{contract-BTa4HltT.js → contract-BfJb1t6M.js} +2 -2
  123. package/dist/{cross-Cn09MtQ_.js → cross-CDS_eot4.js} +2 -2
  124. package/dist/{cross-circle-fill-maan7Z5S.js → cross-circle-fill-C-EJ57Yn.js} +2 -2
  125. package/dist/{cross-circle-fill-small-DCz52AuN.js → cross-circle-fill-small-DkPjsuBH.js} +2 -2
  126. package/dist/currency-CrdnaaDu.js +35 -0
  127. package/dist/datasetUtil-BHQp0-xL.js +58 -0
  128. package/dist/debouncedInputEvent-Cv2S512Y.js +46 -0
  129. package/dist/{decision-makers-group-CgddXgrx.js → decision-makers-group-DrvpnEqj.js} +2 -2
  130. package/dist/{digital-wallet-D_IpxnkN.js → digital-wallet-Bx5YM1LY.js} +2 -2
  131. package/dist/{document-1-C08ut-Dt.js → document-1-qlSTF558.js} +2 -2
  132. package/dist/{document-blurred-2Zpodj3_.js → document-blurred-BiWap0xs.js} +2 -2
  133. package/dist/{document-cut-off-ClS7RiOp.js → document-cut-off-aQezqOif.js} +2 -2
  134. package/dist/{document-expired-CjksBq-N.js → document-expired-BhBXaWWQ.js} +2 -2
  135. package/dist/{document-front-DiAairT3.js → document-front-DYuhZGeQ.js} +2 -2
  136. package/dist/{document-person-vxlA6C5f.js → document-person-CDbnTOdV.js} +2 -2
  137. package/dist/{download-Drhk9k1f.js → download-BZQB1WkZ.js} +2 -2
  138. package/dist/{dropinUtils-DCWhMKpQ.js → dropinUtils-BpJn607e.js} +4 -4
  139. package/dist/{edit-1-CFoDTMvQ.js → edit-1-DAqtnOIx.js} +2 -2
  140. package/dist/{en-US-BzrLvydZ.js → en-US-CjjPhkB5.js} +2 -2
  141. package/dist/{external-link-DCMYUMfW.js → external-link-Cg6pJaSJ.js} +2 -2
  142. package/dist/fieldConfig-BPwb1GHc.js +134 -0
  143. package/dist/fieldConfigurations-BUT9DTUH.js +21 -0
  144. package/dist/form-rules-DhbF2mY4.js +13 -0
  145. package/dist/formUtils-BlVlgetw.js +137 -0
  146. package/dist/{funds-in-D8bj0aoE.js → funds-in-CInoUdmG.js} +2 -2
  147. package/dist/{getName-l7X1ZGKx.js → getName-CzpJ9tV7.js} +2 -2
  148. package/dist/getProps-CLJfvUMb.js +156 -0
  149. package/dist/{gift-CQ_DEma7.js → gift-omNInZeB.js} +2 -2
  150. package/dist/{graph-BJmqglH2.js → graph-DunG_uu1.js} +2 -2
  151. package/dist/{graph-up-Bq6adtlX.js → graph-up-BZze4i6m.js} +2 -2
  152. package/dist/{hasDataChanged-BXawTZla.js → hasDataChanged-8e8x8zjz.js} +2 -2
  153. package/dist/{headquarter-DNYyuuFq.js → headquarter-BhpSibFO.js} +2 -2
  154. package/dist/{hotel-BuNql78Z.js → hotel-Cp7VgGCJ.js} +2 -2
  155. package/dist/{house-B6sNRj-B.js → house-BhyBQdR3.js} +2 -2
  156. package/dist/{id-blurred-9dzBOWCE.js → id-blurred-B5lHEP8M.js} +2 -2
  157. package/dist/{id-cut-off-CohJCI2h.js → id-cut-off-Ba1FRzKO.js} +2 -2
  158. package/dist/{id-front-CSZfvdRg.js → id-front-CpNWN6nG.js} +2 -2
  159. package/dist/{id-glare-Q2JWo5ts.js → id-glare-DgCQON8k.js} +2 -2
  160. package/dist/{id-verification-instant-BUVBO4R3.js → id-verification-instant-Byt4Oul6.js} +2 -2
  161. package/dist/{id-verification-manual-B3YZALYU.js → id-verification-manual-CvcTkOSY.js} +2 -2
  162. package/dist/{iframeWidget-CbtmWmoO.js → iframeWidget-D6BlBF0m.js} +4 -4
  163. package/dist/{image-BSihO8lR.js → image-CmB0ioUM.js} +2 -2
  164. package/dist/{info-vHTZWoJ7.js → info-Bb_-xIEK.js} +2 -2
  165. package/dist/{info-filled-SQotHmT9.js → info-filled-CK8LB339.js} +2 -2
  166. package/dist/{instant-verification-Dvvkyfmp.js → instant-verification-UrnuHTYn.js} +2 -2
  167. package/dist/isEmpty-CsYVgjoD.js +23 -0
  168. package/dist/japanSupportUtils-iATUjnbf.js +17 -0
  169. package/dist/jpAddressSchema-De6ix57p.js +28 -0
  170. package/dist/{localizeDateString-BX5t59Ip.js → localizeDateString-BHDr1NID.js} +2 -2
  171. package/dist/{location-Q4oKvnkl.js → location-itJfxrDQ.js} +2 -2
  172. package/dist/{mail-BOdyoVqB.js → mail-VHTlAusn.js} +2 -2
  173. package/dist/makeSelectItemForRole-Bm2NwBxD.js +133 -0
  174. package/dist/{manual-verification-BvZWqA00.js → manual-verification-BO8zgAYT.js} +2 -2
  175. package/dist/{mapExistingFile-Bd7nsoK8.js → mapExistingFile-DNBa6Ekj.js} +80 -5
  176. package/dist/mapJpAddressSchemaToAddressLocalizations-BNb8d51F.js +147 -0
  177. package/dist/{mapLegalEntityToIndividualOnfidoSchema-CQF6zsO7.js → mapLegalEntityToIndividualOnfidoSchema-DREgz5Ms.js} +63 -3
  178. package/dist/{mapTransferInstrumentToPayoutAccount-CacHlKHM.js → mapTransferInstrumentToPayoutAccount-C5NqOfNW.js} +2 -2
  179. package/dist/{minus-circle-filled-kC2IUvKz.js → minus-circle-filled-ZhtJ0GD3.js} +2 -2
  180. package/dist/{onfido-logo-BWSv__sQ.js → onfido-logo-BSkKPH10.js} +2 -2
  181. package/dist/{options-horizontal-CBmbNv7R.js → options-horizontal-GuXvLvV3.js} +2 -2
  182. package/dist/{partner-CPjsrePY.js → partner-QD27Vy4w.js} +2 -2
  183. package/dist/{passport-blurred-B4UDQfmc.js → passport-blurred-CVG493IJ.js} +2 -2
  184. package/dist/{passport-cut-off-C0N2mgLk.js → passport-cut-off-COzA_TmB.js} +2 -2
  185. package/dist/{passport-front-BwA7wR91.js → passport-front-WJleLixT.js} +2 -2
  186. package/dist/{passport-front-green-BL4HmtsB.js → passport-front-green-CZVkCa1n.js} +2 -2
  187. package/dist/{passport-glare-Mg2ixsYA.js → passport-glare-BP5WnJZj.js} +2 -2
  188. package/dist/patternValidators-BXduwLbz.js +83 -0
  189. package/dist/{pay-by-link-plane-BVZndh67.js → pay-by-link-plane-BpY8Q6-B.js} +2 -2
  190. package/dist/{payout-ChUEoLjt.js → payout-DtB68BcZ.js} +2 -2
  191. package/dist/{payout-verification-instant-5u-wvFKv.js → payout-verification-instant-BzpfOQLD.js} +2 -2
  192. package/dist/{payout-verification-manual-BH2mu0UW.js → payout-verification-manual-gNEoeZkV.js} +2 -2
  193. package/dist/{person-DGjUU4S4.js → person-IVZG3t3_.js} +2 -2
  194. package/dist/{plaid-logo-CtActXTN.js → plaid-logo-FsZ7kfL-.js} +2 -2
  195. package/dist/{plus-CWXA5wdX.js → plus-DiALAL8-.js} +2 -2
  196. package/dist/{plus-circle-filled-CbC0u2Y1.js → plus-circle-filled-BzHtTqEN.js} +2 -2
  197. package/dist/{process-field-configurations-BZQqH4-M.js → process-field-configurations-B26ehyAw.js} +3 -3
  198. package/dist/{recurring-CkL4cCM2.js → recurring-DKNs9K3x.js} +2 -2
  199. package/dist/{reporting-DerosUNm.js → reporting-D5ABpLO_.js} +2 -2
  200. package/dist/{resolveEnvironment-C6JtHmZc.js → resolveEnvironment-B5Yrsa4J.js} +3 -3
  201. package/dist/{revenue-accelerate-Dp4Ns_5c.js → revenue-accelerate-D7Sp0V4a.js} +2 -2
  202. package/dist/{review-CxIN9azU.js → review-D4TUjcWF.js} +2 -2
  203. package/dist/roleMetadata-DmgqzhZJ.js +66 -0
  204. package/dist/{rules-ClDW_ZSK.js → rules-B_6RrE9T.js} +6 -5
  205. package/dist/{save-Fgy7EDid.js → save-BfqO2JBI.js} +2 -2
  206. package/dist/{search-C4GZ-Rc1.js → search-Cmzbf5zI.js} +2 -2
  207. package/dist/{show-yPjPmEf8.js → show-IdbU1C6P.js} +2 -2
  208. package/dist/{singpass-logo-BkMSwiGY.js → singpass-logo-wY4xsmTX.js} +2 -2
  209. package/dist/{singpass-verification-instant-hY4eGFwl.js → singpass-verification-instant-JCqTr7Mv.js} +2 -2
  210. package/dist/{singpass-verification-manual-DwhRpy5Q.js → singpass-verification-manual-DQ7XW6R3.js} +2 -2
  211. package/dist/{solution-payments-CNAat9h7.js → solution-payments-DpyE_sdS.js} +2 -2
  212. package/dist/{store-IuAkDRAp.js → store-Btc4GcmU.js} +2 -2
  213. package/dist/style.css +965 -993
  214. package/dist/styles-CLV89_hH.js +965 -993
  215. package/dist/summaryItem-CAQCQSkt.js +18 -0
  216. package/dist/{tax-reporting-graph-DjzwRgE6.js → tax-reporting-graph-hgoilCHZ.js} +2 -2
  217. package/dist/{terminal-1-_me9J9h0.js → terminal-1-D1pwXCoi.js} +2 -2
  218. package/dist/{tink-logo-BcIv93ND.js → tink-logo-DDyjz5eJ.js} +2 -2
  219. package/dist/types/api/businessLines/useCreateBusinessLine.d.ts +1 -1
  220. package/dist/types/api/businessLines/useDeleteBusinessLine.d.ts +1 -1
  221. package/dist/types/api/businessLines/useUpdateBusinessLines.d.ts +1 -1
  222. package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +1 -1
  223. package/dist/types/api/companyDataSet/useClearCompanyData.d.ts +1 -1
  224. package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +1 -1
  225. package/dist/types/api/documentValidation/useDocumentValidate.d.ts +1 -1
  226. package/dist/types/api/documents/useCreateDocument.d.ts +1 -1
  227. package/dist/types/api/documents/useDeleteDocument.d.ts +1 -1
  228. package/dist/types/api/documents/useDocument.d.ts +1 -1
  229. package/dist/types/api/documents/useUpdateDocument.d.ts +1 -1
  230. package/dist/types/api/entityVerifications/useVerifyIdNumber.d.ts +2 -2
  231. package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +1 -1
  232. package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +1 -1
  233. package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +1 -1
  234. package/dist/types/api/legalEntity/useConfirmReview.d.ts +1 -1
  235. package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +1 -1
  236. package/dist/types/api/onboardingStatus/useGenerateOnboardingLink.d.ts +1 -1
  237. package/dist/types/api/pci/useSignPci.d.ts +1 -2
  238. package/dist/types/api/taskStatus/useTaskStatus.d.ts +2 -2
  239. package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +1 -1
  240. package/dist/types/api/types.d.ts +2 -1
  241. package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +1 -1
  242. package/dist/types/api/uiAnalytics/usePushAnalyticEvent.d.ts +1 -1
  243. package/dist/types/api/validation/useValidateAccountIdentification.d.ts +1 -1
  244. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +0 -1
  245. package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +1 -0
  246. package/dist/types/components/BankAccount/forms/BankVerification/verification/overlay/BankVerificationOverlay.d.ts +1 -1
  247. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +0 -1
  248. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +439 -439
  249. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
  250. package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +1 -1
  251. package/dist/types/components/Business/forms/BusinessDetails/form-ids.d.ts +2 -0
  252. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -0
  253. package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +0 -1
  254. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -1
  255. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -1
  256. package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +1 -1
  257. package/dist/types/components/BusinessLines/tasks/types.d.ts +2 -0
  258. package/dist/types/components/BusinessLines/tasks/utils.d.ts +4 -2
  259. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +475 -475
  260. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +1 -2
  261. package/dist/types/components/EFP/tasks/TaxReportingDropin/utils.d.ts +1 -2
  262. package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +1 -1
  263. package/dist/types/components/Individual/forms/Individual/Individual.d.ts +41 -3
  264. package/dist/types/components/Individual/forms/Individual/form-ids.d.ts +2 -0
  265. package/dist/types/components/Individual/forms/Individual/types.d.ts +1 -2
  266. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +1 -0
  267. package/dist/types/components/Individual/forms/IndividualOnfido/form-ids.d.ts +2 -0
  268. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +1 -1
  269. package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +1 -1
  270. package/dist/types/components/Shared/Introduction/copy.d.ts +1 -1
  271. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  272. package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +1 -1
  273. package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +1 -1
  274. package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +1 -1
  275. package/dist/types/core/user-events.d.ts +1 -0
  276. package/dist/types/language/types.d.ts +7 -2
  277. package/dist/types/language/utils.d.ts +1 -2
  278. package/dist/types/types/assert.d.ts +1 -0
  279. package/dist/types/utils/analytics/debouncedInputEvent.d.ts +1 -0
  280. package/dist/types/utils/analytics/getPrefilledDetails.d.ts +28 -0
  281. package/dist/types/utils/api/processCapabilitites.d.ts +13 -0
  282. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  283. package/dist/types/utils/formUtils.d.ts +1 -2
  284. package/dist/types/utils/getDisplayErrorMessage.d.ts +1 -2
  285. package/dist/types/utils/getName.d.ts +1 -1
  286. package/dist/types/utils/makeSelectItemForRole.d.ts +1 -1
  287. package/dist/types/utils/translation.d.ts +3 -2
  288. package/dist/{types-DDnAZYTj.js → types-C6ntGMCy.js} +3 -26
  289. package/dist/{types-DE1uuPfP.js → types-CpAtsPmJ.js} +1 -1
  290. package/dist/{types-hGeLq0SR.js → types-c9nG7Dev.js} +1 -1
  291. package/dist/unincorporated-partnership-MeN1dp53.js +97 -0
  292. package/dist/{upload-BF65P4KM.js → upload-BmUXjsaU.js} +2 -2
  293. package/dist/{us-check-CYY6Crhr.js → us-check-C1rTBsCY.js} +2 -2
  294. package/dist/{us-check-account-number-C7KE5YzX.js → us-check-account-number-9lI1dXNC.js} +2 -2
  295. package/dist/{us-check-routing-number-DUbhsYAR.js → us-check-routing-number-s_KaAGSM.js} +2 -2
  296. package/dist/{useAssociatedLegalEntity-D_Nk_obe.js → useAssociatedLegalEntity-ahBb64MW.js} +2 -2
  297. package/dist/useBusinessDetailsData-qQ2HRnKK.js +5161 -0
  298. package/dist/{useCreateLegalEntity-DT7ue23d.js → useCreateLegalEntity-Kc8_ZlAe.js} +2 -2
  299. package/dist/useDataset-DfKmlbQd.js +74 -0
  300. package/dist/useForm-9uKM-XKf.js +582 -0
  301. package/dist/{FormFlow-BrgeP70A.js → useFormContext-CvQfKDA3.js} +26 -31
  302. package/dist/{useGlobalData-C7tjZfC0.js → useGlobalData-BVQ2OrIi.js} +3 -3
  303. package/dist/useId-BZ0PA7jP.js +24 -0
  304. package/dist/{useMultiForm-DWozxGN4.js → useMultiForm-pAiPIh7X.js} +4 -4
  305. package/dist/{useOnboardingStatus-DBLS6PUq.js → useOnboardingStatus-BhDBSLB6.js} +1 -1
  306. package/dist/{useScenarios-DD06bWNN.js → useScenarios-DFW21Vhf.js} +2 -2
  307. package/dist/{useTermsOfServiceStatus-D2lYSqHn.js → useTermsOfServiceStatus-BnO0rXiL.js} +1 -1
  308. package/dist/{useToastContext-Cbw29cqc.js → useToastContext-D6Lbxqj9.js} +5 -17
  309. package/dist/{useUnincorporatedPartnershipMembers-Dbb2VjkF.js → useUnincorporatedPartnershipMembers-CIC7xPbD.js} +5 -5
  310. package/dist/useUpdateBusinessLines-WlwUOtSU.js +337 -0
  311. package/dist/{useUpdateLegalEntity-Aubxhgvv.js → useUpdateLegalEntity-CStkUt4I.js} +3 -3
  312. package/dist/utils-7_xBiPO_.js +58 -0
  313. package/dist/utils-BmxzrkCX.js +165 -0
  314. package/dist/{utils-D1-D6fui.js → utils-CB39nVjj.js} +6 -6
  315. package/dist/{utils-DenrGsUh.js → utils-CDAwsXQa.js} +4 -4
  316. package/dist/utils-DOiFhaKn.js +29 -0
  317. package/dist/{documentUtils-Be5wlCwo.js → validate-Bsx2oHT1.js} +170 -6
  318. package/dist/{validate-BxVes1el.js → validate-D-l23QLG.js} +2 -2
  319. package/dist/validate-D4iK6FUk.js +385 -0
  320. package/dist/{validationError-DPP91cM3.js → validationError-DYYlX-5X.js} +2 -2
  321. package/dist/{warning-circle-fill-CEN1WL7A.js → warning-circle-fill-DBvt921B.js} +2 -2
  322. package/dist/{warning-diamond-filled-BfXMlVrG.js → warning-diamond-filled-Lb2od2ry.js} +2 -2
  323. package/dist/{webinar-DqjqrNEv.js → webinar-m9nuFZBt.js} +2 -2
  324. package/dist/{yapily-logo-CZ4ywjwA.js → yapily-logo-BduxhNRA.js} +2 -2
  325. package/package.json +6 -6
  326. package/dist/ConstitutionalDocument-DM6M40MP.js +0 -143
  327. package/dist/CountryField-CsKJAI53.js +0 -843
  328. package/dist/IndividualOnfidoDropin-DZEn2Tf8.js +0 -2575
  329. package/dist/OnboardingDropinComponent-Cx-c_p0i.js +0 -7623
  330. package/dist/getFieldsWithExistingData-CfckMyJ1.js +0 -22
  331. package/dist/mapFinancialReportsToFinancialInformation-Bfvt2G87.js +0 -67
  332. package/dist/mapJpAddressSchemaToAddressLocalizations-CWY2lZGD.js +0 -63
  333. package/dist/types/components/Shared/forms/BusinessTypeSelection/EntityTypeRadioGroupCard.d.ts +0 -11
  334. package/dist/useBusinessDetailsData-DG9EJBH_.js +0 -2441
  335. package/dist/useDataset-DCCxYOjr.js +0 -220
  336. package/dist/useUpdateBusinessLines-8bDYsLav.js +0 -46
  337. package/dist/validate-BgMFLdKI.js +0 -41
@@ -1,843 +0,0 @@
1
- ;
2
- {
3
- try {
4
- let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "badd5f9a-751b-469b-8311-83ab0e359952", e._sentryDebugIdIdentifier = "sentry-dbid-badd5f9a-751b-469b-8311-83ab0e359952");
6
- } catch (e) {
7
- }
8
- }
9
- ;
10
- import { jsx, jsxs, Fragment as Fragment$1 } from "preact/jsx-runtime";
11
- import cx from "classnames";
12
- import { defineSlots } from "named-slots";
13
- import { toChildArray, Fragment, createContext } from "preact";
14
- import { T as TaskVerificationStatus } from "./InputText-DLAmX8CW.js";
15
- import { useContext, useCallback, useMemo } from "preact/hooks";
16
- import { a as Alert } from "./Alert-B83aFhFn.js";
17
- import { B as Button, u as useTranslation, aq as keysOf, aT as remediationHasFileUploadField, a1 as entriesOf, z as translateStringOrObject, aU as TrustMemberGuidanceLabels, ah as TrustMemberTypes, an as DecisionMakerTypes, W as isEmpty, a4 as Icon } from "./StoreProvider-CyzNf7KK.js";
18
- import { g as getDataByFields, F as Field, S as Select } from "./useForm-_Kjd_HFb.js";
19
- import { u as useDataset, d as datasetIdentifier } from "./useDataset-DCCxYOjr.js";
20
- const stackLayout = "adyen-kyc-stack-layout";
21
- const stackLayoutGapXs = "adyen-kyc-stack-layout-gap-xs";
22
- const stackLayoutGapS = "adyen-kyc-stack-layout-gap-s";
23
- const stackLayoutGapM = "adyen-kyc-stack-layout-gap-m";
24
- const stackLayoutGapL = "adyen-kyc-stack-layout-gap-l";
25
- const stackLayoutGapXl = "adyen-kyc-stack-layout-gap-xl";
26
- const stackLayoutLeft = "adyen-kyc-stack-layout-left";
27
- const stackLayoutCenter = "adyen-kyc-stack-layout-center";
28
- const stackLayoutRight = "adyen-kyc-stack-layout-right";
29
- const stackLayoutItem = "adyen-kyc-stack-layout-item";
30
- const stackLayoutHorizontal = "adyen-kyc-stack-layout-horizontal";
31
- const stackLayoutLeftHorizontal = "adyen-kyc-stack-layout-left-horizontal";
32
- const stackLayoutCenterHorizontal = "adyen-kyc-stack-layout-center-horizontal";
33
- const stackLayoutRightHorizontal = "adyen-kyc-stack-layout-right-horizontal";
34
- const styles$3 = {
35
- stackLayout,
36
- stackLayoutGapXs,
37
- stackLayoutGapS,
38
- stackLayoutGapM,
39
- stackLayoutGapL,
40
- stackLayoutGapXl,
41
- stackLayoutLeft,
42
- stackLayoutCenter,
43
- stackLayoutRight,
44
- stackLayoutItem,
45
- stackLayoutHorizontal,
46
- stackLayoutLeftHorizontal,
47
- stackLayoutCenterHorizontal,
48
- stackLayoutRightHorizontal
49
- };
50
- const gapStyles = {
51
- xSmall: styles$3.stackLayoutGapXs,
52
- small: styles$3.stackLayoutGapS,
53
- medium: styles$3.stackLayoutGapM,
54
- large: styles$3.stackLayoutGapL,
55
- xLarge: styles$3.stackLayoutGapXl,
56
- none: null
57
- };
58
- const alignStyles = {
59
- left: styles$3.stackLayoutLeft,
60
- center: styles$3.stackLayoutCenter,
61
- right: styles$3.stackLayoutRight,
62
- auto: null
63
- };
64
- const horizontalAlignStyles = {
65
- left: styles$3.stackLayoutLeftHorizontal,
66
- center: styles$3.stackLayoutCenterHorizontal,
67
- right: styles$3.stackLayoutRightHorizontal,
68
- auto: null
69
- };
70
- const flattenChildren = (children) => {
71
- return toChildArray(children).flatMap((child) => {
72
- if (typeof child === "object" && child.type === Fragment) {
73
- return flattenChildren(child.props.children);
74
- }
75
- return child;
76
- });
77
- };
78
- const StackLayout = ({
79
- align = "auto",
80
- children,
81
- gap = "medium",
82
- horizontal = false
83
- }) => {
84
- const flattenedChildren = flattenChildren(children);
85
- const rootClassname = cx(styles$3.stackLayout, gapStyles[gap], alignStyles[align], {
86
- [horizontalAlignStyles[align]]: horizontal,
87
- [styles$3.stackLayoutHorizontal]: horizontal
88
- });
89
- return /* @__PURE__ */ jsx("div", { className: rootClassname, children: flattenedChildren.map((item, i) => {
90
- if (align === "auto") {
91
- return /* @__PURE__ */ jsx("div", { className: styles$3.stackLayoutItem, children: item }, item.key ?? i);
92
- }
93
- return item;
94
- }) });
95
- };
96
- const header = "adyen-kyc-header";
97
- const headerMargin = "adyen-kyc-header-margin";
98
- const headerMarginSecondary = "adyen-kyc-header-margin-secondary";
99
- const headerLeft = "adyen-kyc-header-left";
100
- const headerCenter = "adyen-kyc-header-center";
101
- const headerRight = "adyen-kyc-header-right";
102
- const headerContent = "adyen-kyc-header-content";
103
- const headerActions = "adyen-kyc-header-actions";
104
- const headerTitle = "adyen-kyc-header-title";
105
- const headerTitlePrimary = "adyen-kyc-header-title-primary";
106
- const headerTitleSecondary = "adyen-kyc-header-title-secondary";
107
- const headerDescription = "adyen-kyc-header-description";
108
- const headerDescriptionPrimary = "adyen-kyc-header-description-primary";
109
- const headerDescriptionSecondary = "adyen-kyc-header-description-secondary";
110
- const styles$2 = {
111
- header,
112
- headerMargin,
113
- headerMarginSecondary,
114
- headerLeft,
115
- headerCenter,
116
- headerRight,
117
- headerContent,
118
- headerActions,
119
- headerTitle,
120
- headerTitlePrimary,
121
- headerTitleSecondary,
122
- headerDescription,
123
- headerDescriptionPrimary,
124
- headerDescriptionSecondary
125
- };
126
- const alignmentStyles = {
127
- left: styles$2.headerLeft,
128
- center: styles$2.headerCenter,
129
- right: styles$2.headerRight
130
- };
131
- const Header = ({
132
- align = "left",
133
- children,
134
- description,
135
- secondary = false,
136
- status,
137
- title
138
- }) => {
139
- const { Slot, hasSlot } = defineSlots(children ?? [], ["actions", "description"]);
140
- const HeadingElement = secondary ? "h2" : "h1";
141
- const rootClassname = cx(styles$2.header, alignmentStyles[align], {
142
- [styles$2.headerMargin]: !secondary,
143
- [styles$2.headerMarginSecondary]: secondary
144
- });
145
- const titleClassname = cx(styles$2.headerTitle, {
146
- [styles$2.headerTitlePrimary]: !secondary,
147
- [styles$2.headerTitleSecondary]: secondary
148
- });
149
- const descriptionClassname = cx(styles$2.headerDescription, {
150
- [styles$2.headerDescriptionPrimary]: !secondary,
151
- [styles$2.headerDescriptionSecondary]: secondary
152
- });
153
- return /* @__PURE__ */ jsxs("header", { className: rootClassname, children: [
154
- status && /* @__PURE__ */ jsx(TaskVerificationStatus, { status, responsive: false }),
155
- /* @__PURE__ */ jsxs("div", { className: styles$2.headerContent, children: [
156
- /* @__PURE__ */ jsx(HeadingElement, { className: titleClassname, children: title }),
157
- (hasSlot("description") || description) && /* @__PURE__ */ jsx("div", { className: descriptionClassname, children: /* @__PURE__ */ jsx(Slot, { name: "description", children: description }) })
158
- ] }),
159
- hasSlot("actions") && /* @__PURE__ */ jsx("div", { className: styles$2.headerActions, children: /* @__PURE__ */ jsx(StackLayout, { gap: "small", horizontal: true, children: /* @__PURE__ */ jsx(Slot, { name: "actions" }) }) })
160
- ] });
161
- };
162
- const list = "adyen-kyc-list";
163
- const listHeader = "adyen-kyc-list-header";
164
- const listFooter = "adyen-kyc-list-footer";
165
- const listItems = "adyen-kyc-list-items";
166
- const listItemsPlain = "adyen-kyc-list-items-plain";
167
- const listItemsGroupedPrimary = "adyen-kyc-list-items-grouped-primary";
168
- const listItemsGroupedSecondary = "adyen-kyc-list-items-grouped-secondary";
169
- const listItemsPaddingNone = "adyen-kyc-list-items-padding-none";
170
- const listItemsPaddingSmall = "adyen-kyc-list-items-padding-small";
171
- const listItemsPaddingMedium = "adyen-kyc-list-items-padding-medium";
172
- const listItemsPaddingLarge = "adyen-kyc-list-items-padding-large";
173
- const listItemRowSeparator = "adyen-kyc-list-item-row-separator";
174
- const styles$1 = {
175
- list,
176
- listHeader,
177
- listFooter,
178
- listItems,
179
- listItemsPlain,
180
- listItemsGroupedPrimary,
181
- listItemsGroupedSecondary,
182
- listItemsPaddingNone,
183
- listItemsPaddingSmall,
184
- listItemsPaddingMedium,
185
- listItemsPaddingLarge,
186
- listItemRowSeparator
187
- };
188
- const List = ({
189
- children,
190
- dividers = true,
191
- footer,
192
- header: header2,
193
- padding = "medium",
194
- variant = "plain"
195
- }) => {
196
- const childrenArray = toChildArray(children);
197
- const listVariantStyles = {
198
- plain: styles$1.listItemsPlain,
199
- "grouped-primary": styles$1.listItemsGroupedPrimary,
200
- "grouped-secondary": styles$1.listItemsGroupedSecondary
201
- };
202
- const listClassName = cx(
203
- styles$1.listItems,
204
- listVariantStyles[variant],
205
- variant !== "plain" && {
206
- [styles$1.listItemsPaddingSmall]: padding === "small",
207
- [styles$1.listItemsPaddingMedium]: padding === "medium",
208
- [styles$1.listItemsPaddingLarge]: padding === "large"
209
- },
210
- {
211
- [styles$1.listItemsPaddingNone]: padding === "none"
212
- }
213
- );
214
- return /* @__PURE__ */ jsxs("div", { className: styles$1.list, children: [
215
- header2 && /* @__PURE__ */ jsx("div", { className: styles$1.listHeader, children: header2 }),
216
- /* @__PURE__ */ jsx("ul", { className: listClassName, children: childrenArray.map((item) => {
217
- const itemClassname = cx(styles$1.listItem, {
218
- [styles$1.listItemRowSeparator]: dividers
219
- });
220
- return (
221
- // Content of <li /> will be unknown. Not including a key is preferred over
222
- // using something else, such as index, which may cause problems.
223
- // eslint-disable-next-line react/jsx-key
224
- /* @__PURE__ */ jsx("li", { className: itemClassname, children: item })
225
- );
226
- }) }),
227
- footer && /* @__PURE__ */ jsx("div", { className: styles$1.listFooter, children: footer })
228
- ] });
229
- };
230
- const FormRouterContext = createContext(null);
231
- function useFormRouterContext() {
232
- const context = useContext(FormRouterContext);
233
- return context;
234
- }
235
- const NavigateToFieldLink = ({ fieldName, label }) => {
236
- const { goToFormByFieldName } = useFormRouterContext();
237
- return /* @__PURE__ */ jsx(
238
- Button,
239
- {
240
- onClick: () => {
241
- goToFormByFieldName(fieldName);
242
- },
243
- variant: "link",
244
- children: label
245
- }
246
- );
247
- };
248
- function ServerValidationErrors({
249
- validationErrors,
250
- formUtils
251
- }) {
252
- const { t } = useTranslation("ui");
253
- const validationErrorFieldNames = Object.keys(validationErrors || {});
254
- const getValidationErrorMessage = useCallback(
255
- () => t(($) => $["fieldHasUnsupportedFormats"], {
256
- fieldName: formUtils.getLabel(validationErrorFieldNames[0])
257
- }),
258
- [t, formUtils, validationErrorFieldNames]
259
- );
260
- return /* @__PURE__ */ jsx(Alert, { title: t(($) => $["informationCouldNotBeSubmitted"]), variant: "error", children: validationErrorFieldNames?.length === 1 ? /* @__PURE__ */ jsxs("div", { "data-testid": "validation-error--case-1", children: [
261
- getValidationErrorMessage(),
262
- " ",
263
- /* @__PURE__ */ jsx(
264
- NavigateToFieldLink,
265
- {
266
- fieldName: validationErrorFieldNames[0],
267
- label: t(($) => $["updateTheInformation"])
268
- }
269
- ),
270
- " ",
271
- t(($) => $["andResubmit"])
272
- ] }) : /* @__PURE__ */ jsxs("div", { "data-testid": "validation-error--case-2", children: [
273
- t(($) => $["someFieldsHaveUnsupportedFormatedUpdateInfoAndResubmit"]),
274
- /* @__PURE__ */ jsx("ul", { children: validationErrorFieldNames.map((fieldName) => /* @__PURE__ */ jsx(
275
- "li",
276
- {
277
- className: "adyen-kyc-error-panel__validation-error",
278
- "data-testid": "adyen-kyc-error-panel__validation-error",
279
- children: /* @__PURE__ */ jsx(NavigateToFieldLink, { fieldName, label: formUtils.getLabel(fieldName) })
280
- },
281
- fieldName
282
- )) })
283
- ] }) });
284
- }
285
- function VerificationErrors({
286
- verificationErrors,
287
- formUtils
288
- }) {
289
- const { t } = useTranslation("common");
290
- const getErrorMessage = (errorCode) => t(($) => $[`errorMessage_${errorCode}`]);
291
- const getRemediationMessage = (remediationActions, uploadFieldCollection) => {
292
- if (remediationActions?.length === 1) {
293
- return t(($) => $[`remediationMessage_${remediationActions[0].code}`]);
294
- }
295
- const uploadFields = uploadFieldCollection ? Object.keys(uploadFieldCollection) : [];
296
- let uploadFilesCopy;
297
- if (uploadFields.length > 0) {
298
- if (uploadFields.length > 1) {
299
- const uploadFieldListItems = uploadFields.map((uploadField) => /* @__PURE__ */ jsx(
300
- NavigateToFieldLink,
301
- {
302
- fieldName: uploadField,
303
- label: t(
304
- ($) => $[`remediationMessage_${uploadFieldCollection[uploadField]?.remediation.code}`]
305
- )
306
- },
307
- uploadField
308
- ));
309
- uploadFilesCopy = /* @__PURE__ */ jsxs(Fragment$1, { children: [
310
- formUtils.getLabel("uploadTheFollowingDocuments"),
311
- /* @__PURE__ */ jsx("ul", { children: uploadFieldListItems.map((item, i) => /* @__PURE__ */ jsx("li", { children: item }, i)) })
312
- ] });
313
- } else {
314
- const firstUploadField = uploadFields[0];
315
- const label = ` ${t(
316
- ($) => $[`remediationMessage_${uploadFieldCollection[firstUploadField]?.remediation.code}`]
317
- )?.toLowerCase()}`;
318
- uploadFilesCopy = /* @__PURE__ */ jsx(NavigateToFieldLink, { fieldName: firstUploadField, label });
319
- }
320
- }
321
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [
322
- t(($) => $["reviewTheInformationBelowAndCorrectMistakesOr"]),
323
- " ",
324
- uploadFilesCopy,
325
- " ",
326
- t(($) => $["thenResubmit"])
327
- ] });
328
- };
329
- let verificationErrorMsg;
330
- let parentCode = void 0;
331
- const parentCodes = keysOf(verificationErrors);
332
- if (parentCodes.length === 1) {
333
- parentCode = parentCodes[0];
334
- }
335
- const childErrors = Object.values(verificationErrors).reduce(
336
- (acc, parentChildErrors) => ({
337
- ...acc,
338
- ...parentChildErrors
339
- }),
340
- {}
341
- );
342
- const childErrorCodes = Object.keys(childErrors);
343
- const fileUploadRemediationFields = Object.values(childErrors).flat().reduce((acc, rem) => {
344
- const isRemUploadOne = remediationHasFileUploadField(rem);
345
- const firstRemediationField = rem.fields?.[0];
346
- if (isRemUploadOne && firstRemediationField) {
347
- acc[firstRemediationField] = {
348
- formName: rem?.forms[0],
349
- remediation: rem
350
- };
351
- }
352
- return acc;
353
- }, {});
354
- const onlyChildRemediationActions = Object.values(childErrors).flat();
355
- if (childErrorCodes.length === 1) {
356
- verificationErrorMsg = /* @__PURE__ */ jsxs(
357
- "div",
358
- {
359
- "data-testid": `verification-error--case-${onlyChildRemediationActions.length === 1 ? "1" : "2-1"}`,
360
- children: [
361
- /* @__PURE__ */ jsx("span", { children: `${getErrorMessage(childErrorCodes[0])} ` }),
362
- /* @__PURE__ */ jsx("span", { children: getRemediationMessage(onlyChildRemediationActions, fileUploadRemediationFields) })
363
- ]
364
- }
365
- );
366
- } else if (childErrorCodes.length === 2) {
367
- verificationErrorMsg = /* @__PURE__ */ jsxs("div", { "data-testid": "verification-error--case-2-2", children: [
368
- t(($) => $["weFoundTheFollowingIssues"]),
369
- /* @__PURE__ */ jsx("ul", { children: childErrorCodes.map((subErrorCode) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("span", { children: getErrorMessage(subErrorCode) }) }, subErrorCode)) }),
370
- /* @__PURE__ */ jsx("span", { children: getRemediationMessage(onlyChildRemediationActions, fileUploadRemediationFields) })
371
- ] });
372
- } else {
373
- verificationErrorMsg = /* @__PURE__ */ jsx("div", { "data-testid": "verification-error--case-2-3", children: getRemediationMessage(onlyChildRemediationActions, fileUploadRemediationFields) });
374
- }
375
- const defaultHeading = parentCode ? getErrorMessage(parentCode) : t(($) => $["correctErrorsResubmit"]);
376
- return /* @__PURE__ */ jsx(Alert, { title: defaultHeading, variant: "error", children: verificationErrorMsg });
377
- }
378
- function ErrorPanel({
379
- id = "ariaErrorField",
380
- verificationErrors,
381
- validationErrors,
382
- formUtils
383
- }) {
384
- const isVerificationError = verificationErrors && Object.keys(verificationErrors).length > 0;
385
- const isValidationError = validationErrors && Object.keys(validationErrors).length > 0;
386
- if (!isVerificationError && !isValidationError) {
387
- return null;
388
- }
389
- return /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-error-panel", id, "aria-live": "polite", children: [
390
- isVerificationError && !isValidationError && /* @__PURE__ */ jsx(VerificationErrors, { formUtils, verificationErrors }),
391
- isValidationError && /* @__PURE__ */ jsx(ServerValidationErrors, { formUtils, validationErrors })
392
- ] });
393
- }
394
- const createFormUtils = (props, t) => ({
395
- getLabel: (field, fallbackLabelKey) => {
396
- let translationKey = props.labels?.[field] ?? fallbackLabelKey ?? field;
397
- if (props.labels && !props.labels?.[field] && Object.keys(props.labels).length) {
398
- const parentKey = Object.keys(props.labels).find(
399
- (fieldKey) => typeof props.labels?.[fieldKey] === "object"
400
- );
401
- if (parentKey) {
402
- const nestedLabel = props.labels[parentKey][field];
403
- translationKey = nestedLabel ?? translationKey;
404
- }
405
- }
406
- return t(($) => $[translationKey]);
407
- },
408
- getPlaceholder: (field, fallbackPlaceholderKey) => {
409
- const translationKey = fallbackPlaceholderKey ? props.placeholders?.[field] ?? fallbackPlaceholderKey : props.placeholders?.[field];
410
- return translationKey ? t(($) => $[translationKey]) : "";
411
- },
412
- getHelperText: (field, fallbackHelperTextKey) => {
413
- const translatable = fallbackHelperTextKey ? props.helperText?.[field] ?? fallbackHelperTextKey : props.helperText?.[field];
414
- return translatable ? translateStringOrObject(t, translatable) : "";
415
- },
416
- getGuidanceText: (field, fallbackGuidanceTextKey) => {
417
- const translatable = fallbackGuidanceTextKey ? props.guidanceText?.[field] ?? fallbackGuidanceTextKey : props.guidanceText?.[field];
418
- return translatable ? translateStringOrObject(t, translatable) : void 0;
419
- },
420
- getMask: (field) => props.masks?.[field],
421
- isRequiredField: (field, showIfNotInRequiredFields = true) => props.requiredFields ? props.requiredFields.includes(field) && (field !== "role" || field === "role" && props.taskType !== "individual") : showIfNotInRequiredFields,
422
- isOptionalField: (field) => props.optionalFields?.includes(field) ?? false,
423
- isVisibleField(field, showIfNotInRequiredFields = true) {
424
- return this.isRequiredField(field, showIfNotInRequiredFields) || this.isOptionalField(field);
425
- },
426
- isReadOnly: (field) => props.readOnly || (props.readOnlyFields ? props.readOnlyFields.includes(field) : false),
427
- isObscured: (field) => props.obscuredFields ? props.obscuredFields.includes(field) : false,
428
- isTrusted: (field) => props.trustedFields ? props.trustedFields.includes(field) : false,
429
- getErrorMessage: (field, errors, fieldProblems) => {
430
- const errorMessage = errors?.[field]?.errorMessage;
431
- return errorMessage || Boolean(fieldProblems?.[field]);
432
- },
433
- getFieldData: (formData, fieldKeys) => getDataByFields(formData, fieldKeys),
434
- getFieldValid: (formValid, fieldKeys) => entriesOf(formValid).reduce(
435
- (acc, [key, val]) => fieldKeys.includes(key) ? { ...acc, [key]: val } : acc,
436
- {}
437
- ),
438
- getFieldErrors: (formErrors, fieldProblems, fieldKeys) => Object.keys(formErrors).reduce(
439
- (acc, key) => {
440
- if (fieldKeys.includes(key)) {
441
- const error = formErrors?.[key]?.errorMessage;
442
- return error ? { ...acc, [key]: error } : { ...acc, [key]: Boolean(fieldProblems?.[key]) };
443
- }
444
- return acc;
445
- },
446
- {}
447
- ),
448
- getFieldLabels: (fieldKeys, fallbackLabelKeys) => fieldKeys.reduce(
449
- (acc, field) => {
450
- let translationKey = props.labels?.[field] ?? fallbackLabelKeys?.[field] ?? field;
451
- if (props.labels && !props.labels?.[field] && Object.keys(props.labels).length) {
452
- const parentKey = Object.keys(props.labels).find(
453
- (fieldKey) => typeof props.labels?.[fieldKey] === "object"
454
- );
455
- if (parentKey) {
456
- const nestedLabel = props.labels[parentKey][field];
457
- translationKey = nestedLabel ?? translationKey;
458
- }
459
- }
460
- return { ...acc, [field]: t(($) => $[translationKey]) };
461
- },
462
- {}
463
- ),
464
- getFieldPlaceholders: (fieldKeys, fallbackPlaceholderKeys) => fieldKeys.reduce(
465
- (acc, field) => {
466
- const translationKey = fallbackPlaceholderKeys?.[field] ? props.placeholders?.[field] ?? fallbackPlaceholderKeys?.[field] : props.placeholders?.[field];
467
- return translationKey ? { ...acc, [field]: t(($) => $[translationKey]) } : acc;
468
- },
469
- {}
470
- ),
471
- getFieldHelperText: (fieldKeys, fallbackHelperTextKeys) => fieldKeys.reduce(
472
- (acc, field) => {
473
- const translatable = fallbackHelperTextKeys?.[field] ? props.helperText?.[field] ?? fallbackHelperTextKeys?.[field] : props.helperText?.[field];
474
- return translatable ? { ...acc, field: translateStringOrObject(t, translatable) } : acc;
475
- },
476
- {}
477
- ),
478
- getFieldGuidanceText: (fieldKeys, fallbackGuidanceTextKeys) => fieldKeys.reduce(
479
- (acc, field) => {
480
- const translatable = fallbackGuidanceTextKeys?.[field] ? props.guidanceText?.[field] ?? fallbackGuidanceTextKeys?.[field] : props.guidanceText?.[field];
481
- return translatable ? { ...acc, [field]: translateStringOrObject(t, translatable) } : acc;
482
- },
483
- {}
484
- )
485
- });
486
- const mergeFieldMetadataIntoProps = (fieldName, metadata, otherProps) => {
487
- const existingProps = otherProps ?? {};
488
- return {
489
- ...existingProps,
490
- labels: {
491
- ...existingProps.labels,
492
- [fieldName]: metadata.label
493
- },
494
- placeholders: {
495
- ...existingProps.placeholders,
496
- [fieldName]: metadata.placeholder
497
- },
498
- helperText: {
499
- ...existingProps.helperText,
500
- [fieldName]: metadata.helperText
501
- },
502
- guidanceText: {
503
- ...existingProps.guidanceText,
504
- [fieldName]: metadata.guidanceText
505
- },
506
- masks: {
507
- ...existingProps.masks,
508
- [fieldName]: metadata.mask
509
- },
510
- validators: {
511
- ...existingProps.validators,
512
- [fieldName]: metadata.validators
513
- }
514
- };
515
- };
516
- const UnincorporatedPartnershipMemberTypes = {
517
- SECONDARY_PARTNER: "secondaryPartner",
518
- OWNER: "uboThroughOwnership",
519
- CONTROLLING_PERSON: "uboThroughControl"
520
- };
521
- const roleMetadata = {
522
- [DecisionMakerTypes.CONTROLLING_PERSON]: {
523
- name: "controllingPerson",
524
- description: "controllingPersonDescription"
525
- },
526
- [DecisionMakerTypes.OWNER]: {
527
- name: "owner",
528
- description: "ownerDescription"
529
- },
530
- [DecisionMakerTypes.SIGNATORY]: {
531
- name: "signatory",
532
- description: "signatoryDescription"
533
- },
534
- [DecisionMakerTypes.DIRECTOR]: {
535
- name: "director",
536
- description: "directorDescription"
537
- },
538
- [TrustMemberTypes.DEFINED_BENEFICIARY]: {
539
- name: "definedBeneficiary",
540
- description: "definedBeneficiaryDescription"
541
- },
542
- [TrustMemberTypes.UNDEFINED_BENEFICIARY]: {
543
- name: "undefinedBeneficiary",
544
- description: "undefinedBeneficiaryDescription"
545
- },
546
- [TrustMemberTypes.PROTECTOR]: {
547
- name: "protector",
548
- description: "personAppointmentUnderTrustInstrument"
549
- },
550
- [TrustMemberTypes.TRUSTEE]: {
551
- name: "trustee",
552
- description: "legalOwnerOfProperty"
553
- },
554
- [TrustMemberTypes.SETTLOR]: {
555
- name: "settlor",
556
- description: "entityEstablishingTrust"
557
- },
558
- [TrustMemberGuidanceLabels.BENEFICIARY]: {
559
- name: TrustMemberGuidanceLabels.BENEFICIARY
560
- },
561
- [TrustMemberGuidanceLabels.TRUSTEE]: {
562
- name: TrustMemberGuidanceLabels.TRUSTEE
563
- },
564
- [UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER]: {
565
- name: UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER,
566
- description: "secondaryPartnerGuideDescription"
567
- }
568
- };
569
- const getRoleTagVariant = (role) => roleMetadata[role]?.variant ?? "blue";
570
- const getRoleName = (role) => roleMetadata[role]?.name ?? role;
571
- const isSummaryItem = (val) => typeof val === "object" && val !== null && "summaryLabel" in val && "summaryValue" in val;
572
- const summaryItem = (summaryLabel, summaryValue) => ({
573
- summaryLabel,
574
- summaryValue
575
- });
576
- const isTruthyValidator = {
577
- validate: (value) => !!value,
578
- modes: ["blur"],
579
- errorMessage: "fieldIsRequired"
580
- };
581
- const isNotEmptyValidator = {
582
- validate: (value) => !isEmpty(value),
583
- modes: ["blur"],
584
- errorMessage: "fieldIsRequired"
585
- };
586
- function getFormProps(props, innerFormId) {
587
- if (!innerFormId) {
588
- return null;
589
- }
590
- const activeFormId = props.activeForm?.formId;
591
- const trustedFields = props.trustedFields?.[innerFormId] ?? [];
592
- const readOnlyFields = props.readOnlyFields?.[innerFormId] ?? [];
593
- return {
594
- placeholders: props.placeholders?.[innerFormId] ?? {},
595
- labels: props.labels?.[innerFormId] ?? {},
596
- helperText: props.helperText?.[innerFormId] ?? {},
597
- masks: props.masks?.[innerFormId] ?? {},
598
- data: props.data?.[innerFormId] ?? {},
599
- allFields: props.allFields?.[innerFormId] ?? [],
600
- readOnlyFields: [...readOnlyFields, ...trustedFields],
601
- requiredFields: props.requiredFields?.[innerFormId] ?? [],
602
- optionalFields: props.optionalFields?.[innerFormId] ?? [],
603
- obscuredFields: props.obscuredFields?.[innerFormId] ?? [],
604
- verifyFields: props.verifyFields?.[innerFormId] ?? [],
605
- trustedFields,
606
- trustedFieldsProvider: props.trustedFields,
607
- formVerificationErrors: props.problems?.verificationErrors?.[innerFormId] ?? {},
608
- fieldValidationErrors: props.problems?.validationErrors?.[innerFormId] ?? {},
609
- /*
610
- Validators should be `null` and not `{}` by default to make it easier to short circuit it with predetermined validators.
611
- For example `rules: props.validators || personalDetailsValidationRules`.
612
- */
613
- validators: props.validators?.[innerFormId] ? { ...props.validators?.[innerFormId] } : null,
614
- /*
615
- activeForm check is required for shouldValidate because we render all forms in a multistep form.
616
- Should be changed once stateManagement is fixed and this is no longer the case
617
- */
618
- shouldValidate: (activeFormId ? activeFormId === innerFormId : true) && props.shouldValidate
619
- };
620
- }
621
- function getNestedOuterFormPropsFromOuterFormProps(props, innerFormId) {
622
- const newProps = getFormProps(
623
- props,
624
- innerFormId
625
- );
626
- if (newProps === null) {
627
- return null;
628
- }
629
- const { placeholders, labels, data, helperText, masks } = newProps;
630
- const {
631
- readOnlyFields,
632
- requiredFields,
633
- optionalFields,
634
- obscuredFields,
635
- verifyFields,
636
- trustedFields,
637
- problems,
638
- validators,
639
- shouldValidate
640
- } = props;
641
- return {
642
- placeholders,
643
- labels,
644
- data,
645
- helperText,
646
- masks,
647
- // maintain the structure of the special fields
648
- readOnlyFields,
649
- requiredFields,
650
- optionalFields,
651
- obscuredFields,
652
- verifyFields,
653
- trustedFields,
654
- // the rest we just pass along for now, as they will be eventually be processed by getFormProps
655
- problems,
656
- validators,
657
- shouldValidate
658
- };
659
- }
660
- function getFieldProps(props, innerFormFields) {
661
- if (innerFormFields) {
662
- const nestedFormProps = {
663
- placeholders: {},
664
- labels: {},
665
- helperText: {},
666
- masks: {},
667
- data: {},
668
- allFields: [],
669
- requiredFields: [],
670
- obscuredFields: [],
671
- optionalFields: [],
672
- readOnlyFields: [],
673
- verifyFields: [],
674
- trustedFields: [],
675
- fieldValidationErrors: {},
676
- errors: {},
677
- valid: {}
678
- };
679
- innerFormFields.forEach((field) => {
680
- nestedFormProps.placeholders[field] = props.placeholders?.[field];
681
- nestedFormProps.labels[field] = props.labels?.[field];
682
- nestedFormProps.helperText[field] = props.helperText?.[field];
683
- nestedFormProps.masks[field] = props.masks?.[field];
684
- nestedFormProps.data[field] = props.data?.[field];
685
- if (props.allFields?.includes(field)) {
686
- nestedFormProps.allFields.push(field);
687
- }
688
- if (props.readOnlyFields?.includes(field)) {
689
- nestedFormProps.readOnlyFields.push(field);
690
- }
691
- if (props.requiredFields?.includes(field)) {
692
- nestedFormProps.requiredFields.push(field);
693
- }
694
- if (props.optionalFields?.includes(field)) {
695
- nestedFormProps.optionalFields.push(field);
696
- }
697
- if (props.verifyFields?.includes(field)) {
698
- nestedFormProps.verifyFields.push(field);
699
- }
700
- if (props.fieldValidationErrors?.[field]) {
701
- nestedFormProps.fieldValidationErrors[field] = props.fieldValidationErrors[field];
702
- }
703
- if (props.obscuredFields?.includes(field)) {
704
- nestedFormProps.obscuredFields.push(field);
705
- }
706
- if (props.trustedFields?.includes(field)) {
707
- nestedFormProps.trustedFields.push(field);
708
- }
709
- if (props.validators?.[field]) {
710
- if (!nestedFormProps?.validators) {
711
- nestedFormProps.validators = {};
712
- }
713
- nestedFormProps.validators[field] = props.validators?.[field];
714
- }
715
- if (props.errors?.[field]) {
716
- nestedFormProps.errors[field] = props.errors?.[field];
717
- }
718
- if (props.valid?.[field]) {
719
- nestedFormProps.valid[field] = props.valid?.[field];
720
- }
721
- });
722
- nestedFormProps.shouldValidate = props.shouldValidate;
723
- nestedFormProps.handleFieldChange = props.handleFieldChange;
724
- return nestedFormProps;
725
- }
726
- return null;
727
- }
728
- const link = "adyen-kyc-link";
729
- const linkDefault = "adyen-kyc-link-default";
730
- const linkInline = "adyen-kyc-link-inline";
731
- const styles = {
732
- link,
733
- linkDefault,
734
- linkInline
735
- };
736
- const Link = ({ children, external = false, href, inline = false }) => {
737
- const rel = external ? "external noopener noreferrer" : void 0;
738
- const target = external ? "_blank" : "_self";
739
- const className = cx(styles.link, {
740
- [styles.linkInline]: inline,
741
- [styles.linkDefault]: !inline
742
- });
743
- return /* @__PURE__ */ jsxs("a", { className, href, rel, target, children: [
744
- children,
745
- external && !inline && /* @__PURE__ */ jsx(Icon, { name: "external-link" })
746
- ] });
747
- };
748
- const Radio = ({
749
- id,
750
- value,
751
- groupName,
752
- checked = false,
753
- disabled = false,
754
- onClick,
755
- className,
756
- "aria-labelledby": ariaLabelledBy,
757
- "aria-describedby": ariaDescribedBy
758
- }) => /* @__PURE__ */ jsx(
759
- "input",
760
- {
761
- "aria-labelledby": ariaLabelledBy,
762
- "aria-describedby": ariaDescribedBy,
763
- className: cx(["adyen-kyc-input-radio__input", className]),
764
- id,
765
- type: "radio",
766
- checked,
767
- name: groupName,
768
- onClick,
769
- value,
770
- disabled
771
- }
772
- );
773
- const COUNTRY_FIELD = ["country"];
774
- function CountryField({
775
- name = "country",
776
- data,
777
- valid,
778
- errors,
779
- labels,
780
- readonly,
781
- handleChangeFor,
782
- helperText,
783
- allowedCountries,
784
- handleBlur
785
- }) {
786
- const { t } = useTranslation("common");
787
- const { dataset: countriesFromApi } = useDataset(datasetIdentifier.country);
788
- const countries = useMemo(
789
- () => countriesFromApi.filter(
790
- (country) => allowedCountries ? allowedCountries.includes(country.id) : true
791
- ),
792
- [allowedCountries, countriesFromApi]
793
- );
794
- return /* @__PURE__ */ jsx(
795
- Field,
796
- {
797
- name,
798
- label: labels?.country || t(($) => $["country"]),
799
- errorMessage: errors.country,
800
- isValid: valid.country,
801
- helper: helperText?.country,
802
- dataTestId: "country",
803
- children: (childProps) => /* @__PURE__ */ jsx(
804
- Select,
805
- {
806
- ...childProps,
807
- name,
808
- placeholder: t(($) => $["selectCountryRegion"]),
809
- selected: data.country,
810
- items: countries,
811
- readonly: (countries.length === 1 || readonly) && !!data,
812
- onChange: handleChangeFor("country"),
813
- onBlur: handleBlur
814
- }
815
- )
816
- }
817
- );
818
- }
819
- export {
820
- CountryField as C,
821
- ErrorPanel as E,
822
- FormRouterContext as F,
823
- Header as H,
824
- List as L,
825
- Radio as R,
826
- StackLayout as S,
827
- UnincorporatedPartnershipMemberTypes as U,
828
- Link as a,
829
- COUNTRY_FIELD as b,
830
- createFormUtils as c,
831
- getFieldProps as d,
832
- isNotEmptyValidator as e,
833
- getRoleName as f,
834
- getFormProps as g,
835
- isSummaryItem as h,
836
- isTruthyValidator as i,
837
- getRoleTagVariant as j,
838
- getNestedOuterFormPropsFromOuterFormProps as k,
839
- mergeFieldMetadataIntoProps as m,
840
- roleMetadata as r,
841
- summaryItem as s,
842
- useFormRouterContext as u
843
- };