@sendity/client 0.1.3 → 0.1.5
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 +9 -0
- package/dist/sendity-client.js +696 -627
- package/dist/tailwind.css +1 -1
- package/package.json +1 -1
|
@@ -28,6 +28,7 @@ export declare class Sendity extends HTMLElement {
|
|
|
28
28
|
private pollTimer;
|
|
29
29
|
private fallbackPollTimer;
|
|
30
30
|
private authenticatedEventTimer;
|
|
31
|
+
private rootEl;
|
|
31
32
|
private codeContainerEl;
|
|
32
33
|
private codeEl;
|
|
33
34
|
private promptEl;
|
|
@@ -39,7 +40,10 @@ export declare class Sendity extends HTMLElement {
|
|
|
39
40
|
private footerStatusEl;
|
|
40
41
|
private footerMessageEl;
|
|
41
42
|
private footerTimerEl;
|
|
43
|
+
private footerIndicatorEl;
|
|
42
44
|
private footerObserver;
|
|
45
|
+
private authStartObserver;
|
|
46
|
+
private authFlowStarted;
|
|
43
47
|
private footerWaitTimer;
|
|
44
48
|
private footerTransitionTimer;
|
|
45
49
|
private successTransitionTimer;
|
|
@@ -59,6 +63,7 @@ export declare class Sendity extends HTMLElement {
|
|
|
59
63
|
connectedCallback(): void;
|
|
60
64
|
disconnectedCallback(): void;
|
|
61
65
|
attributeChangedCallback(): void;
|
|
66
|
+
private startWhenVisible;
|
|
62
67
|
private start;
|
|
63
68
|
private stop;
|
|
64
69
|
private injectTailwind;
|
|
@@ -66,6 +71,8 @@ export declare class Sendity extends HTMLElement {
|
|
|
66
71
|
private isFooterHidden;
|
|
67
72
|
private observeFooterVisibility;
|
|
68
73
|
private scheduleFooterWaitingState;
|
|
74
|
+
private setFooterIndicatorWaiting;
|
|
75
|
+
private setFooterIndicatorError;
|
|
69
76
|
private showFooterWaitingState;
|
|
70
77
|
private startCountdown;
|
|
71
78
|
private stopCountdown;
|
|
@@ -94,6 +101,8 @@ export declare class Sendity extends HTMLElement {
|
|
|
94
101
|
private localeForLang;
|
|
95
102
|
private fetchAuthorizationAfterAuthenticatedSignal;
|
|
96
103
|
private updateCode;
|
|
104
|
+
private showPlaceholderCode;
|
|
105
|
+
private randomPlaceholderCode;
|
|
97
106
|
private renderError;
|
|
98
107
|
private showLoading;
|
|
99
108
|
private showCodeState;
|