@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
|
@@ -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] = "537d9613-36ec-4b67-b284-13bdea691d75", e._sentryDebugIdIdentifier = "sentry-dbid-537d9613-36ec-4b67-b284-13bdea691d75");
|
|
4
4
|
} catch (e) {}
|
|
5
|
+
import { J as chomeAndBanchiValidator, R as ADDRESS_VALID_CHAR_REGEX, U as NO_ALPHABET_REGEX, W as NO_ALPHABET_UNICODE_REGEX, ct as isValidMinLength, et as hasMaximumTwoRepeatedCharacters, lt as matchesRegex, nt as hasText, ot as isInvalidName, tt as hasRepeatedCharacters, z as EMOJI_REGEX } from "./resolveEnvironment-DwfwgVEU.js";
|
|
5
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
6
|
-
import { C as isValidMinLength, _ as hasText, a as NO_ALPHABET_REGEX, g as hasRepeatedCharacters, h as hasMaximumTwoRepeatedCharacters, l as chomeAndBanchiValidator, n as EMOJI_REGEX, o as NO_ALPHABET_UNICODE_REGEX, t as ADDRESS_VALID_CHAR_REGEX, w as matchesRegex, x as isInvalidName } from "./validatorUtils-D2O6AAZn.js";
|
|
7
7
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
8
|
-
import {
|
|
8
|
+
import { n as countrySpecificFormatters } from "./InputDate-BSxqqg_B.js";
|
|
9
9
|
//#region src/utils/regex/postalCodePatterns.ts
|
|
10
10
|
var createRegExpByDigits = (digits) => new RegExp(`^\\d{${digits}}$`);
|
|
11
11
|
var postalCodePatterns = {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b8b2c7fe-359c-4dbb-8903-d53e906b3e0b", e._sentryDebugIdIdentifier = "sentry-dbid-b8b2c7fe-359c-4dbb-8903-d53e906b3e0b");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { t as Icon } from "./Icon-
|
|
5
|
+
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
+
import { t as Icon } from "./Icon-_YUEZg1p.js";
|
|
7
7
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
|
-
import { t as Loader } from "./Loader-
|
|
9
|
-
import { n as IconButton } from "./Button-
|
|
10
|
-
import {
|
|
11
|
-
import { d as isNewlyUploadedFile } from "./documentUtils-
|
|
8
|
+
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
9
|
+
import { n as IconButton } from "./Button-Dwr6jvJZ.js";
|
|
10
|
+
import { i as useAnalyticsContext } from "./Modal-C-T-spfu.js";
|
|
11
|
+
import { d as isNewlyUploadedFile } from "./documentUtils-6K3LdjjN.js";
|
|
12
12
|
import { useEffect } from "preact/hooks";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -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] = "32014c74-625c-4a69-9664-f72be362448e", e._sentryDebugIdIdentifier = "sentry-dbid-32014c74-625c-4a69-9664-f72be362448e");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as addressValidators } from "./validate-
|
|
5
|
+
import { t as addressValidators } from "./validate-DNq64o-B.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,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] = "dbb49c81-74d3-4030-b7b3-3f227b9d84e6", e._sentryDebugIdIdentifier = "sentry-dbid-dbb49c81-74d3-4030-b7b3-3f227b9d84e6");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
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-
|
|
9
|
-
import { r as httpPost, s as useApiContext } from "./http-
|
|
8
|
+
import { n as IconButton, t as Button } from "./Button-Dwr6jvJZ.js";
|
|
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 localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
|
|
12
12
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
@@ -238,9 +238,7 @@ var mapExtractionResultToSchema = (result, restrictCountryOfResidenceTo) => {
|
|
|
238
238
|
schema.additionalPersonalDetails.typeOfIdentity = "passport";
|
|
239
239
|
schema.additionalPersonalDetails.idNumber = documentNumber;
|
|
240
240
|
break;
|
|
241
|
-
default:
|
|
242
|
-
logger.warn(`document type "${documentType}" not recognised`);
|
|
243
|
-
break;
|
|
241
|
+
default: logger.warn(`document type "${documentType}" not recognised`);
|
|
244
242
|
}
|
|
245
243
|
return schema;
|
|
246
244
|
};
|
|
@@ -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] = "7e2be354-3883-41b5-80e7-364b88281617", e._sentryDebugIdIdentifier = "sentry-dbid-7e2be354-3883-41b5-80e7-364b88281617");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
6
|
-
//#region node_modules/.pnpm/@adyen+ui-assets-icons-16@7.
|
|
6
|
+
//#region node_modules/.pnpm/@adyen+ui-assets-icons-16@7.10.0_vue@3.5.41_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,
|
|
@@ -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] = "d5fb5be9-5036-4fc5-a5b4-183b4080f7a6", e._sentryDebugIdIdentifier = "sentry-dbid-d5fb5be9-5036-4fc5-a5b4-183b4080f7a6");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
6
|
-
//#region node_modules/.pnpm/@adyen+ui-assets-icons-16@7.
|
|
6
|
+
//#region node_modules/.pnpm/@adyen+ui-assets-icons-16@7.10.0_vue@3.5.41_typescript@6.0.3_/node_modules/@adyen/ui-assets-icons-16/dist/svg/warning-diamond-filled.svg?component
|
|
7
7
|
var SvgWarningDiamondFilled = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
9
|
width: 16,
|
|
@@ -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] = "f614dffd-696b-4495-8e35-9415aea8b8f1", e._sentryDebugIdIdentifier = "sentry-dbid-f614dffd-696b-4495-8e35-9415aea8b8f1");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
6
|
-
//#region node_modules/.pnpm/@adyen+ui-assets-icons-16@7.
|
|
6
|
+
//#region node_modules/.pnpm/@adyen+ui-assets-icons-16@7.10.0_vue@3.5.41_typescript@6.0.3_/node_modules/@adyen/ui-assets-icons-16/dist/svg/webinar.svg?component
|
|
7
7
|
var SvgWebinar = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
9
|
width: 16,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.26.0-beta.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-for-platforms",
|
|
@@ -73,24 +73,24 @@
|
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@adyen/adyen-document-viewer": "^1.4.5",
|
|
75
75
|
"@adyen/openbankingsdk": "^0.2.3",
|
|
76
|
-
"@adyen/ui-assets-icons-16": "^7.
|
|
77
|
-
"@preact/signals": "^2.
|
|
76
|
+
"@adyen/ui-assets-icons-16": "^7.10.0",
|
|
77
|
+
"@preact/signals": "^2.11.1",
|
|
78
78
|
"@tanstack/preact-form": "1.30.2",
|
|
79
|
-
"@tanstack/preact-query": "^5.
|
|
79
|
+
"@tanstack/preact-query": "^5.102.3",
|
|
80
80
|
"classnames": "^2.5.1",
|
|
81
81
|
"container-query-polyfill": "^1.0.2",
|
|
82
82
|
"i18next": "^25.10.10",
|
|
83
|
-
"libphonenumber-js": "^1.13.
|
|
83
|
+
"libphonenumber-js": "^1.13.11",
|
|
84
84
|
"monogon": "^0.3.8",
|
|
85
85
|
"named-slots": "^0.4.3",
|
|
86
86
|
"onfido-sdk-ui": "14.55.0",
|
|
87
87
|
"pdfjs-dist": "5.7.284",
|
|
88
|
-
"preact": "^10.29.
|
|
88
|
+
"preact": "^10.29.8",
|
|
89
89
|
"preact-custom-element": "^4.6.0",
|
|
90
90
|
"wouter-preact": "^3.10.0"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"@adyen/bento-design-tokens": "2.
|
|
93
|
+
"@adyen/bento-design-tokens": "^2.1.1",
|
|
94
94
|
"@commitlint/cli": "^19.8.1",
|
|
95
95
|
"@commitlint/config-conventional": "^19.8.1",
|
|
96
96
|
"@commitlint/prompt-cli": "^19.8.1",
|
|
@@ -98,30 +98,30 @@
|
|
|
98
98
|
"@playwright/test": "^1.62.1",
|
|
99
99
|
"@preact/eslint-plugin-signals": "^0.2.0",
|
|
100
100
|
"@preact/preset-vite": "^2.10.6",
|
|
101
|
-
"@sentry/bundler-plugin-core": "3.
|
|
102
|
-
"@sentry/cli": "2.
|
|
101
|
+
"@sentry/bundler-plugin-core": "^3.6.1",
|
|
102
|
+
"@sentry/cli": "^2.58.6",
|
|
103
103
|
"@slack/types": "^2.22.0",
|
|
104
|
-
"@storybook/addon-a11y": "10.
|
|
105
|
-
"@storybook/addon-docs": "10.
|
|
106
|
-
"@storybook/addon-vitest": "10.
|
|
107
|
-
"@storybook/preact-vite": "10.
|
|
108
|
-
"@tanstack/eslint-plugin-query": "^5.
|
|
109
|
-
"@tanstack/preact-query-devtools": "^5.
|
|
110
|
-
"@tanstack/react-form-devtools": "0.2.
|
|
104
|
+
"@storybook/addon-a11y": "^10.5.10",
|
|
105
|
+
"@storybook/addon-docs": "^10.5.10",
|
|
106
|
+
"@storybook/addon-vitest": "^10.5.10",
|
|
107
|
+
"@storybook/preact-vite": "^10.5.10",
|
|
108
|
+
"@tanstack/eslint-plugin-query": "^5.102.3",
|
|
109
|
+
"@tanstack/preact-query-devtools": "^5.102.3",
|
|
110
|
+
"@tanstack/react-form-devtools": "^0.2.34",
|
|
111
111
|
"@testing-library/jest-dom": "^6.9.1",
|
|
112
112
|
"@testing-library/preact": "3.2.3",
|
|
113
|
-
"@testing-library/user-event": "^14.6.
|
|
114
|
-
"@types/react": "^19.2.
|
|
115
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
116
|
-
"@typescript-eslint/parser": "^8.
|
|
117
|
-
"@vitest/browser-playwright": "4.1.
|
|
118
|
-
"@vitest/coverage-v8": "4.1.
|
|
119
|
-
"@vitest/ui": "4.1.
|
|
113
|
+
"@testing-library/user-event": "^14.6.6",
|
|
114
|
+
"@types/react": "^19.2.18",
|
|
115
|
+
"@typescript-eslint/eslint-plugin": "^8.68.0",
|
|
116
|
+
"@typescript-eslint/parser": "^8.68.0",
|
|
117
|
+
"@vitest/browser-playwright": "^4.1.11",
|
|
118
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
119
|
+
"@vitest/ui": "^4.1.11",
|
|
120
120
|
"concurrently": "^9.2.4",
|
|
121
121
|
"ctrf-cli": "^0.0.5",
|
|
122
122
|
"eslint": "^9.39.5",
|
|
123
123
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
124
|
-
"eslint-plugin-boundaries": "6.0.2",
|
|
124
|
+
"eslint-plugin-boundaries": "^6.0.2",
|
|
125
125
|
"eslint-plugin-check-file": "^3.3.2",
|
|
126
126
|
"eslint-plugin-compat": "7.0.2",
|
|
127
127
|
"eslint-plugin-import": "^2.32.0",
|
|
@@ -133,37 +133,37 @@
|
|
|
133
133
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
134
134
|
"eslint-plugin-testing-library": "^7.16.2",
|
|
135
135
|
"eslint-plugin-unicorn": "^63.0.0",
|
|
136
|
-
"happy-dom": "^20.11.
|
|
136
|
+
"happy-dom": "^20.11.6",
|
|
137
137
|
"http-server": "^14.1.1",
|
|
138
138
|
"inquirer": "^12.11.1",
|
|
139
139
|
"jsonc-eslint-parser": "^2.4.2",
|
|
140
140
|
"msw": "2.13.6",
|
|
141
141
|
"msw-storybook-addon": "^2.0.7",
|
|
142
|
-
"oxfmt": "0.
|
|
143
|
-
"phone": "^3.1.
|
|
142
|
+
"oxfmt": "^0.65.0",
|
|
143
|
+
"phone": "^3.1.72",
|
|
144
144
|
"playwright-ctrf-json-reporter": "^0.0.29",
|
|
145
|
-
"postcss": "^8.5.
|
|
146
|
-
"preact-iso": "2.12.
|
|
145
|
+
"postcss": "^8.5.26",
|
|
146
|
+
"preact-iso": "^2.12.2",
|
|
147
147
|
"react": "npm:@preact/compat@^18.3.2",
|
|
148
148
|
"react-dom": "npm:@preact/compat@^18.3.2",
|
|
149
149
|
"react-i18next": "^15.7.4",
|
|
150
150
|
"remark-gfm": "^4.0.1",
|
|
151
151
|
"rollup-plugin-visualizer": "^5.14.0",
|
|
152
152
|
"ruins": "^0.2.4",
|
|
153
|
-
"storybook": "10.
|
|
153
|
+
"storybook": "^10.5.10",
|
|
154
154
|
"storybook-addon-tag-badges": "^3.1.0",
|
|
155
155
|
"stylelint": "^16.26.1",
|
|
156
156
|
"stylelint-config-recommended": "^14.0.1",
|
|
157
|
-
"stylelint-no-unsupported-browser-features": "8.1.1",
|
|
158
|
-
"tsc-alias": "^1.9.
|
|
157
|
+
"stylelint-no-unsupported-browser-features": "^8.1.1",
|
|
158
|
+
"tsc-alias": "^1.9.2",
|
|
159
159
|
"type-fest": "^5.8.0",
|
|
160
160
|
"typescript": "^6.0.3",
|
|
161
|
-
"typescript-eslint": "^8.
|
|
162
|
-
"vite": "^8.
|
|
161
|
+
"typescript-eslint": "^8.68.0",
|
|
162
|
+
"vite": "^8.2.2",
|
|
163
163
|
"vite-node": "^6.0.0",
|
|
164
164
|
"vite-plugin-shadow-styles": "^0.0.3",
|
|
165
165
|
"vite-plugin-svgr": "^5.2.0",
|
|
166
|
-
"vitest": "4.1.
|
|
166
|
+
"vitest": "^4.1.11"
|
|
167
167
|
},
|
|
168
168
|
"engines": {
|
|
169
169
|
"node": ">=20",
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"submit": "bash ./scripts/pr-create.sh",
|
|
193
193
|
"demo": "pnpm build:demo && pnpm demo:serve",
|
|
194
194
|
"demo:serve": "vite preview --mode demo",
|
|
195
|
-
"dev": "concurrently \"vite dev\" \"pnpm types:watch\" -n vite,tsc -c green,cyan -k",
|
|
195
|
+
"dev": "VITE_CONFIG_NATIVE_IGNORE_WARNING=true concurrently \"vite dev\" \"pnpm types:watch\" -n vite,tsc -c green,cyan -k",
|
|
196
196
|
"dev:e2e": "VITE_PLAYGROUND_BARE_UI=true vite dev --mode e2e",
|
|
197
197
|
"format:check": "oxfmt --check",
|
|
198
198
|
"format:fix": "oxfmt --write",
|
|
@@ -1,33 +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] = "2eed3488-e5f5-4003-9628-a6bf45b50403", e._sentryDebugIdIdentifier = "sentry-dbid-2eed3488-e5f5-4003-9628-a6bf45b50403");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { n as useWorkflowContext, t as NodeRenderer } from "./NodeRenderer-Z10yF5MV.js";
|
|
6
|
-
import { useEffect } from "preact/hooks";
|
|
7
|
-
import { jsx } from "preact/jsx-runtime";
|
|
8
|
-
//#region src/adaptiveWorkflow/AdaptiveWorkflow.tsx
|
|
9
|
-
/**
|
|
10
|
-
* Adaptive Onboarding Workflow.
|
|
11
|
-
*
|
|
12
|
-
* On mount, syncs `globals` and `entity` from the manifest into {@link WorkflowContext}
|
|
13
|
-
* so all child nodes can access shared workflow state.
|
|
14
|
-
*/
|
|
15
|
-
var AdaptiveWorkflow = ({ uiManifest }) => {
|
|
16
|
-
const { entity, globals, globalStatus, nodes } = uiManifest;
|
|
17
|
-
const { setGlobals, setEntity, setGlobalStatus } = useWorkflowContext();
|
|
18
|
-
useEffect(() => {
|
|
19
|
-
setGlobals(globals);
|
|
20
|
-
setEntity(entity);
|
|
21
|
-
setGlobalStatus(globalStatus);
|
|
22
|
-
}, [
|
|
23
|
-
globals,
|
|
24
|
-
entity,
|
|
25
|
-
globalStatus,
|
|
26
|
-
setGlobals,
|
|
27
|
-
setEntity,
|
|
28
|
-
setGlobalStatus
|
|
29
|
-
]);
|
|
30
|
-
return /* @__PURE__ */ jsx(NodeRenderer, { node: nodes });
|
|
31
|
-
};
|
|
32
|
-
//#endregion
|
|
33
|
-
export { AdaptiveWorkflow };
|
package/dist/Alert-BqbbDRYR.js
DELETED
|
@@ -1,172 +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] = "0e80757a-e0e4-4c24-aea2-a6a979be52f0", e._sentryDebugIdIdentifier = "sentry-dbid-0e80757a-e0e4-4c24-aea2-a6a979be52f0");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { t as Icon } from "./Icon-DFQgr7dy.js";
|
|
7
|
-
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
|
-
import { t as Button } from "./Button-BxdC8cVB.js";
|
|
9
|
-
import { t as Accordion } from "./Accordion-D_DOaWj2.js";
|
|
10
|
-
import { useState } from "preact/hooks";
|
|
11
|
-
import cx from "classnames";
|
|
12
|
-
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
|
-
import { isValidElement } from "preact";
|
|
14
|
-
var alert_module_default = {
|
|
15
|
-
alert: "_alert_jgk1f_1",
|
|
16
|
-
"alert-without-icon": "_alert-without-icon_jgk1f_10",
|
|
17
|
-
alertWithoutIcon: "_alert-without-icon_jgk1f_10",
|
|
18
|
-
"alert-explanation": "_alert-explanation_jgk1f_10",
|
|
19
|
-
alertExplanation: "_alert-explanation_jgk1f_10",
|
|
20
|
-
"alert-actions": "_alert-actions_jgk1f_11",
|
|
21
|
-
alertActions: "_alert-actions_jgk1f_11",
|
|
22
|
-
"alert-basic": "_alert-basic_jgk1f_15",
|
|
23
|
-
alertBasic: "_alert-basic_jgk1f_15",
|
|
24
|
-
"alert-info": "_alert-info_jgk1f_19",
|
|
25
|
-
alertInfo: "_alert-info_jgk1f_19",
|
|
26
|
-
"alert-error": "_alert-error_jgk1f_23",
|
|
27
|
-
alertError: "_alert-error_jgk1f_23",
|
|
28
|
-
"alert-warning": "_alert-warning_jgk1f_27",
|
|
29
|
-
alertWarning: "_alert-warning_jgk1f_27",
|
|
30
|
-
"alert-success": "_alert-success_jgk1f_31",
|
|
31
|
-
alertSuccess: "_alert-success_jgk1f_31",
|
|
32
|
-
"alert-header": "_alert-header_jgk1f_35",
|
|
33
|
-
alertHeader: "_alert-header_jgk1f_35",
|
|
34
|
-
"alert-header-without-children": "_alert-header-without-children_jgk1f_40",
|
|
35
|
-
alertHeaderWithoutChildren: "_alert-header-without-children_jgk1f_40",
|
|
36
|
-
"alert-icon": "_alert-icon_jgk1f_44",
|
|
37
|
-
alertIcon: "_alert-icon_jgk1f_44",
|
|
38
|
-
"alert-icon-info": "_alert-icon-info_jgk1f_48",
|
|
39
|
-
alertIconInfo: "_alert-icon-info_jgk1f_48",
|
|
40
|
-
"alert-icon-error": "_alert-icon-error_jgk1f_52",
|
|
41
|
-
alertIconError: "_alert-icon-error_jgk1f_52",
|
|
42
|
-
"alert-icon-warning": "_alert-icon-warning_jgk1f_56",
|
|
43
|
-
alertIconWarning: "_alert-icon-warning_jgk1f_56",
|
|
44
|
-
"alert-icon-success": "_alert-icon-success_jgk1f_60",
|
|
45
|
-
alertIconSuccess: "_alert-icon-success_jgk1f_60",
|
|
46
|
-
"alert-title": "_alert-title_jgk1f_64",
|
|
47
|
-
alertTitle: "_alert-title_jgk1f_64"
|
|
48
|
-
};
|
|
49
|
-
//#endregion
|
|
50
|
-
//#region src/components/ui/molecules/Alert/Alert.tsx
|
|
51
|
-
var variantMap = {
|
|
52
|
-
basic: alert_module_default.alertBasic,
|
|
53
|
-
info: alert_module_default.alertInfo,
|
|
54
|
-
error: alert_module_default.alertError,
|
|
55
|
-
warning: alert_module_default.alertWarning,
|
|
56
|
-
success: alert_module_default.alertSuccess
|
|
57
|
-
};
|
|
58
|
-
var iconVariantMap = {
|
|
59
|
-
basic: "",
|
|
60
|
-
info: alert_module_default.alertIconInfo,
|
|
61
|
-
error: alert_module_default.alertIconError,
|
|
62
|
-
warning: alert_module_default.alertIconWarning,
|
|
63
|
-
success: alert_module_default.alertIconSuccess
|
|
64
|
-
};
|
|
65
|
-
var Alert = ({ title, variant = "basic", type = "default", className, actions, children, icon, testId, onClose, onToggle }) => {
|
|
66
|
-
const { t } = useTranslation("ui");
|
|
67
|
-
const [isClosed, setIsClosed] = useState(false);
|
|
68
|
-
if (isClosed) return null;
|
|
69
|
-
const closeAlert = () => {
|
|
70
|
-
if (onClose) onClose();
|
|
71
|
-
setIsClosed(true);
|
|
72
|
-
};
|
|
73
|
-
const renderIcon = () => {
|
|
74
|
-
if (icon === false) return void 0;
|
|
75
|
-
if (isValidElement(icon)) return icon;
|
|
76
|
-
return /* @__PURE__ */ jsx("span", {
|
|
77
|
-
className: cx(alert_module_default.alertIcon, iconVariantMap[variant]),
|
|
78
|
-
children: /* @__PURE__ */ jsx(AlertIcon, { variant })
|
|
79
|
-
});
|
|
80
|
-
};
|
|
81
|
-
const renderedIcon = renderIcon();
|
|
82
|
-
if (type === "collapsible") return /* @__PURE__ */ jsxs(Accordion, {
|
|
83
|
-
variant,
|
|
84
|
-
onToggle: onToggle || void 0,
|
|
85
|
-
narrow: true,
|
|
86
|
-
className,
|
|
87
|
-
children: [
|
|
88
|
-
/* @__PURE__ */ jsx("template", {
|
|
89
|
-
slot: "title",
|
|
90
|
-
children: title
|
|
91
|
-
}),
|
|
92
|
-
/* @__PURE__ */ jsx("template", {
|
|
93
|
-
slot: "icon",
|
|
94
|
-
children: renderedIcon
|
|
95
|
-
}),
|
|
96
|
-
/* @__PURE__ */ jsxs("template", {
|
|
97
|
-
slot: "content",
|
|
98
|
-
children: [children, !!actions && /* @__PURE__ */ jsx("div", {
|
|
99
|
-
className: alert_module_default.alertActions,
|
|
100
|
-
children: actions
|
|
101
|
-
})]
|
|
102
|
-
})
|
|
103
|
-
]
|
|
104
|
-
});
|
|
105
|
-
if (type === "callToAction") return /* @__PURE__ */ jsxs("div", {
|
|
106
|
-
className: cx(alert_module_default.alert, className, variantMap[variant], { [alert_module_default.alertWithoutIcon]: !renderedIcon }),
|
|
107
|
-
role: "alert",
|
|
108
|
-
"data-testid": testId,
|
|
109
|
-
children: [/* @__PURE__ */ jsxs("div", {
|
|
110
|
-
className: cx(alert_module_default.alertHeader, { [alert_module_default.alertHeaderWithoutChildren]: !children }),
|
|
111
|
-
children: [
|
|
112
|
-
renderedIcon,
|
|
113
|
-
title && /* @__PURE__ */ jsx(Typography, {
|
|
114
|
-
el: "h3",
|
|
115
|
-
variant: "body-strongest",
|
|
116
|
-
className: alert_module_default.alertTitle,
|
|
117
|
-
children: title
|
|
118
|
-
}),
|
|
119
|
-
!!actions && /* @__PURE__ */ jsx("div", {
|
|
120
|
-
className: alert_module_default.alertActions,
|
|
121
|
-
children: actions
|
|
122
|
-
})
|
|
123
|
-
]
|
|
124
|
-
}), !!children && /* @__PURE__ */ jsx("div", {
|
|
125
|
-
className: alert_module_default.alertExplanation,
|
|
126
|
-
children
|
|
127
|
-
})]
|
|
128
|
-
});
|
|
129
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
130
|
-
className: cx(alert_module_default.alert, className, variantMap[variant], { [alert_module_default.alertWithoutIcon]: !renderedIcon }),
|
|
131
|
-
role: "alert",
|
|
132
|
-
"data-testid": testId,
|
|
133
|
-
children: [
|
|
134
|
-
/* @__PURE__ */ jsxs("div", {
|
|
135
|
-
className: alert_module_default.alertHeader,
|
|
136
|
-
children: [
|
|
137
|
-
renderedIcon,
|
|
138
|
-
title && /* @__PURE__ */ jsx(Typography, {
|
|
139
|
-
el: "h3",
|
|
140
|
-
variant: "body-strongest",
|
|
141
|
-
className: alert_module_default.alertTitle,
|
|
142
|
-
children: title
|
|
143
|
-
}),
|
|
144
|
-
type === "dismissible" && /* @__PURE__ */ jsx(Button, {
|
|
145
|
-
variant: "tertiary",
|
|
146
|
-
icon: "cross",
|
|
147
|
-
onClick: closeAlert,
|
|
148
|
-
children: t(($) => $["close"])
|
|
149
|
-
})
|
|
150
|
-
]
|
|
151
|
-
}),
|
|
152
|
-
!!children && /* @__PURE__ */ jsx("div", {
|
|
153
|
-
className: alert_module_default.alertExplanation,
|
|
154
|
-
children
|
|
155
|
-
}),
|
|
156
|
-
!!actions && /* @__PURE__ */ jsx("div", {
|
|
157
|
-
className: alert_module_default.alertActions,
|
|
158
|
-
children: actions
|
|
159
|
-
})
|
|
160
|
-
]
|
|
161
|
-
});
|
|
162
|
-
};
|
|
163
|
-
var AlertIcon = ({ variant }) => {
|
|
164
|
-
switch (variant) {
|
|
165
|
-
case "success": return /* @__PURE__ */ jsx(Icon, { name: "checkmark" });
|
|
166
|
-
case "error": return /* @__PURE__ */ jsx(Icon, { name: "error" });
|
|
167
|
-
case "warning": return /* @__PURE__ */ jsx(Icon, { name: "warning" });
|
|
168
|
-
default: return /* @__PURE__ */ jsx(Icon, { name: "info-circle-filled" });
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
//#endregion
|
|
172
|
-
export { AlertIcon as n, Alert as t };
|
|
@@ -1,21 +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] = "f8ecb0e2-f042-4cbc-8b84-7148e2f1bc8f", e._sentryDebugIdIdentifier = "sentry-dbid-f8ecb0e2-f042-4cbc-8b84-7148e2f1bc8f");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { i as noop } from "./genUtils-nphCwt1A.js";
|
|
6
|
-
import { createContext } from "preact";
|
|
7
|
-
var AnalyticsContext = createContext({
|
|
8
|
-
addEvent: noop,
|
|
9
|
-
addJourneyEvent: noop,
|
|
10
|
-
addTaskEvent: noop,
|
|
11
|
-
addPageEvent: noop,
|
|
12
|
-
addFieldEvent: noop,
|
|
13
|
-
startEvent: noop,
|
|
14
|
-
subscribe: noop,
|
|
15
|
-
trackExperiment: noop,
|
|
16
|
-
updateBaseTrackingPayload: noop,
|
|
17
|
-
updateSharedEventProperties: noop,
|
|
18
|
-
unsubscribe: noop
|
|
19
|
-
});
|
|
20
|
-
//#endregion
|
|
21
|
-
export { AnalyticsContext as t };
|
|
@@ -1,60 +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] = "c1efc8f8-98d6-4169-a0d4-3a58db7a244c", e._sentryDebugIdIdentifier = "sentry-dbid-c1efc8f8-98d6-4169-a0d4-3a58db7a244c");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
6
|
-
import cx from "classnames";
|
|
7
|
-
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
8
|
-
var Checkbox_module_default = {
|
|
9
|
-
input: "_input_1pgbk_1",
|
|
10
|
-
label: "_label_1pgbk_6",
|
|
11
|
-
invalid: "_invalid_1pgbk_34",
|
|
12
|
-
"helper-text": "_helper-text_1pgbk_118",
|
|
13
|
-
helperText: "_helper-text_1pgbk_118"
|
|
14
|
-
};
|
|
15
|
-
//#endregion
|
|
16
|
-
//#region src/components/ui/atoms/Checkbox/Checkbox.tsx
|
|
17
|
-
function Checkbox({ id, name, value, className, label, isInvalid, onChange, helper, checked, disabled, enableTracking = false, "aria-required": ariaRequired, "aria-invalid": ariaInvalid, "aria-describedby": ariaDescribedBy }) {
|
|
18
|
-
const userEvents = useAnalyticsContext();
|
|
19
|
-
const handleChange = (newValue) => {
|
|
20
|
-
if (enableTracking) userEvents.addFieldEvent("Interacted with form field", {
|
|
21
|
-
actionType: "input",
|
|
22
|
-
field: name,
|
|
23
|
-
returnValue: String(newValue)
|
|
24
|
-
});
|
|
25
|
-
onChange(newValue);
|
|
26
|
-
};
|
|
27
|
-
const helperId = `${id}-helper`;
|
|
28
|
-
const ariaDescribedById = `${helper ? helperId : ""} ${ariaDescribedBy ?? ""}`.trim();
|
|
29
|
-
const inputClassname = cx(Checkbox_module_default.input, className, { [Checkbox_module_default.invalid]: isInvalid });
|
|
30
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
31
|
-
/* @__PURE__ */ jsx("input", {
|
|
32
|
-
id,
|
|
33
|
-
name,
|
|
34
|
-
value,
|
|
35
|
-
"aria-describedby": ariaDescribedById,
|
|
36
|
-
"aria-invalid": ariaInvalid || isInvalid,
|
|
37
|
-
"aria-required": ariaRequired,
|
|
38
|
-
disabled,
|
|
39
|
-
checked,
|
|
40
|
-
className: inputClassname,
|
|
41
|
-
type: "checkbox",
|
|
42
|
-
onClick: (event) => {
|
|
43
|
-
event.stopPropagation();
|
|
44
|
-
handleChange(!checked);
|
|
45
|
-
}
|
|
46
|
-
}),
|
|
47
|
-
/* @__PURE__ */ jsx("label", {
|
|
48
|
-
htmlFor: id,
|
|
49
|
-
className: Checkbox_module_default.label,
|
|
50
|
-
children: label
|
|
51
|
-
}),
|
|
52
|
-
helper && /* @__PURE__ */ jsx("span", {
|
|
53
|
-
id: helperId,
|
|
54
|
-
className: Checkbox_module_default.helperText,
|
|
55
|
-
children: helper
|
|
56
|
-
})
|
|
57
|
-
] });
|
|
58
|
-
}
|
|
59
|
-
//#endregion
|
|
60
|
-
export { Checkbox as t };
|
package/dist/Confirm-DjFpxSzC.js
DELETED
|
@@ -1,77 +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] = "88a7da12-6ba0-4198-a894-be65810f3062", e._sentryDebugIdIdentifier = "sentry-dbid-88a7da12-6ba0-4198-a894-be65810f3062");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
7
|
-
import { t as Button } from "./Button-BxdC8cVB.js";
|
|
8
|
-
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
9
|
-
import { t as Modal } from "./Modal-Dq44ZUNN.js";
|
|
10
|
-
import { useEffect, useState } from "preact/hooks";
|
|
11
|
-
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
12
|
-
var Confirm_module_default = {
|
|
13
|
-
confirm: "_confirm_1aprd_1",
|
|
14
|
-
"confirm-message": "_confirm-message_1aprd_8",
|
|
15
|
-
confirmMessage: "_confirm-message_1aprd_8",
|
|
16
|
-
"confirm-actions": "_confirm-actions_1aprd_14",
|
|
17
|
-
confirmActions: "_confirm-actions_1aprd_14"
|
|
18
|
-
};
|
|
19
|
-
//#endregion
|
|
20
|
-
//#region src/components/ui/molecules/Confirm/Confirm.tsx
|
|
21
|
-
var Confirm = ({ description, cancelText, confirmText, critical = false, onCancel, onConfirm, title, analyticsEventLabel }) => {
|
|
22
|
-
const { t } = useTranslation("ui");
|
|
23
|
-
const userEvents = useAnalyticsContext();
|
|
24
|
-
const [isInFlight, setIsInFlight] = useState(false);
|
|
25
|
-
const showCancelButton = onCancel !== void 0;
|
|
26
|
-
const buttonVariant = critical ? "critical" : "primary";
|
|
27
|
-
useEffect(() => {
|
|
28
|
-
userEvents.addTaskEvent("Opened modal", {
|
|
29
|
-
actionType: "open",
|
|
30
|
-
label: analyticsEventLabel
|
|
31
|
-
});
|
|
32
|
-
}, []);
|
|
33
|
-
const handleConfirm = async () => {
|
|
34
|
-
setIsInFlight(true);
|
|
35
|
-
try {
|
|
36
|
-
await onConfirm();
|
|
37
|
-
} finally {
|
|
38
|
-
setIsInFlight(false);
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
return /* @__PURE__ */ jsx(Modal, {
|
|
42
|
-
size: "small",
|
|
43
|
-
transition: "dropIn",
|
|
44
|
-
showCloseButton: false,
|
|
45
|
-
ariaLabel: title,
|
|
46
|
-
children: /* @__PURE__ */ jsxs("div", {
|
|
47
|
-
className: Confirm_module_default.confirm,
|
|
48
|
-
children: [/* @__PURE__ */ jsxs("div", {
|
|
49
|
-
className: Confirm_module_default.confirmMessage,
|
|
50
|
-
children: [/* @__PURE__ */ jsx(Typography, {
|
|
51
|
-
variant: "title",
|
|
52
|
-
el: "h3",
|
|
53
|
-
children: title
|
|
54
|
-
}), description && /* @__PURE__ */ jsx(Typography, {
|
|
55
|
-
variant: "body",
|
|
56
|
-
el: "p",
|
|
57
|
-
children: description
|
|
58
|
-
})]
|
|
59
|
-
}), /* @__PURE__ */ jsxs("div", {
|
|
60
|
-
className: Confirm_module_default.confirmActions,
|
|
61
|
-
children: [showCancelButton && /* @__PURE__ */ jsx(Button, {
|
|
62
|
-
onClick: onCancel,
|
|
63
|
-
variant: "secondary",
|
|
64
|
-
disabled: isInFlight,
|
|
65
|
-
children: cancelText ?? t(($) => $["cancel"])
|
|
66
|
-
}), /* @__PURE__ */ jsx(Button, {
|
|
67
|
-
onClick: handleConfirm,
|
|
68
|
-
variant: buttonVariant,
|
|
69
|
-
loading: isInFlight,
|
|
70
|
-
children: confirmText ?? t(($) => $["confirm"])
|
|
71
|
-
})]
|
|
72
|
-
})]
|
|
73
|
-
})
|
|
74
|
-
});
|
|
75
|
-
};
|
|
76
|
-
//#endregion
|
|
77
|
-
export { Confirm as t };
|