@myissue/vue-website-page-builder 3.5.22 → 3.5.24
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 +16 -0
- package/dist/style.css +1 -1
- package/dist/vue-website-page-builder.js +18430 -16860
- package/dist/vue-website-page-builder.umd.cjs +99 -99
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -937,6 +937,12 @@ export declare class PageBuilderService {
|
|
|
937
937
|
*/
|
|
938
938
|
handleHyperlink(hyperlinkEnable?: boolean, urlInput?: string | null, openHyperlinkInNewTab?: boolean): void;
|
|
939
939
|
addTheme(components: string): Promise<void>;
|
|
940
|
+
/**
|
|
941
|
+
* Replaces the entire page with a theme template (clears existing sections first).
|
|
942
|
+
*/
|
|
943
|
+
replaceTheme(themeHtml: string): Promise<void>;
|
|
944
|
+
getPageMeta(): PageMeta;
|
|
945
|
+
setPageMeta(partial: Partial<PageMeta>): Promise<void>;
|
|
940
946
|
analyzeSEO(): Promise<SEOSummary>;
|
|
941
947
|
/**
|
|
942
948
|
* Adds a new component to the page builder.
|
|
@@ -1114,9 +1120,15 @@ export declare interface PageBuilderUser {
|
|
|
1114
1120
|
image?: string;
|
|
1115
1121
|
}
|
|
1116
1122
|
|
|
1123
|
+
export declare interface PageMeta {
|
|
1124
|
+
title?: string;
|
|
1125
|
+
description?: string;
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1117
1128
|
export declare interface PageSettings {
|
|
1118
1129
|
classes?: string;
|
|
1119
1130
|
style?: string | Record<string, string>;
|
|
1131
|
+
meta?: PageMeta;
|
|
1120
1132
|
[key: string]: unknown;
|
|
1121
1133
|
}
|
|
1122
1134
|
|
|
@@ -1418,6 +1430,10 @@ export declare const usePageBuilderStateStore: StoreDefinition<"pageBuilderState
|
|
|
1418
1430
|
[x: string]: unknown;
|
|
1419
1431
|
classes?: string | undefined;
|
|
1420
1432
|
style?: (string | Record<string, string>) | undefined;
|
|
1433
|
+
meta?: {
|
|
1434
|
+
title?: string | undefined;
|
|
1435
|
+
description?: string | undefined;
|
|
1436
|
+
} | undefined;
|
|
1421
1437
|
} | undefined;
|
|
1422
1438
|
} | null;
|
|
1423
1439
|
showModalHTMLEditor: boolean;
|