@adyen/kyc-components 4.25.2 → 4.26.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-DKuivE0m.js → 4-people-CAxQpi_3.js} +2 -2
- package/dist/{AcceptTermsOfServiceWorkflow-BKWCrZdZ.js → AcceptTermsOfServiceWorkflow-Dqbo6l6E.js} +4 -4
- package/dist/{Accordion-D_DOaWj2.js → Accordion-BAdwrgCR.js} +4 -24
- package/dist/{AccountSetupRejected-BtcxtVKO.js → AccountSetupRejected-BiFdVnlI.js} +3 -4
- package/dist/{NodeRenderer-Z10yF5MV.js → AdaptiveWorkflow-Cl6sIKYm.js} +87 -34
- package/dist/{AdaptiveWorkflowComponent-C4Q6NVtv.js → AdaptiveWorkflowComponent-DTvjszP9.js} +32 -33
- package/dist/{AddressFields-CFG2_P0x.js → AddressFields-DSJ_dDIS.js} +21 -27
- package/dist/{Avatar-k5lNd5KG.js → Avatar-C2zeqSSB.js} +10 -8
- package/dist/{BusinessFinancingDropin-BjTnxk__.js → BusinessFinancingDropin-BZsQMeo9.js} +61 -71
- package/dist/{BusinessFinancingPage-C4dAslMp.js → BusinessFinancingPage-BilT7QB1.js} +7 -7
- package/dist/{BusinessRegistrationNumberField-Dz1uGvRQ.js → BusinessRegistrationNumberField-CBEz-yoj.js} +7 -8
- package/dist/{BusinessRegistrationNumberFieldGroup-BFPrFa1_.js → BusinessRegistrationNumberFieldGroup-CkoC1zF3.js} +7 -8
- package/dist/{BusinessTypeSelectionPage-DeWD37jR.js → BusinessTypeSelectionPage-CIO175KD.js} +16 -17
- package/dist/{Button-BxdC8cVB.js → Button-Dwr6jvJZ.js} +2 -2
- package/dist/Checkbox-CpzEl3ji.js +114 -0
- package/dist/{ComponentGroup-S6c3rVoX.js → ComponentGroup-BjjCPKWY.js} +4 -4
- package/dist/{ConstitutionalDocument-CNNhKkzD.js → ConstitutionalDocument-C_ZgPp87.js} +25 -28
- package/dist/{ContactDetails-_HCOKj3-.js → ContactDetails-DHHlpdct.js} +8 -13
- package/dist/{ContextGuidance-v-d9RQuo.js → ContextGuidance-SHSxyen7.js} +3 -3
- package/dist/CountryField-DUANNyWK.js +56 -0
- package/dist/{Currency-3Z9i_AhY.js → Currency-DFgCZFeZ.js} +10 -12
- package/dist/{CustomerSupport-B0UJHtAq.js → CustomerSupport-8Gp9EPcW.js} +17 -17
- package/dist/DateField-DfkL_Acw.js +73 -0
- package/dist/{DebugModal-CR4CRxIH.js → DebugModal-DrmTRJup.js} +12 -17
- package/dist/{DecisionMakerDetails-RF9BoMYF.js → DecisionMakerDetails-DSuWWQR3.js} +21 -24
- package/dist/{DecisionMakerDetailsPage-DY0nuFUI.js → DecisionMakerDetailsPage-DvaF8JWQ.js} +43 -40
- package/dist/{DecisionMakers-qRoXooYA.js → DecisionMakers-HjFvfukQ.js} +55 -61
- package/dist/{DetailViewLayout-DNCGEd7b.js → DetailViewLayout-DJgAzdlZ.js} +8 -6
- package/dist/{Dropzone-cewfCgXt.js → Dropzone-CM9xNqdS.js} +8 -8
- package/dist/EmailField-CIMaH5h8.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-mOKgAoTo.js} +7 -7
- package/dist/{ErrorPanel-PefRq1M4.js → ErrorPanel-MWL7vQHx.js} +24 -19
- package/dist/{GlobalEntryModal-De-1eJCW.js → GlobalEntryModal-CLTA41r-.js} +191 -75
- package/dist/{GlobalEntryPage-D8fuYItP.js → GlobalEntryPage-CxXk05KE.js} +10 -10
- package/dist/Icon-_YUEZg1p.js +175 -0
- package/dist/{IdentityNumber-Cz6-4YcM.js → IdentityNumber-DA8DOgxH.js} +10 -12
- package/dist/{IdentityNumberFieldGroup-D2PV_4A5.js → IdentityNumberFieldGroup-D4MTWr-z.js} +16 -14
- package/dist/{IdentityScreeningWorkflow-mbcaIctn.js → IdentityScreeningWorkflow-DfI-6mXR.js} +16 -16
- package/dist/{Image-Bn_Yyuof.js → Image-CxnjHtP1.js} +1 -1
- package/dist/{IndividualDropin-Bg0cL1Rf.js → IndividualDropin-B70zK0AA.js} +266 -281
- package/dist/{IndustryCodeFieldGroup-DmOqxPIg.js → IndustryCodeFieldGroup-CHPfvz-_.js} +9 -10
- package/dist/{InputDate-B0RNGCq2.js → InputDate-BSxqqg_B.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-DIesIpnW.js} +42 -4
- package/dist/{Introduction-DFW6EaLG.js → Introduction--U4NyUxq.js} +9 -9
- package/dist/{InvitedDecisionMakerComponent-B-ey6hBS.js → InvitedDecisionMakerComponent-DIBX_HRF.js} +45 -45
- package/dist/{JpAddressFields-CzGnXBMk.js → JpAddressFields-OgKOVHI0.js} +13 -13
- package/dist/{LegalCompanyNameField-CV2EgRCw.js → LegalCompanyNameField-wgWJRR84.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BDG0ML64.js → LegalRepresentativeDetailsPage-BFtn7wzQ.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-C-T-spfu.js} +25 -5
- package/dist/{Name-BfQr3et_.js → Name-C8NOxqDE.js} +5 -5
- package/dist/NumberField-CUGWeVc9.js +60 -0
- package/dist/{PatriotActDisclosure-BNAsJXEL.js → PatriotActDisclosure-CWcGyfuA.js} +11 -12
- package/dist/{PayoutDetailsDropin-NyizAaYy.js → PayoutDetailsDropin-CZT8xUPC.js} +163 -158
- package/dist/{PayoutDetailsPage-CoE94WE6.js → PayoutDetailsPage-C54-v6yl.js} +10 -9
- package/dist/{Review-CzgmjDcZ.js → Review-CYIwvp62.js} +25 -24
- package/dist/{RootBusinessDetailsPage-MdKN-iNS.js → RootBusinessDetailsPage-CI8iAty4.js} +9 -7
- package/dist/{RootBusinessLinesPage-Dv1uT7OS.js → RootBusinessLinesPage-ZPaIqKwi.js} +48 -53
- package/dist/{RootIndividualDetailsPage-PkcLN0El.js → RootIndividualDetailsPage-ApOJRs0B.js} +42 -39
- package/dist/{Select-prMx73V9.js → Select-DwuMMZWv.js} +330 -19
- package/dist/{SignPCIComponent-CIkdVNH2.js → SignPCIComponent-B4D4nPDO.js} +19 -23
- package/dist/{SingpassSelection-B6NONcr4.js → SingpassSelection-vy5Stz5H.js} +7 -7
- package/dist/Skeleton-7xDqhYr-.js +30 -0
- package/dist/{SoleProprietorshipPage-_aY8GRDx.js → SoleProprietorshipPage-dyEpmmk3.js} +7 -7
- package/dist/{SourceOfFundsPage-B5nZ3MjN.js → SourceOfFundsPage-DgCWI7Ac.js} +46 -58
- package/dist/{SourceOfFundsWorkflow-IkLZG9JI.js → SourceOfFundsWorkflow-CdOOLWqA.js} +4 -4
- package/dist/{StackLayout-IUdNMDgW.js → StackLayout-J1ynSX-P.js} +6 -5
- package/dist/{utils-lIizXlcC.js → StateField-BMyu6YZZ.js} +89 -3
- package/dist/{Step-BJh4XZae.js → Step-Cqaytd3J.js} +19 -13
- package/dist/SummarySection-BVPfXtuP.js +60 -0
- package/dist/{Task-yQcY16x1.js → Task-CegWZQgV.js} +8 -8
- package/dist/{TaskGroup-C9iFHpux.js → TaskGroup-BqSUUr1i.js} +5 -5
- package/dist/{TaskListItem-ChlmCIfF.js → TaskListItem-CvYgXREa.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-lT5OgO75.js} +19 -18
- package/dist/{TaxReportingDropin-Cq3gBWtp.js → TaxReportingDropin-C9jUzNzP.js} +22 -26
- package/dist/{TaxReportingWorkflow-flQPRAPy.js → TaxReportingWorkflow-C3qyl3rW.js} +4 -4
- package/dist/{TermsOfServiceManagement-BM5K4cpw.js → TermsOfServiceManagement-DfFV6erX.js} +21 -30
- package/dist/{TextArea-C12oXMzX.js → TextArea-CQIt_2VI.js} +5 -5
- package/dist/TextField-C8CRipRJ.js +73 -0
- package/dist/{TrustDetailsPage-z7s9FxVC.js → TrustDetailsPage-Ax5uaglT.js} +59 -67
- package/dist/{TrustMemberCompanyPage-6yLYDall.js → TrustMemberCompanyPage-DBxTZo-8.js} +8 -8
- package/dist/{TrustMemberIndividualPage-Dlt0O4MR.js → TrustMemberIndividualPage-DFhWDN3f.js} +35 -34
- package/dist/{TrustMemberRoleAndTypePage-DIwrtOWr.js → TrustMemberRoleAndTypePage-Bdoyd1ix.js} +23 -30
- package/dist/{TrustMembersOverview-CowTgfIb.js → TrustMembersOverview-BCdJRHAn.js} +18 -22
- package/dist/{UboTaskItem-CZLDzQil.js → UboTaskItem-DIIoWLbx.js} +8 -8
- package/dist/{UnincorporatedPartnershipIndividualPage-tHoVsMAA.js → UnincorporatedPartnershipIndividualPage-B20wDAzH.js} +35 -34
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-B-wcypiJ.js → UnincorporatedPartnershipMemberCompanyPage-DvcQYNzd.js} +8 -8
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-D973uyHj.js → UnincorporatedPartnershipMemberRoleAndTypePage-Dx1pRB4b.js} +14 -16
- package/dist/{UnincorporatedPartnershipMembersOverview-5w1BrDMI.js → UnincorporatedPartnershipMembersOverview-C0cRXnsL.js} +11 -14
- package/dist/VerificationErrorAlert-D0K9gep-.js +68 -0
- package/dist/WebsiteField-Bgf9bYOR.js +62 -0
- package/dist/{Workflow-CF-HUIjR.js → Workflow-DxRS9IMd.js} +9 -9
- package/dist/{accountHolderUtils-CAu4V0ed.js → accountHolderUtils-QdO9D_A_.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-CW20t7tP.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-DR4IoRWH.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-C0hhy3A9.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-m4DJ8d3r.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-DaLzvm8o.js} +90 -5
- package/dist/{formatValidationError-z2D5oU1e.js → formatValidationError-CwtW9tMt.js} +2 -2
- package/dist/fr-FR-DMPXwPYV.js +7 -0
- package/dist/{getDefaultRegistrationNumberType-BNO2BcfK.js → getDefaultRegistrationNumberType-CVVuCd8E.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-RnMEkCKd.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-Dpsnbt5H.js} +2 -2
- package/dist/{mapExistingFile-RrS8dCpX.js → mapExistingFile-BXfeQxev.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-wwD6Rp3Q.js → mapJpAddressSchemaToAddressLocalizations-CAoOxUg9.js} +16 -15
- package/dist/{mapLegalEntityToIndividualSchema-DtT3pcZJ.js → mapLegalEntityToIndividualSchema-Bl89JIZK.js} +12 -13
- package/dist/{mapTransferInstrumentToPayoutAccount-BpXU-nP1.js → mapTransferInstrumentToPayoutAccount-6aBAKF7U.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-CcgBvwPJ.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-DwfwgVEU.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-BDcLKqSN.js → useBusinessDetailsData-D1DJeC90.js} +125 -149
- package/dist/{useBusinessLines-BhSN6qCH.js → useBusinessLines-0FcuDMzo.js} +1 -1
- package/dist/{useCanSeeIntroduction-BLGY7sE-.js → useCanSeeIntroduction-CvLOidr8.js} +5 -5
- package/dist/{useDataMissingRemediations-ttUrk09_.js → useDataMissingRemediations-DKjYzfe2.js} +3 -3
- package/dist/{useForm-BFeaSvlP.js → useForm-B5MdX_HU.js} +6 -6
- package/dist/{useHideTaskStepper-C_w6iUY-.js → useHideTaskStepper-BgCN--mG.js} +1 -1
- package/dist/{invalidateRootLegalEntity-B97dCa-s.js → useId-DbtfzzaE.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-BdAQG04P.js → useNavigate-uuRpGZuZ.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-XZRfoa6v.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-DzsLZguJ.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-xuXOS0a8.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-BD22komZ.js +214 -0
- package/dist/{utils-SKYT7xU4.js → utils-BFxg3gPM.js} +2 -2
- package/dist/{utils-D8pwjFm5.js → utils-CtCqc_ym.js} +5 -6
- package/dist/{validate-BBVJuFm5.js → validate-83HsNk18.js} +15 -17
- package/dist/{validate-t6pT7AaZ.js → validate-DNq64o-B.js} +3 -3
- package/dist/{validate-Bkpa-y5Q.js → validate-mbqt6wsS.js} +7 -7
- package/dist/{validate-Dmdw3pYn.js → validate-r2j-Yc-q.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-Tnw3ytcJ.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
package/dist/types-CZAHRt31.js
DELETED
|
@@ -1,147 +0,0 @@
|
|
|
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] = "78785da8-b903-4ad8-b158-c91797424d92", e._sentryDebugIdIdentifier = "sentry-dbid-78785da8-b903-4ad8-b158-c91797424d92");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
var PropFeatureNames = {
|
|
6
|
-
/**
|
|
7
|
-
* Passed in from uo sdk, TODO: move to settings
|
|
8
|
-
*/
|
|
9
|
-
EnableEInvoicingCodeField: "EnableEInvoicingCodeField",
|
|
10
|
-
HidePayoutAccountTask: "HidePayoutAccountTask",
|
|
11
|
-
ShowExtraTaxExemptionReasons: "ShowExtraTaxExemptionReasons",
|
|
12
|
-
/**
|
|
13
|
-
* Old features
|
|
14
|
-
*/
|
|
15
|
-
AllowMoreRolesForMainRootTrustee: "AllowMoreRolesForMainRootTrustee",
|
|
16
|
-
EnablePhoneFieldScenario: "EnablePhoneFieldScenario",
|
|
17
|
-
ShowUnsupportedEntityType: "ShowUnsupportedEntityType"
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* Features which are returned from a call made to onboardingcomponents for feature flags and experiments (see `useToggles`).
|
|
21
|
-
* These are enabled/disabled via our feature framework and are intended to be short-lived. Used for feature rollout purposes.
|
|
22
|
-
* Defined in the BE (`OnboardingcomponentsFeatures.java`).
|
|
23
|
-
*/
|
|
24
|
-
var FeatureFrameworkFeatureNames = {
|
|
25
|
-
/**
|
|
26
|
-
* OXP-6596: Enable Bank Document Classification in HO
|
|
27
|
-
*/
|
|
28
|
-
EnableBankDocumentClassification: "EnableBankDocumentClassification",
|
|
29
|
-
/**
|
|
30
|
-
* OXP-6596: Enable Bank Document Classification in ShadowMode in HO
|
|
31
|
-
*/
|
|
32
|
-
EnableBankDocumentClassificationShadowMode: "EnableBankDocumentClassificationShadowMode",
|
|
33
|
-
/**
|
|
34
|
-
* OXP-6032: Enable editing a single business line
|
|
35
|
-
*/
|
|
36
|
-
EnableDeleteBusinessLines: "EnableDeleteBusinessLines",
|
|
37
|
-
/**
|
|
38
|
-
* OXP-6799: Enable limit to a single business line
|
|
39
|
-
*/
|
|
40
|
-
EnableLimitToSingleBusinessLine: "EnableLimitToSingleBusinessLine",
|
|
41
|
-
/**
|
|
42
|
-
* OXP-6032: Enable editing a single business line
|
|
43
|
-
*/
|
|
44
|
-
EnableModifyBusinessLines: "EnableModifyBusinessLines",
|
|
45
|
-
/**
|
|
46
|
-
* Enable "Verify by Invite" flow for decision makers in Identity Verification
|
|
47
|
-
*/
|
|
48
|
-
EnableVerifyByInvite: "EnableVerifyByInvite",
|
|
49
|
-
/**
|
|
50
|
-
* Use the status calculated on the backend for the payout task.
|
|
51
|
-
* If false, instead compute the status from capabilities and problems on the root LE.
|
|
52
|
-
*/
|
|
53
|
-
UseTaskStatusApiForPayout: "UseTaskStatusApiForPayout",
|
|
54
|
-
/**
|
|
55
|
-
OXP-6566: Create new payout intro screen
|
|
56
|
-
*/
|
|
57
|
-
EnableBankAccountDetailsLandingPage: "EnableBankAccountDetailsLandingPage",
|
|
58
|
-
/**
|
|
59
|
-
Enable AWE generated UI for PoC
|
|
60
|
-
*/
|
|
61
|
-
EnableAdaptivePoc: "EnableAdaptivePoc",
|
|
62
|
-
/**
|
|
63
|
-
* OXP-7774: Enable LEI field in Business Details Task
|
|
64
|
-
*/
|
|
65
|
-
EnableLegalEntityIdentifierField: "EnableLegalEntityIdentifierField",
|
|
66
|
-
/**
|
|
67
|
-
* OXP-7836: Enable bank account type selection for US payout details
|
|
68
|
-
*/
|
|
69
|
-
EnableUSBankAccountTypeSelection: "EnableUSBankAccountTypeSelection"
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Features which are returned from a call made to onboardingcomponents for version-specific features. (see `useVersions`).
|
|
73
|
-
* Version specific features are tied to the specific onboarding/LEM version (ex. v4-specific features) rather than for feature rollout purposes.
|
|
74
|
-
* Defined in the BE (`VersionSpecificToggle.java`).
|
|
75
|
-
*/
|
|
76
|
-
var VersionFeatureNames = {
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
*/
|
|
80
|
-
EnableAgeVerification: "EnableAgeVerification",
|
|
81
|
-
/**
|
|
82
|
-
* Allows users to specify a 'Country of Governing Law' for UK companies
|
|
83
|
-
* within Business Details Task
|
|
84
|
-
*/
|
|
85
|
-
EnableCountryOfGoverningLawForUKCompanies: "EnableCountryOfGoverningLawForUKCompanies",
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
*/
|
|
89
|
-
EnableDoingBusinessAsNameV4: "EnableDoingBusinessAsNameV4",
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
*/
|
|
93
|
-
EnableFinancialInformationComponentV4: "EnableFinancialInformationComponentV4",
|
|
94
|
-
/**
|
|
95
|
-
* Enables localization for Japan
|
|
96
|
-
*/
|
|
97
|
-
EnableJapanLocalization: "EnableJapanLocalization",
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
*/
|
|
101
|
-
EnableNationalitySGHK: "EnableNationalitySGHK",
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
*/
|
|
105
|
-
EnableRegistrationAndTaxAbsentStatesV4: "EnableRegistrationAndTaxAbsentStatesV4",
|
|
106
|
-
/**
|
|
107
|
-
* OXP-7814: Allows businesses to declare that their registered business address
|
|
108
|
-
* is a personal address or PO box
|
|
109
|
-
*/
|
|
110
|
-
EnableResidentialAddressIndicator: "EnableResidentialAddressIndicator",
|
|
111
|
-
/**
|
|
112
|
-
*
|
|
113
|
-
*/
|
|
114
|
-
ShowCustomerSupportV4: "ShowCustomerSupportV4",
|
|
115
|
-
/**
|
|
116
|
-
*
|
|
117
|
-
*/
|
|
118
|
-
StrictNameAndAddressValidationV4: "StrictNameAndAddressValidationV4",
|
|
119
|
-
/**
|
|
120
|
-
* OXP-7861: Enable Global Entry Flow
|
|
121
|
-
*/
|
|
122
|
-
EnableGlobalEntryFlow: "EnableGlobalEntryFlow"
|
|
123
|
-
};
|
|
124
|
-
/**
|
|
125
|
-
* Experiments which are returned from a call made to onboardingcomponents for feature flags and experiments (see `useToggles`).
|
|
126
|
-
* Experiments are used to toggle behavior for A/B testing purposes.
|
|
127
|
-
* Defined using the Experimentation Platform in BO.
|
|
128
|
-
*
|
|
129
|
-
* Naming convention: `${ExperimentName}_${TreatmentGroupNameOrControl}` ex. `BankingVerificationExperiment_Treatment1` or `BusinessSearchExperiment_control`
|
|
130
|
-
*/
|
|
131
|
-
var ExperimentNames = {
|
|
132
|
-
/**
|
|
133
|
-
* OXP-7319: Experiment with Forced Manual Payout Flow
|
|
134
|
-
*/
|
|
135
|
-
BankingPayoutFlow_ForcedManualVerification: "BankingPayoutFlow_ForcedManualVerification",
|
|
136
|
-
/**
|
|
137
|
-
* Test a clearer remediation message when a bank document needs review.
|
|
138
|
-
*/
|
|
139
|
-
BankDocumentClassification_WarningMessaging: "BankDocumentClassification_WarningMessaging"
|
|
140
|
-
};
|
|
141
|
-
var FeatureNames = {
|
|
142
|
-
...PropFeatureNames,
|
|
143
|
-
...FeatureFrameworkFeatureNames,
|
|
144
|
-
...VersionFeatureNames
|
|
145
|
-
};
|
|
146
|
-
//#endregion
|
|
147
|
-
export { FeatureNames as n, ExperimentNames as t };
|
|
@@ -1,102 +0,0 @@
|
|
|
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] = "c8561e34-7e6a-4640-bb56-d8e405d927d6", e._sentryDebugIdIdentifier = "sentry-dbid-c8561e34-7e6a-4640-bb56-d8e405d927d6");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
6
|
-
import { s as useApiContext } from "./http-DsJtugN1.js";
|
|
7
|
-
import { useContext, useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
8
|
-
import "preact/jsx-runtime";
|
|
9
|
-
import { createContext } from "preact";
|
|
10
|
-
//#region src/utils/testing/ignoreLocalStorage.tsx
|
|
11
|
-
var IgnoreLocalStorageContext = createContext(false);
|
|
12
|
-
var useIgnoreLocalStorage = () => useContext(IgnoreLocalStorageContext);
|
|
13
|
-
//#endregion
|
|
14
|
-
//#region src/hooks/useLocalStorage.ts
|
|
15
|
-
var logger = createLogger();
|
|
16
|
-
var useLocalStorage = (key, defaultValue, options) => {
|
|
17
|
-
const { serializer, parser, syncData } = useMemo(() => ({
|
|
18
|
-
serializer: JSON.stringify,
|
|
19
|
-
parser: JSON.parse,
|
|
20
|
-
syncData: true,
|
|
21
|
-
...options
|
|
22
|
-
}), [options]);
|
|
23
|
-
const ignoreLocalStorage = useIgnoreLocalStorage() || typeof window === "undefined";
|
|
24
|
-
const rawValueRef = useRef(null);
|
|
25
|
-
const [value, setValue] = useState(() => {
|
|
26
|
-
if (ignoreLocalStorage) return defaultValue;
|
|
27
|
-
try {
|
|
28
|
-
rawValueRef.current = window.localStorage.getItem(key);
|
|
29
|
-
return rawValueRef.current ? parser(rawValueRef.current) : defaultValue;
|
|
30
|
-
} catch (err) {
|
|
31
|
-
logger.error(err);
|
|
32
|
-
return defaultValue;
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
useEffect(() => {
|
|
36
|
-
if (ignoreLocalStorage) return;
|
|
37
|
-
const updateLocalStorage = () => {
|
|
38
|
-
if (value !== void 0) {
|
|
39
|
-
const newValue = serializer(value);
|
|
40
|
-
const oldValue = rawValueRef.current;
|
|
41
|
-
rawValueRef.current = newValue;
|
|
42
|
-
window.localStorage.setItem(key, newValue);
|
|
43
|
-
window.dispatchEvent(new StorageEvent("storage", {
|
|
44
|
-
storageArea: window.localStorage,
|
|
45
|
-
url: window.location.href,
|
|
46
|
-
key,
|
|
47
|
-
newValue,
|
|
48
|
-
oldValue
|
|
49
|
-
}));
|
|
50
|
-
} else {
|
|
51
|
-
window.localStorage.removeItem(key);
|
|
52
|
-
window.dispatchEvent(new StorageEvent("storage", {
|
|
53
|
-
storageArea: window.localStorage,
|
|
54
|
-
url: window.location.href,
|
|
55
|
-
key
|
|
56
|
-
}));
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
try {
|
|
60
|
-
updateLocalStorage();
|
|
61
|
-
} catch (err) {
|
|
62
|
-
logger.error(err);
|
|
63
|
-
}
|
|
64
|
-
}, [value, ignoreLocalStorage]);
|
|
65
|
-
useEffect(() => {
|
|
66
|
-
if (!syncData) return;
|
|
67
|
-
const handleStorageChange = (event) => {
|
|
68
|
-
if (event.key !== key || event.storageArea !== window.localStorage) return;
|
|
69
|
-
try {
|
|
70
|
-
if (event.newValue !== rawValueRef.current) {
|
|
71
|
-
rawValueRef.current = event.newValue;
|
|
72
|
-
setValue(event.newValue ? parser(event.newValue) : void 0);
|
|
73
|
-
}
|
|
74
|
-
} catch (err) {
|
|
75
|
-
logger.error(err);
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
if (ignoreLocalStorage) return;
|
|
79
|
-
window.addEventListener("storage", handleStorageChange);
|
|
80
|
-
return () => {
|
|
81
|
-
window.removeEventListener("storage", handleStorageChange);
|
|
82
|
-
};
|
|
83
|
-
}, [
|
|
84
|
-
key,
|
|
85
|
-
syncData,
|
|
86
|
-
ignoreLocalStorage
|
|
87
|
-
]);
|
|
88
|
-
return [value, setValue];
|
|
89
|
-
};
|
|
90
|
-
//#endregion
|
|
91
|
-
//#region src/hooks/useAccountHolder.ts
|
|
92
|
-
var getAccountHolderStorageKey = (legalEntityId) => `ACCOUNT_HOLDER-${legalEntityId}`;
|
|
93
|
-
var useAccountHolder = () => {
|
|
94
|
-
const { rootLegalEntityId } = useApiContext();
|
|
95
|
-
const [accountHolderFromLocalStorage, setAccountHolderIntoLocalStorage] = useLocalStorage(getAccountHolderStorageKey(rootLegalEntityId.value), void 0);
|
|
96
|
-
return {
|
|
97
|
-
accountHolder: accountHolderFromLocalStorage,
|
|
98
|
-
setAccountHolder: setAccountHolderIntoLocalStorage
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
//#endregion
|
|
102
|
-
export { useLocalStorage as n, useAccountHolder as t };
|
|
@@ -1,80 +0,0 @@
|
|
|
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] = "96e86da5-6698-4eda-9288-d7a21c439c03", e._sentryDebugIdIdentifier = "sentry-dbid-96e86da5-6698-4eda-9288-d7a21c439c03");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
|
|
6
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
7
|
-
import { t as SettingsContext } from "./SettingsContext-Dl-9WWCI.js";
|
|
8
|
-
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
9
|
-
import { useContext } from "preact/hooks";
|
|
10
|
-
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
//#region src/api/configurations/useSupportedCountries.ts
|
|
12
|
-
/**
|
|
13
|
-
* Retrieves from the backend information about supported countries
|
|
14
|
-
* linked to the legalEntityId
|
|
15
|
-
*
|
|
16
|
-
* @param id legalEntityId
|
|
17
|
-
* @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
|
|
18
|
-
*/
|
|
19
|
-
var getSupportedCountries = async (legalEntityId, baseUrl) => {
|
|
20
|
-
return httpGet({
|
|
21
|
-
baseUrl,
|
|
22
|
-
path: `legalEntities/${legalEntityId}/configurations/supportedCountries`
|
|
23
|
-
});
|
|
24
|
-
};
|
|
25
|
-
var useSupportedCountries = (options) => {
|
|
26
|
-
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
27
|
-
return useQuery({
|
|
28
|
-
queryKey: ["supportedCountries"],
|
|
29
|
-
queryFn: () => getSupportedCountries(rootLegalEntityId.value, baseUrl.value),
|
|
30
|
-
...options
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
//#endregion
|
|
34
|
-
//#region src/context/SettingsContext/useSetting.ts
|
|
35
|
-
var useSetting = (settingName) => {
|
|
36
|
-
const { getSetting } = useContext(SettingsContext);
|
|
37
|
-
return getSetting(settingName);
|
|
38
|
-
};
|
|
39
|
-
//#endregion
|
|
40
|
-
//#region src/utils/api/useCapabilities.ts
|
|
41
|
-
var useCapabilities = () => {
|
|
42
|
-
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
43
|
-
return rootLegalEntity?.capabilities;
|
|
44
|
-
};
|
|
45
|
-
//#endregion
|
|
46
|
-
//#region src/hooks/useAllowedCountries.ts
|
|
47
|
-
var businessAccountCountries = [
|
|
48
|
-
CountryCodes.Austria,
|
|
49
|
-
CountryCodes.Belgium,
|
|
50
|
-
CountryCodes.Croatia,
|
|
51
|
-
CountryCodes.Cyprus,
|
|
52
|
-
CountryCodes.Estonia,
|
|
53
|
-
CountryCodes.Finland,
|
|
54
|
-
CountryCodes.France,
|
|
55
|
-
CountryCodes.Germany,
|
|
56
|
-
CountryCodes.Greece,
|
|
57
|
-
CountryCodes.Ireland,
|
|
58
|
-
CountryCodes.Italy,
|
|
59
|
-
CountryCodes.Latvia,
|
|
60
|
-
CountryCodes.Lithuania,
|
|
61
|
-
CountryCodes.Luxembourg,
|
|
62
|
-
CountryCodes.Malta,
|
|
63
|
-
CountryCodes.Netherlands,
|
|
64
|
-
CountryCodes.Portugal,
|
|
65
|
-
CountryCodes.Slovakia,
|
|
66
|
-
CountryCodes.Slovenia,
|
|
67
|
-
CountryCodes.Spain,
|
|
68
|
-
CountryCodes.UnitedKingdom,
|
|
69
|
-
CountryCodes.UnitedStates
|
|
70
|
-
];
|
|
71
|
-
var useAllowedCountries = () => {
|
|
72
|
-
const isLimitCountryBusinessAccountCustomersEnabled = Object.keys(useCapabilities() ?? {}).includes("issueBankAccount");
|
|
73
|
-
const acceptedCountriesSetting = useSetting("acceptedCountries");
|
|
74
|
-
const { data } = useSupportedCountries({ enabled: !acceptedCountriesSetting });
|
|
75
|
-
const allowedCountries = acceptedCountriesSetting ?? data?.countries;
|
|
76
|
-
if (!allowedCountries) return;
|
|
77
|
-
return isLimitCountryBusinessAccountCustomersEnabled ? businessAccountCountries.filter((country) => allowedCountries.includes(country)) : allowedCountries;
|
|
78
|
-
};
|
|
79
|
-
//#endregion
|
|
80
|
-
export { useCapabilities as n, useSetting as r, useAllowedCountries as t };
|
|
@@ -1,12 +0,0 @@
|
|
|
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] = "d9cbcf18-b225-4c71-84c0-b78216ad37bf", e._sentryDebugIdIdentifier = "sentry-dbid-d9cbcf18-b225-4c71-84c0-b78216ad37bf");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { t as AnalyticsContext } from "./AnalyticsContext-CpimDlw4.js";
|
|
6
|
-
import { useContext } from "preact/hooks";
|
|
7
|
-
//#region src/context/AnalyticsContext/useAnalyticsContext.tsx
|
|
8
|
-
var useAnalyticsContext = () => {
|
|
9
|
-
return useContext(AnalyticsContext);
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
12
|
-
export { useAnalyticsContext as t };
|
|
@@ -1,24 +0,0 @@
|
|
|
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] = "7bbcbbcd-5935-4626-97b4-2b208e820706", e._sentryDebugIdIdentifier = "sentry-dbid-7bbcbbcd-5935-4626-97b4-2b208e820706");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
6
|
-
import { useMutation } from "@tanstack/preact-query";
|
|
7
|
-
//#region src/api/createLegalEntity/useCreateLegalEntity.ts
|
|
8
|
-
var createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
9
|
-
return httpPost({
|
|
10
|
-
baseUrl,
|
|
11
|
-
path: `legalEntities/${legalEntityId}/create`
|
|
12
|
-
}, data);
|
|
13
|
-
};
|
|
14
|
-
var useCreateLegalEntity = (options) => {
|
|
15
|
-
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
16
|
-
return useMutation({
|
|
17
|
-
mutationFn: (payload) => {
|
|
18
|
-
return createLegalEntity(rootLegalEntityId.value, baseUrl.value, payload);
|
|
19
|
-
},
|
|
20
|
-
...options
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
//#endregion
|
|
24
|
-
export { useCreateLegalEntity as t };
|
|
@@ -1,98 +0,0 @@
|
|
|
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] = "2076f5c2-fa25-4b05-92f8-0c3e6240cfd1", e._sentryDebugIdIdentifier = "sentry-dbid-2076f5c2-fa25-4b05-92f8-0c3e6240cfd1");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
|
-
import { n as datasetUtilities, t as datasetIdentifier } from "./datasetUtil-BdHPWsxZ.js";
|
|
8
|
-
import { useEffect, useState } from "preact/hooks";
|
|
9
|
-
//#region src/datasets/generators/loadCountries.ts
|
|
10
|
-
var logger$1 = createLogger();
|
|
11
|
-
var countriesImports = /* #__PURE__ */ Object.assign({
|
|
12
|
-
"../countries/de-DE.json": () => import("./de-DE-DY_EJohI.js"),
|
|
13
|
-
"../countries/el-GR.json": () => import("./el-GR-zFv0QxMR.js"),
|
|
14
|
-
"../countries/en-US.json": () => import("./en-US-CI7y0UEH.js"),
|
|
15
|
-
"../countries/es-ES.json": () => import("./es-ES-BdByhG4y.js"),
|
|
16
|
-
"../countries/fr-FR.json": () => import("./fr-FR-Doo1FVx-.js"),
|
|
17
|
-
"../countries/it-IT.json": () => import("./it-IT-BFIW0DCO.js"),
|
|
18
|
-
"../countries/ja-JP.json": () => import("./ja-JP-DOuEAOlh.js"),
|
|
19
|
-
"../countries/nl-NL.json": () => import("./nl-NL-BUwMAW5C.js"),
|
|
20
|
-
"../countries/pt-PT.json": () => import("./pt-PT-Du2K44jh.js"),
|
|
21
|
-
"../countries/sv-SE.json": () => import("./sv-SE-DESDUMyu.js")
|
|
22
|
-
});
|
|
23
|
-
var loadCountriesDataset = async (locale) => {
|
|
24
|
-
const importForLocale = countriesImports[`../countries/${locale}.json`];
|
|
25
|
-
if (!importForLocale) {
|
|
26
|
-
logger$1.warn(`No countries dataset for ${locale}, falling back to en-US`);
|
|
27
|
-
return (await import("./en-US-CI7y0UEH.js")).default;
|
|
28
|
-
}
|
|
29
|
-
return (await importForLocale()).default;
|
|
30
|
-
};
|
|
31
|
-
//#endregion
|
|
32
|
-
//#region src/datasets/generators/loadStatesDataset.ts
|
|
33
|
-
var logger = createLogger();
|
|
34
|
-
var statesImports = /* #__PURE__ */ Object.assign({
|
|
35
|
-
"../states/AU/en-US.json": () => import("./en-US-CRoNUEFi.js"),
|
|
36
|
-
"../states/BR/en-US.json": () => import("./en-US-C6sEvgbn.js"),
|
|
37
|
-
"../states/BR/pt-BR.json": () => import("./pt-BR-C3I_7Mcz.js"),
|
|
38
|
-
"../states/CA/en-US.json": () => import("./en-US-D0pPfuzx.js"),
|
|
39
|
-
"../states/JP/en-US.json": () => import("./en-US-BqvVH-Pi.js"),
|
|
40
|
-
"../states/JP/ja-JP.json": () => import("./ja-JP-eKLuhutG.js"),
|
|
41
|
-
"../states/NZ/en-US.json": () => import("./en-US-KKriaTJw.js"),
|
|
42
|
-
"../states/US/en-US.json": () => import("./en-US-t-Z87qeJ.js")
|
|
43
|
-
});
|
|
44
|
-
var loadStatesDataset = async (country, locale) => {
|
|
45
|
-
const importForLocale = statesImports[`../states/${country}/${locale}.json`];
|
|
46
|
-
if (!importForLocale) {
|
|
47
|
-
logger.warn(`No ${country} states dataset for ${locale}, falling back to en-US`);
|
|
48
|
-
const fallbackImport = statesImports[`../states/${country}/en-US.json`];
|
|
49
|
-
return (await fallbackImport()).default;
|
|
50
|
-
}
|
|
51
|
-
return (await importForLocale()).default;
|
|
52
|
-
};
|
|
53
|
-
//#endregion
|
|
54
|
-
//#region src/core/services/agnostic/get-dataset.ts
|
|
55
|
-
var loadDataset = async (identifier, locale) => {
|
|
56
|
-
if (identifier === datasetIdentifier.country) return loadCountriesDataset(locale);
|
|
57
|
-
if (identifier.startsWith("states")) return loadStatesDataset(identifier.slice(identifier.indexOf("/") + 1), locale);
|
|
58
|
-
throw new Error(`Unknown dataset: ${identifier}`);
|
|
59
|
-
};
|
|
60
|
-
var getDataset = async (identifier, locale) => {
|
|
61
|
-
const datasetUtils = datasetUtilities(locale);
|
|
62
|
-
const dataset = datasetUtils.getDataset(identifier);
|
|
63
|
-
if (dataset) return new Promise((resolve) => {
|
|
64
|
-
resolve(dataset);
|
|
65
|
-
});
|
|
66
|
-
return loadDataset(identifier, locale).then((datasetResponse) => {
|
|
67
|
-
datasetUtils.setDataset(identifier, datasetResponse);
|
|
68
|
-
return datasetResponse;
|
|
69
|
-
});
|
|
70
|
-
};
|
|
71
|
-
//#endregion
|
|
72
|
-
//#region src/hooks/useDataset.ts
|
|
73
|
-
function useDataset(datasetIdentifier, skip) {
|
|
74
|
-
const { i18n } = useTranslation();
|
|
75
|
-
const [dataset, setDataset] = useState([]);
|
|
76
|
-
const [loaded, setLoaded] = useState(false);
|
|
77
|
-
useEffect(() => {
|
|
78
|
-
if (skip) return;
|
|
79
|
-
getDataset(datasetIdentifier, i18n.language).then((response) => {
|
|
80
|
-
const result = response && response.length ? response : [];
|
|
81
|
-
setDataset(result);
|
|
82
|
-
}).catch(() => {
|
|
83
|
-
setDataset([]);
|
|
84
|
-
}).finally(() => {
|
|
85
|
-
setLoaded(true);
|
|
86
|
-
});
|
|
87
|
-
}, [
|
|
88
|
-
datasetIdentifier,
|
|
89
|
-
i18n.language,
|
|
90
|
-
skip
|
|
91
|
-
]);
|
|
92
|
-
return {
|
|
93
|
-
dataset,
|
|
94
|
-
loaded
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
//#endregion
|
|
98
|
-
export { useDataset as t };
|
|
@@ -1,31 +0,0 @@
|
|
|
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] = "94e591c2-6e8c-4714-bd89-be411ee1f56a", e._sentryDebugIdIdentifier = "sentry-dbid-94e591c2-6e8c-4714-bd89-be411ee1f56a");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { s as useApiContext, t as httpDelete } from "./http-DsJtugN1.js";
|
|
6
|
-
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-B97dCa-s.js";
|
|
7
|
-
import { useMutation } from "@tanstack/preact-query";
|
|
8
|
-
//#region src/api/transferInstruments/useDeleteTransferInstrument.ts
|
|
9
|
-
var deleteTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
10
|
-
return httpDelete({
|
|
11
|
-
baseUrl,
|
|
12
|
-
path: `legalEntities/${legalEntityId}/transferInstruments/${transferInstrumentId}`
|
|
13
|
-
});
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Deletes a transfer instrument associated with a legal entity
|
|
17
|
-
* @param options additional options passed to Tanstack Query, eg; onSuccess
|
|
18
|
-
*/
|
|
19
|
-
var useDeleteTransferInstrument = (options) => {
|
|
20
|
-
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
21
|
-
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
22
|
-
return useMutation({
|
|
23
|
-
mutationFn: (transferInstrumentId) => deleteTransferInstrument(rootLegalEntityId.value, baseUrl.value, transferInstrumentId),
|
|
24
|
-
onSuccess: async () => {
|
|
25
|
-
await invalidateRootLegalEntity();
|
|
26
|
-
},
|
|
27
|
-
...options
|
|
28
|
-
});
|
|
29
|
-
};
|
|
30
|
-
//#endregion
|
|
31
|
-
export { useDeleteTransferInstrument as t };
|
package/dist/useId-BkDhUta2.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
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] = "9ada7f40-5820-4255-a593-c3c275ea186f", e._sentryDebugIdIdentifier = "sentry-dbid-9ada7f40-5820-4255-a593-c3c275ea186f");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { useState } from "preact/hooks";
|
|
6
|
-
//#region src/utils/uuid.ts
|
|
7
|
-
function uuidv4() {
|
|
8
|
-
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
9
|
-
let r = Math.random() * 16 | 0;
|
|
10
|
-
return (c == "x" ? r : r & 3 | 8).toString(16);
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
//#endregion
|
|
14
|
-
//#region src/utils/useId.ts
|
|
15
|
-
/**
|
|
16
|
-
* We can't use {@link import('preact/hooks').useId} because it doesn't guarantee uniqueness across
|
|
17
|
-
* different render trees. So multiple components mounted on the same page could have collisions.
|
|
18
|
-
*
|
|
19
|
-
* Therefore, we instead calculate a uuid and prepend a prefix.
|
|
20
|
-
*
|
|
21
|
-
* @param prefix a prefix to identify this usage
|
|
22
|
-
*/
|
|
23
|
-
var useId = (prefix) => {
|
|
24
|
-
const [uuid] = useState(uuidv4());
|
|
25
|
-
return `${prefix}_${uuid}`;
|
|
26
|
-
};
|
|
27
|
-
//#endregion
|
|
28
|
-
export { useId as t };
|