@designcrowd/library.brand-page 5.16.25-pre-temp-8 → 5.16.25
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-Ch0n753P.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-CvukvhWY.js → CreatedOnBrandCrowd-en-us-B48UACQl.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-DQPic26t.js → CreatedOnBrandCrowd-es-es-BUFUO_0v.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-C3BMQExz.js → CreatedOnBrandCrowd-fr-ca-DkM45w95.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-C3BMQExz.js → CreatedOnBrandCrowd-fr-fr-DkM45w95.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-B_MvCdUr.js → CreatedOnBrandCrowd-pt-br-BrfXhDcV.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-B_MvCdUr.js → CreatedOnBrandCrowd-pt-pt-BrfXhDcV.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-Ba0fT819.js → CreatedOnDcom-de-de-BXtSjuuW.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-CIqdsk2s.js → CreatedOnDcom-en-us-0YJL5DzN.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-ftxNwcur.js → CreatedOnDcom-es-es-DL_QwZzN.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-DHGA-C9Z.js → CreatedOnDcom-fr-ca-Bv3VkWWL.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-CVTpkhN2.js → CreatedOnDcom-fr-fr-BT5nAd3W.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-lupv3sis.js → CreatedOnDcom-pt-br-O4Y_UNoK.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-CQktTdka.js → CreatedOnDcom-pt-pt-D06bNEGa.js} +1 -1
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.js +4 -4
- package/lib/src/clients/design-template-client.d.ts +0 -2
- package/lib/src/clients/fabric-render-client.d.ts +0 -3
- package/lib/src/index.d.ts +1 -1
- package/lib/src/index.mjs +66 -67
- package/lib/src/{lib-kZoWgZYw.js → lib-CtPHohpu.js} +4196 -4225
- package/lib/src/lib.js +1 -1
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +0 -2
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +0 -2
- package/lib/src/shared/logo-settings/store/editable-logo-store.d.ts +0 -4
- package/lib/src/shared/logo-settings/store/editable-logo-store.js +0 -11
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +0 -2
- package/lib/src/shared/template-settings/store/template-settings-store.js +8 -39
- package/package.json +1 -1
- package/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.ts +4 -4
- package/src/clients/design-template-client.ts +0 -2
- package/src/clients/fabric-render-client.ts +0 -3
- package/src/lib.ts +0 -1
- package/src/shared/logo-settings/store/editable-logo-store.ts +0 -13
- package/src/shared/template-settings/store/template-settings-store.ts +9 -52
|
@@ -189,7 +189,7 @@ export default defineComponent({
|
|
|
189
189
|
},
|
|
190
190
|
watch: {
|
|
191
191
|
template() {
|
|
192
|
-
if (this.isAdmin) {
|
|
192
|
+
if (this.isAdmin || this.isPrePurchase) {
|
|
193
193
|
this.updateViewModel();
|
|
194
194
|
}
|
|
195
195
|
else {
|
|
@@ -200,7 +200,7 @@ export default defineComponent({
|
|
|
200
200
|
},
|
|
201
201
|
logoTheme: {
|
|
202
202
|
handler() {
|
|
203
|
-
if (this.isAdmin) {
|
|
203
|
+
if (this.isAdmin || this.isPrePurchase) {
|
|
204
204
|
this.updateViewModel();
|
|
205
205
|
}
|
|
206
206
|
},
|
|
@@ -208,7 +208,7 @@ export default defineComponent({
|
|
|
208
208
|
},
|
|
209
209
|
previewImageUrl() {
|
|
210
210
|
// Reset loading state whenever the preview URL changes
|
|
211
|
-
if (!this.isAdmin) {
|
|
211
|
+
if (!this.isAdmin && !this.isPrePurchase) {
|
|
212
212
|
this.imageLoading = true;
|
|
213
213
|
this.imageLoadError = false;
|
|
214
214
|
}
|
|
@@ -267,7 +267,7 @@ export default defineComponent({
|
|
|
267
267
|
},
|
|
268
268
|
async updateViewModel(forceUpdate = true) {
|
|
269
269
|
// Only update view model for admin or pre-purchase mode
|
|
270
|
-
if (!this.isAdmin) {
|
|
270
|
+
if (!this.isAdmin && !this.isPrePurchase) {
|
|
271
271
|
return;
|
|
272
272
|
}
|
|
273
273
|
const videoStore = useVideoStore();
|
|
@@ -18,8 +18,6 @@ interface GetTemplatesAsyncOptions {
|
|
|
18
18
|
personalisable?: boolean;
|
|
19
19
|
selectedTemplateToken?: string | false;
|
|
20
20
|
locale?: string;
|
|
21
|
-
logoS3Token?: string;
|
|
22
|
-
logoTemplateToken?: string;
|
|
23
21
|
}
|
|
24
22
|
export declare const getTemplatesEndpoint: (templateTypeName: string) => string;
|
|
25
23
|
export declare const getTemplateEndpoint: (templateToken: any) => string;
|
|
@@ -26,7 +26,6 @@ export interface ModifyLogoDataRequest {
|
|
|
26
26
|
dimensionsType: string;
|
|
27
27
|
variation: string;
|
|
28
28
|
primaryText?: string;
|
|
29
|
-
generateS3Url?: boolean;
|
|
30
29
|
logo: {
|
|
31
30
|
template: {
|
|
32
31
|
token: string;
|
|
@@ -50,8 +49,6 @@ export interface ModifyLogoDataResponse {
|
|
|
50
49
|
metadata: string | null;
|
|
51
50
|
width: number;
|
|
52
51
|
height: number;
|
|
53
|
-
expiryDate?: string;
|
|
54
|
-
s3Token?: string;
|
|
55
52
|
}
|
|
56
53
|
export declare const LOGO_DIMENSION_TYPES: {
|
|
57
54
|
PREVIEW_IMAGE_TRANSPARENT_NO_BUFFER: string;
|
package/lib/src/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export { default as SensitiveContentModal } from './brand-page/components/sensit
|
|
|
23
23
|
export { getBrandPageViewModelFromBrandPageModel, migrateBrandPageModel, } from './brand-page/utils';
|
|
24
24
|
export * as brandPageUtils from './brand-page/utils';
|
|
25
25
|
export type { CriticalResourceURLs } from './brand-page/utils/view-model.util';
|
|
26
|
-
export { getOptimalLogoSize, calculateOptimizedLogoDimensions,
|
|
26
|
+
export { getOptimalLogoSize, calculateOptimizedLogoDimensions, } from './brand-page/utils/logo.util';
|
|
27
27
|
export { sanitizeRTEHtml } from './brand-page-maker/utils';
|
|
28
28
|
export { getPageSlugFromPageTitle } from './brand-page-maker/utils/slug.util';
|
|
29
29
|
export { useBrandPageMakerStore, useBrandPageMakerUserStore, useUiStore, useBrandPageContainerStore, useEventManagerStore, useLocalisedRouteStore, useVideoStore, } from './brand-page-maker/stores';
|
package/lib/src/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { createPinia as
|
|
1
|
+
import { bD as E, ar as T, aU as I, a5 as s, aj as S, ai as N, af as A, bt as e, bK as O, cc as G, cb as C, ca as D, c3 as P, b2 as t, b1 as R, bP as L, bQ as M, bX as o, bM as b, bO as r, bN as F, bR as n, bS as B, c2 as i, c0 as l, aq as g, c1 as Y, a8 as U, aZ as c, a$ as d, a_ as H, e as u, f as y, B as p, $ as K, d as V, a0 as k, j as X, an as m, Z as v, bs as h, bL as W, ay as x, aW as f, aS as z, b_ as Z, bZ as w, C as Q, b5 as j, D as q, b as J, a as $, bV as aa, b4 as _a, aX as Ea, aT as Ta, c8 as Ia, c9 as sa, bY as Sa, bH as Na, ad as Aa, b$ as ea, c4 as Oa, ba as Ga, aK as Ca, bg as Da, F as Pa, a7 as ta, a6 as Ra, h as La, a1 as Ma, b7 as oa, aV as ba, aR as ra, a3 as Fa, ak as na, l as Ba, K as ia, H as la, a9 as ga, bE as Ya, bb as Ua, bc as ca, bC as da, bi as Ha, bk as ua, b6 as ya, L as pa, aJ as Ka, bp as Va, aP as ka, bo as Xa, as as ma, ab as va, bW as ha, c5 as Wa, c6 as xa, c7 as fa, aY as za, N as Za, aB as wa, aA as Qa, aC as ja, aw as qa, ax as Ja, az as $a, be as a_, bl as __, b8 as E_, o as T_, al as I_, am as s_, ag as S_, ah as N_, ae as A_, a4 as e_, m as O_, bq as G_, ap as C_, bI as D_, bJ as P_, bU as t_, ac as R_, bG as L_, br as M_, n as o_, S as b_, P as r_, aI as F_, bF as n_, bf as B_, bx as i_, bw as l_, bz as g_, bu as Y_, bA as U_, bB as c_, bv as d_, by as H_, aD as u_, aE as y_, bn as p_, bm as K_, aG as V_, aH as k_, aM as X_, b0 as m_, aL as v_, aN as h_, U as W_, aa as x_, aQ as f_, k as z_, bd as Z_, ao as w_, b9 as Q_, bh as j_, bj as q_, b3 as J_, Q as $_, a2 as aE, g as _E, bT as EE, r as TE, u as IE, M as sE, Y as SE, aF as NE, aO as AE, au as eE, p as OE, W as GE, t as CE, w as DE, at as PE, i as tE, av as RE, c as LE, q as ME, v as oE, V as bE, O as rE, s as FE, X as nE, A as BE, x as iE, y as lE, T as gE, E as YE, R as UE, G as cE, J as dE, z as HE, I as uE } from "./lib-CtPHohpu.js";
|
|
2
|
+
import { createPinia as pE, setActivePinia as KE } from "pinia";
|
|
3
3
|
export {
|
|
4
4
|
E as ABOUT_SECTION_SETTINGS_CONFIG,
|
|
5
5
|
T as AB_TEST_FLAG,
|
|
@@ -7,8 +7,8 @@ export {
|
|
|
7
7
|
s as ASPECT_RATIOS,
|
|
8
8
|
S as AbstractMedia,
|
|
9
9
|
N as AbstractPageFooterStyles,
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
A as AbstractPageHeaderStyles,
|
|
11
|
+
e as BANNER_SECTION_SETTINGS_CONFIG,
|
|
12
12
|
O as BOOKING_SECTION_SETTINGS_CONFIG,
|
|
13
13
|
G as BP_BRAND_CONTACT_TEMPLATE_TYPE_NAME,
|
|
14
14
|
C as BP_BRAND_SITE_TEMPLATE_TYPE_NAME,
|
|
@@ -19,13 +19,13 @@ export {
|
|
|
19
19
|
L as BRANDPAGE_DESCRIPTION_CHARACTER_LIMIT,
|
|
20
20
|
M as BRANDPAGE_DESCRIPTION_CHARACTER_LIMIT_ERROR_MESSAGE,
|
|
21
21
|
o as BRANDPAGE_SETTINGS_SAVE_SUCCESS_MESSAGE_DESCRIPTION,
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
b as BRANDPAGE_SLUG_CHARACTER_LIMIT,
|
|
23
|
+
r as BRANDPAGE_SLUG_CHARACTER_LIMIT_ERROR_MESSAGE,
|
|
24
24
|
F as BRANDPAGE_SLUG_INVALID_ERROR_MESSAGE,
|
|
25
25
|
n as BRANDPAGE_TITLE_CHARACTER_LIMIT,
|
|
26
26
|
B as BRANDPAGE_TITLE_CHARACTER_LIMIT_ERROR_MESSAGE,
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
i as BRAND_CONTACT_PATH_FRAGMENT,
|
|
28
|
+
l as BRAND_PAGE_PATH_FRAGMENT,
|
|
29
29
|
g as BRAND_PAGE_TYPES,
|
|
30
30
|
Y as BRAND_SITE_PATH_FRAGMENT,
|
|
31
31
|
U as BUTTON_LINK_TYPE,
|
|
@@ -33,13 +33,13 @@ export {
|
|
|
33
33
|
d as BYO_LINK_ENDPOINT,
|
|
34
34
|
H as BYO_UPLOAD_ENDPOINT,
|
|
35
35
|
u as BackgroundColorsStarterKit,
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
y as BackgroundGradientStarterKit,
|
|
37
|
+
p as BackgroundImageSamples,
|
|
38
38
|
K as BackgroundShape,
|
|
39
39
|
V as BackgroundShapeStarterKit,
|
|
40
40
|
k as BackgroundStyles,
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
X as BrandPageMaker,
|
|
42
|
+
m as BrandPageModel,
|
|
43
43
|
v as ButtonStyles,
|
|
44
44
|
h as CONTACT_FORM_SETTINGS_CONFIG,
|
|
45
45
|
W as CONTENT_SETTINGS_CONFIGS,
|
|
@@ -61,8 +61,8 @@ export {
|
|
|
61
61
|
sa as DESKTOP_WIDTH,
|
|
62
62
|
Sa as DEVICE_CSS_TRANSITION_DELAY,
|
|
63
63
|
Na as DIVIDER_SECTION_SETTINGS_CONFIG,
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
Aa as DIVIDER_STYLES,
|
|
65
|
+
ea as DNS_CONFIGURATION_STATUSES,
|
|
66
66
|
Oa as DOMAIN_TYPE,
|
|
67
67
|
Ga as EMAIL_CONTENT_SETTINGS_CONFIG,
|
|
68
68
|
Ca as EMPTY_LOGO_IMAGE_MODEL,
|
|
@@ -73,13 +73,13 @@ export {
|
|
|
73
73
|
La as FabricRenderClient,
|
|
74
74
|
Ma as GALLERY_TYPES,
|
|
75
75
|
oa as GENERAL_LINK_CONTENT_SETTINGS_CONFIG,
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
ba as GET_ALL_ADMIN_MEDIA_ENDPOINT,
|
|
77
|
+
ra as GET_ALL_USER_MEDIA_ENDPOINT,
|
|
78
78
|
Fa as GalleryStyles,
|
|
79
79
|
na as GettyVideoMedia,
|
|
80
80
|
Ba as GoogleAnalytics,
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
ia as GoogleMapsPlugin,
|
|
82
|
+
la as HEADER_DISPLAY,
|
|
83
83
|
ga as HYPERLINK_TYPE,
|
|
84
84
|
Ya as IMAGES_SECTION_SETTINGS_CONFIG,
|
|
85
85
|
Ua as IMAGE_CONTENT_SETTINGS_CONFIG,
|
|
@@ -87,13 +87,13 @@ export {
|
|
|
87
87
|
da as IMAGE_SIZE_FIELD,
|
|
88
88
|
Ha as INSTAGRAM_CONTENT_SETTINGS_CONFIG,
|
|
89
89
|
ua as LINKEDIN_CONTENT_SETTINGS_CONFIG,
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
ya as LOGO_SETTINGS_CONFIG,
|
|
91
|
+
pa as LogoRender,
|
|
92
92
|
Ka as LogoStyles,
|
|
93
93
|
Va as MAILING_LIST_CONTENT_SETTINGS_CONFIG,
|
|
94
94
|
ka as MAKER_MOBILE_BREAKPOINT,
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
Xa as MAP_CONTENT_SETTINGS_CONFIG,
|
|
96
|
+
ma as MEDIA_SIZES,
|
|
97
97
|
va as MEDIA_TYPES,
|
|
98
98
|
ha as MESSAGE_VISIBLE_DURATION,
|
|
99
99
|
Wa as MOBILE_HEIGHT,
|
|
@@ -115,8 +115,8 @@ export {
|
|
|
115
115
|
s_ as PageFooterMobile,
|
|
116
116
|
S_ as PageHeaderDesktop,
|
|
117
117
|
N_ as PageHeaderMobile,
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
A_ as PageModel,
|
|
119
|
+
e_ as PageStyles,
|
|
120
120
|
O_ as PublishBrandPageModalWithState,
|
|
121
121
|
G_ as REQUEST_PAYMENT_CONTENT_SETTINGS_CONFIG,
|
|
122
122
|
C_ as SENSITIVE_CONTENT_TYPES,
|
|
@@ -127,13 +127,13 @@ export {
|
|
|
127
127
|
L_ as SOCIAL_LINKS_SETTINGS_CONFIG,
|
|
128
128
|
M_ as SUPPORT_ME_CONTENT_SETTINGS_CONFIG,
|
|
129
129
|
o_ as SensitiveContent,
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
b_ as SensitiveContentModal,
|
|
131
|
+
r_ as SeoPageSettings,
|
|
132
132
|
F_ as ShapeAspectRatioCategory,
|
|
133
133
|
n_ as TESTIMONIALS_SECTION_SETTINGS_CONFIG,
|
|
134
134
|
B_ as TEXT_CONTENT_SETTINGS_CONFIG,
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
i_ as TEXT_MEDIA_BACKGROUND_FIELD,
|
|
136
|
+
l_ as TEXT_MEDIA_DESCRIPTION_FIELD,
|
|
137
137
|
g_ as TEXT_MEDIA_DESCRIPTION_STYLE_FIELD,
|
|
138
138
|
Y_ as TEXT_MEDIA_DISPLAY_STYLE_FIELD,
|
|
139
139
|
U_ as TEXT_MEDIA_HEADING_STYLE_FIELD,
|
|
@@ -141,13 +141,13 @@ export {
|
|
|
141
141
|
d_ as TEXT_MEDIA_TITLE_FIELD,
|
|
142
142
|
H_ as TEXT_MEDIA_TITLE_STYLE_FIELD,
|
|
143
143
|
u_ as TEXT_STYLE_TYPES,
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
y_ as TEXT_STYLE_TYPES_DISPLAY_NAME_MAP,
|
|
145
|
+
p_ as TIKTOK_CONTENT_SETTINGS_CONFIG,
|
|
146
146
|
K_ as TWITCH_CONTENT_SETTINGS_CONFIG,
|
|
147
147
|
V_ as TextStyleOption,
|
|
148
148
|
k_ as TextStyles,
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
X_ as UI_DEVICE_MODES,
|
|
150
|
+
m_ as UI_EVENTS,
|
|
151
151
|
v_ as UI_EVENT_SOURCES,
|
|
152
152
|
h_ as UI_SCREENSIZE_MODES,
|
|
153
153
|
W_ as UPGRADE_CTA_LOCATIONS,
|
|
@@ -160,42 +160,41 @@ export {
|
|
|
160
160
|
j_ as X_CONTENT_SETTINGS_CONFIG,
|
|
161
161
|
q_ as YOUTUBE_CONTENT_SETTINGS_CONFIG,
|
|
162
162
|
J_ as YOUTUBE_EMBED_URL_PREFIX,
|
|
163
|
-
$_ as
|
|
164
|
-
aE as
|
|
165
|
-
_E as
|
|
166
|
-
EE as
|
|
167
|
-
TE as
|
|
168
|
-
IE as
|
|
169
|
-
sE as
|
|
170
|
-
SE as
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
eE as emptyGlobalTextStyleDeclaration,
|
|
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,
|
|
170
|
+
SE as createNewI18nInstance,
|
|
171
|
+
pE as createPinia,
|
|
172
|
+
NE as emptyGlobalTextStyleDeclaration,
|
|
174
173
|
AE as forEachPageCallContentCallback,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
174
|
+
eE 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,
|
|
187
186
|
bE as setLocaleAsync,
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
187
|
+
rE as setRouterInstance,
|
|
188
|
+
FE as setupSSRPinia,
|
|
189
|
+
nE as tr,
|
|
190
|
+
BE as useBrandPageContainerStore,
|
|
192
191
|
iE as useBrandPageMakerStore,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
192
|
+
lE as useBrandPageMakerUserStore,
|
|
193
|
+
gE as useConsent,
|
|
194
|
+
YE as useEventManagerStore,
|
|
195
|
+
UE as useEventTracker,
|
|
196
|
+
cE as useLocalisedRouteStore,
|
|
197
|
+
dE as useShopConfigStore,
|
|
198
|
+
HE as useUiStore,
|
|
199
|
+
uE as useVideoStore
|
|
201
200
|
};
|