@adyen/kyc-components 4.27.0 → 4.28.0-beta.1
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-CWGZOKtu.js} +4 -4
- package/dist/{Accordion-CTQfC17W.js → Accordion-DyU-Pxob.js} +1 -1
- package/dist/{AccountSetupRejected-DaFbhfSI.js → AccountSetupRejected-Bs7galfS.js} +2 -2
- package/dist/{AdaptiveWorkflow-42UsUwm-.js → AdaptiveWorkflow-DXJ1u52c.js} +117 -48
- package/dist/{AdaptiveWorkflowComponent-DZwG4TmA.js → AdaptiveWorkflowComponent-Bmo1CJwM.js} +29 -29
- package/dist/{AddressFields-D78Szxmw.js → AddressFields-M5jupF8l.js} +10 -10
- package/dist/{Avatar-yJfk9A6l.js → Avatar-BBJO6JWY.js} +1 -1
- package/dist/{BusinessFinancingDropin-Sxpsw1Ib.js → BusinessFinancingDropin-Bbw34hVf.js} +34 -34
- package/dist/{BusinessFinancingPage-DBIhC8Us.js → BusinessFinancingPage-CvD-Tk_-.js} +54 -54
- package/dist/{BusinessRegistrationNumberField-BdMxV-Tb.js → BusinessRegistrationNumberField-B1O-D58L.js} +6 -6
- package/dist/{BusinessRegistrationNumberFieldGroup-Cj8O_z1t.js → BusinessRegistrationNumberFieldGroup-C8UNd3to.js} +12 -7
- package/dist/{BusinessTypeSelectionPage-qHvILw07.js → BusinessTypeSelectionPage-B10xJcSU.js} +12 -12
- package/dist/{Button-BYafPrZH.js → Button-EhGM-oCO.js} +1 -1
- package/dist/{Checkbox-CEkD-Lpm.js → Checkbox-CyMoenl6.js} +3 -3
- package/dist/{ComponentGroup-DVHVDBTY.js → ComponentGroup-Jgi1oBjC.js} +10 -9
- package/dist/{ConstitutionalDocument-CRmlhFeL.js → ConstitutionalDocument-bMwKgqNu.js} +16 -15
- package/dist/{ContactDetails-Cqfks3uk.js → ContactDetails-Dfr6ysdg.js} +5 -5
- package/dist/{ContextGuidance-DfK3CyBg.js → ContextGuidance-C7seYQD4.js} +3 -3
- package/dist/{CountryField-BjQOdWzz.js → CountryField-EEsbyp0x.js} +8 -6
- package/dist/{Currency-CbDX0TMX.js → Currency-dsFhBAjy.js} +8 -8
- package/dist/{CustomerSupport-DhHfxyq-.js → CustomerSupport-CJVqvdU5.js} +34 -13
- package/dist/{DateField-B2QaXKJu.js → DateField-t7FT_iiL.js} +13 -9
- package/dist/{DebugModal-Bg9rzwSn.js → DebugModal-BTrunkih.js} +154 -109
- package/dist/{DecisionMakerDetails-AoJgg4cg.js → DecisionMakerDetails-DMljWAWQ.js} +13 -13
- package/dist/{DecisionMakerDetailsPage-C_AdIcGC.js → DecisionMakerDetailsPage-B5c_0PN_.js} +7 -7
- package/dist/{DecisionMakers-C6l8bABC.js → DecisionMakers-a3DaG-6U.js} +14 -14
- package/dist/{Dropzone-DgxhMiDp.js → Dropzone-448ZL9VM.js} +7 -7
- package/dist/{EmailField-CXN3LYZ2.js → EmailField-Cra7AXIF.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-CGquqR8h.js} +6 -6
- package/dist/{ErrorPanel-CPEt21Se.js → ErrorPanel-CXMvMtur.js} +4 -4
- package/dist/{GlobalEntryModal-BLcLbtbY.js → GlobalEntryModal-CM5T8FKp.js} +312 -100
- package/dist/{GlobalEntryPage-DWOIX03S.js → GlobalEntryPage-BP588kux.js} +32 -32
- package/dist/Icon-D2IGgB2L.js +175 -0
- package/dist/{IdentityNumber-B9Jnp2Kq.js → IdentityNumber-DnA5GktA.js} +5 -5
- package/dist/{IdentityNumberFieldGroup-BSl7SDIS.js → IdentityNumberFieldGroup-R8A5uEoN.js} +38 -16
- package/dist/{IdentityScreeningWorkflow-GYt_zgUF.js → IdentityScreeningWorkflow-BEf9j8g8.js} +14 -13
- package/dist/{IndividualDropin-Diyiw3Hi.js → IndividualDropin-BunW0Y1z.js} +60 -39
- package/dist/{IndustryCodeFieldGroup-C2-FCfpN.js → IndustryCodeFieldGroup-Dgped8t4.js} +8 -10
- package/dist/{InputDate-BHrNsorX.js → InputDate-PcZy5N0W.js} +3 -3
- package/dist/{Introduction-DYn_jO1o.js → Introduction-CLSqIBpQ.js} +6 -6
- package/dist/{InvitedDecisionMakerComponent-CUe2AxiZ.js → InvitedDecisionMakerComponent-BxhfJSKq.js} +36 -36
- package/dist/{JpAddressFields-C4qtHjp0.js → JpAddressFields-CapPuNBU.js} +9 -9
- package/dist/{LegalCompanyNameField-DFo-ZOZk.js → LegalCompanyNameField-4bmqY29I.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BOfRTyqK.js → LegalRepresentativeDetailsPage-DxOy9vCU.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-CsOs3hQG.js} +4 -4
- package/dist/{NumberField-CkdysfUI.js → NumberField-D8xlMgic.js} +12 -9
- package/dist/{PatriotActDisclosure-DkqbHOFx.js → PatriotActDisclosure-CTwsaivh.js} +10 -10
- package/dist/{PayoutDetailsDropin-CF7itBsp.js → PayoutDetailsDropin-DAzIUYe4.js} +30 -28
- package/dist/{PayoutDetailsPage-Dc_D071R.js → PayoutDetailsPage-VLk0DpD7.js} +4 -4
- package/dist/{InputText-BwXmy0Yr.js → RadioGroup-CEi7ZDGi.js} +80 -5
- package/dist/{Review-Ku4iYkp6.js → Review-B03d6GlL.js} +6 -6
- package/dist/{RootBusinessDetailsPage-CTSZl23n.js → RootBusinessDetailsPage-bY2g62IM.js} +4 -4
- package/dist/{RootBusinessLinesPage-TqlW5o-4.js → RootBusinessLinesPage-DKqmR8rB.js} +21 -21
- package/dist/{RootIndividualDetailsPage-DG6IUpC8.js → RootIndividualDetailsPage-YA9xZU8y.js} +4 -4
- package/dist/{Select-DPJ8234F.js → Select-DTqe0uNK.js} +5 -6
- package/dist/{SignPCIComponent-DHIPpLKT.js → SignPCIComponent-CXGnjpKO.js} +38 -38
- package/dist/{SingpassSelection-BRJCTmKj.js → SingpassSelection-CDHJdkCZ.js} +5 -5
- package/dist/SingpassSelectionCTA-sVs1ou1t.js +71 -0
- package/dist/{SoleProprietorshipPage-JOV_QddZ.js → SoleProprietorshipPage-DCjHOTI3.js} +4 -4
- package/dist/{SourceOfFundsPage-DxQADTn7.js → SourceOfFundsPage-BEPx4XB0.js} +22 -22
- package/dist/{SourceOfFundsWorkflow-fFGA8BYS.js → SourceOfFundsWorkflow-CWYq6pxv.js} +4 -4
- package/dist/{StateField-LcRkkvIH.js → StateField-DgYpF1_M.js} +6 -6
- package/dist/{Step-DaFQX--s.js → Step-DGmEuzNc.js} +15 -9
- package/dist/{Summary-DgLYHPLg.js → Summary-CzJ698Zr.js} +2 -2
- package/dist/{SummarySection-CLaB0E12.js → SummarySection-uydAtNRx.js} +4 -4
- package/dist/{Task-CkhQ3vzl.js → Task-CxQnoPlO.js} +41 -31
- package/dist/{TaskGroup-BSPFdlu9.js → TaskGroup-CNvLui70.js} +10 -6
- package/dist/{TaskListItem-B87Vgx8N.js → TaskListItem-D84K14gG.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-hUnJmpAo.js} +68 -111
- package/dist/{TaxReportingDropin-BvJ-hNA-.js → TaxReportingDropin-CR1Cpz3u.js} +14 -13
- package/dist/{TaxReportingWorkflow-BrlpMImh.js → TaxReportingWorkflow-NIVnKcpn.js} +4 -4
- package/dist/{TermsOfServiceManagement-B4H2Aia2.js → TermsOfServiceManagement-BJclOKlD.js} +38 -37
- package/dist/{TextArea-CAZrG_yC.js → TextArea-CvDM-4De.js} +4 -4
- package/dist/{TextField-DTv1BPA3.js → TextField-DBCBCZMg.js} +13 -10
- package/dist/{TrustDetailsPage-DYXIzcxJ.js → TrustDetailsPage-B_6vHQnx.js} +30 -23
- package/dist/{TrustMemberCompanyPage-pvj9sHs2.js → TrustMemberCompanyPage-DSTdfCRt.js} +5 -5
- package/dist/{TrustMemberIndividualPage-Dm4S4Vhu.js → TrustMemberIndividualPage-CxD06on9.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-HY6FQpRj.js → TrustMemberRoleAndTypePage-Bwl9Dv6w.js} +20 -20
- package/dist/{TrustMembersOverview-Bcs79IWP.js → TrustMembersOverview-Bl_tZ47h.js} +12 -12
- package/dist/{UboTaskItem-BYQusWWl.js → UboTaskItem-CYSbY0FC.js} +15 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-sBN7kPiI.js → UnincorporatedPartnershipIndividualPage-DLpkOoQr.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DHgq0TLx.js → UnincorporatedPartnershipMemberCompanyPage-BWmArxU3.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dx5UGEcg.js → UnincorporatedPartnershipMemberRoleAndTypePage-DGys2yUf.js} +10 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-DxIfkkY7.js → UnincorporatedPartnershipMembersOverview-GVimwN0S.js} +6 -6
- package/dist/{VerificationErrorAlert-C_qKEwHw.js → VerificationErrorAlert-BjsV8ARt.js} +3 -3
- package/dist/{WebsiteField-BYZAR8k8.js → WebsiteField-Sz7RUbW_.js} +13 -10
- package/dist/{Workflow-ty27ZzKS.js → Workflow-Cty0HzIp.js} +11 -8
- package/dist/{accountHolderUtils-CVX0JkJf.js → accountHolderUtils-DEWA3MWe.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-CFvCTqAt.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-Ctu_3qBl.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-DBnjaFWb.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-C05wuAm2.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-28YDsFPu.js} +13 -2
- package/dist/{formatDataForSummary-GZH9C1ax.js → formatDataForSummary-Ccs4H7BO.js} +10 -10
- package/dist/{formatValidationError-C_3FU4uR.js → formatValidationError-DIPpFoJQ.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-C3OAyMCv.js} +5 -4
- package/dist/{getTrustedDecisionMakers-DByctgob.js → getTrustedDecisionMakers-CD9uLmHi.js} +2 -2
- package/dist/{getValidationError-DnDzz5ju.js → getValidationError-C00cY5Gg.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-DrJp13W1.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-CyNuoq1S.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BCNX0LPr.js → mapJpAddressSchemaToAddressLocalizations-BtkCWRQU.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-BUKwzRyA.js → mapTransferInstrumentToPayoutAccount-Dq0983R5.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-D0qSlh3W.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-DQqTWYX2.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-B1KP0JZL.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/Business/utils/buildRequiredForms.d.ts +1 -0
- package/dist/types/components/Business/utils/isEligibleForReducedBusinessDetailsFlow.d.ts +15 -0
- 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-E0Wffo2-.js} +2 -2
- package/dist/{upload-BI7LKlDm.js → upload-DF1deAl3.js} +2 -2
- package/dist/{useBusinessDetailsData-Cs15bK0B.js → useBusinessDetailsData-B2jIzpVP.js} +248 -158
- package/dist/{useCanSeeIntroduction-DzYOn-jJ.js → useCanSeeIntroduction-CguqBHaC.js} +3 -3
- package/dist/{useForm-CPOxg890.js → useForm-CwWvs060.js} +3 -3
- package/dist/{useHideTaskStepper-Betx9MGy.js → useHideTaskStepper-DvHXw3zd.js} +1 -1
- package/dist/{Modal-afeMXOOn.js → useId-BV444pyC.js} +27 -5
- package/dist/{useNavigate-C9pHkW9F.js → useNavigate-BPvz7b_2.js} +33 -33
- package/dist/{useSalesChannels-D2UblAHt.js → useSalesChannels-GPyBj7Bk.js} +2 -2
- package/dist/useSaveForLater-BSIOwMfL.js +200 -0
- package/dist/{useTaskLandedEvent-B_GbpCRR.js → useTaskLandedEvent-CuOu8Sqr.js} +2 -2
- package/dist/{useTrustMembers-bzYJw-8r.js → useTrustMembers-Dwbb5xh4.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-CM8pXQIa.js → useUnincorporatedPartnershipMembers-1bLF5aPT.js} +2 -2
- package/dist/{utils-Dpvxf5_a.js → utils-BPKdYHDB.js} +2 -2
- package/dist/{utils-B5D6FxHi.js → utils-B_dD2dvD.js} +3 -4
- package/dist/{utils-DTuKY6NW.js → utils-tMG2x_WY.js} +2 -2
- package/dist/{validate-CIG89n0Q.js → validate-BZLQWEd-.js} +2 -2
- package/dist/{validate-DCrnvbfv.js → validate-BlsJOvUC.js} +15 -10
- package/dist/{validate-DEqWFrmE.js → validate-DlL0gf63.js} +4 -4
- package/dist/{validate-D0s1xnXY.js → validate-Dtlyak_C.js} +3 -3
- 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,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] = "1fde5d6a-42a2-4910-9fc7-f5194c09d02a", e._sentryDebugIdIdentifier = "sentry-dbid-1fde5d6a-42a2-4910-9fc7-f5194c09d02a");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
5
|
+
import { _ as isPartOfTrustFromLegalEntity } from "./registerEmbed-DQqTWYX2.js";
|
|
6
6
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
7
7
|
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
8
|
-
import {
|
|
8
|
+
import { s as SettingNames } from "./RadioGroup-CEi7ZDGi.js";
|
|
9
9
|
//#region src/hooks/useLegalEntityType.ts
|
|
10
10
|
var useLegalEntityType = ({ legalEntity }) => {
|
|
11
11
|
const isTrust = isPartOfTrustFromLegalEntity(legalEntity);
|
|
@@ -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] = "4769bbc2-f315-4771-81dc-116d219d4078", e._sentryDebugIdIdentifier = "sentry-dbid-4769bbc2-f315-4771-81dc-116d219d4078");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
5
|
+
import { ct as isEmpty } from "./registerEmbed-DQqTWYX2.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { n as doArraysMatch } from "./genUtils-nphCwt1A.js";
|
|
8
|
-
import { d as omitKeys, f as ValidationResult, l as addKeys } from "./Select-
|
|
8
|
+
import { d as omitKeys, f as ValidationResult, l as addKeys } from "./Select-DTqe0uNK.js";
|
|
9
9
|
import { useCallback, useEffect, useMemo, useReducer, useState } from "preact/hooks";
|
|
10
10
|
//#region src/hooks/useAsyncValidator.ts
|
|
11
11
|
var logger = createLogger();
|
|
@@ -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] = "bdae5f7e-931a-4330-ba83-25eaa15c88e8", e._sentryDebugIdIdentifier = "sentry-dbid-bdae5f7e-931a-4330-ba83-25eaa15c88e8");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
6
6
|
import { useRef } from "preact/hooks";
|
|
@@ -1,10 +1,10 @@
|
|
|
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] = "d0f3e92b-0320-4da0-9a17-7d3c5c602703", e._sentryDebugIdIdentifier = "sentry-dbid-d0f3e92b-0320-4da0-9a17-7d3c5c602703");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
6
|
-
import { n as IconButton } from "./Button-
|
|
7
|
-
import { useContext, useLayoutEffect, useRef } from "preact/hooks";
|
|
5
|
+
import { _t as AnalyticsContext } from "./registerEmbed-DQqTWYX2.js";
|
|
6
|
+
import { n as IconButton } from "./Button-EhGM-oCO.js";
|
|
7
|
+
import { useContext, useLayoutEffect, useRef, useState } from "preact/hooks";
|
|
8
8
|
import cx from "classnames";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
10
10
|
//#region src/context/AnalyticsContext/useAnalyticsContext.tsx
|
|
@@ -126,4 +126,26 @@ var ModalContent = ({ children }) => /* @__PURE__ */ jsx("section", {
|
|
|
126
126
|
children
|
|
127
127
|
});
|
|
128
128
|
//#endregion
|
|
129
|
-
|
|
129
|
+
//#region src/utils/uuid.ts
|
|
130
|
+
function uuidv4() {
|
|
131
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
132
|
+
let r = Math.random() * 16 | 0;
|
|
133
|
+
return (c == "x" ? r : r & 3 | 8).toString(16);
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
//#endregion
|
|
137
|
+
//#region src/utils/useId.ts
|
|
138
|
+
/**
|
|
139
|
+
* We can't use {@link import('preact/hooks').useId} because it doesn't guarantee uniqueness across
|
|
140
|
+
* different render trees. So multiple components mounted on the same page could have collisions.
|
|
141
|
+
*
|
|
142
|
+
* Therefore, we instead calculate a uuid and prepend a prefix.
|
|
143
|
+
*
|
|
144
|
+
* @param prefix a prefix to identify this usage
|
|
145
|
+
*/
|
|
146
|
+
var useId = (prefix) => {
|
|
147
|
+
const [uuid] = useState(uuidv4());
|
|
148
|
+
return `${prefix}_${uuid}`;
|
|
149
|
+
};
|
|
150
|
+
//#endregion
|
|
151
|
+
export { useAnalyticsContext as a, KEYBOARD_KEYS as i, Modal as n, ModalContent as r, useId as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "26dc1d05-cbaf-4932-8c4e-0affd6772e48", e._sentryDebugIdIdentifier = "sentry-dbid-26dc1d05-cbaf-4932-8c4e-0affd6772e48");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
5
|
+
import { I as FeatureNames } from "./registerEmbed-DQqTWYX2.js";
|
|
6
6
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
7
7
|
import { lazy } from "preact/compat";
|
|
8
8
|
import { useLocation } from "wouter-preact";
|
|
@@ -26,37 +26,37 @@ var hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
26
26
|
};
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/router/routeConfig.ts
|
|
29
|
-
var Introduction = lazy(async () => (await import("./Introduction-
|
|
30
|
-
var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-
|
|
31
|
-
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-
|
|
32
|
-
var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-
|
|
33
|
-
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-
|
|
34
|
-
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-
|
|
35
|
-
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-
|
|
36
|
-
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-
|
|
37
|
-
var Review = lazy(async () => (await import("./Review-
|
|
38
|
-
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-
|
|
39
|
-
var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-
|
|
40
|
-
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-
|
|
41
|
-
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-
|
|
42
|
-
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-
|
|
43
|
-
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-
|
|
44
|
-
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-
|
|
45
|
-
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-
|
|
46
|
-
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-
|
|
47
|
-
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-
|
|
48
|
-
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-
|
|
49
|
-
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
50
|
-
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
51
|
-
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
52
|
-
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-
|
|
53
|
-
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-
|
|
54
|
-
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-
|
|
55
|
-
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-
|
|
56
|
-
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-
|
|
57
|
-
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-
|
|
58
|
-
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-
|
|
59
|
-
lazy(async () => (await import("./InvitedDecisionMakerComponent-
|
|
29
|
+
var Introduction = lazy(async () => (await import("./Introduction-CLSqIBpQ.js")).Introduction);
|
|
30
|
+
var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-DXJ1u52c.js")).AdaptiveWorkflow);
|
|
31
|
+
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-B10xJcSU.js")).BusinessTypeSelectionPage);
|
|
32
|
+
var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-BP588kux.js")).GlobalEntryPage);
|
|
33
|
+
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-CDHJdkCZ.js")).SingpassSelection);
|
|
34
|
+
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-Bs7galfS.js")).AccountSetupRejected);
|
|
35
|
+
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-a3DaG-6U.js")).DecisionMakers);
|
|
36
|
+
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-CJVqvdU5.js")).CustomerSupport);
|
|
37
|
+
var Review = lazy(async () => (await import("./Review-B03d6GlL.js")).Review);
|
|
38
|
+
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-CXGnjpKO.js").then((n) => n.n)).SignPCIComponent);
|
|
39
|
+
var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-BJclOKlD.js").then((n) => n.n)).TermsOfServiceManagement);
|
|
40
|
+
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-CR1Cpz3u.js")).TaxReportingDropin);
|
|
41
|
+
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-VLk0DpD7.js")).PayoutDetailsPage);
|
|
42
|
+
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-bY2g62IM.js")).RootBusinessDetailsPage);
|
|
43
|
+
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-DKqmR8rB.js")).RootBusinessLinesPage);
|
|
44
|
+
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-DCjHOTI3.js")).SoleProprietorshipPage);
|
|
45
|
+
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-DSTdfCRt.js")).TrustMemberCompanyPage);
|
|
46
|
+
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-CxD06on9.js")).TrustMemberIndividualPage);
|
|
47
|
+
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-Bwl9Dv6w.js")).TrustMemberRoleAndTypePage);
|
|
48
|
+
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-Bl_tZ47h.js")).TrustMembersOverview);
|
|
49
|
+
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-BWmArxU3.js")).UnincorporatedPartnershipMemberCompanyPage);
|
|
50
|
+
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-DLpkOoQr.js")).UnincorporatedPartnershipIndividualPage);
|
|
51
|
+
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-DGys2yUf.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
|
|
52
|
+
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-GVimwN0S.js")).UnincorporatedPartnershipMembersOverview);
|
|
53
|
+
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-CvD-Tk_-.js")).BusinessFinancingPage);
|
|
54
|
+
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-B_6vHQnx.js")).TrustDetailsPage);
|
|
55
|
+
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-BEPx4XB0.js")).SourceOfFundsPage);
|
|
56
|
+
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-YA9xZU8y.js")).RootIndividualDetailsPage);
|
|
57
|
+
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-DxOy9vCU.js")).LegalRepresentativeDetailsPage);
|
|
58
|
+
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-B5c_0PN_.js")).DecisionMakerDetailsPage);
|
|
59
|
+
lazy(async () => (await import("./InvitedDecisionMakerComponent-BxhfJSKq.js").then((n) => n.n)).InvitedDecisionMakerComponent);
|
|
60
60
|
var ROUTE_CONFIG = {
|
|
61
61
|
[TaskTypes.ADAPTIVE]: {
|
|
62
62
|
path: "/adaptive",
|
|
@@ -1,10 +1,10 @@
|
|
|
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] = "ab48b540-fc83-498e-9519-a5e940b1ea95", e._sentryDebugIdIdentifier = "sentry-dbid-ab48b540-fc83-498e-9519-a5e940b1ea95");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
6
6
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
7
|
-
import {
|
|
7
|
+
import { s as SettingNames } from "./RadioGroup-CEi7ZDGi.js";
|
|
8
8
|
import { t as useBusinessLines } from "./useBusinessLines-0FcuDMzo.js";
|
|
9
9
|
import { useMemo } from "preact/hooks";
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -0,0 +1,200 @@
|
|
|
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] = "7738d36c-8d36-40e4-9dae-72e4d7e4e09b", e._sentryDebugIdIdentifier = "sentry-dbid-7738d36c-8d36-40e4-9dae-72e4d7e4e09b");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
+
import { I as FeatureNames } from "./registerEmbed-DQqTWYX2.js";
|
|
7
|
+
import { t as Button } from "./Button-EhGM-oCO.js";
|
|
8
|
+
import { s as useApiContext } from "./http-C8rt2BZk.js";
|
|
9
|
+
import { i as useToggleContext } from "./Checkbox-CyMoenl6.js";
|
|
10
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-DrJp13W1.js";
|
|
11
|
+
import { useCallback, useEffect, useRef, useState } from "preact/hooks";
|
|
12
|
+
import { jsx } from "preact/jsx-runtime";
|
|
13
|
+
import { useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
|
|
14
|
+
//#region src/components/Shared/SaveForLater/SaveForLaterButton.tsx
|
|
15
|
+
/**
|
|
16
|
+
* Save-for-later footer button; pair it with the useSaveForLater hook
|
|
17
|
+
*/
|
|
18
|
+
var SaveForLaterButton = ({ onClick, loading }) => {
|
|
19
|
+
const { t } = useTranslation("common");
|
|
20
|
+
const { isFeatureEnabled } = useToggleContext();
|
|
21
|
+
if (!isFeatureEnabled(FeatureNames.SaveForLater)) return null;
|
|
22
|
+
return /* @__PURE__ */ jsx(Button, {
|
|
23
|
+
disabled: loading,
|
|
24
|
+
loading,
|
|
25
|
+
onClick,
|
|
26
|
+
variant: "secondary",
|
|
27
|
+
children: t(($) => $["saveForLater"])
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/api/draft/useCreateDraft.ts
|
|
32
|
+
var createDraft = async (legalEntityId, flowName, data) => {
|
|
33
|
+
const key = `${legalEntityId}/${flowName}`;
|
|
34
|
+
try {
|
|
35
|
+
window.localStorage.setItem(key, JSON.stringify(data));
|
|
36
|
+
return data;
|
|
37
|
+
} catch {
|
|
38
|
+
return data;
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
var useCreateDraft = (flowName, options) => {
|
|
42
|
+
const { rootLegalEntityId } = useApiContext();
|
|
43
|
+
return useMutation({
|
|
44
|
+
mutationFn: (data) => createDraft(rootLegalEntityId.value, flowName, data),
|
|
45
|
+
...options
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/api/draft/useGetDraft.ts
|
|
50
|
+
var getDraftQueryKey = (legalEntityId, flowName) => [
|
|
51
|
+
"draft",
|
|
52
|
+
legalEntityId,
|
|
53
|
+
flowName
|
|
54
|
+
];
|
|
55
|
+
var getDraft = async (legalEntityId, flowName) => {
|
|
56
|
+
const key = `${legalEntityId}/${flowName}`;
|
|
57
|
+
try {
|
|
58
|
+
const savedData = window.localStorage.getItem(key);
|
|
59
|
+
return savedData ? JSON.parse(savedData) : null;
|
|
60
|
+
} catch {
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
var useGetDraft = (flowName, options) => {
|
|
65
|
+
const { rootLegalEntityId } = useApiContext();
|
|
66
|
+
return useQuery({
|
|
67
|
+
queryKey: getDraftQueryKey(rootLegalEntityId.value, flowName),
|
|
68
|
+
queryFn: () => getDraft(rootLegalEntityId.value, flowName),
|
|
69
|
+
...options
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region src/api/draft/useUpdateDraft.ts
|
|
74
|
+
var updateDraft = async (legalEntityId, flowName, data) => {
|
|
75
|
+
const key = `${legalEntityId}/${flowName}`;
|
|
76
|
+
try {
|
|
77
|
+
window.localStorage.setItem(key, JSON.stringify(data));
|
|
78
|
+
return data;
|
|
79
|
+
} catch {
|
|
80
|
+
return data;
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
var useUpdateDraft = (flowName, options) => {
|
|
84
|
+
const { rootLegalEntityId } = useApiContext();
|
|
85
|
+
return useMutation({
|
|
86
|
+
mutationFn: (data) => updateDraft(rootLegalEntityId.value, flowName, data),
|
|
87
|
+
...options
|
|
88
|
+
});
|
|
89
|
+
};
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region src/utils/deepMerge.ts
|
|
92
|
+
var deepMerge = (obj1, obj2) => {
|
|
93
|
+
for (const key in obj2) if (Object.prototype.hasOwnProperty.call(obj2, key)) {
|
|
94
|
+
if (obj2[key] instanceof Object && obj1[key] instanceof Object) obj1[key] = deepMerge(obj1[key], obj2[key]);
|
|
95
|
+
else obj1[key] = obj2[key];
|
|
96
|
+
}
|
|
97
|
+
return obj1;
|
|
98
|
+
};
|
|
99
|
+
//#endregion
|
|
100
|
+
//#region src/components/Shared/SaveForLater/draftMetadata.ts
|
|
101
|
+
/**
|
|
102
|
+
* Before submitting draf data to the api, it needs to be wrapped in some metadata
|
|
103
|
+
*/
|
|
104
|
+
var createDraftItem = (flowName, data) => {
|
|
105
|
+
return {
|
|
106
|
+
flowIntent: flowName,
|
|
107
|
+
payload: data
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Extracts only the relevant data from a draft item, skipping metadata
|
|
112
|
+
*/
|
|
113
|
+
var getDraftItemData = (data) => {
|
|
114
|
+
return data.payload;
|
|
115
|
+
};
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region src/components/Shared/SaveForLater/useSaveForLater.ts
|
|
118
|
+
/**
|
|
119
|
+
* Saves and restores save-for-later drafts
|
|
120
|
+
*/
|
|
121
|
+
var useSaveForLater = ({ form, activeForms, existingData = {}, flowName, isRestoreReady = true, onDraftSaved, mapFormDataToDraft, mapSavedDraftToFormData }) => {
|
|
122
|
+
const { t } = useTranslation("common");
|
|
123
|
+
const { showToast } = useToastContext();
|
|
124
|
+
const { rootLegalEntityId } = useApiContext();
|
|
125
|
+
const { isFeatureEnabled } = useToggleContext();
|
|
126
|
+
const isSaveForLaterEnabled = isFeatureEnabled(FeatureNames.SaveForLater);
|
|
127
|
+
const queryClient = useQueryClient();
|
|
128
|
+
const [isSavingForLater, setIsSavingForLater] = useState(false);
|
|
129
|
+
const promptedFlowName = useRef();
|
|
130
|
+
const { data: savedDraft, isSuccess: hasLoadedSavedDraft } = useGetDraft(flowName, { enabled: isSaveForLaterEnabled });
|
|
131
|
+
const { mutateAsync: createDraft } = useCreateDraft(flowName);
|
|
132
|
+
const { mutateAsync: updateDraft } = useUpdateDraft(flowName);
|
|
133
|
+
const restoreDraft = useCallback((draftPayload) => {
|
|
134
|
+
const draftFormData = mapSavedDraftToFormData(draftPayload);
|
|
135
|
+
const activeFormIds = new Set(activeForms.map(({ formId }) => formId));
|
|
136
|
+
Object.entries(draftFormData).forEach(([formName, formData]) => {
|
|
137
|
+
if (!activeFormIds.has(formName) || !formData || typeof formData !== "object" || Array.isArray(formData)) return;
|
|
138
|
+
Object.entries(formData).forEach(([fieldName, value]) => form.setData(formName, fieldName, value));
|
|
139
|
+
});
|
|
140
|
+
}, [
|
|
141
|
+
form,
|
|
142
|
+
activeForms,
|
|
143
|
+
mapSavedDraftToFormData
|
|
144
|
+
]);
|
|
145
|
+
const draftKey = `${rootLegalEntityId.value}/${flowName}`;
|
|
146
|
+
/**
|
|
147
|
+
* A saved draft is restored automatically as soon as the form it applies to is ready. The toast
|
|
148
|
+
* includes the draft key for debugging.
|
|
149
|
+
*/
|
|
150
|
+
useEffect(() => {
|
|
151
|
+
if (!isSaveForLaterEnabled || !isRestoreReady || !hasLoadedSavedDraft || promptedFlowName.current === flowName) return;
|
|
152
|
+
promptedFlowName.current = flowName;
|
|
153
|
+
const savedPayload = savedDraft && getDraftItemData(savedDraft);
|
|
154
|
+
if (savedPayload) {
|
|
155
|
+
restoreDraft(savedPayload);
|
|
156
|
+
showToast({
|
|
157
|
+
label: `Restored draft data. [key=${draftKey}]`,
|
|
158
|
+
variant: "info"
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
}, [
|
|
162
|
+
draftKey,
|
|
163
|
+
flowName,
|
|
164
|
+
hasLoadedSavedDraft,
|
|
165
|
+
isRestoreReady,
|
|
166
|
+
isSaveForLaterEnabled,
|
|
167
|
+
restoreDraft,
|
|
168
|
+
savedDraft,
|
|
169
|
+
showToast
|
|
170
|
+
]);
|
|
171
|
+
const handleSaveForLater = async () => {
|
|
172
|
+
if (!isSaveForLaterEnabled) return;
|
|
173
|
+
setIsSavingForLater(true);
|
|
174
|
+
try {
|
|
175
|
+
const dataToSave = deepMerge(structuredClone(existingData), mapFormDataToDraft(form.data));
|
|
176
|
+
const hasDraft = hasLoadedSavedDraft && savedDraft !== null;
|
|
177
|
+
const draftItem = createDraftItem(flowName, dataToSave);
|
|
178
|
+
await (hasDraft ? updateDraft : createDraft)(draftItem);
|
|
179
|
+
queryClient.setQueryData(getDraftQueryKey(rootLegalEntityId.value, flowName), draftItem);
|
|
180
|
+
showToast({
|
|
181
|
+
label: t(($) => $["draftSaved"]),
|
|
182
|
+
variant: "success"
|
|
183
|
+
});
|
|
184
|
+
onDraftSaved?.();
|
|
185
|
+
} catch {
|
|
186
|
+
showToast({
|
|
187
|
+
label: t(($) => $["failedToSave"]),
|
|
188
|
+
variant: "error"
|
|
189
|
+
});
|
|
190
|
+
} finally {
|
|
191
|
+
setIsSavingForLater(false);
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
return {
|
|
195
|
+
handleSaveForLater,
|
|
196
|
+
isSavingForLater
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
//#endregion
|
|
200
|
+
export { SaveForLaterButton as n, useSaveForLater as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9c48350c-6563-4491-96b8-bf2f32a31cc7", e._sentryDebugIdIdentifier = "sentry-dbid-9c48350c-6563-4491-96b8-bf2f32a31cc7");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
5
|
+
import { a as useAnalyticsContext } from "./useId-BV444pyC.js";
|
|
6
6
|
import { useRef } from "preact/hooks";
|
|
7
7
|
//#region src/hooks/useTaskLandedEvent.ts
|
|
8
8
|
/**
|
|
@@ -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] = "fdaf1d02-24bc-48c0-8975-4bdf45b70586", e._sentryDebugIdIdentifier = "sentry-dbid-fdaf1d02-24bc-48c0-8975-4bdf45b70586");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
|
|
6
6
|
import { s as getOwnEntityAssociations } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
7
7
|
import { t as TrustMemberTypes } from "./trustMemberType-Ix2sf6e_.js";
|
|
8
|
-
import { i as useToggleContext } from "./Checkbox-
|
|
8
|
+
import { i as useToggleContext } from "./Checkbox-CyMoenl6.js";
|
|
9
9
|
import { n as useAssociatedLegalEntity } from "./getFormSlice-CxtXJ0-P.js";
|
|
10
10
|
import { n as getLegalEntityNameBasedOnType } from "./getName-Cii7OyRd.js";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
@@ -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] = "64474bee-e486-4c96-8b75-46c62ae79034", e._sentryDebugIdIdentifier = "sentry-dbid-64474bee-e486-4c96-8b75-46c62ae79034");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
|
|
6
6
|
import { s as getOwnEntityAssociations } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
7
7
|
import { n as useAssociatedLegalEntity } from "./getFormSlice-CxtXJ0-P.js";
|
|
8
|
-
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporatedPartnership-
|
|
8
|
+
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporatedPartnership-E0Wffo2-.js";
|
|
9
9
|
import { n as getLegalEntityNameBasedOnType } from "./getName-Cii7OyRd.js";
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
11
|
//#region src/components/UnincorporatedPartnership/utils/unincorporatedPartnershipMembers.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0f93559b-b3e8-46fe-aed2-50b0caa00a3a", e._sentryDebugIdIdentifier = "sentry-dbid-0f93559b-b3e8-46fe-aed2-50b0caa00a3a");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { f as addressFields } from "./StateField-
|
|
5
|
+
import { f as addressFields } from "./StateField-DgYpF1_M.js";
|
|
6
6
|
import { t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
7
7
|
//#region src/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.ts
|
|
8
8
|
/**
|
|
@@ -1,12 +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] = "55e45e43-8be5-4db7-a959-f3f80e971e78", e._sentryDebugIdIdentifier = "sentry-dbid-55e45e43-8be5-4db7-a959-f3f80e971e78");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
6
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
7
|
-
import { t as Button } from "./Button-
|
|
8
|
-
import {
|
|
9
|
-
import { t as useId } from "./useId-MW2hvVJz.js";
|
|
7
|
+
import { t as Button } from "./Button-EhGM-oCO.js";
|
|
8
|
+
import { a as useAnalyticsContext, n as Modal, t as useId } from "./useId-BV444pyC.js";
|
|
10
9
|
import { useEffect, useState } from "preact/hooks";
|
|
11
10
|
import cx from "classnames";
|
|
12
11
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,12 +1,12 @@
|
|
|
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] = "cfe60aaa-72ba-4602-8faf-d80908c5fa32", e._sentryDebugIdIdentifier = "sentry-dbid-cfe60aaa-72ba-4602-8faf-d80908c5fa32");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
6
6
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
7
7
|
import { t as getCapabilities } from "./processCapabilities-B75YIdXZ.js";
|
|
8
8
|
import { d as hasOwnEntityAssociationOfType } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
9
|
-
import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-
|
|
9
|
+
import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-DEWA3MWe.js";
|
|
10
10
|
import { a as TRUST_COUNTRIES, i as SOLE_PROP_COUNTRIES, t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./legalArrangementUtils-CHlmmcB8.js";
|
|
11
11
|
//#region src/components/Shared/forms/BusinessTypeSelection/utils.ts
|
|
12
12
|
var BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "211a527d-2ba6-400d-bb59-c81a109d5b98", e._sentryDebugIdIdentifier = "sentry-dbid-211a527d-2ba6-400d-bb59-c81a109d5b98");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as addressValidators } from "./validate-
|
|
5
|
+
import { t as addressValidators } from "./validate-Dtlyak_C.js";
|
|
6
6
|
import { t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
7
7
|
//#region src/components/EFP/tasks/BusinessFinancingDropin/validate.ts
|
|
8
8
|
var validateLegalEntityIdentifier = (legalEntityIdentifier) => {
|
|
@@ -1,20 +1,20 @@
|
|
|
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] = "856e02a6-2ddf-4c74-967c-d4f19d4b0d37", e._sentryDebugIdIdentifier = "sentry-dbid-856e02a6-2ddf-4c74-967c-d4f19d4b0d37");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { ct as isEmpty, yt as useLocalStorage } from "./registerEmbed-DQqTWYX2.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
9
9
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
10
10
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
11
|
-
import { i as useToggleContext } from "./Checkbox-
|
|
12
|
-
import {
|
|
13
|
-
import { a as resolveFieldMetadata, i as convertFullToHalf } from "./unincorporatedPartnership-
|
|
14
|
-
import { p as isJapanLocalizationEnabled } from "./StateField-
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-
|
|
11
|
+
import { i as useToggleContext } from "./Checkbox-CyMoenl6.js";
|
|
12
|
+
import { a as useAnalyticsContext, i as KEYBOARD_KEYS } from "./useId-BV444pyC.js";
|
|
13
|
+
import { a as resolveFieldMetadata, i as convertFullToHalf } from "./unincorporatedPartnership-E0Wffo2-.js";
|
|
14
|
+
import { p as isJapanLocalizationEnabled } from "./StateField-DgYpF1_M.js";
|
|
15
|
+
import { C as validateJaKanaLegalCompanyName, S as validateJaHaniLegalCompanyName, c as CountryField } from "./dropinUtils-DBnjaFWb.js";
|
|
16
|
+
import { v as toFullWidth } from "./bafinUtils-CFvCTqAt.js";
|
|
17
|
+
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-4bmqY29I.js";
|
|
18
18
|
import { useEffect, useState } from "preact/hooks";
|
|
19
19
|
import { jsx } from "preact/jsx-runtime";
|
|
20
20
|
import { queryOptions, skipToken, useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
|
|
@@ -219,6 +219,11 @@ var verifyTinQueryOptions = (rootLegalEntityId, baseUrl, data, userEvents, optio
|
|
|
219
219
|
...options
|
|
220
220
|
});
|
|
221
221
|
};
|
|
222
|
+
var useVerifyTin = (data, options) => {
|
|
223
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
224
|
+
const userEvents = useAnalyticsContext();
|
|
225
|
+
return useQuery(verifyTinQueryOptions(rootLegalEntityId.value, baseUrl.value, data, userEvents, options));
|
|
226
|
+
};
|
|
222
227
|
var verifyTin = async (legalEntityId, baseUrl, data) => {
|
|
223
228
|
return httpPost({
|
|
224
229
|
baseUrl,
|
|
@@ -449,4 +454,4 @@ var CountryOfGoverningLawFieldValidation = () => ({ countryOfGoverningLaw: {
|
|
|
449
454
|
errorMessage: "fieldIsRequired"
|
|
450
455
|
} });
|
|
451
456
|
//#endregion
|
|
452
|
-
export { CountryOfGoverningLawField as a, useCompanyTypeExamples as c,
|
|
457
|
+
export { CountryOfGoverningLawField as a, useCompanyTypeExamples as c, verifyTinQueryOptions as d, companySearchQueryOptions as f, useClearCompanyData as g, useStoredStateOrProvince as h, COUNTRY_OF_GOVERNING_LAW_FIELD as i, useCompanySelection as l, trackPerformance as m, COUNTRY_OF_GOVERNING_LAW_POSSIBLE as n, useLegalCompanyNameField as o, useCompanySearch as p, isNormalizedStringMatch as r, localizedLegalCompanyNameFieldConfig as s, CountryOfGoverningLawFieldValidation as t, useVerifyTin as u };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cac69199-d970-4815-baac-ce7fff348ea0", e._sentryDebugIdIdentifier = "sentry-dbid-cac69199-d970-4815-baac-ce7fff348ea0");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { t as Icon } from "./Icon-
|
|
6
|
+
import { t as Icon } from "./Icon-D2IGgB2L.js";
|
|
7
7
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
8
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
9
|
-
import { n as IconButton } from "./Button-
|
|
10
|
-
import {
|
|
9
|
+
import { n as IconButton } from "./Button-EhGM-oCO.js";
|
|
10
|
+
import { a as useAnalyticsContext } from "./useId-BV444pyC.js";
|
|
11
11
|
import { d as isNewlyUploadedFile } from "./documentUtils-6K3LdjjN.js";
|
|
12
12
|
import { useEffect } from "preact/hooks";
|
|
13
13
|
import cx from "classnames";
|
|
@@ -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] = "d5548373-5ab3-4bc8-9b85-4e35fc1890d5", e._sentryDebugIdIdentifier = "sentry-dbid-d5548373-5ab3-4bc8-9b85-4e35fc1890d5");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
5
|
+
import { H as ADDRESS_VALID_CHAR_REGEX, J as NO_ALPHABET_UNICODE_REGEX, Q as chomeAndBanchiValidator, U as EMOJI_REGEX, at as hasRepeatedCharacters, ft as isValidMinLength, it as hasMaximumTwoRepeatedCharacters, ot as hasText, pt as matchesRegex, q as NO_ALPHABET_REGEX, ut as isInvalidName } from "./registerEmbed-DQqTWYX2.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
8
|
-
import { n as countrySpecificFormatters } from "./InputDate-
|
|
8
|
+
import { n as countrySpecificFormatters } from "./InputDate-PcZy5N0W.js";
|
|
9
9
|
//#region src/utils/regex/postalCodePatterns.ts
|
|
10
10
|
var createRegExpByDigits = (digits) => new RegExp(`^\\d{${digits}}$`);
|
|
11
11
|
var postalCodePatterns = {
|
|
@@ -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] = "9759fe6c-d0f1-4aad-912d-6cf7d2cf3e53", e._sentryDebugIdIdentifier = "sentry-dbid-9759fe6c-d0f1-4aad-912d-6cf7d2cf3e53");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
|
-
import { n as IconButton, t as Button } from "./Button-
|
|
8
|
+
import { n as IconButton, t as Button } from "./Button-EhGM-oCO.js";
|
|
9
9
|
import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
10
10
|
import { a as objectsDeepEqual, c as valuesOf, s as keysOf } from "./genUtils-nphCwt1A.js";
|
|
11
11
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
@@ -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] = "4b9bdad1-dbd7-4b4f-a2c5-5637b3818635", e._sentryDebugIdIdentifier = "sentry-dbid-4b9bdad1-dbd7-4b4f-a2c5-5637b3818635");
|
|
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/warning-circle-fill.svg?component
|
|
7
7
|
var SvgWarningCircleFill = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
9
|
width: 16,
|