@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.
41 lines (40 loc) • 1.57 kB
JavaScript
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] = "e68886cc-6a4a-470d-b58c-1e2f2b621086", e._sentryDebugIdIdentifier = "sentry-dbid-e68886cc-6a4a-470d-b58c-1e2f2b621086");
} catch (e) {}
import { r as Loader } from "./Button-i8I2dHP8.js";
import { Suspense } from "preact/compat";
import { jsx } from "preact/jsx-runtime";
//#region src/components/ui/atoms/Image/Image.tsx
/**
* Tiny helper to display treeshakable images
*
* It needs to receive an import function to enable treeshaking
* this way other modules/exports have no knowledge of the image being imported
* *
* @example
* ```jsx
* <Image lazyLoadedImage={lazy(() => import('../local/path/my-image.svg?component'))} />
* ```
*
* @param importFn lazy with dynamic import with a path that contains ?component
*/
var Image = ({ lazyLoadedImage, alt, className }) => {
return /* @__PURE__ */ jsx(Suspense, {
fallback: /* @__PURE__ */ jsx(Loader, {}),
children: /* @__PURE__ */ jsx(lazyLoadedImage, {
"aria-label": alt,
className,
role: "img"
})
});
};
//#endregion
//#region src/core/models/api/unincorporated-partnership.ts
var UnincorporatedPartnershipMemberTypes = {
SECONDARY_PARTNER: "secondaryPartner",
OWNER: "uboThroughOwnership",
CONTROLLING_PERSON: "uboThroughControl"
};
//#endregion
export { Image as n, UnincorporatedPartnershipMemberTypes as t };