@adyen/kyc-components 4.2.0-beta.3 → 4.3.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-BcThpdef.js → AcceptTermsOfServiceComponent-DHOEbKRw.js} +30 -25
- package/dist/{AccountSetupRejected-D4ZUKySq.js → AccountSetupRejected-BtePboYl.js} +2 -5
- package/dist/{ActionBar-_kxaPjuA.js → ActionBar-CQZiRESM.js} +2 -2
- package/dist/{Address-Bp3gAZwV.js → Address-CZsphDQn.js} +11 -13
- package/dist/{Avatar-4kQAjsiY.js → Avatar-umWLtbNh.js} +2 -2
- package/dist/{BusinessFinancingComponent-s7ax4ND-.js → BusinessFinancingComponent-Bq1XvxN0.js} +6 -6
- package/dist/{BusinessFinancingDropin-ZEaog4sO.js → BusinessFinancingDropin-DGNDmZPX.js} +200 -123
- package/dist/{BusinessFinancingPage-9bjno-km.js → BusinessFinancingPage-B3Mppy3e.js} +5 -5
- package/dist/{BusinessTypeSelectionPage-BNRQeYZz.js → BusinessTypeSelectionPage-DFwTrEj2.js} +9 -9
- package/dist/{Checkbox-BH0zIKqJ.js → Checkbox-grZtL86z.js} +2 -2
- package/dist/{Confirm-Dx4QYQUB.js → Confirm-gSH15YjO.js} +3 -3
- package/dist/{ConstitutionalDocument-CMQlemXU.js → ConstitutionalDocument-C1ho_WGb.js} +39 -22
- package/dist/{ContactDetails-Dm7hH34-.js → ContactDetails-beFUwzWU.js} +6 -9
- package/dist/{ContextGuidance-jojldspk.js → ContextGuidance-DN9_2r5g.js} +2 -3
- package/dist/{CountryField-CRP1LtfT.js → CountryField-CK9UwJHn.js} +4 -6
- package/dist/{CreateIndividualComponent-jL7Ta2xx.js → CreateIndividualComponent-TaKBME08.js} +7 -7
- package/dist/{CreateTransferInstrumentComponent-BAUyoBDg.js → CreateTransferInstrumentComponent-WGgDfmsE.js} +4 -4
- package/dist/{Currency-q_fri27x.js → Currency-DEgTOLD3.js} +7 -7
- package/dist/{CustomerSupport-g6_dn2eL.js → CustomerSupport-CByUZkgX.js} +10 -11
- package/dist/{DebugModal-8M6rDSjI.js → DebugModal-1rEVOPzu.js} +8 -9
- package/dist/{DecisionMakerDetailsPage-BvJBgflk.js → DecisionMakerDetailsPage-dB5GuLx1.js} +9 -9
- package/dist/{DecisionMakers-Dgu4mm-t.js → DecisionMakers-DS14GhtC.js} +23 -33
- package/dist/{Dropzone-C0r5MN2c.js → Dropzone-CI7gyNBs.js} +4 -4
- package/dist/{EmbeddedStatus-CAwsc7gn.js → EmbeddedStatus-BdQ39yKX.js} +3 -3
- package/dist/{EndStateLayout-DvlbjE6I.js → EndStateLayout-CmNueoBE.js} +2 -2
- package/dist/{EntityAssociation-B6BboL-v.js → EntityAssociation-CCExGpww.js} +5 -6
- package/dist/{EntityGuidanceStatus-Bz15IrlX.js → EntityGuidanceStatus-DYkFfoBr.js} +4 -4
- package/dist/{ErrorPanel-BkXUK_F0.js → ErrorPanel-CmGFPsaG.js} +2 -3
- package/dist/{Field-COLdO9jz.js → Field-BuHaTPvn.js} +3 -3
- package/dist/{FormNavigation-TCli8Qsa.js → FormNavigation-B4rGWlDy.js} +3 -3
- package/dist/{FormWrapper-B3xDHdGU.js → FormWrapper-BC0uqTgd.js} +9 -9
- package/dist/{Image-BlWYOlMz.js → Image-CLQ4EuPK.js} +2 -2
- package/dist/{Individual.rules-DRGsKUar.js → Individual.rules-vC5TbPZA.js} +8 -8
- package/dist/{IndividualDropin-BrpwLdZl.js → IndividualDropin-DvQ-z4rT.js} +177 -132
- package/dist/{InputDate-BvK1kvDw.js → InputDate-DRD072Dy.js} +2 -2
- package/dist/{InputText-BjedS9h7.js → InputText-BUnL2S1h.js} +2 -2
- package/dist/{Introduction-CQ4hrI5j.js → Introduction-DaWEcxk1.js} +4 -4
- package/dist/{JpAddress-g76WbAjI.js → JpAddress-DLD5oFVR.js} +11 -12
- package/dist/{LandingLayout-DRNCyVO_.js → LandingLayout-DtrCsF3s.js} +2 -3
- package/dist/{LegalCompanyNameField-BapKH1n2.js → LegalCompanyNameField-D4TnW4PU.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage-9fmLU5fh.js → LegalRepresentativeDetailsPage-jZLVn4-D.js} +6 -6
- package/dist/{Link-wT7wXn7z.js → Link-xCQbA-9e.js} +2 -2
- package/dist/{ListItem-DHyZrVrc.js → ListItem-DSqo8-K1.js} +3 -3
- package/dist/{LoaderWrapper-DAGc3KzI.js → LoaderWrapper-7vOgmEsk.js} +2 -2
- package/dist/ManageIndividualComponent-CCIhrOiG.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-DqurOA43.js → ManageTermsOfServiceComponent-CD8xsVbW.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-DkaY6uos.js → ManageTransferInstrumentComponent-QxybfaMB.js} +12 -15
- package/dist/{MaskedInput-CLyDZ-xK.js → MaskedInput-Bg8sJ8Sz.js} +5 -5
- package/dist/{MaybeModal-DpRek-Nn.js → MaybeModal-dbukcqGt.js} +3 -3
- package/dist/{Modal-CZtp1HSI.js → Modal-C5NXMpqk.js} +2 -2
- package/dist/{Name-Bxi6C5rE.js → Name-DyGu-N0I.js} +5 -5
- package/dist/{OnboardingDropinComponent-B5HuMN3c.js → OnboardingDropinComponent-B_W8eeJV.js} +59 -61
- package/dist/{PayoutDetailsDropin-BW7IR1A1.js → PayoutDetailsDropin-C6FSD0nU.js} +63 -61
- package/dist/{RadioGroup-D4DN0p1B.js → RadioGroup-BP8CNtf9.js} +2 -2
- package/dist/{RadioGroupCard-CMUvyZ1d.js → RadioGroupCard-DUxGxMW2.js} +2 -2
- package/dist/{Review-DLsW7v8W.js → Review-DdowS_67.js} +6 -8
- package/dist/{RootBusinessDetailsPage-C9AxMbHN.js → RootBusinessDetailsPage-DGaPZVX3.js} +4 -4
- package/dist/{RootBusinessLinesPage-YgSJVVLj.js → RootBusinessLinesPage-RUqhW4fz.js} +28 -34
- package/dist/{RootIndividualDetailsPage-YpZEbgBw.js → RootIndividualDetailsPage-CC5xZsrC.js} +8 -8
- package/dist/{Select-DWCeyfPK.js → Select-DtconBUQ.js} +4 -4
- package/dist/{SignPCIComponent-2w7O6g_D.js → SignPCIComponent-_IAj-hon.js} +17 -16
- package/dist/{SingpassSelection-CbzkPGfw.js → SingpassSelection-WatLq--G.js} +6 -6
- package/dist/{SoleProprietorshipPage-DeoeTy76.js → SoleProprietorshipPage-ChABh93Y.js} +4 -4
- package/dist/{SourceOfFundsPage-CX9gODrt.js → SourceOfFundsPage-CgLOgUd4.js} +37 -37
- package/dist/{StepProgressIndicator-DxRiADdo.js → StepProgressIndicator-Dc7Tml_I.js} +1 -1
- package/dist/{StoreProvider-Cs2w6BiW.js → StoreProvider-C-jrVTWp.js} +873 -206
- package/dist/{StructuredList-BNLhk_zV.js → StructuredList-Bh1vlAFE.js} +1 -1
- package/dist/{Summary-DARCKKrx.js → Summary-BEaMvlq_.js} +7 -8
- package/dist/{TaxInformationField-D5AraebA.js → TaxInformationField-B5-jJ7Eb.js} +186 -210
- package/dist/{TaxReportingDropin-WHWPBDD8.js → TaxReportingDropin-CrIW9iYH.js} +15 -17
- package/dist/{TextArea-DAdUD93W.js → TextArea-j1AG1rrF.js} +2 -2
- package/dist/{TileGroup-CVt7AK6N.js → TileGroup-CRXdfE4_.js} +3 -3
- package/dist/{TrustDetailsPage-BnO3yn7V.js → TrustDetailsPage-C77SN50n.js} +34 -48
- package/dist/{TrustMemberCompanyPage-h559kWH3.js → TrustMemberCompanyPage-BJ8bGLiS.js} +5 -5
- package/dist/{TrustMemberIndividualPage-CqiHdKg7.js → TrustMemberIndividualPage-BnXdAysv.js} +6 -6
- package/dist/{TrustMemberRoleAndTypePage-Dwknlfme.js → TrustMemberRoleAndTypePage-Dl3NWfe-.js} +21 -23
- package/dist/{TrustMembersOverview-B4YCHAVc.js → TrustMembersOverview-DY1Gmewy.js} +10 -14
- package/dist/{UnincorporatedPartnershipIndividualPage-ChYM-5eW.js → UnincorporatedPartnershipIndividualPage-DI_gEl_-.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CxBPHmpw.js → UnincorporatedPartnershipMemberCompanyPage-CHueVUrD.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CYSxanrA.js → UnincorporatedPartnershipMemberRoleAndTypePage-m8_d5tqB.js} +11 -12
- package/dist/{UnincorporatedPartnershipMembersOverview-CwP-v2Mz.js → UnincorporatedPartnershipMembersOverview-D-xD5eFQ.js} +7 -11
- package/dist/{VerificationErrorAlert-eQMPpWDF.js → VerificationErrorAlert-DGCWu0L2.js} +2 -3
- package/dist/{ViewVerificationStatusComponent-D6E-l2aA.js → ViewVerificationStatusComponent--iI2ei_a.js} +3 -4
- package/dist/{accountHolderUtils-DeGjw3VP.js → accountHolderUtils-C2OlbJ51.js} +2 -2
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-invited-decision-maker.js +86 -16
- package/dist/adyen-kyc-components.js +19 -47
- package/dist/adyen-onboarding.js +3 -3
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +3 -3
- package/dist/adyen-transfer-instrument-management.js +3 -3
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-KqAv4HF4.js → bafinUtils-C297BWva.js} +2 -2
- package/dist/bg-BG-BNRJzjXu.js +13 -0
- package/dist/{bg-BG-K7feXvEc.js → bg-BG-DbFzLQK7.js} +1 -2
- package/dist/{commonValidators-lK3J4Pp5.js → commonValidators-CCjmpuF-.js} +2 -2
- package/dist/cs-CZ-BMnoWiIi.js +13 -0
- package/dist/{cs-CZ-CYQO0o5V.js → cs-CZ-CBuNZ7UO.js} +1 -2
- package/dist/{da-DK-CGWvmdkq.js → da-DK-CLdNh9JT.js} +1 -2
- package/dist/da-DK-D17SWJin.js +13 -0
- package/dist/{de-DE-DHDJhahG.js → de-DE-BT5g7ZXC.js} +1 -2
- package/dist/de-DE-DC90bn2y.js +13 -0
- package/dist/{dropinUtils-BP49oC-E.js → dropinUtils-BZzBJOLK.js} +4 -4
- package/dist/el-GR-B2xt_Hn1.js +13 -0
- package/dist/{el-GR-DHNlnOwf.js → el-GR-BvRBuezU.js} +1 -2
- package/dist/{en-US-D1sB335h.js → en-US-BtFr9JRa.js} +10 -1
- package/dist/en-US-CfIkXJPX.js +13 -0
- package/dist/{en-US-DoiQhi0j.js → en-US-CgakND3H.js} +1 -2
- package/dist/{es-ES-CxnsKEh4.js → es-ES-4FS7NoE7.js} +1 -2
- package/dist/es-ES-CzG-lilL.js +13 -0
- package/dist/et-EE-B7OzU-54.js +13 -0
- package/dist/{et-EE-BQixWUEV.js → et-EE-CksV5_e1.js} +1 -2
- package/dist/fi-FI-DooPgPb1.js +13 -0
- package/dist/{fi-FI-57-xkioo.js → fi-FI-XpnJRPgt.js} +1 -2
- package/dist/{formUtils-DXsZZezg.js → formUtils-B4IA171l.js} +3 -18
- package/dist/fr-FR-29mQrnro.js +13 -0
- package/dist/{fr-FR-BxiX8Zfi.js → fr-FR-TqAhPvzz.js} +1 -2
- package/dist/{getName-CnH-XZ-0.js → getName-ff7GRCPB.js} +2 -2
- package/dist/{getProblemsForEntity-By7SKsmj.js → getProblemsForEntity-BawudFMK.js} +2 -2
- package/dist/hr-HR-BFu1_Xrc.js +13 -0
- package/dist/{hr-HR-BynZTNSB.js → hr-HR-CKZ_yuXC.js} +1 -2
- package/dist/{hu-HU-BtRIDozk.js → hu-HU-BEV8uVRt.js} +1 -2
- package/dist/hu-HU-nf030gFT.js +13 -0
- package/dist/{iframeWidget-DjhbmseH.js → iframeWidget-CTg-yqbt.js} +4 -4
- package/dist/{isEmpty-DKYWTFsj.js → isEmpty-Cu6FSL8p.js} +2 -2
- package/dist/it-IT-CToDWXlu.js +13 -0
- package/dist/{it-IT-masgjk9F.js → it-IT-D-jYXj6V.js} +1 -2
- package/dist/{ja-JP-vv3-YsHU.js → ja-JP-8yMqZqF2.js} +1 -2
- package/dist/ja-JP-BkAEknQ-.js +13 -0
- package/dist/{japanSupportUtils-D0DlRSnN.js → japanSupportUtils-Cti0IcPz.js} +2 -2
- package/dist/{localizeDateString-DFvjNZA-.js → localizeDateString-0tXkduO2.js} +2 -2
- package/dist/{lt-LT-2BMif2Bk.js → lt-LT-CK0t2AVY.js} +1 -2
- package/dist/lt-LT-DxzEdyVV.js +13 -0
- package/dist/lv-LV-D-j-4Dao.js +13 -0
- package/dist/{lv-LV-CHdEDRVO.js → lv-LV-JvlzK9X-.js} +1 -2
- package/dist/{mapExistingFile-BCvrQOQa.js → mapExistingFile-DKT0jbo0.js} +4 -4
- package/dist/mapJpAddressSchemaToAddressLocalizations-DQu3DXe4.js +88 -0
- package/dist/{mapLegalEntityToIndividualSchema-p_QAp6yM.js → mapLegalEntityToIndividualSchema-ZmAAvk9K.js} +40 -42
- package/dist/{mapTransferInstrumentToPayoutAccount-ZzCG5sdH.js → mapTransferInstrumentToPayoutAccount-BogO6kRJ.js} +2 -2
- package/dist/nl-NL-C8CEGqAc.js +13 -0
- package/dist/{nl-NL-D1b5RUJ0.js → nl-NL-Jhr-ICkK.js} +1 -2
- package/dist/{no-NO-Dkh4SWbB.js → no-NO-BH6DId3q.js} +1 -2
- package/dist/no-NO-DbVtqyON.js +13 -0
- package/dist/{patternValidators-D3ilblqn.js → patternValidators-BDuN6yoZ.js} +2 -2
- package/dist/{pl-PL-BkGihn5Q.js → pl-PL-B5c0NNHB.js} +1 -2
- package/dist/pl-PL-Bxtudsvi.js +13 -0
- package/dist/{process-field-configurations-gWPqA4wV.js → process-field-configurations-CPAL_-Z4.js} +4 -4
- package/dist/{pt-BR-BRdIEO2O.js → pt-BR-4Iozxvfr.js} +1 -2
- package/dist/pt-BR-CL4JYBNe.js +13 -0
- package/dist/{pt-PT-BfL7qUzo.js → pt-PT-09L8XznW.js} +1 -2
- package/dist/pt-PT-C-OZtnUM.js +13 -0
- package/dist/{resolveEnvironment--0u8n19D.js → resolveEnvironment-DJYy04Zt.js} +5 -5
- package/dist/{ro-RO-C2yBVFht.js → ro-RO-D7-7tmTR.js} +1 -2
- package/dist/ro-RO-Dq1NTg-A.js +13 -0
- package/dist/{roleMetadata-DWItqtcL.js → roleMetadata-CsQgP06-.js} +3 -3
- package/dist/sk-SK-CMvUjDgW.js +13 -0
- package/dist/{sk-SK-C74EF23u.js → sk-SK-D3tsz1Pg.js} +1 -2
- package/dist/sl-SI-BslBqaxO.js +13 -0
- package/dist/{sl-SI-CvUzNn9Z.js → sl-SI-Y9h1ht45.js} +1 -2
- package/dist/style.css +1877 -1856
- package/dist/styles-CLV89_hH.js +1877 -1856
- package/dist/{sv-SE-BsLkPEzn.js → sv-SE-DFSm22oQ.js} +1 -2
- package/dist/sv-SE-Dm_WHV9V.js +13 -0
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +1 -0
- package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +7 -0
- package/dist/types/api/queryKeys.d.ts +2 -1
- package/dist/types/components/BankAccount/fields/BankAccountNumber/BankAccountNumber.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankCode/BankCode.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BranchCode/BranchCode.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/Iban.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +4 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +14 -1
- package/dist/types/components/Business/utils/submit.d.ts +1 -1
- package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +1 -1
- package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -1
- package/dist/types/components/EFP/fields/NaceCodeField/types.d.ts +1 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSummary.d.ts +14 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +1 -3
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.d.ts +1 -1
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -0
- package/dist/types/components/Individual/fields/IdentityNumber/IdentityNumber.d.ts +1 -1
- package/dist/types/components/Individual/forms/IdVerificationMethod/{individualOnfidoConflictsSchema.d.ts → individualConflictsSchema.d.ts} +12 -12
- package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual.d.ts +7 -7
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +3 -3
- package/dist/types/components/Individual/forms/Individual.types.d.ts +13 -5
- package/dist/types/components/Individual/forms/form-ids.d.ts +2 -2
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +2 -2
- package/dist/types/components/Individual/helpers/mandateIdVerificationForMotionCapture.d.ts +2 -2
- package/dist/types/components/Individual/helpers/roleUtils.d.ts +2 -2
- package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +6 -6
- package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividualSchema.d.ts +2 -2
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +3 -3
- package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerGettingStarted/InvitedDecisionMakerGettingStarted.d.ts +4 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.d.ts +1 -0
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +2 -2
- package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +3 -3
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +2 -0
- package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +14 -0
- package/dist/types/components/Shared/Summary/Summary.d.ts +1 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +0 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +3 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/EInvoicingCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +8 -14
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
- package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/utils.d.ts +13 -0
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
- package/dist/types/components/ui/atoms/Select/Select.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +1 -2
- package/dist/types/context/StateContext/types.d.ts +2 -2
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +2 -2
- package/dist/types/hooks/useForm/types.d.ts +0 -3
- package/dist/types/hooks/useUboQuestionnaire.d.ts +1 -1
- package/dist/types/language/types.d.ts +1 -1
- package/dist/types/language/utils.d.ts +3 -2
- package/dist/types/stores/formState.d.ts +2 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +5 -5
- package/dist/types/utils/formUtils.d.ts +2 -4
- package/dist/types/utils/getDisplayErrorMessage.d.ts +2 -2
- package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -2
- package/dist/types/utils/textTransformation/toFullWidth.d.ts +2 -3
- package/dist/{types-Bsq90MtZ.js → types-CEookCt2.js} +2 -2
- package/dist/types-CQ2p58-6.js +36 -0
- package/dist/{types-zvl4yaK4.js → types-Ccyga0T3.js} +2 -2
- package/dist/{types-DS0jcRWy.js → types-D6yU8_jd.js} +2 -2
- package/dist/{types-BW4HQI5X.js → types-yb-6qrgr.js} +2 -3
- package/dist/unincorporated-partnership-D8XzcFAz.js +17 -0
- package/dist/{useAssociatedLegalEntity-D1QAjxfz.js → useAssociatedLegalEntity-DxIrdCiW.js} +2 -2
- package/dist/{useBusinessDetailsData-DA8ZAoqM.js → useBusinessDetailsData-B-lAYrsg.js} +176 -192
- package/dist/{useBusinessLines-ig6N-3bv.js → useBusinessLines-Csvpr85-.js} +2 -2
- package/dist/{useCanSeeIntroduction-DIzzcbtH.js → useCanSeeIntroduction-CtoZS8gv.js} +3 -3
- package/dist/{useCreateLegalEntity-BlPIg7bR.js → useCreateLegalEntity-CRmpSW-p.js} +2 -2
- package/dist/{useDataMissingRemediations-awdHHpxL.js → useDataMissingRemediations-DKYVGUPb.js} +2 -2
- package/dist/{useDeleteTransferInstrument-BLCncQUW.js → useDeleteTransferInstrument-Dbt3iSDq.js} +3 -3
- package/dist/{useForm-DeH2DfkH.js → useForm-PNo1-TUg.js} +3 -3
- package/dist/{useFormContext-BoD6vfPh.js → useFormContext-DZ0JzOzl.js} +9 -8
- package/dist/{useGlobalData-BX6vERjU.js → useGlobalData-DkxLk7lN.js} +2 -2
- package/dist/{useMultiForm-BpbxAenV.js → useMultiForm-BKHh9pIa.js} +4 -4
- package/dist/{useNavigate-_B6wPlU_.js → useNavigate-CIa35xrx.js} +30 -30
- package/dist/{useOnboardingStatus-f-bbvzT0.js → useOnboardingStatus-UlcW0uJt.js} +2 -2
- package/dist/{usePciQuestionnaireList-uOAcvbaD.js → usePciQuestionnaireList-DuGLuR49.js} +2 -2
- package/dist/{useSalesChannels-BaBwQqcP.js → useSalesChannels-Dce6D7J1.js} +4 -4
- package/dist/{useScenarios-BJJvml-j.js → useScenarios-HttV-8Oo.js} +2 -2
- package/dist/{useTaskStatus-1tjqSb4D.js → useTaskStatus-DNhqpQ2D.js} +2 -2
- package/dist/{useTermsOfServiceStatus-B3VyH-O5.js → useTermsOfServiceStatus-CmMOe9uh.js} +2 -2
- package/dist/{useToastContext-D06xzYOV.js → useToastContext-pGIuUtOK.js} +2 -2
- package/dist/{useTrustMembers-BKqlPqX9.js → useTrustMembers-BVMLWQPp.js} +4 -4
- package/dist/{useUnincorporatedPartnershipMembers-DXBAF3-e.js → useUnincorporatedPartnershipMembers-lNQMZi00.js} +5 -5
- package/dist/{useUpdateBusinessLines-DKXhqYCR.js → useUpdateBusinessLines-D5dzDvDz.js} +5 -5
- package/dist/{useUpdateLegalEntity-Ci7INf21.js → useUpdateLegalEntity-Zci5El_5.js} +3 -3
- package/dist/{utils-CHfAVbD1.js → utils-BBCW8T5n.js} +2 -2
- package/dist/{utils-qZ76EKjf.js → utils-DO61bZBE.js} +2 -2
- package/dist/{utils-BTirG8oU.js → utils-DW097Fth.js} +2 -2
- package/dist/{utils-C6Jnurmx.js → utils-DmGPdHLa.js} +3 -3
- package/dist/{utils-BQnTjqYC.js → utils-LSf8dbhe.js} +5 -5
- package/dist/{validate-CGRP-XKK.js → validate-CqF9k0Xk.js} +3 -3
- package/dist/{validate-WROT-SMP.js → validate-H0lJr72L.js} +2 -2
- package/dist/{validationError-DGhgpBkU.js → validationError-Cg6KszQD.js} +3 -3
- package/package.json +28 -25
- package/dist/Accordion-Cqu7QS2u.js +0 -88
- package/dist/Alert-DdvR5JXz.js +0 -169
- package/dist/DropinLayout-CBP_cHLC.js +0 -17
- package/dist/Header-BsGesDVP.js +0 -83
- package/dist/ManageIndividualComponent-BvEUZxYS.js +0 -46
- package/dist/TaskVerificationStatus-CLNmwFAF.js +0 -129
- package/dist/bg-BG-6XzbmxcW.js +0 -13
- package/dist/cs-CZ-C6vEQ8P9.js +0 -13
- package/dist/da-DK-DzcTI92X.js +0 -13
- package/dist/datasetUtil-BHQp0-xL.js +0 -58
- package/dist/de-DE-dPfrbCii.js +0 -13
- package/dist/el-GR-Dazirlmt.js +0 -13
- package/dist/en-US-cVpRgdC8.js +0 -13
- package/dist/es-ES--IvNed_Q.js +0 -13
- package/dist/et-EE-CsTXSlnY.js +0 -13
- package/dist/fi-FI-BUixKfXH.js +0 -13
- package/dist/fr-FR-BM-qNLci.js +0 -13
- package/dist/hr-HR-BF74vdPD.js +0 -13
- package/dist/hu-HU-DYhMVR_c.js +0 -13
- package/dist/it-IT-D63gRTDc.js +0 -13
- package/dist/ja-JP-DL0IjTzn.js +0 -13
- package/dist/lt-LT-BX8dOAzK.js +0 -13
- package/dist/lv-LV-dA8yYdKe.js +0 -13
- package/dist/mapJpAddressSchemaToAddressLocalizations-CH7_92jG.js +0 -162
- package/dist/nl-NL-KQ6bciOb.js +0 -13
- package/dist/no-NO-Ds3VioxT.js +0 -13
- package/dist/pl-PL-BgbxWHGE.js +0 -13
- package/dist/pt-BR-Ct4s4jXV.js +0 -13
- package/dist/pt-PT-DBEsmXQX.js +0 -13
- package/dist/ro-RO-C00Ig8CL.js +0 -13
- package/dist/sk-SK-BbJWayDh.js +0 -13
- package/dist/sl-SI-hxwQIw_i.js +0 -13
- package/dist/sv-SE-0PQ-U1u6.js +0 -13
- package/dist/unincorporated-partnership-MeN1dp53.js +0 -97
- package/dist/useDataset-D9eSt03k.js +0 -76
- package/dist/useSetting-BWKORbmz.js +0 -19
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ef54c360-fe2e-40d9-9b59-83226ed0decf", e._sentryDebugIdIdentifier = "sentry-dbid-ef54c360-fe2e-40d9-9b59-83226ed0decf");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
11
|
+
import { L as LegalEntityTypes, z as Typography } from "./StoreProvider-C-jrVTWp.js";
|
|
12
12
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
13
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
13
|
+
import { l as localizeDateString } from "./localizeDateString-0tXkduO2.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fd1f10b1-88cd-4368-9bb3-45dd292d2615", e._sentryDebugIdIdentifier = "sentry-dbid-fd1f10b1-88cd-4368-9bb3-45dd292d2615");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { C as CompanyTypesValues } from "./company-types-value-D_mKv5PT.js";
|
|
11
|
-
import {
|
|
12
|
-
import { a as allowIndividualWithoutSoleProp } from "./accountHolderUtils-
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
11
|
+
import { a4 as getLegalEntityCountry, bC as getCapabilities, L as LegalEntityTypes, a$ as hasOwnEntityAssociationOfType, a5 as CountryCodes } from "./StoreProvider-C-jrVTWp.js";
|
|
12
|
+
import { a as allowIndividualWithoutSoleProp } from "./accountHolderUtils-C2OlbJ51.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-vC5TbPZA.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-D6yU8_jd.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0bfb6730-e52b-4ff9-8386-d3b88602d3ff", e._sentryDebugIdIdentifier = "sentry-dbid-0bfb6730-e52b-4ff9-8386-d3b88602d3ff");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import "@tanstack/preact-query";
|
|
11
|
-
import {
|
|
12
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
11
|
+
import { a3 as httpPost, al as httpDelete, j as httpGet, a8 as createLogger, bl as StateContext, u as useTranslation, m as useAnalyticsContext, p as Icon, z as Typography, G as Loader, q as IconButton } from "./StoreProvider-C-jrVTWp.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-BBCW8T5n.js";
|
|
13
13
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
14
|
import cx from "classnames";
|
|
15
15
|
import { useEffect } from "preact/hooks";
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5698fcf0-dad9-44e6-9caf-fedec51ca787", e._sentryDebugIdIdentifier = "sentry-dbid-5698fcf0-dad9-44e6-9caf-fedec51ca787");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { aD as hasText } from "./StoreProvider-C-jrVTWp.js";
|
|
11
11
|
const validateLegalEntityIdentifier = (legalEntityIdentifier) => {
|
|
12
12
|
if (!legalEntityIdentifier) {
|
|
13
13
|
return true;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9e5d75f2-901c-408d-8161-3873c37833fb", e._sentryDebugIdIdentifier = "sentry-dbid-9e5d75f2-901c-408d-8161-3873c37833fb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { h as TaskTypes, b6 as remediationPayoutApiKeyMapping, b7 as remediationBusinessDetailsApiKeyMapping, b8 as remediationIndividualApiKeyMapping } from "./StoreProvider-C-jrVTWp.js";
|
|
11
11
|
import { a as assignToProp } from "./utils-DNSfZiio.js";
|
|
12
12
|
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
13
13
|
const overrideKeyMapping = {
|
|
@@ -41,7 +41,7 @@ const mapField = (lePath, dropinTask) => {
|
|
|
41
41
|
switch (dropinTask) {
|
|
42
42
|
case TaskTypes.INDIVIDUAL: {
|
|
43
43
|
const mappedPath = overrideKeyMapping?.[TaskTypes.INDIVIDUAL]?.[lePath];
|
|
44
|
-
return mappedPath ? mappedPath :
|
|
44
|
+
return mappedPath ? mappedPath : remediationIndividualApiKeyMapping[lePath];
|
|
45
45
|
}
|
|
46
46
|
case TaskTypes.BUSINESS_DETAILS: {
|
|
47
47
|
const mappedPath = overrideKeyMapping?.[TaskTypes.BUSINESS_DETAILS]?.[lePath];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0-beta.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-kyc",
|
|
@@ -86,31 +86,32 @@
|
|
|
86
86
|
"dependencies": {
|
|
87
87
|
"@adyen/adyen-document-viewer": "^1.4.2",
|
|
88
88
|
"@adyen/openbankingsdk": "^0.2.3",
|
|
89
|
-
"@adyen/ui-assets-icons-16": "^7.
|
|
90
|
-
"@preact/signals": "^2.
|
|
89
|
+
"@adyen/ui-assets-icons-16": "^7.7.5",
|
|
90
|
+
"@preact/signals": "^2.8.2",
|
|
91
91
|
"@tanstack/preact-query": "^5.93.0",
|
|
92
92
|
"classnames": "^2.5.1",
|
|
93
93
|
"container-query-polyfill": "^1.0.2",
|
|
94
|
-
"i18next": "^25.8.
|
|
94
|
+
"i18next": "^25.8.18",
|
|
95
95
|
"monogon": "^0.3.4",
|
|
96
96
|
"named-slots": "^0.4.2",
|
|
97
97
|
"onfido-sdk-ui": "14.55.0",
|
|
98
|
-
"preact": "^10.
|
|
98
|
+
"preact": "^10.29.0",
|
|
99
99
|
"preact-custom-element": "^4.6.0",
|
|
100
100
|
"wouter-preact": "^3.9.0"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
|
-
"@adyen/bento-design-tokens": "^1.
|
|
103
|
+
"@adyen/bento-design-tokens": "^1.87.1",
|
|
104
104
|
"@commitlint/cli": "^19.8.1",
|
|
105
105
|
"@commitlint/config-conventional": "^19.8.1",
|
|
106
106
|
"@commitlint/prompt-cli": "^19.8.1",
|
|
107
107
|
"@eslint/compat": "^1.4.1",
|
|
108
|
-
"@eslint/js": "^9.39.
|
|
109
|
-
"@playwright/test": "^1.58.
|
|
108
|
+
"@eslint/js": "^9.39.4",
|
|
109
|
+
"@playwright/test": "^1.58.2",
|
|
110
110
|
"@preact/eslint-plugin-signals": "^0.2.0",
|
|
111
111
|
"@preact/preset-vite": "^2.10.3",
|
|
112
112
|
"@sentry/bundler-plugin-core": "3.5.0",
|
|
113
113
|
"@sentry/cli": "2.42.2",
|
|
114
|
+
"@slack/types": "^2.19.0",
|
|
114
115
|
"@storybook/addon-a11y": "10.1.10",
|
|
115
116
|
"@storybook/addon-docs": "10.1.10",
|
|
116
117
|
"@storybook/addon-vitest": "10.1.10",
|
|
@@ -121,18 +122,19 @@
|
|
|
121
122
|
"@testing-library/jest-dom": "^6.9.1",
|
|
122
123
|
"@testing-library/preact": "3.2.3",
|
|
123
124
|
"@testing-library/user-event": "^14.6.1",
|
|
124
|
-
"@types/react": "^19.2.
|
|
125
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
126
|
-
"@typescript-eslint/parser": "^8.
|
|
125
|
+
"@types/react": "^19.2.14",
|
|
126
|
+
"@typescript-eslint/eslint-plugin": "^8.57.0",
|
|
127
|
+
"@typescript-eslint/parser": "^8.57.0",
|
|
127
128
|
"@vitest/browser-playwright": "4.0.10",
|
|
128
129
|
"@vitest/coverage-v8": "4.0.10",
|
|
129
130
|
"@vitest/ui": "4.0.10",
|
|
130
|
-
"axios": "^1.13.
|
|
131
|
+
"axios": "^1.13.6",
|
|
131
132
|
"chalk": "^5.6.2",
|
|
132
133
|
"concurrently": "^9.2.1",
|
|
133
134
|
"cross-env": "^7.0.3",
|
|
134
|
-
"
|
|
135
|
-
"
|
|
135
|
+
"ctrf-cli": "^0.0.5",
|
|
136
|
+
"dotenv": "^17.3.1",
|
|
137
|
+
"eslint": "^9.39.4",
|
|
136
138
|
"eslint-config-prettier": "^10.1.8",
|
|
137
139
|
"eslint-import-resolver-typescript": "^3.10.1",
|
|
138
140
|
"eslint-plugin-check-file": "^3.3.1",
|
|
@@ -144,36 +146,37 @@
|
|
|
144
146
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
145
147
|
"eslint-plugin-react-you-might-not-need-an-effect": "^0.5.6",
|
|
146
148
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
147
|
-
"eslint-plugin-testing-library": "^7.
|
|
149
|
+
"eslint-plugin-testing-library": "^7.16.0",
|
|
148
150
|
"eslint-plugin-unicorn": "^61.0.2",
|
|
149
|
-
"happy-dom": "^20.
|
|
151
|
+
"happy-dom": "^20.8.3",
|
|
150
152
|
"inquirer": "^12.11.1",
|
|
151
153
|
"jsonc-eslint-parser": "^2.4.2",
|
|
152
154
|
"msw": "2.7.3",
|
|
153
155
|
"msw-storybook-addon": "^2.0.6",
|
|
154
|
-
"openapi-typescript": "^7.
|
|
155
|
-
"phone": "^3.1.
|
|
156
|
-
"
|
|
156
|
+
"openapi-typescript": "^7.13.0",
|
|
157
|
+
"phone": "^3.1.71",
|
|
158
|
+
"playwright-ctrf-json-reporter": "^0.0.27",
|
|
159
|
+
"postcss": "^8.5.8",
|
|
157
160
|
"preact-iso": "2.11.1",
|
|
158
161
|
"prettier": "^3.8.1",
|
|
159
|
-
"react": "npm:@preact/compat@^18.3.
|
|
160
|
-
"react-dom": "npm:@preact/compat@^18.3.
|
|
162
|
+
"react": "npm:@preact/compat@^18.3.2",
|
|
163
|
+
"react-dom": "npm:@preact/compat@^18.3.2",
|
|
161
164
|
"react-i18next": "^15.7.4",
|
|
162
165
|
"remark-gfm": "^4.0.1",
|
|
163
166
|
"rollup-plugin-visualizer": "^5.14.0",
|
|
164
167
|
"ruins": "^0.2.3",
|
|
165
|
-
"sass": "^1.
|
|
168
|
+
"sass": "^1.98.0",
|
|
166
169
|
"storybook": "10.1.10",
|
|
167
170
|
"storybook-addon-tag-badges": "3.0.4",
|
|
168
171
|
"stylelint": "^16.26.1",
|
|
169
172
|
"stylelint-config-recommended-scss": "^14.1.0",
|
|
170
173
|
"stylelint-config-sass-guidelines": "^12.1.0",
|
|
171
174
|
"stylelint-scss": "^6.14.0",
|
|
172
|
-
"svgo": "^4.0.
|
|
175
|
+
"svgo": "^4.0.1",
|
|
173
176
|
"tsc-alias": "^1.8.16",
|
|
174
177
|
"type-fest": "^4.41.0",
|
|
175
178
|
"typescript": "^5.9.3",
|
|
176
|
-
"typescript-eslint": "^8.
|
|
179
|
+
"typescript-eslint": "^8.57.0",
|
|
177
180
|
"vite": "^7.3.1",
|
|
178
181
|
"vite-node": "^3.2.4",
|
|
179
182
|
"vite-plugin-shadow-styles": "^0.0.3",
|
|
@@ -236,7 +239,7 @@
|
|
|
236
239
|
"test:m2e:debug": "NODE_OPTIONS=--no-experimental-strip-types PWDEBUG=console playwright test --debug",
|
|
237
240
|
"test:m2e:ui": "NODE_OPTIONS=--no-experimental-strip-types playwright test --ui",
|
|
238
241
|
"test:e2e": "NODE_OPTIONS=--no-experimental-strip-types playwright test --config=playwright.e2e.config.ts",
|
|
239
|
-
"test:e2e:ui": "NODE_OPTIONS=--no-experimental-strip-types
|
|
242
|
+
"test:e2e:ui": "NODE_OPTIONS=--no-experimental-strip-types playwright test --config=playwright.e2e.config.ts --ui",
|
|
240
243
|
"test:performance": "PERFORMANCE_TEST=true playwright test performance",
|
|
241
244
|
"test:ui": "vitest --ui",
|
|
242
245
|
"test:watch": "pnpm test --watch",
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e8ad0e32-177b-4016-a8aa-3edcde6a16e5", e._sentryDebugIdIdentifier = "sentry-dbid-e8ad0e32-177b-4016-a8aa-3edcde6a16e5");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import cx from "classnames";
|
|
12
|
-
import { defineSlots } from "named-slots";
|
|
13
|
-
import { r as Icon, z as Typography, a1 as Skeleton } from "./StoreProvider-Cs2w6BiW.js";
|
|
14
|
-
const accordion = "adyen-kyc-accordion";
|
|
15
|
-
const accordionSummary = "adyen-kyc-accordion-summary";
|
|
16
|
-
const accordionBasic = "adyen-kyc-accordion-basic";
|
|
17
|
-
const accordionInfo = "adyen-kyc-accordion-info";
|
|
18
|
-
const accordionError = "adyen-kyc-accordion-error";
|
|
19
|
-
const accordionWarning = "adyen-kyc-accordion-warning";
|
|
20
|
-
const accordionSuccess = "adyen-kyc-accordion-success";
|
|
21
|
-
const accordionNarrow = "adyen-kyc-accordion-narrow";
|
|
22
|
-
const accordionContent = "adyen-kyc-accordion-content";
|
|
23
|
-
const accordionWithIcon = "adyen-kyc-accordion-with-icon";
|
|
24
|
-
const accordionArrow = "adyen-kyc-accordion-arrow";
|
|
25
|
-
const accordionArrowRight = "adyen-kyc-accordion-arrow-right";
|
|
26
|
-
const styles = {
|
|
27
|
-
accordion,
|
|
28
|
-
accordionSummary,
|
|
29
|
-
accordionBasic,
|
|
30
|
-
accordionInfo,
|
|
31
|
-
accordionError,
|
|
32
|
-
accordionWarning,
|
|
33
|
-
accordionSuccess,
|
|
34
|
-
accordionNarrow,
|
|
35
|
-
accordionContent,
|
|
36
|
-
accordionWithIcon,
|
|
37
|
-
accordionArrow,
|
|
38
|
-
accordionArrowRight
|
|
39
|
-
};
|
|
40
|
-
const Accordion = ({
|
|
41
|
-
children,
|
|
42
|
-
expandOnLeft = false,
|
|
43
|
-
onToggle,
|
|
44
|
-
className,
|
|
45
|
-
variant = "basic",
|
|
46
|
-
narrow = false
|
|
47
|
-
}) => {
|
|
48
|
-
const { Slot } = defineSlots(children, ["title", "content", "icon"]);
|
|
49
|
-
const handleToggle = (e) => {
|
|
50
|
-
if (!onToggle) return;
|
|
51
|
-
onToggle(e.newState === "closed" ? "close" : "open");
|
|
52
|
-
};
|
|
53
|
-
const variantMap = {
|
|
54
|
-
basic: styles.accordionBasic,
|
|
55
|
-
info: styles.accordionInfo,
|
|
56
|
-
error: styles.accordionError,
|
|
57
|
-
warning: styles.accordionWarning,
|
|
58
|
-
success: styles.accordionSuccess
|
|
59
|
-
};
|
|
60
|
-
return /* @__PURE__ */ jsxs(
|
|
61
|
-
"details",
|
|
62
|
-
{
|
|
63
|
-
onToggle: handleToggle,
|
|
64
|
-
className: cx(className, styles.accordion, variantMap[variant], {
|
|
65
|
-
[styles.accordionWithIcon]: expandOnLeft,
|
|
66
|
-
[styles.accordionNarrow]: narrow
|
|
67
|
-
}),
|
|
68
|
-
children: [
|
|
69
|
-
/* @__PURE__ */ jsxs("summary", { className: styles.accordionSummary, children: [
|
|
70
|
-
expandOnLeft && /* @__PURE__ */ jsx(Icon, { name: "chevron-down", className: styles.accordionArrow }),
|
|
71
|
-
/* @__PURE__ */ jsx(Slot, { name: "icon" }),
|
|
72
|
-
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "body-strongest", children: /* @__PURE__ */ jsx(Slot, { name: "title", children: /* @__PURE__ */ jsx(Skeleton, {}) }) }),
|
|
73
|
-
!expandOnLeft && /* @__PURE__ */ jsx(
|
|
74
|
-
Icon,
|
|
75
|
-
{
|
|
76
|
-
name: "chevron-down",
|
|
77
|
-
className: cx(styles.accordionArrow, styles.accordionArrowRight)
|
|
78
|
-
}
|
|
79
|
-
)
|
|
80
|
-
] }),
|
|
81
|
-
/* @__PURE__ */ jsx("div", { className: styles.accordionContent, children: /* @__PURE__ */ jsx(Slot, { name: "content", children: /* @__PURE__ */ jsx(Skeleton, {}) }) })
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
);
|
|
85
|
-
};
|
|
86
|
-
export {
|
|
87
|
-
Accordion as A
|
|
88
|
-
};
|
package/dist/Alert-DdvR5JXz.js
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d20c8234-5dd9-4b0c-a53f-66b069375bb0", e._sentryDebugIdIdentifier = "sentry-dbid-d20c8234-5dd9-4b0c-a53f-66b069375bb0");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import cx from "classnames";
|
|
12
|
-
import { isValidElement } from "preact";
|
|
13
|
-
import { useState } from "preact/hooks";
|
|
14
|
-
import { A as Accordion } from "./Accordion-Cqu7QS2u.js";
|
|
15
|
-
import { u as useTranslation, z as Typography, V as Button, r as Icon } from "./StoreProvider-Cs2w6BiW.js";
|
|
16
|
-
const alert = "adyen-kyc-alert";
|
|
17
|
-
const alertWithoutIcon = "adyen-kyc-alert-without-icon";
|
|
18
|
-
const alertExplanation = "adyen-kyc-alert-explanation";
|
|
19
|
-
const alertActions = "adyen-kyc-alert-actions";
|
|
20
|
-
const alertBasic = "adyen-kyc-alert-basic";
|
|
21
|
-
const alertInfo = "adyen-kyc-alert-info";
|
|
22
|
-
const alertError = "adyen-kyc-alert-error";
|
|
23
|
-
const alertWarning = "adyen-kyc-alert-warning";
|
|
24
|
-
const alertSuccess = "adyen-kyc-alert-success";
|
|
25
|
-
const alertHeader = "adyen-kyc-alert-header";
|
|
26
|
-
const alertHeaderWithoutChildren = "adyen-kyc-alert-header-without-children";
|
|
27
|
-
const alertIcon = "adyen-kyc-alert-icon";
|
|
28
|
-
const alertIconInfo = "adyen-kyc-alert-icon-info";
|
|
29
|
-
const alertIconError = "adyen-kyc-alert-icon-error";
|
|
30
|
-
const alertIconWarning = "adyen-kyc-alert-icon-warning";
|
|
31
|
-
const alertIconSuccess = "adyen-kyc-alert-icon-success";
|
|
32
|
-
const alertTitle = "adyen-kyc-alert-title";
|
|
33
|
-
const styles = {
|
|
34
|
-
alert,
|
|
35
|
-
alertWithoutIcon,
|
|
36
|
-
alertExplanation,
|
|
37
|
-
alertActions,
|
|
38
|
-
alertBasic,
|
|
39
|
-
alertInfo,
|
|
40
|
-
alertError,
|
|
41
|
-
alertWarning,
|
|
42
|
-
alertSuccess,
|
|
43
|
-
alertHeader,
|
|
44
|
-
alertHeaderWithoutChildren,
|
|
45
|
-
alertIcon,
|
|
46
|
-
alertIconInfo,
|
|
47
|
-
alertIconError,
|
|
48
|
-
alertIconWarning,
|
|
49
|
-
alertIconSuccess,
|
|
50
|
-
alertTitle
|
|
51
|
-
};
|
|
52
|
-
const variantMap = {
|
|
53
|
-
basic: styles.alertBasic,
|
|
54
|
-
info: styles.alertInfo,
|
|
55
|
-
error: styles.alertError,
|
|
56
|
-
warning: styles.alertWarning,
|
|
57
|
-
success: styles.alertSuccess
|
|
58
|
-
};
|
|
59
|
-
const iconVariantMap = {
|
|
60
|
-
basic: "",
|
|
61
|
-
// does not exist
|
|
62
|
-
info: styles.alertIconInfo,
|
|
63
|
-
error: styles.alertIconError,
|
|
64
|
-
warning: styles.alertIconWarning,
|
|
65
|
-
success: styles.alertIconSuccess
|
|
66
|
-
};
|
|
67
|
-
const Alert = ({
|
|
68
|
-
title,
|
|
69
|
-
variant = "basic",
|
|
70
|
-
type = "default",
|
|
71
|
-
className,
|
|
72
|
-
actions,
|
|
73
|
-
children,
|
|
74
|
-
icon,
|
|
75
|
-
testId,
|
|
76
|
-
onClose,
|
|
77
|
-
onToggle
|
|
78
|
-
}) => {
|
|
79
|
-
const { t } = useTranslation("ui");
|
|
80
|
-
const [isClosed, setIsClosed] = useState(false);
|
|
81
|
-
if (isClosed) return null;
|
|
82
|
-
const closeAlert = () => {
|
|
83
|
-
if (onClose) onClose();
|
|
84
|
-
setIsClosed(true);
|
|
85
|
-
};
|
|
86
|
-
const renderIcon = () => {
|
|
87
|
-
if (icon === false) return void 0;
|
|
88
|
-
if (isValidElement(icon)) {
|
|
89
|
-
return icon;
|
|
90
|
-
}
|
|
91
|
-
return /* @__PURE__ */ jsx("span", { className: cx(styles.alertIcon, iconVariantMap[variant]), children: /* @__PURE__ */ jsx(AlertIcon, { variant }) });
|
|
92
|
-
};
|
|
93
|
-
const renderedIcon = renderIcon();
|
|
94
|
-
if (type === "collapsible") {
|
|
95
|
-
return /* @__PURE__ */ jsxs(Accordion, { variant, onToggle: onToggle || void 0, narrow: true, className, children: [
|
|
96
|
-
/* @__PURE__ */ jsx("template", { slot: "title", children: title }),
|
|
97
|
-
/* @__PURE__ */ jsx("template", { slot: "icon", children: renderedIcon }),
|
|
98
|
-
/* @__PURE__ */ jsxs("template", { slot: "content", children: [
|
|
99
|
-
children,
|
|
100
|
-
!!actions && /* @__PURE__ */ jsx("div", { className: styles.alertActions, children: actions })
|
|
101
|
-
] })
|
|
102
|
-
] });
|
|
103
|
-
}
|
|
104
|
-
if (type === "callToAction") {
|
|
105
|
-
return /* @__PURE__ */ jsxs(
|
|
106
|
-
"div",
|
|
107
|
-
{
|
|
108
|
-
className: cx(styles.alert, className, variantMap[variant], {
|
|
109
|
-
[styles.alertWithoutIcon]: !renderedIcon
|
|
110
|
-
}),
|
|
111
|
-
role: "alert",
|
|
112
|
-
"data-testid": testId,
|
|
113
|
-
children: [
|
|
114
|
-
/* @__PURE__ */ jsxs(
|
|
115
|
-
"div",
|
|
116
|
-
{
|
|
117
|
-
className: cx(styles.alertHeader, {
|
|
118
|
-
[styles.alertHeaderWithoutChildren]: !children
|
|
119
|
-
}),
|
|
120
|
-
children: [
|
|
121
|
-
renderedIcon,
|
|
122
|
-
title && /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "body-strongest", className: styles.alertTitle, children: title }),
|
|
123
|
-
!!actions && /* @__PURE__ */ jsx("div", { className: styles.alertActions, children: actions })
|
|
124
|
-
]
|
|
125
|
-
}
|
|
126
|
-
),
|
|
127
|
-
!!children && /* @__PURE__ */ jsx("div", { className: styles.alertExplanation, children })
|
|
128
|
-
]
|
|
129
|
-
}
|
|
130
|
-
);
|
|
131
|
-
}
|
|
132
|
-
return /* @__PURE__ */ jsxs(
|
|
133
|
-
"div",
|
|
134
|
-
{
|
|
135
|
-
className: cx(styles.alert, className, variantMap[variant], {
|
|
136
|
-
[styles.alertWithoutIcon]: !renderedIcon
|
|
137
|
-
}),
|
|
138
|
-
role: "alert",
|
|
139
|
-
"data-testid": testId,
|
|
140
|
-
children: [
|
|
141
|
-
/* @__PURE__ */ jsxs("div", { className: styles.alertHeader, children: [
|
|
142
|
-
renderedIcon,
|
|
143
|
-
title && /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "body-strongest", className: styles.alertTitle, children: title }),
|
|
144
|
-
type === "dismissible" && /* @__PURE__ */ jsx(Button, { variant: "tertiary", icon: "cross", onClick: closeAlert, children: t(($) => $["close"]) })
|
|
145
|
-
] }),
|
|
146
|
-
!!children && /* @__PURE__ */ jsx("div", { className: styles.alertExplanation, children }),
|
|
147
|
-
!!actions && /* @__PURE__ */ jsx("div", { className: styles.alertActions, children: actions })
|
|
148
|
-
]
|
|
149
|
-
}
|
|
150
|
-
);
|
|
151
|
-
};
|
|
152
|
-
const AlertIcon = ({ variant }) => {
|
|
153
|
-
switch (variant) {
|
|
154
|
-
case "success":
|
|
155
|
-
return /* @__PURE__ */ jsx(Icon, { name: "checkmark" });
|
|
156
|
-
case "error":
|
|
157
|
-
return /* @__PURE__ */ jsx(Icon, { name: "error" });
|
|
158
|
-
case "warning":
|
|
159
|
-
return /* @__PURE__ */ jsx(Icon, { name: "warning" });
|
|
160
|
-
case "info":
|
|
161
|
-
case "basic":
|
|
162
|
-
default:
|
|
163
|
-
return /* @__PURE__ */ jsx(Icon, { name: "info-circle-filled" });
|
|
164
|
-
}
|
|
165
|
-
};
|
|
166
|
-
export {
|
|
167
|
-
AlertIcon as A,
|
|
168
|
-
Alert as a
|
|
169
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b6f69b45-f97a-4b68-8ee1-badeece37da9", e._sentryDebugIdIdentifier = "sentry-dbid-b6f69b45-f97a-4b68-8ee1-badeece37da9");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
const DropinLayout = ({ content, footer }) => /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-dropin", children: [
|
|
12
|
-
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropin__content", children: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropin__content-main", children: content }) }),
|
|
13
|
-
footer && /* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropin__footer-container", children: footer })
|
|
14
|
-
] });
|
|
15
|
-
export {
|
|
16
|
-
DropinLayout as D
|
|
17
|
-
};
|
package/dist/Header-BsGesDVP.js
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a7f067c7-d7b1-4d87-9afe-1eae7441f5ea", e._sentryDebugIdIdentifier = "sentry-dbid-a7f067c7-d7b1-4d87-9afe-1eae7441f5ea");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import cx from "classnames";
|
|
12
|
-
import { defineSlots } from "named-slots";
|
|
13
|
-
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
14
|
-
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-CLNmwFAF.js";
|
|
15
|
-
const header = "adyen-kyc-header";
|
|
16
|
-
const headerMargin = "adyen-kyc-header-margin";
|
|
17
|
-
const headerMarginSecondary = "adyen-kyc-header-margin-secondary";
|
|
18
|
-
const headerLeft = "adyen-kyc-header-left";
|
|
19
|
-
const headerCenter = "adyen-kyc-header-center";
|
|
20
|
-
const headerRight = "adyen-kyc-header-right";
|
|
21
|
-
const headerContent = "adyen-kyc-header-content";
|
|
22
|
-
const headerActions = "adyen-kyc-header-actions";
|
|
23
|
-
const headerTitle = "adyen-kyc-header-title";
|
|
24
|
-
const headerTitlePrimary = "adyen-kyc-header-title-primary";
|
|
25
|
-
const headerTitleSecondary = "adyen-kyc-header-title-secondary";
|
|
26
|
-
const headerDescription = "adyen-kyc-header-description";
|
|
27
|
-
const headerDescriptionPrimary = "adyen-kyc-header-description-primary";
|
|
28
|
-
const headerDescriptionSecondary = "adyen-kyc-header-description-secondary";
|
|
29
|
-
const styles = {
|
|
30
|
-
header,
|
|
31
|
-
headerMargin,
|
|
32
|
-
headerMarginSecondary,
|
|
33
|
-
headerLeft,
|
|
34
|
-
headerCenter,
|
|
35
|
-
headerRight,
|
|
36
|
-
headerContent,
|
|
37
|
-
headerActions,
|
|
38
|
-
headerTitle,
|
|
39
|
-
headerTitlePrimary,
|
|
40
|
-
headerTitleSecondary,
|
|
41
|
-
headerDescription,
|
|
42
|
-
headerDescriptionPrimary,
|
|
43
|
-
headerDescriptionSecondary
|
|
44
|
-
};
|
|
45
|
-
const alignmentStyles = {
|
|
46
|
-
left: styles.headerLeft,
|
|
47
|
-
center: styles.headerCenter,
|
|
48
|
-
right: styles.headerRight
|
|
49
|
-
};
|
|
50
|
-
const Header = ({
|
|
51
|
-
align = "left",
|
|
52
|
-
children,
|
|
53
|
-
description,
|
|
54
|
-
secondary = false,
|
|
55
|
-
status,
|
|
56
|
-
title
|
|
57
|
-
}) => {
|
|
58
|
-
const { Slot, hasSlot } = defineSlots(children ?? [], ["actions", "description"]);
|
|
59
|
-
const HeadingElement = secondary ? "h2" : "h1";
|
|
60
|
-
const rootClassname = cx(styles.header, alignmentStyles[align], {
|
|
61
|
-
[styles.headerMargin]: !secondary,
|
|
62
|
-
[styles.headerMarginSecondary]: secondary
|
|
63
|
-
});
|
|
64
|
-
const titleClassname = cx(styles.headerTitle, {
|
|
65
|
-
[styles.headerTitlePrimary]: !secondary,
|
|
66
|
-
[styles.headerTitleSecondary]: secondary
|
|
67
|
-
});
|
|
68
|
-
const descriptionClassname = cx(styles.headerDescription, {
|
|
69
|
-
[styles.headerDescriptionPrimary]: !secondary,
|
|
70
|
-
[styles.headerDescriptionSecondary]: secondary
|
|
71
|
-
});
|
|
72
|
-
return /* @__PURE__ */ jsxs("header", { className: rootClassname, children: [
|
|
73
|
-
status && /* @__PURE__ */ jsx(TaskVerificationStatus, { status, responsive: false }),
|
|
74
|
-
/* @__PURE__ */ jsxs("div", { className: styles.headerContent, children: [
|
|
75
|
-
/* @__PURE__ */ jsx(HeadingElement, { className: titleClassname, children: title }),
|
|
76
|
-
(hasSlot("description") || description) && /* @__PURE__ */ jsx("div", { className: descriptionClassname, children: /* @__PURE__ */ jsx(Slot, { name: "description", children: description }) })
|
|
77
|
-
] }),
|
|
78
|
-
hasSlot("actions") && /* @__PURE__ */ jsx("div", { className: styles.headerActions, children: /* @__PURE__ */ jsx(StackLayout, { gap: "small", horizontal: true, children: /* @__PURE__ */ jsx(Slot, { name: "actions" }) }) })
|
|
79
|
-
] });
|
|
80
|
-
};
|
|
81
|
-
export {
|
|
82
|
-
Header as H
|
|
83
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "23f9c68c-8743-4aa1-a7ea-d2396812bba4", e._sentryDebugIdIdentifier = "sentry-dbid-23f9c68c-8743-4aa1-a7ea-d2396812bba4");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { u as useTranslation, b as useApiContext, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-Cs2w6BiW.js";
|
|
11
|
-
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-f-bbvzT0.js";
|
|
13
|
-
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
14
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-CAwsc7gn.js";
|
|
15
|
-
function ManageIndividualComponent({
|
|
16
|
-
legalEntityId,
|
|
17
|
-
onClick
|
|
18
|
-
}) {
|
|
19
|
-
const { i18n } = useTranslation();
|
|
20
|
-
const { rootLegalEntityId: currentLegalEntityId } = useApiContext();
|
|
21
|
-
currentLegalEntityId.value = legalEntityId;
|
|
22
|
-
addResourceBundles(i18n, [
|
|
23
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-6XzbmxcW.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-C6vEQ8P9.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DzcTI92X.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-dPfrbCii.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Dazirlmt.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-Cs2w6BiW.js").then((n) => n.bG), "../../../language/locales/es-ES.json": () => import("./es-ES--IvNed_Q.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-CsTXSlnY.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BUixKfXH.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-BM-qNLci.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-BF74vdPD.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-DYhMVR_c.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-D63gRTDc.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-DL0IjTzn.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BX8dOAzK.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-dA8yYdKe.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-KQ6bciOb.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Ds3VioxT.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-BgbxWHGE.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-Ct4s4jXV.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-DBEsmXQX.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-C00Ig8CL.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-BbJWayDh.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-hxwQIw_i.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-0PQ-U1u6.js") }), `../../../language/locales/${lang}.json`, 6) }
|
|
24
|
-
]);
|
|
25
|
-
const { data: legalEntityData } = useLegalEntity(ROOT_LE);
|
|
26
|
-
const { isPending, data: onboardingStatusData } = useOnboardingStatus({
|
|
27
|
-
refetchInterval: (res) => res.state.data?.status === OnboardingStatuses.AWAITING_DATA ? 3e3 : false
|
|
28
|
-
});
|
|
29
|
-
const name = legalEntityData?.individual?.name;
|
|
30
|
-
const fullName = name ? `${name.firstName} ${name.lastName}` : "";
|
|
31
|
-
const subtitle = legalEntityData?.individual?.email ?? "";
|
|
32
|
-
const status = onboardingStatusData?.status;
|
|
33
|
-
return /* @__PURE__ */ jsx(
|
|
34
|
-
EmbeddedStatus,
|
|
35
|
-
{
|
|
36
|
-
onClick,
|
|
37
|
-
title: fullName,
|
|
38
|
-
subtitle,
|
|
39
|
-
status,
|
|
40
|
-
loading: isPending
|
|
41
|
-
}
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
export {
|
|
45
|
-
ManageIndividualComponent as M
|
|
46
|
-
};
|