@designcrowd/library.brand-page 5.16.4 → 5.16.5-abtest-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-BSBOfb8b.js → CreatedOnBrandCrowd-de-de-BaaS2EOJ.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us--TNEsX53.js → CreatedOnBrandCrowd-en-us-D6H3KFUd.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-CiW0V1s6.js → CreatedOnBrandCrowd-es-es-Bw8CQAGz.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-CLUg9MpZ.js → CreatedOnBrandCrowd-fr-ca-xZ1hiQWQ.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-CLUg9MpZ.js → CreatedOnBrandCrowd-fr-fr-xZ1hiQWQ.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-RcuVcV12.js → CreatedOnBrandCrowd-pt-br-CeE83pYN.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-RcuVcV12.js → CreatedOnBrandCrowd-pt-pt-CeE83pYN.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-CxEV99br.js → CreatedOnDcom-de-de-DvpUIyqx.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-CjwaOUG0.js → CreatedOnDcom-en-us-Bny0hw3V.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-BKcWjmjk.js → CreatedOnDcom-es-es-DEBH6cY2.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-CgNSYXVe.js → CreatedOnDcom-fr-ca-CLbQPxPB.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-DcCwRFeB.js → CreatedOnDcom-fr-fr-DZGv306r.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-D1vS1gRg.js → CreatedOnDcom-pt-br-BQtb5yx1.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-BgEElCPj.js → CreatedOnDcom-pt-pt-B-Y6aMim.js} +1 -1
- package/lib/src/brand-page/models/brand-page-context.model.d.ts +0 -1
- package/lib/src/brand-page/models/brand-page-context.model.js +0 -1
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +0 -12
- package/lib/src/clients/brand-page-client.d.ts +0 -4
- package/lib/src/css/library.brand-page-brandCrowd.min.css +2 -2
- package/lib/src/css/library.brand-page-brandPage.min.css +2 -2
- package/lib/src/css/library.brand-page-designCom.min.css +2 -2
- package/lib/src/css/library.brand-page-preview.min.css +2 -2
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-BUOXEI8B.js → lib-1Fhhs6kT.js} +14333 -13737
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +0 -1
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.js +0 -4
- package/package.json +2 -2
- package/src/brand-page/models/brand-page-context.model.ts +0 -3
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +0 -36
- package/src/clients/brand-page-client.ts +0 -4
- package/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.ts +0 -6
- package/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.vue +1 -1
package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts
CHANGED
|
@@ -457,7 +457,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
457
457
|
getBusinessName(): string | undefined;
|
|
458
458
|
hasPurchasedDomains(): boolean;
|
|
459
459
|
isActiveDomain(): boolean;
|
|
460
|
-
showUpsellRotation(): boolean;
|
|
461
460
|
}, {
|
|
462
461
|
closeModal(): void;
|
|
463
462
|
onCopyUrlClicked(): void;
|
package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.js
CHANGED
|
@@ -133,10 +133,6 @@ export default defineComponent({
|
|
|
133
133
|
this.brandPageContainerStore.customDomain.status ===
|
|
134
134
|
CUSTOM_DOMAIN_STATUSES.active);
|
|
135
135
|
},
|
|
136
|
-
showUpsellRotation() {
|
|
137
|
-
return (this.abTests.bp_4092_rotating_upsells_at_publish &&
|
|
138
|
-
this.abTests.bp_4092_rotating_upsells_at_publish.isVariation);
|
|
139
|
-
},
|
|
140
136
|
},
|
|
141
137
|
watch: {
|
|
142
138
|
customDomain(newCustomDomain) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@designcrowd/library.brand-page",
|
|
3
3
|
"description": "A collection of Maker/Designer applications",
|
|
4
|
-
"version": "5.16.
|
|
4
|
+
"version": "5.16.5-abtest-1",
|
|
5
5
|
"author": "Design.com Eng",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@ckpack/vue-color": "1.4.1",
|
|
58
|
-
"@designcrowd/fe-shared-lib": "1.5.
|
|
58
|
+
"@designcrowd/fe-shared-lib": "1.5.2",
|
|
59
59
|
"@pinia/nuxt": "0.11.0",
|
|
60
60
|
"@storybook/react": "9.0.4",
|
|
61
61
|
"@tiptap/extension-bubble-menu": "^2.14.0",
|
|
@@ -48,15 +48,12 @@ export interface AbTestResult {
|
|
|
48
48
|
|
|
49
49
|
const AB_TEST_KEYS = {
|
|
50
50
|
BP_3926_FREEMIUM_WATERMARK: 'bc-bp-3926-freemium-cta-in-website-editor',
|
|
51
|
-
BP_4092_ROTATING_UPSELLS_AT_PUBLISH:
|
|
52
|
-
'bc-bp-4092-rotating-upsells-at-website-publish',
|
|
53
51
|
BP_4572_AI_TEXT_GENERATION_POST_PURCHASE:
|
|
54
52
|
'bc-bp-4572-ai-text-generation-post-purchase',
|
|
55
53
|
};
|
|
56
54
|
|
|
57
55
|
export interface AbTest {
|
|
58
56
|
bp_3926_freemium_watermark?: AbTestResult;
|
|
59
|
-
bp_4092_rotating_upsells_at_publish?: AbTestResult;
|
|
60
57
|
bp_4572_ai_text_generation_post_purchase?: AbTestResult;
|
|
61
58
|
}
|
|
62
59
|
|
|
@@ -431,18 +431,6 @@ export const useBrandPageContainerStore = defineStore('brandPageContainer', {
|
|
|
431
431
|
throw new Error('Failed to set brand page slug');
|
|
432
432
|
}
|
|
433
433
|
|
|
434
|
-
if (response.websiteUpsellAbTestKey) {
|
|
435
|
-
this.abTests.bp_4092_rotating_upsells_at_publish = getValueType(
|
|
436
|
-
response.websiteUpsellAbTestKey,
|
|
437
|
-
response.websiteUpsellAbTestValue,
|
|
438
|
-
);
|
|
439
|
-
|
|
440
|
-
eventTracker.sendExperimentStartedEvent(
|
|
441
|
-
response.websiteUpsellAbTestKey,
|
|
442
|
-
response.websiteUpsellAbTestValue,
|
|
443
|
-
);
|
|
444
|
-
}
|
|
445
|
-
|
|
446
434
|
if (response.status) {
|
|
447
435
|
await this.setBrandPageStatus(response.status);
|
|
448
436
|
}
|
|
@@ -583,18 +571,6 @@ export const useBrandPageContainerStore = defineStore('brandPageContainer', {
|
|
|
583
571
|
throw new Error('Failed to set brand page slug');
|
|
584
572
|
}
|
|
585
573
|
|
|
586
|
-
if (response.websiteUpsellAbTestKey) {
|
|
587
|
-
this.abTests.bp_4092_rotating_upsells_at_publish = getValueType(
|
|
588
|
-
response.websiteUpsellAbTestKey,
|
|
589
|
-
response.websiteUpsellAbTestValue,
|
|
590
|
-
);
|
|
591
|
-
|
|
592
|
-
eventTracker.sendExperimentStartedEvent(
|
|
593
|
-
response.websiteUpsellAbTestKey,
|
|
594
|
-
response.websiteUpsellAbTestValue,
|
|
595
|
-
);
|
|
596
|
-
}
|
|
597
|
-
|
|
598
574
|
await brandPageClient.getBrandPageIsCustomDomainEnabledAsync(
|
|
599
575
|
brandPageMakerStore.brandPageType,
|
|
600
576
|
this.designDraftToken,
|
|
@@ -880,18 +856,6 @@ export const useBrandPageContainerStore = defineStore('brandPageContainer', {
|
|
|
880
856
|
return false;
|
|
881
857
|
}
|
|
882
858
|
|
|
883
|
-
if (response.websiteUpsellAbTestKey) {
|
|
884
|
-
this.abTests.bp_4092_rotating_upsells_at_publish = getValueType(
|
|
885
|
-
response.websiteUpsellAbTestKey,
|
|
886
|
-
response.websiteUpsellAbTestValue,
|
|
887
|
-
);
|
|
888
|
-
|
|
889
|
-
eventTracker.sendExperimentStartedEvent(
|
|
890
|
-
response.websiteUpsellAbTestKey,
|
|
891
|
-
response.websiteUpsellAbTestValue,
|
|
892
|
-
);
|
|
893
|
-
}
|
|
894
|
-
|
|
895
859
|
if (this.brandPageStatus !== response.status) {
|
|
896
860
|
await this.setBrandPageStatus(response.status);
|
|
897
861
|
}
|
|
@@ -10,8 +10,6 @@ export interface SaveBrandPageResponse {
|
|
|
10
10
|
status: string;
|
|
11
11
|
slug: string;
|
|
12
12
|
canPublish: boolean;
|
|
13
|
-
websiteUpsellAbTestKey: string;
|
|
14
|
-
websiteUpsellAbTestValue: string;
|
|
15
13
|
websiteUpsellModalViewModel: any;
|
|
16
14
|
}
|
|
17
15
|
|
|
@@ -19,8 +17,6 @@ export interface PublishBrandPageResponse {
|
|
|
19
17
|
designDraftToken: string;
|
|
20
18
|
status: string;
|
|
21
19
|
slug: string;
|
|
22
|
-
websiteUpsellAbTestKey: string;
|
|
23
|
-
websiteUpsellAbTestValue: string;
|
|
24
20
|
websiteUpsellModalViewModel: any;
|
|
25
21
|
}
|
|
26
22
|
|
|
@@ -177,12 +177,6 @@ export default defineComponent({
|
|
|
177
177
|
CUSTOM_DOMAIN_STATUSES.active
|
|
178
178
|
);
|
|
179
179
|
},
|
|
180
|
-
showUpsellRotation(): boolean {
|
|
181
|
-
return (
|
|
182
|
-
this.abTests.bp_4092_rotating_upsells_at_publish &&
|
|
183
|
-
this.abTests.bp_4092_rotating_upsells_at_publish.isVariation
|
|
184
|
-
);
|
|
185
|
-
},
|
|
186
180
|
},
|
|
187
181
|
watch: {
|
|
188
182
|
customDomain(newCustomDomain) {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
:is-busy="false"
|
|
27
27
|
:is-custom-domain-active="isCustomDomainActive"
|
|
28
28
|
:brand-page-type="brandPageType"
|
|
29
|
-
:show-upsell-rotation="
|
|
29
|
+
:show-upsell-rotation="true"
|
|
30
30
|
:is-subsequent-publish="isSubsequentPublish"
|
|
31
31
|
@close-modal="closeModal"
|
|
32
32
|
@on-slug-changed="onSlugChanged"
|