@adyen/kyc-components 4.25.0 → 4.26.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-DKuivE0m.js → 4-people-CAxQpi_3.js} +2 -2
- package/dist/{AcceptTermsOfServiceWorkflow-BKWCrZdZ.js → AcceptTermsOfServiceWorkflow-eOcHITwQ.js} +4 -4
- package/dist/{Accordion-D_DOaWj2.js → Accordion-BAdwrgCR.js} +4 -24
- package/dist/{AccountSetupRejected-BtcxtVKO.js → AccountSetupRejected-Jii0yaLC.js} +3 -4
- package/dist/{NodeRenderer-Z10yF5MV.js → AdaptiveWorkflow-B6SIOcbU.js} +87 -34
- package/dist/{AdaptiveWorkflowComponent-C4Q6NVtv.js → AdaptiveWorkflowComponent-we5_UgiI.js} +32 -33
- package/dist/{AddressFields-CFG2_P0x.js → AddressFields-Qq_8lUYz.js} +21 -27
- package/dist/{Avatar-k5lNd5KG.js → Avatar-C2zeqSSB.js} +10 -8
- package/dist/{BusinessFinancingDropin-BjTnxk__.js → BusinessFinancingDropin-gMa--znJ.js} +61 -71
- package/dist/{BusinessFinancingPage-C4dAslMp.js → BusinessFinancingPage-BIdRvI7h.js} +7 -7
- package/dist/{BusinessRegistrationNumberField-Dz1uGvRQ.js → BusinessRegistrationNumberField-Vr3KBWJD.js} +7 -8
- package/dist/{BusinessRegistrationNumberFieldGroup-BFPrFa1_.js → BusinessRegistrationNumberFieldGroup-DLGAFcRN.js} +7 -8
- package/dist/{BusinessTypeSelectionPage-DeWD37jR.js → BusinessTypeSelectionPage-9B2SxGcV.js} +16 -17
- package/dist/{Button-BxdC8cVB.js → Button-Dwr6jvJZ.js} +2 -2
- package/dist/Checkbox-zAGhz7rC.js +114 -0
- package/dist/{ComponentGroup-S6c3rVoX.js → ComponentGroup-DH_CH6bM.js} +4 -4
- package/dist/{ConstitutionalDocument-CNNhKkzD.js → ConstitutionalDocument-DMNlJJzp.js} +25 -28
- package/dist/{ContactDetails-_HCOKj3-.js → ContactDetails-kwe-LwUD.js} +8 -13
- package/dist/{ContextGuidance-v-d9RQuo.js → ContextGuidance-1tQjHxTm.js} +3 -3
- package/dist/CountryField-BkNURmjP.js +56 -0
- package/dist/{Currency-3Z9i_AhY.js → Currency-BjBbhCzV.js} +10 -12
- package/dist/{CustomerSupport-B0UJHtAq.js → CustomerSupport-CT4s3fyC.js} +17 -17
- package/dist/DateField-CJeu0KoS.js +73 -0
- package/dist/{DebugModal-DgbagO5Z.js → DebugModal-YjFFNeOM.js} +12 -17
- package/dist/{DecisionMakerDetails-RF9BoMYF.js → DecisionMakerDetails-B4aCl2kl.js} +21 -24
- package/dist/{DecisionMakerDetailsPage-CGOs2Ubt.js → DecisionMakerDetailsPage-Dg_RbdxY.js} +43 -40
- package/dist/{DecisionMakers-qRoXooYA.js → DecisionMakers-Cq3yVb54.js} +55 -61
- package/dist/{DetailViewLayout-DNCGEd7b.js → DetailViewLayout-DJgAzdlZ.js} +8 -6
- package/dist/{Dropzone-cewfCgXt.js → Dropzone-Cgqct7ux.js} +8 -8
- package/dist/EmailField-CVwmsS5d.js +61 -0
- package/dist/{EmbeddedStatus-Keg7UojY.js → EmbeddedStatus-4YjyzkcD.js} +4 -4
- package/dist/{EndStateLayout-GHEYl82p.js → EndStateLayout-C5Pqler-.js} +3 -3
- package/dist/{EntityAssociation-BPtrqdQR.js → EntityAssociation-DzNk5XbC.js} +7 -7
- package/dist/{ErrorPanel-PefRq1M4.js → ErrorPanel-DtbpEeJk.js} +24 -19
- package/dist/{GlobalEntryModal-CTGSdkW7.js → GlobalEntryModal-D9rqts-z.js} +203 -78
- package/dist/{GlobalEntryPage-CdGXV-QZ.js → GlobalEntryPage-OTglAvMX.js} +10 -10
- package/dist/Icon-_YUEZg1p.js +175 -0
- package/dist/{IdentityNumber-Cz6-4YcM.js → IdentityNumber-9SwAYweE.js} +10 -12
- package/dist/{IdentityNumberFieldGroup-D2PV_4A5.js → IdentityNumberFieldGroup-B9SxTHei.js} +16 -14
- package/dist/{IdentityScreeningWorkflow-mbcaIctn.js → IdentityScreeningWorkflow-C-nLWlJS.js} +16 -16
- package/dist/{Image-Bn_Yyuof.js → Image-CxnjHtP1.js} +1 -1
- package/dist/{IndividualDropin-D1UOavsw.js → IndividualDropin-BpFRq3S4.js} +266 -281
- package/dist/{IndustryCodeFieldGroup-DmOqxPIg.js → IndustryCodeFieldGroup-CEWUFYmK.js} +9 -10
- package/dist/{InputDate-B0RNGCq2.js → InputDate-DjUm9FiK.js} +6 -29
- package/dist/InputDate.utils-D4Ov0KIl.js +25 -0
- package/dist/{InputGroup-B4U3QVEp.js → InputGroup-Bv005B22.js} +7 -6
- package/dist/{InputText-CwPK55J0.js → InputText-DtoBABE5.js} +42 -4
- package/dist/{Introduction-DFW6EaLG.js → Introduction-GW5FJSTJ.js} +9 -9
- package/dist/{InvitedDecisionMakerComponent-hdQc0T7D.js → InvitedDecisionMakerComponent-tahktJVa.js} +45 -45
- package/dist/{JpAddressFields-CzGnXBMk.js → JpAddressFields-CpRh_gFz.js} +13 -13
- package/dist/{LegalCompanyNameField-CV2EgRCw.js → LegalCompanyNameField-Coff77lN.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BiAfoErR.js → LegalRepresentativeDetailsPage-CXMGtJvO.js} +35 -34
- package/dist/{Link-C3dYYTm_.js → Link-D0Yqc2r0.js} +7 -6
- package/dist/{List-ywoRPg-q.js → List-qvNxW9lm.js} +3 -2
- package/dist/{ListItem-CHGVbHhB.js → ListItem-DY-qq1lS.js} +29 -4
- package/dist/{Loader-BVtlpTeo.js → Loader-BDaKGf77.js} +1 -1
- package/dist/{Modal-Dq44ZUNN.js → Modal-Dx_NESnV.js} +25 -5
- package/dist/{Name-BfQr3et_.js → Name-CrLaukRh.js} +5 -5
- package/dist/NumberField-CS93IGoS.js +60 -0
- package/dist/{PatriotActDisclosure-BNAsJXEL.js → PatriotActDisclosure-C3jKKi6y.js} +11 -12
- package/dist/{PayoutDetailsDropin-NyizAaYy.js → PayoutDetailsDropin-BxOJ9P17.js} +163 -158
- package/dist/{PayoutDetailsPage-NM0Eqf4K.js → PayoutDetailsPage-BxaCk685.js} +10 -9
- package/dist/{Review-CzgmjDcZ.js → Review-C81Qsrkg.js} +25 -24
- package/dist/{RootBusinessDetailsPage-B1a0hu8F.js → RootBusinessDetailsPage-CwRyRbEv.js} +9 -7
- package/dist/{RootBusinessLinesPage-Dv1uT7OS.js → RootBusinessLinesPage-C3GZQ-KO.js} +48 -53
- package/dist/{RootIndividualDetailsPage-vkjzmyF7.js → RootIndividualDetailsPage-CvVVlkJI.js} +42 -39
- package/dist/{Select-prMx73V9.js → Select-AiAom5JL.js} +330 -19
- package/dist/{SignPCIComponent-CIkdVNH2.js → SignPCIComponent-Dmr9dDYB.js} +19 -23
- package/dist/{SingpassSelection-B6NONcr4.js → SingpassSelection-BXHvwmgp.js} +7 -7
- package/dist/Skeleton-7xDqhYr-.js +30 -0
- package/dist/{SoleProprietorshipPage-BmNs557C.js → SoleProprietorshipPage-DKL4anrn.js} +7 -7
- package/dist/{SourceOfFundsPage-B5nZ3MjN.js → SourceOfFundsPage-2dxP6dlL.js} +46 -58
- package/dist/{SourceOfFundsWorkflow-IkLZG9JI.js → SourceOfFundsWorkflow-Didn1fld.js} +4 -4
- package/dist/{StackLayout-IUdNMDgW.js → StackLayout-J1ynSX-P.js} +6 -5
- package/dist/{utils-lIizXlcC.js → StateField-BoIVEnaZ.js} +89 -3
- package/dist/{Step-BJh4XZae.js → Step-CiwqdcuY.js} +19 -13
- package/dist/SummarySection-B6A_AT1m.js +60 -0
- package/dist/{Task-yQcY16x1.js → Task-CJDcviJ6.js} +8 -8
- package/dist/{TaskGroup-C9iFHpux.js → TaskGroup-BXkrbyTG.js} +5 -5
- package/dist/{TaskListItem-ChlmCIfF.js → TaskListItem-CQXvVRWG.js} +11 -11
- package/dist/{TaskStepperContextProvider-I7talGDO.js → TaskStepperContextProvider-9wlnwii7.js} +1 -1
- package/dist/{TaskVerificationStatus-Bd5Eftf2.js → TaskVerificationStatus-zoxTZ2mt.js} +3 -3
- package/dist/{TaxInformationFieldGroup-Dq0J9rBU.js → TaxInformationFieldGroup-CnaGMge9.js} +19 -18
- package/dist/{TaxReportingDropin-Cq3gBWtp.js → TaxReportingDropin-F4e4CxiC.js} +22 -26
- package/dist/{TaxReportingWorkflow-flQPRAPy.js → TaxReportingWorkflow-Caa_klQR.js} +4 -4
- package/dist/{TermsOfServiceManagement-BM5K4cpw.js → TermsOfServiceManagement-5x2f0QgC.js} +21 -30
- package/dist/{TextArea-C12oXMzX.js → TextArea-eJQFkYyd.js} +5 -5
- package/dist/TextField-Ca7rT4tr.js +73 -0
- package/dist/{TrustDetailsPage-z7s9FxVC.js → TrustDetailsPage-D3RkKlpJ.js} +59 -67
- package/dist/{TrustMemberCompanyPage-tU2HTiDG.js → TrustMemberCompanyPage-BvBxQg7D.js} +8 -8
- package/dist/{TrustMemberIndividualPage-BLBtnoSq.js → TrustMemberIndividualPage-D4idWK8j.js} +35 -34
- package/dist/{TrustMemberRoleAndTypePage-DIwrtOWr.js → TrustMemberRoleAndTypePage-CyKm_knd.js} +23 -30
- package/dist/{TrustMembersOverview-CowTgfIb.js → TrustMembersOverview-BnP0wZSf.js} +18 -22
- package/dist/{UboTaskItem-CZLDzQil.js → UboTaskItem-Degn5OyC.js} +8 -8
- package/dist/{UnincorporatedPartnershipIndividualPage-BT0j54-O.js → UnincorporatedPartnershipIndividualPage-Bgb4oCRJ.js} +35 -34
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DFOoV0wQ.js → UnincorporatedPartnershipMemberCompanyPage-T6SOH3Mv.js} +8 -8
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-D973uyHj.js → UnincorporatedPartnershipMemberRoleAndTypePage-BVfav_Z_.js} +14 -16
- package/dist/{UnincorporatedPartnershipMembersOverview-5w1BrDMI.js → UnincorporatedPartnershipMembersOverview-DPW48_Lv.js} +11 -14
- package/dist/VerificationErrorAlert-q1SEqBXx.js +68 -0
- package/dist/WebsiteField-CnOU49Hn.js +62 -0
- package/dist/{Workflow-CF-HUIjR.js → Workflow-D298oRt0.js} +9 -9
- package/dist/{accountHolderUtils-CAu4V0ed.js → accountHolderUtils-CLuKAgaj.js} +3 -3
- package/dist/adyen-business-financing.js +8 -9
- package/dist/adyen-individual-configuration.js +36 -36
- package/dist/adyen-individual-status.js +8 -9
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +61 -59
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +6 -7
- package/dist/adyen-transfer-instrument-configuration.js +7 -8
- package/dist/adyen-transfer-instrument-management.js +16 -22
- package/dist/adyen-verification-status.js +7 -9
- package/dist/{arrow-right-D2hul7WG.js → arrow-right-BwP9nNDE.js} +2 -2
- package/dist/bafinUtils-CsDthERR.js +3548 -0
- package/dist/{bag-CRRS1aow.js → bag-Cnk9dcZg.js} +2 -2
- package/dist/{bank-BoirCLLW.js → bank-UssyP-aG.js} +2 -2
- package/dist/bg-BG-C7z9VtPy.js +7 -0
- package/dist/{bin-BOmfqfrr.js → bin--Ft4cPCj.js} +2 -2
- package/dist/{capital-DTjbiurV.js → capital-BbOFhTHY.js} +2 -2
- package/dist/{cash-stack-7KpYpBek.js → cash-stack-LTzc8hQZ.js} +2 -2
- package/dist/{certificate-BPuoJ6Ip.js → certificate-CswNcwlI.js} +2 -2
- package/dist/{checkmark-BiSLf8M1.js → checkmark-DH1abKZn.js} +2 -2
- package/dist/{checkmark-circle-Ams7bSve.js → checkmark-circle-VWM-JsI6.js} +2 -2
- package/dist/{checkmark-circle-fill-_p4ss4ac.js → checkmark-circle-fill-AuW2DQDT.js} +2 -2
- package/dist/{checkmark-small-3bw4ftPV.js → checkmark-small-B6vsnsSO.js} +2 -2
- package/dist/{chevron-down-GgZawvoy.js → chevron-down-BGAMP7CF.js} +2 -2
- package/dist/{chevron-left-TeZTTvo5.js → chevron-left-EjFIt8Cd.js} +2 -2
- package/dist/{chevron-right-Cg8XlTxx.js → chevron-right-B5zb9mkt.js} +2 -2
- package/dist/{chevron-up-COQUTli0.js → chevron-up-DZiittpJ.js} +2 -2
- package/dist/{circle-CypWzg83.js → circle-CygvxRY_.js} +2 -2
- package/dist/{circle-small-filled-DfdK2A35.js → circle-small-filled-PeElhgJU.js} +2 -2
- package/dist/{clock-DmfGJ2r9.js → clock-CQXEE5jK.js} +2 -2
- package/dist/{coins-CBvbB8_X.js → coins-C7syygUR.js} +2 -2
- package/dist/{constants-DAb_IqC6.js → constants-Dvga6KjU.js} +7 -8
- package/dist/{contract-D1_RJ_xh.js → contract-BWEAd7e-.js} +2 -2
- package/dist/{countries-BGMTpyJv.js → countries-ZMuvRtQR.js} +1 -1
- package/dist/{country-BEZkohEO.js → country-WYlusjTL.js} +2 -2
- package/dist/{cross-circle-fill-CUXdo1x-.js → cross-circle-fill-Bxj_fgQE.js} +2 -2
- package/dist/cross-circle-fill-small-DwUKcL9P.js +20 -0
- package/dist/{cross-BORHADVQ.js → cross-vK6qh9R0.js} +2 -2
- package/dist/cs-CZ-B_u3kWRS.js +7 -0
- package/dist/da-DK-s_nCUhFO.js +7 -0
- package/dist/de-DE-5lHcZmT6.js +7 -0
- package/dist/{decisionMakerRoles-JEb0ON4e.js → decisionMakerRoles-DA8MK9Dh.js} +2 -2
- package/dist/{document-1-qvV57JdS.js → document-1-BPWF8zKf.js} +2 -2
- package/dist/{document-person-DiJ7M8-D.js → document-person-DVRFNq7g.js} +2 -2
- package/dist/{documentUtils-CxjFpoJB.js → documentUtils-6K3LdjjN.js} +6 -4
- package/dist/{download-Ca4w0Yfr.js → download-DfdpoHdN.js} +2 -2
- package/dist/dropinUtils-CSlRmPSn.js +2572 -0
- package/dist/{edit-1-D8VhDchs.js → edit-1-BgVB06zI.js} +2 -2
- package/dist/el-GR-DTaQeK-A.js +7 -0
- package/dist/{entityAssociationUtil-CY0grcyH.js → entityAssociationUtil-BlfcBl3i.js} +1 -1
- package/dist/{error-DrzrPjvf.js → error-DjErFfKK.js} +3 -3
- package/dist/es-ES-tZMJvO6B.js +7 -0
- package/dist/es-LA-C0x1nQUQ.js +7 -0
- package/dist/et-EE-BqB-3lW_.js +7 -0
- package/dist/{external-link-Dy4le-8Q.js → external-link-BbXGAtFE.js} +2 -2
- package/dist/fi-FI-BpwWFhLW.js +7 -0
- package/dist/{form-rules-DhuNdiqF.js → form-rules-HzaYJh36.js} +90 -5
- package/dist/{formatValidationError-z2D5oU1e.js → formatValidationError-D3vBdIym.js} +2 -2
- package/dist/fr-FR-DMPXwPYV.js +7 -0
- package/dist/{getDefaultRegistrationNumberType-BNO2BcfK.js → getDefaultRegistrationNumberType-CiEvyeR9.js} +5 -7
- package/dist/{useAssociatedLegalEntity-BdcoiUby.js → getFormSlice-CxtXJ0-P.js} +23 -5
- package/dist/{getName-DgxRqagk.js → getName-Cii7OyRd.js} +2 -2
- package/dist/{getProblemsForEntity-BY_voJ99.js → getProblemsForEntity-mdb3Bfpj.js} +3 -3
- package/dist/{getTrustedDecisionMakers-Ta-pURcL.js → getTrustedDecisionMakers-D89oYOLp.js} +2 -2
- package/dist/getValidationError-DvQgc-X3.js +19 -0
- package/dist/{gift-Bs_mAgul.js → gift-BjS6ErNG.js} +2 -2
- package/dist/{graph-Co0JhGiY.js → graph-B8rX9eXr.js} +2 -2
- package/dist/{graph-up-DIvH9haf.js → graph-up-Dwaq7upe.js} +2 -2
- package/dist/{headquarter-BESfDGKh.js → headquarter-CXwws_UP.js} +2 -2
- package/dist/{hotel-Vne7G5M6.js → hotel-CD5Lv9P7.js} +2 -2
- package/dist/hr-HR-D5kV_w60.js +7 -0
- package/dist/{http-DsJtugN1.js → http-C8rt2BZk.js} +5 -4
- package/dist/hu-HU-Bl1dnZfO.js +7 -0
- package/dist/{image-BQM21XCk.js → image-BTE2a8ZV.js} +2 -2
- package/dist/{info-DExoPRH5.js → info-BTc0bCCM.js} +2 -2
- package/dist/{info-filled-11KMeUso.js → info-filled-DhYinieW.js} +2 -2
- package/dist/it-IT-DiuPLWbr.js +7 -0
- package/dist/ja-JP-COBWjdXk.js +7 -0
- package/dist/{legalArrangementUtils-C68JdH6I.js → legalArrangementUtils-Crgt_L7h.js} +1 -1
- package/dist/{location-zRH5zJ8c.js → location-CwE3Q0gg.js} +2 -2
- package/dist/lt-LT-D9Pum2_8.js +7 -0
- package/dist/lv-LV-DDcLP43G.js +7 -0
- package/dist/{mail-i1-zg-cv.js → mail-CIeugZTd.js} +2 -2
- package/dist/{mapAddressLocalizationToJpAddressSchema-DpOIaxj6.js → mapAddressLocalizationToJpAddressSchema-BLOAhwWM.js} +2 -2
- package/dist/{mapExistingFile-RrS8dCpX.js → mapExistingFile-BXfeQxev.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-wwD6Rp3Q.js → mapJpAddressSchemaToAddressLocalizations-cseKFm-l.js} +16 -15
- package/dist/{mapLegalEntityToIndividualSchema-DtT3pcZJ.js → mapLegalEntityToIndividualSchema-DvGFy20Z.js} +12 -13
- package/dist/{mapTransferInstrumentToPayoutAccount-BpXU-nP1.js → mapTransferInstrumentToPayoutAccount-Cq7PMPOa.js} +4 -4
- package/dist/{minus-circle-filled-CxUdRO8J.js → minus-circle-filled-96DZCdcJ.js} +2 -2
- package/dist/nl-NL-CBRRvqAY.js +7 -0
- package/dist/no-NO-C9lYR_fQ.js +7 -0
- package/dist/{options-horizontal-D86T_xAF.js → options-horizontal-BU9r-Xx3.js} +2 -2
- package/dist/{partner-Dje0ykF6.js → partner-C1SWc0pB.js} +2 -2
- package/dist/{pay-by-link-plane-DAiddPu6.js → pay-by-link-plane-xK4Zkol0.js} +2 -2
- package/dist/{payout-DKiGv3F9.js → payout-zGf0LNbo.js} +2 -2
- package/dist/{pdf-CC8vqpTo.js → pdf-Bbs3Ji9v.js} +157 -174
- package/dist/{pdf.worker.min-CdKJICZZ.js → pdf.worker.min-DTQpK-0h.js} +67 -58
- package/dist/{person-DgALGIIz.js → person-xTKhpEGR.js} +2 -2
- package/dist/pl-PL-CZST_1gV.js +7 -0
- package/dist/{plus-DlQKP2C9.js → plus-Cm_dWRpB.js} +2 -2
- package/dist/{plus-circle-filled-BntUOVIJ.js → plus-circle-filled-Df77eidx.js} +2 -2
- package/dist/{processCapabilities-CWE5UFt8.js → processCapabilities-FL4-KAbd.js} +7 -9
- package/dist/{processValidationErrors-CFU1x_1n.js → processValidationErrors-Cn-RYAun.js} +4 -4
- package/dist/pt-BR-C32QroLH.js +7 -0
- package/dist/pt-PT-ByfmK1XA.js +7 -0
- package/dist/{recurring-DZgT_ekJ.js → recurring-BfwVHJ2Z.js} +2 -2
- package/dist/resolveEnvironment-D8-1H8bU.js +2516 -0
- package/dist/{revenue-accelerate-aMLYFVW6.js → revenue-accelerate-ClN0cx7Z.js} +2 -2
- package/dist/ro-RO-YkglLwfY.js +7 -0
- package/dist/{save-uDNye08N.js → save-QK2A-teG.js} +2 -2
- package/dist/{search-0OS6oe8N.js → search-DVSyT7Q7.js} +2 -2
- package/dist/{uppercase-DvjwUM0n.js → sharedValidators-DODW7kuK.js} +5 -3
- package/dist/{show-BWoS9-Y1.js → show-BRWLIRSA.js} +2 -2
- package/dist/sk-SK-BYRIVzdY.js +7 -0
- package/dist/sl-SI-Cjub_bfF.js +7 -0
- package/dist/{solution-payments-BMal7uJZ.js → solution-payments-BZZceFVV.js} +2 -2
- package/dist/{store-N7ZA4FKy.js → store-DLKKLXhn.js} +2 -2
- package/dist/style.css +1418 -1157
- package/dist/styles-DYaAeu4q.js +1418 -1157
- package/dist/sv-SE-1re-9Lp8.js +7 -0
- package/dist/{terminal-1-0RlQpbUC.js → terminal-1-CpAyEdjO.js} +2 -2
- package/dist/{translation-DbATp_35.js → translation-CpH8D2NK.js} +34 -30
- package/dist/types/adaptiveWorkflow/component-registry.d.ts +19 -2
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/NodeRenderer.d.ts +7 -0
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/SimpleFieldRenderer.d.ts +2 -2
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/CountryField/CountryField.d.ts +4 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/CountryField/contextMap.d.ts +10 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/DateField/DateField.d.ts +4 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/DateField/contextMap.d.ts +9 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/DateField/validators.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/EmailField/EmailField.d.ts +4 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/EmailField/contextMap.d.ts +10 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/EmailField/validators.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/NumberField/NumberField.d.ts +4 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/NumberField/contextMap.d.ts +9 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/NumberField/validators.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/TextField/TextField.d.ts +4 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/TextField/contextMap.d.ts +10 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/TextField/validators.d.ts +4 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/WebsiteField/WebsiteField.d.ts +4 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/WebsiteField/contextMap.d.ts +10 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/WebsiteField/validators.d.ts +3 -0
- package/dist/types/adaptiveWorkflow/utils/validators/getValidationError.d.ts +7 -0
- package/dist/types/adaptiveWorkflow/utils/validators/sharedValidators.d.ts +3 -0
- package/dist/types/adaptiveWorkflow/utils/validators/types.d.ts +6 -0
- package/dist/types/api/adaptive/useAdaptiveWorkflow.d.ts +1 -1
- package/dist/types/api/address/useAddressCleanse.d.ts +2 -2
- package/dist/types/api/address/useRetrieveAddress.d.ts +2 -2
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +2 -2
- package/dist/types/api/address/useSearchAddress.d.ts +2 -2
- package/dist/types/api/businessLines/useBusinessLines.d.ts +1 -1
- package/dist/types/api/companySearch/useCompanySearch.d.ts +6 -293
- package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
- package/dist/types/api/configurations/useTaskTypes.d.ts +1 -1
- package/dist/types/api/configurations/useVersionConfiguration.d.ts +2 -2
- package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
- package/dist/types/api/datasets/useNaceCodes.d.ts +1 -1
- package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +1 -1
- package/dist/types/api/documents/useDocument.d.ts +1 -1
- package/dist/types/api/documents/useDocuments.d.ts +2 -2
- package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +3 -3
- package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +2 -2
- package/dist/types/api/industryCodes/useIndustryCodes.d.ts +1 -1
- package/dist/types/api/invitations/useInvitationStatus.d.ts +1 -1
- package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +2 -2
- package/dist/types/api/invitedEntity/useInvitedEntityRootCapabilities.d.ts +2 -2
- package/dist/types/api/invitedEntity/useInvitedEntityVerificationErrors.d.ts +2 -2
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +9 -9
- package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
- package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -1
- package/dist/types/api/pci/usePciQuestionnaireList.d.ts +2 -2
- package/dist/types/api/pci/usePciStatus.d.ts +2 -2
- package/dist/types/api/pci/usePciTemplate.d.ts +2 -2
- package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +1 -1
- package/dist/types/api/taskStatus/useTaskStatus.d.ts +2 -2
- package/dist/types/api/taskStatus/useTaskStatuses.d.ts +2 -2
- package/dist/types/api/taxClassification/useTaxClassification.d.ts +2 -2
- package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +2 -2
- package/dist/types/api/termsOfService/useTermsOfService.d.ts +2 -2
- package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
- package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +2 -2
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +5 -245
- package/dist/types/api/toggles/useToggles.d.ts +1 -1
- package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -1
- package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -1
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -2
- package/dist/types/api/validation/useValidatePhoneNumber.d.ts +2 -2
- package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +3 -2
- package/dist/types/components/BankAccount/mapping/mapPayoutDetailsToTransferInstrument.d.ts +3 -2
- package/dist/types/components/Business/forms/rules.d.ts +3 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSummary.d.ts +3 -2
- package/dist/types/components/GlobalEntry/hooks/usePrefetchCompanySearch.d.ts +11 -0
- package/dist/types/components/GlobalEntry/rules.d.ts +1 -1
- package/dist/types/components/GlobalEntry/utils/submitGlobalEntry.d.ts +3 -1
- package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +3 -1
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +4 -2
- package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +7 -6
- package/dist/types/components/Shared/SummarySection/SummarySection.d.ts +12 -4
- package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +2 -2
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +11 -1
- package/dist/types/components/ui/atoms/Typography/Typography.types.d.ts +1 -1
- package/dist/types/context/SettingsContext/types.d.ts +8 -0
- package/dist/types/context/ToggleContext/types.d.ts +3 -13
- package/dist/types/utils/japanSupportUtils.d.ts +2 -2
- package/dist/types/utils/validatorUtils.d.ts +2 -0
- package/dist/{types-D6p5FQF-.js → types-BymnGWO9.js} +1 -1
- package/dist/{types-B9zXzag-.js → types-qahGXhtr.js} +1 -1
- package/dist/{upload-C5NC1E4N.js → upload-BI7LKlDm.js} +2 -2
- package/dist/{useAdaptiveWorkflow-DsQESk9f.js → useAdaptiveWorkflow-B35cXauP.js} +1 -1
- package/dist/{useBusinessDetailsData-dsYTeDom.js → useBusinessDetailsData-BEM6OCqH.js} +132 -150
- package/dist/{useBusinessLines-BhSN6qCH.js → useBusinessLines-0FcuDMzo.js} +1 -1
- package/dist/{useCanSeeIntroduction-BLGY7sE-.js → useCanSeeIntroduction-B6BDOCm_.js} +5 -5
- package/dist/{useDataMissingRemediations-ttUrk09_.js → useDataMissingRemediations-DKjYzfe2.js} +3 -3
- package/dist/{useForm-BFeaSvlP.js → useForm-fYu8sJ-i.js} +6 -6
- package/dist/{useHideTaskStepper-C_w6iUY-.js → useHideTaskStepper-BgCN--mG.js} +1 -1
- package/dist/{invalidateRootLegalEntity-B97dCa-s.js → useId-CEUET5IS.js} +32 -4
- package/dist/{useIndustryCodes-uAj90IyS.js → useIndustryCodes-La1cU8oH.js} +1 -1
- package/dist/{useLegalEntity-QQXN6YOm.js → useLegalEntity-CxeMoCm4.js} +4 -3
- package/dist/{useNavigate-J0sRAAoI.js → useNavigate-B1z7McBl.js} +33 -33
- package/dist/{useOnboardingStatus-CsGUjkm-.js → useOnboardingStatus-CX8IrDe_.js} +1 -1
- package/dist/{usePciQuestionnaireList-CFNJD8pS.js → usePciQuestionnaireList-CB_tjNsz.js} +1 -1
- package/dist/{useSalesChannels-huIL6Dhk.js → useSalesChannels-DJAmDo-r.js} +5 -5
- package/dist/{useScenarios-DV2TeNvN.js → useScenarios-DfE71fl7.js} +7 -6
- package/dist/{useSettingsContext-9O3Aqpfq.js → useSettingsContext-Bpf4UqRT.js} +6 -3
- package/dist/{useTaskLandedEvent-DwZHcMEQ.js → useTaskLandedEvent-BtuFBe20.js} +2 -2
- package/dist/{useTaskStatus-CgrhdaE_.js → useTaskStatus-4nAPf_uD.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DbJDklA2.js → useTermsOfServiceStatus-FDpSDjco.js} +1 -1
- package/dist/{useTrustMembers-uhgi2qfN.js → useTrustMembers-D3sCwcaT.js} +9 -8
- package/dist/{useUnincorporatedPartnershipMembers-DVEWj1is.js → useUnincorporatedPartnershipMembers-DcfQJdVZ.js} +5 -5
- package/dist/{useUpdateBusinessLines-DCKYTzxd.js → useUpdateBusinessLines-B-pF2YT-.js} +1 -1
- package/dist/{utils-SKYT7xU4.js → utils-BFxg3gPM.js} +2 -2
- package/dist/{utils-D8pwjFm5.js → utils-CcBgYW2P.js} +5 -6
- package/dist/utils-Oc-YLiM0.js +214 -0
- package/dist/{validate-BBVJuFm5.js → validate-1rlz-OH4.js} +15 -17
- package/dist/{validate-Bkpa-y5Q.js → validate-B2P8hpA5.js} +7 -7
- package/dist/{validate-t6pT7AaZ.js → validate-S1Bm0XnT.js} +3 -3
- package/dist/{validate-Dmdw3pYn.js → validate-x5CYfY5E.js} +2 -2
- package/dist/{validateExtractionResult-qkFkcrwl.js → validateExtractionResult-IRRMwcNi.js} +5 -7
- package/dist/{warning-circle-fill-C2lMYPJW.js → warning-circle-fill-ClFvGo5m.js} +2 -2
- package/dist/{warning-diamond-filled-CQ2DdW5g.js → warning-diamond-filled-CWyKR65i.js} +2 -2
- package/dist/{webinar-BpZWqd-g.js → webinar-DWX7Z5Wz.js} +2 -2
- package/package.json +36 -36
- package/dist/AdaptiveWorkflow-2EE8iiMD.js +0 -33
- package/dist/Alert-BqbbDRYR.js +0 -172
- package/dist/AnalyticsContext-CpimDlw4.js +0 -21
- package/dist/Checkbox-qfdF12cF.js +0 -60
- package/dist/Confirm-DjFpxSzC.js +0 -77
- package/dist/CountryField-CMOB4yz4.js +0 -38
- package/dist/DataConflictsModal-8Nnj7_UD.js +0 -238
- package/dist/Field-Df7ajJE2.js +0 -154
- package/dist/FormFlow.module-DqMxjYHl.js +0 -20
- package/dist/Header-DvifUz7-.js +0 -93
- package/dist/Icon-DFQgr7dy.js +0 -175
- package/dist/LandingLayout-BsIoIFzs.js +0 -76
- package/dist/LegalName-BYQ12uWc.js +0 -33
- package/dist/LoaderWrapper-Dc88hY-P.js +0 -34
- package/dist/MaskedInput-CkDwzLxe.js +0 -719
- package/dist/MaybeModal-Dfm1rIUG.js +0 -24
- package/dist/NewSummary-DYLlnpwx.js +0 -73
- package/dist/ProgressBar-DWFxLMUA.js +0 -38
- package/dist/RadioGroup-CY33MT83.js +0 -47
- package/dist/RadioWithLabel-BmUFWDxq.js +0 -45
- package/dist/SettingsContext-Dl-9WWCI.js +0 -9
- package/dist/StateContext-B2_Pqd_y.js +0 -9
- package/dist/StateField-BiNI3dm9.js +0 -55
- package/dist/StructuredList-BHUmeWeh.js +0 -56
- package/dist/Summary-BTDbRMfh.js +0 -235
- package/dist/TaxInformationField--Uhp0zLv.js +0 -242
- package/dist/TileGroup-BFcSgQ1l.js +0 -172
- package/dist/ToastContext-B_wd2IY2.js +0 -13
- package/dist/ToastContextProvider-BSQ1Upl_.js +0 -103
- package/dist/VerificationErrorAlert-B6HmAZ0g.js +0 -38
- package/dist/_rolldown_dynamic_import_helper-sGNwd-kR.js +0 -14
- package/dist/bafinUtils-RXELXyTR.js +0 -96
- package/dist/bg-BG-DfbtcqF4.js +0 -7
- package/dist/birthDateUtils-D6uk7zwm.js +0 -84
- package/dist/businessRegistrationNumberPatterns-pbrCVTTp.js +0 -982
- package/dist/cross-circle-fill-small-DdoPZZeo.js +0 -20
- package/dist/cs-CZ-CajuRLo4.js +0 -7
- package/dist/da-DK-BEwmSejn.js +0 -7
- package/dist/datasetUtil-BdHPWsxZ.js +0 -45
- package/dist/de-DE-PyK3jl-6.js +0 -7
- package/dist/debouncedInputEvent-Fwwp_K_-.js +0 -54
- package/dist/debugStore-Dwn1FXrh.js +0 -9
- package/dist/dropinUtils-OsMsnnYG.js +0 -496
- package/dist/el-GR-KPFghikv.js +0 -7
- package/dist/es-ES-z4jLCvkJ.js +0 -7
- package/dist/es-LA-Dx4QymCh.js +0 -7
- package/dist/et-EE-1EhDxtTe.js +0 -7
- package/dist/fi-FI-Dc2RMc_u.js +0 -7
- package/dist/fieldConfigurations-CZCFghnK.js +0 -11
- package/dist/formFieldsUtils-CnDkgahc.js +0 -7
- package/dist/formUtils-BHgG8yQZ.js +0 -52
- package/dist/formUtils-DAKrWwgL.js +0 -84
- package/dist/fr-FR-DswL4wQ1.js +0 -7
- package/dist/getFormSlice-C1ma6Xd4.js +0 -21
- package/dist/getTrustedFields-BJ88GlM-.js +0 -28
- package/dist/globalStore--_np-9ON.js +0 -418
- package/dist/hr-HR-DI2D_V50.js +0 -7
- package/dist/hu-HU-lyRcZjGI.js +0 -7
- package/dist/isEmpty-Uewyl-r6.js +0 -14
- package/dist/isEmptyEntity-3OHnhXqG.js +0 -43
- package/dist/it-IT-Bn4CEcmI.js +0 -7
- package/dist/ja-JP-CAX_xwUx.js +0 -7
- package/dist/keys-Ce8YnRP2.js +0 -20
- package/dist/listToRecord-DumSkYDz.js +0 -10
- package/dist/lt-LT-BdgYuJW7.js +0 -7
- package/dist/lv-LV-Bz5c0Psg.js +0 -7
- package/dist/mapScriptLocalization-BCfkZo1y.js +0 -46
- package/dist/nl-NL-BE2cQh0x.js +0 -7
- package/dist/no-NO-vgzpp44v.js +0 -7
- package/dist/patternValidators-DsrZkuOO.js +0 -73
- package/dist/pl-PL-DgDSRVmp.js +0 -7
- package/dist/pt-BR-BaKp-J8F.js +0 -7
- package/dist/pt-PT-Df48oeP5.js +0 -7
- package/dist/resolveEnvironment-CLI-fiSo.js +0 -999
- package/dist/ro-RO-CTMsv_EY.js +0 -7
- package/dist/roleMetadata-CbgaYaH8.js +0 -56
- package/dist/sk-SK-oqO5I3Aw.js +0 -7
- package/dist/sl-SI-CQhJFnpj.js +0 -7
- package/dist/summaryItem-uDWmtYtt.js +0 -16
- package/dist/sv-SE-CmevESLi.js +0 -7
- package/dist/toFullWidth-Dgy4X4i8.js +0 -52
- package/dist/trustUtil-BG17fZ56.js +0 -98
- package/dist/types/adaptiveWorkflow/components/Fields/LegalName.d.ts +0 -14
- package/dist/types-B28r2lAW.js +0 -30
- package/dist/types-CZAHRt31.js +0 -147
- package/dist/useAccountHolder-BpIX1iBG.js +0 -102
- package/dist/useAllowedCountries-qyvo-c6A.js +0 -80
- package/dist/useAnalyticsContext-gSnRnYgV.js +0 -12
- package/dist/useCreateLegalEntity-CYZd_62a.js +0 -24
- package/dist/useDataset-K19TDoyR.js +0 -98
- package/dist/useDeleteTransferInstrument-C10xzHiO.js +0 -31
- package/dist/useId-BkDhUta2.js +0 -28
- package/dist/useMultiForm-CM3lpilP.js +0 -790
- package/dist/useToastContext-B6Mqc2HY.js +0 -12
- package/dist/useToggleContext-B_YexrbT.js +0 -21
- package/dist/useUpdateLegalEntity-B7LRg8m0.js +0 -29
- package/dist/utils-BLBh0VEd.js +0 -1755
- package/dist/utils-CYUYe54m.js +0 -24
- package/dist/utils-DdHbAadK.js +0 -80
- package/dist/validationError-DUn2rT0n.js +0 -55
- package/dist/validationResult-bjYBDjbU.js +0 -29
- package/dist/validatorUtils-D2O6AAZn.js +0 -106
- /package/dist/{pt-BR-CPbFPNwq2.js → pt-BR-CPbFPNwq.js} +0 -0
|
@@ -1,61 +1,47 @@
|
|
|
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] = "a1c4af20-0d52-4e8d-958f-4f007b90d273", e._sentryDebugIdIdentifier = "sentry-dbid-a1c4af20-0d52-4e8d-958f-4f007b90d273");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as addResourceBundles, r as useTranslation } from "./translation-
|
|
5
|
+
import { n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, k as Header, x as Alert } from "./resolveEnvironment-D8-1H8bU.js";
|
|
6
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
|
-
import { t as Icon } from "./Icon-
|
|
8
|
+
import { t as Icon } from "./Icon-_YUEZg1p.js";
|
|
8
9
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
|
-
import { t as Loader } from "./Loader-
|
|
10
|
-
import { n as IconButton, t as Button } from "./Button-
|
|
11
|
-
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-
|
|
12
|
-
import { n as useLegalEntities, r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
10
|
+
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
11
|
+
import { n as IconButton, t as Button } from "./Button-Dwr6jvJZ.js";
|
|
12
|
+
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
13
|
+
import { n as useLegalEntities, r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
|
|
13
14
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
14
15
|
import { a as objectsDeepEqual } from "./genUtils-nphCwt1A.js";
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
16
|
+
import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
17
17
|
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
18
|
-
import { t as Header } from "./Header-DvifUz7-.js";
|
|
19
|
-
import { t as Alert } from "./Alert-BqbbDRYR.js";
|
|
20
18
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
19
|
+
import { t as Checkbox } from "./Checkbox-zAGhz7rC.js";
|
|
20
|
+
import { i as useAnalyticsContext, t as Modal } from "./Modal-Dx_NESnV.js";
|
|
21
|
+
import { t as InputText } from "./InputText-DtoBABE5.js";
|
|
22
|
+
import { t as useBusinessLines } from "./useBusinessLines-0FcuDMzo.js";
|
|
23
23
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
27
|
-
import { t as
|
|
28
|
-
import { t as
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import { t as
|
|
32
|
-
import { t as
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import { t as
|
|
36
|
-
import { t as
|
|
37
|
-
import { t as createFormUtils } from "./formUtils-DAKrWwgL.js";
|
|
38
|
-
import { t as useMultiForm } from "./useMultiForm-CM3lpilP.js";
|
|
39
|
-
import { t as isEmpty } from "./isEmpty-Uewyl-r6.js";
|
|
40
|
-
import { t as Field } from "./Field-Df7ajJE2.js";
|
|
41
|
-
import { t as getValidationErrorDisplayMessages } from "./validationError-DUn2rT0n.js";
|
|
42
|
-
import { t as TileGroup } from "./TileGroup-BFcSgQ1l.js";
|
|
43
|
-
import { t as Select } from "./Select-prMx73V9.js";
|
|
44
|
-
import { t as Checkbox } from "./Checkbox-qfdF12cF.js";
|
|
45
|
-
import { n as CountryField } from "./CountryField-CMOB4yz4.js";
|
|
46
|
-
import { t as InputText } from "./InputText-CwPK55J0.js";
|
|
47
|
-
import { t as RadioGroup } from "./RadioGroup-CY33MT83.js";
|
|
48
|
-
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
49
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DwZHcMEQ.js";
|
|
50
|
-
import { n as documentApiUtils, t as createDocumentRequest } from "./documentUtils-CxjFpoJB.js";
|
|
24
|
+
import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-CEUET5IS.js";
|
|
25
|
+
import { s as LandingLayout } from "./form-rules-HzaYJh36.js";
|
|
26
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-mdb3Bfpj.js";
|
|
27
|
+
import { t as Avatar } from "./Avatar-C2zeqSSB.js";
|
|
28
|
+
import { r as Field, t as Select } from "./Select-AiAom5JL.js";
|
|
29
|
+
import { o as StructuredList, r as formatObject, s as Confirm } from "./utils-Oc-YLiM0.js";
|
|
30
|
+
import { m as useCreateLegalEntity, p as useUpdateLegalEntity } from "./StateField-BoIVEnaZ.js";
|
|
31
|
+
import { I as useFormComposer, K as createFormUtils, N as useMultiForm, Y as FormContextProvider, _ as FormFlow, g as useFormContext, l as CountryField, n as getRequiredForms, r as RadioGroup, t as addValidityToForms, u as getValidationErrorDisplayMessages } from "./dropinUtils-CSlRmPSn.js";
|
|
32
|
+
import { t as Image } from "./Image-CxnjHtP1.js";
|
|
33
|
+
import { t as ErrorPanel } from "./ErrorPanel-DtbpEeJk.js";
|
|
34
|
+
import { T as TileGroup, U as isEmpty } from "./bafinUtils-CsDthERR.js";
|
|
35
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BtuFBe20.js";
|
|
36
|
+
import { n as documentApiUtils, t as createDocumentRequest } from "./documentUtils-6K3LdjjN.js";
|
|
51
37
|
import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
|
|
52
|
-
import { t as InputDate } from "./InputDate-
|
|
53
|
-
import { t as TextArea } from "./TextArea-
|
|
54
|
-
import { t as Dropzone } from "./Dropzone-
|
|
55
|
-
import { t as InputGroup } from "./InputGroup-
|
|
38
|
+
import { t as InputDate } from "./InputDate-DjUm9FiK.js";
|
|
39
|
+
import { t as TextArea } from "./TextArea-eJQFkYyd.js";
|
|
40
|
+
import { t as Dropzone } from "./Dropzone-Cgqct7ux.js";
|
|
41
|
+
import { t as InputGroup } from "./InputGroup-Bv005B22.js";
|
|
56
42
|
import { t as Currencies } from "./currency-DQwXq9Mc.js";
|
|
57
|
-
import { n as validateDateNotInTheFuture } from "./validate-
|
|
58
|
-
import { t as useTaskStatus } from "./useTaskStatus-
|
|
43
|
+
import { n as validateDateNotInTheFuture } from "./validate-x5CYfY5E.js";
|
|
44
|
+
import { t as useTaskStatus } from "./useTaskStatus-4nAPf_uD.js";
|
|
59
45
|
import { t as formatAmountWithCurrency } from "./formatCurrency-BetgkQKi.js";
|
|
60
46
|
import { lazy } from "preact/compat";
|
|
61
47
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
|
|
@@ -349,13 +335,10 @@ var getGettingStartedCardDetails = (sourceOfFundsType, t, data) => {
|
|
|
349
335
|
details: localizeDateString(data?.dateOfSourceEvent || "", navigator.language)
|
|
350
336
|
});
|
|
351
337
|
break;
|
|
352
|
-
case "website":
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
});
|
|
357
|
-
break;
|
|
358
|
-
default: break;
|
|
338
|
+
case "website": details.push({
|
|
339
|
+
term: t(($) => $["website"]),
|
|
340
|
+
details: data?.website || ""
|
|
341
|
+
});
|
|
359
342
|
}
|
|
360
343
|
});
|
|
361
344
|
return details;
|
|
@@ -1990,8 +1973,10 @@ var SourceOfFundsGettingStarted = ({ handleGettingStartedClick, handleCancelClic
|
|
|
1990
1973
|
}, "docDescription")]
|
|
1991
1974
|
})) : []
|
|
1992
1975
|
};
|
|
1993
|
-
if (completedBusinessLines && (isSoFDocumentMissing || sofDocuments?.length))
|
|
1994
|
-
|
|
1976
|
+
if (completedBusinessLines && (isSoFDocumentMissing || sofDocuments?.length)) {
|
|
1977
|
+
if (uploadCard.meta?.length) cards.push(uploadCard);
|
|
1978
|
+
else cards.unshift(uploadCard);
|
|
1979
|
+
}
|
|
1995
1980
|
return cards.map((item, index) => {
|
|
1996
1981
|
return /* @__PURE__ */ jsx(SourceOfFundsGettingStartedCard, {
|
|
1997
1982
|
id: index,
|
|
@@ -2068,7 +2053,8 @@ var SOFUploadModal = (props) => {
|
|
|
2068
2053
|
const { t: sofT } = useTranslation("sof");
|
|
2069
2054
|
const { t: commonT } = useTranslation("common");
|
|
2070
2055
|
const { businessLines, handleModalClose, documentUtils } = props;
|
|
2071
|
-
const
|
|
2056
|
+
const firstService = businessLines?.length === 1 ? businessLines?.[0]?.service : void 0;
|
|
2057
|
+
const [selectedService, setSelectedService] = useState$1(firstService);
|
|
2072
2058
|
const [documentType, setDocumentType] = useState$1();
|
|
2073
2059
|
const onRadioChange = (selectedId) => {
|
|
2074
2060
|
setSelectedService(selectedId);
|
|
@@ -2420,7 +2406,8 @@ function SourceOfFundsDropin({ country, problems, handleHomeClick, onSubmit, asA
|
|
|
2420
2406
|
});
|
|
2421
2407
|
const { data = activeSourceOfFund, setFormData, setData, requiredFields, isValid, triggerValidation } = form;
|
|
2422
2408
|
const isSoFDocumentMissing = useMemo$1(() => legalEntity?.problems?.some((problem) => problem?.verificationErrors?.some((verificationError) => verificationError?.code === "2_8224")) ?? false, [legalEntity?.problems]);
|
|
2423
|
-
const
|
|
2409
|
+
const idsToFetch = sofBusinessLines?.map((businessLine) => businessLine.sourceOfFunds?.originatorLegalEntityId).filter((id) => Boolean(id)) ?? [];
|
|
2410
|
+
const legalEntityResults = useLegalEntities(idsToFetch, { staleTime: 3e5 });
|
|
2424
2411
|
const areLegalEntitiesLoading = legalEntityResults.some((result) => result.isLoading);
|
|
2425
2412
|
const normalizedBusinessLines = useMemo$1(() => {
|
|
2426
2413
|
if (!sofBusinessLines) return null;
|
|
@@ -2505,7 +2492,8 @@ function SourceOfFundsDropin({ country, problems, handleHomeClick, onSubmit, asA
|
|
|
2505
2492
|
]);
|
|
2506
2493
|
const sourceOfFundsRequiredForms = useMemo$1(() => getSourceOfFundsRequiredForms(data?.sourceOfFundsType), [data?.sourceOfFundsType]);
|
|
2507
2494
|
const forms = useMemo$1(() => {
|
|
2508
|
-
|
|
2495
|
+
const requiredForms = getRequiredForms(sourceOfFundsRequiredForms, requiredFields, void 0, true);
|
|
2496
|
+
return addValidityToForms(requiredForms, isValid, problems);
|
|
2509
2497
|
}, [
|
|
2510
2498
|
sourceOfFundsRequiredForms,
|
|
2511
2499
|
requiredFields,
|
|
@@ -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] = "30d4779b-0e6b-4dad-bff1-723becacfc44", e._sentryDebugIdIdentifier = "sentry-dbid-30d4779b-0e6b-4dad-bff1-723becacfc44");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as EndStateLayout } from "./EndStateLayout-
|
|
5
|
+
import { t as EndStateLayout } from "./EndStateLayout-C5Pqler-.js";
|
|
6
6
|
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
7
|
-
import { t as useHideTaskStepper } from "./useHideTaskStepper-
|
|
8
|
-
import { SourceOfFundsPage } from "./SourceOfFundsPage-
|
|
7
|
+
import { t as useHideTaskStepper } from "./useHideTaskStepper-BgCN--mG.js";
|
|
8
|
+
import { SourceOfFundsPage } from "./SourceOfFundsPage-2dxP6dlL.js";
|
|
9
9
|
import { jsx } from "preact/jsx-runtime";
|
|
10
10
|
//#region src/adaptiveWorkflow/components/Layout/Steps/SourceOfFundsWorkflow.tsx
|
|
11
11
|
var SourceOfFundsWorkflow = ({ node }) => {
|
|
@@ -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] = "c4045b66-5dd5-437d-abbb-1d113c4b75af", e._sentryDebugIdIdentifier = "sentry-dbid-c4045b66-5dd5-437d-abbb-1d113c4b75af");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import cx from "classnames";
|
|
6
6
|
import { jsx } from "preact/jsx-runtime";
|
|
@@ -87,11 +87,12 @@ var flattenChildren = (children) => {
|
|
|
87
87
|
*/
|
|
88
88
|
var StackLayout = ({ align = "auto", children, gap = "medium", horizontal = false }) => {
|
|
89
89
|
const flattenedChildren = flattenChildren(children);
|
|
90
|
+
const rootClassname = cx(StackLayout_module_default.stackLayout, gapStyles[gap], alignStyles[align], {
|
|
91
|
+
[horizontalAlignStyles[align]]: horizontal,
|
|
92
|
+
[StackLayout_module_default.stackLayoutHorizontal]: horizontal
|
|
93
|
+
});
|
|
90
94
|
return /* @__PURE__ */ jsx("div", {
|
|
91
|
-
className:
|
|
92
|
-
[horizontalAlignStyles[align]]: horizontal,
|
|
93
|
-
[StackLayout_module_default.stackLayoutHorizontal]: horizontal
|
|
94
|
-
}),
|
|
95
|
+
className: rootClassname,
|
|
95
96
|
children: flattenedChildren.map((item, i) => {
|
|
96
97
|
if (align === "auto") return /* @__PURE__ */ jsx("div", {
|
|
97
98
|
className: StackLayout_module_default.stackLayoutItem,
|
|
@@ -1,9 +1,54 @@
|
|
|
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] = "e105448a-17e5-4a9a-ae43-46c0bab61840", e._sentryDebugIdIdentifier = "sentry-dbid-e105448a-17e5-4a9a-ae43-46c0bab61840");
|
|
4
4
|
} catch (e) {}
|
|
5
|
+
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
+
import { C as useDataset, w as datasetIdentifier } from "./resolveEnvironment-D8-1H8bU.js";
|
|
7
|
+
import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
5
8
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
6
|
-
import {
|
|
9
|
+
import { n as useInvalidateRootLegalEntity } from "./useId-CEUET5IS.js";
|
|
10
|
+
import { r as Field, t as Select } from "./Select-AiAom5JL.js";
|
|
11
|
+
import { C as validateNotEmptyOnBlur, V as summaryItem } from "./dropinUtils-CSlRmPSn.js";
|
|
12
|
+
import { jsx } from "preact/jsx-runtime";
|
|
13
|
+
import { useMutation, useQueryClient } from "@tanstack/preact-query";
|
|
14
|
+
//#region src/api/createLegalEntity/useCreateLegalEntity.ts
|
|
15
|
+
var createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
16
|
+
return httpPost({
|
|
17
|
+
baseUrl,
|
|
18
|
+
path: `legalEntities/${legalEntityId}/create`
|
|
19
|
+
}, data);
|
|
20
|
+
};
|
|
21
|
+
var useCreateLegalEntity = (options) => {
|
|
22
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
23
|
+
return useMutation({
|
|
24
|
+
mutationFn: (payload) => {
|
|
25
|
+
return createLegalEntity(rootLegalEntityId.value, baseUrl.value, payload);
|
|
26
|
+
},
|
|
27
|
+
...options
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/api/legalEntity/useUpdateLegalEntity.ts
|
|
32
|
+
var updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
33
|
+
return httpPost({
|
|
34
|
+
baseUrl,
|
|
35
|
+
path: `legalEntities/${rootLegalEntityId}`
|
|
36
|
+
}, data);
|
|
37
|
+
};
|
|
38
|
+
var useUpdateLegalEntity = (options) => {
|
|
39
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
40
|
+
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
41
|
+
const queryClient = useQueryClient();
|
|
42
|
+
return useMutation({
|
|
43
|
+
mutationFn: (payload) => updateLegalEntity(rootLegalEntityId.value, baseUrl.value, payload),
|
|
44
|
+
onSuccess: async (response, payload) => {
|
|
45
|
+
if (response.id === rootLegalEntityId.value) await invalidateRootLegalEntity();
|
|
46
|
+
else queryClient.setQueryData(["legalEntity", payload.id], response);
|
|
47
|
+
},
|
|
48
|
+
...options
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
//#endregion
|
|
7
52
|
//#region src/components/Shared/forms/Address/constants.ts
|
|
8
53
|
var addressFields = [
|
|
9
54
|
"street",
|
|
@@ -207,4 +252,45 @@ var mapAddressLabelsNewSummary = (data, datasetUtils) => {
|
|
|
207
252
|
return mappedSummary;
|
|
208
253
|
};
|
|
209
254
|
//#endregion
|
|
210
|
-
|
|
255
|
+
//#region src/components/Shared/fields/StateField/fieldConfig.ts
|
|
256
|
+
var stateFieldMetadata = { validators: validateNotEmptyOnBlur };
|
|
257
|
+
/**
|
|
258
|
+
* Returns the placeholder text for state field based on country.
|
|
259
|
+
*/
|
|
260
|
+
var getStatePlaceholderText = (t, { country }) => {
|
|
261
|
+
switch (country) {
|
|
262
|
+
case CountryCodes.Australia:
|
|
263
|
+
case CountryCodes.Brazil: return t(($) => $["selectState"]);
|
|
264
|
+
case CountryCodes.Canada: return t(($) => $["selectProvinceOrTerritory"]);
|
|
265
|
+
case CountryCodes.UnitedStates: return t(($) => $[`selectAState`]);
|
|
266
|
+
default: return t(($) => $["stateOrProvince__placeHolder"]);
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
//#endregion
|
|
270
|
+
//#region src/components/Shared/fields/StateField/StateField.tsx
|
|
271
|
+
var STATE_FIELD = ["stateOrProvince"];
|
|
272
|
+
function StateField({ data, valid, errors, readonly, handleChangeFor, selectedCountry, handleBlur, labelOverride }) {
|
|
273
|
+
const { t } = useTranslation("common");
|
|
274
|
+
const { dataset: states, loaded } = useDataset(datasetIdentifier.state(selectedCountry), !selectedCountry || !COUNTRIES_WITH_STATES_DATASET.includes(selectedCountry));
|
|
275
|
+
const labelKey = getKeyForField("stateOrProvince", selectedCountry);
|
|
276
|
+
if (!loaded || !states.length) return null;
|
|
277
|
+
return /* @__PURE__ */ jsx(Field, {
|
|
278
|
+
name: "stateOrProvince",
|
|
279
|
+
label: labelOverride ?? t(($) => $[labelKey]),
|
|
280
|
+
errorMessage: errors.stateOrProvince,
|
|
281
|
+
isValid: valid.stateOrProvince,
|
|
282
|
+
dataTestId: "stateOrProvince",
|
|
283
|
+
children: (childProps) => /* @__PURE__ */ jsx(Select, {
|
|
284
|
+
...childProps,
|
|
285
|
+
name: "stateOrProvince",
|
|
286
|
+
selected: data.stateOrProvince,
|
|
287
|
+
placeholder: getStatePlaceholderText(t, { country: selectedCountry }),
|
|
288
|
+
items: states,
|
|
289
|
+
readonly: readonly && !!data.stateOrProvince,
|
|
290
|
+
onChange: handleChangeFor("stateOrProvince"),
|
|
291
|
+
onBlur: handleBlur
|
|
292
|
+
})
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
//#endregion
|
|
296
|
+
export { getAddressSchemaLabelsByCountry as a, mapAddressLabelsNewSummary as c, COUNTRIES_WITH_STATES_DATASET as d, addressFields as f, getAddressSchemaForCountry as i, CONDENSED_ADDRESS_FIELDS as l, useCreateLegalEntity as m, StateField as n, getKeyForField as o, useUpdateLegalEntity as p, stateFieldMetadata as r, mapAddressLabels as s, STATE_FIELD as t, COUNTRIES_WITH_HOUSE_NUMBER_FIRST as u };
|
|
@@ -1,16 +1,17 @@
|
|
|
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] = "e5e8f3f2-92af-4243-9e1b-33f2fe897be7", e._sentryDebugIdIdentifier = "sentry-dbid-e5e8f3f2-92af-4243-9e1b-33f2fe897be7");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
5
|
+
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
+
import { k as Header } from "./resolveEnvironment-D8-1H8bU.js";
|
|
7
|
+
import { s as useApiContext } from "./http-C8rt2BZk.js";
|
|
8
|
+
import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
9
|
+
import { i as setNestedValue, n as getNestedValue } from "./utils-BFxg3gPM.js";
|
|
10
|
+
import { p as useUpdateLegalEntity } from "./StateField-BoIVEnaZ.js";
|
|
11
|
+
import { n as useWorkflowContext, t as NodeRenderer } from "./AdaptiveWorkflow-B6SIOcbU.js";
|
|
11
12
|
import { t as useAppForm } from "./formHook-Dgi2CgbT.js";
|
|
12
13
|
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
13
|
-
import { n as useCreateBusinessLine, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
14
|
+
import { n as useCreateBusinessLine, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-B-pF2YT-.js";
|
|
14
15
|
import { useCallback, useEffect } from "preact/hooks";
|
|
15
16
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
16
17
|
//#region src/adaptiveWorkflow/components/Layout/DynamicForm/useCustomerData.ts
|
|
@@ -138,7 +139,9 @@ function DynamicForm({ node }) {
|
|
|
138
139
|
}, [form, registerSubmitHandler]);
|
|
139
140
|
useEffect(() => {
|
|
140
141
|
registerValidateHandler(async () => {
|
|
141
|
-
|
|
142
|
+
const blurErrors = await form.validateAllFields("blur");
|
|
143
|
+
const changeErrors = await form.validateAllFields("change");
|
|
144
|
+
return blurErrors.length === 0 && changeErrors.length === 0;
|
|
142
145
|
});
|
|
143
146
|
return () => registerValidateHandler(null);
|
|
144
147
|
}, [form, registerValidateHandler]);
|
|
@@ -147,10 +150,13 @@ function DynamicForm({ node }) {
|
|
|
147
150
|
e.preventDefault();
|
|
148
151
|
form.handleSubmit();
|
|
149
152
|
},
|
|
150
|
-
children:
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
153
|
+
children: /* @__PURE__ */ jsx(StackLayout, {
|
|
154
|
+
gap: "xSmall",
|
|
155
|
+
children: node.children?.map((child) => /* @__PURE__ */ jsx(NodeRenderer, {
|
|
156
|
+
node: child,
|
|
157
|
+
form
|
|
158
|
+
}, child.id))
|
|
159
|
+
})
|
|
154
160
|
}) });
|
|
155
161
|
}
|
|
156
162
|
//#endregion
|
|
@@ -0,0 +1,60 @@
|
|
|
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] = "0b641374-21fe-44da-b6a5-add4bc80987b", e._sentryDebugIdIdentifier = "sentry-dbid-0b641374-21fe-44da-b6a5-add4bc80987b");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
+
import { k as Header } from "./resolveEnvironment-D8-1H8bU.js";
|
|
7
|
+
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
|
+
import { n as IconButton } from "./Button-Dwr6jvJZ.js";
|
|
9
|
+
import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
10
|
+
import { i as useAnalyticsContext } from "./Modal-Dx_NESnV.js";
|
|
11
|
+
import { J as trackNavigation } from "./dropinUtils-CSlRmPSn.js";
|
|
12
|
+
import { t as List } from "./List-qvNxW9lm.js";
|
|
13
|
+
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
|
+
//#region src/components/Shared/NewSummary/NewSummary.tsx
|
|
15
|
+
var NewSummary = ({ children }) => {
|
|
16
|
+
const { t } = useTranslation("common");
|
|
17
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
18
|
+
role: "region",
|
|
19
|
+
children: [/* @__PURE__ */ jsx(Header, {
|
|
20
|
+
title: t(($) => $["summary"]),
|
|
21
|
+
description: t(($) => $["summaryDescription"])
|
|
22
|
+
}), /* @__PURE__ */ jsx(StackLayout, { children })]
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
var SummarySection_module_default = {
|
|
26
|
+
"summary-header": "_summary-header_jps0f_1",
|
|
27
|
+
summaryHeader: "_summary-header_jps0f_1"
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/components/Shared/SummarySection/SummarySection.tsx
|
|
31
|
+
var SummarySection = ({ children, formId, label, onEdit }) => {
|
|
32
|
+
const { t } = useTranslation("common");
|
|
33
|
+
const userEvents = useAnalyticsContext();
|
|
34
|
+
return /* @__PURE__ */ jsxs(List, {
|
|
35
|
+
variant: "grouped-secondary",
|
|
36
|
+
children: [/* @__PURE__ */ jsxs("header", {
|
|
37
|
+
className: SummarySection_module_default.summaryHeader,
|
|
38
|
+
children: [/* @__PURE__ */ jsx(Typography, {
|
|
39
|
+
el: "h2",
|
|
40
|
+
variant: "title",
|
|
41
|
+
children: label
|
|
42
|
+
}), onEdit && /* @__PURE__ */ jsx(IconButton, {
|
|
43
|
+
variant: "tertiary",
|
|
44
|
+
icon: "edit",
|
|
45
|
+
onClick: () => {
|
|
46
|
+
trackNavigation({
|
|
47
|
+
userEvents,
|
|
48
|
+
actionType: "edit",
|
|
49
|
+
toForm: label,
|
|
50
|
+
label: "Pencil icon"
|
|
51
|
+
});
|
|
52
|
+
onEdit(formId);
|
|
53
|
+
},
|
|
54
|
+
ariaLabel: t(($) => $["editForm"], { formName: label })
|
|
55
|
+
})]
|
|
56
|
+
}), children]
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
//#endregion
|
|
60
|
+
export { NewSummary as n, SummarySection as t };
|
|
@@ -1,16 +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] = "b167bce5-0fab-414e-adfa-8e2155ed5fbd", e._sentryDebugIdIdentifier = "sentry-dbid-b167bce5-0fab-414e-adfa-8e2155ed5fbd");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { t as Button } from "./Button-
|
|
5
|
+
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
+
import { t as Button } from "./Button-Dwr6jvJZ.js";
|
|
7
7
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import {
|
|
11
|
-
import { n as useWorkflowContext, t as NodeRenderer } from "./
|
|
8
|
+
import { t as Modal } from "./Modal-Dx_NESnV.js";
|
|
9
|
+
import { t as TaskListItem } from "./TaskListItem-CQXvVRWG.js";
|
|
10
|
+
import { v as FormFlow_module_default } from "./dropinUtils-CSlRmPSn.js";
|
|
11
|
+
import { n as useWorkflowContext, t as NodeRenderer } from "./AdaptiveWorkflow-B6SIOcbU.js";
|
|
12
12
|
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
13
|
-
import { t as TaskStepperContextProvider } from "./TaskStepperContextProvider-
|
|
13
|
+
import { t as TaskStepperContextProvider } from "./TaskStepperContextProvider-9wlnwii7.js";
|
|
14
14
|
import { useCallback, useRef, useState } from "preact/hooks";
|
|
15
15
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
16
16
|
import { useComputed } from "@preact/signals";
|
|
@@ -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] = "2cd8e431-c658-4912-9f0b-6712a9424905", e._sentryDebugIdIdentifier = "sentry-dbid-2cd8e431-c658-4912-9f0b-6712a9424905");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as NodeRenderer } from "./
|
|
5
|
+
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
+
import { k as Header } from "./resolveEnvironment-D8-1H8bU.js";
|
|
7
|
+
import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
8
|
+
import { t as NodeRenderer } from "./AdaptiveWorkflow-B6SIOcbU.js";
|
|
9
9
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
10
10
|
//#region src/adaptiveWorkflow/components/Layout/TaskGroup/contextMap.ts
|
|
11
11
|
var contextMap = {
|
|
@@ -1,19 +1,19 @@
|
|
|
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] = "9aaae26f-9e4d-4d65-ab4a-b01df773f17f", e._sentryDebugIdIdentifier = "sentry-dbid-9aaae26f-9e4d-4d65-ab4a-b01df773f17f");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
+
import { x as Alert } from "./resolveEnvironment-D8-1H8bU.js";
|
|
7
|
+
import { t as Icon } from "./Icon-_YUEZg1p.js";
|
|
8
|
+
import { n as IconButton } from "./Button-Dwr6jvJZ.js";
|
|
9
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-zoxTZ2mt.js";
|
|
9
10
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
10
|
-
import {
|
|
11
|
-
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
11
|
+
import { i as useAnalyticsContext } from "./Modal-Dx_NESnV.js";
|
|
12
12
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
13
|
+
import { t as VerificationErrorAlert } from "./VerificationErrorAlert-q1SEqBXx.js";
|
|
14
|
+
import { t as Avatar } from "./Avatar-C2zeqSSB.js";
|
|
15
|
+
import { p as LoaderWrapper } from "./Select-AiAom5JL.js";
|
|
16
|
+
import { s as Confirm } from "./utils-Oc-YLiM0.js";
|
|
17
17
|
import { useState } from "preact/hooks";
|
|
18
18
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
19
19
|
//#region src/components/Apps/tasks/TaskList/TaskListItem/TaskListItem.tsx
|
package/dist/{TaskStepperContextProvider-I7talGDO.js → TaskStepperContextProvider-9wlnwii7.js}
RENAMED
|
@@ -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] = "1b1c3e7f-ede1-4bdb-8fac-bdd2842a502f", e._sentryDebugIdIdentifier = "sentry-dbid-1b1c3e7f-ede1-4bdb-8fac-bdd2842a502f");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as TaskStepperContext, r as TaskStepperModel } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
6
6
|
import { jsx } 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] = "8ed69283-3261-47d9-bfbd-b4c46f616711", e._sentryDebugIdIdentifier = "sentry-dbid-8ed69283-3261-47d9-bfbd-b4c46f616711");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { t as Icon } from "./Icon-
|
|
5
|
+
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
+
import { t as Icon } from "./Icon-_YUEZg1p.js";
|
|
7
7
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
8
8
|
import cx from "classnames";
|
|
9
9
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,16 +1,14 @@
|
|
|
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] = "de4955e2-28c5-4bbc-afd6-969a459c0ea6", e._sentryDebugIdIdentifier = "sentry-dbid-de4955e2-28c5-4bbc-afd6-969a459c0ea6");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import {
|
|
7
|
-
import { r as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
13
|
-
import { t as formatValidationError } from "./formatValidationError-z2D5oU1e.js";
|
|
5
|
+
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
+
import { i as useToggleContext, t as Checkbox } from "./Checkbox-zAGhz7rC.js";
|
|
7
|
+
import { r as resolveFieldMetadata } from "./form-rules-HzaYJh36.js";
|
|
8
|
+
import { f as translateTranslatable, r as Field } from "./Select-AiAom5JL.js";
|
|
9
|
+
import { a as MaskedInput } from "./dropinUtils-CSlRmPSn.js";
|
|
10
|
+
import { F as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, S as getTaxIdNumberOptions, d as removeTaxInfoForCountry, f as upsertTaxInfoForCountry, m as findExistingTaxInformation, p as TaxIdNumberTypeSelector, v as taxInformationDefaultFieldConfig, y as taxInformationDefaultFieldMetadata } from "./bafinUtils-CsDthERR.js";
|
|
11
|
+
import { t as formatValidationError } from "./formatValidationError-D3vBdIym.js";
|
|
14
12
|
import { n as withForm } from "./formHook-Dgi2CgbT.js";
|
|
15
13
|
import { useCallback, useEffect, useMemo, useRef } from "preact/hooks";
|
|
16
14
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -113,10 +111,11 @@ var TaxInformationFieldGroup = withForm({
|
|
|
113
111
|
}, taxInformationDefaultFieldMetadata);
|
|
114
112
|
const exemptionLabel = isUsSoleProp ? t(($) => $["socialSecurityNumber"]) : labels?.exemptedFromTax;
|
|
115
113
|
const updateTaxInfo = useCallback((mode, newEntry) => {
|
|
116
|
-
const
|
|
114
|
+
const entry = canSaveAbsentState ? {
|
|
117
115
|
...newEntry,
|
|
118
116
|
numberAbsent: newEntry.numberAbsent ?? false
|
|
119
|
-
} : newEntry
|
|
117
|
+
} : newEntry;
|
|
118
|
+
const updated = upsertTaxInfoForCountry(defaultData, country, entry);
|
|
120
119
|
form.setFieldValue(taxInfoPath, updated);
|
|
121
120
|
}, [
|
|
122
121
|
canSaveAbsentState,
|
|
@@ -177,12 +176,14 @@ var TaxInformationFieldGroup = withForm({
|
|
|
177
176
|
return canSaveAbsentState ? addTaxAbsentStatus(true) : removeCountryTaxInfo();
|
|
178
177
|
}
|
|
179
178
|
form.setFieldValue(exemptedPath, false);
|
|
180
|
-
if (country === "SG")
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
179
|
+
if (country === "SG") {
|
|
180
|
+
if (taxIdType === "UEN") {
|
|
181
|
+
form.setFieldValue(isUenPath, true);
|
|
182
|
+
setUenAsTaxId(registrationNumber);
|
|
183
|
+
} else {
|
|
184
|
+
form.setFieldValue(isUenPath, false);
|
|
185
|
+
removeCountryTaxInfo();
|
|
186
|
+
}
|
|
186
187
|
}
|
|
187
188
|
updateTaxType(taxIdType, "input");
|
|
188
189
|
}, [
|