ngx-xtroedge-cms 1.4.0 → 1.4.3
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 +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.global.js +1 -1
- package/dist/index.js +237 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +237 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -133,6 +133,7 @@ declare class XtroedgeCMS {
|
|
|
133
133
|
private scanTimeout;
|
|
134
134
|
private activeImageEl;
|
|
135
135
|
private imageCtxMenu;
|
|
136
|
+
private floatingEditDialog;
|
|
136
137
|
private richToolbarEl;
|
|
137
138
|
private activeEditableEl;
|
|
138
139
|
private toolbarHideTimeout;
|
|
@@ -166,6 +167,7 @@ declare class XtroedgeCMS {
|
|
|
166
167
|
private imgOverlay;
|
|
167
168
|
private editScrollHandler;
|
|
168
169
|
private editScrollRAF;
|
|
170
|
+
private editClickCaptureHandler;
|
|
169
171
|
private posX;
|
|
170
172
|
private posY;
|
|
171
173
|
private isDragging;
|
|
@@ -190,6 +192,11 @@ declare class XtroedgeCMS {
|
|
|
190
192
|
constructor(config?: XtroedgeCmsConfig);
|
|
191
193
|
init(): Promise<void>;
|
|
192
194
|
destroy(): void;
|
|
195
|
+
/**
|
|
196
|
+
* Manually trigger a rescan of the DOM to detect new editable elements.
|
|
197
|
+
* Useful when elements are dynamically shown/hidden or added to the page.
|
|
198
|
+
*/
|
|
199
|
+
rescan(): void;
|
|
193
200
|
private static readonly LICENSE_CACHE_KEY;
|
|
194
201
|
private static readonly LICENSE_CACHE_TTL;
|
|
195
202
|
private validateLicense;
|
|
@@ -220,6 +227,7 @@ declare class XtroedgeCMS {
|
|
|
220
227
|
private detachElement;
|
|
221
228
|
/** Stop propagation so parent carousels (Swiper, Owl, etc.) don't hijack the event */
|
|
222
229
|
private static stopProp;
|
|
230
|
+
private focusEditableEnd;
|
|
223
231
|
private enableElementEdit;
|
|
224
232
|
private disableElementEdit;
|
|
225
233
|
private applyEditMode;
|
|
@@ -254,6 +262,8 @@ declare class XtroedgeCMS {
|
|
|
254
262
|
private disableImageEdit;
|
|
255
263
|
private showImageContextMenu;
|
|
256
264
|
private dismissImageCtxMenu;
|
|
265
|
+
private showFloatingEditDialog;
|
|
266
|
+
private dismissFloatingEditDialog;
|
|
257
267
|
private onImageFileSelected;
|
|
258
268
|
private uploadImageToApi;
|
|
259
269
|
private applyPageImages;
|
package/dist/index.d.ts
CHANGED
|
@@ -133,6 +133,7 @@ declare class XtroedgeCMS {
|
|
|
133
133
|
private scanTimeout;
|
|
134
134
|
private activeImageEl;
|
|
135
135
|
private imageCtxMenu;
|
|
136
|
+
private floatingEditDialog;
|
|
136
137
|
private richToolbarEl;
|
|
137
138
|
private activeEditableEl;
|
|
138
139
|
private toolbarHideTimeout;
|
|
@@ -166,6 +167,7 @@ declare class XtroedgeCMS {
|
|
|
166
167
|
private imgOverlay;
|
|
167
168
|
private editScrollHandler;
|
|
168
169
|
private editScrollRAF;
|
|
170
|
+
private editClickCaptureHandler;
|
|
169
171
|
private posX;
|
|
170
172
|
private posY;
|
|
171
173
|
private isDragging;
|
|
@@ -190,6 +192,11 @@ declare class XtroedgeCMS {
|
|
|
190
192
|
constructor(config?: XtroedgeCmsConfig);
|
|
191
193
|
init(): Promise<void>;
|
|
192
194
|
destroy(): void;
|
|
195
|
+
/**
|
|
196
|
+
* Manually trigger a rescan of the DOM to detect new editable elements.
|
|
197
|
+
* Useful when elements are dynamically shown/hidden or added to the page.
|
|
198
|
+
*/
|
|
199
|
+
rescan(): void;
|
|
193
200
|
private static readonly LICENSE_CACHE_KEY;
|
|
194
201
|
private static readonly LICENSE_CACHE_TTL;
|
|
195
202
|
private validateLicense;
|
|
@@ -220,6 +227,7 @@ declare class XtroedgeCMS {
|
|
|
220
227
|
private detachElement;
|
|
221
228
|
/** Stop propagation so parent carousels (Swiper, Owl, etc.) don't hijack the event */
|
|
222
229
|
private static stopProp;
|
|
230
|
+
private focusEditableEnd;
|
|
223
231
|
private enableElementEdit;
|
|
224
232
|
private disableElementEdit;
|
|
225
233
|
private applyEditMode;
|
|
@@ -254,6 +262,8 @@ declare class XtroedgeCMS {
|
|
|
254
262
|
private disableImageEdit;
|
|
255
263
|
private showImageContextMenu;
|
|
256
264
|
private dismissImageCtxMenu;
|
|
265
|
+
private showFloatingEditDialog;
|
|
266
|
+
private dismissFloatingEditDialog;
|
|
257
267
|
private onImageFileSelected;
|
|
258
268
|
private uploadImageToApi;
|
|
259
269
|
private applyPageImages;
|