@designcrowd/library.brand-page 5.16.30-kp-1 → 5.16.30
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-B2riw7Xf.js → CreatedOnBrandCrowd-de-de-Bpq93PYV.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-CTC2zNoh.js → CreatedOnBrandCrowd-en-us-B1eyTyBy.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-EphpRV0M.js → CreatedOnBrandCrowd-es-es-zmcaRsUk.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-BLfuCpr3.js → CreatedOnBrandCrowd-fr-ca-DC55qI6X.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-BLfuCpr3.js → CreatedOnBrandCrowd-fr-fr-DC55qI6X.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-OsTP6mgn.js → CreatedOnBrandCrowd-pt-br-DAY9Ku62.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-OsTP6mgn.js → CreatedOnBrandCrowd-pt-pt-DAY9Ku62.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-DAvVGWaZ.js → CreatedOnDcom-de-de-C69Ls6bC.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-CA4CBgkZ.js → CreatedOnDcom-en-us-C4dFNXZF.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-DBW-7edp.js → CreatedOnDcom-es-es-DvDsN6Uv.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-DGPhBy4R.js → CreatedOnDcom-fr-ca-DHfsoFKZ.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-FB5HjDlW.js → CreatedOnDcom-fr-fr-CnBLQlkB.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-GxFqbM2q.js → CreatedOnDcom-pt-br-CGIf96NK.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-CsbZfRMY.js → CreatedOnDcom-pt-pt-DoExg9-a.js} +1 -1
- package/lib/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +2 -9
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +0 -2
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +2 -9
- package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +1 -8
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +1 -8
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +1 -8
- package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +1 -8
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +1 -8
- package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +1 -8
- package/lib/src/brand-page-maker/composables/useEventTracker.d.ts +1 -1
- package/lib/src/brand-page-maker/composables/useEventTracker.js +1 -2
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +1 -21
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +5 -67
- package/lib/src/brand-page-maker/stores/ui/ui-store.d.ts +1 -2
- package/lib/src/brand-page-maker/stores/ui/ui-store.js +3 -3
- package/lib/src/bundled-translations-BIGubIjR.js +27 -0
- package/lib/src/bundled-translations.de-DE-BlRXQRfj.js +27 -0
- package/lib/src/bundled-translations.es-ES-DM0rW0ag.js +27 -0
- package/lib/src/bundled-translations.fr-CA-CxrcN0ZI.js +27 -0
- package/lib/src/bundled-translations.fr-FR-C3MGfUYG.js +27 -0
- package/lib/src/bundled-translations.pt-BR-BjWNdapt.js +27 -0
- package/lib/src/bundled-translations.pt-PT-BpjsqJGB.js +27 -0
- package/lib/src/clients/brand-page-client.d.ts +0 -5
- package/lib/src/clients/brand-page-client.js +0 -9
- package/lib/src/css/library.brand-page-brandCrowd.min.css +21 -28
- package/lib/src/css/library.brand-page-brandPage.min.css +17 -32
- package/lib/src/css/library.brand-page-designCom.min.css +21 -28
- package/lib/src/css/library.brand-page-preview.min.css +17 -28
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-XkZMYMBf.js → lib--LQcSOtg.js} +15824 -16457
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +1 -8
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +2 -2
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +1 -8
- package/lib/src/shared/logo-versions/LogoVersions.mixin.d.ts +1 -1
- package/lib/src/shared/my-designs/MyDesigns.mixin.d.ts +1 -1
- package/lib/src/shared/my-uploads/MyMedia.mixin.d.ts +1 -1
- package/lib/src/shared/my-uploads/MyUploads.mixin.d.ts +1 -1
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +3 -10
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.js +2 -2
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +2 -9
- package/lib/src/shared/page-settings/store/page-settings-store.js +2 -2
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +2 -9
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +1 -8
- package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +1 -1
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +3 -10
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.js +2 -2
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +2 -2
- package/lib/src/shared/unsplash-library/UnsplashLibrary.mixin.d.ts +1 -1
- package/package.json +2 -2
- package/src/brand-page/components/brand-page-footer/BrandPageFooter.vue +1 -4
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +0 -2
- package/src/brand-page-maker/components/google-analytics/GoogleAnalytics.vue +1 -4
- package/src/brand-page-maker/composables/useEventTracker.ts +1 -2
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +5 -106
- package/src/brand-page-maker/stores/ui/ui-store.ts +3 -10
- package/src/clients/brand-page-client.ts +0 -20
- package/src/shared/page-settings/components/page-settings/PageSettings.mixin.ts +1 -4
- package/src/shared/page-settings/store/page-settings-store.test.ts +0 -8
- package/src/shared/page-settings/store/page-settings-store.ts +1 -2
- package/src/shared/style-settings/components/StyleSettings.mixin.ts +1 -4
- package/lib/src/bundled-translations-FowM2zwt.js +0 -29
- package/lib/src/bundled-translations.de-DE-CHtdMYcb.js +0 -29
- package/lib/src/bundled-translations.es-ES-B-mmjiLK.js +0 -29
- package/lib/src/bundled-translations.fr-CA-B7ZlM-i_.js +0 -29
- package/lib/src/bundled-translations.fr-FR-CXxURnCN.js +0 -29
- package/lib/src/bundled-translations.pt-BR-s-namm1Z.js +0 -29
- package/lib/src/bundled-translations.pt-PT-ohOSgCRv.js +0 -29
|
@@ -218,7 +218,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
218
218
|
type: string;
|
|
219
219
|
}): Promise<void>;
|
|
220
220
|
onTemplateSelected(payload: import("../../stores").OnTemplateSelectedPayload): Promise<void>;
|
|
221
|
-
showUpgradeModalAndSaveAsync(
|
|
221
|
+
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
222
222
|
setIsPersonalisationEnabled({ isPersonalisationEnabled, }: {
|
|
223
223
|
isPersonalisationEnabled: boolean;
|
|
224
224
|
}): void;
|
|
@@ -263,8 +263,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
263
263
|
showPublishOptionModal?: boolean | undefined;
|
|
264
264
|
abTests: Record<string, string>;
|
|
265
265
|
isSubsequentPublish: boolean;
|
|
266
|
-
isContextualUpgradeModalVisible: boolean;
|
|
267
|
-
contextualUpgradeType: "Publish" | "ContactForm" | "Videos" | "Maps" | "AddPage" | "RemoveWatermark" | "GoogleAd" | undefined;
|
|
268
266
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
269
267
|
isUserDraft: (state: {
|
|
270
268
|
availableTaxes: any[];
|
|
@@ -324,8 +322,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
324
322
|
showPublishOptionModal?: boolean | undefined;
|
|
325
323
|
abTests: Record<string, string>;
|
|
326
324
|
isSubsequentPublish: boolean;
|
|
327
|
-
isContextualUpgradeModalVisible: boolean;
|
|
328
|
-
contextualUpgradeType: "Publish" | "ContactForm" | "Videos" | "Maps" | "AddPage" | "RemoveWatermark" | "GoogleAd" | undefined;
|
|
329
325
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
330
326
|
}, {
|
|
331
327
|
initialise(payload: import("../../stores/brandpage-container").InitialisePayload): void;
|
|
@@ -335,8 +331,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
335
331
|
setIsPublishing(payload: any): void;
|
|
336
332
|
setIsPublishModalVisible(payload: any): void;
|
|
337
333
|
setIsPublishUpgradeModal(payload: any): void;
|
|
338
|
-
setIsContextualUpgradeModalVisible(payload: any): void;
|
|
339
|
-
setContextualUpgradeType(payload: any): void;
|
|
340
334
|
setIsSaving(payload: any): void;
|
|
341
335
|
setIsUpgradeModalVisible(payload: any): void;
|
|
342
336
|
setPublishErrorMessage(payload: any): void;
|
|
@@ -396,8 +390,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
396
390
|
setBrandPageStatus(status: any): Promise<void>;
|
|
397
391
|
showPublishModal(eventButtonLocation?: string | undefined, websiteUpsellModalViewModel?: any, isSubsequentPublish?: boolean | undefined): void;
|
|
398
392
|
showBrandPageSlugEditModal(eventButtonLocation: string): Promise<void>;
|
|
399
|
-
showUpgradeModalAndSaveAsync(
|
|
400
|
-
getWebsiteContextualUpgrade(): Promise<import("../../../clients/brand-page-client").getWebsiteContextualUpgradeResponse | undefined>;
|
|
393
|
+
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
401
394
|
showStripeOnboardingModal(): void;
|
|
402
395
|
closeStripeOnboardingModal(): void;
|
|
403
396
|
showSaveSuccessMessage(): Promise<void>;
|
|
@@ -900,7 +893,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
900
893
|
type: string;
|
|
901
894
|
}): Promise<void>;
|
|
902
895
|
onTemplateSelected(payload: import("../../stores").OnTemplateSelectedPayload): Promise<void>;
|
|
903
|
-
showUpgradeModalAndSaveAsync(
|
|
896
|
+
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
904
897
|
setIsPersonalisationEnabled({ isPersonalisationEnabled, }: {
|
|
905
898
|
isPersonalisationEnabled: boolean;
|
|
906
899
|
}): void;
|
|
@@ -174,8 +174,6 @@ const InitialiseMakerStores = (options) => {
|
|
|
174
174
|
triggerSaveSuccessMessage: false,
|
|
175
175
|
abTests: {},
|
|
176
176
|
isSubsequentPublish: false,
|
|
177
|
-
contextualUpgradeType: undefined,
|
|
178
|
-
isContextualUpgradeModalVisible: false,
|
|
179
177
|
gettyVideos: [],
|
|
180
178
|
});
|
|
181
179
|
userStore.setIsAdmin({ isAdmin: options.isAdmin || false });
|
package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts
CHANGED
|
@@ -696,8 +696,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
696
696
|
showPublishOptionModal?: boolean | undefined;
|
|
697
697
|
abTests: Record<string, string>;
|
|
698
698
|
isSubsequentPublish: boolean;
|
|
699
|
-
isContextualUpgradeModalVisible: boolean;
|
|
700
|
-
contextualUpgradeType: "Publish" | "ContactForm" | "Videos" | "Maps" | "AddPage" | "RemoveWatermark" | "GoogleAd" | undefined;
|
|
701
699
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
702
700
|
isUserDraft: (state: {
|
|
703
701
|
availableTaxes: any[];
|
|
@@ -757,8 +755,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
757
755
|
showPublishOptionModal?: boolean | undefined;
|
|
758
756
|
abTests: Record<string, string>;
|
|
759
757
|
isSubsequentPublish: boolean;
|
|
760
|
-
isContextualUpgradeModalVisible: boolean;
|
|
761
|
-
contextualUpgradeType: "Publish" | "ContactForm" | "Videos" | "Maps" | "AddPage" | "RemoveWatermark" | "GoogleAd" | undefined;
|
|
762
758
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
763
759
|
}, {
|
|
764
760
|
initialise(payload: import("../../stores/brandpage-container").InitialisePayload): void;
|
|
@@ -768,8 +764,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
768
764
|
setIsPublishing(payload: any): void;
|
|
769
765
|
setIsPublishModalVisible(payload: any): void;
|
|
770
766
|
setIsPublishUpgradeModal(payload: any): void;
|
|
771
|
-
setIsContextualUpgradeModalVisible(payload: any): void;
|
|
772
|
-
setContextualUpgradeType(payload: any): void;
|
|
773
767
|
setIsSaving(payload: any): void;
|
|
774
768
|
setIsUpgradeModalVisible(payload: any): void;
|
|
775
769
|
setPublishErrorMessage(payload: any): void;
|
|
@@ -829,8 +823,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
829
823
|
setBrandPageStatus(status: any): Promise<void>;
|
|
830
824
|
showPublishModal(eventButtonLocation?: string | undefined, websiteUpsellModalViewModel?: any, isSubsequentPublish?: boolean | undefined): void;
|
|
831
825
|
showBrandPageSlugEditModal(eventButtonLocation: string): Promise<void>;
|
|
832
|
-
showUpgradeModalAndSaveAsync(
|
|
833
|
-
getWebsiteContextualUpgrade(): Promise<import("../../../clients/brand-page-client").getWebsiteContextualUpgradeResponse | undefined>;
|
|
826
|
+
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
834
827
|
showStripeOnboardingModal(): void;
|
|
835
828
|
closeStripeOnboardingModal(): void;
|
|
836
829
|
showSaveSuccessMessage(): Promise<void>;
|
|
@@ -998,7 +991,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
998
991
|
subscribe: (callbackFn: (event: import("../../../brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void) => void;
|
|
999
992
|
sendWebsiteEvent: (event: import("../../../brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void;
|
|
1000
993
|
sendWebsiteMakerOpenEvent: (location: string) => void;
|
|
1001
|
-
sendUpsellOpenEvent: (
|
|
994
|
+
sendUpsellOpenEvent: () => void;
|
|
1002
995
|
sendUpsellContinuationEvent: (continuation: string) => void;
|
|
1003
996
|
sendPublishOpenEvent: () => void;
|
|
1004
997
|
appendPublishBridgeState: (props: any) => void;
|
|
@@ -69,8 +69,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
69
69
|
showPublishOptionModal?: boolean | undefined;
|
|
70
70
|
abTests: Record<string, string>;
|
|
71
71
|
isSubsequentPublish: boolean;
|
|
72
|
-
isContextualUpgradeModalVisible: boolean;
|
|
73
|
-
contextualUpgradeType: "Publish" | "ContactForm" | "Videos" | "Maps" | "AddPage" | "RemoveWatermark" | "GoogleAd" | undefined;
|
|
74
72
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
75
73
|
isUserDraft: (state: {
|
|
76
74
|
availableTaxes: any[];
|
|
@@ -130,8 +128,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
130
128
|
showPublishOptionModal?: boolean | undefined;
|
|
131
129
|
abTests: Record<string, string>;
|
|
132
130
|
isSubsequentPublish: boolean;
|
|
133
|
-
isContextualUpgradeModalVisible: boolean;
|
|
134
|
-
contextualUpgradeType: "Publish" | "ContactForm" | "Videos" | "Maps" | "AddPage" | "RemoveWatermark" | "GoogleAd" | undefined;
|
|
135
131
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
136
132
|
}, {
|
|
137
133
|
initialise(payload: import("../../stores/brandpage-container").InitialisePayload): void;
|
|
@@ -141,8 +137,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
141
137
|
setIsPublishing(payload: any): void;
|
|
142
138
|
setIsPublishModalVisible(payload: any): void;
|
|
143
139
|
setIsPublishUpgradeModal(payload: any): void;
|
|
144
|
-
setIsContextualUpgradeModalVisible(payload: any): void;
|
|
145
|
-
setContextualUpgradeType(payload: any): void;
|
|
146
140
|
setIsSaving(payload: any): void;
|
|
147
141
|
setIsUpgradeModalVisible(payload: any): void;
|
|
148
142
|
setPublishErrorMessage(payload: any): void;
|
|
@@ -202,8 +196,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
202
196
|
setBrandPageStatus(status: any): Promise<void>;
|
|
203
197
|
showPublishModal(eventButtonLocation?: string | undefined, websiteUpsellModalViewModel?: any, isSubsequentPublish?: boolean | undefined): void;
|
|
204
198
|
showBrandPageSlugEditModal(eventButtonLocation: string): Promise<void>;
|
|
205
|
-
showUpgradeModalAndSaveAsync(
|
|
206
|
-
getWebsiteContextualUpgrade(): Promise<import("../../../clients/brand-page-client").getWebsiteContextualUpgradeResponse | undefined>;
|
|
199
|
+
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
207
200
|
showStripeOnboardingModal(): void;
|
|
208
201
|
closeStripeOnboardingModal(): void;
|
|
209
202
|
showSaveSuccessMessage(): Promise<void>;
|
|
@@ -85,8 +85,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
85
85
|
showPublishOptionModal?: boolean | undefined;
|
|
86
86
|
abTests: Record<string, string>;
|
|
87
87
|
isSubsequentPublish: boolean;
|
|
88
|
-
isContextualUpgradeModalVisible: boolean;
|
|
89
|
-
contextualUpgradeType: "Publish" | "ContactForm" | "Videos" | "Maps" | "AddPage" | "RemoveWatermark" | "GoogleAd" | undefined;
|
|
90
88
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
91
89
|
isUserDraft: (state: {
|
|
92
90
|
availableTaxes: any[];
|
|
@@ -146,8 +144,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
146
144
|
showPublishOptionModal?: boolean | undefined;
|
|
147
145
|
abTests: Record<string, string>;
|
|
148
146
|
isSubsequentPublish: boolean;
|
|
149
|
-
isContextualUpgradeModalVisible: boolean;
|
|
150
|
-
contextualUpgradeType: "Publish" | "ContactForm" | "Videos" | "Maps" | "AddPage" | "RemoveWatermark" | "GoogleAd" | undefined;
|
|
151
147
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
152
148
|
}, {
|
|
153
149
|
initialise(payload: import("../../stores/brandpage-container").InitialisePayload): void;
|
|
@@ -157,8 +153,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
157
153
|
setIsPublishing(payload: any): void;
|
|
158
154
|
setIsPublishModalVisible(payload: any): void;
|
|
159
155
|
setIsPublishUpgradeModal(payload: any): void;
|
|
160
|
-
setIsContextualUpgradeModalVisible(payload: any): void;
|
|
161
|
-
setContextualUpgradeType(payload: any): void;
|
|
162
156
|
setIsSaving(payload: any): void;
|
|
163
157
|
setIsUpgradeModalVisible(payload: any): void;
|
|
164
158
|
setPublishErrorMessage(payload: any): void;
|
|
@@ -218,8 +212,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
218
212
|
setBrandPageStatus(status: any): Promise<void>;
|
|
219
213
|
showPublishModal(eventButtonLocation?: string | undefined, websiteUpsellModalViewModel?: any, isSubsequentPublish?: boolean | undefined): void;
|
|
220
214
|
showBrandPageSlugEditModal(eventButtonLocation: string): Promise<void>;
|
|
221
|
-
showUpgradeModalAndSaveAsync(
|
|
222
|
-
getWebsiteContextualUpgrade(): Promise<import("../../../clients/brand-page-client").getWebsiteContextualUpgradeResponse | undefined>;
|
|
215
|
+
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
223
216
|
showStripeOnboardingModal(): void;
|
|
224
217
|
closeStripeOnboardingModal(): void;
|
|
225
218
|
showSaveSuccessMessage(): Promise<void>;
|
|
@@ -89,8 +89,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
89
89
|
showPublishOptionModal?: boolean | undefined;
|
|
90
90
|
abTests: Record<string, string>;
|
|
91
91
|
isSubsequentPublish: boolean;
|
|
92
|
-
isContextualUpgradeModalVisible: boolean;
|
|
93
|
-
contextualUpgradeType: "Publish" | "ContactForm" | "Videos" | "Maps" | "AddPage" | "RemoveWatermark" | "GoogleAd" | undefined;
|
|
94
92
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
95
93
|
isUserDraft: (state: {
|
|
96
94
|
availableTaxes: any[];
|
|
@@ -150,8 +148,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
150
148
|
showPublishOptionModal?: boolean | undefined;
|
|
151
149
|
abTests: Record<string, string>;
|
|
152
150
|
isSubsequentPublish: boolean;
|
|
153
|
-
isContextualUpgradeModalVisible: boolean;
|
|
154
|
-
contextualUpgradeType: "Publish" | "ContactForm" | "Videos" | "Maps" | "AddPage" | "RemoveWatermark" | "GoogleAd" | undefined;
|
|
155
151
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
156
152
|
}, {
|
|
157
153
|
initialise(payload: import("../../stores/brandpage-container").InitialisePayload): void;
|
|
@@ -161,8 +157,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
161
157
|
setIsPublishing(payload: any): void;
|
|
162
158
|
setIsPublishModalVisible(payload: any): void;
|
|
163
159
|
setIsPublishUpgradeModal(payload: any): void;
|
|
164
|
-
setIsContextualUpgradeModalVisible(payload: any): void;
|
|
165
|
-
setContextualUpgradeType(payload: any): void;
|
|
166
160
|
setIsSaving(payload: any): void;
|
|
167
161
|
setIsUpgradeModalVisible(payload: any): void;
|
|
168
162
|
setPublishErrorMessage(payload: any): void;
|
|
@@ -222,8 +216,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
222
216
|
setBrandPageStatus(status: any): Promise<void>;
|
|
223
217
|
showPublishModal(eventButtonLocation?: string | undefined, websiteUpsellModalViewModel?: any, isSubsequentPublish?: boolean | undefined): void;
|
|
224
218
|
showBrandPageSlugEditModal(eventButtonLocation: string): Promise<void>;
|
|
225
|
-
showUpgradeModalAndSaveAsync(
|
|
226
|
-
getWebsiteContextualUpgrade(): Promise<import("../../../clients/brand-page-client").getWebsiteContextualUpgradeResponse | undefined>;
|
|
219
|
+
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
227
220
|
showStripeOnboardingModal(): void;
|
|
228
221
|
closeStripeOnboardingModal(): void;
|
|
229
222
|
showSaveSuccessMessage(): Promise<void>;
|
|
@@ -66,8 +66,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
66
66
|
showPublishOptionModal?: boolean | undefined;
|
|
67
67
|
abTests: Record<string, string>;
|
|
68
68
|
isSubsequentPublish: boolean;
|
|
69
|
-
isContextualUpgradeModalVisible: boolean;
|
|
70
|
-
contextualUpgradeType: "Publish" | "ContactForm" | "Videos" | "Maps" | "AddPage" | "RemoveWatermark" | "GoogleAd" | undefined;
|
|
71
69
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
72
70
|
isUserDraft: (state: {
|
|
73
71
|
availableTaxes: any[];
|
|
@@ -127,8 +125,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
127
125
|
showPublishOptionModal?: boolean | undefined;
|
|
128
126
|
abTests: Record<string, string>;
|
|
129
127
|
isSubsequentPublish: boolean;
|
|
130
|
-
isContextualUpgradeModalVisible: boolean;
|
|
131
|
-
contextualUpgradeType: "Publish" | "ContactForm" | "Videos" | "Maps" | "AddPage" | "RemoveWatermark" | "GoogleAd" | undefined;
|
|
132
128
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
133
129
|
}, {
|
|
134
130
|
initialise(payload: import("../../stores/brandpage-container").InitialisePayload): void;
|
|
@@ -138,8 +134,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
138
134
|
setIsPublishing(payload: any): void;
|
|
139
135
|
setIsPublishModalVisible(payload: any): void;
|
|
140
136
|
setIsPublishUpgradeModal(payload: any): void;
|
|
141
|
-
setIsContextualUpgradeModalVisible(payload: any): void;
|
|
142
|
-
setContextualUpgradeType(payload: any): void;
|
|
143
137
|
setIsSaving(payload: any): void;
|
|
144
138
|
setIsUpgradeModalVisible(payload: any): void;
|
|
145
139
|
setPublishErrorMessage(payload: any): void;
|
|
@@ -199,8 +193,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
199
193
|
setBrandPageStatus(status: any): Promise<void>;
|
|
200
194
|
showPublishModal(eventButtonLocation?: string | undefined, websiteUpsellModalViewModel?: any, isSubsequentPublish?: boolean | undefined): void;
|
|
201
195
|
showBrandPageSlugEditModal(eventButtonLocation: string): Promise<void>;
|
|
202
|
-
showUpgradeModalAndSaveAsync(
|
|
203
|
-
getWebsiteContextualUpgrade(): Promise<import("../../../clients/brand-page-client").getWebsiteContextualUpgradeResponse | undefined>;
|
|
196
|
+
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
204
197
|
showStripeOnboardingModal(): void;
|
|
205
198
|
closeStripeOnboardingModal(): void;
|
|
206
199
|
showSaveSuccessMessage(): Promise<void>;
|
|
@@ -143,8 +143,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
143
143
|
showPublishOptionModal?: boolean | undefined;
|
|
144
144
|
abTests: Record<string, string>;
|
|
145
145
|
isSubsequentPublish: boolean;
|
|
146
|
-
isContextualUpgradeModalVisible: boolean;
|
|
147
|
-
contextualUpgradeType: "Publish" | "ContactForm" | "Videos" | "Maps" | "AddPage" | "RemoveWatermark" | "GoogleAd" | undefined;
|
|
148
146
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
149
147
|
isUserDraft: (state: {
|
|
150
148
|
availableTaxes: any[];
|
|
@@ -204,8 +202,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
204
202
|
showPublishOptionModal?: boolean | undefined;
|
|
205
203
|
abTests: Record<string, string>;
|
|
206
204
|
isSubsequentPublish: boolean;
|
|
207
|
-
isContextualUpgradeModalVisible: boolean;
|
|
208
|
-
contextualUpgradeType: "Publish" | "ContactForm" | "Videos" | "Maps" | "AddPage" | "RemoveWatermark" | "GoogleAd" | undefined;
|
|
209
205
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
210
206
|
}, {
|
|
211
207
|
initialise(payload: import("../../stores/brandpage-container").InitialisePayload): void;
|
|
@@ -215,8 +211,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
215
211
|
setIsPublishing(payload: any): void;
|
|
216
212
|
setIsPublishModalVisible(payload: any): void;
|
|
217
213
|
setIsPublishUpgradeModal(payload: any): void;
|
|
218
|
-
setIsContextualUpgradeModalVisible(payload: any): void;
|
|
219
|
-
setContextualUpgradeType(payload: any): void;
|
|
220
214
|
setIsSaving(payload: any): void;
|
|
221
215
|
setIsUpgradeModalVisible(payload: any): void;
|
|
222
216
|
setPublishErrorMessage(payload: any): void;
|
|
@@ -276,8 +270,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
276
270
|
setBrandPageStatus(status: any): Promise<void>;
|
|
277
271
|
showPublishModal(eventButtonLocation?: string | undefined, websiteUpsellModalViewModel?: any, isSubsequentPublish?: boolean | undefined): void;
|
|
278
272
|
showBrandPageSlugEditModal(eventButtonLocation: string): Promise<void>;
|
|
279
|
-
showUpgradeModalAndSaveAsync(
|
|
280
|
-
getWebsiteContextualUpgrade(): Promise<import("../../../clients/brand-page-client").getWebsiteContextualUpgradeResponse | undefined>;
|
|
273
|
+
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
281
274
|
showStripeOnboardingModal(): void;
|
|
282
275
|
closeStripeOnboardingModal(): void;
|
|
283
276
|
showSaveSuccessMessage(): Promise<void>;
|
|
@@ -66,8 +66,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
66
66
|
showPublishOptionModal?: boolean | undefined;
|
|
67
67
|
abTests: Record<string, string>;
|
|
68
68
|
isSubsequentPublish: boolean;
|
|
69
|
-
isContextualUpgradeModalVisible: boolean;
|
|
70
|
-
contextualUpgradeType: "Publish" | "ContactForm" | "Videos" | "Maps" | "AddPage" | "RemoveWatermark" | "GoogleAd" | undefined;
|
|
71
69
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
72
70
|
isUserDraft: (state: {
|
|
73
71
|
availableTaxes: any[];
|
|
@@ -127,8 +125,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
127
125
|
showPublishOptionModal?: boolean | undefined;
|
|
128
126
|
abTests: Record<string, string>;
|
|
129
127
|
isSubsequentPublish: boolean;
|
|
130
|
-
isContextualUpgradeModalVisible: boolean;
|
|
131
|
-
contextualUpgradeType: "Publish" | "ContactForm" | "Videos" | "Maps" | "AddPage" | "RemoveWatermark" | "GoogleAd" | undefined;
|
|
132
128
|
} & import("pinia").PiniaCustomStateProperties<import("../../stores").BrandPageContainerState>) => boolean;
|
|
133
129
|
}, {
|
|
134
130
|
initialise(payload: import("../../stores/brandpage-container").InitialisePayload): void;
|
|
@@ -138,8 +134,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
138
134
|
setIsPublishing(payload: any): void;
|
|
139
135
|
setIsPublishModalVisible(payload: any): void;
|
|
140
136
|
setIsPublishUpgradeModal(payload: any): void;
|
|
141
|
-
setIsContextualUpgradeModalVisible(payload: any): void;
|
|
142
|
-
setContextualUpgradeType(payload: any): void;
|
|
143
137
|
setIsSaving(payload: any): void;
|
|
144
138
|
setIsUpgradeModalVisible(payload: any): void;
|
|
145
139
|
setPublishErrorMessage(payload: any): void;
|
|
@@ -199,8 +193,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
199
193
|
setBrandPageStatus(status: any): Promise<void>;
|
|
200
194
|
showPublishModal(eventButtonLocation?: string | undefined, websiteUpsellModalViewModel?: any, isSubsequentPublish?: boolean | undefined): void;
|
|
201
195
|
showBrandPageSlugEditModal(eventButtonLocation: string): Promise<void>;
|
|
202
|
-
showUpgradeModalAndSaveAsync(
|
|
203
|
-
getWebsiteContextualUpgrade(): Promise<import("../../../clients/brand-page-client").getWebsiteContextualUpgradeResponse | undefined>;
|
|
196
|
+
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
204
197
|
showStripeOnboardingModal(): void;
|
|
205
198
|
closeStripeOnboardingModal(): void;
|
|
206
199
|
showSaveSuccessMessage(): Promise<void>;
|
|
@@ -112,7 +112,7 @@ declare const useEventTracker: () => {
|
|
|
112
112
|
subscribe: (callbackFn: (event: BpEventTrackerEvent) => void) => void;
|
|
113
113
|
sendWebsiteEvent: (event: BpEventTrackerEvent) => void;
|
|
114
114
|
sendWebsiteMakerOpenEvent: (location: string) => void;
|
|
115
|
-
sendUpsellOpenEvent: (
|
|
115
|
+
sendUpsellOpenEvent: () => void;
|
|
116
116
|
sendUpsellContinuationEvent: (continuation: string) => void;
|
|
117
117
|
sendPublishOpenEvent: () => void;
|
|
118
118
|
appendPublishBridgeState: (props: any) => void;
|
|
@@ -138,11 +138,10 @@ const useEventTracker = () => {
|
|
|
138
138
|
});
|
|
139
139
|
},
|
|
140
140
|
// Upsell
|
|
141
|
-
sendUpsellOpenEvent: (
|
|
141
|
+
sendUpsellOpenEvent: () => {
|
|
142
142
|
_publishEvent(EVENTS.WEBSITE_MAKER_UPSELL_MODAL, {
|
|
143
143
|
...bridgeState.value.upsellOpenEventProps,
|
|
144
144
|
continuation: null,
|
|
145
|
-
cta_location,
|
|
146
145
|
});
|
|
147
146
|
},
|
|
148
147
|
sendUpsellContinuationEvent: (continuation) => {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type getWebsiteContextualUpgradeResponse } from '../../../clients/brand-page-client';
|
|
2
1
|
import { type LogoDraftAsset, type LogoTemplateAsset } from '../../stores';
|
|
3
2
|
import type { CustomDomainConfigModel, CustomDomainModel } from '../../models';
|
|
4
3
|
import type { WebsiteSlugCheckResponse } from '../../../brand-page-maker/models/api.model';
|
|
@@ -47,8 +46,6 @@ export interface BrandPageContainerState {
|
|
|
47
46
|
showPublishOptionModal?: boolean;
|
|
48
47
|
abTests: Record<string, string>;
|
|
49
48
|
isSubsequentPublish: boolean;
|
|
50
|
-
isContextualUpgradeModalVisible: boolean;
|
|
51
|
-
contextualUpgradeType: ContextUpgradeType | undefined;
|
|
52
49
|
}
|
|
53
50
|
export type GettyVideoEditorViewModelResponse = {
|
|
54
51
|
assetId: string;
|
|
@@ -61,16 +58,6 @@ export type GettyVideoEditorViewModelResponse = {
|
|
|
61
58
|
uri: string;
|
|
62
59
|
};
|
|
63
60
|
};
|
|
64
|
-
export declare const CONTEXT_TYPES: {
|
|
65
|
-
readonly ContactForm: "ContactForm";
|
|
66
|
-
readonly Videos: "Videos";
|
|
67
|
-
readonly Maps: "Maps";
|
|
68
|
-
readonly AddPage: "AddPage";
|
|
69
|
-
readonly Publish: "Publish";
|
|
70
|
-
readonly RemoveWatermark: "RemoveWatermark";
|
|
71
|
-
readonly GoogleAd: "GoogleAd";
|
|
72
|
-
};
|
|
73
|
-
export type ContextUpgradeType = keyof typeof CONTEXT_TYPES;
|
|
74
61
|
export type InitialisePayload = Omit<BrandPageContainerState, 'customDomain' | 'customDomainConfig'> & {
|
|
75
62
|
logoDraftToken?: string;
|
|
76
63
|
brandPageCustomDomain?: CustomDomainModel;
|
|
@@ -144,8 +131,6 @@ export declare const useBrandPageContainerStore: import("pinia").StoreDefinition
|
|
|
144
131
|
showPublishOptionModal?: boolean | undefined;
|
|
145
132
|
abTests: Record<string, string>;
|
|
146
133
|
isSubsequentPublish: boolean;
|
|
147
|
-
isContextualUpgradeModalVisible: boolean;
|
|
148
|
-
contextualUpgradeType: ContextUpgradeType | undefined;
|
|
149
134
|
} & import("pinia").PiniaCustomStateProperties<BrandPageContainerState>) => boolean;
|
|
150
135
|
isUserDraft: (state: {
|
|
151
136
|
availableTaxes: any[];
|
|
@@ -205,8 +190,6 @@ export declare const useBrandPageContainerStore: import("pinia").StoreDefinition
|
|
|
205
190
|
showPublishOptionModal?: boolean | undefined;
|
|
206
191
|
abTests: Record<string, string>;
|
|
207
192
|
isSubsequentPublish: boolean;
|
|
208
|
-
isContextualUpgradeModalVisible: boolean;
|
|
209
|
-
contextualUpgradeType: ContextUpgradeType | undefined;
|
|
210
193
|
} & import("pinia").PiniaCustomStateProperties<BrandPageContainerState>) => boolean;
|
|
211
194
|
}, {
|
|
212
195
|
initialise(payload: InitialisePayload): void;
|
|
@@ -216,8 +199,6 @@ export declare const useBrandPageContainerStore: import("pinia").StoreDefinition
|
|
|
216
199
|
setIsPublishing(payload: any): void;
|
|
217
200
|
setIsPublishModalVisible(payload: any): void;
|
|
218
201
|
setIsPublishUpgradeModal(payload: any): void;
|
|
219
|
-
setIsContextualUpgradeModalVisible(payload: any): void;
|
|
220
|
-
setContextualUpgradeType(payload: any): void;
|
|
221
202
|
setIsSaving(payload: any): void;
|
|
222
203
|
setIsUpgradeModalVisible(payload: any): void;
|
|
223
204
|
setPublishErrorMessage(payload: any): void;
|
|
@@ -277,8 +258,7 @@ export declare const useBrandPageContainerStore: import("pinia").StoreDefinition
|
|
|
277
258
|
setBrandPageStatus(status: any): Promise<void>;
|
|
278
259
|
showPublishModal(eventButtonLocation?: string, websiteUpsellModalViewModel?: any, isSubsequentPublish?: boolean): void;
|
|
279
260
|
showBrandPageSlugEditModal(eventButtonLocation: string): Promise<void>;
|
|
280
|
-
showUpgradeModalAndSaveAsync(
|
|
281
|
-
getWebsiteContextualUpgrade(): Promise<getWebsiteContextualUpgradeResponse | undefined>;
|
|
261
|
+
showUpgradeModalAndSaveAsync(): Promise<void>;
|
|
282
262
|
showStripeOnboardingModal(): void;
|
|
283
263
|
closeStripeOnboardingModal(): void;
|
|
284
264
|
showSaveSuccessMessage(): Promise<void>;
|