ngx-xtroedge-cms 1.4.5 → 1.4.6
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/index.d.mts +23 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.global.js +1 -1
- package/dist/index.js +470 -30
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +470 -30
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -140,6 +140,14 @@ declare class XtroedgeCMS {
|
|
|
140
140
|
private activeEditableEl;
|
|
141
141
|
private toolbarHideTimeout;
|
|
142
142
|
private selectionChangeHandler;
|
|
143
|
+
private otpSessionId;
|
|
144
|
+
private otpCountdownTimer;
|
|
145
|
+
private otpExpiryTime;
|
|
146
|
+
private loginCooldownTimer;
|
|
147
|
+
private loginAvailableAt;
|
|
148
|
+
private resendCooldownTimer;
|
|
149
|
+
private resendAvailableAt;
|
|
150
|
+
private tokenExpiryTimer;
|
|
143
151
|
private currentSlug;
|
|
144
152
|
private currentTitle;
|
|
145
153
|
private initialized;
|
|
@@ -204,6 +212,8 @@ declare class XtroedgeCMS {
|
|
|
204
212
|
/** Returns trial/expired banner HTML if applicable, or empty string */
|
|
205
213
|
private getTrialBannerHTML;
|
|
206
214
|
private injectStyles;
|
|
215
|
+
/** If current URL has ?edit=true, carry it forward to the next navigation */
|
|
216
|
+
private ensureEditParam;
|
|
207
217
|
private interceptNavigation;
|
|
208
218
|
private handleNavigation;
|
|
209
219
|
private buildUI;
|
|
@@ -288,6 +298,10 @@ declare class XtroedgeCMS {
|
|
|
288
298
|
private resetAfterSave;
|
|
289
299
|
private cancelEditing;
|
|
290
300
|
private logout;
|
|
301
|
+
private clearTokenExpiryWatcher;
|
|
302
|
+
private decodeTokenExpiryMs;
|
|
303
|
+
private expireSessionAndPromptLogin;
|
|
304
|
+
private startTokenExpiryWatcher;
|
|
291
305
|
private loadTranslationsAndInit;
|
|
292
306
|
private flattenTranslations;
|
|
293
307
|
private getPageSection;
|
|
@@ -328,7 +342,16 @@ declare class XtroedgeCMS {
|
|
|
328
342
|
private formatDate;
|
|
329
343
|
private showLoginModal;
|
|
330
344
|
private hideLoginModal;
|
|
345
|
+
private completeLogin;
|
|
331
346
|
private attemptLogin;
|
|
347
|
+
private startLoginCooldown;
|
|
348
|
+
private showOtpScreen;
|
|
349
|
+
private attemptOtpVerify;
|
|
350
|
+
private resendOtp;
|
|
351
|
+
private invalidateOtpSessionUI;
|
|
352
|
+
private startResendCooldown;
|
|
353
|
+
private startOtpCountdown;
|
|
354
|
+
private clearOtpState;
|
|
332
355
|
private resolveSiteIdentifier;
|
|
333
356
|
private hexToRgb;
|
|
334
357
|
private getDarkerColor;
|
package/dist/index.d.ts
CHANGED
|
@@ -140,6 +140,14 @@ declare class XtroedgeCMS {
|
|
|
140
140
|
private activeEditableEl;
|
|
141
141
|
private toolbarHideTimeout;
|
|
142
142
|
private selectionChangeHandler;
|
|
143
|
+
private otpSessionId;
|
|
144
|
+
private otpCountdownTimer;
|
|
145
|
+
private otpExpiryTime;
|
|
146
|
+
private loginCooldownTimer;
|
|
147
|
+
private loginAvailableAt;
|
|
148
|
+
private resendCooldownTimer;
|
|
149
|
+
private resendAvailableAt;
|
|
150
|
+
private tokenExpiryTimer;
|
|
143
151
|
private currentSlug;
|
|
144
152
|
private currentTitle;
|
|
145
153
|
private initialized;
|
|
@@ -204,6 +212,8 @@ declare class XtroedgeCMS {
|
|
|
204
212
|
/** Returns trial/expired banner HTML if applicable, or empty string */
|
|
205
213
|
private getTrialBannerHTML;
|
|
206
214
|
private injectStyles;
|
|
215
|
+
/** If current URL has ?edit=true, carry it forward to the next navigation */
|
|
216
|
+
private ensureEditParam;
|
|
207
217
|
private interceptNavigation;
|
|
208
218
|
private handleNavigation;
|
|
209
219
|
private buildUI;
|
|
@@ -288,6 +298,10 @@ declare class XtroedgeCMS {
|
|
|
288
298
|
private resetAfterSave;
|
|
289
299
|
private cancelEditing;
|
|
290
300
|
private logout;
|
|
301
|
+
private clearTokenExpiryWatcher;
|
|
302
|
+
private decodeTokenExpiryMs;
|
|
303
|
+
private expireSessionAndPromptLogin;
|
|
304
|
+
private startTokenExpiryWatcher;
|
|
291
305
|
private loadTranslationsAndInit;
|
|
292
306
|
private flattenTranslations;
|
|
293
307
|
private getPageSection;
|
|
@@ -328,7 +342,16 @@ declare class XtroedgeCMS {
|
|
|
328
342
|
private formatDate;
|
|
329
343
|
private showLoginModal;
|
|
330
344
|
private hideLoginModal;
|
|
345
|
+
private completeLogin;
|
|
331
346
|
private attemptLogin;
|
|
347
|
+
private startLoginCooldown;
|
|
348
|
+
private showOtpScreen;
|
|
349
|
+
private attemptOtpVerify;
|
|
350
|
+
private resendOtp;
|
|
351
|
+
private invalidateOtpSessionUI;
|
|
352
|
+
private startResendCooldown;
|
|
353
|
+
private startOtpCountdown;
|
|
354
|
+
private clearOtpState;
|
|
332
355
|
private resolveSiteIdentifier;
|
|
333
356
|
private hexToRgb;
|
|
334
357
|
private getDarkerColor;
|