@myissue/vue-website-page-builder 3.5.71 → 3.5.75
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 +10 -0
- package/dist/index.d.ts +9 -0
- package/dist/style.css +1 -1
- package/dist/vue-website-page-builder.js +16237 -15732
- package/dist/vue-website-page-builder.umd.cjs +86 -86
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -115,6 +115,16 @@ import YourDisplayProducts from './YourDisplayProducts.vue'
|
|
|
115
115
|
|
|
116
116
|
Copy the reference picker from `src/tests/TestComponents/DemoDisplayProductsTest.vue` and swap static JSON for your API. Full walkthrough: [Display Products documentation](https://myissue-studio.github.io/vue-website-page-builder/display-products).
|
|
117
117
|
|
|
118
|
+
### Optional temporary preview links
|
|
119
|
+
|
|
120
|
+
Enable `showTemporaryPreviewButton` to let editors publish the same standalone HTML export to a public [Temp.md](https://temp.md) preview link:
|
|
121
|
+
|
|
122
|
+
```vue
|
|
123
|
+
<PageBuilder :showTemporaryPreviewButton="true" />
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
The option is off by default. Publishing only happens after an explicit click, the link expires after 7 days, and its scoped update token is stored in the browser so later publishes update the same URL. Editors can copy, open, update, or permanently remove the preview from the Download HTML settings. This is separate from the existing `showPublishButton` callback and does not replace your production publishing workflow.
|
|
127
|
+
|
|
118
128
|
The package does **not** include cart, checkout, or inventory — by design. You keep your ecommerce stack; the builder handles layout and visual editing.
|
|
119
129
|
|
|
120
130
|
## Who This Is For
|
package/dist/index.d.ts
CHANGED
|
@@ -34,6 +34,10 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
34
34
|
type: BooleanConstructor;
|
|
35
35
|
default: boolean;
|
|
36
36
|
};
|
|
37
|
+
showTemporaryPreviewButton: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
37
41
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
38
42
|
handleClosePageBuilder: (...args: any[]) => void;
|
|
39
43
|
handlePublishPageBuilder: (...args: any[]) => void;
|
|
@@ -62,11 +66,16 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
62
66
|
type: BooleanConstructor;
|
|
63
67
|
default: boolean;
|
|
64
68
|
};
|
|
69
|
+
showTemporaryPreviewButton: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
65
73
|
}>> & Readonly<{
|
|
66
74
|
onHandleClosePageBuilder?: ((...args: any[]) => any) | undefined;
|
|
67
75
|
onHandlePublishPageBuilder?: ((...args: any[]) => any) | undefined;
|
|
68
76
|
}>, {
|
|
69
77
|
CustomBuilderComponents: Record<string, any>;
|
|
78
|
+
showTemporaryPreviewButton: boolean;
|
|
70
79
|
CustomMediaLibraryComponent: Record<string, any>;
|
|
71
80
|
DisplayProducts: Record<string, any>;
|
|
72
81
|
enableDefaultProducts: boolean;
|