@designcrowd/library.brand-page 6.1.3 → 6.1.4-ast-prepurchase
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-Lk8J1vHg.js → CreatedOnBrandCrowd-de-de-BFDE6VfS.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-BbXj5fb1.js → CreatedOnBrandCrowd-en-us-CRhl6-Cd.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-CjnqvYCi.js → CreatedOnBrandCrowd-es-es-VaP_-7dv.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-Dbjv4qpN.js → CreatedOnBrandCrowd-fr-ca-BySGqvWO.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-Dbjv4qpN.js → CreatedOnBrandCrowd-fr-fr-BySGqvWO.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-BZIOPEvL.js → CreatedOnBrandCrowd-pt-br-BHjXVcSk.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-BZIOPEvL.js → CreatedOnBrandCrowd-pt-pt-BHjXVcSk.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-aN4JMRDI.js → CreatedOnDcom-de-de-DIFO5IZY.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-f3VD6Pz4.js → CreatedOnDcom-en-us-CcpDa04T.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-CQhNdtRP.js → CreatedOnDcom-es-es-DHwY0lWp.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-CFsC_XoO.js → CreatedOnDcom-fr-ca-BP3P0hJL.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-J4ZtCBO9.js → CreatedOnDcom-fr-fr-Bai1giy3.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-C1yFugh_.js → CreatedOnDcom-pt-br-GgKiDrbK.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-ycOo5lDn.js → CreatedOnDcom-pt-pt-uuuxCYR3.js} +1 -1
- package/lib/src/PreviewModal-DY2aAN0a.js +19931 -0
- package/lib/src/brand-page/components/page-footer/PageFooter.mixin.d.ts +0 -1
- package/lib/src/brand-page/components/page-footer/PageFooter.mixin.js +1 -4
- package/lib/src/brand-page/models/brand-page-context.model.d.ts +2 -0
- package/lib/src/brand-page/models/brand-page-context.model.js +12 -0
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +2 -0
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.js +14 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +134 -0
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +50 -0
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +130 -0
- package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.d.ts +1 -0
- package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.js +3 -0
- package/lib/src/brand-page-maker/components/preview/Preview.mixin.d.ts +14 -0
- package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +130 -0
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +130 -0
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +130 -0
- package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +130 -0
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +130 -0
- package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +130 -0
- package/lib/src/brand-page-maker/composables/useEventTracker.d.ts +1 -0
- package/lib/src/brand-page-maker/composables/useEventTracker.js +1 -0
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +132 -0
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +22 -6
- package/lib/src/bundled-translations-D42tE0D2.js +179 -0
- package/lib/src/bundled-translations.de-DE-D9aWGgFt.js +179 -0
- package/lib/src/bundled-translations.es-ES-lk4B0xQ7.js +179 -0
- package/lib/src/bundled-translations.fr-CA-DhOBNt6q.js +179 -0
- package/lib/src/bundled-translations.fr-FR-CnpafQeG.js +179 -0
- package/lib/src/bundled-translations.pt-BR-C4PnKrd9.js +179 -0
- package/lib/src/bundled-translations.pt-PT-CfKDVQC-.js +179 -0
- package/lib/src/bundles/bundled-translations.de-DE.json +5 -0
- package/lib/src/bundles/bundled-translations.es-ES.json +5 -0
- package/lib/src/bundles/bundled-translations.fr-CA.json +5 -0
- package/lib/src/bundles/bundled-translations.fr-FR.json +5 -0
- package/lib/src/bundles/bundled-translations.json +5 -0
- package/lib/src/bundles/bundled-translations.pt-BR.json +5 -0
- package/lib/src/bundles/bundled-translations.pt-PT.json +5 -0
- package/lib/src/clients/brand-page-client.d.ts +1 -0
- package/lib/src/composables/useTranslate.d.ts +2 -1
- package/lib/src/composables/useTranslate.js +2 -1
- package/lib/src/constants/brand-page-maker.d.ts +2 -0
- package/lib/src/constants/brand-page-maker.js +5 -0
- package/lib/src/constants/live-preview.constants.d.ts +15 -0
- package/lib/src/constants/live-preview.constants.js +15 -0
- package/lib/src/css/library.brand-page-brandCrowd.min.css +264 -121
- package/lib/src/css/library.brand-page-brandPage.min.css +268 -121
- package/lib/src/css/library.brand-page-designCom.min.css +264 -121
- package/lib/src/css/library.brand-page-preview.min.css +264 -121
- package/lib/src/index.d.ts +2 -1
- package/lib/src/index.mjs +102150 -225
- package/lib/src/lib.js +2 -1
- package/lib/src/preview-modal.d.ts +5 -0
- package/lib/src/preview-modal.js +12 -0
- package/lib/src/preview-modal.mjs +6 -0
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +130 -0
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +130 -0
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +130 -0
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +130 -0
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +144 -0
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +130 -0
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +130 -0
- package/lib/src/tracker.mjs +1 -1
- package/lib/src/{useEventTracker-DmQ6AkNn.js → useEventTracker-Dmc2jFdN.js} +5 -4
- package/package.json +5 -1
- package/src/brand-page/components/button/Button.vue +11 -0
- package/src/brand-page/components/button/Button.vue.test.ts +90 -0
- package/src/brand-page/components/image-gallery/masonry/MasonryGallery.vue +1 -0
- package/src/brand-page/components/images-section/ImagesSection.vue +10 -0
- package/src/brand-page/components/media/Video.vue +60 -1
- package/src/brand-page/components/page-footer/PageFooter.mixin.ts +1 -4
- package/src/brand-page/components/page-footer/PageFooter.vue +0 -1
- package/src/brand-page/components/payment/Payment.vue +3 -0
- package/src/brand-page/components/payment/request-payment/RequestPayment.vue +1 -0
- package/src/brand-page/components/payment/support-me/SupportMe.vue +3 -0
- package/src/brand-page/components/shop/CartModal.vue +9 -0
- package/src/brand-page/components/shop/Shop.vue +19 -0
- package/src/brand-page/components/shop/Shop.vue.test.ts +182 -2
- package/src/brand-page/components/social-links/SocialLinks.vue +1 -9
- package/src/brand-page/components/social-links/SocialLinks.vue.test.ts +28 -8
- package/src/brand-page/components/social-links/SocialLinksItems.vue +6 -2
- package/src/brand-page/components/testimonial-section/TestimonialSection.vue +2 -2
- package/src/brand-page/components/video/Video.vue +3 -0
- package/src/brand-page/models/brand-page-context.model.ts +23 -0
- package/src/brand-page-maker/components/action-bar/ActionBar.mixin.ts +15 -0
- package/src/brand-page-maker/components/action-bar/ActionBarNavigation.test.ts +95 -0
- package/src/brand-page-maker/components/action-bar/ActionBarNavigation.vue +19 -4
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +57 -0
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.preview-gate.test.ts +113 -0
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.vue +26 -1
- package/src/brand-page-maker/components/navigation/Navigation.mixin.ts +3 -0
- package/src/brand-page-maker/components/navigation/Navigation.vue +1 -0
- package/src/brand-page-maker/components/preview-modal/PreviewModal.test.ts +162 -0
- package/src/brand-page-maker/components/preview-modal/PreviewModal.vue +347 -0
- package/src/brand-page-maker/components/preview-modal/PreviewModalWithState.test.ts +226 -0
- package/src/brand-page-maker/components/preview-modal/PreviewModalWithState.vue +149 -0
- package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.de-DE.json +6 -0
- package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.es-ES.json +6 -0
- package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.fr-CA.json +6 -0
- package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.fr-FR.json +6 -0
- package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.json +6 -0
- package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.pt-BR.json +6 -0
- package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.pt-PT.json +6 -0
- package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +29 -17
- package/src/brand-page-maker/composables/useEventTracker.ts +1 -0
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.save.test.ts +106 -0
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +40 -8
- package/src/bundles/bundled-translations.de-DE.json +5 -0
- package/src/bundles/bundled-translations.es-ES.json +5 -0
- package/src/bundles/bundled-translations.fr-CA.json +5 -0
- package/src/bundles/bundled-translations.fr-FR.json +5 -0
- package/src/bundles/bundled-translations.json +5 -0
- package/src/bundles/bundled-translations.pt-BR.json +5 -0
- package/src/bundles/bundled-translations.pt-PT.json +5 -0
- package/src/clients/brand-page-client.ts +2 -0
- package/src/composables/useTranslate.ts +2 -0
- package/src/constants/brand-page-maker.ts +5 -0
- package/src/constants/live-preview.constants.ts +15 -0
- package/src/lib.ts +5 -1
- package/src/preview-modal.ts +14 -0
- package/src/shared/common/i18n/common.de-DE.json +1 -0
- package/src/shared/common/i18n/common.es-ES.json +1 -0
- package/src/shared/common/i18n/common.fr-CA.json +1 -0
- package/src/shared/common/i18n/common.fr-FR.json +1 -0
- package/src/shared/common/i18n/common.json +1 -0
- package/src/shared/common/i18n/common.pt-BR.json +1 -0
- package/src/shared/common/i18n/common.pt-PT.json +1 -0
- package/src/shared/ecommerce-settings/store/cart-store.test.ts +38 -0
- package/lib/src/bundled-translations-2HkRBbBD.js +0 -177
- package/lib/src/bundled-translations.de-DE-CL9ZEhU2.js +0 -177
- package/lib/src/bundled-translations.es-ES-uj7Sliu0.js +0 -177
- package/lib/src/bundled-translations.fr-CA-BMnBtr_w.js +0 -177
- package/lib/src/bundled-translations.fr-FR-9PEZedzq.js +0 -177
- package/lib/src/bundled-translations.pt-BR-B3oNDkoe.js +0 -177
- package/lib/src/bundled-translations.pt-PT-DM7Vsf-h.js +0 -177
- package/lib/src/lib-CVwyHyBz.js +0 -121538
package/lib/src/lib.js
CHANGED
|
@@ -8,6 +8,7 @@ export * from './brand-page/utils/content-callback-util';
|
|
|
8
8
|
// constants
|
|
9
9
|
export { DEFAULT_FONT_FAMILY_KEY, DEFAULT_LOGO_TEXT_COLOR_RGB, DEFAULT_LOGO_BACKGROUND_COLOR_RGB, FONT_FAMILY_CONFIGS, isGoogleType, isUrlType, HEADER_DISPLAY, NAVIGATION_DISPLAY, STYLE_THEME_KEYS, RECAPTCHA_ACTION_MAILING_LIST, RECAPTCHA_ACTION_CONTACT_FORM, RECAPTCHA_MIN_SCORE, } from './brand-page/constants';
|
|
10
10
|
export * from './brand-page-maker/constants';
|
|
11
|
+
export { LIVE_PREVIEW_MESSAGES } from './constants/live-preview.constants';
|
|
11
12
|
export * as BackgroundShapeStarterKit from './brand-page-maker/components/brand-page-maker/starter-kits/background-shapes';
|
|
12
13
|
export * as BackgroundColorsStarterKit from './brand-page-maker/components/brand-page-maker/starter-kits/background-colors';
|
|
13
14
|
export * as BackgroundGradientStarterKit from './brand-page-maker/components/brand-page-maker/starter-kits/background-gradients';
|
|
@@ -40,7 +41,7 @@ export { getPageSlugFromPageTitle } from './brand-page-maker/utils/slug.util';
|
|
|
40
41
|
// target page by slug. These three symbols are otherwise internal to the
|
|
41
42
|
// metadata-builder / route utils.
|
|
42
43
|
export { executeToolCallsAsync } from './metadata-builder/ai-metadata-executor';
|
|
43
|
-
export { findNavItemByPageSlug } from './brand-page/utils/route.util';
|
|
44
|
+
export { findNavItemByPageSlug, findNavItemByRelativePath, } from './brand-page/utils/route.util';
|
|
44
45
|
// Tiptap-JSON RTE -> HTML (same converter the metadata builders use). Lets the
|
|
45
46
|
// preview render the agent's raw Tiptap fields, which the renderer expects as HTML.
|
|
46
47
|
export { tiptapJsonToHtml } from './metadata-builder/helpers/rte.helpers';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as PreviewModal } from './brand-page-maker/components/preview-modal/PreviewModal.vue';
|
|
2
|
+
export { LIVE_PREVIEW_MESSAGES } from './constants/live-preview.constants';
|
|
3
|
+
export { setLocaleAsync } from './composables/useTranslate';
|
|
4
|
+
export type { UiDeviceMode } from './shared/models';
|
|
5
|
+
export type { LocaleTypes } from './composables/useTranslate';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Lightweight subpath entry: `@designcrowd/library.brand-page/preview-modal`.
|
|
2
|
+
// Re-exports ONLY the stateless PreviewModal shell (previewUrl + cta, no maker
|
|
3
|
+
// store), so consumers (the BrandCrowd.Nuxt search page) can open the live-preview
|
|
4
|
+
// modal without pulling the full library graph (maker, TipTap, renderer). The
|
|
5
|
+
// multi-entry build hoists the shared deps into a chunk shared with `index` —
|
|
6
|
+
// verified maker/TipTap-free at build time.
|
|
7
|
+
//
|
|
8
|
+
// `setLocaleAsync` is exported alongside the component because the modal renders
|
|
9
|
+
// its labels via i18n; without initialising the locale first they show as raw keys.
|
|
10
|
+
export { default as PreviewModal } from './brand-page-maker/components/preview-modal/PreviewModal.vue';
|
|
11
|
+
export { LIVE_PREVIEW_MESSAGES } from './constants/live-preview.constants';
|
|
12
|
+
export { setLocaleAsync } from './composables/useTranslate';
|
|
@@ -96,11 +96,27 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
96
96
|
isVariation: boolean;
|
|
97
97
|
isExcluded: boolean;
|
|
98
98
|
} | undefined;
|
|
99
|
+
bp_5873_live_preview_prepurchase?: {
|
|
100
|
+
key: string;
|
|
101
|
+
value: string;
|
|
102
|
+
isControl: boolean;
|
|
103
|
+
isVariation: boolean;
|
|
104
|
+
isExcluded: boolean;
|
|
105
|
+
} | undefined;
|
|
106
|
+
bp_5873_live_preview_postpurchase?: {
|
|
107
|
+
key: string;
|
|
108
|
+
value: string;
|
|
109
|
+
isControl: boolean;
|
|
110
|
+
isVariation: boolean;
|
|
111
|
+
isExcluded: boolean;
|
|
112
|
+
} | undefined;
|
|
99
113
|
};
|
|
100
114
|
isSubsequentPublish: boolean;
|
|
101
115
|
isContextualUpgradeModalVisible: boolean;
|
|
102
116
|
contextualUpgradeType: import("@brand-page-maker/stores").WebsiteContextUpgradeType | undefined;
|
|
103
117
|
requestVerificationToken?: string | undefined;
|
|
118
|
+
isHostModalVisible?: boolean | undefined;
|
|
119
|
+
livePreviewUrl?: string | undefined;
|
|
104
120
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
105
121
|
isUserDraft: (state: {
|
|
106
122
|
availableTaxes: any[];
|
|
@@ -174,11 +190,121 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
174
190
|
isVariation: boolean;
|
|
175
191
|
isExcluded: boolean;
|
|
176
192
|
} | undefined;
|
|
193
|
+
bp_5873_live_preview_prepurchase?: {
|
|
194
|
+
key: string;
|
|
195
|
+
value: string;
|
|
196
|
+
isControl: boolean;
|
|
197
|
+
isVariation: boolean;
|
|
198
|
+
isExcluded: boolean;
|
|
199
|
+
} | undefined;
|
|
200
|
+
bp_5873_live_preview_postpurchase?: {
|
|
201
|
+
key: string;
|
|
202
|
+
value: string;
|
|
203
|
+
isControl: boolean;
|
|
204
|
+
isVariation: boolean;
|
|
205
|
+
isExcluded: boolean;
|
|
206
|
+
} | undefined;
|
|
207
|
+
};
|
|
208
|
+
isSubsequentPublish: boolean;
|
|
209
|
+
isContextualUpgradeModalVisible: boolean;
|
|
210
|
+
contextualUpgradeType: import("@brand-page-maker/stores").WebsiteContextUpgradeType | undefined;
|
|
211
|
+
requestVerificationToken?: string | undefined;
|
|
212
|
+
isHostModalVisible?: boolean | undefined;
|
|
213
|
+
livePreviewUrl?: string | undefined;
|
|
214
|
+
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
215
|
+
isAnyModalVisible: (state: {
|
|
216
|
+
availableTaxes: any[];
|
|
217
|
+
brandPageBaseUrl: string;
|
|
218
|
+
baseFabricRenderUrl: string;
|
|
219
|
+
brandPageDescription: string;
|
|
220
|
+
brandPageDisplayName: string;
|
|
221
|
+
templateTypeName: string;
|
|
222
|
+
sensitiveContent: number;
|
|
223
|
+
brandPageSlug: string;
|
|
224
|
+
brandPageStatus: string;
|
|
225
|
+
brandPageToken: string | undefined;
|
|
226
|
+
brandPageTitle: string;
|
|
227
|
+
customDomain: {
|
|
228
|
+
id: string;
|
|
229
|
+
created: Date;
|
|
230
|
+
updated: Date;
|
|
231
|
+
brandPageToken: string;
|
|
232
|
+
domainName: string;
|
|
233
|
+
status: import("../../../../lib").CustomDomainStatus;
|
|
234
|
+
dnsConfigurationStatus: import("../../../../lib").DnsConfigurationStatus;
|
|
235
|
+
triggerOrigin?: string | undefined;
|
|
236
|
+
} | null;
|
|
237
|
+
createCustomDomainErrorMessage: string | null;
|
|
238
|
+
customDomainConfig?: {
|
|
239
|
+
dns: {
|
|
240
|
+
ipAddresses: string[];
|
|
241
|
+
};
|
|
242
|
+
} | undefined;
|
|
243
|
+
designDraftToken?: string | undefined;
|
|
244
|
+
designTemplateToken: string;
|
|
245
|
+
isCustomDomainEnabled: boolean;
|
|
246
|
+
isBrandPageSlugEditMode: boolean;
|
|
247
|
+
isPublishModalVisible: boolean;
|
|
248
|
+
isUpgradeModalVisible: boolean;
|
|
249
|
+
isPublishing: boolean;
|
|
250
|
+
isProduction: boolean;
|
|
251
|
+
isSellDomainNameEnabled: boolean;
|
|
252
|
+
isStripeOnboardingModalVisible: boolean;
|
|
253
|
+
isReactivationModal: boolean;
|
|
254
|
+
isPublishUpgradeModal: boolean;
|
|
255
|
+
isSaving: boolean;
|
|
256
|
+
backButtonLabel: string;
|
|
257
|
+
manageWebsiteDesignsUrl: string;
|
|
258
|
+
publishErrorMessage: string;
|
|
259
|
+
upgradeUrl: string;
|
|
260
|
+
reactivationUrl: string;
|
|
261
|
+
runtimeEnvironment: string;
|
|
262
|
+
selectedTaxId: number | undefined;
|
|
263
|
+
slug: string;
|
|
264
|
+
standalone: boolean;
|
|
265
|
+
triggerSaveSuccessMessage: boolean;
|
|
266
|
+
isDesignCom: boolean;
|
|
267
|
+
isPrePurchase: boolean;
|
|
268
|
+
makerFonts: any[];
|
|
269
|
+
eventButtonLocation?: string | undefined;
|
|
270
|
+
websiteUpsellModalViewModel?: any;
|
|
271
|
+
showPublishOptionModal?: boolean | undefined;
|
|
272
|
+
abTests: {
|
|
273
|
+
bp_3926_freemium_watermark?: {
|
|
274
|
+
key: string;
|
|
275
|
+
value: string;
|
|
276
|
+
isControl: boolean;
|
|
277
|
+
isVariation: boolean;
|
|
278
|
+
isExcluded: boolean;
|
|
279
|
+
} | undefined;
|
|
280
|
+
bp_5245_ai_website_assistant?: {
|
|
281
|
+
key: string;
|
|
282
|
+
value: string;
|
|
283
|
+
isControl: boolean;
|
|
284
|
+
isVariation: boolean;
|
|
285
|
+
isExcluded: boolean;
|
|
286
|
+
} | undefined;
|
|
287
|
+
bp_5873_live_preview_prepurchase?: {
|
|
288
|
+
key: string;
|
|
289
|
+
value: string;
|
|
290
|
+
isControl: boolean;
|
|
291
|
+
isVariation: boolean;
|
|
292
|
+
isExcluded: boolean;
|
|
293
|
+
} | undefined;
|
|
294
|
+
bp_5873_live_preview_postpurchase?: {
|
|
295
|
+
key: string;
|
|
296
|
+
value: string;
|
|
297
|
+
isControl: boolean;
|
|
298
|
+
isVariation: boolean;
|
|
299
|
+
isExcluded: boolean;
|
|
300
|
+
} | undefined;
|
|
177
301
|
};
|
|
178
302
|
isSubsequentPublish: boolean;
|
|
179
303
|
isContextualUpgradeModalVisible: boolean;
|
|
180
304
|
contextualUpgradeType: import("@brand-page-maker/stores").WebsiteContextUpgradeType | undefined;
|
|
181
305
|
requestVerificationToken?: string | undefined;
|
|
306
|
+
isHostModalVisible?: boolean | undefined;
|
|
307
|
+
livePreviewUrl?: string | undefined;
|
|
182
308
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
183
309
|
}, {
|
|
184
310
|
initialise(payload: import("../../../../brand-page-maker/stores/brandpage-container").InitialisePayload): void;
|
|
@@ -192,6 +318,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
192
318
|
setContextualUpgradeType(payload: any): void;
|
|
193
319
|
setIsSaving(payload: any): void;
|
|
194
320
|
setIsUpgradeModalVisible(payload: any): void;
|
|
321
|
+
setIsHostModalVisible(payload: {
|
|
322
|
+
isVisible: boolean;
|
|
323
|
+
}): void;
|
|
195
324
|
setPublishErrorMessage(payload: any): void;
|
|
196
325
|
setTriggerSaveSuccessMessage(payload: any): void;
|
|
197
326
|
setSlug(payload: any): void;
|
|
@@ -239,6 +368,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
239
368
|
saveBrandPage(payload?: {
|
|
240
369
|
isPublish?: boolean;
|
|
241
370
|
eventButtonLocation?: string;
|
|
371
|
+
saveOnly?: boolean;
|
|
242
372
|
}): Promise<false | {
|
|
243
373
|
saved: boolean;
|
|
244
374
|
canPublish: boolean;
|
|
@@ -390,11 +390,27 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
390
390
|
isVariation: boolean;
|
|
391
391
|
isExcluded: boolean;
|
|
392
392
|
} | undefined;
|
|
393
|
+
bp_5873_live_preview_prepurchase?: {
|
|
394
|
+
key: string;
|
|
395
|
+
value: string;
|
|
396
|
+
isControl: boolean;
|
|
397
|
+
isVariation: boolean;
|
|
398
|
+
isExcluded: boolean;
|
|
399
|
+
} | undefined;
|
|
400
|
+
bp_5873_live_preview_postpurchase?: {
|
|
401
|
+
key: string;
|
|
402
|
+
value: string;
|
|
403
|
+
isControl: boolean;
|
|
404
|
+
isVariation: boolean;
|
|
405
|
+
isExcluded: boolean;
|
|
406
|
+
} | undefined;
|
|
393
407
|
};
|
|
394
408
|
isSubsequentPublish: boolean;
|
|
395
409
|
isContextualUpgradeModalVisible: boolean;
|
|
396
410
|
contextualUpgradeType: import("@brand-page-maker/stores").WebsiteContextUpgradeType | undefined;
|
|
397
411
|
requestVerificationToken?: string | undefined;
|
|
412
|
+
isHostModalVisible?: boolean | undefined;
|
|
413
|
+
livePreviewUrl?: string | undefined;
|
|
398
414
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
399
415
|
isUserDraft: (state: {
|
|
400
416
|
availableTaxes: any[];
|
|
@@ -468,11 +484,121 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
468
484
|
isVariation: boolean;
|
|
469
485
|
isExcluded: boolean;
|
|
470
486
|
} | undefined;
|
|
487
|
+
bp_5873_live_preview_prepurchase?: {
|
|
488
|
+
key: string;
|
|
489
|
+
value: string;
|
|
490
|
+
isControl: boolean;
|
|
491
|
+
isVariation: boolean;
|
|
492
|
+
isExcluded: boolean;
|
|
493
|
+
} | undefined;
|
|
494
|
+
bp_5873_live_preview_postpurchase?: {
|
|
495
|
+
key: string;
|
|
496
|
+
value: string;
|
|
497
|
+
isControl: boolean;
|
|
498
|
+
isVariation: boolean;
|
|
499
|
+
isExcluded: boolean;
|
|
500
|
+
} | undefined;
|
|
471
501
|
};
|
|
472
502
|
isSubsequentPublish: boolean;
|
|
473
503
|
isContextualUpgradeModalVisible: boolean;
|
|
474
504
|
contextualUpgradeType: import("@brand-page-maker/stores").WebsiteContextUpgradeType | undefined;
|
|
475
505
|
requestVerificationToken?: string | undefined;
|
|
506
|
+
isHostModalVisible?: boolean | undefined;
|
|
507
|
+
livePreviewUrl?: string | undefined;
|
|
508
|
+
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
509
|
+
isAnyModalVisible: (state: {
|
|
510
|
+
availableTaxes: any[];
|
|
511
|
+
brandPageBaseUrl: string;
|
|
512
|
+
baseFabricRenderUrl: string;
|
|
513
|
+
brandPageDescription: string;
|
|
514
|
+
brandPageDisplayName: string;
|
|
515
|
+
templateTypeName: string;
|
|
516
|
+
sensitiveContent: number;
|
|
517
|
+
brandPageSlug: string;
|
|
518
|
+
brandPageStatus: string;
|
|
519
|
+
brandPageToken: string | undefined;
|
|
520
|
+
brandPageTitle: string;
|
|
521
|
+
customDomain: {
|
|
522
|
+
id: string;
|
|
523
|
+
created: Date;
|
|
524
|
+
updated: Date;
|
|
525
|
+
brandPageToken: string;
|
|
526
|
+
domainName: string;
|
|
527
|
+
status: import("../../../lib").CustomDomainStatus;
|
|
528
|
+
dnsConfigurationStatus: import("../../../lib").DnsConfigurationStatus;
|
|
529
|
+
triggerOrigin?: string | undefined;
|
|
530
|
+
} | null;
|
|
531
|
+
createCustomDomainErrorMessage: string | null;
|
|
532
|
+
customDomainConfig?: {
|
|
533
|
+
dns: {
|
|
534
|
+
ipAddresses: string[];
|
|
535
|
+
};
|
|
536
|
+
} | undefined;
|
|
537
|
+
designDraftToken?: string | undefined;
|
|
538
|
+
designTemplateToken: string;
|
|
539
|
+
isCustomDomainEnabled: boolean;
|
|
540
|
+
isBrandPageSlugEditMode: boolean;
|
|
541
|
+
isPublishModalVisible: boolean;
|
|
542
|
+
isUpgradeModalVisible: boolean;
|
|
543
|
+
isPublishing: boolean;
|
|
544
|
+
isProduction: boolean;
|
|
545
|
+
isSellDomainNameEnabled: boolean;
|
|
546
|
+
isStripeOnboardingModalVisible: boolean;
|
|
547
|
+
isReactivationModal: boolean;
|
|
548
|
+
isPublishUpgradeModal: boolean;
|
|
549
|
+
isSaving: boolean;
|
|
550
|
+
backButtonLabel: string;
|
|
551
|
+
manageWebsiteDesignsUrl: string;
|
|
552
|
+
publishErrorMessage: string;
|
|
553
|
+
upgradeUrl: string;
|
|
554
|
+
reactivationUrl: string;
|
|
555
|
+
runtimeEnvironment: string;
|
|
556
|
+
selectedTaxId: number | undefined;
|
|
557
|
+
slug: string;
|
|
558
|
+
standalone: boolean;
|
|
559
|
+
triggerSaveSuccessMessage: boolean;
|
|
560
|
+
isDesignCom: boolean;
|
|
561
|
+
isPrePurchase: boolean;
|
|
562
|
+
makerFonts: any[];
|
|
563
|
+
eventButtonLocation?: string | undefined;
|
|
564
|
+
websiteUpsellModalViewModel?: any;
|
|
565
|
+
showPublishOptionModal?: boolean | undefined;
|
|
566
|
+
abTests: {
|
|
567
|
+
bp_3926_freemium_watermark?: {
|
|
568
|
+
key: string;
|
|
569
|
+
value: string;
|
|
570
|
+
isControl: boolean;
|
|
571
|
+
isVariation: boolean;
|
|
572
|
+
isExcluded: boolean;
|
|
573
|
+
} | undefined;
|
|
574
|
+
bp_5245_ai_website_assistant?: {
|
|
575
|
+
key: string;
|
|
576
|
+
value: string;
|
|
577
|
+
isControl: boolean;
|
|
578
|
+
isVariation: boolean;
|
|
579
|
+
isExcluded: boolean;
|
|
580
|
+
} | undefined;
|
|
581
|
+
bp_5873_live_preview_prepurchase?: {
|
|
582
|
+
key: string;
|
|
583
|
+
value: string;
|
|
584
|
+
isControl: boolean;
|
|
585
|
+
isVariation: boolean;
|
|
586
|
+
isExcluded: boolean;
|
|
587
|
+
} | undefined;
|
|
588
|
+
bp_5873_live_preview_postpurchase?: {
|
|
589
|
+
key: string;
|
|
590
|
+
value: string;
|
|
591
|
+
isControl: boolean;
|
|
592
|
+
isVariation: boolean;
|
|
593
|
+
isExcluded: boolean;
|
|
594
|
+
} | undefined;
|
|
595
|
+
};
|
|
596
|
+
isSubsequentPublish: boolean;
|
|
597
|
+
isContextualUpgradeModalVisible: boolean;
|
|
598
|
+
contextualUpgradeType: import("@brand-page-maker/stores").WebsiteContextUpgradeType | undefined;
|
|
599
|
+
requestVerificationToken?: string | undefined;
|
|
600
|
+
isHostModalVisible?: boolean | undefined;
|
|
601
|
+
livePreviewUrl?: string | undefined;
|
|
476
602
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
477
603
|
}, {
|
|
478
604
|
initialise(payload: import("../../../brand-page-maker/stores/brandpage-container").InitialisePayload): void;
|
|
@@ -486,6 +612,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
486
612
|
setContextualUpgradeType(payload: any): void;
|
|
487
613
|
setIsSaving(payload: any): void;
|
|
488
614
|
setIsUpgradeModalVisible(payload: any): void;
|
|
615
|
+
setIsHostModalVisible(payload: {
|
|
616
|
+
isVisible: boolean;
|
|
617
|
+
}): void;
|
|
489
618
|
setPublishErrorMessage(payload: any): void;
|
|
490
619
|
setTriggerSaveSuccessMessage(payload: any): void;
|
|
491
620
|
setSlug(payload: any): void;
|
|
@@ -533,6 +662,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
533
662
|
saveBrandPage(payload?: {
|
|
534
663
|
isPublish?: boolean;
|
|
535
664
|
eventButtonLocation?: string;
|
|
665
|
+
saveOnly?: boolean;
|
|
536
666
|
}): Promise<false | {
|
|
537
667
|
saved: boolean;
|
|
538
668
|
canPublish: boolean;
|
|
@@ -4632,11 +4632,27 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4632
4632
|
isVariation: boolean;
|
|
4633
4633
|
isExcluded: boolean;
|
|
4634
4634
|
} | undefined;
|
|
4635
|
+
bp_5873_live_preview_prepurchase?: {
|
|
4636
|
+
key: string;
|
|
4637
|
+
value: string;
|
|
4638
|
+
isControl: boolean;
|
|
4639
|
+
isVariation: boolean;
|
|
4640
|
+
isExcluded: boolean;
|
|
4641
|
+
} | undefined;
|
|
4642
|
+
bp_5873_live_preview_postpurchase?: {
|
|
4643
|
+
key: string;
|
|
4644
|
+
value: string;
|
|
4645
|
+
isControl: boolean;
|
|
4646
|
+
isVariation: boolean;
|
|
4647
|
+
isExcluded: boolean;
|
|
4648
|
+
} | undefined;
|
|
4635
4649
|
};
|
|
4636
4650
|
isSubsequentPublish: boolean;
|
|
4637
4651
|
isContextualUpgradeModalVisible: boolean;
|
|
4638
4652
|
contextualUpgradeType: import("@brand-page-maker/stores").WebsiteContextUpgradeType | undefined;
|
|
4639
4653
|
requestVerificationToken?: string | undefined;
|
|
4654
|
+
isHostModalVisible?: boolean | undefined;
|
|
4655
|
+
livePreviewUrl?: string | undefined;
|
|
4640
4656
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
4641
4657
|
isUserDraft: (state: {
|
|
4642
4658
|
availableTaxes: any[];
|
|
@@ -4710,11 +4726,121 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4710
4726
|
isVariation: boolean;
|
|
4711
4727
|
isExcluded: boolean;
|
|
4712
4728
|
} | undefined;
|
|
4729
|
+
bp_5873_live_preview_prepurchase?: {
|
|
4730
|
+
key: string;
|
|
4731
|
+
value: string;
|
|
4732
|
+
isControl: boolean;
|
|
4733
|
+
isVariation: boolean;
|
|
4734
|
+
isExcluded: boolean;
|
|
4735
|
+
} | undefined;
|
|
4736
|
+
bp_5873_live_preview_postpurchase?: {
|
|
4737
|
+
key: string;
|
|
4738
|
+
value: string;
|
|
4739
|
+
isControl: boolean;
|
|
4740
|
+
isVariation: boolean;
|
|
4741
|
+
isExcluded: boolean;
|
|
4742
|
+
} | undefined;
|
|
4713
4743
|
};
|
|
4714
4744
|
isSubsequentPublish: boolean;
|
|
4715
4745
|
isContextualUpgradeModalVisible: boolean;
|
|
4716
4746
|
contextualUpgradeType: import("@brand-page-maker/stores").WebsiteContextUpgradeType | undefined;
|
|
4717
4747
|
requestVerificationToken?: string | undefined;
|
|
4748
|
+
isHostModalVisible?: boolean | undefined;
|
|
4749
|
+
livePreviewUrl?: string | undefined;
|
|
4750
|
+
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
4751
|
+
isAnyModalVisible: (state: {
|
|
4752
|
+
availableTaxes: any[];
|
|
4753
|
+
brandPageBaseUrl: string;
|
|
4754
|
+
baseFabricRenderUrl: string;
|
|
4755
|
+
brandPageDescription: string;
|
|
4756
|
+
brandPageDisplayName: string;
|
|
4757
|
+
templateTypeName: string;
|
|
4758
|
+
sensitiveContent: number;
|
|
4759
|
+
brandPageSlug: string;
|
|
4760
|
+
brandPageStatus: string;
|
|
4761
|
+
brandPageToken: string | undefined;
|
|
4762
|
+
brandPageTitle: string;
|
|
4763
|
+
customDomain: {
|
|
4764
|
+
id: string;
|
|
4765
|
+
created: Date;
|
|
4766
|
+
updated: Date;
|
|
4767
|
+
brandPageToken: string;
|
|
4768
|
+
domainName: string;
|
|
4769
|
+
status: import("../../../../lib").CustomDomainStatus;
|
|
4770
|
+
dnsConfigurationStatus: import("../../../../lib").DnsConfigurationStatus;
|
|
4771
|
+
triggerOrigin?: string | undefined;
|
|
4772
|
+
} | null;
|
|
4773
|
+
createCustomDomainErrorMessage: string | null;
|
|
4774
|
+
customDomainConfig?: {
|
|
4775
|
+
dns: {
|
|
4776
|
+
ipAddresses: string[];
|
|
4777
|
+
};
|
|
4778
|
+
} | undefined;
|
|
4779
|
+
designDraftToken?: string | undefined;
|
|
4780
|
+
designTemplateToken: string;
|
|
4781
|
+
isCustomDomainEnabled: boolean;
|
|
4782
|
+
isBrandPageSlugEditMode: boolean;
|
|
4783
|
+
isPublishModalVisible: boolean;
|
|
4784
|
+
isUpgradeModalVisible: boolean;
|
|
4785
|
+
isPublishing: boolean;
|
|
4786
|
+
isProduction: boolean;
|
|
4787
|
+
isSellDomainNameEnabled: boolean;
|
|
4788
|
+
isStripeOnboardingModalVisible: boolean;
|
|
4789
|
+
isReactivationModal: boolean;
|
|
4790
|
+
isPublishUpgradeModal: boolean;
|
|
4791
|
+
isSaving: boolean;
|
|
4792
|
+
backButtonLabel: string;
|
|
4793
|
+
manageWebsiteDesignsUrl: string;
|
|
4794
|
+
publishErrorMessage: string;
|
|
4795
|
+
upgradeUrl: string;
|
|
4796
|
+
reactivationUrl: string;
|
|
4797
|
+
runtimeEnvironment: string;
|
|
4798
|
+
selectedTaxId: number | undefined;
|
|
4799
|
+
slug: string;
|
|
4800
|
+
standalone: boolean;
|
|
4801
|
+
triggerSaveSuccessMessage: boolean;
|
|
4802
|
+
isDesignCom: boolean;
|
|
4803
|
+
isPrePurchase: boolean;
|
|
4804
|
+
makerFonts: any[];
|
|
4805
|
+
eventButtonLocation?: string | undefined;
|
|
4806
|
+
websiteUpsellModalViewModel?: any;
|
|
4807
|
+
showPublishOptionModal?: boolean | undefined;
|
|
4808
|
+
abTests: {
|
|
4809
|
+
bp_3926_freemium_watermark?: {
|
|
4810
|
+
key: string;
|
|
4811
|
+
value: string;
|
|
4812
|
+
isControl: boolean;
|
|
4813
|
+
isVariation: boolean;
|
|
4814
|
+
isExcluded: boolean;
|
|
4815
|
+
} | undefined;
|
|
4816
|
+
bp_5245_ai_website_assistant?: {
|
|
4817
|
+
key: string;
|
|
4818
|
+
value: string;
|
|
4819
|
+
isControl: boolean;
|
|
4820
|
+
isVariation: boolean;
|
|
4821
|
+
isExcluded: boolean;
|
|
4822
|
+
} | undefined;
|
|
4823
|
+
bp_5873_live_preview_prepurchase?: {
|
|
4824
|
+
key: string;
|
|
4825
|
+
value: string;
|
|
4826
|
+
isControl: boolean;
|
|
4827
|
+
isVariation: boolean;
|
|
4828
|
+
isExcluded: boolean;
|
|
4829
|
+
} | undefined;
|
|
4830
|
+
bp_5873_live_preview_postpurchase?: {
|
|
4831
|
+
key: string;
|
|
4832
|
+
value: string;
|
|
4833
|
+
isControl: boolean;
|
|
4834
|
+
isVariation: boolean;
|
|
4835
|
+
isExcluded: boolean;
|
|
4836
|
+
} | undefined;
|
|
4837
|
+
};
|
|
4838
|
+
isSubsequentPublish: boolean;
|
|
4839
|
+
isContextualUpgradeModalVisible: boolean;
|
|
4840
|
+
contextualUpgradeType: import("@brand-page-maker/stores").WebsiteContextUpgradeType | undefined;
|
|
4841
|
+
requestVerificationToken?: string | undefined;
|
|
4842
|
+
isHostModalVisible?: boolean | undefined;
|
|
4843
|
+
livePreviewUrl?: string | undefined;
|
|
4718
4844
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
4719
4845
|
}, {
|
|
4720
4846
|
initialise(payload: import("../../../../brand-page-maker/stores/brandpage-container").InitialisePayload): void;
|
|
@@ -4728,6 +4854,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4728
4854
|
setContextualUpgradeType(payload: any): void;
|
|
4729
4855
|
setIsSaving(payload: any): void;
|
|
4730
4856
|
setIsUpgradeModalVisible(payload: any): void;
|
|
4857
|
+
setIsHostModalVisible(payload: {
|
|
4858
|
+
isVisible: boolean;
|
|
4859
|
+
}): void;
|
|
4731
4860
|
setPublishErrorMessage(payload: any): void;
|
|
4732
4861
|
setTriggerSaveSuccessMessage(payload: any): void;
|
|
4733
4862
|
setSlug(payload: any): void;
|
|
@@ -4775,6 +4904,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4775
4904
|
saveBrandPage(payload?: {
|
|
4776
4905
|
isPublish?: boolean;
|
|
4777
4906
|
eventButtonLocation?: string;
|
|
4907
|
+
saveOnly?: boolean;
|
|
4778
4908
|
}): Promise<false | {
|
|
4779
4909
|
saved: boolean;
|
|
4780
4910
|
canPublish: boolean;
|