@myissue/vue-website-page-builder 3.5.27 → 3.5.30
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/README.md +11 -2
- package/dist/index.d.ts +10 -0
- package/dist/style.css +1 -1
- package/dist/vue-website-page-builder.js +14212 -13613
- package/dist/vue-website-page-builder.umd.cjs +71 -71
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -79,9 +79,11 @@ Most page builders are tied to one CMS, one storefront, or one cloud platform. T
|
|
|
79
79
|
|
|
80
80
|
## Ecommerce Product Sections
|
|
81
81
|
|
|
82
|
-
Add
|
|
82
|
+
Add product catalog blocks to any page — without WooCommerce shortcodes or rigid storefront widgets.
|
|
83
83
|
|
|
84
|
-
|
|
84
|
+
**No integration required to start:** the **Products** button ships with a built-in **sample catalog** (placeholder items for layout and design) unless you set `:enableDefaultProducts="false"`. Editors can insert product grids immediately and refine copy on the canvas.
|
|
85
|
+
|
|
86
|
+
For production, pass `:DisplayProducts` with your own picker — pagination, categories, API search, Shopify/WooCommerce feeds, and inventory all live in **your** component. It replaces the sample catalog inside the same modal.
|
|
85
87
|
|
|
86
88
|
**What you get out of the box:**
|
|
87
89
|
|
|
@@ -97,7 +99,14 @@ import YourDisplayProducts from './YourDisplayProducts.vue'
|
|
|
97
99
|
</script>
|
|
98
100
|
|
|
99
101
|
<template>
|
|
102
|
+
<!-- Custom catalog (production) -->
|
|
100
103
|
<PageBuilder :DisplayProducts="YourDisplayProducts" />
|
|
104
|
+
|
|
105
|
+
<!-- Or: sample catalog only (default) -->
|
|
106
|
+
<PageBuilder />
|
|
107
|
+
|
|
108
|
+
<!-- Or: no product picker at all -->
|
|
109
|
+
<PageBuilder :enableDefaultProducts="false" />
|
|
101
110
|
</template>
|
|
102
111
|
```
|
|
103
112
|
|
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,10 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
18
18
|
type: ObjectConstructor;
|
|
19
19
|
default: null;
|
|
20
20
|
};
|
|
21
|
+
enableDefaultProducts: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
21
25
|
CustomBuilderComponents: {
|
|
22
26
|
type: ObjectConstructor;
|
|
23
27
|
default: null;
|
|
@@ -42,6 +46,10 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
42
46
|
type: ObjectConstructor;
|
|
43
47
|
default: null;
|
|
44
48
|
};
|
|
49
|
+
enableDefaultProducts: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
45
53
|
CustomBuilderComponents: {
|
|
46
54
|
type: ObjectConstructor;
|
|
47
55
|
default: null;
|
|
@@ -61,6 +69,7 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
61
69
|
CustomBuilderComponents: Record<string, any>;
|
|
62
70
|
CustomMediaLibraryComponent: Record<string, any>;
|
|
63
71
|
DisplayProducts: Record<string, any>;
|
|
72
|
+
enableDefaultProducts: boolean;
|
|
64
73
|
showCloseButton: boolean;
|
|
65
74
|
showPublishButton: boolean;
|
|
66
75
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -480,6 +489,7 @@ export declare class PageBuilderService {
|
|
|
480
489
|
hasPrices: boolean;
|
|
481
490
|
hasImages: boolean;
|
|
482
491
|
hasButtons: boolean;
|
|
492
|
+
hasLinks: boolean;
|
|
483
493
|
};
|
|
484
494
|
updateSelectedProductSection(options: ProductSectionOptions): Promise<void>;
|
|
485
495
|
/**
|