@adyen/kyc-components 1.2.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/LICENSE +21 -0
- package/README.md +104 -0
- package/dist/adyen-kyc-components.bundle.js +18089 -0
- package/dist/adyen-kyc-components.cjs.js +18095 -0
- package/dist/adyen-kyc-components.css +59 -0
- package/dist/adyen-kyc-components.debug.js +50954 -0
- package/dist/adyen-kyc-components.esm.js +18045 -0
- package/dist/types/components/Address/Address.d.ts +7 -0
- package/dist/types/components/Address/index.d.ts +1 -0
- package/dist/types/components/BaseElement.d.ts +64 -0
- package/dist/types/components/BaseElement.test.d.ts +1 -0
- package/dist/types/components/Company/Company.d.ts +5 -0
- package/dist/types/components/Company/component/CompanyComponent.d.ts +7 -0
- package/dist/types/components/Company/index.d.ts +1 -0
- package/dist/types/components/Company/labels.d.ts +4 -0
- package/dist/types/components/Company/rules.d.ts +2 -0
- package/dist/types/components/Company/types.d.ts +36 -0
- package/dist/types/components/CompanyDetails/CompanyDetails.d.ts +5 -0
- package/dist/types/components/CompanyDetails/component/CompanyDetailsComponent.d.ts +5 -0
- package/dist/types/components/CompanyDetails/types.d.ts +15 -0
- package/dist/types/components/CompanyDetails/validate.d.ts +3 -0
- package/dist/types/components/CompanyNameAndCountry/CompanyNameAndCountry.d.ts +5 -0
- package/dist/types/components/CompanyNameAndCountry/component/CompanyNameAndCountryComponent.d.ts +4 -0
- package/dist/types/components/CompanyNameAndCountry/types.d.ts +8 -0
- package/dist/types/components/CompanyNameAndCountry/validate.d.ts +3 -0
- package/dist/types/components/CompanyType/CompanyType.d.ts +5 -0
- package/dist/types/components/CompanyType/component/CompanyTypeComponent.d.ts +5 -0
- package/dist/types/components/CompanyType/types.d.ts +8 -0
- package/dist/types/components/CompanyType/validate.d.ts +3 -0
- package/dist/types/components/ConstitutionalDocument/ConstitutionalDocumentComponent.d.ts +14 -0
- package/dist/types/components/ConstitutionalDocument/types.d.ts +11 -0
- package/dist/types/components/ContactDetails/ContactDetails.d.ts +5 -0
- package/dist/types/components/ContactDetails/component/ContactDetailsComponent.d.ts +4 -0
- package/dist/types/components/ContactDetails/types.d.ts +8 -0
- package/dist/types/components/ContactDetails/validate.d.ts +3 -0
- package/dist/types/components/DecisionMakers/DecisionMakers.d.ts +5 -0
- package/dist/types/components/DecisionMakers/component/DecisionMakersComponent.d.ts +5 -0
- package/dist/types/components/DecisionMakers/types.d.ts +11 -0
- package/dist/types/components/DocumentUpload/DocumentUpload.d.ts +4 -0
- package/dist/types/components/DocumentUpload/types.d.ts +21 -0
- package/dist/types/components/Dropins/CompanyDropin/CompanyDropin.d.ts +6 -0
- package/dist/types/components/Dropins/CompanyDropin/components/CompanyDropinComponent.d.ts +2 -0
- package/dist/types/components/Dropins/CompanyDropin/index.d.ts +2 -0
- package/dist/types/components/Dropins/Dropin.d.ts +21 -0
- package/dist/types/components/Dropins/DropinComposer/DropinComposer.d.ts +6 -0
- package/dist/types/components/Dropins/DropinComposer/components/DropinComposerComponent.d.ts +2 -0
- package/dist/types/components/Dropins/DropinLayout/ActionBar/ActionBar.d.ts +4 -0
- package/dist/types/components/Dropins/DropinLayout/ActionBar/index.d.ts +1 -0
- package/dist/types/components/Dropins/DropinLayout/ActionBar/type.d.ts +8 -0
- package/dist/types/components/Dropins/DropinLayout/DropinLayout.d.ts +3 -0
- package/dist/types/components/Dropins/DropinLayout/types.d.ts +6 -0
- package/dist/types/components/Dropins/FormComposer/FormComposer.d.ts +30 -0
- package/dist/types/components/Dropins/FormComposer/components/FormNavigation/FormNavigation.d.ts +4 -0
- package/dist/types/components/Dropins/FormComposer/components/FormNavigation/components/FormNavigationItem/FormNavigationItem.d.ts +4 -0
- package/dist/types/components/Dropins/FormComposer/components/FormNavigation/components/FormNavigationItem/index.d.ts +1 -0
- package/dist/types/components/Dropins/FormComposer/components/FormNavigation/index.d.ts +1 -0
- package/dist/types/components/Dropins/FormComposer/components/FormNavigation/types.d.ts +27 -0
- package/dist/types/components/Dropins/FormComposer/components/StepProgressIndicator/StepProgressIndicator.d.ts +6 -0
- package/dist/types/components/Dropins/FormComposer/types.d.ts +23 -0
- package/dist/types/components/Dropins/IndividualDropin/IndividualDropin.d.ts +6 -0
- package/dist/types/components/Dropins/IndividualDropin/components/IndividualDropinComponent.d.ts +2 -0
- package/dist/types/components/Dropins/IndividualDropin/index.d.ts +2 -0
- package/dist/types/components/Dropins/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +6 -0
- package/dist/types/components/Dropins/PayoutDetailsDropin/components/PayoutDetailsDropinComponent.d.ts +2 -0
- package/dist/types/components/Dropins/PayoutDetailsDropin/index.d.ts +1 -0
- package/dist/types/components/Dropins/PciDropin/components/PciDropinComponent.d.ts +2 -0
- package/dist/types/components/Dropins/PciDropin/index.d.ts +1 -0
- package/dist/types/components/Dropins/PciDropin/types.d.ts +14 -0
- package/dist/types/components/Dropins/RoleAndTypeDropin/RoleAndTypeDropin.d.ts +6 -0
- package/dist/types/components/Dropins/RoleAndTypeDropin/components/RoleAndTypeComponent.d.ts +4 -0
- package/dist/types/components/Dropins/RoleAndTypeDropin/index.d.ts +1 -0
- package/dist/types/components/Dropins/RoleAndTypeDropin/types.d.ts +9 -0
- package/dist/types/components/Dropins/ServiceAgreementDropinComponent/components/ServiceAgreementDropinComponent.d.ts +2 -0
- package/dist/types/components/Dropins/ServiceAgreementDropinComponent/index.d.ts +1 -0
- package/dist/types/components/Dropins/ServiceAgreementDropinComponent/types.d.ts +13 -0
- package/dist/types/components/Dropins/SolePropDropin/SolePropDropin.d.ts +6 -0
- package/dist/types/components/Dropins/SolePropDropin/components/SolePropDropinComponent.d.ts +2 -0
- package/dist/types/components/Dropins/SolePropDropin/index.d.ts +2 -0
- package/dist/types/components/Dropins/TrustDropin/TrustDropin.d.ts +6 -0
- package/dist/types/components/Dropins/TrustDropin/components/TrustDropinComponent.d.ts +2 -0
- package/dist/types/components/Dropins/TrustDropin/index.d.ts +2 -0
- package/dist/types/components/Dropins/types.d.ts +51 -0
- package/dist/types/components/EventEmitter.d.ts +7 -0
- package/dist/types/components/EventEmitter.test.d.ts +1 -0
- package/dist/types/components/IdDocumentUpload/IdDocumentUpload.d.ts +5 -0
- package/dist/types/components/IdDocumentUpload/component/IdDocumentUploadComponent.d.ts +6 -0
- package/dist/types/components/IdDocumentUpload/component/components/UploadSwitcher.d.ts +2 -0
- package/dist/types/components/IdDocumentUpload/component/index.d.ts +1 -0
- package/dist/types/components/IdDocumentUpload/types.d.ts +49 -0
- package/dist/types/components/IdVerification/IdVerification.d.ts +6 -0
- package/dist/types/components/IdVerification/component/IdVerificationComponent.d.ts +4 -0
- package/dist/types/components/IdVerification/component/index.d.ts +1 -0
- package/dist/types/components/IdVerification/types.d.ts +25 -0
- package/dist/types/components/IdentityNumber/IdentityNumber.d.ts +5 -0
- package/dist/types/components/IdentityNumber/component/IdentityNumberComponent.d.ts +5 -0
- package/dist/types/components/IdentityNumber/formats.d.ts +12 -0
- package/dist/types/components/IdentityNumber/type.d.ts +10 -0
- package/dist/types/components/IdentityNumber/validate.d.ts +24 -0
- package/dist/types/components/IdentityNumber/validate.helper.d.ts +5 -0
- package/dist/types/components/Individual/Individual.d.ts +5 -0
- package/dist/types/components/Individual/component/IndividualComponent.d.ts +7 -0
- package/dist/types/components/Individual/index.d.ts +1 -0
- package/dist/types/components/Individual/rules.d.ts +3 -0
- package/dist/types/components/Individual/types.d.ts +47 -0
- package/dist/types/components/IndividualDocumentUpload/component/IndividualDocumentUploadComponent.d.ts +0 -0
- package/dist/types/components/LegalEntityTypeSwitcher/LegalEntityTypeSwitcher.d.ts +2 -0
- package/dist/types/components/LegalEntityTypeSwitcher/type.d.ts +6 -0
- package/dist/types/components/PayoutAccount/PayoutAccount.d.ts +5 -0
- package/dist/types/components/PayoutAccount/component/PayoutAccountComponent.d.ts +6 -0
- package/dist/types/components/PayoutAccount/types.d.ts +28 -0
- package/dist/types/components/PayoutBankStatement/PayoutBankStatement.d.ts +5 -0
- package/dist/types/components/PayoutBankStatement/component/PayoutBankStatementComponent.d.ts +6 -0
- package/dist/types/components/PayoutBankStatement/types.d.ts +20 -0
- package/dist/types/components/PayoutDetails/PayoutDetails.d.ts +5 -0
- package/dist/types/components/PayoutDetails/component/PayoutDetailsComponent.d.ts +6 -0
- package/dist/types/components/PayoutDetails/types.d.ts +27 -0
- package/dist/types/components/PersonalDetails/PersonalDetails.d.ts +5 -0
- package/dist/types/components/PersonalDetails/component/PersonalDetailsComponent.d.ts +4 -0
- package/dist/types/components/PersonalDetails/index.d.ts +1 -0
- package/dist/types/components/PersonalDetails/types.d.ts +19 -0
- package/dist/types/components/PersonalDetails/validate.d.ts +3 -0
- package/dist/types/components/ProofOfResidency/ProofOfResidencyComponent.d.ts +4 -0
- package/dist/types/components/ProofOfResidency/types.d.ts +14 -0
- package/dist/types/components/RegistrationAddress/RegistrationAddress.d.ts +5 -0
- package/dist/types/components/RegistrationAddress/component/RegistrationAddressComponent.d.ts +6 -0
- package/dist/types/components/RegistrationAddress/types.d.ts +24 -0
- package/dist/types/components/RegistrationAddress/validate.d.ts +3 -0
- package/dist/types/components/SoleProp/SoleProp.d.ts +5 -0
- package/dist/types/components/SoleProp/component/SolePropComponent.d.ts +6 -0
- package/dist/types/components/SoleProp/types.d.ts +28 -0
- package/dist/types/components/TaskList/TaskList.d.ts +5 -0
- package/dist/types/components/TaskList/component/TaskItemStatus.d.ts +3 -0
- package/dist/types/components/TaskList/component/TaskListComponent.d.ts +4 -0
- package/dist/types/components/TaskList/component/TaskListGroup.d.ts +5 -0
- package/dist/types/components/TaskList/component/TaskListItem.d.ts +4 -0
- package/dist/types/components/TaskList/types.d.ts +59 -0
- package/dist/types/components/Trust/Trust.d.ts +5 -0
- package/dist/types/components/Trust/component/TrustComponent.d.ts +6 -0
- package/dist/types/components/Trust/types.d.ts +22 -0
- package/dist/types/components/TrustDocumentUpload/TrustDocumentUpload.d.ts +5 -0
- package/dist/types/components/TrustDocumentUpload/component/TrustDocumentUploadComponent.d.ts +6 -0
- package/dist/types/components/TrustDocumentUpload/types.d.ts +5 -0
- package/dist/types/components/TrustMembers/TrustMembers.d.ts +5 -0
- package/dist/types/components/TrustMembers/component/TrustMembersComponent.d.ts +5 -0
- package/dist/types/components/TrustMembers/types.d.ts +18 -0
- package/dist/types/components/TrustRegistrationDetails/TrustRegistrationDetails.d.ts +5 -0
- package/dist/types/components/TrustRegistrationDetails/component/TrustRegistrationDetailsComponent.d.ts +4 -0
- package/dist/types/components/TrustRegistrationDetails/types.d.ts +15 -0
- package/dist/types/components/TrustRegistrationDetails/validate.d.ts +3 -0
- package/dist/types/components/TrustRoleAndEntityType/TrustRoleAndEntityType.d.ts +5 -0
- package/dist/types/components/TrustRoleAndEntityType/component/TrustRoleAndEntityTypeComponent.d.ts +3 -0
- package/dist/types/components/TrustRoleAndEntityType/types.d.ts +18 -0
- package/dist/types/components/TrustRoleAndEntityType/validate.d.ts +3 -0
- package/dist/types/components/UIElement.d.ts +34 -0
- package/dist/types/components/index.d.ts +27 -0
- package/dist/types/components/internal/Accordion/Accordion.d.ts +3 -0
- package/dist/types/components/internal/Accordion/AccordionContext.d.ts +2 -0
- package/dist/types/components/internal/Accordion/index.d.ts +1 -0
- package/dist/types/components/internal/Accordion/types.d.ts +22 -0
- package/dist/types/components/internal/AccordionItem/AccordionItem.d.ts +3 -0
- package/dist/types/components/internal/AccordionItem/index.d.ts +1 -0
- package/dist/types/components/internal/AccordionItem/types.d.ts +13 -0
- package/dist/types/components/internal/AccordionItem/useAccordionContext.d.ts +3 -0
- package/dist/types/components/internal/AccountHolder/AccountHolder.d.ts +3 -0
- package/dist/types/components/internal/AccountHolder/index.d.ts +1 -0
- package/dist/types/components/internal/AccountHolder/types.d.ts +17 -0
- package/dist/types/components/internal/AccountHolder/validate.d.ts +3 -0
- package/dist/types/components/internal/Address/Address.d.ts +13 -0
- package/dist/types/components/internal/Address/Address.test.d.ts +1 -0
- package/dist/types/components/internal/Address/components/CountryField.d.ts +3 -0
- package/dist/types/components/internal/Address/components/CountryField.test.d.ts +1 -0
- package/dist/types/components/internal/Address/components/FieldContainer.d.ts +9 -0
- package/dist/types/components/internal/Address/components/FieldContainer.test.d.ts +1 -0
- package/dist/types/components/internal/Address/components/ReadOnlyAddress.d.ts +3 -0
- package/dist/types/components/internal/Address/components/SearchAddress.d.ts +3 -0
- package/dist/types/components/internal/Address/components/StateField.d.ts +2 -0
- package/dist/types/components/internal/Address/components/StateField.test.d.ts +1 -0
- package/dist/types/components/internal/Address/constants.d.ts +6 -0
- package/dist/types/components/internal/Address/index.d.ts +1 -0
- package/dist/types/components/internal/Address/types.d.ts +82 -0
- package/dist/types/components/internal/Address/utils.d.ts +19 -0
- package/dist/types/components/internal/Address/validate.d.ts +3 -0
- package/dist/types/components/internal/Address/validate.formats.d.ts +4 -0
- package/dist/types/components/internal/Alert/Alert.d.ts +6 -0
- package/dist/types/components/internal/Alert/Alert.test.d.ts +1 -0
- package/dist/types/components/internal/Alert/components/ReviewAlert.d.ts +2 -0
- package/dist/types/components/internal/Alert/components/VerficationErrorAlert.d.ts +3 -0
- package/dist/types/components/internal/Alert/index.d.ts +1 -0
- package/dist/types/components/internal/Alert/types.d.ts +22 -0
- package/dist/types/components/internal/BankAccountNumber/BankAccountNumber.d.ts +3 -0
- package/dist/types/components/internal/BankAccountNumber/index.d.ts +1 -0
- package/dist/types/components/internal/BankAccountNumber/types.d.ts +5 -0
- package/dist/types/components/internal/BankCity/BankCity.d.ts +3 -0
- package/dist/types/components/internal/BankCity/index.d.ts +1 -0
- package/dist/types/components/internal/BankCity/types.d.ts +5 -0
- package/dist/types/components/internal/BankCode/BankCode.d.ts +3 -0
- package/dist/types/components/internal/BankCode/index.d.ts +1 -0
- package/dist/types/components/internal/BankCode/types.d.ts +5 -0
- package/dist/types/components/internal/BankName/BankName.d.ts +3 -0
- package/dist/types/components/internal/BankName/index.d.ts +1 -0
- package/dist/types/components/internal/BankName/types.d.ts +5 -0
- package/dist/types/components/internal/BranchCode/BranchCode.d.ts +3 -0
- package/dist/types/components/internal/BranchCode/index.d.ts +1 -0
- package/dist/types/components/internal/BranchCode/types.d.ts +5 -0
- package/dist/types/components/internal/BusinessRegistrationNumber/BusinessRegistrationNumber.d.ts +3 -0
- package/dist/types/components/internal/BusinessRegistrationNumber/index.d.ts +1 -0
- package/dist/types/components/internal/BusinessRegistrationNumber/registrationNoValidator.d.ts +368 -0
- package/dist/types/components/internal/BusinessRegistrationNumber/registrationNoValidator.test.d.ts +1 -0
- package/dist/types/components/internal/BusinessRegistrationNumber/types.d.ts +10 -0
- package/dist/types/components/internal/BusinessRegistrationNumber/validate.d.ts +14 -0
- package/dist/types/components/internal/Button/Button.d.ts +17 -0
- package/dist/types/components/internal/Button/Button.test.d.ts +1 -0
- package/dist/types/components/internal/Button/index.d.ts +1 -0
- package/dist/types/components/internal/Button/types.d.ts +25 -0
- package/dist/types/components/internal/Card/Card.d.ts +3 -0
- package/dist/types/components/internal/Card/CardGroup.d.ts +3 -0
- package/dist/types/components/internal/Card/types.d.ts +16 -0
- package/dist/types/components/internal/CardLayout/CardLayout.d.ts +3 -0
- package/dist/types/components/internal/CollapsibleContainer/CollapsibleContainer.d.ts +3 -0
- package/dist/types/components/internal/CollapsibleContainer/index.d.ts +1 -0
- package/dist/types/components/internal/CollapsibleContainer/types.d.ts +6 -0
- package/dist/types/components/internal/ContextGuidance/ContextGuidance.d.ts +2 -0
- package/dist/types/components/internal/ContextGuidance/index.d.ts +1 -0
- package/dist/types/components/internal/ContextGuidance/types.d.ts +10 -0
- package/dist/types/components/internal/ContractViewer/ContractViewer.d.ts +3 -0
- package/dist/types/components/internal/ContractViewer/components/Chapter/Chapter.d.ts +2 -0
- package/dist/types/components/internal/ContractViewer/components/ContentElements/ContentElements.d.ts +2 -0
- package/dist/types/components/internal/ContractViewer/components/InternalReference/InternalReference.d.ts +2 -0
- package/dist/types/components/internal/ContractViewer/components/List/List.d.ts +2 -0
- package/dist/types/components/internal/ContractViewer/components/Paragraph/Paragraph.d.ts +3 -0
- package/dist/types/components/internal/ContractViewer/components/Section/Section.d.ts +3 -0
- package/dist/types/components/internal/ContractViewer/components/Table/Table.d.ts +3 -0
- package/dist/types/components/internal/ContractViewer/components/Text/Text.d.ts +3 -0
- package/dist/types/components/internal/ContractViewer/components/Weblink/Weblink.d.ts +3 -0
- package/dist/types/components/internal/ContractViewer/index.d.ts +1 -0
- package/dist/types/components/internal/ContractViewer/types.d.ts +82 -0
- package/dist/types/components/internal/Currency/Currency.d.ts +5 -0
- package/dist/types/components/internal/Currency/Currency.test.d.ts +1 -0
- package/dist/types/components/internal/Currency/index.d.ts +1 -0
- package/dist/types/components/internal/Currency/types.d.ts +11 -0
- package/dist/types/components/internal/DocumentGuidance/DocumentGuidance.d.ts +4 -0
- package/dist/types/components/internal/DocumentGuidance/type.d.ts +5 -0
- package/dist/types/components/internal/EntityAssociation/EntityAssociation.d.ts +3 -0
- package/dist/types/components/internal/EntityAssociation/EntityAssociations.test.d.ts +1 -0
- package/dist/types/components/internal/EntityAssociation/types.d.ts +19 -0
- package/dist/types/components/internal/ErrorPanel/ErrorPanel.d.ts +13 -0
- package/dist/types/components/internal/ErrorPanel/ErrorPanel.test.d.ts +1 -0
- package/dist/types/components/internal/ErrorPanel/components/NavigateToFieldLink.d.ts +5 -0
- package/dist/types/components/internal/ErrorPanel/components/ServerValidationErrors.d.ts +3 -0
- package/dist/types/components/internal/ErrorPanel/components/VerificationErrors.d.ts +3 -0
- package/dist/types/components/internal/ErrorPanel/constants.d.ts +1 -0
- package/dist/types/components/internal/ErrorPanel/types.d.ts +33 -0
- package/dist/types/components/internal/FormFields/Checkbox/Checkbox.d.ts +21 -0
- package/dist/types/components/internal/FormFields/Checkbox/Checkbox.test.d.ts +1 -0
- package/dist/types/components/internal/FormFields/Checkbox/index.d.ts +1 -0
- package/dist/types/components/internal/FormFields/ConsentCheckbox/ConsentCheckbox.d.ts +6 -0
- package/dist/types/components/internal/FormFields/Dropzone/Dropzone.d.ts +17 -0
- package/dist/types/components/internal/FormFields/Dropzone/Dropzone.test.d.ts +1 -0
- package/dist/types/components/internal/FormFields/Dropzone/components/DropzoneFile.d.ts +3 -0
- package/dist/types/components/internal/FormFields/Dropzone/types.d.ts +27 -0
- package/dist/types/components/internal/FormFields/Dropzone/validate.d.ts +3 -0
- package/dist/types/components/internal/FormFields/Field/Field.d.ts +40 -0
- package/dist/types/components/internal/FormFields/Field/index.d.ts +1 -0
- package/dist/types/components/internal/FormFields/Field/types.d.ts +28 -0
- package/dist/types/components/internal/FormFields/Fieldset/Fieldset.d.ts +10 -0
- package/dist/types/components/internal/FormFields/Fieldset/Fieldset.test.d.ts +1 -0
- package/dist/types/components/internal/FormFields/Fieldset/index.d.ts +1 -0
- package/dist/types/components/internal/FormFields/InputBase.d.ts +25 -0
- package/dist/types/components/internal/FormFields/InputDate/InputDate.d.ts +5 -0
- package/dist/types/components/internal/FormFields/InputDate/index.d.ts +1 -0
- package/dist/types/components/internal/FormFields/InputDate/utils.d.ts +22 -0
- package/dist/types/components/internal/FormFields/InputDate/utils.test.d.ts +1 -0
- package/dist/types/components/internal/FormFields/InputEmail.d.ts +1 -0
- package/dist/types/components/internal/FormFields/InputFile.d.ts +1 -0
- package/dist/types/components/internal/FormFields/InputRadio/InputRadio.d.ts +3 -0
- package/dist/types/components/internal/FormFields/InputTelephone.d.ts +1 -0
- package/dist/types/components/internal/FormFields/InputText.d.ts +8 -0
- package/dist/types/components/internal/FormFields/RadioGroup/RadioGroup.d.ts +10 -0
- package/dist/types/components/internal/FormFields/RadioGroup/index.d.ts +1 -0
- package/dist/types/components/internal/FormFields/RadioGroup/types.d.ts +17 -0
- package/dist/types/components/internal/FormFields/RadioGroupCard/RadioGroupCard.d.ts +10 -0
- package/dist/types/components/internal/FormFields/RadioGroupCard/RadioGroupCard.test.d.ts +1 -0
- package/dist/types/components/internal/FormFields/RadioGroupCard/index.d.ts +1 -0
- package/dist/types/components/internal/FormFields/RadioGroupCard/types.d.ts +18 -0
- package/dist/types/components/internal/FormFields/Select/Select.d.ts +4 -0
- package/dist/types/components/internal/FormFields/Select/Select.test.d.ts +1 -0
- package/dist/types/components/internal/FormFields/Select/components/SelectButton.d.ts +3 -0
- package/dist/types/components/internal/FormFields/Select/components/SelectList.d.ts +3 -0
- package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +3 -0
- package/dist/types/components/internal/FormFields/Select/index.d.ts +1 -0
- package/dist/types/components/internal/FormFields/Select/types.d.ts +113 -0
- package/dist/types/components/internal/FormFields/TextArea.d.ts +1 -0
- package/dist/types/components/internal/FormFields/index.d.ts +3 -0
- package/dist/types/components/internal/FormFields/utils.d.ts +2 -0
- package/dist/types/components/internal/FormFields/utils.test.d.ts +1 -0
- package/dist/types/components/internal/FormHeader/FormHeader.d.ts +3 -0
- package/dist/types/components/internal/FormHeader/type.d.ts +8 -0
- package/dist/types/components/internal/Heading/Heading.d.ts +8 -0
- package/dist/types/components/internal/Iban/Iban.d.ts +3 -0
- package/dist/types/components/internal/Iban/ibanValidator.d.ts +1 -0
- package/dist/types/components/internal/Iban/ibanValidator.test.d.ts +1 -0
- package/dist/types/components/internal/Iban/index.d.ts +1 -0
- package/dist/types/components/internal/Iban/types.d.ts +7 -0
- package/dist/types/components/internal/Icon/Icon.d.ts +7 -0
- package/dist/types/components/internal/Icon/Icon.test.d.ts +1 -0
- package/dist/types/components/internal/Icon/index.d.ts +1 -0
- package/dist/types/components/internal/LegalCompanyName/LegalCompanyName.d.ts +3 -0
- package/dist/types/components/internal/LegalCompanyName/index.d.ts +1 -0
- package/dist/types/components/internal/LegalCompanyName/types.d.ts +5 -0
- package/dist/types/components/internal/LegalCompanyName/validate.d.ts +3 -0
- package/dist/types/components/internal/Link/Link.d.ts +6 -0
- package/dist/types/components/internal/Link/Link.test.d.ts +1 -0
- package/dist/types/components/internal/Link/index.d.ts +1 -0
- package/dist/types/components/internal/Link/types.d.ts +12 -0
- package/dist/types/components/internal/List/List.d.ts +4 -0
- package/dist/types/components/internal/List/List.test.d.ts +1 -0
- package/dist/types/components/internal/List/ListItem.d.ts +3 -0
- package/dist/types/components/internal/List/types.d.ts +13 -0
- package/dist/types/components/internal/Loader/Loader.d.ts +22 -0
- package/dist/types/components/internal/Loader/index.d.ts +2 -0
- package/dist/types/components/internal/LoaderWrapper/LoaderWrapper.d.ts +12 -0
- package/dist/types/components/internal/LoaderWrapper/constants.d.ts +6 -0
- package/dist/types/components/internal/LoaderWrapper/index.d.ts +1 -0
- package/dist/types/components/internal/Modal/Modal.d.ts +4 -0
- package/dist/types/components/internal/Modal/Modal.test.d.ts +1 -0
- package/dist/types/components/internal/Modal/type.d.ts +15 -0
- package/dist/types/components/internal/Name/Name.d.ts +4 -0
- package/dist/types/components/internal/Name/index.d.ts +1 -0
- package/dist/types/components/internal/Name/types.d.ts +6 -0
- package/dist/types/components/internal/Name/validate.d.ts +4 -0
- package/dist/types/components/internal/PartOfTrust/PartOfTrust.d.ts +3 -0
- package/dist/types/components/internal/PartOfTrust/index.d.ts +1 -0
- package/dist/types/components/internal/PartOfTrust/types.d.ts +20 -0
- package/dist/types/components/internal/PhoneInput/PhoneInput.d.ts +10 -0
- package/dist/types/components/internal/PhoneInput/index.d.ts +1 -0
- package/dist/types/components/internal/PhoneInput/types.d.ts +12 -0
- package/dist/types/components/internal/PhoneInput/validate.d.ts +4 -0
- package/dist/types/components/internal/Role/Role.d.ts +3 -0
- package/dist/types/components/internal/Role/index.d.ts +1 -0
- package/dist/types/components/internal/Role/types.d.ts +11 -0
- package/dist/types/components/internal/Role/validate.d.ts +3 -0
- package/dist/types/components/internal/Shimmer/Shimmer.d.ts +2 -0
- package/dist/types/components/internal/Spinner/Spinner.d.ts +17 -0
- package/dist/types/components/internal/Spinner/index.d.ts +1 -0
- package/dist/types/components/internal/Status/Status.d.ts +4 -0
- package/dist/types/components/internal/Status/types.d.ts +6 -0
- package/dist/types/components/internal/Summary/Summary.d.ts +8 -0
- package/dist/types/components/internal/Summary/types.d.ts +17 -0
- package/dist/types/components/internal/SwiftCode/SwiftCode.d.ts +3 -0
- package/dist/types/components/internal/SwiftCode/index.d.ts +1 -0
- package/dist/types/components/internal/SwiftCode/types.d.ts +5 -0
- package/dist/types/components/internal/Tag/Tag.d.ts +9 -0
- package/dist/types/components/internal/Tag/index.d.ts +1 -0
- package/dist/types/components/internal/TaxId/TaxId.d.ts +3 -0
- package/dist/types/components/internal/TaxId/index.d.ts +1 -0
- package/dist/types/components/internal/TaxId/rules.d.ts +54 -0
- package/dist/types/components/internal/TaxId/taxIdValidation.d.ts +4 -0
- package/dist/types/components/internal/TaxId/taxIdValidation.test.d.ts +1 -0
- package/dist/types/components/internal/TaxId/types.d.ts +34 -0
- package/dist/types/components/internal/TaxId/validate.d.ts +4 -0
- package/dist/types/components/internal/Toast/Toast.d.ts +9 -0
- package/dist/types/components/internal/Toast/index.d.ts +1 -0
- package/dist/types/components/internal/Toast/types.d.ts +14 -0
- package/dist/types/components/internal/VatNumber/VatNumber.d.ts +8 -0
- package/dist/types/components/internal/VatNumber/index.d.ts +1 -0
- package/dist/types/components/internal/VatNumber/rules.d.ts +181 -0
- package/dist/types/components/internal/VatNumber/types.d.ts +25 -0
- package/dist/types/components/internal/VatNumber/validate.d.ts +4 -0
- package/dist/types/components/internal/VatNumber/vatNumberValidation.d.ts +4 -0
- package/dist/types/components/internal/VatNumber/vatNumberValidation.test.d.ts +1 -0
- package/dist/types/core/Context/CoreContext.d.ts +19 -0
- package/dist/types/core/Context/CoreProvider.d.ts +46 -0
- package/dist/types/core/Context/FormRouterContext/FormRouterContext.d.ts +1 -0
- package/dist/types/core/Context/FormRouterContext/FormRouterContextProvider.d.ts +3 -0
- package/dist/types/core/Context/FormRouterContext/types.d.ts +7 -0
- package/dist/types/core/Context/FormRouterContext/useFormRouterContext.d.ts +2 -0
- package/dist/types/core/Context/StateContext/StateContext.d.ts +1 -0
- package/dist/types/core/Context/StateContext/StateContextSetter.d.ts +2 -0
- package/dist/types/core/Context/StateContext/StateContextWatcher.d.ts +2 -0
- package/dist/types/core/Context/StateContext/StateProvider.d.ts +5 -0
- package/dist/types/core/Context/StateContext/StateReducer.d.ts +11 -0
- package/dist/types/core/Context/StateContext/types.d.ts +34 -0
- package/dist/types/core/Context/StateContext/useStateContext.d.ts +2 -0
- package/dist/types/core/Context/ToastContext/ToastContext.d.ts +1 -0
- package/dist/types/core/Context/ToastContext/ToastContextProvider.d.ts +4 -0
- package/dist/types/core/Context/ToastContext/useToastContext.d.ts +2 -0
- package/dist/types/core/Context/useCoreContext.d.ts +18 -0
- package/dist/types/core/Environment/Environment.d.ts +2 -0
- package/dist/types/core/Environment/Environment.test.d.ts +1 -0
- package/dist/types/core/Environment/index.d.ts +1 -0
- package/dist/types/core/SDKValidation/index.d.ts +4 -0
- package/dist/types/core/SDKValidation/schemas.d.ts +2 -0
- package/dist/types/core/SDKValidation/types.d.ts +14 -0
- package/dist/types/core/Services/fetch.d.ts +2 -0
- package/dist/types/core/Services/get-configuration-data.d.ts +20 -0
- package/dist/types/core/Services/get-dataset.d.ts +2 -0
- package/dist/types/core/Services/get-fonts.d.ts +16 -0
- package/dist/types/core/Services/get-images.d.ts +3 -0
- package/dist/types/core/Services/http.d.ts +16 -0
- package/dist/types/core/Services/verify-id-number.d.ts +2 -0
- package/dist/types/core/config.d.ts +11 -0
- package/dist/types/core/constants.d.ts +10 -0
- package/dist/types/core/core.d.ts +30 -0
- package/dist/types/core/core.test.d.ts +1 -0
- package/dist/types/core/errorMapping.d.ts +127 -0
- package/dist/types/core/models/api/address.d.ts +18 -0
- package/dist/types/core/models/api/attachment.d.ts +5 -0
- package/dist/types/core/models/api/capability.d.ts +9 -0
- package/dist/types/core/models/api/company-types-value.d.ts +10 -0
- package/dist/types/core/models/api/configuration.d.ts +15 -0
- package/dist/types/core/models/api/contracts.d.ts +76 -0
- package/dist/types/core/models/api/data-set.d.ts +5 -0
- package/dist/types/core/models/api/decision-maker-type.d.ts +5 -0
- package/dist/types/core/models/api/document.d.ts +25 -0
- package/dist/types/core/models/api/entity-type.d.ts +5 -0
- package/dist/types/core/models/api/id-verification-data.d.ts +5 -0
- package/dist/types/core/models/api/individual.d.ts +22 -0
- package/dist/types/core/models/api/instant-id-verification.d.ts +27 -0
- package/dist/types/core/models/api/legal-entity-association.d.ts +12 -0
- package/dist/types/core/models/api/legal-entity-type.d.ts +6 -0
- package/dist/types/core/models/api/legal-entity.d.ts +25 -0
- package/dist/types/core/models/api/organization.d.ts +36 -0
- package/dist/types/core/models/api/phone.d.ts +5 -0
- package/dist/types/core/models/api/problem.d.ts +13 -0
- package/dist/types/core/models/api/soleProprietor.d.ts +13 -0
- package/dist/types/core/models/api/transfer-instrument.d.ts +25 -0
- package/dist/types/core/models/api/trust-member-type.d.ts +7 -0
- package/dist/types/core/models/api/trust-types-value.d.ts +17 -0
- package/dist/types/core/models/api/trust.d.ts +14 -0
- package/dist/types/core/models/api/verification-error.d.ts +12 -0
- package/dist/types/core/models/api/verification-status.d.ts +6 -0
- package/dist/types/core/models/company.d.ts +17 -0
- package/dist/types/core/models/country-config.d.ts +9 -0
- package/dist/types/core/models/currency.d.ts +19 -0
- package/dist/types/core/models/decision-maker.d.ts +68 -0
- package/dist/types/core/models/errors/capability-problems.d.ts +7 -0
- package/dist/types/core/models/errors/entity-problems.d.ts +19 -0
- package/dist/types/core/models/errors/error-message.d.ts +5 -0
- package/dist/types/core/models/errors/field-errors.d.ts +4 -0
- package/dist/types/core/models/errors/form-verification-errors.d.ts +6 -0
- package/dist/types/core/models/errors/remediation-action-context.d.ts +4 -0
- package/dist/types/core/models/errors/remediation.d.ts +5 -0
- package/dist/types/core/models/errors/validation-error.d.ts +14 -0
- package/dist/types/core/models/field-configurations.d.ts +8 -0
- package/dist/types/core/models/form-labels.d.ts +5 -0
- package/dist/types/core/models/form-rules.d.ts +6 -0
- package/dist/types/core/models/form.d.ts +17 -0
- package/dist/types/core/models/id-verification-status.d.ts +7 -0
- package/dist/types/core/models/identity.d.ts +33 -0
- package/dist/types/core/models/payout-account.d.ts +16 -0
- package/dist/types/core/models/scenario-fields.d.ts +9 -0
- package/dist/types/core/models/sole-prop.d.ts +10 -0
- package/dist/types/core/models/trust.d.ts +7 -0
- package/dist/types/core/process-field-configurations.d.ts +76 -0
- package/dist/types/core/types.d.ts +18 -0
- package/dist/types/core/user-events.d.ts +65 -0
- package/dist/types/core/user-events.test.d.ts +1 -0
- package/dist/types/core/utils.d.ts +36 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/language/Language.d.ts +46 -0
- package/dist/types/language/Language.test.d.ts +1 -0
- package/dist/types/language/config.d.ts +774 -0
- package/dist/types/language/index.d.ts +1 -0
- package/dist/types/language/types.d.ts +6 -0
- package/dist/types/language/utils.d.ts +53 -0
- package/dist/types/language/utils.test.d.ts +1 -0
- package/dist/types/types/index.d.ts +9 -0
- package/dist/types/utils/Validator/Validator.d.ts +35 -0
- package/dist/types/utils/Validator/Validator.test.d.ts +1 -0
- package/dist/types/utils/Validator/types.d.ts +44 -0
- package/dist/types/utils/accountHolderUtils.d.ts +19 -0
- package/dist/types/utils/api/documentUtils.d.ts +20 -0
- package/dist/types/utils/api/processCapabilitites.d.ts +56 -0
- package/dist/types/utils/api/processValidationErrors.d.ts +9 -0
- package/dist/types/utils/bytesToSize.d.ts +1 -0
- package/dist/types/utils/company-util.d.ts +6 -0
- package/dist/types/utils/datasetUtil.d.ts +15 -0
- package/dist/types/utils/debounce.d.ts +1 -0
- package/dist/types/utils/decision-maker-roles.d.ts +49 -0
- package/dist/types/utils/decision-maker-roles.test.d.ts +4 -0
- package/dist/types/utils/entity-association-util.d.ts +91 -0
- package/dist/types/utils/entity-association-util.test.d.ts +4 -0
- package/dist/types/utils/file.d.ts +9 -0
- package/dist/types/utils/formUtils.d.ts +15 -0
- package/dist/types/utils/genUtils.d.ts +61 -0
- package/dist/types/utils/genUtils.test.d.ts +1 -0
- package/dist/types/utils/get-image.d.ts +11 -0
- package/dist/types/utils/get-image.test.d.ts +1 -0
- package/dist/types/utils/get-name.d.ts +1 -0
- package/dist/types/utils/get-props.d.ts +4 -0
- package/dist/types/utils/get-task-status.d.ts +9 -0
- package/dist/types/utils/get-task-status.test.d.ts +1 -0
- package/dist/types/utils/idGenerator.d.ts +1 -0
- package/dist/types/utils/mapping/componentApiMapping.d.ts +123 -0
- package/dist/types/utils/mapping/documentGuidanceMap.d.ts +6 -0
- package/dist/types/utils/mapping/mapping.d.ts +112 -0
- package/dist/types/utils/payout-account.d.ts +2 -0
- package/dist/types/utils/remove-object-empty-values.d.ts +1 -0
- package/dist/types/utils/scroll.d.ts +1 -0
- package/dist/types/utils/trust-util.d.ts +75 -0
- package/dist/types/utils/trust-util.test.d.ts +4 -0
- package/dist/types/utils/useForm/index.d.ts +1 -0
- package/dist/types/utils/useForm/reducer.d.ts +16 -0
- package/dist/types/utils/useForm/types.d.ts +91 -0
- package/dist/types/utils/useForm/useForm.d.ts +11 -0
- package/dist/types/utils/useForm/useForm.test.d.ts +1 -0
- package/dist/types/utils/uuid.d.ts +1 -0
- package/dist/types/utils/uuid.test.d.ts +1 -0
- package/dist/types/utils/validatorUtils.d.ts +27 -0
- package/dist/types/utils/verification/helpers/verifyIDNumber.d.ts +17 -0
- package/dist/types/utils/verification/verificationUtils.d.ts +7 -0
- package/package.json +93 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InputBaseProps } from './InputBase';
|
|
2
|
+
interface InputTextProps extends InputBaseProps {
|
|
3
|
+
transformInput?: (input: string) => string;
|
|
4
|
+
}
|
|
5
|
+
declare const InputText: import("preact").FunctionalComponent<Omit<InputTextProps, "ref"> & {
|
|
6
|
+
ref?: import("preact").Ref<HTMLInputElement>;
|
|
7
|
+
}>;
|
|
8
|
+
export default InputText;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import './RadioGroup.scss';
|
|
2
|
+
import { RadioGroupProps } from './types';
|
|
3
|
+
declare function RadioGroup(props: RadioGroupProps): import("preact").JSX.Element;
|
|
4
|
+
declare namespace RadioGroup {
|
|
5
|
+
var defaultProps: {
|
|
6
|
+
onChange: () => void;
|
|
7
|
+
items: any[];
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export default RadioGroup;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './RadioGroup';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import Language from '../../../../language/Language';
|
|
2
|
+
interface RadioGroupItem {
|
|
3
|
+
name: string;
|
|
4
|
+
id: string;
|
|
5
|
+
}
|
|
6
|
+
export interface RadioGroupProps {
|
|
7
|
+
className?: string;
|
|
8
|
+
isInvalid?: boolean;
|
|
9
|
+
items: RadioGroupItem[];
|
|
10
|
+
i18n: Language;
|
|
11
|
+
name?: string;
|
|
12
|
+
onChange: (e: any) => void;
|
|
13
|
+
value?: string;
|
|
14
|
+
uniqueId?: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import './RadioGroupCard.scss';
|
|
2
|
+
import { RadioGroupCardProps } from './types';
|
|
3
|
+
declare function RadioGroupCard(props: RadioGroupCardProps): import("preact").JSX.Element;
|
|
4
|
+
declare namespace RadioGroupCard {
|
|
5
|
+
var defaultProps: {
|
|
6
|
+
onChange: () => void;
|
|
7
|
+
items: any[];
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export default RadioGroupCard;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './RadioGroupCard';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Language from '../../../../language/Language';
|
|
2
|
+
interface RadioGroupCardItem {
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
info?: string;
|
|
6
|
+
id: string;
|
|
7
|
+
}
|
|
8
|
+
export interface RadioGroupCardProps {
|
|
9
|
+
className?: string;
|
|
10
|
+
isInvalid?: boolean;
|
|
11
|
+
items: RadioGroupCardItem[];
|
|
12
|
+
i18n: Language;
|
|
13
|
+
name?: string;
|
|
14
|
+
onChange: (e: any) => void;
|
|
15
|
+
value?: string;
|
|
16
|
+
uniqueId?: string;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SelectProps } from './types';
|
|
2
|
+
import './Select.scss';
|
|
3
|
+
declare const Select: ({ items, className, classNameModifiers, filterable, readonly, onChange, selected, name, isInvalid, isValid, placeholder, showInlineErrors, isMulti, uniqueId, showSelectedItemsAsTags, isSearch, onSearch, resetSearch, loading, getSearchItem, searchText, showSearchList }: SelectProps) => import("preact").JSX.Element;
|
|
4
|
+
export default Select;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { SelectButtonProps } from '../types';
|
|
2
|
+
declare function SelectButton({ active, readonly, showList, isInvalid, isValid, toggleList, onButtonKeyDown, filterable, placeholder, toggleButtonRef, ariaDescribedBy, selectListId, filterInputRef, onInput, isMulti, id, isSearch, loading, textFilter }: SelectButtonProps): import("preact").JSX.Element;
|
|
3
|
+
export default SelectButton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Select';
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { ComponentChild, JSX } from 'preact';
|
|
2
|
+
export interface SelectItem {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
icon?: string;
|
|
5
|
+
sprite?: string;
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
selectedOptionName?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
text?: string;
|
|
12
|
+
type?: string;
|
|
13
|
+
addressAmount?: string;
|
|
14
|
+
highlight?: string;
|
|
15
|
+
}
|
|
16
|
+
interface SelectedItem {
|
|
17
|
+
type?: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
highlight?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface SelectProps {
|
|
22
|
+
className?: string;
|
|
23
|
+
classNameModifiers?: string[];
|
|
24
|
+
filterable?: boolean;
|
|
25
|
+
isInvalid: boolean;
|
|
26
|
+
items: SelectItem[];
|
|
27
|
+
name?: string;
|
|
28
|
+
onChange?: (e: any) => void;
|
|
29
|
+
placeholder: string;
|
|
30
|
+
readonly?: boolean;
|
|
31
|
+
selected: string | string[];
|
|
32
|
+
showInlineErrors?: boolean;
|
|
33
|
+
isValid?: boolean;
|
|
34
|
+
isMulti?: boolean;
|
|
35
|
+
uniqueId?: string;
|
|
36
|
+
showSelectedItemsAsTags?: boolean;
|
|
37
|
+
isSearch?: boolean;
|
|
38
|
+
onSearch?: Function;
|
|
39
|
+
resetSearch?: boolean;
|
|
40
|
+
loading?: boolean;
|
|
41
|
+
getSearchItem?: (item: SelectedItem) => ComponentChild;
|
|
42
|
+
searchText?: string;
|
|
43
|
+
showSearchList?: boolean;
|
|
44
|
+
}
|
|
45
|
+
export interface SelectButtonProps {
|
|
46
|
+
active: SelectItem[];
|
|
47
|
+
filterInputRef: any;
|
|
48
|
+
filterable: boolean;
|
|
49
|
+
isInvalid: boolean;
|
|
50
|
+
onButtonKeyDown: (e: KeyboardEvent) => void;
|
|
51
|
+
onInput: (e: JSX.TargetedEvent<HTMLInputElement, Event>) => void;
|
|
52
|
+
placeholder: string;
|
|
53
|
+
readonly: boolean;
|
|
54
|
+
selectListId: string;
|
|
55
|
+
showList: boolean;
|
|
56
|
+
toggleButtonRef: any;
|
|
57
|
+
toggleList: (e: Event) => void;
|
|
58
|
+
isValid?: boolean;
|
|
59
|
+
ariaDescribedBy: string;
|
|
60
|
+
isMulti: boolean;
|
|
61
|
+
id?: string;
|
|
62
|
+
showSelectedItemsAsTags?: boolean;
|
|
63
|
+
isSearch?: boolean;
|
|
64
|
+
loading?: boolean;
|
|
65
|
+
textFilter?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface SelectListProps {
|
|
68
|
+
active: SelectItem[];
|
|
69
|
+
items: SelectItem[];
|
|
70
|
+
onKeyDown: (e: JSX.TargetedKeyboardEvent<HTMLLIElement>) => void;
|
|
71
|
+
onSelect: (e: JSX.TargetedMouseEvent<HTMLLIElement>) => void;
|
|
72
|
+
selectListId: string;
|
|
73
|
+
selectListRef: any;
|
|
74
|
+
showList: boolean;
|
|
75
|
+
textFilter: string;
|
|
76
|
+
isMulti: boolean;
|
|
77
|
+
showAbove?: boolean;
|
|
78
|
+
isSearch?: boolean;
|
|
79
|
+
loading?: boolean;
|
|
80
|
+
getSearchItem?: (item: SelectedItem) => ComponentChild;
|
|
81
|
+
}
|
|
82
|
+
export interface SelectItemProps {
|
|
83
|
+
item: SelectItem;
|
|
84
|
+
selected: boolean;
|
|
85
|
+
onKeyDown: (e: JSX.TargetedKeyboardEvent<HTMLLIElement>) => void;
|
|
86
|
+
onSelect: (e: JSX.TargetedMouseEvent<HTMLLIElement>) => void;
|
|
87
|
+
isMulti: boolean;
|
|
88
|
+
isSearch?: boolean;
|
|
89
|
+
getSearchItem?: (item: SelectedItem) => ComponentChild;
|
|
90
|
+
children: ComponentChild;
|
|
91
|
+
}
|
|
92
|
+
export interface SelectButtonContentSingleProps {
|
|
93
|
+
active: SelectItem[];
|
|
94
|
+
filterInputRef: any;
|
|
95
|
+
filterable: boolean;
|
|
96
|
+
onInput: (e: JSX.TargetedEvent<HTMLInputElement, Event>) => void;
|
|
97
|
+
placeholder: string;
|
|
98
|
+
selectListId: string;
|
|
99
|
+
showList: boolean;
|
|
100
|
+
showSelectedItemsAsTags?: boolean;
|
|
101
|
+
isSearch?: boolean;
|
|
102
|
+
loading?: boolean;
|
|
103
|
+
textFilter?: string;
|
|
104
|
+
}
|
|
105
|
+
export interface SelectButtonContentMultiProps {
|
|
106
|
+
active: SelectItem[];
|
|
107
|
+
placeholder: string;
|
|
108
|
+
}
|
|
109
|
+
export default interface SelectedItemsAsTagsProps {
|
|
110
|
+
active: SelectItem[];
|
|
111
|
+
isMulti?: boolean;
|
|
112
|
+
}
|
|
113
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function TextArea(props: any): import("preact").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentChildren } from 'preact';
|
|
2
|
+
import './_heading.component.scss';
|
|
3
|
+
export interface HeadingProps {
|
|
4
|
+
children: ComponentChildren | string;
|
|
5
|
+
level: 1 | 2 | 3 | 4 | 'sub';
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export default function Heading({ className, level, children }: HeadingProps): import("preact").VNode<any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ibanValidator(input: string, bankCountries: string[]): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, ibanFields } from './Iban';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Icon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, legalCompanyNameFields } from './LegalCompanyName';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Link';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { JSX } from 'preact/compat';
|
|
2
|
+
export default interface LinkProps {
|
|
3
|
+
href: string;
|
|
4
|
+
external?: boolean;
|
|
5
|
+
icon?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
showAsButton?: boolean;
|
|
8
|
+
inheritStyles?: boolean;
|
|
9
|
+
underline?: boolean;
|
|
10
|
+
iconLeft?: boolean;
|
|
11
|
+
onClick?: JSX.MouseEventHandler<HTMLAnchorElement>;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentChildren } from 'preact';
|
|
2
|
+
export interface ListItemProps {
|
|
3
|
+
children?: ComponentChildren;
|
|
4
|
+
className?: string;
|
|
5
|
+
noMarkers?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface ListProps {
|
|
8
|
+
children?: ComponentChildren;
|
|
9
|
+
className?: string;
|
|
10
|
+
nested?: boolean;
|
|
11
|
+
ordered?: boolean;
|
|
12
|
+
noMarkers?: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import './_loader.scss';
|
|
2
|
+
export declare type LoaderSize = 'xsmall' | 'small' | 'medium' | 'large';
|
|
3
|
+
export interface LoaderProps {
|
|
4
|
+
/**
|
|
5
|
+
* Whether the spinner should be rendered inline
|
|
6
|
+
*/
|
|
7
|
+
inline?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* size of the spinner (small/medium/large)
|
|
10
|
+
*/
|
|
11
|
+
size?: LoaderSize;
|
|
12
|
+
/**
|
|
13
|
+
* includes a dot inside the spinner
|
|
14
|
+
*/
|
|
15
|
+
dot?: boolean;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Default Loading Spinner
|
|
19
|
+
* @param props -
|
|
20
|
+
*/
|
|
21
|
+
declare const Loader: ({ inline, size, dot }: LoaderProps) => import("preact").JSX.Element;
|
|
22
|
+
export default Loader;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ComponentChildren } from 'preact';
|
|
2
|
+
import { LoaderSize } from '../Loader';
|
|
3
|
+
interface LoaderWrapperProps {
|
|
4
|
+
status?: string;
|
|
5
|
+
formOpacityWhenLoading?: 0 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 1;
|
|
6
|
+
loaderSize?: LoaderSize;
|
|
7
|
+
children?: ComponentChildren;
|
|
8
|
+
showSpinner?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const LoaderWrapper: ({ children, status, formOpacityWhenLoading, loaderSize, showSpinner, className }: LoaderWrapperProps) => import("preact").JSX.Element;
|
|
12
|
+
export default LoaderWrapper;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './LoaderWrapper';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import './_modal.scss';
|
|
2
|
+
import './Overlay/_overlay.scss';
|
|
3
|
+
import { ModalProps } from './type';
|
|
4
|
+
export declare const Modal: ({ content, footer, header, modalClass, small, large, title, dismissible, isModalOpen, onClose, showCloseBtn, role }: ModalProps) => import("preact").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { VNode } from 'preact';
|
|
2
|
+
export interface ModalProps {
|
|
3
|
+
header?: VNode;
|
|
4
|
+
content: VNode;
|
|
5
|
+
footer?: VNode;
|
|
6
|
+
small?: boolean;
|
|
7
|
+
large?: boolean;
|
|
8
|
+
modalClass?: string;
|
|
9
|
+
dismissible?: boolean;
|
|
10
|
+
isModalOpen?: boolean;
|
|
11
|
+
title?: boolean;
|
|
12
|
+
showCloseBtn?: boolean;
|
|
13
|
+
onClose?(): void;
|
|
14
|
+
role: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, nameFields } from './Name';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, partOfTrustFields } from './PartOfTrust';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LegalEntityType } from '../../../core/models/api/legal-entity-type';
|
|
2
|
+
import { BaseInnerFormProps } from '../../../utils/useForm/types';
|
|
3
|
+
export interface PartOfTrustSchema {
|
|
4
|
+
isPartOfTrust?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface PartOfTrustProps extends BaseInnerFormProps<PartOfTrustSchema> {
|
|
7
|
+
legalEntityType: LegalEntityType;
|
|
8
|
+
isReadOnlyOnDefaultDataYes?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare enum isPartOfTrustIds {
|
|
11
|
+
IS_PART_OF_TRUST = "isPartOfTrustAnswerYes",
|
|
12
|
+
IS_NOT_PART_OF_TRUST = "isPartOfTrustAnswerNo"
|
|
13
|
+
}
|
|
14
|
+
export declare const isPartOfTrustItems: {
|
|
15
|
+
id: isPartOfTrustIds;
|
|
16
|
+
name: string;
|
|
17
|
+
}[];
|
|
18
|
+
export declare const defaultPartOfTrustData: {
|
|
19
|
+
isPartOfTrust: isPartOfTrustIds;
|
|
20
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PhoneInputProps, PhoneInputSchema } from './types';
|
|
2
|
+
export declare const phoneFields: Array<keyof PhoneInputSchema>;
|
|
3
|
+
declare function PhoneInputComponent(props: PhoneInputProps): import("preact/compat").JSX.Element;
|
|
4
|
+
declare namespace PhoneInputComponent {
|
|
5
|
+
var defaultProps: {
|
|
6
|
+
phoneLabel: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare const PhoneInput: typeof PhoneInputComponent;
|
|
10
|
+
export default PhoneInput;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './PhoneInput';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseInnerFormProps } from '../../../utils/useForm/types';
|
|
2
|
+
export interface PhoneInputProps extends BaseInnerFormProps<PhoneInputSchema> {
|
|
3
|
+
phonePrefixes: Array<{
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
}>;
|
|
7
|
+
showInlineErrors?: boolean;
|
|
8
|
+
country: string;
|
|
9
|
+
}
|
|
10
|
+
export interface PhoneInputSchema {
|
|
11
|
+
phoneNumber?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, roleFields } from './Role';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseInnerFormProps } from '../../../utils/useForm/types';
|
|
2
|
+
import { DecisionMakerType } from '../../../core/models/api/decision-maker-type';
|
|
3
|
+
import { TaskTypes } from '../../../components/TaskList/types';
|
|
4
|
+
export interface RoleProps extends BaseInnerFormProps<RoleSchema> {
|
|
5
|
+
taskType: TaskTypes;
|
|
6
|
+
allowedRoles?: DecisionMakerType[];
|
|
7
|
+
onDropdownChange: (e: Event) => void;
|
|
8
|
+
}
|
|
9
|
+
export interface RoleSchema {
|
|
10
|
+
role?: DecisionMakerType[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import './Spinner.scss';
|
|
2
|
+
interface SpinnerProps {
|
|
3
|
+
/**
|
|
4
|
+
* Whether the spinner should be rendered inline
|
|
5
|
+
*/
|
|
6
|
+
inline?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* size of the spinner (small/medium/large)
|
|
9
|
+
*/
|
|
10
|
+
size?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Default Loading Spinner
|
|
14
|
+
* @param props -
|
|
15
|
+
*/
|
|
16
|
+
declare const Spinner: ({ inline, size }: SpinnerProps) => import("preact").JSX.Element;
|
|
17
|
+
export default Spinner;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Spinner';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import './Summary.scss';
|
|
2
|
+
import { SummaryProps } from './types';
|
|
3
|
+
export declare const summaryStep: {
|
|
4
|
+
formId: string;
|
|
5
|
+
formName: string;
|
|
6
|
+
};
|
|
7
|
+
export declare function Summary({ data, forms, omittedKeys, gotoForm, labels, problems, trackNavigation }: SummaryProps): import("preact").JSX.Element;
|
|
8
|
+
export default Summary;
|