@designcrowd/library.brand-page 5.17.17 → 5.17.18-ast-layout
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-C9P2zdPv.js → CreatedOnBrandCrowd-de-de-B3Kzl17t.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-DBtTxqeM.js → CreatedOnBrandCrowd-en-us-DELbE7_X.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-DC5aFDcN.js → CreatedOnBrandCrowd-es-es-rZtjzBFS.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-CNiUorYS.js → CreatedOnBrandCrowd-fr-ca-Db56MNkl.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-CNiUorYS.js → CreatedOnBrandCrowd-fr-fr-Db56MNkl.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-CuqWCZLB.js → CreatedOnBrandCrowd-pt-br-BgyU_-LR.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-CuqWCZLB.js → CreatedOnBrandCrowd-pt-pt-BgyU_-LR.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-DRyCl_4J.js → CreatedOnDcom-de-de-DC1SfcCh.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-CV2aCrWr.js → CreatedOnDcom-en-us-4nXZjUop.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-2db-EVNQ.js → CreatedOnDcom-es-es-zbJx7K9T.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-hK0aCeAJ.js → CreatedOnDcom-fr-ca-Bql0VfNS.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-cXZK46sf.js → CreatedOnDcom-fr-fr-B-b5k54k.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-DxjyLWyi.js → CreatedOnDcom-pt-br-B9KQtWm7.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-C4KIe_Nv.js → CreatedOnDcom-pt-pt-D4T1u4a1.js} +1 -1
- package/lib/src/brand-page/constants/font.constants.js +1 -1
- package/lib/src/brand-page/models/logo.model.d.ts +1 -0
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +2 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +1 -0
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/social-share/SocialShare.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.js +5 -0
- package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +3 -2
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.d.ts +2 -1
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +2 -1
- package/lib/src/clients/fabric-render-client.d.ts +7 -0
- package/lib/src/clients/fabric-render-client.js +4 -1
- package/lib/src/css/library.brand-page-brandCrowd.min.css +5 -5
- package/lib/src/css/library.brand-page-brandPage.min.css +5 -5
- package/lib/src/css/library.brand-page-designCom.min.css +5 -5
- package/lib/src/css/library.brand-page-preview.min.css +5 -5
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-DD0QNGsz.js → lib-CXA7tc7k.js} +3493 -3468
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +1 -1
- package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.js +2 -1
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +5 -3
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +6 -4
- package/lib/src/shared/logo-settings/store/editable-logo-store.d.ts +5 -3
- package/lib/src/shared/logo-settings/store/editable-logo-store.js +52 -21
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +5 -1
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +10 -4
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +1 -1
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +1 -1
- package/package.json +1 -1
- package/src/brand-page/components/shop/ProductDetailModal.vue +3 -1
- package/src/brand-page/constants/font.constants.ts +1 -1
- package/src/brand-page/models/logo.model.ts +1 -0
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +2 -0
- package/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.ts +5 -0
- package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +4 -2
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +3 -0
- package/src/clients/fabric-render-client.ts +12 -1
- package/src/shared/font-family-selector/FontFamilySelector.mixin.ts +5 -1
- package/src/shared/font-family-selector/FontPicker.vue +4 -3
- package/src/shared/logo-settings/store/editable-logo-store.ts +67 -18
|
@@ -1343,7 +1343,7 @@ export const FONT_FAMILY_CONFIGS = {
|
|
|
1343
1343
|
categories: [FONT_FAMILY_CATEGORIES().unique.key],
|
|
1344
1344
|
},
|
|
1345
1345
|
playwriteOsterreich: {
|
|
1346
|
-
name: 'Playwrite
|
|
1346
|
+
name: 'Playwrite AT',
|
|
1347
1347
|
family: 'Playwrite AT',
|
|
1348
1348
|
isPremiumFont: false,
|
|
1349
1349
|
type: 'google',
|
|
@@ -18,6 +18,7 @@ export interface LogoTemplateImageModel {
|
|
|
18
18
|
logoTemplateToken: string;
|
|
19
19
|
logoTemplateText: string;
|
|
20
20
|
logoTemplateVersion: number;
|
|
21
|
+
layout?: string;
|
|
21
22
|
}
|
|
22
23
|
export declare const EMPTY_LOGO_IMAGE_MODEL: Readonly<LogoImageModel>;
|
|
23
24
|
export interface LogoContent extends Content, EditableLogo {
|
|
@@ -122,7 +122,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
122
122
|
brandPageType: "default" | "brandSite" | "brandContact";
|
|
123
123
|
}): void;
|
|
124
124
|
initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page/models").BrandPageModel): Promise<void>;
|
|
125
|
-
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
125
|
+
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
126
126
|
initialisePages({ pages, sections, }: {
|
|
127
127
|
pages: import("@brand-page/models").PageModel[];
|
|
128
128
|
sections: import("../../../shared/page-settings/store").PageSettingsStateSections;
|
|
@@ -23,6 +23,7 @@ export interface BrandPageMakerViewModel {
|
|
|
23
23
|
brandPageType?: BrandPageType;
|
|
24
24
|
businessName?: string;
|
|
25
25
|
industry?: string;
|
|
26
|
+
layout?: string;
|
|
26
27
|
}
|
|
27
28
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
28
29
|
viewModel: {
|
|
@@ -166,7 +167,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
166
167
|
brandPageType: "default" | "brandSite" | "brandContact";
|
|
167
168
|
}): void;
|
|
168
169
|
initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page").BrandPageModel): Promise<void>;
|
|
169
|
-
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
170
|
+
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
170
171
|
initialisePages({ pages, sections, }: {
|
|
171
172
|
pages: import("@brand-page").PageModel[];
|
|
172
173
|
sections: import("@shared/page-settings/store").PageSettingsStateSections;
|
|
@@ -151,6 +151,7 @@ export default defineComponent({
|
|
|
151
151
|
brandPageType: this.viewModel.brandPageType,
|
|
152
152
|
businessName: this.viewModel.businessName,
|
|
153
153
|
industry: this.viewModel.industry,
|
|
154
|
+
layout: this.viewModel.layout,
|
|
154
155
|
logoVariationImageUrls: this.viewModel.logoVariationImageUrls,
|
|
155
156
|
shopConfigData,
|
|
156
157
|
});
|
|
@@ -111,7 +111,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
111
111
|
brandPageType: "default" | "brandSite" | "brandContact";
|
|
112
112
|
}): void;
|
|
113
113
|
initialiseStoresByBrandPageModelAsync(brandPageModel: import("../../../lib").BrandPageModel): Promise<void>;
|
|
114
|
-
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("../../stores").InitialisePayload): Promise<void>;
|
|
114
|
+
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("../../stores").InitialisePayload): Promise<void>;
|
|
115
115
|
initialisePages({ pages, sections, }: {
|
|
116
116
|
pages: import("../../../lib").PageModel[];
|
|
117
117
|
sections: import("../../../shared/page-settings/store").PageSettingsStateSections;
|
package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts
CHANGED
|
@@ -617,7 +617,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
617
617
|
brandPageType: "default" | "brandSite" | "brandContact";
|
|
618
618
|
}): void;
|
|
619
619
|
initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page").BrandPageModel): Promise<void>;
|
|
620
|
-
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
620
|
+
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
621
621
|
initialisePages({ pages, sections, }: {
|
|
622
622
|
pages: import("@brand-page").PageModel[];
|
|
623
623
|
sections: import("@shared/page-settings/store").PageSettingsStateSections;
|
|
@@ -117,7 +117,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
117
117
|
brandPageType: "default" | "brandSite" | "brandContact";
|
|
118
118
|
}): void;
|
|
119
119
|
initialiseStoresByBrandPageModelAsync(brandPageModel: import("../../../brand-page").BrandPageModel): Promise<void>;
|
|
120
|
-
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
120
|
+
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
121
121
|
initialisePages({ pages, sections, }: {
|
|
122
122
|
pages: import("../../../brand-page").PageModel[];
|
|
123
123
|
sections: import("../../../shared/page-settings/store").PageSettingsStateSections;
|
|
@@ -423,7 +423,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
423
423
|
brandPageType: "default" | "brandSite" | "brandContact";
|
|
424
424
|
}): void;
|
|
425
425
|
initialiseStoresByBrandPageModelAsync(brandPageModel: import("../../../brand-page").BrandPageModel): Promise<void>;
|
|
426
|
-
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
426
|
+
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
427
427
|
initialisePages({ pages, sections, }: {
|
|
428
428
|
pages: import("../../../brand-page").PageModel[];
|
|
429
429
|
sections: import("../../../shared/page-settings/store").PageSettingsStateSections;
|
|
@@ -424,7 +424,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
424
424
|
brandPageType: "default" | "brandSite" | "brandContact";
|
|
425
425
|
}): void;
|
|
426
426
|
initialiseStoresByBrandPageModelAsync(brandPageModel: import("../../../brand-page").BrandPageModel): Promise<void>;
|
|
427
|
-
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
427
|
+
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
428
428
|
initialisePages({ pages, sections, }: {
|
|
429
429
|
pages: import("../../../brand-page").PageModel[];
|
|
430
430
|
sections: import("../../../shared/page-settings/store").PageSettingsStateSections;
|
|
@@ -127,7 +127,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
127
127
|
brandPageType: "default" | "brandSite" | "brandContact";
|
|
128
128
|
}): void;
|
|
129
129
|
initialiseStoresByBrandPageModelAsync(brandPageModel: import("../../../brand-page").BrandPageModel): Promise<void>;
|
|
130
|
-
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
130
|
+
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
131
131
|
initialisePages({ pages, sections, }: {
|
|
132
132
|
pages: import("../../../brand-page").PageModel[];
|
|
133
133
|
sections: import("../../../shared/page-settings/store").PageSettingsStateSections;
|
|
@@ -475,7 +475,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
475
475
|
brandPageType: "default" | "brandSite" | "brandContact";
|
|
476
476
|
}): void;
|
|
477
477
|
initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page").BrandPageModel): Promise<void>;
|
|
478
|
-
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
478
|
+
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
479
479
|
initialisePages({ pages, sections, }: {
|
|
480
480
|
pages: import("@brand-page").PageModel[];
|
|
481
481
|
sections: import("../../../shared/page-settings/store").PageSettingsStateSections;
|
|
@@ -204,6 +204,11 @@ export default defineComponent({
|
|
|
204
204
|
},
|
|
205
205
|
deep: true,
|
|
206
206
|
},
|
|
207
|
+
logoImageBase64Url() {
|
|
208
|
+
if (this.isAdmin) {
|
|
209
|
+
this.updateViewModel();
|
|
210
|
+
}
|
|
211
|
+
},
|
|
207
212
|
previewImageUrl() {
|
|
208
213
|
// Reset loading state whenever the preview URL changes
|
|
209
214
|
if (!this.isAdmin) {
|
|
@@ -271,8 +271,9 @@ export const useRichTextEditor = (model, props, emit, fontSettings, fontStyleDro
|
|
|
271
271
|
// TODO: resolve the issue of missing style on text between empty lines
|
|
272
272
|
// retainStyleOnEmptyLine(editor, selection);
|
|
273
273
|
if (textStyleAttributes && textStyleAttributes.fontFamily) {
|
|
274
|
-
|
|
275
|
-
|
|
274
|
+
const font = textStyleAttributes.fontFamily.replace(/^['"]|['"]$/g, '');
|
|
275
|
+
selectedFont.value = font;
|
|
276
|
+
fontSettings.selectedFont = font;
|
|
276
277
|
}
|
|
277
278
|
else {
|
|
278
279
|
selectedFont.value = 'Lato';
|
|
@@ -22,6 +22,7 @@ export interface InitialisePayload {
|
|
|
22
22
|
isPersonalisationEnabled: boolean;
|
|
23
23
|
businessName: string | undefined;
|
|
24
24
|
industry: string | undefined;
|
|
25
|
+
layout?: string;
|
|
25
26
|
logoVariationImageUrls: string[];
|
|
26
27
|
shopConfigData: string | ShopConfigData;
|
|
27
28
|
isServerRenderOverride?: boolean;
|
|
@@ -191,7 +192,7 @@ export declare const useBrandPageMakerStore: import("pinia").StoreDefinition<"br
|
|
|
191
192
|
brandPageType: BrandPageType;
|
|
192
193
|
}): void;
|
|
193
194
|
initialiseStoresByBrandPageModelAsync(brandPageModel: BrandPageModel): Promise<void>;
|
|
194
|
-
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: InitialisePayload): Promise<void>;
|
|
195
|
+
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: InitialisePayload): Promise<void>;
|
|
195
196
|
initialisePages({ pages, sections, }: {
|
|
196
197
|
pages: PageModel[];
|
|
197
198
|
sections: PageSettingsStateSections;
|
|
@@ -482,7 +482,7 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
|
|
|
482
482
|
},
|
|
483
483
|
});
|
|
484
484
|
},
|
|
485
|
-
async initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, logoVariationImageUrls, shopConfigData, isServerRenderOverride = false, }) {
|
|
485
|
+
async initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride = false, }) {
|
|
486
486
|
const brandPageContainerStore = useBrandPageContainerStore();
|
|
487
487
|
const userStore = useBrandPageMakerUserStore();
|
|
488
488
|
const uiStore = useUiStore();
|
|
@@ -586,6 +586,7 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
|
|
|
586
586
|
if (brandPageContainerStore.isPrePurchase) {
|
|
587
587
|
await editableLogoStore.setStateAsync({
|
|
588
588
|
defaultPrimaryText: businessName,
|
|
589
|
+
defaultLayout: layout,
|
|
589
590
|
newState: {
|
|
590
591
|
isTextOnlyLogo: false,
|
|
591
592
|
logoTemplateMetadata: '',
|
|
@@ -31,6 +31,10 @@ export interface ModifyLogoDataRequest {
|
|
|
31
31
|
template: {
|
|
32
32
|
token: string;
|
|
33
33
|
version: number;
|
|
34
|
+
placeholder?: {
|
|
35
|
+
primaryText?: string;
|
|
36
|
+
};
|
|
37
|
+
layout?: string;
|
|
34
38
|
};
|
|
35
39
|
draft: {
|
|
36
40
|
token: string;
|
|
@@ -43,6 +47,7 @@ export interface ModifyLogoDataRequest {
|
|
|
43
47
|
removed: boolean;
|
|
44
48
|
updates: Updates;
|
|
45
49
|
}>;
|
|
50
|
+
layout?: string;
|
|
46
51
|
};
|
|
47
52
|
}
|
|
48
53
|
export interface ModifyLogoDataResponse {
|
|
@@ -82,6 +87,7 @@ export declare class FabricRenderClient {
|
|
|
82
87
|
logoTemplateToken: string;
|
|
83
88
|
logoTemplateVersion: number;
|
|
84
89
|
logoTemplateText: string;
|
|
90
|
+
layout?: string;
|
|
85
91
|
}, outputFormat?: LogoOutputFormat, logoColorPalette?: string | undefined): string;
|
|
86
92
|
getLogoVariationUrlByLogoVariationIndex(logoDraftToken: string, tick: string | number | undefined, variationIndex: number, outputFormat?: LogoOutputFormat): string;
|
|
87
93
|
private getModifyLogoPostEndpoint;
|
|
@@ -99,6 +105,7 @@ export declare class FabricRenderClient {
|
|
|
99
105
|
logoTemplateToken: string;
|
|
100
106
|
logoTemplateText: string;
|
|
101
107
|
logoTemplateVersion: number;
|
|
108
|
+
layout?: string;
|
|
102
109
|
}): Promise<{
|
|
103
110
|
data: string;
|
|
104
111
|
width: number;
|
|
@@ -41,7 +41,10 @@ export class FabricRenderClient {
|
|
|
41
41
|
return FabricRenderClient._staticClient;
|
|
42
42
|
}
|
|
43
43
|
getLogoTemplateUrlByLogoTemplateImage(logoTemplateImage, outputFormat = 'base64svgjson', logoColorPalette = undefined) {
|
|
44
|
-
let url = `${this.baseUrl}/asset/logotemplate/brand-page/${logoTemplateImage.logoTemplateToken}?dimensionsType=preview_image_transparent_no_buffer&outputFormat=${outputFormat}&logoTemplateVersion=${logoTemplateImage.logoTemplateVersion}&text=${encodeURIComponent(logoTemplateImage.logoTemplateText)}
|
|
44
|
+
let url = `${this.baseUrl}/asset/logotemplate/brand-page/${logoTemplateImage.logoTemplateToken}?dimensionsType=preview_image_transparent_no_buffer&outputFormat=${outputFormat}&logoTemplateVersion=${logoTemplateImage.logoTemplateVersion}&text=${encodeURIComponent(logoTemplateImage.logoTemplateText)}`;
|
|
45
|
+
if (logoTemplateImage.layout) {
|
|
46
|
+
url = `${url}&layout=${logoTemplateImage.layout}`;
|
|
47
|
+
}
|
|
45
48
|
if (logoColorPalette) {
|
|
46
49
|
url = `${url}&colorpalette=${logoColorPalette}`;
|
|
47
50
|
}
|
|
@@ -6818,18 +6818,18 @@ select[data-v-534cad39] {
|
|
|
6818
6818
|
margin-bottom: 0.5rem
|
|
6819
6819
|
}
|
|
6820
6820
|
|
|
6821
|
-
.form-error[data-v-
|
|
6821
|
+
.form-error[data-v-4e641ae0] {
|
|
6822
6822
|
font-size: 0.875rem;
|
|
6823
6823
|
line-height: 1.25rem;
|
|
6824
6824
|
color: #f21b3f
|
|
6825
6825
|
}
|
|
6826
6826
|
@media (max-width: 767px) {
|
|
6827
|
-
.product-detail[data-v-
|
|
6827
|
+
.product-detail[data-v-4e641ae0] {
|
|
6828
6828
|
grid-template-columns: repeat(1, minmax(0, 1fr))
|
|
6829
6829
|
}
|
|
6830
6830
|
}
|
|
6831
6831
|
@media (min-width: 767px) {
|
|
6832
|
-
.product-detail[data-v-
|
|
6832
|
+
.product-detail[data-v-4e641ae0] {
|
|
6833
6833
|
grid-template-columns: repeat(2, minmax(0, 1fr))
|
|
6834
6834
|
}
|
|
6835
6835
|
}
|
|
@@ -8784,11 +8784,11 @@ body {
|
|
|
8784
8784
|
min-width: 33.333333%
|
|
8785
8785
|
}
|
|
8786
8786
|
|
|
8787
|
-
.font-list[data-v-
|
|
8787
|
+
.font-list[data-v-65616ad0] {
|
|
8788
8788
|
scrollbar-width: none; /* Firefox */
|
|
8789
8789
|
-ms-overflow-style: none; /* IE/Edge */
|
|
8790
8790
|
}
|
|
8791
|
-
.font-list[data-v-
|
|
8791
|
+
.font-list[data-v-65616ad0]::-webkit-scrollbar {
|
|
8792
8792
|
display: none; /* Chrome, Safari, Opera */
|
|
8793
8793
|
}
|
|
8794
8794
|
|
|
@@ -7136,18 +7136,18 @@ select[data-v-534cad39] {
|
|
|
7136
7136
|
margin-bottom: 0.5rem
|
|
7137
7137
|
}
|
|
7138
7138
|
|
|
7139
|
-
.form-error[data-v-
|
|
7139
|
+
.form-error[data-v-4e641ae0] {
|
|
7140
7140
|
font-size: 0.875rem;
|
|
7141
7141
|
line-height: 1.25rem;
|
|
7142
7142
|
color: #f21b3f
|
|
7143
7143
|
}
|
|
7144
7144
|
@media (max-width: 767px) {
|
|
7145
|
-
.product-detail[data-v-
|
|
7145
|
+
.product-detail[data-v-4e641ae0] {
|
|
7146
7146
|
grid-template-columns: repeat(1, minmax(0, 1fr))
|
|
7147
7147
|
}
|
|
7148
7148
|
}
|
|
7149
7149
|
@media (min-width: 767px) {
|
|
7150
|
-
.product-detail[data-v-
|
|
7150
|
+
.product-detail[data-v-4e641ae0] {
|
|
7151
7151
|
grid-template-columns: repeat(2, minmax(0, 1fr))
|
|
7152
7152
|
}
|
|
7153
7153
|
}
|
|
@@ -9102,11 +9102,11 @@ body {
|
|
|
9102
9102
|
min-width: 33.333333%
|
|
9103
9103
|
}
|
|
9104
9104
|
|
|
9105
|
-
.font-list[data-v-
|
|
9105
|
+
.font-list[data-v-65616ad0] {
|
|
9106
9106
|
scrollbar-width: none; /* Firefox */
|
|
9107
9107
|
-ms-overflow-style: none; /* IE/Edge */
|
|
9108
9108
|
}
|
|
9109
|
-
.font-list[data-v-
|
|
9109
|
+
.font-list[data-v-65616ad0]::-webkit-scrollbar {
|
|
9110
9110
|
display: none; /* Chrome, Safari, Opera */
|
|
9111
9111
|
}
|
|
9112
9112
|
|
|
@@ -6848,18 +6848,18 @@ select[data-v-534cad39] {
|
|
|
6848
6848
|
margin-bottom: 0.5rem
|
|
6849
6849
|
}
|
|
6850
6850
|
|
|
6851
|
-
.form-error[data-v-
|
|
6851
|
+
.form-error[data-v-4e641ae0] {
|
|
6852
6852
|
font-size: 0.875rem;
|
|
6853
6853
|
line-height: 1.25rem;
|
|
6854
6854
|
color: #f21b3f
|
|
6855
6855
|
}
|
|
6856
6856
|
@media (max-width: 767px) {
|
|
6857
|
-
.product-detail[data-v-
|
|
6857
|
+
.product-detail[data-v-4e641ae0] {
|
|
6858
6858
|
grid-template-columns: repeat(1, minmax(0, 1fr))
|
|
6859
6859
|
}
|
|
6860
6860
|
}
|
|
6861
6861
|
@media (min-width: 767px) {
|
|
6862
|
-
.product-detail[data-v-
|
|
6862
|
+
.product-detail[data-v-4e641ae0] {
|
|
6863
6863
|
grid-template-columns: repeat(2, minmax(0, 1fr))
|
|
6864
6864
|
}
|
|
6865
6865
|
}
|
|
@@ -8814,11 +8814,11 @@ body {
|
|
|
8814
8814
|
min-width: 33.333333%
|
|
8815
8815
|
}
|
|
8816
8816
|
|
|
8817
|
-
.font-list[data-v-
|
|
8817
|
+
.font-list[data-v-65616ad0] {
|
|
8818
8818
|
scrollbar-width: none; /* Firefox */
|
|
8819
8819
|
-ms-overflow-style: none; /* IE/Edge */
|
|
8820
8820
|
}
|
|
8821
|
-
.font-list[data-v-
|
|
8821
|
+
.font-list[data-v-65616ad0]::-webkit-scrollbar {
|
|
8822
8822
|
display: none; /* Chrome, Safari, Opera */
|
|
8823
8823
|
}
|
|
8824
8824
|
|
|
@@ -6546,18 +6546,18 @@ select[data-v-534cad39] {
|
|
|
6546
6546
|
margin-bottom: 0.5rem
|
|
6547
6547
|
}
|
|
6548
6548
|
|
|
6549
|
-
.bp .form-error[data-v-
|
|
6549
|
+
.bp .form-error[data-v-4e641ae0] {
|
|
6550
6550
|
font-size: 0.875rem;
|
|
6551
6551
|
line-height: 1.25rem;
|
|
6552
6552
|
color: #f21b3f
|
|
6553
6553
|
}
|
|
6554
6554
|
@media (max-width: 767px) {
|
|
6555
|
-
.bp .product-detail[data-v-
|
|
6555
|
+
.bp .product-detail[data-v-4e641ae0] {
|
|
6556
6556
|
grid-template-columns: repeat(1, minmax(0, 1fr))
|
|
6557
6557
|
}
|
|
6558
6558
|
}
|
|
6559
6559
|
@media (min-width: 767px) {
|
|
6560
|
-
.bp .product-detail[data-v-
|
|
6560
|
+
.bp .product-detail[data-v-4e641ae0] {
|
|
6561
6561
|
grid-template-columns: repeat(2, minmax(0, 1fr))
|
|
6562
6562
|
}
|
|
6563
6563
|
}
|
|
@@ -8512,11 +8512,11 @@ to {
|
|
|
8512
8512
|
min-width: 33.333333%
|
|
8513
8513
|
}
|
|
8514
8514
|
|
|
8515
|
-
.bp .font-list[data-v-
|
|
8515
|
+
.bp .font-list[data-v-65616ad0] {
|
|
8516
8516
|
scrollbar-width: none; /* Firefox */
|
|
8517
8517
|
-ms-overflow-style: none; /* IE/Edge */
|
|
8518
8518
|
}
|
|
8519
|
-
.bp .font-list[data-v-
|
|
8519
|
+
.bp .font-list[data-v-65616ad0]::-webkit-scrollbar {
|
|
8520
8520
|
display: none; /* Chrome, Safari, Opera */
|
|
8521
8521
|
}
|
|
8522
8522
|
|
package/lib/src/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as E, a as T, b as s, c as I, d as S, e as N, f as e, B as A, g as O, h as C, i as G, j as D, k as P, l as t, m as R, n as L, o as M, p as o, q as r, r as b, s as n, t as F, u as i, v as l, w as g, x as B, y as c, z as Y, C as U, D as d, E as u, F as H, G as p, H as y, I as K, J as k, K as m, L as V, M as X, N as h, O as v, P as W, Q as f, R as x, S as z, T as w, U as Z, V as j, W as Q, X as q, Y as J, Z as $, $ as aa, a0 as _a, a1 as Ea, a2 as Ta, a3 as sa, a4 as Ia, a5 as Sa, a6 as Na, a7 as ea, a8 as Aa, a9 as Oa, aa as Ca, ab as Ga, ac as Da, ad as Pa, ae as ta, af as Ra, ag as La, ah as Ma, ai as oa, aj as ra, ak as ba, al as na, am as Fa, an as ia, ao as la, ap as ga, aq as Ba, ar as ca, as as Ya, at as Ua, au as da, av as ua, aw as Ha, ax as pa, ay as ya, az as Ka, aA as ka, aB as ma, aC as Va, aD as Xa, aE as ha, aF as va, aG as Wa, aH as fa, aI as xa, aJ as za, aK as wa, aL as Za, aM as ja, aN as Qa, aO as qa, aP as Ja, aQ as $a, aR as a_, aS as __, aT as E_, aU as T_, aV as s_, aW as I_, aX as S_, aY as N_, aZ as e_, a_ as A_, a$ as O_, b0 as C_, b1 as G_, b2 as D_, b3 as P_, b4 as t_, b5 as R_, b6 as L_, b7 as M_, b8 as o_, b9 as r_, ba as b_, bb as n_, bc as F_, bd as i_, be as l_, bf as g_, bg as B_, bh as c_, bi as Y_, bj as U_, bk as d_, bl as u_, bm as H_, bn as p_, bo as y_, bp as K_, bq as k_, br as m_, bs as V_, bt as X_, bu as h_, bv as v_, bw as W_, bx as f_, by as x_, bz as z_, bA as w_, bB as Z_, bC as j_, bD as Q_, bE as q_, bF as J_, bG as $_, bH as aE, bI as _E, bJ as EE, bK as TE, bL as sE, bM as IE, bN as SE, bO as NE, bP as eE, bQ as AE, bR as OE, bS as CE, bT as GE, bU as DE, bV as PE, bW as tE, bX as RE, bY as LE, bZ as ME, b_ as oE, b$ as rE, c0 as bE, c1 as nE, c2 as FE, c3 as iE, c4 as lE, c5 as gE, c6 as BE, c7 as cE, c8 as YE, c9 as UE, ca as dE, cb as uE, cc as HE, cd as pE, ce as yE, cf as KE, cg as kE, ch as mE, ci as VE, cj as XE, ck as hE, cl as vE, cm as WE, cn as fE, co as xE } from "./lib-
|
|
1
|
+
import { A as E, a as T, b as s, c as I, d as S, e as N, f as e, B as A, g as O, h as C, i as G, j as D, k as P, l as t, m as R, n as L, o as M, p as o, q as r, r as b, s as n, t as F, u as i, v as l, w as g, x as B, y as c, z as Y, C as U, D as d, E as u, F as H, G as p, H as y, I as K, J as k, K as m, L as V, M as X, N as h, O as v, P as W, Q as f, R as x, S as z, T as w, U as Z, V as j, W as Q, X as q, Y as J, Z as $, $ as aa, a0 as _a, a1 as Ea, a2 as Ta, a3 as sa, a4 as Ia, a5 as Sa, a6 as Na, a7 as ea, a8 as Aa, a9 as Oa, aa as Ca, ab as Ga, ac as Da, ad as Pa, ae as ta, af as Ra, ag as La, ah as Ma, ai as oa, aj as ra, ak as ba, al as na, am as Fa, an as ia, ao as la, ap as ga, aq as Ba, ar as ca, as as Ya, at as Ua, au as da, av as ua, aw as Ha, ax as pa, ay as ya, az as Ka, aA as ka, aB as ma, aC as Va, aD as Xa, aE as ha, aF as va, aG as Wa, aH as fa, aI as xa, aJ as za, aK as wa, aL as Za, aM as ja, aN as Qa, aO as qa, aP as Ja, aQ as $a, aR as a_, aS as __, aT as E_, aU as T_, aV as s_, aW as I_, aX as S_, aY as N_, aZ as e_, a_ as A_, a$ as O_, b0 as C_, b1 as G_, b2 as D_, b3 as P_, b4 as t_, b5 as R_, b6 as L_, b7 as M_, b8 as o_, b9 as r_, ba as b_, bb as n_, bc as F_, bd as i_, be as l_, bf as g_, bg as B_, bh as c_, bi as Y_, bj as U_, bk as d_, bl as u_, bm as H_, bn as p_, bo as y_, bp as K_, bq as k_, br as m_, bs as V_, bt as X_, bu as h_, bv as v_, bw as W_, bx as f_, by as x_, bz as z_, bA as w_, bB as Z_, bC as j_, bD as Q_, bE as q_, bF as J_, bG as $_, bH as aE, bI as _E, bJ as EE, bK as TE, bL as sE, bM as IE, bN as SE, bO as NE, bP as eE, bQ as AE, bR as OE, bS as CE, bT as GE, bU as DE, bV as PE, bW as tE, bX as RE, bY as LE, bZ as ME, b_ as oE, b$ as rE, c0 as bE, c1 as nE, c2 as FE, c3 as iE, c4 as lE, c5 as gE, c6 as BE, c7 as cE, c8 as YE, c9 as UE, ca as dE, cb as uE, cc as HE, cd as pE, ce as yE, cf as KE, cg as kE, ch as mE, ci as VE, cj as XE, ck as hE, cl as vE, cm as WE, cn as fE, co as xE } from "./lib-CXA7tc7k.js";
|
|
2
2
|
import { createPinia as wE, setActivePinia as ZE } from "pinia";
|
|
3
3
|
export {
|
|
4
4
|
E as ABOUT_SECTION_SETTINGS_CONFIG,
|