@adyen/kyc-components 3.43.4 → 3.44.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (304) hide show
  1. package/dist/es/adyen-kyc-components.es.js +727 -150
  2. package/dist/style.css +6 -4
  3. package/dist/types/components/AdditionalInformation/VerifiedBusinessCard.d.ts +1 -1
  4. package/dist/types/components/AdditionalInformation/types.d.ts +10 -10
  5. package/dist/types/components/AdditionalInformation/utils.d.ts +1 -1
  6. package/dist/types/components/{internal/Address → Address}/constants.d.ts +1 -1
  7. package/dist/types/components/{internal/Address → Address}/types.d.ts +7 -7
  8. package/dist/types/components/Address/utils.d.ts +20 -0
  9. package/dist/types/components/{internal/Address → Address}/validate.d.ts +3 -3
  10. package/dist/types/components/{internal/Address → Address}/validate.formats.d.ts +1 -1
  11. package/dist/types/components/{internal/BankAccountNumber → BankAccountNumber}/fieldConfig.d.ts +2 -2
  12. package/dist/types/components/{internal/BankAccountNumber → BankAccountNumber}/types.d.ts +2 -2
  13. package/dist/types/components/{internal/BankCity → BankCity}/types.d.ts +1 -1
  14. package/dist/types/components/{internal/BankCode → BankCode}/fieldConfig.d.ts +2 -2
  15. package/dist/types/components/{internal/BankCode → BankCode}/types.d.ts +2 -2
  16. package/dist/types/components/{internal/BankName → BankName}/types.d.ts +1 -1
  17. package/dist/types/components/BasicInformation/types.d.ts +6 -6
  18. package/dist/types/components/{internal/BranchCode → BranchCode}/fieldConfig.d.ts +2 -2
  19. package/dist/types/components/{internal/BranchCode → BranchCode}/types.d.ts +2 -2
  20. package/dist/types/components/BusinessDetails/forms.d.ts +1 -1
  21. package/dist/types/components/{internal/BusinessNameField → BusinessNameField}/fieldConfig.d.ts +1 -1
  22. package/dist/types/components/{internal/BusinessNameField → BusinessNameField}/types.d.ts +1 -1
  23. package/dist/types/components/{internal/BusinessRegistrationNumber → BusinessRegistrationNumber}/fieldConfig.d.ts +5 -5
  24. package/dist/types/components/{internal/BusinessRegistrationNumber → BusinessRegistrationNumber}/types.d.ts +3 -3
  25. package/dist/types/components/{internal/BusinessRegistrationNumberField → BusinessRegistrationNumberField}/types.d.ts +3 -3
  26. package/dist/types/components/BusinessTypeSelection/EntityTypeRadioGroupCard.d.ts +1 -1
  27. package/dist/types/components/BusinessTypeSelection/types.d.ts +1 -1
  28. package/dist/types/components/BusinessTypeSelection/utils.d.ts +2 -2
  29. package/dist/types/components/Company/Company.d.ts +1 -1
  30. package/dist/types/components/CompanyNameAndCountry/types.d.ts +3 -3
  31. package/dist/types/components/CompanyRegistrationDetails/types.d.ts +10 -10
  32. package/dist/types/components/ContactDetails/ContactDetails.d.ts +2 -3
  33. package/dist/types/components/ContactDetails/types.d.ts +2 -2
  34. package/dist/types/components/{internal/CountryField → CountryField}/types.d.ts +2 -2
  35. package/dist/types/components/{internal/CountryField → CountryField}/validate.d.ts +1 -1
  36. package/dist/types/components/{internal/CountryOfGoverningLawField → CountryOfGoverningLawField}/types.d.ts +2 -2
  37. package/dist/types/components/{internal/CountryOfGoverningLawField → CountryOfGoverningLawField}/validate.d.ts +1 -1
  38. package/dist/types/components/{internal/Currency → Currency}/types.d.ts +3 -3
  39. package/dist/types/components/{internal/DBANameField → DBANameField}/fieldConfig.d.ts +1 -1
  40. package/dist/types/components/{internal/DBANameField → DBANameField}/types.d.ts +1 -1
  41. package/dist/types/components/{internal/DateOfIncorporationField → DateOfIncorporationField}/fieldConfig.d.ts +1 -1
  42. package/dist/types/components/{internal/DateOfIncorporationField → DateOfIncorporationField}/types.d.ts +1 -1
  43. package/dist/types/components/{internal/DebugTable → DebugTable}/DebugTable.d.ts +1 -1
  44. package/dist/types/components/{internal/DecisionMakerRole → DecisionMakerRole}/types.d.ts +5 -5
  45. package/dist/types/components/{internal/DecisionMakerRole → DecisionMakerRole}/validate.d.ts +1 -1
  46. package/dist/types/components/DecisionMakers/types.d.ts +1 -1
  47. package/dist/types/components/{internal/DocumentGuidance → DocumentGuidance}/types.d.ts +3 -3
  48. package/dist/types/components/Dropins/BusinessDetailsDropin/types.d.ts +3 -3
  49. package/dist/types/components/Dropins/FormWrapper/FormWrapper.d.ts +2 -2
  50. package/dist/types/components/Dropins/HighExposureDropin/types.d.ts +1 -1
  51. package/dist/types/components/Dropins/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +1 -1
  52. package/dist/types/components/Dropins/ServiceAgreementDropin/useServiceAgreement.d.ts +1 -1
  53. package/dist/types/components/Dropins/SourceOfFundsDropin/SourceOfFunds.d.ts +2 -0
  54. package/dist/types/components/Dropins/SourceOfFundsDropin/SourceOfFundsDropin.d.ts +4 -1
  55. package/dist/types/components/Dropins/SourceOfFundsDropin/SourceOfFundsTellUsMore.d.ts +3 -0
  56. package/dist/types/components/Dropins/SourceOfFundsDropin/SourceOfFundsType.d.ts +3 -0
  57. package/dist/types/components/Dropins/SourceOfFundsDropin/types.d.ts +30 -2
  58. package/dist/types/components/Dropins/SourceOfFundsDropin/validate.d.ts +4 -0
  59. package/dist/types/components/{internal/EInvoicingCodeField → EInvoicingCodeField}/fieldConfig.d.ts +1 -1
  60. package/dist/types/components/{internal/EInvoicingCodeField → EInvoicingCodeField}/types.d.ts +1 -1
  61. package/dist/types/components/{internal/EntityAssociation → EntityAssociation}/types.d.ts +5 -5
  62. package/dist/types/components/{internal/EntityGuidanceStatus → EntityGuidanceStatus}/types.d.ts +4 -4
  63. package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/types.d.ts +3 -3
  64. package/dist/types/components/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
  65. package/dist/types/components/{internal/FinancialReportingDate → FinancialReportingDate}/types.d.ts +1 -1
  66. package/dist/types/components/{internal/FormEndState → FormEndState}/types.d.ts +1 -1
  67. package/dist/types/components/{internal/Iban → Iban}/fieldConfig.d.ts +2 -2
  68. package/dist/types/components/Iban/ibanValidator.d.ts +3 -0
  69. package/dist/types/components/{internal/Iban → Iban}/types.d.ts +2 -2
  70. package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/CompanyRegistrationNumberTypeSelector.d.ts +3 -3
  71. package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/IndividualIdNumberTypeSelector.d.ts +1 -1
  72. package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/TaxIdNumberTypeSelector.d.ts +4 -4
  73. package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/countryIdNumberTypes.d.ts +4 -4
  74. package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/inferCompanyRegistrationNumberType.d.ts +2 -2
  75. package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/inferTaxIdNumberType.d.ts +3 -3
  76. package/dist/types/components/IdVerificationMethod/idVerificationMethodMetadata.d.ts +1 -1
  77. package/dist/types/components/IdentityNumber/fieldConfig.d.ts +1 -1
  78. package/dist/types/components/IdentityNumber/type.d.ts +1 -1
  79. package/dist/types/components/Individual/types.d.ts +3 -3
  80. package/dist/types/components/{internal/LegalCompanyNameField → LegalCompanyNameField}/fieldConfig.d.ts +2 -2
  81. package/dist/types/components/{internal/LegalCompanyNameField → LegalCompanyNameField}/types.d.ts +1 -1
  82. package/dist/types/components/{internal/LegalFormField → LegalFormField}/types.d.ts +2 -2
  83. package/dist/types/components/{internal/NaceCodeField → NaceCodeField}/types.d.ts +1 -1
  84. package/dist/types/components/{internal/Name → Name}/Name.d.ts +2 -2
  85. package/dist/types/components/{internal/Name → Name}/types.d.ts +1 -1
  86. package/dist/types/components/{internal/Name → Name}/validate.d.ts +1 -1
  87. package/dist/types/components/{internal/NumberOfEmployees → NumberOfEmployees}/types.d.ts +1 -1
  88. package/dist/types/components/PayoutAccount/types.d.ts +2 -2
  89. package/dist/types/components/PayoutDetails/types.d.ts +1 -1
  90. package/dist/types/components/PayoutVerificationMethod/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +1 -1
  91. package/dist/types/components/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +1 -1
  92. package/dist/types/components/PayoutVerificationMethod/types.d.ts +1 -1
  93. package/dist/types/components/PersonalDetails/Identity/IdentityAu/DriversLicense.d.ts +1 -1
  94. package/dist/types/components/PersonalDetails/Identity/TypeOfIdentity/index.d.ts +1 -1
  95. package/dist/types/components/PersonalDetails/Identity/types.d.ts +1 -1
  96. package/dist/types/components/PersonalDetails/types.d.ts +3 -3
  97. package/dist/types/components/{internal/PhoneField → PhoneField}/PhoneField.d.ts +1 -1
  98. package/dist/types/components/{internal/PhoneField → PhoneField}/PhoneFieldExperimentWrapper.d.ts +1 -1
  99. package/dist/types/components/{internal/PhoneField → PhoneField}/fieldConfig.d.ts +3 -3
  100. package/dist/types/components/PhoneField/types.d.ts +10 -0
  101. package/dist/types/components/{internal/PhoneInput → PhoneInput}/PhoneInput.d.ts +2 -2
  102. package/dist/types/components/{internal/PhoneInput/types.d.ts → PhoneInput/PhoneInput.types.d.ts} +2 -2
  103. package/dist/types/components/{internal/PhoneInput → PhoneInput}/validate.d.ts +2 -2
  104. package/dist/types/components/RegistrationAddress/types.d.ts +1 -1
  105. package/dist/types/components/SingpassSelection/types.d.ts +1 -1
  106. package/dist/types/components/SoleProp/SoleProp.d.ts +1 -1
  107. package/dist/types/components/{internal/StateField → StateField}/fieldConfig.d.ts +2 -2
  108. package/dist/types/components/StateField/types.d.ts +10 -0
  109. package/dist/types/components/{internal/StockExchangeMICField → StockExchangeMICField}/fieldConfig.d.ts +1 -1
  110. package/dist/types/components/{internal/StockExchangeMICField → StockExchangeMICField}/types.d.ts +1 -1
  111. package/dist/types/components/{internal/StockISINField → StockISINField}/fieldConfig.d.ts +1 -1
  112. package/dist/types/components/{internal/StockISINField → StockISINField}/types.d.ts +1 -1
  113. package/dist/types/components/{internal/StockTickerSymbol → StockTickerSymbol}/fieldConfig.d.ts +1 -1
  114. package/dist/types/components/{internal/StockTickerSymbol → StockTickerSymbol}/types.d.ts +1 -1
  115. package/dist/types/components/{internal/Summary → Summary}/Summary.d.ts +2 -2
  116. package/dist/types/components/{internal/Summary → Summary}/summaryItem.d.ts +1 -1
  117. package/dist/types/components/{internal/Summary → Summary}/types.d.ts +2 -2
  118. package/dist/types/components/{internal/SwiftCode → SwiftCode}/fieldConfig.d.ts +1 -1
  119. package/dist/types/components/{internal/SwiftCode → SwiftCode}/types.d.ts +1 -1
  120. package/dist/types/components/TaskList/types.d.ts +3 -3
  121. package/dist/types/components/{internal/TaxId → TaxId}/fieldConfig.d.ts +4 -4
  122. package/dist/types/components/{internal/TaxId → TaxId}/types.d.ts +4 -4
  123. package/dist/types/components/{internal/TaxInformationField → TaxInformationField}/fieldConfig.d.ts +1 -1
  124. package/dist/types/components/{internal/TaxInformationField → TaxInformationField}/types.d.ts +5 -5
  125. package/dist/types/components/{internal/TradingNameField → TradingNameField}/fieldConfig.d.ts +1 -1
  126. package/dist/types/components/{internal/TradingNameField → TradingNameField}/types.d.ts +1 -1
  127. package/dist/types/components/TrustRegistrationDetails/types.d.ts +3 -3
  128. package/dist/types/components/TrustRoleAndEntityType/types.d.ts +1 -1
  129. package/dist/types/components/{internal/VatNumberField → VatNumberField}/fieldConfig.d.ts +2 -2
  130. package/dist/types/components/{internal/VatNumberField → VatNumberField}/types.d.ts +3 -3
  131. package/dist/types/components/{internal → ui/atoms}/Accordion/Accordion.d.ts +1 -1
  132. package/dist/types/components/{internal/Menu → ui/atoms/ActionsMenu}/ActionsMenu.d.ts +1 -2
  133. package/dist/types/components/{internal → ui/atoms}/Button/Button.d.ts +1 -1
  134. package/dist/types/components/{internal/FormFields → ui/atoms}/Field/Field.d.ts +1 -1
  135. package/dist/types/components/{internal → ui/atoms}/FormHeader/FormHeader.d.ts +1 -1
  136. package/dist/types/components/{internal/FormFields → ui/atoms/InputCurrency}/InputCurrency.d.ts +3 -4
  137. package/dist/types/components/{internal/FormFields → ui/atoms}/InputDate/InputDate.d.ts +1 -1
  138. package/dist/types/components/{internal/FormFields → ui/atoms/InputEmail}/InputEmail.d.ts +1 -1
  139. package/dist/types/components/{internal/FormFields → ui/atoms/InputNumber}/InputNumber.d.ts +1 -1
  140. package/dist/types/components/{internal/FormFields → ui/atoms/InputTelephone}/InputTelephone.d.ts +1 -1
  141. package/dist/types/components/{internal/FormFields → ui/atoms/InputText}/InputText.d.ts +1 -1
  142. package/dist/types/components/{internal → ui/atoms}/Link/Link.d.ts +1 -1
  143. package/dist/types/components/{internal → ui/atoms}/List/List.d.ts +1 -1
  144. package/dist/types/components/ui/atoms/List/List.types.d.ts +8 -0
  145. package/dist/types/components/{internal/List → ui/atoms/ListItem}/ListItem.d.ts +1 -1
  146. package/dist/types/components/{internal/List/types.d.ts → ui/atoms/ListItem/ListItem.types.d.ts} +0 -7
  147. package/dist/types/components/{internal → ui/atoms}/LoaderWrapper/LoaderWrapper.d.ts +1 -2
  148. package/dist/types/components/{internal/FormFields → ui/atoms}/MaskedInput/MaskedInput.d.ts +2 -1
  149. package/dist/types/components/{internal/FormFields → ui/atoms}/MultiSelectList/MultiSelectList.d.ts +2 -3
  150. package/dist/types/components/{embedded-ui → ui/atoms}/OutlinedIcon/OutlinedIcon.d.ts +1 -1
  151. package/dist/types/components/{internal/FormFields/RadioGroupCard → ui/atoms/RadioCard}/RadioCard.d.ts +1 -1
  152. package/dist/types/components/{internal/FormFields → ui/atoms}/RadioGroupCard/RadioGroupCard.d.ts +1 -1
  153. package/dist/types/components/{internal/FormFields/Radio → ui/atoms/RadioWithLabel}/RadioWithLabel.d.ts +1 -1
  154. package/dist/types/components/{internal → ui/atoms}/Remove/Remove.d.ts +1 -1
  155. package/dist/types/components/{internal/Remove/types.d.ts → ui/atoms/Remove/Remove.types.d.ts} +1 -1
  156. package/dist/types/components/{internal/FormFields → ui/atoms}/Select/Select.d.ts +1 -1
  157. package/dist/types/components/ui/atoms/Select/Select.types.d.ts +62 -0
  158. package/dist/types/components/{internal/FormFields/Select → ui/atoms/SelectButton}/SelectButton.d.ts +2 -2
  159. package/dist/types/components/ui/atoms/SelectButton/SelectButton.types.d.ts +47 -0
  160. package/dist/types/components/{internal/FormFields/Select → ui/atoms/SelectList}/SelectList.d.ts +2 -2
  161. package/dist/types/components/ui/atoms/SelectList/SelectList.types.d.ts +17 -0
  162. package/dist/types/components/{internal/FormFields/Select → ui/atoms/SelectListItem}/SelectListItem.d.ts +2 -2
  163. package/dist/types/components/ui/atoms/SelectListItem/SelectListItem.types.d.ts +12 -0
  164. package/dist/types/components/{internal → ui/atoms}/Status/Status.d.ts +1 -1
  165. package/dist/types/components/{internal → ui/atoms}/StructuredList/StructuredList.d.ts +1 -1
  166. package/dist/types/components/{internal → ui/atoms}/Typography/Typography.d.ts +1 -1
  167. package/dist/types/components/{internal → ui/molecules}/Alert/types.d.ts +1 -1
  168. package/dist/types/components/{embedded-ui → ui/molecules}/EmbeddedStatus/EmbeddedStatus.d.ts +5 -5
  169. package/dist/types/components/{embedded-ui → ui/molecules}/EmbeddedStatus/statusToTag.d.ts +4 -4
  170. package/dist/types/components/{embedded-ui → ui/molecules}/Splashscreen/Splashscreen.d.ts +1 -1
  171. package/dist/types/components/{internal → ui/molecules}/Toast/Toast.d.ts +1 -1
  172. package/dist/types/core/context/ConfigurationApiContext/ConfigurationApiContext.d.ts +2 -0
  173. package/dist/types/core/context/CoreContext.d.ts +2 -2
  174. package/dist/types/core/context/ExperimentContext/ExperimentsContextProvider.d.ts +1 -1
  175. package/dist/types/core/context/ExperimentContext/types.d.ts +4 -1
  176. package/dist/types/core/context/StateContext/types.d.ts +2 -1
  177. package/dist/types/core/context/ToastContext/ToastContext.d.ts +1 -1
  178. package/dist/types/core/hooks/singpass/useSingpassMyInfoLogin.d.ts +2 -2
  179. package/dist/types/core/hooks/useAccountHolder.d.ts +1 -1
  180. package/dist/types/core/hooks/useBankConfigurationHandlers.d.ts +1 -1
  181. package/dist/types/core/hooks/useBusinessSetup.d.ts +1 -1
  182. package/dist/types/core/hooks/useIdVerificationToken.d.ts +1 -1
  183. package/dist/types/core/hooks/useScenarioConfiguration.d.ts +2 -2
  184. package/dist/types/core/hooks/useUnifyLoadingStatus.d.ts +1 -1
  185. package/dist/types/core/models/api/organization.d.ts +1 -1
  186. package/dist/types/core/models/api/source-of-funds.d.ts +41 -0
  187. package/dist/types/core/models/form-rules.d.ts +1 -1
  188. package/dist/types/core/models/payout-account.d.ts +1 -1
  189. package/dist/types/core/services/componentApi/get-business-lines.d.ts +2 -0
  190. package/dist/types/datasets/localized/legalArrangementTypeExamples/getLegalArrangementTypeExamplesForCountry.d.ts +1 -1
  191. package/dist/types/stores/taskStore/calculateTaskStatus.d.ts +1 -1
  192. package/dist/types/stores/taskStore/determineTaskIdentifiers.d.ts +1 -1
  193. package/dist/types/stores/taskStore/taskStore.d.ts +1 -1
  194. package/dist/types/utils/accountHolderUtils.d.ts +1 -1
  195. package/dist/types/utils/dropinUtils.d.ts +2 -1
  196. package/dist/types/utils/entityAssociationUtil.d.ts +1 -1
  197. package/dist/types/utils/entityStatusUtil.d.ts +2 -2
  198. package/dist/types/utils/makeSelectItemForRole.d.ts +1 -1
  199. package/dist/types/utils/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -1
  200. package/dist/types/utils/mapping/componentApiMapping.d.ts +18 -0
  201. package/dist/types/utils/mapping/mapping.d.ts +4 -0
  202. package/dist/types/utils/masking/matchAgainstMask.d.ts +1 -1
  203. package/dist/types/utils/masking/stripNonAllowedValues.d.ts +2 -0
  204. package/dist/types/utils/payoutAccountUtil.d.ts +1 -1
  205. package/dist/types/utils/roleMetadata.d.ts +1 -1
  206. package/package.json +4 -2
  207. package/dist/types/components/internal/Address/utils.d.ts +0 -20
  208. package/dist/types/components/internal/FormFields/Select/types.d.ts +0 -132
  209. package/dist/types/components/internal/Iban/ibanValidator.d.ts +0 -3
  210. package/dist/types/components/internal/PhoneField/types.d.ts +0 -9
  211. package/dist/types/components/internal/StateField/types.d.ts +0 -10
  212. /package/dist/types/components/{internal/Address → Address}/Address.d.ts +0 -0
  213. /package/dist/types/components/{internal/Address → Address}/AddressExperimentWrapper.d.ts +0 -0
  214. /package/dist/types/components/{internal/Address → Address}/AddressForm.d.ts +0 -0
  215. /package/dist/types/components/{internal/Address → Address}/FieldContainer.d.ts +0 -0
  216. /package/dist/types/components/{internal/Address → Address}/FieldWrapper.d.ts +0 -0
  217. /package/dist/types/components/{internal/Address → Address}/SearchAddress.d.ts +0 -0
  218. /package/dist/types/components/{internal/BankAccountFormat → BankAccountFormat}/BankAccountFormat.d.ts +0 -0
  219. /package/dist/types/components/{internal/BankAccountFormat → BankAccountFormat}/types.d.ts +0 -0
  220. /package/dist/types/components/{internal/BankAccountNumber → BankAccountNumber}/BankAccountNumber.d.ts +0 -0
  221. /package/dist/types/components/{internal/BankCity → BankCity}/BankCity.d.ts +0 -0
  222. /package/dist/types/components/{internal/BankCode → BankCode}/BankCode.d.ts +0 -0
  223. /package/dist/types/components/{internal/BankName → BankName}/BankName.d.ts +0 -0
  224. /package/dist/types/components/{internal/BranchCode → BranchCode}/BranchCode.d.ts +0 -0
  225. /package/dist/types/components/{internal/BusinessNameField → BusinessNameField}/BusinessNameField.d.ts +0 -0
  226. /package/dist/types/components/{internal/BusinessRegistrationNumber → BusinessRegistrationNumber}/BusinessRegistrationNumber.d.ts +0 -0
  227. /package/dist/types/components/{internal/BusinessRegistrationNumberField → BusinessRegistrationNumberField}/BusinessRegistrationNumberField.d.ts +0 -0
  228. /package/dist/types/components/{internal/ContextGuidance → ContextGuidance}/ContextGuidance.d.ts +0 -0
  229. /package/dist/types/components/{internal/ContextGuidance → ContextGuidance}/types.d.ts +0 -0
  230. /package/dist/types/components/{internal/ContractViewer → ContractViewer}/ContractViewer.d.ts +0 -0
  231. /package/dist/types/components/{internal/ContractViewer → ContractViewer}/types.d.ts +0 -0
  232. /package/dist/types/components/{internal/CountryField → CountryField}/CountryField.d.ts +0 -0
  233. /package/dist/types/components/{internal/CountryOfGoverningLawField → CountryOfGoverningLawField}/CountryOfGoverningLawField.d.ts +0 -0
  234. /package/dist/types/components/{internal/Currency → Currency}/Currency.d.ts +0 -0
  235. /package/dist/types/components/{internal/DBANameField → DBANameField}/DBANameField.d.ts +0 -0
  236. /package/dist/types/components/{internal/DateOfIncorporationField → DateOfIncorporationField}/DateOfIncorporationField.d.ts +0 -0
  237. /package/dist/types/components/{internal/DecisionMakerRole → DecisionMakerRole}/DecisionMakerRole.d.ts +0 -0
  238. /package/dist/types/components/{internal/DecisionMakerRole → DecisionMakerRole}/NomineeDecisionMakerRole.d.ts +0 -0
  239. /package/dist/types/components/{internal/DocumentGuidance → DocumentGuidance}/DocumentGuidance.d.ts +0 -0
  240. /package/dist/types/components/{internal/EInvoicingCodeField → EInvoicingCodeField}/EInvoicingCodeField.d.ts +0 -0
  241. /package/dist/types/components/{internal/EntityAssociation → EntityAssociation}/EntityAssociation.d.ts +0 -0
  242. /package/dist/types/components/{internal/EntityGuidanceStatus → EntityGuidanceStatus}/EntityGuidanceStatus.d.ts +0 -0
  243. /package/dist/types/components/{internal/EntityGuidanceStatus → EntityGuidanceStatus}/EntityStatusIcon.d.ts +0 -0
  244. /package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/ErrorPanel.d.ts +0 -0
  245. /package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/NavigateToFieldLink.d.ts +0 -0
  246. /package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/ServerValidationErrors.d.ts +0 -0
  247. /package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/VerificationErrors.d.ts +0 -0
  248. /package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/constants.d.ts +0 -0
  249. /package/dist/types/components/{internal/FinancialReportingDate → FinancialReportingDate}/FinancialReportingDate.d.ts +0 -0
  250. /package/dist/types/components/{internal/FormEndState → FormEndState}/FormEndState.d.ts +0 -0
  251. /package/dist/types/components/{internal/Iban → Iban}/Iban.d.ts +0 -0
  252. /package/dist/types/components/{internal/LegalCompanyNameField → LegalCompanyNameField}/LegalCompanyNameField.d.ts +0 -0
  253. /package/dist/types/components/{internal/LegalFormField → LegalFormField}/LegalFormField.d.ts +0 -0
  254. /package/dist/types/components/{internal/NaceCodeField → NaceCodeField}/NaceCodeField.d.ts +0 -0
  255. /package/dist/types/components/{internal/NumberOfEmployees → NumberOfEmployees}/NumberOfEmployees.d.ts +0 -0
  256. /package/dist/types/components/{internal/StateField → StateField}/StateField.d.ts +0 -0
  257. /package/dist/types/components/{internal/StockExchangeMICField → StockExchangeMICField}/StockExchangeMICField.d.ts +0 -0
  258. /package/dist/types/components/{internal/StockISINField → StockISINField}/StockISINField.d.ts +0 -0
  259. /package/dist/types/components/{internal/StockTickerSymbol → StockTickerSymbol}/StockTickerSymbolField.d.ts +0 -0
  260. /package/dist/types/components/{internal/SwiftCode → SwiftCode}/SwiftCode.d.ts +0 -0
  261. /package/dist/types/components/{internal/TaxId → TaxId}/TaxId.d.ts +0 -0
  262. /package/dist/types/components/{internal/TaxInformationField → TaxInformationField}/TaxInformationField.d.ts +0 -0
  263. /package/dist/types/components/{internal/TradingNameField → TradingNameField}/TradingNameField.d.ts +0 -0
  264. /package/dist/types/components/{internal/VatNumberField → VatNumberField}/VatNumberField.d.ts +0 -0
  265. /package/dist/types/components/{internal/Button/types.d.ts → ui/atoms/Button/Button.types.d.ts} +0 -0
  266. /package/dist/types/components/{internal/FormFields → ui/atoms}/Checkbox/Checkbox.d.ts +0 -0
  267. /package/dist/types/components/{internal → ui/atoms}/Divider/Divider.d.ts +0 -0
  268. /package/dist/types/components/{internal/FormFields/Field/types.d.ts → ui/atoms/Field/Field.types.d.ts} +0 -0
  269. /package/dist/types/components/{internal/FormHeader/type.d.ts → ui/atoms/FormHeader/FormHeader.types.d.ts} +0 -0
  270. /package/dist/types/components/{internal → ui/atoms}/Icon/Icon.d.ts +0 -0
  271. /package/dist/types/components/{internal/FormFields → ui/atoms/InputBase}/InputBase.d.ts +0 -0
  272. /package/dist/types/components/{internal/FormFields/InputDate/utils.d.ts → ui/atoms/InputDate/InputDate.utils.d.ts} +0 -0
  273. /package/dist/types/components/{internal/FormFields → ui/atoms}/InputGroup/InputGroup.d.ts +0 -0
  274. /package/dist/types/components/{internal/Link/types.d.ts → ui/atoms/Link/Link.types.d.ts} +0 -0
  275. /package/dist/types/components/{internal → ui/atoms}/Loader/Loader.d.ts +0 -0
  276. /package/dist/types/components/{internal → ui/atoms}/LoaderWrapper/constants.d.ts +0 -0
  277. /package/dist/types/components/{internal → ui/atoms}/Modal/MaybeModal.d.ts +0 -0
  278. /package/dist/types/components/{internal → ui/atoms}/Modal/Modal.d.ts +0 -0
  279. /package/dist/types/components/{internal/FormFields → ui/atoms}/Radio/Radio.d.ts +0 -0
  280. /package/dist/types/components/{internal/FormFields → ui/atoms}/RadioGroup/RadioGroup.d.ts +0 -0
  281. /package/dist/types/components/{internal/FormFields/RadioGroupCard/types.d.ts → ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts} +0 -0
  282. /package/dist/types/components/{internal → ui/atoms}/Skeleton/Skeleton.d.ts +0 -0
  283. /package/dist/types/components/{internal/Status/types.d.ts → ui/atoms/Status/Status.types.d.ts} +0 -0
  284. /package/dist/types/components/{StepProgressIndicator → ui/atoms/StepProgressIndicator}/StepProgressIndicator.d.ts +0 -0
  285. /package/dist/types/components/{internal → ui/atoms}/Svg/Svg.d.ts +0 -0
  286. /package/dist/types/components/{internal → ui/atoms}/Svg/svgs.d.ts +0 -0
  287. /package/dist/types/components/{internal → ui/atoms}/Tag/Tag.d.ts +0 -0
  288. /package/dist/types/components/{internal/FormFields → ui/atoms/TextArea}/TextArea.d.ts +0 -0
  289. /package/dist/types/components/{internal/Typography/types.d.ts → ui/atoms/Typography/Typography.types.d.ts} +0 -0
  290. /package/dist/types/components/{internal → ui/molecules}/Alert/Alert.d.ts +0 -0
  291. /package/dist/types/components/{internal → ui/molecules}/Alert/VerificationErrorAlert.d.ts +0 -0
  292. /package/dist/types/components/{internal → ui/molecules}/Card/Card.d.ts +0 -0
  293. /package/dist/types/components/{internal → ui/molecules}/Card/CardGroup.d.ts +0 -0
  294. /package/dist/types/components/{internal → ui/molecules}/Card/types.d.ts +0 -0
  295. /package/dist/types/components/{internal → ui/molecules}/Confirm/Confirm.d.ts +0 -0
  296. /package/dist/types/components/{internal → ui/molecules}/Confirm/types.d.ts +0 -0
  297. /package/dist/types/components/{internal/FormFields → ui/molecules}/Dropzone/Dropzone.d.ts +0 -0
  298. /package/dist/types/components/{internal/FormFields → ui/molecules}/Dropzone/DropzoneFile.d.ts +0 -0
  299. /package/dist/types/components/{internal/FormFields → ui/molecules}/Dropzone/FilePicker.d.ts +0 -0
  300. /package/dist/types/components/{internal/FormFields → ui/molecules}/Dropzone/types.d.ts +0 -0
  301. /package/dist/types/components/{internal/FormFields → ui/molecules}/Dropzone/validate.d.ts +0 -0
  302. /package/dist/types/components/{internal/Toast/types.d.ts → ui/molecules/Toast/Toast.types.d.ts} +0 -0
  303. /package/dist/types/{components/internal/AccountHolder/types.d.ts → core/types/AccountHolder.types.d.ts} +0 -0
  304. /package/dist/types/{components/internal/FormFields/utils.d.ts → utils/formFields/formFieldsUtils.d.ts} +0 -0
