@adyen/kyc-components 4.20.0 → 4.21.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/AcceptTermsOfServiceWorkflow-BX4PavSh.js +28 -0
- package/dist/{Accordion-BWdAGMRb.js → Accordion-DC7Iuj-J.js} +3 -2
- package/dist/{AccountSetupRejected-Ku1FCk8G.js → AccountSetupRejected-U97LE7iR.js} +2 -2
- package/dist/AdaptiveWorkflow-DnvzkolP.js +210 -0
- package/dist/{AdaptiveWorkflowComponent-ZC8yOYn_.js → AdaptiveWorkflowComponent-nyRU4M-H.js} +35 -34
- package/dist/{AddressField-S_TJHHgc.js → AddressField-OygGZ6XH.js} +13 -79
- package/dist/{Avatar-CeZIQS8n.js → Avatar-BKTdqNpO.js} +2 -2
- package/dist/{BusinessFinancingDropin-T0Q5IO1m.js → BusinessFinancingDropin-BGFKtVmf.js} +155 -36
- package/dist/{BusinessFinancingPage-D2CulkQb.js → BusinessFinancingPage-HggLO02u.js} +34 -34
- package/dist/{BusinessRegistrationNumberField-BZD5POn0.js → BusinessRegistrationNumberField-CLtSzZ4H.js} +28 -133
- package/dist/BusinessRegistrationNumberFieldGroup-BfuSULya.js +172 -0
- package/dist/{BusinessTypeSelectionPage-BtJLsGtX.js → BusinessTypeSelectionPage-C9BYbNj1.js} +19 -16
- package/dist/{Button-Cm7cT6BX.js → Button-DSD_afG_.js} +4 -85
- package/dist/{Checkbox-faFUul66.js → Checkbox-B-hhlkoQ.js} +2 -2
- package/dist/{CompanyRegistrationNumberTypeSelector-v4sUJ8TM.js → CompanyRegistrationNumberTypeSelector-BlW3-gmE.js} +6 -8
- package/dist/ComponentGroup-o36ZWZoO.js +32 -0
- package/dist/{ContactDetails-CUwCotpR.js → ContactDetails-DwH0Wdi1.js} +8 -9
- package/dist/{ContextGuidance-M7lR8QJv.js → ContextGuidance-Digds0A2.js} +3 -3
- package/dist/{Currency-BOFjRr_4.js → Currency-BSsyM5Mm.js} +9 -8
- package/dist/{CustomerSupport-BE7qg8WI.js → CustomerSupport-CrNlpDnm.js} +16 -15
- package/dist/{DataConflictsModal-Ez5mMzqA.js → DataConflictsModal-CnePHHgB.js} +10 -9
- package/dist/{DebugModal-B2-a1_2A.js → DebugModal-BSNHP5Ae.js} +13 -13
- package/dist/{DecisionMakerDetails-D8vYcBse.js → DecisionMakerDetails-DwU-PnMz.js} +59 -22
- package/dist/{DecisionMakerDetailsPage-CHLINVDC.js → DecisionMakerDetailsPage-B6soHNL0.js} +35 -17
- package/dist/{DecisionMakers-Cnafi8Ul.js → DecisionMakers-Cq0TqVBQ.js} +22 -20
- package/dist/{Dropzone-D3mN45cH.js → Dropzone-JYR4c6bX.js} +9 -7
- package/dist/{EmbeddedStatus-uz3Ivsyw.js → EmbeddedStatus-CkSg9-9r.js} +5 -4
- package/dist/{EndStateLayout-BUK64Vqu.js → EndStateLayout-CarfWtTC.js} +4 -3
- package/dist/{EntityAssociation-DjEleBIE.js → EntityAssociation-DjvGgE2E.js} +7 -7
- package/dist/{ErrorPanel-Be6eGO6I.js → ErrorPanel-CMHH1nTS.js} +6 -6
- package/dist/GlobalEntryModal-CFk22iXk.js +589 -0
- package/dist/{GlobalEntryPage-3_PbpcUB.js → GlobalEntryPage-DjJZ8GP4.js} +35 -34
- package/dist/Icon-CurE93CX.js +175 -0
- package/dist/{validateExtractionResult-QkXKfGje.js → IdentityNumber-DHn--v-7.js} +7 -344
- package/dist/IdentityNumberFieldGroup-ivJ1jyGI.js +57 -0
- package/dist/IdentityScreeningWorkflow-zNOsMLhY.js +307 -0
- package/dist/{Image-8SOcICah.js → Image-D82terx4.js} +2 -2
- package/dist/{Individual.rules-Ozgltft8.js → Individual.rules-CKRy22gy.js} +9 -10
- package/dist/{IndividualDropin-DXAyTcGh.js → IndividualDropin-iGwLttHz.js} +86 -82
- package/dist/IndustryCodeFieldGroup-9CC2Ujpm.js +188 -0
- package/dist/{InputDate-DDVX2D-5.js → InputDate-9I-vTE2B.js} +2 -2
- package/dist/{InputText-Cf9ccCaj.js → InputText-Co02nT5L.js} +41 -6
- package/dist/{Introduction-ChXvkTjG.js → Introduction-BrP3b2Vs.js} +9 -8
- package/dist/{InvitedDecisionMakerComponent-BpToVKx6.js → InvitedDecisionMakerComponent-DmZh2BsQ.js} +48 -46
- package/dist/{JpAddressFields-tIf74G41.js → JpAddressFields-_PYHM7ee.js} +51 -11
- package/dist/{LegalCompanyNameField-BfkXdcjt.js → LegalCompanyNameField-C04RZp2O.js} +5 -5
- package/dist/LegalName-uERLVj_B.js +33 -0
- package/dist/{LegalRepresentativeDetailsPage-CJNdb_Yi.js → LegalRepresentativeDetailsPage-Ci3oO3ix.js} +11 -11
- package/dist/{Link-B7RA2gSt.js → Link-B-gN0d8l.js} +2 -2
- package/dist/{ListItem-Cy46BXUv.js → ListItem-BGdnopqb.js} +3 -3
- package/dist/Loader-BEpMlKm2.js +92 -0
- package/dist/{Modal-nylR9F4X.js → Modal-C6gfqa3Z.js} +3 -3
- package/dist/{Name-SuGGhRna.js → Name-PDN2ZxmV.js} +5 -5
- package/dist/{NewSummary-u_1KGI2X.js → NewSummary-BKUTkBAU.js} +10 -9
- package/dist/{PatriotActDisclosure-CudamdZG.js → PatriotActDisclosure-D6J1hjaU.js} +110 -222
- package/dist/{PayoutDetailsDropin-CGuM-jhl.js → PayoutDetailsDropin-CEbLLMkT.js} +243 -156
- package/dist/{PayoutDetailsPage-B-iD21gT.js → PayoutDetailsPage-z-U987Uw.js} +9 -9
- package/dist/{CountryField-BC0wDSlI.js → RadioGroup-B_lHSMq9.js} +168 -13
- package/dist/{Review-C18hR0ho.js → Review-DRxhY1FP.js} +8 -8
- package/dist/RootBusinessDetailsPage-Dgezqj6k.js +68 -0
- package/dist/{RootBusinessLinesPage-Cwqxq4ct.js → RootBusinessLinesPage-DHL_atq0.js} +34 -30
- package/dist/{RootIndividualDetailsPage-C1Ulh9yT.js → RootIndividualDetailsPage-DmF9Av8J.js} +12 -12
- package/dist/{Select-Dmn4bMEK.js → Select-PqhoL_oQ.js} +11 -8
- package/dist/{useSettingsContext-Bpf4UqRT.js → SettingsContext-Dl-9WWCI.js} +2 -8
- package/dist/{SignPCIComponent-DJYIl0JN.js → SignPCIComponent-BT1s1NJx.js} +44 -43
- package/dist/{SingpassSelection-nwwRlowI.js → SingpassSelection-B91AO2sW.js} +7 -6
- package/dist/SoleProprietorshipPage-Cy7D2N5d.js +70 -0
- package/dist/{SourceOfFundsPage-_zuCmR_g.js → SourceOfFundsPage-Co81WwYJ.js} +40 -38
- package/dist/SourceOfFundsWorkflow-xv-wmYjn.js +28 -0
- package/dist/{utils-eFdC-IQw.js → StateField-uZDljrxJ.js} +82 -8
- package/dist/Step-cy9IjT4h.js +195 -0
- package/dist/{StructuredList-DpzDjXNV.js → StructuredList-BKWmLAYe.js} +6 -5
- package/dist/Task-B05SmIvp.js +129 -0
- package/dist/TaskGroup-CCneo6Tt.js +46 -0
- package/dist/{TaskListItem-CKO2Us74.js → TaskListItem-DRUWL-3r.js} +12 -58
- package/dist/TaskStepperContextProvider-DuM9tlet.js +81 -0
- package/dist/{TaskVerificationStatus-DMj8rsZ_.js → TaskVerificationStatus-DCfFNRJc.js} +4 -3
- package/dist/TaxInformationFieldGroup-pBDZmrIx.js +288 -0
- package/dist/{TaxReportingDropin-DhSxTmTT.js → TaxReportingDropin-DLiaJcDy.js} +23 -21
- package/dist/TaxReportingWorkflow-BD7DTvXl.js +28 -0
- package/dist/{TermsOfServiceManagement-CeJZwKwl.js → TermsOfServiceManagement-dIJFQSNn.js} +49 -47
- package/dist/{TextArea-CoS-i-FF.js → TextArea-E1LIeudB.js} +7 -13
- package/dist/{TrustDetailsPage-BwrCUski.js → TrustDetailsPage-CVIKeFQW.js} +433 -442
- package/dist/TrustMemberCompanyPage-B5F1D3QE.js +109 -0
- package/dist/{TrustMemberIndividualPage-B3_G3BPJ.js → TrustMemberIndividualPage-BovRg-Mq.js} +12 -12
- package/dist/{TrustMemberRoleAndTypePage-CVvfVi_N.js → TrustMemberRoleAndTypePage-CofPOUX5.js} +48 -47
- package/dist/{TrustMembersOverview-CUHU8cFd.js → TrustMembersOverview-d_SZlrW5.js} +42 -40
- package/dist/Typography-CAc_f5Iq.js +80 -0
- package/dist/UboTaskItem-CG07K7K_.js +115 -0
- package/dist/{UnincorporatedPartnershipIndividualPage-CYNhHZk8.js → UnincorporatedPartnershipIndividualPage-kobyT_Sc.js} +11 -11
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BC9dJEH3.js → UnincorporatedPartnershipMemberCompanyPage-MvFM-iYR.js} +36 -36
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BcNgMOlJ.js → UnincorporatedPartnershipMemberRoleAndTypePage-DWu78HTQ.js} +12 -12
- package/dist/{UnincorporatedPartnershipMembersOverview-CSTERzB3.js → UnincorporatedPartnershipMembersOverview-B-WsX9qd.js} +10 -9
- package/dist/{VerificationErrorAlert-Ci453mfn.js → VerificationErrorAlert-D6Fwj_k3.js} +5 -5
- package/dist/Workflow-CZMd0lUc.js +228 -0
- package/dist/{accountHolderUtils-zbNnEvvh.js → accountHolderUtils-Bf4y2QFq.js} +3 -3
- package/dist/adyen-business-financing.js +35 -35
- package/dist/adyen-individual-configuration.js +37 -37
- package/dist/adyen-individual-status.js +34 -34
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +67 -63
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +6 -6
- package/dist/adyen-transfer-instrument-configuration.js +33 -33
- package/dist/adyen-transfer-instrument-management.js +44 -41
- package/dist/adyen-verification-status.js +8 -6
- package/dist/{utils-Be9xux9M.js → bafinUtils-CT-a64QP.js} +684 -167
- package/dist/{bg-BG-qQc6pN4K.js → bg-BG-BeFIiwVZ.js} +3 -1
- package/dist/bg-BG-CXqERnFH.js +7 -0
- package/dist/bg-BG-D4mSRREu.js +7 -0
- package/dist/{bg-BG-Smu9r9Kp.js → bg-BG-DpSUitm0.js} +12 -2
- package/dist/{constants-CgndY-Nk.js → constants-B8ghpskV.js} +5 -5
- package/dist/{countries-CPj8hkLs.js → countries-BE4iGVAo.js} +1 -1
- package/dist/{country-IYuKDSdC.js → country-DkgapJ4w.js} +2 -2
- package/dist/cs-CZ-C_VaBRMS.js +23 -0
- package/dist/cs-CZ-DAXMHrMi.js +7 -0
- package/dist/{cs-CZ-Jsmhr_B3.js → cs-CZ-DHfA1xjQ.js} +3 -1
- package/dist/cs-CZ-DySBJFlc.js +7 -0
- package/dist/{da-DK-CXZXQspY.js → da-DK--DlccBc0.js} +3 -1
- package/dist/da-DK-BVaEiAWd.js +7 -0
- package/dist/da-DK-BfaKncp5.js +23 -0
- package/dist/da-DK-BuvKW6Sq.js +7 -0
- package/dist/de-DE-BQaqplTp.js +7 -0
- package/dist/{de-DE-BRJ0jBty.js → de-DE-B_iHAkLT.js} +3 -1
- package/dist/de-DE-BqujMxXu.js +7 -0
- package/dist/de-DE-GUfA18ps.js +23 -0
- package/dist/{decisionMaker-Dt53wKqO.js → decisionMaker-M0Tm92JR.js} +1 -1
- package/dist/{decisionMakerRoles-CTy0faoW.js → decisionMakerRoles-DbKnutwk.js} +3 -3
- package/dist/el-GR-B1NjHThy.js +7 -0
- package/dist/el-GR-C6jyW53I.js +7 -0
- package/dist/{el-GR-DEBvBgI-.js → el-GR-CJqHd-CD.js} +12 -2
- package/dist/{el-GR-BMGYrO4V.js → el-GR-D09thseu.js} +3 -1
- package/dist/en-US-C3i5Oge2.js +7 -0
- package/dist/en-US-CJPD8qHc.js +7 -0
- package/dist/{en-US-BFM81i9K.js → en-US-CO9xzDL5.js} +1 -4
- package/dist/en-US-D4NrsDmW.js +7 -0
- package/dist/{en-US.instructions-pRLq5gXB.js → en-US.instructions-CqF1qVJV.js} +2 -1
- package/dist/{entityAssociationUtil-DLXInibJ.js → entityAssociationUtil-CLBR9osP.js} +1 -1
- package/dist/{error-Dw40w6WM.js → error-DIUYkZG-.js} +3 -3
- package/dist/es-ES-BM5RTwb7.js +7 -0
- package/dist/{es-ES-pt4yy_U2.js → es-ES-Bpxn6XGC.js} +3 -1
- package/dist/es-ES-C64v4NJD.js +7 -0
- package/dist/es-ES-IobfbI71.js +23 -0
- package/dist/es-LA--YYwwbVo.js +23 -0
- package/dist/es-LA-B7pY2dp1.js +7 -0
- package/dist/es-LA-CcMAcJ7u.js +7 -0
- package/dist/{es-LA-CGrMi4rR.js → es-LA-CjxlB1WZ.js} +3 -1
- package/dist/et-EE-DqYCOl2Y.js +23 -0
- package/dist/{et-EE-dDMeDiTJ.js → et-EE-Dtc7YYb4.js} +3 -1
- package/dist/{et-EE-BGpsJPjk.js → et-EE-FtKFvr3u.js} +2 -2
- package/dist/{et-EE-OAYKzRjG.js → et-EE-wDQx9HoZ.js} +2 -2
- package/dist/{fi-FI-iRb7nS7X.js → fi-FI-DBhYlO4B.js} +3 -1
- package/dist/{fi-FI-BTG87BwH.js → fi-FI-DSCFTLoG.js} +12 -2
- package/dist/fi-FI-KMP96Qxc.js +7 -0
- package/dist/fi-FI-SFw2grVp.js +7 -0
- package/dist/{MaskedInput-DhHmuLSN.js → form-rules-DCZ-uyGo.js} +378 -14
- package/dist/formHook-Dgi2CgbT.js +24 -0
- package/dist/{formatValidationError-XKzTY3nX.js → formatValidationError-HjSxukRu.js} +2 -2
- package/dist/fr-FR-C8IPWMDL.js +7 -0
- package/dist/fr-FR-Dsh0Vb20.js +7 -0
- package/dist/{fr-FR-DUrcyeOg.js → fr-FR-N8UDU_0Y.js} +3 -1
- package/dist/fr-FR-ZWnkRO7z.js +23 -0
- package/dist/{AnalyticsContext-BnRQ9H1u.js → genUtils-Ce61IJs8.js} +2 -17
- package/dist/{getLegalEntityCountry-BHh7Ux8v.js → getLegalEntityCountry-CNE5uei8.js} +1 -1
- package/dist/{getName-C5jqdkJg.js → getName-s7qmFean.js} +2 -2
- package/dist/{getProblemsForEntity-DStlTvE-.js → getProblemsForEntity-CTxd78-9.js} +4 -4
- package/dist/{getTrustedDecisionMakers-CAbhvydj.js → getTrustedDecisionMakers-DWVtW7JE.js} +2 -2
- package/dist/hr-HR-2a3ywU0e.js +23 -0
- package/dist/hr-HR-COvc9TZy.js +7 -0
- package/dist/hr-HR-Cqgf9B0v.js +7 -0
- package/dist/{hr-HR-LnDb18bf.js → hr-HR-GLRwxTIZ.js} +3 -1
- package/dist/{http-D6AdUBhO.js → http-DsJtugN1.js} +2 -2
- package/dist/hu-HU-BOXBLK1a.js +23 -0
- package/dist/{hu-HU-VLUIAFMp.js → hu-HU-DIjDe5aa.js} +2 -2
- package/dist/{hu-HU-D9Avt-9f.js → hu-HU-DyM1X3r6.js} +2 -2
- package/dist/{hu-HU-Cc7wqn6A.js → hu-HU-s1MKqwI4.js} +3 -1
- package/dist/{isEmpty-MyMko24J.js → isEmpty-DD8Insy0.js} +2 -2
- package/dist/{it-IT-BPA_Upt_.js → it-IT-2reNk09A.js} +3 -1
- package/dist/it-IT-BKTDLRBT.js +7 -0
- package/dist/it-IT-Dj2NtH7G.js +23 -0
- package/dist/it-IT-xXO07yyz.js +7 -0
- package/dist/{ja-JP-CYb1SAoz.js → ja-JP-Bf97gKqg.js} +3 -1
- package/dist/ja-JP-BhHK_ru2.js +7 -0
- package/dist/ja-JP-DbLRpEVj.js +7 -0
- package/dist/{ja-JP-Yi2wExJE.js → ja-JP-lXTbRXBb.js} +12 -2
- package/dist/{localizeDateString-D-MlYN4V.js → localizeDateString-Dxlqr4rL.js} +2 -2
- package/dist/logger-Z8AeTE4x.js +29 -0
- package/dist/{lt-LT-B9Nm7OZQ.js → lt-LT-BUgsY7cD.js} +3 -1
- package/dist/lt-LT-Be3q6tyu.js +7 -0
- package/dist/lt-LT-Btr5el2q.js +7 -0
- package/dist/lt-LT-COUN4qC5.js +23 -0
- package/dist/lv-LV-8wOWTo3r.js +7 -0
- package/dist/{lv-LV-DkjsE74u.js → lv-LV-BpniO6xp.js} +3 -1
- package/dist/lv-LV-DCeyOqHY.js +7 -0
- package/dist/lv-LV-DKbvF9t_.js +23 -0
- package/dist/{mapExistingFile-LvvzPjnk.js → mapExistingFile-R6-FnjjY.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-DzLVWIs7.js → mapJpAddressSchemaToAddressLocalizations-CnoGHZz_.js} +3 -3
- package/dist/{mapLegalEntityToIndividualSchema-DdNuOsAz.js → mapLegalEntityToIndividualSchema-C5lQR5IO.js} +10 -9
- package/dist/{mapTransferInstrumentToPayoutAccount-cKBtK0Qx.js → mapTransferInstrumentToPayoutAccount-D-RdVquH.js} +3 -3
- package/dist/nl-NL-CdHkQcOS.js +7 -0
- package/dist/nl-NL-CtK4OR3t.js +23 -0
- package/dist/nl-NL-Dyb3tkBi.js +7 -0
- package/dist/{nl-NL-BtdPxlFm.js → nl-NL-_B3Ey_x1.js} +3 -1
- package/dist/no-NO-B-xCUkf4.js +7 -0
- package/dist/no-NO-CxZumo2p.js +23 -0
- package/dist/{no-NO-BIhMgC99.js → no-NO-CytzrDfA.js} +3 -1
- package/dist/no-NO-DXDddmYv.js +7 -0
- package/dist/pl-PL-CBwRmIu5.js +7 -0
- package/dist/pl-PL-Cc09pXO8.js +7 -0
- package/dist/pl-PL-Csv1Lg5y.js +23 -0
- package/dist/{pl-PL-BT6NmGgO.js → pl-PL-DLBeIbY5.js} +3 -1
- package/dist/{processCapabilities-BSpmJOEd.js → processCapabilities-uXoRmB5x.js} +2 -2
- package/dist/{processValidationErrors-DgBZ7oLn.js → processValidationErrors-Cm3cBtN7.js} +3 -3
- package/dist/{pt-BR-B0SUw4uu.js → pt-BR-Cf5Jif3w.js} +3 -1
- package/dist/pt-BR-DA4PVtVa2.js +7 -0
- package/dist/pt-BR-IBsCApUj.js +23 -0
- package/dist/pt-BR-hMhyqixD.js +7 -0
- package/dist/pt-PT-CYKk0WDI.js +23 -0
- package/dist/{pt-PT-KikTTc5A.js → pt-PT-Cg7oMqTO.js} +3 -1
- package/dist/pt-PT-D2qX_lOd.js +7 -0
- package/dist/pt-PT-QU0CQs-d.js +7 -0
- package/dist/{resolveEnvironment-I0NAzeCT.js → resolveEnvironment-wbFNXSP-.js} +68 -46
- package/dist/ro-RO-23qEGblz.js +23 -0
- package/dist/ro-RO-CQjOM8e-.js +7 -0
- package/dist/ro-RO-DNye-gMC.js +7 -0
- package/dist/{ro-RO-DajmyI4j.js → ro-RO-UHWXt9rv.js} +3 -1
- package/dist/sk-SK-2jlbtz2r.js +7 -0
- package/dist/{sk-SK-DJWcs0qJ.js → sk-SK-BQHhBpDH.js} +3 -1
- package/dist/sk-SK-CwbBfCsU.js +7 -0
- package/dist/sk-SK-D8j8B4ng.js +23 -0
- package/dist/sl-SI-333ryFnM.js +23 -0
- package/dist/sl-SI-9XdXVgB8.js +7 -0
- package/dist/{sl-SI-C_QeUL6t.js → sl-SI-CTrggdef.js} +3 -1
- package/dist/sl-SI-Cyx0QtxG.js +7 -0
- package/dist/style.css +693 -672
- package/dist/styles-DYaAeu4q.js +693 -672
- package/dist/{sv-SE-D3MOTV-T.js → sv-SE-Bk55FXGN.js} +3 -1
- package/dist/sv-SE-CqhSdYBe.js +7 -0
- package/dist/sv-SE-CwsP7bTA.js +23 -0
- package/dist/sv-SE-kbf3zbjX.js +7 -0
- package/dist/{translation-DH4IlMCP.js → translation-BOm4lmPx.js} +3 -271
- package/dist/types/adaptiveWorkflow/AdaptiveWorkflow.d.ts +5 -2
- package/dist/types/adaptiveWorkflow/component-registry.d.ts +32 -39
- package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/BusinessRegistrationNumberFieldGroup.d.ts +2 -2
- package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/ExemptedFromRegistrationNumberField.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberInputField.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberTypeSelectorField.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Fields/IdentityNumber/IdentityNumberFieldGroup.d.ts +2 -2
- package/dist/types/adaptiveWorkflow/components/Fields/IndustryCode/IndustryCodeFieldGroup.d.ts +2 -2
- package/dist/types/adaptiveWorkflow/components/Fields/LegalName.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/ExemptedFromTaxField.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxIdNumberInputField.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxIdTypeSelectorField.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxInformationFieldGroup.d.ts +2 -2
- package/dist/types/adaptiveWorkflow/components/Layout/DynamicForm/{useCustomerDataV2.d.ts → useCustomerData.d.ts} +4 -9
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/IdentityScreeningWorkflow/IdentityScreening.d.ts +19 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/{IdentityScreeningWorkflow.d.ts → IdentityScreeningWorkflow/IdentityScreeningWorkflow.d.ts} +1 -1
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/Step/contextMap.d.ts +8 -1
- package/dist/types/adaptiveWorkflow/components/Layout/Task/contextMap.d.ts +9 -1
- package/dist/types/adaptiveWorkflow/components/Layout/TaskGroup/contextMap.d.ts +8 -1
- package/dist/types/adaptiveWorkflow/components/Layout/Workflow/Workflow.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/{WorkflowEndState → Layout/Workflow/WorkflowEndState}/WorkflowEndState.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/{WorkflowHeading → Layout/Workflow/WorkflowHeading}/WorkflowHeading.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/NodeRenderer.d.ts +4 -5
- package/dist/types/adaptiveWorkflow/components/types.d.ts +4 -108
- package/dist/types/{context → adaptiveWorkflow/context}/WorkflowContext/WorkflowContext.d.ts +2 -2
- package/dist/types/adaptiveWorkflow/formHook.d.ts +2 -2
- package/dist/types/api/adaptive/adaptiveWorkflow.types.d.ts +2 -3
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutSummary.d.ts +14 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +2 -1
- package/dist/types/components/Business/forms/rules.constants.d.ts +0 -17
- package/dist/types/components/Business/utils/utils.d.ts +0 -1
- package/dist/types/components/GlobalEntry/constants.d.ts +0 -22
- package/dist/types/components/GlobalEntry/fields/EntitySetupField/EntitySetupField.d.ts +2 -1
- package/dist/types/components/GlobalEntry/fields/EntitySetupField/types.d.ts +1 -1
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.d.ts +1 -1
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/types.d.ts +1 -1
- package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/UnincorporatedOrganizationTypeField.d.ts +2 -1
- package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/types.d.ts +1 -1
- package/dist/types/components/GlobalEntry/forms/EntityInformation/EntityInformation.d.ts +4 -1
- package/dist/types/components/GlobalEntry/forms/EntityInformation/types.d.ts +2 -1
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/RegistrationInformation.d.ts +8 -2
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/types.d.ts +5 -1
- package/dist/types/components/GlobalEntry/rules.d.ts +23 -0
- package/dist/types/components/GlobalEntry/tasks/GlobalEntry.d.ts +6 -1
- package/dist/types/components/GlobalEntry/utils.d.ts +3 -0
- package/dist/types/components/GlobalEntry/validate.d.ts +9 -1
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +4 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +7 -2
- package/dist/types/components/Shared/SummarySection/SummarySection.d.ts +1 -0
- package/dist/types/components/Shared/VerifiedWith/VerifiedWith.d.ts +7 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +0 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/CountryOfGoverningLawField.d.ts +1 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/constants.d.ts +2 -0
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/types.d.ts +3 -2
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +4 -0
- package/dist/types/components/Shared/forms/Address/AddressFields.d.ts +1 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/Trust.d.ts +13 -0
- package/dist/types/components/Trust/forms/Trust/form-ids.d.ts +2 -0
- package/dist/types/components/Trust/{tasks/TrustDropin/Trust.d.ts → forms/Trust/forms.d.ts} +3 -4
- package/dist/types/components/Trust/forms/Trust/types.d.ts +1 -20
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/TrustRegistrationDetails.d.ts +2 -3
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +2 -2
- package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +3 -3
- package/dist/types/components/Trust/tasks/TrustDropin/TrustDropin.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustDropin/types.d.ts +15 -0
- package/dist/types/router/routeConfig.d.ts +1 -1
- package/dist/types/utils/businessUtils.d.ts +19 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{types-BLWT7WnU.js → types-Ai_80DXu.js} +1 -1
- package/dist/{types-B4LsyK73.js → types-BeveNAZK.js} +1 -1
- package/dist/{types-Bm4RGrSI.js → types-CdxNdaM6.js} +1 -1
- package/dist/useAdaptiveWorkflow-DsQESk9f.js +28 -0
- package/dist/{useAssociatedLegalEntity-CzQlHWXy.js → useAssociatedLegalEntity-BdcoiUby.js} +3 -3
- package/dist/{useBusinessDetailsData-D2SKV7CO.js → useBusinessDetailsData-D6CY5gWd.js} +93 -186
- package/dist/{useBusinessLines-D-rc-Z6G.js → useBusinessLines-BhSN6qCH.js} +2 -2
- package/dist/{useCanSeeIntroduction-DGtlX3lt.js → useCanSeeIntroduction-Ci3FC4DJ.js} +4 -5
- package/dist/{useCreateLegalEntity-Ctdmk3Ky.js → useCreateLegalEntity-CYZd_62a.js} +2 -2
- package/dist/{useDataMissingRemediations-DNZ_UDbI.js → useDataMissingRemediations-Cd-jucOu.js} +3 -3
- package/dist/{useForm-T9qxtTlE.js → useForm-D9htlwjI.js} +5 -5
- package/dist/useHideTaskStepper-MdPt1zI8.js +25 -0
- package/dist/{useId-InBEunao.js → useId-zuKUQ8ly.js} +4 -4
- package/dist/useIndustryCodes-uAj90IyS.js +32 -0
- package/dist/{useLegalEntity-DR51Q4mE.js → useLegalEntity-QQXN6YOm.js} +2 -2
- package/dist/{useNavigate-BT8Z1amQ.js → useNavigate-BPlIHbOr.js} +33 -33
- package/dist/{useOnboardingStatus-op5TyMUR.js → useOnboardingStatus-CsGUjkm-.js} +2 -2
- package/dist/{usePciQuestionnaireList-BZsgbrTy.js → usePciQuestionnaireList-CFNJD8pS.js} +2 -2
- package/dist/{useSalesChannels-Mi6DmHab.js → useSalesChannels-CSp1PYlL.js} +5 -5
- package/dist/{useScenarios-Bne3C0PV.js → useScenarios-CGcmXgJv.js} +3 -3
- package/dist/{useTaskLandedEvent-C7fcguXK.js → useTaskLandedEvent-BCvoFRym.js} +2 -2
- package/dist/{useTaskStatus-Be6XyW54.js → useTaskStatus-CgrhdaE_.js} +2 -2
- package/dist/useTaskStepperContext-BIEhTt1x.js +15 -0
- package/dist/{useTermsOfServiceStatus-D0NHUKl_.js → useTermsOfServiceStatus-DbJDklA2.js} +2 -2
- package/dist/{useTrustMembers-B0Rg3wyX.js → useTrustMembers-BR2VfPMj.js} +6 -6
- package/dist/{useUnincorporatedPartnershipMembers-C5CNWe_U.js → useUnincorporatedPartnershipMembers-00l8eNLk.js} +5 -5
- package/dist/{useUpdateBusinessLines-D6D9DAn1.js → useUpdateBusinessLines-DCKYTzxd.js} +4 -29
- package/dist/{useUpdateLegalEntity-DtWHsFZ9.js → useUpdateLegalEntity-B6oM8kXX.js} +3 -3
- package/dist/{utils-BKAldHdP.js → utils-2s4JuDg2.js} +8 -8
- package/dist/{utils-DwujAUJC.js → utils-Br7Ah3uy.js} +1 -1
- package/dist/utils-CFaGY5aD.js +52 -0
- package/dist/{validate-DRp09YPF.js → validate-B7VTIiia.js} +1 -1
- package/dist/{validate-BNu91k9j.js → validate-D3UP_q_2.js} +10 -6
- package/dist/validate-Pfp0KXdh.js +125 -0
- package/dist/{validate-BtvWBgdt.js → validate-_NwYQ8tj.js} +4 -4
- package/dist/validateExtractionResult-BnSV5Z6F.js +343 -0
- package/dist/{validationError-D5iB4HOa.js → validationError-BgIcYxoa.js} +2 -2
- package/package.json +2 -2
- package/dist/AdaptiveWorkflow-DGwymf21.js +0 -5112
- package/dist/Address-DmDfexg6.js +0 -133
- package/dist/GlobalEntryModal-D6dN9IAJ.js +0 -353
- package/dist/JpAddress-DOw7YLKt.js +0 -284
- package/dist/JpAddress.module-OYxAFctC.js +0 -48
- package/dist/RadioGroup-C4csROhR.js +0 -84
- package/dist/RootBusinessDetailsPage-CFdd54bg.js +0 -68
- package/dist/SoleProprietorshipPage-C8FIHuAF.js +0 -70
- package/dist/TrustMemberCompanyPage-Da8JTcd4.js +0 -109
- package/dist/bafinUtils-9rBblM1a.js +0 -276
- package/dist/bg-BG-BkIvSbsH.js +0 -7
- package/dist/bg-BG-Bmveyt6S.js +0 -7
- package/dist/cs-CZ-BQ5B0-Kt.js +0 -13
- package/dist/cs-CZ-CPvgcrDs.js +0 -7
- package/dist/cs-CZ-D5CQd_YI.js +0 -7
- package/dist/da-DK-Bl0-8FN4.js +0 -7
- package/dist/da-DK-CXAIXO3c.js +0 -13
- package/dist/da-DK-D5969QKP.js +0 -7
- package/dist/de-DE-DFQGGPCj.js +0 -13
- package/dist/de-DE-Hah2EvAY.js +0 -7
- package/dist/de-DE-uDUBu-3n.js +0 -7
- package/dist/debugStore-DpSgCNGn.js +0 -40
- package/dist/el-GR-C9KGlGa7.js +0 -7
- package/dist/el-GR-DWh7gn7M.js +0 -7
- package/dist/en-US-DqhKW1eC.js +0 -7
- package/dist/en-US-MqobYcqc.js +0 -7
- package/dist/en-US-X8pjkwa3.js +0 -7
- package/dist/es-ES-C7XCTACS.js +0 -7
- package/dist/es-ES-DSwi-qfd.js +0 -7
- package/dist/es-ES-_qbfha1o.js +0 -13
- package/dist/es-LA-0IrX8yr2.js +0 -7
- package/dist/es-LA-1H8dAUVR.js +0 -7
- package/dist/es-LA-DF0v3VMe.js +0 -13
- package/dist/et-EE-evCiUrFW.js +0 -13
- package/dist/fi-FI-BdrXeX9d.js +0 -7
- package/dist/fi-FI-Cdof5NRG.js +0 -7
- package/dist/fieldConfigurations-CZCFghnK.js +0 -11
- package/dist/form-rules-DV3hxYqZ.js +0 -359
- package/dist/fr-FR-DIiBHkhs.js +0 -13
- package/dist/fr-FR-NOULV1vy.js +0 -7
- package/dist/fr-FR-hleHEr-Y.js +0 -7
- package/dist/hr-HR--ti3n_XO.js +0 -7
- package/dist/hr-HR-2h3d5-q3.js +0 -7
- package/dist/hr-HR-DofgeWWO.js +0 -13
- package/dist/hu-HU-FdLZGnBz.js +0 -13
- package/dist/it-IT-CWIAGNlE.js +0 -7
- package/dist/it-IT-CXgZZgyU.js +0 -13
- package/dist/it-IT-Dq5z7p1-.js +0 -7
- package/dist/ja-JP-C1c2UPpy.js +0 -7
- package/dist/ja-JP-Dyhw0Ycj.js +0 -7
- package/dist/japanSupportUtils-H5Zfox2v.js +0 -11
- package/dist/lt-LT-BMI4JzrS.js +0 -7
- package/dist/lt-LT-BZ6seLuB.js +0 -13
- package/dist/lt-LT-C62dFtWW.js +0 -7
- package/dist/lv-LV-CMYrAWqu.js +0 -13
- package/dist/lv-LV-LkNZQ__4.js +0 -7
- package/dist/lv-LV-W0I-UUyj.js +0 -7
- package/dist/nl-NL-C9HoBicG.js +0 -7
- package/dist/nl-NL-CC2r7Ldv.js +0 -7
- package/dist/nl-NL-CiH1raQa.js +0 -13
- package/dist/no-NO-Bo9rlROU.js +0 -7
- package/dist/no-NO-Ce2vzrp7.js +0 -13
- package/dist/no-NO-V7_rz3uN.js +0 -7
- package/dist/patternValidators-C8cRrD-t.js +0 -73
- package/dist/pl-PL-2QyKX67Y.js +0 -7
- package/dist/pl-PL-STp7eeFE.js +0 -7
- package/dist/pl-PL-aErZF5Xz.js +0 -13
- package/dist/pt-BR-CFGpH3BW.js +0 -7
- package/dist/pt-BR-D08Fo1qY.js +0 -7
- package/dist/pt-BR-hRRebYjo.js +0 -13
- package/dist/pt-PT-BAQWYDe6.js +0 -7
- package/dist/pt-PT-BHR4CEnv.js +0 -7
- package/dist/pt-PT-UAIvemf-.js +0 -13
- package/dist/ro-RO-BJeKitCz.js +0 -13
- package/dist/ro-RO-ni-ZNqXU.js +0 -7
- package/dist/ro-RO-wG0rfL5w.js +0 -7
- package/dist/sk-SK-DJinBnS1.js +0 -7
- package/dist/sk-SK-DQAGAOJW.js +0 -7
- package/dist/sk-SK-ztSYyXUE.js +0 -13
- package/dist/sl-SI-B-MLX0nT.js +0 -7
- package/dist/sl-SI-BY4TzP-F.js +0 -13
- package/dist/sl-SI-DUaLO_J7.js +0 -7
- package/dist/sv-SE-5uxyEq2a.js +0 -7
- package/dist/sv-SE-CNQCI2nX.js +0 -7
- package/dist/sv-SE-CrUbxniG.js +0 -13
- package/dist/toFullWidth-Dgy4X4i8.js +0 -52
- package/dist/types/adaptiveWorkflow/component-registry-v2.d.ts +0 -46
- package/dist/types/adaptiveWorkflow/components/DynamicForm/DynamicForm.d.ts +0 -8
- package/dist/types/adaptiveWorkflow/components/DynamicForm/contextMap.d.ts +0 -2
- package/dist/types/adaptiveWorkflow/components/DynamicForm/useCustomerData.d.ts +0 -25
- package/dist/types/adaptiveWorkflow/components/Fields/AcceptTermsOfServiceWorkflow/AcceptTermsOfServiceWorkflow.d.ts +0 -5
- package/dist/types/adaptiveWorkflow/components/Fields/IdentityScreening/IdentityScreeningWorkflow.d.ts +0 -18
- package/dist/types/adaptiveWorkflow/components/Fields/SourceOfFundsWorkflow/SourceOfFundsWorkflow.d.ts +0 -6
- package/dist/types/adaptiveWorkflow/components/Fields/TaxReportingWorkflow/TaxReportingWorkflow.d.ts +0 -6
- package/dist/types/adaptiveWorkflow/components/SpecializedComponent/SpecializedComponent.d.ts +0 -34
- package/dist/types/adaptiveWorkflow/components/SubTask/SubTask.d.ts +0 -7
- package/dist/types/adaptiveWorkflow/components/SubTask/contextMap.d.ts +0 -2
- package/dist/types/adaptiveWorkflow/components/Task/Task.d.ts +0 -6
- package/dist/types/adaptiveWorkflow/components/Task/contextMap.d.ts +0 -2
- package/dist/types/adaptiveWorkflow/components/TaskGroup/TaskGroup.d.ts +0 -6
- package/dist/types/adaptiveWorkflow/components/TaskGroup/contextMap.d.ts +0 -2
- package/dist/types/adaptiveWorkflow/components/TaskGroupParser/TaskGroupParser.d.ts +0 -7
- package/dist/types/adaptiveWorkflow/components/TaskItems/UboTaskItem/UboTaskItem.d.ts +0 -16
- package/dist/types/adaptiveWorkflow/components/TaskParser/TaskParser.d.ts +0 -7
- package/dist/types/components/Shared/forms/Address/localized/jp/JpAddress.d.ts +0 -7
- package/dist/uppercase-DvjwUM0n.js +0 -7
- /package/dist/types/{context → adaptiveWorkflow/context}/WorkflowContext/WorkflowContextProvider.d.ts +0 -0
- /package/dist/types/{context → adaptiveWorkflow/context}/WorkflowContext/useWorkflowContext.d.ts +0 -0
|
@@ -1,16 +1,371 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "336c8f8a-cd4f-4b15-bc7c-94978526e31d", e._sentryDebugIdIdentifier = "sentry-dbid-336c8f8a-cd4f-4b15-bc7c-94978526e31d");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
6
|
-
import { nt as isEmpty } from "./resolveEnvironment-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
5
|
+
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
+
import { nt as isEmpty } from "./resolveEnvironment-wbFNXSP-.js";
|
|
7
|
+
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
|
+
import { t as Icon } from "./Icon-CurE93CX.js";
|
|
9
|
+
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
10
|
+
import { s as keysOf, t as cloneObject } from "./genUtils-Ce61IJs8.js";
|
|
11
|
+
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
12
|
+
import { E as dataMissingRemediationsToFieldsMap, h as businessDetailsApiKeyMapping, r as remediationHasFileUploadField, s as individualApiKeyMapping } from "./processCapabilities-uXoRmB5x.js";
|
|
13
|
+
import { r as KEYBOARD_KEYS } from "./Modal-C6gfqa3Z.js";
|
|
14
|
+
import { i as formDebugInfo, n as useForwardedRef, r as InputBase, t as InputText } from "./InputText-Co02nT5L.js";
|
|
15
|
+
import { r as Field } from "./Select-PqhoL_oQ.js";
|
|
11
16
|
import { forwardRef } from "preact/compat";
|
|
12
|
-
import { useCallback as useCallback$1, useEffect as useEffect$1, useLayoutEffect
|
|
17
|
+
import { useCallback as useCallback$1, useEffect as useEffect$1, useLayoutEffect, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
13
18
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
19
|
+
//#region src/core/models/api/trusted-fields-provider.ts
|
|
20
|
+
var TrustedFieldsProviders = {
|
|
21
|
+
SINGPASS: "singpass",
|
|
22
|
+
KOMPANY: "kompany"
|
|
23
|
+
};
|
|
24
|
+
var LandingLayout_module_default = {
|
|
25
|
+
"landing-layout-image": "_landing-layout-image_1nous_1",
|
|
26
|
+
landingLayoutImage: "_landing-layout-image_1nous_1",
|
|
27
|
+
"landing-layout-help-action": "_landing-layout-help-action_1nous_11",
|
|
28
|
+
landingLayoutHelpAction: "_landing-layout-help-action_1nous_11",
|
|
29
|
+
"landing-layout-actions": "_landing-layout-actions_1nous_16",
|
|
30
|
+
landingLayoutActions: "_landing-layout-actions_1nous_16",
|
|
31
|
+
"landing-layout-errors": "_landing-layout-errors_1nous_23",
|
|
32
|
+
landingLayoutErrors: "_landing-layout-errors_1nous_23",
|
|
33
|
+
"landing-layout-disclaimer": "_landing-layout-disclaimer_1nous_31",
|
|
34
|
+
landingLayoutDisclaimer: "_landing-layout-disclaimer_1nous_31",
|
|
35
|
+
"landing-layout-center": "_landing-layout-center_1nous_36",
|
|
36
|
+
landingLayoutCenter: "_landing-layout-center_1nous_36"
|
|
37
|
+
};
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region src/components/ui/layout/LandingLayout/LandingLayout.tsx
|
|
40
|
+
var LandingLayout = ({ actions, content, description, error, disclaimer, helpAction, media, title }) => {
|
|
41
|
+
return /* @__PURE__ */ jsxs(StackLayout, {
|
|
42
|
+
gap: "large",
|
|
43
|
+
align: "center",
|
|
44
|
+
children: [
|
|
45
|
+
media && /* @__PURE__ */ jsx("div", {
|
|
46
|
+
role: "region",
|
|
47
|
+
className: LandingLayout_module_default.landingLayoutImage,
|
|
48
|
+
children: media
|
|
49
|
+
}),
|
|
50
|
+
error && /* @__PURE__ */ jsx("div", {
|
|
51
|
+
className: LandingLayout_module_default.landingLayoutErrors,
|
|
52
|
+
children: error
|
|
53
|
+
}),
|
|
54
|
+
/* @__PURE__ */ jsxs(StackLayout, {
|
|
55
|
+
gap: "small",
|
|
56
|
+
children: [
|
|
57
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
58
|
+
el: "h2",
|
|
59
|
+
className: LandingLayout_module_default.landingLayoutCenter,
|
|
60
|
+
variant: "title-l",
|
|
61
|
+
children: title
|
|
62
|
+
}),
|
|
63
|
+
description && /* @__PURE__ */ jsx(Typography, {
|
|
64
|
+
className: LandingLayout_module_default.landingLayoutCenter,
|
|
65
|
+
variant: "body",
|
|
66
|
+
color: "primary",
|
|
67
|
+
children: description
|
|
68
|
+
}),
|
|
69
|
+
/* @__PURE__ */ jsx("div", {
|
|
70
|
+
className: LandingLayout_module_default.landingLayoutHelpAction,
|
|
71
|
+
children: helpAction
|
|
72
|
+
})
|
|
73
|
+
]
|
|
74
|
+
}),
|
|
75
|
+
content,
|
|
76
|
+
/* @__PURE__ */ jsx("div", {
|
|
77
|
+
className: LandingLayout_module_default.landingLayoutActions,
|
|
78
|
+
children: /* @__PURE__ */ jsxs(StackLayout, {
|
|
79
|
+
gap: "small",
|
|
80
|
+
children: [actions, disclaimer && /* @__PURE__ */ jsx(Typography, {
|
|
81
|
+
variant: "caption",
|
|
82
|
+
color: "tertiary",
|
|
83
|
+
className: LandingLayout_module_default.landingLayoutDisclaimer,
|
|
84
|
+
children: disclaimer
|
|
85
|
+
})]
|
|
86
|
+
})
|
|
87
|
+
})
|
|
88
|
+
]
|
|
89
|
+
});
|
|
90
|
+
};
|
|
91
|
+
//#endregion
|
|
92
|
+
//#region src/utils/addLinkedFields.ts
|
|
93
|
+
var linkedFieldsMap = { "additionalInformation.vatNumber": ["additionalInformation.exemptedFromVat", "additionalInformation.vatAbsenceReason"] };
|
|
94
|
+
/**
|
|
95
|
+
* This function is used to process fields linked to other fields that have custom rules that can return either REQUIRED or OPTIONAL
|
|
96
|
+
* depending on the value of their links. An example of this is the Vat number, this will be REQUIRED when exemption is false but OPTIONAL when exemption is true.
|
|
97
|
+
* This needs to be done due to functions like isFieldRequiredToRemediateDataMissingError, which do not take into account the custom rules and instead mark
|
|
98
|
+
* these fields as required regardless of the rule.
|
|
99
|
+
*
|
|
100
|
+
* @param field - Field being processed
|
|
101
|
+
* @param formId - Form this field is associated to
|
|
102
|
+
* @param customRules - The rules associated to the form flow
|
|
103
|
+
* @param scenarioConfiguration - The static configuration returned from the scenario, i.e. L1, L, etc
|
|
104
|
+
* @param dataMissingErrors - Missing data problems on the LE response
|
|
105
|
+
* @param formFieldsWithExistingData - The current fields that have existing data within the LE response
|
|
106
|
+
*/
|
|
107
|
+
function calculateLinkedRequiredFields({ field, formId, customRules, scenarioConfiguration, dataMissingErrors, formFieldsWithExistingData }) {
|
|
108
|
+
const tldsField = makeTLDSFieldName(formId, field);
|
|
109
|
+
if (Boolean(linkedFieldsMap[tldsField])) {
|
|
110
|
+
const linkedFields = linkedFieldsMap[tldsField];
|
|
111
|
+
const fieldSettings = scenarioConfiguration?.[field];
|
|
112
|
+
const isFieldRequiredBySettings = fieldSettings && isFieldRequired(fieldSettings, customRules);
|
|
113
|
+
const isFieldPopulated = formFieldsWithExistingData?.includes(field);
|
|
114
|
+
const isFieldNeededToRemediateDataMissingError = isFieldRequiredToRemediateDataMissingError(formId, field, dataMissingErrors);
|
|
115
|
+
const areLinkedFieldsPopulated = linkedFields?.some((linkedField) => {
|
|
116
|
+
const linkedFieldKey = linkedField.split(".")[1];
|
|
117
|
+
return formFieldsWithExistingData?.includes(linkedFieldKey);
|
|
118
|
+
});
|
|
119
|
+
if (!(isFieldRequiredBySettings || isFieldPopulated || isFieldNeededToRemediateDataMissingError || areLinkedFieldsPopulated)) return {
|
|
120
|
+
isRequiredFromLinkedField: false,
|
|
121
|
+
isOptionalFromLinkedField: false
|
|
122
|
+
};
|
|
123
|
+
switch (field) {
|
|
124
|
+
case "vatNumber": {
|
|
125
|
+
const processedRule = customRules["countryUsesVat"]?.();
|
|
126
|
+
return {
|
|
127
|
+
isRequiredFromLinkedField: processedRule === "REQUIRED",
|
|
128
|
+
isOptionalFromLinkedField: processedRule === "OPTIONAL"
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
default: break;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
const rootLinkedField = Object.entries(linkedFieldsMap).find(([, linkedFields]) => linkedFields?.includes(tldsField))?.[0];
|
|
135
|
+
if (!rootLinkedField) return {
|
|
136
|
+
isRequiredFromLinkedField: false,
|
|
137
|
+
isOptionalFromLinkedField: false
|
|
138
|
+
};
|
|
139
|
+
const rootFieldKey = rootLinkedField.split(".")[1];
|
|
140
|
+
const rootFieldSettings = scenarioConfiguration?.[rootFieldKey];
|
|
141
|
+
const isRootFieldRequired = rootFieldSettings && isFieldRequired(rootFieldSettings, customRules);
|
|
142
|
+
const isRootFieldPopulated = formFieldsWithExistingData?.includes(rootFieldKey);
|
|
143
|
+
const areLinkedFieldsPopulated = linkedFieldsMap[rootLinkedField]?.some((linkedField) => {
|
|
144
|
+
const fieldKey = linkedField.split(".")[1];
|
|
145
|
+
return formFieldsWithExistingData?.includes(fieldKey);
|
|
146
|
+
});
|
|
147
|
+
const isRootFieldRequiredToRemediateDataMissingError = isFieldRequiredToRemediateDataMissingError(formId, rootFieldKey, dataMissingErrors);
|
|
148
|
+
if (!(isRootFieldRequired || isRootFieldPopulated || areLinkedFieldsPopulated || isRootFieldRequiredToRemediateDataMissingError)) return {
|
|
149
|
+
isRequiredFromLinkedField: false,
|
|
150
|
+
isOptionalFromLinkedField: false
|
|
151
|
+
};
|
|
152
|
+
switch (field) {
|
|
153
|
+
case "exemptedFromVat": {
|
|
154
|
+
const processedRule = customRules["isVatExempt"]?.();
|
|
155
|
+
return {
|
|
156
|
+
isRequiredFromLinkedField: processedRule === "REQUIRED",
|
|
157
|
+
isOptionalFromLinkedField: processedRule === "OPTIONAL"
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
case "vatAbsenceReason": {
|
|
161
|
+
const processedRule = customRules["isVatExempt"]?.();
|
|
162
|
+
return {
|
|
163
|
+
isRequiredFromLinkedField: processedRule === "REQUIRED",
|
|
164
|
+
isOptionalFromLinkedField: processedRule === "OPTIONAL"
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
default: return {
|
|
168
|
+
isRequiredFromLinkedField: false,
|
|
169
|
+
isOptionalFromLinkedField: false
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
//#endregion
|
|
174
|
+
//#region src/core/process-field-configurations.ts
|
|
175
|
+
var logger = createLogger();
|
|
176
|
+
var composePerScenarioFormConfigurations = (scenarios = [], configurations) => scenarios.reduce((composedConfiguration, scenarioName) => ({
|
|
177
|
+
...composedConfiguration,
|
|
178
|
+
...configurations[scenarioName]
|
|
179
|
+
}), {});
|
|
180
|
+
var augmentWithCountryConfigs = (countrySpecificConfig, baseFormConfig) => {
|
|
181
|
+
if (!countrySpecificConfig) return baseFormConfig;
|
|
182
|
+
return keysOf(countrySpecificConfig).reduce((mergedConfig, field) => ({
|
|
183
|
+
...mergedConfig,
|
|
184
|
+
[field]: {
|
|
185
|
+
...baseFormConfig[field],
|
|
186
|
+
...countrySpecificConfig[field]
|
|
187
|
+
}
|
|
188
|
+
}), baseFormConfig);
|
|
189
|
+
};
|
|
190
|
+
var evaluateRules = (fieldSettings, customRules) => {
|
|
191
|
+
const ruleNames = [fieldSettings.rule, ...fieldSettings.rules ?? []].filter(Boolean);
|
|
192
|
+
return ruleNames.map((ruleName) => {
|
|
193
|
+
switch (ruleName) {
|
|
194
|
+
case "REQUIRED": return () => "REQUIRED";
|
|
195
|
+
case "OPTIONAL": return () => "OPTIONAL";
|
|
196
|
+
default: {
|
|
197
|
+
const ruleFn = customRules[ruleName];
|
|
198
|
+
if (!ruleFn) {
|
|
199
|
+
logger.error(`Rule with name '${ruleName}' is not defined`);
|
|
200
|
+
return () => void 0;
|
|
201
|
+
}
|
|
202
|
+
return ruleFn;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}).map((rule, index) => ({
|
|
206
|
+
ruleName: ruleNames[index],
|
|
207
|
+
result: rule()
|
|
208
|
+
}));
|
|
209
|
+
};
|
|
210
|
+
var isFieldRequired = (fieldSettings, customRules, reasons) => {
|
|
211
|
+
const ruleResults = evaluateRules(fieldSettings, customRules);
|
|
212
|
+
if (reasons) ruleResults.forEach(({ ruleName, result }) => {
|
|
213
|
+
reasons.push(`Rule '${ruleName}': ${result ?? "undefined"}`);
|
|
214
|
+
});
|
|
215
|
+
return ruleResults.every(({ result }) => result === "REQUIRED");
|
|
216
|
+
};
|
|
217
|
+
var isFieldOptional = (fieldSettings, customRules, reasons) => {
|
|
218
|
+
const ruleResults = evaluateRules(fieldSettings, customRules);
|
|
219
|
+
if (reasons) ruleResults.forEach(({ ruleName, result }) => {
|
|
220
|
+
reasons.push(`Rule '${ruleName}': ${result ?? "undefined"}`);
|
|
221
|
+
});
|
|
222
|
+
return ruleResults.every(({ result }) => result === "OPTIONAL");
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* function: getPropsFromScenarios
|
|
226
|
+
*
|
|
227
|
+
* Configurations are stored as a flat list of fields and their properties.(see identity.ts), they
|
|
228
|
+
* should be agnostic of how forms are structured and implemented. While parsing the configurations
|
|
229
|
+
* the form structure information will be used to generate props specific to the passed form.
|
|
230
|
+
* This also means the field names in configurations and forms should match.
|
|
231
|
+
*
|
|
232
|
+
* @returns value Eg:
|
|
233
|
+
* ```
|
|
234
|
+
* {
|
|
235
|
+
* requiredFields: {
|
|
236
|
+
* personalDetails: ['firstName', 'lastName', 'idNumber', 'residencyCountry' ],
|
|
237
|
+
* contactDetails: ['phoneNumber', 'email']
|
|
238
|
+
* },
|
|
239
|
+
* optionalFields: {
|
|
240
|
+
* contactDetails: ['email']
|
|
241
|
+
* },
|
|
242
|
+
* labels: {
|
|
243
|
+
* personalDetails: {
|
|
244
|
+
* firstName: 'givenName',
|
|
245
|
+
* lastName: 'surName'
|
|
246
|
+
* }
|
|
247
|
+
* },
|
|
248
|
+
* validators: {
|
|
249
|
+
* phoneNumber: {
|
|
250
|
+
* validate: (value, context?) => boolean;
|
|
251
|
+
* errorMessage?: string | ErrorMessageObject;
|
|
252
|
+
* modes: 'blur' | 'input';
|
|
253
|
+
* }
|
|
254
|
+
* }
|
|
255
|
+
*
|
|
256
|
+
* }
|
|
257
|
+
* ```
|
|
258
|
+
*/
|
|
259
|
+
function getPropsFromConfigurations({ scenarioConfiguration, forms, remediationActions, dataMissingErrors, fieldsWithExistingData, customRules, legalEntityType, legalEntityTrustedFields, remediationFieldAsOptional = false }) {
|
|
260
|
+
const requiredFields = {};
|
|
261
|
+
const optionalFields = {};
|
|
262
|
+
const allFields = {};
|
|
263
|
+
const obscuredFields = {};
|
|
264
|
+
const trustedFields = {};
|
|
265
|
+
const fieldDebugStore = {};
|
|
266
|
+
formDebugInfo.value = {};
|
|
267
|
+
if (!scenarioConfiguration) return;
|
|
268
|
+
const readonly = ["legalFormDescription"];
|
|
269
|
+
/**
|
|
270
|
+
* Converts the LEM model trusted mappings to the component form field mappings
|
|
271
|
+
*/
|
|
272
|
+
const trustedFieldMappings = legalEntityTrustedFields?.reduce((acc, trusted) => {
|
|
273
|
+
switch (trusted.provider) {
|
|
274
|
+
case TrustedFieldsProviders.KOMPANY:
|
|
275
|
+
if (legalEntityType === "organization") return [...acc, ...trusted.fields.map((tf) => businessDetailsApiKeyMapping[tf])];
|
|
276
|
+
return acc;
|
|
277
|
+
case TrustedFieldsProviders.SINGPASS:
|
|
278
|
+
if (legalEntityType === "organization") {
|
|
279
|
+
const orgFields = trusted.fields.filter((field) => field.split(".")[0] === "organization");
|
|
280
|
+
return [...acc, ...orgFields.map((tf) => businessDetailsApiKeyMapping[tf])];
|
|
281
|
+
}
|
|
282
|
+
if (legalEntityType === "individual") {
|
|
283
|
+
const individualFields = trusted.fields.filter((field) => field.split(".")[0] === "individual");
|
|
284
|
+
return [...acc, ...individualFields.map((tf) => individualApiKeyMapping[tf])];
|
|
285
|
+
}
|
|
286
|
+
return acc;
|
|
287
|
+
default: return acc;
|
|
288
|
+
}
|
|
289
|
+
}, []);
|
|
290
|
+
Object.entries(forms).forEach(([_formId, formDetails]) => {
|
|
291
|
+
const formId = _formId;
|
|
292
|
+
const formFieldsWithExistingData = fieldsWithExistingData.filter((field) => field.startsWith(formId)).map((field) => field.slice(field.lastIndexOf(".") + 1));
|
|
293
|
+
if (trustedFieldMappings) trustedFields[formId] = getFormTrustedFields(formId, trustedFieldMappings);
|
|
294
|
+
formDetails.fields?.forEach((_field) => {
|
|
295
|
+
const field = _field;
|
|
296
|
+
const fieldName = `${formId}.${field}`;
|
|
297
|
+
const reasons = [];
|
|
298
|
+
const fieldSettings = scenarioConfiguration[field];
|
|
299
|
+
const isRequiredFromFieldConfig = fieldSettings && isFieldRequired(fieldSettings, customRules, reasons);
|
|
300
|
+
const isOptionalFromFieldConfig = fieldSettings && isFieldOptional(fieldSettings, customRules);
|
|
301
|
+
const isFieldRequiredByRemediationAction = showRemediationField(field, remediationActions);
|
|
302
|
+
if (isFieldRequiredByRemediationAction) reasons.push("Required by remediation action");
|
|
303
|
+
const isFieldNeededToRemediateDataMissingError = isFieldRequiredToRemediateDataMissingError(formId, field, dataMissingErrors);
|
|
304
|
+
if (isFieldNeededToRemediateDataMissingError) reasons.push("Required to remediate dataMissing error");
|
|
305
|
+
const isRequiredByRemediationAction = !remediationFieldAsOptional && isFieldRequiredByRemediationAction;
|
|
306
|
+
const isOptionalByRemediationAction = remediationFieldAsOptional && isFieldRequiredByRemediationAction;
|
|
307
|
+
const isRequiredFieldPopulated = !isOptionalFromFieldConfig && formFieldsWithExistingData.includes(field);
|
|
308
|
+
if (isRequiredFieldPopulated) reasons.push("Required because field is already populated");
|
|
309
|
+
const { isRequiredFromLinkedField, isOptionalFromLinkedField } = calculateLinkedRequiredFields({
|
|
310
|
+
field,
|
|
311
|
+
formId,
|
|
312
|
+
customRules,
|
|
313
|
+
scenarioConfiguration,
|
|
314
|
+
dataMissingErrors,
|
|
315
|
+
formFieldsWithExistingData
|
|
316
|
+
});
|
|
317
|
+
if (isRequiredFromLinkedField) reasons.push("Required by linked field");
|
|
318
|
+
if (isOptionalFromLinkedField) reasons.push("Optional by linked field");
|
|
319
|
+
const isRequired = (isRequiredFromFieldConfig || isRequiredByRemediationAction || isFieldNeededToRemediateDataMissingError || isRequiredFieldPopulated || isRequiredFromLinkedField) && !isOptionalFromLinkedField;
|
|
320
|
+
if (isRequired && !readonly.includes(field)) {
|
|
321
|
+
requiredFields[formId] = requiredFields[formId] ? [...requiredFields[formId], field] : [field];
|
|
322
|
+
allFields[formId] = allFields[formId] ? [...allFields[formId], field] : [field];
|
|
323
|
+
}
|
|
324
|
+
const isOptional = !isRequired && (isOptionalFromFieldConfig || isOptionalByRemediationAction || isOptionalFromLinkedField);
|
|
325
|
+
if (isOptional) {
|
|
326
|
+
optionalFields[formId] = optionalFields[formId] ? [...optionalFields[formId], field] : [field];
|
|
327
|
+
allFields[formId] = allFields[formId] ? [...allFields[formId], field] : [field];
|
|
328
|
+
}
|
|
329
|
+
fieldDebugStore[fieldName] = {
|
|
330
|
+
status: isRequired ? "REQUIRED" : isOptional ? "OPTIONAL" : "HIDDEN",
|
|
331
|
+
reasons
|
|
332
|
+
};
|
|
333
|
+
if (fieldSettings?.obscured) obscuredFields[formId] = obscuredFields[formId] ? [...obscuredFields[formId], field] : [field];
|
|
334
|
+
});
|
|
335
|
+
});
|
|
336
|
+
formDebugInfo.value = fieldDebugStore;
|
|
337
|
+
return {
|
|
338
|
+
requiredFields,
|
|
339
|
+
optionalFields,
|
|
340
|
+
allFields,
|
|
341
|
+
obscuredFields,
|
|
342
|
+
trustedFields
|
|
343
|
+
};
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* The following field is made a visible "required" field if :
|
|
347
|
+
* - is a remediation action field AND is a document upload field
|
|
348
|
+
* @param field - field key
|
|
349
|
+
* @param remediationActions - array of remediation actions
|
|
350
|
+
*/
|
|
351
|
+
var showRemediationField = (field, remediationActions) => remediationActions.some((rem) => rem.fields?.includes(field) && remediationHasFileUploadField(rem));
|
|
352
|
+
var makeTLDSFieldName = (formId, fieldName) => {
|
|
353
|
+
if (fieldName === "proofOfOrganizationTaxInfo") return `${formId}.taxDocument`;
|
|
354
|
+
return `${formId}.${fieldName}`;
|
|
355
|
+
};
|
|
356
|
+
var isFieldRequiredToRemediateDataMissingError = (formId, field, dataMissingErrors) => {
|
|
357
|
+
return dataMissingErrors.flatMap((error) => error.remediatingActions).filter((remediatingAction) => !!remediatingAction && remediatingAction.code in dataMissingRemediationsToFieldsMap).flatMap((remediatingAction) => dataMissingRemediationsToFieldsMap[remediatingAction.code]).filter((missingField) => Boolean(missingField)).map((missingField) => makeTLDSFieldName(formId, missingField)).includes(makeTLDSFieldName(formId, field));
|
|
358
|
+
};
|
|
359
|
+
var getFormTrustedFields = (formId, trustedFields) => trustedFields.filter((field) => field.split(".")[0] === formId).map((field) => field.split(".").filter((item) => formId !== item).join("."));
|
|
360
|
+
//#endregion
|
|
361
|
+
//#region src/utils/formFields/formFieldsUtils.ts
|
|
362
|
+
/**
|
|
363
|
+
* Replaces full-width Latin characters with regular (half-width) characters.
|
|
364
|
+
*
|
|
365
|
+
* E.g. `test@email123.com` -> `test@email123.com`
|
|
366
|
+
*/
|
|
367
|
+
var convertFullToHalf = (str) => str.replace(/[!-~]/g, (r) => String.fromCharCode(r.charCodeAt(0) - 65248));
|
|
368
|
+
//#endregion
|
|
14
369
|
//#region src/utils/makeArrayOfRepeatedObjects.ts
|
|
15
370
|
var makeArrayOfRepeatedObjects = (length, obj) => {
|
|
16
371
|
const array = [];
|
|
@@ -127,8 +482,8 @@ var makeMask = (...tokens) => ({
|
|
|
127
482
|
possibleShifts: findPossibleShifts(tokens)
|
|
128
483
|
});
|
|
129
484
|
//#endregion
|
|
130
|
-
//#region src/utils/
|
|
131
|
-
var
|
|
485
|
+
//#region src/utils/masking/transformers/uppercase.ts
|
|
486
|
+
var uppercase = (str) => str?.toUpperCase() ?? str;
|
|
132
487
|
//#endregion
|
|
133
488
|
//#region src/utils/masking/displayValueToPureValue.ts
|
|
134
489
|
var cachedStripPatterns = /* @__PURE__ */ new Map();
|
|
@@ -153,6 +508,9 @@ var displayValueToPureValue = (displayValue, mask) => {
|
|
|
153
508
|
return displayValue.replaceAll(stripPattern, "");
|
|
154
509
|
};
|
|
155
510
|
//#endregion
|
|
511
|
+
//#region src/utils/isValueObscured.ts
|
|
512
|
+
var isValueObscured = (value) => typeof value === "string" && !!value.match(/[*]{1,}/)?.length;
|
|
513
|
+
//#endregion
|
|
156
514
|
//#region src/utils/masking/stripNonAllowedValues.ts
|
|
157
515
|
var cachedAllowedPatterns = /* @__PURE__ */ new Map();
|
|
158
516
|
/**
|
|
@@ -333,7 +691,7 @@ var InputEmail = forwardRef(({ onInput, transformInput, ...props }, ref) => {
|
|
|
333
691
|
});
|
|
334
692
|
} else onInput(event);
|
|
335
693
|
}, [transformInput, onInput]);
|
|
336
|
-
useLayoutEffect
|
|
694
|
+
useLayoutEffect(() => {
|
|
337
695
|
if (cursorPosition && localRef.current?.selectionStart !== cursorPosition) localRef?.current?.setSelectionRange(cursorPosition, cursorPosition, "none");
|
|
338
696
|
}, [cursorPosition, localRef]);
|
|
339
697
|
return /* @__PURE__ */ jsx(InputBase, {
|
|
@@ -363,7 +721,7 @@ var InputTelephone = forwardRef(({ onInput, transformInput, ...props }, ref) =>
|
|
|
363
721
|
});
|
|
364
722
|
} else onInput(event);
|
|
365
723
|
}, [transformInput, onInput]);
|
|
366
|
-
useLayoutEffect
|
|
724
|
+
useLayoutEffect(() => {
|
|
367
725
|
if (cursorPosition && localRef.current?.selectionStart !== cursorPosition) localRef?.current?.setSelectionRange(cursorPosition, cursorPosition, "none");
|
|
368
726
|
}, [cursorPosition, localRef]);
|
|
369
727
|
return /* @__PURE__ */ jsx(InputBase, {
|
|
@@ -535,7 +893,7 @@ var MaskedInput = ({ value, onInput, onBlur, onFocus, onMismatch: onMismatchExte
|
|
|
535
893
|
getMaskResult,
|
|
536
894
|
stripNonAllowedInputs
|
|
537
895
|
]);
|
|
538
|
-
useLayoutEffect
|
|
896
|
+
useLayoutEffect(() => {
|
|
539
897
|
if (caretReturnPosition && inputRef.current && caretReturnPosition !== inputRef.current.selectionStart) {
|
|
540
898
|
inputRef.current.setSelectionRange(caretReturnPosition, caretReturnPosition, "none");
|
|
541
899
|
setCaretReturnPosition(null);
|
|
@@ -715,4 +1073,10 @@ var MaskedInput = ({ value, onInput, onBlur, onFocus, onMismatch: onMismatchExte
|
|
|
715
1073
|
});
|
|
716
1074
|
};
|
|
717
1075
|
//#endregion
|
|
718
|
-
|
|
1076
|
+
//#region src/types/form-rules.ts
|
|
1077
|
+
/**
|
|
1078
|
+
* Identity function that guarantees strictly typed rules with the provided rule names
|
|
1079
|
+
*/
|
|
1080
|
+
var createFormRules = (rules) => rules;
|
|
1081
|
+
//#endregion
|
|
1082
|
+
export { LandingLayout as _, uppercase as a, customInputs as c, numericInputs as d, spacer as f, getPropsFromConfigurations as g, composePerScenarioFormConfigurations as h, isValueObscured as i, makeMask as l, augmentWithCountryConfigs as m, MaskedInput as n, alphaInputs as o, convertFullToHalf as p, InputEmail as r, alphanumericInputs as s, createFormRules as t, nonInputs as u, TrustedFieldsProviders as v };
|
|
@@ -0,0 +1,24 @@
|
|
|
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] = "81c708f2-be2a-4588-945a-57d684a93023", e._sentryDebugIdIdentifier = "sentry-dbid-81c708f2-be2a-4588-945a-57d684a93023");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { createFormHook, createFormHookContexts } from "@tanstack/preact-form";
|
|
6
|
+
//#region src/adaptiveWorkflow/formHook.ts
|
|
7
|
+
var { fieldContext, formContext } = createFormHookContexts();
|
|
8
|
+
/**
|
|
9
|
+
* Shared form hook for the adaptive workflow.
|
|
10
|
+
*
|
|
11
|
+
* - `useAppForm` replaces `useForm` and provides context-aware form instances.
|
|
12
|
+
* - `withForm` wraps compound components so they receive `form` via context,
|
|
13
|
+
* eliminating the need to pass the form instance (and its complex generics) as a prop.
|
|
14
|
+
*
|
|
15
|
+
* @see https://tanstack.com/form/latest/docs/framework/react/guides/form-composition
|
|
16
|
+
*/
|
|
17
|
+
var { useAppForm, withForm } = createFormHook({
|
|
18
|
+
fieldContext,
|
|
19
|
+
formContext,
|
|
20
|
+
fieldComponents: {},
|
|
21
|
+
formComponents: {}
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { withForm as n, useAppForm as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b41be6d3-dec8-4380-80e4-042f888d8236", e._sentryDebugIdIdentifier = "sentry-dbid-b41be6d3-dec8-4380-80e4-042f888d8236");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { d as isTranslationObject, f as translateTranslatable } from "./Select-
|
|
5
|
+
import { d as isTranslationObject, f as translateTranslatable } from "./Select-PqhoL_oQ.js";
|
|
6
6
|
//#region src/utils/validation/formatValidationError.ts
|
|
7
7
|
/**
|
|
8
8
|
* Converts `NsTranslatable` validation error messages into `FieldErrorMessage` for use in `Field` components
|
|
@@ -0,0 +1,7 @@
|
|
|
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] = "1620c3d0-368d-4a22-8c33-0bac249674bd", e._sentryDebugIdIdentifier = "sentry-dbid-1620c3d0-368d-4a22-8c33-0bac249674bd");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
var fr_FR_default = /* @__PURE__ */ JSON.parse("{\"acceptedDocumentsForGovernment\":\"Documents acceptés pour les agences gouvernementales\",\"acceptedDocumentsForNonProfit\":\"Documents acceptés pour les organisations sans but lucratif\",\"acceptedDocumentsForPartnerships\":\"Documents acceptés pour les partenariats\",\"acceptedDocumentsForPrivateCompanies\":\"Documents acceptés pour les entreprises privées\",\"acceptedDocumentsForPublicCompanies\":\"Documents acceptés pour les entreprises publiques\",\"additionalInformationFormHeading\":\"Informations supplémentaires\",\"anIssueDateWithinTheLast12Months\":\"Une date d'émission au cours des 12\xA0derniers mois\",\"annualReport\":\"Rapport annuel\",\"annualReports\":\"Rapports annuels\",\"annualReturns\":\"Rendements annuels\",\"articlesOfIncorporation\":\"Statuts\",\"assignmentAgreements\":\"Accords de cession\",\"associationIncorporated\":\"Association constituée en personne morale\",\"associationIncorporatedDescription\":\"Entité enregistrée sans bénéfice qui s'organise autour d'un but tel que les loisirs, la culture ou la charité.\",\"basicInformationFormDescription\":\"Au cours des prochaines étapes, nous recueillerons et vérifierons les informations sur votre entreprise conformément à la réglementation financière. Découvrez comment vos données sont gérées dans notre\",\"basicInformationFormHeading\":\"Informations de base\",\"boardOfDirectorsMeetingRecords\":\"Comptes rendus des décisions prises lors des réunions du conseil d'administration\",\"businessDetailsFailedToLoad\":\"Échec de l'importation des informations sur l'entreprise\",\"businessDetailsGettingStarted\":\"Nous devons recueillir et vérifier certaines informations sur votre entreprise conformément aux réglementations financières mondiales.\",\"businessSelection\":\"Sélection d'entreprise\",\"businessSelectionFormHeading\":\"Sélectionnez votre entreprise\",\"certificateOfCorporateStatus\":\"Certificat du statut de l'entreprise\",\"certificateOfFormation\":\"Certificat de formation\",\"certificateOfIncorporation\":\"Extrait d'inscription au Registre du commerce\",\"certificateOfIncumbency\":\"<em>Certificate of incumbency</em> (attestation de fonction)\",\"charter\":\"Charte\",\"clearReadableText\":\"Texte clair et lisible\",\"companyFinancialInformationFormHeading\":\"Informations financières\",\"companyRegistrationDocumentFormDescription\":\"Nous avons besoin d'un document officiel pour vérifier les informations de votre organisation.\",\"companyRegistrationDocumentFormHeading\":\"Importer un document d'immatriculation\",\"companyStructureFormDescription\":\"Quelle est la nature de votre entreprise\xA0?\",\"companyStructureFormHeading\":\"Structure de l'entreprise\",\"companyTaxDocumentFormDescription\":\"Nous avons besoin d'un document officiel pour vérifier les informations fiscales de votre organisation.\",\"companyTaxDocumentFormHeading\":\"Importer un document fiscal\",\"containsNameOfCompany\":\"Contient le nom de votre entreprise ou organisation\",\"describingTheOrganizationAndItsUBOSignedWithinTheLast6Months\":\"décrivant l’organisation et ses bénéficiaires effectifs, signé au cours des 6\xA0derniers mois.\",\"documentIssuedByGovernmentAuthority\":\"Le document doit être émis par une autorité gouvernementale. Il est généralement délivré lors de l'inscription d'une entreprise au registre du commerce local\",\"documentShowsTaxIdOfCompany\":\"Le document comporte le numéro d'identification fiscale de l'entreprise\",\"employerIdentificationNumberDoesntMatch\":\"Le numéro d’identification de l’employeur (EIN) ne correspond pas\",\"enterTheNameExactlyAsItIsOnYourAccountingAndCorporateRegulatoryAuthorityBizFile\":\"Saisissez le nom exactement tel qu'il figure sur votre BizFile de l'Accounting and Corporate Regulatory Authority (ACRA).\",\"enterTheNameExactlyAsItIsOnYourAustralianSecuritiesAndInvestmentCommission\":\"Saisissez le nom exactement tel qu'il figure sur votre justificatif ASIC (Australian Securities and Investment Commission).\",\"enterTheNameExactlyAsItIsOnYourChamberOfCommerceRegistration\":\"Saisissez le nom exactement tel qu'il figure sur l'immatriculation à la Chambre de commerce.\",\"enterTheNameExactlyAsItIsOnYourHongKongCompaniesRegistryCertificateOfIncorporation\":\"Saisissez le nom exactement tel qu'il figure sur le certificat d'inscription du registre des sociétés de Hong Kong.\",\"entitiesMustIncludeANameLegalStructureAndCountryRegionOfRegistration\":\"Les entités doivent inclure un nom, une structure juridique et un pays/région d’immatriculation.\",\"failedToUpdateEfpBusinessLines\":\"Échec de la création ou de la mise à jour des secteurs d'activité\",\"findYourIncorporatedAssociationNumberInThePublicRegistryForYourState\":\"Trouvez votre numéro d'association constituée en personne morale dans le registre public de votre État.\",\"governmentalOrganizationDescription\":\"Votre organisation est détenue par un gouvernement ou un État.\",\"governmentalOrganizationTitle\":\"Organisation gouvernementale\",\"ifThisIsYourBusinessGoBackAndChooseADifferentSetup\":\"S'il s'agit de votre entreprise, revenez en arrière et choisissez une autre configuration.\",\"includesEIN\":\"Inclut votre EIN (numéro d'identification de l'employeur)\",\"includesEvidenceOfTheIndividualsRole\":\"Inclut des preuves du rôle de l'individu en tant que directeur\",\"includesEvidenceOfTheIndividualsRoleSignatory\":\"Inclut des preuves du rôle de l'individu en tant que signataire\",\"includesLegalCompanyName\":\"Inclut la dénomination sociale de votre société\",\"includesTheDirectorsFullName\":\"Inclut le nom complet du directeur\",\"includesTheRegisteredAddressOfTheOrganization\":\"Inclut l'adresse légale de l'organisation\",\"includesTheSignatorysFullName\":\"Inclut le nom complet du signataire\",\"industry\":\"Secteur\",\"irsCP575\":\"Lettre CP 575 de l'IRS\",\"irsScheduleK1\":\"Annexe K-1 de l'IRS (formulaire 1065)\",\"issuedByTheTaxAuthority\":\"Émis par l'administration fiscale ou le gouvernement du pays où la société est immatriculée\",\"issuedOrSignedByALegalRepresentative\":\"Émis ou signé par un représentant légal au cours des 12\xA0derniers mois\",\"itLooksLikeThisBusinessUsesADifferentEIN\":\"Il semble que cette entreprise utilise un EIN différent de celui que vous avez fourni. Une vérification supplémentaire peut être requise si vous continuez en tant que cette entreprise.\",\"meetingRecords\":\"Comptes rendus des décisions prises lors des réunions du conseil d'administration\",\"myBusinessIsntHere\":\"Mon entreprise n’est pas ici\",\"nonProfitOrCharitableOrgDescription\":\"Votre organisation a un statut officiel d'organisme sans but lucratif ou exonéré d'impôts.\",\"nonProfitOrCharitableOrgTitle\":\"Organisme à but non lucratif ou association caritative\",\"oneOrganizationalChartAndOneSupportingDocument\":\"1 organigramme et 1 document justificatif sont requis\",\"oneOrganizationalChartShowingOwnershipAndControllingRelations\":\"Un organigramme illustrant les relations de propriété et de contrôle entre l'organisation et ses bénéficiaires effectifs, y compris les pourcentages exacts de propriété dans un diagramme visuel.\",\"otherBusinessInformation\":\"Autres informations sur l’entreprise\",\"partnerShipAgreement\":\"Accord de partenariat\",\"partnershipAgreements\":\"Accords de partenariat\",\"partnershipIncorporated\":\"Partenariat constitué\",\"partnershipIncorporatedDescription\":\"Vous et vos partenaires avez une responsabilité limitée sur les dettes de l'entreprise.\",\"primaryIndustryCodeGuidance\":\"Selon vos connaissances, sélectionnez le code de secteur qui représente le mieux votre activité principale.\",\"privateCompanyDescription\":\"Votre entreprise appartient au secteur privé et n'est pas cotée en bourse. \",\"privateCompanyTitle\":\"Société privée\",\"publicCompanyDescription\":\"Votre entreprise est cotée en bourse et tenue de divulguer régulièrement des informations financières au public.\",\"publicCompanyTitle\":\"Société publique\",\"registrationDocument\":\"Document d'immatriculation\",\"secForm10k\":\"Formulaire 10-K de la SEC\",\"secretaryOfStateFiling\":\"Dépôt auprès du Secretary of State (État)\",\"secretaryOfStateFiling__PR\":\"Dépôt auprès du Department of State (gouvernement fédéral)\",\"secretaryOfStateRegDoc\":\"Justificatif d'immatriculation délivré par le Secretary of State\",\"secretaryOfStateRegDoc__PR\":\"Justificatif d'immatriculation délivré par le Department of State\",\"securitiesRegister\":\"Registre des valeurs mobilières\",\"selectAnOptionToProceed\":\"Sélectionnez une option pour procéder\",\"selectTheOptionWithTheMostCorrectDetailsToContinue\":\"Sélectionnez l’option avec les informations les plus précises pour continuer\",\"shareholderAgreements\":\"Accords d'actionnaires\",\"shareholderRegister\":\"Registre des actionnaires\",\"showsOwnershipAndControllingRelations\":\"Illustre les relations de propriété et de contrôle entre l'organisation et ses bénéficiaires effectifs, y compris les pourcentages exacts de propriété dans un diagramme visuel.\",\"signedByALawyerAccountantAuditorWithinTheLast6Months\":\"Signé par un avocat, un comptable ou un auditeur au cours des 6\xA0derniers mois.\",\"stockExchangeInformation\":\"Informations boursières\",\"theBusinessNameExactlyAsItAppearsOnGovernmentOrLegalForms\":\"Le nom de l'entreprise tel qu'il apparaît sur les formulaires officiels ou juridiques.\",\"theCompleteAddress\":\"L'adresse complète\",\"theDetailsWeCollected\":\"Les informations que nous avons recueillies et vérifiées concernant votre entreprise conformément aux réglementations financières mondiales.\",\"theDocumentsWeCanAcceptToProveOwnershipAre\":\"Les documents que nous pouvons accepter pour prouver la propriété et la structure de contrôle d'une entreprise sont les suivants\xA0:\",\"theEinDidntMatchLegalBusinessName\":\"L’EIN ne correspond pas à la dénomination sociale. Comment souhaitez-vous continuer\xA0?\",\"theLegalNameIsUsedToIdentifyABusinessWithTheGovernment\":\"La dénomination sociale est utilisée pour identifier une entreprise auprès du gouvernement\xA0; saisissez-la exactement comme elle apparaît sur vos formulaires gouvernementaux ou juridiques.\",\"thisBusinessIsntRegisteredAsACompany\":\"Cette entreprise n’est pas enregistrée comme une société.\",\"thisIsMyBusiness\":\"Il s'agit de mon entreprise\",\"toFinishVerifyingYourBusinessWeNeedAnOfficialDocumentThatConfirmsItsAddress\":\"Pour terminer la vérification de votre entreprise, nous avons besoin d'un document officiel confirmant son adresse.\",\"ultimateBeneficialOwnerRegister\":\"Registre des bénéficiaires effectifs\",\"uploadAConstanciaDeSituacionFiscalDocument\":\"Importer un document Constancia de Situación Fiscal (CSF)\",\"uploadProofOfAddress\":\"Importer un justificatif de domicile\",\"uploadYourDocuments\":\"Importer vos documents\",\"uploadYourOrganizationProofOfDirector\":\"Importez un justificatif de votre organisation indiquant la qualité de poste de directeur\",\"uploadYourOrganizationProofOfOwnership\":\"Importez un justificatif de propriété de votre organisation\",\"uploadYourOrganizationProofOfSignatory\":\"Importez un justificatif pour le signataire de votre organisation\",\"verifiedInformation\":\"Informations vérifiées\",\"verifyYourBusinesssDetails\":\"Vérifiez les détails de votre entreprise\",\"weNeedAnOfficialDocument\":\"Nous avons besoin d'un document officiel pour vérifier le directeur de votre organisation.\",\"weNeedAnOfficialDocumentForOwnership\":\"Nous avons besoin de documents officiels pour vérifier la structure de propriété et de contrôle de votre organisation.\",\"weNeedAnOfficialDocumentSignatory\":\"Nous avons besoin d'un document officiel pour vérifier le signataire de votre organisation.\",\"weSuggest\":\"Nous suggérons\",\"whichDocumentsQualifyToProveOwnership\":\"Quels documents sont admissibles pour prouver la propriété\xA0?\",\"youBusinessOfficalAddress\":\"L'adresse officielle de votre entreprise est utilisée à des fins gouvernementales et autres fins légales.\",\"yourBusinesssLegalName\":\"Votre dénomination sociale\"}");
|
|
6
|
+
//#endregion
|
|
7
|
+
export { fr_FR_default as default };
|