@myissue/vue-website-page-builder 3.5.56 → 3.5.58
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 +8 -3
- package/dist/style.css +1 -1
- package/dist/vue-website-page-builder.js +2102 -2072
- package/dist/vue-website-page-builder.umd.cjs +53 -53
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -930,11 +930,16 @@ export declare class PageBuilderService {
|
|
|
930
930
|
private removeCurrentComponentsFromLocalStorage;
|
|
931
931
|
/**
|
|
932
932
|
* Handles the form submission process, clearing local storage and the DOM.
|
|
933
|
-
*
|
|
934
|
-
*
|
|
933
|
+
* By default, global page settings (classes / inline styles on the wrapper)
|
|
934
|
+
* are reset so a brand-new resource starts clean after submit.
|
|
935
|
+
*
|
|
936
|
+
* Pass `{ preservePageSettings: true }` when you want "remove all components"
|
|
937
|
+
* behavior that keeps wrapper classes/styles.
|
|
935
938
|
* @returns {Promise<void>}
|
|
936
939
|
*/
|
|
937
|
-
handleFormSubmission(
|
|
940
|
+
handleFormSubmission(options?: {
|
|
941
|
+
preservePageSettings?: boolean;
|
|
942
|
+
}): Promise<void>;
|
|
938
943
|
/**
|
|
939
944
|
* Reads the current page settings.
|
|
940
945
|
* Prioritises the live #pagebuilder element (always current) and falls back to localStorage.
|