@designcrowd/library.brand-page 6.2.1 → 6.2.2-live-preview-1
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/lib/src/{CreatedOnBrandCrowd-de-de-CtvPtYF6.js → CreatedOnBrandCrowd-de-de-Cn0M-eZ1.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-eGF-EjAX.js → CreatedOnBrandCrowd-en-us-DRLMSDZr.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-CSemsOtT.js → CreatedOnBrandCrowd-es-es-BglTu73U.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-DzylX-AT.js → CreatedOnBrandCrowd-fr-ca-Bj6YZ_el.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-DzylX-AT.js → CreatedOnBrandCrowd-fr-fr-Bj6YZ_el.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-QMUxXQsE.js → CreatedOnBrandCrowd-pt-br-DEoOmQ1F.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-QMUxXQsE.js → CreatedOnBrandCrowd-pt-pt-DEoOmQ1F.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-M7OoJt-1.js → CreatedOnDcom-de-de-BZ7gTt4Z.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-D7hMM0AI.js → CreatedOnDcom-en-us-CD6Km5sH.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-CLw-BLp2.js → CreatedOnDcom-es-es-CNpZHvEl.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-BRu_kmeu.js → CreatedOnDcom-fr-ca-URS-ydJ1.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-IMnEv_yM.js → CreatedOnDcom-fr-fr-D2AVeA3H.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-Bt6v1p27.js → CreatedOnDcom-pt-br-C32frnFs.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-BVsFJIJg.js → CreatedOnDcom-pt-pt-TDYGjRXS.js} +1 -1
- package/lib/src/brand-page/models/brand-page-context.model.d.ts +0 -2
- package/lib/src/brand-page/models/brand-page-context.model.js +0 -12
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +0 -1
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.js +0 -9
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +7 -43
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +6 -42
- package/lib/src/brand-page-maker/components/preview/Preview.mixin.d.ts +0 -14
- package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +0 -42
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +0 -42
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +0 -42
- package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +0 -42
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +0 -42
- package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +0 -42
- package/lib/src/brand-page-maker/composables/useEventTracker.d.ts +3 -0
- package/lib/src/brand-page-maker/composables/useEventTracker.js +10 -0
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +0 -42
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +2 -4
- package/lib/src/{bundled-translations-KY0aSmMp.js → bundled-translations-BYUfWBT3.js} +9 -9
- package/lib/src/{bundled-translations.de-DE-BIFi4bYj.js → bundled-translations.de-DE-MmzUu1tt.js} +13 -13
- package/lib/src/{bundled-translations.es-ES-CHlKuPLO.js → bundled-translations.es-ES-D-tG33XL.js} +1 -1
- package/lib/src/{bundled-translations.fr-CA-DR1fvm8e.js → bundled-translations.fr-CA-CNc1H1h3.js} +1 -1
- package/lib/src/{bundled-translations.fr-FR-DnpWVIQg.js → bundled-translations.fr-FR-DX0-yepT.js} +1 -1
- package/lib/src/{bundled-translations.pt-BR-p8szTOiT.js → bundled-translations.pt-BR-ih1-LRgy.js} +9 -9
- package/lib/src/{bundled-translations.pt-PT-DEk39NhW.js → bundled-translations.pt-PT-Dq2CmD1p.js} +1 -1
- package/lib/src/bundles/bundled-translations.de-DE.json +3 -1
- package/lib/src/bundles/bundled-translations.es-ES.json +3 -1
- package/lib/src/bundles/bundled-translations.fr-CA.json +3 -1
- package/lib/src/bundles/bundled-translations.fr-FR.json +3 -1
- package/lib/src/bundles/bundled-translations.json +3 -1
- package/lib/src/bundles/bundled-translations.pt-BR.json +3 -1
- package/lib/src/bundles/bundled-translations.pt-PT.json +3 -1
- package/lib/src/composables/useTranslate.d.ts +1 -1
- package/lib/src/composables/useTranslate.js +1 -1
- package/lib/src/css/library.brand-page-brandCrowd.min.css +4 -4
- package/lib/src/css/library.brand-page-brandPage.min.css +4 -4
- package/lib/src/css/library.brand-page-designCom.min.css +4 -4
- package/lib/src/css/library.brand-page-preview.min.css +4 -4
- package/lib/src/index.mjs +2 -2
- package/lib/src/{lib-B38VVCSw.js → lib-Dm9AuOJL.js} +16909 -16783
- package/lib/src/metadata-builder/builders/item-id-utils.d.ts +2 -0
- package/lib/src/metadata-builder/builders/item-id-utils.js +8 -2
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +8 -1
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +6 -0
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +5 -0
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +5 -42
- package/lib/src/shared/ecommerce-settings/util/refreshDuplicatedMetadata.d.ts +9 -1
- package/lib/src/shared/ecommerce-settings/util/refreshDuplicatedMetadata.js +31 -9
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +1 -0
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +5 -42
- package/lib/src/shared/page-navigation/store/page-navigation-store.d.ts +2 -1
- package/lib/src/shared/page-navigation/store/page-navigation-store.js +22 -9
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.d.ts +7 -1
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +10 -43
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.js +12 -35
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +6 -42
- package/lib/src/shared/page-settings/duplicate-page.util.d.ts +4 -0
- package/lib/src/shared/page-settings/duplicate-page.util.js +82 -0
- package/lib/src/shared/page-settings/models.d.ts +1 -0
- package/lib/src/shared/page-settings/store/page-settings-store.d.ts +5 -0
- package/lib/src/shared/page-settings/store/page-settings-store.js +90 -7
- package/lib/src/shared/page-settings/utils.d.ts +3 -0
- package/lib/src/shared/page-settings/utils.js +6 -0
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +1 -56
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +0 -42
- package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +1 -0
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +1 -42
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +1 -0
- package/lib/src/tracker.mjs +1 -1
- package/lib/src/{useEventTracker-C5Ql5p7u.js → useEventTracker-DwPTmzpa.js} +13 -3
- package/package.json +1 -1
- package/src/brand-page/models/brand-page-context.model.ts +0 -23
- package/src/brand-page-maker/components/action-bar/ActionBar.mixin.ts +0 -10
- package/src/brand-page-maker/components/action-bar/ActionBarNavigation.test.ts +8 -49
- package/src/brand-page-maker/components/action-bar/ActionBarNavigation.vue +1 -1
- package/src/brand-page-maker/composables/useEventTracker.ts +13 -0
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +2 -4
- package/src/bundles/bundled-translations.de-DE.json +3 -1
- package/src/bundles/bundled-translations.es-ES.json +3 -1
- package/src/bundles/bundled-translations.fr-CA.json +3 -1
- package/src/bundles/bundled-translations.fr-FR.json +3 -1
- package/src/bundles/bundled-translations.json +3 -1
- package/src/bundles/bundled-translations.pt-BR.json +3 -1
- package/src/bundles/bundled-translations.pt-PT.json +3 -1
- package/src/composables/useTranslate.ts +2 -1
- package/src/metadata-builder/builders/item-id-utils.ts +9 -2
- package/src/shared/ecommerce-settings/components/product-config-field/ProductConfigOption.vue +0 -2
- package/src/shared/ecommerce-settings/util/refreshDuplicatedMetadata.ts +32 -10
- package/src/shared/page-navigation/store/page-navigation-store.ts +41 -13
- package/src/shared/page-settings/components/page-settings/NestedDraggable.vue +3 -0
- package/src/shared/page-settings/components/page-settings/PageElement.vue +2 -0
- package/src/shared/page-settings/components/page-settings/PageSettingMenu.test.ts +105 -0
- package/src/shared/page-settings/components/page-settings/PageSettingMenu.vue +16 -0
- package/src/shared/page-settings/components/page-settings/PageSettings.duplicate.test.ts +108 -0
- package/src/shared/page-settings/components/page-settings/PageSettings.mixin.ts +22 -50
- package/src/shared/page-settings/components/page-settings/PageSettings.vue +1 -0
- package/src/shared/page-settings/components/page-settings/i18n/page-settings.de-DE.json +3 -1
- package/src/shared/page-settings/components/page-settings/i18n/page-settings.es-ES.json +3 -1
- package/src/shared/page-settings/components/page-settings/i18n/page-settings.fr-CA.json +3 -1
- package/src/shared/page-settings/components/page-settings/i18n/page-settings.fr-FR.json +3 -1
- package/src/shared/page-settings/components/page-settings/i18n/page-settings.json +3 -1
- package/src/shared/page-settings/components/page-settings/i18n/page-settings.pt-BR.json +3 -1
- package/src/shared/page-settings/components/page-settings/i18n/page-settings.pt-PT.json +3 -1
- package/src/shared/page-settings/duplicate-page.util.test.ts +382 -0
- package/src/shared/page-settings/duplicate-page.util.ts +124 -0
- package/src/shared/page-settings/models.ts +1 -0
- package/src/shared/page-settings/store/page-settings-store.test.ts +441 -1
- package/src/shared/page-settings/store/page-settings-store.ts +145 -11
- package/src/shared/page-settings/utils.ts +10 -0
|
@@ -36,8 +36,6 @@ export interface AbTestResult {
|
|
|
36
36
|
}
|
|
37
37
|
export interface AbTest {
|
|
38
38
|
bp_3926_freemium_watermark?: AbTestResult;
|
|
39
|
-
bp_5873_live_preview_prepurchase?: AbTestResult;
|
|
40
|
-
bp_5873_live_preview_postpurchase?: AbTestResult;
|
|
41
39
|
}
|
|
42
40
|
export declare const MEDIA_SIZES: {
|
|
43
41
|
readonly size1x: "size1x";
|
|
@@ -24,11 +24,6 @@ export const AB_TEST_FLAG = {
|
|
|
24
24
|
};
|
|
25
25
|
const AB_TEST_KEYS = {
|
|
26
26
|
BP_3926_FREEMIUM_WATERMARK: 'bc-bp-3926-freemium-cta-in-website-editor',
|
|
27
|
-
// Two separate live-preview experiments — bc-net sends only the one for the
|
|
28
|
-
// current purchase state, and a user's value on each side is independent
|
|
29
|
-
// (BP-5873). Keys must match `CampaignNames.LivePreview*Test` in bc-net.
|
|
30
|
-
BP_5873_LIVE_PREVIEW_PREPURCHASE: 'bc-bp-5873-live-preview-prepurchase',
|
|
31
|
-
BP_5873_LIVE_PREVIEW_POSTPURCHASE: 'bc-bp-5873-live-preview-postpurchase',
|
|
32
27
|
};
|
|
33
28
|
export const MEDIA_SIZES = {
|
|
34
29
|
size1x: 'size1x',
|
|
@@ -50,12 +45,5 @@ export const getAbTestResults = (abtestKeyValues) => {
|
|
|
50
45
|
if (abtestKeyValues[AB_TEST_KEYS.BP_3926_FREEMIUM_WATERMARK]) {
|
|
51
46
|
abTests.bp_3926_freemium_watermark = getValueType(AB_TEST_KEYS.BP_3926_FREEMIUM_WATERMARK, abtestKeyValues[AB_TEST_KEYS.BP_3926_FREEMIUM_WATERMARK]);
|
|
52
47
|
}
|
|
53
|
-
// AB Test for BP-5873 - Live preview (pre- and post-purchase run separately)
|
|
54
|
-
if (abtestKeyValues[AB_TEST_KEYS.BP_5873_LIVE_PREVIEW_PREPURCHASE]) {
|
|
55
|
-
abTests.bp_5873_live_preview_prepurchase = getValueType(AB_TEST_KEYS.BP_5873_LIVE_PREVIEW_PREPURCHASE, abtestKeyValues[AB_TEST_KEYS.BP_5873_LIVE_PREVIEW_PREPURCHASE]);
|
|
56
|
-
}
|
|
57
|
-
if (abtestKeyValues[AB_TEST_KEYS.BP_5873_LIVE_PREVIEW_POSTPURCHASE]) {
|
|
58
|
-
abTests.bp_5873_live_preview_postpurchase = getValueType(AB_TEST_KEYS.BP_5873_LIVE_PREVIEW_POSTPURCHASE, abtestKeyValues[AB_TEST_KEYS.BP_5873_LIVE_PREVIEW_POSTPURCHASE]);
|
|
59
|
-
}
|
|
60
48
|
return abTests;
|
|
61
49
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
isAdminMaker: import("vue").ComputedRef<boolean>;
|
|
3
|
-
isLivePreviewEnabled: import("vue").ComputedRef<boolean>;
|
|
4
3
|
isSaving: import("vue").ComputedRef<boolean>;
|
|
5
4
|
isPublished: import("vue").ComputedRef<boolean>;
|
|
6
5
|
isPublishButtonEnabled: import("vue").ComputedRef<boolean>;
|
|
@@ -11,15 +11,6 @@ export default defineComponent({
|
|
|
11
11
|
const containerStore = useBrandPageContainerStore();
|
|
12
12
|
return {
|
|
13
13
|
isAdminMaker: computed(() => containerStore.isAdminMaker),
|
|
14
|
-
// BP-5873: the Preview button is behind an AB test, and pre/post purchase are
|
|
15
|
-
// two separate experiments. Pick the one for the current purchase state — a
|
|
16
|
-
// user's value on the other side is independent and must not leak across.
|
|
17
|
-
isLivePreviewEnabled: computed(() => {
|
|
18
|
-
const experiment = containerStore.isPrePurchase
|
|
19
|
-
? containerStore.abTests.bp_5873_live_preview_prepurchase
|
|
20
|
-
: containerStore.abTests.bp_5873_live_preview_postpurchase;
|
|
21
|
-
return !!experiment?.isVariation;
|
|
22
|
-
}),
|
|
23
14
|
isSaving: computed(() => brandPageMakerStore.isSaving),
|
|
24
15
|
isPublished: computed(() => brandPageMakerStore.isPublished),
|
|
25
16
|
isPublishButtonEnabled: computed(() => brandPageMakerStore.isPublishButtonEnabled),
|
|
@@ -292,20 +292,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
292
292
|
isVariation: boolean;
|
|
293
293
|
isExcluded: boolean;
|
|
294
294
|
} | undefined;
|
|
295
|
-
bp_5873_live_preview_prepurchase?: {
|
|
296
|
-
key: string;
|
|
297
|
-
value: string;
|
|
298
|
-
isControl: boolean;
|
|
299
|
-
isVariation: boolean;
|
|
300
|
-
isExcluded: boolean;
|
|
301
|
-
} | undefined;
|
|
302
|
-
bp_5873_live_preview_postpurchase?: {
|
|
303
|
-
key: string;
|
|
304
|
-
value: string;
|
|
305
|
-
isControl: boolean;
|
|
306
|
-
isVariation: boolean;
|
|
307
|
-
isExcluded: boolean;
|
|
308
|
-
} | undefined;
|
|
309
295
|
};
|
|
310
296
|
isSubsequentPublish: boolean;
|
|
311
297
|
isContextualUpgradeModalVisible: boolean;
|
|
@@ -381,20 +367,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
381
367
|
isVariation: boolean;
|
|
382
368
|
isExcluded: boolean;
|
|
383
369
|
} | undefined;
|
|
384
|
-
bp_5873_live_preview_prepurchase?: {
|
|
385
|
-
key: string;
|
|
386
|
-
value: string;
|
|
387
|
-
isControl: boolean;
|
|
388
|
-
isVariation: boolean;
|
|
389
|
-
isExcluded: boolean;
|
|
390
|
-
} | undefined;
|
|
391
|
-
bp_5873_live_preview_postpurchase?: {
|
|
392
|
-
key: string;
|
|
393
|
-
value: string;
|
|
394
|
-
isControl: boolean;
|
|
395
|
-
isVariation: boolean;
|
|
396
|
-
isExcluded: boolean;
|
|
397
|
-
} | undefined;
|
|
398
370
|
};
|
|
399
371
|
isSubsequentPublish: boolean;
|
|
400
372
|
isContextualUpgradeModalVisible: boolean;
|
|
@@ -470,20 +442,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
470
442
|
isVariation: boolean;
|
|
471
443
|
isExcluded: boolean;
|
|
472
444
|
} | undefined;
|
|
473
|
-
bp_5873_live_preview_prepurchase?: {
|
|
474
|
-
key: string;
|
|
475
|
-
value: string;
|
|
476
|
-
isControl: boolean;
|
|
477
|
-
isVariation: boolean;
|
|
478
|
-
isExcluded: boolean;
|
|
479
|
-
} | undefined;
|
|
480
|
-
bp_5873_live_preview_postpurchase?: {
|
|
481
|
-
key: string;
|
|
482
|
-
value: string;
|
|
483
|
-
isControl: boolean;
|
|
484
|
-
isVariation: boolean;
|
|
485
|
-
isExcluded: boolean;
|
|
486
|
-
} | undefined;
|
|
487
445
|
};
|
|
488
446
|
isSubsequentPublish: boolean;
|
|
489
447
|
isContextualUpgradeModalVisible: boolean;
|
|
@@ -1107,6 +1065,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1107
1065
|
setPages({ pages }: {
|
|
1108
1066
|
pages: import("../../../shared/page-settings/models").ContentPage[];
|
|
1109
1067
|
}): void;
|
|
1068
|
+
syncPagesWithOrders(): void;
|
|
1069
|
+
showPageLimitUpgradeModalAsync(ctaLocation: string): Promise<void>;
|
|
1110
1070
|
setNewPageModalVisibilityAsync({ isNewPageModalVisible, parentPageId, }: {
|
|
1111
1071
|
isNewPageModalVisible: boolean;
|
|
1112
1072
|
parentPageId?: string;
|
|
@@ -1156,6 +1116,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1156
1116
|
title: string;
|
|
1157
1117
|
newPageParentId?: string;
|
|
1158
1118
|
}): import("../../../shared/page-settings/models").ContentPage;
|
|
1119
|
+
duplicatePage({ pageId, }: {
|
|
1120
|
+
pageId: string;
|
|
1121
|
+
}): Promise<import("../../../shared/page-settings/models").ContentPage | undefined>;
|
|
1159
1122
|
setSelectedSectionName({ sectionName, }: {
|
|
1160
1123
|
sectionName?: import("@shared/page-settings/store").PageSettingsSection;
|
|
1161
1124
|
}): void;
|
|
@@ -1403,6 +1366,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1403
1366
|
hasVisibleNavigation(): boolean;
|
|
1404
1367
|
}, {
|
|
1405
1368
|
getPageSlugsForDepth(parentRouteId?: string): string[];
|
|
1369
|
+
getDisplayNamesForDepth(parentRouteId?: string): string[];
|
|
1406
1370
|
getParentRouteIdForPage(pageId: string): string | undefined;
|
|
1407
1371
|
getParentRouteIdForRoute(routeId: string): string | undefined;
|
|
1408
1372
|
getFirstOrDefaultRoute(): import("@brand-page").NavRoute;
|
|
@@ -1415,7 +1379,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1415
1379
|
setNav({ nav }: {
|
|
1416
1380
|
nav: import("@brand-page").NavModel;
|
|
1417
1381
|
}): void;
|
|
1418
|
-
addNavRoute(newRoute: import("@brand-page").NavRoute, parentRouteId?: string): void;
|
|
1382
|
+
addNavRoute(newRoute: import("@brand-page").NavRoute, parentRouteId?: string, insertAfterRouteId?: string): void;
|
|
1419
1383
|
removeNavRoute(routeId: string): void;
|
|
1420
1384
|
onDisplayNameChange(routeId: string, newDisplayName: string): void;
|
|
1421
1385
|
setRouteTitleAndSlugByPageId(pageId: string, displayName: string, slug: string): void;
|
package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts
CHANGED
|
@@ -706,20 +706,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
706
706
|
isVariation: boolean;
|
|
707
707
|
isExcluded: boolean;
|
|
708
708
|
} | undefined;
|
|
709
|
-
bp_5873_live_preview_prepurchase?: {
|
|
710
|
-
key: string;
|
|
711
|
-
value: string;
|
|
712
|
-
isControl: boolean;
|
|
713
|
-
isVariation: boolean;
|
|
714
|
-
isExcluded: boolean;
|
|
715
|
-
} | undefined;
|
|
716
|
-
bp_5873_live_preview_postpurchase?: {
|
|
717
|
-
key: string;
|
|
718
|
-
value: string;
|
|
719
|
-
isControl: boolean;
|
|
720
|
-
isVariation: boolean;
|
|
721
|
-
isExcluded: boolean;
|
|
722
|
-
} | undefined;
|
|
723
709
|
};
|
|
724
710
|
isSubsequentPublish: boolean;
|
|
725
711
|
isContextualUpgradeModalVisible: boolean;
|
|
@@ -795,20 +781,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
795
781
|
isVariation: boolean;
|
|
796
782
|
isExcluded: boolean;
|
|
797
783
|
} | undefined;
|
|
798
|
-
bp_5873_live_preview_prepurchase?: {
|
|
799
|
-
key: string;
|
|
800
|
-
value: string;
|
|
801
|
-
isControl: boolean;
|
|
802
|
-
isVariation: boolean;
|
|
803
|
-
isExcluded: boolean;
|
|
804
|
-
} | undefined;
|
|
805
|
-
bp_5873_live_preview_postpurchase?: {
|
|
806
|
-
key: string;
|
|
807
|
-
value: string;
|
|
808
|
-
isControl: boolean;
|
|
809
|
-
isVariation: boolean;
|
|
810
|
-
isExcluded: boolean;
|
|
811
|
-
} | undefined;
|
|
812
784
|
};
|
|
813
785
|
isSubsequentPublish: boolean;
|
|
814
786
|
isContextualUpgradeModalVisible: boolean;
|
|
@@ -884,20 +856,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
884
856
|
isVariation: boolean;
|
|
885
857
|
isExcluded: boolean;
|
|
886
858
|
} | undefined;
|
|
887
|
-
bp_5873_live_preview_prepurchase?: {
|
|
888
|
-
key: string;
|
|
889
|
-
value: string;
|
|
890
|
-
isControl: boolean;
|
|
891
|
-
isVariation: boolean;
|
|
892
|
-
isExcluded: boolean;
|
|
893
|
-
} | undefined;
|
|
894
|
-
bp_5873_live_preview_postpurchase?: {
|
|
895
|
-
key: string;
|
|
896
|
-
value: string;
|
|
897
|
-
isControl: boolean;
|
|
898
|
-
isVariation: boolean;
|
|
899
|
-
isExcluded: boolean;
|
|
900
|
-
} | undefined;
|
|
901
859
|
};
|
|
902
860
|
isSubsequentPublish: boolean;
|
|
903
861
|
isContextualUpgradeModalVisible: boolean;
|
|
@@ -1090,6 +1048,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1090
1048
|
setPages({ pages }: {
|
|
1091
1049
|
pages: import("@shared/page-settings/models").ContentPage[];
|
|
1092
1050
|
}): void;
|
|
1051
|
+
syncPagesWithOrders(): void;
|
|
1052
|
+
showPageLimitUpgradeModalAsync(ctaLocation: string): Promise<void>;
|
|
1093
1053
|
setNewPageModalVisibilityAsync({ isNewPageModalVisible, parentPageId, }: {
|
|
1094
1054
|
isNewPageModalVisible: boolean;
|
|
1095
1055
|
parentPageId?: string;
|
|
@@ -1139,6 +1099,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1139
1099
|
title: string;
|
|
1140
1100
|
newPageParentId?: string;
|
|
1141
1101
|
}): import("@shared/page-settings/models").ContentPage;
|
|
1102
|
+
duplicatePage({ pageId, }: {
|
|
1103
|
+
pageId: string;
|
|
1104
|
+
}): Promise<import("@shared/page-settings/models").ContentPage | undefined>;
|
|
1142
1105
|
setSelectedSectionName({ sectionName, }: {
|
|
1143
1106
|
sectionName?: import("@shared/page-settings/store").PageSettingsSection;
|
|
1144
1107
|
}): void;
|
|
@@ -1195,6 +1158,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1195
1158
|
sendWebsiteManageAddPageEvent: (pageName: string, isSubPageMode?: boolean) => void;
|
|
1196
1159
|
sendWebsiteManageRemovePageEvent: (pageName: string, isRouteNested?: boolean) => void;
|
|
1197
1160
|
sendWebsiteManageReorderPageEvent: (pageName: string) => void;
|
|
1161
|
+
sendWebsiteManageDuplicatePageEvent: (sourcePageName: string, isSubPage?: boolean) => void;
|
|
1198
1162
|
sendPublishOptionsForFreeEvent: () => void;
|
|
1199
1163
|
sendPublishOptionsForPremiumEvent: () => void;
|
|
1200
1164
|
sendPublishOptionsForExitEvent: () => void;
|
|
@@ -41,20 +41,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
41
41
|
isVariation: boolean;
|
|
42
42
|
isExcluded: boolean;
|
|
43
43
|
} | undefined;
|
|
44
|
-
bp_5873_live_preview_prepurchase?: {
|
|
45
|
-
key: string;
|
|
46
|
-
value: string;
|
|
47
|
-
isControl: boolean;
|
|
48
|
-
isVariation: boolean;
|
|
49
|
-
isExcluded: boolean;
|
|
50
|
-
} | undefined;
|
|
51
|
-
bp_5873_live_preview_postpurchase?: {
|
|
52
|
-
key: string;
|
|
53
|
-
value: string;
|
|
54
|
-
isControl: boolean;
|
|
55
|
-
isVariation: boolean;
|
|
56
|
-
isExcluded: boolean;
|
|
57
|
-
} | undefined;
|
|
58
44
|
};
|
|
59
45
|
}, {
|
|
60
46
|
containerClientHeight: number | undefined;
|
|
@@ -78,20 +78,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
78
78
|
isVariation: boolean;
|
|
79
79
|
isExcluded: boolean;
|
|
80
80
|
} | undefined;
|
|
81
|
-
bp_5873_live_preview_prepurchase?: {
|
|
82
|
-
key: string;
|
|
83
|
-
value: string;
|
|
84
|
-
isControl: boolean;
|
|
85
|
-
isVariation: boolean;
|
|
86
|
-
isExcluded: boolean;
|
|
87
|
-
} | undefined;
|
|
88
|
-
bp_5873_live_preview_postpurchase?: {
|
|
89
|
-
key: string;
|
|
90
|
-
value: string;
|
|
91
|
-
isControl: boolean;
|
|
92
|
-
isVariation: boolean;
|
|
93
|
-
isExcluded: boolean;
|
|
94
|
-
} | undefined;
|
|
95
81
|
};
|
|
96
82
|
isSubsequentPublish: boolean;
|
|
97
83
|
isContextualUpgradeModalVisible: boolean;
|
|
@@ -167,20 +153,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
167
153
|
isVariation: boolean;
|
|
168
154
|
isExcluded: boolean;
|
|
169
155
|
} | undefined;
|
|
170
|
-
bp_5873_live_preview_prepurchase?: {
|
|
171
|
-
key: string;
|
|
172
|
-
value: string;
|
|
173
|
-
isControl: boolean;
|
|
174
|
-
isVariation: boolean;
|
|
175
|
-
isExcluded: boolean;
|
|
176
|
-
} | undefined;
|
|
177
|
-
bp_5873_live_preview_postpurchase?: {
|
|
178
|
-
key: string;
|
|
179
|
-
value: string;
|
|
180
|
-
isControl: boolean;
|
|
181
|
-
isVariation: boolean;
|
|
182
|
-
isExcluded: boolean;
|
|
183
|
-
} | undefined;
|
|
184
156
|
};
|
|
185
157
|
isSubsequentPublish: boolean;
|
|
186
158
|
isContextualUpgradeModalVisible: boolean;
|
|
@@ -256,20 +228,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
256
228
|
isVariation: boolean;
|
|
257
229
|
isExcluded: boolean;
|
|
258
230
|
} | undefined;
|
|
259
|
-
bp_5873_live_preview_prepurchase?: {
|
|
260
|
-
key: string;
|
|
261
|
-
value: string;
|
|
262
|
-
isControl: boolean;
|
|
263
|
-
isVariation: boolean;
|
|
264
|
-
isExcluded: boolean;
|
|
265
|
-
} | undefined;
|
|
266
|
-
bp_5873_live_preview_postpurchase?: {
|
|
267
|
-
key: string;
|
|
268
|
-
value: string;
|
|
269
|
-
isControl: boolean;
|
|
270
|
-
isVariation: boolean;
|
|
271
|
-
isExcluded: boolean;
|
|
272
|
-
} | undefined;
|
|
273
231
|
};
|
|
274
232
|
isSubsequentPublish: boolean;
|
|
275
233
|
isContextualUpgradeModalVisible: boolean;
|
|
@@ -94,20 +94,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
94
94
|
isVariation: boolean;
|
|
95
95
|
isExcluded: boolean;
|
|
96
96
|
} | undefined;
|
|
97
|
-
bp_5873_live_preview_prepurchase?: {
|
|
98
|
-
key: string;
|
|
99
|
-
value: string;
|
|
100
|
-
isControl: boolean;
|
|
101
|
-
isVariation: boolean;
|
|
102
|
-
isExcluded: boolean;
|
|
103
|
-
} | undefined;
|
|
104
|
-
bp_5873_live_preview_postpurchase?: {
|
|
105
|
-
key: string;
|
|
106
|
-
value: string;
|
|
107
|
-
isControl: boolean;
|
|
108
|
-
isVariation: boolean;
|
|
109
|
-
isExcluded: boolean;
|
|
110
|
-
} | undefined;
|
|
111
97
|
};
|
|
112
98
|
isSubsequentPublish: boolean;
|
|
113
99
|
isContextualUpgradeModalVisible: boolean;
|
|
@@ -183,20 +169,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
183
169
|
isVariation: boolean;
|
|
184
170
|
isExcluded: boolean;
|
|
185
171
|
} | undefined;
|
|
186
|
-
bp_5873_live_preview_prepurchase?: {
|
|
187
|
-
key: string;
|
|
188
|
-
value: string;
|
|
189
|
-
isControl: boolean;
|
|
190
|
-
isVariation: boolean;
|
|
191
|
-
isExcluded: boolean;
|
|
192
|
-
} | undefined;
|
|
193
|
-
bp_5873_live_preview_postpurchase?: {
|
|
194
|
-
key: string;
|
|
195
|
-
value: string;
|
|
196
|
-
isControl: boolean;
|
|
197
|
-
isVariation: boolean;
|
|
198
|
-
isExcluded: boolean;
|
|
199
|
-
} | undefined;
|
|
200
172
|
};
|
|
201
173
|
isSubsequentPublish: boolean;
|
|
202
174
|
isContextualUpgradeModalVisible: boolean;
|
|
@@ -272,20 +244,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
272
244
|
isVariation: boolean;
|
|
273
245
|
isExcluded: boolean;
|
|
274
246
|
} | undefined;
|
|
275
|
-
bp_5873_live_preview_prepurchase?: {
|
|
276
|
-
key: string;
|
|
277
|
-
value: string;
|
|
278
|
-
isControl: boolean;
|
|
279
|
-
isVariation: boolean;
|
|
280
|
-
isExcluded: boolean;
|
|
281
|
-
} | undefined;
|
|
282
|
-
bp_5873_live_preview_postpurchase?: {
|
|
283
|
-
key: string;
|
|
284
|
-
value: string;
|
|
285
|
-
isControl: boolean;
|
|
286
|
-
isVariation: boolean;
|
|
287
|
-
isExcluded: boolean;
|
|
288
|
-
} | undefined;
|
|
289
247
|
};
|
|
290
248
|
isSubsequentPublish: boolean;
|
|
291
249
|
isContextualUpgradeModalVisible: boolean;
|
|
@@ -99,20 +99,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
99
99
|
isVariation: boolean;
|
|
100
100
|
isExcluded: boolean;
|
|
101
101
|
} | undefined;
|
|
102
|
-
bp_5873_live_preview_prepurchase?: {
|
|
103
|
-
key: string;
|
|
104
|
-
value: string;
|
|
105
|
-
isControl: boolean;
|
|
106
|
-
isVariation: boolean;
|
|
107
|
-
isExcluded: boolean;
|
|
108
|
-
} | undefined;
|
|
109
|
-
bp_5873_live_preview_postpurchase?: {
|
|
110
|
-
key: string;
|
|
111
|
-
value: string;
|
|
112
|
-
isControl: boolean;
|
|
113
|
-
isVariation: boolean;
|
|
114
|
-
isExcluded: boolean;
|
|
115
|
-
} | undefined;
|
|
116
102
|
};
|
|
117
103
|
isSubsequentPublish: boolean;
|
|
118
104
|
isContextualUpgradeModalVisible: boolean;
|
|
@@ -188,20 +174,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
188
174
|
isVariation: boolean;
|
|
189
175
|
isExcluded: boolean;
|
|
190
176
|
} | undefined;
|
|
191
|
-
bp_5873_live_preview_prepurchase?: {
|
|
192
|
-
key: string;
|
|
193
|
-
value: string;
|
|
194
|
-
isControl: boolean;
|
|
195
|
-
isVariation: boolean;
|
|
196
|
-
isExcluded: boolean;
|
|
197
|
-
} | undefined;
|
|
198
|
-
bp_5873_live_preview_postpurchase?: {
|
|
199
|
-
key: string;
|
|
200
|
-
value: string;
|
|
201
|
-
isControl: boolean;
|
|
202
|
-
isVariation: boolean;
|
|
203
|
-
isExcluded: boolean;
|
|
204
|
-
} | undefined;
|
|
205
177
|
};
|
|
206
178
|
isSubsequentPublish: boolean;
|
|
207
179
|
isContextualUpgradeModalVisible: boolean;
|
|
@@ -277,20 +249,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
277
249
|
isVariation: boolean;
|
|
278
250
|
isExcluded: boolean;
|
|
279
251
|
} | undefined;
|
|
280
|
-
bp_5873_live_preview_prepurchase?: {
|
|
281
|
-
key: string;
|
|
282
|
-
value: string;
|
|
283
|
-
isControl: boolean;
|
|
284
|
-
isVariation: boolean;
|
|
285
|
-
isExcluded: boolean;
|
|
286
|
-
} | undefined;
|
|
287
|
-
bp_5873_live_preview_postpurchase?: {
|
|
288
|
-
key: string;
|
|
289
|
-
value: string;
|
|
290
|
-
isControl: boolean;
|
|
291
|
-
isVariation: boolean;
|
|
292
|
-
isExcluded: boolean;
|
|
293
|
-
} | undefined;
|
|
294
252
|
};
|
|
295
253
|
isSubsequentPublish: boolean;
|
|
296
254
|
isContextualUpgradeModalVisible: boolean;
|
|
@@ -80,20 +80,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
80
80
|
isVariation: boolean;
|
|
81
81
|
isExcluded: boolean;
|
|
82
82
|
} | undefined;
|
|
83
|
-
bp_5873_live_preview_prepurchase?: {
|
|
84
|
-
key: string;
|
|
85
|
-
value: string;
|
|
86
|
-
isControl: boolean;
|
|
87
|
-
isVariation: boolean;
|
|
88
|
-
isExcluded: boolean;
|
|
89
|
-
} | undefined;
|
|
90
|
-
bp_5873_live_preview_postpurchase?: {
|
|
91
|
-
key: string;
|
|
92
|
-
value: string;
|
|
93
|
-
isControl: boolean;
|
|
94
|
-
isVariation: boolean;
|
|
95
|
-
isExcluded: boolean;
|
|
96
|
-
} | undefined;
|
|
97
83
|
};
|
|
98
84
|
isSubsequentPublish: boolean;
|
|
99
85
|
isContextualUpgradeModalVisible: boolean;
|
|
@@ -169,20 +155,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
169
155
|
isVariation: boolean;
|
|
170
156
|
isExcluded: boolean;
|
|
171
157
|
} | undefined;
|
|
172
|
-
bp_5873_live_preview_prepurchase?: {
|
|
173
|
-
key: string;
|
|
174
|
-
value: string;
|
|
175
|
-
isControl: boolean;
|
|
176
|
-
isVariation: boolean;
|
|
177
|
-
isExcluded: boolean;
|
|
178
|
-
} | undefined;
|
|
179
|
-
bp_5873_live_preview_postpurchase?: {
|
|
180
|
-
key: string;
|
|
181
|
-
value: string;
|
|
182
|
-
isControl: boolean;
|
|
183
|
-
isVariation: boolean;
|
|
184
|
-
isExcluded: boolean;
|
|
185
|
-
} | undefined;
|
|
186
158
|
};
|
|
187
159
|
isSubsequentPublish: boolean;
|
|
188
160
|
isContextualUpgradeModalVisible: boolean;
|
|
@@ -258,20 +230,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
258
230
|
isVariation: boolean;
|
|
259
231
|
isExcluded: boolean;
|
|
260
232
|
} | undefined;
|
|
261
|
-
bp_5873_live_preview_prepurchase?: {
|
|
262
|
-
key: string;
|
|
263
|
-
value: string;
|
|
264
|
-
isControl: boolean;
|
|
265
|
-
isVariation: boolean;
|
|
266
|
-
isExcluded: boolean;
|
|
267
|
-
} | undefined;
|
|
268
|
-
bp_5873_live_preview_postpurchase?: {
|
|
269
|
-
key: string;
|
|
270
|
-
value: string;
|
|
271
|
-
isControl: boolean;
|
|
272
|
-
isVariation: boolean;
|
|
273
|
-
isExcluded: boolean;
|
|
274
|
-
} | undefined;
|
|
275
233
|
};
|
|
276
234
|
isSubsequentPublish: boolean;
|
|
277
235
|
isContextualUpgradeModalVisible: boolean;
|