UNPKG

@adyen/kyc-components

Version:

This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.

19 lines (18 loc) 838 B
try { let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack; n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "47e714f4-428b-414a-b53b-6f3b7fe1d6e0", e._sentryDebugIdIdentifier = "sentry-dbid-47e714f4-428b-414a-b53b-6f3b7fe1d6e0"); } catch (e) {} import { y as isEmpty } from "./validatorUtils-DRapRJ6z.js"; //#region src/utils/validation/commonValidators.ts var isTruthyValidator = { validate: (value) => !!value, modes: ["blur"], errorMessage: "fieldIsRequired" }; var isNotEmptyValidator = { validate: (value) => !isEmpty(value), modes: ["blur"], errorMessage: "fieldIsRequired" }; //#endregion export { isTruthyValidator as n, isNotEmptyValidator as t };