@designcrowd/library.brand-page 5.13.1-upsell-10 → 5.13.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-DzKgheAB.js → CreatedOnBrandCrowd-de-de-_LyKBIHs.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-Wpq17-yr.js → CreatedOnBrandCrowd-en-us-_kgVLJXq.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-TPR1G10m.js → CreatedOnBrandCrowd-es-es-ffkK8zoY.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-BzrEGcAh.js → CreatedOnBrandCrowd-fr-fr-wJtf5nIJ.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-CMbvWuM8.js → CreatedOnBrandCrowd-pt-pt-DpT3mSsl.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-CUXH35rd.js → CreatedOnDcom-de-de-D-yViMaE.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-B7v_J9jI.js → CreatedOnDcom-en-us-ICRy3t8I.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-CdNf_L7w.js → CreatedOnDcom-es-es-DtrYPIRQ.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-DF0oBznC.js → CreatedOnDcom-fr-fr-B84usfrI.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-v2s67cze.js → CreatedOnDcom-pt-pt-ChgVsO24.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 +1 -2
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +3 -12
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +0 -1
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +3 -16
- package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +3 -12
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +3 -12
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +3 -12
- package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +3 -12
- package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +3 -12
- package/lib/src/brand-page-maker/composables/useEventTracker.d.ts +1 -7
- package/lib/src/brand-page-maker/composables/useEventTracker.js +4 -29
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +3 -14
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +9 -54
- package/lib/src/bundled-translations.pt-BR-BDMct_Gn.js +4 -0
- package/lib/src/clients/brand-page-client.d.ts +3 -20
- package/lib/src/css/library.brand-page-brandCrowd.min.css +11 -14
- package/lib/src/css/library.brand-page-brandPage.min.css +11 -14
- package/lib/src/css/library.brand-page-designCom.min.css +11 -14
- package/lib/src/css/library.brand-page-preview.min.css +11 -14
- package/lib/src/index.mjs +34 -35
- package/lib/src/{lib-CNLROYnW.js → lib-ZZVZ7Oup.js} +14085 -14232
- package/lib/src/mockServiceWorker.js +1 -1
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +0 -4
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +0 -4
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +3 -12
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +3 -12
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +3 -16
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +3 -12
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +10 -30
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.js +2 -24
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +3 -12
- package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +0 -4
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +3 -16
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +0 -4
- package/package.json +2 -2
- package/src/brand-page/models/brand-page-context.model.ts +1 -7
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +0 -1
- package/src/brand-page-maker/composables/useEventTracker.ts +4 -37
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +9 -92
- package/src/clients/brand-page-client.ts +3 -22
- package/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.ts +2 -29
- package/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.vue +0 -6
- package/lib/src/bundled-translations.pt-BR-CamDrN1O.js +0 -7
|
@@ -36,7 +36,6 @@ 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;
|
|
40
39
|
}
|
|
41
40
|
export declare const MEDIA_SIZES: {
|
|
42
41
|
readonly size1x: "size1x";
|
|
@@ -75,5 +74,4 @@ export interface BrandPageContext {
|
|
|
75
74
|
isCapturingPreview: boolean;
|
|
76
75
|
disableLogoRenderOnServerside?: boolean;
|
|
77
76
|
}
|
|
78
|
-
export declare const getValueType: (key: string, abtestValue?: string) => AbTestResult;
|
|
79
77
|
export declare const getAbTestResults: (abtestKeyValues: Record<string, string>) => AbTest;
|
|
@@ -24,14 +24,13 @@ 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',
|
|
28
27
|
};
|
|
29
28
|
export const MEDIA_SIZES = {
|
|
30
29
|
size1x: 'size1x',
|
|
31
30
|
size2x: 'size2x',
|
|
32
31
|
sizeThumb: 'sizeThumb',
|
|
33
32
|
};
|
|
34
|
-
|
|
33
|
+
const getValueType = (key, abtestValue) => {
|
|
35
34
|
return {
|
|
36
35
|
key: key,
|
|
37
36
|
value: abtestValue || '',
|
|
@@ -246,10 +246,8 @@ 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;
|
|
250
249
|
showPublishOptionModal?: boolean | undefined;
|
|
251
250
|
abTests: Record<string, string>;
|
|
252
|
-
isSubsequentPublish: boolean;
|
|
253
251
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
254
252
|
isUserDraft: (state: {
|
|
255
253
|
availableTaxes: any[];
|
|
@@ -307,10 +305,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
307
305
|
isPrePurchase: boolean;
|
|
308
306
|
makerFonts: any[];
|
|
309
307
|
eventButtonLocation?: string | undefined;
|
|
310
|
-
websiteUpsellModalViewModel?: any;
|
|
311
308
|
showPublishOptionModal?: boolean | undefined;
|
|
312
309
|
abTests: Record<string, string>;
|
|
313
|
-
isSubsequentPublish: boolean;
|
|
314
310
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
315
311
|
}, {
|
|
316
312
|
clearTriggerSaveEventApiOnPublishModalClose(): void;
|
|
@@ -343,7 +339,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
343
339
|
}): void;
|
|
344
340
|
setCreateCustomDomainErrorMessage(payload: any): void;
|
|
345
341
|
setBrandPageIsCustomDomainEnabled(payload: any): void;
|
|
346
|
-
setIsSubsequentPublish(payload: any): void;
|
|
347
342
|
clearPublishErrorMessage(): void;
|
|
348
343
|
closePublishModal(payload?: {
|
|
349
344
|
skipShowNextNotificationMessage?: boolean | undefined;
|
|
@@ -353,10 +348,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
353
348
|
publishBrandPage({ shouldPublish, slug }: {
|
|
354
349
|
shouldPublish: any;
|
|
355
350
|
slug: any;
|
|
356
|
-
}): Promise<
|
|
357
|
-
success: boolean;
|
|
358
|
-
websiteUpsellModalViewModel: any;
|
|
359
|
-
}>;
|
|
351
|
+
}): Promise<boolean>;
|
|
360
352
|
publishBrandPageWithCustomDomainAsync({ shouldPublish, slug, domain, isPurchasedDomain, }: {
|
|
361
353
|
shouldPublish: any;
|
|
362
354
|
slug: any;
|
|
@@ -373,13 +365,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
373
365
|
eventButtonLocation?: string | undefined;
|
|
374
366
|
}): Promise<false | {
|
|
375
367
|
saved: boolean;
|
|
376
|
-
canPublish:
|
|
377
|
-
websiteUpsellModalViewModel: any;
|
|
368
|
+
canPublish: any;
|
|
378
369
|
}>;
|
|
379
370
|
saveAndPublishBrandPage(eventButtonLocation: string): Promise<void>;
|
|
380
371
|
saveTemplate(): Promise<void>;
|
|
381
372
|
setBrandPageStatus(status: any): Promise<void>;
|
|
382
|
-
showPublishModal(eventButtonLocation?: string | undefined
|
|
373
|
+
showPublishModal(eventButtonLocation?: string | undefined): void;
|
|
383
374
|
showBrandPageSlugEditModal(): Promise<void>;
|
|
384
375
|
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
385
376
|
showStripeOnboardingModal(): void;
|
|
@@ -175,7 +175,6 @@ const InitialiseMakerStores = (options) => {
|
|
|
175
175
|
triggerSaveSuccessMessage: false,
|
|
176
176
|
triggerSaveEventApiOnPublishModalClose: false,
|
|
177
177
|
abTests: {},
|
|
178
|
-
isSubsequentPublish: false,
|
|
179
178
|
});
|
|
180
179
|
userStore.setIsAdmin({ isAdmin: options.isAdmin || false });
|
|
181
180
|
userStore.setHasBrandPagePremiumSubscription(false);
|
package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts
CHANGED
|
@@ -684,10 +684,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
684
684
|
isPrePurchase: boolean;
|
|
685
685
|
makerFonts: any[];
|
|
686
686
|
eventButtonLocation?: string | undefined;
|
|
687
|
-
websiteUpsellModalViewModel?: any;
|
|
688
687
|
showPublishOptionModal?: boolean | undefined;
|
|
689
688
|
abTests: Record<string, string>;
|
|
690
|
-
isSubsequentPublish: boolean;
|
|
691
689
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
692
690
|
isUserDraft: (state: {
|
|
693
691
|
availableTaxes: any[];
|
|
@@ -745,10 +743,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
745
743
|
isPrePurchase: boolean;
|
|
746
744
|
makerFonts: any[];
|
|
747
745
|
eventButtonLocation?: string | undefined;
|
|
748
|
-
websiteUpsellModalViewModel?: any;
|
|
749
746
|
showPublishOptionModal?: boolean | undefined;
|
|
750
747
|
abTests: Record<string, string>;
|
|
751
|
-
isSubsequentPublish: boolean;
|
|
752
748
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
753
749
|
}, {
|
|
754
750
|
clearTriggerSaveEventApiOnPublishModalClose(): void;
|
|
@@ -781,7 +777,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
781
777
|
}): void;
|
|
782
778
|
setCreateCustomDomainErrorMessage(payload: any): void;
|
|
783
779
|
setBrandPageIsCustomDomainEnabled(payload: any): void;
|
|
784
|
-
setIsSubsequentPublish(payload: any): void;
|
|
785
780
|
clearPublishErrorMessage(): void;
|
|
786
781
|
closePublishModal(payload?: {
|
|
787
782
|
skipShowNextNotificationMessage?: boolean | undefined;
|
|
@@ -791,10 +786,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
791
786
|
publishBrandPage({ shouldPublish, slug }: {
|
|
792
787
|
shouldPublish: any;
|
|
793
788
|
slug: any;
|
|
794
|
-
}): Promise<
|
|
795
|
-
success: boolean;
|
|
796
|
-
websiteUpsellModalViewModel: any;
|
|
797
|
-
}>;
|
|
789
|
+
}): Promise<boolean>;
|
|
798
790
|
publishBrandPageWithCustomDomainAsync({ shouldPublish, slug, domain, isPurchasedDomain, }: {
|
|
799
791
|
shouldPublish: any;
|
|
800
792
|
slug: any;
|
|
@@ -811,13 +803,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
811
803
|
eventButtonLocation?: string | undefined;
|
|
812
804
|
}): Promise<false | {
|
|
813
805
|
saved: boolean;
|
|
814
|
-
canPublish:
|
|
815
|
-
websiteUpsellModalViewModel: any;
|
|
806
|
+
canPublish: any;
|
|
816
807
|
}>;
|
|
817
808
|
saveAndPublishBrandPage(eventButtonLocation: string): Promise<void>;
|
|
818
809
|
saveTemplate(): Promise<void>;
|
|
819
810
|
setBrandPageStatus(status: any): Promise<void>;
|
|
820
|
-
showPublishModal(eventButtonLocation?: string | undefined
|
|
811
|
+
showPublishModal(eventButtonLocation?: string | undefined): void;
|
|
821
812
|
showBrandPageSlugEditModal(): Promise<void>;
|
|
822
813
|
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
823
814
|
showStripeOnboardingModal(): void;
|
|
@@ -980,7 +971,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
980
971
|
setPreviousSelectedDisplayStyle(viewport: string, displayStyle: string): void;
|
|
981
972
|
}>;
|
|
982
973
|
eventTracker: {
|
|
983
|
-
sendExperimentStartedEvent: (abTestKey: string, abTestValue: string) => void;
|
|
984
974
|
setGlobalEventProps: (props: Omit<import("../../../brand-page-maker/composables/useEventTracker").BpGlobalEventProps, "template_category">) => void;
|
|
985
975
|
setUpsellBridgeState: (props: import("../../../brand-page-maker/composables/useEventTracker").BpUpsellEventProps) => void;
|
|
986
976
|
subscribe: (callbackFn: (event: import("../../../brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void) => void;
|
|
@@ -989,7 +979,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
989
979
|
sendUpsellOpenEvent: () => void;
|
|
990
980
|
sendUpsellContinuationEvent: (continuation: string) => void;
|
|
991
981
|
sendPublishOpenEvent: () => void;
|
|
992
|
-
appendPublishBridgeState: (props: any) => void;
|
|
993
982
|
sendPublishContinuationEvent: (continuation: string, domain: string | null) => void;
|
|
994
983
|
sendWebsiteManageAddPageEvent: (pageName: string) => void;
|
|
995
984
|
sendWebsiteManageRemovePageEvent: (pageName: string) => void;
|
|
@@ -1002,8 +991,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1002
991
|
sendTemplateCategorySelectEvent: (category: string) => void;
|
|
1003
992
|
sendSidebarCategoryClickedEvent: (tabName: string) => void;
|
|
1004
993
|
sendAddContentContinuationEvent: (continuation: string) => void;
|
|
1005
|
-
sendUpsellOfferEvent: (upsellType: string) => void;
|
|
1006
|
-
sendUpsellOfferActionEvent: (upsellType: string, action: string) => void;
|
|
1007
994
|
};
|
|
1008
995
|
externalEditor: import("@tiptap/vue-3").Editor;
|
|
1009
996
|
styleSettingsStore: import("pinia").Store<"uiStyleSettings", import("../../../shared/style-settings/store").StyleSettingsState, {
|
|
@@ -67,10 +67,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
67
67
|
isPrePurchase: boolean;
|
|
68
68
|
makerFonts: any[];
|
|
69
69
|
eventButtonLocation?: string | undefined;
|
|
70
|
-
websiteUpsellModalViewModel?: any;
|
|
71
70
|
showPublishOptionModal?: boolean | undefined;
|
|
72
71
|
abTests: Record<string, string>;
|
|
73
|
-
isSubsequentPublish: boolean;
|
|
74
72
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
75
73
|
isUserDraft: (state: {
|
|
76
74
|
availableTaxes: any[];
|
|
@@ -128,10 +126,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
128
126
|
isPrePurchase: boolean;
|
|
129
127
|
makerFonts: any[];
|
|
130
128
|
eventButtonLocation?: string | undefined;
|
|
131
|
-
websiteUpsellModalViewModel?: any;
|
|
132
129
|
showPublishOptionModal?: boolean | undefined;
|
|
133
130
|
abTests: Record<string, string>;
|
|
134
|
-
isSubsequentPublish: boolean;
|
|
135
131
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
136
132
|
}, {
|
|
137
133
|
clearTriggerSaveEventApiOnPublishModalClose(): void;
|
|
@@ -164,7 +160,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
164
160
|
}): void;
|
|
165
161
|
setCreateCustomDomainErrorMessage(payload: any): void;
|
|
166
162
|
setBrandPageIsCustomDomainEnabled(payload: any): void;
|
|
167
|
-
setIsSubsequentPublish(payload: any): void;
|
|
168
163
|
clearPublishErrorMessage(): void;
|
|
169
164
|
closePublishModal(payload?: {
|
|
170
165
|
skipShowNextNotificationMessage?: boolean | undefined;
|
|
@@ -174,10 +169,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
174
169
|
publishBrandPage({ shouldPublish, slug }: {
|
|
175
170
|
shouldPublish: any;
|
|
176
171
|
slug: any;
|
|
177
|
-
}): Promise<
|
|
178
|
-
success: boolean;
|
|
179
|
-
websiteUpsellModalViewModel: any;
|
|
180
|
-
}>;
|
|
172
|
+
}): Promise<boolean>;
|
|
181
173
|
publishBrandPageWithCustomDomainAsync({ shouldPublish, slug, domain, isPurchasedDomain, }: {
|
|
182
174
|
shouldPublish: any;
|
|
183
175
|
slug: any;
|
|
@@ -194,13 +186,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
194
186
|
eventButtonLocation?: string | undefined;
|
|
195
187
|
}): Promise<false | {
|
|
196
188
|
saved: boolean;
|
|
197
|
-
canPublish:
|
|
198
|
-
websiteUpsellModalViewModel: any;
|
|
189
|
+
canPublish: any;
|
|
199
190
|
}>;
|
|
200
191
|
saveAndPublishBrandPage(eventButtonLocation: string): Promise<void>;
|
|
201
192
|
saveTemplate(): Promise<void>;
|
|
202
193
|
setBrandPageStatus(status: any): Promise<void>;
|
|
203
|
-
showPublishModal(eventButtonLocation?: string | undefined
|
|
194
|
+
showPublishModal(eventButtonLocation?: string | undefined): void;
|
|
204
195
|
showBrandPageSlugEditModal(): Promise<void>;
|
|
205
196
|
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
206
197
|
showStripeOnboardingModal(): void;
|
|
@@ -83,10 +83,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
83
83
|
isPrePurchase: boolean;
|
|
84
84
|
makerFonts: any[];
|
|
85
85
|
eventButtonLocation?: string | undefined;
|
|
86
|
-
websiteUpsellModalViewModel?: any;
|
|
87
86
|
showPublishOptionModal?: boolean | undefined;
|
|
88
87
|
abTests: Record<string, string>;
|
|
89
|
-
isSubsequentPublish: boolean;
|
|
90
88
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
91
89
|
isUserDraft: (state: {
|
|
92
90
|
availableTaxes: any[];
|
|
@@ -144,10 +142,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
144
142
|
isPrePurchase: boolean;
|
|
145
143
|
makerFonts: any[];
|
|
146
144
|
eventButtonLocation?: string | undefined;
|
|
147
|
-
websiteUpsellModalViewModel?: any;
|
|
148
145
|
showPublishOptionModal?: boolean | undefined;
|
|
149
146
|
abTests: Record<string, string>;
|
|
150
|
-
isSubsequentPublish: boolean;
|
|
151
147
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
152
148
|
}, {
|
|
153
149
|
clearTriggerSaveEventApiOnPublishModalClose(): void;
|
|
@@ -180,7 +176,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
180
176
|
}): void;
|
|
181
177
|
setCreateCustomDomainErrorMessage(payload: any): void;
|
|
182
178
|
setBrandPageIsCustomDomainEnabled(payload: any): void;
|
|
183
|
-
setIsSubsequentPublish(payload: any): void;
|
|
184
179
|
clearPublishErrorMessage(): void;
|
|
185
180
|
closePublishModal(payload?: {
|
|
186
181
|
skipShowNextNotificationMessage?: boolean | undefined;
|
|
@@ -190,10 +185,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
190
185
|
publishBrandPage({ shouldPublish, slug }: {
|
|
191
186
|
shouldPublish: any;
|
|
192
187
|
slug: any;
|
|
193
|
-
}): Promise<
|
|
194
|
-
success: boolean;
|
|
195
|
-
websiteUpsellModalViewModel: any;
|
|
196
|
-
}>;
|
|
188
|
+
}): Promise<boolean>;
|
|
197
189
|
publishBrandPageWithCustomDomainAsync({ shouldPublish, slug, domain, isPurchasedDomain, }: {
|
|
198
190
|
shouldPublish: any;
|
|
199
191
|
slug: any;
|
|
@@ -210,13 +202,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
210
202
|
eventButtonLocation?: string | undefined;
|
|
211
203
|
}): Promise<false | {
|
|
212
204
|
saved: boolean;
|
|
213
|
-
canPublish:
|
|
214
|
-
websiteUpsellModalViewModel: any;
|
|
205
|
+
canPublish: any;
|
|
215
206
|
}>;
|
|
216
207
|
saveAndPublishBrandPage(eventButtonLocation: string): Promise<void>;
|
|
217
208
|
saveTemplate(): Promise<void>;
|
|
218
209
|
setBrandPageStatus(status: any): Promise<void>;
|
|
219
|
-
showPublishModal(eventButtonLocation?: string | undefined
|
|
210
|
+
showPublishModal(eventButtonLocation?: string | undefined): void;
|
|
220
211
|
showBrandPageSlugEditModal(): Promise<void>;
|
|
221
212
|
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
222
213
|
showStripeOnboardingModal(): void;
|
|
@@ -86,10 +86,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
86
86
|
isPrePurchase: boolean;
|
|
87
87
|
makerFonts: any[];
|
|
88
88
|
eventButtonLocation?: string | undefined;
|
|
89
|
-
websiteUpsellModalViewModel?: any;
|
|
90
89
|
showPublishOptionModal?: boolean | undefined;
|
|
91
90
|
abTests: Record<string, string>;
|
|
92
|
-
isSubsequentPublish: boolean;
|
|
93
91
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
94
92
|
isUserDraft: (state: {
|
|
95
93
|
availableTaxes: any[];
|
|
@@ -147,10 +145,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
147
145
|
isPrePurchase: boolean;
|
|
148
146
|
makerFonts: any[];
|
|
149
147
|
eventButtonLocation?: string | undefined;
|
|
150
|
-
websiteUpsellModalViewModel?: any;
|
|
151
148
|
showPublishOptionModal?: boolean | undefined;
|
|
152
149
|
abTests: Record<string, string>;
|
|
153
|
-
isSubsequentPublish: boolean;
|
|
154
150
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
155
151
|
}, {
|
|
156
152
|
clearTriggerSaveEventApiOnPublishModalClose(): void;
|
|
@@ -183,7 +179,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
183
179
|
}): void;
|
|
184
180
|
setCreateCustomDomainErrorMessage(payload: any): void;
|
|
185
181
|
setBrandPageIsCustomDomainEnabled(payload: any): void;
|
|
186
|
-
setIsSubsequentPublish(payload: any): void;
|
|
187
182
|
clearPublishErrorMessage(): void;
|
|
188
183
|
closePublishModal(payload?: {
|
|
189
184
|
skipShowNextNotificationMessage?: boolean | undefined;
|
|
@@ -193,10 +188,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
193
188
|
publishBrandPage({ shouldPublish, slug }: {
|
|
194
189
|
shouldPublish: any;
|
|
195
190
|
slug: any;
|
|
196
|
-
}): Promise<
|
|
197
|
-
success: boolean;
|
|
198
|
-
websiteUpsellModalViewModel: any;
|
|
199
|
-
}>;
|
|
191
|
+
}): Promise<boolean>;
|
|
200
192
|
publishBrandPageWithCustomDomainAsync({ shouldPublish, slug, domain, isPurchasedDomain, }: {
|
|
201
193
|
shouldPublish: any;
|
|
202
194
|
slug: any;
|
|
@@ -213,13 +205,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
213
205
|
eventButtonLocation?: string | undefined;
|
|
214
206
|
}): Promise<false | {
|
|
215
207
|
saved: boolean;
|
|
216
|
-
canPublish:
|
|
217
|
-
websiteUpsellModalViewModel: any;
|
|
208
|
+
canPublish: any;
|
|
218
209
|
}>;
|
|
219
210
|
saveAndPublishBrandPage(eventButtonLocation: string): Promise<void>;
|
|
220
211
|
saveTemplate(): Promise<void>;
|
|
221
212
|
setBrandPageStatus(status: any): Promise<void>;
|
|
222
|
-
showPublishModal(eventButtonLocation?: string | undefined
|
|
213
|
+
showPublishModal(eventButtonLocation?: string | undefined): void;
|
|
223
214
|
showBrandPageSlugEditModal(): Promise<void>;
|
|
224
215
|
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
225
216
|
showStripeOnboardingModal(): void;
|
|
@@ -64,10 +64,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
64
64
|
isPrePurchase: boolean;
|
|
65
65
|
makerFonts: any[];
|
|
66
66
|
eventButtonLocation?: string | undefined;
|
|
67
|
-
websiteUpsellModalViewModel?: any;
|
|
68
67
|
showPublishOptionModal?: boolean | undefined;
|
|
69
68
|
abTests: Record<string, string>;
|
|
70
|
-
isSubsequentPublish: boolean;
|
|
71
69
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
72
70
|
isUserDraft: (state: {
|
|
73
71
|
availableTaxes: any[];
|
|
@@ -125,10 +123,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
125
123
|
isPrePurchase: boolean;
|
|
126
124
|
makerFonts: any[];
|
|
127
125
|
eventButtonLocation?: string | undefined;
|
|
128
|
-
websiteUpsellModalViewModel?: any;
|
|
129
126
|
showPublishOptionModal?: boolean | undefined;
|
|
130
127
|
abTests: Record<string, string>;
|
|
131
|
-
isSubsequentPublish: boolean;
|
|
132
128
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
133
129
|
}, {
|
|
134
130
|
clearTriggerSaveEventApiOnPublishModalClose(): void;
|
|
@@ -161,7 +157,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
161
157
|
}): void;
|
|
162
158
|
setCreateCustomDomainErrorMessage(payload: any): void;
|
|
163
159
|
setBrandPageIsCustomDomainEnabled(payload: any): void;
|
|
164
|
-
setIsSubsequentPublish(payload: any): void;
|
|
165
160
|
clearPublishErrorMessage(): void;
|
|
166
161
|
closePublishModal(payload?: {
|
|
167
162
|
skipShowNextNotificationMessage?: boolean | undefined;
|
|
@@ -171,10 +166,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
171
166
|
publishBrandPage({ shouldPublish, slug }: {
|
|
172
167
|
shouldPublish: any;
|
|
173
168
|
slug: any;
|
|
174
|
-
}): Promise<
|
|
175
|
-
success: boolean;
|
|
176
|
-
websiteUpsellModalViewModel: any;
|
|
177
|
-
}>;
|
|
169
|
+
}): Promise<boolean>;
|
|
178
170
|
publishBrandPageWithCustomDomainAsync({ shouldPublish, slug, domain, isPurchasedDomain, }: {
|
|
179
171
|
shouldPublish: any;
|
|
180
172
|
slug: any;
|
|
@@ -191,13 +183,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
191
183
|
eventButtonLocation?: string | undefined;
|
|
192
184
|
}): Promise<false | {
|
|
193
185
|
saved: boolean;
|
|
194
|
-
canPublish:
|
|
195
|
-
websiteUpsellModalViewModel: any;
|
|
186
|
+
canPublish: any;
|
|
196
187
|
}>;
|
|
197
188
|
saveAndPublishBrandPage(eventButtonLocation: string): Promise<void>;
|
|
198
189
|
saveTemplate(): Promise<void>;
|
|
199
190
|
setBrandPageStatus(status: any): Promise<void>;
|
|
200
|
-
showPublishModal(eventButtonLocation?: string | undefined
|
|
191
|
+
showPublishModal(eventButtonLocation?: string | undefined): void;
|
|
201
192
|
showBrandPageSlugEditModal(): Promise<void>;
|
|
202
193
|
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
203
194
|
showStripeOnboardingModal(): void;
|
|
@@ -64,10 +64,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
64
64
|
isPrePurchase: boolean;
|
|
65
65
|
makerFonts: any[];
|
|
66
66
|
eventButtonLocation?: string | undefined;
|
|
67
|
-
websiteUpsellModalViewModel?: any;
|
|
68
67
|
showPublishOptionModal?: boolean | undefined;
|
|
69
68
|
abTests: Record<string, string>;
|
|
70
|
-
isSubsequentPublish: boolean;
|
|
71
69
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
72
70
|
isUserDraft: (state: {
|
|
73
71
|
availableTaxes: any[];
|
|
@@ -125,10 +123,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
125
123
|
isPrePurchase: boolean;
|
|
126
124
|
makerFonts: any[];
|
|
127
125
|
eventButtonLocation?: string | undefined;
|
|
128
|
-
websiteUpsellModalViewModel?: any;
|
|
129
126
|
showPublishOptionModal?: boolean | undefined;
|
|
130
127
|
abTests: Record<string, string>;
|
|
131
|
-
isSubsequentPublish: boolean;
|
|
132
128
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
133
129
|
}, {
|
|
134
130
|
clearTriggerSaveEventApiOnPublishModalClose(): void;
|
|
@@ -161,7 +157,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
161
157
|
}): void;
|
|
162
158
|
setCreateCustomDomainErrorMessage(payload: any): void;
|
|
163
159
|
setBrandPageIsCustomDomainEnabled(payload: any): void;
|
|
164
|
-
setIsSubsequentPublish(payload: any): void;
|
|
165
160
|
clearPublishErrorMessage(): void;
|
|
166
161
|
closePublishModal(payload?: {
|
|
167
162
|
skipShowNextNotificationMessage?: boolean | undefined;
|
|
@@ -171,10 +166,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
171
166
|
publishBrandPage({ shouldPublish, slug }: {
|
|
172
167
|
shouldPublish: any;
|
|
173
168
|
slug: any;
|
|
174
|
-
}): Promise<
|
|
175
|
-
success: boolean;
|
|
176
|
-
websiteUpsellModalViewModel: any;
|
|
177
|
-
}>;
|
|
169
|
+
}): Promise<boolean>;
|
|
178
170
|
publishBrandPageWithCustomDomainAsync({ shouldPublish, slug, domain, isPurchasedDomain, }: {
|
|
179
171
|
shouldPublish: any;
|
|
180
172
|
slug: any;
|
|
@@ -191,13 +183,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
191
183
|
eventButtonLocation?: string | undefined;
|
|
192
184
|
}): Promise<false | {
|
|
193
185
|
saved: boolean;
|
|
194
|
-
canPublish:
|
|
195
|
-
websiteUpsellModalViewModel: any;
|
|
186
|
+
canPublish: any;
|
|
196
187
|
}>;
|
|
197
188
|
saveAndPublishBrandPage(eventButtonLocation: string): Promise<void>;
|
|
198
189
|
saveTemplate(): Promise<void>;
|
|
199
190
|
setBrandPageStatus(status: any): Promise<void>;
|
|
200
|
-
showPublishModal(eventButtonLocation?: string | undefined
|
|
191
|
+
showPublishModal(eventButtonLocation?: string | undefined): void;
|
|
201
192
|
showBrandPageSlugEditModal(): Promise<void>;
|
|
202
193
|
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
203
194
|
showStripeOnboardingModal(): void;
|
|
@@ -18,7 +18,7 @@ export interface BpEventTrackerEvent {
|
|
|
18
18
|
eventProps: any;
|
|
19
19
|
}
|
|
20
20
|
export declare const EVENTS: {
|
|
21
|
-
|
|
21
|
+
TEST: string;
|
|
22
22
|
WEBSITE_MAKER_ADD_CONTENT: string;
|
|
23
23
|
WEBSITE_MAKER_REMOVE_CONTENT: string;
|
|
24
24
|
WEBSITE_MAKER_SELECT_CONTENT: string;
|
|
@@ -38,8 +38,6 @@ export declare const EVENTS: {
|
|
|
38
38
|
WEBSITE_MAKER_HYPERLINK_CLICK: string;
|
|
39
39
|
WEBSITE_MAKER_HYPERLINK_EDIT: string;
|
|
40
40
|
WEBSITE_MAKER_CALENDLY_LINK_CLICKED: string;
|
|
41
|
-
WEBSITE_MAKER_UPSELL_OFFER: string;
|
|
42
|
-
WEBSITE_MAKER_UPSELL_ACTION: string;
|
|
43
41
|
};
|
|
44
42
|
export declare const SELECT_LOCATIONS: {
|
|
45
43
|
MAKER_PREVIEW: string;
|
|
@@ -75,7 +73,6 @@ export declare const PUBLISH_OPTION_MODAL_CONTINUATION_EVENTS: {
|
|
|
75
73
|
FREEMIUM: string;
|
|
76
74
|
};
|
|
77
75
|
declare const useEventTracker: () => {
|
|
78
|
-
sendExperimentStartedEvent: (abTestKey: string, abTestValue: string) => void;
|
|
79
76
|
setGlobalEventProps: (props: Omit<BpGlobalEventProps, 'template_category'>) => void;
|
|
80
77
|
setUpsellBridgeState: (props: BpUpsellEventProps) => void;
|
|
81
78
|
subscribe: (callbackFn: (event: BpEventTrackerEvent) => void) => void;
|
|
@@ -84,7 +81,6 @@ declare const useEventTracker: () => {
|
|
|
84
81
|
sendUpsellOpenEvent: () => void;
|
|
85
82
|
sendUpsellContinuationEvent: (continuation: string) => void;
|
|
86
83
|
sendPublishOpenEvent: () => void;
|
|
87
|
-
appendPublishBridgeState: (props: any) => void;
|
|
88
84
|
sendPublishContinuationEvent: (continuation: string, domain: string | null) => void;
|
|
89
85
|
sendWebsiteManageAddPageEvent: (pageName: string) => void;
|
|
90
86
|
sendWebsiteManageRemovePageEvent: (pageName: string) => void;
|
|
@@ -97,7 +93,5 @@ declare const useEventTracker: () => {
|
|
|
97
93
|
sendTemplateCategorySelectEvent: (category: string) => void;
|
|
98
94
|
sendSidebarCategoryClickedEvent: (tabName: string) => void;
|
|
99
95
|
sendAddContentContinuationEvent: (continuation: string) => void;
|
|
100
|
-
sendUpsellOfferEvent: (upsellType: string) => void;
|
|
101
|
-
sendUpsellOfferActionEvent: (upsellType: string, action: string) => void;
|
|
102
96
|
};
|
|
103
97
|
export { useEventTracker };
|