ngx-xtroedge-cms 1.4.5 → 1.4.7

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 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;
@@ -295,6 +309,7 @@ declare class XtroedgeCMS {
295
309
  private resolveServerUrl;
296
310
  /** Resolve a stored URL against client's server (clientApi, falls back to apiBase) */
297
311
  private resolveClientUrl;
312
+ private getOrCreateDeviceId;
298
313
  private apiFetch;
299
314
  private fetchSection;
300
315
  private hasSection;
@@ -328,7 +343,16 @@ declare class XtroedgeCMS {
328
343
  private formatDate;
329
344
  private showLoginModal;
330
345
  private hideLoginModal;
346
+ private completeLogin;
331
347
  private attemptLogin;
348
+ private startLoginCooldown;
349
+ private showOtpScreen;
350
+ private attemptOtpVerify;
351
+ private resendOtp;
352
+ private invalidateOtpSessionUI;
353
+ private startResendCooldown;
354
+ private startOtpCountdown;
355
+ private clearOtpState;
332
356
  private resolveSiteIdentifier;
333
357
  private hexToRgb;
334
358
  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;
@@ -295,6 +309,7 @@ declare class XtroedgeCMS {
295
309
  private resolveServerUrl;
296
310
  /** Resolve a stored URL against client's server (clientApi, falls back to apiBase) */
297
311
  private resolveClientUrl;
312
+ private getOrCreateDeviceId;
298
313
  private apiFetch;
299
314
  private fetchSection;
300
315
  private hasSection;
@@ -328,7 +343,16 @@ declare class XtroedgeCMS {
328
343
  private formatDate;
329
344
  private showLoginModal;
330
345
  private hideLoginModal;
346
+ private completeLogin;
331
347
  private attemptLogin;
348
+ private startLoginCooldown;
349
+ private showOtpScreen;
350
+ private attemptOtpVerify;
351
+ private resendOtp;
352
+ private invalidateOtpSessionUI;
353
+ private startResendCooldown;
354
+ private startOtpCountdown;
355
+ private clearOtpState;
332
356
  private resolveSiteIdentifier;
333
357
  private hexToRgb;
334
358
  private getDarkerColor;