@sendity/client 0.1.11 → 0.1.13
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 +2 -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 +853 -368
- package/package.json +1 -1
|
@@ -70,6 +70,7 @@ export declare class Sendity extends HTMLElement {
|
|
|
70
70
|
attributeChangedCallback(): void;
|
|
71
71
|
private isNoCardVariant;
|
|
72
72
|
private syncLayoutVariant;
|
|
73
|
+
private configureLanguageDirection;
|
|
73
74
|
private startWhenVisible;
|
|
74
75
|
private start;
|
|
75
76
|
private stop;
|
|
@@ -97,6 +98,7 @@ export declare class Sendity extends HTMLElement {
|
|
|
97
98
|
private configureRealtime;
|
|
98
99
|
private subscribeToBroadcasting;
|
|
99
100
|
private startPolling;
|
|
101
|
+
private handleVerificationReceived;
|
|
100
102
|
private handleAuthenticated;
|
|
101
103
|
private stopAuthTransports;
|
|
102
104
|
private dispatchPublicEvent;
|
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;
|