@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
|
@@ -0,0 +1,172 @@
|
|
|
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] = "bcea3bf5-c76a-4571-9499-d8fa6386e824", e._sentryDebugIdIdentifier = "sentry-dbid-bcea3bf5-c76a-4571-9499-d8fa6386e824");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
+
import { n as MaskedInput } from "./form-rules-DCZ-uyGo.js";
|
|
7
|
+
import { f as translateTranslatable, r as Field } from "./Select-PqhoL_oQ.js";
|
|
8
|
+
import { l as resolveFieldMetadata } from "./RadioGroup-B_lHSMq9.js";
|
|
9
|
+
import { t as Checkbox } from "./Checkbox-B-hhlkoQ.js";
|
|
10
|
+
import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-BlW3-gmE.js";
|
|
11
|
+
import { n as withForm } from "./formHook-Dgi2CgbT.js";
|
|
12
|
+
import { useCallback } from "preact/hooks";
|
|
13
|
+
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
|
+
import { useStore } from "@tanstack/preact-form";
|
|
15
|
+
//#region src/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/ExemptedFromRegistrationNumberField.tsx
|
|
16
|
+
function ExemptedFromRegistrationNumberField({ field, label, checked, readonly, onChange }) {
|
|
17
|
+
return /* @__PURE__ */ jsx(Field, {
|
|
18
|
+
name: field.name,
|
|
19
|
+
children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
|
|
20
|
+
...childProps,
|
|
21
|
+
"aria-required": false,
|
|
22
|
+
"aria-invalid": false,
|
|
23
|
+
name: field.name,
|
|
24
|
+
label,
|
|
25
|
+
value: "exemptedFromRegistrationNumber",
|
|
26
|
+
checked,
|
|
27
|
+
readonly,
|
|
28
|
+
onChange
|
|
29
|
+
})
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberInputField.tsx
|
|
34
|
+
function RegistrationNumberInputField({ field, fieldMetadata, currentValue, helperText, readonly, optional, shouldValidate, disabled, onInput, onBlur }) {
|
|
35
|
+
const { t } = useTranslation("common");
|
|
36
|
+
const isTouched = field.state.meta.isTouched;
|
|
37
|
+
const isValid = field.state.meta.isValid;
|
|
38
|
+
const errorMessage = isTouched && !isValid ? field.state.meta.errors[0] : void 0;
|
|
39
|
+
return /* @__PURE__ */ jsx(MaskedInput, {
|
|
40
|
+
"aria-required": true,
|
|
41
|
+
"aria-invalid": isTouched && !isValid,
|
|
42
|
+
name: "registrationNumber",
|
|
43
|
+
type: "text",
|
|
44
|
+
value: currentValue,
|
|
45
|
+
label: fieldMetadata.label ? t(($) => $[fieldMetadata.label]) ?? "" : "",
|
|
46
|
+
formatGuidance: fieldMetadata.guidanceText ? translateTranslatable(t, fieldMetadata.guidanceText) : void 0,
|
|
47
|
+
errorMessage,
|
|
48
|
+
isValid: isTouched && isValid && !!currentValue,
|
|
49
|
+
onInput,
|
|
50
|
+
onBlur,
|
|
51
|
+
disabled,
|
|
52
|
+
optional,
|
|
53
|
+
readonly,
|
|
54
|
+
shouldValidate: !optional && shouldValidate,
|
|
55
|
+
helper: helperText,
|
|
56
|
+
...fieldMetadata.mask ?? {}
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
//#endregion
|
|
60
|
+
//#region src/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberTypeSelectorField.tsx
|
|
61
|
+
function RegistrationNumberTypeSelectorField({ country, companyType, selected, onTypeChange, exemptedOptionLabel }) {
|
|
62
|
+
return /* @__PURE__ */ jsx(CompanyRegistrationNumberTypeSelector, {
|
|
63
|
+
country,
|
|
64
|
+
companyType,
|
|
65
|
+
selected,
|
|
66
|
+
setSelected: onTypeChange,
|
|
67
|
+
exemptedOptionLabel
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/BusinessRegistrationNumberFieldGroup.tsx
|
|
72
|
+
function getNestedValue(obj, path) {
|
|
73
|
+
return path.split(".").reduce((acc, key) => acc?.[key], obj);
|
|
74
|
+
}
|
|
75
|
+
var BusinessRegistrationNumberFieldGroup = withForm({
|
|
76
|
+
defaultValues: {},
|
|
77
|
+
props: {},
|
|
78
|
+
render: function BusinessRegistrationNumberFieldGroupRender({ form, basePath: registrationNumberPath, country, canExempt, companyType, state, helperText, labels, readonly, optional, shouldValidate }) {
|
|
79
|
+
const registrationNumberTypePath = `organization.registrationNumberType`;
|
|
80
|
+
const exemptedPath = `organization.exemptedFromRegistrationNumber`;
|
|
81
|
+
const registrationNumber = useStore(form.store, (s) => getNestedValue(s.values, registrationNumberPath));
|
|
82
|
+
const registrationNumberType = useStore(form.store, (s) => getNestedValue(s.values, registrationNumberTypePath));
|
|
83
|
+
const exemptedFromRegistrationNumber = useStore(form.store, (s) => getNestedValue(s.values, exemptedPath));
|
|
84
|
+
const registrationNumberOptions = getCompanyRegistrationNumberOptions(country, companyType);
|
|
85
|
+
const defaultType = getDefaultRegistrationNumberType(registrationNumber, country, companyType);
|
|
86
|
+
const showExemptedOption = canExempt && !!registrationNumberOptions && registrationNumberOptions.length > 1;
|
|
87
|
+
const effectiveRegistrationNumberType = exemptedFromRegistrationNumber ? "exempted" : registrationNumberType ?? defaultType;
|
|
88
|
+
const fieldMetadata = resolveFieldMetadata(registrationNumberDefaultFieldConfig[country], {
|
|
89
|
+
registrationNumberType: effectiveRegistrationNumberType === "exempted" ? void 0 : effectiveRegistrationNumberType,
|
|
90
|
+
state
|
|
91
|
+
}, registrationNumberDefaultFieldMetadata);
|
|
92
|
+
if (effectiveRegistrationNumberType && effectiveRegistrationNumberType !== "exempted" && !registrationNumberOptions?.find((o) => o.id === effectiveRegistrationNumberType)) form.setFieldValue(registrationNumberTypePath, defaultType);
|
|
93
|
+
const handleRegistrationNumberChange = useCallback((e) => {
|
|
94
|
+
const value = typeof e === "string" ? e : e.currentTarget.value;
|
|
95
|
+
form.setFieldValue(registrationNumberPath, value);
|
|
96
|
+
form.setFieldValue(registrationNumberTypePath, effectiveRegistrationNumberType === "exempted" ? void 0 : effectiveRegistrationNumberType);
|
|
97
|
+
}, [
|
|
98
|
+
form,
|
|
99
|
+
registrationNumberPath,
|
|
100
|
+
registrationNumberTypePath,
|
|
101
|
+
effectiveRegistrationNumberType
|
|
102
|
+
]);
|
|
103
|
+
const handleExemptedFromRegistrationNumber = useCallback((exempt) => {
|
|
104
|
+
if (exempt) form.setFieldValue(registrationNumberPath, "");
|
|
105
|
+
form.setFieldValue(exemptedPath, exempt);
|
|
106
|
+
}, [
|
|
107
|
+
exemptedPath,
|
|
108
|
+
form,
|
|
109
|
+
registrationNumberPath
|
|
110
|
+
]);
|
|
111
|
+
const handleCompanyRegistrationNumberTypeChange = useCallback((regNumberType) => {
|
|
112
|
+
if (regNumberType === "exempted") {
|
|
113
|
+
if (!canExempt) throw new Error(`${country} does not allow registration number exemptions`);
|
|
114
|
+
form.setFieldValue(registrationNumberPath, "");
|
|
115
|
+
form.setFieldValue(exemptedPath, true);
|
|
116
|
+
form.setFieldValue(registrationNumberTypePath, void 0);
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
if (canExempt && exemptedFromRegistrationNumber) form.setFieldValue(exemptedPath, false);
|
|
120
|
+
form.setFieldValue(registrationNumberPath, "");
|
|
121
|
+
form.setFieldValue(registrationNumberTypePath, regNumberType);
|
|
122
|
+
}, [
|
|
123
|
+
canExempt,
|
|
124
|
+
country,
|
|
125
|
+
exemptedFromRegistrationNumber,
|
|
126
|
+
exemptedPath,
|
|
127
|
+
form,
|
|
128
|
+
registrationNumberPath,
|
|
129
|
+
registrationNumberTypePath
|
|
130
|
+
]);
|
|
131
|
+
return /* @__PURE__ */ jsxs("div", { children: [
|
|
132
|
+
/* @__PURE__ */ jsx(form.Field, {
|
|
133
|
+
name: registrationNumberTypePath,
|
|
134
|
+
children: (field) => /* @__PURE__ */ jsx(RegistrationNumberTypeSelectorField, {
|
|
135
|
+
field,
|
|
136
|
+
country,
|
|
137
|
+
companyType,
|
|
138
|
+
selected: effectiveRegistrationNumberType,
|
|
139
|
+
onTypeChange: handleCompanyRegistrationNumberTypeChange,
|
|
140
|
+
exemptedOptionLabel: showExemptedOption ? labels.exemptedFromRegistrationNumber : void 0
|
|
141
|
+
})
|
|
142
|
+
}),
|
|
143
|
+
/* @__PURE__ */ jsx(form.Field, {
|
|
144
|
+
name: registrationNumberPath,
|
|
145
|
+
children: (field) => /* @__PURE__ */ jsx(RegistrationNumberInputField, {
|
|
146
|
+
field,
|
|
147
|
+
fieldMetadata,
|
|
148
|
+
currentValue: registrationNumber ?? "",
|
|
149
|
+
helperText,
|
|
150
|
+
readonly,
|
|
151
|
+
optional,
|
|
152
|
+
shouldValidate,
|
|
153
|
+
disabled: Boolean(exemptedFromRegistrationNumber),
|
|
154
|
+
onInput: (e) => handleRegistrationNumberChange(e),
|
|
155
|
+
onBlur: (e) => handleRegistrationNumberChange(e)
|
|
156
|
+
})
|
|
157
|
+
}),
|
|
158
|
+
canExempt && !showExemptedOption && /* @__PURE__ */ jsx(form.Field, {
|
|
159
|
+
name: exemptedPath,
|
|
160
|
+
children: (field) => /* @__PURE__ */ jsx(ExemptedFromRegistrationNumberField, {
|
|
161
|
+
field,
|
|
162
|
+
label: labels.exemptedFromRegistrationNumber,
|
|
163
|
+
checked: Boolean(exemptedFromRegistrationNumber),
|
|
164
|
+
readonly,
|
|
165
|
+
onChange: handleExemptedFromRegistrationNumber
|
|
166
|
+
})
|
|
167
|
+
})
|
|
168
|
+
] });
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
//#endregion
|
|
172
|
+
export { BusinessRegistrationNumberFieldGroup };
|
package/dist/{BusinessTypeSelectionPage-BtJLsGtX.js → BusinessTypeSelectionPage-C9BYbNj1.js}
RENAMED
|
@@ -1,24 +1,27 @@
|
|
|
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] = "2ac0291e-8e0a-4927-8e7d-d04358ec5586", e._sentryDebugIdIdentifier = "sentry-dbid-2ac0291e-8e0a-4927-8e7d-d04358ec5586");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
+
import { mt as useAccountHolder } from "./resolveEnvironment-wbFNXSP-.js";
|
|
7
|
+
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
|
+
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
|
+
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
10
|
+
import { t as Button } from "./Button-DSD_afG_.js";
|
|
11
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
9
12
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
10
|
-
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-
|
|
11
|
-
import { t as getCapabilities } from "./processCapabilities-
|
|
12
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
13
|
-
import { r as useToastContext } from "./useId-
|
|
14
|
-
import { c as TileGroup } from "./bafinUtils-
|
|
15
|
-
import { p as LoaderWrapper, r as Field } from "./Select-
|
|
16
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
17
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
18
|
-
import { t as useForm } from "./useForm-
|
|
19
|
-
import { t as formatValidationError } from "./formatValidationError-
|
|
13
|
+
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-CNE5uei8.js";
|
|
14
|
+
import { t as getCapabilities } from "./processCapabilities-uXoRmB5x.js";
|
|
15
|
+
import { i as useAnalyticsContext } from "./Modal-C6gfqa3Z.js";
|
|
16
|
+
import { r as useToastContext } from "./useId-zuKUQ8ly.js";
|
|
17
|
+
import { c as TileGroup } from "./bafinUtils-CT-a64QP.js";
|
|
18
|
+
import { p as LoaderWrapper, r as Field } from "./Select-PqhoL_oQ.js";
|
|
19
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-B6oM8kXX.js";
|
|
20
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BCvoFRym.js";
|
|
21
|
+
import { t as useForm } from "./useForm-D9htlwjI.js";
|
|
22
|
+
import { t as formatValidationError } from "./formatValidationError-HjSxukRu.js";
|
|
20
23
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
21
|
-
import { a as getTargetLegalEntityType, c as useSelectionOptions, i as getDefaultLegalArrangementOrSuborganizationType, n as determineOrganizationTypeToUpdate, o as legalArrangementMetadata, r as getBusinessType, t as businessTypeIcons } from "./utils-
|
|
24
|
+
import { a as getTargetLegalEntityType, c as useSelectionOptions, i as getDefaultLegalArrangementOrSuborganizationType, n as determineOrganizationTypeToUpdate, o as legalArrangementMetadata, r as getBusinessType, t as businessTypeIcons } from "./utils-2s4JuDg2.js";
|
|
22
25
|
import { useEffect, useState } from "preact/hooks";
|
|
23
26
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
24
27
|
//#region src/datasets/generators/getBusinessTypeExamplesForCountry.ts
|
|
@@ -1,92 +1,11 @@
|
|
|
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] = "0c253034-3298-49b1-86b1-ccc7287c09ab", e._sentryDebugIdIdentifier = "sentry-dbid-0c253034-3298-49b1-86b1-ccc7287c09ab");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { t as Icon } from "./Icon-CurE93CX.js";
|
|
6
|
+
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
7
7
|
import cx from "classnames";
|
|
8
8
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
9
|
-
import { useComputed, useSignal } from "@preact/signals";
|
|
10
|
-
var Loader_module_default = {
|
|
11
|
-
"loader-wrapper": "_loader-wrapper_xtjeo_1",
|
|
12
|
-
loaderWrapper: "_loader-wrapper_xtjeo_1",
|
|
13
|
-
"loader-text": "_loader-text_xtjeo_10",
|
|
14
|
-
loaderText: "_loader-text_xtjeo_10",
|
|
15
|
-
"loader-text-visible": "_loader-text-visible_xtjeo_18",
|
|
16
|
-
loaderTextVisible: "_loader-text-visible_xtjeo_18",
|
|
17
|
-
loader: "_loader_xtjeo_1",
|
|
18
|
-
rotateLoader: "_rotateLoader_xtjeo_1",
|
|
19
|
-
"loader-large": "_loader-large_xtjeo_46",
|
|
20
|
-
loaderLarge: "_loader-large_xtjeo_46",
|
|
21
|
-
"loader-small": "_loader-small_xtjeo_52",
|
|
22
|
-
loaderSmall: "_loader-small_xtjeo_52",
|
|
23
|
-
"loader-medium": "_loader-medium_xtjeo_59",
|
|
24
|
-
loaderMedium: "_loader-medium_xtjeo_59",
|
|
25
|
-
"loader-xsmall": "_loader-xsmall_xtjeo_65",
|
|
26
|
-
loaderXsmall: "_loader-xsmall_xtjeo_65",
|
|
27
|
-
fadeInText: "_fadeInText_xtjeo_1"
|
|
28
|
-
};
|
|
29
|
-
//#endregion
|
|
30
|
-
//#region src/components/ui/atoms/Loader/Loader.tsx
|
|
31
|
-
var LOADER_TEXT_DELAY_MS = 5e3;
|
|
32
|
-
var LOADER_TEXT_LONG_DELAY_MS = 1e4;
|
|
33
|
-
var sizeMap = {
|
|
34
|
-
xsmall: Loader_module_default.loaderXsmall,
|
|
35
|
-
small: Loader_module_default.loaderSmall,
|
|
36
|
-
medium: Loader_module_default.loaderMedium,
|
|
37
|
-
large: Loader_module_default.loaderLarge
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Default Loading Loader
|
|
41
|
-
* @param props -
|
|
42
|
-
*/
|
|
43
|
-
var Loader = ({ size = "large", defaultMessage, shortMessage, shortDelayMs = LOADER_TEXT_DELAY_MS, longMessage, longDelayMs = LOADER_TEXT_LONG_DELAY_MS }) => {
|
|
44
|
-
const { t } = useTranslation("common");
|
|
45
|
-
const loaderTextState = useSignal(defaultMessage ? "default" : "hidden");
|
|
46
|
-
const showText = size === "large";
|
|
47
|
-
useLayoutEffect(() => {
|
|
48
|
-
if (!showText) return;
|
|
49
|
-
const shortTimer = setTimeout(() => {
|
|
50
|
-
loaderTextState.value = "short";
|
|
51
|
-
}, shortDelayMs);
|
|
52
|
-
const longTimer = setTimeout(() => {
|
|
53
|
-
loaderTextState.value = "long";
|
|
54
|
-
}, longDelayMs);
|
|
55
|
-
return () => {
|
|
56
|
-
clearTimeout(shortTimer);
|
|
57
|
-
clearTimeout(longTimer);
|
|
58
|
-
};
|
|
59
|
-
}, [
|
|
60
|
-
showText,
|
|
61
|
-
shortDelayMs,
|
|
62
|
-
longDelayMs,
|
|
63
|
-
loaderTextState
|
|
64
|
-
]);
|
|
65
|
-
const resolvedMessage = useComputed(() => {
|
|
66
|
-
switch (loaderTextState.value) {
|
|
67
|
-
case "long": return longMessage ?? t(($) => $["justAMomentTakingLonger"]);
|
|
68
|
-
case "short": return shortMessage ?? t(($) => $["justAMoment"]);
|
|
69
|
-
case "default": return defaultMessage;
|
|
70
|
-
default: return;
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
const loaderTextVisible = useComputed(() => loaderTextState.value !== "hidden");
|
|
74
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
75
|
-
className: Loader_module_default.loaderWrapper,
|
|
76
|
-
children: [/* @__PURE__ */ jsx("div", {
|
|
77
|
-
role: "progressbar",
|
|
78
|
-
className: cx(Loader_module_default.loader, sizeMap[size])
|
|
79
|
-
}), showText && /* @__PURE__ */ jsx("div", {
|
|
80
|
-
className: cx(Loader_module_default.loaderText, { [Loader_module_default.loaderTextVisible]: loaderTextVisible }),
|
|
81
|
-
children: /* @__PURE__ */ jsx(Typography, {
|
|
82
|
-
variant: "body",
|
|
83
|
-
color: "secondary",
|
|
84
|
-
el: "span",
|
|
85
|
-
children: resolvedMessage
|
|
86
|
-
})
|
|
87
|
-
})]
|
|
88
|
-
});
|
|
89
|
-
};
|
|
90
9
|
var Button_module_default = {
|
|
91
10
|
button: "_button_1okkl_1",
|
|
92
11
|
"button-full-width": "_button-full-width_1okkl_32",
|
|
@@ -186,4 +105,4 @@ var IconButton = ({ ariaLabel, circle = false, disabled = false, icon, loading =
|
|
|
186
105
|
});
|
|
187
106
|
};
|
|
188
107
|
//#endregion
|
|
189
|
-
export { IconButton as n,
|
|
108
|
+
export { IconButton as n, Button 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] = "38bdba60-2baf-4b0d-991e-707b46e36c95", e._sentryDebugIdIdentifier = "sentry-dbid-38bdba60-2baf-4b0d-991e-707b46e36c95");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
5
|
+
import { i as useAnalyticsContext } from "./Modal-C6gfqa3Z.js";
|
|
6
6
|
import { useCallback, useEffect, useRef } from "preact/hooks";
|
|
7
7
|
import cx from "classnames";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,15 +1,13 @@
|
|
|
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] = "21ee2832-785b-4d8d-9ef2-8c7e14bf30b0", e._sentryDebugIdIdentifier = "sentry-dbid-21ee2832-785b-4d8d-9ef2-8c7e14bf30b0");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
5
|
+
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
6
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
7
|
-
import { l as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { M as businessRegistrationNumberMasks, N as stateFormatGuidanceText, j as businessRegistrationNumberPatterns } from "./utils-Be9xux9M.js";
|
|
12
|
-
import { t as RadioGroup } from "./RadioGroup-C4csROhR.js";
|
|
7
|
+
import { d as numericInputs, f as spacer, l as makeMask } from "./form-rules-DCZ-uyGo.js";
|
|
8
|
+
import { B as businessRegistrationNumberMasks, V as stateFormatGuidanceText, W as CompanyTypesValues, z as businessRegistrationNumberPatterns } from "./bafinUtils-CT-a64QP.js";
|
|
9
|
+
import { r as Field } from "./Select-PqhoL_oQ.js";
|
|
10
|
+
import { c as validatePatternOnBlur, s as validateNotEmptyOnBlur, t as RadioGroup } from "./RadioGroup-B_lHSMq9.js";
|
|
13
11
|
import { useCallback, useEffect, useMemo } from "preact/hooks";
|
|
14
12
|
import { jsx } from "preact/jsx-runtime";
|
|
15
13
|
//#region src/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.ts
|
|
@@ -0,0 +1,32 @@
|
|
|
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] = "e3e3f962-85ae-45b2-97d4-82e218109b79", e._sentryDebugIdIdentifier = "sentry-dbid-e3e3f962-85ae-45b2-97d4-82e218109b79");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
+
import { t as Accordion } from "./Accordion-DC7Iuj-J.js";
|
|
7
|
+
import { t as NodeRenderer } from "./AdaptiveWorkflow-DnvzkolP.js";
|
|
8
|
+
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
9
|
+
//#region src/adaptiveWorkflow/components/Layout/ComponentGroup/contextMap.ts
|
|
10
|
+
var contextMap = {};
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/adaptiveWorkflow/components/Layout/ComponentGroup/ComponentGroup.tsx
|
|
13
|
+
/**
|
|
14
|
+
* Layout component for grouping child components in the UI
|
|
15
|
+
* Currently renders an `Accordion` component
|
|
16
|
+
*/
|
|
17
|
+
var ComponentGroup = ({ node, form }) => {
|
|
18
|
+
const { t } = useTranslation("adaptive");
|
|
19
|
+
const { title } = contextMap[node.id] || {};
|
|
20
|
+
return /* @__PURE__ */ jsxs(Accordion, { children: [/* @__PURE__ */ jsx("template", {
|
|
21
|
+
slot: "title",
|
|
22
|
+
children: title ? t(($) => $[title]) : node.id
|
|
23
|
+
}), /* @__PURE__ */ jsx("template", {
|
|
24
|
+
slot: "content",
|
|
25
|
+
children: node.children?.map((child) => /* @__PURE__ */ jsx(NodeRenderer, {
|
|
26
|
+
node: child,
|
|
27
|
+
form
|
|
28
|
+
}, node.id))
|
|
29
|
+
})] });
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
32
|
+
export { ComponentGroup };
|
|
@@ -1,17 +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] = "bd67fc7a-4703-4efa-9e32-d24a9f17ee38", e._sentryDebugIdIdentifier = "sentry-dbid-bd67fc7a-4703-4efa-9e32-d24a9f17ee38");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { C as useDataset, k as Header, nt as isEmpty, w as datasetIdentifier } from "./resolveEnvironment-
|
|
7
|
-
import { r as httpPost, s as useApiContext } from "./http-
|
|
8
|
-
import {
|
|
5
|
+
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
+
import { C as useDataset, k as Header, nt as isEmpty, w as datasetIdentifier } from "./resolveEnvironment-wbFNXSP-.js";
|
|
7
|
+
import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
8
|
+
import { o as entriesOf } from "./genUtils-Ce61IJs8.js";
|
|
9
9
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
10
|
-
import { r as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
10
|
+
import { d as numericInputs, f as spacer, l as makeMask, n as MaskedInput, r as InputEmail, u as nonInputs } from "./form-rules-DCZ-uyGo.js";
|
|
11
|
+
import { r as Field, t as Select } from "./Select-PqhoL_oQ.js";
|
|
12
|
+
import { A as createFormUtils, j as mergeFieldMetadataIntoProps, l as resolveFieldMetadata } from "./RadioGroup-B_lHSMq9.js";
|
|
13
13
|
import { n as emailPattern } from "./basePatterns-plHFNzgJ.js";
|
|
14
|
-
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
15
14
|
import { t as InputGroup } from "./InputGroup-B4U3QVEp.js";
|
|
16
15
|
import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
|
|
17
16
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,9 +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] = "0880a8ac-bf39-4a1b-ba93-96516b3124a6", e._sentryDebugIdIdentifier = "sentry-dbid-0880a8ac-bf39-4a1b-ba93-96516b3124a6");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { x as Alert } from "./resolveEnvironment-
|
|
6
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
5
|
+
import { x as Alert } from "./resolveEnvironment-wbFNXSP-.js";
|
|
6
|
+
import { i as useAnalyticsContext } from "./Modal-C6gfqa3Z.js";
|
|
7
7
|
import { jsx } from "preact/jsx-runtime";
|
|
8
8
|
//#region src/components/ui/molecules/ContextGuidance/ContextGuidance.tsx
|
|
9
9
|
function ContextGuidance({ title, content, titleId, contentId, trackingParams }) {
|
|
@@ -1,14 +1,15 @@
|
|
|
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] = "02bd6439-4295-404b-8285-fa58e8c34f6d", e._sentryDebugIdIdentifier = "sentry-dbid-02bd6439-4295-404b-8285-fa58e8c34f6d");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
6
|
-
import { at as isUndefinedOrNull } from "./resolveEnvironment-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { r as
|
|
10
|
-
import { r as InputBase, t as InputText } from "./InputText-
|
|
11
|
-
import { t as
|
|
5
|
+
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
+
import { at as isUndefinedOrNull } from "./resolveEnvironment-wbFNXSP-.js";
|
|
7
|
+
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
|
+
import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
|
|
9
|
+
import { r as drop } from "./genUtils-Ce61IJs8.js";
|
|
10
|
+
import { r as InputBase, t as InputText } from "./InputText-Co02nT5L.js";
|
|
11
|
+
import { r as Field, t as Select } from "./Select-PqhoL_oQ.js";
|
|
12
|
+
import { t as currencyByCountry } from "./types-Ai_80DXu.js";
|
|
12
13
|
import { useCallback, useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
13
14
|
import { jsx } from "preact/jsx-runtime";
|
|
14
15
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -1,21 +1,22 @@
|
|
|
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] = "44ef0c0f-00ee-4838-91eb-f5e0bf1a81fe", e._sentryDebugIdIdentifier = "sentry-dbid-44ef0c0f-00ee-4838-91eb-f5e0bf1a81fe");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
6
|
-
import { k as Header } from "./resolveEnvironment-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { t as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
5
|
+
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
+
import { k as Header } from "./resolveEnvironment-wbFNXSP-.js";
|
|
7
|
+
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
|
+
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
9
|
+
import { t as Button } from "./Button-DSD_afG_.js";
|
|
10
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
11
|
+
import { C as EntityTypes } from "./processCapabilities-uXoRmB5x.js";
|
|
12
|
+
import { i as useAnalyticsContext } from "./Modal-C6gfqa3Z.js";
|
|
13
|
+
import { r as useToastContext } from "./useId-zuKUQ8ly.js";
|
|
14
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CTxd78-9.js";
|
|
15
|
+
import { A as createFormUtils, _ as useMultiForm, l as resolveFieldMetadata } from "./RadioGroup-B_lHSMq9.js";
|
|
16
|
+
import { t as ErrorPanel } from "./ErrorPanel-CMHH1nTS.js";
|
|
17
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-B6oM8kXX.js";
|
|
18
|
+
import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, o as defaultFieldMetadata, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-DwH0Wdi1.js";
|
|
19
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BCvoFRym.js";
|
|
19
20
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
20
21
|
import { useCallback, useMemo } from "preact/hooks";
|
|
21
22
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -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] = "61f9e563-30e7-4c36-916f-6d4be10a0d2d", e._sentryDebugIdIdentifier = "sentry-dbid-61f9e563-30e7-4c36-916f-6d4be10a0d2d");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
6
|
-
import { P as listToRecord, x as Alert } from "./resolveEnvironment-
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { n as
|
|
12
|
-
import {
|
|
5
|
+
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
+
import { P as listToRecord, x as Alert } from "./resolveEnvironment-wbFNXSP-.js";
|
|
7
|
+
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
|
+
import { t as Button } from "./Button-DSD_afG_.js";
|
|
9
|
+
import { s as keysOf } from "./genUtils-Ce61IJs8.js";
|
|
10
|
+
import { t as Modal } from "./Modal-C6gfqa3Z.js";
|
|
11
|
+
import { n as Confirm } from "./StructuredList-BKWmLAYe.js";
|
|
12
|
+
import { n as RadioWithLabel } from "./RadioGroup-B_lHSMq9.js";
|
|
13
|
+
import { t as isEmpty } from "./isEmpty-DD8Insy0.js";
|
|
13
14
|
import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
|
|
14
15
|
import cx from "classnames";
|
|
15
16
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -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] = "747547b3-94ed-4af0-a887-95b9f6bc7c67", e._sentryDebugIdIdentifier = "sentry-dbid-747547b3-94ed-4af0-a887-95b9f6bc7c67");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
6
|
-
import { M as ExperimentNames, N as FeatureNames, P as listToRecord, i as useGlobalStore, j as useToggleContext, l as splitTaskIdentifier } from "./resolveEnvironment-
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import {
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
5
|
+
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
+
import { M as ExperimentNames, N as FeatureNames, P as listToRecord, i as useGlobalStore, j as useToggleContext, l as splitTaskIdentifier, pt as useSettingsContext } 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 Button } from "./Button-DSD_afG_.js";
|
|
10
|
+
import { c as valuesOf, o as entriesOf } from "./genUtils-Ce61IJs8.js";
|
|
11
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DCfFNRJc.js";
|
|
12
|
+
import { t as Accordion } from "./Accordion-DC7Iuj-J.js";
|
|
13
|
+
import { t as Modal } from "./Modal-C6gfqa3Z.js";
|
|
14
|
+
import { a as SettingNames, i as formDebugInfo, t as InputText } from "./InputText-Co02nT5L.js";
|
|
15
|
+
import { t as Checkbox } from "./Checkbox-B-hhlkoQ.js";
|
|
16
16
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
17
17
|
import { useMemo, useState } from "preact/hooks";
|
|
18
18
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -345,7 +345,7 @@ var DebugModal = ({ onExit }) => {
|
|
|
345
345
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
346
346
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
347
347
|
const metadata = {
|
|
348
|
-
sdkVersion: "4.
|
|
348
|
+
sdkVersion: "4.21.0-beta.0",
|
|
349
349
|
locale: i18n.language,
|
|
350
350
|
rootLegalEntityId: rootLegalEntity.id
|
|
351
351
|
};
|