@designcrowd/library.brand-page 5.16.24-pre-temp-6 → 5.16.24
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-DAvni3oV.js → CreatedOnBrandCrowd-de-de-BXPCJxUB.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-_h70_kCW.js → CreatedOnBrandCrowd-en-us-CvZgqD0_.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-XGHXUziy.js → CreatedOnBrandCrowd-es-es-CH1AwQm4.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-CBcJPjwh.js → CreatedOnBrandCrowd-fr-ca-kMRKllNk.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-CBcJPjwh.js → CreatedOnBrandCrowd-fr-fr-kMRKllNk.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-COwdhEVW.js → CreatedOnBrandCrowd-pt-br-DhzhLbLV.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-COwdhEVW.js → CreatedOnBrandCrowd-pt-pt-DhzhLbLV.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-KvM164QB.js → CreatedOnDcom-de-de-CTWeVBI1.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-BkLn5IJZ.js → CreatedOnDcom-en-us-DNJO48Gt.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-5k2Supcc.js → CreatedOnDcom-es-es-BhxPOXSv.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-B5gq2Un4.js → CreatedOnDcom-fr-ca-D5tOLgVL.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-BXuImC8r.js → CreatedOnDcom-fr-fr-DwUUlEvf.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-ZOa7vMgY.js → CreatedOnDcom-pt-br-DTxNAcvO.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-_xuC5dNp.js → CreatedOnDcom-pt-pt-Lj4Dmg1_.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 +65 -66
- package/lib/src/{lib-CxRe7xow.js → lib-CrdwMib8.js} +4219 -4247
- 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 -40
- 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/components/LogoTemplateSearch.vue +14 -12
- package/src/shared/logo-settings/store/editable-logo-store.ts +0 -13
- package/src/shared/template-settings/store/template-settings-store.ts +9 -54
|
@@ -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 yE, setActivePinia as
|
|
1
|
+
import { bD as E, ar as T, aU as I, a5 as s, aj as N, ai as S, af as A, bt as e, bK as O, cb as G, ca as C, c9 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 u, e as H, 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, c7 as Ia, c8 as sa, bY as Na, bH as Sa, 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 ua, bk as Ha, 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, aY as fa, N as za, aB as Za, aA as wa, aC as Qa, aw as ja, ax as qa, az as Ja, be as $a, bl as a_, b8 as __, o as E_, al as T_, am as I_, ag as s_, ah as N_, ae as S_, a4 as A_, m as e_, bq as O_, ap as G_, bI as C_, bJ as D_, bU as P_, ac as t_, bG as R_, br as L_, n as M_, S as o_, P as b_, aI as r_, bF as F_, bf as n_, bx as B_, bw as i_, bz as l_, bu as g_, bA as Y_, bB as U_, bv as c_, by as d_, aD as u_, aE as H_, bn as y_, bm as p_, aG as K_, aH as V_, aM as k_, b0 as X_, aL as m_, aN as v_, U as h_, aa as W_, aQ as x_, k as f_, bd as z_, ao as Z_, b9 as w_, bh as Q_, bj as j_, b3 as q_, Q as J_, a2 as $_, g as aE, bT as _E, r as EE, u as TE, M as IE, Y as sE, aF as NE, aO as SE, au as AE, p as eE, W as OE, t as GE, w as CE, at as DE, i as PE, av as tE, c as RE, q as LE, v as ME, V as oE, O as bE, s as rE, X as FE, A as nE, x as BE, y as iE, T as lE, E as gE, R as YE, G as UE, J as cE, z as dE, I as uE } from "./lib-CrdwMib8.js";
|
|
2
|
+
import { createPinia as yE, setActivePinia as pE } 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
|
N as AbstractMedia,
|
|
9
9
|
S 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
|
u as BYO_UPLOAD_ENDPOINT,
|
|
35
35
|
H 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
|
Na as DEVICE_CSS_TRANSITION_DELAY,
|
|
63
63
|
Sa 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
|
ua as INSTAGRAM_CONTENT_SETTINGS_CONFIG,
|
|
89
89
|
Ha 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 PageHeaderDesktop,
|
|
116
116
|
N_ as PageHeaderMobile,
|
|
117
117
|
S_ as PageModel,
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
A_ as PageStyles,
|
|
119
|
+
e_ as PublishBrandPageModalWithState,
|
|
120
120
|
O_ as REQUEST_PAYMENT_CONTENT_SETTINGS_CONFIG,
|
|
121
121
|
G_ as SENSITIVE_CONTENT_TYPES,
|
|
122
122
|
C_ as SHAPES_SECTION_SETTINGS_CONFIG,
|
|
@@ -127,13 +127,13 @@ export {
|
|
|
127
127
|
L_ as SUPPORT_ME_CONTENT_SETTINGS_CONFIG,
|
|
128
128
|
M_ as SensitiveContent,
|
|
129
129
|
o_ as SensitiveContentModal,
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
b_ as SeoPageSettings,
|
|
131
|
+
r_ as ShapeAspectRatioCategory,
|
|
132
132
|
F_ as TESTIMONIALS_SECTION_SETTINGS_CONFIG,
|
|
133
133
|
n_ as TEXT_CONTENT_SETTINGS_CONFIG,
|
|
134
134
|
B_ as TEXT_MEDIA_BACKGROUND_FIELD,
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
i_ as TEXT_MEDIA_DESCRIPTION_FIELD,
|
|
136
|
+
l_ as TEXT_MEDIA_DESCRIPTION_STYLE_FIELD,
|
|
137
137
|
g_ as TEXT_MEDIA_DISPLAY_STYLE_FIELD,
|
|
138
138
|
Y_ as TEXT_MEDIA_HEADING_STYLE_FIELD,
|
|
139
139
|
U_ as TEXT_MEDIA_PARAGRAPH_STYLE_FIELD,
|
|
@@ -141,13 +141,13 @@ export {
|
|
|
141
141
|
d_ as TEXT_MEDIA_TITLE_STYLE_FIELD,
|
|
142
142
|
u_ as TEXT_STYLE_TYPES,
|
|
143
143
|
H_ as TEXT_STYLE_TYPES_DISPLAY_NAME_MAP,
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
y_ as TIKTOK_CONTENT_SETTINGS_CONFIG,
|
|
145
|
+
p_ as TWITCH_CONTENT_SETTINGS_CONFIG,
|
|
146
146
|
K_ as TextStyleOption,
|
|
147
147
|
V_ as TextStyles,
|
|
148
148
|
k_ as UI_DEVICE_MODES,
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
X_ as UI_EVENTS,
|
|
150
|
+
m_ as UI_EVENT_SOURCES,
|
|
151
151
|
v_ as UI_SCREENSIZE_MODES,
|
|
152
152
|
h_ as UPGRADE_CTA_LOCATIONS,
|
|
153
153
|
W_ as URL_TYPE,
|
|
@@ -159,42 +159,41 @@ export {
|
|
|
159
159
|
Q_ as X_CONTENT_SETTINGS_CONFIG,
|
|
160
160
|
j_ as YOUTUBE_CONTENT_SETTINGS_CONFIG,
|
|
161
161
|
q_ as YOUTUBE_EMBED_URL_PREFIX,
|
|
162
|
-
J_ as
|
|
163
|
-
$_ as
|
|
164
|
-
aE as
|
|
165
|
-
_E as
|
|
166
|
-
EE as
|
|
167
|
-
TE as
|
|
168
|
-
IE as
|
|
169
|
-
sE as
|
|
170
|
-
NE as createNewI18nInstance,
|
|
162
|
+
J_ as attachRouterHooks,
|
|
163
|
+
$_ as availableGalleryTypes,
|
|
164
|
+
aE as brandPageClient,
|
|
165
|
+
_E as brandPageSlugRe,
|
|
166
|
+
EE as brandPageUtils,
|
|
167
|
+
TE as calculateOptimizedLogoDimensions,
|
|
168
|
+
IE as createBrandPageMakerRouter,
|
|
169
|
+
sE as createNewI18nInstance,
|
|
171
170
|
yE as createPinia,
|
|
172
|
-
|
|
173
|
-
|
|
171
|
+
NE as emptyGlobalTextStyleDeclaration,
|
|
172
|
+
SE as forEachPageCallContentCallback,
|
|
174
173
|
AE as getAbTestResults,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
174
|
+
eE as getBrandPageViewModelFromBrandPageModel,
|
|
175
|
+
OE as getCurrentLocale,
|
|
176
|
+
GE as getOptimalLogoSize,
|
|
177
|
+
CE as getPageSlugFromPageTitle,
|
|
178
|
+
DE as getValueType,
|
|
179
|
+
PE as isGoogleType,
|
|
180
|
+
tE as isStripePaymentIntent,
|
|
181
|
+
RE as isUrlType,
|
|
182
|
+
LE as migrateBrandPageModel,
|
|
183
|
+
ME as sanitizeRTEHtml,
|
|
184
|
+
pE as setActivePinia,
|
|
185
|
+
oE as setLocaleAsync,
|
|
187
186
|
bE as setRouterInstance,
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
187
|
+
rE as setupSSRPinia,
|
|
188
|
+
FE as tr,
|
|
189
|
+
nE as useBrandPageContainerStore,
|
|
190
|
+
BE as useBrandPageMakerStore,
|
|
192
191
|
iE as useBrandPageMakerUserStore,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
192
|
+
lE as useConsent,
|
|
193
|
+
gE as useEventManagerStore,
|
|
194
|
+
YE as useEventTracker,
|
|
195
|
+
UE as useLocalisedRouteStore,
|
|
196
|
+
cE as useShopConfigStore,
|
|
197
|
+
dE as useUiStore,
|
|
198
|
+
uE as useVideoStore
|
|
200
199
|
};
|