@myissue/vue-website-page-builder 3.5.69 → 3.5.71
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 +9 -4
- package/dist/style.css +1 -1
- package/dist/vue-website-page-builder.js +12092 -11641
- package/dist/vue-website-page-builder.umd.cjs +84 -83
- package/package.json +6 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { App } from 'vue';
|
|
2
1
|
import { ComponentOptionsMixin } from 'vue';
|
|
3
2
|
import { ComponentProvideOptions } from 'vue';
|
|
4
3
|
import { createPinia } from 'pinia';
|
|
@@ -6,6 +5,7 @@ import { DefineComponent } from 'vue';
|
|
|
6
5
|
import { ExtractPropTypes } from 'vue';
|
|
7
6
|
import { Pinia } from 'pinia';
|
|
8
7
|
import { PiniaCustomStateProperties } from 'pinia';
|
|
8
|
+
import { Plugin as Plugin_2 } from 'vue';
|
|
9
9
|
import { PublicProps } from 'vue';
|
|
10
10
|
import { StoreDefinition } from 'pinia';
|
|
11
11
|
|
|
@@ -185,9 +185,7 @@ export declare interface InsertProductsOptions {
|
|
|
185
185
|
|
|
186
186
|
export declare const PageBuilder: typeof __VLS_export;
|
|
187
187
|
|
|
188
|
-
export declare const pageBuilder:
|
|
189
|
-
install: (app: App) => void;
|
|
190
|
-
};
|
|
188
|
+
export declare const pageBuilder: Plugin_2;
|
|
191
189
|
|
|
192
190
|
export declare interface PageBuilderConfig {
|
|
193
191
|
updateOrCreate: {
|
|
@@ -1116,6 +1114,13 @@ export declare class PageBuilderService {
|
|
|
1116
1114
|
* @returns {Promise<void>}
|
|
1117
1115
|
*/
|
|
1118
1116
|
addComponent(componentObject: ComponentObject): Promise<void>;
|
|
1117
|
+
/**
|
|
1118
|
+
* Inserts several helper/layout components in one pass (one remount + one autosave).
|
|
1119
|
+
* Pass `{ replace: true }` to clear the canvas first.
|
|
1120
|
+
*/
|
|
1121
|
+
addComponents(componentObjects: ComponentObject[], options?: {
|
|
1122
|
+
replace?: boolean;
|
|
1123
|
+
}): Promise<void>;
|
|
1119
1124
|
/**
|
|
1120
1125
|
* Inserts a product section using raw HTML from a custom product picker.
|
|
1121
1126
|
*/
|