@designcrowd/library.brand-page 5.13.2 → 5.13.3-ast-upsell-2
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-CfG0-858.js → CreatedOnBrandCrowd-de-de-BWmXQBjt.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-CcJ-jWWD.js → CreatedOnBrandCrowd-en-us-C9efaLLt.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-CfiRcdwQ.js → CreatedOnBrandCrowd-es-es-BUuqzHVw.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-BsplcwEN.js → CreatedOnBrandCrowd-fr-fr-DNT3a4U0.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-C9vHZlGJ.js → CreatedOnBrandCrowd-pt-pt-B_HnpHoY.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-HOhAr9ML.js → CreatedOnDcom-de-de-CgJcu3Sz.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-BxHSRmK8.js → CreatedOnDcom-en-us-BcG5loVl.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-rUrC1JPi.js → CreatedOnDcom-es-es-7OWnYT5G.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-B3kh5Mj2.js → CreatedOnDcom-fr-fr-FD5ik06m.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-DGzCGnWH.js → CreatedOnDcom-pt-pt-Dahy2ECF.js} +1 -1
- 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 +2 -1
- package/lib/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.d.ts +2 -2
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +41 -32
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +1 -0
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +50 -37
- package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +12 -3
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +12 -3
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +12 -3
- package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +12 -3
- package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +12 -3
- package/lib/src/brand-page-maker/composables/useEventTracker.d.ts +7 -1
- package/lib/src/brand-page-maker/composables/useEventTracker.js +29 -4
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +14 -3
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +54 -9
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +3 -0
- package/lib/src/bundled-translations.fr-CA-BJC-5HrM.js +7 -0
- package/lib/src/bundled-translations.pt-BR-CamDrN1O.js +7 -0
- package/lib/src/bundled-translations.pt-BR-DrpY560B.js +11 -0
- package/lib/src/bundles/bundled-translations.fr-CA.json +180 -0
- package/lib/src/bundles/bundled-translations.pt-BR.json +199 -0
- package/lib/src/clients/brand-page-client.d.ts +20 -3
- package/lib/src/composables/useTranslate.d.ts +2 -1
- package/lib/src/composables/useTranslate.js +5 -1
- package/lib/src/css/library.brand-page-brandCrowd.min.css +14 -11
- package/lib/src/css/library.brand-page-brandPage.min.css +14 -11
- package/lib/src/css/library.brand-page-designCom.min.css +14 -11
- package/lib/src/css/library.brand-page-preview.min.css +14 -11
- package/lib/src/index.mjs +35 -34
- package/lib/src/{lib-na3Nl6DE.js → lib-CFnNfXjX.js} +8174 -8017
- package/lib/src/mockServiceWorker.js +1 -1
- package/lib/src/plugins/bundle-translations-plugin/bundle-translations-plugin.js +9 -1
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +37 -33
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +32 -32
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +33 -29
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +28 -28
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +27 -27
- package/lib/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +12 -3
- package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.d.ts +6 -6
- package/lib/src/shared/content-settings/store/content-settings-store.d.ts +18 -18
- package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.d.ts +1 -1
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +13 -4
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.d.ts +1 -1
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +50 -37
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +47 -38
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +30 -10
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.js +25 -2
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +12 -3
- package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +4 -0
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +21 -8
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +4 -0
- package/package.json +2 -2
- package/src/brand-page/models/brand-page-context.model.ts +7 -1
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +1 -0
- package/src/brand-page-maker/composables/useEventTracker.ts +37 -4
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +92 -9
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +4 -0
- package/src/bundles/bundled-translations.fr-CA.json +180 -0
- package/src/bundles/bundled-translations.pt-BR.json +199 -0
- package/src/clients/brand-page-client.ts +22 -3
- package/src/composables/useTranslate.ts +13 -2
- package/src/plugins/bundle-translations-plugin/bundle-translations-plugin.ts +9 -1
- package/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.ts +31 -2
- package/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.vue +8 -0
- package/lib/src/bundled-translations.pt-BR-BDMct_Gn.js +0 -4
|
@@ -36,6 +36,7 @@ export interface AbTestResult {
|
|
|
36
36
|
}
|
|
37
37
|
export interface AbTest {
|
|
38
38
|
bp_3926_freemium_watermark?: AbTestResult;
|
|
39
|
+
bp_4092_rotating_upsells_at_publish?: AbTestResult;
|
|
39
40
|
}
|
|
40
41
|
export declare const MEDIA_SIZES: {
|
|
41
42
|
readonly size1x: "size1x";
|
|
@@ -74,4 +75,5 @@ export interface BrandPageContext {
|
|
|
74
75
|
isCapturingPreview: boolean;
|
|
75
76
|
disableLogoRenderOnServerside?: boolean;
|
|
76
77
|
}
|
|
78
|
+
export declare const getValueType: (key: string, abtestValue?: string) => AbTestResult;
|
|
77
79
|
export declare const getAbTestResults: (abtestKeyValues: Record<string, string>) => AbTest;
|
|
@@ -24,13 +24,14 @@ 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
|
+
BP_4092_ROTATING_UPSELLS_AT_PUBLISH: 'bc-bp-4092-rotating-upsells-at-website-publish',
|
|
27
28
|
};
|
|
28
29
|
export const MEDIA_SIZES = {
|
|
29
30
|
size1x: 'size1x',
|
|
30
31
|
size2x: 'size2x',
|
|
31
32
|
sizeThumb: 'sizeThumb',
|
|
32
33
|
};
|
|
33
|
-
const getValueType = (key, abtestValue) => {
|
|
34
|
+
export const getValueType = (key, abtestValue) => {
|
|
34
35
|
return {
|
|
35
36
|
key: key,
|
|
36
37
|
value: abtestValue || '',
|
package/lib/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
2
2
|
templates: import("vue").ComputedRef<import("../../stores/admin-logo-settings").AdminPreviewLogoTemplateTemplate[]>;
|
|
3
3
|
items: import("vue").ComputedRef<{
|
|
4
4
|
id: string;
|
|
5
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
5
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
6
6
|
settings: {
|
|
7
7
|
content: {
|
|
8
8
|
id: string;
|
|
9
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
9
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
10
10
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
11
11
|
imageUrlOverride?: string | undefined;
|
|
12
12
|
imageUrlsOverride?: string | undefined;
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
30
30
|
}>, {
|
|
31
31
|
commonTr: (key: any) => any;
|
|
32
32
|
currentNotificationMessage: import("vue").ComputedRef<false | {
|
|
33
|
-
type: "
|
|
33
|
+
type: "error" | "success" | "warning";
|
|
34
34
|
label: string;
|
|
35
35
|
description: string | false;
|
|
36
36
|
}>;
|
|
@@ -246,8 +246,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
246
246
|
isPrePurchase: boolean;
|
|
247
247
|
makerFonts: any[];
|
|
248
248
|
eventButtonLocation?: string | undefined;
|
|
249
|
+
websiteUpsellModalViewModel?: any;
|
|
249
250
|
showPublishOptionModal?: boolean | undefined;
|
|
250
251
|
abTests: Record<string, string>;
|
|
252
|
+
isSubsequentPublish: boolean;
|
|
251
253
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
252
254
|
isUserDraft: (state: {
|
|
253
255
|
availableTaxes: any[];
|
|
@@ -305,8 +307,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
305
307
|
isPrePurchase: boolean;
|
|
306
308
|
makerFonts: any[];
|
|
307
309
|
eventButtonLocation?: string | undefined;
|
|
310
|
+
websiteUpsellModalViewModel?: any;
|
|
308
311
|
showPublishOptionModal?: boolean | undefined;
|
|
309
312
|
abTests: Record<string, string>;
|
|
313
|
+
isSubsequentPublish: boolean;
|
|
310
314
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
311
315
|
}, {
|
|
312
316
|
clearTriggerSaveEventApiOnPublishModalClose(): void;
|
|
@@ -339,6 +343,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
339
343
|
}): void;
|
|
340
344
|
setCreateCustomDomainErrorMessage(payload: any): void;
|
|
341
345
|
setBrandPageIsCustomDomainEnabled(payload: any): void;
|
|
346
|
+
setIsSubsequentPublish(payload: any): void;
|
|
342
347
|
clearPublishErrorMessage(): void;
|
|
343
348
|
closePublishModal(payload?: {
|
|
344
349
|
skipShowNextNotificationMessage?: boolean | undefined;
|
|
@@ -348,7 +353,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
348
353
|
publishBrandPage({ shouldPublish, slug }: {
|
|
349
354
|
shouldPublish: any;
|
|
350
355
|
slug: any;
|
|
351
|
-
}): Promise<
|
|
356
|
+
}): Promise<false | {
|
|
357
|
+
success: boolean;
|
|
358
|
+
websiteUpsellModalViewModel: any;
|
|
359
|
+
}>;
|
|
352
360
|
publishBrandPageWithCustomDomainAsync({ shouldPublish, slug, domain, isPurchasedDomain, }: {
|
|
353
361
|
shouldPublish: any;
|
|
354
362
|
slug: any;
|
|
@@ -365,12 +373,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
365
373
|
eventButtonLocation?: string | undefined;
|
|
366
374
|
}): Promise<false | {
|
|
367
375
|
saved: boolean;
|
|
368
|
-
canPublish:
|
|
376
|
+
canPublish: boolean;
|
|
377
|
+
websiteUpsellModalViewModel: any;
|
|
369
378
|
}>;
|
|
370
379
|
saveAndPublishBrandPage(eventButtonLocation: string): Promise<void>;
|
|
371
380
|
saveTemplate(): Promise<void>;
|
|
372
381
|
setBrandPageStatus(status: any): Promise<void>;
|
|
373
|
-
showPublishModal(eventButtonLocation?: string | undefined): void;
|
|
382
|
+
showPublishModal(eventButtonLocation?: string | undefined, websiteUpsellModalViewModel?: any): void;
|
|
374
383
|
showBrandPageSlugEditModal(): Promise<void>;
|
|
375
384
|
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
376
385
|
showStripeOnboardingModal(): void;
|
|
@@ -406,7 +415,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
406
415
|
contentErrorCount(): number;
|
|
407
416
|
getContent(state: {
|
|
408
417
|
addContentOptions: {
|
|
409
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
418
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
410
419
|
category: string;
|
|
411
420
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
412
421
|
displayName: string;
|
|
@@ -417,11 +426,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
417
426
|
}[];
|
|
418
427
|
items: {
|
|
419
428
|
id: string;
|
|
420
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
429
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
421
430
|
settings: {
|
|
422
431
|
content: {
|
|
423
432
|
id: string;
|
|
424
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
433
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
425
434
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
426
435
|
imageUrlOverride?: string | undefined;
|
|
427
436
|
imageUrlsOverride?: string | undefined;
|
|
@@ -447,7 +456,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
447
456
|
selectedItemIndex?: number | undefined;
|
|
448
457
|
}[];
|
|
449
458
|
selectedItemId: string | null;
|
|
450
|
-
selectedItemEventSource: "
|
|
459
|
+
selectedItemEventSource: "pageSettings" | "preview" | "contentSettings" | null;
|
|
451
460
|
selectedItemFieldName: string | null;
|
|
452
461
|
selectedItemValue: string | null;
|
|
453
462
|
selectedItemIndex: number | null;
|
|
@@ -455,7 +464,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
455
464
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => import("../../../brand-page").Content | undefined;
|
|
456
465
|
getFieldSettings(state: {
|
|
457
466
|
addContentOptions: {
|
|
458
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
467
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
459
468
|
category: string;
|
|
460
469
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
461
470
|
displayName: string;
|
|
@@ -466,11 +475,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
466
475
|
}[];
|
|
467
476
|
items: {
|
|
468
477
|
id: string;
|
|
469
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
478
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
470
479
|
settings: {
|
|
471
480
|
content: {
|
|
472
481
|
id: string;
|
|
473
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
482
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
474
483
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
475
484
|
imageUrlOverride?: string | undefined;
|
|
476
485
|
imageUrlsOverride?: string | undefined;
|
|
@@ -496,7 +505,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
496
505
|
selectedItemIndex?: number | undefined;
|
|
497
506
|
}[];
|
|
498
507
|
selectedItemId: string | null;
|
|
499
|
-
selectedItemEventSource: "
|
|
508
|
+
selectedItemEventSource: "pageSettings" | "preview" | "contentSettings" | null;
|
|
500
509
|
selectedItemFieldName: string | null;
|
|
501
510
|
selectedItemValue: string | null;
|
|
502
511
|
selectedItemIndex: number | null;
|
|
@@ -504,7 +513,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
504
513
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => import("../../../shared/content-settings/models").ContentItemFieldSettings | undefined;
|
|
505
514
|
getItem(state: {
|
|
506
515
|
addContentOptions: {
|
|
507
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
516
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
508
517
|
category: string;
|
|
509
518
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
510
519
|
displayName: string;
|
|
@@ -515,11 +524,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
515
524
|
}[];
|
|
516
525
|
items: {
|
|
517
526
|
id: string;
|
|
518
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
527
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
519
528
|
settings: {
|
|
520
529
|
content: {
|
|
521
530
|
id: string;
|
|
522
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
531
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
523
532
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
524
533
|
imageUrlOverride?: string | undefined;
|
|
525
534
|
imageUrlsOverride?: string | undefined;
|
|
@@ -545,7 +554,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
545
554
|
selectedItemIndex?: number | undefined;
|
|
546
555
|
}[];
|
|
547
556
|
selectedItemId: string | null;
|
|
548
|
-
selectedItemEventSource: "
|
|
557
|
+
selectedItemEventSource: "pageSettings" | "preview" | "contentSettings" | null;
|
|
549
558
|
selectedItemFieldName: string | null;
|
|
550
559
|
selectedItemValue: string | null;
|
|
551
560
|
selectedItemIndex: number | null;
|
|
@@ -553,7 +562,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
553
562
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => import("../../../shared/content-settings/models").ContentItem<any> | undefined;
|
|
554
563
|
getValue(state: {
|
|
555
564
|
addContentOptions: {
|
|
556
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
565
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
557
566
|
category: string;
|
|
558
567
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
559
568
|
displayName: string;
|
|
@@ -564,11 +573,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
564
573
|
}[];
|
|
565
574
|
items: {
|
|
566
575
|
id: string;
|
|
567
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
576
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
568
577
|
settings: {
|
|
569
578
|
content: {
|
|
570
579
|
id: string;
|
|
571
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
580
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
572
581
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
573
582
|
imageUrlOverride?: string | undefined;
|
|
574
583
|
imageUrlsOverride?: string | undefined;
|
|
@@ -594,7 +603,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
594
603
|
selectedItemIndex?: number | undefined;
|
|
595
604
|
}[];
|
|
596
605
|
selectedItemId: string | null;
|
|
597
|
-
selectedItemEventSource: "
|
|
606
|
+
selectedItemEventSource: "pageSettings" | "preview" | "contentSettings" | null;
|
|
598
607
|
selectedItemFieldName: string | null;
|
|
599
608
|
selectedItemValue: string | null;
|
|
600
609
|
selectedItemIndex: number | null;
|
|
@@ -602,7 +611,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
602
611
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => string | import("../../../brand-page").Content | undefined;
|
|
603
612
|
getItemState(state: {
|
|
604
613
|
addContentOptions: {
|
|
605
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
614
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
606
615
|
category: string;
|
|
607
616
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
608
617
|
displayName: string;
|
|
@@ -613,11 +622,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
613
622
|
}[];
|
|
614
623
|
items: {
|
|
615
624
|
id: string;
|
|
616
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
625
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
617
626
|
settings: {
|
|
618
627
|
content: {
|
|
619
628
|
id: string;
|
|
620
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
629
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
621
630
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
622
631
|
imageUrlOverride?: string | undefined;
|
|
623
632
|
imageUrlsOverride?: string | undefined;
|
|
@@ -643,7 +652,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
643
652
|
selectedItemIndex?: number | undefined;
|
|
644
653
|
}[];
|
|
645
654
|
selectedItemId: string | null;
|
|
646
|
-
selectedItemEventSource: "
|
|
655
|
+
selectedItemEventSource: "pageSettings" | "preview" | "contentSettings" | null;
|
|
647
656
|
selectedItemFieldName: string | null;
|
|
648
657
|
selectedItemValue: string | null;
|
|
649
658
|
selectedItemIndex: number | null;
|
|
@@ -651,7 +660,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
651
660
|
} & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => import("../../../shared/content-settings/models").ContentSettingsItemState;
|
|
652
661
|
getItemGroupState(state: {
|
|
653
662
|
addContentOptions: {
|
|
654
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
663
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
655
664
|
category: string;
|
|
656
665
|
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
|
|
657
666
|
displayName: string;
|
|
@@ -662,11 +671,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
662
671
|
}[];
|
|
663
672
|
items: {
|
|
664
673
|
id: string;
|
|
665
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
674
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
666
675
|
settings: {
|
|
667
676
|
content: {
|
|
668
677
|
id: string;
|
|
669
|
-
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "
|
|
678
|
+
type: "website" | "image" | "map" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
670
679
|
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
671
680
|
imageUrlOverride?: string | undefined;
|
|
672
681
|
imageUrlsOverride?: string | undefined;
|
|
@@ -692,7 +701,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
692
701
|
selectedItemIndex?: number | undefined;
|
|
693
702
|
}[];
|
|
694
703
|
selectedItemId: string | null;
|
|
695
|
-
selectedItemEventSource: "
|
|
704
|
+
selectedItemEventSource: "pageSettings" | "preview" | "contentSettings" | null;
|
|
696
705
|
selectedItemFieldName: string | null;
|
|
697
706
|
selectedItemValue: string | null;
|
|
698
707
|
selectedItemIndex: number | null;
|
|
@@ -722,7 +731,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
722
731
|
_setItemSettingsFieldErrorState(payload: import("../../../shared/content-settings/models").SetItemSettingsFieldErrorMessagePayload): void;
|
|
723
732
|
_setSelectedItemId({ id, eventSource, }: {
|
|
724
733
|
id: string | null;
|
|
725
|
-
eventSource: "
|
|
734
|
+
eventSource: "pageSettings" | "preview" | "contentSettings" | null;
|
|
726
735
|
}): void;
|
|
727
736
|
_setSelectedItemFieldName({ name: name }: {
|
|
728
737
|
name: string | null;
|
|
@@ -797,13 +806,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
797
806
|
updateIsDefaultTextColorRequired(): void;
|
|
798
807
|
setSelectedItemId(payload: {
|
|
799
808
|
id: string | null;
|
|
800
|
-
eventSource: "
|
|
809
|
+
eventSource: "pageSettings" | "preview" | "contentSettings";
|
|
801
810
|
}): void;
|
|
802
811
|
setSelectedItemAndFieldName(payload: {
|
|
803
812
|
id: string | null;
|
|
804
813
|
name: string | null;
|
|
805
814
|
index: number | null;
|
|
806
|
-
eventSource: "
|
|
815
|
+
eventSource: "pageSettings" | "preview" | "contentSettings" | null;
|
|
807
816
|
}): void;
|
|
808
817
|
setSelectedItemValue(payload: {
|
|
809
818
|
value: string | null;
|
|
@@ -913,7 +922,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
913
922
|
}): void;
|
|
914
923
|
setPageSettingsSectionValue({ sectionName, propName, index, value, merge, viewport, }: {
|
|
915
924
|
sectionName: "footer" | "header" | "pages";
|
|
916
|
-
propName: "copyrightStyle" | "style" | "iconStyle" | "displayStyle" | "backgroundStyle" | "logoImage" | "logoImageStyle" | "isLogoOptional" | "viewport" | "isLogoVisible" | "logoTemplateImage" | "logoImageHeight" | "logoImageWidth" | "navigationStyles" | "
|
|
925
|
+
propName: "navigation" | "copyrightStyle" | "style" | "iconStyle" | "displayStyle" | "backgroundStyle" | "logoImage" | "logoImageStyle" | "isLogoOptional" | "viewport" | "isLogoVisible" | "logoTemplateImage" | "logoImageHeight" | "logoImageWidth" | "navigationStyles" | "logoImageUrl" | "logoDraftToken" | "logoVariation" | "logoImageBase64Url" | "backgroundColorEnabled" | "copyrightText" | "socialLinks" | "textFontFamily";
|
|
917
926
|
index?: number | undefined;
|
|
918
927
|
value: string | number | boolean | BrandPageCssStyle | import("../../../brand-page").LinksItem[] | Partial<import("../../../brand-page").ImageItem> | null | undefined;
|
|
919
928
|
merge?: boolean | undefined;
|
|
@@ -175,6 +175,7 @@ const InitialiseMakerStores = (options) => {
|
|
|
175
175
|
triggerSaveSuccessMessage: false,
|
|
176
176
|
triggerSaveEventApiOnPublishModalClose: false,
|
|
177
177
|
abTests: {},
|
|
178
|
+
isSubsequentPublish: false,
|
|
178
179
|
});
|
|
179
180
|
userStore.setIsAdmin({ isAdmin: options.isAdmin || false });
|
|
180
181
|
userStore.setHasBrandPagePremiumSubscription(false);
|