@myissue/vue-website-page-builder 3.5.46 → 3.5.48
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 +0 -28
- package/dist/style.css +1 -1
- package/dist/vue-website-page-builder.js +14992 -15453
- package/dist/vue-website-page-builder.umd.cjs +112 -112
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -102,8 +102,6 @@ declare interface BuildProductSectionStyleOptions {
|
|
|
102
102
|
cardStyle?: ProductCardStyle;
|
|
103
103
|
roundedImages?: boolean;
|
|
104
104
|
openInNewTab?: boolean;
|
|
105
|
-
buttonStyle?: ProductButtonStyle;
|
|
106
|
-
roundedButtons?: boolean;
|
|
107
105
|
hidePrice?: boolean;
|
|
108
106
|
hideImage?: boolean;
|
|
109
107
|
hideButton?: boolean;
|
|
@@ -155,10 +153,6 @@ export declare interface InsertProductsOptions {
|
|
|
155
153
|
roundedImages?: boolean;
|
|
156
154
|
/** Adds target="_blank" rel="noopener noreferrer" to product links */
|
|
157
155
|
openInNewTab?: boolean;
|
|
158
|
-
/** Product CTA appearance: plain text link or button style */
|
|
159
|
-
buttonStyle?: ProductButtonStyle;
|
|
160
|
-
/** Applies rounded/full corners when CTA button style is enabled */
|
|
161
|
-
roundedButtons?: boolean;
|
|
162
156
|
/** Hides price and compare-at price when product data includes them */
|
|
163
157
|
hidePrice?: boolean;
|
|
164
158
|
/** Hides product photos when product data includes images */
|
|
@@ -313,9 +307,6 @@ export declare class PageBuilderService {
|
|
|
313
307
|
private _pendingPageSettings;
|
|
314
308
|
private _lastKnownPageSettings;
|
|
315
309
|
private isPageBuilderMissingOnStart;
|
|
316
|
-
private hasCompletedBuilderMount;
|
|
317
|
-
private builderMountPromise;
|
|
318
|
-
private activeBuilderSessionToken;
|
|
319
310
|
private canvasClickCaptureListener;
|
|
320
311
|
private canvasDblClickCaptureListener;
|
|
321
312
|
private elementsWithListeners;
|
|
@@ -373,24 +364,12 @@ export declare class PageBuilderService {
|
|
|
373
364
|
* @returns {Promise<StartBuilderResult>} A result object indicating success or failure.
|
|
374
365
|
*/
|
|
375
366
|
startBuilder(config: PageBuilderConfig, passedComponentsArray?: BuilderResourceData): Promise<StartBuilderResult>;
|
|
376
|
-
/**
|
|
377
|
-
* Whether PageBuilder.vue should run deferred mount on mount (DOM was missing at startBuilder).
|
|
378
|
-
*
|
|
379
|
-
* @param ownCanvas - The component's own #pagebuilder element (passed from PageBuilder.vue ref).
|
|
380
|
-
* Using this instead of document.querySelector ensures the correct canvas is checked when
|
|
381
|
-
* multiple PageBuilder instances exist on the same page (e.g. one always-visible + one in a
|
|
382
|
-
* modal). When the modal's canvas is empty while another instance already has content, the
|
|
383
|
-
* document.querySelector approach would miss the empty canvas entirely.
|
|
384
|
-
*/
|
|
385
|
-
shouldCompleteBuilderMountOnMount(ownCanvas?: HTMLElement): boolean;
|
|
386
367
|
/**
|
|
387
368
|
* Completes the builder initialization process once the DOM is ready.
|
|
388
369
|
* @param {BuilderResourceData} [passedComponentsArray] - Optional array of components to load.
|
|
389
370
|
* @returns {Promise<void>}
|
|
390
371
|
*/
|
|
391
372
|
completeBuilderInitialization(passedComponentsArray?: BuilderResourceData): Promise<void>;
|
|
392
|
-
private completeBuilderInitializationWithSession;
|
|
393
|
-
private runCompleteBuilderInitialization;
|
|
394
373
|
/**
|
|
395
374
|
* Converts an array of ComponentObject into a single HTML string.
|
|
396
375
|
*
|
|
@@ -1018,7 +997,6 @@ export declare class PageBuilderService {
|
|
|
1018
997
|
* @private
|
|
1019
998
|
*/
|
|
1020
999
|
private convertStyleObjectToString;
|
|
1021
|
-
private hasMeaningfulPageSettings;
|
|
1022
1000
|
/**
|
|
1023
1001
|
* Parses a string of HTML and extracts builder components and global page settings.
|
|
1024
1002
|
* - This method expects an **HTML string** containing one or more `<section>...</section>` elements (such as the output from `getSavedPageHtml()` or a previously saved builder HTML string).
|
|
@@ -1177,8 +1155,6 @@ export declare interface PageSettings {
|
|
|
1177
1155
|
[key: string]: unknown;
|
|
1178
1156
|
}
|
|
1179
1157
|
|
|
1180
|
-
declare type ProductButtonStyle = 'text' | 'button' | (string & {});
|
|
1181
|
-
|
|
1182
1158
|
export declare type ProductCardStyle = 'minimal' | 'bordered' | 'shadow' | 'elevated' | (string & {});
|
|
1183
1159
|
|
|
1184
1160
|
export declare type ProductGridLayout = 'grid-1' | 'grid-2' | 'grid-3' | 'grid-4' | 'grid-6' | (string & {});
|
|
@@ -1191,10 +1167,6 @@ export declare interface ProductSectionOptions {
|
|
|
1191
1167
|
cardStyle?: ProductCardStyle;
|
|
1192
1168
|
roundedImages?: boolean;
|
|
1193
1169
|
openInNewTab?: boolean;
|
|
1194
|
-
/** Product CTA appearance: plain text link or button style */
|
|
1195
|
-
buttonStyle?: ProductButtonStyle;
|
|
1196
|
-
/** Applies rounded/full corners when CTA button style is enabled */
|
|
1197
|
-
roundedButtons?: boolean;
|
|
1198
1170
|
/** Hides price and compare-at price when product data includes them */
|
|
1199
1171
|
hidePrice?: boolean;
|
|
1200
1172
|
/** Hides product photos when product data includes images */
|