ngx-xtroedge-cms 1.4.4 → 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 +25 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.global.js +1 -1
- package/dist/index.js +493 -34
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +493 -34
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -81,6 +81,8 @@ interface LicenseStatus {
|
|
|
81
81
|
declare class XtroedgeCMS {
|
|
82
82
|
private static readonly _SK;
|
|
83
83
|
private static readonly _VAULT_KEY;
|
|
84
|
+
/** Shared MutationObserver options — watch childList, attributes (class), and text changes */
|
|
85
|
+
private static readonly OBS_INIT;
|
|
84
86
|
private static _enc;
|
|
85
87
|
private static _dec;
|
|
86
88
|
private static _readVault;
|
|
@@ -138,6 +140,14 @@ declare class XtroedgeCMS {
|
|
|
138
140
|
private activeEditableEl;
|
|
139
141
|
private toolbarHideTimeout;
|
|
140
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;
|
|
141
151
|
private currentSlug;
|
|
142
152
|
private currentTitle;
|
|
143
153
|
private initialized;
|
|
@@ -202,6 +212,8 @@ declare class XtroedgeCMS {
|
|
|
202
212
|
/** Returns trial/expired banner HTML if applicable, or empty string */
|
|
203
213
|
private getTrialBannerHTML;
|
|
204
214
|
private injectStyles;
|
|
215
|
+
/** If current URL has ?edit=true, carry it forward to the next navigation */
|
|
216
|
+
private ensureEditParam;
|
|
205
217
|
private interceptNavigation;
|
|
206
218
|
private handleNavigation;
|
|
207
219
|
private buildUI;
|
|
@@ -286,6 +298,10 @@ declare class XtroedgeCMS {
|
|
|
286
298
|
private resetAfterSave;
|
|
287
299
|
private cancelEditing;
|
|
288
300
|
private logout;
|
|
301
|
+
private clearTokenExpiryWatcher;
|
|
302
|
+
private decodeTokenExpiryMs;
|
|
303
|
+
private expireSessionAndPromptLogin;
|
|
304
|
+
private startTokenExpiryWatcher;
|
|
289
305
|
private loadTranslationsAndInit;
|
|
290
306
|
private flattenTranslations;
|
|
291
307
|
private getPageSection;
|
|
@@ -326,7 +342,16 @@ declare class XtroedgeCMS {
|
|
|
326
342
|
private formatDate;
|
|
327
343
|
private showLoginModal;
|
|
328
344
|
private hideLoginModal;
|
|
345
|
+
private completeLogin;
|
|
329
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;
|
|
330
355
|
private resolveSiteIdentifier;
|
|
331
356
|
private hexToRgb;
|
|
332
357
|
private getDarkerColor;
|
package/dist/index.d.ts
CHANGED
|
@@ -81,6 +81,8 @@ interface LicenseStatus {
|
|
|
81
81
|
declare class XtroedgeCMS {
|
|
82
82
|
private static readonly _SK;
|
|
83
83
|
private static readonly _VAULT_KEY;
|
|
84
|
+
/** Shared MutationObserver options — watch childList, attributes (class), and text changes */
|
|
85
|
+
private static readonly OBS_INIT;
|
|
84
86
|
private static _enc;
|
|
85
87
|
private static _dec;
|
|
86
88
|
private static _readVault;
|
|
@@ -138,6 +140,14 @@ declare class XtroedgeCMS {
|
|
|
138
140
|
private activeEditableEl;
|
|
139
141
|
private toolbarHideTimeout;
|
|
140
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;
|
|
141
151
|
private currentSlug;
|
|
142
152
|
private currentTitle;
|
|
143
153
|
private initialized;
|
|
@@ -202,6 +212,8 @@ declare class XtroedgeCMS {
|
|
|
202
212
|
/** Returns trial/expired banner HTML if applicable, or empty string */
|
|
203
213
|
private getTrialBannerHTML;
|
|
204
214
|
private injectStyles;
|
|
215
|
+
/** If current URL has ?edit=true, carry it forward to the next navigation */
|
|
216
|
+
private ensureEditParam;
|
|
205
217
|
private interceptNavigation;
|
|
206
218
|
private handleNavigation;
|
|
207
219
|
private buildUI;
|
|
@@ -286,6 +298,10 @@ declare class XtroedgeCMS {
|
|
|
286
298
|
private resetAfterSave;
|
|
287
299
|
private cancelEditing;
|
|
288
300
|
private logout;
|
|
301
|
+
private clearTokenExpiryWatcher;
|
|
302
|
+
private decodeTokenExpiryMs;
|
|
303
|
+
private expireSessionAndPromptLogin;
|
|
304
|
+
private startTokenExpiryWatcher;
|
|
289
305
|
private loadTranslationsAndInit;
|
|
290
306
|
private flattenTranslations;
|
|
291
307
|
private getPageSection;
|
|
@@ -326,7 +342,16 @@ declare class XtroedgeCMS {
|
|
|
326
342
|
private formatDate;
|
|
327
343
|
private showLoginModal;
|
|
328
344
|
private hideLoginModal;
|
|
345
|
+
private completeLogin;
|
|
329
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;
|
|
330
355
|
private resolveSiteIdentifier;
|
|
331
356
|
private hexToRgb;
|
|
332
357
|
private getDarkerColor;
|