@adyen/kyc-components 3.74.6 → 3.75.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/{AcceptTermsOfServiceComponent-BqzgKlvm.js → AcceptTermsOfServiceComponent-CmtjlLkc.js} +7 -13
- package/dist/{AccountSetupRejected-DjDL8jmS.js → AccountSetupRejected-D-gXso-m.js} +2 -2
- package/dist/{Avatar-wjLtSQkK.js → Avatar-EN9QqneW.js} +1 -1
- package/dist/{BusinessDetailsDropin-BTgBn9DK.js → BusinessDetailsDropin-D7bmlCWL.js} +95 -75
- package/dist/{BusinessFinancingComponent-BXOS208z.js → BusinessFinancingComponent-CWrke1wB.js} +3 -3
- package/dist/{BusinessFinancingDropin-BbQp3Trc.js → BusinessFinancingDropin-CIr8dodZ.js} +9 -15
- package/dist/{BusinessFinancingPage-CWZUFD8-.js → BusinessFinancingPage-BUaBk8uq.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-BZCOP0IF.js → BusinessTypeSelectionPage-D3fUNn7f.js} +4 -6
- package/dist/{ContractViewer-B7hrFdPk.js → ContractViewer-fPv7fuFx.js} +1 -1
- package/dist/{CreateIndividualComponent-BT09k8CS.js → CreateIndividualComponent-BSLA7VnY.js} +3 -4
- package/dist/{CreateTransferInstrumentComponent-DieMuBVh.js → CreateTransferInstrumentComponent-Drs_YkA-.js} +2 -3
- package/dist/{CustomerSupport-QKjx95Se.js → CustomerSupport-zKf2s-8D.js} +5 -6
- package/dist/{DebugModal-D5jsBdP9.js → DebugModal-BYymGgjT.js} +43 -10
- package/dist/{DecisionMakerDetailsPage-j44uyMcI.js → DecisionMakerDetailsPage-DqlS3Pit.js} +3 -4
- package/dist/{DecisionMakers-CS10zS56.js → DecisionMakers-CX22Ap-u.js} +4 -6
- package/dist/{EmbeddedStatus-BJNO2HQM.js → EmbeddedStatus-D_5O-E9M.js} +3 -3
- package/dist/{FormEndState-HM9-Iybg.js → FormEndState-DL_XVLTU.js} +1 -1
- package/dist/{FormFlow-Dh42U5Dm.js → FormFlow-8fZuMxhg.js} +2 -5
- package/dist/{IndividualOnfidoDropin-185xffxF.js → IndividualOnfidoDropin-fwzLO6t3.js} +73 -84
- package/dist/{Introduction-DA4Vqi29.js → Introduction-BifK4Csi.js} +3 -4
- package/dist/{LegalRepresentativeDetailsPage-BadQ0fr1.js → LegalRepresentativeDetailsPage-VLBt7NDI.js} +3 -4
- package/dist/{ManageIndividualComponent-DCMI3sdK.js → ManageIndividualComponent-DVtZzeGS.js} +4 -4
- package/dist/{ManagePCIComponent-BC0TK7FM.js → ManagePCIComponent-CfRjUILc.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-CiK3SL8y.js → ManageTermsOfServiceComponent-B3NHrk94.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-sCdm0_6v.js → ManageTransferInstrumentComponent-DLZUnjM-.js} +4 -9
- package/dist/{OnboardingDropinComponent-CXM4ne0C.js → OnboardingDropinComponent-O5G-8Wpl.js} +117 -115
- package/dist/{ProviderButton-BKQeyTkZ.js → ProviderButton-BEwLbf1l.js} +3 -13
- package/dist/{Review-CkMsQ4jl.js → Review-BtJMQZDF.js} +3 -4
- package/dist/{RootBusinessDetailsPage-sFpUGMqo.js → RootBusinessDetailsPage-WN5nZDvo.js} +3 -4
- package/dist/{RootIndividualDetailsPage-_Ay6SL3f.js → RootIndividualDetailsPage-CVSrwRCQ.js} +3 -4
- package/dist/{SignPCIComponent-D35Kpcfv.js → SignPCIComponent-CpPSrDnv.js} +6 -10
- package/dist/{SingpassSelection-B0dtvrCa.js → SingpassSelection-BnbLViNx.js} +2 -2
- package/dist/{SoleProprietorshipPage-C6YDlNql.js → SoleProprietorshipPage-IcvPd-nL.js} +3 -4
- package/dist/{SourceOfFunds.module-BdvORVHN.js → SourceOfFunds.module-Bo6TYBfH.js} +1 -1
- package/dist/{SourceOfFundsPage-wl2-rTNr.js → SourceOfFundsPage-CCv1L9it.js} +36 -28
- package/dist/{StoreProvider-BSkziuJ9.js → StoreProvider-CairIABM.js} +3206 -956
- package/dist/{TaskItemStatus-BYKG95n7.js → TaskItemStatus-9_rlwmj8.js} +2 -2
- package/dist/{TaxReportingDropin-khLr0hFP.js → TaxReportingDropin-DxckPuwa.js} +7 -8
- package/dist/{TileGroup-CSl0rZJR.js → TileGroup-jtLX8JgH.js} +2 -2
- package/dist/{TrustDetailsPage-DSbNRTLH.js → TrustDetailsPage-C0SUQFV-.js} +12 -36
- package/dist/{TrustMemberCompanyPage-MHb4v-mt.js → TrustMemberCompanyPage-mOFqP6NS.js} +4 -5
- package/dist/{TrustMemberIndividualPage-DrH2zcs2.js → TrustMemberIndividualPage-BGJsBZEr.js} +3 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-DTXEST-V.js → UnincorporatedPartnershipIndividualPage-CogP3uSQ.js} +3 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BrwfQPSK.js → UnincorporatedPartnershipMemberCompanyPage-B8uzg9KK.js} +3 -4
- package/dist/{VerificationErrorAlert-BPgzHZvz.js → VerificationErrorAlert-kHFgZANq.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-CGZbOuEz.js → ViewVerificationStatusComponent-CD3Jt8MZ.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +14 -14
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-pci.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-sign-pci.js +2 -2
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bg-BG-BzeiDl-e.js → bg-BG-BV_GOHGg.js} +49 -3
- package/dist/{cs-CZ-4Tk67nmO.js → cs-CZ-CZDCUWRh.js} +49 -3
- package/dist/{css-CH00rBdF.js → css-Cz9rxCv4.js} +2 -2
- package/dist/{da-DK-CN3Rc5da.js → da-DK-BmTgxKpq.js} +49 -3
- package/dist/{de-DE-GaynF_xB.js → de-DE-DZeG8NVg.js} +49 -3
- package/dist/{el-GR-C3tN9AFZ.js → el-GR-C3likHBP.js} +48 -2
- package/dist/{es-ES-9Q6u4x6u.js → es-ES-DHhHHeU-.js} +48 -2
- package/dist/{et-EE-jHAEJC5c.js → et-EE-CiD_oBu3.js} +49 -3
- package/dist/{fi-FI-DH5DphLd.js → fi-FI-DAZqSyjL.js} +49 -3
- package/dist/{fr-FR-DCboO9VH.js → fr-FR-vs5BYMWx.js} +49 -3
- package/dist/{getFieldsWithExistingData-M80AmxW5.js → getFieldsWithExistingData-BsvSqWoV.js} +2 -2
- package/dist/{hasDataChanged-rFZP3bN1.js → hasDataChanged-Dms2p9LC.js} +2 -2
- package/dist/{hr-HR-333ODlHZ.js → hr-HR-CcaMvc2K.js} +49 -3
- package/dist/{hu-HU-CUNG9bik.js → hu-HU-CzBd9g0P.js} +48 -2
- package/dist/{individualFormConfig-Jzdtvxb0.js → individualFormConfig-DlheGOdv.js} +6 -2
- package/dist/{it-IT-CXxD91gu.js → it-IT-BXIdTOUw.js} +49 -3
- package/dist/{ja-JP-1qp81W1I.js → ja-JP-CngmcMI-.js} +48 -2
- package/dist/{json--XurzXL9.js → json-B-tTa0eY.js} +2 -2
- package/dist/{localizeDateString-BTqPuXz8.js → localizeDateString-B7q5Bl9r.js} +2 -2
- package/dist/{lt-LT-vQmxFgVn.js → lt-LT-Dpyaroh2.js} +49 -3
- package/dist/{lv-LV-Ds10XQ8q.js → lv-LV-CCcm8aDW.js} +49 -3
- package/dist/{mapFinancialReportsToFinancialInformation-XSFKqLLm.js → mapFinancialReportsToFinancialInformation-B0S7gC4f.js} +2 -2
- package/dist/{nl-NL-BsDTOkW4.js → nl-NL-gYpP7VMA.js} +49 -3
- package/dist/{no-NO-BpyiF6sI.js → no-NO-nOXLv4rO.js} +49 -3
- package/dist/{pl-PL-BqA3pc6p.js → pl-PL-Dwlwj1ob.js} +49 -3
- package/dist/{plaintext-C-xhcbw9.js → plaintext-CW6d70Y6.js} +2 -2
- package/dist/preact/adyen-terms-of-service.js +1 -1
- package/dist/preact/adyen-transfer-instrument.js +1 -1
- package/dist/{pt-PT-DSry7yG3.js → pt-PT-DbQbuaCm.js} +49 -3
- package/dist/{resolveEnvironment-CF43kjG9.js → resolveEnvironment-BsLkkNKL.js} +3 -3
- package/dist/{ro-RO-r8myUMxM.js → ro-RO-ZTuJtIop.js} +49 -3
- package/dist/{rules-ClGuufcz.js → rules-9XmAbTQu.js} +14 -3
- package/dist/{sk-SK-Dy7mKbdU.js → sk-SK-Ba8jBCvr.js} +49 -3
- package/dist/{sl-SI-L3YffGqX.js → sl-SI-DszG8wEm.js} +49 -3
- package/dist/style.css +475 -490
- package/dist/styles-CLV89_hH.js +481 -496
- package/dist/{sv-SE-BtKMAZPD.js → sv-SE-Fo7zzjiG.js} +48 -2
- package/dist/types/api/address/address.types.d.ts +0 -1
- package/dist/types/api/address/useSearchAddress.d.ts +0 -1
- package/dist/types/api/companyDataSet/companyDataset.types.d.ts +2 -2
- package/dist/types/api/companyDataSet/constants.d.ts +1 -1
- package/dist/types/api/companyDataSet/handleCompanyDataset.d.ts +3 -0
- package/dist/types/api/companySearch/companySearch.types.d.ts +2 -2
- package/dist/types/api/companySelection/companySelection.types.d.ts +6 -0
- package/dist/types/api/companySelection/useCompanySelection.d.ts +4 -0
- package/dist/types/api/configurations/useScenarios.d.ts +7 -7
- package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
- package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
- package/dist/types/api/entityVerifications/entityVerifications.types.d.ts +1 -1
- package/dist/types/api/queryKeys.d.ts +3 -2
- package/dist/types/api/termsOfService/useTermsOfService.d.ts +4 -4
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +1 -0
- package/dist/types/api/transferInstruments/transferInstruments.types.d.ts +1 -1
- package/dist/types/api/uiAnalytics/uiAnalytics.types.d.ts +4 -1
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -10
- package/dist/types/components/BankAccount/fields/BankAccountNumber/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankAccountNumber/types.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankCode/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankCode/types.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BranchCode/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BranchCode/types.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/ibanValidator.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/types.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/SwiftCode/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -7
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/allowedBankCountriesPerCountry.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +24 -24
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +1 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +3 -3
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +3 -0
- package/dist/types/components/BankAccount/utils/defaultPayoutAccountFormat.d.ts +1 -1
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +2 -2
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +1 -1
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +2 -4
- package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfDirectorDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfSignatoryDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/RegistrationDocument/config.d.ts +1 -1
- package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/TaxDocument/config.d.ts +1 -1
- package/dist/types/components/Business/forms/TaxDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +3 -3
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsFormConfig.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +3 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +3 -3
- package/dist/types/components/Business/utils/companyUtil.d.ts +1 -1
- package/dist/types/components/EFP/fields/LegalFormField/types.d.ts +1 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +3 -3
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SOFUploadModal.d.ts +0 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +3 -3
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +1 -0
- package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +2 -2
- package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +1 -1
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -1
- package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +1 -1
- package/dist/types/components/Individual/fields/IdentityNumber/type.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/utils.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/Individual.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +5 -4
- package/dist/types/components/Individual/forms/Individual/types.d.ts +4 -4
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/validate.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/validate.d.ts +2 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/individualOnfidoConflictsSchema.d.ts +23 -9
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +5 -4
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +4 -4
- package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +1 -1
- package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +1 -1
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/individualOnfidoFormConfig.d.ts +1 -1
- package/dist/types/components/Shared/EntityAssociation/types.d.ts +1 -1
- package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -1
- package/dist/types/components/Shared/FormNavigation/types.d.ts +3 -3
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -2
- package/dist/types/components/Shared/SingpassSelection/types.d.ts +1 -1
- package/dist/types/components/Shared/Summary/Summary.d.ts +1 -1
- package/dist/types/components/Shared/Summary/types.d.ts +2 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +2 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/CountryField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/types.d.ts +2 -2
- package/dist/types/components/Shared/fields/DBANameField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/IndividualIdNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultTaxIdNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferCompanyRegistrationNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferTaxIdNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferVatNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/types.d.ts +3 -3
- package/dist/types/components/Shared/fields/StockExchangeMICField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/constants.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +2 -2
- package/dist/types/components/Shared/forms/CompanyNameAndCountry/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/ConstitutionalDocument/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/ContactDetails/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/FinancialInformation/ReportedValue.d.ts +1 -1
- package/dist/types/components/Shared/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
- package/dist/types/components/Shared/forms/FinancialInformation/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +2 -2
- package/dist/types/components/Shared/tasks/CustomerSupport/types.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/PayoutAccountTaskListItem.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/Trust.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +3 -3
- package/dist/types/components/Trust/forms/Trust/types.d.ts +2 -2
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +1 -1
- package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +1 -1
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/types.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustDropin/trustFormConfig.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +1 -1
- package/dist/types/components/Trust/utils/trustUtil.d.ts +3 -3
- package/dist/types/components/UnincorporatedPartnership/types/types.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/utils/unincorporatedParnershipUtil.d.ts +2 -2
- package/dist/types/components/ui/molecules/Alert/types.d.ts +1 -1
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +1 -1
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +1 -1
- package/dist/types/components/ui/molecules/Dropzone/validate.d.ts +1 -1
- package/dist/types/components/ui/molecules/ErrorPanel/types.d.ts +2 -2
- package/dist/types/components/ui/molecules/InputCurrency/InputCurrency.d.ts +1 -1
- package/dist/types/constants/countries.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +9 -1
- package/dist/types/context/FormRouterContext/types.d.ts +1 -1
- package/dist/types/context/SettingsContext/types.d.ts +1 -1
- package/dist/types/core/analytics.d.ts +3 -1
- package/dist/types/core/errorMapping.d.ts +3 -3
- package/dist/types/core/models/api/address.d.ts +1 -1
- package/dist/types/core/models/api/financialReport.d.ts +1 -1
- package/dist/types/core/models/api/get-scenarios.d.ts +0 -7
- package/dist/types/core/models/api/legal-arrangement.d.ts +1 -1
- package/dist/types/core/models/api/organization.d.ts +1 -1
- package/dist/types/core/models/api/phone.d.ts +1 -1
- package/dist/types/core/models/api/remediating-action.d.ts +1 -1
- package/dist/types/core/models/api/source-of-funds.d.ts +1 -1
- package/dist/types/core/models/api/transfer-instrument.d.ts +1 -1
- package/dist/types/core/models/api/verification-error.d.ts +1 -1
- package/dist/types/core/process-field-configurations.d.ts +4 -4
- package/dist/types/core/types.d.ts +1 -1
- package/dist/types/core/user-events.d.ts +11 -2
- package/dist/types/datasets/generators/getAccountFormatForCountry.d.ts +2 -2
- package/dist/types/datasets/generators/getBusinessTypeExamplesForCountry.d.ts +1 -1
- package/dist/types/datasets/generators/getCompanyTypeExamplesForCountry.d.ts +1 -1
- package/dist/types/datasets/generators/getLegalArrangementTypeExamplesForCountry.d.ts +2 -2
- package/dist/types/datasets/generators/loadCountries.d.ts +1 -1
- package/dist/types/datasets/generators/loadStatesDataset.d.ts +1 -1
- package/dist/types/hooks/singpass/useHasSeenSingpassSelection.d.ts +2 -1
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +1 -1
- package/dist/types/hooks/useAccountHolder.d.ts +1 -1
- package/dist/types/hooks/useAllowedCountries.d.ts +1 -1
- package/dist/types/hooks/useAsyncValidator.d.ts +2 -1
- package/dist/types/hooks/useBusinessSetup.d.ts +1 -1
- package/dist/types/hooks/useDataConflicts.d.ts +0 -6
- package/dist/types/hooks/useDataMissingRemediations.d.ts +1 -1
- package/dist/types/hooks/useForm/reducer.d.ts +2 -2
- package/dist/types/hooks/useForm/types.d.ts +6 -6
- package/dist/types/hooks/useFormComposer.d.ts +2 -2
- package/dist/types/hooks/useMultiForm/reducer.d.ts +4 -3
- package/dist/types/hooks/useMultiForm/types.d.ts +0 -39
- package/dist/types/hooks/useMultiForm/useMultiFormAsyncValidator.d.ts +2 -2
- package/dist/types/hooks/useScenarioConfiguration.d.ts +3 -3
- package/dist/types/language/utils.d.ts +1 -1
- package/dist/types/stores/globalStore/calculateTaskStatus.d.ts +2 -2
- package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +2 -2
- package/dist/types/stores/globalStore/get-task-status.d.ts +1 -1
- package/dist/types/stores/globalStore/globalStore.d.ts +3 -3
- package/dist/types/{core/models → types}/errors/capability-problems.d.ts +1 -1
- package/dist/types/{core/models → types}/errors/entity-problems.d.ts +4 -4
- package/dist/types/{core/models → types}/errors/error-message.d.ts +1 -1
- package/dist/types/{core/models → types}/errors/remediation.d.ts +1 -1
- package/dist/types/{core/models → types}/form-configuration.d.ts +4 -4
- package/dist/types/{core/models → types}/form-rules.d.ts +10 -8
- package/dist/types/{core/models → types}/form.d.ts +1 -1
- package/dist/types/utils/accountHolderUtils.d.ts +1 -1
- package/dist/types/utils/api/documentUtils.d.ts +1 -1
- package/dist/types/utils/api/getProblemsForEntity.d.ts +2 -2
- package/dist/types/utils/api/processCapabilitites.d.ts +3 -3
- package/dist/types/utils/api/processValidationErrors.d.ts +2 -2
- package/dist/types/utils/birthDateUtils.d.ts +1 -1
- package/dist/types/utils/country.d.ts +1 -1
- package/dist/types/utils/datasetUtil.d.ts +3 -3
- package/dist/types/{core/models/decision-maker.d.ts → utils/decisionMaker.d.ts} +2 -2
- package/dist/types/utils/dropinUtils.d.ts +2 -2
- package/dist/types/utils/entityAssociationUtil.d.ts +5 -5
- package/dist/types/utils/entityStatusUtil.d.ts +2 -2
- package/dist/types/{core/models/field-configurations.d.ts → utils/fieldConfigurations.d.ts} +4 -4
- package/dist/types/utils/formUtils.d.ts +1 -1
- package/dist/types/utils/formatCurrency.d.ts +1 -1
- package/dist/types/utils/getLegalEntityCountry.d.ts +1 -1
- package/dist/types/utils/getSSNType.d.ts +1 -1
- package/dist/types/utils/mapping/mapExistingFile.d.ts +1 -1
- package/dist/types/utils/perCountry.d.ts +1 -1
- package/dist/types/utils/perState.d.ts +3 -2
- package/dist/types/utils/regex/postalCodePatterns.d.ts +1 -1
- package/dist/types/utils/validation/types.d.ts +1 -1
- package/dist/types/{core/models/errors/validation-error.d.ts → utils/validationError.d.ts} +1 -1
- package/dist/types/utils/validatorUtils.d.ts +1 -1
- package/dist/{useMultiForm-BVPPHa0M.js → useMultiForm-akawPP6-.js} +2 -2
- package/dist/{useOnboardingStatus-DpP-tjPy.js → useOnboardingStatus-C757XzAk.js} +1 -1
- package/dist/{useSalesChannelsSettings-zsFV9x70.js → useSalesChannelsSettings-a9NvV0WH.js} +2 -2
- package/dist/{useTermsOfServiceStatus-CBKy10jD.js → useTermsOfServiceStatus-DD0WeUI2.js} +4 -4
- package/dist/{useUpdateLegalEntity-ClwtWsot.js → useUpdateLegalEntity-C8OwKklo.js} +2 -2
- package/dist/{utils-mM6f_wxM.js → utils-DaglygRr.js} +4 -4
- package/dist/{validate-DFKx6bSa.js → validate-C7NHrX-0.js} +2 -2
- package/dist/{validate-CEf7z2pv.js → validate-PZoo-tXo.js} +2 -2
- package/dist/vue/adyen-individual.js +1 -1
- package/dist/vue/adyen-manage-individual.js +1 -1
- package/dist/vue/adyen-terms-of-service.js +1 -1
- package/dist/vue/adyen-transfer-instrument.js +1 -1
- package/dist/{yaml-CSK-WKa1.js → yaml-2GWWWq1l.js} +2 -2
- package/package.json +1 -1
- package/dist/Confirm-CdvwUHlM.js +0 -56
- package/dist/FormNavigation-9Ha5WQ7h.js +0 -145
- package/dist/FormWrapper-CjafzdMl.js +0 -149
- package/dist/MaybeModal-D7t6odRe.js +0 -18
- package/dist/Modal-B4HGO4xa.js +0 -135
- package/dist/PayoutDetailsDropin-B62ePi00.js +0 -914
- package/dist/PayoutDetailsPage-BtEL7Ure.js +0 -57
- package/dist/Spacer-BK3jDget.js +0 -18
- package/dist/StepProgressIndicator-CLum5vhL.js +0 -74
- package/dist/documentUtils-DQ_zpuxK.js +0 -226
- package/dist/dropinUtils-CjsvWZ8W.js +0 -204
- package/dist/mapExistingFile-BE74t9jV.js +0 -25
- package/dist/mapTransferInstrumentToPayoutAccount-Dz9ksLeQ.js +0 -30
- package/dist/omitObscuredFieldsIfUnchanged-aJVqTkBm.js +0 -28
- package/dist/process-field-configurations-DDlO4LEU.js +0 -185
- package/dist/processValidationErrors-BEKEAx0L.js +0 -203
- package/dist/types/api/companyDataSet/useCompanyDataset.d.ts +0 -5
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/formatId.d.ts +0 -3
- package/dist/types-CjUrSQiM.js +0 -45
- package/dist/useToastContext-BHaVFSLN.js +0 -21
- package/dist/utils-B1H_8b1P.js +0 -74
- /package/dist/types/{core/types/AccountHolder.types.d.ts → types/accountHolder.d.ts} +0 -0
- /package/dist/types/{core/models → types/datasets}/country-code.d.ts +0 -0
- /package/dist/types/{core/models → types/datasets}/currency.d.ts +0 -0
- /package/dist/types/{core/models → types/datasets}/province-code.d.ts +0 -0
- /package/dist/types/{core/models → types/datasets}/state-code.d.ts +0 -0
- /package/dist/types/{core/models → types}/errors/form-verification-errors.d.ts +0 -0
- /package/dist/types/{core/models → types}/errors/maintenance-mode-error.d.ts +0 -0
- /package/dist/types/{core/models → types}/errors/remediation-action-context.d.ts +0 -0
- /package/dist/types/{core/models → types}/file.d.ts +0 -0
|
@@ -1,185 +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] = "767bca55-b890-472e-9c00-433fdff08c37", e._sentryDebugIdIdentifier = "sentry-dbid-767bca55-b890-472e-9c00-433fdff08c37");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { aI as createLogger, aY as TrustedFieldsProvider, dc as businessDetailsApiKeyMapping, ce as individualApiKeyMapping, bA as keysOf, dd as remediationHasFileUploadField, de as dataMissingRemediationsToFieldsMap } from "./StoreProvider-BSkziuJ9.js";
|
|
11
|
-
const linkedFieldsMap = {
|
|
12
|
-
"additionalInformation.vatNumber": [
|
|
13
|
-
"additionalInformation.vatAbsenceReason",
|
|
14
|
-
"additionalInformation.exemptedFromVat"
|
|
15
|
-
],
|
|
16
|
-
"additionalInformation.vatAbsenceReason": [
|
|
17
|
-
"additionalInformation.vatNumber",
|
|
18
|
-
"additionalInformation.exemptedFromVat"
|
|
19
|
-
]
|
|
20
|
-
};
|
|
21
|
-
const getLinkedFields = (field) => linkedFieldsMap[field] ?? [];
|
|
22
|
-
const addLinkedFields = (fields) => {
|
|
23
|
-
const withLinkedFields = [...fields];
|
|
24
|
-
for (const field of fields) {
|
|
25
|
-
withLinkedFields.push(...getLinkedFields(field));
|
|
26
|
-
}
|
|
27
|
-
return [...new Set(withLinkedFields)];
|
|
28
|
-
};
|
|
29
|
-
const logger = createLogger();
|
|
30
|
-
const composePerScenarioFormConfigurations = (scenarios = [], configurations) => scenarios.reduce(
|
|
31
|
-
(composedConfiguration, scenarioName) => ({
|
|
32
|
-
...composedConfiguration,
|
|
33
|
-
...configurations[scenarioName]
|
|
34
|
-
}),
|
|
35
|
-
{}
|
|
36
|
-
);
|
|
37
|
-
const augmentWithCountryConfigs = (countrySpecificConfig, baseFormConfig) => {
|
|
38
|
-
if (!countrySpecificConfig) return baseFormConfig;
|
|
39
|
-
return keysOf(countrySpecificConfig).reduce(
|
|
40
|
-
(mergedConfig, field) => ({
|
|
41
|
-
...mergedConfig,
|
|
42
|
-
[field]: {
|
|
43
|
-
...baseFormConfig[field],
|
|
44
|
-
...countrySpecificConfig[field]
|
|
45
|
-
}
|
|
46
|
-
}),
|
|
47
|
-
baseFormConfig
|
|
48
|
-
);
|
|
49
|
-
};
|
|
50
|
-
const evaluateRules = (fieldSettings, customRules) => {
|
|
51
|
-
const ruleNames = [fieldSettings.rule, ...fieldSettings.rules ?? []].filter(Boolean);
|
|
52
|
-
const rules = ruleNames.map((ruleName) => {
|
|
53
|
-
switch (ruleName) {
|
|
54
|
-
case "REQUIRED":
|
|
55
|
-
return () => "REQUIRED";
|
|
56
|
-
case "OPTIONAL":
|
|
57
|
-
return () => "OPTIONAL";
|
|
58
|
-
default: {
|
|
59
|
-
const ruleFn = customRules[ruleName];
|
|
60
|
-
if (!ruleFn) {
|
|
61
|
-
logger.error(`Rule with name '${ruleName}' is not defined`);
|
|
62
|
-
return () => void 0;
|
|
63
|
-
}
|
|
64
|
-
return ruleFn;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
return rules.map((rule) => rule());
|
|
69
|
-
};
|
|
70
|
-
const isFieldRequired = (fieldSettings, customRules) => {
|
|
71
|
-
return evaluateRules(fieldSettings, customRules).every((result) => result === "REQUIRED");
|
|
72
|
-
};
|
|
73
|
-
const isFieldOptional = (fieldSettings, customRules) => {
|
|
74
|
-
return evaluateRules(fieldSettings, customRules).every((result) => result === "OPTIONAL");
|
|
75
|
-
};
|
|
76
|
-
function getPropsFromConfigurations(scenarioConfiguration, forms, remediationActions, dataMissingErrors, fieldsWithExistingData, customRules = {}, _customLabels = {}, _customValidators = {}, legalEntityType, legalEntityTrustedFields, remediationFieldAsOptional = false) {
|
|
77
|
-
const requiredFields = {};
|
|
78
|
-
const optionalFields = {};
|
|
79
|
-
const allFields = {};
|
|
80
|
-
const labels = {};
|
|
81
|
-
const obscuredFields = {};
|
|
82
|
-
const trustedFields = {};
|
|
83
|
-
if (!scenarioConfiguration) {
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
const readonly = ["legalFormDescription"];
|
|
87
|
-
const trustedFieldMappings = legalEntityTrustedFields == null ? void 0 : legalEntityTrustedFields.reduce(
|
|
88
|
-
(acc, trusted) => {
|
|
89
|
-
switch (trusted.provider) {
|
|
90
|
-
case TrustedFieldsProvider.KOMPANY: {
|
|
91
|
-
if (legalEntityType === "organization") {
|
|
92
|
-
return [...acc, ...trusted.fields.map((tf) => businessDetailsApiKeyMapping[tf])];
|
|
93
|
-
}
|
|
94
|
-
return acc;
|
|
95
|
-
}
|
|
96
|
-
case TrustedFieldsProvider.SINGPASS: {
|
|
97
|
-
if (legalEntityType === "organization") {
|
|
98
|
-
const orgFields = trusted.fields.filter(
|
|
99
|
-
(field) => (field == null ? void 0 : field.split(".")[0]) === "organization"
|
|
100
|
-
);
|
|
101
|
-
return [...acc, ...orgFields.map((tf) => businessDetailsApiKeyMapping[tf])];
|
|
102
|
-
}
|
|
103
|
-
if (legalEntityType === "individual") {
|
|
104
|
-
const individualFields = trusted.fields.filter(
|
|
105
|
-
(field) => (field == null ? void 0 : field.split(".")[0]) === "individual"
|
|
106
|
-
);
|
|
107
|
-
return [...acc, ...individualFields.map((tf) => individualApiKeyMapping[tf])];
|
|
108
|
-
}
|
|
109
|
-
return acc;
|
|
110
|
-
}
|
|
111
|
-
default:
|
|
112
|
-
return acc;
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
[]
|
|
116
|
-
);
|
|
117
|
-
Object.entries(forms).forEach(([formId, formDetails]) => {
|
|
118
|
-
var _a;
|
|
119
|
-
const formFieldsWithExistingData = addLinkedFields(fieldsWithExistingData).filter((field) => field.startsWith(formId)).map((field) => field.slice(field.lastIndexOf(".") + 1));
|
|
120
|
-
if (trustedFieldMappings) {
|
|
121
|
-
trustedFields[formId] = getFormTrustedFields(formId, trustedFieldMappings);
|
|
122
|
-
}
|
|
123
|
-
(_a = formDetails.fields) == null ? void 0 : _a.forEach((field) => {
|
|
124
|
-
const fieldSettings = scenarioConfiguration[field];
|
|
125
|
-
const isRequiredFromFieldConfig = fieldSettings && isFieldRequired(fieldSettings, customRules);
|
|
126
|
-
const isFieldRequiredByRemediationAction = showRemediationField(field, remediationActions);
|
|
127
|
-
const isFieldNeededToRemediateDataMissingError = isFieldRequiredToRemediateDataMissingError(
|
|
128
|
-
formId,
|
|
129
|
-
field,
|
|
130
|
-
dataMissingErrors
|
|
131
|
-
);
|
|
132
|
-
const isRequiredByRemediationAction = !remediationFieldAsOptional && isFieldRequiredByRemediationAction;
|
|
133
|
-
const isOptionalByRemediationAction = remediationFieldAsOptional && isFieldRequiredByRemediationAction;
|
|
134
|
-
const isOptionalFromFieldConfig = fieldSettings && isFieldOptional(fieldSettings, customRules);
|
|
135
|
-
const isRequiredFieldPopulated = !isOptionalFromFieldConfig && formFieldsWithExistingData.includes(field);
|
|
136
|
-
const isRequired = isRequiredFromFieldConfig || isRequiredByRemediationAction || isFieldNeededToRemediateDataMissingError || isRequiredFieldPopulated;
|
|
137
|
-
if (isRequired && !readonly.includes(field)) {
|
|
138
|
-
requiredFields[formId] = requiredFields[formId] ? [...requiredFields[formId], field] : [field];
|
|
139
|
-
allFields[formId] = allFields[formId] ? [...allFields[formId], field] : [field];
|
|
140
|
-
}
|
|
141
|
-
const isOptional = !isRequired && (isOptionalFromFieldConfig || isOptionalByRemediationAction);
|
|
142
|
-
if (isOptional) {
|
|
143
|
-
optionalFields[formId] = optionalFields[formId] ? [...optionalFields[formId], field] : [field];
|
|
144
|
-
allFields[formId] = allFields[formId] ? [...allFields[formId], field] : [field];
|
|
145
|
-
}
|
|
146
|
-
if (fieldSettings == null ? void 0 : fieldSettings.obscured) {
|
|
147
|
-
obscuredFields[formId] = obscuredFields[formId] ? [...obscuredFields[formId], field] : [field];
|
|
148
|
-
}
|
|
149
|
-
});
|
|
150
|
-
});
|
|
151
|
-
return {
|
|
152
|
-
requiredFields,
|
|
153
|
-
optionalFields,
|
|
154
|
-
allFields,
|
|
155
|
-
labels,
|
|
156
|
-
obscuredFields,
|
|
157
|
-
trustedFields
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
const showRemediationField = (field, remediationActions) => remediationActions.some(
|
|
161
|
-
(rem) => {
|
|
162
|
-
var _a;
|
|
163
|
-
return ((_a = rem.fields) == null ? void 0 : _a.includes(field)) && remediationHasFileUploadField(rem);
|
|
164
|
-
}
|
|
165
|
-
);
|
|
166
|
-
const makeTLDSFieldName = (formId, fieldName) => {
|
|
167
|
-
if (fieldName === "proofOfOrganizationTaxInfo") {
|
|
168
|
-
return `${formId}.taxDocument`;
|
|
169
|
-
}
|
|
170
|
-
return `${formId}.${fieldName}`;
|
|
171
|
-
};
|
|
172
|
-
const isFieldRequiredToRemediateDataMissingError = (formId, field, dataMissingErrors) => {
|
|
173
|
-
const dataMissingRemediations = dataMissingErrors.flatMap((error) => error.remediatingActions).filter((remediatingAction) => remediatingAction.code in dataMissingRemediationsToFieldsMap);
|
|
174
|
-
const missingFields = dataMissingRemediations.flatMap((remediatingAction) => dataMissingRemediationsToFieldsMap[remediatingAction.code]).map((missingField) => makeTLDSFieldName(formId, missingField));
|
|
175
|
-
const missingAndLinkedFields = addLinkedFields(missingFields);
|
|
176
|
-
return missingAndLinkedFields.includes(makeTLDSFieldName(formId, field));
|
|
177
|
-
};
|
|
178
|
-
const getFormTrustedFields = (formId, trustedFields) => trustedFields.filter((field) => field.split(".")[0] === formId).map(
|
|
179
|
-
(field) => field.split(".").filter((item) => formId !== item).join(".")
|
|
180
|
-
);
|
|
181
|
-
export {
|
|
182
|
-
augmentWithCountryConfigs as a,
|
|
183
|
-
composePerScenarioFormConfigurations as c,
|
|
184
|
-
getPropsFromConfigurations as g
|
|
185
|
-
};
|
|
@@ -1,203 +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] = "021df5ed-dd9f-474e-983f-9f81b25afb1a", e._sentryDebugIdIdentifier = "sentry-dbid-021df5ed-dd9f-474e-983f-9f81b25afb1a");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { useEffect, useState, useMemo } from "preact/hooks";
|
|
11
|
-
import { p as useApiContext, q as useQuery, r as httpGet, al as CountryCodes, aI as createLogger, d7 as payoutAccountFormat, d8 as AdyenKycSdkError, W as TaskTypes, d9 as remediationPayoutApiKeyMapping, da as remediationBusinessDetailsApiKeyMapping, db as remediationIndividualApiKeyMapping } from "./StoreProvider-BSkziuJ9.js";
|
|
12
|
-
import { a as assignToProp } from "./utils-B1H_8b1P.js";
|
|
13
|
-
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
14
|
-
const API_VALIDATION_ERROR_CODE = "30_102";
|
|
15
|
-
const ID_DOCUMENT_UPLOAD_ERROR_CODE = "30_105";
|
|
16
|
-
const BANK_STATEMENT_UPLOAD_ERROR_CODE = "30_106";
|
|
17
|
-
const validateErrorCode = (error, errorCode) => !!error && typeof error === "object" && "errorCode" in error && error.errorCode === errorCode;
|
|
18
|
-
const isValidationError = (error) => validateErrorCode(error, API_VALIDATION_ERROR_CODE);
|
|
19
|
-
const isIdDocumentUploadError = (error) => validateErrorCode(error, ID_DOCUMENT_UPLOAD_ERROR_CODE);
|
|
20
|
-
const isBankStatementUploadError = (error) => validateErrorCode(error, BANK_STATEMENT_UPLOAD_ERROR_CODE);
|
|
21
|
-
const mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable = (error) => {
|
|
22
|
-
var _a;
|
|
23
|
-
if (!error) {
|
|
24
|
-
return "failedToUpdateDetails";
|
|
25
|
-
}
|
|
26
|
-
const message = (_a = error == null ? void 0 : error.sourceError) == null ? void 0 : _a.detail;
|
|
27
|
-
switch (message) {
|
|
28
|
-
case "Transfer instrument limit has already been met":
|
|
29
|
-
return "transferInstrumentLimitHasAlreadyBeenMet";
|
|
30
|
-
default:
|
|
31
|
-
return "failedToUpdateDetails";
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
35
|
-
const scenarioParams = new URLSearchParams({
|
|
36
|
-
...countryCode && { countryCode },
|
|
37
|
-
...legalEntityType && { legalEntityType }
|
|
38
|
-
});
|
|
39
|
-
return httpGet({
|
|
40
|
-
baseUrl,
|
|
41
|
-
path: `legalEntities/${legalEntityId}/configurations/scenarios?${scenarioParams}`
|
|
42
|
-
});
|
|
43
|
-
};
|
|
44
|
-
const useScenarios = (countryCode, legalEntityType, options) => {
|
|
45
|
-
var _a;
|
|
46
|
-
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
47
|
-
const result = useQuery({
|
|
48
|
-
queryKey: ["scenarios", legalEntityType, countryCode],
|
|
49
|
-
queryFn: () => getScenarios(rootLegalEntityId.value, baseUrl.value, legalEntityType, countryCode),
|
|
50
|
-
...options
|
|
51
|
-
});
|
|
52
|
-
return {
|
|
53
|
-
...result,
|
|
54
|
-
data: (_a = result.data) == null ? void 0 : _a[legalEntityType]
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
const defaultPayoutAccountFormat = {
|
|
58
|
-
[CountryCodes.CzechRepublic]: "iban",
|
|
59
|
-
[CountryCodes.Denmark]: "local",
|
|
60
|
-
[CountryCodes.Hungary]: "iban",
|
|
61
|
-
[CountryCodes.Norway]: "local",
|
|
62
|
-
[CountryCodes.Poland]: "local",
|
|
63
|
-
[CountryCodes.Sweden]: "local",
|
|
64
|
-
[CountryCodes.UnitedKingdom]: "local"
|
|
65
|
-
};
|
|
66
|
-
const useUnifyLoadingStatus = (setParentLoadingStatus, ...childLoadingStatuses) => {
|
|
67
|
-
useEffect(() => {
|
|
68
|
-
const loadingStatus = childLoadingStatuses.some(
|
|
69
|
-
(status) => status === "loading" || status === "pending"
|
|
70
|
-
) ? "loading" : "success";
|
|
71
|
-
setParentLoadingStatus(loadingStatus);
|
|
72
|
-
}, [...childLoadingStatuses]);
|
|
73
|
-
};
|
|
74
|
-
const logger = createLogger();
|
|
75
|
-
const useScenarioConfiguration = ({
|
|
76
|
-
getPayoutAccountFormatData,
|
|
77
|
-
parseConfiguration,
|
|
78
|
-
country,
|
|
79
|
-
legalEntityType,
|
|
80
|
-
instantVerificationAvailable,
|
|
81
|
-
setLoadingStatus,
|
|
82
|
-
existingBankAccountFormat
|
|
83
|
-
}) => {
|
|
84
|
-
const accountFormat = payoutAccountFormat.value;
|
|
85
|
-
const {
|
|
86
|
-
data: scenarios,
|
|
87
|
-
isLoading: scenariosIsLoading,
|
|
88
|
-
isError: scenariosIsError
|
|
89
|
-
} = useScenarios(country, legalEntityType);
|
|
90
|
-
const [accountFormatResponse, setAccountFormatResponse] = useState();
|
|
91
|
-
const configurationLoadingStatus = useMemo(() => {
|
|
92
|
-
if (scenariosIsLoading) return "loading";
|
|
93
|
-
if (scenariosIsError) return "error";
|
|
94
|
-
if (scenarios) return "success";
|
|
95
|
-
return "pending";
|
|
96
|
-
}, [scenarios, scenariosIsError, scenariosIsLoading]);
|
|
97
|
-
const [payoutFormatLoadingStatus, setpayoutFormatLoadingStatus] = useState("success");
|
|
98
|
-
useUnifyLoadingStatus(setLoadingStatus, configurationLoadingStatus, payoutFormatLoadingStatus);
|
|
99
|
-
useEffect(() => {
|
|
100
|
-
if (!getPayoutAccountFormatData) return;
|
|
101
|
-
setpayoutFormatLoadingStatus("loading");
|
|
102
|
-
const makePayoutFormatCallAndSave = async () => {
|
|
103
|
-
try {
|
|
104
|
-
const response = await getPayoutAccountFormatData();
|
|
105
|
-
setAccountFormatResponse(response);
|
|
106
|
-
if (!response) return;
|
|
107
|
-
const allowedBankAccountFormats = Object.keys(response);
|
|
108
|
-
if (existingBankAccountFormat && !allowedBankAccountFormats.includes(existingBankAccountFormat)) {
|
|
109
|
-
throw new AdyenKycSdkError(
|
|
110
|
-
`Account format, ${existingBankAccountFormat}, of transferInstrument is not in allowed formats for ${country}`
|
|
111
|
-
);
|
|
112
|
-
}
|
|
113
|
-
const defaultAccountFormat = defaultPayoutAccountFormat[country] ?? allowedBankAccountFormats[0];
|
|
114
|
-
payoutAccountFormat.value = existingBankAccountFormat ?? defaultAccountFormat;
|
|
115
|
-
} catch (err) {
|
|
116
|
-
logger.warn("WARNING: Payout format request failed - error:", err);
|
|
117
|
-
} finally {
|
|
118
|
-
setpayoutFormatLoadingStatus("success");
|
|
119
|
-
}
|
|
120
|
-
};
|
|
121
|
-
makePayoutFormatCallAndSave().catch(logger.error);
|
|
122
|
-
}, [
|
|
123
|
-
country,
|
|
124
|
-
getPayoutAccountFormatData,
|
|
125
|
-
setpayoutFormatLoadingStatus,
|
|
126
|
-
existingBankAccountFormat
|
|
127
|
-
]);
|
|
128
|
-
const { fieldConfigurations, requiredFields } = useMemo(() => {
|
|
129
|
-
if (!scenarios) return {};
|
|
130
|
-
const payoutRequiredFields = accountFormatResponse && accountFormat ? accountFormatResponse[accountFormat] : void 0;
|
|
131
|
-
const scenarioConfig = parseConfiguration(
|
|
132
|
-
payoutRequiredFields ? {
|
|
133
|
-
scenarios,
|
|
134
|
-
country,
|
|
135
|
-
requiredFields: payoutRequiredFields,
|
|
136
|
-
bankVerificationAvailable: instantVerificationAvailable
|
|
137
|
-
} : {
|
|
138
|
-
scenarios,
|
|
139
|
-
country,
|
|
140
|
-
requiredFields: void 0,
|
|
141
|
-
bankVerificationAvailable: void 0
|
|
142
|
-
}
|
|
143
|
-
);
|
|
144
|
-
return {
|
|
145
|
-
fieldConfigurations: scenarioConfig,
|
|
146
|
-
requiredFields: payoutRequiredFields
|
|
147
|
-
};
|
|
148
|
-
}, [
|
|
149
|
-
accountFormatResponse,
|
|
150
|
-
accountFormat,
|
|
151
|
-
scenarios,
|
|
152
|
-
country,
|
|
153
|
-
parseConfiguration,
|
|
154
|
-
instantVerificationAvailable
|
|
155
|
-
]);
|
|
156
|
-
return {
|
|
157
|
-
requiredFields,
|
|
158
|
-
fieldConfigurations
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
const processValidationErrors = (validationError, dropinTask, keyMappings) => {
|
|
162
|
-
if ((validationError == null ? void 0 : validationError.invalidFields) && (validationError == null ? void 0 : validationError.invalidFields.length) > 0) {
|
|
163
|
-
return validationError == null ? void 0 : validationError.invalidFields.reduce(
|
|
164
|
-
(acc, invalidField) => {
|
|
165
|
-
if (invalidField == null ? void 0 : invalidField.name) {
|
|
166
|
-
let mappedFieldPath = mapField(invalidField == null ? void 0 : invalidField.name, dropinTask);
|
|
167
|
-
if (keyMappings) {
|
|
168
|
-
mappedFieldPath = keyMappings[invalidField == null ? void 0 : invalidField.name];
|
|
169
|
-
}
|
|
170
|
-
if (mappedFieldPath) {
|
|
171
|
-
assignToProp(mappedFieldPath, acc, true);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
return acc;
|
|
175
|
-
},
|
|
176
|
-
{}
|
|
177
|
-
);
|
|
178
|
-
}
|
|
179
|
-
};
|
|
180
|
-
const mapField = (lePath, dropinTask) => {
|
|
181
|
-
switch (dropinTask) {
|
|
182
|
-
case TaskTypes.INDIVIDUAL:
|
|
183
|
-
return remediationIndividualApiKeyMapping[lePath];
|
|
184
|
-
case TaskTypes.BUSINESS_DETAILS:
|
|
185
|
-
return remediationBusinessDetailsApiKeyMapping[lePath];
|
|
186
|
-
case TaskTypes.PAYOUT:
|
|
187
|
-
case TaskTypes.PAYIN:
|
|
188
|
-
return remediationPayoutApiKeyMapping[lePath];
|
|
189
|
-
default:
|
|
190
|
-
return null;
|
|
191
|
-
}
|
|
192
|
-
};
|
|
193
|
-
export {
|
|
194
|
-
useUnifyLoadingStatus as a,
|
|
195
|
-
isIdDocumentUploadError as b,
|
|
196
|
-
isBankStatementUploadError as c,
|
|
197
|
-
isMaintenanceModeError as d,
|
|
198
|
-
useScenarios as e,
|
|
199
|
-
isValidationError as i,
|
|
200
|
-
mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable as m,
|
|
201
|
-
processValidationErrors as p,
|
|
202
|
-
useScenarioConfiguration as u
|
|
203
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { QueryOptions } from '../types';
|
|
2
|
-
import type { CompanyDatasetRequest, CompanyDatasetResponse, GetDatasetRequest } from './companyDataset.types';
|
|
3
|
-
export type QueryKeyCompanyDataset = ['companyDataset', GetDatasetRequest | undefined];
|
|
4
|
-
export type GetCompanyDataset = (data: CompanyDatasetRequest) => Promise<CompanyDatasetResponse>;
|
|
5
|
-
export declare const useCompanyDataset: (data: GetDatasetRequest | undefined, options?: QueryOptions<CompanyDatasetResponse>) => import("@tanstack/react-query").UseQueryResult<CompanyDatasetResponse, Error>;
|
package/dist/types-CjUrSQiM.js
DELETED
|
@@ -1,45 +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] = "29bf742e-6129-4bd4-8364-3d9fc1df68b3", e._sentryDebugIdIdentifier = "sentry-dbid-29bf742e-6129-4bd4-8364-3d9fc1df68b3");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
11
|
-
ExperimentNames2["AllowMoreRolesForMainRootTrustee"] = "AllowMoreRolesForMainRootTrustee";
|
|
12
|
-
ExperimentNames2["ShowUnsupportedEntityType"] = "ShowUnsupportedEntityType";
|
|
13
|
-
ExperimentNames2["ShowExtraTaxExemptionReasons"] = "ShowExtraTaxExemptionReasons";
|
|
14
|
-
ExperimentNames2["EnableEInvoicingCodeField"] = "EnableEInvoicingCodeField";
|
|
15
|
-
ExperimentNames2["EnableCountryOfGoverningLawForUKCompanies"] = "EnableCountryOfGoverningLawForUKCompanies";
|
|
16
|
-
ExperimentNames2["HidePayoutAccountTask"] = "HidePayoutAccountTask";
|
|
17
|
-
ExperimentNames2["HidePciTask"] = "HidePciTask";
|
|
18
|
-
ExperimentNames2["EnableAgeVerification"] = "EnableAgeVerification";
|
|
19
|
-
ExperimentNames2["EnableNationalitySGHK"] = "EnableNationalitySGHK";
|
|
20
|
-
ExperimentNames2["EnableFinancialInformationComponentV4"] = "EnableFinancialInformationComponentV4";
|
|
21
|
-
ExperimentNames2["StrictNameAndAddressValidationV4"] = "StrictNameAndAddressValidationV4";
|
|
22
|
-
ExperimentNames2["EnableDoingBusinessAsNameV4"] = "EnableDoingBusinessAsNameV4";
|
|
23
|
-
ExperimentNames2["EnablePhoneFieldScenario"] = "EnablePhoneFieldScenario";
|
|
24
|
-
ExperimentNames2["ShowCustomerSupportV4"] = "ShowCustomerSupportV4";
|
|
25
|
-
ExperimentNames2["EnableRegistrationAndTaxAbsentStatesV4"] = "EnableRegistrationAndTaxAbsentStatesV4";
|
|
26
|
-
ExperimentNames2["EnableAutofillFlowForPureIndividualsInKeyMarkets"] = "EnableAutofillFlowForPureIndividualsInKeyMarkets";
|
|
27
|
-
ExperimentNames2["EnableAutofillFlowForPureIndividualsInAdditionalMarkets"] = "EnableAutofillFlowForPureIndividualsInAdditionalMarkets";
|
|
28
|
-
ExperimentNames2["EnableAutofillFlowForDecisionMakersInKeyMarkets"] = "EnableAutofillFlowForDecisionMakersInKeyMarkets";
|
|
29
|
-
ExperimentNames2["EnableAutofillFlowForDecisionMakersInAdditionalMarkets"] = "EnableAutofillFlowForDecisionMakersInAdditionalMarkets";
|
|
30
|
-
ExperimentNames2["EnableLimitCountryBusinessAccountCustomers"] = "EnableLimitCountryBusinessAccountCustomers";
|
|
31
|
-
ExperimentNames2["EnableUnincorporatedPartnershipInHO"] = "EnableUnincorporatedPartnershipInHO";
|
|
32
|
-
ExperimentNames2["UseOnboardingComponentsForSingpass"] = "UseOnboardingComponentsForSingpass";
|
|
33
|
-
ExperimentNames2["EnableCheckOnCreateBankAccount"] = "EnableCheckOnCreateBankAccount";
|
|
34
|
-
ExperimentNames2["EnableTaxIdRequiredForBusinessAccountsScenarios"] = "EnableTaxIdRequiredForBusinessAccountsScenarios";
|
|
35
|
-
ExperimentNames2["EnableJaJPLocale"] = "EnableJaJPLocale";
|
|
36
|
-
ExperimentNames2["EnableGuidedDecisionMakersFlow"] = "EnableGuidedDecisionMakersFlow";
|
|
37
|
-
ExperimentNames2["EnableBusinessDetailsTaskStatusService"] = "EnableBusinessDetailsTaskStatusService";
|
|
38
|
-
ExperimentNames2["UseTaskStatusApiForPayout"] = "UseTaskStatusApiForPayout";
|
|
39
|
-
ExperimentNames2["BankVerificationFlowOptimization_CAASIntegration"] = "BankVerificationFlowOptimization_CAASIntegration";
|
|
40
|
-
ExperimentNames2["DecisionMakersFlowOptimization_GuidedDecisionMakersFlow"] = "DecisionMakersFlowOptimization_GuidedDecisionMakersFlow";
|
|
41
|
-
return ExperimentNames2;
|
|
42
|
-
})(ExperimentNames || {});
|
|
43
|
-
export {
|
|
44
|
-
ExperimentNames as E
|
|
45
|
-
};
|
|
@@ -1,21 +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] = "70b570cc-a827-48ce-b575-fcbbf95543a2", e._sentryDebugIdIdentifier = "sentry-dbid-70b570cc-a827-48ce-b575-fcbbf95543a2");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { useContext } from "preact/hooks";
|
|
11
|
-
import { bd as ToastContext } from "./StoreProvider-BSkziuJ9.js";
|
|
12
|
-
function useToastContext() {
|
|
13
|
-
const context = useContext(ToastContext);
|
|
14
|
-
if (context === void 0) {
|
|
15
|
-
throw new Error("useToastContext must be used within a ToastProvider");
|
|
16
|
-
}
|
|
17
|
-
return context;
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
useToastContext as u
|
|
21
|
-
};
|
package/dist/utils-B1H_8b1P.js
DELETED
|
@@ -1,74 +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] = "0f5e209d-495c-426e-acbb-e6ec81f8b533", e._sentryDebugIdIdentifier = "sentry-dbid-0f5e209d-495c-426e-acbb-e6ec81f8b533");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
function getProp(object, path) {
|
|
11
|
-
const splitPath = path.split(".");
|
|
12
|
-
const reducer = (xs, x) => xs && xs[x] !== void 0 ? xs[x] : void 0;
|
|
13
|
-
return splitPath.reduce(reducer, object);
|
|
14
|
-
}
|
|
15
|
-
function assignToProp(path, obj, val) {
|
|
16
|
-
const splitPath = path.split(".");
|
|
17
|
-
const pathDepth = splitPath.length;
|
|
18
|
-
let currentObj = obj;
|
|
19
|
-
splitPath.forEach((key, index) => {
|
|
20
|
-
if (index === pathDepth - 1) {
|
|
21
|
-
currentObj[key] = val;
|
|
22
|
-
} else {
|
|
23
|
-
if (!currentObj[key]) {
|
|
24
|
-
currentObj[key] = {};
|
|
25
|
-
}
|
|
26
|
-
currentObj = currentObj[key];
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
function deleteProp(path, obj) {
|
|
31
|
-
const splitPath = path.split(".");
|
|
32
|
-
const pathDepth = splitPath.length;
|
|
33
|
-
let currentObj = obj;
|
|
34
|
-
splitPath.forEach((key, index) => {
|
|
35
|
-
if (currentObj[key] === void 0) {
|
|
36
|
-
throw Error(`The given path does not exist on the object: ${key} (${path})`);
|
|
37
|
-
}
|
|
38
|
-
if (index === pathDepth - 1) {
|
|
39
|
-
delete currentObj[key];
|
|
40
|
-
} else {
|
|
41
|
-
currentObj = currentObj[key];
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
const formatObject = (obj, mapping) => {
|
|
46
|
-
if (!obj) {
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
const formattedObj = {};
|
|
50
|
-
Object.entries(mapping).forEach(([targetKey, sourceKey]) => {
|
|
51
|
-
const value = getProp(obj, sourceKey);
|
|
52
|
-
if (value !== void 0) {
|
|
53
|
-
assignToProp(targetKey, formattedObj, value);
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
return formattedObj;
|
|
57
|
-
};
|
|
58
|
-
const mapWith = (obj, mapping) => {
|
|
59
|
-
const formattedObj = {};
|
|
60
|
-
for (const [sourceKey, targetKey] of Object.entries(mapping)) {
|
|
61
|
-
const value = getProp(obj, sourceKey);
|
|
62
|
-
if (value !== void 0) {
|
|
63
|
-
assignToProp(targetKey, formattedObj, value);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
return formattedObj;
|
|
67
|
-
};
|
|
68
|
-
export {
|
|
69
|
-
assignToProp as a,
|
|
70
|
-
deleteProp as d,
|
|
71
|
-
formatObject as f,
|
|
72
|
-
getProp as g,
|
|
73
|
-
mapWith as m
|
|
74
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|