@@ -1,132 +0,0 @@
1
- import type { ComponentChild, JSX, RefObject } from 'preact';
2
- export interface SelectItem {
3
- disabled?: boolean;
4
- icon?: JSX.Element;
5
- id: string;
6
- name: string;
7
- description?: string;
8
- selectedOptionName?: string;
9
- className?: string;
10
- }
11
- export interface AddressSpecificSelectItem extends SelectItem {
12
- text?: string;
13
- type?: string;
14
- addressAmount?: string;
15
- highlight?: string;
16
- }
17
- interface BaseSelectProps {
18
- className?: string;
19
- classNameModifiers?: string[];
20
- filterable?: boolean;
21
- isInvalid?: boolean;
22
- items: ReadonlyArray<SelectItem>;
23
- name?: string;
24
- placeholder?: string;
25
- readonly?: boolean;
26
- selected: string | string[] | undefined;
27
- isValid?: boolean;
28
- uniqueId?: string;
29
- showSelectedItemsAsTags?: boolean;
30
- isSearch?: boolean;
31
- onSearch?: (text: string) => void;
32
- resetSearch?: boolean;
33
- loading?: boolean;
34
- getSearchItem?: (item: SelectItem) => ComponentChild;
35
- searchText?: string;
36
- onSearchTextChange?: (text: string) => void;
37
- showSearchList?: boolean;
38
- }
39
- interface SingleSelectOnChangeTarget {
40
- value: string;
41
- name: string;
42
- }
43
- interface MultiSelectOnChangeTarget {
44
- value: string[];
45
- name: string;
46
- }
47
- export interface SingleSelectOnChangeProps {
48
- target: SingleSelectOnChangeTarget;
49
- }
50
- export interface MultiSelectOnChangeProps {
51
- target: MultiSelectOnChangeTarget;
52
- }
53
- interface SingleSelectProps extends BaseSelectProps {
54
- isMulti?: false;
55
- onChange: (e: SingleSelectOnChangeProps) => void;
56
- }
57
- interface MultiSelectProps extends BaseSelectProps {
58
- isMulti: true;
59
- onChange: (e: MultiSelectOnChangeProps) => void;
60
- }
61
- export type SelectProps = SingleSelectProps | MultiSelectProps;
62
- export interface SelectButtonProps {
63
- active: SelectItem[];
64
- filterInputRef: RefObject<HTMLInputElement>;
65
- filterable: boolean;
66
- isInvalid: boolean;
67
- onButtonKeyDown: (e: JSX.TargetedKeyboardEvent<HTMLInputElement>) => void;
68
- onInput: (e: JSX.TargetedEvent<HTMLInputElement>) => void;
69
- placeholder: string;
70
- readonly: boolean;
71
- selectListId: string;
72
- showList: boolean;
73
- toggleButtonRef: RefObject<HTMLButtonElement>;
74
- toggleList: (e: Event) => void;
75
- isValid?: boolean;
76
- ariaDescribedBy: string;
77
- isMulti: boolean;
78
- id?: string;
79
- showSelectedItemsAsTags?: boolean;
80
- isSearch?: boolean;
81
- hideSearchIcon?: boolean;
82
- loading?: boolean;
83
- textFilter?: string;
84
- }
85
- export interface SelectListProps {
86
- active: SelectItem[];
87
- items: ReadonlyArray<SelectItem>;
88
- onKeyDown: (e: JSX.TargetedKeyboardEvent<HTMLLIElement>, item: SelectItem) => void;
89
- onSelect: (item: SelectItem) => void;
90
- selectListId: string;
91
- selectListRef: RefObject<HTMLUListElement>;
92
- showList: boolean;
93
- textFilter: string;
94
- isMulti: boolean;
95
- showAbove?: boolean;
96
- isSearch?: boolean;
97
- loading?: boolean;
98
- getSearchItem?: (item: AddressSpecificSelectItem) => ComponentChild;
99
- }
100
- export interface SelectItemProps {
101
- item: SelectItem;
102
- selected: boolean;
103
- onKeyDown: (e: JSX.TargetedKeyboardEvent<HTMLLIElement>) => void;
104
- onSelect: (selected: boolean) => void;
105
- isMulti: boolean;
106
- isSearch?: boolean;
107
- children?: ComponentChild;
108
- className?: string;
109
- }
110
- export interface SelectButtonContentSingleProps {
111
- active: SelectItem[];
112
- filterInputRef: RefObject<HTMLInputElement>;
113
- filterable: boolean;
114
- onInput: (e: JSX.TargetedEvent<HTMLInputElement>) => void;
115
- placeholder: string;
116
- selectListId: string;
117
- showList: boolean;
118
- showSelectedItemsAsTags?: boolean;
119
- isSearch?: boolean;
120
- hideSearchIcon?: boolean;
121
- loading?: boolean;
122
- textFilter?: string;
123
- }
124
- export interface SelectButtonContentMultiProps {
125
- active: SelectItem[];
126
- placeholder: string;
127
- }
128
- export interface SelectedItemsAsTagsProps {
129
- active: SelectItem[];
130
- isMulti?: boolean;
131
- }
132
- export {};
@@ -1,3 +0,0 @@
1
- import type { CountryCode } from '../../../core/models/country-code';
2
- import type { Translatable } from '../../../language/types';
3
- export declare function ibanValidator(input: string | undefined | null, bankCountry: CountryCode): boolean | Translatable;
@@ -1,9 +0,0 @@
1
- import type { BaseFormFieldProps } from '../../../core/hooks/useForm/types';
2
- import type { Phone } from '../../../core/models/api/phone';
3
- import type { CountryCode } from '../../../core/models/country-code';
4
- export interface PhoneFieldSchema {
5
- phone?: Phone;
6
- }
7
- export interface PhoneFieldProps extends BaseFormFieldProps<PhoneFieldSchema> {
8
- country: CountryCode;
9
- }
@@ -1,10 +0,0 @@
1
- import type { BaseFormFieldProps } from '../../../core/hooks/useForm/types';
2
- import type { CountryCode } from '../../../core/models/country-code';
3
- import type { ProvinceCode } from '../../../core/models/province-code';
4
- import type { StateCode } from '../../../core/models/state-code';
5
- export interface StateFieldSchema {
6
- stateOrProvince?: StateCode | ProvinceCode | undefined;
7
- }
8
- export interface StateFieldProps extends BaseFormFieldProps<StateFieldSchema> {
9
- selectedCountry?: CountryCode;
10
- }