@designcrowd/library.brand-page 5.16.25-pre-temp-8 → 5.16.25-pre-temp-9
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-BVLu_VlB.js → CreatedOnBrandCrowd-de-de-DJoovLqU.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-CvukvhWY.js → CreatedOnBrandCrowd-en-us-CoN7G8Xx.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-DQPic26t.js → CreatedOnBrandCrowd-es-es-DBp1xFFB.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-C3BMQExz.js → CreatedOnBrandCrowd-fr-ca-o4t99-ro.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-C3BMQExz.js → CreatedOnBrandCrowd-fr-fr-o4t99-ro.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-B_MvCdUr.js → CreatedOnBrandCrowd-pt-br-Bz1q3Ule.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-B_MvCdUr.js → CreatedOnBrandCrowd-pt-pt-Bz1q3Ule.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-Ba0fT819.js → CreatedOnDcom-de-de-C6pvmu7S.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-CIqdsk2s.js → CreatedOnDcom-en-us-roZgefyd.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-ftxNwcur.js → CreatedOnDcom-es-es-CDOrDYMr.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-DHGA-C9Z.js → CreatedOnDcom-fr-ca-DVJRDNcV.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-CVTpkhN2.js → CreatedOnDcom-fr-fr-KhoYvt-X.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-lupv3sis.js → CreatedOnDcom-pt-br-BsgB2Sny.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-CQktTdka.js → CreatedOnDcom-pt-pt-per2Vztn.js} +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.js +2 -5
- package/lib/src/brand-page-maker/constants/template-constants.d.ts +1 -2
- package/lib/src/brand-page-maker/constants/template-constants.js +1 -2
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +10 -0
- package/lib/src/index.mjs +106 -107
- package/lib/src/{lib-kZoWgZYw.js → lib-dnwErfCY.js} +3639 -3629
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +6 -0
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +6 -0
- package/lib/src/shared/logo-settings/store/editable-logo-store.d.ts +8 -0
- package/lib/src/shared/logo-settings/store/editable-logo-store.js +5 -0
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +6 -0
- package/package.json +1 -1
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.ts +1 -6
- package/src/brand-page-maker/constants/template-constants.ts +1 -2
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +14 -0
- package/src/shared/logo-settings/store/editable-logo-store.ts +7 -0
package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, defineComponent } from 'vue';
|
|
2
|
-
import { DESKTOP_HEIGHT, DESKTOP_WIDTH, MOBILE_HEIGHT, MOBILE_WIDTH,
|
|
2
|
+
import { DESKTOP_HEIGHT, DESKTOP_WIDTH, MOBILE_HEIGHT, MOBILE_WIDTH, } from '../../constants';
|
|
3
3
|
import { useBrandPageMakerStore, useBrandPageContainerStore, } from '../../../lib';
|
|
4
4
|
export default defineComponent({
|
|
5
5
|
setup() {
|
|
@@ -21,10 +21,7 @@ export default defineComponent({
|
|
|
21
21
|
return this.isBrandSite ? DESKTOP_WIDTH : MOBILE_WIDTH;
|
|
22
22
|
},
|
|
23
23
|
height() {
|
|
24
|
-
|
|
25
|
-
return DESKTOP_HEIGHT;
|
|
26
|
-
}
|
|
27
|
-
return this.isPrePurchase ? MOBILE_HEIGHT : MOBILE_HEIGHT_POST_PURCHASE;
|
|
24
|
+
return this.isBrandSite ? DESKTOP_HEIGHT : MOBILE_HEIGHT;
|
|
28
25
|
},
|
|
29
26
|
},
|
|
30
27
|
});
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export declare const MOBILE_HEIGHT =
|
|
2
|
-
export declare const MOBILE_HEIGHT_POST_PURCHASE = 636;
|
|
1
|
+
export declare const MOBILE_HEIGHT = 636;
|
|
3
2
|
export declare const MOBILE_WIDTH = 358;
|
|
4
3
|
export declare const DESKTOP_HEIGHT = 600;
|
|
5
4
|
export declare const DESKTOP_WIDTH = 1000;
|
|
@@ -176,6 +176,7 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
|
|
|
176
176
|
const userStore = useBrandPageMakerUserStore();
|
|
177
177
|
const containerStore = useBrandPageContainerStore();
|
|
178
178
|
const uiContentSettings = useUiContentSettingsStore();
|
|
179
|
+
const editableLogoStore = useUiEditableLogoStore();
|
|
179
180
|
if (!this.selectedTemplateId) {
|
|
180
181
|
return;
|
|
181
182
|
}
|
|
@@ -205,6 +206,15 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
|
|
|
205
206
|
}
|
|
206
207
|
}
|
|
207
208
|
else {
|
|
209
|
+
if (containerStore.isPrePurchase) {
|
|
210
|
+
const logoVariation = logoSettingsStore.selectedLogoTemplateImage?.logoTemplateVersion ??
|
|
211
|
+
0;
|
|
212
|
+
const logoTheme = editableLogoStore.editableLogoVariations[logoVariation]?.logoTheme;
|
|
213
|
+
if (logoTheme)
|
|
214
|
+
uiStore.setLogoTheme({
|
|
215
|
+
logoTheme: parseLogoThemeToCssStyles(logoTheme),
|
|
216
|
+
});
|
|
217
|
+
}
|
|
208
218
|
const logoImage = logoUtil.safeGetLogoImageFromLogoImageUrl(logoImageUrl);
|
|
209
219
|
// FIXME = this appears to re-run migrateLogoImageUrl
|
|
210
220
|
[
|
package/lib/src/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { bE as E, as as T, aV as I, a6 as s, ak as
|
|
2
|
-
import { createPinia as
|
|
1
|
+
import { bE as E, as as T, aV as I, a6 as s, ak as N, aj as S, ag as e, bu as A, bL as O, cc as G, cb as C, ca as D, c4 as P, b3 as t, b2 as R, bQ as L, bR as M, bY as o, bN as r, bP as b, bO as F, bS as n, bT as B, c3 as l, c1 as i, ar as g, c2 as Y, a9 as U, a_ as c, b0 as d, a$ as u, e as H, f as p, B as y, a0 as K, d as V, a1 as k, j as m, ao as X, $ as v, bt as h, bM as W, az as x, aX as f, aT as z, b$ as Z, b_ as w, C as Q, b6 as j, D as q, b as J, a as $, bW as aa, b5 as _a, aY as Ea, aU as Ta, c8 as Ia, c9 as sa, bZ as Na, bI as Sa, ae as ea, c0 as Aa, c5 as Oa, bb as Ga, aL as Ca, bh as Da, F as Pa, a8 as ta, a7 as Ra, h as La, a2 as Ma, b8 as oa, aW as ra, aS as ba, a4 as Fa, al as na, l as Ba, M as la, H as ia, aa as ga, bF as Ya, bc as Ua, bd as ca, bD as da, bj as ua, bl as Ha, b7 as pa, L as ya, aK as Ka, bq as Va, aQ as ka, bp as ma, at as Xa, ac as va, bX as ha, c6 as Wa, c7 as xa, aZ as fa, N as za, aC as Za, aB as wa, aD as Qa, ax as ja, ay as qa, aA as Ja, bf as $a, bm as a_, b9 as __, o as E_, am as T_, an as I_, ah as s_, ai as N_, af as S_, a5 as e_, m as A_, br as O_, aq as G_, bJ as C_, bK as D_, bV as P_, ad as t_, bH as R_, bs as L_, n as M_, S as o_, P as r_, aJ as b_, bG as F_, bg as n_, by as B_, bx as l_, bA as i_, bv as g_, bB as Y_, bC as U_, bw as c_, bz as d_, aE as u_, aF as H_, bo as p_, bn as y_, aH as K_, aI as V_, aN as k_, b1 as m_, aM as X_, aO as v_, U as h_, ab as W_, aR as x_, k as f_, be as z_, ap as Z_, ba as w_, bi as Q_, bk as j_, b4 as q_, v as J_, R as $_, a3 as aE, g as _E, bU as EE, r as TE, u as IE, O as sE, Z as NE, aG as SE, aP as eE, av as AE, p as OE, X as GE, t as CE, x as DE, au as PE, i as tE, aw as RE, c as LE, q as ME, w as oE, W as rE, Q as bE, s as FE, Y as nE, E as BE, y as lE, z as iE, V as gE, G as YE, T as UE, I as cE, K as dE, A as uE, J as HE } from "./lib-dnwErfCY.js";
|
|
2
|
+
import { createPinia as yE, setActivePinia as KE } from "pinia";
|
|
3
3
|
export {
|
|
4
4
|
E as ABOUT_SECTION_SETTINGS_CONFIG,
|
|
5
5
|
T as AB_TEST_FLAG,
|
|
6
6
|
I as ADMIN_POLICY_DATA_ENDPOINT,
|
|
7
7
|
s as ASPECT_RATIOS,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
N as AbstractMedia,
|
|
9
|
+
S as AbstractPageFooterStyles,
|
|
10
10
|
e as AbstractPageHeaderStyles,
|
|
11
11
|
A as BANNER_SECTION_SETTINGS_CONFIG,
|
|
12
12
|
O as BOOKING_SECTION_SETTINGS_CONFIG,
|
|
@@ -31,8 +31,8 @@ export {
|
|
|
31
31
|
U as BUTTON_LINK_TYPE,
|
|
32
32
|
c as BYO_DETAILS_ENDPOINT,
|
|
33
33
|
d as BYO_LINK_ENDPOINT,
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
u as BYO_UPLOAD_ENDPOINT,
|
|
35
|
+
H as BackgroundColorsStarterKit,
|
|
36
36
|
p as BackgroundGradientStarterKit,
|
|
37
37
|
y as BackgroundImageSamples,
|
|
38
38
|
K as BackgroundShape,
|
|
@@ -59,8 +59,8 @@ export {
|
|
|
59
59
|
Ta as DELETE_USER_MEDIA_ENDPOINT,
|
|
60
60
|
Ia as DESKTOP_HEIGHT,
|
|
61
61
|
sa as DESKTOP_WIDTH,
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
Na as DEVICE_CSS_TRANSITION_DELAY,
|
|
63
|
+
Sa as DIVIDER_SECTION_SETTINGS_CONFIG,
|
|
64
64
|
ea as DIVIDER_STYLES,
|
|
65
65
|
Aa as DNS_CONFIGURATION_STATUSES,
|
|
66
66
|
Oa as DOMAIN_TYPE,
|
|
@@ -85,8 +85,8 @@ export {
|
|
|
85
85
|
Ua as IMAGE_CONTENT_SETTINGS_CONFIG,
|
|
86
86
|
ca as IMAGE_GALLERY_CONTENT_SETTINGS_CONFIG,
|
|
87
87
|
da as IMAGE_SIZE_FIELD,
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
ua as INSTAGRAM_CONTENT_SETTINGS_CONFIG,
|
|
89
|
+
Ha as LINKEDIN_CONTENT_SETTINGS_CONFIG,
|
|
90
90
|
pa as LOGO_SETTINGS_CONFIG,
|
|
91
91
|
ya as LogoRender,
|
|
92
92
|
Ka as LogoStyles,
|
|
@@ -97,105 +97,104 @@ export {
|
|
|
97
97
|
va as MEDIA_TYPES,
|
|
98
98
|
ha as MESSAGE_VISIBLE_DURATION,
|
|
99
99
|
Wa as MOBILE_HEIGHT,
|
|
100
|
-
xa as
|
|
101
|
-
fa as
|
|
102
|
-
za as
|
|
103
|
-
Za as
|
|
104
|
-
wa as
|
|
105
|
-
Qa as
|
|
106
|
-
ja as
|
|
107
|
-
qa as
|
|
108
|
-
Ja as
|
|
109
|
-
$a as
|
|
110
|
-
a_ as
|
|
111
|
-
__ as
|
|
112
|
-
E_ as
|
|
113
|
-
T_ as
|
|
114
|
-
I_ as
|
|
115
|
-
s_ as
|
|
116
|
-
S_ as PageHeaderDesktop,
|
|
100
|
+
xa as MOBILE_WIDTH,
|
|
101
|
+
fa as MY_DESIGN_ASSETS_ENDPOINTS,
|
|
102
|
+
za as NAVIGATION_DISPLAY,
|
|
103
|
+
Za as NavigationDesktop,
|
|
104
|
+
wa as NavigationMenuStyles,
|
|
105
|
+
Qa as NavigationMobile,
|
|
106
|
+
ja as PAYMENT_OPTION_DISPLAY_TYPES,
|
|
107
|
+
qa as PAYMENT_OPTION_IMAGE_TYPES,
|
|
108
|
+
Ja as PERSONALISATION_ROLES,
|
|
109
|
+
$a as PHONE_CONTENT_SETTINGS_CONFIG,
|
|
110
|
+
a_ as PINTEREST_CONTENT_SETTINGS_CONFIG,
|
|
111
|
+
__ as PROFILE_CONTENT_SETTINGS_CONFIG,
|
|
112
|
+
E_ as Page,
|
|
113
|
+
T_ as PageFooterDesktop,
|
|
114
|
+
I_ as PageFooterMobile,
|
|
115
|
+
s_ as PageHeaderDesktop,
|
|
117
116
|
N_ as PageHeaderMobile,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
117
|
+
S_ as PageModel,
|
|
118
|
+
e_ as PageStyles,
|
|
119
|
+
A_ as PublishBrandPageModalWithState,
|
|
120
|
+
O_ as REQUEST_PAYMENT_CONTENT_SETTINGS_CONFIG,
|
|
121
|
+
G_ as SENSITIVE_CONTENT_TYPES,
|
|
122
|
+
C_ as SHAPES_SECTION_SETTINGS_CONFIG,
|
|
123
|
+
D_ as SHOP_SECTION_SETTINGS_CONFIG,
|
|
124
|
+
P_ as SIDE_BAR_TAB_NAMES,
|
|
125
|
+
t_ as SOCIAL_LINKS_ICON_DISPLAY_STYLES,
|
|
126
|
+
R_ as SOCIAL_LINKS_SETTINGS_CONFIG,
|
|
127
|
+
L_ as SUPPORT_ME_CONTENT_SETTINGS_CONFIG,
|
|
128
|
+
M_ as SensitiveContent,
|
|
129
|
+
o_ as SensitiveContentModal,
|
|
130
|
+
r_ as SeoPageSettings,
|
|
131
|
+
b_ as ShapeAspectRatioCategory,
|
|
132
|
+
F_ as TESTIMONIALS_SECTION_SETTINGS_CONFIG,
|
|
133
|
+
n_ as TEXT_CONTENT_SETTINGS_CONFIG,
|
|
134
|
+
B_ as TEXT_MEDIA_BACKGROUND_FIELD,
|
|
135
|
+
l_ as TEXT_MEDIA_DESCRIPTION_FIELD,
|
|
136
|
+
i_ as TEXT_MEDIA_DESCRIPTION_STYLE_FIELD,
|
|
137
|
+
g_ as TEXT_MEDIA_DISPLAY_STYLE_FIELD,
|
|
138
|
+
Y_ as TEXT_MEDIA_HEADING_STYLE_FIELD,
|
|
139
|
+
U_ as TEXT_MEDIA_PARAGRAPH_STYLE_FIELD,
|
|
140
|
+
c_ as TEXT_MEDIA_TITLE_FIELD,
|
|
141
|
+
d_ as TEXT_MEDIA_TITLE_STYLE_FIELD,
|
|
143
142
|
u_ as TEXT_STYLE_TYPES,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
143
|
+
H_ as TEXT_STYLE_TYPES_DISPLAY_NAME_MAP,
|
|
144
|
+
p_ as TIKTOK_CONTENT_SETTINGS_CONFIG,
|
|
145
|
+
y_ as TWITCH_CONTENT_SETTINGS_CONFIG,
|
|
146
|
+
K_ as TextStyleOption,
|
|
147
|
+
V_ as TextStyles,
|
|
148
|
+
k_ as UI_DEVICE_MODES,
|
|
149
|
+
m_ as UI_EVENTS,
|
|
150
|
+
X_ as UI_EVENT_SOURCES,
|
|
151
|
+
v_ as UI_SCREENSIZE_MODES,
|
|
152
|
+
h_ as UPGRADE_CTA_LOCATIONS,
|
|
153
|
+
W_ as URL_TYPE,
|
|
154
|
+
x_ as USER_POLICY_DATA_ENDPOINT,
|
|
155
|
+
f_ as UrlSettings,
|
|
156
|
+
z_ as VIDEO_CONTENT_SETTINGS_CONFIG,
|
|
157
|
+
Z_ as VIEWPORTS,
|
|
158
|
+
w_ as WEBSITE_CONTENT_SETTINGS_CONFIG,
|
|
159
|
+
Q_ as X_CONTENT_SETTINGS_CONFIG,
|
|
160
|
+
j_ as YOUTUBE_CONTENT_SETTINGS_CONFIG,
|
|
161
|
+
q_ as YOUTUBE_EMBED_URL_PREFIX,
|
|
162
|
+
J_ as applyLogoImageBase64UrlToBrandPageTemplateModel,
|
|
163
|
+
$_ as attachRouterHooks,
|
|
164
|
+
aE as availableGalleryTypes,
|
|
165
|
+
_E as brandPageClient,
|
|
166
|
+
EE as brandPageSlugRe,
|
|
167
|
+
TE as brandPageUtils,
|
|
168
|
+
IE as calculateOptimizedLogoDimensions,
|
|
169
|
+
sE as createBrandPageMakerRouter,
|
|
171
170
|
NE as createNewI18nInstance,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
171
|
+
yE as createPinia,
|
|
172
|
+
SE as emptyGlobalTextStyleDeclaration,
|
|
173
|
+
eE as forEachPageCallContentCallback,
|
|
174
|
+
AE as getAbTestResults,
|
|
175
|
+
OE as getBrandPageViewModelFromBrandPageModel,
|
|
176
|
+
GE as getCurrentLocale,
|
|
177
|
+
CE as getOptimalLogoSize,
|
|
178
|
+
DE as getPageSlugFromPageTitle,
|
|
179
|
+
PE as getValueType,
|
|
180
|
+
tE as isGoogleType,
|
|
181
|
+
RE as isStripePaymentIntent,
|
|
182
|
+
LE as isUrlType,
|
|
183
|
+
ME as migrateBrandPageModel,
|
|
184
|
+
oE as sanitizeRTEHtml,
|
|
185
|
+
KE as setActivePinia,
|
|
186
|
+
rE as setLocaleAsync,
|
|
187
|
+
bE as setRouterInstance,
|
|
188
|
+
FE as setupSSRPinia,
|
|
189
|
+
nE as tr,
|
|
190
|
+
BE as useBrandPageContainerStore,
|
|
191
|
+
lE as useBrandPageMakerStore,
|
|
192
|
+
iE as useBrandPageMakerUserStore,
|
|
193
|
+
gE as useConsent,
|
|
194
|
+
YE as useEventManagerStore,
|
|
195
|
+
UE as useEventTracker,
|
|
196
|
+
cE as useLocalisedRouteStore,
|
|
197
|
+
dE as useShopConfigStore,
|
|
199
198
|
uE as useUiStore,
|
|
200
|
-
|
|
199
|
+
HE as useVideoStore
|
|
201
200
|
};
|