@adyen/kyc-components 4.20.1 → 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-DQdpjNnj.js → AccountSetupRejected-U97LE7iR.js} +2 -2
- package/dist/AdaptiveWorkflow-DnvzkolP.js +210 -0
- package/dist/{AdaptiveWorkflowComponent-ww43_J9E.js → AdaptiveWorkflowComponent-nyRU4M-H.js} +35 -34
- package/dist/{AddressField-Cq44IQgb.js → AddressField-OygGZ6XH.js} +13 -79
- package/dist/{Avatar-CeZIQS8n.js → Avatar-BKTdqNpO.js} +2 -2
- package/dist/{BusinessFinancingDropin-CMeomX1F.js → BusinessFinancingDropin-BGFKtVmf.js} +155 -36
- package/dist/{BusinessFinancingPage-CvNhVMFK.js → BusinessFinancingPage-HggLO02u.js} +34 -34
- package/dist/{BusinessRegistrationNumberField-TuTjE9TJ.js → BusinessRegistrationNumberField-CLtSzZ4H.js} +28 -133
- package/dist/BusinessRegistrationNumberFieldGroup-BfuSULya.js +172 -0
- package/dist/{BusinessTypeSelectionPage-BwGIUiyr.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-BUY0kPkh.js → CompanyRegistrationNumberTypeSelector-BlW3-gmE.js} +6 -8
- package/dist/ComponentGroup-o36ZWZoO.js +32 -0
- package/dist/{ContactDetails-Dlnfdc4z.js → ContactDetails-DwH0Wdi1.js} +8 -9
- package/dist/{ContextGuidance-DPortRSU.js → ContextGuidance-Digds0A2.js} +3 -3
- package/dist/{Currency-rLOMcO9B.js → Currency-BSsyM5Mm.js} +9 -8
- package/dist/{CustomerSupport-CytLCSpZ.js → CustomerSupport-CrNlpDnm.js} +16 -15
- package/dist/{DataConflictsModal-D_pGAWW3.js → DataConflictsModal-CnePHHgB.js} +10 -9
- package/dist/{DebugModal-DGUzeYey.js → DebugModal-BSNHP5Ae.js} +13 -13
- package/dist/{DecisionMakerDetails-sppE8Dg7.js → DecisionMakerDetails-DwU-PnMz.js} +59 -22
- package/dist/{DecisionMakerDetailsPage-tuj8OdWO.js → DecisionMakerDetailsPage-B6soHNL0.js} +35 -17
- package/dist/{DecisionMakers-arwYqEpw.js → DecisionMakers-Cq0TqVBQ.js} +22 -20
- package/dist/{Dropzone-MXpQ2JX4.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-DIMugfMW.js → EntityAssociation-DjvGgE2E.js} +7 -7
- package/dist/{ErrorPanel-BnNNDGTX.js → ErrorPanel-CMHH1nTS.js} +6 -6
- package/dist/GlobalEntryModal-CFk22iXk.js +589 -0
- package/dist/{GlobalEntryPage-CQHkux-h.js → GlobalEntryPage-DjJZ8GP4.js} +35 -34
- package/dist/Icon-CurE93CX.js +175 -0
- package/dist/{validateExtractionResult-C-fw1L8Y.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-D8zkDeJr.js → Individual.rules-CKRy22gy.js} +9 -10
- package/dist/{IndividualDropin-B0z9XvoK.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-BvzjJX0Y.js → Introduction-BrP3b2Vs.js} +9 -8
- package/dist/{InvitedDecisionMakerComponent-rlvJWIWV.js → InvitedDecisionMakerComponent-DmZh2BsQ.js} +48 -46
- package/dist/{JpAddressFields-D0aE5hUZ.js → JpAddressFields-_PYHM7ee.js} +51 -11
- package/dist/{LegalCompanyNameField-DnE5UUFG.js → LegalCompanyNameField-C04RZp2O.js} +5 -5
- package/dist/LegalName-uERLVj_B.js +33 -0
- package/dist/{LegalRepresentativeDetailsPage-BfHh2J1h.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-D97x3Aer.js → Name-PDN2ZxmV.js} +5 -5
- package/dist/{NewSummary-CsF_b2Zb.js → NewSummary-BKUTkBAU.js} +10 -9
- package/dist/{PatriotActDisclosure-BzEYbRQD.js → PatriotActDisclosure-D6J1hjaU.js} +110 -222
- package/dist/{PayoutDetailsDropin-BjwvWgAh.js → PayoutDetailsDropin-CEbLLMkT.js} +243 -156
- package/dist/{PayoutDetailsPage-CsjL4b5T.js → PayoutDetailsPage-z-U987Uw.js} +9 -9
- package/dist/{CountryField-VqtzxZj3.js → RadioGroup-B_lHSMq9.js} +168 -13
- package/dist/{Review-B4-4DJTu.js → Review-DRxhY1FP.js} +8 -8
- package/dist/RootBusinessDetailsPage-Dgezqj6k.js +68 -0
- package/dist/{RootBusinessLinesPage-B8ZXd9tg.js → RootBusinessLinesPage-DHL_atq0.js} +34 -30
- package/dist/{RootIndividualDetailsPage-8O0fCQUV.js → RootIndividualDetailsPage-DmF9Av8J.js} +12 -12
- package/dist/{Select-Da38B3jF.js → Select-PqhoL_oQ.js} +11 -8
- package/dist/{useSettingsContext-Bpf4UqRT.js → SettingsContext-Dl-9WWCI.js} +2 -8
- package/dist/{SignPCIComponent-muiSGWD3.js → SignPCIComponent-BT1s1NJx.js} +44 -43
- package/dist/{SingpassSelection-C1I_GGrp.js → SingpassSelection-B91AO2sW.js} +7 -6
- package/dist/SoleProprietorshipPage-Cy7D2N5d.js +70 -0
- package/dist/{SourceOfFundsPage-DboMDhBD.js → SourceOfFundsPage-Co81WwYJ.js} +40 -38
- package/dist/SourceOfFundsWorkflow-xv-wmYjn.js +28 -0
- package/dist/{utils-CZ_zNEGG.js → StateField-uZDljrxJ.js} +82 -8
- package/dist/Step-cy9IjT4h.js +195 -0
- package/dist/{StructuredList-BfGbwPzv.js → StructuredList-BKWmLAYe.js} +6 -5
- package/dist/Task-B05SmIvp.js +129 -0
- package/dist/TaskGroup-CCneo6Tt.js +46 -0
- package/dist/{TaskListItem-CQWioWnf.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-DYnviwxF.js → TaxReportingDropin-DLiaJcDy.js} +23 -21
- package/dist/TaxReportingWorkflow-BD7DTvXl.js +28 -0
- package/dist/{TermsOfServiceManagement-CFDcCJkl.js → TermsOfServiceManagement-dIJFQSNn.js} +49 -47
- package/dist/{TextArea-CoS-i-FF.js → TextArea-E1LIeudB.js} +7 -13
- package/dist/{TrustDetailsPage-6GCRIYdn.js → TrustDetailsPage-CVIKeFQW.js} +433 -442
- package/dist/TrustMemberCompanyPage-B5F1D3QE.js +109 -0
- package/dist/{TrustMemberIndividualPage-41KD5wSm.js → TrustMemberIndividualPage-BovRg-Mq.js} +12 -12
- package/dist/{TrustMemberRoleAndTypePage-BkoEQlM_.js → TrustMemberRoleAndTypePage-CofPOUX5.js} +48 -47
- package/dist/{TrustMembersOverview-UT6oZiPL.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-BAzZlvV1.js → UnincorporatedPartnershipIndividualPage-kobyT_Sc.js} +11 -11
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DElRc81a.js → UnincorporatedPartnershipMemberCompanyPage-MvFM-iYR.js} +36 -36
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CTRU0rjh.js → UnincorporatedPartnershipMemberRoleAndTypePage-DWu78HTQ.js} +12 -12
- package/dist/{UnincorporatedPartnershipMembersOverview-ChdENSmG.js → UnincorporatedPartnershipMembersOverview-B-WsX9qd.js} +10 -9
- package/dist/{VerificationErrorAlert-ByZiFlOj.js → VerificationErrorAlert-D6Fwj_k3.js} +5 -5
- package/dist/Workflow-CZMd0lUc.js +228 -0
- package/dist/{accountHolderUtils-CU6LiED8.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-CG6SkgWX.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-DXvDP3Pp.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-eM2RouhV.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-CoYYGwNR.js → form-rules-DCZ-uyGo.js} +378 -14
- package/dist/formHook-Dgi2CgbT.js +24 -0
- package/dist/{formatValidationError-ORR7cERM.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-DiN9hWC4.js → mapJpAddressSchemaToAddressLocalizations-CnoGHZz_.js} +3 -3
- package/dist/{mapLegalEntityToIndividualSchema-BlX7EATz.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-BKl8a-jj.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-hjjNXWog.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-D2MIWs9I.js → useBusinessDetailsData-D6CY5gWd.js} +87 -182
- package/dist/{useBusinessLines-D-rc-Z6G.js → useBusinessLines-BhSN6qCH.js} +2 -2
- package/dist/{useCanSeeIntroduction-DAYvQxRg.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-BkEqxjgn.js → useForm-D9htlwjI.js} +5 -5
- package/dist/useHideTaskStepper-MdPt1zI8.js +25 -0
- package/dist/{useId-B2M7rcNd.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-CeEPS3BR.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-BKaKSFec.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-wZJRlSHa.js → useUpdateLegalEntity-B6oM8kXX.js} +3 -3
- package/dist/{utils-Bp2bSMJk.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-BfsM7uNT.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-CnZK23pT.js → validate-_NwYQ8tj.js} +4 -4
- package/dist/validateExtractionResult-BnSV5Z6F.js +343 -0
- package/dist/{validationError-DTNzhkYS.js → validationError-BgIcYxoa.js} +2 -2
- package/package.json +2 -2
- package/dist/AdaptiveWorkflow-CD9PxlZB.js +0 -5112
- package/dist/Address-Bcs8E1cy.js +0 -133
- package/dist/GlobalEntryModal-DUiam_Uk.js +0 -353
- package/dist/JpAddress-DwUCwWLj.js +0 -284
- package/dist/JpAddress.module-D2L5W268.js +0 -48
- package/dist/RadioGroup-DH-VltHL.js +0 -84
- package/dist/RootBusinessDetailsPage-DxRO2WXZ.js +0 -68
- package/dist/SoleProprietorshipPage-DLUSIiSo.js +0 -70
- package/dist/TrustMemberCompanyPage-DeRhNqs1.js +0 -109
- package/dist/bafinUtils-CMvRbzzm.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-B21mvXul.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
|
@@ -0,0 +1,28 @@
|
|
|
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] = "2bb8248e-40f6-4665-aa5e-9b2fc647e441", e._sentryDebugIdIdentifier = "sentry-dbid-2bb8248e-40f6-4665-aa5e-9b2fc647e441");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { t as EndStateLayout } from "./EndStateLayout-CarfWtTC.js";
|
|
6
|
+
import { t as TermsOfServiceManagement } from "./TermsOfServiceManagement-dIJFQSNn.js";
|
|
7
|
+
import { t as useTaskStepperContext } from "./useTaskStepperContext-BIEhTt1x.js";
|
|
8
|
+
import { t as useHideTaskStepper } from "./useHideTaskStepper-MdPt1zI8.js";
|
|
9
|
+
import { jsx } from "preact/jsx-runtime";
|
|
10
|
+
//#region src/adaptiveWorkflow/components/Layout/Steps/AcceptTermsOfServiceWorkflow.tsx
|
|
11
|
+
var AcceptTermsOfServiceWorkflow = ({ node }) => {
|
|
12
|
+
const { goToNextStep, goToPreviousStep } = useTaskStepperContext();
|
|
13
|
+
useHideTaskStepper();
|
|
14
|
+
if (!node.properties?.resourceId) return /* @__PURE__ */ jsx(EndStateLayout, {
|
|
15
|
+
variant: "error",
|
|
16
|
+
title: "Something went wrong",
|
|
17
|
+
description: "Please try again later"
|
|
18
|
+
});
|
|
19
|
+
const onComplete = () => goToNextStep();
|
|
20
|
+
const onClose = () => goToPreviousStep();
|
|
21
|
+
return /* @__PURE__ */ jsx(TermsOfServiceManagement, {
|
|
22
|
+
legalEntityId: node.properties.resourceId,
|
|
23
|
+
onComplete,
|
|
24
|
+
onClose
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
export { AcceptTermsOfServiceWorkflow };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "541be778-75da-4af1-99de-b330812d6a66", e._sentryDebugIdIdentifier = "sentry-dbid-541be778-75da-4af1-99de-b330812d6a66");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
5
|
+
import { t as Icon } from "./Icon-CurE93CX.js";
|
|
6
|
+
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
6
7
|
import cx from "classnames";
|
|
7
8
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
8
9
|
import { defineSlots } from "named-slots";
|
|
@@ -2,8 +2,8 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "75680866-bf49-4206-bbb9-89f3eb636db8", e._sentryDebugIdIdentifier = "sentry-dbid-75680866-bf49-4206-bbb9-89f3eb636db8");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { S as AlertIcon, k as Header } from "./resolveEnvironment-
|
|
5
|
+
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
+
import { S as AlertIcon, k as Header } from "./resolveEnvironment-wbFNXSP-.js";
|
|
7
7
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
8
8
|
//#region src/components/Shared/AccountSetupRejected/AccountSetupRejected.tsx
|
|
9
9
|
function AccountSetupRejected() {
|
|
@@ -0,0 +1,210 @@
|
|
|
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] = "23b963ac-d601-4ef6-901f-03c8d8e50751", e._sentryDebugIdIdentifier = "sentry-dbid-23b963ac-d601-4ef6-901f-03c8d8e50751");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
6
|
+
import { r as resolveComponentProps } from "./utils-CFaGY5aD.js";
|
|
7
|
+
import { Suspense, lazy } from "preact/compat";
|
|
8
|
+
import { useContext as useContext$1, useEffect as useEffect$1 } from "preact/hooks";
|
|
9
|
+
import { jsx } from "preact/jsx-runtime";
|
|
10
|
+
import { createContext as createContext$1 } from "preact";
|
|
11
|
+
//#region src/adaptiveWorkflow/context/WorkflowContext/WorkflowContext.tsx
|
|
12
|
+
var WorkflowContext = createContext$1(void 0);
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/adaptiveWorkflow/context/WorkflowContext/useWorkflowContext.ts
|
|
15
|
+
function useWorkflowContext() {
|
|
16
|
+
return useContext$1(WorkflowContext);
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/adaptiveWorkflow/component-registry.ts
|
|
20
|
+
var Workflow = lazy(async () => (await import("./Workflow-CZMd0lUc.js")).Workflow);
|
|
21
|
+
var TaskGroup = lazy(async () => (await import("./TaskGroup-CCneo6Tt.js")).TaskGroup);
|
|
22
|
+
var Task = lazy(async () => (await import("./Task-B05SmIvp.js")).Task);
|
|
23
|
+
var Step = lazy(async () => (await import("./Step-cy9IjT4h.js")).Step);
|
|
24
|
+
var ComponentGroup = lazy(async () => (await import("./ComponentGroup-o36ZWZoO.js")).ComponentGroup);
|
|
25
|
+
var UboTaskItem = lazy(async () => (await import("./UboTaskItem-CG07K7K_.js")).UboTaskItem);
|
|
26
|
+
var SourceOfFunds = lazy(async () => (await import("./SourceOfFundsWorkflow-xv-wmYjn.js")).SourceOfFundsWorkflow);
|
|
27
|
+
var TaxReporting = lazy(async () => (await import("./TaxReportingWorkflow-BD7DTvXl.js")).TaxReportingWorkflow);
|
|
28
|
+
var AcceptTermsOfService = lazy(async () => (await import("./AcceptTermsOfServiceWorkflow-BX4PavSh.js")).AcceptTermsOfServiceWorkflow);
|
|
29
|
+
var IdentityScreening = lazy(async () => (await import("./IdentityScreeningWorkflow-zNOsMLhY.js")).IdentityScreeningWorkflow);
|
|
30
|
+
var LegalName = lazy(async () => (await import("./LegalName-uERLVj_B.js")).LegalName);
|
|
31
|
+
var TaxInformationFieldGroup = lazy(async () => (await import("./TaxInformationFieldGroup-pBDZmrIx.js")).TaxInformationFieldGroup);
|
|
32
|
+
var BusinessRegistrationNumberFieldGroup = lazy(async () => (await import("./BusinessRegistrationNumberFieldGroup-BfuSULya.js")).BusinessRegistrationNumberFieldGroup);
|
|
33
|
+
var IndustryCodeFieldGroup = lazy(async () => (await import("./IndustryCodeFieldGroup-9CC2Ujpm.js")).IndustryCodeFieldGroup);
|
|
34
|
+
var IdentityNumberFieldGroup = lazy(async () => (await import("./IdentityNumberFieldGroup-ivJ1jyGI.js")).IdentityNumberFieldGroup);
|
|
35
|
+
var LAYOUT_COMPONENT_MAP = {
|
|
36
|
+
layout: Workflow,
|
|
37
|
+
taskGroup: TaskGroup,
|
|
38
|
+
task: Task,
|
|
39
|
+
step: Step,
|
|
40
|
+
componentGroup: ComponentGroup,
|
|
41
|
+
uboTaskItem: UboTaskItem
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Component map for simple fields (one field tied to one requirement)
|
|
45
|
+
*/
|
|
46
|
+
var SIMPLE_FIELD_COMPONENT_MAP = { LegalNameField: LegalName };
|
|
47
|
+
/**
|
|
48
|
+
* Component map for compound fields
|
|
49
|
+
* Compound components receive form + basePath + dynamic server-driven props.
|
|
50
|
+
* The map value must be ComponentType<any> because each compound component has its own unique
|
|
51
|
+
* props interface — there's no single type that covers all of them in a dynamic registry.
|
|
52
|
+
*/
|
|
53
|
+
var COMPOUND_FIELD_COMPONENT_MAP = {
|
|
54
|
+
taxInformationFieldGroup: TaxInformationFieldGroup,
|
|
55
|
+
businessRegistrationNumberFieldGroup: BusinessRegistrationNumberFieldGroup,
|
|
56
|
+
identityNumberFieldGroup: IdentityNumberFieldGroup,
|
|
57
|
+
IndustryCodeFieldGroup
|
|
58
|
+
};
|
|
59
|
+
var SPECIALIZED_STEP_COMPONENT_MAP = {
|
|
60
|
+
sourceOfFunds: SourceOfFunds,
|
|
61
|
+
taxReporting: TaxReporting,
|
|
62
|
+
acceptTermsOfService: AcceptTermsOfService,
|
|
63
|
+
identityVerification: IdentityScreening
|
|
64
|
+
};
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/adaptiveWorkflow/utils/getNodeType.ts
|
|
67
|
+
/**
|
|
68
|
+
* Returns the kind of a node by name.
|
|
69
|
+
* - `'simple'` — single-field component (keyed in SIMPLE_FIELD_COMPONENT_MAP)
|
|
70
|
+
* - `'compound'` — multi-field group component (keyed in COMPOUND_FIELD_COMPONENT_MAP)
|
|
71
|
+
* - `'layout'` — structural/layout component (keyed in LAYOUT_COMPONENT_MAP)
|
|
72
|
+
* - `'specializedStep'` — all encompassing component (ex. built-in data fetching/submission, field rendering, navigation, etc.) (keyed in SPECIALIZED_STEP_COMPONENT_MAP)
|
|
73
|
+
* - `null` — unknown / unmapped component
|
|
74
|
+
*/
|
|
75
|
+
var getNodeType = (component) => {
|
|
76
|
+
if (component in SIMPLE_FIELD_COMPONENT_MAP) return "simple";
|
|
77
|
+
if (component in COMPOUND_FIELD_COMPONENT_MAP) return "compound";
|
|
78
|
+
if (component in LAYOUT_COMPONENT_MAP) return "layout";
|
|
79
|
+
if (component in SPECIALIZED_STEP_COMPONENT_MAP) return "specializedStep";
|
|
80
|
+
return null;
|
|
81
|
+
};
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region src/adaptiveWorkflow/components/NodeRenderer/CompoundFieldRenderer.tsx
|
|
84
|
+
/**
|
|
85
|
+
* Renders a compound field returned from the UI manifest.
|
|
86
|
+
* Compound fields render multiple fields which may be tied to one specific path linked to a requirement returned from RE.
|
|
87
|
+
*/
|
|
88
|
+
var CompoundFieldRenderer = ({ node, form }) => {
|
|
89
|
+
const CompoundField = COMPOUND_FIELD_COMPONENT_MAP[node.name];
|
|
90
|
+
return /* @__PURE__ */ jsx(Suspense, {
|
|
91
|
+
fallback: /* @__PURE__ */ jsx(Loader, {}),
|
|
92
|
+
children: /* @__PURE__ */ jsx(CompoundField, {
|
|
93
|
+
node,
|
|
94
|
+
form,
|
|
95
|
+
basePath: node.path
|
|
96
|
+
})
|
|
97
|
+
});
|
|
98
|
+
};
|
|
99
|
+
//#endregion
|
|
100
|
+
//#region src/adaptiveWorkflow/components/NodeRenderer/LayoutRenderer.tsx
|
|
101
|
+
/**
|
|
102
|
+
* Renders a layout component from UI manifest
|
|
103
|
+
* Layout components are internal nodes of the UI manifest used for layout purposes (ex. grouping of child nodes)
|
|
104
|
+
* Layout components may have their own context maps which will pull in context for the UI (ex. headings, descriptions, icons, etc.) to layout nodes based on the ID returned from AWE.
|
|
105
|
+
*/
|
|
106
|
+
var LayoutRenderer = ({ node, form }) => {
|
|
107
|
+
const Layout = LAYOUT_COMPONENT_MAP[node.name];
|
|
108
|
+
return /* @__PURE__ */ jsx(Suspense, {
|
|
109
|
+
fallback: /* @__PURE__ */ jsx(Loader, {}),
|
|
110
|
+
children: /* @__PURE__ */ jsx(Layout, {
|
|
111
|
+
node,
|
|
112
|
+
form
|
|
113
|
+
})
|
|
114
|
+
});
|
|
115
|
+
};
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region src/adaptiveWorkflow/components/NodeRenderer/SimpleFieldRenderer.tsx
|
|
118
|
+
/**
|
|
119
|
+
* Renders a simple field returned from the UI manifest.
|
|
120
|
+
* Simple fields are linked to one specific path returned from AWE.
|
|
121
|
+
*/
|
|
122
|
+
var SimpleFieldRenderer = ({ node, form }) => {
|
|
123
|
+
const SimpleField = SIMPLE_FIELD_COMPONENT_MAP[node.name];
|
|
124
|
+
return /* @__PURE__ */ jsx(Suspense, {
|
|
125
|
+
fallback: /* @__PURE__ */ jsx(Loader, {}),
|
|
126
|
+
children: /* @__PURE__ */ jsx(form.Field, {
|
|
127
|
+
name: node.path,
|
|
128
|
+
children: (field) => /* @__PURE__ */ jsx(SimpleField, {
|
|
129
|
+
name: node.name,
|
|
130
|
+
handleChangeFor: field.handleChange,
|
|
131
|
+
...node.properties
|
|
132
|
+
})
|
|
133
|
+
}, node.path)
|
|
134
|
+
});
|
|
135
|
+
};
|
|
136
|
+
//#endregion
|
|
137
|
+
//#region src/adaptiveWorkflow/components/NodeRenderer/SpecializedStepRenderer.tsx
|
|
138
|
+
/**
|
|
139
|
+
* Renders a specialized step component returned from the UI manifest.
|
|
140
|
+
* Specialized step components function as one whole, all-encompassing step as part of the child components of a task.
|
|
141
|
+
* This includes fetching/submitting data, navigation, etc.
|
|
142
|
+
*/
|
|
143
|
+
var SpecializedStepRenderer = ({ node, form }) => {
|
|
144
|
+
const SpecializedStep = SPECIALIZED_STEP_COMPONENT_MAP[node.name];
|
|
145
|
+
return /* @__PURE__ */ jsx(Suspense, {
|
|
146
|
+
fallback: /* @__PURE__ */ jsx(Loader, {}),
|
|
147
|
+
children: /* @__PURE__ */ jsx(SpecializedStep, {
|
|
148
|
+
node,
|
|
149
|
+
form
|
|
150
|
+
})
|
|
151
|
+
});
|
|
152
|
+
};
|
|
153
|
+
//#endregion
|
|
154
|
+
//#region src/adaptiveWorkflow/components/NodeRenderer/NodeRenderer.tsx
|
|
155
|
+
/**
|
|
156
|
+
* Generic component used to render nodes returned from the UI manifest received from AWE
|
|
157
|
+
* Resolves values of node properties, checking against the global values supplied by AWE
|
|
158
|
+
*
|
|
159
|
+
* Will need to refine the renderer behavior if a node is not mapped, currently we will just render name of node or null if not found.
|
|
160
|
+
*/
|
|
161
|
+
var NodeRenderer = ({ node, form }) => {
|
|
162
|
+
const { globals } = useWorkflowContext();
|
|
163
|
+
const resolvedProps = resolveComponentProps(globals.value, node.properties);
|
|
164
|
+
const updatedNode = {
|
|
165
|
+
...node,
|
|
166
|
+
properties: resolvedProps
|
|
167
|
+
};
|
|
168
|
+
const nodeType = getNodeType(node.name);
|
|
169
|
+
if (nodeType === "layout") return /* @__PURE__ */ jsx(LayoutRenderer, {
|
|
170
|
+
node: updatedNode,
|
|
171
|
+
form
|
|
172
|
+
});
|
|
173
|
+
if (nodeType === "specializedStep") return /* @__PURE__ */ jsx(SpecializedStepRenderer, { node: updatedNode });
|
|
174
|
+
if (nodeType === "compound" && form) return /* @__PURE__ */ jsx(CompoundFieldRenderer, {
|
|
175
|
+
node: updatedNode,
|
|
176
|
+
form
|
|
177
|
+
});
|
|
178
|
+
if (nodeType === "simple" && form) return /* @__PURE__ */ jsx(SimpleFieldRenderer, {
|
|
179
|
+
node: updatedNode,
|
|
180
|
+
form
|
|
181
|
+
});
|
|
182
|
+
return null;
|
|
183
|
+
};
|
|
184
|
+
//#endregion
|
|
185
|
+
//#region src/adaptiveWorkflow/AdaptiveWorkflow.tsx
|
|
186
|
+
/**
|
|
187
|
+
* Adaptive Onboarding Workflow.
|
|
188
|
+
*
|
|
189
|
+
* On mount, syncs `globals` and `entity` from the manifest into {@link WorkflowContext}
|
|
190
|
+
* so all child nodes can access shared workflow state.
|
|
191
|
+
*/
|
|
192
|
+
var AdaptiveWorkflow = ({ uiManifest }) => {
|
|
193
|
+
const { entity, globals, globalStatus, nodes } = uiManifest;
|
|
194
|
+
const { setGlobals, setEntity, setGlobalStatus } = useWorkflowContext();
|
|
195
|
+
useEffect$1(() => {
|
|
196
|
+
setGlobals(globals);
|
|
197
|
+
setEntity(entity);
|
|
198
|
+
setGlobalStatus(globalStatus);
|
|
199
|
+
}, [
|
|
200
|
+
globals,
|
|
201
|
+
entity,
|
|
202
|
+
globalStatus,
|
|
203
|
+
setGlobals,
|
|
204
|
+
setEntity,
|
|
205
|
+
setGlobalStatus
|
|
206
|
+
]);
|
|
207
|
+
return /* @__PURE__ */ jsx(NodeRenderer, { node: nodes });
|
|
208
|
+
};
|
|
209
|
+
//#endregion
|
|
210
|
+
export { AdaptiveWorkflow, useWorkflowContext as n, WorkflowContext as r, NodeRenderer as t };
|
package/dist/{AdaptiveWorkflowComponent-ww43_J9E.js → AdaptiveWorkflowComponent-nyRU4M-H.js}
RENAMED
|
@@ -1,15 +1,16 @@
|
|
|
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] = "c3376d5f-0c22-4a35-9162-0eb52b1a1503", e._sentryDebugIdIdentifier = "sentry-dbid-c3376d5f-0c22-4a35-9162-0eb52b1a1503");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as addResourceBundles, r as useTranslation } from "./translation-
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-
|
|
7
|
-
import {
|
|
8
|
-
import { AdaptiveWorkflow,
|
|
5
|
+
import { n as addResourceBundles, r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-wbFNXSP-.js";
|
|
7
|
+
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
8
|
+
import { AdaptiveWorkflow, r as WorkflowContext } from "./AdaptiveWorkflow-DnvzkolP.js";
|
|
9
|
+
import { t as useAdaptiveWorkflow } from "./useAdaptiveWorkflow-DsQESk9f.js";
|
|
9
10
|
import { useMemo } from "preact/hooks";
|
|
10
11
|
import { jsx } from "preact/jsx-runtime";
|
|
11
12
|
import { signal } from "@preact/signals";
|
|
12
|
-
//#region src/context/WorkflowContext/WorkflowContextProvider.tsx
|
|
13
|
+
//#region src/adaptiveWorkflow/context/WorkflowContext/WorkflowContextProvider.tsx
|
|
13
14
|
var createWorkflowStore = () => {
|
|
14
15
|
const globals = signal({});
|
|
15
16
|
const entity = signal(void 0);
|
|
@@ -60,33 +61,33 @@ var AdaptiveWorkflowComponent = ({ onBack }) => {
|
|
|
60
61
|
{
|
|
61
62
|
ns: "common",
|
|
62
63
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
63
|
-
"../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
64
|
-
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-
|
|
65
|
-
"../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
66
|
-
"../../../language/locales/de-DE.json": () => import("./de-DE-
|
|
67
|
-
"../../../language/locales/el-GR.json": () => import("./el-GR-
|
|
68
|
-
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-
|
|
69
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
70
|
-
"../../../language/locales/es-ES.json": () => import("./es-ES-
|
|
71
|
-
"../../../language/locales/es-LA.json": () => import("./es-LA-
|
|
72
|
-
"../../../language/locales/et-EE.json": () => import("./et-EE-
|
|
73
|
-
"../../../language/locales/fi-FI.json": () => import("./fi-FI-
|
|
74
|
-
"../../../language/locales/fr-FR.json": () => import("./fr-FR-
|
|
75
|
-
"../../../language/locales/hr-HR.json": () => import("./hr-HR
|
|
76
|
-
"../../../language/locales/hu-HU.json": () => import("./hu-HU-
|
|
77
|
-
"../../../language/locales/it-IT.json": () => import("./it-IT-
|
|
78
|
-
"../../../language/locales/ja-JP.json": () => import("./ja-JP-
|
|
79
|
-
"../../../language/locales/lt-LT.json": () => import("./lt-LT-
|
|
80
|
-
"../../../language/locales/lv-LV.json": () => import("./lv-LV-
|
|
81
|
-
"../../../language/locales/nl-NL.json": () => import("./nl-NL-
|
|
82
|
-
"../../../language/locales/no-NO.json": () => import("./no-NO-
|
|
83
|
-
"../../../language/locales/pl-PL.json": () => import("./pl-PL-
|
|
84
|
-
"../../../language/locales/pt-BR.json": () => import("./pt-BR-
|
|
85
|
-
"../../../language/locales/pt-PT.json": () => import("./pt-PT-
|
|
86
|
-
"../../../language/locales/ro-RO.json": () => import("./ro-RO-
|
|
87
|
-
"../../../language/locales/sk-SK.json": () => import("./sk-SK-
|
|
88
|
-
"../../../language/locales/sl-SI.json": () => import("./sl-SI-
|
|
89
|
-
"../../../language/locales/sv-SE.json": () => import("./sv-SE-
|
|
64
|
+
"../../../language/locales/bg-BG.json": () => import("./bg-BG-D4mSRREu.js"),
|
|
65
|
+
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-DySBJFlc.js"),
|
|
66
|
+
"../../../language/locales/da-DK.json": () => import("./da-DK-BuvKW6Sq.js"),
|
|
67
|
+
"../../../language/locales/de-DE.json": () => import("./de-DE-BQaqplTp.js"),
|
|
68
|
+
"../../../language/locales/el-GR.json": () => import("./el-GR-C6jyW53I.js"),
|
|
69
|
+
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CqF1qVJV.js"),
|
|
70
|
+
"../../../language/locales/en-US.json": () => import("./en-US-D4NrsDmW.js"),
|
|
71
|
+
"../../../language/locales/es-ES.json": () => import("./es-ES-BM5RTwb7.js"),
|
|
72
|
+
"../../../language/locales/es-LA.json": () => import("./es-LA-CcMAcJ7u.js"),
|
|
73
|
+
"../../../language/locales/et-EE.json": () => import("./et-EE-FtKFvr3u.js"),
|
|
74
|
+
"../../../language/locales/fi-FI.json": () => import("./fi-FI-SFw2grVp.js"),
|
|
75
|
+
"../../../language/locales/fr-FR.json": () => import("./fr-FR-Dsh0Vb20.js"),
|
|
76
|
+
"../../../language/locales/hr-HR.json": () => import("./hr-HR-Cqgf9B0v.js"),
|
|
77
|
+
"../../../language/locales/hu-HU.json": () => import("./hu-HU-DyM1X3r6.js"),
|
|
78
|
+
"../../../language/locales/it-IT.json": () => import("./it-IT-xXO07yyz.js"),
|
|
79
|
+
"../../../language/locales/ja-JP.json": () => import("./ja-JP-BhHK_ru2.js"),
|
|
80
|
+
"../../../language/locales/lt-LT.json": () => import("./lt-LT-Be3q6tyu.js"),
|
|
81
|
+
"../../../language/locales/lv-LV.json": () => import("./lv-LV-DCeyOqHY.js"),
|
|
82
|
+
"../../../language/locales/nl-NL.json": () => import("./nl-NL-Dyb3tkBi.js"),
|
|
83
|
+
"../../../language/locales/no-NO.json": () => import("./no-NO-DXDddmYv.js"),
|
|
84
|
+
"../../../language/locales/pl-PL.json": () => import("./pl-PL-CBwRmIu5.js"),
|
|
85
|
+
"../../../language/locales/pt-BR.json": () => import("./pt-BR-DA4PVtVa2.js"),
|
|
86
|
+
"../../../language/locales/pt-PT.json": () => import("./pt-PT-QU0CQs-d.js"),
|
|
87
|
+
"../../../language/locales/ro-RO.json": () => import("./ro-RO-DNye-gMC.js"),
|
|
88
|
+
"../../../language/locales/sk-SK.json": () => import("./sk-SK-CwbBfCsU.js"),
|
|
89
|
+
"../../../language/locales/sl-SI.json": () => import("./sl-SI-9XdXVgB8.js"),
|
|
90
|
+
"../../../language/locales/sv-SE.json": () => import("./sv-SE-CqhSdYBe.js")
|
|
90
91
|
}), `../../../language/locales/${lang}.json`, 6)
|
|
91
92
|
},
|
|
92
93
|
{
|
|
@@ -98,7 +99,7 @@ var AdaptiveWorkflowComponent = ({ onBack }) => {
|
|
|
98
99
|
"../../Individual/language/de-DE.json": () => import("./de-DE-D6R-XC2F.js"),
|
|
99
100
|
"../../Individual/language/el-GR.json": () => import("./el-GR-CedmhUFh.js"),
|
|
100
101
|
"../../Individual/language/en-US.instructions.json": () => import("./en-US.instructions-DfgivDPI.js"),
|
|
101
|
-
"../../Individual/language/en-US.json": () => import("./en-US-
|
|
102
|
+
"../../Individual/language/en-US.json": () => import("./en-US-C3i5Oge2.js"),
|
|
102
103
|
"../../Individual/language/es-ES.json": () => import("./es-ES-DTUHhE47.js"),
|
|
103
104
|
"../../Individual/language/es-LA.json": () => import("./es-LA-DlL8vCjJ.js"),
|
|
104
105
|
"../../Individual/language/et-EE.json": () => import("./et-EE-DqhEsLik.js"),
|
|
@@ -1,18 +1,18 @@
|
|
|
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] = "ae6c15d5-45f4-4584-b0a7-ab1497b43004", e._sentryDebugIdIdentifier = "sentry-dbid-ae6c15d5-45f4-4584-b0a7-ab1497b43004");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
+
import { G as SPECIAL_CHARS, Y as getFormattingRegEx, ut as trimValWithOneSpace } from "./resolveEnvironment-wbFNXSP-.js";
|
|
7
|
+
import { t as Icon } from "./Icon-CurE93CX.js";
|
|
8
|
+
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
8
9
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
9
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { t as InputText } from "./InputText-Cf9ccCaj.js";
|
|
10
|
+
import { i as useAnalyticsContext } from "./Modal-C6gfqa3Z.js";
|
|
11
|
+
import { t as InputText } from "./InputText-Co02nT5L.js";
|
|
12
|
+
import { f as translateTranslatable, r as Field, t as Select } from "./Select-PqhoL_oQ.js";
|
|
13
|
+
import { A as createFormUtils, d as CountryField } from "./RadioGroup-B_lHSMq9.js";
|
|
14
|
+
import { r as useDebouncedCallback } from "./Checkbox-B-hhlkoQ.js";
|
|
15
|
+
import { d as COUNTRIES_WITH_HOUSE_NUMBER_FIRST, n as StateField, s as getKeyForField } from "./StateField-uZDljrxJ.js";
|
|
16
16
|
import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
|
|
17
17
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
18
18
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -391,72 +391,6 @@ var formatAddressResult = (item) => {
|
|
|
391
391
|
return item;
|
|
392
392
|
};
|
|
393
393
|
//#endregion
|
|
394
|
-
//#region src/components/Shared/fields/StateField/fieldConfig.ts
|
|
395
|
-
var defaultFieldMetadata = {
|
|
396
|
-
label: "stateOrProvince",
|
|
397
|
-
validators: validateNotEmptyOnBlur
|
|
398
|
-
};
|
|
399
|
-
var defaultFieldConfig = {
|
|
400
|
-
[CountryCodes.Australia]: {
|
|
401
|
-
label: "state",
|
|
402
|
-
validators: validateNotEmptyOnBlur
|
|
403
|
-
},
|
|
404
|
-
[CountryCodes.Brazil]: {
|
|
405
|
-
label: "state",
|
|
406
|
-
validators: validateNotEmptyOnBlur
|
|
407
|
-
},
|
|
408
|
-
[CountryCodes.Canada]: {
|
|
409
|
-
label: "provinceOrTerritory",
|
|
410
|
-
validators: validateNotEmptyOnBlur
|
|
411
|
-
},
|
|
412
|
-
[CountryCodes.NewZealand]: {
|
|
413
|
-
label: "region",
|
|
414
|
-
validators: validateNotEmptyOnBlur
|
|
415
|
-
},
|
|
416
|
-
[CountryCodes.UnitedStates]: ({ isBusiness }) => ({
|
|
417
|
-
label: isBusiness ? "whereIsYourBusinessRegistered" : "state",
|
|
418
|
-
validators: validateNotEmptyOnBlur
|
|
419
|
-
})
|
|
420
|
-
};
|
|
421
|
-
/**
|
|
422
|
-
* Returns the placeholder text for state field based on country.
|
|
423
|
-
*/
|
|
424
|
-
var getStatePlaceholderText = (t, { country }) => {
|
|
425
|
-
switch (country) {
|
|
426
|
-
case CountryCodes.Australia:
|
|
427
|
-
case CountryCodes.Brazil: return t(($) => $["selectState"]);
|
|
428
|
-
case CountryCodes.Canada: return t(($) => $["selectProvinceOrTerritory"]);
|
|
429
|
-
case CountryCodes.UnitedStates: return t(($) => $[`selectAState`]);
|
|
430
|
-
default: return t(($) => $["stateOrProvince__placeHolder"]);
|
|
431
|
-
}
|
|
432
|
-
};
|
|
433
|
-
//#endregion
|
|
434
|
-
//#region src/components/Shared/fields/StateField/StateField.tsx
|
|
435
|
-
var STATE_FIELD = ["stateOrProvince"];
|
|
436
|
-
function StateField({ data, valid, errors, labels, readonly, handleChangeFor, selectedCountry, handleBlur }) {
|
|
437
|
-
const { t } = useTranslation("common");
|
|
438
|
-
const { dataset: states, loaded } = useDataset(datasetIdentifier.state(selectedCountry), !selectedCountry || !COUNTRIES_WITH_STATES_DATASET.includes(selectedCountry));
|
|
439
|
-
const labelKey = getKeyForField("stateOrProvince", selectedCountry);
|
|
440
|
-
if (!loaded || !states.length) return null;
|
|
441
|
-
return /* @__PURE__ */ jsx(Field, {
|
|
442
|
-
name: "stateOrProvince",
|
|
443
|
-
label: labels?.stateOrProvince || t(($) => $[labelKey]),
|
|
444
|
-
errorMessage: errors.stateOrProvince,
|
|
445
|
-
isValid: valid.stateOrProvince,
|
|
446
|
-
dataTestId: "stateOrProvince",
|
|
447
|
-
children: (childProps) => /* @__PURE__ */ jsx(Select, {
|
|
448
|
-
...childProps,
|
|
449
|
-
name: "stateOrProvince",
|
|
450
|
-
selected: data.stateOrProvince,
|
|
451
|
-
placeholder: getStatePlaceholderText(t, { country: selectedCountry }),
|
|
452
|
-
items: states,
|
|
453
|
-
readonly: readonly && !!data.stateOrProvince,
|
|
454
|
-
onChange: handleChangeFor("stateOrProvince"),
|
|
455
|
-
onBlur: handleBlur
|
|
456
|
-
})
|
|
457
|
-
});
|
|
458
|
-
}
|
|
459
|
-
//#endregion
|
|
460
394
|
//#region src/components/Shared/forms/Address/AddressField.tsx
|
|
461
395
|
/**
|
|
462
396
|
* USAGE: Specifically defined as a util to provide a wrapper for fields created within the Address component
|
|
@@ -561,7 +495,7 @@ function AddressField({ schema, data, valid, errors, fieldProblems, fieldName, t
|
|
|
561
495
|
data: { stateOrProvince: value },
|
|
562
496
|
valid: { stateOrProvince: valid?.stateOrProvince },
|
|
563
497
|
errors: { stateOrProvince: errorMessage },
|
|
564
|
-
|
|
498
|
+
isBusinessSearch: false,
|
|
565
499
|
readonly: Boolean(readOnly),
|
|
566
500
|
selectedCountry: data.country,
|
|
567
501
|
handleChangeFor,
|
|
@@ -592,4 +526,4 @@ function AddressField({ schema, data, valid, errors, fieldProblems, fieldName, t
|
|
|
592
526
|
}
|
|
593
527
|
}
|
|
594
528
|
//#endregion
|
|
595
|
-
export {
|
|
529
|
+
export { useAddressCleanse as a, formatAddressForCleanse as i, addressFormatters as n, useAddressCleanseImperatively as o, countrySpecificFormatters as r, useProviderStatus as s, AddressField 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] = "26c5e8e0-33d0-4147-97fd-df15ae6931b9", e._sentryDebugIdIdentifier = "sentry-dbid-26c5e8e0-33d0-4147-97fd-df15ae6931b9");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
5
|
+
import { t as Icon } from "./Icon-CurE93CX.js";
|
|
6
6
|
import cx from "classnames";
|
|
7
7
|
import { jsx } from "preact/jsx-runtime";
|
|
8
8
|
var Avatar_module_default = {
|