@adyen/kyc-components 4.13.0-beta.6 → 4.14.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.
- package/dist/4-people-Dxu4nHSX.js +35 -0
- package/dist/AcceptTermsOfServiceComponent-BEcoPLhK.js +650 -0
- package/dist/Accordion-CSpLDvKK.js +111 -0
- package/dist/AccountSetupRejected-CKuhuj2C.js +18 -0
- package/dist/AdaptiveWorkflow-C9g6vb9X.js +1900 -0
- package/dist/AdaptiveWorkflowComponent-Bquocjbq.js +164 -0
- package/dist/Address-D5zWC8Kk.js +960 -0
- package/dist/Avatar-DqBKHRAr.js +54 -0
- package/dist/BusinessFinancingDropin-ChxiPLjD.js +1799 -0
- package/dist/BusinessFinancingPage-Du6ZF5bL.js +89 -0
- package/dist/BusinessTypeSelectionPage-hcxkY2zl.js +436 -0
- package/dist/Button-DBN5gM_d.js +189 -0
- package/dist/Card-BCGLpdw7.js +71 -0
- package/dist/Checkbox-tUvgt59R.js +55 -0
- package/dist/CompanyRegistrationNumberTypeSelector-BF5XC5w0.js +1074 -0
- package/dist/Confirm-C4GotFqm.js +75 -0
- package/dist/ConstitutionalDocument-C7TXcsUK.js +1124 -0
- package/dist/ContactDetails-ugF7Py8x.js +513 -0
- package/dist/ContextGuidance-7xygTSEo.js +29 -0
- package/dist/CountryField-zsA_yVzc.js +37 -0
- package/dist/Currency-C2HN8hvK.js +191 -0
- package/dist/CustomerSupport-DUeV56Vm.js +129 -0
- package/dist/DebugModal-BZfX15KU.js +451 -0
- package/dist/DecisionMakerDetails-B4RIIKw4.js +510 -0
- package/dist/DecisionMakerDetailsPage-zms9XVrA.js +104 -0
- package/dist/DecisionMakers-DyxOlxTk.js +587 -0
- package/dist/DetailViewLayout-DNCGEd7b.js +68 -0
- package/dist/Divider-BENvVRnz.js +11 -0
- package/dist/Dropzone-ER9yCx09.js +236 -0
- package/dist/EmbeddedStatus-BKVqJCeu.js +128 -0
- package/dist/EndStateLayout-DfThkkI3.js +82 -0
- package/dist/EntityAssociation-6G8Fce4W.js +163 -0
- package/dist/ErrorPanel-ct3r_pLg.js +185 -0
- package/dist/Field-CQWAWo5U.js +155 -0
- package/dist/FormNavigation-BwLxW6W7.js +115 -0
- package/dist/Individual.rules-DrC9MYN9.js +295 -0
- package/dist/IndividualDropin-BusKTvgU.js +3899 -0
- package/dist/InputDate-cTgjAhzm.js +52 -0
- package/dist/InputText-8abfNtHh.js +119 -0
- package/dist/Introduction-Dqg8SXWH.js +326 -0
- package/dist/InvitedDecisionMakerComponent-DDYLBgxY.js +415 -0
- package/dist/JpAddress-CCm4vAW3.js +322 -0
- package/dist/LandingLayout-Dg0sEASR.js +76 -0
- package/dist/LegalCompanyNameField-LcnS0m3Z.js +108 -0
- package/dist/LegalRepresentativeDetailsPage-BswNtI-l.js +74 -0
- package/dist/Link-DtaYQWb-.js +32 -0
- package/dist/List-ywoRPg-q.js +71 -0
- package/dist/ListItem-CZWSCEeJ.js +70 -0
- package/dist/MaskedInput-C_rP9ADy.js +715 -0
- package/dist/MaybeModal-BbUiSkZe.js +24 -0
- package/dist/Modal-BgeE7zM2.js +129 -0
- package/dist/Name-DtDvWkku.js +61 -0
- package/dist/NewSummary-DnJjib28.js +72 -0
- package/dist/PayoutDetailsDropinMultiForm-C6m5XRhP.js +4095 -0
- package/dist/PayoutDetailsPage-og_7_YXt.js +69 -0
- package/dist/ProgressBar-DWFxLMUA.js +38 -0
- package/dist/RadioGroup-DlzXLoMN.js +84 -0
- package/dist/Review-DF69umo8.js +99 -0
- package/dist/RootBusinessDetailsPage-kgWj5sVC.js +69 -0
- package/dist/RootBusinessLinesPage-Cq7Zr5j4.js +1449 -0
- package/dist/RootIndividualDetailsPage-Be-0uc3i.js +80 -0
- package/dist/Select-vMYP9lm8.js +776 -0
- package/dist/SignPCIComponent-B2yY79W_.js +369 -0
- package/dist/SingpassSelection-5bZQX8hC.js +156 -0
- package/dist/SoleProprietorshipPage-CSBb_jpV.js +70 -0
- package/dist/SourceOfFundsPage-DRvnw5OW.js +2772 -0
- package/dist/Spacer-CEHRO4Ml.js +11 -0
- package/dist/StackLayout-IUdNMDgW.js +105 -0
- package/dist/StructuredList-CUyo9-3i.js +56 -0
- package/dist/Summary-DdatuZ77.js +225 -0
- package/dist/Tag-CNeDHqKp.js +39 -0
- package/dist/TaskListItem-BywE94Ej.js +169 -0
- package/dist/TaskVerificationStatus-gGr34dp5.js +124 -0
- package/dist/TaxInformationField-C5s9CTSB.js +472 -0
- package/dist/TaxReportingDropin-ucEg1NN9.js +474 -0
- package/dist/TextArea-C2DkQ41s.js +87 -0
- package/dist/TileGroup-B7-q4NXH.js +170 -0
- package/dist/TrustDetailsPage-Bh4izWzj.js +1097 -0
- package/dist/TrustMemberCompanyPage-BtEWDCNS.js +109 -0
- package/dist/TrustMemberIndividualPage-VB6suiF3.js +109 -0
- package/dist/TrustMemberRoleAndTypePage-DRXdmZBo.js +931 -0
- package/dist/TrustMembersOverview-yZICrIOc.js +447 -0
- package/dist/UnincorporatedPartnershipIndividualPage-CKZflWJL.js +79 -0
- package/dist/UnincorporatedPartnershipMemberCompanyPage-BgQ4z0cN.js +79 -0
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BD-yaKSD.js +270 -0
- package/dist/UnincorporatedPartnershipMembersOverview-cQobQZbw.js +157 -0
- package/dist/VerificationErrorAlert-DG1p37BH.js +64 -0
- package/dist/accountHolderUtils-TpJnt1z1.js +44 -0
- package/dist/adyen-business-financing.js +88 -86
- package/dist/adyen-individual-configuration.js +91 -89
- package/dist/adyen-individual-status.js +36 -36
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +129 -138
- package/dist/adyen-terms-of-service-management.js +4 -4
- package/dist/adyen-terms-of-service-status.js +59 -58
- package/dist/adyen-transfer-instrument-configuration.js +87 -85
- package/dist/adyen-transfer-instrument-management.js +103 -105
- package/dist/adyen-verification-status.js +37 -38
- package/dist/arrow-right-Bk-ewsex.js +20 -0
- package/dist/bafinUtils-BKq-s1Ka.js +112 -0
- package/dist/bag-9BNq_QQO.js +20 -0
- package/dist/bank-BRbxxVK5.js +20 -0
- package/dist/bg-BG-CzXoDIev.js +61 -0
- package/dist/bg-BG-DYnhOtaS.js +7 -0
- package/dist/bg-BG-FthOeqMs.js +7 -0
- package/dist/bg-BG-KjJy4fjZ.js +32 -0
- package/dist/bg-BG-L5wKtmmz.js +7 -0
- package/dist/bg-BG-VIyyeYUh.js +7 -0
- package/dist/bg-BG-uuNDTOoN.js +7 -0
- package/dist/bin-DE1613_5.js +30 -0
- package/dist/capital-aNk7ragc.js +23 -0
- package/dist/cash-stack-DuKKc4Qj.js +33 -0
- package/dist/certificate-9gDKvXCm.js +23 -0
- package/dist/checkmark-BuqDN4WO.js +20 -0
- package/dist/checkmark-circle-OqcwA6N6.js +28 -0
- package/dist/checkmark-circle-fill-BfcUovCf.js +30 -0
- package/dist/checkmark-small-CBORXg_J.js +20 -0
- package/dist/chevron-down-CjRta08O.js +20 -0
- package/dist/chevron-left-BEm04mIh.js +20 -0
- package/dist/chevron-right-B2GkHG0J.js +20 -0
- package/dist/chevron-up-BKfe5Btb.js +20 -0
- package/dist/circle-C-uuRI8F.js +30 -0
- package/dist/circle-small-filled-Bkh5_ZEu.js +20 -0
- package/dist/clock-BWfWiMxz.js +28 -0
- package/dist/coins-Cw-jDTUz.js +30 -0
- package/dist/constants-CQUBFYB0.js +232 -0
- package/dist/constants-DrtMSDfx.js +142 -0
- package/dist/contract-PFVBW8xa.js +20 -0
- package/dist/countries-CPj8hkLs.js +41 -0
- package/dist/country-BxigZW1s.js +13 -0
- package/dist/cross-B37j1-r4.js +20 -0
- package/dist/cross-circle-fill-CcjwpLj2.js +30 -0
- package/dist/cross-circle-fill-small-CJ4fddNo.js +20 -0
- package/dist/cs-CZ-Cu1v5FA8.js +7 -0
- package/dist/cs-CZ-D4Pt8Gsx.js +7 -0
- package/dist/cs-CZ-D8nnXFEh.js +7 -0
- package/dist/cs-CZ-DvmlHVW2.js +7 -0
- package/dist/cs-CZ-JUprtMsH.js +61 -0
- package/dist/cs-CZ-m-2EDC49.js +32 -0
- package/dist/cs-CZ-nMdCNolB.js +7 -0
- package/dist/da-DK-BF_wiKbj.js +7 -0
- package/dist/da-DK-C4wRpqMC.js +7 -0
- package/dist/da-DK-C8TyCAru.js +32 -0
- package/dist/da-DK-Cq-1LB6T.js +7 -0
- package/dist/da-DK-D2RrHm98.js +61 -0
- package/dist/da-DK-DDQUbqDb.js +7 -0
- package/dist/da-DK-DjAV5d9A.js +7 -0
- package/dist/de-DE-B3sSNcDv.js +7 -0
- package/dist/de-DE-BOH-YgTt.js +7 -0
- package/dist/de-DE-Bc55gBv4.js +7 -0
- package/dist/de-DE-DdOrCrMa.js +7 -0
- package/dist/de-DE-QoAah1C3.js +32 -0
- package/dist/de-DE-o8i-cfnA.js +61 -0
- package/dist/de-DE-z8FJw9Yv.js +7 -0
- package/dist/decisionMaker-Dt53wKqO.js +146 -0
- package/dist/decisionMakerRoles-DIG8zo1C.js +46 -0
- package/dist/document-1-B3vw8uuK.js +20 -0
- package/dist/document-person-CERdIfH0.js +28 -0
- package/dist/download-CthdK4dV.js +23 -0
- package/dist/edit-1-BW7NwWP7.js +20 -0
- package/dist/el-GR-BAhj1djs.js +61 -0
- package/dist/el-GR-Bm9lqjyB.js +7 -0
- package/dist/el-GR-C0N0zQ3U.js +32 -0
- package/dist/el-GR-C5NDkWDr.js +7 -0
- package/dist/el-GR-Cr-3NgPk.js +7 -0
- package/dist/el-GR-DHiKsTJQ.js +7 -0
- package/dist/el-GR-DaAMIpOR.js +7 -0
- package/dist/en-US-COWs58AF.js +61 -0
- package/dist/en-US-xwcTnMwf.js +7 -0
- package/dist/entityAssociationUtil-C-wflW8q.js +59 -0
- package/dist/es-ES-BNjxmV8Q.js +61 -0
- package/dist/es-ES-C6Rs-ie9.js +7 -0
- package/dist/es-ES-CDFWEg9c.js +7 -0
- package/dist/es-ES-D5rPI9Qc.js +32 -0
- package/dist/es-ES-_w6Ygc8E.js +7 -0
- package/dist/es-ES-tVQDUTJN.js +7 -0
- package/dist/es-ES-uVSZu-EQ.js +7 -0
- package/dist/es-LA-BDxay2SJ.js +48 -0
- package/dist/es-LA-BIPVrwXX.js +61 -0
- package/dist/es-LA-BU5Op1kh.js +7 -0
- package/dist/es-LA-BvOPmuqM.js +23 -0
- package/dist/es-LA-C58S3BbB.js +32 -0
- package/dist/es-LA-C7IleXTc.js +7 -0
- package/dist/es-LA-C8U1qPSu.js +26 -0
- package/dist/es-LA-CJdZb5eY.js +57 -0
- package/dist/es-LA-CvOdV_q1.js +18 -0
- package/dist/es-LA-Cxk68z4n.js +7 -0
- package/dist/es-LA-DMpf5gAW.js +70 -0
- package/dist/es-LA-DU9jNyAv.js +69 -0
- package/dist/es-LA-DWAiA7Dw.js +7 -0
- package/dist/es-LA-xilYCaSd.js +7 -0
- package/dist/et-EE-BCWBT8XN.js +7 -0
- package/dist/et-EE-BFb0MPqf.js +7 -0
- package/dist/et-EE-CG66kNTM.js +7 -0
- package/dist/et-EE-DEs2iukD.js +7 -0
- package/dist/et-EE-Dl6n-Am8.js +61 -0
- package/dist/et-EE-IiaprrVp.js +32 -0
- package/dist/et-EE-P4s_U3BI.js +7 -0
- package/dist/external-link-CFgynH5A.js +20 -0
- package/dist/fi-FI-8eStbIaM.js +7 -0
- package/dist/fi-FI-B-7uBAf5.js +7 -0
- package/dist/fi-FI-BI9sCCEP.js +7 -0
- package/dist/fi-FI-Bed2SzCG.js +7 -0
- package/dist/fi-FI-DdF7vjHQ.js +32 -0
- package/dist/fi-FI-DpgrKo5I.js +7 -0
- package/dist/fi-FI-T33BAikx.js +61 -0
- package/dist/formUtils-DVc3a6gf.js +78 -0
- package/dist/fr-FR-B8iVi3nn.js +7 -0
- package/dist/fr-FR-BN_jrAX4.js +7 -0
- package/dist/fr-FR-CDv300-8.js +7 -0
- package/dist/fr-FR-CRO4taJU.js +61 -0
- package/dist/fr-FR-D_qhjXEC.js +7 -0
- package/dist/fr-FR-_TkFnevF.js +7 -0
- package/dist/fr-FR-jPc-OwlY.js +32 -0
- package/dist/getLegalEntityCountry-BHh7Ux8v.js +17 -0
- package/dist/getName-D4ECvzcI.js +35 -0
- package/dist/getProblemsForEntity-CogrYbYP.js +16 -0
- package/dist/getTrustedDecisionMakers-DUpv5ug2.js +25 -0
- package/dist/gift-0jLCte2h.js +20 -0
- package/dist/graph-DrxuzQF7.js +32 -0
- package/dist/graph-up-4qLbS2Ds.js +38 -0
- package/dist/headquarter-3o2GHW5H.js +42 -0
- package/dist/hotel-pZlrEAK8.js +33 -0
- package/dist/hr-HR-Bt2ZduQN.js +7 -0
- package/dist/hr-HR-CXH5M5JZ.js +7 -0
- package/dist/hr-HR-CbEXwWeO.js +61 -0
- package/dist/hr-HR-DlIGxvkT.js +32 -0
- package/dist/hr-HR-DlPm5gxr.js +7 -0
- package/dist/hr-HR-DubR_a2h.js +7 -0
- package/dist/hr-HR-SwSOMPhJ.js +7 -0
- package/dist/http-DYzfwjcs.js +149 -0
- package/dist/hu-HU-B9JCbRow.js +61 -0
- package/dist/hu-HU-BqW_xlCb.js +7 -0
- package/dist/hu-HU-CK6lbZ-D.js +7 -0
- package/dist/hu-HU-D1ZZwcl0.js +7 -0
- package/dist/hu-HU-DTRbo1IU.js +7 -0
- package/dist/hu-HU-DicR116D.js +32 -0
- package/dist/hu-HU-NJaOrfnP.js +7 -0
- package/dist/image-tfgNnE3G.js +23 -0
- package/dist/info-DJW5JooY.js +32 -0
- package/dist/info-filled-C5mP6T4Z.js +32 -0
- package/dist/invalidateRootLegalEntity-B_H-aJ0s.js +51 -0
- package/dist/isEmpty-BVlBH98t.js +14 -0
- package/dist/it-IT-BVAe-EX_.js +32 -0
- package/dist/it-IT-BwxzsAX1.js +7 -0
- package/dist/it-IT-CVVOlFfY.js +7 -0
- package/dist/it-IT-Cnk7j_gC.js +7 -0
- package/dist/it-IT-DE_Dkl_X.js +61 -0
- package/dist/it-IT-DzzajnKQ.js +7 -0
- package/dist/it-IT-xc14pqAr.js +7 -0
- package/dist/ja-JP-B8sNFjt_.js +7 -0
- package/dist/ja-JP-BaD-vLXo.js +61 -0
- package/dist/ja-JP-BpNu5KzH.js +7 -0
- package/dist/ja-JP-CNCeHdxj.js +7 -0
- package/dist/ja-JP-ClFJvhe2.js +7 -0
- package/dist/ja-JP-DS8zN3mY.js +7 -0
- package/dist/ja-JP-Fu1XFofD.js +32 -0
- package/dist/japanSupportUtils-H5Zfox2v.js +11 -0
- package/dist/localizeDateString-DB-oTe60.js +35 -0
- package/dist/location-Dk0rAiaT.js +23 -0
- package/dist/lt-LT-5OY6az4F.js +61 -0
- package/dist/lt-LT-BJbA6rDr.js +7 -0
- package/dist/lt-LT-C9lXLzZA.js +7 -0
- package/dist/lt-LT-CTtqyA86.js +7 -0
- package/dist/lt-LT-D3ZUJfjr.js +7 -0
- package/dist/lt-LT-DfL5ey_8.js +32 -0
- package/dist/lt-LT-VP6qtMAw.js +7 -0
- package/dist/lv-LV-2Q8G1u4p.js +7 -0
- package/dist/lv-LV-BBbE9hg5.js +7 -0
- package/dist/lv-LV-CQI0LxVf.js +7 -0
- package/dist/lv-LV-CXifQKfG.js +7 -0
- package/dist/lv-LV-CqZT6L9i.js +32 -0
- package/dist/lv-LV-D_9V3gBo.js +7 -0
- package/dist/lv-LV-DjAUG4pi.js +61 -0
- package/dist/mail-DG7MBDNE.js +20 -0
- package/dist/mapExistingFile-CZB9JLAV.js +135 -0
- package/dist/mapJpAddressSchemaToAddressLocalizations-DUElzaoS.js +109 -0
- package/dist/mapLegalEntityToIndividualSchema-BsHNunzQ.js +207 -0
- package/dist/mapTransferInstrumentToPayoutAccount-DuqJ08ye.js +44 -0
- package/dist/minus-circle-filled-DglqAgJW.js +30 -0
- package/dist/nl-NL-7ddo0NCH.js +7 -0
- package/dist/nl-NL-BN5WtqQB.js +7 -0
- package/dist/nl-NL-Bv8Zk-6e.js +7 -0
- package/dist/nl-NL-C3cXv5PD.js +61 -0
- package/dist/nl-NL-CmlQQSLp.js +32 -0
- package/dist/nl-NL-DMdoFepr.js +7 -0
- package/dist/nl-NL-_NV5Dvt9.js +7 -0
- package/dist/no-NO-BatbPb3N.js +32 -0
- package/dist/no-NO-Bf-QR3EY.js +7 -0
- package/dist/no-NO-Chwg5Roi.js +7 -0
- package/dist/no-NO-CoDL_uMQ.js +7 -0
- package/dist/no-NO-Cor-jWuN.js +7 -0
- package/dist/no-NO-CwgewQst.js +7 -0
- package/dist/no-NO-DyMlgewS.js +61 -0
- package/dist/omitObscuredFieldsIfUnchanged-DDq-TIS9.js +20 -0
- package/dist/options-horizontal-CTUn7IEx.js +30 -0
- package/dist/partner-1StoI4_W.js +30 -0
- package/dist/patternValidators-DWouiOVO.js +73 -0
- package/dist/pay-by-link-plane-Sa_qkL8C.js +33 -0
- package/dist/payout-BAYSxSqU.js +38 -0
- package/dist/pdf-uNYg4Mqz.js +22315 -0
- package/dist/pdf.worker.min-gK7UJW5a.js +74644 -0
- package/dist/person-Da15_s3G.js +23 -0
- package/dist/pl-PL-Bgrz9oPS.js +7 -0
- package/dist/pl-PL-BzOubawD.js +7 -0
- package/dist/pl-PL-ClUTW9pd.js +61 -0
- package/dist/pl-PL-D-TVYshE.js +7 -0
- package/dist/pl-PL-DSbuyzBx.js +7 -0
- package/dist/pl-PL-Dd9fkdnr.js +7 -0
- package/dist/pl-PL-ZyxybmlP.js +32 -0
- package/dist/plus-BQccvKkd.js +20 -0
- package/dist/plus-circle-filled-CqC30FRL.js +30 -0
- package/dist/process-field-configurations-U459c7bG.js +279 -0
- package/dist/processCapabilities-hLmRus8U.js +870 -0
- package/dist/pt-BR-B2q9Nl16.js +7 -0
- package/dist/pt-BR-Bk2xOhdi.js +61 -0
- package/dist/pt-BR-DUAQ_vv4.js +7 -0
- package/dist/pt-BR-Dq0Sd1h9.js +32 -0
- package/dist/pt-BR-DwHag_mp.js +7 -0
- package/dist/pt-BR-n0GcsM-Q.js +7 -0
- package/dist/pt-BR-uhrvEANO2.js +7 -0
- package/dist/pt-PT-5O7ohkQD.js +61 -0
- package/dist/pt-PT-B6mC3m94.js +7 -0
- package/dist/pt-PT-BVcFY8gr.js +7 -0
- package/dist/pt-PT-BuM6Edx0.js +32 -0
- package/dist/pt-PT-C-mvV1ZJ.js +7 -0
- package/dist/pt-PT-CQQkh5PS.js +7 -0
- package/dist/pt-PT-Cz4rJgbi.js +7 -0
- package/dist/recurring-DSR1fNMh.js +23 -0
- package/dist/resolveEnvironment-Doi5jM7g.js +2500 -0
- package/dist/revenue-accelerate-CPhAVpPK.js +30 -0
- package/dist/ro-RO-BOV_LMAu.js +61 -0
- package/dist/ro-RO-BnZbYPEH.js +7 -0
- package/dist/ro-RO-ClCWcOZD.js +7 -0
- package/dist/ro-RO-CuooCG3m.js +7 -0
- package/dist/ro-RO-D3Yk1KoW.js +7 -0
- package/dist/ro-RO-DJjle7nF.js +32 -0
- package/dist/ro-RO-_BLhsnIB.js +7 -0
- package/dist/roleMetadata-bznvTmh3.js +56 -0
- package/dist/save-DQ-mJX8e.js +20 -0
- package/dist/search-DWqWTW_K.js +30 -0
- package/dist/show-BbhlD3IY.js +23 -0
- package/dist/sk-SK-BOc9IqyW.js +7 -0
- package/dist/sk-SK-BUGTKkOC.js +61 -0
- package/dist/sk-SK-CSPSMUYC.js +32 -0
- package/dist/sk-SK-CieZx5AS.js +7 -0
- package/dist/sk-SK-D3UYKttr.js +7 -0
- package/dist/sk-SK-DBHPBJm4.js +7 -0
- package/dist/sk-SK-DSaBObVa.js +7 -0
- package/dist/sl-SI-BQc61Sz2.js +7 -0
- package/dist/sl-SI-BkcElOhl.js +7 -0
- package/dist/sl-SI-C82Kr3vf.js +32 -0
- package/dist/sl-SI-DbVFyYEg.js +7 -0
- package/dist/sl-SI-DffYWi9P.js +61 -0
- package/dist/sl-SI-KEJYXISh.js +7 -0
- package/dist/sl-SI-dukW1tgW.js +7 -0
- package/dist/solution-payments-D4BORMsX.js +20 -0
- package/dist/store-DWaq3ZiC.js +20 -0
- package/dist/style.css +1151 -1151
- package/dist/styles-DYaAeu4q.js +6678 -0
- package/dist/sv-SE-Bhvd0GDr.js +7 -0
- package/dist/sv-SE-BlGBkLAA.js +7 -0
- package/dist/sv-SE-DT9jLSs2.js +32 -0
- package/dist/sv-SE-D_bagacj.js +61 -0
- package/dist/sv-SE-DkZ2LyW5.js +7 -0
- package/dist/sv-SE-DzsWB30f.js +7 -0
- package/dist/sv-SE-WmQ6EnrS.js +7 -0
- package/dist/terminal-1-crR-pS_R.js +30 -0
- package/dist/translation-ZXpd9jdD.js +915 -0
- package/dist/types/adaptiveWorkflow/component-registry.d.ts +6 -2
- package/dist/types/adaptiveWorkflow/components/Fields/IdentityNumber/IdentityNumberFieldGroup.d.ts +14 -0
- package/dist/types/adaptiveWorkflow/components/Fields/IdentityScreening/IdentityScreeningWorkflow.d.ts +19 -0
- package/dist/types/api/adaptive/adaptiveWorkflow.types.d.ts +1 -0
- package/dist/types/api/adaptive/useAdaptiveWorkflow.d.ts +1 -1
- package/dist/types/api/address/useAddressCleanse.d.ts +3 -3
- package/dist/types/api/address/useRetrieveAddress.d.ts +2 -2
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +2 -2
- package/dist/types/api/address/useSearchAddress.d.ts +2 -2
- package/dist/types/api/businessLines/useBusinessLines.d.ts +1 -1
- package/dist/types/api/companyDataSet/companyDataset.types.d.ts +3 -6
- package/dist/types/api/companySearch/useCompanySearch.d.ts +2 -2
- package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
- package/dist/types/api/configurations/useTaskTypes.d.ts +1 -1
- package/dist/types/api/configurations/useVersionConfiguration.d.ts +2 -2
- package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
- package/dist/types/api/datasets/useNaceCodes.d.ts +1 -1
- package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +1 -1
- package/dist/types/api/documents/useDocument.d.ts +1 -1
- package/dist/types/api/documents/useDocuments.d.ts +1 -1
- package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +3 -3
- package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +1 -1
- package/dist/types/api/industryCodes/useIndustryCodes.d.ts +1 -1
- package/dist/types/api/invitations/useInvitationStatus.d.ts +5 -2
- package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +2 -2
- package/dist/types/api/invitedEntity/useInvitedEntityRootCapabilities.d.ts +2 -2
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +9 -9
- package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
- package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -1
- package/dist/types/api/pci/usePciQuestionnaireList.d.ts +2 -2
- package/dist/types/api/pci/usePciStatus.d.ts +2 -2
- package/dist/types/api/pci/usePciTemplate.d.ts +2 -2
- package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +1 -1
- package/dist/types/api/taskStatus/useTaskStatus.d.ts +2 -2
- package/dist/types/api/taskStatus/useTaskStatuses.d.ts +2 -2
- package/dist/types/api/taxClassification/useTaxClassification.d.ts +2 -2
- package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +2 -2
- package/dist/types/api/termsOfService/useTermsOfService.d.ts +2 -2
- package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
- package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +2 -2
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +2 -2
- package/dist/types/api/toggles/useToggles.d.ts +1 -1
- package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -1
- package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -1
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -2
- package/dist/types/api/validation/useValidatePhoneNumber.d.ts +2 -2
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +25 -25
- package/dist/types/components/Business/hooks/useSubmitBusinessDetails.d.ts +1 -26
- package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +47 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +0 -55
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +494 -494
- package/dist/types/components/Individual/forms/InviteDetails/validate.d.ts +1 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerListItem/DecisionMakerListItem.d.ts +3 -2
- package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.d.ts +1 -1
- package/dist/types/components/Shared/fields/Name/validate.d.ts +1 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/ui/atoms/Tile/Tile.d.ts +2 -1
- package/dist/types/context/ToggleContext/types.d.ts +4 -4
- package/dist/types/utils/analytics/trackClickHandler.d.ts +11 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types-B4LsyK73.js +19 -0
- package/dist/types-Bm4RGrSI.js +66 -0
- package/dist/types-Bvp3aTbC.js +58 -0
- package/dist/unincorporated-partnership-GaTPaALJ.js +40 -0
- package/dist/upload-D85xAAAm.js +23 -0
- package/dist/useAssociatedLegalEntity-CQAe7Co6.js +35 -0
- package/dist/useBusinessDetailsData-BDxT0mFG.js +4647 -0
- package/dist/useBusinessLines-Dshc0pYD.js +27 -0
- package/dist/useCanSeeIntroduction-DQyl0Vkk.js +39 -0
- package/dist/useCreateLegalEntity-38twl3gB.js +24 -0
- package/dist/useDataMissingRemediations-7H0hHxXG.js +39 -0
- package/dist/useForm-x1BtFLPw.js +502 -0
- package/dist/useFormContext-CyhnFPOt.js +504 -0
- package/dist/useLegalEntity-EN5ubX2H.js +48 -0
- package/dist/useMultiForm-NwELDSnm.js +817 -0
- package/dist/useNavigate-BfWevcN2.js +269 -0
- package/dist/useOnboardingStatus-Cf6dZFB2.js +23 -0
- package/dist/usePciQuestionnaireList-C3bk4K8n.js +26 -0
- package/dist/useSalesChannels-CC-N9vqE.js +47 -0
- package/dist/useScenarios-ful0VqQ4.js +55 -0
- package/dist/useTaskLandedEvent-CtlV_Bum.js +26 -0
- package/dist/useTaskStatus-CLcXCIz7.js +23 -0
- package/dist/useTermsOfServiceStatus-DwWvz0vR.js +39 -0
- package/dist/useTrustMembers-BZRB9RDn.js +152 -0
- package/dist/useUnincorporatedPartnershipMembers-wgiUFuxT.js +70 -0
- package/dist/useUpdateBusinessLines-BRxlqBnM.js +68 -0
- package/dist/useUpdateLegalEntity-DnkFwUCD.js +29 -0
- package/dist/utils-B6a1FGxD.js +2507 -0
- package/dist/utils-BgdkZkf5.js +71 -0
- package/dist/utils-DcUoR5qG.js +61 -0
- package/dist/utils-DwujAUJC.js +46 -0
- package/dist/utils-iXMYP5kO.js +188 -0
- package/dist/validate-CPz6CHtU.js +109 -0
- package/dist/validate-j0h8oux2.js +397 -0
- package/dist/validateExtractionResult-CHdmHmkZ.js +1070 -0
- package/dist/validationError-tIm9Zzjt.js +68 -0
- package/dist/validationResult-CqlLuppx.js +77 -0
- package/dist/warning-circle-fill-BDTmKU1s.js +30 -0
- package/dist/warning-diamond-filled-BjDL-xa8.js +30 -0
- package/dist/webinar-YMbPoCx3.js +33 -0
- package/package.json +25 -25
- package/dist/4-people-UD6qivNv.js +0 -35
- package/dist/AcceptTermsOfServiceComponent-CV0tEsZ8.js +0 -652
- package/dist/Accordion-gSHEDtlp.js +0 -111
- package/dist/AccountSetupRejected-MS5ucnkH.js +0 -19
- package/dist/AdaptiveWorkflow-BRSkDC27.js +0 -1562
- package/dist/AdaptiveWorkflowComponent-436q2Z3Q.js +0 -130
- package/dist/Address-B1WQZxTA.js +0 -557
- package/dist/Alert-BYrDkvk9.js +0 -170
- package/dist/Avatar-CuGCWCs9.js +0 -54
- package/dist/BusinessFinancingDropin-DrABikQM.js +0 -1800
- package/dist/BusinessFinancingPage-CSwjPgIJ.js +0 -87
- package/dist/BusinessTypeSelectionPage-D0jjyKgo.js +0 -436
- package/dist/Button-BxfzWsRl.js +0 -189
- package/dist/Card-BylPFvY4.js +0 -71
- package/dist/Checkbox-BRuXJ18x.js +0 -55
- package/dist/CompanyRegistrationNumberTypeSelector-DiImGTFe.js +0 -1074
- package/dist/Confirm-BEZEArAy.js +0 -76
- package/dist/ConstitutionalDocument-CdpVRf0I.js +0 -1125
- package/dist/ContactDetails-63BkotMl.js +0 -516
- package/dist/ContextGuidance-BRGAWzeW.js +0 -29
- package/dist/CountryField-DhNTIfGL.js +0 -38
- package/dist/Currency-QVw0PSm6.js +0 -191
- package/dist/CustomerSupport-BXin9crY.js +0 -129
- package/dist/DebugModal-DjXxE-RN.js +0 -454
- package/dist/DecisionMakerDetails-B8s07F7D.js +0 -493
- package/dist/DecisionMakerDetailsPage-BaOxC2U6.js +0 -103
- package/dist/DecisionMakers-Bm-L-q92.js +0 -583
- package/dist/DetailViewLayout-Be6cqBDx.js +0 -68
- package/dist/Divider-BndbWx4f.js +0 -11
- package/dist/Dropzone-BbBVtqN9.js +0 -236
- package/dist/EmbeddedStatus-td-3A1DN.js +0 -128
- package/dist/EndStateLayout-CnhmrsxA.js +0 -82
- package/dist/EntityAssociation-BHvq_AwX.js +0 -163
- package/dist/ErrorPanel-CzX5ev6p.js +0 -185
- package/dist/Field-Vzlyifk5.js +0 -155
- package/dist/FormNavigation-B79CI_Kc.js +0 -116
- package/dist/Header-fY8HlUFH.js +0 -93
- package/dist/Image-BBLBIviv.js +0 -33
- package/dist/Individual.rules-BvJRuxgJ.js +0 -294
- package/dist/IndividualDropin-BVMDPYDe.js +0 -4958
- package/dist/InputDate--h7l0kcO.js +0 -52
- package/dist/InputText-BK_8YUd_.js +0 -119
- package/dist/Introduction-p7SxkPvq.js +0 -325
- package/dist/InvitedDecisionMakerComponent-B40Lk4i7.js +0 -412
- package/dist/JpAddress-msyDs8qO.js +0 -322
- package/dist/LandingLayout-BK3kV0FL.js +0 -76
- package/dist/LegalCompanyNameField-CQUbvS77.js +0 -108
- package/dist/LegalRepresentativeDetailsPage-Csvg_gjL.js +0 -73
- package/dist/Link-idX4eEXz.js +0 -32
- package/dist/List-DLrcpMVd.js +0 -71
- package/dist/ListItem-BzSnYlO1.js +0 -70
- package/dist/LoaderWrapper-Tr14IrmG.js +0 -34
- package/dist/MaskedInput-WaAdSNPN.js +0 -715
- package/dist/MaybeModal-BkoicAOk.js +0 -24
- package/dist/Modal-CMKjvMyV.js +0 -109
- package/dist/Name-DkBgo3cK.js +0 -61
- package/dist/NewSummary-Cf1CesDB.js +0 -72
- package/dist/PayoutDetailsDropinMultiForm-CiTh764I.js +0 -4106
- package/dist/PayoutDetailsPage-CLt8LJCi.js +0 -68
- package/dist/ProgressBar-DrvdkkV2.js +0 -38
- package/dist/RadioGroup-Bc8reZVM.js +0 -84
- package/dist/Review-GGx4T5lx.js +0 -99
- package/dist/RootBusinessDetailsPage-z94WN2fb.js +0 -69
- package/dist/RootBusinessLinesPage-B1SNv9er.js +0 -1452
- package/dist/RootIndividualDetailsPage-DE704wL6.js +0 -81
- package/dist/Select-CRVpXZ1k.js +0 -777
- package/dist/SignPCIComponent-BPSj_yuH.js +0 -368
- package/dist/SingpassSelection-c3hLW3jo.js +0 -156
- package/dist/SoleProprietorshipPage-C2gjJZcb.js +0 -69
- package/dist/SourceOfFundsPage-DItR3-Hp.js +0 -2775
- package/dist/Spacer-D1yp_1Io.js +0 -11
- package/dist/StackLayout-CTLQyVDf.js +0 -105
- package/dist/StateContext-BExuJcFK.js +0 -9
- package/dist/StructuredList-S4LIZQiJ.js +0 -56
- package/dist/Summary-DESUnetK.js +0 -226
- package/dist/Tag-BUoDHC4C.js +0 -39
- package/dist/TaskListItem-9Kq5rfrA.js +0 -164
- package/dist/TaskVerificationStatus-F5lMp5Rx.js +0 -118
- package/dist/TaxInformationField-DlmOFIDl.js +0 -474
- package/dist/TaxReportingDropin-LOUIhV-w.js +0 -476
- package/dist/TextArea-CIgJgN16.js +0 -80
- package/dist/TileGroup-irJw9YNz.js +0 -170
- package/dist/ToastContext-D7fHw64P.js +0 -13
- package/dist/ToastContextProvider-CU6K9Sqo.js +0 -103
- package/dist/TrustDetailsPage-B9sH2X7l.js +0 -1103
- package/dist/TrustMemberCompanyPage-BnY9tVG7.js +0 -107
- package/dist/TrustMemberIndividualPage-B4Iqm4MI.js +0 -107
- package/dist/TrustMemberRoleAndTypePage-LlBgvSwW.js +0 -933
- package/dist/TrustMembersOverview-BGzdiibd.js +0 -451
- package/dist/UnincorporatedPartnershipIndividualPage-CUrCUB2E.js +0 -78
- package/dist/UnincorporatedPartnershipMemberCompanyPage-Uzsm5Zo2.js +0 -78
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BbQB-s2g.js +0 -271
- package/dist/UnincorporatedPartnershipMembersOverview-B-djUG0K.js +0 -159
- package/dist/VerificationErrorAlert-D8Peag6l.js +0 -38
- package/dist/_rolldown_dynamic_import_helper-C4ugHLZT.js +0 -14
- package/dist/accountHolderUtils-mgP2-0Nn.js +0 -44
- package/dist/arrow-right-BJTNKb0O.js +0 -20
- package/dist/bafinUtils-DJ5gJYKz.js +0 -96
- package/dist/bag-DZMiIi7P.js +0 -20
- package/dist/bank-CzucQEWZ.js +0 -20
- package/dist/bg-BG-BUgREukJ.js +0 -7
- package/dist/bg-BG-Bfk35aUM.js +0 -7
- package/dist/bg-BG-Bw1uE2hh.js +0 -7
- package/dist/bg-BG-C0FkvcA2.js +0 -31
- package/dist/bg-BG-CAC3TgzH.js +0 -7
- package/dist/bg-BG-DkeEONKT.js +0 -60
- package/dist/bg-BG-DszNb4YW.js +0 -7
- package/dist/bin-BbC6aL9-.js +0 -30
- package/dist/birthDateUtils-BUDlu8wE.js +0 -82
- package/dist/capital-B61w2ph0.js +0 -23
- package/dist/cash-stack-DrmR4pnT.js +0 -33
- package/dist/certificate-_tpSgTGm.js +0 -23
- package/dist/checkmark-DnlW1SB-.js +0 -20
- package/dist/checkmark-circle-Dixm0aV6.js +0 -28
- package/dist/checkmark-circle-fill-dAg9Mn5z.js +0 -30
- package/dist/checkmark-small-Di0Lj9EO.js +0 -20
- package/dist/chevron-down-CvIokHIR.js +0 -20
- package/dist/chevron-left-BNjJxGO4.js +0 -20
- package/dist/chevron-right-CeXpOOK6.js +0 -20
- package/dist/chevron-up-esJT8bFL.js +0 -20
- package/dist/circle-BJtiv6-2.js +0 -30
- package/dist/circle-small-filled-BLmJJiLk.js +0 -20
- package/dist/clock-Xuw4kh_Y.js +0 -28
- package/dist/coins-BeFK6pqR.js +0 -30
- package/dist/company-types-value-BYTAKfjo.js +0 -17
- package/dist/constants-Cuqk72uG.js +0 -233
- package/dist/contract-D4VJIjGm.js +0 -20
- package/dist/countries-BLvJ0FJ4.js +0 -41
- package/dist/country-Cm0PPJDS.js +0 -13
- package/dist/cross-CbSU1xP-.js +0 -20
- package/dist/cross-circle-fill-iElIdcZN.js +0 -30
- package/dist/cross-circle-fill-small-DyxDVLjN.js +0 -20
- package/dist/cs-CZ-3vdI5Jjr.js +0 -31
- package/dist/cs-CZ-B1VpAUva.js +0 -7
- package/dist/cs-CZ-BCCbEB0j.js +0 -7
- package/dist/cs-CZ-BWwYdy4S.js +0 -7
- package/dist/cs-CZ-CDBbVGc-.js +0 -60
- package/dist/cs-CZ-DC3dWoGV.js +0 -7
- package/dist/cs-CZ-DtoIeWYx.js +0 -7
- package/dist/da-DK-BCPtwA_c.js +0 -7
- package/dist/da-DK-BVAv2vUs.js +0 -7
- package/dist/da-DK-BbuiozUl.js +0 -7
- package/dist/da-DK-C0KVt06k.js +0 -7
- package/dist/da-DK-CrBk2y5x.js +0 -31
- package/dist/da-DK-DaA3zK0h.js +0 -60
- package/dist/da-DK-klGGwyxv.js +0 -7
- package/dist/datasetUtil-uPWEKDf8.js +0 -45
- package/dist/de-DE-B8GqI1Sq.js +0 -7
- package/dist/de-DE-B_L7jawo.js +0 -7
- package/dist/de-DE-CEKqkGeP.js +0 -7
- package/dist/de-DE-Cl0fc0U_.js +0 -60
- package/dist/de-DE-DXkUC1-N.js +0 -7
- package/dist/de-DE-XXqDUm1h.js +0 -31
- package/dist/de-DE-uuUOPGHs.js +0 -7
- package/dist/decisionMaker-b5wJjUBN.js +0 -146
- package/dist/decisionMakerRoles-CCKWKoWd.js +0 -46
- package/dist/document-1-Dfu6EDzV.js +0 -20
- package/dist/document-person-Dgv26vCh.js +0 -28
- package/dist/download-Ct05dQIR.js +0 -23
- package/dist/edit-1-m3Xin3vd.js +0 -20
- package/dist/el-GR-BP7G1Ka8.js +0 -31
- package/dist/el-GR-CEZLeeb3.js +0 -7
- package/dist/el-GR-CNoP_at_.js +0 -60
- package/dist/el-GR-Ctd3mBAX.js +0 -7
- package/dist/el-GR-D4Pmng8T.js +0 -7
- package/dist/el-GR-DtpUBNHl.js +0 -7
- package/dist/el-GR-WS8xbrFJ.js +0 -7
- package/dist/en-US-BqoUncE4.js +0 -7
- package/dist/en-US-DQLhkpBE.js +0 -60
- package/dist/entityAssociationUtil-D1ledZtc.js +0 -59
- package/dist/es-ES-B-x17o8d.js +0 -7
- package/dist/es-ES-BPXpnHRY.js +0 -60
- package/dist/es-ES-BQyI--wB.js +0 -31
- package/dist/es-ES-BrTDtXtR.js +0 -7
- package/dist/es-ES-CB4LW8fA.js +0 -7
- package/dist/es-ES-DB77kzqT.js +0 -7
- package/dist/es-ES-XWHjoMpE.js +0 -7
- package/dist/et-EE-BSBN_3SH.js +0 -31
- package/dist/et-EE-BiA52MlJ.js +0 -7
- package/dist/et-EE-CPykMmP6.js +0 -7
- package/dist/et-EE-CfkcHuFD.js +0 -60
- package/dist/et-EE-CweZxZJx.js +0 -7
- package/dist/et-EE-D5ztjKQA.js +0 -7
- package/dist/et-EE-Dj0jysHw.js +0 -7
- package/dist/external-link-BxiqXr7-.js +0 -20
- package/dist/fi-FI-4ckffUlB.js +0 -7
- package/dist/fi-FI-AQc_uafE.js +0 -7
- package/dist/fi-FI-BUUV58aZ.js +0 -7
- package/dist/fi-FI-BvjOb0Oi.js +0 -7
- package/dist/fi-FI-CGqRN2IG.js +0 -60
- package/dist/fi-FI-Ci2zcIZj.js +0 -31
- package/dist/fi-FI-lFhGznBk2.js +0 -7
- package/dist/formFieldsUtils-DGrXBMOZ.js +0 -7
- package/dist/formUtils-C7vlzCV-.js +0 -78
- package/dist/fr-FR-B95kf8uT2.js +0 -7
- package/dist/fr-FR-BuQwZ2oq.js +0 -7
- package/dist/fr-FR-BwhO0tqx.js +0 -60
- package/dist/fr-FR-CZs4UzUR.js +0 -7
- package/dist/fr-FR-Cq7iIftz.js +0 -31
- package/dist/fr-FR-CzKTntJm.js +0 -7
- package/dist/fr-FR-e7lKrFcK.js +0 -7
- package/dist/getLegalEntityCountry-C6bSV6sB.js +0 -17
- package/dist/getName-BtgdCWSR.js +0 -35
- package/dist/getProblemsForEntity-B9GOFyRX.js +0 -16
- package/dist/getTrustedDecisionMakers-D2yayvPr.js +0 -25
- package/dist/gift-CX0qVK1O.js +0 -20
- package/dist/globalStore-BCeQ8cDF.js +0 -419
- package/dist/graph-idneKCfM.js +0 -32
- package/dist/graph-up-BZtGbTh8.js +0 -38
- package/dist/headquarter-pYPoPBZM.js +0 -42
- package/dist/hotel-DcStWscD.js +0 -33
- package/dist/hr-HR-BFy27vAx2.js +0 -7
- package/dist/hr-HR-BXLWA1xd.js +0 -60
- package/dist/hr-HR-CN0us45A.js +0 -7
- package/dist/hr-HR-DVJaypbL.js +0 -7
- package/dist/hr-HR-Ngyn0CeW.js +0 -7
- package/dist/hr-HR-WsApmYld.js +0 -7
- package/dist/hr-HR-iC0oTR81.js +0 -31
- package/dist/http-D5tz1jGD.js +0 -149
- package/dist/hu-HU-BXhdx-ju.js +0 -31
- package/dist/hu-HU-Bdjd0HM0.js +0 -7
- package/dist/hu-HU-D_5yVmCo.js +0 -7
- package/dist/hu-HU-Nb-5azdf.js +0 -60
- package/dist/hu-HU-kcQkkxnT2.js +0 -7
- package/dist/hu-HU-rbT-Gfxm.js +0 -7
- package/dist/hu-HU-xO5SwtyK.js +0 -7
- package/dist/image-Cu6NenSs.js +0 -23
- package/dist/info-BFv37bQB.js +0 -32
- package/dist/info-filled-d8JiHhYQ.js +0 -32
- package/dist/invalidateRootLegalEntity-D7_UqU5H.js +0 -45
- package/dist/isEmpty-Bi8OJ7I4.js +0 -14
- package/dist/isEmptyEntity-CCwgjz_g.js +0 -44
- package/dist/it-IT-B0pCVo4V.js +0 -60
- package/dist/it-IT-B2zFnv7K.js +0 -7
- package/dist/it-IT-BDkY4_D3.js +0 -31
- package/dist/it-IT-BUJ6M3KT2.js +0 -7
- package/dist/it-IT-DiJG8CVH.js +0 -7
- package/dist/it-IT-QMmUeFIw.js +0 -7
- package/dist/it-IT-wx2DTjIq.js +0 -7
- package/dist/ja-JP-B1AjiTAA2.js +0 -7
- package/dist/ja-JP-BchEmvKT.js +0 -7
- package/dist/ja-JP-CYNEiARm.js +0 -7
- package/dist/ja-JP-CYmySE1y.js +0 -7
- package/dist/ja-JP-DOkTs_1m.js +0 -31
- package/dist/ja-JP-DoROjKZt.js +0 -60
- package/dist/ja-JP-K0GtGc1m.js +0 -7
- package/dist/japanSupportUtils-DqvGrGbm.js +0 -11
- package/dist/keys-fzUbt2xF.js +0 -20
- package/dist/listToRecord-wN5QNS0D.js +0 -10
- package/dist/localizeDateString-Bni_Kn5k.js +0 -35
- package/dist/location-D--t6qb1.js +0 -23
- package/dist/lt-LT-2KIisO4_.js +0 -7
- package/dist/lt-LT-BwsC_PRy.js +0 -7
- package/dist/lt-LT-CDRKdIqh.js +0 -60
- package/dist/lt-LT-CfUZy3Nu.js +0 -7
- package/dist/lt-LT-Csda84LY.js +0 -7
- package/dist/lt-LT-DKeyLOpW2.js +0 -7
- package/dist/lt-LT-DpMT3Dw2.js +0 -31
- package/dist/lv-LV-B_twW5aF.js +0 -7
- package/dist/lv-LV-BlsECQxr.js +0 -60
- package/dist/lv-LV-CIkyBWzC2.js +0 -7
- package/dist/lv-LV-CaTht4v3.js +0 -7
- package/dist/lv-LV-DeE0FbCk.js +0 -7
- package/dist/lv-LV-M8ADb0dX.js +0 -7
- package/dist/lv-LV-aPZP5Wh5.js +0 -31
- package/dist/mail-CoQ5t6Ml.js +0 -20
- package/dist/mapExistingFile-AUOevYJs.js +0 -135
- package/dist/mapJpAddressSchemaToAddressLocalizations-DFgQADg8.js +0 -61
- package/dist/mapLegalEntityToIndividualSchema-CNdXP4KZ.js +0 -207
- package/dist/mapTransferInstrumentToPayoutAccount-DaAa5pOZ.js +0 -44
- package/dist/minus-circle-filled-BdvEdxjZ.js +0 -30
- package/dist/nl-NL-BPZ4ggwt.js +0 -7
- package/dist/nl-NL-BSq1sTYp2.js +0 -7
- package/dist/nl-NL-CQ0C9N3m.js +0 -60
- package/dist/nl-NL-Ch6Gx-ay.js +0 -7
- package/dist/nl-NL-K11VO8LF.js +0 -31
- package/dist/nl-NL-kUujSdLA.js +0 -7
- package/dist/nl-NL-lkzdYqOX.js +0 -7
- package/dist/no-NO-BNGILdWq.js +0 -31
- package/dist/no-NO-CRUvKPvc2.js +0 -7
- package/dist/no-NO-CSn5Ou1S.js +0 -7
- package/dist/no-NO-DAK8yauA.js +0 -7
- package/dist/no-NO-DEmXDlJQ.js +0 -7
- package/dist/no-NO-DyJlM9HH.js +0 -7
- package/dist/no-NO-FfT6jM26.js +0 -60
- package/dist/omitObscuredFieldsIfUnchanged-Bl-KmvQB.js +0 -20
- package/dist/options-horizontal-p3bn-0YP.js +0 -30
- package/dist/partner-DAXf38Tp.js +0 -30
- package/dist/patternValidators-DMnU4iGe.js +0 -73
- package/dist/pay-by-link-plane-JUQ9G9Rb.js +0 -33
- package/dist/payout-Bp5yyaPy.js +0 -38
- package/dist/pdf-nzZcuCSf.js +0 -22316
- package/dist/pdf.worker.min-DE42kNC_.js +0 -74645
- package/dist/person-CBe70ddT.js +0 -23
- package/dist/pl-PL-C8O5EIza.js +0 -7
- package/dist/pl-PL-CpA94K5Z.js +0 -7
- package/dist/pl-PL-D9oajkyF.js +0 -7
- package/dist/pl-PL-DQ3obGGK.js +0 -7
- package/dist/pl-PL-D_FRhmnE2.js +0 -7
- package/dist/pl-PL-DhJQbVhT.js +0 -31
- package/dist/pl-PL-vU5_jmwK.js +0 -60
- package/dist/plus-DMRvapmz.js +0 -20
- package/dist/plus-circle-filled-DUmcjiaH.js +0 -30
- package/dist/process-field-configurations-D-i--Py4.js +0 -279
- package/dist/processCapabilities-C3-DrzSD.js +0 -869
- package/dist/pt-BR-B3IHhi-A.js +0 -31
- package/dist/pt-BR-BJXrQjtE2.js +0 -7
- package/dist/pt-BR-BM2eCcyF.js +0 -60
- package/dist/pt-BR-CHDCegc8.js +0 -7
- package/dist/pt-BR-D9hPCc0c.js +0 -7
- package/dist/pt-BR-DyTpIjam.js +0 -7
- package/dist/pt-BR-u_Sv-NkV.js +0 -7
- package/dist/pt-PT-3DrMwWiz.js +0 -31
- package/dist/pt-PT-B1k39MuE.js +0 -7
- package/dist/pt-PT-BXlxPqah.js +0 -7
- package/dist/pt-PT-Bmgh2Wtd.js +0 -60
- package/dist/pt-PT-CUSJRIfa2.js +0 -7
- package/dist/pt-PT-GnCWUuu_.js +0 -7
- package/dist/pt-PT-ne6PkZM_.js +0 -7
- package/dist/recurring-DoBaCr6V.js +0 -23
- package/dist/resolveEnvironment-BI384OW7.js +0 -985
- package/dist/revenue-accelerate-BTrH1Kyc.js +0 -30
- package/dist/ro-RO-7iyzlI6_.js +0 -60
- package/dist/ro-RO-B1HkfIdK.js +0 -31
- package/dist/ro-RO-BvYWHJVi.js +0 -7
- package/dist/ro-RO-CcQh__lV2.js +0 -7
- package/dist/ro-RO-CfsDLBM4.js +0 -7
- package/dist/ro-RO-DGzJvIXf.js +0 -7
- package/dist/ro-RO-rwkWejS6.js +0 -7
- package/dist/roleMetadata-bE5AIBEY.js +0 -56
- package/dist/save-DtVvA4bm.js +0 -20
- package/dist/search-CwNfiquk.js +0 -30
- package/dist/show-mWAebR3W.js +0 -23
- package/dist/sk-SK-BQgZ5CQA.js +0 -7
- package/dist/sk-SK-BR0l7uzo.js +0 -7
- package/dist/sk-SK-BpMbHWuR.js +0 -60
- package/dist/sk-SK-C1lm7CTj.js +0 -7
- package/dist/sk-SK-Cd48q22c.js +0 -31
- package/dist/sk-SK-ChCtHT1F.js +0 -7
- package/dist/sk-SK-D6xioiMY2.js +0 -7
- package/dist/sl-SI-BZ5Dm_pA.js +0 -7
- package/dist/sl-SI-CRk5cPQq2.js +0 -7
- package/dist/sl-SI-D5wg7xsZ.js +0 -7
- package/dist/sl-SI-DHn8rJ33.js +0 -7
- package/dist/sl-SI-DpgW-r5w.js +0 -7
- package/dist/sl-SI-DvXrcue1.js +0 -31
- package/dist/sl-SI-gUNcHR30.js +0 -60
- package/dist/solution-payments-rYk5tB74.js +0 -20
- package/dist/store-vKCOvUVJ.js +0 -20
- package/dist/styles-DfQtSmqv.js +0 -6678
- package/dist/sv-SE-BfLV5o3E.js +0 -7
- package/dist/sv-SE-BhwzqPYQ.js +0 -60
- package/dist/sv-SE-CMkXS2cO.js +0 -31
- package/dist/sv-SE-CRPJUyOE2.js +0 -7
- package/dist/sv-SE-CloWnXU5.js +0 -7
- package/dist/sv-SE-CzO_XtYz.js +0 -7
- package/dist/sv-SE-Iv-yFbrD2.js +0 -7
- package/dist/terminal-1-BOv4YorG.js +0 -30
- package/dist/toFullWidth-CZdUBEal.js +0 -52
- package/dist/translation-BHUZ_WP7.js +0 -915
- package/dist/trustUtil-BBkbuta4.js +0 -99
- package/dist/types-BEc7vus9.js +0 -58
- package/dist/types-CBQZm0Fk.js +0 -150
- package/dist/types-CEJyC_Mj.js +0 -66
- package/dist/types-DyF8eymA.js +0 -19
- package/dist/unincorporated-partnership-CtwHVLzp.js +0 -11
- package/dist/upload-StAXlB73.js +0 -23
- package/dist/useAccountHolder-aoHH1XJq.js +0 -102
- package/dist/useAllowedCountries-Dea38KPz.js +0 -74
- package/dist/useAnalyticsContext-pNSIB8AZ.js +0 -12
- package/dist/useAssociatedLegalEntity-BOtek2pM.js +0 -35
- package/dist/useBusinessDetailsData-Dw8VtZkI.js +0 -4654
- package/dist/useBusinessLines-BE_hXjkY.js +0 -27
- package/dist/useCanSeeIntroduction-C7a4t7HJ.js +0 -39
- package/dist/useCapabilities-Bn6IcCNt.js +0 -12
- package/dist/useCreateLegalEntity-DWNHPjAr.js +0 -24
- package/dist/useDataMissingRemediations-Dc8p_hCP.js +0 -39
- package/dist/useDataset-VrL_8cq1.js +0 -96
- package/dist/useDeleteTransferInstrument-Bf3I-lk0.js +0 -31
- package/dist/useForm-CbSEaCrl.js +0 -502
- package/dist/useFormContext-DGW15-id.js +0 -504
- package/dist/useLegalEntity-k2lxoMzW.js +0 -48
- package/dist/useMultiForm-DOQ6_HoL.js +0 -817
- package/dist/useNavigate-zhguGWRa.js +0 -269
- package/dist/useOnboardingStatus-CHBhX5te.js +0 -23
- package/dist/usePciQuestionnaireList-Y87h-w4C.js +0 -26
- package/dist/useSalesChannels-f8ZEd90X.js +0 -47
- package/dist/useScenarios-D2TFpeEU.js +0 -55
- package/dist/useTaskLandedEvent-BdO8qSBg.js +0 -26
- package/dist/useTaskStatus-DPyTD_Ko.js +0 -23
- package/dist/useTermsOfServiceStatus-C04Xyc0M.js +0 -39
- package/dist/useToastContext-BIwgSCxA.js +0 -12
- package/dist/useToggleContext-B57-85xe.js +0 -21
- package/dist/useTrustMembers-DYKQfH8R.js +0 -152
- package/dist/useUnincorporatedPartnershipMembers-CtuG_S-a.js +0 -70
- package/dist/useUpdateBusinessLines-CaT_-l9v.js +0 -68
- package/dist/useUpdateLegalEntity-CfJs-A1X.js +0 -29
- package/dist/utils-Bx8jBrij.js +0 -46
- package/dist/utils-C1DzW0Hz.js +0 -207
- package/dist/utils-Cd8I9QM7.js +0 -2507
- package/dist/utils-TlcnGMeG.js +0 -188
- package/dist/utils-g_Wl4-9Z.js +0 -24
- package/dist/validate-CaRbtwlX.js +0 -411
- package/dist/validate-J6U_ulFs.js +0 -397
- package/dist/validate-maTmOby_.js +0 -109
- package/dist/validationError-CD5jY1NM.js +0 -68
- package/dist/validationResult-OLfDDPfY.js +0 -77
- package/dist/validatorUtils-Dz6AklT-.js +0 -107
- package/dist/warning-circle-fill-BZhgf5Z8.js +0 -30
- package/dist/warning-diamond-filled-hJarrWMO.js +0 -30
- package/dist/webinar-j4tLxNVB.js +0 -33
- /package/dist/{AD-Dz8oe6Pg.js → AD-Clkur2Hx.js} +0 -0
- /package/dist/{AE-CTdU1tzb.js → AE-BUOfE-VR.js} +0 -0
- /package/dist/{AI-tjrpVbOw.js → AI-BApAOdVW.js} +0 -0
- /package/dist/{AL-DvyI05UB.js → AL-DfPgkH9x.js} +0 -0
- /package/dist/{AR-DI6rdPa-.js → AR-Bddz61XJ.js} +0 -0
- /package/dist/{AS-ByXIuSCx.js → AS-C3xgvOIz.js} +0 -0
- /package/dist/{AT-CvSbaCoE.js → AT-BG3-OqzL.js} +0 -0
- /package/dist/{AT-DYSevBIw.js → AT-BNvEEyA1.js} +0 -0
- /package/dist/{AT-CutjdISu.js → AT-CaB9iU_v.js} +0 -0
- /package/dist/{AT-Dt3ZU8Yh.js → AT-DnJdtYnd.js} +0 -0
- /package/dist/{AU-EWPyqdHL.js → AU-B7Lwienf.js} +0 -0
- /package/dist/{AU-DzJ7QlNR.js → AU-CcGu7r3p.js} +0 -0
- /package/dist/{AU-C6u3aod7.js → AU-DL1fsj76.js} +0 -0
- /package/dist/{AU-CLU0Xn_D.js → AU-yI1HPsCK.js} +0 -0
- /package/dist/{AX-DJ84WiiY.js → AX-BTtRN-MP.js} +0 -0
- /package/dist/{AZ-o_CDsMs4.js → AZ-CXVL6e85.js} +0 -0
- /package/dist/{AnalyticsContext-CbM5V7Nw.js → AnalyticsContext-BFrJmsp0.js} +0 -0
- /package/dist/{BA-DL2O-nPB.js → BA-27B-jpFq.js} +0 -0
- /package/dist/{BE-CyRTa5vY.js → BE-BIPb3aCp.js} +0 -0
- /package/dist/{BE-CT0bdDbu.js → BE-BSUwgR6_.js} +0 -0
- /package/dist/{BE-DgU3CTNg.js → BE-BsQPppoQ.js} +0 -0
- /package/dist/{BE-7F1ZOUtb.js → BE-S2mx1KWp.js} +0 -0
- /package/dist/{BG-B7VMgZNt.js → BG-ChvSTIBz.js} +0 -0
- /package/dist/{BH-Bot1MlCL.js → BH-D1HvWueK.js} +0 -0
- /package/dist/{BM-CfbbOZEU.js → BM-bLwVUrnz.js} +0 -0
- /package/dist/{BR-DrGkuPBg.js → BR-B6k-5VHk.js} +0 -0
- /package/dist/{BR-BikIex5m.js → BR-CZRoZyCm.js} +0 -0
- /package/dist/{BR-BaEKrqwp.js → BR-Df_k79xR.js} +0 -0
- /package/dist/{BR-PBodf94A.js → BR-nSEEl5uz.js} +0 -0
- /package/dist/{BS-CR7QZvMY.js → BS-Bf402NRj.js} +0 -0
- /package/dist/{BV-pdJ1HYkg.js → BV-CJwVioP4.js} +0 -0
- /package/dist/{BY-RUR9XmBt.js → BY-CYaB1wEE.js} +0 -0
- /package/dist/{CA-6iRpP8zm.js → CA-B49VPJKw.js} +0 -0
- /package/dist/{CA-CgOysQQa.js → CA-BJlN0jtV.js} +0 -0
- /package/dist/{CA-BM1GlX51.js → CA-C_C9nVmL.js} +0 -0
- /package/dist/{CA-Bilo42jc.js → CA-Drxrt6ud.js} +0 -0
- /package/dist/{CH-HrO9afDv.js → CH-8VbtrnFA.js} +0 -0
- /package/dist/{CH-gKI7wttp.js → CH-B0Z9FJR9.js} +0 -0
- /package/dist/{CH-BZ2dJJcd.js → CH-BASES6q1.js} +0 -0
- /package/dist/{CH-CmSkzRbO.js → CH-C93Zls9o.js} +0 -0
- /package/dist/{CN-BUtZk2Mu.js → CN-CEIcYgEd.js} +0 -0
- /package/dist/{CR-CnpHHfms.js → CR-CU6MVhAz.js} +0 -0
- /package/dist/{CY-Ge_L3SKC.js → CY-DSZIX0eb.js} +0 -0
- /package/dist/{CZ-Cxwo_jP6.js → CZ-Bk7V7DHn.js} +0 -0
- /package/dist/{CZ-C1HmDbqn.js → CZ-CG9NlpHx.js} +0 -0
- /package/dist/{CZ-B8b5P2Or.js → CZ-CUYgGHVo.js} +0 -0
- /package/dist/{CZ-I8UM9ti_.js → CZ-DD_9_zGY.js} +0 -0
- /package/dist/{ContractViewer-B8CspWV4.js → ContractViewer-JtnAXSDa.js} +0 -0
- /package/dist/{DE-HSEDrUfG.js → DE-3Qc-SfVV.js} +0 -0
- /package/dist/{DE-pQVkh64s.js → DE-BFenFnWV.js} +0 -0
- /package/dist/{DE-C2MEdoRW.js → DE-BX-_ptty.js} +0 -0
- /package/dist/{DE-CSMMxMuZ.js → DE-CKGX5CHO.js} +0 -0
- /package/dist/{DK-BCcPGFzQ.js → DK--Bs4HfJM.js} +0 -0
- /package/dist/{DK-dsRhTFow.js → DK-B9lf0wLy.js} +0 -0
- /package/dist/{DK-TyxXs-DV.js → DK-DORnwCWQ.js} +0 -0
- /package/dist/{DK-mVm8rtJr.js → DK-EjkKz2GN.js} +0 -0
- /package/dist/{DO-B84eOniD.js → DO-D4wgMRWE.js} +0 -0
- /package/dist/{EC-BAzODm77.js → EC-B2FGK-mr.js} +0 -0
- /package/dist/{EE-D2n6E72J.js → EE-qXeASUC-.js} +0 -0
- /package/dist/{ES-CsmTJRIi.js → ES-BBz54aGb.js} +0 -0
- /package/dist/{ES-D4WzOTek.js → ES-C89tOy9e.js} +0 -0
- /package/dist/{ES-DnRoTFNh.js → ES-IBdkjuIk.js} +0 -0
- /package/dist/{ES-BI7auc_D.js → ES-pbBXmvb6.js} +0 -0
- /package/dist/{FI-YOhI9TrO.js → FI-C2Ehs0Cl.js} +0 -0
- /package/dist/{FI-DJZScc7l.js → FI-DCXniiD4.js} +0 -0
- /package/dist/{FI-DhWyH1DT.js → FI-DHkXLS9S.js} +0 -0
- /package/dist/{FI-CZ6ep3W_.js → FI-K6KjFCWK.js} +0 -0
- /package/dist/{FJ-BcqfFVGi.js → FJ-V_2w3UTO.js} +0 -0
- /package/dist/{FO-BuQb8zK_.js → FO-DR-Xnm7u.js} +0 -0
- /package/dist/{FR-EX-aYUJ3.js → FR-B5uEo3fD.js} +0 -0
- /package/dist/{FR-DYfYAn5S.js → FR-CQw_46PX.js} +0 -0
- /package/dist/{FR-SxebWfwR.js → FR-CtpYelsq.js} +0 -0
- /package/dist/{FR-CWb0_Fcq.js → FR-CxvXXv-O.js} +0 -0
- /package/dist/{GB-CszgE98l.js → GB-BDGKJSiZ.js} +0 -0
- /package/dist/{GB-BycqX1ng.js → GB-DCF0Nkem.js} +0 -0
- /package/dist/{GB-DlvvuQuQ.js → GB-G_B8HSJg.js} +0 -0
- /package/dist/{GB-q2GO1nX8.js → GB-tfbORrua.js} +0 -0
- /package/dist/{GE-ChK3V1hi.js → GE-By9lo4py.js} +0 -0
- /package/dist/{GF-fTBjIC0q.js → GF-B0xFBl9q.js} +0 -0
- /package/dist/{GG-Cppga3Z4.js → GG-bAeosM_i.js} +0 -0
- /package/dist/{GI-Cm7N6fbE.js → GI-DfkPsLw0.js} +0 -0
- /package/dist/{GL-C75JniJw.js → GL-DhRtJPZY.js} +0 -0
- /package/dist/{GP-DhHOAa8k.js → GP-DNyYQvJw.js} +0 -0
- /package/dist/{GR-zOZilI5v.js → GR-DK-QrYIO.js} +0 -0
- /package/dist/{GT-B6tGLPxx.js → GT-BRuMYK92.js} +0 -0
- /package/dist/{GU-DjjJkDVU.js → GU-DAYIt05K.js} +0 -0
- /package/dist/{HK-CVaMk2Vl.js → HK-B4jzjZtL.js} +0 -0
- /package/dist/{HK-Yj_9Qbs3.js → HK-C1qODiFA.js} +0 -0
- /package/dist/{HK-Bs3Wsh4t.js → HK-DDKKwlVK.js} +0 -0
- /package/dist/{HK-BXsi3wQZ.js → HK-DeKSh6yq.js} +0 -0
- /package/dist/{HR-BR9TaCeP.js → HR-D0EqC8kx.js} +0 -0
- /package/dist/{HR-C-NuIOkA.js → HR-DOktpDnh.js} +0 -0
- /package/dist/{HR-8jCYyclY.js → HR-DomyNfJ0.js} +0 -0
- /package/dist/{HR-DvG9lG0o.js → HR-DxBWHi9K.js} +0 -0
- /package/dist/{HU-kkbB9HNQ.js → HU--SKUZPJ2.js} +0 -0
- /package/dist/{HU-B4hChLQO.js → HU-BS5tTBem.js} +0 -0
- /package/dist/{HU-o4ILK6JM.js → HU-DIT5cG5Z.js} +0 -0
- /package/dist/{HU-DF7a_-3t.js → HU-HvuEJeUR.js} +0 -0
- /package/dist/{HandlerContext-CIedIvkP.js → HandlerContext-DeMa68z0.js} +0 -0
- /package/dist/{ID-CnOsjpEC.js → ID-BBzj2tyK.js} +0 -0
- /package/dist/{IE-Dwlg9nat.js → IE-BB2lTAcu.js} +0 -0
- /package/dist/{IE-CtesijIU.js → IE-CxtzANSG.js} +0 -0
- /package/dist/{IE-dmyHscm0.js → IE-DOtxtX8R.js} +0 -0
- /package/dist/{IE-B3ysSG_S.js → IE-DwzVxL1C.js} +0 -0
- /package/dist/{IL-B2GfQOoK.js → IL-CgJ0eWPT.js} +0 -0
- /package/dist/{IM-D9Hb0nwZ.js → IM-Ca1LRzUz.js} +0 -0
- /package/dist/{IN-Qhys3xn2.js → IN--pr2-g7e.js} +0 -0
- /package/dist/{IS-DTXiGHYB.js → IS-BZeqGau3.js} +0 -0
- /package/dist/{IT-CHV5-m07.js → IT-BioiAQgd.js} +0 -0
- /package/dist/{IT-BZGkLCTQ.js → IT-CISIu45c.js} +0 -0
- /package/dist/{IT-Dimtibs1.js → IT-CUgNzWLF.js} +0 -0
- /package/dist/{IT-DFeNc5UK.js → IT-DwZn8LHj.js} +0 -0
- /package/dist/{InputGroup-B8AaetlI.js → InputGroup-B4U3QVEp.js} +0 -0
- /package/dist/{JE-D7_0MZEA.js → JE-BCj36onT.js} +0 -0
- /package/dist/{JM-CUVKn5To.js → JM-b03xrGTz.js} +0 -0
- /package/dist/{JO-B9_bPqbF.js → JO-CA8m_H5N.js} +0 -0
- /package/dist/{JP-z_PjepRf.js → JP-DroDT2u3.js} +0 -0
- /package/dist/{KR-DaFOJAbV.js → KR-BkBLDQIT.js} +0 -0
- /package/dist/{KW-BLH4fj8S.js → KW-dB3SXEf8.js} +0 -0
- /package/dist/{KY-DG3Xehmz.js → KY-mZ-zKVkq.js} +0 -0
- /package/dist/{KZ-BjnXKq2l.js → KZ-CcyUPGdv.js} +0 -0
- /package/dist/{LB-CY5c_gqN.js → LB-DmtcVmjU.js} +0 -0
- /package/dist/{LI-BkFK_qrZ.js → LI-haSXATP0.js} +0 -0
- /package/dist/{LT-2wka4qNS.js → LT-BkxAhfJz.js} +0 -0
- /package/dist/{LT--zST1zqj.js → LT-CYlhLD3-.js} +0 -0
- /package/dist/{LT-BV7s3TCv.js → LT-DnvVPVhz.js} +0 -0
- /package/dist/{LT-BxqPzqgf.js → LT-GP546RUy.js} +0 -0
- /package/dist/{LU-Bt4sIWIT.js → LU-CnQilYzI.js} +0 -0
- /package/dist/{LV-B-FeTyBQ.js → LV-BJoOuCmD.js} +0 -0
- /package/dist/{MC-D92BHmGr.js → MC-1OhRuam2.js} +0 -0
- /package/dist/{MD-BzJaxo1n.js → MD-DN7TRpmW.js} +0 -0
- /package/dist/{ME-Iw66DM2s.js → ME-CuMiA40n.js} +0 -0
- /package/dist/{MK-yRjMHvLF.js → MK-DGR-uR66.js} +0 -0
- /package/dist/{MP-CGHoAYPz.js → MP-xhfj0dkC.js} +0 -0
- /package/dist/{MQ-Db73c-TY.js → MQ-CZu5G2-t.js} +0 -0
- /package/dist/{MR-CzGlj8ce.js → MR--V7elAIS.js} +0 -0
- /package/dist/{MT-n0Cp6O8-.js → MT-BmkVDeF2.js} +0 -0
- /package/dist/{MU-C57EyXfP.js → MU-LzgqzZzT.js} +0 -0
- /package/dist/{MX-JSUPc6V8.js → MX-z-WoZkPd.js} +0 -0
- /package/dist/{MY-Bbgpg3w2.js → MY-WsFwWp2U.js} +0 -0
- /package/dist/{NC-BeqCqe7o.js → NC-B9M8cc6C.js} +0 -0
- /package/dist/{NL-C1r7ND7d.js → NL-Bn2QKc20.js} +0 -0
- /package/dist/{NL-KVjpCVaw.js → NL-BosPsuiC.js} +0 -0
- /package/dist/{NL-CIX2R11u.js → NL-CXjh0eXG.js} +0 -0
- /package/dist/{NL-B22K1Zb0.js → NL-DQew6XR-.js} +0 -0
- /package/dist/{NO-CV0UtHqk.js → NO--AQKkHLW.js} +0 -0
- /package/dist/{NO-BhYtIUv1.js → NO-BuWcaqBm.js} +0 -0
- /package/dist/{NO-DLFLW3I8.js → NO-CFh5Lkfr.js} +0 -0
- /package/dist/{NO-CFty2TsC.js → NO-D7BSfuUs.js} +0 -0
- /package/dist/{NZ-DZ75lvmW.js → NZ-BDDXct1F.js} +0 -0
- /package/dist/{NZ-ClQC7uEQ.js → NZ-DyVhIxBu.js} +0 -0
- /package/dist/{PE-BhP-iF08.js → PE-DJZc_8Lk.js} +0 -0
- /package/dist/{PF-DZJu8LvP.js → PF-D593LuXT.js} +0 -0
- /package/dist/{PH-8s_pcD1T.js → PH-CJRjYgx3.js} +0 -0
- /package/dist/{PK-BkHx9Wu7.js → PK-C1TVRYA6.js} +0 -0
- /package/dist/{PL-oVwazamy.js → PL-7-9sJ6je.js} +0 -0
- /package/dist/{PL-CZ0JZlv4.js → PL-C3tudSnw.js} +0 -0
- /package/dist/{PL-DjTZTZqB.js → PL-CtjljK4S.js} +0 -0
- /package/dist/{PL-Db0WKekw.js → PL-DasLrwsx.js} +0 -0
- /package/dist/{PM-Bcq0SkSj.js → PM-CPvVGX_s.js} +0 -0
- /package/dist/{PR-N31WZxLD.js → PR-C6mnN4I1.js} +0 -0
- /package/dist/{PS-DzthwPAx.js → PS-Bqa7HAb6.js} +0 -0
- /package/dist/{PT-ilpiMMVG.js → PT-BHFP2Jx8.js} +0 -0
- /package/dist/{PT-C6fd2w3g.js → PT-C9aMzry5.js} +0 -0
- /package/dist/{PT-C3FlrAqt.js → PT-Ck3Uvmoz.js} +0 -0
- /package/dist/{PT-BVfq_KIl.js → PT-DMEuvIu6.js} +0 -0
- /package/dist/{QA-zn4Gdzbo.js → QA-B2A0rFrR.js} +0 -0
- /package/dist/{RE-dG3KJMMx.js → RE-BSdvJRM5.js} +0 -0
- /package/dist/{RO-Dtlve3hZ.js → RO-BZxtXYEM.js} +0 -0
- /package/dist/{RO-B1UBvxsc.js → RO-CJlQuJqy.js} +0 -0
- /package/dist/{RO-BL-J1_yg.js → RO-C_QrkrYl.js} +0 -0
- /package/dist/{RO-BXtuhVoN.js → RO-CewdEU2z.js} +0 -0
- /package/dist/{RS-DIpTuX70.js → RS-DAtcOeON.js} +0 -0
- /package/dist/{RU-B7YwaezI.js → RU-CDpkuVOX.js} +0 -0
- /package/dist/{SA-yHvpRBBt.js → SA-BoAcP38a.js} +0 -0
- /package/dist/{SE-CccuzUP0.js → SE-Ca_yLiKO.js} +0 -0
- /package/dist/{SE-gXHu0efH.js → SE-DX5R7MEM.js} +0 -0
- /package/dist/{SE-pMhyd7KJ.js → SE-DzRKAJvT.js} +0 -0
- /package/dist/{SE-CfxNbl59.js → SE-U0u4yomj.js} +0 -0
- /package/dist/{SG-DIKkp5VX.js → SG-BR0qm_Lu.js} +0 -0
- /package/dist/{SG-CODE9yV_.js → SG-Dm4nWFwC.js} +0 -0
- /package/dist/{SG-fAOioO1i.js → SG-ljx49JLF.js} +0 -0
- /package/dist/{SG-CGk7k8y6.js → SG-sKZVzzs9.js} +0 -0
- /package/dist/{SI-BpwxzWXI.js → SI-BIBw5Y4Z.js} +0 -0
- /package/dist/{SI-D8ngpNLP.js → SI-BxOiA06G.js} +0 -0
- /package/dist/{SI-DgNZ746W.js → SI-CHQHMWZa.js} +0 -0
- /package/dist/{SI-CtMaFIsz.js → SI-CbzJWJo5.js} +0 -0
- /package/dist/{SJ-SG7xxYUX.js → SJ-C0EiPIY7.js} +0 -0
- /package/dist/{SK-CNT7QVie.js → SK-B-_-RVXx.js} +0 -0
- /package/dist/{SK-D8vU29-x.js → SK-BPuPGFPo.js} +0 -0
- /package/dist/{SK-DssnPaZv.js → SK-Bg9K35hT.js} +0 -0
- /package/dist/{SK-C7ldUW73.js → SK-M9wg6on5.js} +0 -0
- /package/dist/{SM-Ds8vicT5.js → SM-BAP1izca.js} +0 -0
- /package/dist/{TF-Ckf_6iT5.js → TF-BzLXwUD9.js} +0 -0
- /package/dist/{TH-2sIVIZNa.js → TH-wvwE8m03.js} +0 -0
- /package/dist/{TL-OSKwf5cB.js → TL-CAwOhktT.js} +0 -0
- /package/dist/{TN-BcUBhs_y.js → TN-Bs-VE6A_.js} +0 -0
- /package/dist/{TR-nO7zl2t7.js → TR-7uYc2xp7.js} +0 -0
- /package/dist/{TT-uQXIiTh9.js → TT-DbzL2xhJ.js} +0 -0
- /package/dist/{TW-ra8aVP1u.js → TW-BTAvA4FA.js} +0 -0
- /package/dist/{UA-ChP4sFEB.js → UA-BAkAL82L.js} +0 -0
- /package/dist/{US-D6PlTpHk.js → US-BXek71cY.js} +0 -0
- /package/dist/{US-CPcVUQez.js → US-CBUD9sMP.js} +0 -0
- /package/dist/{US-F-OhVaqg.js → US-CyRlJ_CX.js} +0 -0
- /package/dist/{US-amE0CRbB.js → US-D3s6UvEg.js} +0 -0
- /package/dist/{UY-BFN4uNVz.js → UY-Bq43JSIl.js} +0 -0
- /package/dist/{VA-lz_OQgNz.js → VA-CHkQ7jk0.js} +0 -0
- /package/dist/{VG-CUKKrF3h.js → VG-DnUOjTKa.js} +0 -0
- /package/dist/{VI-D1i4Oi0B.js → VI-CjjaTPrq.js} +0 -0
- /package/dist/{VN-DRaYj63j.js → VN-DgqMueJl.js} +0 -0
- /package/dist/{WF-K2TrgrKu.js → WF-Czcwchbb.js} +0 -0
- /package/dist/{YT-CEOdE-OK.js → YT-BTQIBrb1.js} +0 -0
- /package/dist/{ZA-BVXb4Fcr.js → ZA-BAufwt8q.js} +0 -0
- /package/dist/{basePatterns-B0FC-Crd.js → basePatterns-plHFNzgJ.js} +0 -0
- /package/dist/{bg-BG-DqOqFO0A.js → bg-BG-B1zNismI.js} +0 -0
- /package/dist/{bg-BG-DLd3BaDx.js → bg-BG-BVoCVNdz.js} +0 -0
- /package/dist/{bg-BG-B845EAcI.js → bg-BG-BpPjqqen.js} +0 -0
- /package/dist/{bg-BG-BsrzL-U8.js → bg-BG-CQgiIkWL.js} +0 -0
- /package/dist/{bg-BG-CncTIGKT2.js → bg-BG-CmuahJEZ.js} +0 -0
- /package/dist/{bg-BG-CUmjOcpi2.js → bg-BG-DUIc4CjB.js} +0 -0
- /package/dist/{bg-BG-BrYfHU1Y.js → bg-BG-qQc6pN4K.js} +0 -0
- /package/dist/{business-lines-DY5WHePf.js → business-lines-De9DsaVa.js} +0 -0
- /package/dist/{country-code-BjUoKbAN.js → country-code-CJk2hdPu.js} +0 -0
- /package/dist/{cs-CZ-Bl40lHzE.js → cs-CZ-CfiYuMi0.js} +0 -0
- /package/dist/{cs-CZ-n18LpZrJ2.js → cs-CZ-Cl6WgrU6.js} +0 -0
- /package/dist/{cs-CZ-IZhVT21N.js → cs-CZ-DGD5Pulk.js} +0 -0
- /package/dist/{cs-CZ-Is3lue5X2.js → cs-CZ-DUNmRoYr.js} +0 -0
- /package/dist/{cs-CZ-D08FCyDx.js → cs-CZ-Dz8kXdHw.js} +0 -0
- /package/dist/{cs-CZ-HMzN3w9M.js → cs-CZ-Jsmhr_B3.js} +0 -0
- /package/dist/{cs-CZ-C6VkcCUo.js → cs-CZ-fK4LxA1u.js} +0 -0
- /package/dist/{currency-B8-OEAgj.js → currency-DQwXq9Mc.js} +0 -0
- /package/dist/{da-DK-DJ5ddVnr2.js → da-DK-ANBIxDco.js} +0 -0
- /package/dist/{da-DK-CB-sFnhe.js → da-DK-Bwkz0Wxd.js} +0 -0
- /package/dist/{da-DK-CzCkRjoI2.js → da-DK-CWWLFjfT.js} +0 -0
- /package/dist/{da-DK-IX9UQUAb.js → da-DK-CXZXQspY.js} +0 -0
- /package/dist/{da-DK-B576UeqU.js → da-DK-CzyaFVpm.js} +0 -0
- /package/dist/{da-DK-CzFS-0y6.js → da-DK-NCs7m8qy.js} +0 -0
- /package/dist/{da-DK-BwIZqzDw.js → da-DK-SpVsMtf5.js} +0 -0
- /package/dist/{de-DE-DSP4aQRh.js → de-DE-BRJ0jBty.js} +0 -0
- /package/dist/{de-DE-CHdEma9v.js → de-DE-CT8rn19_.js} +0 -0
- /package/dist/{de-DE-BHik7H3o.js → de-DE-CVNJWoQd.js} +0 -0
- /package/dist/{de-DE-CfuejIRq.js → de-DE-DPkZZVMc.js} +0 -0
- /package/dist/{de-DE-CZ4lmioI2.js → de-DE-HdJ5vlQN.js} +0 -0
- /package/dist/{de-DE-Bki8tbcV2.js → de-DE-LLIuFER0.js} +0 -0
- /package/dist/{de-DE-C4PzkDzF.js → de-DE-flvryS_H.js} +0 -0
- /package/dist/{de-DE-C9UIqdWt.js → de-DE-w4l6boYT.js} +0 -0
- /package/dist/{debouncedInputEvent-CUZBv60e.js → debouncedInputEvent-D2-Kctv9.js} +0 -0
- /package/dist/{debugStore-BVjLDPIU.js → debugStore-Dwn1FXrh.js} +0 -0
- /package/dist/{decision-maker-type-CWrppE0k.js → decision-maker-type-NR4GFAeT.js} +0 -0
- /package/dist/{decision-makers-group-D53oFTHn.js → decision-makers-group-DAoxQRJ3.js} +0 -0
- /package/dist/{digital-wallet-CLOVHAow.js → digital-wallet-ByQCwU-K.js} +0 -0
- /package/dist/{document-blurred-DGXvRTC8.js → document-blurred-iJRUsQR5.js} +0 -0
- /package/dist/{document-cut-off-DbVQzqxC.js → document-cut-off-DhZYZ56P.js} +0 -0
- /package/dist/{document-expired-DKnTJ5T9.js → document-expired-CDV5yclN.js} +0 -0
- /package/dist/{document-front-Bn5jsEIh.js → document-front-tg-w81rp.js} +0 -0
- /package/dist/{el-GR-LUFCyvHj.js → el-GR-28yAVKwY.js} +0 -0
- /package/dist/{el-GR-B5dqrdWm.js → el-GR-BMGYrO4V.js} +0 -0
- /package/dist/{el-GR-XuQDipDR.js → el-GR-BfKp5abT.js} +0 -0
- /package/dist/{el-GR-3u6kc4gj.js → el-GR-Ctvm4US3.js} +0 -0
- /package/dist/{el-GR-DocTTdq-2.js → el-GR-D9MFsese.js} +0 -0
- /package/dist/{el-GR-CZs5BPVJ2.js → el-GR-D_JXywE0.js} +0 -0
- /package/dist/{el-GR-BUBdTCMP.js → el-GR-Df7yzbal.js} +0 -0
- /package/dist/{el-GR-Buy5IU8M.js → el-GR-DqTetsjB.js} +0 -0
- /package/dist/{emitEvent-B8K0cb1F.js → emitEvent-CcGIaOut.js} +0 -0
- /package/dist/{en-US-DdArZW-2.js → en-US-B82BbZaB.js} +0 -0
- /package/dist/{en-US-DLIlixDF.js → en-US-BIYEZxZV.js} +0 -0
- /package/dist/{en-US-BpCm0Bvk.js → en-US-BcTbYQei.js} +0 -0
- /package/dist/{en-US-BOJswraw.js → en-US-BqGRsgfO.js} +0 -0
- /package/dist/{en-US-VZ7ytmtB.js → en-US-BqvVH-Pi.js} +0 -0
- /package/dist/{en-US-ccX525iK.js → en-US-C1J9jcVI.js} +0 -0
- /package/dist/{en-US-D_g_DM_a2.js → en-US-C2htqfkP.js} +0 -0
- /package/dist/{en-US-D9vXTqQr.js → en-US-C6sEvgbn.js} +0 -0
- /package/dist/{en-US-CXdfrlM6.js → en-US-CRoNUEFi.js} +0 -0
- /package/dist/{en-US-gwxv5v9w.js → en-US-CWDI7JKT.js} +0 -0
- /package/dist/{en-US-DNQKfkN1.js → en-US-CeiLSh8o.js} +0 -0
- /package/dist/{en-US-CN15rSvL.js → en-US-D0fscfsz.js} +0 -0
- /package/dist/{en-US-Bw9LpxPe.js → en-US-D0pPfuzx.js} +0 -0
- /package/dist/{en-US-B-_7IR6A.js → en-US-D0qNFi4G.js} +0 -0
- /package/dist/{en-US-HW6CoTeP.js → en-US-DLsYeEWI.js} +0 -0
- /package/dist/{en-US-DmDPhSJN.js → en-US-DXLqOZX1.js} +0 -0
- /package/dist/{en-US-1Tznfcwg.js → en-US-DbUXn5BN.js} +0 -0
- /package/dist/{en-US-BEL_lmpv.js → en-US-KKriaTJw.js} +0 -0
- /package/dist/{en-US-Bf6E1v0-2.js → en-US-nYL_eSJ-.js} +0 -0
- /package/dist/{en-US-ZFlMM5v3.js → en-US-t-Z87qeJ.js} +0 -0
- /package/dist/{en-US.instructions-kje2iQeM.js → en-US.instructions-DfgivDPI.js} +0 -0
- /package/dist/{en-US.instructions-CbjjdEDm.js → en-US.instructions-FOYUYA3c.js} +0 -0
- /package/dist/{es-ES-DBxs7iF7.js → es-ES-C14ZT-97.js} +0 -0
- /package/dist/{es-ES-oq21mjwX.js → es-ES-CGEEtFjV.js} +0 -0
- /package/dist/{es-ES-RzKcfNXi.js → es-ES-CJYZG5hn.js} +0 -0
- /package/dist/{es-ES-Cn6TsINc.js → es-ES-DTbydE6J.js} +0 -0
- /package/dist/{es-ES-DFYOkj68.js → es-ES-Dbsez-nt.js} +0 -0
- /package/dist/{es-ES-BMBx28UE2.js → es-ES-DcPwPUlZ.js} +0 -0
- /package/dist/{es-ES-DGmySxC42.js → es-ES-N-uqwvEU.js} +0 -0
- /package/dist/{es-ES-QIbBo_YM.js → es-ES-pt4yy_U2.js} +0 -0
- /package/dist/{et-EE-RpLsFwBS.js → et-EE-BEKmKSGB.js} +0 -0
- /package/dist/{et-EE-D8EAo5UR.js → et-EE-BXGMIGkB.js} +0 -0
- /package/dist/{et-EE-Bq6ySoVT2.js → et-EE-CkJhiCVw.js} +0 -0
- /package/dist/{et-EE-BWE9LBIW.js → et-EE-DZ2fiz66.js} +0 -0
- /package/dist/{et-EE-go_L8yC52.js → et-EE-TIKP7Ec9.js} +0 -0
- /package/dist/{et-EE-CuuT6UiF.js → et-EE-dDMeDiTJ.js} +0 -0
- /package/dist/{et-EE-Clm5xG7H.js → et-EE-naxT4ToX.js} +0 -0
- /package/dist/{fi-FI-BhZIWccP.js → fi-FI-B3azKh_D.js} +0 -0
- /package/dist/{fi-FI-BYm7CUY2.js → fi-FI-BdqoEBfB.js} +0 -0
- /package/dist/{fi-FI-BmXRQB7_2.js → fi-FI-D0ZPYGD3.js} +0 -0
- /package/dist/{fi-FI-DsfVixQ62.js → fi-FI-DJ6-TAV9.js} +0 -0
- /package/dist/{fi-FI-CfmDq95S.js → fi-FI-DZUZ6EuS.js} +0 -0
- /package/dist/{fi-FI-cUN_PaZk.js → fi-FI-iRb7nS7X.js} +0 -0
- /package/dist/{fi-FI-6U5kDy9_.js → fi-FI-o-v0rRih.js} +0 -0
- /package/dist/{fieldConfigurations-B3oqm4GC.js → fieldConfigurations-CZCFghnK.js} +0 -0
- /package/dist/{file-6a0FDVyq.js → file-1IenVoh8.js} +0 -0
- /package/dist/{filterProblemsByTaskForms-DwS9T-_E.js → filterProblemsByTaskForms-CQby20PN.js} +0 -0
- /package/dist/{form-rules-CvdV5rPY.js → form-rules-CUUQGacJ.js} +0 -0
- /package/dist/{formatCurrency-D-m2ri-x.js → formatCurrency-Cq3WFpdZ.js} +0 -0
- /package/dist/{fr-FR-BxnyIkIr.js → fr-FR-5eSOACgc.js} +0 -0
- /package/dist/{fr-FR-D1HpNhTO.js → fr-FR-8a-RK9xd.js} +0 -0
- /package/dist/{fr-FR-CMj16KIu2.js → fr-FR-B7mkWyab.js} +0 -0
- /package/dist/{fr-FR-CTaavJDz.js → fr-FR-BRin5m9T.js} +0 -0
- /package/dist/{fr-FR-BqpAnmif.js → fr-FR-Bsr-Ax2m.js} +0 -0
- /package/dist/{fr-FR-DnX9lTEQ.js → fr-FR-DUrcyeOg.js} +0 -0
- /package/dist/{fr-FR-BdjvbPB62.js → fr-FR-DXXrJUKC.js} +0 -0
- /package/dist/{fr-FR-qy27JGqF.js → fr-FR-DY_6cPBK.js} +0 -0
- /package/dist/{funds-in-DcvC0rG-.js → funds-in-BvQVahzR.js} +0 -0
- /package/dist/{get-scenarios-Bkxtd5jh.js → get-scenarios-Bb-paHmJ.js} +0 -0
- /package/dist/{getNestedPropertyKeys-MEDCcSm2.js → getNestedPropertyKeys-Cd8HKupP.js} +0 -0
- /package/dist/{getProps-DQy_qV_x.js → getProps-1L-urpfA.js} +0 -0
- /package/dist/{getTrustedFields-BF_CmfLe.js → getTrustedFields-BJ88GlM-.js} +0 -0
- /package/dist/{graphical-laptop-xPvp7QKa.js → graphical-laptop-BUntvD51.js} +0 -0
- /package/dist/{house-D2ID8PM-.js → house-DFPq_koC.js} +0 -0
- /package/dist/{hr-HR-mfHZl8tO.js → hr-HR-BHkPwjWG.js} +0 -0
- /package/dist/{hr-HR-O1W0RKHg.js → hr-HR-BcuZOdbx.js} +0 -0
- /package/dist/{hr-HR-CLA4RCOe2.js → hr-HR-BeZ1eUy7.js} +0 -0
- /package/dist/{hr-HR-BzyoDD3o.js → hr-HR-CQVBtolX.js} +0 -0
- /package/dist/{hr-HR-gmt7xTWx2.js → hr-HR-CTVtZrP9.js} +0 -0
- /package/dist/{hr-HR-DwVuRMPc.js → hr-HR-LnDb18bf.js} +0 -0
- /package/dist/{hr-HR-Dgrok1MJ.js → hr-HR-o5FSYlwu.js} +0 -0
- /package/dist/{hu-HU-yAwdJ5xn.js → hu-HU-BWRMWxUx.js} +0 -0
- /package/dist/{hu-HU-Dh9jdb9X2.js → hu-HU-BhliM1LD.js} +0 -0
- /package/dist/{hu-HU-BfD5UZoY2.js → hu-HU-BsyElEv0.js} +0 -0
- /package/dist/{hu-HU-Bxg-cJEy.js → hu-HU-C-Lv58Kx.js} +0 -0
- /package/dist/{hu-HU-BzAy_OWc.js → hu-HU-CaDVfAld.js} +0 -0
- /package/dist/{hu-HU-DceMzb3Y.js → hu-HU-Cc7wqn6A.js} +0 -0
- /package/dist/{hu-HU-BzQoUNaS.js → hu-HU-yAl0nEE3.js} +0 -0
- /package/dist/{id-blurred-CtnwOJmP.js → id-blurred-VxdOFc9Z.js} +0 -0
- /package/dist/{id-cut-off-DTnrMaG3.js → id-cut-off-Lf8yjnWT.js} +0 -0
- /package/dist/{id-front-BArANgYI.js → id-front-C00ss5Ib.js} +0 -0
- /package/dist/{id-glare-g3bnPQ3v.js → id-glare-DyvU9bwI.js} +0 -0
- /package/dist/{isNewEntity-BCb_oxKh.js → isNewEntity-vML86iIM.js} +0 -0
- /package/dist/{it-IT-C82YvJn6.js → it-IT-8FlMolyS.js} +0 -0
- /package/dist/{it-IT-Dns-1Qbf.js → it-IT-BPA_Upt_.js} +0 -0
- /package/dist/{it-IT-BrdXGWpw.js → it-IT-BULBjWDc.js} +0 -0
- /package/dist/{it-IT-BxdBXweN.js → it-IT-C2dB9OJn.js} +0 -0
- /package/dist/{it-IT-BcBkbTJA.js → it-IT-D9vW7SZr.js} +0 -0
- /package/dist/{it-IT-Bnm0ulsw2.js → it-IT-DGgRrlgT.js} +0 -0
- /package/dist/{it-IT-DK30YvbO.js → it-IT-DIIRAF4_.js} +0 -0
- /package/dist/{it-IT-CHuVqZdn.js → it-IT-Dw5XUNAP.js} +0 -0
- /package/dist/{ja-JP-DDT5jvAB.js → ja-JP-7zkrWB8G.js} +0 -0
- /package/dist/{ja-JP-B5SxIdyP2.js → ja-JP-Bgo52-T0.js} +0 -0
- /package/dist/{ja-JP-C_E_4yUn.js → ja-JP-BhoagXJu.js} +0 -0
- /package/dist/{ja-JP-D91Qq9X0.js → ja-JP-ByMh2iUh.js} +0 -0
- /package/dist/{ja-JP-DYccStvn.js → ja-JP-CTJQKAUM.js} +0 -0
- /package/dist/{ja-JP-BzBRpXM1.js → ja-JP-CYb1SAoz.js} +0 -0
- /package/dist/{ja-JP-CwVkOC4Z.js → ja-JP-CyXnoIu3.js} +0 -0
- /package/dist/{ja-JP-CTFB8UKL.js → ja-JP-DqGVC5Ag.js} +0 -0
- /package/dist/{ja-JP-DTqjZ_RP.js → ja-JP-eKLuhutG.js} +0 -0
- /package/dist/{jpAddressSchema-wrMPYgVe.js → jpAddressSchema-pVY2Cqvr.js} +0 -0
- /package/dist/{legal-entity-type-VIfNYnJP.js → legal-entity-type-0MfCGzUf.js} +0 -0
- /package/dist/{lt-LT-IP4Sz8Gn.js → lt-LT-B9Nm7OZQ.js} +0 -0
- /package/dist/{lt-LT-bBBImnIr.js → lt-LT-BX_xCGlf.js} +0 -0
- /package/dist/{lt-LT-OGBNEWvq.js → lt-LT-C96kAeo7.js} +0 -0
- /package/dist/{lt-LT-Dpy8srws.js → lt-LT-CiKIZfk8.js} +0 -0
- /package/dist/{lt-LT-DN-ykSHh.js → lt-LT-CyoO9ova.js} +0 -0
- /package/dist/{lt-LT-QPJqX0US.js → lt-LT-D0eqQspB.js} +0 -0
- /package/dist/{lt-LT-8dDfYsF82.js → lt-LT-DdXY3cAX.js} +0 -0
- /package/dist/{lv-LV-C9zoAq4h.js → lv-LV-Bm8LrJoB.js} +0 -0
- /package/dist/{lv-LV-CcQHxQxD.js → lv-LV-C8Reuc9U.js} +0 -0
- /package/dist/{lv-LV-Cbnl_BTV.js → lv-LV-D_BqPK2J.js} +0 -0
- /package/dist/{lv-LV-DlQGKdqk.js → lv-LV-DkjsE74u.js} +0 -0
- /package/dist/{lv-LV-D4clLiV42.js → lv-LV-Fz2z__sN.js} +0 -0
- /package/dist/{lv-LV-CHzgorrn.js → lv-LV-nsjeQDem.js} +0 -0
- /package/dist/{lv-LV-B34caEFv.js → lv-LV-u-vJn6T3.js} +0 -0
- /package/dist/{mapAddressLocalizationToJpAddressSchema-Cp77VSSB.js → mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js} +0 -0
- /package/dist/{nl-NL-BUzOX91N.js → nl-NL-B8REgP66.js} +0 -0
- /package/dist/{nl-NL-BXTbqvDG.js → nl-NL-BO-bzIOE.js} +0 -0
- /package/dist/{nl-NL-BXVVoxv9.js → nl-NL-BWGCqpWp.js} +0 -0
- /package/dist/{nl-NL-2uvrEI1a.js → nl-NL-BtdPxlFm.js} +0 -0
- /package/dist/{nl-NL-DI_aNYah.js → nl-NL-C678Ydas.js} +0 -0
- /package/dist/{nl-NL-6qgh_ZGA.js → nl-NL-CLL6yaXp.js} +0 -0
- /package/dist/{nl-NL-6DRNI2_h.js → nl-NL-D8u-OQ2Z.js} +0 -0
- /package/dist/{nl-NL-BCCzwWkw2.js → nl-NL-Xubp239B.js} +0 -0
- /package/dist/{no-NO-BNL9v_bl.js → no-NO-0TPifz5u.js} +0 -0
- /package/dist/{no-NO-CCtUTnqP.js → no-NO-BIhMgC99.js} +0 -0
- /package/dist/{no-NO-A9MwJ3y8.js → no-NO-Bgl_00AJ.js} +0 -0
- /package/dist/{no-NO-hgC3Li7e.js → no-NO-BsTJeq1r.js} +0 -0
- /package/dist/{no-NO-DN8WIiN32.js → no-NO-CFu9XENI.js} +0 -0
- /package/dist/{no-NO-Cd0Nf4Kq.js → no-NO-CP59oYE-.js} +0 -0
- /package/dist/{no-NO-C037FAac.js → no-NO-vasSCJdc.js} +0 -0
- /package/dist/{onfido-logo-BXb14yhW.js → onfido-logo-CMRuSr8M.js} +0 -0
- /package/dist/{passport-blurred-DOfrfF0N.js → passport-blurred-0Uw8uYSJ.js} +0 -0
- /package/dist/{passport-cut-off-DwNmCL8v.js → passport-cut-off-BPzI2BwO.js} +0 -0
- /package/dist/{passport-front-DLG09n5u.js → passport-front-D6Nky-ni.js} +0 -0
- /package/dist/{passport-front-green-BB3zGc3y.js → passport-front-green-BWuD3-Fs.js} +0 -0
- /package/dist/{passport-glare-CkhvC36x.js → passport-glare-DFSFxNy9.js} +0 -0
- /package/dist/{payout-bank-accounts-BN3KdVID.js → payout-bank-accounts-CsVPa1AN.js} +0 -0
- /package/dist/{payout-verification-instant-DOCBn9if.js → payout-verification-instant-CSV3GQ4N.js} +0 -0
- /package/dist/{payout-verification-manual-DmhxH6y1.js → payout-verification-manual-BHEF55k8.js} +0 -0
- /package/dist/{pl-PL-BVYFKqiG.js → pl-PL-9di9pq8T.js} +0 -0
- /package/dist/{pl-PL-DYmR6-f32.js → pl-PL-B5FSKIny.js} +0 -0
- /package/dist/{pl-PL-D3NzOQQU.js → pl-PL-BT6NmGgO.js} +0 -0
- /package/dist/{pl-PL-DDxFQhlh.js → pl-PL-C860xjSa.js} +0 -0
- /package/dist/{pl-PL-DeAckp5p.js → pl-PL-DCIKCF5C.js} +0 -0
- /package/dist/{pl-PL-59aMUgvV.js → pl-PL-DszjCCg8.js} +0 -0
- /package/dist/{pl-PL-R2xSHe-z.js → pl-PL-wpXnySZL.js} +0 -0
- /package/dist/{plaid-logo-CjpdjGNT.js → plaid-logo-tibaWEAL.js} +0 -0
- /package/dist/{pt-BR-BdpAz26L.js → pt-BR-B0SUw4uu.js} +0 -0
- /package/dist/{pt-BR-BDEGOFU52.js → pt-BR-BBIWB923.js} +0 -0
- /package/dist/{pt-BR-BjLvBssy.js → pt-BR-BhBu4Wkn.js} +0 -0
- /package/dist/{pt-BR-D8hxPoFJ.js → pt-BR-Bp3xzdX7.js} +0 -0
- /package/dist/{pt-BR-C7pxsNe-.js → pt-BR-C3I_7Mcz.js} +0 -0
- /package/dist/{pt-BR-7qFnlWUK.js → pt-BR-C5d5CGRt.js} +0 -0
- /package/dist/{pt-BR-DGRn2oS9.js → pt-BR-DPA2WUjM.js} +0 -0
- /package/dist/{pt-BR-B5i0TdE9.js → pt-BR-DtyxSlwY.js} +0 -0
- /package/dist/{pt-PT-BTZOJZU6.js → pt-PT-B6OslB_S.js} +0 -0
- /package/dist/{pt-PT-CI47ZET7.js → pt-PT-BZa5DvLf.js} +0 -0
- /package/dist/{pt-PT-CEPDmPY7.js → pt-PT-CYMgik2d.js} +0 -0
- /package/dist/{pt-PT-DFy0vZ_Z2.js → pt-PT-D1Mnwi3B.js} +0 -0
- /package/dist/{pt-PT-BBd1NJRh.js → pt-PT-DdWMchfY.js} +0 -0
- /package/dist/{pt-PT-DBFZcKHi.js → pt-PT-IPhkbQvT.js} +0 -0
- /package/dist/{pt-PT-CJVVRZyV.js → pt-PT-KikTTc5A.js} +0 -0
- /package/dist/{pt-PT-BqRmSpLn.js → pt-PT-MeSSYc0C.js} +0 -0
- /package/dist/{reporting-CuOey349.js → reporting-B084dXT2.js} +0 -0
- /package/dist/{review-CkmDUkhx.js → review-CN-zt9-S.js} +0 -0
- /package/dist/{ro-RO-CA7NoMAg2.js → ro-RO-B72I1ycf.js} +0 -0
- /package/dist/{ro-RO-e45j_CyV.js → ro-RO-BVGWEbO9.js} +0 -0
- /package/dist/{ro-RO-GldC3IcE.js → ro-RO-CsKKl68g.js} +0 -0
- /package/dist/{ro-RO-Bl3OcC_Q.js → ro-RO-DajmyI4j.js} +0 -0
- /package/dist/{ro-RO-C4lcxnWO.js → ro-RO-dG27cZbT.js} +0 -0
- /package/dist/{ro-RO-Bf10OHuY.js → ro-RO-jcGn-sY4.js} +0 -0
- /package/dist/{ro-RO-C3g0pSKU.js → ro-RO-rUQBJ_rV.js} +0 -0
- /package/dist/{singpass-logo-DESKvfOJ.js → singpass-logo-BlBOt-Jg.js} +0 -0
- /package/dist/{singpass-logo-small-CBW6iXWW.js → singpass-logo-small-Dj6yeaQx.js} +0 -0
- /package/dist/{sk-SK-C8d17RvE2.js → sk-SK-BFh-bgKq.js} +0 -0
- /package/dist/{sk-SK-C9Cst_ER.js → sk-SK-CDUWGXfX.js} +0 -0
- /package/dist/{sk-SK-y3Dcsvdc.js → sk-SK-DJWcs0qJ.js} +0 -0
- /package/dist/{sk-SK-DXRluu5W.js → sk-SK-DP6XhEgm.js} +0 -0
- /package/dist/{sk-SK-BSv5VXox.js → sk-SK-TwqCzMtZ.js} +0 -0
- /package/dist/{sk-SK-wzPlUKNj.js → sk-SK-Woc9AmiO.js} +0 -0
- /package/dist/{sk-SK-tk_1fC8g.js → sk-SK-bt84r8cG.js} +0 -0
- /package/dist/{sl-SI-uhzy0HC12.js → sl-SI-Bc7dEjcH.js} +0 -0
- /package/dist/{sl-SI-D6evG9fK.js → sl-SI-BpJHrRwy.js} +0 -0
- /package/dist/{sl-SI-ChCyYnjd.js → sl-SI-C03fXovT.js} +0 -0
- /package/dist/{sl-SI-CX-qAqMO.js → sl-SI-C_QeUL6t.js} +0 -0
- /package/dist/{sl-SI-B-t1nY1x.js → sl-SI-DF6_X7op.js} +0 -0
- /package/dist/{sl-SI-DiLuydaN.js → sl-SI-O8FoUWa8.js} +0 -0
- /package/dist/{sl-SI-Bfdb7gjw.js → sl-SI-orV9B38l.js} +0 -0
- /package/dist/{summaryItem-Dehjwp8D.js → summaryItem-uDWmtYtt.js} +0 -0
- /package/dist/{sv-SE-BoITS9np.js → sv-SE-CLkZV2NG.js} +0 -0
- /package/dist/{sv-SE-Bpo3MgEr.js → sv-SE-CQt2K1X-.js} +0 -0
- /package/dist/{sv-SE-DlYizFz8.js → sv-SE-Cor3sNy0.js} +0 -0
- /package/dist/{sv-SE-BOEa4u9p.js → sv-SE-D05i0X2z.js} +0 -0
- /package/dist/{sv-SE-Bx_Mk5xx.js → sv-SE-D3MOTV-T.js} +0 -0
- /package/dist/{sv-SE-DhNNMEwq.js → sv-SE-D5eIbgkk.js} +0 -0
- /package/dist/{sv-SE-4oyeOi4Y.js → sv-SE-Di8YEdBA.js} +0 -0
- /package/dist/{sv-SE-i9koytKp.js → sv-SE-IBYnJfbW.js} +0 -0
- /package/dist/{taskStatus-DPUG3NS3.js → taskStatus-BtekPA8E.js} +0 -0
- /package/dist/{taskTypes-CDFRB7A4.js → taskTypes-NawDTp5n.js} +0 -0
- /package/dist/{tax-reporting-graph-DNooZCbb.js → tax-reporting-graph-B-x6VG09.js} +0 -0
- /package/dist/{tink-logo-CqXir9XT.js → tink-logo-vN0QKOLM.js} +0 -0
- /package/dist/{trackNavigation-LvCP5Vyc.js → trackNavigation-DR70qR8T.js} +0 -0
- /package/dist/{trustMemberGuidance-2rtnGkMG.js → trustMemberGuidance-CgdU2v0j.js} +0 -0
- /package/dist/{trusted-fields-provider-BXHH-pq0.js → trusted-fields-provider-DLz8KKVf.js} +0 -0
- /package/dist/{types-CNZsK2dZ.js → types-Cwq1JAWT.js} +0 -0
- /package/dist/{uppercase-DKruhEuk.js → uppercase-DvjwUM0n.js} +0 -0
- /package/dist/{us-check-account-number-BME1X1ZC.js → us-check-account-number-6Votaq97.js} +0 -0
- /package/dist/{us-check-BW6K3WxJ.js → us-check-pmEdQwDU.js} +0 -0
- /package/dist/{us-check-routing-number-UatGnO16.js → us-check-routing-number-B87ag0C1.js} +0 -0
- /package/dist/{useId-eJSYfA6i.js → useId-BkDhUta2.js} +0 -0
- /package/dist/{useSettingsContext-DzwVt0W0.js → useSettingsContext-Bpf4UqRT.js} +0 -0
- /package/dist/{utils--gwzjjeS.js → utils-DdHbAadK.js} +0 -0
- /package/dist/{utils-Do5CMPEN.js → utils-K8Z-zRnu.js} +0 -0
- /package/dist/{view-verification-status-CtW_qUMg.js → view-verification-status-XSQs02td.js} +0 -0
- /package/dist/{yapily-logo-upggwl6u.js → yapily-logo-Cp5tK0Uw.js} +0 -0
|
@@ -1,1562 +0,0 @@
|
|
|
1
|
-
try {
|
|
2
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f93820a5-6786-4999-9fa7-8df3a9b3ef88", e._sentryDebugIdIdentifier = "sentry-dbid-f93820a5-6786-4999-9fa7-8df3a9b3ef88");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { i as Typography, r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
|
-
import { n as IconButton, r as Loader, t as Button } from "./Button-BxfzWsRl.js";
|
|
7
|
-
import { n as httpGet, s as useApiContext } from "./http-D5tz1jGD.js";
|
|
8
|
-
import { t as useToggleContext } from "./useToggleContext-B57-85xe.js";
|
|
9
|
-
import { t as StackLayout } from "./StackLayout-CTLQyVDf.js";
|
|
10
|
-
import { n as Status } from "./TaskVerificationStatus-F5lMp5Rx.js";
|
|
11
|
-
import { i as TaskStatuses } from "./taskStatus-DPUG3NS3.js";
|
|
12
|
-
import { t as Header } from "./Header-fY8HlUFH.js";
|
|
13
|
-
import { a as setNestedValue, i as resolveComponentProps, r as getNestedValue$3, t as TaskListItem } from "./TaskListItem-9Kq5rfrA.js";
|
|
14
|
-
import { t as useBusinessLines } from "./useBusinessLines-BE_hXjkY.js";
|
|
15
|
-
import { t as Card } from "./Card-BylPFvY4.js";
|
|
16
|
-
import { t as CompanyTypesValues } from "./company-types-value-BYTAKfjo.js";
|
|
17
|
-
import { t as EndStateLayout } from "./EndStateLayout-CnhmrsxA.js";
|
|
18
|
-
import { t as KEYBOARD_KEYS } from "./keys-fzUbt2xF.js";
|
|
19
|
-
import { t as Modal } from "./Modal-CMKjvMyV.js";
|
|
20
|
-
import { t as Confirm } from "./Confirm-BEZEArAy.js";
|
|
21
|
-
import { n as translateTranslatable } from "./utils-g_Wl4-9Z.js";
|
|
22
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CfJs-A1X.js";
|
|
23
|
-
import { a as FormFlow_module_default } from "./useFormContext-DGW15-id.js";
|
|
24
|
-
import { t as List } from "./List-DLrcpMVd.js";
|
|
25
|
-
import { t as MaskedInput } from "./MaskedInput-WaAdSNPN.js";
|
|
26
|
-
import { t as ProgressBar } from "./ProgressBar-DrvdkkV2.js";
|
|
27
|
-
import { C as taxInformationDefaultFieldConfig, _ as getTaxIdNumberOptions, a as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, g as getDefaultTaxIdNumberType, n as upsertTaxInfoForCountry, r as TaxIdNumberTypeSelector, t as removeTaxInfoForCountry, w as taxInformationDefaultFieldMetadata } from "./utils-Cd8I9QM7.js";
|
|
28
|
-
import { t as resolveFieldMetadata } from "./fieldConfigurations-B3oqm4GC.js";
|
|
29
|
-
import { t as Field } from "./Field-Vzlyifk5.js";
|
|
30
|
-
import { t as Select } from "./Select-CRVpXZ1k.js";
|
|
31
|
-
import { t as Checkbox } from "./Checkbox-BRuXJ18x.js";
|
|
32
|
-
import { t as InputText } from "./InputText-BK_8YUd_.js";
|
|
33
|
-
import { t as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-CV0tEsZ8.js";
|
|
34
|
-
import { t as Divider } from "./Divider-BndbWx4f.js";
|
|
35
|
-
import { t as ListItem } from "./ListItem-BzSnYlO1.js";
|
|
36
|
-
import { t as DecisionMakers } from "./DecisionMakers-Bm-L-q92.js";
|
|
37
|
-
import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-DiImGTFe.js";
|
|
38
|
-
import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-CaT_-l9v.js";
|
|
39
|
-
import { t as SourceOfFundsPage } from "./SourceOfFundsPage-DItR3-Hp.js";
|
|
40
|
-
import { t as TaxReportingDropin } from "./TaxReportingDropin-LOUIhV-w.js";
|
|
41
|
-
import { useCallback, useContext, useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
42
|
-
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
43
|
-
import { useComputed } from "@preact/signals";
|
|
44
|
-
import { useQuery } from "@tanstack/preact-query";
|
|
45
|
-
import { createContext } from "preact";
|
|
46
|
-
import { createFormHook, createFormHookContexts, useStore } from "@tanstack/react-form";
|
|
47
|
-
//#region src/api/adaptive/useAdaptiveWorkflow.ts
|
|
48
|
-
/**
|
|
49
|
-
* Retrieves UI manifest used to render an adaptive UI
|
|
50
|
-
* determined by the requirements engine based on the
|
|
51
|
-
* requested products for a LE
|
|
52
|
-
*/
|
|
53
|
-
var getUiManifest = async (baseUrl, rootLegalEntityId) => {
|
|
54
|
-
return await httpGet({
|
|
55
|
-
baseUrl,
|
|
56
|
-
path: `legalEntities/${rootLegalEntityId}/configurations/workflow`
|
|
57
|
-
});
|
|
58
|
-
};
|
|
59
|
-
var useAdaptiveWorkflow = (options) => {
|
|
60
|
-
const { baseUrl, rootLegalEntityId } = useApiContext();
|
|
61
|
-
return useQuery({
|
|
62
|
-
queryKey: ["adaptive-workflow"],
|
|
63
|
-
queryFn: () => getUiManifest(baseUrl.value, rootLegalEntityId.value),
|
|
64
|
-
...options
|
|
65
|
-
});
|
|
66
|
-
};
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region src/context/WorkflowContext/WorkflowContext.tsx
|
|
69
|
-
var WorkflowContext = createContext(void 0);
|
|
70
|
-
//#endregion
|
|
71
|
-
//#region src/context/WorkflowContext/useWorkflowContext.ts
|
|
72
|
-
function useWorkflowContext() {
|
|
73
|
-
return useContext(WorkflowContext);
|
|
74
|
-
}
|
|
75
|
-
var AdaptiveProgressBar_module_default = {
|
|
76
|
-
"adaptive-progress-bar": "adyen-kyc-adaptive-progress-bar",
|
|
77
|
-
adaptiveProgressBar: "adyen-kyc-adaptive-progress-bar",
|
|
78
|
-
"adaptive-progress-bar-step": "adyen-kyc-adaptive-progress-bar-step",
|
|
79
|
-
adaptiveProgressBarStep: "adyen-kyc-adaptive-progress-bar-step",
|
|
80
|
-
"adaptive-progress-bar-label": "adyen-kyc-adaptive-progress-bar-label",
|
|
81
|
-
adaptiveProgressBarLabel: "adyen-kyc-adaptive-progress-bar-label"
|
|
82
|
-
};
|
|
83
|
-
//#endregion
|
|
84
|
-
//#region src/components/ui/molecules/AdaptiveProgressBar/AdaptiveProgressBar.tsx
|
|
85
|
-
var AdaptiveProgressBar = ({ steps, ariaLabel }) => {
|
|
86
|
-
return /* @__PURE__ */ jsx("div", {
|
|
87
|
-
className: AdaptiveProgressBar_module_default.adaptiveProgressBar,
|
|
88
|
-
role: "group",
|
|
89
|
-
"aria-label": ariaLabel,
|
|
90
|
-
children: steps.map((step) => /* @__PURE__ */ jsxs("div", {
|
|
91
|
-
className: AdaptiveProgressBar_module_default.adaptiveProgressBarStep,
|
|
92
|
-
style: { flex: step.flex ?? 1 },
|
|
93
|
-
children: [/* @__PURE__ */ jsx(ProgressBar, {
|
|
94
|
-
progress: step.progress,
|
|
95
|
-
ariaLabel: step.name,
|
|
96
|
-
rounded: true
|
|
97
|
-
}), /* @__PURE__ */ jsx(Typography, {
|
|
98
|
-
color: "tertiary",
|
|
99
|
-
el: "span",
|
|
100
|
-
variant: "caption",
|
|
101
|
-
className: AdaptiveProgressBar_module_default.adaptiveProgressBarLabel,
|
|
102
|
-
children: step.name
|
|
103
|
-
})]
|
|
104
|
-
}, step.name))
|
|
105
|
-
});
|
|
106
|
-
};
|
|
107
|
-
var AdaptiveWorkflow_module_default = {
|
|
108
|
-
"adaptive-workflow-header": "adyen-kyc-adaptive-workflow-header",
|
|
109
|
-
adaptiveWorkflowHeader: "adyen-kyc-adaptive-workflow-header",
|
|
110
|
-
"adaptive-workflow-main": "adyen-kyc-adaptive-workflow-main",
|
|
111
|
-
adaptiveWorkflowMain: "adyen-kyc-adaptive-workflow-main",
|
|
112
|
-
"adaptive-workflow-heading": "adyen-kyc-adaptive-workflow-heading",
|
|
113
|
-
adaptiveWorkflowHeading: "adyen-kyc-adaptive-workflow-heading",
|
|
114
|
-
"adaptive-workflow-description": "adyen-kyc-adaptive-workflow-description",
|
|
115
|
-
adaptiveWorkflowDescription: "adyen-kyc-adaptive-workflow-description",
|
|
116
|
-
"adaptive-workflow-divider": "adyen-kyc-adaptive-workflow-divider",
|
|
117
|
-
adaptiveWorkflowDivider: "adyen-kyc-adaptive-workflow-divider",
|
|
118
|
-
"adaptive-workflow-actions": "adyen-kyc-adaptive-workflow-actions",
|
|
119
|
-
adaptiveWorkflowActions: "adyen-kyc-adaptive-workflow-actions"
|
|
120
|
-
};
|
|
121
|
-
//#endregion
|
|
122
|
-
//#region src/adaptiveWorkflow/components/Fields/AcceptTermsOfServiceWorkflow/AcceptTermsOfServiceWorkflow.tsx
|
|
123
|
-
var AcceptTermsOfServiceWorkflow = ({ onComplete, onClose }) => {
|
|
124
|
-
const { entity } = useWorkflowContext();
|
|
125
|
-
if (!entity.value?.id) return /* @__PURE__ */ jsx(EndStateLayout, {
|
|
126
|
-
variant: "error",
|
|
127
|
-
title: "Something went wrong",
|
|
128
|
-
description: "Please try again later"
|
|
129
|
-
});
|
|
130
|
-
return /* @__PURE__ */ jsx(AcceptTermsOfServiceComponent, {
|
|
131
|
-
legalEntityId: entity.value.id,
|
|
132
|
-
onComplete,
|
|
133
|
-
onClose
|
|
134
|
-
});
|
|
135
|
-
};
|
|
136
|
-
//#endregion
|
|
137
|
-
//#region src/adaptiveWorkflow/formHook.ts
|
|
138
|
-
var { fieldContext, formContext } = createFormHookContexts();
|
|
139
|
-
/**
|
|
140
|
-
* Shared form hook for the adaptive workflow.
|
|
141
|
-
*
|
|
142
|
-
* - `useAppForm` replaces `useForm` and provides context-aware form instances.
|
|
143
|
-
* - `withForm` wraps compound components so they receive `form` via context,
|
|
144
|
-
* eliminating the need to pass the form instance (and its complex generics) as a prop.
|
|
145
|
-
*
|
|
146
|
-
* @see https://tanstack.com/form/latest/docs/framework/react/guides/form-composition
|
|
147
|
-
*/
|
|
148
|
-
var { useAppForm, withForm } = createFormHook({
|
|
149
|
-
fieldContext,
|
|
150
|
-
formContext,
|
|
151
|
-
fieldComponents: {},
|
|
152
|
-
formComponents: {}
|
|
153
|
-
});
|
|
154
|
-
//#endregion
|
|
155
|
-
//#region src/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/ExemptedFromRegistrationNumberField.tsx
|
|
156
|
-
function ExemptedFromRegistrationNumberField({ field, label, checked, readonly, onChange }) {
|
|
157
|
-
return /* @__PURE__ */ jsx(Field, {
|
|
158
|
-
name: field.name,
|
|
159
|
-
children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
|
|
160
|
-
...childProps,
|
|
161
|
-
"aria-required": false,
|
|
162
|
-
"aria-invalid": false,
|
|
163
|
-
name: field.name,
|
|
164
|
-
label,
|
|
165
|
-
value: "exemptedFromRegistrationNumber",
|
|
166
|
-
checked,
|
|
167
|
-
readonly,
|
|
168
|
-
onChange
|
|
169
|
-
})
|
|
170
|
-
});
|
|
171
|
-
}
|
|
172
|
-
//#endregion
|
|
173
|
-
//#region src/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberInputField.tsx
|
|
174
|
-
function RegistrationNumberInputField({ field, fieldMetadata, currentValue, helperText, readonly, optional, shouldValidate, disabled, onInput, onBlur }) {
|
|
175
|
-
const { t } = useTranslation("common");
|
|
176
|
-
const isTouched = field.state.meta.isTouched;
|
|
177
|
-
const isValid = field.state.meta.isValid;
|
|
178
|
-
const errorMessage = isTouched && !isValid ? field.state.meta.errors[0] : void 0;
|
|
179
|
-
return /* @__PURE__ */ jsx(MaskedInput, {
|
|
180
|
-
"aria-required": true,
|
|
181
|
-
"aria-invalid": isTouched && !isValid,
|
|
182
|
-
name: "registrationNumber",
|
|
183
|
-
type: "text",
|
|
184
|
-
value: currentValue,
|
|
185
|
-
label: fieldMetadata.label ? t(($) => $[fieldMetadata.label]) ?? "" : "",
|
|
186
|
-
formatGuidance: fieldMetadata.guidanceText ? translateTranslatable(t, fieldMetadata.guidanceText) : void 0,
|
|
187
|
-
errorMessage,
|
|
188
|
-
isValid: isTouched && isValid && !!currentValue,
|
|
189
|
-
onInput,
|
|
190
|
-
onBlur,
|
|
191
|
-
disabled,
|
|
192
|
-
optional,
|
|
193
|
-
readonly,
|
|
194
|
-
shouldValidate: !optional && shouldValidate,
|
|
195
|
-
helper: helperText,
|
|
196
|
-
...fieldMetadata.mask ?? {}
|
|
197
|
-
});
|
|
198
|
-
}
|
|
199
|
-
//#endregion
|
|
200
|
-
//#region src/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberTypeSelectorField.tsx
|
|
201
|
-
function RegistrationNumberTypeSelectorField({ country, companyType, invertCompanyTypeFilter, selected, onTypeChange, exemptedOptionLabel }) {
|
|
202
|
-
return /* @__PURE__ */ jsx(CompanyRegistrationNumberTypeSelector, {
|
|
203
|
-
country,
|
|
204
|
-
companyType,
|
|
205
|
-
invertCompanyTypeFilter,
|
|
206
|
-
selected,
|
|
207
|
-
setSelected: onTypeChange,
|
|
208
|
-
exemptedOptionLabel
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
//#endregion
|
|
212
|
-
//#region src/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/BusinessRegistrationNumberFieldGroup.tsx
|
|
213
|
-
function getNestedValue$2(obj, path) {
|
|
214
|
-
return path.split(".").reduce((acc, key) => acc?.[key], obj);
|
|
215
|
-
}
|
|
216
|
-
var BusinessRegistrationNumberFieldGroup = withForm({
|
|
217
|
-
defaultValues: {},
|
|
218
|
-
props: {},
|
|
219
|
-
render: function BusinessRegistrationNumberFieldGroupRender({ form, basePath: registrationNumberPath, country, canExempt, companyType, state, helperText, invertCompanyTypeFilter, labels, readonly, optional, shouldValidate }) {
|
|
220
|
-
const registrationNumberTypePath = `organization.registrationNumberType`;
|
|
221
|
-
const exemptedPath = `organization.exemptedFromRegistrationNumber`;
|
|
222
|
-
const registrationNumber = useStore(form.store, (s) => getNestedValue$2(s.values, registrationNumberPath));
|
|
223
|
-
const registrationNumberType = useStore(form.store, (s) => getNestedValue$2(s.values, registrationNumberTypePath));
|
|
224
|
-
const exemptedFromRegistrationNumber = useStore(form.store, (s) => getNestedValue$2(s.values, exemptedPath));
|
|
225
|
-
const registrationNumberOptions = getCompanyRegistrationNumberOptions(country, companyType, invertCompanyTypeFilter);
|
|
226
|
-
const defaultType = getDefaultRegistrationNumberType(registrationNumber, country, companyType, invertCompanyTypeFilter);
|
|
227
|
-
const showExemptedOption = canExempt && !!registrationNumberOptions && registrationNumberOptions.length > 1;
|
|
228
|
-
const effectiveRegistrationNumberType = exemptedFromRegistrationNumber ? "exempted" : registrationNumberType ?? defaultType;
|
|
229
|
-
const fieldMetadata = resolveFieldMetadata(registrationNumberDefaultFieldConfig[country], {
|
|
230
|
-
registrationNumberType: effectiveRegistrationNumberType === "exempted" ? void 0 : effectiveRegistrationNumberType,
|
|
231
|
-
state
|
|
232
|
-
}, registrationNumberDefaultFieldMetadata);
|
|
233
|
-
if (effectiveRegistrationNumberType && effectiveRegistrationNumberType !== "exempted" && !registrationNumberOptions?.find((o) => o.id === effectiveRegistrationNumberType)) form.setFieldValue(registrationNumberTypePath, defaultType);
|
|
234
|
-
const handleRegistrationNumberChange = useCallback((e) => {
|
|
235
|
-
const value = typeof e === "string" ? e : e.currentTarget.value;
|
|
236
|
-
form.setFieldValue(registrationNumberPath, value);
|
|
237
|
-
form.setFieldValue(registrationNumberTypePath, effectiveRegistrationNumberType === "exempted" ? void 0 : effectiveRegistrationNumberType);
|
|
238
|
-
}, [
|
|
239
|
-
form,
|
|
240
|
-
registrationNumberPath,
|
|
241
|
-
registrationNumberTypePath,
|
|
242
|
-
effectiveRegistrationNumberType
|
|
243
|
-
]);
|
|
244
|
-
const handleExemptedFromRegistrationNumber = useCallback((exempt) => {
|
|
245
|
-
if (exempt) form.setFieldValue(registrationNumberPath, "");
|
|
246
|
-
form.setFieldValue(exemptedPath, exempt);
|
|
247
|
-
}, [
|
|
248
|
-
exemptedPath,
|
|
249
|
-
form,
|
|
250
|
-
registrationNumberPath
|
|
251
|
-
]);
|
|
252
|
-
const handleCompanyRegistrationNumberTypeChange = useCallback((regNumberType) => {
|
|
253
|
-
if (regNumberType === "exempted") {
|
|
254
|
-
if (!canExempt) throw new Error(`${country} does not allow registration number exemptions`);
|
|
255
|
-
form.setFieldValue(registrationNumberPath, "");
|
|
256
|
-
form.setFieldValue(exemptedPath, true);
|
|
257
|
-
form.setFieldValue(registrationNumberTypePath, void 0);
|
|
258
|
-
return;
|
|
259
|
-
}
|
|
260
|
-
if (canExempt && exemptedFromRegistrationNumber) form.setFieldValue(exemptedPath, false);
|
|
261
|
-
form.setFieldValue(registrationNumberPath, "");
|
|
262
|
-
form.setFieldValue(registrationNumberTypePath, regNumberType);
|
|
263
|
-
}, [
|
|
264
|
-
canExempt,
|
|
265
|
-
country,
|
|
266
|
-
exemptedFromRegistrationNumber,
|
|
267
|
-
exemptedPath,
|
|
268
|
-
form,
|
|
269
|
-
registrationNumberPath,
|
|
270
|
-
registrationNumberTypePath
|
|
271
|
-
]);
|
|
272
|
-
return /* @__PURE__ */ jsxs("div", { children: [
|
|
273
|
-
/* @__PURE__ */ jsx(form.Field, {
|
|
274
|
-
name: registrationNumberTypePath,
|
|
275
|
-
children: (field) => /* @__PURE__ */ jsx(RegistrationNumberTypeSelectorField, {
|
|
276
|
-
field,
|
|
277
|
-
country,
|
|
278
|
-
companyType,
|
|
279
|
-
invertCompanyTypeFilter,
|
|
280
|
-
selected: effectiveRegistrationNumberType,
|
|
281
|
-
onTypeChange: handleCompanyRegistrationNumberTypeChange,
|
|
282
|
-
exemptedOptionLabel: showExemptedOption ? labels.exemptedFromRegistrationNumber : void 0
|
|
283
|
-
})
|
|
284
|
-
}),
|
|
285
|
-
/* @__PURE__ */ jsx(form.Field, {
|
|
286
|
-
name: registrationNumberPath,
|
|
287
|
-
children: (field) => /* @__PURE__ */ jsx(RegistrationNumberInputField, {
|
|
288
|
-
field,
|
|
289
|
-
fieldMetadata,
|
|
290
|
-
currentValue: registrationNumber ?? "",
|
|
291
|
-
helperText,
|
|
292
|
-
readonly,
|
|
293
|
-
optional,
|
|
294
|
-
shouldValidate,
|
|
295
|
-
disabled: Boolean(exemptedFromRegistrationNumber),
|
|
296
|
-
onInput: (e) => handleRegistrationNumberChange(e),
|
|
297
|
-
onBlur: (e) => handleRegistrationNumberChange(e)
|
|
298
|
-
})
|
|
299
|
-
}),
|
|
300
|
-
canExempt && !showExemptedOption && /* @__PURE__ */ jsx(form.Field, {
|
|
301
|
-
name: exemptedPath,
|
|
302
|
-
children: (field) => /* @__PURE__ */ jsx(ExemptedFromRegistrationNumberField, {
|
|
303
|
-
field,
|
|
304
|
-
label: labels.exemptedFromRegistrationNumber,
|
|
305
|
-
checked: Boolean(exemptedFromRegistrationNumber),
|
|
306
|
-
readonly,
|
|
307
|
-
onChange: handleExemptedFromRegistrationNumber
|
|
308
|
-
})
|
|
309
|
-
})
|
|
310
|
-
] });
|
|
311
|
-
}
|
|
312
|
-
});
|
|
313
|
-
//#endregion
|
|
314
|
-
//#region src/adaptiveWorkflow/components/Fields/IndustryCode/IndustryCodeFieldGroup.tsx
|
|
315
|
-
function mapSelectedCodes(selectedCodes) {
|
|
316
|
-
return selectedCodes && selectedCodes.length > 0 ? selectedCodes.map((i) => ({
|
|
317
|
-
value: i,
|
|
318
|
-
touched: !!i.id
|
|
319
|
-
})) : [{
|
|
320
|
-
value: {
|
|
321
|
-
id: "",
|
|
322
|
-
name: ""
|
|
323
|
-
},
|
|
324
|
-
touched: false
|
|
325
|
-
}];
|
|
326
|
-
}
|
|
327
|
-
function getNestedValue$1(obj, path) {
|
|
328
|
-
return path.split(".").reduce((acc, key) => acc?.[key], obj);
|
|
329
|
-
}
|
|
330
|
-
var IndustryCodeFieldGroup = withForm({
|
|
331
|
-
defaultValues: {},
|
|
332
|
-
props: {},
|
|
333
|
-
render: function IndustryCodeFieldGroupRender({ form, basePath: industryCodesPath, businessLineTypes = ["banking"], single = true }) {
|
|
334
|
-
const { t, i18n } = useTranslation(["common", "ui"]);
|
|
335
|
-
const { isFeatureEnabled } = useToggleContext();
|
|
336
|
-
const { data: industryCodes, isLoading: industryCodesLoading } = useIndustryCodes(businessLineTypes, i18n.language);
|
|
337
|
-
const { data: existingBusinessLines, isLoading: existingBusinessLinesLoading } = useBusinessLines(businessLineTypes);
|
|
338
|
-
const selectedCodes = useStore(form.store, (s) => getNestedValue$1(s.values, industryCodesPath));
|
|
339
|
-
const [items, setItems] = useState(() => mapSelectedCodes(selectedCodes));
|
|
340
|
-
const containerRef = useRef(null);
|
|
341
|
-
const singleIndustryCode = single || isFeatureEnabled("EnableLimitToSingleBusinessLine");
|
|
342
|
-
const allIndustryCodeSelectItems = useMemo(() => industryCodes?.map((entry) => ({
|
|
343
|
-
id: entry.code,
|
|
344
|
-
name: `${entry.code} - ${entry.description}`
|
|
345
|
-
})) ?? [], [industryCodes]);
|
|
346
|
-
const selectableIndustryCodes = useMemo(() => {
|
|
347
|
-
if (!businessLineTypes.includes("acquiring")) return allIndustryCodeSelectItems;
|
|
348
|
-
const selectedIds = selectedCodes?.map((c) => c.id);
|
|
349
|
-
const existingIds = (existingBusinessLines ?? []).map((b) => b.industryCode);
|
|
350
|
-
return allIndustryCodeSelectItems.filter(({ id }) => {
|
|
351
|
-
return !selectedIds?.includes(id) && !existingIds?.includes(id);
|
|
352
|
-
});
|
|
353
|
-
}, [
|
|
354
|
-
allIndustryCodeSelectItems,
|
|
355
|
-
businessLineTypes,
|
|
356
|
-
selectedCodes,
|
|
357
|
-
existingBusinessLines
|
|
358
|
-
]);
|
|
359
|
-
const updateFormValues = (newItems) => {
|
|
360
|
-
form.setFieldValue(industryCodesPath, newItems.map(({ value }) => value));
|
|
361
|
-
};
|
|
362
|
-
const handleSelectIndustryCode = (indexToUpdate, selectedItem) => {
|
|
363
|
-
setItems((prevItems) => {
|
|
364
|
-
const newItems = prevItems.map((item, i) => i === indexToUpdate ? {
|
|
365
|
-
value: {
|
|
366
|
-
id: selectedItem.id,
|
|
367
|
-
name: selectedItem.name
|
|
368
|
-
},
|
|
369
|
-
touched: true
|
|
370
|
-
} : item);
|
|
371
|
-
updateFormValues(newItems);
|
|
372
|
-
return newItems;
|
|
373
|
-
});
|
|
374
|
-
};
|
|
375
|
-
const addIndustryCodeField = (e) => {
|
|
376
|
-
if (items[items.length - 1].value.id === "") {
|
|
377
|
-
handleContainerBlur(e, items.length - 1);
|
|
378
|
-
return;
|
|
379
|
-
}
|
|
380
|
-
const newItems = [...items, {
|
|
381
|
-
value: {
|
|
382
|
-
id: "",
|
|
383
|
-
name: ""
|
|
384
|
-
},
|
|
385
|
-
touched: false
|
|
386
|
-
}];
|
|
387
|
-
setItems(newItems);
|
|
388
|
-
updateFormValues(newItems);
|
|
389
|
-
};
|
|
390
|
-
const removeField = (indexToRemove) => {
|
|
391
|
-
const newItems = items.filter((_, i) => i !== indexToRemove);
|
|
392
|
-
setItems(newItems);
|
|
393
|
-
updateFormValues(newItems);
|
|
394
|
-
};
|
|
395
|
-
const handleContainerBlur = (e, index) => {
|
|
396
|
-
if (containerRef.current && !containerRef.current.contains(e.relatedTarget)) setItems((prevItems) => {
|
|
397
|
-
if (prevItems[index].value.id || prevItems[index].touched) return prevItems;
|
|
398
|
-
const newItems = [...prevItems];
|
|
399
|
-
newItems[index] = {
|
|
400
|
-
...newItems[index],
|
|
401
|
-
touched: true
|
|
402
|
-
};
|
|
403
|
-
return newItems;
|
|
404
|
-
});
|
|
405
|
-
};
|
|
406
|
-
return /* @__PURE__ */ jsx(form.Field, {
|
|
407
|
-
name: industryCodesPath,
|
|
408
|
-
validators: { onBlur: ({ value }) => {
|
|
409
|
-
const codes = value;
|
|
410
|
-
return !codes?.length || codes.some((c) => !c.id) ? "fieldIsRequired" : void 0;
|
|
411
|
-
} },
|
|
412
|
-
children: (field) => {
|
|
413
|
-
if (industryCodesLoading || existingBusinessLinesLoading) return /* @__PURE__ */ jsx(Loader, { size: "large" });
|
|
414
|
-
const isTouched = field.state.meta.isTouched;
|
|
415
|
-
const isValid = field.state.meta.isValid;
|
|
416
|
-
const errorMessage = isTouched && !isValid ? field.state.meta.errors[0] : void 0;
|
|
417
|
-
return /* @__PURE__ */ jsx(Field, {
|
|
418
|
-
name: "industryCodes",
|
|
419
|
-
label: t(($) => $["industry"], { ns: "ui" }),
|
|
420
|
-
errorMessage,
|
|
421
|
-
isValid: isTouched && isValid,
|
|
422
|
-
showErrorIcon: false,
|
|
423
|
-
children: (childProps) => {
|
|
424
|
-
const content = /* @__PURE__ */ jsx("div", {
|
|
425
|
-
ref: containerRef,
|
|
426
|
-
"data-testid": "industryCode",
|
|
427
|
-
style: {
|
|
428
|
-
display: "flex",
|
|
429
|
-
flexDirection: "column",
|
|
430
|
-
gap: "8px"
|
|
431
|
-
},
|
|
432
|
-
children: items.map((code, index) => {
|
|
433
|
-
const isInvalid = code.touched && code.value.id === "";
|
|
434
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
435
|
-
style: {
|
|
436
|
-
display: "flex",
|
|
437
|
-
alignItems: "center",
|
|
438
|
-
gap: "8px"
|
|
439
|
-
},
|
|
440
|
-
children: [/* @__PURE__ */ jsx(Select, {
|
|
441
|
-
...childProps,
|
|
442
|
-
id: `industryCodeSelection-${index}`,
|
|
443
|
-
name: `industryCodeSelection-${index}`,
|
|
444
|
-
selected: code.value,
|
|
445
|
-
placeholder: t(($) => $["industryCode__placeholder"], { ns: "ui" }),
|
|
446
|
-
items: allIndustryCodeSelectItems,
|
|
447
|
-
excludedValues: allIndustryCodeSelectItems.filter((i) => !selectableIndustryCodes.includes(i)),
|
|
448
|
-
readonly: !!industryCodes && selectableIndustryCodes.length === 0,
|
|
449
|
-
onSelect: (selectedItem) => handleSelectIndustryCode(index, selectedItem),
|
|
450
|
-
isInvalid,
|
|
451
|
-
onBlur: (e) => {
|
|
452
|
-
handleContainerBlur(e, index);
|
|
453
|
-
field.handleBlur();
|
|
454
|
-
}
|
|
455
|
-
}), !singleIndustryCode && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(IconButton, {
|
|
456
|
-
ariaLabel: t(($) => $["removeIndustryCode"], { ns: "ui" }),
|
|
457
|
-
variant: "tertiary",
|
|
458
|
-
icon: "minusCircleFilled",
|
|
459
|
-
circle: true,
|
|
460
|
-
onClick: () => removeField(index),
|
|
461
|
-
disabled: items.length === 1
|
|
462
|
-
}), /* @__PURE__ */ jsx(IconButton, {
|
|
463
|
-
ariaLabel: t(($) => $["addIndustryCode"], { ns: "ui" }),
|
|
464
|
-
variant: "tertiary",
|
|
465
|
-
icon: "plusCircleFilled",
|
|
466
|
-
circle: true,
|
|
467
|
-
onClick: addIndustryCodeField,
|
|
468
|
-
disabled: code.value.id === "" || code.value.id !== "" && index !== items.length - 1 || selectableIndustryCodes.length === 0
|
|
469
|
-
})] })]
|
|
470
|
-
}, `${code.value.id}-${index}`);
|
|
471
|
-
})
|
|
472
|
-
});
|
|
473
|
-
return singleIndustryCode ? content : /* @__PURE__ */ jsx(List, {
|
|
474
|
-
dividers: false,
|
|
475
|
-
variant: "grouped-primary",
|
|
476
|
-
children: content
|
|
477
|
-
});
|
|
478
|
-
}
|
|
479
|
-
});
|
|
480
|
-
}
|
|
481
|
-
});
|
|
482
|
-
}
|
|
483
|
-
});
|
|
484
|
-
//#endregion
|
|
485
|
-
//#region src/adaptiveWorkflow/components/Fields/LegalName.tsx
|
|
486
|
-
function LegalName({ name, data, valid, errors, labels, helperText, readonly, handleChangeFor }) {
|
|
487
|
-
const handleKeyDown = (e) => {
|
|
488
|
-
if (e.key === KEYBOARD_KEYS.enter) e.preventDefault();
|
|
489
|
-
};
|
|
490
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("p", { children: name }), /* @__PURE__ */ jsx(Field, {
|
|
491
|
-
name,
|
|
492
|
-
label: labels,
|
|
493
|
-
helper: helperText,
|
|
494
|
-
errorMessage: errors,
|
|
495
|
-
isValid: valid,
|
|
496
|
-
children: (_childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
497
|
-
"aria-required": true,
|
|
498
|
-
"aria-invalid": !valid,
|
|
499
|
-
name,
|
|
500
|
-
value: data,
|
|
501
|
-
readonly,
|
|
502
|
-
onInput: handleChangeFor,
|
|
503
|
-
onBlur: handleChangeFor,
|
|
504
|
-
onKeyDown: handleKeyDown
|
|
505
|
-
})
|
|
506
|
-
})] });
|
|
507
|
-
}
|
|
508
|
-
//#endregion
|
|
509
|
-
//#region src/adaptiveWorkflow/components/Fields/SourceOfFundsWorkflow/SourceOfFundsWorkflow.tsx
|
|
510
|
-
var SourceOfFundsWorkflow = ({ onComplete, onClose, resourceId }) => {
|
|
511
|
-
if (!resourceId) return /* @__PURE__ */ jsx(EndStateLayout, {
|
|
512
|
-
variant: "error",
|
|
513
|
-
title: "Something went wrong",
|
|
514
|
-
description: "Please try again later"
|
|
515
|
-
});
|
|
516
|
-
return /* @__PURE__ */ jsx(SourceOfFundsPage, {
|
|
517
|
-
onSubmit: onComplete,
|
|
518
|
-
handleHomeClick: onClose,
|
|
519
|
-
asAwe: true
|
|
520
|
-
});
|
|
521
|
-
};
|
|
522
|
-
//#endregion
|
|
523
|
-
//#region src/adaptiveWorkflow/components/Fields/TaxInformation/ExemptedFromTaxField.tsx
|
|
524
|
-
function ExemptedFromTaxField({ field, label, checked, onChange }) {
|
|
525
|
-
return /* @__PURE__ */ jsx(Field, {
|
|
526
|
-
name: field.name,
|
|
527
|
-
children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
|
|
528
|
-
...childProps,
|
|
529
|
-
"aria-required": false,
|
|
530
|
-
"aria-invalid": false,
|
|
531
|
-
name: field.name,
|
|
532
|
-
label,
|
|
533
|
-
value: "exemptedFromTax",
|
|
534
|
-
checked,
|
|
535
|
-
onChange
|
|
536
|
-
})
|
|
537
|
-
});
|
|
538
|
-
}
|
|
539
|
-
//#endregion
|
|
540
|
-
//#region src/adaptiveWorkflow/components/Fields/TaxInformation/TaxIdNumberInputField.tsx
|
|
541
|
-
function TaxIdNumberInputField({ field, fieldMetadata, currentValue, placeholder, readonly, optional, shouldValidate, disabled, onInput, onBlur }) {
|
|
542
|
-
const { t } = useTranslation("common");
|
|
543
|
-
const isTouched = field.state.meta.isTouched;
|
|
544
|
-
const isValid = field.state.meta.isValid;
|
|
545
|
-
const errorMessage = isTouched && !isValid ? field.state.meta.errors[0] : void 0;
|
|
546
|
-
return /* @__PURE__ */ jsx(MaskedInput, {
|
|
547
|
-
type: "text",
|
|
548
|
-
"aria-required": true,
|
|
549
|
-
"aria-invalid": isTouched && !isValid,
|
|
550
|
-
name: "taxInformation",
|
|
551
|
-
label: fieldMetadata.label ? t(($) => $[fieldMetadata.label]) ?? "" : "",
|
|
552
|
-
formatGuidance: fieldMetadata.guidanceText ? translateTranslatable(t, fieldMetadata.guidanceText) : void 0,
|
|
553
|
-
value: currentValue,
|
|
554
|
-
errorMessage,
|
|
555
|
-
placeholder,
|
|
556
|
-
isValid: isValid && !!currentValue,
|
|
557
|
-
onInput,
|
|
558
|
-
onBlur,
|
|
559
|
-
disabled,
|
|
560
|
-
readonly,
|
|
561
|
-
optional,
|
|
562
|
-
shouldValidate,
|
|
563
|
-
...fieldMetadata.mask ?? {}
|
|
564
|
-
});
|
|
565
|
-
}
|
|
566
|
-
//#endregion
|
|
567
|
-
//#region src/adaptiveWorkflow/components/Fields/TaxInformation/TaxIdTypeSelectorField.tsx
|
|
568
|
-
function TaxIdTypeSelectorField({ field, country, companyType, selected, onTypeChange, exemptedOptionLabel, isUsSoleProp }) {
|
|
569
|
-
const errorMessage = field.state.meta.isTouched && !field.state.meta.isValid ? field.state.meta.errors[0] : void 0;
|
|
570
|
-
return /* @__PURE__ */ jsx(TaxIdNumberTypeSelector, {
|
|
571
|
-
country,
|
|
572
|
-
companyType,
|
|
573
|
-
selected,
|
|
574
|
-
setSelected: onTypeChange,
|
|
575
|
-
exemptedOptionLabel,
|
|
576
|
-
isUsSoleProp,
|
|
577
|
-
errorMessage: isUsSoleProp ? errorMessage : void 0
|
|
578
|
-
});
|
|
579
|
-
}
|
|
580
|
-
//#endregion
|
|
581
|
-
//#region src/adaptiveWorkflow/components/Fields/TaxInformation/TaxInformationFieldGroup.tsx
|
|
582
|
-
function getNestedValue(obj, path) {
|
|
583
|
-
return path.split(".").reduce((acc, key) => acc?.[key], obj);
|
|
584
|
-
}
|
|
585
|
-
var TaxInformationFieldGroup = withForm({
|
|
586
|
-
defaultValues: {},
|
|
587
|
-
props: {},
|
|
588
|
-
render: function TaxInformationFieldGroupRender({ form, basePath: taxInfoPath, country, canExempt, entityType, registrationNumber, defaultData, labels, placeholder, readonly, optional }) {
|
|
589
|
-
const { isFeatureEnabled } = useToggleContext();
|
|
590
|
-
const { t } = useTranslation("common");
|
|
591
|
-
const taxNumberPath = `${taxInfoPath}.number`;
|
|
592
|
-
const taxTypePath = `${taxInfoPath}.type`;
|
|
593
|
-
const exemptedPath = `${taxInfoPath}.numberAbsent`;
|
|
594
|
-
const isUenPath = `${taxInfoPath}.isUen`;
|
|
595
|
-
const taxInformations = useStore(form.store, (s) => getNestedValue(s.values, taxInfoPath));
|
|
596
|
-
const exemptedFromTax = useStore(form.store, (s) => getNestedValue(s.values, exemptedPath));
|
|
597
|
-
const isUsSoleProp = country === "US" && entityType === CompanyTypesValues.SOLE_PROPRIETORSHIP;
|
|
598
|
-
const currentTaxInformation = useMemo(() => taxInformations?.find((t) => t.country === country), [taxInformations, country]);
|
|
599
|
-
const taxIdNumberType = useMemo(() => {
|
|
600
|
-
if (currentTaxInformation?.numberAbsent) return "exempted";
|
|
601
|
-
if (currentTaxInformation?.type) return currentTaxInformation.type;
|
|
602
|
-
if (isUsSoleProp) return void 0;
|
|
603
|
-
return getDefaultTaxIdNumberType(taxInformations, country, entityType);
|
|
604
|
-
}, [
|
|
605
|
-
currentTaxInformation?.type,
|
|
606
|
-
currentTaxInformation?.numberAbsent,
|
|
607
|
-
taxInformations,
|
|
608
|
-
isUsSoleProp,
|
|
609
|
-
country,
|
|
610
|
-
entityType
|
|
611
|
-
]);
|
|
612
|
-
const options = getTaxIdNumberOptions(country, entityType);
|
|
613
|
-
const showTaxIdExemptedOptions = canExempt && (options?.length ?? 0) > 1 || isUsSoleProp;
|
|
614
|
-
const canSaveAbsentState = isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4.includes(country);
|
|
615
|
-
const fieldMetadata = resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
|
|
616
|
-
taxIdNumberType: currentTaxInformation?.type,
|
|
617
|
-
companyType: entityType
|
|
618
|
-
}, taxInformationDefaultFieldMetadata);
|
|
619
|
-
const exemptionLabel = isUsSoleProp ? t(($) => $["socialSecurityNumber"]) : labels?.exemptedFromTax;
|
|
620
|
-
const updateTaxInfo = useCallback((mode, newEntry) => {
|
|
621
|
-
const updated = upsertTaxInfoForCountry(defaultData, country, canSaveAbsentState ? {
|
|
622
|
-
...newEntry,
|
|
623
|
-
numberAbsent: newEntry.numberAbsent ?? false
|
|
624
|
-
} : newEntry);
|
|
625
|
-
form.setFieldValue(taxInfoPath, updated);
|
|
626
|
-
}, [
|
|
627
|
-
canSaveAbsentState,
|
|
628
|
-
country,
|
|
629
|
-
form,
|
|
630
|
-
taxInfoPath,
|
|
631
|
-
defaultData
|
|
632
|
-
]);
|
|
633
|
-
const updateTaxType = useCallback((type, mode) => {
|
|
634
|
-
updateTaxInfo(mode, {
|
|
635
|
-
country,
|
|
636
|
-
number: currentTaxInformation?.number,
|
|
637
|
-
type
|
|
638
|
-
});
|
|
639
|
-
}, [
|
|
640
|
-
country,
|
|
641
|
-
currentTaxInformation?.number,
|
|
642
|
-
updateTaxInfo
|
|
643
|
-
]);
|
|
644
|
-
const removeCountryTaxInfo = useCallback(() => {
|
|
645
|
-
form.setFieldValue(taxInfoPath, removeTaxInfoForCountry(taxInformations, country));
|
|
646
|
-
}, [
|
|
647
|
-
country,
|
|
648
|
-
form,
|
|
649
|
-
taxInfoPath,
|
|
650
|
-
taxInformations
|
|
651
|
-
]);
|
|
652
|
-
const addTaxAbsentStatus = useCallback((absent) => {
|
|
653
|
-
form.setFieldValue(taxInfoPath, upsertTaxInfoForCountry(taxInformations, country, {
|
|
654
|
-
country,
|
|
655
|
-
numberAbsent: absent
|
|
656
|
-
}));
|
|
657
|
-
}, [
|
|
658
|
-
country,
|
|
659
|
-
form,
|
|
660
|
-
taxInfoPath,
|
|
661
|
-
taxInformations
|
|
662
|
-
]);
|
|
663
|
-
const setUenAsTaxId = useCallback((uen) => {
|
|
664
|
-
updateTaxInfo("blur", {
|
|
665
|
-
country,
|
|
666
|
-
number: uen ?? "",
|
|
667
|
-
type: "UEN"
|
|
668
|
-
});
|
|
669
|
-
}, [country, updateTaxInfo]);
|
|
670
|
-
const resetToDefaultData = useCallback(() => {
|
|
671
|
-
if (defaultData !== void 0) form.setFieldValue(taxInfoPath, defaultData);
|
|
672
|
-
}, [
|
|
673
|
-
defaultData,
|
|
674
|
-
form,
|
|
675
|
-
taxInfoPath
|
|
676
|
-
]);
|
|
677
|
-
const handleTaxIdNumberTypeChange = useCallback((taxIdType) => {
|
|
678
|
-
if (!canExempt && taxIdType === "exempted") throw new Error(`${country} does not allow tax exemptions`);
|
|
679
|
-
if (taxIdType === "exempted") {
|
|
680
|
-
form.setFieldValue(exemptedPath, true);
|
|
681
|
-
updateTaxType(void 0, "input");
|
|
682
|
-
return canSaveAbsentState ? addTaxAbsentStatus(true) : removeCountryTaxInfo();
|
|
683
|
-
}
|
|
684
|
-
form.setFieldValue(exemptedPath, false);
|
|
685
|
-
if (country === "SG") if (taxIdType === "UEN") {
|
|
686
|
-
form.setFieldValue(isUenPath, true);
|
|
687
|
-
setUenAsTaxId(registrationNumber);
|
|
688
|
-
} else {
|
|
689
|
-
form.setFieldValue(isUenPath, false);
|
|
690
|
-
removeCountryTaxInfo();
|
|
691
|
-
}
|
|
692
|
-
updateTaxType(taxIdType, "input");
|
|
693
|
-
}, [
|
|
694
|
-
addTaxAbsentStatus,
|
|
695
|
-
canExempt,
|
|
696
|
-
canSaveAbsentState,
|
|
697
|
-
country,
|
|
698
|
-
exemptedPath,
|
|
699
|
-
form,
|
|
700
|
-
isUenPath,
|
|
701
|
-
removeCountryTaxInfo,
|
|
702
|
-
registrationNumber,
|
|
703
|
-
setUenAsTaxId,
|
|
704
|
-
updateTaxType
|
|
705
|
-
]);
|
|
706
|
-
const handleTaxNumberChange = useCallback((e, mode) => {
|
|
707
|
-
updateTaxInfo(mode, {
|
|
708
|
-
country,
|
|
709
|
-
number: e ? typeof e === "string" ? e : e.currentTarget.value : void 0,
|
|
710
|
-
type: currentTaxInformation?.type ?? (taxIdNumberType !== "exempted" ? taxIdNumberType : void 0)
|
|
711
|
-
});
|
|
712
|
-
}, [
|
|
713
|
-
country,
|
|
714
|
-
currentTaxInformation?.type,
|
|
715
|
-
taxIdNumberType,
|
|
716
|
-
updateTaxInfo
|
|
717
|
-
]);
|
|
718
|
-
const handleExemptedFromTaxChange = useCallback((exempted) => {
|
|
719
|
-
form.setFieldValue(exemptedPath, exempted);
|
|
720
|
-
if (canSaveAbsentState) addTaxAbsentStatus(exempted);
|
|
721
|
-
else removeCountryTaxInfo();
|
|
722
|
-
}, [
|
|
723
|
-
addTaxAbsentStatus,
|
|
724
|
-
canSaveAbsentState,
|
|
725
|
-
exemptedPath,
|
|
726
|
-
form,
|
|
727
|
-
removeCountryTaxInfo
|
|
728
|
-
]);
|
|
729
|
-
const prevCountryRef = useRef(country);
|
|
730
|
-
useEffect(() => {
|
|
731
|
-
if (!country || prevCountryRef.current === country) return;
|
|
732
|
-
prevCountryRef.current = country;
|
|
733
|
-
const hasSavedTaxId = defaultData?.find((t) => t.country === country);
|
|
734
|
-
if (currentTaxInformation && !hasSavedTaxId) return;
|
|
735
|
-
if (entityType === CompanyTypesValues.SOLE_PROPRIETORSHIP) return;
|
|
736
|
-
resetToDefaultData();
|
|
737
|
-
}, [
|
|
738
|
-
country,
|
|
739
|
-
currentTaxInformation,
|
|
740
|
-
defaultData,
|
|
741
|
-
entityType,
|
|
742
|
-
resetToDefaultData
|
|
743
|
-
]);
|
|
744
|
-
useEffect(() => {
|
|
745
|
-
if (country === "SG" && registrationNumber && registrationNumber !== currentTaxInformation?.number) setUenAsTaxId(registrationNumber);
|
|
746
|
-
}, [
|
|
747
|
-
registrationNumber,
|
|
748
|
-
currentTaxInformation?.number,
|
|
749
|
-
country,
|
|
750
|
-
setUenAsTaxId
|
|
751
|
-
]);
|
|
752
|
-
return /* @__PURE__ */ jsxs("div", { children: [
|
|
753
|
-
/* @__PURE__ */ jsx(form.Field, {
|
|
754
|
-
name: taxTypePath,
|
|
755
|
-
children: (field) => /* @__PURE__ */ jsx(TaxIdTypeSelectorField, {
|
|
756
|
-
field,
|
|
757
|
-
country,
|
|
758
|
-
companyType: entityType,
|
|
759
|
-
selected: taxIdNumberType,
|
|
760
|
-
onTypeChange: handleTaxIdNumberTypeChange,
|
|
761
|
-
exemptedOptionLabel: showTaxIdExemptedOptions ? exemptionLabel : void 0,
|
|
762
|
-
isUsSoleProp
|
|
763
|
-
})
|
|
764
|
-
}),
|
|
765
|
-
/* @__PURE__ */ jsx(form.Field, {
|
|
766
|
-
name: taxNumberPath,
|
|
767
|
-
children: (field) => /* @__PURE__ */ jsx(TaxIdNumberInputField, {
|
|
768
|
-
field,
|
|
769
|
-
fieldMetadata,
|
|
770
|
-
currentValue: currentTaxInformation?.number ?? "",
|
|
771
|
-
placeholder,
|
|
772
|
-
readonly,
|
|
773
|
-
optional,
|
|
774
|
-
shouldValidate: true,
|
|
775
|
-
disabled: Boolean(exemptedFromTax),
|
|
776
|
-
onInput: (e) => handleTaxNumberChange(e, "input"),
|
|
777
|
-
onBlur: (e) => handleTaxNumberChange(e, "blur")
|
|
778
|
-
})
|
|
779
|
-
}),
|
|
780
|
-
canExempt && !showTaxIdExemptedOptions && /* @__PURE__ */ jsx(form.Field, {
|
|
781
|
-
name: exemptedPath,
|
|
782
|
-
children: (field) => /* @__PURE__ */ jsx(ExemptedFromTaxField, {
|
|
783
|
-
field,
|
|
784
|
-
label: labels?.exemptedFromTax,
|
|
785
|
-
checked: Boolean(exemptedFromTax),
|
|
786
|
-
onChange: handleExemptedFromTaxChange
|
|
787
|
-
})
|
|
788
|
-
})
|
|
789
|
-
] });
|
|
790
|
-
}
|
|
791
|
-
});
|
|
792
|
-
//#endregion
|
|
793
|
-
//#region src/adaptiveWorkflow/components/Fields/TaxReportingWorkflow/TaxReportingWorkflow.tsx
|
|
794
|
-
var TaxReportingWorkflow = ({ onComplete, onClose, resourceId }) => {
|
|
795
|
-
if (!resourceId) return /* @__PURE__ */ jsx(EndStateLayout, {
|
|
796
|
-
variant: "error",
|
|
797
|
-
title: "Something went wrong",
|
|
798
|
-
description: "Please try again later"
|
|
799
|
-
});
|
|
800
|
-
return /* @__PURE__ */ jsx(TaxReportingDropin, {
|
|
801
|
-
onSubmit: onComplete,
|
|
802
|
-
handleHomeClick: onClose,
|
|
803
|
-
asAwe: true
|
|
804
|
-
});
|
|
805
|
-
};
|
|
806
|
-
var UboTaskItem_module_default = {
|
|
807
|
-
"ubo-task-item-actions": "adyen-kyc-ubo-task-item-actions",
|
|
808
|
-
uboTaskItemActions: "adyen-kyc-ubo-task-item-actions"
|
|
809
|
-
};
|
|
810
|
-
//#endregion
|
|
811
|
-
//#region src/adaptiveWorkflow/components/TaskItems/UboTaskItem/UboTaskItem.tsx
|
|
812
|
-
/**
|
|
813
|
-
* Specialized component used for rendering of a task item for UBOs
|
|
814
|
-
* Clicks on the task item will render the associated steps with this
|
|
815
|
-
*/
|
|
816
|
-
var UboTaskItem = ({ status, onClick, props: { name } }) => {
|
|
817
|
-
const { t } = useTranslation("common");
|
|
818
|
-
const [isSendingInvite, setIsSendingInvite] = useState(false);
|
|
819
|
-
const handleInviteClick = () => {
|
|
820
|
-
try {
|
|
821
|
-
setIsSendingInvite(true);
|
|
822
|
-
} catch {
|
|
823
|
-
console.log("error");
|
|
824
|
-
} finally {
|
|
825
|
-
setIsSendingInvite(false);
|
|
826
|
-
}
|
|
827
|
-
};
|
|
828
|
-
const renderMainAccessory = () => {
|
|
829
|
-
switch (status) {
|
|
830
|
-
case "DETAILS_REQUIRED": return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(IconButton, {
|
|
831
|
-
loading: isSendingInvite,
|
|
832
|
-
circle: true,
|
|
833
|
-
variant: "tertiary",
|
|
834
|
-
onClick: handleInviteClick,
|
|
835
|
-
icon: "upload",
|
|
836
|
-
ariaLabel: "send invite"
|
|
837
|
-
}), /* @__PURE__ */ jsx(Button, {
|
|
838
|
-
onClick,
|
|
839
|
-
disabled: isSendingInvite,
|
|
840
|
-
children: t(($) => $["update"])
|
|
841
|
-
})] });
|
|
842
|
-
case "FINISHED": return /* @__PURE__ */ jsx(Status, {
|
|
843
|
-
variant: "success",
|
|
844
|
-
text: "Verified",
|
|
845
|
-
icon: "checkmark"
|
|
846
|
-
});
|
|
847
|
-
}
|
|
848
|
-
};
|
|
849
|
-
return /* @__PURE__ */ jsx(Card, {
|
|
850
|
-
padding: "medium",
|
|
851
|
-
children: /* @__PURE__ */ jsx(ListItem, {
|
|
852
|
-
accessory: /* @__PURE__ */ jsx("div", {
|
|
853
|
-
className: UboTaskItem_module_default.uboTaskItemActions,
|
|
854
|
-
children: renderMainAccessory()
|
|
855
|
-
}),
|
|
856
|
-
avatar: {
|
|
857
|
-
iconName: "user",
|
|
858
|
-
circle: true
|
|
859
|
-
},
|
|
860
|
-
title: name || "Decision maker"
|
|
861
|
-
})
|
|
862
|
-
});
|
|
863
|
-
};
|
|
864
|
-
//#endregion
|
|
865
|
-
//#region src/adaptiveWorkflow/component-registry.ts
|
|
866
|
-
/**
|
|
867
|
-
* Registry for simple (single form.Field) components
|
|
868
|
-
*/
|
|
869
|
-
var simpleComponentMap = { LegalNameField: LegalName };
|
|
870
|
-
/**
|
|
871
|
-
* Registry for compound components
|
|
872
|
-
* Compound components receive form + basePath + dynamic server-driven props.
|
|
873
|
-
* The map value must be ComponentType<any> because each compound component has its own unique
|
|
874
|
-
* props interface — there's no single type that covers all of them in a dynamic registry.
|
|
875
|
-
*/
|
|
876
|
-
var compoundComponentMap = {
|
|
877
|
-
TaxInformationFieldGroup,
|
|
878
|
-
BusinessRegistrationNumberFieldGroup,
|
|
879
|
-
IndustryCodeField: IndustryCodeFieldGroup
|
|
880
|
-
};
|
|
881
|
-
/**
|
|
882
|
-
* Registry for specialized components
|
|
883
|
-
* Specialized components are intended to be all encompassing, handling their own
|
|
884
|
-
* field rendering, form steps (if applicable), data submission, etc.
|
|
885
|
-
*
|
|
886
|
-
* Naming convention: `${componentName}Workflow`
|
|
887
|
-
*/
|
|
888
|
-
var specializedComponentMap = {
|
|
889
|
-
SourceOfFunds: SourceOfFundsWorkflow,
|
|
890
|
-
IdentityScreening: DecisionMakers,
|
|
891
|
-
TaxReporting: TaxReportingWorkflow,
|
|
892
|
-
AcceptTermsOfService: AcceptTermsOfServiceWorkflow
|
|
893
|
-
};
|
|
894
|
-
/**
|
|
895
|
-
* Registry for specialized components used for rendering tasks in the UI which replace the default component used to represent tasks.
|
|
896
|
-
*/
|
|
897
|
-
var specializedTaskComponentMap = { UboTaskItem };
|
|
898
|
-
//#endregion
|
|
899
|
-
//#region src/adaptiveWorkflow/components/DynamicForm/contextMap.ts
|
|
900
|
-
var contextMap$3 = {
|
|
901
|
-
businessDetails: {
|
|
902
|
-
heading: "businessInformation",
|
|
903
|
-
description: "placeholder"
|
|
904
|
-
},
|
|
905
|
-
additionalBusinessDetails: {
|
|
906
|
-
heading: "additionalBusinessDetails",
|
|
907
|
-
description: "placeholder"
|
|
908
|
-
},
|
|
909
|
-
identityNumber: {
|
|
910
|
-
heading: "additionalPersonalDetails",
|
|
911
|
-
description: "placeholder"
|
|
912
|
-
},
|
|
913
|
-
identityVerification: {
|
|
914
|
-
heading: "liveFaceDetection",
|
|
915
|
-
description: "placeholder"
|
|
916
|
-
}
|
|
917
|
-
};
|
|
918
|
-
//#endregion
|
|
919
|
-
//#region src/adaptiveWorkflow/components/DynamicForm/useCustomerData.ts
|
|
920
|
-
function mapFormValuesToPayload({ steps, globals, formValues }) {
|
|
921
|
-
const components = steps.flatMap((step) => step.componentGroups.flatMap((group) => group.components));
|
|
922
|
-
const domainPayloads = {};
|
|
923
|
-
for (const component of components) {
|
|
924
|
-
const dotIndex = component.path.indexOf(".");
|
|
925
|
-
const domain = dotIndex !== -1 ? component.path.slice(0, dotIndex) : component.path;
|
|
926
|
-
const subPath = dotIndex !== -1 ? component.path.slice(dotIndex + 1) : "";
|
|
927
|
-
if (!domainPayloads[domain]) domainPayloads[domain] = {
|
|
928
|
-
id: void 0,
|
|
929
|
-
data: {}
|
|
930
|
-
};
|
|
931
|
-
const apiValue = getNestedValue$3(formValues, component.path);
|
|
932
|
-
const resolvedProps = resolveComponentProps(globals.value, component.properties);
|
|
933
|
-
domainPayloads[domain].id = resolvedProps?.resourceId;
|
|
934
|
-
if (subPath) setNestedValue(domainPayloads[domain].data, subPath, apiValue);
|
|
935
|
-
else Object.assign(domainPayloads[domain].data, apiValue);
|
|
936
|
-
}
|
|
937
|
-
return domainPayloads;
|
|
938
|
-
}
|
|
939
|
-
async function doLegalEntityUpdates({ rootLegalEntityId, domainPayloads, updateLegalEntity }) {
|
|
940
|
-
await updateLegalEntity.mutateAsync({
|
|
941
|
-
...!!domainPayloads.organization?.data && {
|
|
942
|
-
id: domainPayloads.organization.id ?? rootLegalEntityId.value,
|
|
943
|
-
organization: domainPayloads.organization.data
|
|
944
|
-
},
|
|
945
|
-
...!!domainPayloads.individual?.data && {
|
|
946
|
-
id: domainPayloads.individual.id ?? rootLegalEntityId.value,
|
|
947
|
-
individual: domainPayloads.individual.data
|
|
948
|
-
}
|
|
949
|
-
});
|
|
950
|
-
}
|
|
951
|
-
async function doBusinessLineUpdates({ rootLegalEntityId, domainPayloads, createBusinessLine, updateBusinessLine }) {
|
|
952
|
-
const businessLinePayload = domainPayloads.businessLine;
|
|
953
|
-
if (!businessLinePayload?.data) return;
|
|
954
|
-
const payload = {
|
|
955
|
-
...businessLinePayload.data,
|
|
956
|
-
id: businessLinePayload.id,
|
|
957
|
-
legalEntityId: rootLegalEntityId.value
|
|
958
|
-
};
|
|
959
|
-
if (payload.id) return await updateBusinessLine.mutateAsync(payload);
|
|
960
|
-
else return await createBusinessLine.mutateAsync(payload);
|
|
961
|
-
}
|
|
962
|
-
/**
|
|
963
|
-
* Routes DynamicForm submission to the correct API mutations based on the data path prefix
|
|
964
|
-
* declared in each `ComponentConfig`:
|
|
965
|
-
*
|
|
966
|
-
* - `organization.*` / `individual.*` → `useUpdateLegalEntity` (PATCH)
|
|
967
|
-
* - `businessLine.*` → `useCreateBusinessLine` (POST, no id) /
|
|
968
|
-
* `useUpdateBusinessLine` (POST, with id)
|
|
969
|
-
*
|
|
970
|
-
* @param steps - step config from the server response; used to enumerate data paths
|
|
971
|
-
* for current task
|
|
972
|
-
* @param legalEntityId - override the legal entity ID for non-root entities (e.g. UBOs).
|
|
973
|
-
* Defaults to `rootLegalEntityId` from `ApiContext`.
|
|
974
|
-
*/
|
|
975
|
-
function useCustomerData(steps) {
|
|
976
|
-
const { rootLegalEntityId } = useApiContext();
|
|
977
|
-
const { globals, updateGlobals } = useWorkflowContext();
|
|
978
|
-
const updateLegalEntity = useUpdateLegalEntity();
|
|
979
|
-
const createBusinessLine = useCreateBusinessLine();
|
|
980
|
-
const updateBusinessLine = useUpdateBusinessLine();
|
|
981
|
-
return { submit: useCallback(async (formValues) => {
|
|
982
|
-
const domainPayloads = mapFormValuesToPayload({
|
|
983
|
-
steps,
|
|
984
|
-
globals,
|
|
985
|
-
formValues
|
|
986
|
-
});
|
|
987
|
-
await doLegalEntityUpdates({
|
|
988
|
-
rootLegalEntityId,
|
|
989
|
-
domainPayloads,
|
|
990
|
-
updateLegalEntity
|
|
991
|
-
});
|
|
992
|
-
const businessLine = await doBusinessLineUpdates({
|
|
993
|
-
rootLegalEntityId,
|
|
994
|
-
domainPayloads,
|
|
995
|
-
createBusinessLine,
|
|
996
|
-
updateBusinessLine
|
|
997
|
-
});
|
|
998
|
-
updateGlobals({ ...businessLine?.id && { "businessLine.id": {
|
|
999
|
-
type: "string",
|
|
1000
|
-
value: businessLine.id
|
|
1001
|
-
} } });
|
|
1002
|
-
}, [
|
|
1003
|
-
steps,
|
|
1004
|
-
rootLegalEntityId,
|
|
1005
|
-
createBusinessLine,
|
|
1006
|
-
globals,
|
|
1007
|
-
updateBusinessLine,
|
|
1008
|
-
updateGlobals,
|
|
1009
|
-
updateLegalEntity
|
|
1010
|
-
]) };
|
|
1011
|
-
}
|
|
1012
|
-
//#endregion
|
|
1013
|
-
//#region src/adaptiveWorkflow/components/DynamicForm/DynamicForm.tsx
|
|
1014
|
-
function renderSimpleField(component, field) {
|
|
1015
|
-
const FieldComponent = simpleComponentMap[component];
|
|
1016
|
-
if (FieldComponent) return /* @__PURE__ */ jsx(FieldComponent, {
|
|
1017
|
-
name: component,
|
|
1018
|
-
handleChangeFor: field.handleChange
|
|
1019
|
-
});
|
|
1020
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("p", { children: component }), /* @__PURE__ */ jsx(InputText, {
|
|
1021
|
-
onInput: field.handleChange,
|
|
1022
|
-
onBlur: field.handleChange,
|
|
1023
|
-
name: component
|
|
1024
|
-
})] });
|
|
1025
|
-
}
|
|
1026
|
-
function renderCompoundField(compoundFieldProps) {
|
|
1027
|
-
const { component, form, basePath, props } = compoundFieldProps;
|
|
1028
|
-
const CompoundComponent = compoundComponentMap[component];
|
|
1029
|
-
if (CompoundComponent) return /* @__PURE__ */ jsx(CompoundComponent, {
|
|
1030
|
-
form,
|
|
1031
|
-
basePath,
|
|
1032
|
-
...props
|
|
1033
|
-
});
|
|
1034
|
-
return null;
|
|
1035
|
-
}
|
|
1036
|
-
function DynamicForm({ onClose, onComplete, steps }) {
|
|
1037
|
-
const { t } = useTranslation("adaptive");
|
|
1038
|
-
const { t: commonT } = useTranslation(["common"]);
|
|
1039
|
-
const { submit: submitCustomerData } = useCustomerData(steps);
|
|
1040
|
-
const { globals } = useWorkflowContext();
|
|
1041
|
-
const form = useAppForm({
|
|
1042
|
-
defaultValues: {},
|
|
1043
|
-
onSubmit: async ({ value }) => {
|
|
1044
|
-
await submitCustomerData(value);
|
|
1045
|
-
onComplete();
|
|
1046
|
-
}
|
|
1047
|
-
});
|
|
1048
|
-
const [currentStep, setCurrentStep] = useState(steps[0]);
|
|
1049
|
-
const [isConfirmPresented, setIsConfirmPresented] = useState(false);
|
|
1050
|
-
const currentStepIndex = steps.findIndex((step) => step.id === currentStep.id);
|
|
1051
|
-
const isFirstStep = currentStepIndex === 0;
|
|
1052
|
-
const isLastStep = currentStepIndex === steps.length - 1;
|
|
1053
|
-
const progress = Math.floor((currentStepIndex + 1) / steps.length * 100);
|
|
1054
|
-
const { heading: headingKey, description: descriptionKey } = contextMap$3[currentStep.id] || {};
|
|
1055
|
-
const navigateBack = () => {
|
|
1056
|
-
setCurrentStep(steps[currentStepIndex - 1]);
|
|
1057
|
-
};
|
|
1058
|
-
const navigateNext = async () => {
|
|
1059
|
-
if ((await form.validateAllFields("change")).length === 0) setCurrentStep(steps[currentStepIndex + 1]);
|
|
1060
|
-
};
|
|
1061
|
-
const handleCancelDismiss = () => {
|
|
1062
|
-
setIsConfirmPresented(false);
|
|
1063
|
-
};
|
|
1064
|
-
const handleConfirmDismiss = () => {
|
|
1065
|
-
setIsConfirmPresented(false);
|
|
1066
|
-
onClose();
|
|
1067
|
-
};
|
|
1068
|
-
const handleDismiss = () => {
|
|
1069
|
-
setIsConfirmPresented(true);
|
|
1070
|
-
};
|
|
1071
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("div", {
|
|
1072
|
-
className: FormFlow_module_default.formFlow,
|
|
1073
|
-
children: /* @__PURE__ */ jsxs(form.AppForm, { children: [/* @__PURE__ */ jsx("div", {
|
|
1074
|
-
className: FormFlow_module_default.formFlowContent,
|
|
1075
|
-
children: /* @__PURE__ */ jsx("form", {
|
|
1076
|
-
onSubmit: (e) => {
|
|
1077
|
-
e.preventDefault();
|
|
1078
|
-
form.handleSubmit();
|
|
1079
|
-
},
|
|
1080
|
-
children: /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx(Header, {
|
|
1081
|
-
title: headingKey && t(($) => $[headingKey]),
|
|
1082
|
-
description: descriptionKey && t(($) => $[descriptionKey])
|
|
1083
|
-
}), currentStep.componentGroups.map((componentGroup) => {
|
|
1084
|
-
return componentGroup.components.map((component) => {
|
|
1085
|
-
const componentProps = resolveComponentProps(globals.value, component.properties);
|
|
1086
|
-
if (component.componentType === "COMPOUND") return renderCompoundField({
|
|
1087
|
-
component: component.component,
|
|
1088
|
-
form,
|
|
1089
|
-
basePath: component.path,
|
|
1090
|
-
props: componentProps
|
|
1091
|
-
});
|
|
1092
|
-
if (component.componentType === "FIELD") return /* @__PURE__ */ jsx(form.Field, {
|
|
1093
|
-
name: component.path,
|
|
1094
|
-
children: (field) => renderSimpleField(component.component, field)
|
|
1095
|
-
}, component.path);
|
|
1096
|
-
});
|
|
1097
|
-
})] }, currentStep.id)
|
|
1098
|
-
})
|
|
1099
|
-
}), /* @__PURE__ */ jsxs("div", {
|
|
1100
|
-
className: FormFlow_module_default.formFlowFooter,
|
|
1101
|
-
children: [steps.length !== 1 && /* @__PURE__ */ jsx(ProgressBar, {
|
|
1102
|
-
ariaLabel: commonT(($) => $["progress"]),
|
|
1103
|
-
progress
|
|
1104
|
-
}), /* @__PURE__ */ jsxs("div", {
|
|
1105
|
-
className: FormFlow_module_default.formFlowActions,
|
|
1106
|
-
children: [
|
|
1107
|
-
isFirstStep && /* @__PURE__ */ jsx(Button, {
|
|
1108
|
-
disabled: false,
|
|
1109
|
-
onClick: handleDismiss,
|
|
1110
|
-
variant: "secondary",
|
|
1111
|
-
children: commonT(($) => $["cancel"])
|
|
1112
|
-
}),
|
|
1113
|
-
!isFirstStep && /* @__PURE__ */ jsx(Button, {
|
|
1114
|
-
disabled: false,
|
|
1115
|
-
icon: "chevron-left",
|
|
1116
|
-
onClick: navigateBack,
|
|
1117
|
-
variant: "secondary",
|
|
1118
|
-
children: commonT(($) => $["back"])
|
|
1119
|
-
}),
|
|
1120
|
-
/* @__PURE__ */ jsx("div", {
|
|
1121
|
-
className: FormFlow_module_default.formFlowPrimaryActions,
|
|
1122
|
-
children: /* @__PURE__ */ jsx(form.Subscribe, {
|
|
1123
|
-
selector: (s) => [s.isSubmitting, !s.canSubmit],
|
|
1124
|
-
children: ([isSubmitting, isDisabled]) => isLastStep ? /* @__PURE__ */ jsx(Button, {
|
|
1125
|
-
type: "submit",
|
|
1126
|
-
onClick: () => form.handleSubmit(),
|
|
1127
|
-
loading: isSubmitting,
|
|
1128
|
-
disabled: isDisabled,
|
|
1129
|
-
children: commonT(($) => $["submit"])
|
|
1130
|
-
}) : /* @__PURE__ */ jsx(Button, {
|
|
1131
|
-
onClick: navigateNext,
|
|
1132
|
-
disabled: isDisabled,
|
|
1133
|
-
loading: isSubmitting,
|
|
1134
|
-
children: commonT(($) => $["continue"])
|
|
1135
|
-
})
|
|
1136
|
-
})
|
|
1137
|
-
})
|
|
1138
|
-
]
|
|
1139
|
-
})]
|
|
1140
|
-
})] })
|
|
1141
|
-
}), isConfirmPresented && /* @__PURE__ */ jsx(Confirm, {
|
|
1142
|
-
confirmText: commonT(($) => $["leave"]),
|
|
1143
|
-
description: commonT(($) => $["unsavedChangesDescription"]),
|
|
1144
|
-
onCancel: handleCancelDismiss,
|
|
1145
|
-
onConfirm: handleConfirmDismiss,
|
|
1146
|
-
title: commonT(($) => $["unsavedChanges"])
|
|
1147
|
-
})] });
|
|
1148
|
-
}
|
|
1149
|
-
//#endregion
|
|
1150
|
-
//#region src/adaptiveWorkflow/components/SpecializedComponent/SpecializedComponent.tsx
|
|
1151
|
-
/**
|
|
1152
|
-
* A dynamic component resolver for the Adaptive Workflow Engine (AWE).
|
|
1153
|
-
*
|
|
1154
|
-
* Specialized components are self-contained units that handle their own field rendering,
|
|
1155
|
-
* multi-step forms (if applicable), and data submission. They are looked up from the
|
|
1156
|
-
* {@link specializedComponentMap} registry using the `component` provided by the AWE manifest.
|
|
1157
|
-
*
|
|
1158
|
-
* @param component - name used to resolve the component from the registry
|
|
1159
|
-
* @param onComplete - Forwarded to the resolved component; called when its flow finishes
|
|
1160
|
-
* @param onClose - Forwarded to the resolved component; called to dismiss the modal
|
|
1161
|
-
* @param properties - properties returned from AWE
|
|
1162
|
-
* @returns The matched specialized component, or an error end-state if the component
|
|
1163
|
-
* is not found in the registry or the `id` is missing
|
|
1164
|
-
*/
|
|
1165
|
-
var SpecializedComponent = ({ component, onComplete, onClose, properties }) => {
|
|
1166
|
-
const { globals } = useWorkflowContext();
|
|
1167
|
-
const Component = specializedComponentMap[component];
|
|
1168
|
-
const mappedProps = useComputed(() => {
|
|
1169
|
-
return resolveComponentProps(globals.value, properties);
|
|
1170
|
-
});
|
|
1171
|
-
if (Component) return /* @__PURE__ */ jsx(Component, {
|
|
1172
|
-
onComplete,
|
|
1173
|
-
onClose,
|
|
1174
|
-
...mappedProps.value
|
|
1175
|
-
});
|
|
1176
|
-
return /* @__PURE__ */ jsx(EndStateLayout, {
|
|
1177
|
-
title: "Something went wrong",
|
|
1178
|
-
description: "Something went wrong on our end, please try again later",
|
|
1179
|
-
variant: "error"
|
|
1180
|
-
});
|
|
1181
|
-
};
|
|
1182
|
-
//#endregion
|
|
1183
|
-
//#region src/adaptiveWorkflow/components/SubTask/contextMap.ts
|
|
1184
|
-
var contextMap$2 = { identityScreening: {
|
|
1185
|
-
heading: "enhancedIdentityScreening",
|
|
1186
|
-
description: "placeholder"
|
|
1187
|
-
} };
|
|
1188
|
-
//#endregion
|
|
1189
|
-
//#region src/adaptiveWorkflow/components/SubTask/SubTask.tsx
|
|
1190
|
-
var SubTask = ({ id, subTasks, handleCloseClick }) => {
|
|
1191
|
-
const { t } = useTranslation("adaptive");
|
|
1192
|
-
const { t: commonT } = useTranslation("common");
|
|
1193
|
-
const { heading, description } = contextMap$2[id] || {};
|
|
1194
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
1195
|
-
className: FormFlow_module_default.formFlow,
|
|
1196
|
-
children: [/* @__PURE__ */ jsxs("div", {
|
|
1197
|
-
className: FormFlow_module_default.formFlowContent,
|
|
1198
|
-
children: [/* @__PURE__ */ jsx(Header, {
|
|
1199
|
-
title: heading ? t(($) => $[heading]) : t(($) => $["additionalDetails"]),
|
|
1200
|
-
description: description && t(($) => $[description])
|
|
1201
|
-
}), /* @__PURE__ */ jsx(StackLayout, {
|
|
1202
|
-
gap: "xSmall",
|
|
1203
|
-
children: subTasks.map((subTask) => {
|
|
1204
|
-
return /* @__PURE__ */ jsx(Task, { ...subTask }, subTask.id);
|
|
1205
|
-
})
|
|
1206
|
-
})]
|
|
1207
|
-
}), /* @__PURE__ */ jsx("div", {
|
|
1208
|
-
className: FormFlow_module_default.formFlowFooter,
|
|
1209
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
1210
|
-
className: FormFlow_module_default.formFlowActions,
|
|
1211
|
-
children: /* @__PURE__ */ jsx(Button, {
|
|
1212
|
-
onClick: handleCloseClick,
|
|
1213
|
-
variant: "secondary",
|
|
1214
|
-
children: commonT(($) => $["cancel"])
|
|
1215
|
-
})
|
|
1216
|
-
})
|
|
1217
|
-
})]
|
|
1218
|
-
});
|
|
1219
|
-
};
|
|
1220
|
-
//#endregion
|
|
1221
|
-
//#region src/adaptiveWorkflow/components/TaskParser/TaskParser.tsx
|
|
1222
|
-
var TaskParser = ({ id, steps, component, subTasks, handleCloseClick, handleComplete }) => {
|
|
1223
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1224
|
-
subTasks && /* @__PURE__ */ jsx(SubTask, {
|
|
1225
|
-
id,
|
|
1226
|
-
subTasks,
|
|
1227
|
-
handleCloseClick
|
|
1228
|
-
}),
|
|
1229
|
-
steps && /* @__PURE__ */ jsx(DynamicForm, {
|
|
1230
|
-
onClose: handleCloseClick,
|
|
1231
|
-
onComplete: handleComplete,
|
|
1232
|
-
steps
|
|
1233
|
-
}),
|
|
1234
|
-
component && /* @__PURE__ */ jsx(SpecializedComponent, {
|
|
1235
|
-
...component,
|
|
1236
|
-
onComplete: handleComplete,
|
|
1237
|
-
onClose: handleCloseClick
|
|
1238
|
-
})
|
|
1239
|
-
] });
|
|
1240
|
-
};
|
|
1241
|
-
//#endregion
|
|
1242
|
-
//#region src/adaptiveWorkflow/components/Task/contextMap.ts
|
|
1243
|
-
var contextMap$1 = {
|
|
1244
|
-
additionalBusinessDetails: {
|
|
1245
|
-
title: "additionalBusinessDetails",
|
|
1246
|
-
icon: "company"
|
|
1247
|
-
},
|
|
1248
|
-
identityScreening: {
|
|
1249
|
-
title: "enhancedIdentityScreening",
|
|
1250
|
-
icon: "user"
|
|
1251
|
-
},
|
|
1252
|
-
sourceOfFunds: {
|
|
1253
|
-
title: "fundingSources",
|
|
1254
|
-
icon: "coins"
|
|
1255
|
-
},
|
|
1256
|
-
taxReporting: {
|
|
1257
|
-
title: "taxReporting",
|
|
1258
|
-
icon: "document"
|
|
1259
|
-
},
|
|
1260
|
-
contracting: {
|
|
1261
|
-
title: "servicesAgreement",
|
|
1262
|
-
icon: "reporting"
|
|
1263
|
-
}
|
|
1264
|
-
};
|
|
1265
|
-
//#endregion
|
|
1266
|
-
//#region src/adaptiveWorkflow/components/Task/Task.tsx
|
|
1267
|
-
var SpecializedTaskComponent = ({ taskItem, status, onClick }) => {
|
|
1268
|
-
const { globals } = useWorkflowContext();
|
|
1269
|
-
const TaskComponent = specializedTaskComponentMap[taskItem.component];
|
|
1270
|
-
const mappedProps = resolveComponentProps(globals.value, taskItem.properties) ?? {};
|
|
1271
|
-
if (TaskComponent) return /* @__PURE__ */ jsx(TaskComponent, {
|
|
1272
|
-
id: taskItem.id,
|
|
1273
|
-
status,
|
|
1274
|
-
onClick,
|
|
1275
|
-
props: mappedProps
|
|
1276
|
-
});
|
|
1277
|
-
return null;
|
|
1278
|
-
};
|
|
1279
|
-
/**
|
|
1280
|
-
* Component which accepts the Task-specific configuration returned from AWE to render
|
|
1281
|
-
* a specific task. Each task can render either further sub-tasks, a dynamic form, or one specialized component
|
|
1282
|
-
*/
|
|
1283
|
-
var Task = (props) => {
|
|
1284
|
-
const { id, taskItem } = props;
|
|
1285
|
-
const { t } = useTranslation("adaptive");
|
|
1286
|
-
const { t: commonT } = useTranslation("common");
|
|
1287
|
-
const { title, icon } = contextMap$1[id] || {};
|
|
1288
|
-
const { taskStatuses, updateTaskStatus } = useWorkflowContext();
|
|
1289
|
-
const [showModal, setShowModal] = useState(false);
|
|
1290
|
-
const taskStatus = useComputed(() => taskStatuses.value[id] ?? TaskStatuses.DETAILS_REQUIRED);
|
|
1291
|
-
const handleTaskClick = () => {
|
|
1292
|
-
setShowModal(true);
|
|
1293
|
-
};
|
|
1294
|
-
const handleCloseClick = () => {
|
|
1295
|
-
setShowModal(false);
|
|
1296
|
-
};
|
|
1297
|
-
const handleComplete = () => {
|
|
1298
|
-
updateTaskStatus(id, TaskStatuses.FINISHED);
|
|
1299
|
-
setShowModal(false);
|
|
1300
|
-
};
|
|
1301
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [taskItem ? /* @__PURE__ */ jsx(SpecializedTaskComponent, {
|
|
1302
|
-
taskItem,
|
|
1303
|
-
status: taskStatus.value,
|
|
1304
|
-
onClick: handleTaskClick
|
|
1305
|
-
}) : /* @__PURE__ */ jsx(TaskListItem, {
|
|
1306
|
-
titleKey: "task",
|
|
1307
|
-
title: title ? t(($) => $[title]) : commonT(($) => $["additionalInformation"]),
|
|
1308
|
-
icon,
|
|
1309
|
-
status: taskStatus.value,
|
|
1310
|
-
onNavigateToTask: () => handleTaskClick()
|
|
1311
|
-
}), showModal && /* @__PURE__ */ jsx(Modal, {
|
|
1312
|
-
onClose: handleCloseClick,
|
|
1313
|
-
size: "large",
|
|
1314
|
-
transition: "slideIn",
|
|
1315
|
-
showCloseButton: true,
|
|
1316
|
-
ariaLabel: "modal",
|
|
1317
|
-
children: /* @__PURE__ */ jsx(TaskParser, {
|
|
1318
|
-
...props,
|
|
1319
|
-
handleCloseClick,
|
|
1320
|
-
handleComplete
|
|
1321
|
-
})
|
|
1322
|
-
})] });
|
|
1323
|
-
};
|
|
1324
|
-
//#endregion
|
|
1325
|
-
//#region src/adaptiveWorkflow/components/TaskGroup/contextMap.ts
|
|
1326
|
-
var contextMap = {
|
|
1327
|
-
businessInformation: {
|
|
1328
|
-
heading: "businessInformation",
|
|
1329
|
-
description: "placeholder"
|
|
1330
|
-
},
|
|
1331
|
-
financialProducts: {
|
|
1332
|
-
heading: "setUpFinancialProducts",
|
|
1333
|
-
description: "placeholder"
|
|
1334
|
-
},
|
|
1335
|
-
contracting: {
|
|
1336
|
-
heading: "reviewAndSignLegalDisclosures",
|
|
1337
|
-
description: "placeholder"
|
|
1338
|
-
}
|
|
1339
|
-
};
|
|
1340
|
-
//#endregion
|
|
1341
|
-
//#region src/adaptiveWorkflow/components/TaskGroup/TaskGroup.tsx
|
|
1342
|
-
/**
|
|
1343
|
-
* Uses task group ID and task group context map to render the copy related to a specific task group
|
|
1344
|
-
* Also renders the nested tasks associated with a particular task group
|
|
1345
|
-
*/
|
|
1346
|
-
var TaskGroup = ({ id, tasks }) => {
|
|
1347
|
-
const { t } = useTranslation("adaptive");
|
|
1348
|
-
const { heading: headingKey, description: descriptionKey } = contextMap[id] || {};
|
|
1349
|
-
return /* @__PURE__ */ jsx("div", {
|
|
1350
|
-
className: "u-margin-bottom-24",
|
|
1351
|
-
children: /* @__PURE__ */ jsxs(StackLayout, {
|
|
1352
|
-
gap: "xSmall",
|
|
1353
|
-
children: [/* @__PURE__ */ jsx(Header, {
|
|
1354
|
-
title: headingKey ? t(($) => $[headingKey]) : t(($) => $["additionalDetails"]),
|
|
1355
|
-
description: descriptionKey && t(($) => $[descriptionKey]),
|
|
1356
|
-
secondary: true
|
|
1357
|
-
}), tasks.map((task) => /* @__PURE__ */ jsx(Task, { ...task }, task.id))]
|
|
1358
|
-
})
|
|
1359
|
-
});
|
|
1360
|
-
};
|
|
1361
|
-
//#endregion
|
|
1362
|
-
//#region src/adaptiveWorkflow/components/TaskGroupParser/TaskGroupParser.tsx
|
|
1363
|
-
/**
|
|
1364
|
-
* Parses TaskGroupConfig returned from AWE to render task groups
|
|
1365
|
-
*/
|
|
1366
|
-
var TaskGroupParser = ({ taskGroups }) => {
|
|
1367
|
-
return /* @__PURE__ */ jsx(StackLayout, { children: taskGroups.map((taskGroup) => /* @__PURE__ */ jsx(TaskGroup, { ...taskGroup }, taskGroup.id)) });
|
|
1368
|
-
};
|
|
1369
|
-
//#endregion
|
|
1370
|
-
//#region src/adaptiveWorkflow/components/WorkflowHeading/WorkflowHeading.tsx
|
|
1371
|
-
var getHeadingCopy = (globalStatus, t) => {
|
|
1372
|
-
switch (globalStatus) {
|
|
1373
|
-
case "ACTION_REQUIRED": return {
|
|
1374
|
-
title: t(($) => $["wereAlmostThere"]),
|
|
1375
|
-
description: t(($) => $["youreInTheHomeStretch"])
|
|
1376
|
-
};
|
|
1377
|
-
default: return {
|
|
1378
|
-
title: t(($) => $["welcomeBack"]),
|
|
1379
|
-
description: t(($) => $["weveReusedYourExistingMerchantProfile"])
|
|
1380
|
-
};
|
|
1381
|
-
}
|
|
1382
|
-
};
|
|
1383
|
-
var WorkflowHeading = ({ globalStatus }) => {
|
|
1384
|
-
const { t } = useTranslation("adaptive");
|
|
1385
|
-
const { title, description } = getHeadingCopy(globalStatus, t);
|
|
1386
|
-
return /* @__PURE__ */ jsx(Header, {
|
|
1387
|
-
title,
|
|
1388
|
-
description
|
|
1389
|
-
});
|
|
1390
|
-
};
|
|
1391
|
-
//#endregion
|
|
1392
|
-
//#region src/adaptiveWorkflow/components/WorkflowEndState/WorkflowEndState.tsx
|
|
1393
|
-
var STATUSES_WITH_WORKFLOW_END_STATE = new Set(["ACTIVATION", "READY"]);
|
|
1394
|
-
var getEndStateConfig = (globalStatus, t) => {
|
|
1395
|
-
switch (globalStatus) {
|
|
1396
|
-
case "ACTIVATION": return {
|
|
1397
|
-
title: t(($) => $["weveGotItFromHere"]),
|
|
1398
|
-
description: t(($) => $["yourDetailsHaveBeenSubmitted"]),
|
|
1399
|
-
variant: "info"
|
|
1400
|
-
};
|
|
1401
|
-
case "READY": return {
|
|
1402
|
-
title: t(($) => $["ready"]),
|
|
1403
|
-
description: t(($) => $["youreAllSet"]),
|
|
1404
|
-
variant: "success"
|
|
1405
|
-
};
|
|
1406
|
-
default: return;
|
|
1407
|
-
}
|
|
1408
|
-
};
|
|
1409
|
-
var WorkflowEndState = ({ status, handleBack }) => {
|
|
1410
|
-
const { t } = useTranslation("adaptive");
|
|
1411
|
-
const endStateConfig = getEndStateConfig(status, t);
|
|
1412
|
-
const action = handleBack ? /* @__PURE__ */ jsx(Button, {
|
|
1413
|
-
fullWidth: true,
|
|
1414
|
-
onClick: handleBack,
|
|
1415
|
-
children: t(($) => $["returnToPlatform"])
|
|
1416
|
-
}) : void 0;
|
|
1417
|
-
return endStateConfig ? /* @__PURE__ */ jsx(EndStateLayout, {
|
|
1418
|
-
title: endStateConfig.title,
|
|
1419
|
-
description: endStateConfig.description,
|
|
1420
|
-
variant: endStateConfig.variant,
|
|
1421
|
-
action
|
|
1422
|
-
}) : null;
|
|
1423
|
-
};
|
|
1424
|
-
//#endregion
|
|
1425
|
-
//#region src/adaptiveWorkflow/AdaptiveWorkflow.tsx
|
|
1426
|
-
var getTaskIdsFromTasks = (tasks) => tasks.flatMap((task) => [task.id, ...task.subTasks ? getTaskIdsFromTasks(task.subTasks) : []]);
|
|
1427
|
-
var getTaskIds = (taskGroups) => taskGroups.flatMap(({ tasks }) => getTaskIdsFromTasks(tasks));
|
|
1428
|
-
var getProgressSteps = (globalStatus, t) => {
|
|
1429
|
-
const basicDetails = t(($) => $["basicDetails"]);
|
|
1430
|
-
const additionalDetails = t(($) => $["additionalDetails"]);
|
|
1431
|
-
const activation = t(($) => $["activation"]);
|
|
1432
|
-
const ready = t(($) => $["ready"]);
|
|
1433
|
-
switch (globalStatus) {
|
|
1434
|
-
case "ACTIVATION": return [
|
|
1435
|
-
{
|
|
1436
|
-
name: basicDetails,
|
|
1437
|
-
progress: 100
|
|
1438
|
-
},
|
|
1439
|
-
{
|
|
1440
|
-
name: additionalDetails,
|
|
1441
|
-
progress: 100,
|
|
1442
|
-
flex: 2
|
|
1443
|
-
},
|
|
1444
|
-
{
|
|
1445
|
-
name: activation,
|
|
1446
|
-
progress: 0
|
|
1447
|
-
},
|
|
1448
|
-
{
|
|
1449
|
-
name: ready,
|
|
1450
|
-
progress: 0
|
|
1451
|
-
}
|
|
1452
|
-
];
|
|
1453
|
-
case "READY": return [
|
|
1454
|
-
{
|
|
1455
|
-
name: basicDetails,
|
|
1456
|
-
progress: 100
|
|
1457
|
-
},
|
|
1458
|
-
{
|
|
1459
|
-
name: additionalDetails,
|
|
1460
|
-
progress: 100,
|
|
1461
|
-
flex: 2
|
|
1462
|
-
},
|
|
1463
|
-
{
|
|
1464
|
-
name: activation,
|
|
1465
|
-
progress: 100
|
|
1466
|
-
},
|
|
1467
|
-
{
|
|
1468
|
-
name: ready,
|
|
1469
|
-
progress: 100
|
|
1470
|
-
}
|
|
1471
|
-
];
|
|
1472
|
-
default: return [
|
|
1473
|
-
{
|
|
1474
|
-
name: basicDetails,
|
|
1475
|
-
progress: 100
|
|
1476
|
-
},
|
|
1477
|
-
{
|
|
1478
|
-
name: additionalDetails,
|
|
1479
|
-
progress: 0,
|
|
1480
|
-
flex: 2
|
|
1481
|
-
},
|
|
1482
|
-
{
|
|
1483
|
-
name: activation,
|
|
1484
|
-
progress: 0
|
|
1485
|
-
},
|
|
1486
|
-
{
|
|
1487
|
-
name: ready,
|
|
1488
|
-
progress: 0
|
|
1489
|
-
}
|
|
1490
|
-
];
|
|
1491
|
-
}
|
|
1492
|
-
};
|
|
1493
|
-
/**
|
|
1494
|
-
* Main home page for Adaptive Onboarding Workflow
|
|
1495
|
-
*/
|
|
1496
|
-
var AdaptiveWorkflow = ({ uiManifest, onBack }) => {
|
|
1497
|
-
const { refetch: refetchWorkflowManifest } = useAdaptiveWorkflow();
|
|
1498
|
-
const { entity, globals, globalStatus, taskGroups } = uiManifest;
|
|
1499
|
-
const { t } = useTranslation("adaptive");
|
|
1500
|
-
const { t: commonT } = useTranslation("common");
|
|
1501
|
-
const { setGlobals, setEntity, taskStatuses, setTaskStatuses } = useWorkflowContext();
|
|
1502
|
-
const allTasksCompleted = useComputed(() => {
|
|
1503
|
-
return Object.values(taskStatuses.value).every((status) => status === TaskStatuses.FINISHED);
|
|
1504
|
-
});
|
|
1505
|
-
useEffect(() => {
|
|
1506
|
-
setGlobals(globals || {});
|
|
1507
|
-
setEntity(entity || {});
|
|
1508
|
-
if (taskGroups) setTaskStatuses(Object.fromEntries(getTaskIds(taskGroups).map((id) => [id, TaskStatuses.DETAILS_REQUIRED])));
|
|
1509
|
-
}, [
|
|
1510
|
-
globals,
|
|
1511
|
-
entity,
|
|
1512
|
-
taskGroups,
|
|
1513
|
-
setGlobals,
|
|
1514
|
-
setEntity,
|
|
1515
|
-
setTaskStatuses
|
|
1516
|
-
]);
|
|
1517
|
-
const showWorkflowEndState = STATUSES_WITH_WORKFLOW_END_STATE.has(globalStatus);
|
|
1518
|
-
const handleSubmit = () => {
|
|
1519
|
-
refetchWorkflowManifest();
|
|
1520
|
-
};
|
|
1521
|
-
const handleBack = () => {
|
|
1522
|
-
onBack?.();
|
|
1523
|
-
};
|
|
1524
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("div", {
|
|
1525
|
-
className: AdaptiveWorkflow_module_default.adaptiveWorkflowHeader,
|
|
1526
|
-
children: /* @__PURE__ */ jsx(AdaptiveProgressBar, {
|
|
1527
|
-
steps: getProgressSteps(globalStatus, t),
|
|
1528
|
-
ariaLabel: t(($) => $["onboardingProgress"])
|
|
1529
|
-
})
|
|
1530
|
-
}), showWorkflowEndState ? /* @__PURE__ */ jsx(WorkflowEndState, {
|
|
1531
|
-
status: globalStatus,
|
|
1532
|
-
handleBack
|
|
1533
|
-
}) : /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs("div", {
|
|
1534
|
-
className: AdaptiveWorkflow_module_default.adaptiveWorkflowMain,
|
|
1535
|
-
children: [
|
|
1536
|
-
/* @__PURE__ */ jsx(WorkflowHeading, { globalStatus }),
|
|
1537
|
-
/* @__PURE__ */ jsx("div", {
|
|
1538
|
-
className: AdaptiveWorkflow_module_default.adaptiveWorkflowDivider,
|
|
1539
|
-
children: /* @__PURE__ */ jsx(Divider, {})
|
|
1540
|
-
}),
|
|
1541
|
-
taskGroups && /* @__PURE__ */ jsx(TaskGroupParser, { taskGroups })
|
|
1542
|
-
]
|
|
1543
|
-
}), /* @__PURE__ */ jsx("div", {
|
|
1544
|
-
className: AdaptiveWorkflow_module_default.adaptiveWorkflowActions,
|
|
1545
|
-
children: /* @__PURE__ */ jsxs(StackLayout, {
|
|
1546
|
-
gap: "small",
|
|
1547
|
-
children: [/* @__PURE__ */ jsx(Button, {
|
|
1548
|
-
onClick: handleSubmit,
|
|
1549
|
-
fullWidth: true,
|
|
1550
|
-
disabled: !allTasksCompleted.value,
|
|
1551
|
-
children: commonT(($) => $["submit"])
|
|
1552
|
-
}), onBack && /* @__PURE__ */ jsx(Button, {
|
|
1553
|
-
variant: "tertiary",
|
|
1554
|
-
onClick: handleBack,
|
|
1555
|
-
fullWidth: true,
|
|
1556
|
-
children: commonT(($) => $["back"])
|
|
1557
|
-
})]
|
|
1558
|
-
})
|
|
1559
|
-
})] })] });
|
|
1560
|
-
};
|
|
1561
|
-
//#endregion
|
|
1562
|
-
export { AdaptiveWorkflow, useAdaptiveWorkflow as n, WorkflowContext as t };
|