@designcrowd/library.brand-page 5.10.15-routing-14 → 5.10.15
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/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +6 -2
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +3 -4
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +2 -0
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +6 -2
- package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +6 -2
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +7 -3
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.js +8 -5
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +7 -59
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.js +6 -4
- package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +6 -2
- package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +6 -2
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +9 -3
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +19 -25
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +2 -3
- package/lib/src/brand-page-maker/stores/route/index.d.ts +0 -1
- package/lib/src/brand-page-maker/stores/route/index.js +0 -1
- package/lib/src/css/library.brand-page-brandCrowd.min.css +12 -12
- package/lib/src/css/library.brand-page-brandPage.min.css +12 -12
- package/lib/src/css/library.brand-page-designCom.min.css +12 -12
- package/lib/src/css/library.brand-page-preview.min.css +12 -12
- package/lib/src/index.d.ts +1 -1
- package/lib/src/index.mjs +13081 -13128
- package/lib/src/lib.js +1 -1
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +6 -2
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +6 -2
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +6 -2
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +6 -2
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +6 -2
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.js +3 -4
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +6 -2
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +6 -2
- package/package.json +1 -1
- package/src/brand-page/components/brand-page-footer/BrandPageFooter.vue +25 -14
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +2 -4
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +2 -0
- package/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.ts +8 -7
- package/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.ts +5 -4
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +25 -40
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +2 -3
- package/src/brand-page-maker/stores/route/index.ts +0 -1
- package/src/lib.ts +0 -1
- package/src/shared/content-settings/components/logo-selection-field/LogoSelection.vue +1 -0
- package/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.ts +4 -4
- package/lib/src/brand-page-maker/stores/route/localised-route-store.d.ts +0 -73
- package/lib/src/brand-page-maker/stores/route/localised-route-store.js +0 -85
- package/lib/src/brand-page-maker/utils/route.util.d.ts +0 -1
- package/lib/src/brand-page-maker/utils/route.util.js +0 -5
- package/src/brand-page-maker/stores/route/localised-route-store.ts +0 -118
- package/src/brand-page-maker/utils/route.util.ts +0 -8
|
@@ -200,6 +200,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
200
200
|
brandPageStatus: string;
|
|
201
201
|
brandPageToken: string | undefined;
|
|
202
202
|
brandPageTitle: string;
|
|
203
|
+
createNewDesignUrl: string;
|
|
203
204
|
customDomain: {
|
|
204
205
|
id: string;
|
|
205
206
|
created: Date;
|
|
@@ -228,10 +229,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
228
229
|
isStripeOnboardingModalVisible: boolean;
|
|
229
230
|
isReactivationModal: boolean;
|
|
230
231
|
isSaving: boolean;
|
|
232
|
+
backUrl: string;
|
|
231
233
|
backButtonLabel: string;
|
|
232
234
|
manageWebsiteDesignsUrl: string;
|
|
233
235
|
publishErrorMessage: string;
|
|
234
|
-
upgradeUrl: string;
|
|
235
236
|
reactivationUrl: string;
|
|
236
237
|
runtimeEnvironment: string;
|
|
237
238
|
selectedTaxId: number | undefined;
|
|
@@ -239,6 +240,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
239
240
|
standalone: boolean;
|
|
240
241
|
triggerSaveSuccessMessage: boolean;
|
|
241
242
|
triggerSaveEventApiOnPublishModalClose: boolean;
|
|
243
|
+
upgradeUrl: string;
|
|
242
244
|
measurementID: string | undefined;
|
|
243
245
|
isDesignCom: boolean;
|
|
244
246
|
isPrePurchase: boolean;
|
|
@@ -258,6 +260,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
258
260
|
brandPageStatus: string;
|
|
259
261
|
brandPageToken: string | undefined;
|
|
260
262
|
brandPageTitle: string;
|
|
263
|
+
createNewDesignUrl: string;
|
|
261
264
|
customDomain: {
|
|
262
265
|
id: string;
|
|
263
266
|
created: Date;
|
|
@@ -286,10 +289,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
286
289
|
isStripeOnboardingModalVisible: boolean;
|
|
287
290
|
isReactivationModal: boolean;
|
|
288
291
|
isSaving: boolean;
|
|
292
|
+
backUrl: string;
|
|
289
293
|
backButtonLabel: string;
|
|
290
294
|
manageWebsiteDesignsUrl: string;
|
|
291
295
|
publishErrorMessage: string;
|
|
292
|
-
upgradeUrl: string;
|
|
293
296
|
reactivationUrl: string;
|
|
294
297
|
runtimeEnvironment: string;
|
|
295
298
|
selectedTaxId: number | undefined;
|
|
@@ -297,6 +300,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
297
300
|
standalone: boolean;
|
|
298
301
|
triggerSaveSuccessMessage: boolean;
|
|
299
302
|
triggerSaveEventApiOnPublishModalClose: boolean;
|
|
303
|
+
upgradeUrl: string;
|
|
300
304
|
measurementID: string | undefined;
|
|
301
305
|
isDesignCom: boolean;
|
|
302
306
|
isPrePurchase: boolean;
|
|
@@ -10,7 +10,7 @@ import { createInitialBrandPage } from '../../models';
|
|
|
10
10
|
import { navigateToPageBySlug } from '../../routing';
|
|
11
11
|
import { useBrandPageContainerStore } from '../../stores';
|
|
12
12
|
import { UI_DEVICE_MODES, UI_SCREENSIZE_MODES, } from '../../../shared/models';
|
|
13
|
-
import { useBrandPageMakerStore, useBrandPageMakerUserStore,
|
|
13
|
+
import { useBrandPageMakerStore, useBrandPageMakerUserStore, useUiStore, } from '../../stores';
|
|
14
14
|
import { useUiContentSettingsStore } from '../../../shared/content-settings/store';
|
|
15
15
|
import { useUiTemplateSettingsStore } from '../../../shared/template-settings/store';
|
|
16
16
|
import { useUiPageSettingsStore } from '../../../shared/page-settings/store';
|
|
@@ -39,7 +39,6 @@ export default defineComponent({
|
|
|
39
39
|
const shopSettingStore = useShopConfigStore();
|
|
40
40
|
const productSettingStore = useProductConfigStore();
|
|
41
41
|
const router = useRouter();
|
|
42
|
-
const localisedRouteStore = useLocalisedRouteStore();
|
|
43
42
|
return {
|
|
44
43
|
currentNotificationMessage: computed(() => brandPageMakerStore.currentNotificationMessage),
|
|
45
44
|
isChangeTemplateConfirmModalVisible: computed(() => brandPageMakerStore.isChangeTemplateConfirmModalVisible),
|
|
@@ -50,7 +49,7 @@ export default defineComponent({
|
|
|
50
49
|
isMobileDevice: computed(() => uiStore.deviceMode === UI_DEVICE_MODES.mobile),
|
|
51
50
|
// the state of window screen size
|
|
52
51
|
isMobileScreenSize: computed(() => uiStore.screenSizeMode === UI_SCREENSIZE_MODES.mobile),
|
|
53
|
-
brandPageBaseUrl: computed(() =>
|
|
52
|
+
brandPageBaseUrl: computed(() => brandPageMakerStore.brandPageBaseUrl),
|
|
54
53
|
brandPageSlug: computed(() => brandPageMakerStore.brandPageSlug),
|
|
55
54
|
brandPageType: computed(() => brandPageMakerStore.brandPageType),
|
|
56
55
|
isSaving: computed(() => brandPageMakerStore.isSaving),
|
|
@@ -58,7 +57,7 @@ export default defineComponent({
|
|
|
58
57
|
isPublished: computed(() => brandPageMakerStore.isPublished),
|
|
59
58
|
isBrandPageOrIsBrandContact: computed(() => brandPageMakerStore.isBrandPageOrIsBrandContact),
|
|
60
59
|
brandPageViewModel: computed(() => brandPageMakerStore.brandPageViewModel),
|
|
61
|
-
backUrl: computed(() =>
|
|
60
|
+
backUrl: computed(() => containerStore.backUrl),
|
|
62
61
|
backButtonLabel: computed(() => containerStore.backButtonLabel),
|
|
63
62
|
isDesignCom: computed(() => containerStore.isDesignCom),
|
|
64
63
|
selectedTabName: computed(() => sideBarStore.selectedTabName),
|
|
@@ -44,6 +44,7 @@ const InitialiseMakerStores = (options) => {
|
|
|
44
44
|
isDesignCom: options.isDesignCom || false,
|
|
45
45
|
isPrePurchase: isPrePurchase,
|
|
46
46
|
logoDraftToken: 'f7d3163f-bcdf-4537-98b0-64cd6df8d1a9',
|
|
47
|
+
createNewDesignUrl: '',
|
|
47
48
|
runtimeEnvironment: 'staging',
|
|
48
49
|
upgradeUrl: '',
|
|
49
50
|
reactivationUrl: '',
|
|
@@ -61,6 +62,7 @@ const InitialiseMakerStores = (options) => {
|
|
|
61
62
|
brandPageCustomDomain: undefined,
|
|
62
63
|
isBrandPageCustomDomainEnabled: false,
|
|
63
64
|
isSellDomainNameEnabled: false,
|
|
65
|
+
backUrl: '',
|
|
64
66
|
backButtonLabel: 'Back',
|
|
65
67
|
manageWebsiteDesignsUrl: '',
|
|
66
68
|
logoTemplateAsset: isPrePurchase
|
package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts
CHANGED
|
@@ -607,6 +607,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
607
607
|
brandPageStatus: string;
|
|
608
608
|
brandPageToken: string | undefined;
|
|
609
609
|
brandPageTitle: string;
|
|
610
|
+
createNewDesignUrl: string;
|
|
610
611
|
customDomain: {
|
|
611
612
|
id: string;
|
|
612
613
|
created: Date;
|
|
@@ -635,10 +636,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
635
636
|
isStripeOnboardingModalVisible: boolean;
|
|
636
637
|
isReactivationModal: boolean;
|
|
637
638
|
isSaving: boolean;
|
|
639
|
+
backUrl: string;
|
|
638
640
|
backButtonLabel: string;
|
|
639
641
|
manageWebsiteDesignsUrl: string;
|
|
640
642
|
publishErrorMessage: string;
|
|
641
|
-
upgradeUrl: string;
|
|
642
643
|
reactivationUrl: string;
|
|
643
644
|
runtimeEnvironment: string;
|
|
644
645
|
selectedTaxId: number | undefined;
|
|
@@ -646,6 +647,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
646
647
|
standalone: boolean;
|
|
647
648
|
triggerSaveSuccessMessage: boolean;
|
|
648
649
|
triggerSaveEventApiOnPublishModalClose: boolean;
|
|
650
|
+
upgradeUrl: string;
|
|
649
651
|
measurementID: string | undefined;
|
|
650
652
|
isDesignCom: boolean;
|
|
651
653
|
isPrePurchase: boolean;
|
|
@@ -665,6 +667,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
665
667
|
brandPageStatus: string;
|
|
666
668
|
brandPageToken: string | undefined;
|
|
667
669
|
brandPageTitle: string;
|
|
670
|
+
createNewDesignUrl: string;
|
|
668
671
|
customDomain: {
|
|
669
672
|
id: string;
|
|
670
673
|
created: Date;
|
|
@@ -693,10 +696,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
693
696
|
isStripeOnboardingModalVisible: boolean;
|
|
694
697
|
isReactivationModal: boolean;
|
|
695
698
|
isSaving: boolean;
|
|
699
|
+
backUrl: string;
|
|
696
700
|
backButtonLabel: string;
|
|
697
701
|
manageWebsiteDesignsUrl: string;
|
|
698
702
|
publishErrorMessage: string;
|
|
699
|
-
upgradeUrl: string;
|
|
700
703
|
reactivationUrl: string;
|
|
701
704
|
runtimeEnvironment: string;
|
|
702
705
|
selectedTaxId: number | undefined;
|
|
@@ -704,6 +707,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
704
707
|
standalone: boolean;
|
|
705
708
|
triggerSaveSuccessMessage: boolean;
|
|
706
709
|
triggerSaveEventApiOnPublishModalClose: boolean;
|
|
710
|
+
upgradeUrl: string;
|
|
707
711
|
measurementID: string | undefined;
|
|
708
712
|
isDesignCom: boolean;
|
|
709
713
|
isPrePurchase: boolean;
|
|
@@ -77,9 +77,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
77
77
|
isAdmin: boolean;
|
|
78
78
|
isPublished: boolean;
|
|
79
79
|
isSaving: boolean;
|
|
80
|
+
backUrl: string;
|
|
80
81
|
backButtonLabel: string;
|
|
81
82
|
isDesignCom: boolean;
|
|
82
|
-
backUrl: string;
|
|
83
83
|
brandCrowdUrl: string;
|
|
84
84
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
85
85
|
export default _default;
|
|
@@ -22,6 +22,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
22
|
brandPageStatus: string;
|
|
23
23
|
brandPageToken: string | undefined;
|
|
24
24
|
brandPageTitle: string;
|
|
25
|
+
createNewDesignUrl: string;
|
|
25
26
|
customDomain: {
|
|
26
27
|
id: string;
|
|
27
28
|
created: Date;
|
|
@@ -50,10 +51,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
50
51
|
isStripeOnboardingModalVisible: boolean;
|
|
51
52
|
isReactivationModal: boolean;
|
|
52
53
|
isSaving: boolean;
|
|
54
|
+
backUrl: string;
|
|
53
55
|
backButtonLabel: string;
|
|
54
56
|
manageWebsiteDesignsUrl: string;
|
|
55
57
|
publishErrorMessage: string;
|
|
56
|
-
upgradeUrl: string;
|
|
57
58
|
reactivationUrl: string;
|
|
58
59
|
runtimeEnvironment: string;
|
|
59
60
|
selectedTaxId: number | undefined;
|
|
@@ -61,6 +62,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
61
62
|
standalone: boolean;
|
|
62
63
|
triggerSaveSuccessMessage: boolean;
|
|
63
64
|
triggerSaveEventApiOnPublishModalClose: boolean;
|
|
65
|
+
upgradeUrl: string;
|
|
64
66
|
measurementID: string | undefined;
|
|
65
67
|
isDesignCom: boolean;
|
|
66
68
|
isPrePurchase: boolean;
|
|
@@ -80,6 +82,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
80
82
|
brandPageStatus: string;
|
|
81
83
|
brandPageToken: string | undefined;
|
|
82
84
|
brandPageTitle: string;
|
|
85
|
+
createNewDesignUrl: string;
|
|
83
86
|
customDomain: {
|
|
84
87
|
id: string;
|
|
85
88
|
created: Date;
|
|
@@ -108,10 +111,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
108
111
|
isStripeOnboardingModalVisible: boolean;
|
|
109
112
|
isReactivationModal: boolean;
|
|
110
113
|
isSaving: boolean;
|
|
114
|
+
backUrl: string;
|
|
111
115
|
backButtonLabel: string;
|
|
112
116
|
manageWebsiteDesignsUrl: string;
|
|
113
117
|
publishErrorMessage: string;
|
|
114
|
-
upgradeUrl: string;
|
|
115
118
|
reactivationUrl: string;
|
|
116
119
|
runtimeEnvironment: string;
|
|
117
120
|
selectedTaxId: number | undefined;
|
|
@@ -119,6 +122,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
119
122
|
standalone: boolean;
|
|
120
123
|
triggerSaveSuccessMessage: boolean;
|
|
121
124
|
triggerSaveEventApiOnPublishModalClose: boolean;
|
|
125
|
+
upgradeUrl: string;
|
|
122
126
|
measurementID: string | undefined;
|
|
123
127
|
isDesignCom: boolean;
|
|
124
128
|
isPrePurchase: boolean;
|
|
@@ -38,6 +38,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
38
38
|
brandPageStatus: string;
|
|
39
39
|
brandPageToken: string | undefined;
|
|
40
40
|
brandPageTitle: string;
|
|
41
|
+
createNewDesignUrl: string;
|
|
41
42
|
customDomain: {
|
|
42
43
|
id: string;
|
|
43
44
|
created: Date;
|
|
@@ -66,10 +67,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
66
67
|
isStripeOnboardingModalVisible: boolean;
|
|
67
68
|
isReactivationModal: boolean;
|
|
68
69
|
isSaving: boolean;
|
|
70
|
+
backUrl: string;
|
|
69
71
|
backButtonLabel: string;
|
|
70
72
|
manageWebsiteDesignsUrl: string;
|
|
71
73
|
publishErrorMessage: string;
|
|
72
|
-
upgradeUrl: string;
|
|
73
74
|
reactivationUrl: string;
|
|
74
75
|
runtimeEnvironment: string;
|
|
75
76
|
selectedTaxId: number | undefined;
|
|
@@ -77,6 +78,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
77
78
|
standalone: boolean;
|
|
78
79
|
triggerSaveSuccessMessage: boolean;
|
|
79
80
|
triggerSaveEventApiOnPublishModalClose: boolean;
|
|
81
|
+
upgradeUrl: string;
|
|
80
82
|
measurementID: string | undefined;
|
|
81
83
|
isDesignCom: boolean;
|
|
82
84
|
isPrePurchase: boolean;
|
|
@@ -96,6 +98,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
96
98
|
brandPageStatus: string;
|
|
97
99
|
brandPageToken: string | undefined;
|
|
98
100
|
brandPageTitle: string;
|
|
101
|
+
createNewDesignUrl: string;
|
|
99
102
|
customDomain: {
|
|
100
103
|
id: string;
|
|
101
104
|
created: Date;
|
|
@@ -124,10 +127,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
124
127
|
isStripeOnboardingModalVisible: boolean;
|
|
125
128
|
isReactivationModal: boolean;
|
|
126
129
|
isSaving: boolean;
|
|
130
|
+
backUrl: string;
|
|
127
131
|
backButtonLabel: string;
|
|
128
132
|
manageWebsiteDesignsUrl: string;
|
|
129
133
|
publishErrorMessage: string;
|
|
130
|
-
upgradeUrl: string;
|
|
131
134
|
reactivationUrl: string;
|
|
132
135
|
runtimeEnvironment: string;
|
|
133
136
|
selectedTaxId: number | undefined;
|
|
@@ -135,6 +138,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
135
138
|
standalone: boolean;
|
|
136
139
|
triggerSaveSuccessMessage: boolean;
|
|
137
140
|
triggerSaveEventApiOnPublishModalClose: boolean;
|
|
141
|
+
upgradeUrl: string;
|
|
138
142
|
measurementID: string | undefined;
|
|
139
143
|
isDesignCom: boolean;
|
|
140
144
|
isPrePurchase: boolean;
|
|
@@ -355,7 +359,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
355
359
|
showStripeOnboardingModal(): Promise<void>;
|
|
356
360
|
selectInitialCategories(payload: import("../../../shared/template-settings/models").InitialCategories): void;
|
|
357
361
|
}>;
|
|
358
|
-
publishedUrl: import("vue").ComputedRef<string | undefined>;
|
|
359
362
|
}, {
|
|
360
363
|
metaKeywords: never[];
|
|
361
364
|
isInternalDescriptionValid: boolean;
|
|
@@ -370,6 +373,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
370
373
|
editMetaActionPath(): string;
|
|
371
374
|
duplicateActionPath(): string;
|
|
372
375
|
hasSlug(): boolean;
|
|
376
|
+
publishedUrl(): string | undefined;
|
|
373
377
|
titleError(): string | undefined;
|
|
374
378
|
descriptionError(): string | undefined;
|
|
375
379
|
metaKeywordsError(): string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, defineComponent } from 'vue';
|
|
2
2
|
import { validateBrandPageDescription, validateBrandPageTitle, } from '../../utils';
|
|
3
|
-
import { useBrandPageContainerStore, useBrandPageMakerStore,
|
|
3
|
+
import { useBrandPageContainerStore, useBrandPageMakerStore, } from '../../stores';
|
|
4
4
|
import { BRANDPAGE_DESCRIPTION_CHARACTER_LIMIT, BRANDPAGE_TITLE_CHARACTER_LIMIT, } from '../../constants';
|
|
5
5
|
import { errorTr } from '../../../composables/useTranslate';
|
|
6
6
|
export default defineComponent({
|
|
@@ -32,16 +32,13 @@ export default defineComponent({
|
|
|
32
32
|
},
|
|
33
33
|
setup() {
|
|
34
34
|
const brandPageMakerStore = useBrandPageMakerStore();
|
|
35
|
-
const localisedRouteStore = useLocalisedRouteStore();
|
|
36
|
-
const brandPageContainerStore = useBrandPageContainerStore();
|
|
37
35
|
return {
|
|
38
|
-
brandPageContainerStore,
|
|
36
|
+
brandPageContainerStore: useBrandPageContainerStore(),
|
|
39
37
|
isBrandSite: computed(() => brandPageMakerStore.isBrandSite),
|
|
40
38
|
isBrandPageOrIsBrandContact: computed(() => brandPageMakerStore.isBrandPageOrIsBrandContact),
|
|
41
39
|
isBrandPage: computed(() => brandPageMakerStore.isBrandPage),
|
|
42
40
|
isBrandContact: computed(() => brandPageMakerStore.isBrandContact),
|
|
43
41
|
brandPageMakerStore,
|
|
44
|
-
publishedUrl: computed(() => localisedRouteStore.currentPublishedSlugUrl()),
|
|
45
42
|
};
|
|
46
43
|
},
|
|
47
44
|
data() {
|
|
@@ -88,6 +85,12 @@ export default defineComponent({
|
|
|
88
85
|
hasSlug() {
|
|
89
86
|
return Boolean(this.brandPageContainerStore.brandPageSlug);
|
|
90
87
|
},
|
|
88
|
+
publishedUrl() {
|
|
89
|
+
if (!this.hasSlug || !this.brandPageContainerStore.brandPageBaseUrl) {
|
|
90
|
+
return undefined;
|
|
91
|
+
}
|
|
92
|
+
return `${this.brandPageContainerStore.brandPageBaseUrl}/${this.brandPageContainerStore.brandPageSlug}`;
|
|
93
|
+
},
|
|
91
94
|
titleError() {
|
|
92
95
|
return this.myPageTitle?.length &&
|
|
93
96
|
this.myPageTitle.length > BRANDPAGE_TITLE_CHARACTER_LIMIT
|
|
@@ -26,7 +26,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
26
26
|
isCustomDomainEnabled: import("vue").ComputedRef<boolean>;
|
|
27
27
|
isSellDomainNameEnabled: import("vue").ComputedRef<boolean>;
|
|
28
28
|
designDraftToken: import("vue").ComputedRef<string | undefined>;
|
|
29
|
-
brandPageUrl: import("vue").ComputedRef<string>;
|
|
30
29
|
brandPageContainer: import("pinia").Store<"brandPageContainer", import("../../stores").BrandPageContainerState, {
|
|
31
30
|
brandPageContentTypes(): string[];
|
|
32
31
|
isAdmin(): boolean;
|
|
@@ -41,6 +40,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
41
40
|
brandPageStatus: string;
|
|
42
41
|
brandPageToken: string | undefined;
|
|
43
42
|
brandPageTitle: string;
|
|
43
|
+
createNewDesignUrl: string;
|
|
44
44
|
customDomain: {
|
|
45
45
|
id: string;
|
|
46
46
|
created: Date;
|
|
@@ -69,10 +69,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
69
69
|
isStripeOnboardingModalVisible: boolean;
|
|
70
70
|
isReactivationModal: boolean;
|
|
71
71
|
isSaving: boolean;
|
|
72
|
+
backUrl: string;
|
|
72
73
|
backButtonLabel: string;
|
|
73
74
|
manageWebsiteDesignsUrl: string;
|
|
74
75
|
publishErrorMessage: string;
|
|
75
|
-
upgradeUrl: string;
|
|
76
76
|
reactivationUrl: string;
|
|
77
77
|
runtimeEnvironment: string;
|
|
78
78
|
selectedTaxId: number | undefined;
|
|
@@ -80,6 +80,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
80
80
|
standalone: boolean;
|
|
81
81
|
triggerSaveSuccessMessage: boolean;
|
|
82
82
|
triggerSaveEventApiOnPublishModalClose: boolean;
|
|
83
|
+
upgradeUrl: string;
|
|
83
84
|
measurementID: string | undefined;
|
|
84
85
|
isDesignCom: boolean;
|
|
85
86
|
isPrePurchase: boolean;
|
|
@@ -99,6 +100,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
99
100
|
brandPageStatus: string;
|
|
100
101
|
brandPageToken: string | undefined;
|
|
101
102
|
brandPageTitle: string;
|
|
103
|
+
createNewDesignUrl: string;
|
|
102
104
|
customDomain: {
|
|
103
105
|
id: string;
|
|
104
106
|
created: Date;
|
|
@@ -127,10 +129,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
127
129
|
isStripeOnboardingModalVisible: boolean;
|
|
128
130
|
isReactivationModal: boolean;
|
|
129
131
|
isSaving: boolean;
|
|
132
|
+
backUrl: string;
|
|
130
133
|
backButtonLabel: string;
|
|
131
134
|
manageWebsiteDesignsUrl: string;
|
|
132
135
|
publishErrorMessage: string;
|
|
133
|
-
upgradeUrl: string;
|
|
134
136
|
reactivationUrl: string;
|
|
135
137
|
runtimeEnvironment: string;
|
|
136
138
|
selectedTaxId: number | undefined;
|
|
@@ -138,6 +140,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
138
140
|
standalone: boolean;
|
|
139
141
|
triggerSaveSuccessMessage: boolean;
|
|
140
142
|
triggerSaveEventApiOnPublishModalClose: boolean;
|
|
143
|
+
upgradeUrl: string;
|
|
141
144
|
measurementID: string | undefined;
|
|
142
145
|
isDesignCom: boolean;
|
|
143
146
|
isPrePurchase: boolean;
|
|
@@ -354,62 +357,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
354
357
|
showStripeOnboardingModal(): Promise<void>;
|
|
355
358
|
selectInitialCategories(payload: import("../../../shared/template-settings/models").InitialCategories): void;
|
|
356
359
|
}>;
|
|
357
|
-
localisedRouteStore: import("pinia").Store<"localisedRoute", import("../../stores").LocalisedRouteState, {
|
|
358
|
-
currentPublishedSlugUrl: (state: {
|
|
359
|
-
baseFabricRenderDomain: string;
|
|
360
|
-
baseBrandPageDomain: string;
|
|
361
|
-
upgradeSubscriptionUrlPath: string;
|
|
362
|
-
reactivationUrlPath: string;
|
|
363
|
-
backToWebsiteManageUrlPath: string;
|
|
364
|
-
manageWebsiteDesignsUrlPath: string;
|
|
365
|
-
createNewDesignUrlPath: string;
|
|
366
|
-
termsOfUseUrlPath: string;
|
|
367
|
-
websiteBuilderUrlPath: string;
|
|
368
|
-
digitalBusinessCardBuilderUrlPath: string;
|
|
369
|
-
linkInBioBuilderUrlPath: string;
|
|
370
|
-
brandPageEditorUrlPath: string;
|
|
371
|
-
brandSiteEditorUrlPath: string;
|
|
372
|
-
brandContactEditorUrlPath: string;
|
|
373
|
-
logoEditUrlPath: string;
|
|
374
|
-
} & import("pinia").PiniaCustomStateProperties<import("../../stores").LocalisedRouteState>) => () => string | undefined;
|
|
375
|
-
currentBrandPageUrl: (state: {
|
|
376
|
-
baseFabricRenderDomain: string;
|
|
377
|
-
baseBrandPageDomain: string;
|
|
378
|
-
upgradeSubscriptionUrlPath: string;
|
|
379
|
-
reactivationUrlPath: string;
|
|
380
|
-
backToWebsiteManageUrlPath: string;
|
|
381
|
-
manageWebsiteDesignsUrlPath: string;
|
|
382
|
-
createNewDesignUrlPath: string;
|
|
383
|
-
termsOfUseUrlPath: string;
|
|
384
|
-
websiteBuilderUrlPath: string;
|
|
385
|
-
digitalBusinessCardBuilderUrlPath: string;
|
|
386
|
-
linkInBioBuilderUrlPath: string;
|
|
387
|
-
brandPageEditorUrlPath: string;
|
|
388
|
-
brandSiteEditorUrlPath: string;
|
|
389
|
-
brandContactEditorUrlPath: string;
|
|
390
|
-
logoEditUrlPath: string;
|
|
391
|
-
} & import("pinia").PiniaCustomStateProperties<import("../../stores").LocalisedRouteState>) => () => string;
|
|
392
|
-
getPostpurchaseByDesignDraftTokenUrl: () => (editorUrlToRedirectTo: string, designDraftToken: string) => string;
|
|
393
|
-
getBuilderLandingPageByTypeUrl: (state: {
|
|
394
|
-
baseFabricRenderDomain: string;
|
|
395
|
-
baseBrandPageDomain: string;
|
|
396
|
-
upgradeSubscriptionUrlPath: string;
|
|
397
|
-
reactivationUrlPath: string;
|
|
398
|
-
backToWebsiteManageUrlPath: string;
|
|
399
|
-
manageWebsiteDesignsUrlPath: string;
|
|
400
|
-
createNewDesignUrlPath: string;
|
|
401
|
-
termsOfUseUrlPath: string;
|
|
402
|
-
websiteBuilderUrlPath: string;
|
|
403
|
-
digitalBusinessCardBuilderUrlPath: string;
|
|
404
|
-
linkInBioBuilderUrlPath: string;
|
|
405
|
-
brandPageEditorUrlPath: string;
|
|
406
|
-
brandSiteEditorUrlPath: string;
|
|
407
|
-
brandContactEditorUrlPath: string;
|
|
408
|
-
logoEditUrlPath: string;
|
|
409
|
-
} & import("pinia").PiniaCustomStateProperties<import("../../stores").LocalisedRouteState>) => (isPreview: boolean, brandPageType: string, isDesignCom: boolean) => string;
|
|
410
|
-
}, {
|
|
411
|
-
initialise(payload: any): void;
|
|
412
|
-
}>;
|
|
413
360
|
}, {
|
|
414
361
|
customDomainName: string | undefined;
|
|
415
362
|
isCustomDomainNameValid: boolean;
|
|
@@ -427,6 +374,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
427
374
|
isCustomDomainActionListVisible: boolean;
|
|
428
375
|
CUSTOM_DOMAIN_INSTRUCTION_DNS_HOST_DISPLAY_TEXT: string;
|
|
429
376
|
}, {
|
|
377
|
+
brandPageUrl(): string;
|
|
430
378
|
customDomainStatusDisplayText(): string | null;
|
|
431
379
|
customDomainStatusDisplayClasses(): string | null;
|
|
432
380
|
customDomainConfigIpAddresses(): string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed } from 'vue';
|
|
2
2
|
import { BRANDCROWD_MANAGED_TRIGGER_ORIGIN, CUSTOM_DOMAIN_INSTRUCTION_DNS_HOST_DISPLAY_TEXT, CUSTOM_DOMAIN_STATUSES, DNS_CONFIGURATION_STATUSES, } from '../../constants';
|
|
3
|
-
import { useBrandPageContainerStore, useBrandPageMakerStore,
|
|
3
|
+
import { useBrandPageContainerStore, useBrandPageMakerStore, } from '../../stores';
|
|
4
4
|
import { defaultUSDCurrency } from '../../constants/currency-constants';
|
|
5
5
|
import { validateCustomDomainName } from '../../utils';
|
|
6
6
|
import { seoSettingsTr, commonTr } from '../../../composables/useTranslate';
|
|
@@ -19,16 +19,13 @@ export default defineComponent({
|
|
|
19
19
|
setup() {
|
|
20
20
|
const brandPageContainer = useBrandPageContainerStore();
|
|
21
21
|
const brandPageMakerStore = useBrandPageMakerStore();
|
|
22
|
-
const localisedRouteStore = useLocalisedRouteStore();
|
|
23
22
|
return {
|
|
24
23
|
customDomain: computed(() => brandPageContainer.customDomain),
|
|
25
24
|
isCustomDomainEnabled: computed(() => brandPageContainer.isCustomDomainEnabled),
|
|
26
25
|
isSellDomainNameEnabled: computed(() => brandPageContainer.isSellDomainNameEnabled),
|
|
27
26
|
designDraftToken: computed(() => brandPageContainer.designDraftToken),
|
|
28
|
-
brandPageUrl: computed(() => localisedRouteStore.currentBrandPageUrl()),
|
|
29
27
|
brandPageContainer,
|
|
30
28
|
brandPageMakerStore,
|
|
31
|
-
localisedRouteStore,
|
|
32
29
|
};
|
|
33
30
|
},
|
|
34
31
|
data: () => ({
|
|
@@ -43,6 +40,11 @@ export default defineComponent({
|
|
|
43
40
|
CUSTOM_DOMAIN_INSTRUCTION_DNS_HOST_DISPLAY_TEXT,
|
|
44
41
|
}),
|
|
45
42
|
computed: {
|
|
43
|
+
brandPageUrl() {
|
|
44
|
+
return this.brandPageContainer.brandPageSlug
|
|
45
|
+
? `${this.brandPageContainer.brandPageBaseUrl}/${this.brandPageContainer.brandPageSlug}`
|
|
46
|
+
: '';
|
|
47
|
+
},
|
|
46
48
|
customDomainStatusDisplayText() {
|
|
47
49
|
const status = this.brandPageContainer.customDomain?.status;
|
|
48
50
|
if (!status) {
|
|
@@ -19,6 +19,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
19
19
|
brandPageStatus: string;
|
|
20
20
|
brandPageToken: string | undefined;
|
|
21
21
|
brandPageTitle: string;
|
|
22
|
+
createNewDesignUrl: string;
|
|
22
23
|
customDomain: {
|
|
23
24
|
id: string;
|
|
24
25
|
created: Date;
|
|
@@ -47,10 +48,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
47
48
|
isStripeOnboardingModalVisible: boolean;
|
|
48
49
|
isReactivationModal: boolean;
|
|
49
50
|
isSaving: boolean;
|
|
51
|
+
backUrl: string;
|
|
50
52
|
backButtonLabel: string;
|
|
51
53
|
manageWebsiteDesignsUrl: string;
|
|
52
54
|
publishErrorMessage: string;
|
|
53
|
-
upgradeUrl: string;
|
|
54
55
|
reactivationUrl: string;
|
|
55
56
|
runtimeEnvironment: string;
|
|
56
57
|
selectedTaxId: number | undefined;
|
|
@@ -58,6 +59,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
59
|
standalone: boolean;
|
|
59
60
|
triggerSaveSuccessMessage: boolean;
|
|
60
61
|
triggerSaveEventApiOnPublishModalClose: boolean;
|
|
62
|
+
upgradeUrl: string;
|
|
61
63
|
measurementID: string | undefined;
|
|
62
64
|
isDesignCom: boolean;
|
|
63
65
|
isPrePurchase: boolean;
|
|
@@ -77,6 +79,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
77
79
|
brandPageStatus: string;
|
|
78
80
|
brandPageToken: string | undefined;
|
|
79
81
|
brandPageTitle: string;
|
|
82
|
+
createNewDesignUrl: string;
|
|
80
83
|
customDomain: {
|
|
81
84
|
id: string;
|
|
82
85
|
created: Date;
|
|
@@ -105,10 +108,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
105
108
|
isStripeOnboardingModalVisible: boolean;
|
|
106
109
|
isReactivationModal: boolean;
|
|
107
110
|
isSaving: boolean;
|
|
111
|
+
backUrl: string;
|
|
108
112
|
backButtonLabel: string;
|
|
109
113
|
manageWebsiteDesignsUrl: string;
|
|
110
114
|
publishErrorMessage: string;
|
|
111
|
-
upgradeUrl: string;
|
|
112
115
|
reactivationUrl: string;
|
|
113
116
|
runtimeEnvironment: string;
|
|
114
117
|
selectedTaxId: number | undefined;
|
|
@@ -116,6 +119,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
116
119
|
standalone: boolean;
|
|
117
120
|
triggerSaveSuccessMessage: boolean;
|
|
118
121
|
triggerSaveEventApiOnPublishModalClose: boolean;
|
|
122
|
+
upgradeUrl: string;
|
|
119
123
|
measurementID: string | undefined;
|
|
120
124
|
isDesignCom: boolean;
|
|
121
125
|
isPrePurchase: boolean;
|
|
@@ -19,6 +19,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
19
19
|
brandPageStatus: string;
|
|
20
20
|
brandPageToken: string | undefined;
|
|
21
21
|
brandPageTitle: string;
|
|
22
|
+
createNewDesignUrl: string;
|
|
22
23
|
customDomain: {
|
|
23
24
|
id: string;
|
|
24
25
|
created: Date;
|
|
@@ -47,10 +48,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
47
48
|
isStripeOnboardingModalVisible: boolean;
|
|
48
49
|
isReactivationModal: boolean;
|
|
49
50
|
isSaving: boolean;
|
|
51
|
+
backUrl: string;
|
|
50
52
|
backButtonLabel: string;
|
|
51
53
|
manageWebsiteDesignsUrl: string;
|
|
52
54
|
publishErrorMessage: string;
|
|
53
|
-
upgradeUrl: string;
|
|
54
55
|
reactivationUrl: string;
|
|
55
56
|
runtimeEnvironment: string;
|
|
56
57
|
selectedTaxId: number | undefined;
|
|
@@ -58,6 +59,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
59
|
standalone: boolean;
|
|
59
60
|
triggerSaveSuccessMessage: boolean;
|
|
60
61
|
triggerSaveEventApiOnPublishModalClose: boolean;
|
|
62
|
+
upgradeUrl: string;
|
|
61
63
|
measurementID: string | undefined;
|
|
62
64
|
isDesignCom: boolean;
|
|
63
65
|
isPrePurchase: boolean;
|
|
@@ -77,6 +79,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
77
79
|
brandPageStatus: string;
|
|
78
80
|
brandPageToken: string | undefined;
|
|
79
81
|
brandPageTitle: string;
|
|
82
|
+
createNewDesignUrl: string;
|
|
80
83
|
customDomain: {
|
|
81
84
|
id: string;
|
|
82
85
|
created: Date;
|
|
@@ -105,10 +108,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
105
108
|
isStripeOnboardingModalVisible: boolean;
|
|
106
109
|
isReactivationModal: boolean;
|
|
107
110
|
isSaving: boolean;
|
|
111
|
+
backUrl: string;
|
|
108
112
|
backButtonLabel: string;
|
|
109
113
|
manageWebsiteDesignsUrl: string;
|
|
110
114
|
publishErrorMessage: string;
|
|
111
|
-
upgradeUrl: string;
|
|
112
115
|
reactivationUrl: string;
|
|
113
116
|
runtimeEnvironment: string;
|
|
114
117
|
selectedTaxId: number | undefined;
|
|
@@ -116,6 +119,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
116
119
|
standalone: boolean;
|
|
117
120
|
triggerSaveSuccessMessage: boolean;
|
|
118
121
|
triggerSaveEventApiOnPublishModalClose: boolean;
|
|
122
|
+
upgradeUrl: string;
|
|
119
123
|
measurementID: string | undefined;
|
|
120
124
|
isDesignCom: boolean;
|
|
121
125
|
isPrePurchase: boolean;
|