@adyen/kyc-components 4.27.0 → 4.28.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{4-people-CAxQpi_3.js → 4-people-C_-N5Vvz.js} +2 -2
- package/dist/{AcceptTermsOfServiceWorkflow-CLTk8Oyx.js → AcceptTermsOfServiceWorkflow-BHLj18cI.js} +4 -4
- package/dist/{Accordion-CTQfC17W.js → Accordion-DyU-Pxob.js} +1 -1
- package/dist/{AccountSetupRejected-DaFbhfSI.js → AccountSetupRejected-DrzCd1ET.js} +2 -2
- package/dist/{AdaptiveWorkflow-42UsUwm-.js → AdaptiveWorkflow-DmZF4G5t.js} +117 -48
- package/dist/{AdaptiveWorkflowComponent-DZwG4TmA.js → AdaptiveWorkflowComponent-Bv5fIffv.js} +29 -29
- package/dist/{AddressFields-D78Szxmw.js → AddressFields-CF-UaSiA.js} +10 -10
- package/dist/{Avatar-yJfk9A6l.js → Avatar-BBJO6JWY.js} +1 -1
- package/dist/{BusinessFinancingDropin-Sxpsw1Ib.js → BusinessFinancingDropin-DxUscJnz.js} +34 -34
- package/dist/{BusinessFinancingPage-DBIhC8Us.js → BusinessFinancingPage-aNSrpxqt.js} +54 -54
- package/dist/{BusinessRegistrationNumberField-BdMxV-Tb.js → BusinessRegistrationNumberField-ByWbtuPm.js} +6 -6
- package/dist/{BusinessRegistrationNumberFieldGroup-Cj8O_z1t.js → BusinessRegistrationNumberFieldGroup-BsaKq6cn.js} +12 -7
- package/dist/{BusinessTypeSelectionPage-qHvILw07.js → BusinessTypeSelectionPage-C8BtZX8K.js} +12 -12
- package/dist/{Button-BYafPrZH.js → Button-EhGM-oCO.js} +1 -1
- package/dist/{Checkbox-CEkD-Lpm.js → Checkbox-Ec4wyyJQ.js} +3 -3
- package/dist/{ComponentGroup-DVHVDBTY.js → ComponentGroup-DnbvXojQ.js} +10 -9
- package/dist/{ConstitutionalDocument-CRmlhFeL.js → ConstitutionalDocument-B4rf4Lt3.js} +16 -15
- package/dist/{ContactDetails-Cqfks3uk.js → ContactDetails-CZgDXYqx.js} +5 -5
- package/dist/{ContextGuidance-DfK3CyBg.js → ContextGuidance-C8FlwEPA.js} +3 -3
- package/dist/{CountryField-BjQOdWzz.js → CountryField-8KwVjSwx.js} +8 -6
- package/dist/{Currency-CbDX0TMX.js → Currency-DyE49bKs.js} +8 -8
- package/dist/{CustomerSupport-DhHfxyq-.js → CustomerSupport-CvTI3Snc.js} +34 -13
- package/dist/{DateField-B2QaXKJu.js → DateField-l6H-nmfS.js} +13 -9
- package/dist/{DebugModal-Bg9rzwSn.js → DebugModal-xkdniRzn.js} +154 -109
- package/dist/{DecisionMakerDetails-AoJgg4cg.js → DecisionMakerDetails-CykBZZ9U.js} +13 -13
- package/dist/{DecisionMakerDetailsPage-C_AdIcGC.js → DecisionMakerDetailsPage-BnjOq-R1.js} +7 -7
- package/dist/{DecisionMakers-C6l8bABC.js → DecisionMakers-B-4h5Vw_.js} +14 -14
- package/dist/{Dropzone-DgxhMiDp.js → Dropzone-D7Z9PsqG.js} +7 -7
- package/dist/{EmailField-CXN3LYZ2.js → EmailField-B-g3-z2A.js} +12 -9
- package/dist/{EmbeddedStatus-mdQsQfof.js → EmbeddedStatus-aQaNHawQ.js} +2 -2
- package/dist/{EndStateLayout-B-M90Rnh.js → EndStateLayout-CBzxX67s.js} +2 -2
- package/dist/{EntityAssociation-D_q0Wc3i.js → EntityAssociation-CPRU3Nzl.js} +6 -6
- package/dist/{ErrorPanel-CPEt21Se.js → ErrorPanel-DUI1R5Sq.js} +4 -4
- package/dist/{GlobalEntryModal-BLcLbtbY.js → GlobalEntryModal-Fszy2PMv.js} +312 -100
- package/dist/{GlobalEntryPage-DWOIX03S.js → GlobalEntryPage-GMRCmYj1.js} +32 -32
- package/dist/Icon-D2IGgB2L.js +175 -0
- package/dist/{IdentityNumber-B9Jnp2Kq.js → IdentityNumber-M8NzdW3O.js} +5 -5
- package/dist/{IdentityNumberFieldGroup-BSl7SDIS.js → IdentityNumberFieldGroup-nOlB5kOW.js} +38 -16
- package/dist/{IdentityScreeningWorkflow-GYt_zgUF.js → IdentityScreeningWorkflow-kYczDRbc.js} +14 -13
- package/dist/{IndividualDropin-Diyiw3Hi.js → IndividualDropin-C9bKZu8q.js} +60 -39
- package/dist/{IndustryCodeFieldGroup-C2-FCfpN.js → IndustryCodeFieldGroup-ULwwyMfV.js} +8 -10
- package/dist/{InputDate-BHrNsorX.js → InputDate-fc3bdvdZ.js} +3 -3
- package/dist/{Introduction-DYn_jO1o.js → Introduction-BymKbaBE.js} +6 -6
- package/dist/{InvitedDecisionMakerComponent-CUe2AxiZ.js → InvitedDecisionMakerComponent-CLBrLaip.js} +36 -36
- package/dist/{JpAddressFields-C4qtHjp0.js → JpAddressFields-Dhe_cQhr.js} +9 -9
- package/dist/{LegalCompanyNameField-DFo-ZOZk.js → LegalCompanyNameField-Ch1VrlJs.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BOfRTyqK.js → LegalRepresentativeDetailsPage-ZsBdOW-Y.js} +3 -3
- package/dist/{Link-DwPkGikd.js → Link-BtWj5mVH.js} +1 -1
- package/dist/{ListItem-n927geYb.js → ListItem-aX6AyCay.js} +3 -3
- package/dist/{Name-DOj6CpgZ.js → Name-r1ugrnWU.js} +4 -4
- package/dist/{NumberField-CkdysfUI.js → NumberField-DzM3ge0J.js} +12 -9
- package/dist/{PatriotActDisclosure-DkqbHOFx.js → PatriotActDisclosure-O5TlzUXU.js} +10 -10
- package/dist/{PayoutDetailsDropin-CF7itBsp.js → PayoutDetailsDropin-J0pS_4a9.js} +30 -28
- package/dist/{PayoutDetailsPage-Dc_D071R.js → PayoutDetailsPage-COLJyIQ-.js} +4 -4
- package/dist/{InputText-BwXmy0Yr.js → RadioGroup-SDQSOsEf.js} +80 -5
- package/dist/{Review-Ku4iYkp6.js → Review-PhQYqPF4.js} +6 -6
- package/dist/{RootBusinessDetailsPage-CTSZl23n.js → RootBusinessDetailsPage-BI7ryRjt.js} +4 -4
- package/dist/{RootBusinessLinesPage-TqlW5o-4.js → RootBusinessLinesPage-mvoHQZD_.js} +21 -21
- package/dist/{RootIndividualDetailsPage-DG6IUpC8.js → RootIndividualDetailsPage-Cpm0vnKV.js} +4 -4
- package/dist/{Select-DPJ8234F.js → Select-DtO-GvLp.js} +5 -6
- package/dist/{SignPCIComponent-DHIPpLKT.js → SignPCIComponent-Dvmu4-hc.js} +38 -38
- package/dist/{SingpassSelection-BRJCTmKj.js → SingpassSelection-np9ZfMrZ.js} +5 -5
- package/dist/SingpassSelectionCTA-sVs1ou1t.js +71 -0
- package/dist/{SoleProprietorshipPage-JOV_QddZ.js → SoleProprietorshipPage-CwKtif4U.js} +4 -4
- package/dist/{SourceOfFundsPage-DxQADTn7.js → SourceOfFundsPage-waLLSQf2.js} +22 -22
- package/dist/{SourceOfFundsWorkflow-fFGA8BYS.js → SourceOfFundsWorkflow-Cat3HvUT.js} +4 -4
- package/dist/{StateField-LcRkkvIH.js → StateField-DxKg7Ea-.js} +6 -6
- package/dist/{Step-DaFQX--s.js → Step-ZD1CeO4b.js} +15 -9
- package/dist/{Summary-DgLYHPLg.js → Summary-BJnh9lZz.js} +2 -2
- package/dist/{SummarySection-CLaB0E12.js → SummarySection-D91P7H2B.js} +4 -4
- package/dist/{Task-CkhQ3vzl.js → Task-_WDQUdM0.js} +41 -31
- package/dist/{TaskGroup-BSPFdlu9.js → TaskGroup-C20Kri7W.js} +10 -6
- package/dist/{TaskListItem-B87Vgx8N.js → TaskListItem-BRTxzrek.js} +10 -10
- package/dist/{TaskStepperContextProvider-DiMf4UV6.js → TaskStepperContextProvider-C36jSigo.js} +1 -1
- package/dist/{TaskVerificationStatus-C1CllzL1.js → TaskVerificationStatus-Br7t30ur.js} +1 -1
- package/dist/{TaxInformationFieldGroup-BBASFehB.js → TaxInformationFieldGroup-BiNe6-D4.js} +68 -111
- package/dist/{TaxReportingDropin-BvJ-hNA-.js → TaxReportingDropin-DuZpEzKn.js} +14 -13
- package/dist/{TaxReportingWorkflow-BrlpMImh.js → TaxReportingWorkflow-CMhxj0jx.js} +4 -4
- package/dist/{TermsOfServiceManagement-B4H2Aia2.js → TermsOfServiceManagement-Cp6-BOaT.js} +38 -37
- package/dist/{TextArea-CAZrG_yC.js → TextArea-DD-KMQbg.js} +4 -4
- package/dist/{TextField-DTv1BPA3.js → TextField-Bdu0Wm6_.js} +13 -10
- package/dist/{TrustDetailsPage-DYXIzcxJ.js → TrustDetailsPage-IGLuJZUE.js} +30 -23
- package/dist/{TrustMemberCompanyPage-pvj9sHs2.js → TrustMemberCompanyPage-CNIDzOte.js} +5 -5
- package/dist/{TrustMemberIndividualPage-Dm4S4Vhu.js → TrustMemberIndividualPage-Q_IDqWsr.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-HY6FQpRj.js → TrustMemberRoleAndTypePage-B2EtfK6g.js} +20 -20
- package/dist/{TrustMembersOverview-Bcs79IWP.js → TrustMembersOverview-hDVqCUbB.js} +12 -12
- package/dist/{UboTaskItem-BYQusWWl.js → UboTaskItem-Bt45kkQu.js} +15 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-sBN7kPiI.js → UnincorporatedPartnershipIndividualPage-hkrLvEZw.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DHgq0TLx.js → UnincorporatedPartnershipMemberCompanyPage-B8e9E2t2.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dx5UGEcg.js → UnincorporatedPartnershipMemberRoleAndTypePage-Rey_F44n.js} +10 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-DxIfkkY7.js → UnincorporatedPartnershipMembersOverview-DPO8TjP4.js} +6 -6
- package/dist/{VerificationErrorAlert-C_qKEwHw.js → VerificationErrorAlert-Lim_NsJO.js} +3 -3
- package/dist/{WebsiteField-BYZAR8k8.js → WebsiteField-BLgq-_me.js} +13 -10
- package/dist/{Workflow-ty27ZzKS.js → Workflow-CnkirZOn.js} +11 -8
- package/dist/{accountHolderUtils-CVX0JkJf.js → accountHolderUtils-D6wEBsLQ.js} +2 -2
- package/dist/adyen-business-financing.js +56 -57
- package/dist/adyen-individual-configuration.js +30 -31
- package/dist/adyen-individual-status.js +30 -31
- package/dist/adyen-invited-decision-maker.js +4 -5
- package/dist/adyen-onboarding.js +52 -178
- package/dist/adyen-terms-of-service-management.js +4 -5
- package/dist/adyen-terms-of-service-status.js +4 -5
- package/dist/adyen-transfer-instrument-configuration.js +30 -31
- package/dist/adyen-transfer-instrument-management.js +37 -38
- package/dist/adyen-verification-status.js +4 -5
- package/dist/{arrow-right-BwP9nNDE.js → arrow-right-3zKAXB3D.js} +2 -2
- package/dist/{bafinUtils-DNq-JBP5.js → bafinUtils-TT8a0y7q.js} +91 -34
- package/dist/{bag-Cnk9dcZg.js → bag-B8b-Jb8Y.js} +2 -2
- package/dist/{bank-UssyP-aG.js → bank-CQrF7P3r.js} +2 -2
- package/dist/bg-BG-CdDdNATP.js +7 -0
- package/dist/{bg-BG-CmuahJEZ.js → bg-BG-g1moSV5i.js} +8 -2
- package/dist/{bg-BG-ClMsmcda.js → bg-BG-s01xQ0IE.js} +16 -2
- package/dist/{bin--Ft4cPCj.js → bin-C4Fu9PHF.js} +2 -2
- package/dist/{capital-BbOFhTHY.js → capital-C1L-Fbue.js} +2 -2
- package/dist/{cash-stack-LTzc8hQZ.js → cash-stack-BpmsCe5x.js} +2 -2
- package/dist/{certificate-CswNcwlI.js → certificate-CEXTu9K7.js} +2 -2
- package/dist/{checkmark-DH1abKZn.js → checkmark-CuqH-tPn.js} +2 -2
- package/dist/{checkmark-circle-VWM-JsI6.js → checkmark-circle-LpY4tMPD.js} +2 -2
- package/dist/{checkmark-circle-fill-AuW2DQDT.js → checkmark-circle-fill-Cp6YFYCT.js} +2 -2
- package/dist/{checkmark-small-B6vsnsSO.js → checkmark-small-DFtNt2po.js} +2 -2
- package/dist/{chevron-down-BGAMP7CF.js → chevron-down-DhQJv6Ph.js} +2 -2
- package/dist/{chevron-left-EjFIt8Cd.js → chevron-left-DkLDfa2Z.js} +2 -2
- package/dist/{chevron-right-B5zb9mkt.js → chevron-right-BZFBWefp.js} +2 -2
- package/dist/{chevron-up-DZiittpJ.js → chevron-up-DRtWAeDd.js} +2 -2
- package/dist/{circle-CygvxRY_.js → circle-KULHbBX2.js} +2 -2
- package/dist/{circle-small-filled-PeElhgJU.js → circle-small-filled-CcOlAzmF.js} +2 -2
- package/dist/{clock-CQXEE5jK.js → clock-DEbxrDAd.js} +2 -2
- package/dist/{coins-C7syygUR.js → coins-C0-5yKat.js} +2 -2
- package/dist/{constants-D2FD75EZ.js → constants-DsYpJv_6.js} +6 -17
- package/dist/{contract-BWEAd7e-.js → contract-B91Vhtk_.js} +2 -2
- package/dist/{cross-vK6qh9R0.js → cross-DX3n6F6N.js} +2 -2
- package/dist/{cross-circle-fill-Bxj_fgQE.js → cross-circle-fill-CrWmQTCZ.js} +2 -2
- package/dist/{cross-circle-fill-small-DwUKcL9P.js → cross-circle-fill-small-BnYkSjuU.js} +2 -2
- package/dist/cs-CZ-CQoPRxwA.js +7 -0
- package/dist/{cs-CZ-DUNmRoYr.js → cs-CZ-CX7RYS3J.js} +8 -2
- package/dist/{cs-CZ-DyLd-erd.js → cs-CZ-DfKxKCsI.js} +16 -2
- package/dist/{da-DK-Dhr4p-qj.js → da-DK-BrKeONXP.js} +16 -2
- package/dist/da-DK-CEe5TTUa.js +7 -0
- package/dist/{da-DK-CWWLFjfT.js → da-DK-Cs_2K6Rd.js} +8 -2
- package/dist/{de-DE-QDT6VVq9.js → de-DE-CaVZKsmT.js} +16 -2
- package/dist/{de-DE-LLIuFER0.js → de-DE-oR2bSTbA.js} +8 -2
- package/dist/de-DE-ut0CGES0.js +7 -0
- package/dist/{document-1-BPWF8zKf.js → document-1-CEBgjg1t.js} +2 -2
- package/dist/{document-person-DVRFNq7g.js → document-person-DO7-omhK.js} +2 -2
- package/dist/{download-DfdpoHdN.js → download-CG9nbHZJ.js} +2 -2
- package/dist/{dropinUtils-QIBtEAdk.js → dropinUtils-CZuO0w1x.js} +13 -88
- package/dist/{edit-1-BgVB06zI.js → edit-1-CCyg-Tid.js} +2 -2
- package/dist/el-GR-BEWi0DRN.js +7 -0
- package/dist/{el-GR-V2cZ5gjl.js → el-GR-DHA0rkvc.js} +16 -2
- package/dist/{el-GR-D9MFsese.js → el-GR-_mz9wRt2.js} +8 -2
- package/dist/{en-US-BMMx67Za.js → en-US-B7V_rOZV.js} +4 -2
- package/dist/en-US-BLUu-I1a.js +7 -0
- package/dist/en-US-BWzZpVaj.js +7 -0
- package/dist/{error-ChMPaOO8.js → error-DBn4_qws.js} +3 -3
- package/dist/es-ES-3Z6u7_Cv.js +7 -0
- package/dist/{es-ES-N-uqwvEU.js → es-ES-B9_eURa2.js} +8 -2
- package/dist/{es-ES-SsReQJzQ.js → es-ES-DsWec_oM.js} +16 -2
- package/dist/es-LA-BgYaYfYK.js +7 -0
- package/dist/{es-LA-DcnCNM5a.js → es-LA-BlWaKaxj.js} +8 -2
- package/dist/{es-LA-DTXCg1tj.js → es-LA-D0FhHrwN.js} +16 -2
- package/dist/{et-EE-Bg3WOS9m.js → et-EE-Bp9-vCYs.js} +16 -2
- package/dist/et-EE-CxTHKlGm.js +7 -0
- package/dist/{et-EE-CkJhiCVw.js → et-EE-D5kWenqz.js} +8 -2
- package/dist/{external-link-BbXGAtFE.js → external-link-De5M4oQX.js} +2 -2
- package/dist/fi-FI-BE-RoRL5.js +7 -0
- package/dist/{fi-FI-D0ZPYGD3.js → fi-FI-DBuyocuK.js} +8 -2
- package/dist/{fi-FI-B1RyWVH2.js → fi-FI-DcwOxjVV.js} +16 -2
- package/dist/{useIndustryCodes-La1cU8oH.js → fieldConfig-Dh_qmAto.js} +13 -2
- package/dist/{formatDataForSummary-GZH9C1ax.js → formatDataForSummary-oC9odBCW.js} +10 -10
- package/dist/{formatValidationError-C_3FU4uR.js → formatValidationError-BsRC83kl.js} +2 -2
- package/dist/{fr-FR-DXXrJUKC.js → fr-FR-CISoBKEC.js} +8 -2
- package/dist/fr-FR-Db4EY5iv.js +7 -0
- package/dist/{fr-FR-C3Zi7-JE.js → fr-FR-_ytHUJlx.js} +16 -2
- package/dist/{getDefaultRegistrationNumberType-CayCB3n0.js → getDefaultRegistrationNumberType-t926T5FG.js} +5 -4
- package/dist/{getTrustedDecisionMakers-DByctgob.js → getTrustedDecisionMakers-CD9uLmHi.js} +2 -2
- package/dist/{getValidationError-DnDzz5ju.js → getValidationError-CXILdPw6.js} +2 -2
- package/dist/{gift-BjS6ErNG.js → gift-BSFlM5Ut.js} +2 -2
- package/dist/{graph-B8rX9eXr.js → graph-DsJyeMAQ.js} +2 -2
- package/dist/{graph-up-Dwaq7upe.js → graph-up-NgJWuRLx.js} +2 -2
- package/dist/{headquarter-CXwws_UP.js → headquarter-DfM7M5jR.js} +2 -2
- package/dist/{hotel-CD5Lv9P7.js → hotel-rSbiYsRy.js} +2 -2
- package/dist/{hr-HR-BeZ1eUy7.js → hr-HR-CXYzhrLe.js} +8 -2
- package/dist/{hr-HR-CH9yGEPn.js → hr-HR-Cb9wbqiH.js} +16 -2
- package/dist/hr-HR-qvMOxoRF.js +7 -0
- package/dist/hu-HU-BNk4CovT.js +7 -0
- package/dist/{hu-HU-BhliM1LD.js → hu-HU-HetRpHop.js} +8 -2
- package/dist/{hu-HU-DpUG3GwC.js → hu-HU-d15vxL_S.js} +16 -2
- package/dist/{image-BTE2a8ZV.js → image-CMNC56qX.js} +2 -2
- package/dist/{info-BTc0bCCM.js → info-B41z2nKP.js} +2 -2
- package/dist/{info-filled-DhYinieW.js → info-filled-uHSCed8u.js} +2 -2
- package/dist/{useId-MW2hvVJz.js → invalidateRootLegalEntity-CnH38v8h.js} +4 -26
- package/dist/{it-IT-BEEsgu4Z.js → it-IT-DBatLxXf.js} +16 -2
- package/dist/{it-IT-BULBjWDc.js → it-IT-DUCIA7fo.js} +8 -2
- package/dist/it-IT-RatP9WIw.js +7 -0
- package/dist/ja-JP-BILx8dc7.js +7 -0
- package/dist/{ja-JP-BjMyxZiN.js → ja-JP-BNHFH7FM.js} +2 -2
- package/dist/{ja-JP-CcXk7Gcc.js → ja-JP-BRdSqCDF.js} +16 -2
- package/dist/{ja-JP-ByMh2iUh.js → ja-JP-CmiLlpqW.js} +8 -2
- package/dist/{location-CwE3Q0gg.js → location-BKdbMTik.js} +2 -2
- package/dist/lt-LT-CZ2yA_Km.js +7 -0
- package/dist/{lt-LT-CGgbFwbx.js → lt-LT-DbzhtTak.js} +16 -2
- package/dist/{lt-LT-CiKIZfk8.js → lt-LT-YfU6BGpp.js} +8 -2
- package/dist/lv-LV-AGwJD157.js +7 -0
- package/dist/{lv-LV-Ck_aQ4ML.js → lv-LV-B17wL3y6.js} +16 -2
- package/dist/{lv-LV-u-vJn6T3.js → lv-LV-C0PK4MKA.js} +8 -2
- package/dist/{mail-CIeugZTd.js → mail-BRy0YL8P.js} +2 -2
- package/dist/{mapAddressLocalizationToJpAddressSchema-FUdkDZLN.js → mapAddressLocalizationToJpAddressSchema-D8qKuElS.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BCNX0LPr.js → mapJpAddressSchemaToAddressLocalizations-myaH4YTR.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-BUKwzRyA.js → mapTransferInstrumentToPayoutAccount-Bet2QLgn.js} +2 -2
- package/dist/{minus-circle-filled-96DZCdcJ.js → minus-circle-filled-CLNsVzoi.js} +2 -2
- package/dist/{nl-NL-B8REgP66.js → nl-NL-CXeqs7dv.js} +8 -2
- package/dist/{nl-NL-_hbzuQ0h.js → nl-NL-CfQsmGB5.js} +16 -2
- package/dist/nl-NL-DNXcBpml.js +7 -0
- package/dist/{no-NO-B_ijkAtf.js → no-NO-B1dqTSiS.js} +16 -2
- package/dist/{no-NO-vasSCJdc.js → no-NO-C2sdKw0r.js} +8 -2
- package/dist/no-NO-vY4nfY9g.js +7 -0
- package/dist/{options-horizontal-BU9r-Xx3.js → options-horizontal-CRXmLqnK.js} +2 -2
- package/dist/{partner-C1SWc0pB.js → partner-cWS5lNgW.js} +2 -2
- package/dist/{pay-by-link-plane-xK4Zkol0.js → pay-by-link-plane-BAhi6LNR.js} +2 -2
- package/dist/{payout-zGf0LNbo.js → payout-3fsBXC47.js} +2 -2
- package/dist/{person-xTKhpEGR.js → person-Uffsnqkd.js} +2 -2
- package/dist/{pl-PL-wpXnySZL.js → pl-PL-BD5OF888.js} +8 -2
- package/dist/{pl-PL-u6DrL8IY.js → pl-PL-DSwjmRZS.js} +16 -2
- package/dist/pl-PL-KmUtZ6lq.js +7 -0
- package/dist/{plus-Cm_dWRpB.js → plus-CPdn1NyG.js} +2 -2
- package/dist/{plus-circle-filled-Df77eidx.js → plus-circle-filled-DN0LL-qV.js} +2 -2
- package/dist/{processValidationErrors-BtJpzvvf.js → processValidationErrors-B-A5EFGo.js} +3 -3
- package/dist/{pt-BR-C5d5CGRt.js → pt-BR-DEBXxRwN.js} +8 -2
- package/dist/{pt-BR-CPS77pGy.js → pt-BR-_3W6lRmq.js} +16 -2
- package/dist/pt-BR-tQCWRhmf.js +7 -0
- package/dist/{pt-PT-B6OslB_S.js → pt-PT-BLpMJNOh.js} +8 -2
- package/dist/{pt-PT-DIKqQR6V.js → pt-PT-BUEnW3xZ.js} +16 -2
- package/dist/pt-PT-ZNVCYAr4.js +7 -0
- package/dist/{recurring-BfwVHJ2Z.js → recurring-CMo7EaV-.js} +2 -2
- package/dist/{resolveEnvironment-A2E4srza.js → registerEmbed-CZDAZwKX.js} +106 -46
- package/dist/{revenue-accelerate-ClN0cx7Z.js → revenue-accelerate-BkzY3gMh.js} +2 -2
- package/dist/{ro-RO-Cg1nG9ns.js → ro-RO-B4LyC5yt.js} +16 -2
- package/dist/{ro-RO-dG27cZbT.js → ro-RO-CHA0yVBc.js} +8 -2
- package/dist/ro-RO-DDdUFz6E.js +7 -0
- package/dist/{roleMetadata-BFD8qjDC.js → roleMetadata-DR0IBuky.js} +3 -3
- package/dist/{save-QK2A-teG.js → save-B1AE8MD9.js} +2 -2
- package/dist/{search-DVSyT7Q7.js → search-7HzLTqcY.js} +2 -2
- package/dist/{show-BRWLIRSA.js → show-DWurwnTZ.js} +2 -2
- package/dist/{sk-SK-Woc9AmiO.js → sk-SK-CI_QfG7S.js} +8 -2
- package/dist/{sk-SK-CRfiVN3e.js → sk-SK-CLhssOsk.js} +16 -2
- package/dist/sk-SK-DdDdEYiT.js +7 -0
- package/dist/{sl-SI-C03fXovT.js → sl-SI-DtZuFHYG.js} +8 -2
- package/dist/{sl-SI-Dpr3StsS.js → sl-SI-QgSjXf-1.js} +16 -2
- package/dist/sl-SI-vefne3eU.js +7 -0
- package/dist/{solution-payments-BZZceFVV.js → solution-payments-DhmPJwd_.js} +2 -2
- package/dist/{store-DLKKLXhn.js → store-fpEz2G1Q.js} +2 -2
- package/dist/style.css +184 -169
- package/dist/styles-DYaAeu4q.js +184 -169
- package/dist/{sv-SE-D5eIbgkk.js → sv-SE-B5pp1e_g.js} +8 -2
- package/dist/{sv-SE-CH4wMrUZ.js → sv-SE-BJgBNvRa.js} +16 -2
- package/dist/sv-SE-DIDlUvzM.js +7 -0
- package/dist/tanstackValidation-BgAM9eKo.js +20 -0
- package/dist/{terminal-1-CpAyEdjO.js → terminal-1-6ggvAFrO.js} +2 -2
- package/dist/types/adaptiveWorkflow/component-registry.d.ts +6 -6
- package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxInformationFieldGroup.d.ts +2 -2
- package/dist/types/adaptiveWorkflow/components/Layout/ComponentGroup/ComponentGroup.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Layout/DynamicForm/DynamicForm.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/Step/Step.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Layout/Task/Task.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Layout/TaskGroup/TaskGroup.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Layout/UboTaskItem/UboTaskItem.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Layout/Workflow/Workflow.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/CompoundFieldRenderer.d.ts +2 -2
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/LayoutRenderer.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/NodeRenderer.d.ts +11 -11
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/SimpleFieldRenderer.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/SpecializedStepRenderer.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/utils/deriveNodeState.d.ts +10 -0
- package/dist/types/adaptiveWorkflow/utils/tanstackValidation.d.ts +14 -0
- package/dist/types/adaptiveWorkflow/utils/utils.d.ts +2 -3
- package/dist/types/api/adaptive/adaptiveWorkflow.types.d.ts +71 -12
- package/dist/types/api/draft/useCreateDraft.d.ts +3 -0
- package/dist/types/api/draft/useGetDraft.d.ts +5 -0
- package/dist/types/api/draft/useUpdateDraft.d.ts +3 -0
- package/dist/types/api/queryKeys.d.ts +2 -1
- package/dist/types/components/Business/hooks/useSubmitBusinessDetails.d.ts +1 -1
- package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +21 -5
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +27 -27
- package/dist/types/components/GlobalEntry/fields/DbaQuestionnaire/types.d.ts +1 -1
- package/dist/types/components/GlobalEntry/fields/PrimaryPartnerTypeField/PrimaryPartnerTypeField.d.ts +1 -1
- package/dist/types/components/GlobalEntry/fields/PrimaryPartnerTypeField/types.d.ts +3 -1
- package/dist/types/components/GlobalEntry/fields/SingpassSelectionCTA/SingpassSelectionCTA.d.ts +6 -0
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/RegistrationInformation.d.ts +3 -2
- package/dist/types/components/GlobalEntry/rules.d.ts +1 -1
- package/dist/types/components/GlobalEntry/tasks/GlobalEntry.d.ts +2 -1
- package/dist/types/components/GlobalEntry/utils/utils.d.ts +9 -0
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -0
- package/dist/types/components/Shared/SaveForLater/SaveForLaterButton.d.ts +8 -0
- package/dist/types/components/Shared/SaveForLater/draftMetadata.d.ts +24 -0
- package/dist/types/components/Shared/SaveForLater/useSaveForLater.d.ts +32 -0
- package/dist/types/components/Shared/devex/DebugListener/DebugThemeEditor.d.ts +10 -0
- package/dist/types/components/Shared/devex/DebugListener/customTheme.d.ts +20 -8
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +11 -0
- package/dist/types/components/Shared/fields/TaxInformationField/utils.d.ts +18 -1
- package/dist/types/components/Shared/forms/Address/rules.d.ts +10 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +2 -2
- package/dist/types/context/ToggleContext/types.d.ts +16 -4
- package/dist/types/core/EmbedShell/themeMode.d.ts +12 -0
- package/dist/types/core/registerEmbed/registerEmbed.d.ts +12 -0
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +1 -1
- package/dist/types/utils/deepMerge.d.ts +1 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{types-DVMWWwBT.js → types-CP3D_hFv.js} +1 -1
- package/dist/{unincorporatedPartnership-7X9o2wKi.js → unincorporatedPartnership-B5pKn0gl.js} +2 -2
- package/dist/{upload-BI7LKlDm.js → upload-DF1deAl3.js} +2 -2
- package/dist/{useBusinessDetailsData-Cs15bK0B.js → useBusinessDetailsData-CPzTltvn.js} +205 -152
- package/dist/{useCanSeeIntroduction-DzYOn-jJ.js → useCanSeeIntroduction-Cnuh14Cr.js} +3 -3
- package/dist/{useForm-CPOxg890.js → useForm-B2fQ78Se.js} +3 -3
- package/dist/{useHideTaskStepper-Betx9MGy.js → useHideTaskStepper-DvHXw3zd.js} +1 -1
- package/dist/{Modal-afeMXOOn.js → useId-AzWxLa17.js} +27 -5
- package/dist/{useNavigate-C9pHkW9F.js → useNavigate-Bx6F2ghI.js} +33 -33
- package/dist/{useSalesChannels-D2UblAHt.js → useSalesChannels-Db_8bYBY.js} +2 -2
- package/dist/useSaveForLater-BQio20Zg.js +200 -0
- package/dist/{useTaskLandedEvent-B_GbpCRR.js → useTaskLandedEvent-DdeWh_nV.js} +2 -2
- package/dist/{useTrustMembers-bzYJw-8r.js → useTrustMembers-CqeR9IVN.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-CM8pXQIa.js → useUnincorporatedPartnershipMembers-WOJzF2NV.js} +2 -2
- package/dist/{utils-DTuKY6NW.js → utils-8yLC-qJv.js} +2 -2
- package/dist/{utils-Dpvxf5_a.js → utils-AnusXLKP.js} +2 -2
- package/dist/{utils-B5D6FxHi.js → utils-BfA0Rrku.js} +3 -4
- package/dist/{validate-DEqWFrmE.js → validate-Bcw1m17m.js} +4 -4
- package/dist/{validate-D0s1xnXY.js → validate-Bf1SBTiG.js} +3 -3
- package/dist/{validate-CIG89n0Q.js → validate-CxL6_omc.js} +2 -2
- package/dist/{validate-DCrnvbfv.js → validate-DSR31SH8.js} +9 -9
- package/dist/{validateExtractionResult-D3AuQo5-.js → validateExtractionResult-BD0Vu-XF.js} +2 -2
- package/dist/{warning-circle-fill-ClFvGo5m.js → warning-circle-fill-tyigXMGG.js} +2 -2
- package/dist/{warning-diamond-filled-CWyKR65i.js → warning-diamond-filled-uHVDhfcX.js} +2 -2
- package/dist/{webinar-DWX7Z5Wz.js → webinar-C70iLMbf.js} +2 -2
- package/package.json +5 -5
- package/dist/Icon-jVvV1zXc.js +0 -175
- package/dist/bg-BG-Cdrkwxmc.js +0 -7
- package/dist/cs-CZ-DpiH1UkS.js +0 -7
- package/dist/da-DK-B-BJLcqw.js +0 -7
- package/dist/de-DE-BxTGFyOs.js +0 -7
- package/dist/el-GR-IQwyd9ws.js +0 -7
- package/dist/en-US-8KLaHQaT.js +0 -7
- package/dist/en-US-DPr5RN3e.js +0 -7
- package/dist/es-ES-Cg2IadcX.js +0 -7
- package/dist/es-LA-DvMpG4FP.js +0 -7
- package/dist/et-EE-eGeytyQh.js +0 -7
- package/dist/fi-FI-C02wZfgW.js +0 -7
- package/dist/fr-FR-CE7k9H5_.js +0 -7
- package/dist/hr-HR-B12DcJ3l.js +0 -7
- package/dist/hu-HU-cosbDuos.js +0 -7
- package/dist/it-IT-CiKoOxzk.js +0 -7
- package/dist/ja-JP-D7PEVMmT.js +0 -7
- package/dist/lt-LT-C2oxTakB.js +0 -7
- package/dist/lv-LV-C_KVkpid.js +0 -7
- package/dist/nl-NL-CwNBy0Ku.js +0 -7
- package/dist/no-NO-VqkeNhzB.js +0 -7
- package/dist/pl-PL-Bp218jDD.js +0 -7
- package/dist/pt-BR-CPbFPNwq.js +0 -7
- package/dist/pt-PT-Bz39smeX.js +0 -7
- package/dist/ro-RO-jNItoBZk.js +0 -7
- package/dist/sk-SK-CsSqXqf_.js +0 -7
- package/dist/sl-SI-PRqWis0E.js +0 -7
- package/dist/sv-SE-Dv-rMOdB.js +0 -7
- package/dist/types/adaptiveWorkflow/components/types.d.ts +0 -50
|
@@ -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] = "3d386f2f-9960-44b1-8385-ea8bab94f2a4", e._sentryDebugIdIdentifier = "sentry-dbid-3d386f2f-9960-44b1-8385-ea8bab94f2a4");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
6
|
-
//#region node_modules/.pnpm/@adyen+ui-assets-icons-16@7.10.0_vue@3.5.
|
|
6
|
+
//#region node_modules/.pnpm/@adyen+ui-assets-icons-16@7.10.0_vue@3.5.42_typescript@6.0.3_/node_modules/@adyen/ui-assets-icons-16/dist/svg/4-people.svg?component
|
|
7
7
|
var Svg4People = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
9
|
width: 16,
|
package/dist/{AcceptTermsOfServiceWorkflow-CLTk8Oyx.js → AcceptTermsOfServiceWorkflow-BHLj18cI.js}
RENAMED
|
@@ -1,11 +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] = "1198bfa3-f134-412c-a790-1e128e92a760", e._sentryDebugIdIdentifier = "sentry-dbid-1198bfa3-f134-412c-a790-1e128e92a760");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as EndStateLayout } from "./EndStateLayout-
|
|
6
|
-
import { t as TermsOfServiceManagement } from "./TermsOfServiceManagement-
|
|
5
|
+
import { t as EndStateLayout } from "./EndStateLayout-CBzxX67s.js";
|
|
6
|
+
import { t as TermsOfServiceManagement } from "./TermsOfServiceManagement-Cp6-BOaT.js";
|
|
7
7
|
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
8
|
-
import { t as useHideTaskStepper } from "./useHideTaskStepper-
|
|
8
|
+
import { t as useHideTaskStepper } from "./useHideTaskStepper-DvHXw3zd.js";
|
|
9
9
|
import { jsx } from "preact/jsx-runtime";
|
|
10
10
|
//#region src/adaptiveWorkflow/components/Layout/Steps/AcceptTermsOfServiceWorkflow.tsx
|
|
11
11
|
var AcceptTermsOfServiceWorkflow = ({ node }) => {
|
|
@@ -2,7 +2,7 @@ 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] = "14f0f7e0-2cb9-4e10-9257-63b8b7a86d3a", e._sentryDebugIdIdentifier = "sentry-dbid-14f0f7e0-2cb9-4e10-9257-63b8b7a86d3a");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as Icon } from "./Icon-
|
|
5
|
+
import { t as Icon } from "./Icon-D2IGgB2L.js";
|
|
6
6
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
7
7
|
import { t as Skeleton } from "./Skeleton-7xDqhYr-.js";
|
|
8
8
|
import cx from "classnames";
|
|
@@ -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] = "61dd9003-b18d-456d-a37a-c700230fc4a8", e._sentryDebugIdIdentifier = "sentry-dbid-61dd9003-b18d-456d-a37a-c700230fc4a8");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { E as AlertIcon, N as Header } from "./registerEmbed-CZDAZwKX.js";
|
|
7
7
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
8
8
|
//#region src/components/Shared/AccountSetupRejected/AccountSetupRejected.tsx
|
|
9
9
|
function AccountSetupRejected() {
|
|
@@ -1,6 +1,6 @@
|
|
|
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] = "67a1428b-b2d1-4a7d-81bd-bcdcc05cd4b2", e._sentryDebugIdIdentifier = "sentry-dbid-67a1428b-b2d1-4a7d-81bd-bcdcc05cd4b2");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
6
6
|
import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
@@ -18,27 +18,73 @@ function useWorkflowContext() {
|
|
|
18
18
|
return useContext$1(WorkflowContext);
|
|
19
19
|
}
|
|
20
20
|
//#endregion
|
|
21
|
+
//#region src/adaptiveWorkflow/utils/deriveNodeState.ts
|
|
22
|
+
var isEmpty = (global) => {
|
|
23
|
+
if (global.value === "" || global.value === void 0 || global.value === null) return true;
|
|
24
|
+
if (global.type === "array") return global.value.length === 0;
|
|
25
|
+
if (global.type === "object") return Object.keys(global.value).length === 0;
|
|
26
|
+
return false;
|
|
27
|
+
};
|
|
28
|
+
var evaluateLeafCondition = (global, condition) => {
|
|
29
|
+
switch (condition.operator) {
|
|
30
|
+
case "eq": return global.value === condition.value;
|
|
31
|
+
case "neq": return global.value !== condition.value;
|
|
32
|
+
case "isEmpty": return isEmpty(global);
|
|
33
|
+
case "isNotEmpty": return !isEmpty(global);
|
|
34
|
+
case "contains":
|
|
35
|
+
case "in": return false;
|
|
36
|
+
case "gte":
|
|
37
|
+
case "lt":
|
|
38
|
+
case "lte": return false;
|
|
39
|
+
default: throw new Error(`Unknown operator encountered: ${condition.operator}`);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
var evaluateCondition = (condition, globals) => {
|
|
43
|
+
if (condition.conditions && condition.logic) {
|
|
44
|
+
const evaluate = (child) => evaluateCondition(child, globals);
|
|
45
|
+
switch (condition.logic) {
|
|
46
|
+
case "AND": return condition.conditions.every(evaluate);
|
|
47
|
+
case "OR": return condition.conditions.some(evaluate);
|
|
48
|
+
default: throw new Error(`Unknown logic encountered: ${condition.logic}`);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
const global = globals[condition.field];
|
|
52
|
+
return global ? evaluateLeafCondition(global, condition) : false;
|
|
53
|
+
};
|
|
54
|
+
var deriveNodeState = (dependsOn, globals, { disabled = false, hidden = false } = {}) => {
|
|
55
|
+
if (!dependsOn) return {
|
|
56
|
+
disabled,
|
|
57
|
+
hidden
|
|
58
|
+
};
|
|
59
|
+
const { condition, effect } = dependsOn;
|
|
60
|
+
const isConditionMet = evaluateCondition(condition, globals);
|
|
61
|
+
return {
|
|
62
|
+
disabled: disabled || isConditionMet && effect === "DISABLE" || !isConditionMet && effect === "ENABLE",
|
|
63
|
+
hidden: hidden || isConditionMet && effect === "HIDE" || !isConditionMet && effect === "SHOW"
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
//#endregion
|
|
21
67
|
//#region src/adaptiveWorkflow/component-registry.ts
|
|
22
|
-
var TextField = lazy(async () => (await import("./TextField-
|
|
23
|
-
var EmailField = lazy(async () => (await import("./EmailField-
|
|
24
|
-
var NumberField = lazy(async () => (await import("./NumberField-
|
|
25
|
-
var DateField = lazy(async () => (await import("./DateField-
|
|
26
|
-
var WebsiteField = lazy(async () => (await import("./WebsiteField-
|
|
27
|
-
var CountryField = lazy(async () => (await import("./CountryField-
|
|
28
|
-
var Workflow = lazy(async () => (await import("./Workflow-
|
|
29
|
-
var TaskGroup = lazy(async () => (await import("./TaskGroup-
|
|
30
|
-
var Task = lazy(async () => (await import("./Task-
|
|
31
|
-
var Step = lazy(async () => (await import("./Step-
|
|
32
|
-
var ComponentGroup = lazy(async () => (await import("./ComponentGroup-
|
|
33
|
-
var UboTaskItem = lazy(async () => (await import("./UboTaskItem-
|
|
34
|
-
var SourceOfFunds = lazy(async () => (await import("./SourceOfFundsWorkflow-
|
|
35
|
-
var TaxReporting = lazy(async () => (await import("./TaxReportingWorkflow-
|
|
36
|
-
var AcceptTermsOfService = lazy(async () => (await import("./AcceptTermsOfServiceWorkflow-
|
|
37
|
-
var IdentityScreening = lazy(async () => (await import("./IdentityScreeningWorkflow-
|
|
38
|
-
var TaxInformationFieldGroup = lazy(async () => (await import("./TaxInformationFieldGroup-
|
|
39
|
-
var BusinessRegistrationNumberFieldGroup = lazy(async () => (await import("./BusinessRegistrationNumberFieldGroup-
|
|
40
|
-
var IndustryCodeFieldGroup = lazy(async () => (await import("./IndustryCodeFieldGroup-
|
|
41
|
-
var IdentityNumberFieldGroup = lazy(async () => (await import("./IdentityNumberFieldGroup-
|
|
68
|
+
var TextField = lazy(async () => (await import("./TextField-Bdu0Wm6_.js")).TextField);
|
|
69
|
+
var EmailField = lazy(async () => (await import("./EmailField-B-g3-z2A.js")).EmailField);
|
|
70
|
+
var NumberField = lazy(async () => (await import("./NumberField-DzM3ge0J.js")).NumberField);
|
|
71
|
+
var DateField = lazy(async () => (await import("./DateField-l6H-nmfS.js")).DateField);
|
|
72
|
+
var WebsiteField = lazy(async () => (await import("./WebsiteField-BLgq-_me.js")).WebsiteField);
|
|
73
|
+
var CountryField = lazy(async () => (await import("./CountryField-8KwVjSwx.js")).CountryField);
|
|
74
|
+
var Workflow = lazy(async () => (await import("./Workflow-CnkirZOn.js")).Workflow);
|
|
75
|
+
var TaskGroup = lazy(async () => (await import("./TaskGroup-C20Kri7W.js")).TaskGroup);
|
|
76
|
+
var Task = lazy(async () => (await import("./Task-_WDQUdM0.js")).Task);
|
|
77
|
+
var Step = lazy(async () => (await import("./Step-ZD1CeO4b.js")).Step);
|
|
78
|
+
var ComponentGroup = lazy(async () => (await import("./ComponentGroup-DnbvXojQ.js")).ComponentGroup);
|
|
79
|
+
var UboTaskItem = lazy(async () => (await import("./UboTaskItem-Bt45kkQu.js")).UboTaskItem);
|
|
80
|
+
var SourceOfFunds = lazy(async () => (await import("./SourceOfFundsWorkflow-Cat3HvUT.js")).SourceOfFundsWorkflow);
|
|
81
|
+
var TaxReporting = lazy(async () => (await import("./TaxReportingWorkflow-CMhxj0jx.js")).TaxReportingWorkflow);
|
|
82
|
+
var AcceptTermsOfService = lazy(async () => (await import("./AcceptTermsOfServiceWorkflow-BHLj18cI.js")).AcceptTermsOfServiceWorkflow);
|
|
83
|
+
var IdentityScreening = lazy(async () => (await import("./IdentityScreeningWorkflow-kYczDRbc.js")).IdentityScreeningWorkflow);
|
|
84
|
+
var TaxInformationFieldGroup = lazy(async () => (await import("./TaxInformationFieldGroup-BiNe6-D4.js")).TaxInformationFieldGroup);
|
|
85
|
+
var BusinessRegistrationNumberFieldGroup = lazy(async () => (await import("./BusinessRegistrationNumberFieldGroup-BsaKq6cn.js")).BusinessRegistrationNumberFieldGroup);
|
|
86
|
+
var IndustryCodeFieldGroup = lazy(async () => (await import("./IndustryCodeFieldGroup-ULwwyMfV.js")).IndustryCodeFieldGroup);
|
|
87
|
+
var IdentityNumberFieldGroup = lazy(async () => (await import("./IdentityNumberFieldGroup-nOlB5kOW.js")).IdentityNumberFieldGroup);
|
|
42
88
|
var LAYOUT_COMPONENT_MAP = {
|
|
43
89
|
layout: Workflow,
|
|
44
90
|
taskGroup: TaskGroup,
|
|
@@ -99,7 +145,7 @@ var getNodeType = (component) => {
|
|
|
99
145
|
* Renders a compound field returned from the UI manifest.
|
|
100
146
|
* Compound fields render multiple fields which may be tied to one specific path linked to a requirement returned from RE.
|
|
101
147
|
*/
|
|
102
|
-
var CompoundFieldRenderer = ({ node,
|
|
148
|
+
var CompoundFieldRenderer = ({ node, ...props }) => {
|
|
103
149
|
const CompoundField = COMPOUND_FIELD_COMPONENT_MAP[node.name];
|
|
104
150
|
return /* @__PURE__ */ jsx(Suspense, {
|
|
105
151
|
fallback: /* @__PURE__ */ jsxs(StackLayout, {
|
|
@@ -114,8 +160,9 @@ var CompoundFieldRenderer = ({ node, form }) => {
|
|
|
114
160
|
}),
|
|
115
161
|
children: /* @__PURE__ */ jsx(CompoundField, {
|
|
116
162
|
node,
|
|
117
|
-
|
|
118
|
-
|
|
163
|
+
basePath: node.path,
|
|
164
|
+
...props,
|
|
165
|
+
...node.properties
|
|
119
166
|
})
|
|
120
167
|
});
|
|
121
168
|
};
|
|
@@ -126,13 +173,13 @@ var CompoundFieldRenderer = ({ node, form }) => {
|
|
|
126
173
|
* Layout components are internal nodes of the UI manifest used for layout purposes (ex. grouping of child nodes)
|
|
127
174
|
* 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.
|
|
128
175
|
*/
|
|
129
|
-
var LayoutRenderer = ({ node,
|
|
176
|
+
var LayoutRenderer = ({ node, ...props }) => {
|
|
130
177
|
const Layout = LAYOUT_COMPONENT_MAP[node.name];
|
|
131
178
|
return /* @__PURE__ */ jsx(Suspense, {
|
|
132
|
-
fallback: /* @__PURE__ */ jsx(
|
|
179
|
+
fallback: /* @__PURE__ */ jsx(Skeleton, {}),
|
|
133
180
|
children: /* @__PURE__ */ jsx(Layout, {
|
|
134
181
|
node,
|
|
135
|
-
|
|
182
|
+
...props
|
|
136
183
|
})
|
|
137
184
|
});
|
|
138
185
|
};
|
|
@@ -142,7 +189,7 @@ var LayoutRenderer = ({ node, form }) => {
|
|
|
142
189
|
* Renders a simple field returned from the UI manifest.
|
|
143
190
|
* Simple fields are linked to one specific path returned from AWE.
|
|
144
191
|
*/
|
|
145
|
-
var SimpleFieldRenderer = ({ node, form }) => {
|
|
192
|
+
var SimpleFieldRenderer = ({ node, form, ...props }) => {
|
|
146
193
|
const SimpleField = SIMPLE_FIELD_COMPONENT_MAP[node.name];
|
|
147
194
|
return /* @__PURE__ */ jsx(Suspense, {
|
|
148
195
|
fallback: /* @__PURE__ */ jsxs(StackLayout, {
|
|
@@ -157,7 +204,9 @@ var SimpleFieldRenderer = ({ node, form }) => {
|
|
|
157
204
|
}),
|
|
158
205
|
children: /* @__PURE__ */ jsx(SimpleField, {
|
|
159
206
|
node,
|
|
160
|
-
form
|
|
207
|
+
form,
|
|
208
|
+
...props,
|
|
209
|
+
...node.properties
|
|
161
210
|
})
|
|
162
211
|
});
|
|
163
212
|
};
|
|
@@ -168,13 +217,13 @@ var SimpleFieldRenderer = ({ node, form }) => {
|
|
|
168
217
|
* Specialized step components function as one whole, all-encompassing step as part of the child components of a task.
|
|
169
218
|
* This includes fetching/submitting data, navigation, etc.
|
|
170
219
|
*/
|
|
171
|
-
var SpecializedStepRenderer = ({ node,
|
|
220
|
+
var SpecializedStepRenderer = ({ node, ...props }) => {
|
|
172
221
|
const SpecializedStep = SPECIALIZED_STEP_COMPONENT_MAP[node.name];
|
|
173
222
|
return /* @__PURE__ */ jsx(Suspense, {
|
|
174
223
|
fallback: /* @__PURE__ */ jsx(Loader, {}),
|
|
175
224
|
children: /* @__PURE__ */ jsx(SpecializedStep, {
|
|
176
225
|
node,
|
|
177
|
-
|
|
226
|
+
...props
|
|
178
227
|
})
|
|
179
228
|
});
|
|
180
229
|
};
|
|
@@ -184,29 +233,49 @@ var SpecializedStepRenderer = ({ node, form }) => {
|
|
|
184
233
|
* Generic component used to render nodes returned from the UI manifest received from AWE
|
|
185
234
|
* Resolves values of node properties, checking against the global values supplied by AWE
|
|
186
235
|
*
|
|
187
|
-
* Will need to refine the renderer behavior if a node is not mapped, currently we will
|
|
236
|
+
* Will need to refine the renderer behavior if a node is not mapped, currently we will log an error
|
|
188
237
|
*/
|
|
189
|
-
var NodeRenderer = ({ node, form }) => {
|
|
238
|
+
var NodeRenderer = ({ node, form, disabled, hidden }) => {
|
|
190
239
|
const { globals } = useWorkflowContext();
|
|
240
|
+
let nodeState;
|
|
241
|
+
try {
|
|
242
|
+
nodeState = deriveNodeState(node.dependsOn, globals.value, {
|
|
243
|
+
disabled,
|
|
244
|
+
hidden
|
|
245
|
+
});
|
|
246
|
+
} catch (error) {
|
|
247
|
+
return null;
|
|
248
|
+
}
|
|
249
|
+
if (nodeState.hidden) return null;
|
|
191
250
|
const resolvedProps = resolveComponentProps(globals.value, node.properties);
|
|
192
|
-
const
|
|
251
|
+
const resolvedNode = {
|
|
193
252
|
...node,
|
|
194
253
|
properties: resolvedProps
|
|
195
254
|
};
|
|
196
|
-
const
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
255
|
+
const baseNodeProps = { ...nodeState };
|
|
256
|
+
switch (getNodeType(node.name)) {
|
|
257
|
+
case "layout": return /* @__PURE__ */ jsx(LayoutRenderer, {
|
|
258
|
+
node: resolvedNode,
|
|
259
|
+
form,
|
|
260
|
+
...baseNodeProps
|
|
261
|
+
});
|
|
262
|
+
case "specializedStep": return /* @__PURE__ */ jsx(SpecializedStepRenderer, {
|
|
263
|
+
node: resolvedNode,
|
|
264
|
+
...baseNodeProps
|
|
265
|
+
});
|
|
266
|
+
case "compound":
|
|
267
|
+
if (form && resolvedNode.path) return /* @__PURE__ */ jsx(CompoundFieldRenderer, {
|
|
268
|
+
node: resolvedNode,
|
|
269
|
+
form,
|
|
270
|
+
...baseNodeProps
|
|
271
|
+
});
|
|
272
|
+
break;
|
|
273
|
+
case "simple": if (form && resolvedNode.path) return /* @__PURE__ */ jsx(SimpleFieldRenderer, {
|
|
274
|
+
node: resolvedNode,
|
|
275
|
+
form,
|
|
276
|
+
...baseNodeProps
|
|
277
|
+
});
|
|
278
|
+
}
|
|
210
279
|
return null;
|
|
211
280
|
};
|
|
212
281
|
//#endregion
|
package/dist/{AdaptiveWorkflowComponent-DZwG4TmA.js → AdaptiveWorkflowComponent-Bv5fIffv.js}
RENAMED
|
@@ -1,11 +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] = "5c16429f-5729-40a0-9092-42cd181321f7", e._sentryDebugIdIdentifier = "sentry-dbid-5c16429f-5729-40a0-9092-42cd181321f7");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { P as _rolldown_dynamic_import_helper_default } from "./registerEmbed-CZDAZwKX.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
8
|
-
import { AdaptiveWorkflow, r as WorkflowContext } from "./AdaptiveWorkflow-
|
|
8
|
+
import { AdaptiveWorkflow, r as WorkflowContext } from "./AdaptiveWorkflow-DmZF4G5t.js";
|
|
9
9
|
import { t as useAdaptiveWorkflow } from "./useAdaptiveWorkflow-B35cXauP.js";
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
@@ -61,33 +61,33 @@ var AdaptiveWorkflowComponent = ({ onBack }) => {
|
|
|
61
61
|
{
|
|
62
62
|
ns: "common",
|
|
63
63
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* #__PURE__ */ Object.assign({
|
|
64
|
-
"../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
65
|
-
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-
|
|
66
|
-
"../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
67
|
-
"../../../language/locales/de-DE.json": () => import("./de-DE-
|
|
68
|
-
"../../../language/locales/el-GR.json": () => import("./el-GR-
|
|
64
|
+
"../../../language/locales/bg-BG.json": () => import("./bg-BG-CdDdNATP.js"),
|
|
65
|
+
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CQoPRxwA.js"),
|
|
66
|
+
"../../../language/locales/da-DK.json": () => import("./da-DK-CEe5TTUa.js"),
|
|
67
|
+
"../../../language/locales/de-DE.json": () => import("./de-DE-ut0CGES0.js"),
|
|
68
|
+
"../../../language/locales/el-GR.json": () => import("./el-GR-BEWi0DRN.js"),
|
|
69
69
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-myDXMUbk.js"),
|
|
70
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
71
|
-
"../../../language/locales/es-ES.json": () => import("./es-ES-
|
|
72
|
-
"../../../language/locales/es-LA.json": () => import("./es-LA-
|
|
73
|
-
"../../../language/locales/et-EE.json": () => import("./et-EE-
|
|
74
|
-
"../../../language/locales/fi-FI.json": () => import("./fi-FI-
|
|
75
|
-
"../../../language/locales/fr-FR.json": () => import("./fr-FR-
|
|
76
|
-
"../../../language/locales/hr-HR.json": () => import("./hr-HR-
|
|
77
|
-
"../../../language/locales/hu-HU.json": () => import("./hu-HU-
|
|
78
|
-
"../../../language/locales/it-IT.json": () => import("./it-IT-
|
|
79
|
-
"../../../language/locales/ja-JP.json": () => import("./ja-JP-
|
|
80
|
-
"../../../language/locales/lt-LT.json": () => import("./lt-LT-
|
|
81
|
-
"../../../language/locales/lv-LV.json": () => import("./lv-LV-
|
|
82
|
-
"../../../language/locales/nl-NL.json": () => import("./nl-NL-
|
|
83
|
-
"../../../language/locales/no-NO.json": () => import("./no-NO-
|
|
84
|
-
"../../../language/locales/pl-PL.json": () => import("./pl-PL-
|
|
85
|
-
"../../../language/locales/pt-BR.json": () => import("./pt-BR-
|
|
86
|
-
"../../../language/locales/pt-PT.json": () => import("./pt-PT-
|
|
87
|
-
"../../../language/locales/ro-RO.json": () => import("./ro-RO-
|
|
88
|
-
"../../../language/locales/sk-SK.json": () => import("./sk-SK-
|
|
89
|
-
"../../../language/locales/sl-SI.json": () => import("./sl-SI-
|
|
90
|
-
"../../../language/locales/sv-SE.json": () => import("./sv-SE-
|
|
70
|
+
"../../../language/locales/en-US.json": () => import("./en-US-BWzZpVaj.js"),
|
|
71
|
+
"../../../language/locales/es-ES.json": () => import("./es-ES-3Z6u7_Cv.js"),
|
|
72
|
+
"../../../language/locales/es-LA.json": () => import("./es-LA-BgYaYfYK.js"),
|
|
73
|
+
"../../../language/locales/et-EE.json": () => import("./et-EE-CxTHKlGm.js"),
|
|
74
|
+
"../../../language/locales/fi-FI.json": () => import("./fi-FI-BE-RoRL5.js"),
|
|
75
|
+
"../../../language/locales/fr-FR.json": () => import("./fr-FR-Db4EY5iv.js"),
|
|
76
|
+
"../../../language/locales/hr-HR.json": () => import("./hr-HR-qvMOxoRF.js"),
|
|
77
|
+
"../../../language/locales/hu-HU.json": () => import("./hu-HU-BNk4CovT.js"),
|
|
78
|
+
"../../../language/locales/it-IT.json": () => import("./it-IT-RatP9WIw.js"),
|
|
79
|
+
"../../../language/locales/ja-JP.json": () => import("./ja-JP-BILx8dc7.js"),
|
|
80
|
+
"../../../language/locales/lt-LT.json": () => import("./lt-LT-CZ2yA_Km.js"),
|
|
81
|
+
"../../../language/locales/lv-LV.json": () => import("./lv-LV-AGwJD157.js"),
|
|
82
|
+
"../../../language/locales/nl-NL.json": () => import("./nl-NL-DNXcBpml.js"),
|
|
83
|
+
"../../../language/locales/no-NO.json": () => import("./no-NO-vY4nfY9g.js"),
|
|
84
|
+
"../../../language/locales/pl-PL.json": () => import("./pl-PL-KmUtZ6lq.js"),
|
|
85
|
+
"../../../language/locales/pt-BR.json": () => import("./pt-BR-tQCWRhmf.js"),
|
|
86
|
+
"../../../language/locales/pt-PT.json": () => import("./pt-PT-ZNVCYAr4.js"),
|
|
87
|
+
"../../../language/locales/ro-RO.json": () => import("./ro-RO-DDdUFz6E.js"),
|
|
88
|
+
"../../../language/locales/sk-SK.json": () => import("./sk-SK-DdDdEYiT.js"),
|
|
89
|
+
"../../../language/locales/sl-SI.json": () => import("./sl-SI-vefne3eU.js"),
|
|
90
|
+
"../../../language/locales/sv-SE.json": () => import("./sv-SE-DIDlUvzM.js")
|
|
91
91
|
}), `../../../language/locales/${lang}.json`, 6)
|
|
92
92
|
},
|
|
93
93
|
{
|
|
@@ -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] = "16fc8f2c-9aad-4215-bf14-258a5047f943", e._sentryDebugIdIdentifier = "sentry-dbid-16fc8f2c-9aad-4215-bf14-258a5047f943");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
7
|
-
import { t as Icon } from "./Icon-
|
|
6
|
+
import { nt as getMaxLengthByFieldAndCountry } from "./registerEmbed-CZDAZwKX.js";
|
|
7
|
+
import { t as Icon } from "./Icon-D2IGgB2L.js";
|
|
8
8
|
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
9
|
-
import { r as useDebouncedCallback } from "./Checkbox-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { a as translateTranslatable, o as Field, t as Select } from "./Select-
|
|
13
|
-
import { a as getKeyForField, c as CONDENSED_ADDRESS_FIELDS, i as getAddressSchemaForCountry, l as COUNTRIES_WITH_FORMATTED_ADDRESSES, n as StateField, u as COUNTRIES_WITH_HOUSE_NUMBER_FIRST } from "./StateField-
|
|
14
|
-
import {
|
|
15
|
-
import { n as countrySpecificFormatters } from "./InputDate-
|
|
9
|
+
import { r as useDebouncedCallback } from "./Checkbox-Ec4wyyJQ.js";
|
|
10
|
+
import { a as useAnalyticsContext } from "./useId-AzWxLa17.js";
|
|
11
|
+
import { r as InputText } from "./RadioGroup-SDQSOsEf.js";
|
|
12
|
+
import { a as translateTranslatable, o as Field, t as Select } from "./Select-DtO-GvLp.js";
|
|
13
|
+
import { a as getKeyForField, c as CONDENSED_ADDRESS_FIELDS, i as getAddressSchemaForCountry, l as COUNTRIES_WITH_FORMATTED_ADDRESSES, n as StateField, u as COUNTRIES_WITH_HOUSE_NUMBER_FIRST } from "./StateField-DxKg7Ea-.js";
|
|
14
|
+
import { c as CountryField, g as createFormUtils } from "./dropinUtils-CZuO0w1x.js";
|
|
15
|
+
import { n as countrySpecificFormatters } from "./InputDate-fc3bdvdZ.js";
|
|
16
16
|
import { useCallback, useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
17
17
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
18
18
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -2,7 +2,7 @@ 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] = "726a17b0-4a92-452c-9325-432d188d6703", e._sentryDebugIdIdentifier = "sentry-dbid-726a17b0-4a92-452c-9325-432d188d6703");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as Icon } from "./Icon-
|
|
5
|
+
import { t as Icon } from "./Icon-D2IGgB2L.js";
|
|
6
6
|
import cx from "classnames";
|
|
7
7
|
import { jsx } from "preact/jsx-runtime";
|
|
8
8
|
var Avatar_module_default = {
|
|
@@ -1,44 +1,44 @@
|
|
|
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] = "112a79e3-fd4a-4c1e-811d-47009bfa636b", e._sentryDebugIdIdentifier = "sentry-dbid-112a79e3-fd4a-4c1e-811d-47009bfa636b");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { N as Header, k as datasetUtilities } from "./registerEmbed-CZDAZwKX.js";
|
|
7
7
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
8
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
9
|
-
import { t as Button } from "./Button-
|
|
9
|
+
import { t as Button } from "./Button-EhGM-oCO.js";
|
|
10
10
|
import { n as httpGet, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
11
11
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
12
12
|
import { t as cloneObject } from "./genUtils-nphCwt1A.js";
|
|
13
13
|
import { y as reverseMapping } from "./processCapabilities-B75YIdXZ.js";
|
|
14
14
|
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
15
15
|
import { t as isEeaCountry } from "./country-WYlusjTL.js";
|
|
16
|
-
import { i as useToggleContext, t as Checkbox } from "./Checkbox-
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
16
|
+
import { i as useToggleContext, t as Checkbox } from "./Checkbox-Ec4wyyJQ.js";
|
|
17
|
+
import { a as useAnalyticsContext } from "./useId-AzWxLa17.js";
|
|
18
|
+
import { r as InputText, s as SettingNames, t as RadioGroup } from "./RadioGroup-SDQSOsEf.js";
|
|
19
19
|
import { n as useAssociatedLegalEntity, t as getFormSlice } from "./getFormSlice-CxtXJ0-P.js";
|
|
20
|
-
import { n as
|
|
21
|
-
import { t as EndStateLayout } from "./EndStateLayout-
|
|
22
|
-
import { a as translateTranslatable, o as Field, t as Select } from "./Select-
|
|
23
|
-
import { o as StructuredList, r as formatObject } from "./utils-
|
|
24
|
-
import { a as getKeyForField, d as COUNTRIES_WITH_STATES_DATASET, f as addressFields, h as useUpdateLegalEntity } from "./StateField-
|
|
25
|
-
import {
|
|
20
|
+
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-CnH38v8h.js";
|
|
21
|
+
import { t as EndStateLayout } from "./EndStateLayout-CBzxX67s.js";
|
|
22
|
+
import { a as translateTranslatable, o as Field, t as Select } from "./Select-DtO-GvLp.js";
|
|
23
|
+
import { o as StructuredList, r as formatObject } from "./utils-BfA0Rrku.js";
|
|
24
|
+
import { a as getKeyForField, d as COUNTRIES_WITH_STATES_DATASET, f as addressFields, h as useUpdateLegalEntity } from "./StateField-DxKg7Ea-.js";
|
|
25
|
+
import { H as FormContextProvider, I as useMultiForm, V as summaryStep, c as CountryField, g as createFormUtils, n as getRequiredForms, p as isValidationError, t as addValidityToForms, v as useFormContext, y as FormFlow, z as useFormComposer } from "./dropinUtils-CZuO0w1x.js";
|
|
26
26
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CgzVD39K.js";
|
|
27
|
-
import { t as AddressFields } from "./AddressFields-
|
|
28
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
29
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-
|
|
30
|
-
import { t as InputDate } from "./InputDate-
|
|
31
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
27
|
+
import { t as AddressFields } from "./AddressFields-CF-UaSiA.js";
|
|
28
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DdeWh_nV.js";
|
|
29
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-B-A5EFGo.js";
|
|
30
|
+
import { t as InputDate } from "./InputDate-fc3bdvdZ.js";
|
|
31
|
+
import { t as ErrorPanel } from "./ErrorPanel-DUI1R5Sq.js";
|
|
32
32
|
import { i as getPrefixedFieldProps, n as getFieldProps } from "./getProps-DVqK7eRw.js";
|
|
33
|
-
import { t as Link } from "./Link-
|
|
34
|
-
import { t as formatValidationError } from "./formatValidationError-
|
|
33
|
+
import { t as Link } from "./Link-BtWj5mVH.js";
|
|
34
|
+
import { t as formatValidationError } from "./formatValidationError-BsRC83kl.js";
|
|
35
35
|
import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
|
|
36
|
-
import { t as Summary } from "./Summary-
|
|
37
|
-
import { t as SummarySection } from "./SummarySection-
|
|
38
|
-
import { t as currencyByCountry } from "./types-
|
|
39
|
-
import { i as nestAddressSchema, r as getPrefixedAddressFieldNames } from "./utils-
|
|
40
|
-
import { a as LegalFormField, i as InputCurrency, l as mapFinancialReportsToFinancialInformation, n as Currency, o as LEGAL_ENTITY_IDENTIFIER_FIELD, r as InputNumber, s as LegalEntityIdentifierField, t as CURRENCY_FIELD, u as mapFinancialInformationToFinancialReport } from "./Currency-
|
|
41
|
-
import { t as businessFinancingMultiformRules } from "./validate-
|
|
36
|
+
import { t as Summary } from "./Summary-BJnh9lZz.js";
|
|
37
|
+
import { t as SummarySection } from "./SummarySection-D91P7H2B.js";
|
|
38
|
+
import { t as currencyByCountry } from "./types-CP3D_hFv.js";
|
|
39
|
+
import { i as nestAddressSchema, r as getPrefixedAddressFieldNames } from "./utils-AnusXLKP.js";
|
|
40
|
+
import { a as LegalFormField, i as InputCurrency, l as mapFinancialReportsToFinancialInformation, n as Currency, o as LEGAL_ENTITY_IDENTIFIER_FIELD, r as InputNumber, s as LegalEntityIdentifierField, t as CURRENCY_FIELD, u as mapFinancialInformationToFinancialReport } from "./Currency-DyE49bKs.js";
|
|
41
|
+
import { t as businessFinancingMultiformRules } from "./validate-CxL6_omc.js";
|
|
42
42
|
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
43
43
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
44
44
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -288,7 +288,7 @@ var prepareBusinessFinancingSubmitData = (businessFinancingIndex, data, rootLega
|
|
|
288
288
|
if (formStatusOfLegalProceeding === "iDontKnow" || formStatusOfLegalProceeding === "noLegalActionsTaken") businessFinancingDetails.organization.dateOfInitiationOfLegalProceeding = "";
|
|
289
289
|
if (companyData.sameAddressAsRootEntity && rootLegalEntity?.organization?.registeredAddress) businessFinancingDetails.organization.registeredAddress = { ...rootLegalEntity.organization.registeredAddress };
|
|
290
290
|
if (companyData.isThisAddressTheMainHeadquarters) businessFinancingDetails.organization.principalPlaceOfBusiness = { ...businessFinancingDetails.organization.registeredAddress };
|
|
291
|
-
if (isFeatureEnabled?.("
|
|
291
|
+
if (isFeatureEnabled?.("EnableAMLRFeaturesV5")) businessFinancingDetails.organization.globalLegalEntityIdentifier = companyData.exemptedFromLegalEntityIdentifier || !companyData.legalEntityIdentifier ? "" : companyData.legalEntityIdentifier;
|
|
292
292
|
else if (companyData.doesYourCompanyHaveLEI !== "Yes") delete businessFinancingDetails.organization.globalLegalEntityIdentifier;
|
|
293
293
|
}
|
|
294
294
|
const businessFinancingLegalEntityId = getLegalEntityId(businessFinancingIndex, rootLegalEntity);
|
|
@@ -317,7 +317,7 @@ var appendBusinessFinancingData = (legalOrganization, businessFinancingData, isF
|
|
|
317
317
|
...clonedBusinessFinancingData,
|
|
318
318
|
...financialReportData,
|
|
319
319
|
numberOfEmployees: financialReportData.numberOfEmployees ? financialReportData.numberOfEmployees.toString() : void 0,
|
|
320
|
-
...isFeatureEnabled?.("
|
|
320
|
+
...isFeatureEnabled?.("EnableAMLRFeaturesV5") ? legalOrganization.globalLegalEntityIdentifier === "" ? { exemptedFromLegalEntityIdentifier: true } : {} : { doesYourCompanyHaveLEI: legalOrganization.globalLegalEntityIdentifier ? "Yes" : "No" },
|
|
321
321
|
isThisAddressTheMainHeadquarters: legalOrganization.principalPlaceOfBusiness ? "Yes" : clonedBusinessFinancingData.isThisAddressTheMainHeadquarters
|
|
322
322
|
};
|
|
323
323
|
};
|
|
@@ -350,7 +350,7 @@ var getCompanySchemaKeys = (country, currentData, schemaKeys, isFeatureEnabled,
|
|
|
350
350
|
if (!isEeaCountry(country)) fieldsToRemove.push("financialReportingDate", "balanceSheetTotal", "annualTurnover", "currency", "numberOfEmployees");
|
|
351
351
|
if (!capabilities?.issueChargeCard?.requested) fieldsToRemove.push("yearlyRevenue", "totalDebt", "cashPosition");
|
|
352
352
|
if (currentData.isCompanyOwnedByAnotherCompany !== "Yes") fieldsToRemove.push("isParentOwnedByAnotherCompany");
|
|
353
|
-
if (isFeatureEnabled?.("
|
|
353
|
+
if (isFeatureEnabled?.("EnableAMLRFeaturesV5")) {
|
|
354
354
|
fieldsToRemove.push("doesYourCompanyHaveLEI", "exemptedFromLegalEntityIdentifier");
|
|
355
355
|
if (currentData.exemptedFromLegalEntityIdentifier) fieldsToRemove.push("legalEntityIdentifier");
|
|
356
356
|
} else {
|
|
@@ -378,7 +378,7 @@ var getParentCompanySchemaKeys = (currentData, schemaKeys, rootEntityAddress, is
|
|
|
378
378
|
"registrationAddressCountry"
|
|
379
379
|
]);
|
|
380
380
|
if (companyCountry && !COUNTRIES_WITH_STATES_DATASET.includes(companyCountry)) fieldsToRemove.push("registrationAddressStateOrProvince");
|
|
381
|
-
if (isFeatureEnabled?.("
|
|
381
|
+
if (isFeatureEnabled?.("EnableAMLRFeaturesV5")) {
|
|
382
382
|
fieldsToRemove.push("doesYourCompanyHaveLEI", "exemptedFromLegalEntityIdentifier");
|
|
383
383
|
if (currentData.exemptedFromLegalEntityIdentifier) fieldsToRemove.push("legalEntityIdentifier");
|
|
384
384
|
} else {
|
|
@@ -414,11 +414,11 @@ var getBusinessFinancingFields = (country, data, rootEntityAddress, isFeatureEna
|
|
|
414
414
|
requiredFields = {};
|
|
415
415
|
optionalFields = {};
|
|
416
416
|
requiredFields.company = getCompanySchemaKeys(country, company, companySchemaKeys, isFeatureEnabled, capabilities);
|
|
417
|
-
if (isFeatureEnabled?.("
|
|
417
|
+
if (isFeatureEnabled?.("EnableAMLRFeaturesV5")) optionalFields.company = ["exemptedFromLegalEntityIdentifier"];
|
|
418
418
|
}
|
|
419
419
|
if (company?.isCompanyOwnedByAnotherCompany === "Yes") {
|
|
420
420
|
let parentCompanyRequiredFields = getParentCompanySchemaKeys(parentCompany, parentCompaniesSchemaKeys, rootEntityAddress, isFeatureEnabled);
|
|
421
|
-
if (isFeatureEnabled?.("
|
|
421
|
+
if (isFeatureEnabled?.("EnableAMLRFeaturesV5")) optionalFields = {
|
|
422
422
|
...optionalFields,
|
|
423
423
|
parentCompany: ["exemptedFromLegalEntityIdentifier"]
|
|
424
424
|
};
|
|
@@ -430,7 +430,7 @@ var getBusinessFinancingFields = (country, data, rootEntityAddress, isFeatureEna
|
|
|
430
430
|
}
|
|
431
431
|
if (company?.isParentOwnedByAnotherCompany === "Yes") {
|
|
432
432
|
let ultimateParentCompanyRequiredFields = getParentCompanySchemaKeys(ultimateParentCompany, parentCompaniesSchemaKeys, rootEntityAddress, isFeatureEnabled);
|
|
433
|
-
if (isFeatureEnabled?.("
|
|
433
|
+
if (isFeatureEnabled?.("EnableAMLRFeaturesV5")) optionalFields = {
|
|
434
434
|
...optionalFields,
|
|
435
435
|
ultimateParentCompany: ["exemptedFromLegalEntityIdentifier"]
|
|
436
436
|
};
|
|
@@ -478,7 +478,7 @@ var formatDataForSummary = (language, commonT, t, datasetUtils, data, rootLeAddr
|
|
|
478
478
|
const summaryData = cloneObject(data) || {};
|
|
479
479
|
const { company, parentCompany, ultimateParentCompany, soleProprietor } = summaryData;
|
|
480
480
|
const rootLeAddressCountry = rootLeAddress?.country;
|
|
481
|
-
const formatLegalEntityIdentifier = (value, isExempt) => (isFeatureEnabled?.("
|
|
481
|
+
const formatLegalEntityIdentifier = (value, isExempt) => (isFeatureEnabled?.("EnableAMLRFeaturesV5") && isExempt ? void 0 : value) || "None";
|
|
482
482
|
if (soleProprietor) {
|
|
483
483
|
soleProprietor.naceCode = soleProprietor.naceCodeLabel;
|
|
484
484
|
soleProprietor.countryOfBirth = soleProprietor.countryOfBirth ? datasetUtils.getCountryName(soleProprietor.countryOfBirth) ?? void 0 : void 0;
|
|
@@ -706,7 +706,7 @@ function BusinessFinancingBusinessInformation(props) {
|
|
|
706
706
|
readonly: false,
|
|
707
707
|
label: businessFinancingT(($) => $["industryAndNaceCode"])
|
|
708
708
|
}),
|
|
709
|
-
!isSoleProprietor && (isFeatureEnabled("
|
|
709
|
+
!isSoleProprietor && (isFeatureEnabled("EnableAMLRFeaturesV5") ? /* @__PURE__ */ jsx(LegalEntityIdentifierField, {
|
|
710
710
|
data: formUtils.getFieldData(data ?? {}, LEGAL_ENTITY_IDENTIFIER_FIELD),
|
|
711
711
|
valid: formUtils.getFieldValid(valid ?? {}, LEGAL_ENTITY_IDENTIFIER_FIELD),
|
|
712
712
|
errors: formUtils.getFieldErrors(errors ?? {}, fieldValidationErrors, LEGAL_ENTITY_IDENTIFIER_FIELD),
|