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.

59 lines (58 loc) 2.94 kB
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] = "549762b8-9dfd-4fc8-af13-425593679814", e._sentryDebugIdIdentifier = "sentry-dbid-549762b8-9dfd-4fc8-af13-425593679814"); } catch (e) {} import { t as CountryCodes } from "./country-code-CX5KqMBr.js"; import { t as Currencies } from "./currency-CfIDpZh9.js"; //#region src/components/Shared/fields/Currency/types.ts var currencyByCountry = { [CountryCodes.Australia]: [Currencies.AUD], [CountryCodes.Austria]: [Currencies.EUR], [CountryCodes.Belgium]: [Currencies.EUR], [CountryCodes.Brazil]: [Currencies.BRL], [CountryCodes.Bulgaria]: [Currencies.EUR], [CountryCodes.Canada]: [Currencies.CAD, Currencies.USD], [CountryCodes.Croatia]: [Currencies.HRK, Currencies.EUR], [CountryCodes.Cyprus]: [Currencies.EUR], [CountryCodes.CzechRepublic]: [Currencies.CZK, Currencies.EUR], [CountryCodes.Denmark]: [Currencies.DKK, Currencies.EUR], [CountryCodes.Estonia]: [Currencies.EUR], [CountryCodes.Finland]: [Currencies.EUR], [CountryCodes.France]: [Currencies.EUR], [CountryCodes.Germany]: [Currencies.EUR], [CountryCodes.Gibraltar]: [Currencies.GBP], [CountryCodes.Greece]: [Currencies.EUR], [CountryCodes.Guernsey]: [Currencies.GBP], [CountryCodes.HongKong]: [Currencies.HKD], [CountryCodes.Hungary]: [Currencies.HUF, Currencies.EUR], [CountryCodes.Ireland]: [Currencies.EUR], [CountryCodes.IsleOfMan]: [Currencies.GBP], [CountryCodes.Italy]: [Currencies.EUR], [CountryCodes.Jersey]: [Currencies.GBP], [CountryCodes.Latvia]: [Currencies.EUR], [CountryCodes.Liechtenstein]: [Currencies.CHF, Currencies.EUR], [CountryCodes.Lithuania]: [Currencies.EUR], [CountryCodes.Luxembourg]: [Currencies.EUR], [CountryCodes.Malaysia]: [Currencies.MYR], [CountryCodes.Malta]: [Currencies.EUR], [CountryCodes.Mexico]: [Currencies.MXN], [CountryCodes.Monaco]: [Currencies.EUR], [CountryCodes.Netherlands]: [Currencies.EUR], [CountryCodes.NewZealand]: [Currencies.NZD], [CountryCodes.Norway]: [Currencies.NOK, Currencies.EUR], [CountryCodes.Poland]: [Currencies.PLN, Currencies.EUR], [CountryCodes.Portugal]: [Currencies.EUR], [CountryCodes.PuertoRico]: [Currencies.USD], [CountryCodes.Romania]: [Currencies.RON, Currencies.EUR], [CountryCodes.Singapore]: [Currencies.SGD], [CountryCodes.Slovakia]: [Currencies.EUR], [CountryCodes.Slovenia]: [Currencies.EUR], [CountryCodes.Spain]: [Currencies.EUR], [CountryCodes.Sweden]: [Currencies.SEK, Currencies.EUR], [CountryCodes.Switzerland]: [Currencies.CHF, Currencies.EUR], [CountryCodes.UnitedArabEmirates]: [Currencies.AED], [CountryCodes.UnitedKingdom]: [Currencies.GBP, Currencies.EUR], [CountryCodes.UnitedStates]: [Currencies.USD] }; //#endregion export { currencyByCountry as t };