UNPKG

@frank-auth/react

Version:

Flexible and customizable React UI components for Frank Authentication

166 lines (165 loc) 3.26 kB
import { en as t } from "./en.js"; import { es as m } from "./es.js"; import { fr as a } from "./fr.js"; import { de as l } from "./de.js"; import { pt as n } from "./pt.js"; import { it as o } from "./it.js"; import { ja as i } from "./ja.js"; import { ko as u } from "./ko.js"; import { zh as y } from "./zh.js"; const g = [ "en", "es", "fr", "de", "pt", "it", "ja", "ko", "zh" ], e = { en: t, es: m, fr: a, de: l, pt: n, it: o, ja: i, ko: u, zh: y }, d = "en", P = { en: { name: "English", nativeName: "English", region: "US", direction: "ltr", dateFormat: "MM/dd/yyyy", timeFormat: "h:mm a", numberFormat: { style: "decimal", currency: "USD" }, pluralRules: new Intl.PluralRules("en") }, es: { name: "Spanish", nativeName: "Español", region: "ES", direction: "ltr", dateFormat: "dd/MM/yyyy", timeFormat: "HH:mm", numberFormat: { style: "decimal", currency: "EUR" }, pluralRules: new Intl.PluralRules("es") }, fr: { name: "French", nativeName: "Français", region: "FR", direction: "ltr", dateFormat: "dd/MM/yyyy", timeFormat: "HH:mm", numberFormat: { style: "decimal", currency: "EUR" }, pluralRules: new Intl.PluralRules("fr") }, de: { name: "German", nativeName: "Deutsch", region: "DE", direction: "ltr", dateFormat: "dd.MM.yyyy", timeFormat: "HH:mm", numberFormat: { style: "decimal", currency: "EUR" }, pluralRules: new Intl.PluralRules("de") }, pt: { name: "Portuguese", nativeName: "Português", region: "PT", direction: "ltr", dateFormat: "dd/MM/yyyy", timeFormat: "HH:mm", numberFormat: { style: "decimal", currency: "EUR" }, pluralRules: new Intl.PluralRules("pt") }, it: { name: "Italian", nativeName: "Italiano", region: "IT", direction: "ltr", dateFormat: "dd/MM/yyyy", timeFormat: "HH:mm", numberFormat: { style: "decimal", currency: "EUR" }, pluralRules: new Intl.PluralRules("it") }, ja: { name: "Japanese", nativeName: "日本語", region: "JP", direction: "ltr", dateFormat: "yyyy/MM/dd", timeFormat: "HH:mm", numberFormat: { style: "decimal", currency: "JPY" }, pluralRules: new Intl.PluralRules("pt") }, ko: { name: "Korean", nativeName: "한국어", region: "KR", direction: "ltr", dateFormat: "yyyy. MM. dd.", timeFormat: "HH:mm", numberFormat: { style: "decimal", currency: "KRW" }, pluralRules: new Intl.PluralRules("ko") }, zh: { name: "Chinese", nativeName: "中文", region: "CN", direction: "ltr", dateFormat: "yyyy/MM/dd", timeFormat: "HH:mm", numberFormat: { style: "decimal", currency: "CNY" }, pluralRules: new Intl.PluralRules("zh") } }, f = (r) => e[r] || e[d]; export { g as AVAILABLE_LOCALES, d as DEFAULT_LOCALE, P as LOCALE_INFO, e as LOCALE_REGISTRY, l as de, t as en, m as es, a as fr, f as getLocale, o as it, i as ja, u as ko, n as pt, y as zh }; //# sourceMappingURL=index.js.map