@adyen/kyc-components 2.39.2 → 2.40.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/README.md +34 -138
- package/dist/es/adyen-kyc-components.es.js +120 -367
- package/dist/style.css +6 -10
- package/dist/types/components/AutoResizer.d.ts +1 -1
- package/dist/types/components/BankDocument/component/BankDocumentComponent.d.ts +1 -1
- package/dist/types/components/BankDocument/component/BankDocumentRequirements.d.ts +2 -1
- package/dist/types/components/BankDocument/component/validate.d.ts +2 -2
- package/dist/types/components/BankVerification/BankVerification.d.ts +1 -1
- package/dist/types/components/BankVerification/types.d.ts +8 -8
- package/dist/types/components/BankVerification/validate.d.ts +2 -2
- package/dist/types/components/BankVerification/verification/widget/component/BankVerificationWidget.d.ts +3 -3
- package/dist/types/components/BankVerification/verification/widget/iframeWidget.d.ts +1 -1
- package/dist/types/components/BaseElement.d.ts +2 -2
- package/dist/types/components/BusinessTypeSelection/component/BusinessTypeSelection.d.ts +3 -3
- package/dist/types/components/BusinessTypeSelection/component/EntityTypeRadioGroupCard.d.ts +4 -4
- package/dist/types/components/BusinessTypeSelection/types.d.ts +5 -5
- package/dist/types/components/BusinessTypeSelection/utils.d.ts +6 -6
- package/dist/types/components/Company/component/CompanyComponent.d.ts +3 -3
- package/dist/types/components/Company/rules.d.ts +5 -5
- package/dist/types/components/Company/types.d.ts +1 -1
- package/dist/types/components/CompanyBasics/component/CompanyBasicsComponent.d.ts +2 -2
- package/dist/types/components/CompanyLookup/CompanyLookupResultsHeader.d.ts +1 -1
- package/dist/types/components/CompanyLookup/CompanyLookupResultsList.d.ts +1 -1
- package/dist/types/components/CompanyLookup/LookupResult.d.ts +1 -1
- package/dist/types/components/CompanyLookup/component/CompanyLookupComponent.d.ts +1 -1
- package/dist/types/components/CompanyNameAndCountry/component/CompanyNameAndCountryComponent.d.ts +1 -1
- package/dist/types/components/CompanyNameAndCountry/validate.d.ts +2 -2
- package/dist/types/components/CompanyOtherDetails/component/CompanyOtherDetailsComponent.d.ts +2 -2
- package/dist/types/components/CompanyRegistrationDetails/component/CompanyRegistrationDetailsComponent.d.ts +1 -1
- package/dist/types/components/CompanyRegistrationDetails/types.d.ts +6 -6
- package/dist/types/components/CompanySearch/component/CompanySearchComponent.d.ts +1 -1
- package/dist/types/components/CompanySearch/forms.d.ts +1 -1
- package/dist/types/components/CompanyStructure/component/CompanyStructureComponent.d.ts +2 -2
- package/dist/types/components/CompanyType/component/CompanyTypeComponent.d.ts +1 -1
- package/dist/types/components/CompanyType/types.d.ts +3 -3
- package/dist/types/components/CompanyType/validate.d.ts +2 -2
- package/dist/types/components/ConstitutionalDocument/ConstitutionalDocumentComponent.d.ts +1 -1
- package/dist/types/components/ConstitutionalDocument/types.d.ts +3 -3
- package/dist/types/components/ContactDetails/component/ContactDetailsComponent.d.ts +1 -1
- package/dist/types/components/ContactDetails/validate.d.ts +2 -2
- package/dist/types/components/DecisionMakers/component/DecisionMakersComponent.d.ts +1 -1
- package/dist/types/components/DecisionMakers/types.d.ts +3 -3
- package/dist/types/components/DocumentUpload/DocumentUpload.d.ts +1 -1
- package/dist/types/components/DocumentUpload/types.d.ts +6 -6
- package/dist/types/components/Dropins/CompanyDropin/components/CompanyDropinComponent.d.ts +1 -1
- package/dist/types/components/Dropins/CompanyDropin/types.d.ts +1 -2
- package/dist/types/components/Dropins/CompanySearchDropin/components/CompanySearchDropinComponent.d.ts +1 -1
- package/dist/types/components/Dropins/CompanySearchDropin/utils.d.ts +2 -2
- package/dist/types/components/Dropins/DropinComposer/components/DropinComposerComponent.d.ts +1 -1
- package/dist/types/components/Dropins/DropinLayout/ActionBar/ActionBar.d.ts +1 -1
- package/dist/types/components/Dropins/DropinLayout/DropinLayout.d.ts +1 -1
- package/dist/types/components/Dropins/FormNavigation/FormNavigation.d.ts +1 -1
- package/dist/types/components/Dropins/FormNavigation/FormNavigationItem.d.ts +1 -1
- package/dist/types/components/Dropins/FormNavigation/types.d.ts +4 -4
- package/dist/types/components/Dropins/FormWrapper/FormWrapper.d.ts +7 -7
- package/dist/types/components/Dropins/IndividualDropin/components/IndividualDropinComponent.d.ts +1 -1
- package/dist/types/components/Dropins/PayoutDetailsDropin/components/PayoutDetailsDropinComponent.d.ts +1 -1
- package/dist/types/components/Dropins/PciDropin/components/PciDropinComponent.d.ts +1 -1
- package/dist/types/components/Dropins/PciDropin/types.d.ts +3 -3
- package/dist/types/components/Dropins/PciDropin/validate.d.ts +1 -1
- package/dist/types/components/Dropins/RoleAndTypeDropin/components/RoleAndTypeDropinComponent.d.ts +1 -1
- package/dist/types/components/Dropins/RoleAndTypeDropin/types.d.ts +3 -3
- package/dist/types/components/Dropins/ServiceAgreementDropinComponent/components/ServiceAgreementDropinComponent.d.ts +2 -2
- package/dist/types/components/Dropins/ServiceAgreementDropinComponent/components/useServiceAgreement.d.ts +7 -5
- package/dist/types/components/Dropins/ServiceAgreementDropinComponent/types.d.ts +5 -4
- package/dist/types/components/Dropins/ServiceAgreementDropinComponent/validate.d.ts +2 -2
- package/dist/types/components/Dropins/SolePropDropin/components/SolePropDropinComponent.d.ts +1 -1
- package/dist/types/components/Dropins/TrustDropin/components/TrustDropinComponent.d.ts +1 -1
- package/dist/types/components/Dropins/types.d.ts +13 -12
- package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/CreateTransferInstrumentComponent/CreateTransferInstrumentComponent.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +4 -3
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +2 -1
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/types.d.ts +1 -1
- package/dist/types/components/IdDocumentUpload/component/IdDocumentAlreadyUpload.d.ts +1 -1
- package/dist/types/components/IdDocumentUpload/component/IdDocumentInstantVerificationComponent.d.ts +1 -1
- package/dist/types/components/IdDocumentUpload/component/IdDocumentManualUpload.d.ts +1 -1
- package/dist/types/components/IdDocumentUpload/component/IdDocumentUploadComponent.d.ts +1 -1
- package/dist/types/components/IdDocumentUpload/types.d.ts +4 -4
- package/dist/types/components/IdVerification/component/IdVerificationComponent.d.ts +1 -1
- package/dist/types/components/IdVerification/types.d.ts +1 -1
- package/dist/types/components/IdVerificationMethod/IdVerificationMethodComponent.d.ts +2 -2
- package/dist/types/components/IdVerificationMethod/idVerificationMethodMetadata.d.ts +2 -2
- package/dist/types/components/IdVerificationMethod/types.d.ts +2 -2
- package/dist/types/components/IdentityNumber/component/IdentityNumberComponent.d.ts +1 -1
- package/dist/types/components/IdentityNumber/fieldConfig.d.ts +5 -5
- package/dist/types/components/IdentityNumber/type.d.ts +3 -3
- package/dist/types/components/Individual/component/IndividualComponent.d.ts +2 -2
- package/dist/types/components/Individual/rules.d.ts +3 -3
- package/dist/types/components/Individual/types.d.ts +13 -13
- package/dist/types/components/Introduction/Introduction.d.ts +1 -1
- package/dist/types/components/Introduction/IntroductionScreen.d.ts +2 -2
- package/dist/types/components/Introduction/copy.d.ts +3 -3
- package/dist/types/components/LegalEntityTypeSwitcher/LegalEntityTypeSwitcher.d.ts +1 -1
- package/dist/types/components/LegalEntityTypeSwitcher/type.d.ts +3 -3
- package/dist/types/components/PayoutAccount/component/PayoutAccountComponent.d.ts +1 -1
- package/dist/types/components/PayoutAccount/types.d.ts +7 -7
- package/dist/types/components/PayoutDetails/component/PayoutDetailsComponent.d.ts +5 -5
- package/dist/types/components/PayoutDetails/rules.d.ts +5 -5
- package/dist/types/components/PayoutDetails/types.d.ts +11 -11
- package/dist/types/components/PayoutVerificationMethod/allowedBankCountriesPerCountry.d.ts +1 -1
- package/dist/types/components/PayoutVerificationMethod/component/AccountHolderDescriptionFragment.d.ts +2 -2
- package/dist/types/components/PayoutVerificationMethod/component/PayoutVerificationMethod.d.ts +2 -2
- package/dist/types/components/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +2 -2
- package/dist/types/components/PayoutVerificationMethod/types.d.ts +1 -1
- package/dist/types/components/PersonalDetails/component/IdentityComponent/IdentityAu/component/DriversLicense.d.ts +4 -4
- package/dist/types/components/PersonalDetails/component/IdentityComponent/IdentityAu/component/IdentityAuComponent.d.ts +1 -1
- package/dist/types/components/PersonalDetails/component/IdentityComponent/IdentityAu/validate.d.ts +2 -2
- package/dist/types/components/PersonalDetails/component/IdentityComponent/IdentityComponent.d.ts +1 -1
- package/dist/types/components/PersonalDetails/component/IdentityComponent/IdentityHK/component/IdentityHKComponent.d.ts +1 -1
- package/dist/types/components/PersonalDetails/component/IdentityComponent/IdentityHK/validate.d.ts +2 -2
- package/dist/types/components/PersonalDetails/component/IdentityComponent/IdentityNZ/component/DriversLicense.d.ts +3 -3
- package/dist/types/components/PersonalDetails/component/IdentityComponent/IdentityNZ/component/IdentityNZComponent.d.ts +1 -1
- package/dist/types/components/PersonalDetails/component/IdentityComponent/IdentityNZ/validate.d.ts +2 -2
- package/dist/types/components/PersonalDetails/component/IdentityComponent/TypeOfIdentity/index.d.ts +1 -1
- package/dist/types/components/PersonalDetails/component/IdentityComponent/identityUS/component/IdentityUSComponent.d.ts +1 -1
- package/dist/types/components/PersonalDetails/component/IdentityComponent/types.d.ts +3 -3
- package/dist/types/components/PersonalDetails/component/PersonalDetailsComponent.d.ts +1 -1
- package/dist/types/components/PersonalDetails/types.d.ts +11 -11
- package/dist/types/components/PersonalDetails/validate.d.ts +2 -2
- package/dist/types/components/ProofOfResidency/ProofOfResidencyComponent.d.ts +1 -1
- package/dist/types/components/ProofOfResidency/types.d.ts +1 -1
- package/dist/types/components/RegistrationAddress/component/RegistrationAddressComponent.d.ts +2 -2
- package/dist/types/components/RegistrationAddress/types.d.ts +4 -4
- package/dist/types/components/RegistrationAddress/validate.d.ts +2 -2
- package/dist/types/components/Review/component/ReviewComponent.d.ts +1 -1
- package/dist/types/components/Review/types.d.ts +1 -1
- package/dist/types/components/SingpassSelection/index.d.ts +2 -2
- package/dist/types/components/SoleProp/component/SolePropComponent.d.ts +1 -1
- package/dist/types/components/SoleProp/types.d.ts +6 -6
- package/dist/types/components/StepProgressIndicator/StepProgressIndicator.d.ts +1 -1
- package/dist/types/components/TaskList/component/PayoutAccountTaskListItem.d.ts +3 -3
- package/dist/types/components/TaskList/component/TaskItemStatus.d.ts +2 -2
- package/dist/types/components/TaskList/component/TaskListComponent.d.ts +1 -1
- package/dist/types/components/TaskList/component/TaskListGroup.d.ts +2 -2
- package/dist/types/components/TaskList/component/TaskListItem.d.ts +1 -1
- package/dist/types/components/TaskList/types.d.ts +3 -2
- package/dist/types/components/TaxDocument/TaxDocumentComponent.d.ts +1 -1
- package/dist/types/components/Trust/component/TrustComponent.d.ts +2 -2
- package/dist/types/components/Trust/rules.d.ts +2 -2
- package/dist/types/components/Trust/types.d.ts +6 -6
- package/dist/types/components/TrustMembers/component/CompanyTrustMemberTaskItem.d.ts +2 -2
- package/dist/types/components/TrustMembers/component/ExemptSettlorTaskItem.d.ts +2 -2
- package/dist/types/components/TrustMembers/component/RegularTrustMemberTaskItem.d.ts +2 -2
- package/dist/types/components/TrustMembers/component/RootTrusteeTaskItem.d.ts +2 -2
- package/dist/types/components/TrustMembers/component/TrustMembersOverview.d.ts +2 -2
- package/dist/types/components/TrustMembers/component/UndefinedBeneficiaryTaskItem.d.ts +1 -1
- package/dist/types/components/TrustMembers/types.d.ts +5 -5
- package/dist/types/components/TrustRegistrationDetails/component/TrustRegistrationDetailsComponent.d.ts +1 -1
- package/dist/types/components/TrustRegistrationDetails/types.d.ts +4 -4
- package/dist/types/components/TrustRegistrationDetails/validate.d.ts +2 -2
- package/dist/types/components/TrustRoleAndEntityType/component/TrustRoleAndEntityType.d.ts +1 -1
- package/dist/types/components/TrustRoleAndEntityType/convertExistingTrustMember.d.ts +2 -2
- package/dist/types/components/TrustRoleAndEntityType/getAvailableRoles.d.ts +2 -2
- package/dist/types/components/TrustRoleAndEntityType/types.d.ts +6 -6
- package/dist/types/components/TrustRoleAndEntityType/validate.d.ts +2 -2
- package/dist/types/components/UIElement.d.ts +11 -10
- package/dist/types/components/index.d.ts +4 -4
- package/dist/types/components/internal/Accordion/Accordion.d.ts +1 -1
- package/dist/types/components/internal/Accordion/AccordionContext.d.ts +1 -1
- package/dist/types/components/internal/Accordion/types.d.ts +1 -1
- package/dist/types/components/internal/AccordionItem/AccordionItem.d.ts +1 -1
- package/dist/types/components/internal/AccordionItem/types.d.ts +3 -3
- package/dist/types/components/internal/AccordionItem/useAccordionContext.d.ts +1 -1
- package/dist/types/components/internal/AccountHolder/AccountHolder.d.ts +1 -1
- package/dist/types/components/internal/AccountHolder/types.d.ts +2 -2
- package/dist/types/components/internal/AccountHolder/validate.d.ts +2 -2
- package/dist/types/components/internal/Address/Address.d.ts +1 -1
- package/dist/types/components/internal/Address/components/FieldContainer.d.ts +1 -1
- package/dist/types/components/internal/Address/components/SearchAddress.d.ts +2 -2
- package/dist/types/components/internal/Address/constants.d.ts +1 -1
- package/dist/types/components/internal/Address/types.d.ts +3 -3
- package/dist/types/components/internal/Address/utils.d.ts +3 -3
- package/dist/types/components/internal/Address/validate.d.ts +3 -3
- package/dist/types/components/internal/Address/validate.formats.d.ts +2 -2
- package/dist/types/components/internal/Alert/Alert.d.ts +1 -1
- package/dist/types/components/internal/Alert/components/VerificationErrorAlert.d.ts +1 -1
- package/dist/types/components/internal/Alert/types.d.ts +2 -2
- package/dist/types/components/internal/BankAccountFormat/BankAccountFormat.d.ts +1 -1
- package/dist/types/components/internal/BankAccountNumber/BankAccountNumber.d.ts +1 -1
- package/dist/types/components/internal/BankAccountNumber/fieldConfig.d.ts +3 -3
- package/dist/types/components/internal/BankAccountNumber/types.d.ts +2 -2
- package/dist/types/components/internal/BankCity/BankCity.d.ts +1 -1
- package/dist/types/components/internal/BankCode/BankCode.d.ts +1 -1
- package/dist/types/components/internal/BankCode/fieldConfig.d.ts +3 -3
- package/dist/types/components/internal/BankCode/types.d.ts +2 -2
- package/dist/types/components/internal/BankName/BankName.d.ts +1 -1
- package/dist/types/components/internal/BranchCode/BranchCode.d.ts +1 -1
- package/dist/types/components/internal/BranchCode/fieldConfig.d.ts +3 -3
- package/dist/types/components/internal/BranchCode/types.d.ts +2 -2
- package/dist/types/components/internal/BusinessRegistrationNumber/BusinessRegistrationNumber.d.ts +1 -1
- package/dist/types/components/internal/BusinessRegistrationNumber/types.d.ts +1 -1
- package/dist/types/components/internal/Button/Button.d.ts +2 -2
- package/dist/types/components/internal/Button/types.d.ts +2 -2
- package/dist/types/components/internal/Card/Card.d.ts +2 -2
- package/dist/types/components/internal/Card/CardGroup.d.ts +1 -1
- package/dist/types/components/internal/Card/types.d.ts +1 -1
- package/dist/types/components/internal/CollapsibleContainer/CollapsibleContainer.d.ts +1 -1
- package/dist/types/components/internal/CollapsibleContainer/types.d.ts +1 -1
- package/dist/types/components/internal/ContextGuidance/ContextGuidance.d.ts +1 -1
- package/dist/types/components/internal/ContextGuidance/types.d.ts +1 -1
- package/dist/types/components/internal/ContractViewer/ContractViewer.d.ts +1 -1
- package/dist/types/components/internal/CountryField/CountryField.d.ts +1 -1
- package/dist/types/components/internal/CountryField/validate.d.ts +2 -2
- package/dist/types/components/internal/Currency/Currency.d.ts +2 -2
- package/dist/types/components/internal/Currency/types.d.ts +2 -2
- package/dist/types/components/internal/DateOfIncorporationField/DateOfIncorporationField.d.ts +1 -1
- package/dist/types/components/internal/DateOfIncorporationField/validate.d.ts +2 -2
- package/dist/types/components/internal/DecisionMakerRole/DecisionMakerRoleComponent.d.ts +1 -1
- package/dist/types/components/internal/DecisionMakerRole/types.d.ts +1 -1
- package/dist/types/components/internal/Disclaimer/Disclaimer.d.ts +1 -1
- package/dist/types/components/internal/DocumentGuidance/DocumentGuidance.d.ts +1 -1
- package/dist/types/components/internal/DocumentGuidance/type.d.ts +1 -1
- package/dist/types/components/internal/EntityAssociation/EntityAssociation.d.ts +1 -1
- package/dist/types/components/internal/EntityAssociation/types.d.ts +7 -7
- package/dist/types/components/internal/EntityGuidanceStatus/component/EntityGuidanceStatus.d.ts +1 -1
- package/dist/types/components/internal/EntityGuidanceStatus/component/EntityStatusIcon.d.ts +1 -1
- package/dist/types/components/internal/EntityGuidanceStatus/types.d.ts +4 -4
- package/dist/types/components/internal/ErrorPanel/ErrorPanel.d.ts +1 -1
- package/dist/types/components/internal/ErrorPanel/components/ServerValidationErrors.d.ts +1 -1
- package/dist/types/components/internal/ErrorPanel/components/VerificationErrors.d.ts +1 -1
- package/dist/types/components/internal/ErrorPanel/types.d.ts +3 -3
- package/dist/types/components/internal/FormFields/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Dropzone/Dropzone.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Dropzone/FilePicker.d.ts +4 -4
- package/dist/types/components/internal/FormFields/Dropzone/components/DropzoneFile.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Dropzone/types.d.ts +3 -3
- package/dist/types/components/internal/FormFields/Dropzone/validate.d.ts +2 -2
- package/dist/types/components/internal/FormFields/Field/Field.d.ts +2 -2
- package/dist/types/components/internal/FormFields/Field/types.d.ts +3 -3
- package/dist/types/components/internal/FormFields/InputBase.d.ts +1 -1
- package/dist/types/components/internal/FormFields/InputDate/InputDate.d.ts +2 -2
- package/dist/types/components/internal/FormFields/InputEmail.d.ts +1 -1
- package/dist/types/components/internal/FormFields/InputRadio/InputRadio.d.ts +1 -1
- package/dist/types/components/internal/FormFields/InputTelephone.d.ts +1 -1
- package/dist/types/components/internal/FormFields/InputText.d.ts +1 -1
- package/dist/types/components/internal/FormFields/MaskedInputText/MaskedInputText.d.ts +3 -3
- package/dist/types/components/internal/FormFields/MultiSelectList/MultiSelectList.d.ts +1 -1
- package/dist/types/components/internal/FormFields/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/types/components/internal/FormFields/RadioGroup/types.d.ts +2 -2
- package/dist/types/components/internal/FormFields/RadioGroupCard/RadioCard.d.ts +1 -1
- package/dist/types/components/internal/FormFields/RadioGroupCard/RadioCardSelect.d.ts +3 -3
- package/dist/types/components/internal/FormFields/RadioGroupCard/RadioGroupCard.d.ts +1 -1
- package/dist/types/components/internal/FormFields/RadioGroupCard/types.d.ts +2 -2
- package/dist/types/components/internal/FormFields/Select/Select.d.ts +2 -2
- package/dist/types/components/internal/FormFields/Select/components/SelectButton.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectList.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/types.d.ts +2 -2
- package/dist/types/components/internal/FormHeader/FormHeader.d.ts +1 -1
- package/dist/types/components/internal/FormHeader/type.d.ts +1 -1
- package/dist/types/components/internal/Heading/Heading.d.ts +1 -1
- package/dist/types/components/internal/Iban/Iban.d.ts +1 -1
- package/dist/types/components/internal/Iban/fieldConfig.d.ts +3 -3
- package/dist/types/components/internal/Iban/ibanValidator.d.ts +2 -2
- package/dist/types/components/internal/Iban/types.d.ts +2 -2
- package/dist/types/components/internal/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +4 -4
- package/dist/types/components/internal/IdFieldTypeSelector/IndividualIdNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/internal/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +5 -5
- package/dist/types/components/internal/IdFieldTypeSelector/countryIdNumberTypes.d.ts +3 -3
- package/dist/types/components/internal/IdFieldTypeSelector/inferCompanyRegistrationNumberType.d.ts +3 -3
- package/dist/types/components/internal/IdFieldTypeSelector/inferTaxIdNumberType.d.ts +2 -2
- package/dist/types/components/internal/LegalCompanyNameField/LegalCompanyNameField.d.ts +1 -1
- package/dist/types/components/internal/LegalCompanyNameField/validate.d.ts +2 -2
- package/dist/types/components/internal/Link/Link.d.ts +1 -1
- package/dist/types/components/internal/Link/types.d.ts +2 -2
- package/dist/types/components/internal/List/List.d.ts +1 -1
- package/dist/types/components/internal/List/ListItem.d.ts +1 -1
- package/dist/types/components/internal/List/types.d.ts +1 -1
- package/dist/types/components/internal/LoaderWrapper/LoaderWrapper.d.ts +3 -3
- package/dist/types/components/internal/Menu/ActionsMenu.d.ts +1 -1
- package/dist/types/components/internal/Name/Name.d.ts +1 -1
- package/dist/types/components/internal/Name/validate.d.ts +2 -2
- package/dist/types/components/internal/PhoneInput/PhoneInput.d.ts +1 -1
- package/dist/types/components/internal/PhoneInput/types.d.ts +1 -1
- package/dist/types/components/internal/PhoneInput/validate.d.ts +3 -3
- package/dist/types/components/internal/Remove/Remove.d.ts +2 -2
- package/dist/types/components/internal/Remove/types.d.ts +2 -2
- package/dist/types/components/internal/StateField/StateField.d.ts +1 -1
- package/dist/types/components/internal/StateField/validate.d.ts +2 -2
- package/dist/types/components/internal/Status/Status.d.ts +1 -1
- package/dist/types/components/internal/Status/types.d.ts +1 -1
- package/dist/types/components/internal/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
- package/dist/types/components/internal/StockExchangeMICField/fieldConfig.d.ts +2 -2
- package/dist/types/components/internal/StockISINField/StockISINField.d.ts +1 -1
- package/dist/types/components/internal/StockISINField/fieldConfig.d.ts +2 -2
- package/dist/types/components/internal/Summary/Summary.d.ts +3 -3
- package/dist/types/components/internal/Summary/types.d.ts +2 -2
- package/dist/types/components/internal/SwiftCode/SwiftCode.d.ts +1 -1
- package/dist/types/components/internal/SwiftCode/fieldConfig.d.ts +2 -2
- package/dist/types/components/internal/Tag/Tag.d.ts +1 -1
- package/dist/types/components/internal/TaxId/TaxId.d.ts +1 -1
- package/dist/types/components/internal/TaxId/fieldConfig.d.ts +3 -3
- package/dist/types/components/internal/TaxId/types.d.ts +3 -3
- package/dist/types/components/internal/TaxInformationField/TaxInformationField.d.ts +2 -2
- package/dist/types/components/internal/TaxInformationField/fieldConfig.d.ts +3 -3
- package/dist/types/components/internal/TaxInformationField/types.d.ts +2 -2
- package/dist/types/components/internal/Toast/Toast.d.ts +1 -1
- package/dist/types/components/internal/TradingNameField/TradingNameField.d.ts +1 -1
- package/dist/types/components/internal/TradingNameField/validate.d.ts +2 -2
- package/dist/types/components/internal/VatNumber/VatNumber.d.ts +1 -1
- package/dist/types/components/internal/VatNumber/fieldConfig.d.ts +4 -4
- package/dist/types/components/internal/VatNumber/types.d.ts +1 -1
- package/dist/types/core/Context/AuthContext/AuthProvider.d.ts +1 -1
- package/dist/types/core/Context/AuthContext/useAuthContext.d.ts +1 -1
- package/dist/types/core/Context/ConfigurationApiContext/ConfigurationApiContext.d.ts +6 -6
- package/dist/types/core/Context/ConfigurationApiContext/ConfigurationApiProvider.d.ts +3 -3
- package/dist/types/core/Context/ConfigurationApiContext/getEmbeddedApi.d.ts +1 -1
- package/dist/types/core/Context/ConfigurationApiContext/getKycExternalApi.d.ts +1 -1
- package/dist/types/core/Context/ConfigurationApiContext/useConfigurationApi.d.ts +1 -1
- package/dist/types/core/Context/CoreContext.d.ts +3 -3
- package/dist/types/core/Context/CoreProvider.d.ts +2 -2
- package/dist/types/core/Context/ExperimentContext/ExperimentsContext.d.ts +1 -1
- package/dist/types/core/Context/ExperimentContext/ExperimentsContextProvider.d.ts +1 -1
- package/dist/types/core/Context/ExperimentContext/types.d.ts +2 -1
- package/dist/types/core/Context/FormRouterContext/FormRouterContextProvider.d.ts +1 -1
- package/dist/types/core/Context/FormRouterContext/types.d.ts +3 -3
- package/dist/types/core/Context/I18nProvider/I18nProvider.d.ts +2 -2
- package/dist/types/core/Context/SettingsContext/SettingsContext.d.ts +1 -1
- package/dist/types/core/Context/SettingsContext/SettingsProvider.d.ts +1 -1
- package/dist/types/core/Context/SettingsContext/types.d.ts +2 -2
- package/dist/types/core/Context/SettingsContext/useSetting.d.ts +1 -1
- package/dist/types/core/Context/StateContext/StateContext.d.ts +1 -1
- package/dist/types/core/Context/StateContext/StateContextSetter.d.ts +1 -1
- package/dist/types/core/Context/StateContext/StateContextWatcher.d.ts +1 -1
- package/dist/types/core/Context/StateContext/StateProvider.d.ts +2 -2
- package/dist/types/core/Context/StateContext/StateReducer.d.ts +1 -1
- package/dist/types/core/Context/StateContext/useGlobalData.d.ts +1 -1
- package/dist/types/core/Context/StateContext/useStateContext.d.ts +1 -1
- package/dist/types/core/Context/ToastContext/ToastContext.d.ts +1 -1
- package/dist/types/core/Context/ToastContext/ToastContextProvider.d.ts +1 -1
- package/dist/types/core/Context/ToastContext/useToastContext.d.ts +1 -1
- package/dist/types/core/Context/useCoreContext.d.ts +1 -1
- package/dist/types/core/SDKValidation/index.d.ts +2 -2
- package/dist/types/core/SDKValidation/schemas.d.ts +1 -1
- package/dist/types/core/SDKValidation/types.d.ts +1 -1
- package/dist/types/core/Services/componentApi/create-document.d.ts +2 -2
- package/dist/types/core/Services/componentApi/create-legal-entity.d.ts +2 -2
- package/dist/types/core/Services/componentApi/create-transferInstrument.d.ts +2 -2
- package/dist/types/core/Services/componentApi/create-trusted-transferInstrument.d.ts +2 -2
- package/dist/types/core/Services/componentApi/generate-onboarding-link.d.ts +2 -2
- package/dist/types/core/Services/componentApi/get-address.d.ts +2 -2
- package/dist/types/core/Services/componentApi/get-allowed-locales.d.ts +2 -2
- package/dist/types/core/Services/componentApi/get-analytics-session.d.ts +1 -1
- package/dist/types/core/Services/componentApi/get-bankVerification-vendor.d.ts +3 -3
- package/dist/types/core/Services/componentApi/get-dataset.d.ts +2 -2
- package/dist/types/core/Services/componentApi/get-document.d.ts +2 -2
- package/dist/types/core/Services/componentApi/get-idverification-token.d.ts +2 -2
- package/dist/types/core/Services/componentApi/get-legal-entity.d.ts +2 -2
- package/dist/types/core/Services/componentApi/get-onboarding-status.d.ts +2 -2
- package/dist/types/core/Services/componentApi/get-scenarios.d.ts +2 -2
- package/dist/types/core/Services/componentApi/get-supported-countries.d.ts +2 -2
- package/dist/types/core/Services/componentApi/get-tasks.d.ts +2 -2
- package/dist/types/core/Services/componentApi/get-transfer-intsrument.d.ts +2 -2
- package/dist/types/core/Services/componentApi/handle-bank-verification-error.d.ts +2 -2
- package/dist/types/core/Services/componentApi/idVerification-startcheck.d.ts +2 -2
- package/dist/types/core/Services/componentApi/push-events.d.ts +1 -1
- package/dist/types/core/Services/componentApi/search-address.d.ts +2 -2
- package/dist/types/core/Services/componentApi/update-document.d.ts +2 -2
- package/dist/types/core/Services/componentApi/update-legal-entity.d.ts +2 -2
- package/dist/types/core/Services/componentApi/update-transferInstrument.d.ts +2 -2
- package/dist/types/core/Services/componentApi/validate-phone-number.d.ts +2 -2
- package/dist/types/core/Services/componentApi/verify-id-number.d.ts +2 -2
- package/dist/types/core/Services/kycExternalApi/get-allowed-countries.d.ts +2 -2
- package/dist/types/core/Services/kycExternalApi/get-allowed-locales.d.ts +2 -2
- package/dist/types/core/Services/kycExternalApi/get-configuration.d.ts +1 -1
- package/dist/types/core/Services/kycExternalApi/get-dataset.d.ts +2 -2
- package/dist/types/core/Services/kycExternalApi/validate-phone-number.d.ts +2 -2
- package/dist/types/core/Services/kycExternalApi/verify-id-number.d.ts +2 -2
- package/dist/types/core/Services/session.d.ts +1 -1
- package/dist/types/core/Services/utils.d.ts +2 -2
- package/dist/types/core/core.d.ts +3 -3
- package/dist/types/core/errorMapping.d.ts +4 -4
- package/dist/types/core/hooks/introduction/useCanSeeIntroduction.d.ts +1 -1
- package/dist/types/core/hooks/introduction/useIntroductionScreens.d.ts +1 -1
- package/dist/types/core/hooks/introduction/useShouldShowIntroduction.d.ts +1 -1
- package/dist/types/core/hooks/singpass/useShouldShowSingpass.d.ts +3 -3
- package/dist/types/core/hooks/useAccountHolder.d.ts +1 -1
- package/dist/types/core/hooks/useAllowedCountries.d.ts +1 -1
- package/dist/types/core/hooks/useAnalytics.d.ts +2 -2
- package/dist/types/core/hooks/useAssociatedLegalArrangement.d.ts +2 -2
- package/dist/types/core/hooks/useBankConfigurationHandlers.d.ts +7 -7
- package/dist/types/core/hooks/useBusinessSetup.d.ts +2 -2
- package/dist/types/core/hooks/useClickAwayListener.d.ts +2 -2
- package/dist/types/core/hooks/useCompanySearchTaskSubmit.d.ts +9 -9
- package/dist/types/core/hooks/useComponentApi.d.ts +2 -2
- package/dist/types/core/hooks/useDataset.d.ts +1 -1
- package/dist/types/core/hooks/useExemptSettlor.d.ts +2 -2
- package/dist/types/core/hooks/useForm/reducer.d.ts +1 -1
- package/dist/types/core/hooks/useForm/types.d.ts +3 -3
- package/dist/types/core/hooks/useForm/utils.d.ts +1 -1
- package/dist/types/core/hooks/useFormComposer.d.ts +5 -5
- package/dist/types/core/hooks/useIdVerificationToken.d.ts +3 -3
- package/dist/types/core/hooks/useIsElementVisible.d.ts +1 -1
- package/dist/types/core/hooks/useLegalEntityType.d.ts +1 -1
- package/dist/types/core/hooks/useLocalStorage.d.ts +1 -1
- package/dist/types/core/hooks/useScenarioConfiguration.d.ts +7 -7
- package/dist/types/core/hooks/useTranslations.d.ts +1 -1
- package/dist/types/core/models/api/address-search.d.ts +1 -1
- package/dist/types/core/models/api/capability.d.ts +2 -2
- package/dist/types/core/models/api/document.d.ts +1 -1
- package/dist/types/core/models/api/documentDetail.d.ts +1 -1
- package/dist/types/core/models/api/get-allowed-countries.d.ts +1 -1
- package/dist/types/core/models/api/get-bankVerification-providers.d.ts +1 -1
- package/dist/types/core/models/api/get-configuration.d.ts +1 -1
- package/dist/types/core/models/api/get-tasks.d.ts +1 -1
- package/dist/types/core/models/api/individual.d.ts +2 -2
- package/dist/types/core/models/api/instant-id-verification.d.ts +1 -1
- package/dist/types/core/models/api/legal-arrangement.d.ts +3 -3
- package/dist/types/core/models/api/legal-entity-association.d.ts +4 -4
- package/dist/types/core/models/api/legal-entity.d.ts +9 -9
- package/dist/types/core/models/api/problem.d.ts +2 -2
- package/dist/types/core/models/api/sole-proprietor.d.ts +1 -1
- package/dist/types/core/models/api/transfer-instrument.d.ts +1 -1
- package/dist/types/core/models/api/trust.d.ts +2 -2
- package/dist/types/core/models/api/trusted-transferInstrument.d.ts +1 -1
- package/dist/types/core/models/api/view-verification-status.d.ts +1 -1
- package/dist/types/core/models/company.d.ts +3 -3
- package/dist/types/core/models/country-config.d.ts +4 -4
- package/dist/types/core/models/decision-maker.d.ts +1 -1
- package/dist/types/core/models/errors/entity-problems.d.ts +5 -5
- package/dist/types/core/models/errors/error-message.d.ts +1 -1
- package/dist/types/core/models/errors/form-verification-errors.d.ts +2 -2
- package/dist/types/core/models/errors/remediation.d.ts +1 -1
- package/dist/types/core/models/field-configurations.d.ts +3 -3
- package/dist/types/core/models/form-rules.d.ts +6 -6
- package/dist/types/core/models/form.d.ts +1 -1
- package/dist/types/core/models/id-verification-status.d.ts +1 -1
- package/dist/types/core/models/identity.d.ts +2 -2
- package/dist/types/core/models/payout-account.d.ts +4 -4
- package/dist/types/core/models/scenario-fields.d.ts +1 -1
- package/dist/types/core/models/sole-prop.d.ts +2 -2
- package/dist/types/core/models/trust.d.ts +5 -5
- package/dist/types/core/process-field-configurations.d.ts +15 -15
- package/dist/types/core/types.d.ts +3 -3
- package/dist/types/core/utils.d.ts +3 -3
- package/dist/types/datasets/accountFormats/getAccountFormatForCountry.d.ts +3 -3
- package/dist/types/datasets/localized/companyTypeExamples/getCompanyTypeExamplesForCountry.d.ts +2 -2
- package/dist/types/datasets/localized/legalArrangementTypeExamples/getLegalArrangementTypeExamplesForCountry.d.ts +2 -2
- package/dist/types/datasets/localized/legalEntityTypeExamples/getBusinessTypeExamplesForCountry.d.ts +2 -2
- package/dist/types/language/Language.d.ts +2 -2
- package/dist/types/language/config.d.ts +1 -1
- package/dist/types/language/utils.d.ts +2 -2
- package/dist/types/types/index.d.ts +1 -1
- package/dist/types/utils/accountHolderUtils.d.ts +3 -3
- package/dist/types/utils/addLinkedFields.d.ts +1 -1
- package/dist/types/utils/api/documentUtils.d.ts +3 -3
- package/dist/types/utils/api/processCapabilitites.d.ts +8 -8
- package/dist/types/utils/api/processValidationErrors.d.ts +1 -1
- package/dist/types/utils/company-util.d.ts +3 -3
- package/dist/types/utils/datasetUtil.d.ts +2 -2
- package/dist/types/utils/decision-maker-roles.d.ts +2 -2
- package/dist/types/utils/dropin-utils.d.ts +2 -2
- package/dist/types/utils/entity-association-util.d.ts +6 -6
- package/dist/types/utils/entity-status-util.d.ts +4 -4
- package/dist/types/utils/eventHandlers/handleKeys.d.ts +2 -2
- package/dist/types/utils/formUtils.d.ts +5 -5
- package/dist/types/utils/get-name.d.ts +2 -2
- package/dist/types/utils/get-task-status.d.ts +3 -3
- package/dist/types/utils/getFieldsWithExistingData.d.ts +8 -8
- package/dist/types/utils/getLegalEntityCountry.d.ts +2 -2
- package/dist/types/utils/makeSelectItemForRole.d.ts +2 -2
- package/dist/types/utils/mapping/companySearch/mapCompanySearchSchemaToLegalEntity.d.ts +3 -3
- package/dist/types/utils/mapping/companySearch/mapLegalEntityToCompanySearchSchema.d.ts +2 -2
- package/dist/types/utils/mapping/componentApiMapping.d.ts +3 -3
- package/dist/types/utils/mapping/mapping.d.ts +13 -13
- package/dist/types/utils/mapping/trustMembers/getTrustMembers.d.ts +2 -2
- package/dist/types/utils/mapping/trustMembers/mapEntityAssociationsToTrustMembers.d.ts +3 -3
- package/dist/types/utils/mapping/trustMembers/mapRootLegalEntityToTrustMember.d.ts +2 -2
- package/dist/types/utils/mapping/trustMembers/mapUndefinedBeneficiaryInfoToTrustMembers.d.ts +2 -2
- package/dist/types/utils/masking/displayValueToPureValue.d.ts +1 -1
- package/dist/types/utils/masking/maskHelpers.d.ts +1 -1
- package/dist/types/utils/masking/matchAgainstMask.d.ts +1 -1
- package/dist/types/utils/masking/shiftRight.d.ts +1 -1
- package/dist/types/utils/masking/transformers/uppercase.d.ts +1 -1
- package/dist/types/utils/omitObscuredFieldsIfUnchanged.d.ts +1 -1
- package/dist/types/utils/payout-account-util.d.ts +5 -5
- package/dist/types/utils/payout-account.d.ts +1 -1
- package/dist/types/utils/perCountry.d.ts +1 -1
- package/dist/types/utils/regex/patternValidators.d.ts +1 -1
- package/dist/types/utils/regex/postalCodePatterns.d.ts +1 -1
- package/dist/types/utils/roleMetadata.d.ts +2 -2
- package/dist/types/utils/trackNavigation.d.ts +3 -3
- package/dist/types/utils/trust-util.d.ts +7 -7
- package/dist/types/utils/trustMembers/handlers/addOrUpdateAssociatedTrustMember.d.ts +3 -3
- package/dist/types/utils/trustMembers/handlers/addOrUpdateUndefinedBeneficiary.d.ts +3 -3
- package/dist/types/utils/trustMembers/handlers/createExemptSettlor.d.ts +3 -3
- package/dist/types/utils/trustMembers/handlers/deleteAssociatedTrustMember.d.ts +3 -3
- package/dist/types/utils/trustMembers/handlers/deleteUndefinedBeneficiary.d.ts +3 -3
- package/dist/types/utils/trustMembers/handlers/updateExemptSettlorName.d.ts +3 -3
- package/dist/types/utils/useForwardRef.d.ts +2 -2
- package/dist/types/utils/useStateFromProp.d.ts +1 -1
- package/dist/types/utils/validation/commonValidators.d.ts +1 -1
- package/dist/types/utils/validation/types.d.ts +3 -3
- package/dist/types/utils/validatorUtils.d.ts +2 -2
- package/dist/types/utils/verification/helpers/verify-id-number-helper.d.ts +2 -2
- package/dist/types/utils/verification/verificationUtils.d.ts +3 -3
- package/package.json +4 -4
- package/dist/es/ad-DT4vRaBJ.js +0 -13
- package/dist/es/ae-BOcuAHGY.js +0 -10
- package/dist/es/af-CoKzErRW.js +0 -12
- package/dist/es/ag-g4DXUCrU.js +0 -35
- package/dist/es/ai-CI-B0R9i.js +0 -30
- package/dist/es/al-COFkJ5Ca.js +0 -14
- package/dist/es/am-Dra-uz-8.js +0 -10
- package/dist/es/an-BGvLoFME.js +0 -10
- package/dist/es/ao-DxG-ywGM.js +0 -41
- package/dist/es/aq-D6KJELrz.js +0 -8
- package/dist/es/ar-D1__sXLf.js +0 -9
- package/dist/es/as-CO1cnzQr.js +0 -16
- package/dist/es/at-DJ-_JUEF.js +0 -8
- package/dist/es/au-DQ7hwYxQ.js +0 -17
- package/dist/es/aw-DsF55GZp.js +0 -24
- package/dist/es/ax-B7xGO2vL.js +0 -10
- package/dist/es/az-Bn_p9CvJ.js +0 -19
- package/dist/es/ba-BoJK_mQe.js +0 -18
- package/dist/es/bb-Pm_QT_Dl.js +0 -16
- package/dist/es/bd-D7_YREZy.js +0 -9
- package/dist/es/be-CZxtblLB.js +0 -10
- package/dist/es/bf-Dpx2xJ7g.js +0 -10
- package/dist/es/bg-GwVUUSOM.js +0 -12
- package/dist/es/bh-JbZUrPJw.js +0 -8
- package/dist/es/bi-BltG81ar.js +0 -18
- package/dist/es/bj-zQUv2SQa.js +0 -28
- package/dist/es/bl-BUtmusIM.js +0 -26
- package/dist/es/bm-D_illE8L.js +0 -31
- package/dist/es/bn-1XDJa4lE.js +0 -13
- package/dist/es/bo-DlmVbV9z.js +0 -10
- package/dist/es/br-DLB6QJZk.js +0 -14
- package/dist/es/bs-8dBnGYPj.js +0 -14
- package/dist/es/bt-D9SHS-Ak.js +0 -9
- package/dist/es/bv-ahmv_jU3.js +0 -20
- package/dist/es/bw-DzLl7TuC.js +0 -10
- package/dist/es/by-BztFrg5-.js +0 -14
- package/dist/es/bz-DkyxrcWx.js +0 -11
- package/dist/es/ca-Bika55Ha.js +0 -9
- package/dist/es/cc-CFZz_AYg.js +0 -14
- package/dist/es/cd-CgybrxtQ.js +0 -14
- package/dist/es/cf-D23Pv9G5.js +0 -12
- package/dist/es/cg-CfZbcFMO.js +0 -13
- package/dist/es/ch-mKEGRNZY.js +0 -9
- package/dist/es/ci-BJ-L2p8Z.js +0 -9
- package/dist/es/ck-j69yRZOc.js +0 -24
- package/dist/es/cl-C6BytT6S.js +0 -10
- package/dist/es/cm-CUzrX5VK.js +0 -16
- package/dist/es/cn-De5mx48S.js +0 -9
- package/dist/es/co-D1tfX-Rj.js +0 -28
- package/dist/es/cr-zUnaQPg8.js +0 -9
- package/dist/es/cu-DaGswOf0.js +0 -10
- package/dist/es/cv-C4-jr8vq.js +0 -11
- package/dist/es/cw-D-6419Qt.js +0 -15
- package/dist/es/cx-DfNBgtwc.js +0 -16
- package/dist/es/cy-BRABzapK.js +0 -10
- package/dist/es/cz-DzosVcuo.js +0 -9
- package/dist/es/de-DRcIm1Ma.js +0 -28
- package/dist/es/dj-Da7LmapC.js +0 -15
- package/dist/es/dk-pty9O1pD.js +0 -8
- package/dist/es/dm-GPioKBpx.js +0 -18
- package/dist/es/do-k8Aqzhu5.js +0 -12
- package/dist/es/dz-0w5shCtT.js +0 -10
- package/dist/es/ec-hp0Ygj0Y.js +0 -13
- package/dist/es/ee-Dpf_R8jm.js +0 -9
- package/dist/es/eg-BgVS1lzb.js +0 -10
- package/dist/es/eh-CEZasM8H.js +0 -11
- package/dist/es/er-RK3foPBe.js +0 -14
- package/dist/es/es-CNey9Ibr.js +0 -13
- package/dist/es/et-cNmj57xA.js +0 -12
- package/dist/es/fi-Ds4M7qRF.js +0 -16
- package/dist/es/fj-D1q87nq5.js +0 -34
- package/dist/es/fk-Y2rCs5DH.js +0 -41
- package/dist/es/fm-BZKPOICq.js +0 -19
- package/dist/es/fo-sSr8Xnvb.js +0 -14
- package/dist/es/fr-BWzaj6Yw.js +0 -19
- package/dist/es/fx-DR2GRTdn.js +0 -9
- package/dist/es/ga-9LhduROZ.js +0 -10
- package/dist/es/gb-DA-V5Xdu.js +0 -14
- package/dist/es/gd-JWdzcsNM.js +0 -22
- package/dist/es/ge-Zw0skRye.js +0 -9
- package/dist/es/gf-Bq_uV48f.js +0 -10
- package/dist/es/gg-CNzs8gF-.js +0 -13
- package/dist/es/gh-2VT5yAxo.js +0 -11
- package/dist/es/gi-jPgXNb1L.js +0 -10
- package/dist/es/gl-c6mjlUME.js +0 -9
- package/dist/es/gm-BgeXyCUQ.js +0 -11
- package/dist/es/gn-CyyMcNZ3.js +0 -10
- package/dist/es/gp-D2PIp9tB.js +0 -10
- package/dist/es/gq-BT6Gd3M4.js +0 -11
- package/dist/es/gr-B5MQUSuL.js +0 -8
- package/dist/es/gs-6VXnGQzD.js +0 -130
- package/dist/es/gt-4DSSuHgq.js +0 -11
- package/dist/es/gu-Dxf1inL8.js +0 -45
- package/dist/es/gw-R5Dl09OL.js +0 -11
- package/dist/es/gy-CHx6kck0.js +0 -10
- package/dist/es/hk-DLy2j4QA.js +0 -9
- package/dist/es/hm-CoK7Z2cg.js +0 -18
- package/dist/es/hn-DxQ71v08.js +0 -9
- package/dist/es/hr-B6Zc8qZS.js +0 -16
- package/dist/es/ht-DCMkLse8.js +0 -23
- package/dist/es/hu-JEoUAdpx.js +0 -9
- package/dist/es/id-D1C_2HvG.js +0 -8
- package/dist/es/ie-d3bapQx-.js +0 -19
- package/dist/es/il-CxVm0b2J.js +0 -20
- package/dist/es/im-BN_uhDka.js +0 -40
- package/dist/es/in-BGdmDROr.js +0 -11
- package/dist/es/io-DYCJpAKf.js +0 -22
- package/dist/es/iq-BlsI9EWN.js +0 -11
- package/dist/es/ir-DdOj6IVV.js +0 -13
- package/dist/es/is-DN52KJKG.js +0 -10
- package/dist/es/it-D6Y8tXt3.js +0 -19
- package/dist/es/je-DR82slj4.js +0 -18
- package/dist/es/jm-LqaENrl9.js +0 -13
- package/dist/es/jo-yLc64Rmj.js +0 -11
- package/dist/es/jp-Bb5uIw0H.js +0 -20
- package/dist/es/ke-BK1BjkeR.js +0 -33
- package/dist/es/kg-wlEuBvxO.js +0 -10
- package/dist/es/kh-DsvqlHLy.js +0 -10
- package/dist/es/ki-Byta-OFo.js +0 -17
- package/dist/es/km-RNbmgGL_.js +0 -12
- package/dist/es/kn-CsHNi3Qt.js +0 -15
- package/dist/es/kp-DskyYlvx.js +0 -11
- package/dist/es/kr-DlF6eJVr.js +0 -23
- package/dist/es/kw-BiQAd6j1.js +0 -10
- package/dist/es/ky-BvPeTNcl.js +0 -31
- package/dist/es/kz-BQCcz0Va.js +0 -10
- package/dist/es/la-COyntyzl.js +0 -10
- package/dist/es/lb-CzTzggHc.js +0 -19
- package/dist/es/lc-CRL2hV6d.js +0 -19
- package/dist/es/li-BN-LWzEm.js +0 -9
- package/dist/es/lk-Dh6uTZcH.js +0 -12
- package/dist/es/lr-CoVvhAhL.js +0 -20
- package/dist/es/ls-BFhv4OAc.js +0 -11
- package/dist/es/lt-C9w-Id1S.js +0 -10
- package/dist/es/lu-Ccpxa0yN.js +0 -9
- package/dist/es/lv-Di5Y7vBC.js +0 -8
- package/dist/es/ly-BKgB-CvV.js +0 -29
- package/dist/es/ma-gJj5XCI-.js +0 -15
- package/dist/es/mc-BPN5JfTO.js +0 -12
- package/dist/es/md-aCqyKOgl.js +0 -17
- package/dist/es/me-C6-JkhFA.js +0 -17
- package/dist/es/mf-jpyKjgsU.js +0 -10
- package/dist/es/mg-TS1IwqtI.js +0 -9
- package/dist/es/mh-yHLgOFiA.js +0 -15
- package/dist/es/mk-CaRVDngZ.js +0 -12
- package/dist/es/ml-CUUHxg1j.js +0 -16
- package/dist/es/mm-CYK7VHSP.js +0 -17
- package/dist/es/mn-D2S-h2WN.js +0 -20
- package/dist/es/mo-D1RG60zF.js +0 -16
- package/dist/es/mp-DzztXSh1.js +0 -11
- package/dist/es/mq-Gsmz5_5j.js +0 -10
- package/dist/es/mr-C_s5K8p5.js +0 -15
- package/dist/es/ms-Cgov7p4h.js +0 -28
- package/dist/es/mt-B9vsNjSx.js +0 -21
- package/dist/es/mu-DeH79Hcd.js +0 -17
- package/dist/es/mv-CS9OGWK4.js +0 -16
- package/dist/es/mw-BvDfO_4m.js +0 -17
- package/dist/es/mx-ByC0ZmOn.js +0 -17
- package/dist/es/my-BtbjhaSG.js +0 -16
- package/dist/es/mz-BuZty0IX.js +0 -19
- package/dist/es/na-BMRoTc_5.js +0 -18
- package/dist/es/nc-TfmJ1_PR.js +0 -18
- package/dist/es/ne-e6jU7Ta4.js +0 -11
- package/dist/es/nf-DEApE1l7.js +0 -9
- package/dist/es/ng-C481SfES.js +0 -19
- package/dist/es/ni-DoG4DYn_.js +0 -16
- package/dist/es/nl-Cmbofdv4.js +0 -11
- package/dist/es/no-CVO81I1l.js +0 -19
- package/dist/es/np-zRmg82Re.js +0 -16
- package/dist/es/nr-B5qQQRjH.js +0 -9
- package/dist/es/nu-BI4Y-0EG.js +0 -28
- package/dist/es/nz-DF7xbKn7.js +0 -21
- package/dist/es/om-BjOei_ke.js +0 -20
- package/dist/es/pa-ZEXTGOfm.js +0 -16
- package/dist/es/pe-HNEmB15y.js +0 -15
- package/dist/es/pf-DwCESo2k.js +0 -24
- package/dist/es/pg-BhOdaLDy.js +0 -17
- package/dist/es/ph-8ii4-Tq6.js +0 -16
- package/dist/es/pk-BafoDKz5.js +0 -15
- package/dist/es/pl-D9b2Q58T.js +0 -12
- package/dist/es/pm-C-WvmgM4.js +0 -38
- package/dist/es/pn-DjnHidFS.js +0 -25
- package/dist/es/pr-Dd50hA9F.js +0 -30
- package/dist/es/ps-CUGb27Pq.js +0 -11
- package/dist/es/pt-Qpxk-ulQ.js +0 -12
- package/dist/es/pw-DV4RtHVX.js +0 -15
- package/dist/es/py-eg-mtZFC.js +0 -17
- package/dist/es/qa-CHyJi5tF.js +0 -16
- package/dist/es/re-FpArmeeM.js +0 -10
- package/dist/es/ro-ANrnebzK.js +0 -16
- package/dist/es/rs-BGbyX7Qb.js +0 -20
- package/dist/es/ru-DtLSIa8v.js +0 -19
- package/dist/es/rw-B1kILqpv.js +0 -24
- package/dist/es/sa-CEcWBFfj.js +0 -9
- package/dist/es/sb-p9ah_4x5.js +0 -36
- package/dist/es/sc-2YHg9FTT.js +0 -22
- package/dist/es/sd-BKzyWEE3.js +0 -16
- package/dist/es/se-Dq5LtCEp.js +0 -9
- package/dist/es/sg-C752_QVl.js +0 -15
- package/dist/es/sh-NFjaiAXX.js +0 -36
- package/dist/es/si-DKzVjXeV.js +0 -23
- package/dist/es/sj-DF7Bf8Q9.js +0 -10
- package/dist/es/sk-CPmqq18S.js +0 -23
- package/dist/es/sl-Dx7oHjXI.js +0 -15
- package/dist/es/sm-B8bEOCx7.js +0 -16
- package/dist/es/sn-tcqzwUh4.js +0 -17
- package/dist/es/so-BrD8jwW8.js +0 -15
- package/dist/es/sr-Dyy1x6sW.js +0 -16
- package/dist/es/ss-CpfhWUQL.js +0 -16
- package/dist/es/st-DZJqDu2d.js +0 -17
- package/dist/es/sv-DtkfLQdf.js +0 -14
- package/dist/es/sx-C1dyGLW-.js +0 -17
- package/dist/es/sy-DhvBoSDL.js +0 -16
- package/dist/es/sz-Co03zPL0.js +0 -25
- package/dist/es/tc-DFY42rbc.js +0 -27
- package/dist/es/td-DdnMoB4B.js +0 -10
- package/dist/es/tf-DtUoHxUD.js +0 -12
- package/dist/es/tg-B-szBZlQ.js +0 -17
- package/dist/es/th-hl0xD9En.js +0 -15
- package/dist/es/tj-CaluHgV4.js +0 -16
- package/dist/es/tk-7WTKQA6M.js +0 -10
- package/dist/es/tl-DWxFj_mI.js +0 -17
- package/dist/es/tm-CXa44ZsQ.js +0 -47
- package/dist/es/tn-YGA63yhm.js +0 -15
- package/dist/es/to-D1SPhDAS.js +0 -19
- package/dist/es/tr-BkORBw5s.js +0 -16
- package/dist/es/tt-CPiasxy9.js +0 -16
- package/dist/es/tv-1UKqGnYq.js +0 -17
- package/dist/es/tw-V_-9EdZA.js +0 -16
- package/dist/es/tz-vyNQ8siG.js +0 -17
- package/dist/es/ua-B36hNKIn.js +0 -9
- package/dist/es/ug-DzrOv_zJ.js +0 -20
- package/dist/es/um-Xf4WHDSX.js +0 -30
- package/dist/es/us-VkSkiw44.js +0 -24
- package/dist/es/uy-BBVhuI0m.js +0 -10
- package/dist/es/uz-D4g4y6tl.js +0 -16
- package/dist/es/va-CuiFpTCr.js +0 -12
- package/dist/es/vc-BGrc4dhk.js +0 -17
- package/dist/es/ve-76O2C7rm.js +0 -17
- package/dist/es/vg-DMKx8jrg.js +0 -31
- package/dist/es/vi-D8PahWnh.js +0 -34
- package/dist/es/vn-BnPQgCR1.js +0 -9
- package/dist/es/vu-B3LLAmr5.js +0 -37
- package/dist/es/wf-qXr-xalT.js +0 -10
- package/dist/es/ws-pGsAcjqz.js +0 -16
- package/dist/es/ye-CII0qyBt.js +0 -9
- package/dist/es/yt-BoehcMko.js +0 -33
- package/dist/es/za-CaK3IAZP.js +0 -19
- package/dist/es/zm-C8-RQ03K.js +0 -24
- package/dist/es/zw-JWvy-vVa.js +0 -22
- package/dist/es/zz-CCLSDExB.js +0 -8
- package/dist/types/components/internal/CountryField/Flag.d.ts +0 -7
|
@@ -913,8 +913,8 @@ const legalCompanyName__helperText__SG = "Enter the name exactly as it is on you
|
|
|
913
913
|
const legalCompanyName__helperText__HK = "Enter the name exactly as it is on your Hong Kong Companies Registry's Certificate of Incorporation.";
|
|
914
914
|
const taxInformationNumber = "Tax Identification Number";
|
|
915
915
|
const taxInformationNumber__HK = "Business Registration number (BRN)";
|
|
916
|
-
const
|
|
917
|
-
const
|
|
916
|
+
const stockExchangeMIC = "Market Identifier Code (MIC)";
|
|
917
|
+
const stockISIN = "ISIN";
|
|
918
918
|
const companyLookupResultsHeader = "Let's find your company";
|
|
919
919
|
const companyLookupResultsHeader__searching = "Searching for companies...";
|
|
920
920
|
const companyLookupResultsHeader__verifying = "Verifying company selection...";
|
|
@@ -2182,8 +2182,8 @@ const defaultTrans = {
|
|
|
2182
2182
|
legalCompanyName__helperText__HK,
|
|
2183
2183
|
taxInformationNumber,
|
|
2184
2184
|
taxInformationNumber__HK,
|
|
2185
|
-
|
|
2186
|
-
|
|
2185
|
+
stockExchangeMIC,
|
|
2186
|
+
stockISIN,
|
|
2187
2187
|
companyLookupResultsHeader,
|
|
2188
2188
|
companyLookupResultsHeader__searching,
|
|
2189
2189
|
companyLookupResultsHeader__verifying,
|
|
@@ -3034,7 +3034,7 @@ const icons = {
|
|
|
3034
3034
|
warning: lazy(() => import("./warning-99uFf1WU.js")),
|
|
3035
3035
|
wrong: lazy(() => import("./wrong-1wvh7nZe.js"))
|
|
3036
3036
|
};
|
|
3037
|
-
const logger$
|
|
3037
|
+
const logger$u = createLogger("Icon");
|
|
3038
3038
|
const Icon = ({
|
|
3039
3039
|
className,
|
|
3040
3040
|
name,
|
|
@@ -3042,7 +3042,7 @@ const Icon = ({
|
|
|
3042
3042
|
}) => {
|
|
3043
3043
|
const LazyLoadedIcon = icons[name];
|
|
3044
3044
|
if (!LazyLoadedIcon) {
|
|
3045
|
-
logger$
|
|
3045
|
+
logger$u.error(`No such icon: "${name}"`);
|
|
3046
3046
|
return null;
|
|
3047
3047
|
}
|
|
3048
3048
|
return jsx("span", {
|
|
@@ -3256,7 +3256,7 @@ function useFormRouterContext() {
|
|
|
3256
3256
|
}
|
|
3257
3257
|
return context;
|
|
3258
3258
|
}
|
|
3259
|
-
const logger$
|
|
3259
|
+
const logger$t = createLogger("Link");
|
|
3260
3260
|
const getIconClass = (icon, external) => {
|
|
3261
3261
|
if (external) {
|
|
3262
3262
|
return "adl-link__icon adyen-kyc-icon-external-link";
|
|
@@ -3268,7 +3268,7 @@ const getIconClass = (icon, external) => {
|
|
|
3268
3268
|
};
|
|
3269
3269
|
const isValidLink = (href) => {
|
|
3270
3270
|
if (href === "#") {
|
|
3271
|
-
logger$
|
|
3271
|
+
logger$t.error('Links must include a valid href. If your href is "#", consider using a Button instead');
|
|
3272
3272
|
return false;
|
|
3273
3273
|
}
|
|
3274
3274
|
return true;
|
|
@@ -3556,7 +3556,7 @@ const useSetting = (settingName) => {
|
|
|
3556
3556
|
} = context;
|
|
3557
3557
|
return getSetting(settingName);
|
|
3558
3558
|
};
|
|
3559
|
-
const logger$
|
|
3559
|
+
const logger$s = createLogger("useAllowedCountries");
|
|
3560
3560
|
const useAllowedCountries = () => {
|
|
3561
3561
|
const acceptedCountries = useSetting("acceptedCountries");
|
|
3562
3562
|
const {
|
|
@@ -3566,7 +3566,7 @@ const useAllowedCountries = () => {
|
|
|
3566
3566
|
useEffect(() => {
|
|
3567
3567
|
if (acceptedCountries !== void 0)
|
|
3568
3568
|
return;
|
|
3569
|
-
getAllowedCountries2().then((response) => setAllowedCountries(response.countries)).catch(logger$
|
|
3569
|
+
getAllowedCountries2().then((response) => setAllowedCountries(response.countries)).catch(logger$s.error);
|
|
3570
3570
|
}, [acceptedCountries]);
|
|
3571
3571
|
return allowedCountries;
|
|
3572
3572
|
};
|
|
@@ -3905,7 +3905,7 @@ class ValidationResult {
|
|
|
3905
3905
|
return this.validationResults.filter((result) => result.hasError);
|
|
3906
3906
|
}
|
|
3907
3907
|
}
|
|
3908
|
-
const logger$
|
|
3908
|
+
const logger$r = createLogger("useAsyncValidator");
|
|
3909
3909
|
const useAsyncValidator = (asyncRules) => {
|
|
3910
3910
|
const [asyncValidationResults, setAsyncValidationResults] = useState({});
|
|
3911
3911
|
const clearAsyncValidationResults = useCallback(() => setAsyncValidationResults({}), []);
|
|
@@ -3928,7 +3928,7 @@ const useAsyncValidator = (asyncRules) => {
|
|
|
3928
3928
|
hasError: !isValid
|
|
3929
3929
|
}])
|
|
3930
3930
|
});
|
|
3931
|
-
}).catch(logger$
|
|
3931
|
+
}).catch(logger$r.error);
|
|
3932
3932
|
}, [asyncRules, clearAsyncValidationResults]);
|
|
3933
3933
|
return {
|
|
3934
3934
|
asyncValidationResults,
|
|
@@ -4913,307 +4913,6 @@ const Select = ({
|
|
|
4913
4913
|
})]
|
|
4914
4914
|
});
|
|
4915
4915
|
};
|
|
4916
|
-
const isIntersectionObserverSupported = typeof IntersectionObserver === "function";
|
|
4917
|
-
function useIsElementVisible(ref, fallback = true) {
|
|
4918
|
-
const [isOnScreen, setIsOnScreen] = useState(isIntersectionObserverSupported ? false : fallback);
|
|
4919
|
-
const observerRef = useRef();
|
|
4920
|
-
useEffect(() => {
|
|
4921
|
-
if (!isIntersectionObserverSupported)
|
|
4922
|
-
return;
|
|
4923
|
-
observerRef.current = new IntersectionObserver(([entry]) => setIsOnScreen(entry.isIntersecting));
|
|
4924
|
-
}, []);
|
|
4925
|
-
useEffect(() => {
|
|
4926
|
-
var _a;
|
|
4927
|
-
if (!ref.current)
|
|
4928
|
-
return;
|
|
4929
|
-
(_a = observerRef.current) == null ? void 0 : _a.observe(ref.current);
|
|
4930
|
-
return () => {
|
|
4931
|
-
var _a2;
|
|
4932
|
-
(_a2 = observerRef.current) == null ? void 0 : _a2.disconnect();
|
|
4933
|
-
};
|
|
4934
|
-
}, [ref]);
|
|
4935
|
-
return isOnScreen;
|
|
4936
|
-
}
|
|
4937
|
-
const logger$r = createLogger("Flag");
|
|
4938
|
-
const flagImports = /* @__PURE__ */ Object.assign({
|
|
4939
|
-
"../../../../assets/flags/ad.svg": () => import("./ad-DT4vRaBJ.js"),
|
|
4940
|
-
"../../../../assets/flags/ae.svg": () => import("./ae-BOcuAHGY.js"),
|
|
4941
|
-
"../../../../assets/flags/af.svg": () => import("./af-CoKzErRW.js"),
|
|
4942
|
-
"../../../../assets/flags/ag.svg": () => import("./ag-g4DXUCrU.js"),
|
|
4943
|
-
"../../../../assets/flags/ai.svg": () => import("./ai-CI-B0R9i.js"),
|
|
4944
|
-
"../../../../assets/flags/al.svg": () => import("./al-COFkJ5Ca.js"),
|
|
4945
|
-
"../../../../assets/flags/am.svg": () => import("./am-Dra-uz-8.js"),
|
|
4946
|
-
"../../../../assets/flags/an.svg": () => import("./an-BGvLoFME.js"),
|
|
4947
|
-
"../../../../assets/flags/ao.svg": () => import("./ao-DxG-ywGM.js"),
|
|
4948
|
-
"../../../../assets/flags/aq.svg": () => import("./aq-D6KJELrz.js"),
|
|
4949
|
-
"../../../../assets/flags/ar.svg": () => import("./ar-D1__sXLf.js"),
|
|
4950
|
-
"../../../../assets/flags/as.svg": () => import("./as-CO1cnzQr.js"),
|
|
4951
|
-
"../../../../assets/flags/at.svg": () => import("./at-DJ-_JUEF.js"),
|
|
4952
|
-
"../../../../assets/flags/au.svg": () => import("./au-DQ7hwYxQ.js"),
|
|
4953
|
-
"../../../../assets/flags/aw.svg": () => import("./aw-DsF55GZp.js"),
|
|
4954
|
-
"../../../../assets/flags/ax.svg": () => import("./ax-B7xGO2vL.js"),
|
|
4955
|
-
"../../../../assets/flags/az.svg": () => import("./az-Bn_p9CvJ.js"),
|
|
4956
|
-
"../../../../assets/flags/ba.svg": () => import("./ba-BoJK_mQe.js"),
|
|
4957
|
-
"../../../../assets/flags/bb.svg": () => import("./bb-Pm_QT_Dl.js"),
|
|
4958
|
-
"../../../../assets/flags/bd.svg": () => import("./bd-D7_YREZy.js"),
|
|
4959
|
-
"../../../../assets/flags/be.svg": () => import("./be-CZxtblLB.js"),
|
|
4960
|
-
"../../../../assets/flags/bf.svg": () => import("./bf-Dpx2xJ7g.js"),
|
|
4961
|
-
"../../../../assets/flags/bg.svg": () => import("./bg-GwVUUSOM.js"),
|
|
4962
|
-
"../../../../assets/flags/bh.svg": () => import("./bh-JbZUrPJw.js"),
|
|
4963
|
-
"../../../../assets/flags/bi.svg": () => import("./bi-BltG81ar.js"),
|
|
4964
|
-
"../../../../assets/flags/bj.svg": () => import("./bj-zQUv2SQa.js"),
|
|
4965
|
-
"../../../../assets/flags/bl.svg": () => import("./bl-BUtmusIM.js"),
|
|
4966
|
-
"../../../../assets/flags/bm.svg": () => import("./bm-D_illE8L.js"),
|
|
4967
|
-
"../../../../assets/flags/bn.svg": () => import("./bn-1XDJa4lE.js"),
|
|
4968
|
-
"../../../../assets/flags/bo.svg": () => import("./bo-DlmVbV9z.js"),
|
|
4969
|
-
"../../../../assets/flags/br.svg": () => import("./br-DLB6QJZk.js"),
|
|
4970
|
-
"../../../../assets/flags/bs.svg": () => import("./bs-8dBnGYPj.js"),
|
|
4971
|
-
"../../../../assets/flags/bt.svg": () => import("./bt-D9SHS-Ak.js"),
|
|
4972
|
-
"../../../../assets/flags/bv.svg": () => import("./bv-ahmv_jU3.js"),
|
|
4973
|
-
"../../../../assets/flags/bw.svg": () => import("./bw-DzLl7TuC.js"),
|
|
4974
|
-
"../../../../assets/flags/by.svg": () => import("./by-BztFrg5-.js"),
|
|
4975
|
-
"../../../../assets/flags/bz.svg": () => import("./bz-DkyxrcWx.js"),
|
|
4976
|
-
"../../../../assets/flags/ca.svg": () => import("./ca-Bika55Ha.js"),
|
|
4977
|
-
"../../../../assets/flags/cc.svg": () => import("./cc-CFZz_AYg.js"),
|
|
4978
|
-
"../../../../assets/flags/cd.svg": () => import("./cd-CgybrxtQ.js"),
|
|
4979
|
-
"../../../../assets/flags/cf.svg": () => import("./cf-D23Pv9G5.js"),
|
|
4980
|
-
"../../../../assets/flags/cg.svg": () => import("./cg-CfZbcFMO.js"),
|
|
4981
|
-
"../../../../assets/flags/ch.svg": () => import("./ch-mKEGRNZY.js"),
|
|
4982
|
-
"../../../../assets/flags/ci.svg": () => import("./ci-BJ-L2p8Z.js"),
|
|
4983
|
-
"../../../../assets/flags/ck.svg": () => import("./ck-j69yRZOc.js"),
|
|
4984
|
-
"../../../../assets/flags/cl.svg": () => import("./cl-C6BytT6S.js"),
|
|
4985
|
-
"../../../../assets/flags/cm.svg": () => import("./cm-CUzrX5VK.js"),
|
|
4986
|
-
"../../../../assets/flags/cn.svg": () => import("./cn-De5mx48S.js"),
|
|
4987
|
-
"../../../../assets/flags/co.svg": () => import("./co-D1tfX-Rj.js"),
|
|
4988
|
-
"../../../../assets/flags/cr.svg": () => import("./cr-zUnaQPg8.js"),
|
|
4989
|
-
"../../../../assets/flags/cu.svg": () => import("./cu-DaGswOf0.js"),
|
|
4990
|
-
"../../../../assets/flags/cv.svg": () => import("./cv-C4-jr8vq.js"),
|
|
4991
|
-
"../../../../assets/flags/cw.svg": () => import("./cw-D-6419Qt.js"),
|
|
4992
|
-
"../../../../assets/flags/cx.svg": () => import("./cx-DfNBgtwc.js"),
|
|
4993
|
-
"../../../../assets/flags/cy.svg": () => import("./cy-BRABzapK.js"),
|
|
4994
|
-
"../../../../assets/flags/cz.svg": () => import("./cz-DzosVcuo.js"),
|
|
4995
|
-
"../../../../assets/flags/de.svg": () => import("./de-DRcIm1Ma.js"),
|
|
4996
|
-
"../../../../assets/flags/dj.svg": () => import("./dj-Da7LmapC.js"),
|
|
4997
|
-
"../../../../assets/flags/dk.svg": () => import("./dk-pty9O1pD.js"),
|
|
4998
|
-
"../../../../assets/flags/dm.svg": () => import("./dm-GPioKBpx.js"),
|
|
4999
|
-
"../../../../assets/flags/do.svg": () => import("./do-k8Aqzhu5.js"),
|
|
5000
|
-
"../../../../assets/flags/dz.svg": () => import("./dz-0w5shCtT.js"),
|
|
5001
|
-
"../../../../assets/flags/ec.svg": () => import("./ec-hp0Ygj0Y.js"),
|
|
5002
|
-
"../../../../assets/flags/ee.svg": () => import("./ee-Dpf_R8jm.js"),
|
|
5003
|
-
"../../../../assets/flags/eg.svg": () => import("./eg-BgVS1lzb.js"),
|
|
5004
|
-
"../../../../assets/flags/eh.svg": () => import("./eh-CEZasM8H.js"),
|
|
5005
|
-
"../../../../assets/flags/er.svg": () => import("./er-RK3foPBe.js"),
|
|
5006
|
-
"../../../../assets/flags/es.svg": () => import("./es-CNey9Ibr.js"),
|
|
5007
|
-
"../../../../assets/flags/et.svg": () => import("./et-cNmj57xA.js"),
|
|
5008
|
-
"../../../../assets/flags/fi.svg": () => import("./fi-Ds4M7qRF.js"),
|
|
5009
|
-
"../../../../assets/flags/fj.svg": () => import("./fj-D1q87nq5.js"),
|
|
5010
|
-
"../../../../assets/flags/fk.svg": () => import("./fk-Y2rCs5DH.js"),
|
|
5011
|
-
"../../../../assets/flags/fm.svg": () => import("./fm-BZKPOICq.js"),
|
|
5012
|
-
"../../../../assets/flags/fo.svg": () => import("./fo-sSr8Xnvb.js"),
|
|
5013
|
-
"../../../../assets/flags/fr.svg": () => import("./fr-BWzaj6Yw.js"),
|
|
5014
|
-
"../../../../assets/flags/fx.svg": () => import("./fx-DR2GRTdn.js"),
|
|
5015
|
-
"../../../../assets/flags/ga.svg": () => import("./ga-9LhduROZ.js"),
|
|
5016
|
-
"../../../../assets/flags/gb.svg": () => import("./gb-DA-V5Xdu.js"),
|
|
5017
|
-
"../../../../assets/flags/gd.svg": () => import("./gd-JWdzcsNM.js"),
|
|
5018
|
-
"../../../../assets/flags/ge.svg": () => import("./ge-Zw0skRye.js"),
|
|
5019
|
-
"../../../../assets/flags/gf.svg": () => import("./gf-Bq_uV48f.js"),
|
|
5020
|
-
"../../../../assets/flags/gg.svg": () => import("./gg-CNzs8gF-.js"),
|
|
5021
|
-
"../../../../assets/flags/gh.svg": () => import("./gh-2VT5yAxo.js"),
|
|
5022
|
-
"../../../../assets/flags/gi.svg": () => import("./gi-jPgXNb1L.js"),
|
|
5023
|
-
"../../../../assets/flags/gl.svg": () => import("./gl-c6mjlUME.js"),
|
|
5024
|
-
"../../../../assets/flags/gm.svg": () => import("./gm-BgeXyCUQ.js"),
|
|
5025
|
-
"../../../../assets/flags/gn.svg": () => import("./gn-CyyMcNZ3.js"),
|
|
5026
|
-
"../../../../assets/flags/gp.svg": () => import("./gp-D2PIp9tB.js"),
|
|
5027
|
-
"../../../../assets/flags/gq.svg": () => import("./gq-BT6Gd3M4.js"),
|
|
5028
|
-
"../../../../assets/flags/gr.svg": () => import("./gr-B5MQUSuL.js"),
|
|
5029
|
-
"../../../../assets/flags/gs.svg": () => import("./gs-6VXnGQzD.js"),
|
|
5030
|
-
"../../../../assets/flags/gt.svg": () => import("./gt-4DSSuHgq.js"),
|
|
5031
|
-
"../../../../assets/flags/gu.svg": () => import("./gu-Dxf1inL8.js"),
|
|
5032
|
-
"../../../../assets/flags/gw.svg": () => import("./gw-R5Dl09OL.js"),
|
|
5033
|
-
"../../../../assets/flags/gy.svg": () => import("./gy-CHx6kck0.js"),
|
|
5034
|
-
"../../../../assets/flags/hk.svg": () => import("./hk-DLy2j4QA.js"),
|
|
5035
|
-
"../../../../assets/flags/hm.svg": () => import("./hm-CoK7Z2cg.js"),
|
|
5036
|
-
"../../../../assets/flags/hn.svg": () => import("./hn-DxQ71v08.js"),
|
|
5037
|
-
"../../../../assets/flags/hr.svg": () => import("./hr-B6Zc8qZS.js"),
|
|
5038
|
-
"../../../../assets/flags/ht.svg": () => import("./ht-DCMkLse8.js"),
|
|
5039
|
-
"../../../../assets/flags/hu.svg": () => import("./hu-JEoUAdpx.js"),
|
|
5040
|
-
"../../../../assets/flags/id.svg": () => import("./id-D1C_2HvG.js"),
|
|
5041
|
-
"../../../../assets/flags/ie.svg": () => import("./ie-d3bapQx-.js"),
|
|
5042
|
-
"../../../../assets/flags/il.svg": () => import("./il-CxVm0b2J.js"),
|
|
5043
|
-
"../../../../assets/flags/im.svg": () => import("./im-BN_uhDka.js"),
|
|
5044
|
-
"../../../../assets/flags/in.svg": () => import("./in-BGdmDROr.js"),
|
|
5045
|
-
"../../../../assets/flags/io.svg": () => import("./io-DYCJpAKf.js"),
|
|
5046
|
-
"../../../../assets/flags/iq.svg": () => import("./iq-BlsI9EWN.js"),
|
|
5047
|
-
"../../../../assets/flags/ir.svg": () => import("./ir-DdOj6IVV.js"),
|
|
5048
|
-
"../../../../assets/flags/is.svg": () => import("./is-DN52KJKG.js"),
|
|
5049
|
-
"../../../../assets/flags/it.svg": () => import("./it-D6Y8tXt3.js"),
|
|
5050
|
-
"../../../../assets/flags/je.svg": () => import("./je-DR82slj4.js"),
|
|
5051
|
-
"../../../../assets/flags/jm.svg": () => import("./jm-LqaENrl9.js"),
|
|
5052
|
-
"../../../../assets/flags/jo.svg": () => import("./jo-yLc64Rmj.js"),
|
|
5053
|
-
"../../../../assets/flags/jp.svg": () => import("./jp-Bb5uIw0H.js"),
|
|
5054
|
-
"../../../../assets/flags/ke.svg": () => import("./ke-BK1BjkeR.js"),
|
|
5055
|
-
"../../../../assets/flags/kg.svg": () => import("./kg-wlEuBvxO.js"),
|
|
5056
|
-
"../../../../assets/flags/kh.svg": () => import("./kh-DsvqlHLy.js"),
|
|
5057
|
-
"../../../../assets/flags/ki.svg": () => import("./ki-Byta-OFo.js"),
|
|
5058
|
-
"../../../../assets/flags/km.svg": () => import("./km-RNbmgGL_.js"),
|
|
5059
|
-
"../../../../assets/flags/kn.svg": () => import("./kn-CsHNi3Qt.js"),
|
|
5060
|
-
"../../../../assets/flags/kp.svg": () => import("./kp-DskyYlvx.js"),
|
|
5061
|
-
"../../../../assets/flags/kr.svg": () => import("./kr-DlF6eJVr.js"),
|
|
5062
|
-
"../../../../assets/flags/kw.svg": () => import("./kw-BiQAd6j1.js"),
|
|
5063
|
-
"../../../../assets/flags/ky.svg": () => import("./ky-BvPeTNcl.js"),
|
|
5064
|
-
"../../../../assets/flags/kz.svg": () => import("./kz-BQCcz0Va.js"),
|
|
5065
|
-
"../../../../assets/flags/la.svg": () => import("./la-COyntyzl.js"),
|
|
5066
|
-
"../../../../assets/flags/lb.svg": () => import("./lb-CzTzggHc.js"),
|
|
5067
|
-
"../../../../assets/flags/lc.svg": () => import("./lc-CRL2hV6d.js"),
|
|
5068
|
-
"../../../../assets/flags/li.svg": () => import("./li-BN-LWzEm.js"),
|
|
5069
|
-
"../../../../assets/flags/lk.svg": () => import("./lk-Dh6uTZcH.js"),
|
|
5070
|
-
"../../../../assets/flags/lr.svg": () => import("./lr-CoVvhAhL.js"),
|
|
5071
|
-
"../../../../assets/flags/ls.svg": () => import("./ls-BFhv4OAc.js"),
|
|
5072
|
-
"../../../../assets/flags/lt.svg": () => import("./lt-C9w-Id1S.js"),
|
|
5073
|
-
"../../../../assets/flags/lu.svg": () => import("./lu-Ccpxa0yN.js"),
|
|
5074
|
-
"../../../../assets/flags/lv.svg": () => import("./lv-Di5Y7vBC.js"),
|
|
5075
|
-
"../../../../assets/flags/ly.svg": () => import("./ly-BKgB-CvV.js"),
|
|
5076
|
-
"../../../../assets/flags/ma.svg": () => import("./ma-gJj5XCI-.js"),
|
|
5077
|
-
"../../../../assets/flags/mc.svg": () => import("./mc-BPN5JfTO.js"),
|
|
5078
|
-
"../../../../assets/flags/md.svg": () => import("./md-aCqyKOgl.js"),
|
|
5079
|
-
"../../../../assets/flags/me.svg": () => import("./me-C6-JkhFA.js"),
|
|
5080
|
-
"../../../../assets/flags/mf.svg": () => import("./mf-jpyKjgsU.js"),
|
|
5081
|
-
"../../../../assets/flags/mg.svg": () => import("./mg-TS1IwqtI.js"),
|
|
5082
|
-
"../../../../assets/flags/mh.svg": () => import("./mh-yHLgOFiA.js"),
|
|
5083
|
-
"../../../../assets/flags/mk.svg": () => import("./mk-CaRVDngZ.js"),
|
|
5084
|
-
"../../../../assets/flags/ml.svg": () => import("./ml-CUUHxg1j.js"),
|
|
5085
|
-
"../../../../assets/flags/mm.svg": () => import("./mm-CYK7VHSP.js"),
|
|
5086
|
-
"../../../../assets/flags/mn.svg": () => import("./mn-D2S-h2WN.js"),
|
|
5087
|
-
"../../../../assets/flags/mo.svg": () => import("./mo-D1RG60zF.js"),
|
|
5088
|
-
"../../../../assets/flags/mp.svg": () => import("./mp-DzztXSh1.js"),
|
|
5089
|
-
"../../../../assets/flags/mq.svg": () => import("./mq-Gsmz5_5j.js"),
|
|
5090
|
-
"../../../../assets/flags/mr.svg": () => import("./mr-C_s5K8p5.js"),
|
|
5091
|
-
"../../../../assets/flags/ms.svg": () => import("./ms-Cgov7p4h.js"),
|
|
5092
|
-
"../../../../assets/flags/mt.svg": () => import("./mt-B9vsNjSx.js"),
|
|
5093
|
-
"../../../../assets/flags/mu.svg": () => import("./mu-DeH79Hcd.js"),
|
|
5094
|
-
"../../../../assets/flags/mv.svg": () => import("./mv-CS9OGWK4.js"),
|
|
5095
|
-
"../../../../assets/flags/mw.svg": () => import("./mw-BvDfO_4m.js"),
|
|
5096
|
-
"../../../../assets/flags/mx.svg": () => import("./mx-ByC0ZmOn.js"),
|
|
5097
|
-
"../../../../assets/flags/my.svg": () => import("./my-BtbjhaSG.js"),
|
|
5098
|
-
"../../../../assets/flags/mz.svg": () => import("./mz-BuZty0IX.js"),
|
|
5099
|
-
"../../../../assets/flags/na.svg": () => import("./na-BMRoTc_5.js"),
|
|
5100
|
-
"../../../../assets/flags/nc.svg": () => import("./nc-TfmJ1_PR.js"),
|
|
5101
|
-
"../../../../assets/flags/ne.svg": () => import("./ne-e6jU7Ta4.js"),
|
|
5102
|
-
"../../../../assets/flags/nf.svg": () => import("./nf-DEApE1l7.js"),
|
|
5103
|
-
"../../../../assets/flags/ng.svg": () => import("./ng-C481SfES.js"),
|
|
5104
|
-
"../../../../assets/flags/ni.svg": () => import("./ni-DoG4DYn_.js"),
|
|
5105
|
-
"../../../../assets/flags/nl.svg": () => import("./nl-Cmbofdv4.js"),
|
|
5106
|
-
"../../../../assets/flags/no.svg": () => import("./no-CVO81I1l.js"),
|
|
5107
|
-
"../../../../assets/flags/np.svg": () => import("./np-zRmg82Re.js"),
|
|
5108
|
-
"../../../../assets/flags/nr.svg": () => import("./nr-B5qQQRjH.js"),
|
|
5109
|
-
"../../../../assets/flags/nu.svg": () => import("./nu-BI4Y-0EG.js"),
|
|
5110
|
-
"../../../../assets/flags/nz.svg": () => import("./nz-DF7xbKn7.js"),
|
|
5111
|
-
"../../../../assets/flags/om.svg": () => import("./om-BjOei_ke.js"),
|
|
5112
|
-
"../../../../assets/flags/pa.svg": () => import("./pa-ZEXTGOfm.js"),
|
|
5113
|
-
"../../../../assets/flags/pe.svg": () => import("./pe-HNEmB15y.js"),
|
|
5114
|
-
"../../../../assets/flags/pf.svg": () => import("./pf-DwCESo2k.js"),
|
|
5115
|
-
"../../../../assets/flags/pg.svg": () => import("./pg-BhOdaLDy.js"),
|
|
5116
|
-
"../../../../assets/flags/ph.svg": () => import("./ph-8ii4-Tq6.js"),
|
|
5117
|
-
"../../../../assets/flags/pk.svg": () => import("./pk-BafoDKz5.js"),
|
|
5118
|
-
"../../../../assets/flags/pl.svg": () => import("./pl-D9b2Q58T.js"),
|
|
5119
|
-
"../../../../assets/flags/pm.svg": () => import("./pm-C-WvmgM4.js"),
|
|
5120
|
-
"../../../../assets/flags/pn.svg": () => import("./pn-DjnHidFS.js"),
|
|
5121
|
-
"../../../../assets/flags/pr.svg": () => import("./pr-Dd50hA9F.js"),
|
|
5122
|
-
"../../../../assets/flags/ps.svg": () => import("./ps-CUGb27Pq.js"),
|
|
5123
|
-
"../../../../assets/flags/pt.svg": () => import("./pt-Qpxk-ulQ.js"),
|
|
5124
|
-
"../../../../assets/flags/pw.svg": () => import("./pw-DV4RtHVX.js"),
|
|
5125
|
-
"../../../../assets/flags/py.svg": () => import("./py-eg-mtZFC.js"),
|
|
5126
|
-
"../../../../assets/flags/qa.svg": () => import("./qa-CHyJi5tF.js"),
|
|
5127
|
-
"../../../../assets/flags/re.svg": () => import("./re-FpArmeeM.js"),
|
|
5128
|
-
"../../../../assets/flags/ro.svg": () => import("./ro-ANrnebzK.js"),
|
|
5129
|
-
"../../../../assets/flags/rs.svg": () => import("./rs-BGbyX7Qb.js"),
|
|
5130
|
-
"../../../../assets/flags/ru.svg": () => import("./ru-DtLSIa8v.js"),
|
|
5131
|
-
"../../../../assets/flags/rw.svg": () => import("./rw-B1kILqpv.js"),
|
|
5132
|
-
"../../../../assets/flags/sa.svg": () => import("./sa-CEcWBFfj.js"),
|
|
5133
|
-
"../../../../assets/flags/sb.svg": () => import("./sb-p9ah_4x5.js"),
|
|
5134
|
-
"../../../../assets/flags/sc.svg": () => import("./sc-2YHg9FTT.js"),
|
|
5135
|
-
"../../../../assets/flags/sd.svg": () => import("./sd-BKzyWEE3.js"),
|
|
5136
|
-
"../../../../assets/flags/se.svg": () => import("./se-Dq5LtCEp.js"),
|
|
5137
|
-
"../../../../assets/flags/sg.svg": () => import("./sg-C752_QVl.js"),
|
|
5138
|
-
"../../../../assets/flags/sh.svg": () => import("./sh-NFjaiAXX.js"),
|
|
5139
|
-
"../../../../assets/flags/si.svg": () => import("./si-DKzVjXeV.js"),
|
|
5140
|
-
"../../../../assets/flags/sj.svg": () => import("./sj-DF7Bf8Q9.js"),
|
|
5141
|
-
"../../../../assets/flags/sk.svg": () => import("./sk-CPmqq18S.js"),
|
|
5142
|
-
"../../../../assets/flags/sl.svg": () => import("./sl-Dx7oHjXI.js"),
|
|
5143
|
-
"../../../../assets/flags/sm.svg": () => import("./sm-B8bEOCx7.js"),
|
|
5144
|
-
"../../../../assets/flags/sn.svg": () => import("./sn-tcqzwUh4.js"),
|
|
5145
|
-
"../../../../assets/flags/so.svg": () => import("./so-BrD8jwW8.js"),
|
|
5146
|
-
"../../../../assets/flags/sr.svg": () => import("./sr-Dyy1x6sW.js"),
|
|
5147
|
-
"../../../../assets/flags/ss.svg": () => import("./ss-CpfhWUQL.js"),
|
|
5148
|
-
"../../../../assets/flags/st.svg": () => import("./st-DZJqDu2d.js"),
|
|
5149
|
-
"../../../../assets/flags/sv.svg": () => import("./sv-DtkfLQdf.js"),
|
|
5150
|
-
"../../../../assets/flags/sx.svg": () => import("./sx-C1dyGLW-.js"),
|
|
5151
|
-
"../../../../assets/flags/sy.svg": () => import("./sy-DhvBoSDL.js"),
|
|
5152
|
-
"../../../../assets/flags/sz.svg": () => import("./sz-Co03zPL0.js"),
|
|
5153
|
-
"../../../../assets/flags/tc.svg": () => import("./tc-DFY42rbc.js"),
|
|
5154
|
-
"../../../../assets/flags/td.svg": () => import("./td-DdnMoB4B.js"),
|
|
5155
|
-
"../../../../assets/flags/tf.svg": () => import("./tf-DtUoHxUD.js"),
|
|
5156
|
-
"../../../../assets/flags/tg.svg": () => import("./tg-B-szBZlQ.js"),
|
|
5157
|
-
"../../../../assets/flags/th.svg": () => import("./th-hl0xD9En.js"),
|
|
5158
|
-
"../../../../assets/flags/tj.svg": () => import("./tj-CaluHgV4.js"),
|
|
5159
|
-
"../../../../assets/flags/tk.svg": () => import("./tk-7WTKQA6M.js"),
|
|
5160
|
-
"../../../../assets/flags/tl.svg": () => import("./tl-DWxFj_mI.js"),
|
|
5161
|
-
"../../../../assets/flags/tm.svg": () => import("./tm-CXa44ZsQ.js"),
|
|
5162
|
-
"../../../../assets/flags/tn.svg": () => import("./tn-YGA63yhm.js"),
|
|
5163
|
-
"../../../../assets/flags/to.svg": () => import("./to-D1SPhDAS.js"),
|
|
5164
|
-
"../../../../assets/flags/tr.svg": () => import("./tr-BkORBw5s.js"),
|
|
5165
|
-
"../../../../assets/flags/tt.svg": () => import("./tt-CPiasxy9.js"),
|
|
5166
|
-
"../../../../assets/flags/tv.svg": () => import("./tv-1UKqGnYq.js"),
|
|
5167
|
-
"../../../../assets/flags/tw.svg": () => import("./tw-V_-9EdZA.js"),
|
|
5168
|
-
"../../../../assets/flags/tz.svg": () => import("./tz-vyNQ8siG.js"),
|
|
5169
|
-
"../../../../assets/flags/ua.svg": () => import("./ua-B36hNKIn.js"),
|
|
5170
|
-
"../../../../assets/flags/ug.svg": () => import("./ug-DzrOv_zJ.js"),
|
|
5171
|
-
"../../../../assets/flags/um.svg": () => import("./um-Xf4WHDSX.js"),
|
|
5172
|
-
"../../../../assets/flags/us.svg": () => import("./us-VkSkiw44.js"),
|
|
5173
|
-
"../../../../assets/flags/uy.svg": () => import("./uy-BBVhuI0m.js"),
|
|
5174
|
-
"../../../../assets/flags/uz.svg": () => import("./uz-D4g4y6tl.js"),
|
|
5175
|
-
"../../../../assets/flags/va.svg": () => import("./va-CuiFpTCr.js"),
|
|
5176
|
-
"../../../../assets/flags/vc.svg": () => import("./vc-BGrc4dhk.js"),
|
|
5177
|
-
"../../../../assets/flags/ve.svg": () => import("./ve-76O2C7rm.js"),
|
|
5178
|
-
"../../../../assets/flags/vg.svg": () => import("./vg-DMKx8jrg.js"),
|
|
5179
|
-
"../../../../assets/flags/vi.svg": () => import("./vi-D8PahWnh.js"),
|
|
5180
|
-
"../../../../assets/flags/vn.svg": () => import("./vn-BnPQgCR1.js"),
|
|
5181
|
-
"../../../../assets/flags/vu.svg": () => import("./vu-B3LLAmr5.js"),
|
|
5182
|
-
"../../../../assets/flags/wf.svg": () => import("./wf-qXr-xalT.js"),
|
|
5183
|
-
"../../../../assets/flags/ws.svg": () => import("./ws-pGsAcjqz.js"),
|
|
5184
|
-
"../../../../assets/flags/ye.svg": () => import("./ye-CII0qyBt.js"),
|
|
5185
|
-
"../../../../assets/flags/yt.svg": () => import("./yt-BoehcMko.js"),
|
|
5186
|
-
"../../../../assets/flags/za.svg": () => import("./za-CaK3IAZP.js"),
|
|
5187
|
-
"../../../../assets/flags/zm.svg": () => import("./zm-C8-RQ03K.js"),
|
|
5188
|
-
"../../../../assets/flags/zw.svg": () => import("./zw-JWvy-vVa.js"),
|
|
5189
|
-
"../../../../assets/flags/zz.svg": () => import("./zz-CCLSDExB.js")
|
|
5190
|
-
});
|
|
5191
|
-
const getLazyLoadedSvgComponent = (country2) => {
|
|
5192
|
-
const importForCountry = flagImports[`../../../../assets/flags/${country2.toLowerCase()}.svg`];
|
|
5193
|
-
if (!importForCountry) {
|
|
5194
|
-
logger$r.error(`No flag available for ${country2}`);
|
|
5195
|
-
return void 0;
|
|
5196
|
-
}
|
|
5197
|
-
return lazy(importForCountry);
|
|
5198
|
-
};
|
|
5199
|
-
const Flag = ({
|
|
5200
|
-
country: country2
|
|
5201
|
-
}) => {
|
|
5202
|
-
const containerRef = useRef(null);
|
|
5203
|
-
const isVisible = useIsElementVisible(containerRef);
|
|
5204
|
-
const placeholder = jsx("span", {
|
|
5205
|
-
className: "adyen-kyc-flag__placeholder"
|
|
5206
|
-
});
|
|
5207
|
-
const LazyLoadedSvgComponent = isVisible ? getLazyLoadedSvgComponent(country2) : void 0;
|
|
5208
|
-
return jsx("span", {
|
|
5209
|
-
ref: containerRef,
|
|
5210
|
-
className: "adyen-kyc-flag__container",
|
|
5211
|
-
children: jsx(Suspense, {
|
|
5212
|
-
fallback: placeholder,
|
|
5213
|
-
children: LazyLoadedSvgComponent ? jsx(LazyLoadedSvgComponent, {}) : placeholder
|
|
5214
|
-
})
|
|
5215
|
-
});
|
|
5216
|
-
};
|
|
5217
4916
|
const COUNTRY_FIELD = ["country"];
|
|
5218
4917
|
function CountryField({
|
|
5219
4918
|
data,
|
|
@@ -5232,12 +4931,7 @@ function CountryField({
|
|
|
5232
4931
|
const {
|
|
5233
4932
|
dataset: countriesFromApi
|
|
5234
4933
|
} = useDataset(datasetIdentifier.country);
|
|
5235
|
-
const countries = useMemo(() => countriesFromApi.filter((country2) => allowedCountries ? allowedCountries.includes(country2.id) : true)
|
|
5236
|
-
...item,
|
|
5237
|
-
icon: jsx(Flag, {
|
|
5238
|
-
country: item.id
|
|
5239
|
-
})
|
|
5240
|
-
})), [allowedCountries, countriesFromApi]);
|
|
4934
|
+
const countries = useMemo(() => countriesFromApi.filter((country2) => allowedCountries ? allowedCountries.includes(country2.id) : true), [allowedCountries, countriesFromApi]);
|
|
5241
4935
|
return jsx(Field, {
|
|
5242
4936
|
name: "country",
|
|
5243
4937
|
label: (labels2 == null ? void 0 : labels2.country) || i18n.get("country"),
|
|
@@ -6164,6 +5858,32 @@ Falling back to partially valid value "${fallback}"`);
|
|
|
6164
5858
|
setCaretReturnPosition(null);
|
|
6165
5859
|
}
|
|
6166
5860
|
}, [caretReturnPosition]);
|
|
5861
|
+
const handleInput = (event) => {
|
|
5862
|
+
const inputEl = event.target;
|
|
5863
|
+
const newPureValue = displayValueToPure(inputEl.value);
|
|
5864
|
+
const newMaskResult = getMaskResult(newPureValue);
|
|
5865
|
+
const returnCaretLater = (offset = 0) => {
|
|
5866
|
+
if (!inputEl.selectionStart)
|
|
5867
|
+
return;
|
|
5868
|
+
setCaretReturnPosition(inputEl.selectionStart + offset);
|
|
5869
|
+
};
|
|
5870
|
+
const cancelInput = () => {
|
|
5871
|
+
returnCaretLater(-1);
|
|
5872
|
+
inputEl.value = displayValue;
|
|
5873
|
+
event.preventDefault();
|
|
5874
|
+
event.stopPropagation();
|
|
5875
|
+
};
|
|
5876
|
+
if (newMaskResult.outcome === "mismatch") {
|
|
5877
|
+
cancelInput();
|
|
5878
|
+
onMismatch(newMaskResult);
|
|
5879
|
+
return;
|
|
5880
|
+
}
|
|
5881
|
+
if (inputEl.selectionStart && inputEl.selectionStart < inputEl.value.length) {
|
|
5882
|
+
returnCaretLater();
|
|
5883
|
+
}
|
|
5884
|
+
inputEl.value = newMaskResult.displayValue;
|
|
5885
|
+
onInput(newPureValue);
|
|
5886
|
+
};
|
|
6167
5887
|
return jsx(Field, {
|
|
6168
5888
|
name,
|
|
6169
5889
|
label,
|
|
@@ -6180,31 +5900,31 @@ Falling back to partially valid value "${fallback}"`);
|
|
|
6180
5900
|
}) => jsx(InputText, {
|
|
6181
5901
|
...childProps,
|
|
6182
5902
|
value: displayValue,
|
|
6183
|
-
onInput:
|
|
5903
|
+
onInput: handleInput,
|
|
5904
|
+
onPaste: (event) => {
|
|
5905
|
+
var _a;
|
|
5906
|
+
const pasteValue = (_a = event.clipboardData) == null ? void 0 : _a.getData("text/plain");
|
|
6184
5907
|
const inputEl = event.target;
|
|
6185
|
-
const
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
setCaretReturnPosition(inputEl.selectionStart + offset);
|
|
6191
|
-
};
|
|
6192
|
-
const cancelInput = () => {
|
|
6193
|
-
returnCaretLater(-1);
|
|
6194
|
-
inputEl.value = displayValue;
|
|
6195
|
-
event.preventDefault();
|
|
6196
|
-
event.stopPropagation();
|
|
6197
|
-
};
|
|
6198
|
-
if (newMaskResult.outcome === "mismatch") {
|
|
6199
|
-
cancelInput();
|
|
6200
|
-
onMismatch(newMaskResult);
|
|
5908
|
+
const {
|
|
5909
|
+
selectionStart,
|
|
5910
|
+
selectionEnd
|
|
5911
|
+
} = inputEl;
|
|
5912
|
+
if (!pasteValue || !selectionStart || selectionStart !== selectionEnd)
|
|
6201
5913
|
return;
|
|
5914
|
+
const pureDisplayValue = displayValueToPure(displayValue);
|
|
5915
|
+
const purePasteValue = displayValueToPure(pasteValue);
|
|
5916
|
+
const newPureValue = pureDisplayValue.slice(0, selectionStart) + purePasteValue + pureDisplayValue.slice(selectionStart);
|
|
5917
|
+
if (newPureValue.startsWith(pureDisplayValue + pureDisplayValue)) {
|
|
5918
|
+
const withPrefixRemoved = newPureValue.replace(pureDisplayValue, "");
|
|
5919
|
+
event.preventDefault();
|
|
5920
|
+
handleInput({
|
|
5921
|
+
...event,
|
|
5922
|
+
target: {
|
|
5923
|
+
...event.target,
|
|
5924
|
+
value: withPrefixRemoved
|
|
5925
|
+
}
|
|
5926
|
+
});
|
|
6202
5927
|
}
|
|
6203
|
-
if (inputEl.selectionStart && inputEl.selectionStart < inputEl.value.length) {
|
|
6204
|
-
returnCaretLater();
|
|
6205
|
-
}
|
|
6206
|
-
inputEl.value = newMaskResult.displayValue;
|
|
6207
|
-
onInput(newPureValue);
|
|
6208
5928
|
},
|
|
6209
5929
|
onKeyDown: (event) => {
|
|
6210
5930
|
const inputEl = event.target;
|
|
@@ -8138,7 +7858,7 @@ function StockExchangeMICField({
|
|
|
8138
7858
|
});
|
|
8139
7859
|
}
|
|
8140
7860
|
const stockExchangeMICFieldMetadata = {
|
|
8141
|
-
label: "
|
|
7861
|
+
label: "stockExchangeMIC",
|
|
8142
7862
|
validators: validatePatternOnBlur(/^[a-zA-Z0-9]{4}$/),
|
|
8143
7863
|
mask: {
|
|
8144
7864
|
mask: makeMask(...alphanumericInputs(4)),
|
|
@@ -8186,7 +7906,7 @@ function StockISINField({
|
|
|
8186
7906
|
});
|
|
8187
7907
|
}
|
|
8188
7908
|
const stockISINFieldMetadata = {
|
|
8189
|
-
label: "
|
|
7909
|
+
label: "stockISIN",
|
|
8190
7910
|
validators: validatePatternOnBlur(/^[a-zA-Z0-9]{12}$/),
|
|
8191
7911
|
mask: {
|
|
8192
7912
|
mask: makeMask(...alphaInputs(2), ...alphanumericInputs(9), ...numericInputs(1)),
|
|
@@ -9339,7 +9059,7 @@ const FLOWS_THAT_HIDE_REGISTRATION_NUMBER = [{
|
|
|
9339
9059
|
}];
|
|
9340
9060
|
const companyRegistrationDetailsFields = ["tradingName", "sameNameAsLegalName", ...businessRegistrationNumberFields, "stockExchangeMIC", "stockISIN", ...vatNumberFields, ...taxIdFields, "dateOfIncorporation"];
|
|
9341
9061
|
function CompanyRegistrationDetailsComponent(props) {
|
|
9342
|
-
var _a, _b
|
|
9062
|
+
var _a, _b;
|
|
9343
9063
|
const {
|
|
9344
9064
|
i18n
|
|
9345
9065
|
} = useI18nContext();
|
|
@@ -9357,7 +9077,6 @@ function CompanyRegistrationDetailsComponent(props) {
|
|
|
9357
9077
|
getData
|
|
9358
9078
|
} = useStateContext();
|
|
9359
9079
|
const legalCompanyName2 = (_b = (_a = getData()) == null ? void 0 : _a.companyNameAndCountry) == null ? void 0 : _b.legalCompanyName;
|
|
9360
|
-
(_d = (_c = getData()) == null ? void 0 : _c.companyNameAndCountry) == null ? void 0 : _d.country;
|
|
9361
9080
|
const isSameNameAsLegalName = !mergedProps.data.tradingName ? true : mergedProps.data.tradingName === legalCompanyName2;
|
|
9362
9081
|
const {
|
|
9363
9082
|
handleChangeFor,
|
|
@@ -10322,6 +10041,7 @@ var TaskTypes = /* @__PURE__ */ ((TaskTypes2) => {
|
|
|
10322
10041
|
TaskTypes2["INDIVIDUAL"] = "INDIVIDUAL";
|
|
10323
10042
|
TaskTypes2["COMPANY"] = "COMPANY";
|
|
10324
10043
|
TaskTypes2["COMPANY_SEARCH"] = "COMPANY_SEARCH";
|
|
10044
|
+
TaskTypes2["BUSINESS_DETAILS"] = "BUSINESS_DETAILS";
|
|
10325
10045
|
TaskTypes2["PAYOUT"] = "PAYOUT";
|
|
10326
10046
|
TaskTypes2["PAYIN"] = "PAYIN";
|
|
10327
10047
|
TaskTypes2["SERVICE_AGREEMENT"] = "SERVICE_AGREEMENT";
|
|
@@ -11661,6 +11381,27 @@ function FieldContainer(props) {
|
|
|
11661
11381
|
}
|
|
11662
11382
|
return renderField(fieldName);
|
|
11663
11383
|
}
|
|
11384
|
+
const isIntersectionObserverSupported = typeof IntersectionObserver === "function";
|
|
11385
|
+
function useIsElementVisible(ref, fallback = true) {
|
|
11386
|
+
const [isOnScreen, setIsOnScreen] = useState(isIntersectionObserverSupported ? false : fallback);
|
|
11387
|
+
const observerRef = useRef();
|
|
11388
|
+
useEffect(() => {
|
|
11389
|
+
if (!isIntersectionObserverSupported)
|
|
11390
|
+
return;
|
|
11391
|
+
observerRef.current = new IntersectionObserver(([entry]) => setIsOnScreen(entry.isIntersecting));
|
|
11392
|
+
}, []);
|
|
11393
|
+
useEffect(() => {
|
|
11394
|
+
var _a;
|
|
11395
|
+
if (!ref.current)
|
|
11396
|
+
return;
|
|
11397
|
+
(_a = observerRef.current) == null ? void 0 : _a.observe(ref.current);
|
|
11398
|
+
return () => {
|
|
11399
|
+
var _a2;
|
|
11400
|
+
(_a2 = observerRef.current) == null ? void 0 : _a2.disconnect();
|
|
11401
|
+
};
|
|
11402
|
+
}, [ref]);
|
|
11403
|
+
return isOnScreen;
|
|
11404
|
+
}
|
|
11664
11405
|
const logger$n = createLogger("SearchAddress");
|
|
11665
11406
|
const SearchAddress = ({
|
|
11666
11407
|
data,
|
|
@@ -13626,8 +13367,7 @@ const adjustIdentificationData = (data, apiData) => {
|
|
|
13626
13367
|
const {
|
|
13627
13368
|
typeOfIdentity: typeOfIdentity2,
|
|
13628
13369
|
idNumber: idNumber2,
|
|
13629
|
-
idNumberExempt
|
|
13630
|
-
residencyCountry: residencyCountry2
|
|
13370
|
+
idNumberExempt
|
|
13631
13371
|
} = data;
|
|
13632
13372
|
const identificationData = {
|
|
13633
13373
|
...apiData,
|
|
@@ -16328,7 +16068,6 @@ function IdentityAuComponent({
|
|
|
16328
16068
|
}, [identityType]);
|
|
16329
16069
|
const {
|
|
16330
16070
|
handleChangeFor,
|
|
16331
|
-
triggerValidation,
|
|
16332
16071
|
data,
|
|
16333
16072
|
errors,
|
|
16334
16073
|
fieldProblems,
|
|
@@ -16636,7 +16375,6 @@ function IdentityNZComponent({
|
|
|
16636
16375
|
}, [identityType]);
|
|
16637
16376
|
const {
|
|
16638
16377
|
handleChangeFor,
|
|
16639
|
-
triggerValidation,
|
|
16640
16378
|
data,
|
|
16641
16379
|
errors,
|
|
16642
16380
|
fieldProblems,
|
|
@@ -20976,7 +20714,6 @@ function TrustRegistrationDetailsComponent(props) {
|
|
|
20976
20714
|
valid,
|
|
20977
20715
|
errors,
|
|
20978
20716
|
setData,
|
|
20979
|
-
triggerValidation,
|
|
20980
20717
|
fieldProblems
|
|
20981
20718
|
} = useForm({
|
|
20982
20719
|
...props,
|
|
@@ -23665,7 +23402,6 @@ function useCompanySearch({
|
|
|
23665
23402
|
companyCountry: companyCountry2,
|
|
23666
23403
|
companyState,
|
|
23667
23404
|
resultsLimit,
|
|
23668
|
-
indexSearch,
|
|
23669
23405
|
deepSearch
|
|
23670
23406
|
}) => {
|
|
23671
23407
|
try {
|
|
@@ -24126,7 +23862,6 @@ function CompanyLookup({
|
|
|
24126
23862
|
handleVerifyTin
|
|
24127
23863
|
}) {
|
|
24128
23864
|
var _a;
|
|
24129
|
-
useI18nContext();
|
|
24130
23865
|
const {
|
|
24131
23866
|
status,
|
|
24132
23867
|
results,
|
|
@@ -26977,7 +26712,7 @@ const BusinessTypeSelection = ({
|
|
|
26977
26712
|
"adl-link--with-icon": !isWeCannotSetUpAccountStep
|
|
26978
26713
|
}),
|
|
26979
26714
|
children: [!isWeCannotSetUpAccountStep && jsx("span", {
|
|
26980
|
-
className: cx("adl-icon-chevron-left", "
|
|
26715
|
+
className: cx("adl-icon-chevron-left", "adl-u-margin-right-4", "adl-u-color-grey-40")
|
|
26981
26716
|
}), jsx("span", {
|
|
26982
26717
|
className: cx("adl-link__text", {
|
|
26983
26718
|
"adl-u-color-grey-40": !isWeCannotSetUpAccountStep
|
|
@@ -27767,7 +27502,7 @@ const useIntroductionScreens = ({
|
|
|
27767
27502
|
const legalEntityType = useLegalEntityType({
|
|
27768
27503
|
legalEntity
|
|
27769
27504
|
});
|
|
27770
|
-
const introductionScreens = useMemo$1(() => legalEntityType ? introductionScreensByLegalEntityType[legalEntityType].filter((screen
|
|
27505
|
+
const introductionScreens = useMemo$1(() => legalEntityType ? introductionScreensByLegalEntityType[legalEntityType].filter((screen) => {
|
|
27771
27506
|
const isAccountScreen = screen === IntroductionScreens.ACCOUNT;
|
|
27772
27507
|
const hasAccountTask = tasks.includes(TaskTypes.PAYIN) || tasks.includes(TaskTypes.PAYOUT);
|
|
27773
27508
|
const isSoleProprietorScreen = screen === IntroductionScreens.SOLE_PROPRIETOR_COMPANY;
|
|
@@ -29063,7 +28798,6 @@ function IndividualDropinComponent({
|
|
|
29063
28798
|
handleBackClick: externalBackClick
|
|
29064
28799
|
}) {
|
|
29065
28800
|
var _a, _b, _c, _d;
|
|
29066
|
-
useCoreContext();
|
|
29067
28801
|
const {
|
|
29068
28802
|
i18n,
|
|
29069
28803
|
setLocale
|
|
@@ -30925,6 +30659,8 @@ const FALLBACK_LANGUAGE_CODE = "en";
|
|
|
30925
30659
|
const useServiceAgreement = ({
|
|
30926
30660
|
handleGetServiceAgreement,
|
|
30927
30661
|
handleServiceAgreementIsNotAvailableInThatLanguage,
|
|
30662
|
+
acceptanceId,
|
|
30663
|
+
handleViewAcceptedTermsOfServiceDocument,
|
|
30928
30664
|
legalEntityId,
|
|
30929
30665
|
serviceAgreementType,
|
|
30930
30666
|
language
|
|
@@ -30937,14 +30673,32 @@ const useServiceAgreement = ({
|
|
|
30937
30673
|
setAgreementLanguage(language);
|
|
30938
30674
|
}
|
|
30939
30675
|
}, [language]);
|
|
30676
|
+
useEffect(() => {
|
|
30677
|
+
const requestAcceptedServiceAgreement = async () => {
|
|
30678
|
+
if (!handleViewAcceptedTermsOfServiceDocument || !acceptanceId)
|
|
30679
|
+
return;
|
|
30680
|
+
setLoading("loading");
|
|
30681
|
+
const {
|
|
30682
|
+
id: id2,
|
|
30683
|
+
document: document2
|
|
30684
|
+
} = await handleViewAcceptedTermsOfServiceDocument(legalEntityId, acceptanceId);
|
|
30685
|
+
const contract = JSON.parse(decodeURIComponent(escape(window.atob(document2))));
|
|
30686
|
+
setServiceAgreement({
|
|
30687
|
+
id: id2,
|
|
30688
|
+
contract
|
|
30689
|
+
});
|
|
30690
|
+
};
|
|
30691
|
+
requestAcceptedServiceAgreement().catch(logger$9.error).finally(() => setLoading("success"));
|
|
30692
|
+
}, [acceptanceId, handleViewAcceptedTermsOfServiceDocument]);
|
|
30940
30693
|
useEffect(() => {
|
|
30941
30694
|
const requestServiceAgreement = async () => {
|
|
30695
|
+
if (acceptanceId)
|
|
30696
|
+
return;
|
|
30942
30697
|
setLoading("loading");
|
|
30943
30698
|
try {
|
|
30944
30699
|
const {
|
|
30945
30700
|
termsOfServiceDocumentId,
|
|
30946
|
-
document: document2
|
|
30947
|
-
type
|
|
30701
|
+
document: document2
|
|
30948
30702
|
} = await handleGetServiceAgreement(legalEntityId, {
|
|
30949
30703
|
type: serviceAgreementType,
|
|
30950
30704
|
language: agreementLanguage
|
|
@@ -30956,8 +30710,7 @@ const useServiceAgreement = ({
|
|
|
30956
30710
|
const contract = JSON.parse(decodeURIComponent(escape(window.atob(document2))));
|
|
30957
30711
|
setServiceAgreement({
|
|
30958
30712
|
id: termsOfServiceDocumentId,
|
|
30959
|
-
contract
|
|
30960
|
-
type
|
|
30713
|
+
contract
|
|
30961
30714
|
});
|
|
30962
30715
|
setLoading("success");
|
|
30963
30716
|
} catch (err) {
|
|
@@ -30989,6 +30742,7 @@ const serviceAgreementTypesTranslationMapping = {
|
|
|
30989
30742
|
function ServiceAgreementDropinComponent({
|
|
30990
30743
|
legalEntityResponse,
|
|
30991
30744
|
handleGetServiceAgreement,
|
|
30745
|
+
handleViewAcceptedTermsOfServiceDocument,
|
|
30992
30746
|
handleDownloadAcceptedTermsOfServiceDocument,
|
|
30993
30747
|
handleHomeClick,
|
|
30994
30748
|
handleSign,
|
|
@@ -31041,6 +30795,8 @@ function ServiceAgreementDropinComponent({
|
|
|
31041
30795
|
} = useServiceAgreement({
|
|
31042
30796
|
handleGetServiceAgreement,
|
|
31043
30797
|
handleServiceAgreementIsNotAvailableInThatLanguage,
|
|
30798
|
+
acceptanceId: activeForm.acceptanceId,
|
|
30799
|
+
handleViewAcceptedTermsOfServiceDocument,
|
|
31044
30800
|
legalEntityId: legalEntityResponse.id,
|
|
31045
30801
|
serviceAgreementType: activeForm.serviceAgreementType,
|
|
31046
30802
|
language: i18n.languageCode
|
|
@@ -31565,8 +31321,7 @@ function SolePropDropinComponent({
|
|
|
31565
31321
|
const COUNTRIES_THAT_USE_REGISTRATION_NUMBER = [CountryCodes.NewZealand];
|
|
31566
31322
|
const rules = ({
|
|
31567
31323
|
data,
|
|
31568
|
-
country: country2
|
|
31569
|
-
taskType
|
|
31324
|
+
country: country2
|
|
31570
31325
|
}) => ({
|
|
31571
31326
|
countryUsesTaxId: () => {
|
|
31572
31327
|
if (country2 !== CountryCodes.NewZealand && COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country2)) {
|
|
@@ -31626,8 +31381,7 @@ function TrustDropinComponent({
|
|
|
31626
31381
|
isSettingEnabled
|
|
31627
31382
|
} = useSettingsContext();
|
|
31628
31383
|
const {
|
|
31629
|
-
showToast
|
|
31630
|
-
clearToasts
|
|
31384
|
+
showToast
|
|
31631
31385
|
} = useToastContext();
|
|
31632
31386
|
const [loadingStatus, setLoadingStatus] = useState("success");
|
|
31633
31387
|
const formRef = useRef(null);
|
|
@@ -32906,6 +32660,7 @@ function DropinComposerComponent({
|
|
|
32906
32660
|
serviceAgreementTypes,
|
|
32907
32661
|
serviceAgreementAcceptanceInfos: serviceAgreementAcceptanceInfosWithNames,
|
|
32908
32662
|
handleGetServiceAgreement: args.handleGetServiceAgreement,
|
|
32663
|
+
handleViewAcceptedTermsOfServiceDocument: args.handleViewAcceptedTermsOfServiceDocument,
|
|
32909
32664
|
handleDownloadAcceptedTermsOfServiceDocument: args.handleDownloadAcceptedTermsOfServiceDocument,
|
|
32910
32665
|
handleHomeClick: navigateBack,
|
|
32911
32666
|
handleSign: async (...params) => {
|
|
@@ -33915,9 +33670,7 @@ const getEmbeddedApi = ({
|
|
|
33915
33670
|
legalEntityId: rootLegalEntityId
|
|
33916
33671
|
};
|
|
33917
33672
|
return {
|
|
33918
|
-
getConfiguration: async ({
|
|
33919
|
-
legalEntityType
|
|
33920
|
-
}) => {
|
|
33673
|
+
getConfiguration: async () => {
|
|
33921
33674
|
const [scenarios, tasks] = await Promise.all([getScenarios(baseRequestContext), getTasks(baseRequestContext)]);
|
|
33922
33675
|
return {
|
|
33923
33676
|
matchingScenario: {
|
|
@@ -34094,7 +33847,7 @@ const ConfigurationApiProvider = ({
|
|
|
34094
33847
|
isEmbeddedDropin,
|
|
34095
33848
|
loadingContext
|
|
34096
33849
|
} = authContext;
|
|
34097
|
-
const sdkVersion = "2.
|
|
33850
|
+
const sdkVersion = "2.40.0";
|
|
34098
33851
|
useAnalytics({
|
|
34099
33852
|
onUserEvent,
|
|
34100
33853
|
legalEntityId: rootLegalEntityId,
|