@myissue/vue-website-page-builder 3.5.54 → 3.5.56
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.ts +18 -0
- package/dist/style.css +1 -1
- package/dist/vue-website-page-builder.js +2913 -2845
- package/dist/vue-website-page-builder.umd.cjs +74 -74
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -325,6 +325,12 @@ export declare class PageBuilderService {
|
|
|
325
325
|
constructor(pageBuilderStateStore: ReturnType<typeof usePageBuilderStateStore>);
|
|
326
326
|
private isDebugEnabled;
|
|
327
327
|
private debugLog;
|
|
328
|
+
/**
|
|
329
|
+
* Returns the active builder canvas element.
|
|
330
|
+
* Prefer the editor canvas marker to avoid collisions with host-rendered
|
|
331
|
+
* published HTML that may also contain #pagebuilder.
|
|
332
|
+
*/
|
|
333
|
+
private getBuilderCanvasElement;
|
|
328
334
|
/**
|
|
329
335
|
* Returns an array of available languages.
|
|
330
336
|
* @returns {AvailableLanguage[]} An array of available language codes.
|
|
@@ -424,6 +430,11 @@ export declare class PageBuilderService {
|
|
|
424
430
|
*/
|
|
425
431
|
private applyElementClassChanges;
|
|
426
432
|
private removeElementClassesFromArray;
|
|
433
|
+
/**
|
|
434
|
+
* During Page Design editing, keep runtime config pageSettings aligned with the
|
|
435
|
+
* live #pagebuilder wrapper so Vue re-renders do not restore stale styles.
|
|
436
|
+
*/
|
|
437
|
+
private syncGlobalPageSettingsIntoRuntimeConfig;
|
|
427
438
|
/**
|
|
428
439
|
* Removes all CSS classes from the main page builder container.
|
|
429
440
|
* @returns {Promise<void>}
|
|
@@ -894,6 +905,12 @@ export declare class PageBuilderService {
|
|
|
894
905
|
* @private
|
|
895
906
|
*/
|
|
896
907
|
private cloneAndRemoveSelectionAttributes;
|
|
908
|
+
/**
|
|
909
|
+
* Returns section elements to persist from #pagebuilder.
|
|
910
|
+
* Prefer sections with data-componentid, but fall back to top-level sections
|
|
911
|
+
* so close/reopen cannot wipe content when ids are temporarily missing.
|
|
912
|
+
*/
|
|
913
|
+
private getPersistableSections;
|
|
897
914
|
/**
|
|
898
915
|
* Syncs the current DOM state of components to the in-memory store.
|
|
899
916
|
* @private
|
|
@@ -923,6 +940,7 @@ export declare class PageBuilderService {
|
|
|
923
940
|
* Prioritises the live #pagebuilder element (always current) and falls back to localStorage.
|
|
924
941
|
*/
|
|
925
942
|
private readCurrentPageSettings;
|
|
943
|
+
private readPersistedPageSettingsFromLocalStorage;
|
|
926
944
|
/** Applies captured global page classes/styles to the page wrapper once. */
|
|
927
945
|
private applyPageSettingsToPage;
|
|
928
946
|
/** Reconnects the global-styles MutationObserver after a Vue remount replaces nodes. */
|