@sendity/client 0.1.11 → 0.1.12
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.
- package/dist/components/sendity.d.ts +1 -0
- package/dist/i18n/index.d.ts +3 -1
- package/dist/i18n/sendity.bg.d.ts +3 -0
- package/dist/i18n/sendity.bn.d.ts +3 -0
- package/dist/i18n/sendity.bs.d.ts +3 -0
- package/dist/i18n/sendity.ga.d.ts +3 -0
- package/dist/i18n/sendity.hi.d.ts +3 -0
- package/dist/i18n/sendity.hu.d.ts +3 -0
- package/dist/i18n/sendity.id.d.ts +3 -0
- package/dist/i18n/sendity.is.d.ts +3 -0
- package/dist/i18n/sendity.mk.d.ts +3 -0
- package/dist/i18n/sendity.ms.d.ts +3 -0
- package/dist/i18n/sendity.mt.d.ts +3 -0
- package/dist/i18n/sendity.no.d.ts +3 -0
- package/dist/i18n/sendity.ro.d.ts +3 -0
- package/dist/i18n/sendity.th.d.ts +3 -0
- package/dist/i18n/sendity.uk.d.ts +3 -0
- package/dist/i18n/sendity.vi.d.ts +3 -0
- package/dist/sendity-client.js +909 -431
- package/package.json +1 -1
package/dist/i18n/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { type SendityI18n } from './sendity.en';
|
|
2
|
-
export declare const supportedLangs: readonly ["en", "de", "fr", "es", "it", "pl", "cs", "da", "nl", "hr", "el", "tr", "de-he", "ru", "sv", "pt", "sl", "sk", "sq", "hy", "sr", "lt", "lv", "et", "fi", "ar", "he", "ja", "ko", "zh"];
|
|
2
|
+
export declare const supportedLangs: readonly ["en", "de", "fr", "es", "it", "pl", "cs", "da", "nl", "hr", "el", "tr", "de-he", "ru", "sv", "pt", "sl", "sk", "sq", "hy", "sr", "lt", "lv", "et", "fi", "ro", "bg", "hu", "no", "uk", "bs", "mk", "is", "ga", "mt", "ar", "he", "ja", "ko", "zh", "vi", "hi", "id", "ms", "bn", "th"];
|
|
3
3
|
export type Lang = (typeof supportedLangs)[number];
|
|
4
|
+
export declare const rtlLangs: readonly ["ar", "he"];
|
|
5
|
+
export declare function isRtlLang(lang: Lang): boolean;
|
|
4
6
|
export declare function isSupportedLang(lang: string): lang is Lang;
|
|
5
7
|
export declare function normalizeLang(lang: string | undefined): Lang | null;
|
|
6
8
|
export declare function getI18n(lang: Lang): SendityI18n;
|